HNHacker News
TopNewBestAskShowJobs

eric-hu

1,747 karma · joined June 30, 2011

hu dot eric at that google email service
submissionscomments
eric-hu··on Ask HN: Where have you found community outside of work?
Not the person you asked, but results of a quick search. I only gave each of these a quick scan, but it seems to be a well supported claim.

https://psycnet.apa.org/record/2013-21685-006

https://docs.iza.org/dp1045.pdf

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5504679/

https://web.archive.org/web/20150113062433/https://www.baycr...

eric-hu··on A Housing Bust Comes for Thousands of Small-Time Investors
Yup. Your comment seemed to present advantages of speculation without saying it’s a pure good. The comment I replied to seemed more pure market.
eric-hu··on Not Even a Recession: The Great German Gas Debate in Retrospect [pdf]
The paper is specific to Germany, and your linked article reported statistics about Europe. Apples to oranges.
eric-hu··on A Housing Bust Comes for Thousands of Small-Time Investors
From that same section, though:

> On the other hand, as more speculators participate in a market, underlying real demand and supply can diminish compared to trading volume, and prices may become distorted.[8]

eric-hu··on Orb Farm
I think on every reload it's a different item. It seems to be an ornament, like a castle or ship one might put in a fishbowl.
eric-hu··on Orb Farm
I tried this out and it works, but it felt like cheating. The algae production counts towards o2 balance, but that doesn't make sense if their water is sectioned off.
eric-hu··on NYC skyscrapers sit vacant
Sounds like a change of address to somewhere just outside 30 miles is in order.
eric-hu··on Google Launches AI Supercomputer Powered by Nvidia H100 GPUs
If your demand for this is so urgent, it sounds like you want your own hardware. Here you go, that’ll be 38k for just the H100:

https://serverevolution.com/nvidia-900-21010-0000-000.html

eric-hu··on HP disables customers’ printers if they use ink cartridges from cheaper rivals
The cynical answer might be that HP secretly updated their TOS so that the printer transaction is not a purchase but a long term rental on their terms. Not unlike “buying” a game on Steam or “buying” a Tesla. In both cases, you do something the vendor dislikes and your ownership is toast.
eric-hu··on NIH restarts bat virus grant
> By the time we got to Omicron the vaccine appeared to be doing next to nothing and China was still locked down.

It’s funny you say that. China disallowed their citizens from using western vaccines including Pfizer, Moderna and Astra Zeneca. Chinese citizens were only allowed to receive Chinese made vaccines. For all we know, they needed their lockdowns until so late because their own vaccines lacked efficacy in baseline protection.

eric-hu··on Cantonese Font with Pronunciation
Okay, I concede that I may have forgotten that Chinese has its exceptions too. 了解 is indeed a good example. There are plenty in English though. Even with context, sometimes I have to really pause and think whether to pronounce read as red or reed (I read it just fine, I read English just fine).

Where I've had pain specifically with Thai is that I can't even know where a syllable begins and ends until I read a few "syllables" together and decide whether some vowels go with the consonant in front or behind it, and whether some an -ar should be pronounced as an -aan.

eric-hu··on Cantonese Font with Pronunciation
Okay, you make a good point. Let's look back at the GGP's comment though:

> Same with Chinese language, thus lexing and parsing requires knowing many more words than in languages with spaces between words.

In English, can you get away with knowing the meaning of "good" and "morning" and not "good morning", and know that I'm greeting you instead of commenting on the quality of this morning?

eric-hu··on Cantonese Font with Pronunciation
No, it's different between Chinese and Thai.

Lexing is very clear in Chinese. It's never the case that you look at a Chinese sentence and don't know where a character ends and another begins. Take this sentence in both languages: "good morning, how are you"

早安,你好吗

This sentence clearly has "spaces" and I'm pretty sure any person illiterate in Chinese could tell you there are 5 characters / words. Technically the third character is composed of 人 and 尔 but I don't know that anyone, even kids or beginners, would mistake those as _not_ going together.

สวัสดีตอนเช้าคุณเป็นอย่างไรบ้าง

In contrast, Thai is as you say: lexing and parsing bleed together. There are 7 words in this sentence, but you need to lex the 10 syllables and run them through your mental dictionary to recognize the possible words they could be. My Thai is very limited, but there are examples of sentences out there that actually have multiple valid readings with different semantic meanings, depending on how you group sounds together.

eric-hu··on Are There Price Asymmetries in the U.S. Beef Market? [pdf]
Is a deep freezer the same as a chest freezer?
eric-hu··on macOS Internals
I don’t know that code was always text, but I’m thankful to have been born in the days after programming assembly on punch cards was not the only way.
eric-hu··on A few words on Ruby's type annotations state
The author speaks to this in the blog post too.

> The “this can be typed, this can’t” approach would most probably lead to a schism unseen before: splitting of the community into those who prefer type-annotated code and consequently became reluctant to any of the most expressive and dynamic features—and everyone else.

I'm an active user of Sorbet at work, and I can see this happening even with my own opinions. On the one hand, I don't want to see the Ruby ecosystem fractured more, but on the other, I've seen clear benefits from helping add static typing to my team's project. I didn't really know much about Steep at the time, so I pushed for Sorbet. My first preference was actually Ruby 3 types, but when I looked into implementing them, I found they provided much weaker guarantees than Sorbet. The tooling also wasn't there.

eric-hu··on A few words on Ruby's type annotations state
The Ruby example you gave looks good for these simple cases. I feel like this could break down for more complex cases though. What about generic types? Or what Sorbet calls Shapes (e.g. the input type is a hash with 2 specific keys -- stuff like this is typical with JSON ingestion in TS).
eric-hu··on A few words on Ruby's type annotations state
> Also in its usage, Sorbet needs to _evaluate_ files.

Are you saying this in the context of static analysis or runtime analysis? I’m pretty sure Sorbet does not need to eval files for static analysis.

> Ok I'm going overboard (maybe?)

You are going overboard. I like both TS and Sorbet. Neither type system will protect you from running malicious code on your computer.

eric-hu··on Googlers angry about CEO’s $226M pay after cuts in perks and 12,000 layoffs
I’ll credit Tim with giving Jony the boot and getting MagSafe back on my Mac.
eric-hu··on Googlers angry about CEO’s $226M pay after cuts in perks and 12,000 layoffs
Neither of them have to be CEO. So Page and Brin can reward the CEO for being ruthless in a down market and also have Sundar be the scapegoat for them. The “cake” is their stock going up. “Eating it too” is the CEO scapegoat.
eric-hu··on Funds of every Trust Wallet browser extension could have been stolen
You’ve just connected the hypothetical question to the current behavior in play on the global scale. USD is still technically the worlds reserve currency, meant to be the base unit of all petroleum transactions. Countries have been motivated to keep USD on hand for decades for that reason.

In 2009 and 2021, the USD’s “board and leadership” has shown it’s willing to massively inflate its existing liabilities to help it solve its severe problems.

It’s very questionable why any country with large trade surpluses would want to hold US treasuries at this point. That’s precisely why China has brokered energy deals denominated in RMB, and BRICS is exploring a basket of their currencies to act as a new reserve.

eric-hu··on Why are lithium prices collapsing?
That’s really interesting that the particulates were comparable from induction and gas cooking. If you did any more comparisons and recorded them anywhere, I’d be curious to read more about them.

I’m guessing this might be a temperature dependent issue. I enjoy using a cast iron to brown meats, but I really dial it back in homes without true range hoods (e.g. they vent back indoors). If I go for maybe 25% browning, I can massively reduce the smoke. It feels a shame to not do a steak to perfection, but when I’ll prefer that to venting the whole place for an hour.

eric-hu··on Dropbox to reduce global workforce by about 16%, or 500 staff
Tesla

https://www.jwz.org/blog/2023/04/murderbot-is-watching-you-p...

eric-hu··on When a mosquito can’t stop drinking blood, the result isn’t pretty
One could make a case that they spread diseases that kept humans in check in certain parts of the world, until modern medicine came to be.
eric-hu··on Rural Americans are importing tiny Japanese pickup trucks
Does that work if people don't live in MN or AR?
eric-hu··on Reddit will begin charging for access to its API
There's no morphing. This announcement includes 3rd party apps. Link from a sister comment, written by the Apollo dev:

https://www.reddit.com/r/apolloapp/comments/12ram0f/had_a_fe...

* Edit *

They also might be pulling a Tumblr. I really hope they don't.

> For NSFW content, they were not 100% sure of the answer, but thought that it would no longer be possible to access via the API, I asked how they balance this with plans for the API to be more equitable with the official app, and there was not really an answer but they did say they would look into it more and follow back up. I would like to follow up more about this, especially around content hosting on other websites that is posted to Reddit, as well as different types of NSFW content (a text post marked NSFW due to a gory moment in a story, for instance).

eric-hu··on Reddit will begin charging for access to its API
I'm favoriting this post. What a pithy description of the systemic breakdown of rule of law.
eric-hu··on ESA’s Juice lifts off on quest to discover secrets of Jupiter’s icy moons
Probably direct from the sun. There's an what-if about using moonlight to start a fire

https://what-if.xkcd.com/145/

> First, here's a general rule of thumb: You can't use lenses and mirrors to make something hotter than the surface of the light source itself. In other words, you can't use sunlight to make something hotter than the surface of the Sun.

...

> The Sun is about 5,000°C, so our rule says you can't focus sunlight with lenses and mirrors to get something any hotter than 5,000°C. The Moon's sunlit surface is a little over 100°C, so you can't focus moonlight to make something hotter than about 100°C.

The cloud tops of Jupiter are estimated to be -280 degrees F.

eric-hu··on Dashcam footage shows driverless cars clogging San Francisco
For others like me who didn’t know the term:

> Sideshows entail street stunts in which parties perform “doughnuts,” or high-speed circles, burn-outs and other risky maneuvers.

eric-hu··on Do Kwon converted illicit funds from LUNA to Bitcoin
The most interesting part to me is at the bottom:

> What was initially thought to be a market-triggered event turned out to be a clear case of fraud, with former CEO Kwon at the epicenter. According to on-chain data, In the 3 weeks leading up to the depeg of the TerraUSD (UST) stablecoin, one entity dumped over $450 million of UST on the open market. Four days after the last sale, UST started collapsing. The entity behind the massive dump was none other than Terraform Labs.

← PreviousPage 5 of 29Next →