HN user

entropy_

732 karma

email: raja.e.baz@gmail.com

Posts5
Comments215
View on HN

This is factually untrue though. Twitter was making money in 2018 and 2019 (to the tune of ~1.2B/year in net profit out of ~3B revenue, which is a fairly high profit margin) they lost quite a bit of money in 2020 and less in the years thereafter. However, even in the years where they had negative net income EBITDA remained positive suggesting the losses were upfront investments that would be expected to be amortized over the coming years.

The only reason Twitter is in deep financial shit right now is because Elon acquired it in a leveraged buyout and the cost of servicing the debt is estimated around 1B/year.

It's a hash of everything that goes into a commit, including the commit message. The idea is that nothing that makes up a commit can change without changing the hash.

Mid-30s and no regrets so far after roughly 12 years of experience. I've done mobile development (Symbian, yes that Symbian, iOS and Android) backend (nodejs, erlang, PHP, python) data engineering and probably a host of other things that don't spring to mind immediately. That being said, I've mostly been working in startups (the longest being the current stint of nearly 8 years now from early employee to IPO) and generalists are generally really well appreciated in those settings.

I like how you think labels correctly label anything. I happen to work at a music streaming service (not Spotify) and I can definitely say that those datasets are insanely noisy and generally you can't really trust labels to, well, label their data correctly for anything.

I had a very similar experience with Nibbles. It was my first time reading a program and modifying it. The initial motivation was that we'd bought a new computer and it was suddenly unplayably fast. Found the busy loop that slows things down and added a 0 to the limit. From there my brother and I started modifying other things, adding levels, etc...

As far as I can understand it:

1 - I'm proud of having cheated Airbnb out of their commission when helping me find housing so I could live like a hipster

2 - I hate living next to Airbnb hipsters

Needless to say: not a lot of coherent thought in that comment...

Where did you get 1,000$/KWH of storage? Even at small scales (household-sized batteries, ~10~15KWH) prices are currently around 300$/KWH for lithium batteries including shipping in a 3rd world country (I know, because I live in a country where there's no 24/7 grid power and I moved my house to solar+batteries 2 years ago).

I'm pretty sure at the kinds of scale you'd need for a country price per KWH would be significantly less.

Epiousios 5 years ago

I'm familiar with this prayer in Arabic, and two variations thereof (one used by Catholics and the other by Eastern Orthodox churches).

The Catholic one would translate to 'enough for the day' (كفاف يومنا) and the Orthodox to 'essential' or 'necessary' (جوهري). Both seem closer to what your wrote than 'daily'

The past year in Lebanon has been like that. I'm sure if someone wrote a script about this for a movie they'd be told to just "tone it down on the grimdark shit okay?" or something.

1 - Oct 2019: financial meltdown (still ongoing, local currency has lost 80% of value vs USD since then with no end in sight. Banks aren't giving out USD deposits either, you get to take them out in local currency and lose the difference in exchange rate)

2 - Protests, riots, etc... (since the meltdown and still ongoing)

3 - Pandemic, lockdown (Mar 2020, still ongoing with rising cases/day since measures were relaxed)

4 - Huge explosion takes out half the capital and what remains of the economy (The Beirut port runs about ~70% of all the sea trade volume of Lebanon).

The whole thing is literally stranger than fiction. Someone described the latest disaster like so: "The most shocking thing about the Beirut is explosion is how none of negligence and incompetence that led there is shocking".

I live about 9km away from the site of the blast(as the crow flies). I can definitely confirm that the order of events was:

1 - Earthquake

2 - Sound (sounded like rolling thunder or a jet breaking the sound barrier)

3 - Pressure wave (felt as a sudden, short-lived, strong wind at that distance)

"The ability to be expressive comes with it certain biological traits and dispositions. These traits may determine your viewpoints on matters."

This is an extremely hand-wavy assumption that you're basing your arguments on. Any evidence to back that up? It would seem to me that the ability to express one's views would be orthogonal to one's viewpoints on various matters.

Happened to a friend of mine though it was Syria in that case(before the war, 2008~9). Guy was 20 and had never set foot in the country, wasn't really aware this was even a thing. Managed to get out of it after being detained for a few days through connections and lobbying but it was scary AF. Their military service is 2 years long...

Not an expert, but I would imagine the speed at which these carbohydrates get metabolized is a factor in whether or not it messes them up? Carbs from bread take a much longer time to raise blood glucose levels and do so for longer than a spike induced by drinking what is essentially liquid sugar.

I remember our first night home with our first child. It was an extremely difficult birth(long labor followed by a C-section due to complications) and so my wife needed lots of sleep(we only got 3 nights in the hospital and she was in no way recovered). I very vividly remember standing there, carrying a 3-day old baby crying while covered in poop and trying to figure out WTF I was supposed to do...

The answer is: you eventually figure it out after lots of panicking :P

It's only weak if you have access to a credit card and are able to pay for a VPS or VPN abroad. If you're trying to bypass it using only free(as in beer) tools, it's quite effective as clearly shown by the article.

First, I may or may not have privately held views about the morality(or lack thereof) of US foreign policy post WW2(hint: If you look at my comment history, you can probably figure it out given where I've stated that I live and some oblique comments pertaining to the subject). However, the above comment was specifically meant to not make a statement about the subject so as not to fan the flames any further, but only act as a refutation of the statement it was replying to based on historical facts rather than moral arguments.

Second, your statement is patently untrue. The genocides(against the Jewish people and countless others as well) perpetrated en masse by the Nazi state have nothing to do with self-interest or looking out for oneself. So no, this does not apply. If we were talking purely about their expansionist policies and invasions, then you may have had a point, but that's not what people usually mean when they, rightly, hold up the Nazi state as an example of criminally abhorrent and repulsive behavior.

This particular position baffles me, especially since we're discussing Iran here. Iran had a liberal democratic government and the US toppled it(because they dared try to take control of their own oil reserves) in favor of a military coup and a dictator. That dictatorship then proceeded to radicalize the population through oppression which led to a revolution and the installation of a theocratic anti-US government in one of the worst cases of shooting-your-own-foot US foreign policy in modern history.

The reality is: US foreign policy does not care one tiny bit about the liberal/ilieberal or democracy/dictatorship spectrums, it only cares(rightly, some may argue) about its own(mostly economic) self-interests. As pertains to the MENA region, that mostly means it only cares about the economics and politics of the oil business(though there is in an irrational, lobby-driven, tendency to protect Israel in any and all things even when it harms the aformentioned oil intersts). The liberal/illiberal thing is a red herring and mostly about gaining the support of their citizens for whatever thing they want to undertake right now.

Do note, I'm not in any way condemning the US for the way they tend to act around the world, they're just looking out for themselves. I'm just saying, it has nothing to do with favoring particular modes of government and to argue otherwise is to cherry-pick maybe 30% of the events the last 60 years and ignore the rest which does not line up with your particular worldview.

In theory you can build a latch using only NAND gates, so it should be possible unless the gates that are demonstrated are flawed somehow, see my sibling comment.

He built an adder, which does always complete(by design). But having the ability to build AND and NOT gates(which he demonstrates) should be enough to build any computer from just those 2 components[1]. I'm not familiar with the game to comment on the correctness of the AND + NOT implementation itself though:

If NOT is modeled by flooding a power plant and causing it to turn off, would it go back to being on after a while if we stop actively flooding it? Ie, If the input goes to 0, does the output go back to 1 or not? If this doesn't hold then it's not a proper NOT gate to begin with(turns 1 to 0 but doesn't turn 0 to 1) and the implementation is flawed.

[1] https://stackoverflow.com/questions/4908893/what-logic-gates...

You need to go to the app store app, then the updates tab and pull down to refresh(yes, the updates tab, not WhatsApp listing in the store). When you do that, you'll see the newest version becomes available for update. This happens whenever an update is set to phased release and hasn't reached 100% yet.

My son could read the alphabet and recite it at 18 months. He learned this on his own because someone gave him a kid's alphabet book and he kept pointing to things in it and we'd tell him what they were. I think kids are perfectly able to do this stuff by 2, they just need to be exposed to it. For the record, we didn't encourage this behavior or try to push for it, he just really obsessed over that book for ~1 month for some reason.

I definitely agree with most of the points in the article. I've always been an avid reader and I find that this has enriched my life and my ability to think and reason about the world around me.

However, I find that the dig at amazon and e-books is definitely unwarranted(Or at least overblown). As a denizen of the third world, Amazon and the Kindle have been a lifeline to me. It's pretty much impossible to find anything that isn't bestseller trash in bookstores where I live. The selection is limited only to what might sell to the largest possible audience/lowest common denominator. Being able to get books on demand, electronically and cheap has been the only way I've been able to keep up my reading habit in the face of tightening time and budget constraints(2 kids, a job, etc...)

The attestation API can be used to detect probable root, but that's not the only thing it does. It can be used to detect if an APK is modified(and thus probably cracked) or not. There are various things you can check for and you can allow rooted phones while disallowing modified APKs.

If your app relies on server-side functionality to work, you should look into the SafetyNet Attestation API to see if you can block cracked apps from working by having the server refuse to talk to an app if it can't prove it was installed from google's app store.

I don't live in the US/UK/Europe so Amazon deliveries are things I pay a lot for and take a while to get to me. So when I buy something, I have to be damn sure I'm going to like it. That's lead to the following strategy: filter reviews to only look at 1-star and 2-star reviews and make sure you can live with it if all the things people say there end up being true. It's served me well so far and no amount of 5* reviews will change my decision to buy or not. Also, I look for things elsewhere, and only go to Amazon for buying, I don't use their search. That helps a lot as well