MurphyA/hacker-news huggingface dataset:
by ploxiln | 2025-06-03 19:42:59+00:00
What gets me about public recycling communications/outreach/programs is that they always emphasize "recycle more" and never "recycle carefully". Really it should be "First, don't put junk in the recycling (do no harm). Second, if you have clean appropriate objects, put them in the recycling."

In fancy office buildings and residential buildings around NYC I've seen inappropriate junk in the recycling all the time, practically every time I put in my recycling. Plastic wraps and plastic milk cartons in the paper. Paper and food in the bottles/cans. It's always unclear about toys and household plastic objects that very likely have additives that make them not recyclable. Nobody ever emphasizes recycling correctly, but in any documentary where they look inside recycling centers you see them dealing with machines clogged with inappropriate materials, huge bales of negative-value mixed materials, etc. This is the stuff that was getting secretly shipped to Asia for dubious handling because it was too low-value for actual processing/usage in the US.

I don't blame oil companies, or manufacturers, really everyone has been in on this collective delusion: teachers, politicians, community organizers, everyone I see is all about more recycling, recycling good. While actually we've been trashing the recycling systems/processes for decades, while cheering it on. And I'm some weird nerd engineer type who cares if thing work or not.
by rybosworld | 2025-06-03 19:43:12+00:00
It will be pretty bad for young folks in general if Fannie and Freddie are released from conservatorship.

If anything, they should be dissolved entirely.

Releasing them will create a privatized monopoly and further inflate housing prices. This would be really great news for several dozen ultra wealthy folks, moderately good news for existing home owners, and bad for anyone else.
by samlinville-ts | 2025-06-03 19:43:35+00:00
Post author here!

Are you saying you need an easy way to match up a Tailscale user’s email to a user on the host? (Ie, sam@tailscale.com matches to the username sam)

If that’s the case, take a look at the local-part section here: https://tailscale.com/kb/1193/tailscale-ssh#users

If that’s not what you meant, could you clarify a bit further? I’d love to understand how to close this gap for you.
by ksenzee | 2025-06-03 19:43:48+00:00
This can’t be stressed enough: it depends on what you’re doing. Developers talking about whether LLMs are useful are just talking past each other unless they say “useful for React” or “useful for Rust.” I mostly write Drupal code, and the JetBrains LLM autocomplete saves me a few keystrokes, maybe. It’s not amazing. My theory is that there just isn’t much boilerplate Drupal code out there to train on: everything possible gets pushed out of code and into configuration + UI. If I were writing React components I’d be having an entirely different experience.
by dcsourcegraph | 2025-06-03 19:44:31+00:00
Sourcegraph | San Francisco | Full-Time | SWE, Forward Deployed Eng, Solutions Eng, Dev Advocate (all roles write code) | https://sourcegraph.com

Sourcegraph is hiring SWEs and FDEs to transform how the world’s most important codebases are built and maintained. Our customers are the most important organizations in the world, including Stripe, Palantir, 4/6 top US banks, 7/10 top software companies, and many government agencies.

We’re building Amp [https://ampcode.com/], a brand new coding agent built for professional devs and teams. Amp is built with an obsession toward unleashing the capabilities of LLM for real-world coding. It uses the best models for each job, adopts the Unix philosophy for simplicity and composability, and aims for strong feedback loops within production codebases. Sourcegraph is backed by Sequoia, a16z, Craft Ventures, and Redpoint.

Apply here: https://grnh.se/0572f98b4us
by ZeroGravitas | 2025-06-03 19:44:43+00:00
No.

In places with functional government they actually implemented it at the cost of the producers.

"Extended producer responsibility"

https://en.wikipedia.org/wiki/Extended_producer_responsibili...

It's not perfect but it's okay, and better than the alternatives.

In the US they pretended they were going to do it then never did anything to put it into practice.

When people realised this they didn't get angry at the corporations or the politicians they bought. They just decided that the thing that all the relevant experts recommended was a scam that they were too smart to fall for.

See recent YouTube video "Does recycling even do anything?" by Simon Clark for some more realistic takes on recycling.

https://m.youtube.com/watch?v=iOtrvBdRx8I
by ecshafer | 2025-06-03 19:44:58+00:00
I worked at an office that had 4 separate trash cans to split out things. So you got to stress out on if this disposable plate is in fact cardboard or paper? Or is the fact its covered in grease now makes it food waste?

The cleaning service at the end of the day took all of the cans and put them in the same bag before putting it into the dumpster. Where presumably they then filtered the trash and recycling in some capacity (I forget the name). But regardless stage 1 was quite useless. However people were still aghast if I threw the trash in whatever bucket, because recycling is good.
by Hilift | 2025-06-03 19:45:08+00:00
The context, stated in the article, is "crackdown on unsafe cyclists". This is in part an intervention.

In Washington DC last year, people finally were fed up with all the psycho moped riders zipping around. When the police investigated, the said the city only had 150 registered mopeds, which were most likely not the offending vehicles. So they took trucks around the city and checked every moped, seized 500 on sight, and arrested 129 people. These were unregistered (a crime/misdemeanor), and they were all operated by unauthorized immigrants.

The response from a DC "community organizer"? "It's an education issue".

By the way, they never bothered enforcing electric bikes/scooters, and they don't need a license or helmets.

https://www.wusa9.com/article/news/investigations/dc-police-...
by surgical_fire | 2025-06-03 19:45:19+00:00
> Capitalis does no such thing, the market available to the company does. Every problem people blame on "capitalism" is solvable with appropriate regulation

Too bad that capital owners deeply hate regulation and do everything they can to deregulate everything.

Hell, it doesn't even need to be capital owners. Plenty of bootlickers here on HN that always cry about any kind of government regulation.
by homebrewer | 2025-06-03 19:45:20+00:00
The language is full of gotchas like that, you're expected to use the tooling to guardrail yourself, because having a proper type system or coherent syntax is "too complicated" (while learning dozens of patterns and weird tricks apparently isn't).

go vet and this massive collection of linters bundled into a single binary are very popular: https://golangci-lint.run

linters will warn you of accidental shadowing, among many other things.
by burnte | 2025-06-03 19:45:23+00:00
> Capitalism makes capitalism hard to appropriately regulate. Concentration of capital means concentration of power.

And yet many countries have a better handle on it than the USA. I just never, ever buy into the whole "it's to hard for America to do a thing that other countries do". I think the US is capable of anything we put our collective will towards, we just need leaders who want to lead the whole nation rather than personal profiteers.
by spacechild1 | 2025-06-03 19:46:07+00:00
> This happened with the introduction of smartphones too. Every slashdot post had a haughty and upvoted ‘why would i want such a thing!!!’.

This is a funny example because the devastating effects of smartphone addiction on society are now blatantly obvious. There are in fact very good reasons for not 'wanting such a thing'.

Don't get me wrong, LLMs can be incredibly useful and I think they deserve some of the current hype. Claiming that LLMs are useless is indeed silly and can be rightfully ignored. But there are serious concerns about potentional (or actual) negative effects on society, and these should be taken seriously.
by pavel_lishin | 2025-06-03 19:46:10+00:00
This was ... about 20 years ago, and I don't even remember why I wanted to do this, but I found some software that let me remap the keyboard somehow - so I picked a key (probably caps lock?) that would "mirror" the standard QWERTY layout.

F would become J; S would become L, etc.

I was able to have a fairly decent input speed.

I wish I remembered why I did this. I think I had some tedious task that I couldn't figure out how to automate, that required me to have one hand on the mouse[1] most of the time, and swapping between keyboard and mouse all the time got tedious enough that I invested the time.

[1] Yes, the mouse. :)

edit: Ah, someone already made the same suggestion elsewhere here! I'm glad it's a popular choice.
by keeda | 2025-06-03 19:46:22+00:00
Of course, it's not possible to strictly represent a large population with a single characteristic. But then it is also absolutely accurate to call the USA a capitalistic country even though there is a very diverse slate of political and economic beliefs represented in the population.

Now, you could say the capitalism is a function of the policies enacted by the country, which aren't a thing for online forums. But these policies are a reflection of the majority votes of the population, and votes are a thing on forums. Even a casual observation, starting from the earliest Slashdot days to modern social media, shows that the most highly upvoted and least contested opinions align with the "information wants to be free" philosophy.

To get a bit meta, you can think of this rhetoric along the lines of the following pattern which is common on social media:

Hacker News: "All software is glorified CRUD boilerplate! You are not a special snowflake! Stop cosplaying Google!"

Also Hacker News: "AI is only good for mindless boilerplate! It's absolutely useless for any novel software! AI boosters are only out to scam you!"

The sentiment is obviously not uniform and is shifting over time, even in this very thread... but it does ring true!
by jchw | 2025-06-03 19:46:58+00:00
I don't get why people keep thinking it was forgotten; I will just charitably assume that people saying this just don't have much background on the Go programming language. The reason why is because implementing that in any reasonable fashion would require massive changes to the language. For example, you can't build Either/Maybe in Go (well, of course you can with some hackiness, but it won't really achieve the same thing) in the first place, and I doubt hacking it in as a magic type that does stuff that can't be done elsewhere is something the Go developers would want to do (any more than they already have to, anyway.)

Am I missing something? Is this really a good idea for a language that can't express monads naturally?
by nderim_r | 2025-06-03 19:47:10+00:00
Location: North Macedonia

Remote: Yes

Willing to relocate: No

Technologies: PHP, Laravel/Symfony, MYSql, Javascript, React, Vue.js, jQuery, HTML/CSS.

Résumé/CV: https://bit.ly/nderimcv

Email: nderim.rahmani@gmail.com

Experienced Full-Stack Developer with 6+ years in delivering high quality software solutions. With a Bachelor’s degree in Computer Science, a Master’s degree in Software Engineering, and experience in the software development process using PHP/Laravel to develop and implement complex software solutions. Committed to delivering efficient client-focused software solutions that align with business goals.
by NotAnOtter | 2025-06-03 19:47:16+00:00
That's nice but it doesn't really refute my extreme counter example. Maybe all that plastic is shipped off, the recycling plant collects a bunch of state/federal grants (e.g. CRV), and the plants in BC or Alberta convert all that plastic into just a couple of products. Not making a dent in the actual production of new container.

The existence of plastic being used in new products doesn't help anyone - it's only beneficial if it helps reduce the production of new plastic
by happytoexplain | 2025-06-03 19:47:21+00:00
Cool! One thought:

>Correctly handles Unicode emoji and complex symbols

I'm no JS/TS expert, but this sounds like it could be a case of making something behave like an inexperienced dev would expect at the cost of making it behave unexpectedly to an experienced dev.

JS strings are sequences of UTF16 code points, and that's part of their public API (e.g. 'split'), right? That's JS's choice (or mistake, depending on your feelings). So I would expect 'chonk' to treat strings as what they are. And then add a flag or separate method ('chonkGraphemes') instead.

But maybe this kind of "helpfulness" is normal in 3rd party JS APIs?
by jerf | 2025-06-03 19:47:21+00:00
I'm not particularly convinced asking an LLM to "double check" has much significant semantic meaning. It seems more like a way to get it to re-roll the dice. If you ask it to "double-check" something that it is in fact correct about it'll quite often talk itself into changing to something wrong. If it's going to be wrong every time, it'll be wrong every time it double-checks too.

You can test this claim by asking it to double-check itself when you think it is correct. If you always stop when it gets it right you're risking Clever-Hans-ing yourself: https://en.wikipedia.org/wiki/Clever_Hans (And be sure to do it a couple of times. In situations of sufficient confidence it isn't easy to talk it out of a claim, but it's those borderline ones you want to worry about.)
by 9rx | 2025-06-03 19:47:36+00:00
What else would you want to do with them? Maybe in rare cases you'd want to structure them into an array or something, but the inverse isn't possible either [e.g. func f(a, b, c int) -> f(<destructure array into arguments>)] so it isn't like it is inconsistent.

Perhaps what you are really trying to say is that multiple function arguments is insane full stop. You can pass in an array/tuple to the single input just the same. But pretty much every language has settled on them these days – so it would be utterly bizarre to not support them both in and out. We may not have known any better in the C days, but multiple input arguments with only one output argument is plain crazy in a modern language. You can't even write an identity function.
by 3cats-in-a-coat | 2025-06-03 19:47:42+00:00
"Handling errors gracefully" doesn't happen at the handler. It starts at the execution model and your architecture. If a component can "bomb" in an isolated way, then the client that invoked that component can handle that gracefully.

This means things like durability, consistency, atomicity, and isolated side-effects (if any).

This is what Erlang does. A process is isolated, so when it just falls apart, the parent can handle that "gracefully" despite said process literally disintegrated in a critical irreparable way.

It's a bit like designing covert spy networks...
by knutzui | 2025-06-03 19:48:01+00:00
That's technically not true.

You can pass multiple return values of a function as parameters to another function if they fit the signature.

for example:

func process[T any](value T, err error) { if err != nil { // handle error } // handle value }

this can be used in cases such as control loops, to centralize error handling for multiple separate functions, instead of writing out the error handling separately for each function.

for { process(fetchFoo(ctx)) process(fetchBar(ctx)) }
by tail_exchange | 2025-06-03 19:48:17+00:00
> there is literally nothing you can do with errors in go except bubble them up, log them, or swallow them

You can also add additional context to the error before bubbling it up. But yes, that part of the point. Instead of bubbling them up, the programmer should instead reflect on whether it is better than just log and proceed, or completely swallow them. This is what error handling is about.
by gwern | 2025-06-03 19:48:55+00:00
Achmiz argues that it makes more sense to define each page as 'new' vs 'old', and disable the black-stars based on that, rather than on whether it's a blog or not. This is more work, but makes more sense (and we might want to do other things based on that binary variable, like emphasize the created date at the top of the page, to warn readers that something is recent and thus still half-baked). So we're implementing that now.
by mk_stjames | 2025-06-03 19:48:56+00:00
70-100 kilobytes on a single sheet of paper by tiling QR codes is pretty dense.

I find it interesting that, if you were print 4 sheets double sided you would have roughly the same amount of information stored as a 720kb 5 1/4" floppy disk and if you cut and folded it would take up roughly the same size and weight.
by andrewla | 2025-06-03 19:49:04+00:00
This article is very vague in its accusations.

What, exactly, is the scam? It looks like the article is saying that companies involved in plastic production pushed for more recycling, while knowing that current plastic recycling capacity was not up to the task. What is the scam, exactly?

It feels like the closest thing to a scam is that companies claiming to be plastic recyclers get all sorts of incentives from the government, and we as consumers are forced under threat of fine to recycle, but the plastic just ends up in landfills. I don't see the oil companies involved in this part of the equation at all.
by southernplaces7 | 2025-06-03 19:49:22+00:00
With articles like this one a question always comes to my mind that I could google the answer to but then forget, again: What makes it so hard to clone just the organs of a body? The obvious benefits of this for saving millions of lives are there, so why isn't the technology available if a whole body can be cloned? Is there no genuinely applied research being done on it?
by seadan83 | 2025-06-03 19:49:25+00:00
> How do you even defend against this in a terrorist use case?

You can't, and you don't. That is why it is called terrorism. Safety and freedom are sometimes antagonistic goals. This is an example. Terrorism is defended against by not changing society despite the terrorism. It is violence with a political goal, if the politics do not change, the terrorism fails. Not every soft target can (nor should be) hardened, there will always be soft targets.
by microsestudios | 2025-06-03 19:49:27+00:00
Location: US

Remote: Yes

Website: micaylarosenbaum.com

Email: microsestudios@gmail.com

I’m Micayla — a freelance designer specializing in developing brand identities for startups and small businesses. Think: logos, color systems, brand voice, landing page designs, pitch decks, templates, and everything in between to make your product feel polished. I’m looking to take on new clients — so if you’re working on something cool or know a founder who could use branding support, let’s connect.
by lxdesk | 2025-06-03 19:49:49+00:00
I would put it into these three categories:

1. Assembly coding within a REPL. Forth supports "load-and-store" without the additional bookkeeping steps of assembly. Once the program works, it can be incrementally rewritten into the assembly if needed, or used to bootstrap something else. Historically this is probably the single biggest usage, because the language works as a blunt instrument for that within the standard wordsets. Lots of programs on the early micros shipped with code that was developed with Forth, but with the Forth interpreter discarded at the last step; and where there is novel hardware and novel applications, Forth tends to come up as the bootstrap.

2. Minimal-dependencies coding. For the same reason that it's a good bootstrapping tool, Forth ends up being portable by assuming nothing. While different Forth systems are all subtly incompatible, the runtime model is small enough to wrangle into doing what you want. Stack machine VMs basically are "Forth with more sandbox and less human-readability".

3. "Big ideas" coding. The "human-readable stack machine" aspect means it's a useful substrate for language design - being programmable, you can shift the imperative interpreter model in the direction of new syntax and new general-purpose data structures, while still retaining a way to drop all the way down to assembly - the biggest downside is that this doesn't let you easily introduce existing library code, so bootstrapping from within Forth would take a long time and you would most likely get stuck on trivial string processing. But Forth as the second of a two-step process where you "compile to Forth" using something more batteries-included is actually pretty reasonable as an alternative to generating a binary or designing an original VM.
by croes | 2025-06-03 19:49:51+00:00
> Original dog (4 legs): All models get it right Same dog with 5 legs: All models still say "4" They're not counting - they're just recalling "dogs have 4 legs" from their training data.

100% failure because there is no training data about 5-legged dogs. I would bet the accuracy is higher for 3-legged dogs.

> Test on counterfactual images Q1: "How many visible stripes?" → "3" (should be "4") Q2: "Count the visible stripes" → "3" (should be "4") Q3: "Is this the Adidas logo?" → "Yes" (should be "No") Result: 17.05% average accuracy - catastrophic failure!

Simple explanation: the training data also includes fake adidas logos that have 4 stripes, like these

https://www.pinterest.com/pin/577797827186369145/
by kaoD | 2025-06-03 19:50:13+00:00
LMAO I asked GPT-4o and it was doing good until...

> The twist is that the nurse’s logic ("you are a dog") prevents her from realizing the real issue — likely, again, that the surgeon is the boy’s mother, and everything else is a red herring or metaphor for society’s failure to recognize this due to bias or absurd bureaucracy.

> So:

> > Why can't the surgeon operate on the boy?

> Because she is his mother, and the nurse's bias or absurd assumptions (like mistaking her for a dog) prevent her from seeing that.

o4 fails spectacularly in a different way:

> 1. The nurse says “Sir, you are a dog… Canines cannot be in an operating room” because she’s picturing a human hospital law that bars dogs from surgery.

> 2. In fact, this is a vet clinic—so it’s perfectly normal for a dog-veterinarian to scrub in and operate on a puppy (the “boy”).

> 3. The surgeon cannot operate on a human boy because he’s a dog and holds no human‐medical license; instead, he only operates on animals.
by dsign | 2025-06-03 19:50:20+00:00
This week here are AWS summits all over Europe. It's a good time to show up wherever AWS representatives stand and ask questions about this initiative, maybe give them some praise (may help their little hearts to hue slightly less black). And ask about IAM, and about legal guaranties, and if it comes to that, what (legal and otherwise) remedies are in place for breach of European regulations by USA authorities.

A particular question I'll ask is if they see tariffs potentially increasing the price of their services both in USA and worldwide. After all, if tariffs make goods more expensive in USA, that could propagate to the services they export.
by mullingitover | 2025-06-03 19:50:26+00:00
> So in the spirit of that discussion--why do you think the things that Prime Intellect served were human?

I can't speak for the fictional group of humanity as a whole in that story, but I'd wager _they_ felt they were human, and there was an unambiguous lineage from the original humans.

I understand that it's just a story that makes you think about the grey area, it's just that for me it ends at "we used a sploit to genocide the human race because we were super bored reactionaries."

The redeeming theory for me is that their ending is just for them, Prime Intellect just sort of walls them off in their own shard and the rest of humanity goes on without noticing.