HNHacker News
TopNewBestAskShowJobs

aalhour

286 karma · joined July 28, 2015

https://aalhour.com
submissionscomments
aalhour··on Ask HN: Who wants to be hired? (February 2026)
Location: Germany (Munich)

Fully remote: Yes (and open to hybrid in Munich)

Willing to relocate: No

LinkedIn: https://www.linkedin.com/in/aalhour/

Website: https://aalhour.com/

GitHub: https://github.com/aalhour

Resumé/CV: available on request (has personal contact info)

Email: a.z.alhour(at)gmail(dot)com

Technologies: Go, Python, Java, k8s, docker, AWS (backend/data infra)

About me: A software engineer with 15 years of experience (ex-Shopify, ex-HubSpot), with prior engineering management experience. I work on the backend, did data engineering in the past and am looking for a role in backend/data infra.

aalhour··on Ask HN: What Is Your Hobby?
Martial arts, reading, long walks, lifting weights.
aalhour··on Ask HN: Does anyone else pronounce CLI as "clee"?
No,
aalhour··on The German Works Council has blocked Amazon's performance reviews
I worked as a manager at a local German company in Germany with a strong Worker's Council team. Performance Management was run through them, they had comments, the process was adapted and managers were onboarded. This is not to say that performance management doesn't suck in general (because once you start having metrics, people start gaming them and you're almost superimposing it on people's way of working), but the Worker's Council didn't block it, because at the end of the day it was neither invasive nor exploitative.

EDIT: typos.

aalhour··on Ask HN: Memory-safe low level languages?
I haven't used Nim but your comment made me remember that language, yeah it was forgotten but I am not sure if it's completely abandoned, it seems that their team has been launching new language releases on a nice cadence: https://nim-lang.org/blog.html
aalhour··on Ask HN: How many times will this loop run on average?
No worries, I think your solution coverges with @Someone's above, if I am not mistaken. You're multiplying the probabilities for all values of j up to i for all values of i.
aalhour··on Ask HN: How many times will this loop run on average?
I was aware that the Random function call gets evaluated in Python (and C) every time the loop iterates, I just couldn't imagine the probability distribution myself, I had assumed that all numbers are uniformally distributed but didn't cater for the sums. You're a legend! Now I see it. I wrote the following code to check out your argument and it checks out indeed :thumbs-up:

  def p(n):
    total = 1
    for i in range(1, n):
      total *= (100-i)/100
    return total


  for i in range(1, 100):
    print(f"p({i}) = {p(i)}")

The first 13 results:

  p(1) = 1
  p(2) = 0.99
  p(3) = 0.9702
  p(4) = 0.9410939999999999
  p(5) = 0.9034502399999998
  p(6) = 0.8582777279999998
  p(7) = 0.8067810643199997
  p(8) = 0.7503063898175998
  p(9) = 0.6902818786321918
  p(10) = 0.6281565095552946
  p(11) = 0.5653408585997651
  p(12) = 0.503153364153791
  p(13) = 0.44277496045533604
p(12) sits at 50%, of course it will be the mean! :D
aalhour··on Ask HN: How many times will this loop run on average?
Yes, that's true. I don't want an average of 50. My initial guess of 50 is wrong. I am trying to understand why the average turned out to be approximately 12.
aalhour··on Ask HN: How many times will this loop run on average?
Not sure that adds up, I translated the right side of the equality into a Python statement and it returns a number I am not sure how to interpret:

  1/99 * sum([(i-1)*i for i in range(2, 100)])   # 3266.666666666667
Both the median and mean are around 12 for 10K runs of the loop.
aalhour··on Ask HN: How do I get invite to Lobste.rs?
me too please?
aalhour··on Ask HN: Does anybody not use an adblocker?
I just changed the DNS on my unrooted Android to AdGuard's, went into the YouTube and I still saw the ads. What am I missing?
aalhour··on Ask HN: Books on building databases similar to Crafting Interpreters
Well, this is awesome. I see that they also have another one on Redis (https://build-your-own.org/redis/). That will be my next fun project. Thanks!

EDIT: typos.

aalhour··on I.reddit.com Has Been Deprecated
It's so slow though. Is there a way we can help the contributors to make it faster?
aalhour··on Ask HN: Favorite, timeless tech article/book
"You and Your Research", a seminar Richard Hamming gave at Bell Labs

https://www.cs.virginia.edu/~robins/YouAndYourResearch.html

aalhour··on Ask HN: Favorite Nonfiction Books of 2021?
Would you recommend Healing Developmental Trauma to non-therapists? I am interested in the topic of trauma and how to heal it but have zero training on the subject.
aalhour··on Ask HN: Which book or course gave you an unfair advantage?
* Thinking Fast and Slow

* The Selfish Gene

* Probability: For the Enthusiastic Beginner

* How to Measure Anything

* Rationality: From AI to Zombies

* Cynefin: Weaving Sense-making into the fabric of our world

* Major works of Friedrich Nietzsche

aalhour··on Ask HN: What books, courses, practices helped your mental health last year?
How can someone find good English speaking therapists in Germany?
aalhour··on Go is not an easy language
What is horrible about Python wrt onboarding new engineers?

In my personal experience, I had an easier time getting onboarded on Python than Golang.

aalhour··on Ask HN: What book has the most accurate depiction of tech in the next 10 years?
Orwell's 1984?
aalhour··on System Design Interview book review
Can you share more about what resources did you study to bridge the FAANG L5 gaps in terms of knowledge and interview skills?
aalhour··on Notes on My Colon Cancer
Can you please describe in more detail how you did the prep to clear your system before the operation?
aalhour··on Ask HN: What are your favourite podcasts?
Invisibilia. Unseeable forces control human behavior and shape our ideas, beliefs, and assumptions. Invisibilia—Latin for invisible things—fuses narrative storytelling with science that will make you see your own life differently. https://www.npr.org/podcasts/510307/invisibilia/

99% Invisible. A podcast about all the thought that goes into the things we don’t think about — the unnoticed architecture and design that shape our world. https://99percentinvisible.org/

aalhour··on Wicked problem
As per Dave Snowden, Wicked Problems lie in the Unordered side of Cynefin and mainly in the Complex domain (if they come from sociology).
aalhour··on Ask HN: Why won't you quit a job you hate?
Been there & won the battle. Talked to the other tech leads and convinced HR and the CTO with our position, that psychopath of a manager ended up getting fired during his probation period.
aalhour··on Ask HN: How do you handle toxic coworkers?
Did you try talking to this person? Did you try having a personal & private chat with them? Are they aware of the impact of their behavior on the environment and their colleagues?

If no, then how about you try talking to them, making them aware of the impact of their behavior on you? You could go like:

"Hey, I've been meaning to talk to you for a while but I didn't know how to put it best, I'd appreciate it if you listen to me until the end, I have observed <list non-judgemental observations> and I personally think of them as <list impact it had on you>, I'd appreciate it if you could express your ideas/talk to me/write me in a way that is more productive and constructive. I don't want our interactions to always end up being negative and I am actually looking forward to discussing a lot of your ideas in the future. What do you think?"

EDIT: formatting

aalhour··on Ask HN: What is the single top-priority software engineering problem?
Declarative Programming.

Specify a problem statement and let the computer figure out a way to implement it but take this idea and apply it to SaaS Applications. Here's how a domain model looks like, go figure out a database-backed API application implementation for me.

aalhour··on Ask HN: Are there any online courses to learn Advanced Computer Science?
I loved Ryan O'Donnell's "Great Ideas in Theoretical Computer Science" series, you can find it on YouTube:

https://www.youtube.com/playlist?list=PLm3J0oaFux3aafQm568bl...

MIT OCW has a course on Advanced Data Structures which is just great! You can find the Fall-2017 version of it here:

https://courses.csail.mit.edu/6.851/fall17/

I also started reading the "Streaming Systems" book which is a great reading on distributed data-intensive systems, I recommend it:

https://www.amazon.de/dp/1491983876

Also, you might be interested in checking out the Apache Beam, Flink, Spark and Storm projects, a lot of things happening on the front of designing data-intensive distributed systems, hacking a side project in any of these might be a fun learning activity.

Best of luck!

aalhour··on C Compiler from Scratch
The entire course on YouTube:

https://www.youtube.com/playlist?list=PLDcmCgguL9rxPoVn2ykUF...

aalhour··on Repl from Repo
It takes forever to open on my phone, tried different browsers and it still doesn't work, is this intended for desktop use only?
aalhour··on Ask HN: How to Prepare for an Engineering Manager Interview at Google
Thank you! Do you have any resources that help understand what Google (FANG companies in general) mean when they ask candidates about their ability to "deal with ambiguity"?
Page 1 of 5Next →