MurphyA/hacker-news huggingface dataset:
by belter | 2025-04-02 12:08:45+00:00
I recently analyzed manufacturing supply chains, particularly in the automotive sector.

On average, establishing a new factory takes between 3 to 5 years. Tesla stands out as an exception. Its factory in China was built in just 2 years, and the German facility in 2.5 years. However, this is largely due to Tesla vertically integrated supply chain.

For most traditional automakers, certifying a new supplier alone can take several years. This means that if a new administration were to reduce tariffs mid-cycle, companies could find themselves locked into 3 to 4 year investments that ultimately make their products less competitive.

Even with a uniform 20% tariff, lower labor costs in countries like Mexico or China still make manufacturing there more attractive. Unless we’re talking about high value, low labor industries, like for example semiconductors or medical devices. Reshoring remains unlikely. The more probable outcomes are increased inflation and economic slowdown...

And this is without factoring in potential retaliatory tariffs targeting U.S. sectors like defense or aerospace. Imagine a scenario where Boeing is limited to the U.S. market, while Airbus continues to enjoy global access...
by weeeee2 | 2025-04-02 12:09:22+00:00
Are you sure it was '86? I was using IBM's BITNET in 88 from UMASS before Al Gore invented the Internet lol. Email took 2 days to go from Boston to London, passing thru a node in California before routing to the UK. I got on Usenet in 88 or 89, and had fun chats with professors at Caltech and elsewhere using the finger command and talk (with tee pipe to dev/tty and a file, so I can play back the whole session.) I am vague in my memory about how and when I went from being n BITNET to ARPANet/Internet, but I do remember Gore was busy promoting the Information Superhighway around that time, and it was the time the first iteration of excitement around neural networks was cooling off... Memories! Real Genius was a fun movie to watch and an inspiration for getting into lasers.

UPDATE according to ChatGPT:

ARPANET itself began in 1969 at a handful of research universities, so some US universities had access as early as the early 1970s. However, many institutions that didn’t have a direct ARPANET connection joined BITNET in 1981—a store‐and‐forward network that was easier and less expensive to join but often led to long email delays (sometimes on the order of a day or two, especially on international links). By the mid‑to‑late 1980s, with the emergence of NSFNET (which provided a TCP/IP backbone) and the broader adoption of Internet protocols, many universities transitioned from BITNET to the more immediate, real‑time connectivity of the Internet.

In other words, while ARPANET was available to some US universities from the early 1970s, widespread academic use via the modern Internet (with NSFNET and TCP/IP) really picked up in the mid‑1980s. The long delays you remember (such as a two‑day email from Boston to London) were more typical of BITNET’s store‑and‑forward mechanism rather than ARPANET’s near‑real‑time communications.
by mncharity | 2025-04-02 12:09:32+00:00
JSON, jsonc, json5, hcl, kdl, scfg, caddyfile... and that's just from earlier comments. After a brief search, puzzled, I ask: Is there really no more thorough comparison than wikipedia's[1]? No syntax-across-languages[2]? No design space characterization?

[1] https://en.wikipedia.org/wiki/Comparison_of_data-serializati... [2] https://rigaux.org/language-study/syntax-across-languages.ht...
by yeahmon4ever | 2025-04-02 12:09:36+00:00
Rare the moments in which you find a precision-like service to your needs. I have been struggling with creating PDFs with images, for the exact reasons you mentioned, I have been struggling to do it using 3rd party software as well. This website absolutely did the trick for me. I love the fact that in these times, there are individuals who actually spotting user's real pains and solves it. This is a fine example.

Two thumbs up, way up!
by drdec | 2025-04-02 12:09:50+00:00
> I'm aware of merchant transaction fees, but they're insufficient as an explanation. Just run the numbers.

I don't have to run the numbers, because I read the article where they did the actual research with real numbers, not your back of the envelope estimating, and they came to the opposite conclusion:

| This leads to our second hypothesis: High interest rates are necessary to recoup the high cost of rewards. However, our analysis shows this is not the case. Rewards expenses are more than fully covered by banks’ interchange income—fees collected from merchants based on purchase volume. On average, interchange income amounts to 1.82 percent of purchase volume, while rewards expenses are 1.57 percent.
by theGeatZhopa | 2025-04-02 12:09:52+00:00
you've read, that:

a. there are easy possibilities to poison the printed tracking code

b. the location of the printer is not trackable by default (but for sure can be added through drivers. But then, tracking will be the smallest problem)

c. there are laws what can be said and what not. Also, what is legal, free speech & thought, or, what is art, is defined. Other than that might give you problems. And it should. No one is above the law in a proper democracy, except your name is Trump of course.

so, you can print what you want. But if its illegal, than I'm glad you get the punishment. But, for being able to punish you, the executive needs your location and know it's been you. How can they find out it was you, other then with "caught in the act"? If they have enough hints who you are and for being able to locate you, then the tracking code is just an evidence that you produced it.

What if you use your neighbor's printer? What if you use the poisoning technique? Knowledge is all, when being a criminal. Others are not touched by that, and if, poisoning, old disposable printers or usage of neighbor's devices and the classical reproduction methods aka printing (industrial) are still tools, one can use. I don't understand the alarmism.
by fauigerzigerk | 2025-04-02 12:10:17+00:00
What I find hard to imagine is how the app should respond when synchronisation fails after locally committing a bunch of transactions.

Dropping them all is technically consistent but it may be unsafe depending on the circumstances. E.g. a doc records an urgent referral but then the tx fails because admin staff has concurrently updated the patient's phone number or whatever. Automatically replaying is unsafe because consistency cannot be guaranteed.

Manual merging may be the only safe option in many cases. But how can the app reconstitute the context of those failed transactions so that users can review and revise? At the very least it would need access to a transaction ID that can be linked back to a user level entity, task or workflow. I don't think SQLite surfaces transaction IDs. So this would have to be provided by the Graft API I guess.
by nunoarruda | 2025-04-02 12:10:48+00:00
Location: Portugal

Remote: Yes, remote only

Willing to relocate: No

Technologies: HTML, CSS, JavaScript, TypeScript, RxJS, Angular, Ionic, Cordova, Capacitor

Résumé/CV: https://nunoarruda.com/resume.pdf

Email: nuno@nunoarruda.com

Frontend Angular Developer and Ionic Developer Expert
by nunoarruda | 2025-04-02 12:11:19+00:00
SEEKING WORK

Location: Portugal

Remote: Yes, remote only

Willing to relocate: No

Technologies: HTML, CSS, JavaScript, TypeScript, RxJS, Angular, Ionic, Cordova, Capacitor

Résumé/CV: https://nunoarruda.com/resume.pdf

Email: nuno@nunoarruda.com

Frontend Angular Developer and Ionic Developer Expert
Show HN: Pets for Cursor
by bearware | 2025-04-02 12:11:47+00:00
I created an extension which adds a custom pet to your editor (Cursor/ VS Code/ Windsurf compatible).

https://github.com/blairjordan/codachi

As you type, your pet hatches, acquires XP and evolves.

A playing card is generated when your pet evolves.

All pixel art is original and hand/ mouse drawn.
by larodi | 2025-04-02 12:11:58+00:00
Insightful

I personally tried long runs with say writing a plugin for QGIS, but then I found it is better to actually personally write some parts of the code, so to remember it. Also advancing with smaller chunks seems to result in less iterations.

Besides, indeed, the whole concept seems to not work so well with ingenious stuff. The model simply fails to understand unless lots of explaining.

The LLM assisted tech writing though seems to benefit a lot from the cursor/cline approach. Here, more than anywhere else, a careful review is also needed.
by lesuorac | 2025-04-02 12:12:06+00:00
I disagree, the problem is the race to the bottom in advertising.

Drugs ads being able to show 30s of the one positive side effect and then spend 0.5s speed talking through all the negative ones is not a fair description of the drug.

Almost every product advertising being here's a celebrity (who has no idea how the product works) using the product without any real description of what the product does. Imagine a car ad that had to show you had to pump gas!? It's like one of the most common things you do with a car.

And other product advertising being 100% vibe based. We're the company of tomorrow! The fuck does that even mean?

Conceptually, you need advertising. How else will you learn about new technology? The problem is that current advertising only teaches you the existence of something and not what it does.
Show HN: Free Prompt Template Generator
by robinwarren | 2025-04-02 12:12:31+00:00
Hey folks. I've been creating reusable prompts for LLMs and finding there is often a need to drop in a load of different content every time. So... I created a simple tool which lets you paste in your prompt and generate a form someone can fill in to get a complete version of the prompt. Nothing too clever, but potentially useful if you are creating prompts to share with others, especially less technical users.
by ryukoposting | 2025-04-02 12:12:32+00:00
My teacher had a different solution to this exact problem. He ran the same test, but had us run it in the school's atrium, where we could drop objects a good 30 feet to the ground. It was a long enough drop that the stopwatches weren't as much of a hindrance. We destroyed a floor tile, but other than that, it went well to my recollection.
by immibis | 2025-04-02 12:14:24+00:00
> Do people really write `final` and are OK being aware that the field's value could still change after all?

The converse: people really write `field.setAccessible(true)` and are OK being aware that they are breaking another programmer's assumptions. That's the point of `field.setAccessible(true)` existing at all. It's monkey-patching.

Otherwise you might as well just delete the method and throw a `NoSuchMethodError` when someone calls it - nobody is calling `setAccessible(false)`

I have some experience hacking on Java Minecraft. Minecraft's code is what it is - take it or leave it. The more stuff you can do without modifying that code, the simpler the overall system is. If you can set a field with reflection then you don't need to modify that class to make the field public or non-final. In other words, monkey-patching. (Newer frameworks support more modification to Minecraft's own code with less effort, though.)

> This is not a good thing because interpreted mode is terribly slow. The JIT exists to make Java fast, and developers should not made this harder than necessary.

And it does that by being smart. It makes assumptions, compiles code given those assumptions, and recompiles it if they actually do not hold. For example, I expect that a method with a List parameter is most likely only ever called with one implementation of List, and the JVM knows this and will compile the method as if the parameter is ArrayList, and will compile the method for the specific implementation it sees in the first few calls, with a bail-out check forcing the method to be recompiled if it's ever not that implementation.

And if the JVM never sees a subclass of a certain class, it can statically dispatch all calls to references of that type, as if the class were final, even if it isn't marked final.

And, likewise, if the JVM never sees a write instruction to a certain field, except once in the constructor, it should be able to treat it as if the field were final, and avoid reloading it after method calls. If it loads a class with an instruction that writes that field, it has to recompile all those methods.

None of this should be news to the JVM engineers.
by pbronez | 2025-04-02 12:14:32+00:00
I like how the spec defines character classes by just passing the buck to Unicode

=====

Forbidden Characters

Forbidden characters are Unicode scalar values with general category Control, Surrogate, and Unassigned. Forbidden characters must not appear in the source text.

White Space

White space characters are those Unicode characters with the Whitespace property, including line terminators.
by linsomniac | 2025-04-02 12:15:19+00:00
One thing that really stuck out to me in the write speed graphs is the dropouts in the speed. The Maxell seemed to be the only one that didn't have them.

Back in the day my company had a regionally-slightly-popular Linux distro. Every couple months we'd burn 500-700 discs. We were small enough that it didn't make sense to mass produce, so we burned them ourselves.

We would occasionally get reports from people of being unable to read the discs, and so we went through ~6 months of investigation, test shipping to relatives, paying our customers to ship the discs back so we could check them.

Eventually I found that while every disc would validate by checksum of the entire disc (part of our burn process), if I tracked the time required to read every block, the discs that people had problems with would tend to have some spikes in the time it took to read some blocks. The drives we were using would read them, sometimes taking an amazingly long time to do so (like 30 minutes instead of 2), but users drives would just fail them.

Eventually I wrote a new validation process that in addition to the checksum used the timing information as well to determin if the disc failed, and at that point our failures in the field basically went to 0.

But, we got really sensitive to vendors of discs. Basically it was Taiyo Yuden or nothing. Some big brands would give us 20% failures to burn, where Taiyo Yuden was <1%.
by makingstuffs | 2025-04-02 12:15:21+00:00
If you like Indian food I’d say Swasthi’s Recipes is decent. A lot of what I have seen on there is similar to how my aunties in Punjab n aunties of my friends in UP make food/have taught me to make food.

https://www.indianhealthyrecipes.com/

Edit, if you’re veg also this site is decent:

https://www.vegrecipesofindia.com/
by crazygringo | 2025-04-02 12:15:28+00:00
No, because people usually do know what they want in terms of TV and movies. They've been watching their whole life and know exactly what they like generally and what they don't and what they're in the mood for tonight. This is precisely why Netflix's personalization is so key, because people won't consume whatever is in front of them. People even rotate between streamers precisely to watch the specific shows they love. You're denying people's agency. Streaming isn't IG or TikTok.

And no, TV isn't heroin or crack. And who on earth are you, or me, to judge what other people want to watch on TV? That's paternalistic and insulting. Next do you want to censor which books I can read?
by lesuorac | 2025-04-02 12:16:30+00:00
There's also sometimes a button for the "Printer Version" of the recipe which is very much no fluff.

Ex. Above all the fluff is the word "Print" in a yellow box [1] which takes you to a no fluff page [2].

[1]: https://www.seriouseats.com/buttermilk-vanilla-waffles-recip...

[2]: https://www.seriouseats.com/buttermilk-vanilla-waffles-recip...
by Eric_WVGG | 2025-04-02 12:17:16+00:00
It nails the period. When the article later talks about Coupland’s follow-up J-Pod, I think it’s important to note that the naivety that the book reacts to isn’t just his own, really the entire zeitgeist was like that. Hence the magnitude of 9/11 as a wake-up call.

Po Bronson’s “First $30 Million” is also a classic that seems to have been memory-holed.
by atq2119 | 2025-04-02 12:18:39+00:00
I actually agree with you, but the point is the balance.

Don't steal. Don't share embarrassing or humiliating information you may come across.

At the same time, there should be safety from prosecution overreach.

I ask for this mostly not for my current self but for "kids" (including young adults, e.g. college students) who are on a hacker journey in the original sense of the word. As a society, we should encourage rather than stifle that sort of exploration.
by mtlynch | 2025-04-02 12:19:02+00:00
The Waveshare e-ink display he's using is $172.99.[0] The one that jgrahamc used in a sibling comment is about $200.[1]

It's a shame that it's not easier to pull the e-ink displays out of used e-readers because you can buy old Kindles on eBay for about $20-40. I know you can jailbreak them and achieve something similar to OP, but it'd be neat if you could just drop the vendor's e-reader firmware entirely and run your own software.

[0] https://www.waveshare.com/product/displays/e-paper/9.7inch-e...

[1] https://soldered.com/product/inkplate-10-9-7-e-paper-board-c...
by crabbone | 2025-04-02 12:19:15+00:00
Not at all in the direction where I'd want a configuration language to go... The marginal "improvements" wrt' punctuation are just inconsequential.

I'd take Prolog without I/O and (some? all?) extra-logical predicates as configuration language. Maybe if there's a way to require recursion to terminate, that'd be great, but not essential.
by duxup | 2025-04-02 12:19:49+00:00
> The evidence they cited included his wearing of a Chicago Bulls hat and hoodie and a confidential informant’s claim that Abrego Garcia belonged to MS-13’s “Westerns clique” in Long Island, New York, despite having never lived there.

Some pretty flimsy evidence…

And all this time this guy was what? Working and being productive like anyone else…
by km144 | 2025-04-02 12:20:30+00:00
I think you're missing the value of rubber-ducking with the chatbot on a fairly well-defined/well-known problem in a somewhat specific/novel scenario—this is the vast majority of software development being done today.

Depending on the situation this can be invaluable. If you're experienced in the domain you probably know generally what you need to do but you might get a better result by reasoning through the best solution with the constraints and requirements you have. Or maybe you missed something obvious when you write out the full context—which is a required step for getting a good output from the chatbot, and generally isn't a required step if you aren't explaining your approach to someone else and you don't want to be rigorous.
by roxolotl | 2025-04-02 12:20:58+00:00
It doesn’t even have to necessarily be intentional lying. It is a strongly held belief that regulations are unfair and close businesses. Even many of those in favor of them think of them more as a bitter pill than as something that’s a genuine good. So everyone involved can just think “well if we do anything about this we’ll be out of jobs” and nothing will be done.
by flohofwoe | 2025-04-02 12:21:24+00:00
I think the problem in a nutshell is that it's not trivial(?) to build an executable on a modern Linux distro that links against an old glibc version number (and if it is trivial then it needs to be better communicated).

It is actually quite trivial when building with the Zig toolchain since you can simply append the requested glibc version to the target-triple (e.g. `-target aarch64-linux-gnu.2.xx`), but I think this doesn't work with regular clang or gcc (makes one wonder why not when Zig can pull it off).
by gorkempacaci | 2025-04-02 12:22:13+00:00
Tacton Systems | Multiple roles | Hybrid, Stockholm

Full stack Java, JavaScript / TypeScript

We make a Configure-Price-Quote SaaS for complex product portfolios. For example, one customer is Tetra Pak, that sells machines that build packaging (milk, juice, etc). These machines are like a two-story building with many variations, every aspect has to be well-defined and validated before it's ordered.

In our solution products can be modeled in detail with constraints, and during a sale options are chosen and validated, often visualized parametrically, pricing is done, and a quote is prepared. All based on the well-defined model.

It's a 30-year old company that started as a research startup, grew organically, and has a stable customer base. After a recent acquisition it's aiming to grow, therefore many positions are open. I started working here just a year ago, but I can say the work environment is healthy and relaxed, lots of competent people and everyone I interacted with so far have been very nice and professional.

Senior Software Developer https://careers.tacton.com/jobs/5313129-senior-software-deve...

Technical Lead https://careers.tacton.com/jobs/5591471-development-lead

Technical Frontend Architect https://careers.tacton.com/jobs/5714212-technical-frontend-a...

Technical Enterprise Architect https://careers.tacton.com/jobs/5591490-technical-enterprise...
by hnbad | 2025-04-02 12:25:05+00:00
I think "avoiding bias" is as non-sensical as a general concept as "fighting terrorism".

Bias is inevitable. You can avoid a specific bias - several even - but avoiding all biases is impossible as the mere decision of what data to include or exclude and how to present them will already introduce bias regardless of any bias that may already present in the data itself.

An obvious example of this is in "serious" journalism where apparently even in the absence of an obvious or explicit editorial bias there seems to be a widespread idea that when reporting on statements made by public officials and such it is "good journalism" to present them without any judgement on their factuality, not even by contrasting them with their context. Even if this has the negative effect of indicating to the reader by implication that a clearly incorrect claim is correct because it appears alongside genuine attempts at factual reporting without any indication of contradicting it. Presumably the ideological justification is that an educated reader will deduct from the facts presented whether the statement is correct or not, which of course completely ignores everything we know about propaganda and psychology (let alone media literacy).
by crazygringo | 2025-04-02 12:25:46+00:00
But voters would decide how much the embezzlement continued to matter, after she had already served time and paid a large fine. That would be the actual democratic outcome. Letting the people choose, as opposed to taking away their choice.

You, on the other hand, are presenting Marine Le Pen as a threat to democracy, presumably because you don't like the far right. But you're just one voter. Why not trust the electorate? Voters chose Giorgia Meloni and I don't see Italian democracy falling apart.

I'm not far right at all. I'm not even right. But I worry it's dangerous and will backfire to take choice away from an electorate because of some misuse of funds (that didn't benefit herself financially) that she is already being heavily punished for at a personal level. She's being punished. Voters shouldn't be by taking away their right to choose.
by axegon_ | 2025-04-02 12:25:48+00:00
There is one thing that could make this insanely valuable. The bad news is that this thing is outside your control: No phone that I know of ships with a LoRa chip. Though to be fair, the only reason why LoRa (and by extension LoRaWAN and Meshtastic) are reliable and robust is precisely because they are not common at all.