HNHacker News
TopNewBestAskShowJobs

unclad5968

1,273 karma · joined January 21, 2021

submissionscomments
unclad5968··on Four Years of Jai (2024)
I can't tell if you're joking or not, but if you aren't, no one is calling you a child. The article is obviously saying that the compiler doesn't stop you from doing dumb things, which is a privilege generally only extended to adults. Nobody is saying anyone who makes mistakes is a child.
unclad5968··on Four Years of Jai (2024)
I seriously doubt that any of them have trouble understanding a concept as simple as RAII.
unclad5968··on Hacktical C: practical hacker's guide to the C programming language
I've never come across a situation where I wanted to do this. What would be a use case for optional class functions?
unclad5968··on An Introduction to Modern CMake
The Zig build system is basically cmake except worse but in Zig.
unclad5968··on How dairy robots are changing work for cows and farmers
It's cool that this allows the cows to be milked whenever they feel like it. I'd imagine the autonomy actually does improve the cow's quality of life. Also neat that they learned to game the feeding robot. It reminds me of the image recognition experiments they do with birds.
unclad5968··on Hacktical C: practical hacker's guide to the C programming language
I'm torn. The step from C to any c++ is big. Now if you want anybody to be able to use your code they need to be using c++ or you have to provide a C api anyway. On the other hand, manually implementing vtables is annoying. Ive been sticking to pure C and haven't been bothered enough to go back to any c++ yet (about 6 months on my current project). I mostly only miss templated containers so far.
unclad5968··on Basic Income Pilot Project: Study results
And where will the money for UBI come from when everyone quits their job for non-income generating hobbies?
unclad5968··on Microsoft employees recall their early years
That guy hates MS because they included a web browser with their OS? Then he complains about being sent porn when he asks people to stop redistribution of his permissively licensed project while he shows me a hairy scrotum.

Seems a little irrational.

unclad5968··on Show HN: The C3 programming language (C alternative language)
> than to push their language at all cost

Nobody said they do that

unclad5968··on Show HN: The C3 programming language (C alternative language)
So which language do you use then? I've never seen a language that doesn't have bad things to say about other languages. Zig bdfl himself accused vlang of committing fraud a while back.

Every language designer takes things they like about some languages and leaves things they don't like.

unclad5968··on Show HN: The C3 programming language (C alternative language)
I have used this language for a few things (csv parsing and some simple personal cli tools). Other than the normal pre-1.0 issues it's great. I wish it had a tagged union type, but it looks like that's planned based on the github issue tracker.

It is a pretty big improvement on C without changing the ABI. Maybe not the improvements I would make if I was smart enough to make a compiler, but better than doing C which I also enjoy despite it's warts.

unclad5968··on Overengineered Anchor Links
https://en.wikipedia.org/wiki/Final_Solution
unclad5968··on What to Do
If we're talking about Christianity, the bible says all you need is to believe that when Jesus died your sins against God were forgiven. It doesn't say anything about going to heaven or hell based on how good you were. In fact, it explicity says that going to heaven is not based on "works".
unclad5968··on Using Gorilla glass for home building
These warranties typically only cover issues due to manufacturing. If your window fails decades later they'll just say it wasn't due for manufacturing.
unclad5968··on Has the decline of knowledge work begun?
I've wasted so much time trying to get LLMs to help me code. One issue I have is that I can never seem to get the AI to say the word no. No matter what I ask, it will say "Absolutely! You can solve [impossible problem] like so...". At this point I basically use them as documentation search engines. Searching for things like "does this library have a function to do thing?". Gemini and deepseek seem to be good enough at that.

I've entirely given up on using LLMs for exploratory exercises.

unclad5968··on Heavy chatbot usage is correlated with loneliness and reduced socialization
The headline is hardly evocative. It states a fact found by the researchers that there is a correlation. That one causes the other is a conclusion drawn by the reader.
unclad5968··on The earliest versions of the first C compiler known to exist
By that argument the other languages mentioned are impossible to understand since they don't have a spec, except for Go again.
unclad5968··on MRubyD: A new mruby virtual machine implemented in pure C#
The author has several other repos that are libraries for unity, so probably that, but it's just a VM so it could be any of them.

Stride is the only C# implemented engine I'm aware of, but I'm sure there are others.

unclad5968··on The earliest versions of the first C compiler known to exist
There is a variable declared right before the waste space function. The 'wasted' space is statically allocated memory for the variable 'ospace' just before it.
unclad5968··on The earliest versions of the first C compiler known to exist
I've never written a parser for any of those languages but my intuition is that Go is easier to parse than C. The others are debatable. Rust macros are definitely not simpler than C macros. I'm not sure what could be simpler than text substition. Zig doesn't have macros and comptime is implemented as a language VM that runs as a compilation step(last I knew), so that's definitely not simpler. I don't use go often, but I don't think it has macros at all so that's definitely simpler.

When people say that C is a simple language, my interpretation is that they mean it is easy to interpret what a C program does at a low level, not that it is simple to write.

unclad5968··on Implementing Generic Types in C
C3 and Odin are some other alternatives.
unclad5968··on Stupid Smart Pointers in C
I don't think they do those things for validation. They do those things for control. Even c++ game developers create there own entire standard library replacements.
unclad5968··on Vulkan Game Engine Series Written in C – Travis Vroman
I, prefer written content, but the quality of this series is second only to Casey Muratori's Handmade Hero series.

Travis is also now streaming the development of his game using his engine.

unclad5968··on Show HN: Time travel debugging AI for more reliable vibe coding
What is vibe coding?
unclad5968··on After layoffs, Meta rewards top executives with a substantial bonus increase
Stockholders own the company, where else would dividends go?
unclad5968··on Suckless.org: software that sucks less
> Do not use for loop initial declarations

> Variadic macros are acceptable, but remember

Maybe my brain is too smooth, but I don't understand how for(int i = 0...) is too clever but variadic macros are not. That makes no sense to me.

unclad5968··on 670nm red light exposure improved aged mitochondrial function, colour vision
Just go outside, there is lots of IR out there. If it feels good then get whatever gadget you want to emulate it inside.
unclad5968··on NLRB acting general counsel rescinds non-compete labor policy
What does that have to do with non-competes?
unclad5968··on NLRB acting general counsel rescinds non-compete labor policy
I'm against non-competes, but likening them to slavery seems distasteful. I'm not sure they infringe on people's freedoms or rather a specific people's freedoms the way slavery did/does. No one is going to secede over non-competes.
unclad5968··on Anyone can push updates to the doge.gov website
I lack tolerance because I think the government shouldn't support activist movements in foreign countries?
← PreviousPage 5 of 9Next →