MurphyA/hacker-news huggingface dataset:
by ImPleadThe5th | 2025-04-11 07:27:17+00:00
Glass bottles are ubiquitous as is Public drinking in Germany. They have a pfand program that gives money for recycling bottles where the bottles are literally cleaned and refilled not melted down.

So either, you return the bottles for some pocket money or you leave the bottle by a trashcan for someone (usually a homeless person) to collect all the bottles and make a few bucks for food and a shower.

It's actually a bit taboo to smash a bottle because of this.

Beautiful cyclical economy.
by Cthulhu_ | 2025-04-11 07:28:56+00:00
? No, this removes some magic default behaviour; if the outline is broken, the website you're viewing uses default styles and relies on behaviour that was removed in 2022. It's better to take ownership of styling instead of relying on defaults, this has been true since... the 90's?

The algorithm changed the visuals of headers used in semantics, that is, H1's in lower sections. But software beyond browsers like screen readers would need to add support for this logic too, so that H1's in a section were semantically treated as a H2.
by zzrrt | 2025-04-11 07:29:21+00:00
If this had happened, wouldn’t people say the result was not legitimate because they didn’t win real primaries, the donors easily gamed the mini-primary, etc? Maybe they were screwed as soon as anything unusual happened, and/or some people will find any reason to say Dem insiders play favorites, any reason for Trump to keep “Sleepy Joe” as his opponent.
by kreetx | 2025-04-11 07:29:47+00:00
Yup, this way you can skip the shebang line for your scripts in some arbitrary language.

I have it set up for Haskell (it's somewhat hackish): there is preconfigured haskell project in a certain location with desired dependencies, imports, etc., so when executing a .hs file this file is copied into that as Main and ran. A similar setup will work for any language.

Edit: `cabal` and `stack` both have script commands now, so these would be an alternative to the above, downside being that every such script would need the shebang intro with dependencies, etc.
by bradac56 | 2025-04-11 07:32:11+00:00
Nokia hasn't made an Eseries phone since 2011 and Symbian OS hasn't been updated in a long time it also has no real app store.

While that helps I wouldn't pretend that makes it's encryption all that great it's old. They can clone the OS, stick it in a FBI database and break it anytime they decide it's worth going after.

The best defense is just don't take your personal phone anywhere near a 5-eyes border patrol area. This isn't just about the USA, it's even easier to take your phone in a western EU nation than here.
Show HN: Fanagrams – The (Fake) Anagram Challenge
by anondog123 | 2025-04-11 07:32:39+00:00
I just launched Fanagrams, a fast-paced challenge that puts your word skills to the test.

Every round serves up a real word, and your mission is to sift through a handful of (fake) anagrams to pick the correct one. But here's the twist: you only have as many seconds as the word has letters!

If you’re into quick puzzles, wordplay, or just love a challenge that keeps you on your toes, give it a try!

Would love to hear your thoughts and ideas for making it even better. Happy (fake) anagramming!

https://fanagrams.vercel.app/
by relistan | 2025-04-11 07:33:25+00:00
Have been using it in production for years for small projects. But also have a current, larger project in it that is going well. A few years ago I built a high throughput (20k shortens/s) link shortener for work, in Go. I later rewrote the main path in Crystal to test it for performance. It was a bit faster than the Go version (22k/s) on the same infrastructure… but running on a single core! We did not finish/ ship it, but it was revealing.
by Animats | 2025-04-11 07:33:42+00:00
There's another way to do it. Here's a teardown of a classic Nokia "brick" phone.[1] That's designed for automated low-cost vertical assembly. The case provides the basic structure, and everything can be put into the case with a vertical push. There are no internal wires to connect. There are simple machines for that kind of assembly. Then everything gets squeezed together, and you have a hard block of an object that's hard to damage.

If you can design something which can be assembled in that simple way, high-volume manufacturing can be automated cheaply. Smartphones are not built from parts intended to be assembled in that way, but that's a decision based on cheap labor, not one that's inherent in smartphone design.

Design for assembly was more of a thing when manufacturing was in the US. The Macintosh IIci was designed for vertical assembly. Everything installed with a straight-down move. The power supply outputs were stakes that engaged clips on the motherboard. No internal wiring.

Then Apple gave up on US manufacturing.

[1] https://www.youtube.com/watch?v=7xglr0Zy8s8
by bad_user | 2025-04-11 07:34:42+00:00
I don't find that very funny. It's interesting to see what AI can do, but wait a month or two and watch it again.

Compare that to the parodies made by someone like "Weird Al" Yankovic. And I get that these tools will get better, but the best parodies work due to the human performer. They are funny because they aren't fake.

This goes for other art forms. People mention photography a lot, comparing it with painting. Photography works because it captures a real moment in time and space; it works because it's not fake. Painting also works because it shows what human imagination and skill with brushes can do. When it's fake (e.g., not made by a human painting with brushes on canvas, but by a Photoshop filter), it's meaningless.
by Cthulhu_ | 2025-04-11 07:35:22+00:00
That kinda blew my mind too, I'd expect the complaint to be about needing to use some online review tool. Editing the asciidoc source directly sounds archaic, and I was expecting the authoring / editing world to have had 'code review' style software years before the software development world did.

I mean all mainstream word processing applications have a 'commentary' / 'review' mode where someone can leave comments and suggest edits.
by eschaton | 2025-04-11 07:36:42+00:00
Cross-platform frameworks are inevitably crap. If you really need to run an application on multiple platforms, write a cross-platform core and implement the human interface atop it for each platform using each platform’s native frameworks and languages.

The result is always a better product with happier users. If you don’t want to invest in that, you should at minimum be willing to admit to yourself that you’re OK with giving your users something subpar because it’s to your advantage to do so.
by steelegbr | 2025-04-11 07:37:18+00:00
As someone who's been involved with radio and occasionally podcasts for about 20 years... I'm struggling to see the benefit of this one. Yes, prep services have existed in the past and I'm sure continue to exist today. Xtrax rings a bell from years gone by.

But honestly, if you're going to be interviewing someone and the content is going to be engaging, you can't just fly from some LLM output. Talking to a politician you're going to need knowledge of their past actions, figures to challenge them on, etc. For music guests, a bit of knowledge about the band, key figures and moments throughout their story. I'd hope anyone using the LLM crib sheet is also being reactive to what their guests say (e.g. "you touched on X but when you were Chief of X...").

Interviews aren't my strength but I'd be wary of such a service. Combined with the usual AI hallucinations it could be quite the entertaining car crash.
by mandmandam | 2025-04-11 07:37:37+00:00
> the physical reality hasn't really changed that much

It sure has. We've lost a significant proportion of the other species on earth in the span of a few decades. For just one example of many, "69% decline in vertebrate populations globally since 1970." (WWF Living Planet Report, 2022 [0])

The current extinction rate is 100 to 1,000 times the natural background rate.

Half of all coral reefs have died since 1950, and entire marine food chains are collapsing.

There's been a 75% decline in flying insect biomass in parts of Europe over 30 years (Krefeld Study, 2017). 1 in 6 bee species have gone regionally extinct.

1.3 million sq km of forest have been destroyed since 1990; the size of South Africa. Now Trump is talking about logging National Parks and cutting down a California sized amount of trees.

96% of all mammal biomass on Earth today is humans and livestock.

I could go on, but, I think the point is made.

0 - https://www.worldwildlife.org/press-releases/69-average-decl...
by alienthrowaway | 2025-04-11 07:38:23+00:00
Gcc is the flagship of the GNU Project - allowing an endrun of the the spirit of the GPL in gcc was never going to happen. The project paid more attention than you give them credit for because allowing closed source plugins and improvements that use gcc as a frontend is anathema to Free software.

There's an impedance mismatch between people who think gcc should have maximized user utility vs. the actual GNU philosophy. The actions of the gcc project make a lot of sense if you consider the FSF/GNU are monomaniacal about maximizing users freedoms, and not popularity, momentum or other ego-stroking metric.
by palata | 2025-04-11 07:40:55+00:00
> I’m somewhat a fan of systemd

As in: "you've tried alternatives and you really think that systemd is superior", or as in "you don't see why people complain about systemd and its philosophy"?

Genuinely interested, because usually people I hear say that they don't see the problem with systemd don't really have experience with the alternatives. Which makes sense: people who like being able to use alternatives tend to get screwed by systemd :-).

Edit: for those downvoting, this is a genuine question. I mostly hear opinions from people who hate systemd, and those who don't generally just don't really care: "I've always used systemd and I haven't had issues". But the latter group wouldn't call themselves "fans of systemd".
by bob1029 | 2025-04-11 07:41:05+00:00
I sometimes get delays out of chatgpt that make me wonder things like "is the router for their MoE models a person or a computer?" How long would it take a person to put a summarized prompt into one of ~100 bins? What if it only involves the human .001% of the time, presumably in cases of low confidence out of the classifier?
by Skeime | 2025-04-11 07:41:34+00:00
Trying to shoehorn this onto the existing headings was a mistake. They should have introduced a new <h> or maybe <ha> (heading-automatic) element for this. Plus, support in the form of a CSS pseudoclass like :heading(n), which matches <hn> headings and <h> elements nested in n articles/sections/..., would have been great.

Essentially, it was hopeless to expect that designers would adapt their stylesheets to style headings based on the number of sections surrounding them. And if the visual styles don't adapt, nobody will use the outline algorithm to choose their headings.

(Which is sad, because the algorithm makes content nicely nestable. With the algorithm, I can take an article that was independent and use it as a section in a larger work, and the headings will automatically adapt. Though, as a pet-peeve of mine, nested IDs would also be somewhat necessary for this, so that it's fine to have two embedded articles which both have a section with an ID #introduction.)
by Justin3go | 2025-04-11 07:41:58+00:00
The author has compiled a comprehensive guide to GPT-4o image generation styles, covering a variety of unique artistic styles and application scenarios. It mainly includes:

Classic Art Styles: Ghibli Animation Style、Cyberpunk Style、Watercolor Style、Oil Painting Style、Ukiyo-e Style, etc.

Modern Creative Styles: 3D Chibi Characters、Hand-drawn Sketches、Pixel Art、Low Poly、Hand-drawn Highlight Information Cards, etc.

These styles can be applied to various practical scenarios such as brand design, avatar generation, children's picture books, and product prototypes. The article also shares four secrets to discovering new ways to play: using search engines, social media, professional platforms, and reverse analysis. Through these methods, users can continuously explore and innovate, enhancing their prompt usage skills to create more unique visual effects.
by mandmandam | 2025-04-11 07:43:44+00:00
Compare wages to productivity [0]. Or compare the rise in wages to the rise in housing costs [1].

The vast majority of the gains in productivity have been captured and funneled upward.

0 - https://assets.weforum.org/editor/HFNnYrqruqvI_-Skg2C7ZYjdcX...
by nottorp | 2025-04-11 07:45:12+00:00
> that's a win for non-English users of the command line

I am non english. I use ăâîșț. When writing a text document for humans.

I also use :) but not .

I'm still of the opinion that anything not 7-bit ascii doesn't belong in something that may be machine processed. Which includes compiler output.

Edit: hey, HN erased my emoji. The dot was supposed to be the :) emoji style.
by fsflover | 2025-04-11 07:46:12+00:00
> Instead of preying on the goodwill of FOSS enthousiasts, they now try to tap into a new market (nationalism)

Designing and selling the only existing phone made in USA, when everything is produced in China and has a risk of containing backdoors, is as far from nationalism as it gets. (And I'm not an American.) It's true innovation and an offer of a peace of mind for activists and journalists. Even though the USA turns into something bad, the phone runs an FSF-endorsed distro and provides schematics, so you can verify everything yourself (or rely on the community). You comment looks disingenuous to me.
by fhd2 | 2025-04-11 07:46:47+00:00
Well, what's a tool? I would say:

1. It solves a problem. Doesn't have to be a completely unsolved problem, can just be a new solution. Or even just new packaging on an old solution. But it needs to solve some kind of problem.

2. It's trustworthy. Some people get a tool to suite their own process. But the majority, from anecdotal evidence, will adopt the tool's process. There's this idea that "these guys know how to do invoicing so I don't have to think about invoicing if I use their invoicing tool".

3. It's known. A bit philosophical, but if something exists that nobody _knows_ solves a problem they might not even know they have, how much of a useful tool is it, really?

DropBox is an interesting example. It wasn't exactly a major scientific breakthrough, and a lot of people asked "why don't people just use FTP?". If you focus on (1), DropBox looked close to pointless. But what they did is nail (2) and (3).

Now, if you subscribe to the hype, you might argue (1) and (2) will soon be covered. AI will magically solve your problem and be a universal domain expert telling you what to do, so you don't have to think about it. You might also argue that it will magically solve (3), with stuff like Gemini Live kinda watching you all day and constantly going "let me tell you how to do that" or "let me do that for you".

Seems unlikely to me. Not impossible, most things I can think of are theoretically possible. Just unlikely. And if you think even just _one_ of those three aspects can't be fully automated in the near future, there's still plenty of opportunity left to differentiate in that area.

I think generative AI does unlock a new generation of startups, because it's genuinely new technologies that we can find at least some valuable use cases for. And an army of startups tends to be better at quickly exploring a new solution space than a few big incumbents. So in that sense, it is similar to smartphones, which also brought a new solution space, and with it, startups.
by anovikov | 2025-04-11 07:48:43+00:00
I think it will just take more time than people anticipate. Like 2-3 generations. But it will come back even if only because China's days are limited due to demography. Tariffs or not, but in 50 years it will be very difficult to make things there because they will have acute shortage of workers. Not qualified workers, but any workers. Those who start working on reshoring sooner, will win - regardless of politics. China has it's end already baked in and there is no way for it to bounce back, so everyone has to start preparing.
by Mawr | 2025-04-11 07:49:00+00:00
Sure, here are the two Go/C-style formatting options:

fmt.Sprintf("This house is %s tall", measurements(2.5)) fmt.Sprint("This house is ", measurements(2.5), " tall")

And the Python f-string equivalent:

f"This house is {measurements(2.5)} tall"

The Sprintf version sucks because for every formatting argument, like "%s", we need to stop reading the string and look for the corresponding argument to the function. Not so bad for one argument but gets linearly worse.

Sprint is better in that regard, we can read from left to right without interruptions, but is a pain to write due to all the punctuation, nevermind refactor. For example, try adding a new variable between "This" and "house". With the f-string you just type {var} before "house" and you're done. With Sprint, you're now juggling quotation marks and commas. And that's just a simple addition of a new variable. Moving variables or substrings around is even worse.

Summing up, f-strings are substantially more ergonomic to use and since string formatting is so commonly done, this adds up quickly.
by imtringued | 2025-04-11 07:49:43+00:00
The problem is that you need to validate every potentially written niche after an unsafe block.

There is no generic way to re-validate structs in a bounded address space. You'd need something akin to a garbage collector that traces references at fixed offsets including type knowledge. This is not completely infeasible since Rust has a lot of information at compile time to avoid checks, but the extreme cases where people are writing to complicated graph like structures inside unsafe {} can realistically only be dealt with through tracing all safe references that lie inside the bounded address space.

In practice it will also be a struggle to sandbox C code into a small enough CHERI style address space so that you don't have to check literally your entire computer's memory after an FFI call.

It's not the enums that are the problem. unsafe can break anything if you are determined enough.
by silverr | 2025-04-11 07:51:30+00:00
As someone who reads a lot on Kindle and also on paper, I was always frustrated by how messy it was to manage highlights—especially the My Clippings.txt file. So I decided to build a simple app for myself, and ended up publishing it in case others find it useful too.

It’s called Book Highlights and it lets you:

• Import highlights from Kindle using My Clippings.txt

• Create and manage your own personal book library

• Add quotes manually or scan them with your phone’s camera

• Sync everything across your Apple devices via iCloud

I tried to keep the interface clean and minimal, just focused on helping readers organize and revisit their favorite quotes. If anyone here gives it a try, I’d love to hear your thoughts or feedback!
by stevenwoo | 2025-04-11 07:52:40+00:00
Maybe the first half of the book, the second half sells her company’s services really hard, very much aimed at customizing for each patient and staving off common American health problems. She has some tests not in the standard blood screens she thinks should be in there to give you personalized nutrition advice, she does reference Robert Lustig’s work and research a lot in first half.
by miladyincontrol | 2025-04-11 07:53:03+00:00
Blatantly not the person you're asking, but once you go past basic service management trying to do it just about anywhere else is an absolute and total nightmare. People who have major problems with systemd more than anything just ever seem confused, often vastly overestimating systemd's actual scope.

The reality to many is its the simplest simple way to handle some very complex tasks, and the vast majority of it is still all so very very much optional even in the most 'systemd heavy' distros.
by admissionsguy | 2025-04-11 07:54:06+00:00
(This is NOT a sarcastic comment) Yes, everything else being equal, describing our company as AI Agent for X made it investable and not seem out of place among all the AI Agent for XYZ companies. You don't need to do "agentic" stuff to get value from AI agents. It's honestly a bit gauche to start a company in 2024/25 and not call it an agent.
by rob74 | 2025-04-11 07:54:52+00:00
The modern equivalent of this would be a one-line change in a codebase that fixes a significant issue. If you then log three days of effort on the ticket, people may also start questioning that, but:

Changing a line: 1 minute

Knowing which line to change (which includes making sure that the change doesn't break something else): 23 hours, 59 minutes
by heavensteeth | 2025-04-11 07:56:04+00:00
I'm not sure I'd appreciate this feature. When I used LLMs I found conversations got more difficult the longer they went on - I'd ask one question, then another, and it'd try its best to answer the latter in the context of the former in a way I didn't intend. I used new chats as an explicit way to escape this. I also created new chats when I felt the LLM was going down the "wrong path" or generally interpreting things obtusely.
by relistan | 2025-04-11 07:56:40+00:00
O’Reilly author here. Seems the author stumbled over pitching them the book. You can almost certainly start with an email. Our initial contact with O’Reilly was only an email. We filled out a small form later with the details of the proposal, but it was not laborious. I can also attest that their tooling is great. From any git commit I can generate a full version of the book in any of its supported formats. I wrote all of my part of the book in vim.
by mschuster91 | 2025-04-11 07:56:55+00:00
> If a US company produced phones at Samsung volumes, the price would come down.

The problem is, there are no Western manufacturers left that have the brand loyalty to bring such a large volume of purchases to the table.

The giants are so giant, it's almost impossible to compete with them in the consumer mass market. The only way you can outcompete the giants is by focusing on tiny small niches where consumers are willing and able to pay a premium - the government (auditable supply chains) and eco-progressives. That's where Tesla started, that's where Purism and Frame.work live.
by mullingitover | 2025-04-11 07:57:27+00:00
> we absolutely cannot keep shifting them week to week

We absolutely cannot create the expectation that we plan to get what we say we want: zero trade deficits.

If we even succeed in making the rest of the world believe we're going to do this it will be catastrophic. So much of the advantages the US enjoys rides on trust and goodwill, and zeroing trade deficits would wreck the world economy and destroy trust in the US dollar as a safe haven. Just like paying down the national debt would.
by sshine | 2025-04-11 07:57:39+00:00
Like the spinning silhouette of a ballerina, you can make it spin both ways.

You can see a sun with a house, and you can see a butt with an object penetrating.

But admittedly, it's pretty hard to unsee the butt once you think about it.

Surely some people knew right away the moment the logo came out of the designer's office.
by Symbiote | 2025-04-11 07:58:07+00:00
Judging by this article, in a country with fairly standard vehicles the lead time is at least 6 months. The price is lower though, £350,000. I saw recent prices from £250-650k while searching, depending what was purchased.

https://www.northantsfire.gov.uk/2022/05/17/new-engines-0522...
by tomcam | 2025-04-11 08:00:43+00:00
I came from a background that sounds a lot like yours. I didn’t get to go to MIT; I just taught myself, also during hard economic times. My way of getting jobs was learning skills that were difficult for most programmers so that having a degree wouldn’t be as important. I also applied only to places that interested me and where I thought I could contribute. Therefore, I applied to very few places. I have always thought that it is my job to be irresistible to a hiring manager. No one owes us a job.