HNHacker News
TopNewBestAskShowJobs

bruce343434

2,370 karma · joined April 11, 2021

for inquiries: tu8s1wx1y@mozmail.com
submissionscomments
bruce343434··on When can the C++ compiler devirtualize a call?
Are C++ concepts not enough?
bruce343434··on Ask HN: Can you tell the difference between Claude Sonnet and Opus?
You wouldn't have spent that time with loved ones, you would have been doing other tasks. Just like now, we no longer need to wait for programs to be submitted compiled and ran on the mainframe, we don't get that time for ourselves.
bruce343434··on Reflections on 30 years of HPC programming
What does it mean to be friendly to memory bandwidth, and why does C++ excel at it, over, say, Fortran or C or Rust?
bruce343434··on Taking on CUDA with ROCm: 'One Step After Another'
In my experience fiddling with compute shaders a long time ago, cuda and rocm and opencv are way too much hassle to set up. Usually it takes a few hours to get the toolkits and SDK up and running that is, if you CAN get it up and running. The dependencies are way too big as well, cuda is 11gb??? Either way, just use Vulkan. Vulkan "just works" and doesn't lock you into Nvidia/amd.
bruce343434··on Banned in California
Assemble a navy in space then just airdrop it through the atmosphere?
bruce343434··on The Missing Semester of Your CS Education – Revised for 2026
Is a moral compass something you can teach someone in a short course if they have been lacking it so far in their entire lives?
bruce343434··on Index, Count, Offset, Size
You say "seems like", can you argue/show/prove this?
bruce343434··on Infrastructure decisions I endorse or regret after 4 years at a startup (2024)
As a developer who spent a couple months developing a microservice using aws lambda functions:

it SUCKS. There's no interactive debugging. Deploy for a minute or 5 depending on the changes, then trigger the lambda, wait another 5 minutes for all the logs to show up. Then proceed with printf/stack trace debugging.

For reasons that I forgot, locally running the lambda code on my dev box was not applicable. Locally deploying the cloud environment neither.

I wasn't around for the era but I imagine it's like working on an ancient mainframe with long compile times and a very slow printer.

bruce343434··on Ask HN: What's the best realtime, local, TTS solution? Live call interpretation
https://alphacephei.com/vosk/install

> We also provide a websocket server and grpc server which can be used in telephony and other applications. With bigger models adapted for 8khz audio it provides more accuracy.

bruce343434··on An AI agent published a hit piece on me
Quiet chaos.
bruce343434··on How not to securely erase a NVME drive (2022)
What's wrong with the LUKS password protection?
bruce343434··on 1 kilobyte is precisely 1000 bytes?
What are the odds of Charlie meeting Bob and Alice?
bruce343434··on From Tobacco to Ultraprocessed Food: How Industry Fuels Preventable Disease
Because lots of people use it a lot, they subconsciously pick up on the language that surrounds them I.e. ai language
bruce343434··on ASML staffing changes could result in a net reduction of around 1700 positions
> If the value of your shares goes up, you don't get taxed that year. Instead, you get taxed whenever you sell, which might be later when you retire and are in a lower tax bracket, or after a period of some years when you get a lower capital gains tax rate.

This is actually not true in the Netherlands, which taxes unrealized gains on wealth. Quite unique. But NL also features a dividend tax, which politicians tried to get rid off but didn't succeed because it was such an unpopular plan.

bruce343434··on Alarm overload is undermining safety at sea as crews face thousands of alerts
This is why compilers for e.g. c++ should just halt after the first error, instead of spewing pages of template failures because of a typo elsewhere
bruce343434··on BirdyChat becomes first European chat app that is interoperable with WhatsApp
From this it seems that whatsapp interop requires you to pass a url of the media, not the actual encrypted media. Aside from TLS, I'm not sure what encryption you get for attachments

https://engineering.fb.com/2024/03/06/security/whatsapp-mess...

bruce343434··on BirdyChat becomes first European chat app that is interoperable with WhatsApp
Never heard of this before. Why would I use this? I am assuming the messages are not actually encrypted, because on their own privacy page they state that they "process" messages and attachments sent through birdychat. So are they processing the raw unencrypted data on their servers or what?

From a cursory glance of their CSAE policy, combined with the above, it seems they would be very eager to comply with the dreaded "chat control".

https://www.birdy.chat/privacy

bruce343434··on Scientists discover oldest poison, on 60k-year-old arrows
In NL, just 'gif' is sufficient
bruce343434··on Repair a ship’s hull still in the river in -50˚C (2022)
As the ice expands, I think the ship gets lifted upwards slightly. Water freezing and expanding in pipes and enclosed spaces is the real problem. There's several ways to cool a ship engine, I suspect these all use a system where the "radiator" is a hull feature where anti-freeze engine coolant goes through exposed veins in a closed loop to exchange heat with the cold water under.
bruce343434··on 30 years of <br> tags
I get that, but your initial comment implied you were about to showcase a counter to "Hundreds of lines just to grab a query parameter from a URL", but instead you showed "Poorly and incompletely parsing a single parameter can be done in less than 100 lines".

You said you allocated 5 minutes max to this snippet, well in php this would be 5 seconds and 1 line. And it would be a proper solution.

    $name = $_GET['name'] ?? SOME_DEFAULT;
bruce343434··on HTML as an Accessible Format for Papers (2023)
Arabic ligatures? Do you mean the unicode point for the basmala for instance? That's pretty "hardcoded", I think math requires more composability
bruce343434··on You can't fool the optimizer
Sadly most C++ projects are organized in a way that hampers static functions. To achieve incremental builds, stuff is split into separate source files that are compiled and optimized separately, and only at the final step linked, which requires symbols of course.

I get it though, because carefully structuring your #includes to get a single translation unit is messy, and compile times get too long.

bruce343434··on New gel restores dental enamel and could revolutionise tooth repair
I have replaced my sensodyne with mirasensitive hap+. It is more expensive, even more so than sensodyne. However it has helped incredibly with my exposed roots which used to be very sensitive. Now they are less sensitive than they used to be with sensodyne. I can swish cold water and eat sour foods again.

My current routine is roughly brush_teeth(toothpaste={mirasensitive, random_cheap_toothpaste}[day%2]) as you don't need to apply HAP every single day.

I find that I still have to be careful eating apples and lemons straight up. To protect myself I thoroughly swish and rinse water a few times shortly after consuming these fruits. If I don't do that, my teeth get extremely sensitive and it takes a few days for the hap to repair it again.

bruce343434··on Frozen String Literals: Past, Present, Future?
Maybe I'm missing something, but I thought that when you "grow" an array or a string, eventually something under the hood needs to call realloc()? which allocates a bigger chunk of memory and copies the content O(n)? Why would it matter if you manually do alloc() and then memcpy() (replacing an immutable string with its concatenation) vs letting the runtime do it for you with realloc()?
bruce343434··on Learning to read Arthur Whitney's C to become smart (2024)
Interesting, I haven't. Is it hyperbole? Or are you underestimating it? The heart of a car is the engine, but just the engine alone doesn't get you anywhere...
bruce343434··on Learning to read Arthur Whitney's C to become smart (2024)
When you zoom out on Google maps, usually the street names and bussiness pins disappear. This code style is like having a fully informationally dense zoomed out map. Being too zoomed in is definitely frustrating, and reminds me of early attempts at "mobile" web pages. But I'm not sure that this condensed code style is a good general solution either, it certainly seems overwhelming, like a where's waldo puzzle.

I prefer having a consistent information density regardless of zoom level. When I would like to see more details, I would like to achieve that by zooming in. When I want the overview, I'd prefer to zoom out and have certain details omitted from the map.

Having a clear and by-convention code organization is one way to achieve this. Then to drill into the details, just navigate the project directory to the right file.

For rabbit Hole style hunting, following references/symbol usage/definition is ideal, which is enabled by modern IDEs.

K and family are made for data analysis. Data analyses are relatively simple software projects that don't have a very wide scope. I think this dense style of programming falls apart when you consider the breadth of requirements of typical modern application software.

bruce343434··on Learning to read Arthur Whitney's C to become smart (2024)
What about `grep -R .`?
bruce343434··on GLP-1 therapeutics: Their emerging role in alcohol and substance use disorders
In other words, gathering your own anecdote, compounding that with other anecdotes through biased sampling (which kind of person will feel more motivated to share their anecdote on it? And which and anecdotes do you reject because they just didn't try hard enough?) and then projecting that onto every other human being and assuming they must experience the same thing you do.
bruce343434··on JMAP for Calendars, Contacts and Files Now in Stalwart
Did you use the documentation to figure out the proxying? I can't see a clear path of how to reconcile giving the responsibility of certs to another software, but still having stalwart use them for imap and smtp tls. And do you have the stalwart web interface running on www.yourdomain, or did you manage to get it working on a different subdomain? I don't see the config syntax in the docs for changing that
bruce343434··on JMAP for Calendars, Contacts and Files Now in Stalwart
I tried to set up stalwart, but I didn't understand exactly what it wanted me to do. It's a webserver (for webmail and admin) and mail server in one, but I already run a webserver and I already have cert infra. So I couldn't figure out what dns settings to use and what ports to reverse proxy. And how to get it to play nice and share the certificate. Seems like stalwart has been designed as if it is the only thing running on a machine, with sparse documentation for any other setup. I tried getting help on the discord server but the tone seemed to be of a sort of "it's quite obvious, you should already know this". At that point, it's so much friction to reverse engineer it that it might just be easier to set up dovecot and postfix.
← PreviousPage 2 of 34Next →