MurphyA/hacker-news huggingface dataset:
by dolmen | 2025-04-08 07:35:21+00:00
This gives me hope to ease running Go code for CI jobs directly from GitHub workflow YAML files using goeval [1].

However goeval doesn't yet have direct support for file input (only stdin), so shell tricks are needed.

So far the way is:

run: | go run github.com/dolmen-go/goeval@v1 - <<'EOF' fmt.Println("Hello") EOF

but this requires a bit of boilerplate.

Disclaimer: I'm the author of goeval.

[1] https://github.com/dolmen-go/goeval
by fakedang | 2025-04-08 07:35:51+00:00
> The American way is to possibly put too few responsibilities on manufacturers. The European way seems to be to saddle them with just too many regulations -- possibly killing so much innovation

Well that's what the European way is lol. Tax and regulate instead of focusing on the crux of the problem, which is overproduction and planned obsolescence. Any solution that uses taxes and extra charges will simply pass the costs onto the consumer.

I like the idea of putting the onus on companies to get rid of the product, but there should be a consumer onus too. Consumers should be discouraged from tossing everything to the landfill, and companies should be forced to collect the stuff they product after the lifecycle is complete. This might even drive the companies to revise their designs to use more recyclable materials.
by DeathArrow | 2025-04-08 07:35:52+00:00
I grew up in a poor Eastern European country which is not as poor anymore.

We repaired anything: worn out shoes, distressed socks and clothes. Even cooking pots were patched when they developed holes. Everything had very long lifetimes and those lifetimes were extended with periodic repairs.

Cars were rare and using parts of low quality made the break often. People repaired their cars in front of their houses or apartment buildings. Or on the side of the road if it broke there. Everyone carried big toolkits in their trunks and and almost any car owner or driver knew how to fix the car. If a tire ran flat, they had the tools to fix it on spot.

There were electronic repair shops everywhere. There were also other kind of repair shops.

If someone looked in the trash cans at the time, most of it was vegetable waste resulting from people cooking their meals.

It wasn't unusual to own a 30 years old car, a 20 years washing machine, a 30 year radio or a 15 year black and white TV, all being repaired lots of times.

Some mass market goods, or most of them, were handed down to the next generation as priced possessions.

Now, we repair next to nothing. We still repair cars, although many people sell their old car if it breaks and buy a new one.

PC, TV, washing machines, fridges, furniture get replaced in a few years even if it's in perfectly good condition.

Good got cheaper, although of uncertain quality and the wages got high so it's expensive to repair something even if you find a place to do it. If you buy a new bicycle and go to the repair shop two or three times it will cost you the price of a new one.

I am not nostalgic about it, and I don't think people should stick with old junk. But I do believe we need an equilibrium, goods should be of higher quality, easier and cheaper to repair. I dislike being forced to throw something away because it can't be repaired, even if such a repair should be simple and cheap in theory.

We pay less for good and we don't spend for the wages of repair technicians (almost none left) but since the goods are of low quality, have planned obsolescence built in and can't be repaired, we end up buying the same good two or three times so we spend more. While that might create jobs in China or other remote country, I as a consumer, care more about my budget and my quality of life.
by _blk | 2025-04-08 07:35:58+00:00
Nice. Thanks for sharing. So far I'm less worried about the content my kids watch than the ads that get injected. Even "kids ads" are horrible (by my standards.) SmartTube on androidTV gets rid of those for me and NewPipe on the phone. NewPipe also keeps playing when you turn off the screen and lets you adjust speed.. It is the better Youtube.
by eugengeist | 2025-04-08 07:36:04+00:00
SEEKING WORK | Germany | Remote or Hybrid (Germany for onsites) CV: Full CV and details on request Email: hackernews (at) eugengeist.com

LinkedIn: https://www.linkedin.com/in/eugen-geist/

Technologies & Skills: Software Engineering, Requirements Engineering, Data Modelling & Pipeline Design, Python, SQL, AWS, Azure, Kafka, DuckDB, Postgres, Airflow, PySpark, Clickhouse, API design (full list on request)

Experienced Engineer looking for Software / Data Engineering contracts.

I support you through all phases of the software development lifecycle - from planning and requirements engineering through development and testing until go live and maintenance.

8+ years experience in different industries (HFT, automotive, logistics, internet telecommunication technology, energy) helping customers to solve their problems.

As a seasoned software and data engineering expert, my extensive experience lies in developing and connecting software to various trading exchanges worldwide in different domains (inter alia XETRA, LSE, TSX, ASX, Binance, EPEX, Reuters,..).
by adamgonda | 2025-04-08 07:36:55+00:00
Hey

I don’t want to engineer prompts all the time. I’d much rather get the right prompt with the right context when I need it — and go on with my day.

Here’s the thing with prompting: You want an outcome… But you’re not an expert in everything. So half the time, you don’t even know what you don’t know.

I’m a software developer. So, when I ask an LLM about code, I can feed it the right context. But when it comes to writing marketing copy? I don’t know jack shit.

So if I want to write a good ad and I have to prompt from scratch… I’m stuck.

And finding great prompts sucks.

They’re scattered all over the web — Reddit threads, LinkedIn posts, random tweets... Or worst of all: screenshots. (f*ck those!)

My biggest pain is this: When I need a great prompt, I can’t just reach for it.

If you’ve ever felt this too — If you think it should be way easier to get great prompts with zero friction — Join the waitlist.
by Zobat | 2025-04-08 07:37:07+00:00
A while ago there was a necklace discovered in Sweden [1], thought to be about 2000 years old it made international headlines. Then it made headlines again when analysis revealed it was a fake.

Not saying this knife will turn out to be a fake but seeing "Experts will soon conduct a metallurgical analysis" makes me just that little bit hesitant.

1) https://www.svt.se/nyheter/lokalt/vast/unikt-jarnaldershalsb...
by donkeybeer | 2025-04-08 07:37:59+00:00
If a thing close to an objective truth exists, there is no reason that it would preclude freedom to reject it. Flat earthers won't exist otherwise.

The kind of thing you are falsely calling "objective truth", there have been thousands that have passed, and dozens still active that still claim to be also the same type of "objective truth". All of them contradict each other and are blatantly wrong even on really basic matters. It doesn't even try to be objective truth, any attempts to even make it so are treated by the response that one needs "Faith and Belief". Not just yours, all of them.

And even if we ignore the fact that these were sociopolitical movements primarily, even if we take that people were trying really in earnest to find truth, again its ridiculous and disproved by thousands of examples to believe men 2000 years ago could find the "final truth". Much better attempts at this goal, via the physical sciences, have been refined or disproven over the centuries, let alone what those men were doing.
by msravi | 2025-04-08 07:38:16+00:00
From the article:

> but it had been some time ago, and they never worked on any of the features

It appears that the candidate might have actually worked on the daycare app, but not on what they said they worked - i.e., the ratelimiting and pagination. It appears that they might have been working on the frontend, and took the liberty of "expanding" their role - this used to be extremely common in a big sample of the resumes, and I'm guessing it still is. They might have used AI to prep - they used to use google earlier, but the prep was (and is) still inadequate if you've not actually worked on and implemented it. I don't think it was an entirely LLM created project...
by akimbostrawman | 2025-04-08 07:39:40+00:00
That isn't even only Japan. On a global scale men are 1.7 times more likely, in the US 3.6 times, Europe 4.0.

https://en.m.wikipedia.org/wiki/Gender_differences_in_suicid...

There are so few resources about the topic for men compared to women that comlaining about it is just sad.
by ConspiracyFact | 2025-04-08 07:39:53+00:00
So do you respect 12-year-olds as much as you respect 25-year-olds? Do you respect the opinions on work and adult responsibilities of a 23-year-old as much as those of a 35-year-old? Do you trust the professional judgment of a junior engineer as much as that of a senior engineer?

Older people, in general, know more and have better judgment than younger people.
by hmhhashem | 2025-04-08 07:40:03+00:00
- You get an overview in the Github UI for each step and can expand/collapse each step to inspect its output.

- You can easily utilize Github actions that others have contributed in your pipeline.

- You can modularize workflows and specify dependencies between them and control parallel executions.

I'm sure there are more. But the main advantage is you don't need to implement all these things yourself.
by DeathArrow | 2025-04-08 07:40:42+00:00
It seems to me Japan does just fine by having rules and sticking to their culture.

Many people admire Japanese culture. But they wouldn't have anything to admire had Japanese people not conserving and caring greatly about their culture and sticking to their rules and ways of life.

I probably won't be integrating in the Japanese culture, but I admire and respect it and the fact they still have that culture.
by robocat | 2025-04-08 07:41:24+00:00
> there's money to be made by skipping steps, and some do

You must be joking.

"Fifteen major car manufacturers have been fined almost €600 million by the European Commission and the British government after Mercedes-Benz blew the whistle on a cartel that fixed car recycling costs and processes." https://www.dw.com/en/eu-and-uk-fine-carmakers-millions-over...
by LarsDu88 | 2025-04-08 07:41:33+00:00
I don't think I quite understood what you are trying to accomplish that is distinct from what 90s BSP engines like Unreal 1, Quake 2, and Source were doing?

Are you trying to do convex spatial partitions for 3d pathfinding in the air?

I did an indie VR starfighter game Rogue Stargun (https://roguestargun.com) and quite honestly intermittent navigation raycasts from the enemy ship AI is sufficient for this sort of stuff.

The bullets all run on the main thread on mobile hardware and so does all the AI. It's not optimized and I have yet to witness CPU bottlenecks being the main cause of frame drops.

Your game looks simple enough and is on the PC platform... I suspect you may be optimizing for the wrong thing.
by ZeroGravitas | 2025-04-08 07:41:55+00:00
You seem to have missed his point that Norway is buying more goods from the USA.

If trade imbalance is a proxy for protectionism, then it's the US that is protectionist in this instance.

He's punishing the people who are already doing what he says he wants done by the metric he claims to care about. Quite possibly with negative results as they react angrily to that.

Which makes a mockery of all the people in this thread finding 4D chess answers to this stupidity.
by prohobo | 2025-04-08 07:42:06+00:00
So what is their claim then? They think that if you optimize your consumption based on "environmentally friendly" supply chains and aesthetics, even if those optimizations are actually unhealthy (ie. replacing cocoa with sunflower seeds) and/or useless, we'll solve climate change?

This is all about aesthetics for addicted consumers. What would actually be much better, all around, is if our culture started promoting buying high quality cocoa powder and making our own cookies instead of buying highly processed garbage that pretends to be good for the environment.
by rockyj | 2025-04-08 07:42:21+00:00
I spent many a weekends at Nehru Place, even though it was a 90 mins drive and the parking ... oh the parking, well if you want to test your patience this is this is the place to go.

But for a hardware / gaming junkie this was the place to be. Not to mention (pirated / photocopied) books. Almost any book / media you could dream of. The lanes are buzzing with scamsters / pirates and geniuses who can build / repair anything - phones, TVs, PCs, laptops, watches etc. At one time Nehru Place was the "IT" hub of New Delhi. The street food was not half bad as well. I was just happy watching the men at work in dinky shops fixing anything, built a few PCs there (a tradition which continues to this day).

Some happy memories (but you have to be careful or you will need to walk back home without your wallet and your shirt).

Edit: 2 movies to understand this culture (a bit more) -

- Rocket Singh (salesman of the year)

- Mickey Virus
by bandie91 | 2025-04-08 07:42:38+00:00
in what sense does it relies on "religion" (and which religion) to "you may sustain your life by killing and eating animals, AND by killing and using their organs if you garbaged yours (which you should avoid anyways)" which is reasoned with nature's observed behaviur of each species seem to absolutely protect their own at the expense of other species? exception are just those, exceptions. but the overarching rule is to be "selfish". if there would be any religion which contradict this is Christianity which teaches that you are not only should sustain you and your family/tribe/species but also the whole Earth, animals, plants we are entrusted with; so preferencing our own species is not absolute.
by sidkshatriya | 2025-04-08 07:42:51+00:00
This is a good design. The company that manufactures the product does not need to be necessarily responsible for the cleanup. The cleanup is done by another company and the costs are added on customer checkout. But this is open to abuse as you mentioned -- some companies may take short cuts or the cleanup companies may become an oligopoly and charge unreasonable prices that add a lot of cost to the products.

Also, what happens if you order a product online from another company in a different country ? Does Norway still get to add tax for cleanup on these imported goods ? I would guess that this would be a powerful incentive for customers to skirt these regulations for lower prices.
by TeMPOraL | 2025-04-08 07:45:31+00:00
Actually, the CAPTCHAs are in place mostly because of assholes like you abusing other assholes like you[0].

Most of the automated misbehavior is businesses doing it to other businesses - in many cases, it's direct competition, or a third party the competition outsources it to. Hell, your business is probably doing it to them too (ask the marketing agency you're outsourcing to).

> If you truly need access to something, ask for an API, may you need to pay for it, maybe you don't.

Like you'd give it to me when you know I want it to skip your ads, or plug it to some automation or a streamlined UI, so I don't have to waste minutes of my life navigating your bloated, dog-slow SPA? But no, can't have users be invisible in analytics and operate outside your carefully designed sales funnel.

> May you get it, maybe the site owner tells you to go pound sand and you should take that as you're behaviour and/or use case is not wanted.

Like they have a final say in this.

This is an evergreen discussion, and well-trodden ground. There is a reason the browser is also called "user agent"; there is a well-established separation between user's and server's zone of controls, so as a site owner, stop poking your nose where it doesn't belong.

--

[0] - Not "you" 'mrweasel personally, but "you" the imaginary speaker of your second paragraph.
by close04 | 2025-04-08 07:45:44+00:00
This might be "well ackshully" territory but the memory effect those NiCd/NiMH batteries were experiencing was very real but temporary. It could be fixed by doing a deep charge/discharge cycle for each cell. It worked great if you could use a smarter charger (I reconditioned so many cylindrical cell batteries like this), and was impossible when charging in the phone. Which made the temporary effect quite permanent.

Whatever you want to call it, the damage caused by certain usage patterns existed and was visible to the users. So they learned how to generally maintain the battery of that expensive device to keep it usable for longer. I have no reason to expect people are less capable to do the same for a car's battery, now that everyone is more tech educated and cars are smart enough to tell them what to do and when.
by rich_sasha | 2025-04-08 07:46:15+00:00
If it does, what are the odds we would be able to see it?

For starters, I would imagine it is at least 50% likely to hit the far side of the Moon, which we ~never see. Perhaps worse, because for it to hit the near side, it has to fly past the Earth somewhat, diminishing the odds.

But then, it also needs to be on the lit side. On the expected date of impact, 22nd Dec 2032, it will be 2 days after new moon, so not much lit area to aim for.

¯\_(ツ)_/¯
by throwup238 | 2025-04-08 07:46:26+00:00
I don’t know how exactly this one will be done specifically but I have a (much larger) passive implant that was inserted via a catheter in a vein in my leg and guided up to my atrium, with an endoscope down my throat to see it as it was positioned. My atrial septal defect occluder was not only precisely positioned inside my heart but unwrapped from a shape that can fit down a vein to a stacked flat disc shape that clamps on two side of the heart wall to hold itself in place.

This technique is being expanded to robotic catheters that can carry out the precise surgery automatically and there are the simpler “deployable stabilization devices” that are used to stabilize the heart muscle. If this is really small enough to be injected, it should work with either of those methods rather noninvasively.
by littlecranky67 | 2025-04-08 07:47:02+00:00
He failed to show up to a hearing about his green card. Not saying his treatment is warranted, but all those cases had at least some kind of merrit where an ICE agent might become suspicious. It is not as random tourists getting detained.

"Schmidt’s green card was allegedly tagged for him failing to attend a hearing because the invitation was sent to his old address, according to the family’s fundraiser to cover Schmidt’s legal costs and loss of earnings.

“To compound this error, he had just recently been provided with a new replacement Green Card since he had lost the original one,” the fundraising page says. “Even then U.S. Immigration failed to let him know that there was an outstanding hearing which he had missed and that his card would be tagged.”"

Source: https://www.boston.com/news/local-news/2025/03/21/family-of-...
by Borg3 | 2025-04-08 07:47:02+00:00
Oh of course it is. But if you have serveral 100s up to several 1000s items, you do not care. Computers are here to do the heavy lifting. If we talk about millions of items, its completly different story. Probably simple numerical ID is out of option and you start to shard them somehow. Use right tool for right task!
by trinix912 | 2025-04-08 07:47:33+00:00
> It may even have more than 8GB of ram

I have two 2013 MacBooks - an Air with 8GB of RAM and a Pro with 16GB. I use them daily. Both work way smoother (with outdated software even) than my friends' few years old Windows 11 laptops. You'd be surprised how much you can get done on that 8GB when the OS isn't using half of it for the News Sidebar Webview and Windows Update/Telemetry services.

Also, the keyboards are both fully functional -- that is, after 12 years of daily coding on them. I didn't buy extended warranty, and the laptops have survived some wild stuff. Where I do agree with you is that the newer ones seem to be of worse build quality. But overall? Pretty damn decent devices.
by sidkshatriya | 2025-04-08 07:48:09+00:00
A good way to penalize planned obsolescence would be to charge a decreasing penalty if the goods are recycled/disposed earlier. So if I return the fridge for recycling after a couple of years (bad fridge) then the company gets charged automatically 5% of the fridge cost. If I recycle after 10 years then the company gets charged zero (as an example).

Maybe instead of a charge this could be a credit. If the recycling happens after a long time the company gets a bigger payback than if it happens before. The money is collected on checkout so the company can't claim bankruptcy or low profits to make the payment.
by pjmlp | 2025-04-08 07:48:18+00:00
Java was originally designed to be Objective-C with C++ syntax.

https://cs.gmu.edu/~sean/stuff/java-objc.html

JavaEE was born out of an Objective-C framework Distributed Objects Everywhere, from OpenStep collaboration between Sun and NeXT,

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

Already there we have the Smalltalk linage that heavily influenced Objective-C design in first place.

Then how Smalltalk => Self => Strongtalk linage ended up becoming HotSpot JIT compiler on the JVM.

https://www.strongtalk.org

Finally, reading the Smalltalk-80 implementation books from Xerox PARC also shows several touch points between the designs of both VMs.

The way classes are dynamically loaded, introspection mechanisms, code reloading capabilities, sending code across the network (RMI), jar files with metadata (aka bundles), dynamic instrumentation (JMX).
by dharmab | 2025-04-08 07:48:56+00:00
- you have an automatic, managed GitHub API token which is useful for automating releases and publishing artifacts and containers

- if your software is cross platform you can run jobs across a variety of OSes and CPU architectures concurrently, e.g. building and testing natively on all platforms

- you have access to a lot of contextual information about what triggered the job and the current state of the repo, which is handy for automating per-PR chores or release automation

- You can integrate some things into the GitHub Web UI, such as having your linter annotate the PR line-by-line with flagged problems, or rendering test failures in the web page so you don't have to scan through a long log for them

- You have a small cache you can use to avoid redownloading/rebuilding files that have not changed between builds

Ideally you do as much as possible in a regular tool that runs locally (make/scripts/whatever) and you use the GitHub CI config for the little bit of glue that you need for the triggers, caching and GitHub integrations
by joshschreuder | 2025-04-08 07:50:20+00:00
I agree completely, most iced coffee here from supermarkets is hyper sweetened rubbish that barely tastes like coffee at all. You have to go for “double” or “triple” espresso options to get a proper taste of coffee, otherwise you’re just drinking sweet milk (and not even in the guilty pleasure Vietnamese iced coffee way)

As previously mentioned Boss does do a decent black iced coffee though, and there are a few niche brands around putting out less sweet varieties
by timr | 2025-04-08 07:50:34+00:00
> Tailwind provides predictable classes like `p-2 ml-1 text-sm`, ensuring uniformity across your app.

This is literally what bootstrap did/does. You could also trivially do this yourself with just a tiny bit of discipline -- it's part of why variables were valuable in SASS/SCSS.

Why must we re-invent CSS to get semantic class names? Like the parent, I have yet to hear an explanation for Tailwind that doesn't sound like "someone who didn't fully understand CSS re-wrote it, and a generation of bootcamp coders adopted it without knowing why, or what came before."