HNHacker News
TopNewBestAskShowJobs

warmwaffles

550 karma · joined December 12, 2010

I maintain - https://github.com/elixir-sqlite/exqlite - https://github.com/elixir-sqlite/ecto_sqlite3
submissionscomments
warmwaffles··on Brent's Encapsulated C Programming Rules (2020)
The way I've implemented it now was indeed to track the size in a small header above the allocation, but this was only present in debug mode. I only deal with simple allocators like a linear, pool, and normal heap allocator. I haven't found the need for something super complex yet.
warmwaffles··on Brent's Encapsulated C Programming Rules (2020)
Curious about the allocator, why pass a size when freeing?
warmwaffles··on The RAM shortage comes for us all
A man can dream of no waste!
warmwaffles··on The RAM shortage comes for us all
Not with that attitude.
warmwaffles··on Zig's new plan for asynchronous programs
I've watched many changes over time where the non async function uses an async call, then the function eventually becomes marked as async. Once majority of functions get marked as async, what was the point of that boilerplate?
warmwaffles··on Zig's new plan for asynchronous programs
Async usually ends up being a coloring function that knows no bounds once it is used.
warmwaffles··on Backblaze Drive Stats for Q3 2025
I'm mainly looking at manufacturer and model failure rates in aggregate over a period of time like 6 months to determine my next purchases. As you pointed out SKUs with the lowest get slurped up and you always run the risk of bad batches.
warmwaffles··on The last-ever penny will be minted today in Philadelphia
That's because the law requires them to charge that extra 9/10. It's silly.
warmwaffles··on FFmpeg to Google: Fund us or stop sending bugs
And that's a problem?
warmwaffles··on FFmpeg to Google: Fund us or stop sending bugs
Just mark CVEs as bugs and get to them when you can. In this case, if Google doesn't like it, then so be it. It'll get fixed eventually. Don't like how long it takes? Pay someone to contribute back. Until then, hurry up and wait.
warmwaffles··on A Fond Farewell
It's world wide, not just the US.
warmwaffles··on John Carmack on mutable variables
This shouldn't be a hard and fast rule for everything. Be treated as guidelines and allow the programmer some wiggle room to reuse variables in situations that make sense.
warmwaffles··on From VS Code to Helix
I was on sublime text for the last 12 years. I made the switch to helix and although I missed some features, it's been a great change. I never could get into the vim bindings, but helix's defaults are great and I don't need to go plugin hunting in order to make the editor functional.

There's missing features I really want, but they'll be added eventually. Git blame in line, some scripting support, better find-replace across a project and not just the opened buffers.

Just give it a try for a week or two straight. No using your other editors. Cold turkey. You'll be surprised at how quickly you'll relearn. It took me about three weeks using it full time to get decent. The first day or so were brutal.

warmwaffles··on We need a clearer framework for AI-assisted contributions to open source
Mailing lists are used as a filter to raise the barrier to entry to prevent people from contributing code that they have no intention of maintaining and leaving that to the project owners. Github for better or worse has made the barrier to entry much much lower and significantly easier for people to propose changes and then disappear.
warmwaffles··on Notes on switching to Helix from Vim
Not yet. PR is still open and waiting for someone from the team to review. I suspect this won't be an easy thing.
warmwaffles··on Ask HN: What's the best hackable smart TV?
A dumb TV like a Sceptre with a smart hackable device.
warmwaffles··on Notes on switching to Helix from Vim
It's not integrated at all right now. It's still sitting in a feature branch unfortunately.
warmwaffles··on Ryanair flight landed at Manchester airport with six minutes of fuel left
Is that at cruising altitude?
warmwaffles··on A mechanic offered a reason why no one wants to work in the industry
A lot of 4 cylinders and the Duramax 3.0L engine. The claim is that these belts reduce noise because chains are "loud".
warmwaffles··on A mechanic offered a reason why no one wants to work in the industry
It's 180k miles. It's the 3.0L Duramax because the oil pump is on the backside of the engine using an oil submersed belt rather than a chain or set of gears. So you have to drop the transmission, exhaust, oil pan, and take the back side of the engine cover to replace a belt that should have been a chain. It _may_ be faster, to simply disconnect everything and pull the motor.

Source: I own one of these engines and I dread having to pay ~3k for this maintenance in 3 years. I like the engine, just not this maintenance ticket item.

warmwaffles··on Qualcomm to acquire Arduino
> the aircraft carrier could simply turn around.

Pretty sure it can turn 180 degrees fairly quickly.

warmwaffles··on Restrictions on house sharing by unrelated roommates
I've heard these referred to as "Brothel Laws".
warmwaffles··on Hledger 1.50
It is yes, but this is for Plain Text Accounting which allows you to put your books in version control which is an interesting way to keep track of changes over time.
warmwaffles··on Writing memory efficient C structs
This is also applicable outside of C as well.
warmwaffles··on 15 Years of Building Jefit
I stopped using the app around 2018 and went back to pencil and paper. Although I did like the diagrams on the movements to do, but once you learn them, you can't forget them. I never entered the data into a spreadsheet though, I didn't care about tracking gains. All I cared about was, what I was doing last week and where I am at this week.
warmwaffles··on Linux Reaches 5% Desktop Market Share in USA
There are dozens of us. Dozens I say!
warmwaffles··on Helix Editor 25.07
It has multi cursor support. `Shift+C` to expand down one line or you can split the cursor based on select. Collapse all of them with `,`
warmwaffles··on 'Positive review only': Researchers hide AI prompts in papers
These papers often have citations to original text, so it _can_ critique it.
warmwaffles··on How I program with agents
You can write the tests first and tell the AI to do the implementation and give it some guidance. I usually go the other direction though, I tell the LLM to stub the tests out and let me fill in the details.
warmwaffles··on How to register a Kei truck in Pennsylvania
Depends on use case. I do more than what I originally posted. I do pull a trailer with a small tractor on it frequently and move a lot more stuff than normal people do. Renting a truck would be more of a hassle for this type of work than for me to just pay the premium and own the thing out right.

> I could rent this truck every weekend for 30 years for the same price as a giant truck.

That assumes the price never increases for 30 years.

← PreviousPage 3 of 22Next →