HNHacker News
TopNewBestAskShowJobs

_shadi

378 karma · joined August 2, 2018

submissionscomments
_shadi··on The Notre Dame fire and the future of history
Cologne Cathedral was finished more than 500 years after the work started
_shadi··on The Notre Dame fire and the future of history
move fast and burn things
_shadi··on Ask HN: Do you like/use Reddit's redesign?
> I’m actually surprised that, historically, Digg died for much smaller redesign “sins”, and I think it was primarily because Reddit was an alternative.

if you use reddit mostly on mobile then there are many unofficial apps to use, and some people might not even notice the redesign.

_shadi··on Ask HN: What tools do you use to understand big code-base?
in addition to what was already suggested I use a notebook and a pen to keep track of interesting classes and write notes about them, like sort of an index, and I draw few flow charts.
_shadi··on Ask HN: FastMail vs. ProtonMail?
oh so you can't use it with something like thunderbird or mailspring ? what about mobile apps?
_shadi··on Goodbye Docker and Thanks for all the Fish
Not a containers expert and I never used docker swarm, but I will still go with Nomad for container orchestration over Kubernetes anytime I can, gets the job done with minimal fuss.
_shadi··on Linux 5.0
spoken like a true project manager
_shadi··on Ask HN: Has anyone curated a list of hidden interview questions?
I don't think it will have any effect, probably some container/vm will go down and that's it.
_shadi··on Ask HN: Has anyone curated a list of hidden interview questions?
probably running in a container or sandboxed in another way
_shadi··on Ask HN: Has anyone curated a list of hidden interview questions?
I just did a fork bomb:

jobs@repl.it:~$ :(){ :|: & };: [1] 26 jobs@repl.it:~$ bash: fork: retry: Resource temporarily unavailable

_shadi··on Ask HN: How is Ubuntu as a daily driver?
I think the search terms were being sent by unity and not Ubuntu itself, I haven't used Ubuntu for years(I find it a bit bloated) but I remember reading that Unity was discontinued so it should not be a problem with another desktop environment.

for me personally, I use Manjaro at home and I'm very happy with it, although I have an old thinkpad so that might be why I haven't faced any driver or other kinds of problems.

for work I'm currently using a mac since that is the only hardware the company provide, but I always found Opensuse Leap to be the best, very stable and with a relatively recent packages.

_shadi··on Ask HN: How do you track your production deployments?
We ran into something similar last month, what we ended up doing is adding the deployed sha1s to dynamodb table, after deployment of a new version we added an item to the table, after release(complete route53 switch to the new cloudformation stack) update the item and add a timestamp with the release.

each item had the following fields: sha1(partition key), environment, deployment timestamp, release timestamp

_shadi··on Ask HN: How many developers should you have before you switch to micro services?
I'm no longer at that company, I would rather not share more personal information, but the product was a sort of a marketplace implementation.
_shadi··on Ask HN: How many developers should you have before you switch to micro services?
most of us had experience with traditional development only, so we had to adopt devops mentality to be really effective, the company had ~4 system engineers who were working on the monolith full-time, so we had to take care of the microservices we built ourselves.

by AWS services I meant things like cloudformation, packer, ansible, consul, the nitty-gritty of ELB, EC2, S3, docker, hardest part for me was IAM and vpc/subnets, dealing with multiple caches instead of a big one, also distributed sessions(in the end we got rid of sessions and used identifiers and a key-value store).

Jenkins jobs to deploy and test every single service on its own, and for deploying everything to a test environment and run integration tests.

UAT for testing all services on test environment.

There is much more than that but these are the things I remember from the top of my head.

_shadi··on Ask HN: How many developers should you have before you switch to micro services?
I don't think it has to do with team size alone, although it is much easier to work with in large teams, first time I used microservices I was in a team of 6 developers, main pain point for us was deployments, it would take sometimes 2 days to do a full deployment of the 10+ old years that was not always well-maintained monolith we were working on, we decided that any part of the functionality that makes sense to be independent from the rest and can be updated/deployed alone to extract it into a microservice instead of refactoring it when we touched it, at the beginning the process was even slower and we had to learn a lot, but with time and after we built a good knowledge base on the different aws services and had a better set of Jenkins job it became much smoother.
_shadi··on Ask HN: Will you pay $1 for personalized news only for you?
the title has "news" in it, so I assumed something like world news or recent events? but from your comments it seems something closer to a curation of links similar to what I would find using stumbleupon which sounds a little bit better.
_shadi··on Ask HN: Will you pay $1 for personalized news only for you?
isn't that what most companies are trying to do with their feeds? that sounds awful, no I don't want to live in a personalized bubble.
_shadi··on Ask HN: Do you think Google's recaptcha has gone greedy off late?
I prefer going to the old captcha rather than spend 2 minutes clicking on images
_shadi··on The Waterfall methodology was a historic accident and they knew it
Waterfall seems more like a factory assembly line to me, on each step someone will add a component and at the end you will have the full product, its just in software usually you don't know what the end product should be when you begin.
_shadi··on Confessions of a programmer: I hate code review (2010)
I see your point but we found out that this way the review will be done quicker rather than having discussions on the PR, since before adopting this policy the comments usually had pseudocode in them.

anyway duo to #1 and #2 what actually ends up needing a review is the only minor or medium scope changes, and most of the time the commit will be renaming a variable/method or adding a test case.

of course if you see the PR went in the wrong direction you can still reject it.

_shadi··on Confessions of a programmer: I hate code review (2010)
In one of the teams I worked in we had a policy to mitigate some of the things we found inefficient in our code reviews:

1- anything done in a pair doesn't need a code review.

2- any story that is more than 3 story points should be worked on in pair.

3- if you are doing a code review and you find something that needs to change you don't leave a comment, you update the branch and ask the original branch owner to review your new commit.

_shadi··on Ask HN: I'm good at coding but bad at competitive coding
from my experience it's the other way around, 5 nested blocks might be a regular thing to see in an enterprise code base rather than at a startup.
_shadi··on Arabic, a great language, has a low profile
This morning someone shared with me an article on cnbc that a guy and a girl from Jordan raised 4.5 million and now I see you here, congratulations :)
_shadi··on Status.github.com: “We're failing over a data storage system”
I always thought it is silly that we pay for both private repos on github and host our own enterprise github on premise, turns out whoever have set this up knew what they were doing.
_shadi··on Ask HN: First month job anxiety. Am I actually an impostor?
Thank you for putting this in words, I had thought about how people react to questions and how some would just dismiss them while others will explore and try to know more about your thought process but never could put it in words.

the first paragraph in your post reminds me of the Dunning-Kruger effect: https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect

_shadi··on Ask HN: Cheap places to live with a good intellectual atmosphere?
How international the workforce is there? and How hard would it be for a -non religious- middle eastern family to work/live there? from my experience in Germany it seemed with the exception of Berlin and Cologne people won't view you as an equal in the workplace until you work very hard to prove otherwise.
_shadi··on Ask HN: If you are 30+, what advice would you give to your 20-something self?
Don't worry too much about what will people think or say about you.

Read more

Stop eating junk food

"you can only connect the dots backwards"

_shadi··on Chrome 69 will keep Google Cookies when you tell it to delete all cookies
Is there a good alternative for google photos? I remember I looked for one few months ago after I got a little freaked out by google facial recognition, but didn't find any good alternative.
_shadi··on Ask HN: Where do save your source code on desk?
I had a conversation about this with a colleague, he uses /source since he said long time ago some virus scanners would skip this directory by default, not sure how accurate that is now, I became curious after that conversation to find where other people would store theirs.
_shadi··on Show HN: Ichiban is kanban for one
Where is the content of the cards stored? is it hosted by the site?
← PreviousPage 2 of 2