Hacker Newsnew | past | comments | ask | show | jobs | submit | phplovesong's commentslogin

I can forsee a future when all the AI slop, popups, fake news, propaganda and ads have fully consumed the web.

Maybe then we just go back to an oldschool text based way of communicating.

No google. No socials. Just text.


That should be Gopher for websites but advertisers would find it should it become popular. Text chat via IRCD. Advertisers get banned on IRC.

Or its modern incarnation, Gemini. https://en.wikipedia.org/wiki/Gemini_(protocol)

Do you believe that it is impossible to advertise, spread fake news or propaganda via text?

Do you know what the letters in LLM mean?


We'll all just be fingering each other.

Can’t tell if this is a sexual comment or a comment on people tattling on each other but thought provoking either way


"It writes 100% of our code"

- Silently closes the tab, and makes a remark to avoid given software at any cost.


You're not missing much. Seems to me like they wrote 150k lines of code for some glorified photo app with ChatGPT in the backend for image processing. Oh and some note-taking it seems.

I await (also doubt) the day this produces something truly useful and not just generic derivative functionality glued together

I was confused by this. Watching the demos on their page, it looks extremely slow. And it just does some image recognition to fill a form?

The US has become such a disgusting place. A failed democracy.

As a US citizen, I'm proud of Minnesotans for standing up for American values.

It's nice that they're doing it. And they are certainly the bravest we have to offer; much braver than you or I.

That said, the bravest we have are asking that they please not be murdered. And then peacefully kneeling down to be executed, even when they are armed.

Obviously this only emboldens the murderers. The options moving forward look bleak.


The instant there is armed pushback, Trump will declare martial law. It's entirely plausible that had there not been so many people with cameras around, this would have been used as the excuse.

The best thing to do is to be out there recording everything. You are right that they are emboldened, so you're putting yourself in danger by filming. When people continue to do that despite the danger, and despite the internal or external pressure to escalate, it shows more people what's really happening.

I've witnessed people change their position on ICE's actions based on the video evidence of the last killing. Videos 1 and 2 weren't convincing to them, but the 3rd angle was. That's important, because they now know that the administration is lying in the face of directly contradicting evidence.


will declare martial law

I don't understand how that will be meaningfully different from what is happening already?


Use the actual military with more personnel tanks and air support.

Suspension of 2026 midterm elections

I’m not convinced we’d be in a better place if the ICE officer had been shot in self defense. It’s a really powerful story and cements to ‘normal people’ who are just barely following the news what ICE is like.

FWIW I do think things might be different later but there’s still a lot of room for escalation left


What a bitchy comment

Do yourself a favor and sit this one out while the rest of us fix it.


It cannot be fixed. Red states would have to flip to blue states. I recall general Lee to consider the civil war a stupid mistake but still off he went because he was from Virginia.

I find it very difficult to come to a different conclusion. What is tolerated in the United States is deplorable.

Failing - I didn't hear no bell.

We have a fascist President, yes. We will see if this means we have a fascist government within the next decade.


I dont get it. Why is this better for the slop than, say python?

You seem to have a fundamental misunderstanding about type systems. Most (the best?) typesystems are erased. This means they only have meaning "on compile time", and makes sure your code is sound and preferrably without UB.

The "its only bits" thing makes no sense in the world of types. In the end its machine code, that humans never (in practice) write or read.


I know, but a type system works by encoding what you want the data to do. Types are a metaphor, and their utility is only as good as how well the metaphor holds.

Within a single computer that’s easy because a single computer is generally well behaved and you’re not going to lose data and so yeah your type assumptions hold.

When you add distribution you cannot make as many assumptions, and as such you encode that into the type with a bunch of optionals. Once you have gotten everything into optionals, you’re effectively doing the same checks you’d be doing with a dynamic language everywhere anyway.

I feel like at that point, the types stop buying you very much, and your code doesn’t end up looking or acting significantly different than the equivalent dynamic code, and at that point I feel like the types are just noise.

I like HM type systems, I have written many applications in Haskell and Rust and F#, so it’s not like I think type systems are bad in general or anything. I just don’t think HM type systems encode this kind of uncertainty nicely.


> When you add distribution you cannot make as many assumptions

You absolutely can make all assumptions relevant to the handling/dispatching logic expressed at type-level.

> and as such you encode that into the type with a bunch of optionals.

Not necessarily, it can be `Alternative f` of non-optional compound types that define the further actions downstream.

> Once you have gotten everything into optionals, you’re effectively doing the same checks you’d be doing with a dynamic language everywhere anyway.

Not true, your business logic can be dispatched based on a single pattern comparison of the result of the `Alternative f`.


Gleam is nice. However it is still very lacking in the stdlib. You will need lots of dependencies to build something usable. I kind of wish Gleam could target something like Go, then you would have the option to go native without a "heavy" VM like the BEAM.

Surely the BEAM is one of the major selling points.

Not for executables. Not everything needs an runtime.

In a world with package management there’s no practical difference between the core modules being in one package or multiple packages.

PHP suffers from this too. By too strict BC PHP has become a really mess of a language. IIRC there still is the ad-hoc parameter order convention and lack of any namespacing for builtins. Everything is global.

With JS i kind of get it as you cant control the env. Bit PHP does not have this limitation, and they still cant fix the mess that is PHP.


Also OCaml. Having a own compiler is THE way for language development. IMHO.


Personally I think a happy medium is to compile to C99. Then, after your own compiler's high-level syntax transformation pass, you can pass it through the Tiny C Compiler which is somewhere on the order of ~10x faster than Clang -O0. When you need performance optimizations at the cost of build speed, or to support a compilation target that TCC does not, you can freely switch to compiling with Clang, getting much of the value of LLVM without ever specifically targeting it. This is what I do for my own language, and it makes my life significantly easier and is perfectly sufficient for my use, since as with most languages my language will never be used by millions of people (or perhaps only ever one person, as I have not deigned to publish it).

I think writing a compiler targeting machine code from scratch only really makes sense if you have Google's resources, as Go did. That includes both the money and the talent pool of employees that can be assigned to work on the task full-time; not everyone has Ken Thompson lying around on payroll. To do better than LLVM is a herculean feat, and most languages will never be mainstream enough to justify the undertaking; indeed I think an undertaking of that scale would prevent a language from ever getting far enough along to attract users/contributors if it doesn't already have powerful backing from day 0.


That might be convenient if your language has semantics that map well-ish to C99 semantics. But C is a really messy language with lots of little quirks. For example, Rust code would compile to something slower if it had to use C as an intermediate representation.

Also, compiled languages want accurate and rich debug info. All of that information would be lost.


You can track debug symbol through c. It’s just one of many layers debug info gets tracked through.


C is a pretty horrible compilation target. Avoiding UB when generating C code is really tough.


Comptimes aee an issue, not only for LLVM itself, but also for users, as a prime example: Rust. Rust has horrible comptimes for anything larger, what makes its a real PITA to use.


I think that’s primarily a Rust issue, not an LLVM issue. LLVM is at least competitive performance-wise in every case I’ve used it, and is usually the fastest option (given a specific linker behavior) outright. That’s especially true on larger code bases (e.g. chromium, or ZFS).

Rust is also substantially faster to compile than it was a few years ago, so I have some hope for improvements in that area as well.


It boils down to hardware support. Look at games like CS2, you need the max performance to play, and so far windows is just more optimized, as the driver authors prioritize it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: