HNHacker News
TopNewBestAskShowJobs

imedadel

164 karma · joined February 16, 2019

https://outcrop.app
submissionscomments
imedadel··on Twitter says it's looking at subscription options as ad revenue drops sharply
A pro account for editing tweets? This can actually be quite profitable.
imedadel··on Ghoti
That's why I specified the last 10 years only. An example that I cited above is that of the Berber languages in Morocco and Algeria. There is the official spelling, the spelling used by renowned writers and publishers, and the "standard" used by people in their everyday life and online. No matter how many reforms are pushed, no one really cares.

If the reforms you mentioned were pushed in the last 10 years, maybe they were strictly enforced (plus, the limited free speech rights)?

imedadel··on Ghoti
I learned German in high school so I knew a bit about the reform. Compared to French, learning how to read German didn't take more than an hour.

French is another one, however, the transition to the new orthography is still incomplete around the world. I think Frank lately enforced it at schools.

Other examples include the Berber language in Morocco and Algeria. Most people ignore spelling reforms and just pick the spelling they like most. This is mostly because the standardization of Berber came after the introduction of the internet and the proliferation of informal spelling standards.

imedadel··on Ghoti
Concerning the spelling reform, is there any language that recently underwent a successful spelling reform? And by recent, I mean in the last 10 years.

The thing is that with the widespread usage of the internet it seems harder to successfully reform the orthography of a language. Every language is, nowadays, in one way or another decentralized and uncontrolled by language authorities.

imedadel··on Google quietly launches an AI-powered Pinterest rival named Keen
> An experimental product from Area 120 and PAIR at Google

Well, I guess that won't make people switch from Pinterest...

imedadel··on Windows 10 feature will fix Google Chrome’s biggest problem
> [..] which means individual performance could be lower or higher than 27%, but this change will definitely reduce memory usage to some extent [..]

So that doesn't necessarily mean that memory usage will fall by 27%... I don't see how is it a fix then. Going from 8 GB of memory to 6 GB doesn't sound like a fix to me.

Is there a browser that doesn't take so much memory? I tried Firefox and Edge but they have the same memory consumption as Chrome. In fact Firefox's usage was a bit higher.

imedadel··on Ask HN: Can you discuss CS in your native language?
This is similar to what we do in the spoken languages in North Africa / Maghreb. You take a French or English verb and you just conjugate them the same way you'd do with native verbs. So, "I deployed" -> deployit (in Tunisian Arabic), "pull" -> pulli, "did you commit it" -> commitit-ha?.

We study CS in French. Which itself, uses lots of English words in CS. I'm not sure if there is any country that studies it in Modern Standard Arabic and I can't think of a standard translation for the words above.

imedadel··on Major Linux Problems on the Desktop, 2020 edition
Considering Microsoft's recent investments in OSS, it would be awesome to see a Linux distro developed and/or funded by Microsoft that makes the adoption of Linux an easier process.
imedadel··on Show HN: Ratemydorm.com
In an alternative universe, this is how Airbnb would've started.

It's a pretty good website though. Are students in the US going back to school during the summer? Here (Tunisia), we're going back next week.

imedadel··on Idea Generation
Oh yes. And it feels good to go back and mark an idea as done!

Whenever I have a thought, I write it down. If I got that thought again, I might do a quick Google search and then give a rating to the idea. If I kept constantly thinking about it, I start researching it.

The research part might take maybe an hour a week. The other steps don't really take much time.

I find this to help with procrastination or losing focus.

imedadel··on Idea Generation
How do you manage your ideas? I'm using a combination of Google Sheets, Notion, and a notebook. I rate each idea in Sheets using colors and I keep Notion and a notebook for research so that I don't think about an idea twice.
imedadel··on Supabase (YC S20) – An open source Firebase alternative
About the choice of the database. Why did you decide to go with PSQL instead of a NoSQL database as Firebase does? Doesn't that affect your scalability?

Otherwise, great project!

imedadel··on What a typical serverless architecture looks like in AWS
Are you familiar with Firebase's write rules? DynamoDB has something similar with Cognito, but it's _very_ limited.

That's when I figured that I'm not gaining anything by using Cognito.

imedadel··on What a typical serverless architecture looks like in AWS
This looks so expensive! I've been going in the same path (with centige.com, WIP) but then I stopped and refactored some stuff:

- I had lots of lambdas written in TS. Things were going out of hands. So I refactored them into three lambdas only. A large one that has a switch statement to execute the correct function, and two other ones for some quite long-running processes.

- The big lambda was executed too many times. Moving it to an actual server would cost me way less. So I did. Plus I could add more security features that would need AWS API Gateway if I chose to stick with lambdas, which is too expensive.

- Initially I used Amplify. And while recently its bundle size has been reduced substantially, it's still big (see https://bundlephobia.com/result?p=aws-amplify@3.0.12). In my case, I only needed the Auth package, which is 50kb (https://bundlephobia.com/result?p=@aws-amplify/auth@3.2.7). However, my options were quite limited and I found myself changing things around to make my app compatible with the way AWS Cognito worked[1] (used by Amplify Auth). I ended up removing it and handling authentication on my own.

A better stack for a serverless app would be Vercel for deploying the app (it's cheap, it has SSL, and it has automatic deployments) and either lambdas or a server, depending on your needs, for handling backend stuff.

Also, use something like aws4fetch instead of the actual SDK if you can. It will save your visitors some kilobytes :)

---

[1]: Email/password auth with Cognito is not the best thing out there. So I wanted to add Google Sign In. At the same time, I wanted to use DynamoDB's row-level access (similar to Firebase's write rules, but more limited). My plan didn't go too well, as I needed the user's Id (provided by Google) when writing to DDB. But Cognito wasn't returning the Id... I spent a couple of days on it, then I figured that I'm just wasting my time.

imedadel··on Good coders borrow, great coders steal
If you're working on a JavaScript project, do you prefer copying from SO or installing a (micro-) package that solves your problem?

I seem to prefer the former.

imedadel··on Unofficial APIs
If too many people are using the unofficial API for a product, is it right to assume that building a competing product offering a better official API, would be successful?
imedadel··on Don't set the language of your website based on user location
Not sure about German-speaking countries, but in Francophone countries, everything is in French. Even if the default is English, the user would insist on switching to the French version.
imedadel··on Don't set the language of your website based on user location
G Suite does this and never saves my preferences! I'm in Tunisia and the business language is French. My PC and my browser are both set to English. Yet, Google insists on showing me the Arabic page!

Not only that, but their translation is terrible. Plus, since Arabic is not the business language here, most of the terms used on their site are quite ambiguous to most Tunisian users.

Ugh.

imedadel··on Waymo has raised $3B in the last two months
I made one for myself a while ago: https://github.com/ImedAdel/arkiv, it just tries to look for an archived version or sends you to a page to build to archive the website.

Not quite perfect, but does the job for me :)

imedadel··on Carbon: Create and share images of source code
Surprisingly, setting JetBrains Mono to 13px in the editor is still way more readable than any other font. Especially on Windows.
imedadel··on Hello, World – Zerodha, India's largest stock broker
Zerodha.com seems to be banned in Tunisia. Is that because of spam or due to some regulations in India?
imedadel··on GitHub is degraded/down
Yup. Google Cloud seems to be having frequent problems lately.

However, I feel like GitHub being down AND Stack Overflow would slow down work. And HN is a good place to know what's going on.

imedadel··on GitHub is degraded/down
I think my biggest nightmare is SO, GH, and HN all being down at the same time.

Edit: A nightmare is an exaggeration. But it would slow down work.

imedadel··on Why do so few people major in computer science? (2017)
Did you finish though? I've got a year and a half remaining and I'm working on some side projects and thinking about not finishing the remaining year...

PS. We have to study PHP and "AI" next year here. And the final semester is an unpaid project at some local company.

imedadel··on Visa, Plaid, networks, and jobs
This is still very common in Tunisia too
imedadel··on Ask HN: What Technologies to Learn in 2020?
I like learning things that are both trending and in demand.

So, for me, the next thing is trying to build something with React Native and Go as they seem to be very trendy and in increasing demand.

imedadel··on Show HN: An emoji maker using React (DOM) and SVG (weekend project)
Hello HN! It's Sunday 8 PM here, and I've just finished my little weekend project: an emoji maker using React and SVG.

I wanted to make this project in order to test out how far can I depend on React, React DOM, and SVG for building and generating things while preparing for my upcoming projects.

Most (or all?) other emoji bots or emoji generators depend on the canvas, and thus, end up generating a non-scalable and non-editable image. This is why I relied on SVG for this project.

Oh, by the way, I'm looking for a summer internship :)

imedadel··on The Swedish phoneme notorious for having a dedicated IPA symbol, /ɧ/ (2016)
It sounds between /x/ and /ħ/ for me. How far is such a pronunciation from the actual Swedish one?
imedadel··on Memorizing a programming language using spaced repetition software (2013)
Similar to using spaced repetition to learn programming languages, you can use the same technique to organize your problem-solving skills sharpening sessions.

A while back I made a Chrome extension for LeetCode. [0] It takes care of scheduling problems for you and the extension users love it :) It costs only two dollars, so you might want to try it :)

[0]: https://spacedleet.imedadel.me/

imedadel··on Ask HN: What is your passive income 2019?
I thought Amazon does show you the unit prices?
← PreviousPage 2 of 3Next →