HNHacker News
TopNewBestAskShowJobs

fouadf

92 karma · joined September 21, 2015

submissionscomments
fouadf··on Cyber is a new language for fast, efficient, and concurrent scripting
Adding 'language' or 'programming' to the search query should solve it. Anyway Google seem to retain context when searching certain topics. But yeah there's definitely room for improvement and creativity here.
fouadf··on “The joy of sharing has been driven from me“
I bet someday in the future new fans of the game will find the art style so fresh. Ron is an artist and true to his craft.

As a fan of the game series I can't wait to see what's in store.

I think the artwork is unique and will attract newcomers, instead of repeating what's already there and serving only the "hardcore fans" who threw all that hate.

fouadf··on “The joy of sharing has been driven from me“
Agreed, although I think the genre is mostly popular as pixel art retro style, especially that he made thimbleweed park that way.. that's probably why they wanted a different art style.

Personally I think Ron is an artist and I'll buy whatever he's selling.

fouadf··on When I made another Monkey Island
It's my favorite game too, this game takes me back to wonderful childhood memories. Ironically that puzzle was the one of the easiest for me to solve
fouadf··on When I made another Monkey Island
Big fan of the game series here. Honestly it's such a thrill to have Ron work on RTMI. I can't wait to see what he has in store for us.
fouadf··on Boring Technology Checklist
Node.js seems boring at this point
fouadf··on Devious SQL: Message Queuing Using Native PostgreSQL
Yes it's true, we already use Redis for several workloads and operations so it's not really an extra thing to manage, on the contrary we don't need to learn about say rabbitmq and manage it, just worry about Redis.

Why do you consider it bad for local dev? A Redis instance literally takes 1MB memory when started.

fouadf··on Devious SQL: Message Queuing Using Native PostgreSQL
At our company we use Redis, it's lightweight and has list structure which can be used as a push/pop queue

The basic gist of it is that on one end a producer pushes to the list and a consumer(s) on the other end pops the job and executes it. Fire and forget style.

fouadf··on Optimal coverage for Wordle with Monte Carlo methods – Part III
I start with autos and miner Most common consonants and all vowels covered A try or two from there will get you covered
fouadf··on Heroes of Might and Magic
HoMM3 was soo interesting to me when I first saw it, I thought it was like chess (dumbed down) and a boardgame. The mythology was also like a reference to me. I played it for so many hours when I was a teenager. I played HoMM4 and HoMM5 also. HoMM4 felt like an incomplete game but very nice to play. HoMM4 has an amazing soundtrack, I occasionally still play it while working.

I think recently there was an imitation of the game on mobile, and we all know how bad that would probably be given the horrible game mechanics of mobile gaming (ads, play to win, waiting to build)

fouadf··on Postgres is a great pub/sub and job server (2019)
Good point. My assumption is that the first hit would be memory usage, way before core usage.

There are many options for scaling:

- vertically scale by adding more memory

- start redis instance on another port (takes 1mb) if decided to add more cores on the same vm

- separate data into another vm

- sharding comes out of the box, but that would be my last resort

fouadf··on Postgres is a great pub/sub and job server (2019)
A single core small Redis server can do wonders.

For fire and forget type jobs you can use lists instead of pub/sub: save a job to a list by a producer, pop it on the other end by a consumer and execute it. It's also very easy to scale, just start more producers and consumers.

We're currently using this technique, to process ~2M jobs per day, and we're just getting started. Redis needs very little memory for this, just a few mb.

Redis also supports acid style transactions.

fouadf··on Learn X in Y Minutes
I once copied the following comment from another post here, I find it spot on: "I’ve a few different approaches I take depending on the task (and if I’m honest, my mood or levels of motivation): - a new programming language, especially something closer to a systems language, I have a standard set of things I’ll try to implement. Read/write a file. Turn a structured object into JSON, parse JSON to an object. Basic script that can be run from CLI, parses flags/args, reads stdin. Send a HTTP request. Implement the most basic web server."
fouadf··on Hayao Miyazaki prepares to cast one last spell
To be fair it was bad, it lacks depth and imagination that Hayao has
fouadf··on Hayao Miyazaki prepares to cast one last spell
This makes me so happy, lately the only movies I've been genuinely enjoying are his. There's something healing about his movies.
fouadf··on Mudita pure: a classic “dumbphone” with e-ink screen
Looks very interesting, but I'd rather go with something based on Android maybe? And what's up with the meditation timer? That sounds like bloatware, made me lose interest
fouadf··on Lebanon's central electricity grid shuts down as fuel shortages continue
Cost is the most important factor, after that comes finding a space, most people live in buildings in the city, one roof won't be enough for all the apartments. Houses are usually in villages.

People are getting interested by seeing it work for their neighbors and friends, it's still new and people want see some garuntee for such a long term investment.

How would you describe the income level of the clients you shipped solar panels to? Were they building a new house?

fouadf··on Lebanon's central electricity grid shuts down as fuel shortages continue
Can you please show me an example product? personally I wired my router to a power bank so the internet stays up
fouadf··on Lebanon's central electricity grid shuts down as fuel shortages continue
It's starting to kick off, several households are implementing it, it costs $5k+ here which given the current situation isn't the top priority But honestly I do hope we reach a point where private solar and wind take over the main grid and the generators
fouadf··on Lebanon's central electricity grid shuts down as fuel shortages continue
Hi, I live in Lebanon

We're still getting electricity from the privately owned generators. The main grid has always had shortage, it never provided 24/7, the reliance has always been on the privately owned generators.

Due to the severe fuel shortages since the beginning of the year, the main grid provided very little hours, less than 2 hours per day in many cases.

The privately owned generators haven't been able to keep up either, we're getting power cuts for several hours during the day, every day. And the fees are increasing.

Here's a rundown of the current situation

- fuel is rare, queues at stations are horrible, it takes up to 6 hours to get some, violence and accidents there has killed many people

- fuel prices have increased 4x since the beginning of this year

- currency inflation from $1 = 1,500 LBP to $1=19,000 since late 2019, max reached 23,000, could reach more

fouadf··on Ask HN: Any Good Alternative for Docker?
Has anyone tried https://cloud.google.com/container-registry?

Seems cheaper than docker

fouadf··on What are your cost of living increases looking like this year?
Wait till you hear about the recession we're having in Lebanon
fouadf··on Afraid to Google a thing because I don't want the algorithm to think I like it
I use duck duck go when I want to do that
fouadf··on How to be alone: the difference between loneliness and solitude
Just watched that yesterday, sounds like a mix of philosophies, stoicism and being authentic
fouadf··on See the full picture before bashing Elon Musk
Do you think hiring those folks from The Onion has to do with the latest events?
fouadf··on Start Your Own ISP
Shameless plug: if you're using Mikrtotik give http://zima.cloud a go, it saves you the hassle of owning a radius server, among other nice features
fouadf··on Timescale, an open-source time-series SQL database for PostgreSQL
Isn't mongodb still favored though for its scaling capabilities?
fouadf··on Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance
Job queuing kue.js https://github.com/Automattic/kue
fouadf··on The relationship between our moods and sunlight
What about vitamin D which comes from sun exposure? Low levels of vitamin D can make you feel down
fouadf··on Unless You’re Oprah, ‘Be Yourself’ Is Terrible Advice (2016)
It works for Trump
Page 1 of 2Next →