HNHacker News
TopNewBestAskShowJobs

fengb

123 karma · joined January 28, 2013

submissionscomments
fengb··on Sega Saturn Architecture – A practical analysis (2021)
In retrospect, it makes a lot of sense. Genesis was huge in NA/Europe, but it was considered somewhat of a failure in Japan.

Sega has always floundered with its home consoles — they released 3 competitors to the NES after all. Genesis ended up being more of a one-trick pony than any indication of longterm success.

fengb··on Inflation rose 9.1% in June, even more than expected
2010: All this pump is fake. Sell!

2014: All this pump is fake. Sell!

2018: All this pump is fake. Sell!

2022: All this pump is fake. Sell! See, you can time the market.

fengb··on Chicago startup companies to watch in 2022
Mostly anecdotal opinion as a Chicagoan —

Our tech scene has been largely driven by fintech and a few unicorns. And our unicorns tend to be much more bust than boom — Groupon being the highest profile one. Not sure if it's correlation or causation, but VC investment tends to be more conservative, and the ones I do hear about are mostly fintech.

On top of which, Chicago wasn't all that tech friendly. Pay has been rather stagnant, and promotions above senior engineer didn't exist before Covid/remote stretched everything out. The exception to comp has been prop trading firms, which make oodles of money but... trader culture dominates over eng.

fengb··on Statement Regarding the Zen Programming Language
How would GPL help? It doesn't stop hostile forks.

Pretty sure the ask isn't the Zen source.

fengb··on Thinking in React Hooks
Lifecycles map closer to how the underlying UI layer works, but not to developer expectations. I've lost countless hours to desynced implementations such as failing to account for componentDidUpdate when overriding componentDidMount or missing a corresponding componentWillUnmount cleanup.
fengb··on Game Boy Advance “Hello World” Using Zig
The Zig language doesn't need libc, but because it also includes a fully functional C compiler, it ships with musl source and glibc headers for better crossplatform support.
fengb··on It's 2019, but It Sure Feels a Lot Like 1998 for Stocks
WeWork would like a chat.
fengb··on Zig 0.5.0 Release Notes
There's a task to rename UB to illegal behavior: https://github.com/ziglang/zig/issues/2402

As well as some followups to see if Zig can detect all of these errors: * https://github.com/ziglang/zig/issues/1966 * https://github.com/ziglang/zig/issues/2301

fengb··on Why Are So Many Developers Hating on Object-Oriented Programming?
Is he seriously using Javascript as an example of non-OOP language?
fengb··on Rechargeable vs. Alkaline Batteries
Li-ion cells provides 3.6V, which makes them incompatible with traditional alkaline or NiMH. I don't think we've invented a standard for Li-ion batteries yet.
fengb··on So you think you know C? (2016)
Most compilers for 8-bit and 16-bit CPUs, e.g. Z80 or 80286.
fengb··on Absolute truths I unlearned as junior developer
A corollary to this is: the code should match the problem domain.

If the business problem is complicated, trying to further simplify the code usually makes it awkwardly abstracted and extra brittle. The fix should not be _just_ cleaning up the code, but rather trying to resolve the original usecase.

fengb··on Tetris clone written in Zig running on WebGL and WebAssembly
Zig has wasm as a built-in compile target — derived from LLVM 8 so Clang has the same functionality. The link to Dom/OpenGL is still a manual process but there’s some efforts generating the necessary JavaScript helpers.
fengb··on Tesla Posts Big Quarterly Loss as Its Electric-Car Sales Lag
Much worse than that: their (pre-market) valuation is 44B and takeovers require shareholder agreement, usually at least 20% premium to the market — I'd wager the ask price would be a lot more but let's be conservative... 53B buys you a 9B debt.
fengb··on Its butterfly keyboard design has failed, but Apple has yet to admit its mistake
https://github.com/niw/HapticKey
fengb··on $35,000 Tesla Model 3 Available Now
Funnily enough, the listed MSRP usually much higher than actual dealership price.
fengb··on International System of Units overhauled in historic vote
Mole was just redefined as exactly 6.02214076e23 — the number of Si-28 atoms in a perfect 1 kg sphere. This was an intentionally check against the kibble balance measurement.

More info from an older Veritasium video: https://www.youtube.com/watch?v=ZMByI4s-D-Y

fengb··on Um – Create your own man pages so you can remember how to do stuff
tar actually makes sense with a little mnemonic:

  tar xzf $file
  - xtract
  - ze (actually gzip but fake-accent "the" is more memorable)
  - file
fengb··on Droppers Is How Android Malware Keeps Sneaking into the Play Store
There’s an OS reason: the only way to detect if there’s an incoming or ongoing phone cal is by having full phone permissions.
fengb··on Dash for iOS: Back on the App Store
Pretty strong refutation to his version: https://forums.macrumors.com/threads/apple-says-1-000-fraudu...
fengb··on The Idle Army: America’s Unworking Men
Stay-at-home dads explains 2 million of this article's main statistic. So even if the remaining 5 million of the "needs work", the employment number is closer to 89%.

Edit: there's a reason economists usually use "looking for work" for unemployment numbers: it's really hard to gauge why people don't look for work.

fengb··on Semicolons matter
Just concat using a semicolon instead of just a new line.
fengb··on The AT&T Next Hustle
Monthly cost is $21.67 under Next 24.
fengb··on The AT&T Next Hustle
If you pay off the entire amount, you keep the device. If you upgrade before the contract ends, you have the option of paying off the remaining amount and keeping it (or returning it).

It's most likely a terrible idea to return the device instead of paying off and selling it, and AT&T probably makes free money from that, but the rest of the plan is pretty reasonable.

fengb··on The AT&T Next Hustle
I'll never understand how Next disparagers get their numbers. The screenshot [1] clearly shows $21.67 per month for 30 months ($650.10).

Next is effectively 0% installment loan for buying a new device with the (admittedly terrible) option of terminating the contract and returning the device for a new Next contract.

[1] http://i1.wp.com/don.citarella.net/wp-content/uploads/2015/0...

fengb··on Croatia just canceled the debts of its poorest citizens
The homebuyer can simply buy a smaller home and extract the difference between paying mortgage and renting.
fengb··on What Happened When Marissa Mayer Tried to Be Steve Jobs
How is Yahoo doing better? Mayer has definitely changed a lot, but I'd argue that much of it is for the worse.

Her most prominent changes, stack ranking and acqui-hires, are pretty bad in general (inciting cutthroat competition and burning cash for disloyal employees).

fengb··on Why Python 4.0 won’t be like Python 3.0
https://mail.python.org/pipermail/python-ideas/2011-Septembe...
fengb··on Why Semantic Versioning Isn't
I've always thought of semver as documenting common sense: fix bugs often, add features when possible, and don't break the public API unless you have to.

If all projects strictly followed semver, we wouldn't have this debate. But it's not semver's fault that some developers ignore common sense.