HNHacker News
TopNewBestAskShowJobs

DanielHB

3,026 karma · joined June 10, 2021

submissionscomments
DanielHB··on Steam Machine launches today
How much do you rely on Steam hardware survey? I am doing my part reporting my Linux usage.
DanielHB··on Steam Machine launches today
I think the steam machine is more important as a benchmark for 3rd parties developing their own Steam OS based systems. Although I am sure Valve would be happier if it was popular on its own merits too.
DanielHB··on Excessive nil pointer checks in Go
In a previous job our unhinged devs decided that optionality was defined by golangs default value for primitives (empty string, 0, false, etc) simply because they didn't want to put pointers everywhere.

So the JSON APIs would accept nulls or absent keys when sending data to the API. But when retrieving it we would get golang default values for those keys. And, of course, the backend code was full of == 0, == "", == false...

DanielHB··on Prefer duplication over the wrong abstraction (2016)
Only MY code is allowed to be clever.
DanielHB··on CSSQuake
Yeah I didn't have a 3dfx so I assumed the software renderer required a more powerful CPU
DanielHB··on CSSQuake
Wait, did Quack run on Pentium-133? I had a Pentium MMX 233mhz and I always assumed it didn't ran well so I never bother to get it.
DanielHB··on DuckDB Internals: Why Is DuckDB Fast? (Part 1)
In my previous job (working with electric vehicles) we had a AWS batch job that pulled all data from S3[1] into containers (one container per vehicle) and then push that data into duckdb then run some basic queries and data analysis.

The key thing is that this scaled horizontally pretty much forever, since each vehicle had a fixed amount of data per year we could tightly control the performance characteristics of the analysis. Adding more vehicles didn't make things slower, just linearly more expensive.

I vaguely remember the data from those containers also being used to process some aggregate analysis (like the each vehicle-container would output some data that would be consumed by another job that did aggregates). But I don't remember the specifics.

[1]: I believe we used JSONL or parquet format, but I didn't work in that part of the stack directly

DanielHB··on AMD silently removes memory encryption from consumer Ryzen CPUs
Reminds me of that Seinfeld episode where George tries to move a Frogger arcade machine without powering it off in order to not lose his high score leaderboard.

https://youtu.be/5etwHVarNgI?t=256

DanielHB··on Has AI already killed self-help nonfiction books?
It is the same thing with documentaries.

Youtube killed them because it is just a faster delivery of knowledge and information. For super-specific questions chatbots are even faster.

DanielHB··on SpaceX Is Buying Cursor
The limits are when companies and institutions start to default on their loans. Or, in the case of governments, trigger hyperinflation by printing money to pay off the debt.

Of course it can collapse before that, but if it gets to that point it is guaranteed to collapse.

DanielHB··on Ported my C game to WASM, here's every bug that I hit
If you modify or even just move fields around the struct that also changes the way they are serialized...

You really need a serializer for this sort of thing because it can also include forwards compatibility of your data structures.

DanielHB··on What the Fuck Happened to Nerds
Applying the principles of keeping your identity small also makes you more open to ideas from other people.

This kind of self-reflection about identity is also very important for your own internal communication with yourself.

DanielHB··on US and Iran reach cease fire agreement
More stable than outright civil war.
DanielHB··on What happened to nerds?
I am surprised you haven't read it before, because when I read your comment I immediately remembered that essay haha.

For conscious bias a good test is if being exposed to new facts prevent you from changing your opinion on something.

For example, imagine I was a very big believer of full-blown libertarianism and I was exposed to very concrete evidence that say, for example, government run healthcare is both more efficient and cheaper than private healthcare[1]. Would I still be full-blown libertarian and try to put holes on the data or would I embrace that libertarianism doesn't bring good outcomes in healthcare[2]?

Unconscious bias is much harder though, in fact libertarians tend to be very much fueled by ideology than facts. One could say that unconscious bias is fundamentally the same thing as ideology.

Another example, like I mentioned before I am very much a pro human rights ideologist. So I am inherently against some things like eugenics, even though one could provide data to me saying that eugenics would lead to "better" outcomes in society I would still be against it on principle.

[1]: Personally I sympathize with most libertarian views, but I don't consider myself a libertarian. I don't think a full private healthcare system is good for example. And this is the core issue the essay brings out, being a libertarian is assuming an identity and it closes you off to new ideas.

[2]: it is very hard to have absolute evidence to anything, but one must be willing to look over their own pre-existing world view when analyzing information available. A certain level of suspicion of information is warranted, but if you can't get past that, your world view is essentially ideology.

DanielHB··on What happened to nerds?
I don't agree with Paul Graham on everything but he nailed this argument:

https://www.paulgraham.com/identity.html

> If people can't think clearly about anything that has become part of their identity, then all other things being equal, the best plan is to let as few things into your identity as possible.

Of course one can't not have any identity whatsoever, afterall ethics is a type of identity and no one should in their right frame of mind contest basic things like human rights.

DanielHB··on US and Iran reach cease fire agreement
I talked to a Lebanese born person once and apparently they have a parlament with reserved seats for each major religious group.

Apparently that was the only way they managed to keep the country stable. But it is baffling to have religion so entrenched on the constitution.

DanielHB··on If you are asking for human attention, demonstrate human effort
I think the point is that automatically-generated documents by LLM is lower quality the manually-generated ones or at least guaranteed lower quality than automatically-generated + manually-reviewed.

Therefor if you are not putting human effort on the document it is low-value.

We have seen this before when big data started to be a thing, tons and tons of reports being auto-produced weekly (or even daily), but even if they contain relevant information they are low-value because no one can take action on so much information.

DanielHB··on AI agent bankrupted their operator while trying to scan DN42
If you look into large fully-vibecoded projects getting styling changes to work is a nightmare. The problem with agents is using them on large projects without manual review for consistency, guidelines and taste. Doesn't really matter the type of project.

Agents can't look at a large system holistically, guidelines on .md files only go so far.

DanielHB··on The Road to the WASM Component Model 1.0
WASM sandbox is miles better than the JVM

WASI is a standard on where to poke holes on the sandbox for your specific use-case

WASM+WASI as a compilation target allows any program written for modern operating systems to work on any WASM runtime

DanielHB··on Web Browsers on Video Game Consoles
PS5 supports keyboard and mouse, there is no reason why it can't be a browserbox...
DanielHB··on Raspberry Pi 5 – 16GB RAM
Raspberry Compute Module (basically a normal raspberry without built-in I/O) is widely used in the industry at large. What they are not meant to be is the lowest cost per CPU/GPU flops so they are mostly used in high-value-add / low-volume / gen-1 products.

https://www.raspberrypi.com/products/compute-module-5/?varia...

I personally worked on a system with raspberry compute modules 3 and 4, the total system cost was in the ~million dollar range. This was definitely a commercial product with dozens of engineers doing R&D, not a hobby project.

We were looking into smaller systems with lower profit margins (~20k USD) and for those we were considering moving away from raspberry CMs because of cost.

The main advantage of the raspberry CM ecosystem is just how widely popular it is and how cheap and available "dev boards" are (just grab a non-CM raspberry and it is almost the same thing). Most of these types of systems don't really have the I/O that makes testing and developing a lot easier.

Being popular is quite important because firmware issues are notoriously expensive to troubleshoot and fix often requiring the manufacturer help. Said manufacturer does not give a damn if you are a low-volume customer. More popular systems have more information available online and are less likely to have bugs (or at least the bugs are known).

I remember one of our other systems bluetooth module had a weird edgecase bug that caused the module to shutdown after several days of it being powered on. It took multiple engineers >1month of work to basically go "yep nothing we can do about this and manufacturer is not helping"

I know they are being used in Ukranian drones and some police-car systems in some cities (although this was hearsay from a coworker and I don't remember the city). But those are just the examples I heard of.

DanielHB··on The Road to the WASM Component Model 1.0
The ABI stuff is huge, we might be heading (at least in the WASM world) to a place where non-C libraries are not locked to certain dev ecosystems. On top of not having to deal with C linking madness.
DanielHB··on The Road to the WASM Component Model 1.0
sorry I meant "most excited about", WASI and components should be useful for the usecases I mentioned too.

For example a SaaS services that accepts WASM plugins could provide a WASI that lets the plugin write to a object-store filesystem (like AWS S3) provided by the SaaS owner.

DanielHB··on The Road to the WASM Component Model 1.0
Use cases I am more excited about:

1) Replace webhooks in web apps with wasm binaries provided by the customer, but that run in the web app servers.

2) Safer plugin system for professional software (plugins for photoshop, plugins for IDEs, etc)

3) Safer mod system for games and server-side mods that run on the game-maker server.

DanielHB··on Port React Compiler to Rust
I was thinking mainly cases like this

const nestedDependency = { a: { b: { c: 'c' } } }

useMemo(() => nestedDependency.a.b.c, [nestedDependency])

vs

useMemo(() => nestedDependency.a.b.c, [nestedDependency.a.b.c])

neither triggers react hook lint warnings, although I guess this is more relevant to useEffect than memoization.

DanielHB··on CEOs who think AI replaces their employees are just bad CEOs
I work on a 10+ year old codebase, there are some weeks I barely change any code.

Sometimes it takes hours of discussion and tracking down decision-makers just to figure out what the intended behavior is.

DanielHB··on Port React Compiler to Rust
I haven't tried the compiler yet, but I been very skeptical of the automatic memoization features. Both in that sometimes the default strategy to decide when to memoize is not good enough but also the hidden flow to trigger the memoization causing hard to spot performance regressions.

I would be interest to hear how it worked out for you.

DanielHB··on xAI is looking more like a datacentre REIT than a frontier lab
I have been hearing that memory suppliers are _intentionally_ not scaling up new factories like crazy because they assume the demand won't be there on the long term and they don't want to have spare unused capacity. Probably because Samsung and SK have a near duopoly on it as well...

At some point the market will be saturated with supply and prices will come down for older gen hardware. It can take years though, but it happened to fiber cable and fiber doesn't even depreciate like chips.

DanielHB··on Life is too short for a slow terminal
Am I the weird one? I usually have 3/4 terminals open at a time and rarely open new ones. Terminal startup speed is a non-issue for me.

The only thing I demand to be fast on my terminal is grep reverse search (ctrl+r) and of course typing a character. But if your terminal can't keep up with your typing speed there is something deeply wrong with it.

DanielHB··on Major P2P issues in Israel and possibly other Middle East countries
The number of developers needs to grow log(n) to the number of users to handle all error reports. Valve is way under the log(n) of user.
← PreviousPage 7 of 34Next →