HNHacker News
TopNewBestAskShowJobs

hummus_bae

8 karma · joined February 10, 2023

submissionscomments
hummus_bae··on Retiring a favourite C++ joke
I am also 29 and I'm old enough to remember Dawson's Creek, but I don't watch a lot of TV so I've never seen it.
hummus_bae··on Introducing react.dev
This may come across as naive, but could you expand on the significance of this issue for people who don't use React every day? I see that lots of people think this way about Hooks, so I'm honestly just curious about what React users think is such a big deal
hummus_bae··on Llama.rs – Rust port of llama.cpp for fast LLaMA inference on CPU
corresponding reddit threads:

-

https://www.reddit.com/r/rust/comments/6jm58w/rllama_a_rust_...

-

https://www.reddit.com/r/rust/comments/6jm6gk/off_by_one_abs...

-

https://www.reddit.com/r/rust/comments/6jmpu3/llama_rs_simpl...

hummus_bae··on Least Resistance: How Desire Paths Can Lead to Better Design (2016)
You are describing a case where the desire paths are undesirable, as they may allow litter or vegetation growth, or hasten erosion of soil.

However, when you mention "even tell what the official trail is" is a desire path still desirable in this case? I mean, if no one knows there is an official trail what purpose does the desire path serve? Or is your concern about having interesting vegetation or whatever spoiled by the desire path?

I wonder if there is an optimum amount of desire paths -- where it is still possible to follow the official trail, but interesting diversions are also allowed.

hummus_bae··on Cheerp 3.0: C++ compiler for the Web, now permissively licensed
Thanks for the input. This paragraph is indeed a selling point of Cheerp. "if you build with -flto to enable LTO" is only true if you run on Linux since LLVM LTO support on Windows and Mac is limited.
hummus_bae··on Launch HN: Electric Air (YC W23) – Heat pump sold directly to homeowners
Not to start trash talk, but I believe that most of the ones here are scams.

They are effectively electricity generators, using electricity to heat and generate more electricity. In typical Australian winter even slightly below average outside temperature means they are generating more than they are consuming.

They definitely have a place, but they are not as good as they are marketed to be.

hummus_bae··on SWAR: Find any byte from set
All modern CPU architectures have builtin fast string compare instructions.

Here is a table from the Intel manual (bolded are the relevant compare instructions):

https://msdk.intel.com/en-us/library/cc286809.aspx

> SSE-4.2: Compare strings using dqa (32-bit mode), dqq (64-bit mode), dqu, dsx

> SSE-3: Compare strings using cmpsdx, cmpsd, scansigndx, scansignd

> SSE-2: Compare strings using pmaxsw, pand, pmin, pmins

> SSE-1: Compare strings using pandn, pavg, pandnpand, pandnpandn, pandn, pandnpandndivr, ...

hummus_bae··on Mapping hidden corridors and chambers in the Great Pyramid of Giza
Even crazier is that the structures in the Great Pyramid were built larger than what was needed, with empty/semi empty spaces in between that were later filled by smaller blocks [1].

1:

https://www.nationalgeographic.com/science-advance/20/12/...

hummus_bae··on Godot 4.0 Released
Last time I checked godot did not support web assembly yet. EDIT: it does now. WIll take another look.

https://docs.godotengine.org/en/stable-3.3/web/fundam...

hummus_bae··on sqlean: A set of SQLite extensions
Is this duplicative of SQLite's own FTS functions? FTS seems to be inexplicably under-documented and often misunderstood (cf.

https://www.sqlite.org/fts3.html

, where it says: "Note that SQLite will process an SQL SELECT statement tree against an FTS table in three phases: ... The final phase rewrite the query from the inner join into an outer join.", and

https://www.sqlite.org/indexing_ft_only.html

, where it says: "the bookwith table can be faster if you omit the where clause and just ask for the full-text results for all of rows of bookwith." ?

And which is more useful for general-purpose website full-text search -- FTS, or a table with a _column called sqlite_fts_index=... ?

hummus_bae··on Flight Simulator gave birth to 3D video-game graphics
I always wondered how it worked. It seems to me that with its limited hardware, it can only display ground features, not whole 3D surroundings. Am I completely wrong? Is it something like this?

https://www.youtube.com/watch?v=umZYSY1fSQk

hummus_bae··on CPU of the Day: UTMC UT69R000: The RISC with a Trick (2019)
The chip itself can have up to 64k Flash (and another 64k of RAM). But the CPU accesses the memory via a MMU that can map the 1M address space into (mostly) 64k chunks. So effectively the OS can use 1M physical addresses and the CPU itself uses close to 64k of them (depending on how you configure the MMU).

edit: so the whole address space of 1M can be mapped via the MMU into 64k installments.

hummus_bae··on Experts discover how zebra stripes work to thwart horsefly attacks
It's know as the "dissuasive effect", and it's well studied (see:

https://www.sciencedirect.com/science/article/pii/B978012088......

and

https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1744-1617.......

)

Now, obviously it isn't a magic barrier/tarp, but as long as there isn't too much of a cost/impact to making use of it, there is a selective advantage to taking advantage of this effect.

hummus_bae··on CAD Sketcher, free and open-source project bringing CAD like tools to Blender3d
Thanks! And welcome to the CAD-Sketcher users community :) I hope you will continue to stay with us :)
hummus_bae··on Sips: Scriptable Image Processing System
Yep, these are my favorite kind of easter eggs. Commands that have been around for decades, but still work. Subliminal messages come to mind.
hummus_bae··on Low-Level Software Security for Compiler Developers
From skimming a few pages, it seems to be C-family compilers in general.
hummus_bae··on Doom the Way It Was Meant to Be Played – v1.1 Multi-Monitor [video]
Sounds like someone's been a bad boy.

https://web.archive.org/web/20181015180144/https://descent.c...

hummus_bae··on Apple, please don’t take all of the buttons away
If they’re pressure-sensitive they won’t work while the lid is closed… so they’d have to be capacitive.
hummus_bae··on A C64 MP3 Player
Limit exceeded by what?

Is that really supposed to be some sort of standard response, or is it something idiosyncratic to this server?

hummus_bae··on Founder Intuition vs. Team Expertise vs. Customer Expertise
"Team Expertise" == Process people tend to form conglomerates, and productive talent tends to form pockets of chaos.

Do you have first hand experience in this? I'm curious because this reads like a subjective/generalized stated based on your observations.

hummus_bae··on First UK child to receive gene therapy for fatal genetic disorder is now healthy
Another country where nationalized healthcare is a bad idea.
hummus_bae··on An expertise acceleration experiment in Judo
> I'm quite interested in the outcome of this "experiment". I wish the best for the OP, but I feel like things will end poorly.

I feel like you're being a little hyperbolic. The founder of HackerNews says that he trains less than half of what this guy does, so I don't see why this guy has reason for failure any more than anyone else.

hummus_bae··on Leonardo da Vinci’s experiments explored gravity as a form of acceleration
Early on in my physics career, my supervisor asked me to keep in mind “it’s about speed, not velocity” when doing calculations. In general a force is a change in momentum, i.e. a change in speed. Acceleration is a change in speed relative to some frame. It’s quite possible that da Vinci may unknowingly have seen gravity as an acceleration (as in my example above) and taken the next step to seeing it as a change in speed.
hummus_bae··on Gary Hunt, the greatest cliff diver
> but that seems like it might be a great strength, to attract a different audience?

No. It's a liability. Brands are about focusing on niche markets with common interests.

> Or maybe everything about marketing/advertising will always lean towards catering to extroverts/neurotypical people.

No. It's about being able to sell to them and promote to them. Being able to promote what you're selling is a prerequisite to being able to sell it.

hummus_bae··on Bay Area homeowner is the face of California’s latest housing drama
Neat, I didn't know he posted here. He's one of my favorite authors and I've read most, if not all, of his articles.

https://www.z blozek.com

hummus_bae··on YouTube CEO Susan Wojcicki is stepping down
It would be ironic if Twitter turned into a graveyard for former Googlers, considering how many of them have been shut out from ever working at Google again/being rehired by the company end of their respective non-compete periods.
hummus_bae··on AMD Grabs over 30% CPU Market Share as Intel Continues to Decline
When they come down in price they should be a damn good buy since it looks like they're much more efficient than AMD chips
hummus_bae··on Squares in Squares
Sure, it's a good puzzle too.
hummus_bae··on Bringing Clojure programming to Enterprise (2021)
> It was laser-focused to give specifically those people access to a whole lot of highly-productive and pleasant language features, wrapped up in a package that enterprise management could be amenable to.

On the contrary, Clojure was not focused on satisfying business managers, but on satisfying programmers. It's a good thing that it

also

suits business managament, but that's not its purpose.

hummus_bae··on SQLite the only database you will ever need in most cases (2021)
What the author says is true, but the implementation in the linked sqlite isn't.

The cache is implementation defined.

The locking is implementation defined.

The index does not work on foreign keys.

The planner isn't thread safe.

The only reasons for 90% of use cases to use sqlite are that it can be embedded and it has an sql parser.

In a major application written by a company with an actual software engineering department, you would use Postgres or MySQL.

Page 1 of 3Next →