MurphyA/hacker-news huggingface dataset:
by Panzerschrek | 2025-09-15 06:59:05+00:00
You don't need special operator for initializing borrow. Calling a function like Foo(a) will initialize such borrow, if function parameter is mutable reference. The same is for creating local mutable reference.

Mutability by default is good, but it's not strictly necessary. I repeat, you can just write "const" everywhere manually, except places, where mutation is needed.
by matheusmoreira | 2025-09-15 06:59:29+00:00
The brazilian supreme court is such a kangaroo court, they were brazen enough to set up a "fake news" inquisition where they were victims, investigators, prosecutors, judges and executioners in a case of wildcard crimes against themselves covering the whole brazilian territory.

https://news.ycombinator.com/item?id=39966382

That is the state we find ourselves in. As far as I know, that "fake news" inquisition is still ongoing.
by mpweiher | 2025-09-15 06:59:51+00:00
[nuclear license to print money]

https://www.youtube.com/watch?v=cbeJIwF1pVY

"Jetzt müssen RWE und Co. die ausgedienten Gelddruckmaschinen sicher abwickeln."

But that was the well-known pro nuclear lobby group...greenpeace.

https://www.greenpeace.de/klimaschutz/energiewende/atomausst...

"Atomkraftwerke sind Gelddruckmaschinen."

But that was the well-known pro nuclear lobbyist...Jürgen Trittin

https://www.presseportal.de/pm/57706/1010574

Anyway, you are just regurgitating the same old counter-factual nonsense as before, and the irrelevant "but China is also building renewables".

Once again: nuclear and renewables are only a contradiction in the minds of anti-nuclear advocates. Industrial nations do both.

> Plan to build 6 then 8 more EPR2 → "only a plan"

That is incorrect. As stated before, the approvals are being sought, 3 sites have been selected and multi-billion € contracts have been awarded.

> Sites have been selected for the first 6

https://world-nuclear-news.org/articles/bugey-chosen-to-host...

> [engineering contracts] → long road ahead

Newsflash: yes, nuclear power plants are big.

Once again: if multi-billion contracts are "nothing", please give some of that "nothing". I will send you my bank details.

Apologies about pointing at Mitterand, that was incorrect. I meant Hollande.

https://www.ewmagazine.nl/kennis/achtergrond/2022/10/bernard...

Translation: 'Green cabal paralyzes the nuclear industry’

https://docs.google.com/document/d/1ePZUamAzNA4IzdR1dlkE2wtl...
by teddyh | 2025-09-15 06:59:57+00:00
> when .COM's utterly unaccountable ownership manipulates the DNS to intercept Google Mail.

Why is this more likely to happen than a rogue CA issuing a false certificate?

Also, Google has chosen to trust .com instead of using one of their eleven TLDs that they own for their own exclusive use, or any of the additional 22 TLDs that they also operate.
by ninetyninenine | 2025-09-15 07:00:27+00:00
Right and again, when you maximize environmental factors there ARE STILL differences in intelligence. While Environment plays a massive role, genetics does as well. It's not as if environment is a smoking gun that makes the other factor disappear even when environment accounts for a much greater rise.

Obviously a starving, stressed out person is going to have a much lower IQ score then someone who is happy and well fed. You think because that obvious fact is true it completely eliminates genetics? No.

This is what I'm talking about. The mass delusion. The positive cognitive bias. You grasp for evidence that supports the conclusion you want.
by genshii | 2025-09-15 07:00:32+00:00
After double-checking some things, the real winner is actually: https://github.com/nice-registry/all-the-package-names

I made a fairly significant (dumb) mistake in the logic for extracting valid semver versions. I was doing a falsy check, so if any of major/minor/patch in the version was a 0, the whole package was ignored.

The post has been updated to reflect this.
by Aerroon | 2025-09-15 07:01:10+00:00
I don't think it's that. I think the EU, as a political structure, obfuscates what's going on from the citizens sufficiently, that it's uncommon for citizens to hear about what's actually happening. Some third party has to basically start ringing alarm bells for even a minority of citizens to hear about an issue, let alone a majority.

If I were to ask what my relatives think of Chat Control I'm certain that an overwhelming majority would not have even heard about it. Hard to oppose something if you don't know about it. But even if they did oppose it - does the average European even know how to figure out how their chosen politician voted on the issue? Probably not.

Maybe it's a lack of journalism, I'm unsure, but I don't see any other reason for it. I also think that this is the factor in euroskepticism.
by rickylee87 | 2025-09-15 07:01:30+00:00
Hey everyone,

My team and I just launched Clix on Product Hunt. It's a simple tool that lets developers send and automate mobile push notifications with just one `clix install` command. We built this because setting up push notifications usually involves complex integrations and lengthy setup processes. With Clix, you can easily build automated campaigns with time or behavior-based triggers. Would really appreciate your feedback and support. Any thoughts on the product or suggestions for improvement are welcome. Thanks for checking it out!
by n4r9 | 2025-09-15 07:02:23+00:00
I think the author nearly touches on something when he uses the phrase "slow, patient thinkers" towards the end. He's actually a patient thinker. Sometimes that feels like being slow, because you're not jumping at a constant stream of ideas. But there are problems that patient thinkers will take their time to solve, whilst "quick" thinkers will simply give up or move onto something else.
by manx | 2025-09-15 07:03:11+00:00
I think memory safety is a weak argument for rust and only works against C/C++, as you mention. For me, the strongest arguments against GCed languages are static analysis goodies that other languages don't have. Like checked immutably by the compiler, the borrow checker which forces you into a certain architecture, fearless concurrency etc. All those lead to fearless refactoring, which is a very strong point for me.
by atoav | 2025-09-15 07:04:23+00:00
Normally I'd say I would be exactly the type of person that would use such a thing. But what scares me away and makes me stay with vanilla KDE Plasma is that perceived upfront cost of having to relearn everything and having to customize for hours to then have something that feels 100% better in some and 100% worse in other situations.

Maybe that just means I am currently at a point in my life where I haven't got the time or energy to play around with these things. I'd rather have KDE Plasma with a hint of tiling window manager than a tiling window manager with a hint of Plasma, if you get what I mean.
by loeg | 2025-09-15 07:06:15+00:00
The programs that see the most benefit of WO vs TSO are poorly written multithreaded programs. Most of the software you actually use might be higher quality than that?

> TSO must have some value in some contexts, it wasn’t chosen arbitrarily.

Ehhh. I think they might have just backed themselves into it? I believe Intel initially claimed SeqCst but the chips never implemented that and the lack was observable. TSO happened to accurately describe the existing behavior of early multicore Intel chips and they can't exactly relax it now without breaking existing binaries.

Google's AI slop claims Intel published something vague in 2007, and researchers at Cambridge came up with the TSO name and observation in 2009 ("A Better x86 Memory Model: x86-TSO").

https://www.cl.cam.ac.uk/~pes20/weakmemory/x86tso-paper.tpho...
by michalc | 2025-09-15 07:06:55+00:00
Very much agree.

It was a few years ago, and very AngularJS focused, but I posted something along these lines: https://charemza.name/blog/posts/angularjs/e2e/consider-not-...

In summary: having thing look cleaner at a glance is not helping if you’re (almost) always going to need to do more than glancing
by thorio | 2025-09-15 07:06:56+00:00
I came here to say: read this book, it's really great.

I think if your depression is very deeply buried, it surely isn't enough to read it, but still it can open up quit some insights regarding the connection of what you think and how you feel. It makes it visible.

There can also be other causes for depression is course.

While studying and testing the exercises described in the book I discovered one other thing I'd like to share: to me it seems, to come out of a reappearing mental dip, you need to be very consistent in your efforts (mental / physical exercises and other habits you try to establish or change, to feel better). Anyone else?
by Joel_Mckay | 2025-09-15 07:06:59+00:00
The Suns 11-year cycle is hitting the ionosphere hard right now.

Great for Ham Radio bounce contacts, but a lot of space equipment won't do well. =3

People are still unsure why the sun hasn't accidentally cooked us thus far:

https://www.youtube.com/watch?v=6r5ZCESOpP0
by eesmith | 2025-09-15 07:09:55+00:00
Stephen Jay Gould's "Phyletic Size Decrease in Hershey Bars", in "Hen's teeth and horse's toes" at https://archive.org/details/hensteethhorsest00step/page/314/... shows the size trend from the 2.0 ounces of 1960 to the the 1.2 ounce of 1980, when it was published.
by WalterBright | 2025-09-15 07:10:09+00:00
C++ has a lot of features which are not best practices. For example, you're not supposed to use the builtin arrays anymore, in favor of vector<>.

Google's guide is not the only one. There are the Scott Meyers series "Effective C++" with things like "declare destructors virtual in polymorphic base classes". D's destructors in polymorphic are always virtual.

This brings up another issue with C++ - conflation of polymorphic structs with non-polymorphic structs. The former should always be passed by reference, the latter maybe or maybe not. What C++ should have done is what D does - structs are for aggregation, classes are for OOP. The fundamental differences are enforced.

How does one enforce not passing a polymorphic object by value in C++? Some googling of the topic results in variations on "don't do that".
by thorio | 2025-09-15 07:11:55+00:00
This is in my family too. One person always had a tendency of being overly worried and after children moved out and social life thinned or a bit, this became more prevalent.

After years of trying to push that person towards trying out new things and enriching their life, I kind of gave up. You simply cannot convince someone about a medicine if they don't feel there is a problem. Still it's hard to see believing the person could be enjoying life more, especially during their retirement.
by geokon | 2025-09-15 07:12:35+00:00
This is a cool experiment

Though it'd discourage anyone to run off with this idea.. b/c SVGs are unfortunately kinda janky

My top 3 issues are:

- not even overly complicated SVGs, especially with text, will render notably different in different browsers (and renderers like Batik/Inkscape/SalamanderSVG/etc). I have no idea why.. PDFs don't have this issue. While I haven't tried, but I don't think PDFs are as easy to generate programmatically as SVGs

- SVGs have completely broken linking. You can embed an <svg> inside another <svg> to reuse an element - but for some reason it's limited to a link depth of 1! So you can't link an <svg> that links an <svg>. So SVG aren't safely composable - which drives me nuts.. (ex: making a large display panel in SVG that has subcharts)

- Maybe minor.. but tooltips in SVG (which are super handy.. for instance in plots to display additional info about a data point) don't work when the SVG is in an HTML page. They seem to only work when you open SVG in a separate tab.

More abstractly they just have very weird perf issues. Some mildly complex SVGs take GBs of RAM and 1> min to render. But it's unclear which parts are performance sinks.
by ZeroGravitas | 2025-09-15 07:13:18+00:00
Developing nations generally leapfrog by adopting the latest generation of developed world tech.

Imagine people saying they didn't want to adopt mobile phones because developing nations didn't have traditional telephones yet.

This applies to both green tech and to green regulations. They'll look to the EU and China for that as the US is going this one alone again. China recycles 30% of its plastic compared with 12% in the US. Presumably they look at it as an engineering problem to solve and not a fake culture war to protect the oil industry.

Slightly older data here but the trend and the major outlier of the US visible here:

https://ourworldindata.org/grapher/share-plastic-waste-recyc...
by Hamuko | 2025-09-15 07:13:44+00:00
>you check for the things one needs to check for, and you know if it has problems or not. And if you can't do this, you've got a cousin or uncle who can.

You don't even need to do that. You can just find a mechanic to do a PPI on the car, so they'll check for any issues and read the errors codes to see if there's something funky.
by lelanthran | 2025-09-15 07:15:33+00:00
> Perhaps it's because I grew up around people who were good with their hands, but in my mind buying a used car isn't a scary matter - you visit the private seller, you look at the vehicle, you check for the things one needs to check for, and you know if it has problems or not. And if you can't do this, you've got a cousin or uncle who can.

You could do that, sure. Or you could get a respected independent assessor. Here in South Africa we have Dekra (and others) who wil do a test of the car more thoroughly than I can (road test till operating temperature is reached, examination of the car on a lift for chassis damage/signs of repairs, oil leaks, etc, examination of car for signs of accident repair, pulling of DTC, etc).

If you go to this place - https://www.webuycars.co.za/buy-a-car/18C404984 - you'll see a car that looks good for its age on the surface with only a few easily fixable things (tail lights, brakes, etc). But the attached report shows that the chassis is twisted and that there are oil leaks. These two problems are terminal faults that I, even with a background as a mechanic, will not spot because I cannot put the car on a lift when I go to view it.

It's not perfect, but at least I don't waste time test driving a car with terminal faults (chassis damage, transmission DTCs or problems, engines without compression, etc).

It means when I look for a car, I can dismiss dozens of cars based just on the attached Dekra report, and spend more time examining the remaining ones for faults that Dekra might have missed.
by philipallstar | 2025-09-15 07:18:13+00:00
> Unfortunately, having all of the transceivers in a single quad was a bit limiting due to the 7 series clocking architecture: they share the same QPLL, which has to be at 10.3125 Gbps for 10Gbase-R operation. While the CPLLs can be configured freely, they have a lower Fmax which meant that the BERT / CDR trigger channels cannot operate at arbitrary frequencies above 6 Gbps (most notably, 8 Gbps operation for PCIe gen3 mode is not available).

I'm glad someone understands this.
by scotty79 | 2025-09-15 07:18:20+00:00
Apologies. It wasn't intended as ad hominem. I was just describing general vibe of your comment, at least how I perceived it.

When inept bureaucracy is put in the spotlight usually someone pops up to defend how much of important work they are doing and how the things they deal with are just so complicated. And how criticisms are unfair and unfounded.
by PeterStuer | 2025-09-15 07:18:41+00:00
To be fair, any of their 3 objections are absolutely not exclusive to AI, but can be levied against any human contribution as well.

Any contributer, wether openly using AI or covertly, should be reputed by earned merit of the contribution history.

Yes, I know there are still holdouts that realy do not use AI, but that number is shrinking rapidly. A no AI policy when strictly enforced (how?) would probably just lead to project EoL.
by sigmoid10 | 2025-09-15 07:19:46+00:00
Since vectors are usually normalized to the surface of an n-sphere and the relevant distance for outputs (via loss functions) is cosine similarity, "near orthogonality" is what matters in practice. This means during training, you want to move unrelated representations on the sphere such that they become "more orthogonal" in the outputs. This works especially well since you are stuck with limited precision floating point numbers on any realistic hardware anyways.

Btw. this is not an original idea from the linked blog or the youtube video it references. The relevance of this lemma for AI (or at least neural machine learning) was brought up more than a decade ago by C. Eliasmith as far as I know. So it has been around long before architectures like GPT that could actually be realistically trained on such insanely high dimensional world knowledge.
by kennywinker | 2025-09-15 07:20:30+00:00
You can choose to not see it, and I can struggle to explain it, but i dare you to find a landlord in a city larger than 100k who is renting at a loss.

I suspect it’s some kind of uncoordinated price fixing. E.g.

1. landlord buys property, optimistically sets rent at $mortgage+30% even tho that’s above the market rate

2. Everything cheaper is rented, or highly sought after, so renters are forced to take the higher rent.

3. Other landlords see places renting for higher than their current rent, and raise prices accordingly.

But i’m no economist. I’ve just never seen a landlord take a loss except as a result of special circumstances. Economic crashes, fire, etc.
by simianwords | 2025-09-15 07:21:27+00:00
> the overall energy and water usage of AI contributed to by the actual individual use of AI to, for instance, generate a PR, is completely negligible on the scale of tech products.

10 GPT prompts take the same energy as a wifi router operating for 30 minutes.

If Gentoo were so concerned for the environment, they would have more mileage forbidding PRs from people who took a 10 hour flight. These flights, per person, emit as much carbon as a million prompts.
by drdeca | 2025-09-15 07:21:44+00:00
It is quite common for a lemma to be needed to ensure that a definition is well-defined. The term “defi-lemma” exists for a reason.

As a simple example, suppose X is a set and r is a relation on X. If I define Y := X/r , the set of equivalence relations with respect to r, this implicitly assumes that the relation r is an equivalence relation.
by isluoyu | 2025-09-15 07:22:22+00:00
Ignoring historical and per-capita emissions isn't "pragmatic," it's blame-shifting.

You're right to bring up "exported emissions," but you have the direction backward. The primary "carbon transfer" is from China, acting as the world's factory to meet consumer demand in the West. You can't outsource your carbon footprint and then blame the manufacturer.

If we're truly going to discard fairness for "maximum efficiency" in emissions reduction, then we should target one of the biggest and easiest sources: diet.

Data: Producing 1 kg of beef emits ~60-100 kg of CO₂e. Producing 1 kg of pork emits only ~7-12 kg of CO₂e.

Proposal: A global ban on beef and dairy, switching to pork and poultry. The emissions saved by this simple consumer choice would surpass the total efforts of many nations.

This proposal sounds absurd, right? It infringes on culture and personal choice. And that is precisely the point: any climate solution that ignores fairness, responsibility, and context is, in itself, absurd.

The right to development is a human right.
by dev0p | 2025-09-15 07:22:47+00:00
I am SHOCKED everytime I am reminded those Disposable Vapes exist.

My friend, that is a Portable Computer you are holding in Your Hands, and You are THROWING IT AWAY after ONE SINGLE USE?

Insane.

At least the fact that we got to this point in the first place is certainly an achievement for humanity as a whole?
by yvely | 2025-09-15 07:22:56+00:00
So basically your source is: "trust me bro, I'll prove it to you?" I think it is a relevant question. We cannot go around calling someone genius prompt engineers, and then skip the engineering part of noting down what actually works and how it can be replicated. Could we try to work backwards not from the perspective of the problems of the person asking the question, but perhaps work backwards from your claims (I.e. to where you have them from)
by yupyupyups | 2025-09-15 07:22:56+00:00
Someone can correct me if I'm wrong.

If the GUI stack is vulnerable, then those sandboxes could be broken out of. The idea behind not allowing an app to access root is to remove the attack surface introduced by the GUI stack. An alternative interface to a GUI would be some physical connection (like usb-c). So accessing root exclusively via a console port or USB would be safer in theory.

This is true regardless if it's a phone or a PC.

Desktops are unfortunately waaaay behind something like GrapheneOS or iOS in terms of sandboxing. The closest in the desktop world is Qubes OS, but that's not a realistic alternative to normal OSes for the common user.
by lelanthran | 2025-09-15 07:23:37+00:00
Assertion #1

> And the secondary market is more expensive.

Assertion #2

> New cars require less maintenance and usually come with 1-3 years of warranty.

The more people who purchase because of Assertion #2, the less true Assertion #1 is going to be.

So, yeah, as someone who has only twice purchased new (and regretted the financial hit both times), I actually am in favour of convincing more and more people to strain their finances to buy new, knowing that a lower demand in the secondary market means lower prices for me for the same used car.

If more people purchased within their means and bought secondary, I'd be paying a lot more each time I bought a car.
by jc11091005 | 2025-09-15 07:25:00+00:00
That sounds like a valuable initiative. If you want to attract contributors and collaborators, it might help to share more specifics:

- What stage the project is at (concept, prototype, MVP, etc.) - What roles or skill sets you’re looking for (engineering, design, product, policy, community building, etc.) - How people can get involved (GitHub repo, mailing list, Slack/Discord, etc.) - What values or guiding principles the platform is built on (nonpartisan, open source, transparency, etc.)
by privatelypublic | 2025-09-15 07:25:09+00:00
Please be careful of such "metrics/statistics." Their very nature means they're politically and financially incentivized lean towards a higher or lower number than "the other guy." And, of course, a big number is scarier in a vacuum. What if a paper bag is 250g of emissions?

The poster child for me for this is low-GWP refrigerants. Sounds good, right? Well, think about how CO2 captured filtered and compressed compares. I'll leave everybody to argue with their-self on this. Does co2 vs r-whatever use more energy? Less? Does it somehow justify the emissions and pollution of manufacture?

My conclusion is... I don't know.
by atmosx | 2025-09-15 07:25:13+00:00
It works remarkably well at scale. In fact, this is the defining trait of all cities, states, and nations that became historical points of reference like Troy, Athens, Rome, Constantinople, Venice, London the US and possibly China in the future.

Each of them thrived because they embraced diversity and freedom, etc. giving themselves access to a much larger pool of skilled talent.

Venice offers the clearest example. At its height, they could appoint someone as unconventional as a sub-Saharan Muslim to command their fleet (think of Othello). But the moment they shifted to a locals-only approach for key positions, their dominance began to crumble.

The problem is that usually locals feel cast aside. And while they too get the benefits, they rarely see them as such… They feel entitled and screwed. Don’t care about the big picture.

Ps. Of course this is very high level as each of these cities / states / etc collapsed under slightly different circumstances.