MurphyA/hacker-news huggingface dataset:
by frotaur | 2025-09-03 09:17:31+00:00
Since you are french according to your handle, I will direct you to this video, which I liked very much : https://youtu.be/VlWvnhSiuck?si=dvgQQS1Y4oa3A1yO .

In essence, I don't disagree with points 1 and 2. But the conclusions that you draw from these could be used to justify things which, hopefully, you would find morally objectionable. It is not because empathy is not a rational response that we should not try to use rationality to shape our decisions. There are pretty of other feelings/behaviours that we choose to consider bad and worthy of punishment, regardless of the fact they are useful evolutionary tool.

Unfortunately this comment is much too short to make the full argument, but the video I linked does a great job. I was wholly convinced by it, and though I'm not vegetarian, I do try to source my meat from places with more humane conditions.
by HeatrayEnjoyer | 2025-09-03 09:17:38+00:00
> 2b. Being disconnected from nature and reality is the #1 cause for such disorder; you don't see any kind of vegetarianism in rural people.

This is just untrue, hundreds of millions of rural South Asians are vegetarian.

> 3. People with a brain realize that eating meat is important.

Everyone has a brain. Both vegetarian and omnivore groups have their share of geniuses and fools. Meat was important as a calorie source but it has many drawbacks in modern society totally unrelated to animal ethics; cancer risk, inefficient land use, methane production, etc.

> 4. People with a bigger brain also realize that that eating other animals is the prerogative of power: humans have simply won the animal kingdom's oldest game and are enjoying its spoils. Things wouldn't (and shouldn't) be different if positions were reversed.

This sounds like manifest destiny rhetoric and deserves just as much consideration.
by kmijyiyxfbklao | 2025-09-03 09:18:11+00:00
This is completely wrong, at least for the crime organizations in Mexico. They are not a real threat to the state, and they are not similar to terrorists, they don't chant "death to America". What made the gangs in Mexico violent was the combination of bad law enforcement departments and extrajudicial killings.

The best that can come out of this is that Maduro is removed. Otherwise you are just creating more and more hate towards the USA.
by pmanu | 2025-09-03 09:18:39+00:00
That’s also why I really like Aurelia framework. Its component model feels very intuitive, and it embraces standards like custom elements and decorators instead of inventing new patterns. Compared to Angular’s boilerplate or React’s hook gymnastics, Aurelia lets you write less code that looks more like plain JS/HTML. Too bad Aurelia never got the same traction as the big frontend names, because the DX is really solid.
by goku12 | 2025-09-03 09:21:34+00:00
I'm not sure that AI has as much impact on resources like SO as one might imagine. There is one reason why I resort to using AI, and two reasons why I always double check its answers.

The reason why I resort to AI is to find out alternative solutions quickly. But quite honestly, it's more of a problem with SO moderation. People are willing to answer even stale, actual/mistaken duplicate or slightly/seemingly irrelevant questions with good quality solutions and alternatives. But I always felt that their moderation dissuaded the contributors from it.

Meanwhile, the first reason why I always double check the AI results is because they hallucinate way too much. They fake completely believable answers far too often. The second reason is that AI often neglects interesting/relevant extra information that humans always recognize as important. This is very evident if you read elaborate SO answers or official documentation like MDN, docs.rs or archwiki. One particular example for this is the XY-problem. People seem to make similar mistaken assumptions and SO answers are very good at catching those. Recipe-book/cookbook documentation also address these situations well. Human generated content (even static or archived ones) seem to anticipate/catch and address human misconceptions and confusions much better than AI.
by orlp | 2025-09-03 09:23:14+00:00
> The width increase (10-100x) completely overwhelms the depth increase (maybe 3-10x), so surface area increases substantially.

No it doesn't.

The only thing that matters (in this oversimplified calculation which only takes into account surface area) is average depth of the freshwater while it is on land. If the reservoir is on average deeper than the rivers the freshwater otherwise would be flowing in, there will be less evaporation per liter of freshwater available for use.

Now a dam also increases the total amount of freshwater that's kept on the land in a steady state situation compared to if the water flowed free into the sea. It would be absurd to count this as "extra evaporation" when this extra freshwater otherwise would've simply be lost when it would flow into the sea instead of being kept in the reservoir.
by zelphirkalt | 2025-09-03 09:23:48+00:00
Recently, I am working on a project that uses Threading (in Python) and so far have had zero issues with that. Neither did I have any issues before, when using multiprocessing.

What I did have issues with though, was async. For example pytest's async thingy is buggy for years with no fix in sight, so in one project I had to switch to manually making an event loop in that those tests.

But isn't the whole purpose of async, that it enabled concurrency, not parallelism, without the weight of a thread? I agree that in most cases it is not necessary to go there, but I can imagine systems with not so many resources, that benefit from such an approach when they do lots of io.
by names_r_hard | 2025-09-03 09:24:20+00:00
It's not firmware :) We use what is probably engineering functionality, built into the OS, to load and execute a file from disk. We run as a (mostly) normal program on the cam's normal OS.

We build with: -Wall -Wextra -Werror-implicit-function-declaration -Wdouble-promotion -Winline -Wundef -Wno-unused-parameter -Wno-unused-function -Wno-format

Warnings are treated as errors for release builds.
by simonw | 2025-09-03 09:24:54+00:00
Armin Ronacher (long-time Python and Rust open source community figure, creator of Flask and Jinja among others) has several YouTube videos that partially fit the bill. https://www.youtube.com/watch?v=sQYXZCUvpIc and https://www.youtube.com/watch?v=Y4_YYrIKLac and https://www.youtube.com/watch?v=tg61cevJthc
by reify | 2025-09-03 09:25:58+00:00
I alway found that dipping it in some araldite epoxy resin works great

Basically, squeeze both tubes, part A and part B, into a bowl, mix well.

lay your phone on a flat surface and pour the mixed araldite over the phone.

smooth and level the araldite with a plastic tool.

let dry.

sorted!
by disgruntledphd2 | 2025-09-03 09:26:48+00:00
> Seems like we agree: you don't need to advertise when you can force money out of people through VAT and rent-seek your citizens as customers.

Not really. Like, the EU only has the powers given to it by national governments, 1% of VAT is probably too low tbh as there's a bunch of stuff that would be better solved at EU level. The politics around that are pretty tricky though.
by account42 | 2025-09-03 09:27:45+00:00
> bar the problem of actually finding anything and being accepted, but that is besides the point

It isn't besides the point at all. It being a seller's market means landlords can and do ask for whatever paperwork they want which often enough includes a SCHUFA report. You can choose to not provide it but they can also choose to rent to someone else who does.
by Certhas | 2025-09-03 09:28:36+00:00
Power grids also can only exist reasonably as monopolies. This is true for many utilities. Consequently, after the initial decades of development had occurred and the tech had settled down, we now no longer let them operate as ordinary companies, but heavily regulate them. We're probably not quite at the point where this is feasible for what Google provides... but then again, who knows?
by names_r_hard | 2025-09-03 09:29:44+00:00
I stand by my statement! Compare the length of the C standard to JS / ECMAScript, or C++! :)

Maaaaybe I'm hiding a tradeoff around complexity vs built-in features, but volunteers can work that out themselves later on.

You honestly don't need much knowledge of C to get started in some areas. The ML GUI is easy to modify if you stay within the lines. Other areas, e.g., porting a complex feature to a new camera, are much harder. But that's the life of a reverse engineer.
by pjmlp | 2025-09-03 09:31:23+00:00
There are enough commercial projects to keep 7 vendors in business, in a day and age where many devs refuse to pay for their tools.

https://www.adacore.com/

https://www.ghs.com/products/ada_optimizing_compilers.html

https://www.ptc.com/en/products/developer-tools/apexada

https://www.ddci.com/products_score/

http://www.irvine.com/tech.html

http://www.ocsystems.com/w/index.php/OCS:PowerAda

http://www.rrsoftware.com/html/prodinf/janus95/j-ada95.htm
by illiac786 | 2025-09-03 09:31:55+00:00
I sincerely hope this whole LLM monetization scheme crashes and burns down on these companies.

I really hope we can get to a point where modest hardware will achieve similar results for most tasks and these insane amount of hardware will only be required for the most complex requests only, which will be rarer, thereby killing the business case.

I would dance the Schadenfreude Opus in C major if that became the case.
by tpm | 2025-09-03 09:32:13+00:00
> The fact of the matter is that Palestinians, especially their billionnaire "leaders" get a LOT of money

That is quite simply complete bullshit. What is worse is that you are arguing in bad faith.

The facts are as follows:

1) There is an ongoing long-term occupation of Palestinian territories by Israel.

2) Occupation is an act of war. Israel is waging war on Palestine. It is breaking agreements it is a part of.

3) Of course the aim of Israel is to absorb more-or-less all Palestinian territory into Israel proper.

I don't really care about your deflections to Hamas or corruption or whatever, not only because those are the usual talking points of Israeli propaganda and I have seen them repeated about million times, but also because if Israel respected the territorial integrity of Palestine, these would be matters of internal Palestinian politics, and any aggression out of Palestine towards Israel would correctly mean Israel is the victim and Palestine is the aggressor.

But when Israel is occupying most of the Palestinian territory, with the intent to keep it and settle their population there, and all of this are acts of violence, you can't in good faith argue the Palestinians don't have the right to retaliate with force. Note that I don't support Hamas or any form of violence against civilians in any way (I have to mentions this because otherwise I will be wrongly accused of being a Hamas supporter), but until you face the fact that Israel is mass murdering and displacing civilians and taking their real estate and occupying it, we can't really move on.
Show HN: Ad‑hoc availability app – timezone‑aware weekly overlap (no login)
by synweap15 | 2025-09-03 09:32:36+00:00
I built a small, MIT-licensed app to end ad‑hoc "when are you free?" timezone discussions for cross-TZ teams. Heavy scheduling tools already exist, but for quick overlap checks they’re overkill.

This app shows a 7×48 weekly grid (30‑minute slots). You click to select availability, then share a single URL. The viewer sees your ranges in their own timezone, and the app keeps a "sender timezone" badge for context.

Highlights: - Ad‑hoc, zero‑signup flow (state in URL) - Timezone‑aware display (detected vs. sender) - Half‑hour slots, overlap checks, range preview + delete - DST‑safe (Intl‑based) without external date libs - MIT licensed

Repo: https://github.com/synweap15/calendar-convert Live: https://availability.werda.pl
by spwa4 | 2025-09-03 09:33:52+00:00
> My home was outside of the zone where lead pipes were present.

That doesn't really matter, sadly, if it's connected to the same network. Lead has very bad effects on children in trace amounts, and in a network the water comes from everywhere (it takes all paths, not the shortest path, when you open the tap)

Trace amounts inhibit brain development in children, and there is no treatment possible once it happens. Damage is permanent, even if you remove the lead (which is expensive and has serious side effects). In adults removing lead "works", if you don't mind the price and side effects. Normal concentrations of lead are toxic, as in they will cause your body to lose energy and die if the concentration goes up. Additionally, lead leads to kidney failure and cancer, years and even decades after exposure, in adults and children (though doubtless the Trump administration will shout "the cancer effects have only been proven in mammals".

So you really need to hunt and replace the last lead pipe in the entire network. Because of how the water system works, that includes forcing landlords to remove old lead pipes inside houses.

Oh and don't ask the forbidden question: "isn't the basis of our legal system that if an entity causes damage, intentional or not, it is financially responsible for the consequences. This includes government, and would seem to include both the medical damage done to people and replacing whatever is doing the damage"
by markjenkinswpg | 2025-09-03 09:33:59+00:00
In my experience, the 10-15 year old salvaged computer that still works okay with GNU/Linux is increasingly a 64 bit machine.

Case in point, I'm writing on a x86_64 laptop that was a free give away to me about a year ago with a CPU release year that is 2012.

I have personally given away a x86_64 desktop unit years ago that was even older, might have had DDR1 memory.

Circa 2013 my old company was gifted a x86_64 motherboard with DDR2 memory that ended up serving as our in-office server for many years. We maxed the RAM (8GB) and at some point bought a CPU upgrade on ebay that gave us hardware virtualization extensions.
by hunglee2 | 2025-09-03 09:34:47+00:00
India was never an economic alternative to China - as anyone who has ever visited both would readily understand. This was always wish casting from the can't-think tanks which frame the geopolitical discourse in the West.

India, as ever, will find its own path of development, one that respects its traditions and builds upon its strengths. Copying another's path is a fool's errand, especially one which has vastly different strengths / weaknesses compared to its own.
by rich_sasha | 2025-09-03 09:35:28+00:00
All these businesses looked incredibly unsustainable for a long time. Uber was a cash shredder. Amazon didn't turn a profit for years, IIRC. They became profitable essentially by becoming quasi-monopolies.

Indeed, LLM companies likely turn operating profits, but I'm not sure that alone justifies their valuations. It's one thing to make money, it's another to make a return for investors.

And sure, valuations are growing faster than you can blink. Time will show if this in turn is justifiable or a bubble.
by jfagnani | 2025-09-03 09:36:08+00:00
There really is no way to metaprogram against class fields except with decorators.

Class fields aren't on the prototype. They're essentially Object.defineProperty() calls that occur right after the super() call of a constructor. You can't get at them at all from the class declaration.

I know more than one way to do something is sometimes a downside, but we have a large audience an a huge portion of it wants to use TypeScript and declarators, and another huge portion of it wants to use vanilla JavaScript. We factored things to give the best DX we could to each group with relatively little cost to us.

As for why metaprogramming, we want a component to update when it's state is changed. Like plain web components, Lit uses classes.

So here, we want setting `el.name` to cause the component to re-render:

class MyElement extends LitElement { name = 'World'; render() { return html`<h1>Hello ${this.name}</h1>` } }

We do that by replacing `name` with a getter/setter pair where the setter schedules an update of the instance. Without decorators, there's no way to see that `name` even exists, much less replace it.

Decorators actually do the replacement for us, we just have to build the thing to replace it with:

class MyElement extends LitElement { @property() accessor name = 'World'; render() { return html`<h1>Hello ${this.name}</h1>` } }
by fbodz | 2025-09-03 09:36:19+00:00
I have been experimenting with WebAssembly/Wasi over the last couple of years and decided it would be time to have another look and see what the state of things is. I it would be interesting to try and embed python in a wasm component for its nice sandbox properties.

There's a super cool project https://github.com/RustPython/RustPython which is a python interpreter in rust which can compile to wasip2 so I hooked that up and it seems to work well.

Its easy to build wasi components in rust now with the wasip2 target, excited to see where things head over the next few years.
by mdp2021 | 2025-09-03 09:36:22+00:00
> American media thinks it's

Ill framed.

> simply for being in a location

Again ill framed.

> would these media still support the right

Difficult to reply to this in light of actual cases, some even recent in terms of hours, mentioning which would be potentially inflammatory here (I don't shy away from "we need to know this", but there has to be an "intellectual curiosity" context).

> The only "absurd" part of this situation

You are both diminishing the specifics and their context: for example the quality of the written law, that Andrew Doyle¹ in a parallel article calls «hopelessly subjective notion» (and «The Communications Act further prohibits words that cause “annoyance, inconvenience or needless anxiety”»), with the burden practical and theoretical, possible source of arbitrary judgement, put on the system («Freedom of Information requests by The Times revealed that over 12,000 people are arrested each year for offensive comments posted online». Just preceeded by «We have seen journalists visited by police for wrongthink; citizens imprisoned for posting memes; prosecutions for controversial Halloween costumes; teenagers convicted and jailed for offensive jokes»).

¹ https://unherd.com/2025/09/the-shameful-arrest-of-graham-lin...
by zelphirkalt | 2025-09-03 09:37:44+00:00
When I read your comment I was thinking: "But then you would need to structure your db in such a way that ... ahh yes, they are getting to that ... but then what about actually rendering the results? Ah they are describing that here ..." so well done I think.

However, async tasks on a single core means potentially a lot of switching between those tasks. So async alone does not save the day here. It will have to be combined with true parallelism, to result in the speedup we want. Otherwise a single task rendering all the parts in sequence would be faster.

Also not, that it depends on where your db is. the process you describe implies at least 2 rounds of db communication. First one for the initial get forum thread query, then second one for all the async get forum replies requests. So if communication with the db takes a long time, you might as well lose what you gained, because you did 2 rounds of that communication.

So I guess it's not a trivial matter.
by TheDong | 2025-09-03 09:38:05+00:00
I mean, yes, the incentives are in fact such that sitting on a potentially exploitable bug is better for a security researcher than patching it early.

Like, if you have a root priv escalation, that can potentially get you a bug bounty from various hosted AI sandboxes, CI sandboxes, an android app sandbox escape, and probably a few more.

If you have a probably-not-exploitable kernel crash, you get a CVE at best, and possibly not even that.

What do you propose we do, should google assume all kernel bugs are potential exploits and give Linus $100k per commit, making him the richest man on earth?
by fastball | 2025-09-03 09:38:15+00:00
Online banking is broadly less convenient than the banking app on my phone. With online banking I need to login with my creds every time, with my phone it is secured with FaceID, so I basically just open the app and I'm good to go. This is secure because Apple prevents unsigned FaceID cameras from being used with the Secure Enclave, so an attacker can't just steal my phone, swap the FaceID for a component that always says "yes" to auth requests, and steal all my shit.

This is doubly a concern because phones are broadly much more easy to steal/lose than your computer. Additionally enabling FDE on my computer is not a big deal, but doing a full decrypt of my phone every time I wanted to open it would be onerous.

Mobile phones are just fundamentally different devices from desktops. I want my desktop to be open (and secure, but lean towards open). I want my phone to be secure and functional.
by ricardobayes | 2025-09-03 09:38:52+00:00
It's an interesting case. IMO LLMs are not a product in the classical sense, companies like Anthropic are basically doing "basic research" so others can build products on top of it. Perhaps Anthropic will charge a royalty on the API usage. I personally don't think you can earn billions selling $500 subscriptions. This has been shown by the SaaS industry. But it is yet to be seen whether the wider industry will accept such royalty model. It would be akin to Kodak charging filmmakers based on the success of the movie. Somehow AI companies will need to build a monetization pipeline that will earn them a small amount of money "with every gulp", if we are using a soft drink analogy.
by i_am_proteus | 2025-09-03 09:39:46+00:00
If you want JPGs to look different, you can change them in the camera, and RAW files are just that: raw. They will vary between cameras slightly because the cameras have different sensors. Editing RAWs from 5d3 vs. 5d4 vs. 6d (my only experience) is not very different. Ultimately, the workflow that matters is a photographer capturing the image and getting the output to the studio quickly, in high quality. Event photographers often tether via ethernet or USB and the studio can post-process the RAW in minutes (or even seconds). The part of this that is most sensitive and hardest to recover from error is the photographer capturing the image, which is why consistency and usability of camera controls is so important.

IIRC none of the EOS DSLRs had focus peaking from the factory, you need Magic Lantern -- Canon didn't program it at all.
by ta1243 | 2025-09-03 09:39:54+00:00
People nowadays expect 10% return on their investment, so if you invest 1m you need to make 100k a year from it (120k to cover the deprecation over 50 years)

If you made 30k a year for 50 years you'd return 1.5m from your 1m investment, but you're only making 3%, which is a low return especially given the future risk (you'd have to run for 33 years just to get your initial investment back)

Either way it's worthwhile, because the reason people expect 10% is because the externalities are borne by others. Majority of people and countries in the world do not deem ROI to be the sole or even primary driver for investment, and judging investments only on the immediate financial reward already biases the conversation
by zokier | 2025-09-03 09:40:02+00:00
I wonder if part of the problem is that starting from electromagnetism doesn't necessarily lead naturally to classic PBR style raytracing; getting there requires fair amount of conceptual leaps, like going from waves to ray optics, or (usually) going from spectrums to rgb triplets. Many things in graphics rendering relies on scenes being well-behaved and relatively simple in a way that might not be obvious when coming from first principles.

It is also interesting to look what you can do if you make your rendering even more physically based. One example is wave_tracer which combines wave optics with path tracing to enable simulating wider range of phenomenons. They have nice theory writeup on their webpage:

https://wavetracer.dev/theory.html