HNHacker News
TopNewBestAskShowJobs

gotaquestion

523 karma · joined February 24, 2022

submissionscomments
gotaquestion··on Free Open Source Tailwind CSS Components
Nope. Some people don't want fuss over UI to the extent that tailwind forces you. Some of us want an opinionated Sass-based framework out of the box. The only advantage I've found using Tailwind is anal-level control over details when bootstrap already has a uniform ecosystem with far, far fewer classes. The former requires way more upfront cost to get running, where the latter is done at day one. Only downside is the tree-shaking in bootstrap, it would be nice if it could be made smaller during a Next/Nuxt/webpack build.
gotaquestion··on C++20 Ranges Algorithms – Non-Modifying Operations
C takes on many dialects based on specialization. Compare code from the following, and you will see a range from trivial to understand to WTF. These are all real-world applications:

- Linux kernel (events) - https://github.com/torvalds/linux/blob/master/kernel/events/...

- Arm CMSIS - (16-bit math) - https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/D...

- Numerical Methods in C - (Jacobian FP) - https://github.com/saulwiggin/Numerical-Recipies-in-C/blob/m...

- GNU 'ls' Command - https://github.com/coreutils/coreutils/blob/master/src/ls.c

- Gstreamer - (De-facto media streaming) - https://github.com/GStreamer/gstreamer/blob/master/gst/gstel...

GStreamer is my favorite because it basically creates VTables like C++ but calls them Klasses (based on Gnome), and it is just a brilliant framework in general, but an utter perversion of C IMHO.

gotaquestion··on C++20 Ranges Algorithms – Non-Modifying Operations
I see a lot of it in the academic AI world, mostly because as students move from Python (study) to real-world deployments, they need to convert to C++ for performance. Hence, over the past decade I've seen C++ start to look more like a transliteration of Python, and be used that way.

The fact that TensorFlow on Python can use GPUs/TPUs is a no-brainer, but that only works in the server center and not in the field.

gotaquestion··on Twitter set to accept Musk's $43B offer – sources
> just rage bait again.

But he IS rage bait. He taunts, mocks, and slimes social media constantly. How could his leadership look any better if he treats it like shit personally?

gotaquestion··on The afterlife of used hotel soap
Thanks!
gotaquestion··on The afterlife of used hotel soap
Why do you assume plastic shavings in your food from cutting boards? I googled around about HDPE cutting boards and only dubious SEO sights mentioned plastic shavings.
gotaquestion··on The afterlife of used hotel soap
Word: don't go to Costco!

You will see hoards of people loading palettes of 1cu. and 0.5L water bottles into their minivans/suvs. It is depressing a/f because my city has fantastic water.

The 1cu bottles are just an insult to everything good in this world.

gotaquestion··on The afterlife of used hotel soap
2M blue whales? Every year? That's crazy.
gotaquestion··on I stopped working on black hole information loss
Yeah, that's a good point. But I always found Vsauce and Ve to be clickbaity, with the former targeted at a more educated audience. But that's my opinion.
gotaquestion··on I stopped working on black hole information loss
Yes, I've watched both of those. Mathologer is in the biz of math, Vsauce is in the biz of ka-ching.
gotaquestion··on I stopped working on black hole information loss
> “let me explain something using terrible metaphors because I fail to understand the math myself”.

Some of these channels have millions of viewers, and the one I think you are referring to has 11M. Remember when the Reimann Zeta function summation of -1/12 was all the rage, or the Banach-Tarsky paradox? Google either of those and there are a dozen YouTube videos for each one. These are post-doctoral topics that become name-dropping buzzwords, I would never claim to understand these, yet people who watched the video do.

Which seems like a lot what the internet has given us: information, not knowledge. To quote a speaker I saw at Siggraph in ~1996, "Information is not power, knowledge is power." This hit home. We've seen it from people reading WebMD in the 2000's and then trying to teach their doctors, to the crazy scientific ignorance about mask mandates today. All because of internet edutainment or in the worst-case misinformation.

Anyway, yes, her article got cynical fast, but I think it was because she bounded with realism because plotted on the arch of technology evolution: it would take thousands of generations (even at an exponential pace) to create tech that can take actual measurements. That seems like good science to me.

gotaquestion··on U.S. interest rates have soared everywhere but savings accounts
Doubling equals soaring in anything related to economics or finance.
gotaquestion··on John Cage Organ Project in Halberstadt
Once again, for those looking down on artists with their keen Vulcan engineer logic brains:

modern art = i could do that + yeah but you didn't

gotaquestion··on The x86 architecture is the weirdo, part 2
First off, most processors are not BE. Arm and X86 are LE and cover "most processors".

Second, processors like the Motorola 68000 were 32-bit, so there was no need to read just the first byte. Refer to my point about instruction fetch. Like I said, if you have an ISA that came from byte-sized opcodes, and then expanded later, you need to fetch bytes first. However, if your opcodes are 32-bit, then the code is bigger. (In the old days, CISC code size was a selling point compared to RISC, this opcode compression was one of the reasons.)

This is what you learn in first-year computer architecture. However the world has changed a lot since the 80's. Single bytes aren't fetched in x86, 256-byte cachelines are, and the decode happens on that.

gotaquestion··on What's new in CPUs since the 80s? (2015)
The section on power really understates the complexity. Throttling didn't appear until the mid-90's as a coarse clock gating chipwide. Voltage/frequency scaling appeared a few years later (gradual P-state transitions). Then power control units monitored key activity signals and could not only scale the voltage, but estimate power and target specific blocks (e.g., turning off L1 D$).

There are some more details in there but that's the main gist. The power control unit is its own operating system!

gotaquestion··on The x86 architecture is the weirdo, part 2
As a former microarchitect, the contortions designs take on is due to a combination of factors, usually stemming from routing/timing problems in the design or backwards compatibility, and every now and then, compiler team requests.

For example, endian-ness looks like weirdness to a programmer, but not to a chip designer that needs to read in lower-order bytes first to decode an instruction quickly. Why not just change the instruction decoder? Because it needs to be backwards compatible to what was once a byte-sized ISA.

But for programmers who don't understand the history, it seems insane.

gotaquestion··on What would open sourcing the Twitter algorithm actually look like?
Great technical article, but why did you feel the need to add speculative ideological polarization too it?

``` Elon’s motivation is clear and consistent with his modus operandi. It’s the same reason he’s working so hard to build a sustainable colony on Mars, why he’s devoted resources to understanding the potential dangers of AI super-intelligence, and why he’s so insistent on combatting climate change. His guiding motivation is to improve humanity’s chances at a positive future. ```

That's certainly one interpretation.

gotaquestion··on Printer Steganography (2018) [pdf]
So would printing every document with a yellow background hide these dots?
gotaquestion··on Guido van Rossum: Let Web3 die in a flaming ball of fire
The reason I didn't try to engage with you is your awful and misinformed reasoning in your original reply, and your post history, which indicates you aren't worth the time. If you had a history of intelligent comments and not trolls, you would be worth engaging with. Maybe clean up your act a little and people will take you more seriously?
gotaquestion··on Guido van Rossum: Let Web3 die in a flaming ball of fire
Thanks for proving my point with perfect irony.
gotaquestion··on Guido van Rossum: Let Web3 die in a flaming ball of fire
> This fundamentally can't be fixed because otherwise you can't have something like a wallet that stores a balance which is assigned to you and only you.

This statement is false. Zcash's shielded transactions hide both the wallet ID and the transaction via zero knowledge proof.

gotaquestion··on Guido van Rossum: Let Web3 die in a flaming ball of fire
Small correction: some cryptos are anonymous, Zcash and monero for example. Bitcoin and ether are not, and once those have been rolled into something like the Winklevoss's Gemini, it is harder to follow them publicly.
gotaquestion··on Guido van Rossum: Let Web3 die in a flaming ball of fire
I find it endlessly amusing that the subset of libertarians who love to berate socialism "as never having worked" by pointing to Bolshevik Russia have limitless patience for the at-scale failures of crypto. Obviously not all libertarians, but quite I large number that I've bickered with on HN/Reddit.
gotaquestion··on Results from first US trial of genetically modified mosquitoes
And you can fix code by recompiling; there's a tabula rasa built into the programming domain that isn't built into real life.
gotaquestion··on Canada bans foreign home buyers for two years
Have you increased your rent prices? Why or why not?
gotaquestion··on BirdNET-Pi: Automated, locally run bird sound identification and tracking
This is so awesome. I tried to write something like this in 2007 (I called it "Tweeter") but the state of embedded hardware for makers back then was a bit more challenging so it was all PC based. I tried simple spectrogram correlation by sliding a window and comparing low-precision spectra, but I don't know enough about DSP so it never worked. Glad to see it is finally a reality.
gotaquestion··on Ask HN: Internet magically gets faster when opening speedtest?
I test my speed by uploading/downloading huge files to my AWS instances. It always matches SpeedTest; I have centurylink fiber, it is >800Mbps up/down.

As others have said, if your destination has a slow connection, you're pretty screwed. Not to mention lots of slow file transfers = more latency impact.

Transferring 1x1GB file vs 1,000x1MB files is a HUGE difference, the latter will take much longer due to the initialization of the transfer. That's why we used to use FTP to transmit files instead of HTTP way back in the dialup days.

gotaquestion··on I Avoid Async/Await
> A lot of the argument appears to be the author extrapolating from his own lack of familiarity to others

This is literally 97.5% of all tech blogs, and a disappointing amount of content on HN front page.

I feel bad for the author. Nothing like asserting your ignorance on a blog. There's a time and a place for literally every language construct.

gotaquestion··on When hiring developers, have the candidate read existing code
This is a clever idea. First, every team has tons of code that a new-hire would see on day one. Might as well see how they perform! Second, this truly is an important skill. I've read hundreds of libraries, if not thousands, and being able to accept not just a coding style, but a thought style, and internalize it is essential. Yeah, the more I think about this, the more I wish I had thought of it when I was hiring!

I'm kinda jealous, I'd love to do code interviews again, but I haven't been a junior dev in ... /* checks notes / ... over three decades?!? cries in yaml*

gotaquestion··on Ten members of international stock manipulation ring charged in Manhattan
"I'll give you $100 if you punch the polar bear."

Sounds like a story for a sequel to "Liar's Poker"!

← PreviousPage 2 of 6Next →