Better HN
topnewbestaskshowjobs
Log inSign up

fouadf

92 karma · joined Sep 21, 2015 (11y ago) · 40 submissions

Submissions

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Node.js seems boring at this point

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

I start with autos and miner Most common consonants and all vowels covered A try or two from there will get you covered

comment 4y ago · link · parent

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)

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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."

comment 4y ago · link · parent

To be fair it was bad, it lacks depth and imagination that Hayao has

comment 4y ago · link · parent

This makes me so happy, lately the only movies I've been genuinely enjoying are his. There's something healing about his movies.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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?

comment 5y ago · link · parent

Can you please show me an example product? personally I wired my router to a power bank so the internet stays up

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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

comment 5y ago · link · parent

Has anyone tried https://cloud.google.com/container-registry?

Seems cheaper than docker

comment 5y ago · link · parent

Wait till you hear about the recession we're having in Lebanon

comment 5y ago · link · parent

I use duck duck go when I want to do that

comment 8y ago · link · parent

Just watched that yesterday, sounds like a mix of philosophies, stoicism and being authentic

comment 8y ago · link · parent

Do you think hiring those folks from The Onion has to do with the latest events?

comment 8y ago · link · parent

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

comment 9y ago · link · parent

Isn't mongodb still favored though for its scaling capabilities?

comment 9y ago · link · parent

Job queuing kue.js https://github.com/Automattic/kue

comment 9y ago · link · parent

What about vitamin D which comes from sun exposure? Low levels of vitamin D can make you feel down
12