HNHacker News
TopNewBestAskShowJobs

majidazimi

700 karma · joined August 7, 2013

submissionscomments
majidazimi··on America’s banks are missing hundreds of billions of dollars
Peasants have unemployment insurance. If government is supposed to pay something on top of it, why do we even have unemployment benefits to begin with?
majidazimi··on The art and science of spending money
The goal of saving is to have a lifestyle that you can MAINTAIN during retirement.

- if you save 60% of your income, your lifestyle will be severely damaged and you won't become a spender all of a sudden the day after retirement.

- If you save 5% of your income, then you won't be able to lower your lifestyle once you retire.

Saving 15/20% of income isn't a magic number. But it's something that doesn't damage your lifestyle + it accumulates to a meaningful amount that saves your ass in old times.

Going aggressive in either direction (spending or saving) is not the right mindset, because you won't be able to CHANGE once you adopt a specific lifestyle.

majidazimi··on Native Minecraft servers with GraalVM Native Image
>Startup are a none issue

Yes it is. Developing any short term job -- that runs multiple seconds and goes away -- like lambda or k8s jobs with Java is meaningless for exactly this reason. The startup time is longer than the run time.

majidazimi··on Node.js packages don't deserve trust
Simply because blast radius for Java is limited to a set of very high quality libraries -- in terms of code not functionality. These libraries come from Apache Foundation, Eclipse Foundation, Google, Facebook, Spring, etc. Literally every single Java application depends on something from Apache [ok I understand stuff like Log4Shell can still happen].

The same is not true for JS. The most mature libraries depend on absurdly vague libraries that no one has ever reviewed.

majidazimi··on The IPv4 Cleanup Project
I don't know why this is being down voted. The entire modern bullshit Internet exists because of NAT. We can't host stuff ourselves and have to use some central system. Since nothing is free, the provider has to inject more and more ads everywhere.
majidazimi··on 50 Years Ago, Sugar Industry Quietly Paid Scientists to Blame Fat (2016)
EVOO, Ghee (from grass fed butter), Coconut oil, Avocado oil, Sesame oil, Tallow, Lard and Butter (from grass fed animal) is all that you should be eating. Everything else belongs to trash bin.
majidazimi··on We Will Never Have Enough Software Developers
I personally think this is the only reason causing work force depreciation among software engineers. If shit is changing every six months, then keeping up with changes should be part of the job, not part of the weekend.
majidazimi··on KLM to Lay Off 5k Employees Due to Covid-19
If tourism + aviation is profitable combined, then why should we care? It's like Sony is not profitable by selling play station hardware. But game business unit is profitable because subscription income covers the hardware loss.
majidazimi··on Apple has €13bn Irish tax bill overturned
Build taller. Skyscraper has been invented long time ago.
majidazimi··on Apple has €13bn Irish tax bill overturned
Even if it's half cheaper, a family house of 80-100m^2 costs beyond 600K which is way beyond affordability range of a couple both working as software engineers let alone people with non-tech jobs.
majidazimi··on Apple has €13bn Irish tax bill overturned
Sure. Happiest countries are in Europe with highest suicide as well. What sort of happiness is that?
majidazimi··on Apple has €13bn Irish tax bill overturned
I live and work in Munich and I have to pay half a million euros for a 25m^2 box. EU is cheaper than US is a fallacy.
majidazimi··on Pulsar vs. Kafka
Network is faster than disk. Once cached, then you are only bound by network IO for subsequent uses.
majidazimi··on Pulsar vs. Kafka
That's true but still limitation is not fully resolved. In order to increase consumption rate, we need to add replicas. In pulsar Brokers are merely cache nodes over Bookkeeper. Adding more Brokers is trivial in Pulsar.
majidazimi··on Pulsar vs. Kafka
There are real differences among them. Here is some painful aspects of Kafka:

1. A single partition is stored in one node (replicas on another nodes). With this, introducing new nodes takes very long time to replicate large partitions, because it can replicate one partition from only one node (leader of the partition). On Pulsar each segment of partition is stored in a different bookkeeper node.

2. Because of 1, if two consumers read different parts of a partition that are far from each other, they will compete over disk bandwidth. In Kafka consumer can not read from replica node. If a topic is really popular and many consumers try to read from it (from different parts of the file which makes OS page cache useless), total consumption rate is limited to disk bandwidth of a single node. But in Pulsar each consumer can read from different brokers. Catch up consumers won't trash streaming consumers in Pulsar.

These are not problems that can be fixed easily. Additionally, in the realm of streaming the difference between Flink and Spark is day and night. The low watermark feature that Flink offers makes them behave fundamentally different.

majidazimi··on Coronavirus epidemy in Iran past crisis level
Iranian here. The author of tweet is also an Iranian. All the reasons he mentioned is absolutely legit.

1) it was just before election and needed high turnout --> This is true. State sponsored TV started announcing Corona death cases exactly after election day. It is impossible to get the virus and die in same day. Obviously they knew that virus is in early phases of spreading before election.

2) due to political need, did not stop flights to china ---> As you remember in early days many airlines refrain carrying Chinese. Mahan Airline was pretty much the only carrier that transported Chinese back to China from middle east which is through Tehran IKA. This airport is roughly 1 hour away from Qom.

3) source seems to becleric students from china arrived in Qom --> This is also true. Qom has the biggest religious school in middle east and it has many students from east/central Asia.

4) did not close religious shrines --> Which is obvious

Note that there are only few cases that this virus can get into Iran which is more or less an isolated country:

1. Chinese coming into Qom as becleric students

2. Chinese working in Huawei in Tehran's office.

3. Chinese working in oil sector in southern cities.

Other than above three cases there is pretty much no other way for this virus to get into Iran as there was no other case in Turkey/Emirates/Pakistan, ... since they started putting Chinese into quarantine a lot earlier than us.

majidazimi··on Elon Musk: Tons of C++/C engineers needed
I meant Boeing as commercial aircraft producer. And I don't blame anyone regarding this. It's their life/career.
majidazimi··on Elon Musk: Tons of C++/C engineers needed
Then the shittier devs will inevitability be hired to work and the outcome is clear. The fact that genius people are working at Facebook to help us press like button on Kardashians' ass image at scale and dummies are working for Boeing already has shown its consequences.
majidazimi··on Turkey buys Delphi licenses for an estimated one million students
The number of small scale desktop applications (like restaurant accounting/billing or tax management) in Turkey or similar markets exceeds all forms of mobile/web apps combined. In my home town in Iran, C# desktop developer is the number one job offer for the last 10-15 years. The market is full of small businesses that need simple desktop apps to run the business.
majidazimi··on Waltz: A Distributed Write-Ahead Log
Essentially if each instance can keep track of validating transactions locally, the whole thing can be easily implemented with Bookkeeper and distributed log API [0]. Bookeeper guarantees single writer (the master node which is appending to log) for each ledger. All it needs to be done is to put concurrency control metadata (like version, timestamp, ...) inside the message so each node can validate stuff locally.

[0] https://bookkeeper.apache.org/docs/4.9.2/api/distributedlog-...

majidazimi··on Stop Blaming America’s Poor for Their Poverty
The whistle noise started two days before cleaning it. After cleaning it started getting worse. Nowadays, it's variable. It goes up and down irregularly.
majidazimi··on Stop Blaming America’s Poor for Their Poverty
I wasn't rich either. I saved enough to survive the incident. save people, save!
majidazimi··on Stop Blaming America’s Poor for Their Poverty
Absolutely. What I meant is, shit happens all the time and you have to be prepared for that. Medication cost didn't cause me an issue, because I save my money quite aggressively.

Being poor (by global standards) in a developed country heavily depends on person's lifestyle and decisions.

majidazimi··on Stop Blaming America’s Poor for Their Poverty
Where does this "Europe is awesome place to live" come from?

I live in Germany, I got ear wax, the doctor waiting line was more than a week, so I developed tinnitus problem in a couple of days because of the wax (I don't use any headphone, I don't work in any noisy place so they don't have any effect). Insurance didn't cover medicine cost, so I paid it in cash while I was a student. Then the doctor said, it's too late and now I have to deal with a permanent tinnitus disorder for rest of my life.

Do you see how awesome social security is in Europe? #StopSpreadingBullshit

majidazimi··on Survey results: ISO C++ feature proposals
It means concurrency and pattern matching is not really critical for the community as it is for other language communities. There is no insult, but generally speaking an average C++ developer has deeper knowledge than an average Java developer which essentially means C++ developer is somewhat comfortable with traditional concurrency toolkit like threads.
majidazimi··on Microsoft CTO on the future of software engineering [audio]
Ad revenue is so attractive that no one is willing to just provide a simple fucking paid service.
majidazimi··on Microsoft CTO on the future of software engineering [audio]
It's just not ads. I'm willing to pay for the content but I need the guarantee that content provider or company won't sell my usage information. The problem is that ad-tech companies won't stop when we start paying. Google will still sell our usage profiles even if we buy YouTube music.
majidazimi··on Why Evernote failed to realize its potential
This. Office 365 package provides full office suit + 1TB of storage + 50GB ad-free mail box for the same price and they are already profitable at this price tag. If you are an startup offering any service more expensive than office 365 you are doing something really wrong.
majidazimi··on Top oil firms spending millions lobbying to block climate change policies
Is lobbying the latest euphemism for bribing?
majidazimi··on Alibaba acquires Berlin-based data Artisans for $103M
Here is an example:

I'm not citizen but working as a dev. I have an old passport which doesn't have bio-metric security features. However, I have a valid residence permit card (it already has bio-metric features). Revolut app which is UK based bank accepts my residence permit in identification process without checking my passport. Just scan it via the app itself and there you go. There is literally no bank in Germany (including N26) that accepts my residence permit card. I constantly have to fight with every company providing any online financial service, because their online video identification process (known as Post-Ident which is run by Deutsche Post) only scans bio-metric passports.

How come? If this thing (residence permit) is a valid ID document, then why is everyone asking for passport? My identity has already been approved by immigration office.

If residence permit is not a valid ID document, then why issue it at first place?

Page 1 of 6Next →