HNHacker News
TopNewBestAskShowJobs

spacechild1

3,560 karma · joined May 28, 2017

submissionscomments
spacechild1··on The beauty and simplicity of the good old C-style void* in C++
If Bjarne was so powerful, how come they voted contracts into C++26 despite his strong concerns? How come he publicly vents his frustration with the direction the language is taking?
spacechild1··on The beauty and simplicity of the good old C-style void* in C++
Are your seriously comparing the C++ standard committee to the Trump administration? I know you have an axe to grind, but this is getting ridiculous.

Where exactly have you seen this "parade of sycophants" in the C++ standards committee?

As far as I know, Bjarne is just a regular committee members with just as many votes as everyone else and no veto powers. The committee frequently accepts or rejects proposals against his will. For a recent example, see his harsh criticism of the new 'contracts' feature in C++26.

spacechild1··on The beauty and simplicity of the good old C-style void* in C++
Well, you could have linked an actual proposal instead of dropping some cool facts about C, Extended Pascal, Mesa/Cedar and Modula-2, as if that explained anything.
spacechild1··on The beauty and simplicity of the good old C-style void* in C++
> There were proposals about this for many years.

I wrote "presumably", but you are 100% correct. I'm always happy to be proven wrong.

N3851 actually deals with multi-dimensional spans and goes way beyond a simple slice/span type. To me it seems closer to std::mdspan than std::span.

The earliest proposal I could find that does propose something similar to std::span dates back to 2012: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n33...

I really don't understand why this was not pursued further. At the very least, this should have made it into C++17 together with std::string_view.

> because of course neither of these were actually proposed as core language features even though that's what they naturally should be

Should it really? What would this even look like in C++? IMO std::span works perfectly fine as a library type.

> C++ is just a terrible programming language, standardized by a committee (WG21) which exists in large part to boost the ego of one man, Bjarne Stroustrup.

That's certainly not the reason why it was standardized. Pre-C++98 was wild west with every compiler offering there own (incompatible) idea of what C++ is. Yes, there are many problems with design by committee in general (and the C++ committee in particular), but there was a very good reason for standardizing the language. The committee is not a one man show and there are many occasions where Bjarne has publicly voiced his frustration and disagreement.

spacechild1··on The beauty and simplicity of the good old C-style void* in C++
Everybody knows that C++ did not invent the concept of spans and that it was late to the party. It doesn’t change the fact that (presumably) nobody made a proposal to the C++ standard.
spacechild1··on The beauty and simplicity of the good old C-style void* in C++
> but `std::span` should have been there decades ago

Absolutely! I now use it consistently in all new projects where I can afford to mandate C++20. I guess nobody bothered to make a proposal before...

spacechild1··on Why are so many young people getting cancer?
> For example a dead apple is one that was picked a year ago, sold today, kept in storage until now.

It has always been normal for certain fruits and vegetables, such as apples, pears, potatoes, etc. to be stored for months in a cellar. In the old days, you simple could not get a fresh apple outside harvest time.

Your concept of "dead food vs live food" seems rather questionable.

spacechild1··on LLMs are eroding my software engineering career and I don't know what to do
> > It's not only derivative, it also lacks any thought, intent or communicative effort.

> So does most "human" art...

That's just not true. Everybody who tries to write their own songs, write their stories or draw their own pictures does it with at least some thought or intent.

> Hmm, I dunno, maybe because if you play around with it you might generate something that's close enough to what you wanted to listen to.

That might work for some music, if you only care about the surface. But even then, why not simply pick some good existing human art? By choose the simulacrum?

The things you generate with Suno are not really your art anyway. That's an illusion that these companies want to sell. It's like you invite your friend who plays the guitar and can sing, ask him/her to play a few songs and then pick the one you like. Would you claim that it's your music?

> Almost nobody could generate a good enough song or story or video or graphic or whatever in the fraction of time it takes with Gen AI.

There's a fundamental misunderstanding about creativity/art. It's just as much about the process as the end result. You shouldn't expect your output to match that of professional studios or masters of the craft without putting in the time, effort (and money). That's just hybris. There's a reason why things like the DIY movement, punk, indie games, B movies, etc. exist. Everybody can already create art within their means and limits. If you write and record your own song, you can be proud of that. You don't have to sound like a professional pop artist. By prompting Suno, on the other hand, you have accomplished nothing.

> that is good and fun and entertaining in a new way that simply was impossible to get in the same amount of time / effort.

As I said, I see how it can be fun and entertaining. I played around with Udio myself and I got some funny results. Just don't confuse it with actual art or music making.

spacechild1··on LLMs are eroding my software engineering career and I don't know what to do
> LOL - so let me guess, 99% of people never create anything resembling art?

I don't see how that follows.

> AI regularly spits out better derivative crap than 99% of the derivative crap humans spit out...

It's not only derivative, it also lacks any thought, intent or communicative effort.

Why should I listen to AI slop when there is lots of great human made music to choose from?

Yes, some AI music might sound better than the worst human made music, but should this really be the baseline?

spacechild1··on LLMs are eroding my software engineering career and I don't know what to do
> And who said it has?

You've claimed that "right now, people effectively spend ~0% of their time entertaining themselves with their own music, art, writing, film, etc."

So I assumed that you don't spend your time with traditional creative pastimes or don't know any people who do. Otherwise I don't understand how you would come up with the ~0% figure.

> You seem to imply that you can't have created any art ever in your life if you ever did anything with AI.

I did not say that you can't use any AI tools in the creative process, but anyone who has ever tried to create their own art will not confuse the verbatim output of AI models like Suno or Midjourney with actual art.

> The human touch is not automatically genius,

I never claimed that. The nice thing is that there is so much existing art/music out there that you can easily choose the things you like.

I understand that prompting Suno can be a fun pastime for some people, just don't confuse it with actual music or art.

> Sorry, I've seen just as much thoughtless garbage from humans as from AI...

Yes, there is lots of thoughtless garbage music made by humans, but all AI generated music is thoughtless by definition. AI models do not have thoughts or intentions, they are developed to mimick human thought and intent.

> and the AI touch is not automatically derivative trash...

Generating whole songs with Suno very much is. These models are designed to be derivative. AI tools can be used effectively and responsibly in the creative process, but only as a tool among other tools. Prompting Suno is not a replacement for actual music making or production.

spacechild1··on LLMs are eroding my software engineering career and I don't know what to do
> Right now, people effectively spend ~0% of their time entertaining themselves with their own music, art, writing, film, etc.

First, the 0% figure is not true. People do write stories, play instruments or draw pictures.

Second, everybody who really feels a desire to express themselves creatively has akready been able to do so. Nothing was stopping you from writing poems, drawing pictures or picking up an instrument. Recording music has never been so easy. The "problem" is, of course, that it takes some effort. LLMs seem to provide a convenient shortcut, but you effectively skip the whole artistic process.

IMO it's better to either engage with existing great art or make an honest and humble attempt at creating your own art. You will learn so much more about music by trying to learn the piano or guitar than by prompting Suno.

spacechild1··on LLMs are eroding my software engineering career and I don't know what to do
This is really true for most music genres outside the pop mainstream. The idea of AI free jazz is just as absurd as AI punk.

More generally, we think that music (and art in general) is a form of human expression and communication. The very idea of AI music just seems absurd, as it completely misses the point of what constitutes music as an artform. Why should I listen to something that has been produced entirely without human intent? Why should I prefer a cheap simulacrum over the original?

spacechild1··on LLMs are eroding my software engineering career and I don't know what to do
It's mostly pretty easy to recognize.
spacechild1··on Ask HN: Why is the HN crowd so anti-AI?
The very premise of your question is very questionable.

> Over the past six months, there hasn’t been a single day where I’ve checked the HN Best RSS feed without seeing a post about how AI “writes bad code,” “introduces bugs,” “creates technical debt,” or something along those lines.

At the same time, there hasn't been a single day without several AI hype posts. The notion that HN has turned into an outlet for anti-AI sentiments does not match my experience at all. In fact, many users are already tired of the constant influx of vibe coded "Show HN" posts, AI model discussions and prompting recipes.

Also, AI is not only about the ability to generate lots of code very quickly. The potential (and actual) negative effects in certain fields and in society as a whole are very real and it's reasonable that people want to discuss them.

spacechild1··on Moving beyond fork() + exec()
Yeah, as someone who originally came from Windows, the fork+exec model never made sense to me. Now I know it's just a historical quirk, but for some reason there are still people who pretend that fork+exec is actually a good thing...
spacechild1··on C++: The Documentary
He has a point. The video certainly feels more like a hagiography and I noticed the lack of critical voices. Only in the last 10 minutes they touched on some common criticisms, like the growing complexity and the memory safety issues. I still enjoyed it, though.
spacechild1··on C++: The Documentary
I'm pretty sure they first asked the other John and got a rejection :)
spacechild1··on C++: The Documentary
Do we really have to shoehorn AI into every single thread? It's really getting tiring.
spacechild1··on C++: The Documentary
Interesting, I don't find modern C++ verbose at all. 'auto', range-based for-loops and structured bindings did a great job at reducing the verbosity of C++98.

On top of that, C++ allows to design very concise APIs. (One of my favorite examples is sol2: https://github.com/ThePhd/sol2).

Library code involving templates, on the other hand, can be pretty complex and hard to read. Concepts and other C++20 features (like [[no_unique_address]]) are certainly an improvement, but only new projects with no backwards compatibility requirements can actually use them (unconditionally).

spacechild1··on Changing how we develop Ladybird
That's the most succinct way I have seen someone put it, thanks! It's really the same issue, no matter if it's software, online comments, e-mails, artworks, homework, etc. We engage because we expect to be interacting with the output of another human being. AI fundamentally betrays this expectation.
spacechild1··on C++: The Documentary
Yes, these are the same people: https://www.cultrepo.com/

Apparently, they are making documentaries about open source software.

spacechild1··on C++: The Documentary
Just a heads-up: if you're already using boost, boost::unordered now has open addressing containers (unordered_flat_map and unordered_flat_map) and they are among the fastest.
spacechild1··on Documentary, "C++: The Most Consequential Programming Language"
The trailer kept popping up in my YT recommendations. I just started watching it on the train and I'm now half-way through. Of course, it's a bit of a hagiography but I find it quite interesting, especially the storys from the early days of C++.
spacechild1··on Meta workers can opt out of being tracked at work up to 30 min
You can't tell me that someone took an offer from Meta because it was their only option. This is just absurd.
spacechild1··on Meta workers can opt out of being tracked at work up to 30 min
OP is not talking about the working conditions but the negative effects on society.
spacechild1··on Meta workers can opt out of being tracked at work up to 30 min
> This makes the "why do you still work there" question land as naive most of the time.

It's not a naive question. In fact, the question is mostly rhetorical. We know the answer is money.

> Of course there is more to life than money, but people still need some base amount of money to live safely, especially if you have a family.

Are you trying to tell me that this base amount of money equals a FB salary? Don't be ridiculous.

The very point of ethical behavior is that you stick to your principles even if it may cause you financial or otherwise disadvantage. Sure, many people prefer more money, but this doesn't make their decision ethical.

spacechild1··on Meta workers can opt out of being tracked at work up to 30 min
> You just keep telling yourself, "I just do this one little thing." And that's enough to convince yourself that it's ok.

This is how I would have imagined most of these people think (except for the true sociopaths who just don't care).

> Saying that, I'm sure if more of them had options they'd jump in a heartbeat.

Are you saying the people who have been working for Meta had no other options? That would be a ridiculous claim.

The point is that there have been many, many options and yet they chose to interview for Meta and take the offer.

spacechild1··on C constructs that still don't work in C++
But you can't argue that a warning is less severe than a hard compiler error. Warnings can be supressed or ignored.

You were right to call out that the C standard only talks about diagnostics and the actual implementation is left to the compilers, but I don't think it really changes the actual argument I've been trying to make, namely that - unlike in C++ - implicit incompatible pointer casts are not a guaranteed compiler error.

spacechild1··on AI sticker shock hits corporate America
I was specifically talking about needless token maxxing, though.

> How many of today's jet plane flights really needed to happen?

Many jet plane flights are indeed not necessary and there are people who deliberately avoid such unnecessary flights.

> The question is how much value people feel they're getting.

It is indeed a question we should keep asking and weight the answers against the energy footprint.

spacechild1··on AI sticker shock hits corporate America
Let's not forget about the environmental impacts. It's crazy that people are willfully burning so much energy for almost no return. And we thought bitcoin was bad... This is just completely irresponsible, if not sociopathic behavior.
← PreviousPage 5 of 34Next →