HNHacker News
TopNewBestAskShowJobs

lanza

513 karma · joined June 4, 2020

submissionscomments
lanza··on How France Changed the Tides of the American Revolution (2018)
You spend way too much time on the internet.
lanza··on Extremely Linear Git History
Quite the opposite. The largest companies just about all use linear commit histories.
lanza··on Extremely Linear Git History
I think the fundamental misunderstanding people with your point of view have regarding linear commit histories is that it's not just about different VCS usage, the entire development process is changed.

When you are using linear histories and rebasing you don't do monolithic feature branches. You land smaller chunks and gate their functionality via some configuration variable. `if (useNewPath) { newPath(); } else { oldPath(); }` and all your new incremental features land in `newPath`. All tests pass on both code paths and nothing breaks. When the feature is fully done then you change the default configuration to move to the `newPath`.

> How are you going to deal with non-trivial feature branches that need to be integrated into master?

That's the point -- this isn't a thing in rebase workflows. That's a feature. You don't have to deal with megapatches for massive features. It's incrementally verified along the way and bisect works flawlessly.

lanza··on VSCode-Neovim: Use embedded Neovim in VSCode without emulation
It's not just installing plugins. It's the VCS view, the symbol list, the terminal, the file browser, the search pane, the debugger pane, any pane added by any extension, etc.
lanza··on Data salaries at FAANG companies in 2022
I don't see how ignoring the majority of a persons income is more reasonable than estimating based on reasonable extrapolations.

Not to mention that the article literally says "work for Netflix, get rich" based entirely on the fact that they are ignoring non-salary compesation. It's an outright idiotic conclusion to be drawn.

lanza··on Apple Privacy Rules to Blame for Facebook's Lower Than Expected Quarterly Growth
lol Apple knew damn well what would happen. They are a business. This was a good business move for them. Being able to advertise it as privacy just boosted it to a fantastic business move.
lanza··on What Facebook knew about how it radicalized users
Media companies who make their revenue on advertisements have a business interest to attack their biggest competitor. Fair criticism or not, the continued push against Facebook just feels like desperate hope for news outlets to gain some ground against tech giants.
lanza··on Apple M1 Max Geekbench Score
Yea I agree. Implicit in my statement is `for the people in the market Apple is targeting`. You aren't going to buy a $4000 computer and you'll be happy with a clunker. I, and many people in my situation, don't feel there are options for $4000 laptops right now.
lanza··on Apple M1 Max Geekbench Score
You're missing out on the fact that Apple didn't release a 12980hk or 5980hx competitor. These are 30 watt chips that trounce the competition's 65 watt (e.g. the 12980hk and 5980hx) and beyond chips.

Hell, this Geekbench is faster than a desktop 125 watt 11900k. It's faster than a desktop 105 watt 5800x.

Apple intentionally played to the competition here. They know AMD/Intel reach some performance level X and released CPUs that perform no greater than X * 1.2. They know they are in the lead since they are paying TSMC for first dibs on 5nm, but they didn't blow their load on their first generation products.

Intel will release Alder Lake and catch up, AMD will reach Zen4 and catch up and Apple will just reach into their pocket and pull out a "oh here's a 45 watt 4nm CPU with two years of microarch upgrades" and the 2022 MBP 16 will have Geekbench scores of ~2200 and ~17000.

There's a de facto industry leader in process technology today -- TSMC. Apple is the only one willing to pay the premium. They also have a much newer microarch design (circa 2006ish) vs AMD and Intel's early 90s designs. That's a 10-20% advantage (very rough ballpark estimate). The also are on arm which is another 10-20% advantage for the frontend.

The big deal here is that this isn't going to change until Intel's process technology catches up. And, hell, I bet at that point Apple will be willing to pay enough to take first dibs there as well.

AMD will never catch up since we know they don't care to compete against Apple laptops and thus won't pay the premium for TSMC's latest art. Intel might not even care enough and let Apple have mobile/laptop market first dibs on their latest node if Apple is willing not to touch the server market. Whether or not they'd agree on the workstation MacPro vs 2 slot Xeon workstation market would be interesting.

It might be a long time before it makes sense to buy a non-Apple laptop.

lanza··on Facebook bans, sends C&D letter to developer of Unfollow Everything extension
Ditto. Issues like Facebook's role in society are nowhere near as simple as reddit and twitter make them out to be. Posts this naive and simplistic being upvoted is kinda ominous for the future of HN.
lanza··on Employees given three months to return to Facebook office
This isn't new. This is clickbait. This announcement was made months ago but they reposted it today to get people to react the way you reacted.
lanza··on Improving GDB register model compatibility in LLDB
Being unfamiliar with a tool doesn't make it awkward.
lanza··on How iOS 15 makes apps launch faster
This would only support optimizing for different architectures. Your code is already compiled from Swift -> IR and thus these features would not be part of the IR.
lanza··on Clang-11.0.0 Miscompiled SQLite
llvm has a very thorough test suite and it's main test suite is exactly for this purpose. The error witnessed here by sqlite will be turned into a test case that takes the C code and compiles it and hand checks whether the output was miscompiled or not.

Here's a test from 2007 that tests a similar error in the instruction selector:

https://github.com/llvm-project/llvm/blob/master/test/CodeGe...

Evidently the error that caused this test to be rewritten reordered the `ret` instruction before the `mov $1, $eax` instruction that sets the return value. This tests assures that the bug will never happen again.

← PreviousPage 4 of 4