HNHacker News
TopNewBestAskShowJobs

bla3

2,714 karma · joined October 3, 2018

submissionscomments
bla3··on Modern C++ for C Programmers (2018)
It's called the "short string optimization".
bla3··on The P-versus-NP Page (2016)
It's a joke, not a proof. I thought it was funny.
bla3··on A monorepo misconception – atomic cross-project commits
The advantage of a monorepo in this particular case is that it makes easy things easy: if you want to remove a parameter of a function in some library and that function has just a few callers in dependent executables, you can just do that in a single commit. Without a monorepo, you have to do the full-blown iterative rollout described in the OP even for small changes, if they cross VCS boundaries.
bla3··on The P-versus-NP Page (2016)
> "Proof by contradiction. Assume P=NP. Let y be a proof that P=NP. The proof y can be verified in polynomial time by a competent computer scientist, the existence of which we assert. However, since P=NP, the proof y can be generated in polynomial time by such computer scientists. Since this generation has not yet occurred (despite attempts by such computer scientists to produce a proof), we have a contradiction."

Love this :)

bla3··on Math Problems for children from 5 to 15 (2004) [pdf]
Hint: It's much easier if you don't know linear algebra.
bla3··on Is This Prime?
You must be a macOS or iOS user.
bla3··on France fines Google €500M over copyright row
If the headline being the valuable content is true, it suggests there could be a business that's like a newspaper that only publishes headlines without articles.

I'm not saying this to refute your comment! This might actually be a valid idea.

bla3··on ; DROP TABLE "COMPANIES";-- LTD
Isn't this missing a leading " to terminate the string it's interpolated into?
bla3··on People Staring at Computers
(2012)
bla3··on Risk Assessment of GitHub Copilot
GitHub Excited Intern
bla3··on Death Valley hits 130 degrees, near world record
It's amazing what we can achieve if we set our minds to it!
bla3··on Google Internal Comics
Dude was done with Google at around comic 280 and didn't notice for almost 100 more comics.
bla3··on Sports Owners Use Their Teams to Avoid Millions in Taxes
You can read them as hit pieces, or as investing advice :)
bla3··on Neeva: Ad-free, subscription-based search engine launches
No.
bla3··on Microsoft Teams 2 will use half the memory, dropping Electron for Edge Webview2
Electron and Edge Webview2 are basically the same: they both wrap Chromium in the end, possibly with some downstream changes. So this is primarily a branding exercise, and maybe and admission that Microsoft isn't upstreaming some improvements to Chromium.
bla3··on Ask HN: Words of encouragement for someone lost in life?
All social media, be it Tinder or elsewhere, is people's (possibly exaggerated) highlight reels. Don't compare your day-to-day average to that. The only thing worth comparing yourself is past you, to see if you're moving in the right direction. (But stop doing that once you get older :) )
bla3··on Go 1.17 is deprecating the traditional use of 'go get'
Go spends a lot of effort on making sure the language is backwards compatible. Which is great! Weird they're so nonchalant about tooling changes.
bla3··on Ask HN: How to learn proper systems programming?
There are a few good YouTube channels of strong system programmers doing live coding. Watching videos takes time, but you can pick up lots of techniques, big and small, by watching people work.

Since you're looking at rust, https://www.youtube.com/user/gamozolabs/videos could be a good fit.

bla3··on General Fusion to build demonstration plant in UK
> it's now clearly within reach that graph ends more than 20 years ago and implies that some important threshold should've been crossed 15 years ago. Did that happen?
bla3··on How Notion pulled itself back from the brink of failure (2019)
At least it was founders who benefit from doing this, instead of salaried folks working to enrich their boss.
bla3··on The most copied StackOverflow snippet of all time is flawed (2019)
D'oh, you're right.
bla3··on The most copied StackOverflow snippet of all time is flawed (2019)
This is Java, not JavaScript. The exponents table was likely of integer type. Then it works.
bla3··on The most copied StackOverflow snippet of all time is flawed (2019)
> At the very least, the loop based code could be cleaned up significantly.

Seems like the loop based code wasn't so bad after all...

bla3··on A commencement address by Kurt Vonnegut (1994)
I like Mary Schnich's sunscreen speech mentioned at the start: https://www.chicagotribune.com/columns/chi-schmich-sunscreen...
bla3··on Changes to Chrome OS’s release cycle
> after so, so many years.

The location permissions system preferences behavior changes in more macOS updates than not. The current system hasn't been around for that long.

bla3··on Changes to Chrome OS’s release cycle
"To prepare for the 4-week release cycle starting in M96, we'll move from our current 6-week release cycle to a 10-week release cycle for M95."

Sounds funny, but stuff happens :)

Seems like a good thing to match the chrome cycle.

bla3··on I wrote a linker everyone can understand
Sounds like we'd describe a linker the same way :)

A simple linker doesn't need symbols for a link plan, or even a link plan (assuming you just load all input files and ignore static library indices). It doesn't even need a symbol table, it can do a full scan of all input files every time it needs a symbol during relocation processing. The symbol table is just a performance optimization.

Again, this changes for a real linker with weak symbols, comdats, section gc, etc.

I baselessly claim that a simple linker that doesn't need to read elf can be < 200 lines :) If you want to do elf, I think that becomes difficult.

bla3··on I wrote a linker everyone can understand
I wouldn't lead with symbols in an article focused on understandability.

A linker in first approximation just concatenates files.

In second approximation, it splits every input file into N parts (code and data, basically), then concatenates the corresponding parts in each input file, and writes all concatenated parts ("sections") to the output file.

It needs to fix up references at the end and it needs symbols for that, but that's kind of an implementation detail.

Even diagnosing duplicate symbols is a convenience feature if you look at things this way.

Symbols become more important if you want to write a "real" linker that supports weak symbols and symbols imported from dynamic libraries. But for the understanding the basics, it helps to deemphasize symbols, in my opinion.

bla3··on The Mandelbrot Monk (1999)
Sounds like you learned a valuable lesson about believing things you read on the internet today :)

Taking it down means others won't be able to learn this lesson.

bla3··on Zig 0.8.0 Release Notes
It's the first release by a new release manager as far as I can tell: https://www.phoronix.com/scan.php?page=news_item&px=Tom-Stel...

So hopefully just temporary transition pain while the new manager learns the ropes.

← PreviousPage 8 of 17Next →