MurphyA/hacker-news huggingface dataset:
by colechristensen | 2025-06-04 02:37:35+00:00
Until there's a reasonably priced industrial scale process to efficiently reprocess plastics into indistinguishable-from-virgin plastic precursors, I think all plastic waste and similar garbage should be burned in well maintained waste-to-power plants and eliminating this source of semi-fossil-fuel energy should only be considered a priority when all other fossil fuel power sources have been effectively eliminated.

We're already burning things for power, might as well have that crude oil take a detour into consumer products for a while first, and because it's useful in several ways, make it last in line to eliminate (and at the same time offsetting some oil/coal/gas production)
by kazinator | 2025-06-04 02:38:27+00:00
In the same file:

static bool is_java_identifier_start(char c) { return (isalpha(c) || c == '_' || c == '$'); }

Undefined behavior in isalpha if c happens to be negative (and not equal to EOF), like some UTF-8 byte.

I think some <ctype.h> implementations are hardened against this issue, but not all.
by pie_flavor | 2025-06-04 02:38:47+00:00
You say 'you would never', 'generally not recommended', etc., about things that dominate all code in the wild. Perhaps you do not understand the Go vision. Yes, in both Go and Rust, people should add context to errors; and in both Go and Rust, they don't. Cox's proposal provides something slightly smarter than raw `?`, while Rust was designed smarter from the start and it just takes a library to do that (`snafu` or `anyhow`).

> I've thought on this at length and I have no clue as to what you think the common property between these things might be.

They are examples of the common property I specifically stated in the preceding sentence:

> Go is extremely full of 'helpful' happy-path short functions that leave you reimplementing lots of stuff more verbosely the moment you step off the happy path, inclusive of happy paths that do partially the wrong thing.

(In point of fact you shouldn't use fmt.Errorf if you're serious about errors either; it cannot be usefully inspected at runtime. You want an explicitly declared error type for that.)
by catlifeonmars | 2025-06-04 02:39:44+00:00
How do you feel about

v, err := foo.Open() // … defer func() { if closeErr := v.Close(); closeErr != nil { err = fmt.Errorf("while closing %w: %v", err, closeErr) } }() // …

When you’re writing something trivial/pure, Go’s error handling is fine, if maybe a tad bit verbose, but it quickly becomes nightmarish when you start to do nontrivial things that are typical for systems programming.

FWIW I love Go, it’s my daily driver for most things. I still think it can get messy far too quickly
by MathMonkeyMan | 2025-06-04 02:40:32+00:00
One of Rob Pike's talks convinced me that the tendency to add features from other languages causes languages to all resemble each other. It's not a bad thing, but it's something to note. Consider the alternative: What if we had different languages for different tasks, new languages appearing from time to time, rather than accreting features onto existing general purpose languages every few years?

He also made the point that if you have two ways of coding something, then you have to choose every time. I've noticed that people disagree about which way is best. If there were only one way, then all of the same problems would be solved with the same amount of effort, but without any of the disagreement or personal deliberation.

Maybe Go should have exceptions beyond what panic/recover became, or maybe there should be a "?" operator, or maybe there should be a "check" expression, or some other new syntax.

Or maybe Go code should be filled with "if" statements that just return the error if it's not nil.

I've worked with a fair amount of Go code, but not enough that I am too bothered by which pattern is chosen.

On the other hand, if you spend more than a few weeks full time reading and editing Go code, you could easily learn a lot of syntax without issue. If you spend most of your career writing in a language, then you become familiar with the historical vogues that surrounded the addition of new language features and popular libraries.

There's something to be said for freezing the core language.
by ednite | 2025-06-04 02:41:32+00:00
Solid article and great advice in my opinion. One simple takeaway for me is managing well means being accessible to your team at all times. I completely agree that managers shouldn't encourage criticism of other team members, even by staying silent when it happens.

If you need to call something out, do it as a team, making yourself accountable as well. That keeps trust intact and avoids finger-pointing. Thanks for sharing.
by nchmy | 2025-06-04 02:42:50+00:00
you're right, 'con' was far too strong and unfair of a word.

They seem like decent enough people, but completely incapable of running a project like this. Which is what a significant portion of the non-profit world is made up of.

I don't think its all good though if someone donates to keep it alive - there's many FAR more worthy organizations to give money to, be it for plastic or any other cause. And, quite often, those that receive large amounts of funds are far better at marketing (or, worse, playing "the game"), than actually operating
by colechristensen | 2025-06-04 02:43:18+00:00
There are several candidate processes for restoring plastics into virgin materials. If we had an overabundance of very cheap renewable energy (like the excesses during daily peak solar production which are just characteristic of lots of solar) you can just tear the carbon into pieces by getting it extremely hot under high pressure to essentially create new crude oil and start from scratch. In the current world there are some promising enzymes that can tear apart polymers to return plastic to an earlier stage in production which makes it more or less fully recyclable without degradation, but these things are still under development.
by zarfeblong | 2025-06-04 02:43:24+00:00
SEEKING WORK | US/Boston area | REMOTE preferred

Portfolio: https://zarfhome.com/portfolio/

Github: https://github.com/erkyrath

Linkedin: https://www.linkedin.com/in/andrew-plotkin-775881355/

Email: zjob at eblong.com

General software dev looking around. Been writing code since the 1990s. I have a deep history in open-source interactive fiction, but that doesn't mean I'm looking for game jobs; it means I've worked on compilers for custom scripting languages, interpreters for same, virtual machines, porting all of the above between C/C++/Python and Web platforms. Linux, Apache, JS/Typescript/Node, ObjC, C#, a bit of Rust just to see. Interesting in building tools that people will use.
by pkaeding | 2025-06-04 02:44:06+00:00
Does grapheneos prevent this? In what way? I know apps like ShareViaHTTP [1] are able to open ports (listening not just on the loopback address). If I installed a meta app, could it still run its listener that scripts on webpages could talk to?

[1]: https://f-droid.org/packages/com.MarcosDiez.shareviahttp
by dlcarrier | 2025-06-04 02:44:16+00:00
What do they mean by "containerized"? I can't find anything explaining what that means. All I can find is descriptions of New York switching from trash bags to dumpsters, but that's long been normal in the rest of the US, as well as much of the world. What are they doing that no other US neighborhood is doing? the article mentions that the dumpsters are locked, but that's normal anywhere with a large bear population.
by bhaney | 2025-06-04 02:46:36+00:00
Honestly I don't think it would be that costly, but it would take a pretty long time to put together. I have a (few years old) copy of Library Genesis converted to plaintext and it's around 1TB. I think libgen proper was 50-100TB at the time, so we can probably assume that AA (~1PB) would be around 10-20TB when converted to plaintext. You'd probably spend several weeks torrenting a chunk of the archive, converting everything in it to plaintext, deleting the originals, then repeating with a new chunk until you have plaintext versions of everything in the archive. Then indexing all that for full text search would take even more storage and even more time, but still perfectly doable on commodity hardware.

The main barriers are going to be reliably extracting plaintext from the myriad of formats in the archive, cleaning up the data, and selecting a decent full text search database (god help you if you pick wrong and decide you want to switch and re-index everything later).
by kendallpiccolo | 2025-06-04 02:47:31+00:00
Kendall Piccolo

I’m currently looking for a Frontend or Marketing/ SEO role with a strong focus on Frontend development. Most recently, I’ve led web projects for companies like NCR and Northwestern Mutual, building responsive, user-friendly interfaces and custom workflow solutions using HTML, CSS, JavaScript, and Python. I also have experience managing SEO strategy and social content campaigns, combining development with marketing insight to drive results.

Locations: I’m interested in remote roles or positions located in Atlanta, Georgia or nearby cities.

My technical skills include JavaScript, Python, SQL, HTML, CSS, React, WordPress, AWS, Jira, GitHub, SEO tools like SEMrush, Hubspot, Google Search Console, and design tools such as Adobe Creative Suite.

Email: kendallpiccolo20@icloud.com

Website:https://kendallpiccolocom.wordpress.com/

Résumé/CV: https://www.canva.com/design/DAGovf3FCbY/x7sLk2nDJ-2kzpeUXd9...

LinkedIn: https://www.linkedin.com/in/kendall-piccolo-076b6319b?utm_so...
by const_cast | 2025-06-04 02:48:44+00:00
Right, we have various add-on solutions because the core problem is unsolvable. How do you identify every person in the US? You can't, SSN is the only way to even try to do that. But SSN is just a number. No picture, no description, no renewals, no nothing.

So then we bolt-on these solutions to try to get it to work. The issue is we have multiple costs here - we have to balance security, but we also need to make sure customers can get their money most of the time they need to.

I recently signed up for Apple Enhanced Data Security or whatever it was called. It made it very clear that if I lose my password, my data can never be recovered. Ever. No email address can help, no recovery mechanisms. It's sealed and done for good. I'm tech-savvy and I can live with this. Can Nana? For my money, no.

We do things like security questions because they're easy and people understand them, and people use them all the time to recover accounts. Same reason we do SMS - everyone has a phone. These are imperfect solutions because perfect solutions have other issues. How many people will be locked permanently out of their bank account? How will the bank deal with those lawsuits?
by eru | 2025-06-04 02:49:57+00:00
Now you are mixing things up.

> It is far from trivial to work out what problems they can and can't solve.

Yes, and I am exactly saying that if you want to talk about explicitly finite machines, you need more sophisticated concepts. Formally defined 'computability' (with the usual definition) is a silly notion for these finite machines, because it captures nothing of the subtlety. It's trivial for finite machines. Trivial concepts are seldom useful.

The standard formal definition of computability doesn't care about your finite human life. Similar for the standard formal definition of 'regular language' etc.

It seems like you are agreeing with me, but don't really know the terms very well.
by kiitos | 2025-06-04 02:50:09+00:00
> Rust was designed smarter from the start

I guess this makes it pretty clear that there's no useful conversation to be had with you on this topic.

> (In point of fact you shouldn't use fmt.Errorf if you're serious about errors either; it cannot be usefully inspected at runtime. You want an explicitly declared error type for that.)

You don't need a discrete error type to allow callers to inspect returned errors at runtime -- `fmt.Errorf("annotation: %w", err)` allows callers to check for sentinel errors via `errors.Is` -- which is the overwhelmingly most common case.
by cyberax | 2025-06-04 02:50:28+00:00
Sigh. They failed.

Dudes, error handling is THE worst part of Go. All of it.

And not just the lack of the "?" operator. It's also the lack of stacktraces, the footguns with nils-that-are-not-nil, problems with wrapping, the leakage of internal error messages to users (without i18n).

Literally everything. And you're just shutting down even _discussions_ of this?
by spark_CM | 2025-06-04 02:50:47+00:00
ChartMogul (https://chartmogul.com )| Remote | Full-time

Since 2014, we have been building the leading Subscription Analytics Platform for growing SaaS businesses and CRM purpose-built for B2B SaaS teams. We're a remote-first company with 65 team members across 23 different countries. Profitable and self-sustaining since our seed funding.

What we accomplished in 2024: https://chartmogul.com/blog/chartmogul-2024-year-in-review/

Tech Stack: Ruby, Ruby on Rails, Vue.js, Typescript, Postgres, AWS

---

Sr Full Stack Engineer: https://jobs.chartmogul.com/o/senior-full-stack-engineer-del...
by muzani | 2025-06-04 02:51:03+00:00
An alternative is voice. I'm not trying to shill AI here; STT has been around for decades and it was one of my productivity hacks ten years ago.

But with all the AI around these days, the error correction is a lot better, and I'd expect more OSes can be fully voice operated within 5 years.

The tech also exists to move things around with a hand e.g. https://youtube.com/watch?v=shnW3VerkiM
by DiabloD3 | 2025-06-04 02:51:24+00:00
I have not read this for like 20 years.

It's still as good and as absolutely batshit as I remember.

A lot of commenters here talk about how its "problematic" or "squick", but that's mostly the point: this isn't a story about the Singularity, even though the PI is a main character in the cast, instead, it is a story about what happens to morality if death is no longer achievable from the perspective of a character that takes it to very extreme.

If you're uncomfortable with the story, fundamentally, you're uncomfortable with what humans can do/could do/have done with insufficient moral constructs in place. Which... ultimately is the correct response, I guess? The story doesn't hold any punches, it doesn't hold your hand, how you feel about after you finish it is up to you.
by enzojean | 2025-06-04 02:52:51+00:00
The goal on MonsterUI is just to make creating UI in fasthtml easier. Sometimes that means using HTML in a 1:1 mapping. If HTML does something great, it just uses that directly as you see with `Table` and implements helpers like `TableFromDicts`.

But sometimes it means syncing themes between frameworks. Sometimes it means server side markdown rendering. Sometimes that means integrations with 3rd part APIs like dice bear and picsum. And sometimes it means high higher level components such the `NavBar` component.

Totally fine if that's not to your taste, but there's nothing being misrepresented in the article AFAICT
by const_cast | 2025-06-04 02:53:13+00:00
I don't think this is the sole reason why, I think private sector inefficiency is a big reason why, too.

We have an extremely fragmented system that breeds inefficiency. Thousands of insurers, so hospitals have hundreds of billing specialists. Thousands of plans, so the complexity of what is and isn't covered explodes beyond belief. There's no streamlining, no centralization, no authority. Just bickering and "erm, ackshually" from every party. Every interaction has extremely high friction that comes with a massive, fragmented system.

It's like a microservice architecture with thousands and thousands of microservices. Except their contracts aren't always published, sometimes you need to call them on the telephone. And sometimes you just have to try requests and see if they get denied.

Also, I think a CT for head injury is fairly standard practice. I think they do that in Europe. Anyway I had some pain somewhere inconspicuous once and it was cancer, so. I don't think the issue is we image too much.
by kentich | 2025-06-04 02:53:31+00:00
I use an app I built called Black Screen (https://blackscreen1.com/). I usually start from setting it up to make my screens black every 30 minutes. I decrease the interval when I feel tired. Sometimes it's down to 10-15 minute intervals when I feel exhausted and can't focus. Breaking up my work sessions into intervals helps me a lot. I decrease the interval down to time period I feel I can hold my focus with no distractions.
by NAHWheatCracker | 2025-06-04 02:53:51+00:00
Regarding the customer, who knows? Unless they reply to you, you're guessing. It could be a legitimate case of a stolen card or they could deliberately trying use your service without paying. In this case, it sounds like you should indefinitely disable that user unless they explain.

Regarding the bank, I assume they will almost always side with the customer, lest they lose their business. There's no nuance, they aren't going to spend much time understanding your logs because there's no upside for them.

Regarding Stripe, I assume they are mostly passing along costs.

Given your chargeback rate, I don't see why you should lose any sleep over this, it's a cost of doing business.
by renewiltord | 2025-06-04 02:54:30+00:00
Nah, at the point where people with accommodations average better than people without on the LSATs I can tell what’s going on. It’s unsurprising that people on a high-grade stimulant do well on tests.

Besides I know better because I did the natural thing. I read the DSM V guidelines for diagnosing ADHD, provided the appropriate information, and got myself a diagnosis for it and a prescription for Adderall.

I’m sure you guys have all the theory-crafting but I did the thing. So if you guys think there’s suddenly a huge burst of people getting this illness in states that reward it, boy do I have a bridge to sell you.
by MBCook | 2025-06-04 02:54:52+00:00
I really like it. It feels clean to me and easy to read, but has great async and other modern features. A bit like a compiled TypeScript without all the baggage that comes from JS’s existence.

It has its issues in places, mostly the compiler, but I love getting to develop in it.

I suspect you hear less about it because it’s no longer new and the open source community doesn’t seem to care about it that much, unlike Rust.

It still seems to be viewed as “the iOS language” even though it can do more than that and is available on other platforms.
by geodel | 2025-06-04 02:55:22+00:00
Once Amazon CEO was asked about new competitors trying to create cloud infrastructure fast. His reply was "You cannot compress experience"

Saving few weeks or months by learning 3rd party technology instead of applying and improving first party technology would be amateurish.

> However, that shouldn't pretend like there was nothing to do to make Java better.

This seems like constant refrain that Apple or anyone choosing their own tech over someone else's owe absolute fair shot to stuff they didn't choose. This is simply not the way world works.

Yes, there are endless stories companies spending enormous resources to optimize Java stack even up to working with Core Java team at Oracle to improve on JVM innards. But those companies are just (although heavy) user of core technology rather than developer of competing one. Apple is not one of those users, they are developers.
by xmprt | 2025-06-04 02:55:36+00:00
> The line about being at peace with the project dying seems bizarre

Perhaps it's just me but this was the line that made the most sense to me. If a non-profit thinks they've achieved their mission, or at least that they don't have a good plan for next steps, then the most sensible thing to do is to close shop rather than to spend money unnecessarily.
by tyleo | 2025-06-04 02:55:42+00:00
On balance I really like this advice. However, I think there are times when bad or lacking behavior is most appropriately called out privately. Providing critical feedback publicly is often a bad idea unless you’ve done a dress rehearsal.

IMO it is appropriate for managers to work with subordinates to help them level up other members of the team. That’s pretty delicate and usually happens by first acknowledging that someone is falling behind privately.
by water_badger | 2025-06-04 02:55:47+00:00
Yeah, figuring out a good structure really helped!

The basic insight is that you can iterate like this without losing coherence and starting to generate artifacts from feedback loops and overfitting.

I also figured out you get much better responses if you ask it to write prose responses instead of bulleted lists. It's kind of navigating semantic latent space so if you ask it to respond in different styles (like prose + free verse + anglo saxon poetry style) I think it helps it cover a lot more ground.

Asking it about qualia+feelings+thoughts about the 10 answers in a debrief afterwards seems to be a good procedure too.

I think treating it respectfully does have a big objective impact in the prompt result.
by sillystuff | 2025-06-04 02:55:53+00:00
I'll second the steep learning curve for the twiddler. I never got up to a typing speed on it that was not horribly, frustratingly, slow. But, I only needed it for a couple months.

Like OP's relative, I also could not use my dominant arm, nor have my arm in a position that would allow typing one handed on a regular keyboard. The twiddler was the only commercially available option that I was able to find that would allow me to type in this state. So, another recommendation of twiddler, but with the caveat that the original had several warts, and while they appear to be redesigned, they may still suffer from some of them.

The velcro strap to hold it to the hand, combined with the shape of the keyboard, allowed it to shift position while typing making it harder to use. Photos of the current models show they have a different shape now. Maybe this is less of a problem now? They are also wireless now, so there isn't a wire constantly pulling it out of position whenever you move.

The keyboard markings rubbed off completely after only a few weeks of use on my OG twiddler. Hopefully they have worked that manufacturing issue out for the current models.
by roxolotl | 2025-06-04 02:56:14+00:00
There’s a fun study from ten years ago modeling out what this looks like with hurricanes. Not particularly likely to ever happen but it’s a fun read. One of the things that surprised me is the authors assert that you don’t have to worry about building especially strong turbines because they progressively sap the energy of the storm as it approaches meaning the eyewall wouldn’t be as bad.

Study: https://www.nature.com/articles/nclimate2120

Article: https://www1.udel.edu/udaily/2014/feb/hurricanes-wind-turbin...