MurphyA/hacker-news huggingface dataset:
by llm_nerd | 2025-04-23 12:08:45+00:00
>You are likely entirely informed by ragebait news articles

Sure. Do you think I haven't experienced every aspect of Meta properties? Instagram reels, for instance, is a racist hellhole full of the most vile content and snuff videos. It seems to have zero moderation, profiting off of the worst of humanity[1]. Facebook actively runs obvious scam ads for scam businesses and does absolutely nothing if you report it.

Meta at this point is basically a criminal operation.

And it's hilarious how much fear mongering there was about Tiktok (which is a positively benign platform compared to Meta's garbage platforms). I recently uninstalled Instagram after it fed me an endless stream of 51st state propaganda, despite the fact that I Not Interested/Blocked every single occurrence (this was around the time that Instagram turned up the "snuff" dial so millions were getting feeds full of violent deaths[2], which is a mechanism that immediately should subject Meta to government inquiries). Meta properties should be banned everywhere outside the US purely based upon the fact that they're enemy propaganda at this point.

>and any other options would quickly evolve into the same state as FB/IG today

No, they wouldn't. Like literally somehow loads of other sites manage to not be the cesspools of garbage that Meta properties are. This is by design. Here in Canada, engagement on Facebook has dropped to negligible levels outside of the 51st state/conspiratorial sorts. Reddit is an enlightened intellectual promised land compared to the shithole that Meta properties all are.

>which - again - would collapse your small businesses

This is such nonsense. The only businesses that are reliant upon Meta are largely scammy new-age bullshit. And your rhetoric is like saying that if McDonalds closed millions would go hungry because surely there is no way for people to eat otherwise.

And again you've tried to pull other companies in. Google offers enormous value to the world. They are largely a responsible company. Apple offers value. Netflix offers value. Microsoft offers value.

META...blinked out of existence and the world would be much better. Meta is the world's digital Purdue Pharma.

[1] And to be clear, I'm a free speech person. That fringe sites exist where people ply this content is fine. That a major corporation seems to build a business around it, however, monetizing nuts and mental illness and racism and conspiracies and violence, is absolutely disgusting, and I cannot comprehend how someone could work at Meta without feel shame every moment of every day.

[2] https://www.theguardian.com/technology/2025/feb/27/instagram...
by lillecarl | 2025-04-23 12:09:15+00:00
I agree with you, but in practice I've never had a problem with USB-C at all and everything mobile I own has USB-C except my face trimmer, and the next one will be USB-C for sure.

If you're worried about the port in a classroom environment you can use a short extension that you plug in on the device end, it will make the connection separate much easier if something unfortunate happens.
by fatbobman | 2025-04-23 12:09:28+00:00
Swift’s powerful type system empowers us to create semantically explicit and safe data models. Yet when we move to SwiftData or Core Data, the constraints of their underlying storage mechanisms often force us to compromise on type expressiveness. Those concessions blur our domain models’ intent and plant hidden seeds of instability.

This article explores how, within the restrictions of persistence layers, we can leverage ingenious type wrappers and conversions to build data models that are simultaneously Type-safe, semantically clear, and highly efficient.
by cwillu | 2025-04-23 12:09:30+00:00
“Path of least resistance” is a simplification of ohm's law, and that simplification simply isn't very relevant when dealing with voltages with 7-9 digits and tens of kiloamperes: at those voltages, even high impedance paths will have a non-trivial current (to lifeforms made of bags of saltwater).

And don't forget that an instantaneous discharge of 10,000A will also create a tremendous magnetic field which will immediately collapse, creating voltages that will induce eddy currents in conductors (such as the aforementioned bags of saltwater) that are near the main current flow.
by zkmon | 2025-04-23 12:09:36+00:00
Risk appetite, accountability and support. These go against open source. Gone are the days when businesses were desperate for some software that just works. During my days at apache, I have seen large businesses officially allowing their devs to contribute to opensource full time. IBM being a large contributor. Now people can only accept managed software and hardware. Even if it opensource, it should be managed. Cloud providers offer a lot of opensource as managed services. That sells. No more wild-west.
by bosie | 2025-04-23 12:09:51+00:00
The current recommendation is in this region, yes. The bare minimum is 0.8g per kg. But that is survival mode.

I am generally not a huge fan of the historical line of thinking. 6 generations ago you died significantly earlier with not a great health along the way. It is a very recent development to live to (avg) 83. Would the strongest man in your region perform at a high level if he wasn't doing manual labour and died at 95?
by apwheele | 2025-04-23 12:09:56+00:00
For a newer list I would add the mapbox API as well.

So I work in data analytics, not so much web-mapping. For those applications, IMO local solutions, like ESRI, are good options if you are limited to addresses in the US, https://crimede-coder.com/blogposts/2024/LocalGeocoding.

Googles TOS was that you can't even cache the results, https://cloud.google.com/maps-platform/terms. So saving to a database and doing analysis of your data is not allowed AFAICT.
by iagooar | 2025-04-23 12:11:06+00:00
The EU is using populist claims to introduce laws with ideological bias (big corp bad, America bad, America corp super bad). Everyone knows the digital act was never meant to be a fair set of rules, it was introduced to punish US companies at will.

At the same time, most governments, public offices, agencies and businesses in Europe would not be able to operate normally without access to American software.

The problem is that it is way easier to (over)regulate and tax, than to create a strong environment for business and innovation to thrive, in order to grow your own tech giants.
by pjerem | 2025-04-23 12:11:41+00:00
> if Europe actually produced a company with the innovation and scale of Apple.

Except a functional society does not need companies "the scale of Apple" to work.

In fact it's probably the opposite : nobody can beat Apple or Google because they already have too much power worldwide.

Even in the US, where is the free market ? Nobody can create a company that will compete with Apple or Google. Sure, there was an open window for new competitors in the capitalism game in the 90-2010 era with the rise of the home computing but now everything is locked up again.

A functionnal society doesn't need huge actors, it only needs an environment where companies that win the capitalism game don't become trusts and where small companies can shine.

I don't want an european alternative to Apple, I want an ecosystem of companies that specializes in what they are good at and that are forced to work together to be interoperable.
by SSLy | 2025-04-23 12:12:24+00:00
> Just don't use the website.

https://www.newsweek.com/heres-how-turn-off-tracking-faceboo... https://www.pcmag.com/how-to/how-to-stop-facebook-from-spyin... https://www.wired.com/story/ways-facebook-tracks-you-limit-i...
by bazoom42 | 2025-04-23 12:12:25+00:00
Complexity in the standard library is not that relevant. If you make your own custom dictionary implementation, you increase complexity of your code base compared to just using the one in the standard library, even if your own implementaion is simpler.

The relevant complexity for using a regex is the complexity of the pattern itself and the complexity of invoking the regex. Any custom procedural solution will be more complex unless it is literally something as simple as checking whether a string contain a given literal string.
by diego_moita | 2025-04-23 12:12:29+00:00
> deep-pocketed corporations pay huge amounts of money to pay for open source products.

There are many names for this: co-opt, assimilate, bribing ...

A lot of times it is like when Tony Soprano offers you a deal, or like when the U.S. made the NAFTA deal with Canada and Mexico.

It feels good and awesome at the beginning but later on, when you become dependent on it, you'll have to pay an heavy price.
by dagw | 2025-04-23 12:13:25+00:00
As someone who has worked with this sort of stuff quite a bit, I can assure you that OSM is pretty terrible for Geocoding and reverse geocoding. OSM is great for all kinds of roads (everything from the largest highways to the tiniest unofficial hiking trails), pretty good for landuse and absolutely terrible for building footprints and addresses. In many countries you don't have to get far outside of major cities before half the buildings are just missing, and even the buildings that do exist very often have the wrong address or house number.
by einpoklum | 2025-04-23 12:14:13+00:00
It can get even worse, when the duty-free store has multiple entrances/exits; only one of them leads to the gates; and the paths between them are winding with a lot of stall and shelves and stands occluding the view. And at times you need to choose whether to turn right or left - and may end up cycling back to where you entered, on a different walking path, or to an exit which actually just leads to other check-in areas.
by prophesi | 2025-04-23 12:15:30+00:00
Bit of a sparse article. The near-miss of CVE funding is certainly tragic, but there's no mention of how they siphoned data from the NLRB and locked everyone out of their accounts, and give only a quick mention to cutting federal grants for cybersecurity and CISA's funding. There's a lot more ammo out there to show how incompetent the Trump administration and Musk's DOGE team actually is.
by jjulius | 2025-04-23 12:15:45+00:00
But, that's life, no? We can never make plans that work out all the time. I'd say, as a father of a 5 and 3yo myself, it's a great opportunity to demonstrate/teach the kiddos how to deal with those situations.

The point of days like that, and what I highlighted to my oldest when we had a similar disappointing outing this weekend (we all wanted to grill in a park, packed everything up, but forgot it was Easter and every other family had the same idea and we were screwed), is that we still get to have a nice time with family one way or another, regardless of what we're eating.

It's definitely disappointing when time is super limited, I completely empathize! I guess I just always try and highlight the glass half full aspect of things and use that to find a way to make the best of a crummy situation.
by statusfailed | 2025-04-23 12:16:14+00:00
I've been hoping for a nice concrete example of braided monoidal categories for ages, who knew that the best one was string diagrams that represent actual string! Great post!

@the author - I assume you're aware that morphisms in symmetric monoidal categories can be represented using cospans of hypergraphs - do you know if there's a similar combinatorial representation for braided monoidal categories?
by sofixa | 2025-04-23 12:16:28+00:00
> Unfortunately, Putin is likely going to keep invading up to Germany’s Fulda Gap

Russia can barely handle a stalemate with Ukraine. They have zero chance offensively against Poland and the Baltics, let alone the full blown might of the EU+UK (which also have independent nuclear weapons in France and to an extent the UK). That doesn't mean that a Polish offensive can march into Moscow, but it doesn't have to for Putin to lose power. He's showing his strongman strong army bullshit to be little more than a paper tiger, and at some point even the nihilistic to death Russians will get tired of the meat grinder for literally no reason.
by weird-eye-issue | 2025-04-23 12:16:52+00:00
You would have to have a very wacky setup to not even be able to pass Cloudflare Turnstile. Having that in place does not mean I don't care about my users. In fact we only put it on the login endpoint to help prevent abuse of people's accounts in the first place...

Also, I want to add that we only put Turnstile on the login page once we had tens of thousands of active users and not a single person had any issue logging into their account. These are paid users, so I can guarantee you they would have been emailing us
by jmull | 2025-04-23 12:17:55+00:00
With Svelte anyway, a third-party component just gets in the way.

You just make whatever it is you want in HTML and make it reactive (put it in a file with the right extension and add the svelte-specific reactivity you want).

It's simple/straightforward, does exactly what you want, and instead of spending time mastering the API of some component, you mostly spend time using the HTML/JS/CSS you already know.
by djoldman | 2025-04-23 12:18:14+00:00
This is wild and something I didn't know about:

https://blog.edward-li.com/tech/advanced-python-features/#2-...

def bar(a, /, b): ... # == ALLOWED == bar(1, 2) # All positional bar(1, b=2) # Half positional, half keyword # == NOT ALLOWED == bar(a=1, b=2) # Cannot use keyword for positional-only parameter
by 542354234235 | 2025-04-23 12:18:23+00:00
>I never needed the phones to become as thin as cardboard

And it is only thin until you put on the bulky case. If phones put a real battery and intigrated basic protection, it would still be thinner than the current small battery/outer case situation. Most people don't need tank-like Otterbox protection, they just need something that keeps bumps and small drops from shattering something.
by ryao | 2025-04-23 12:19:46+00:00
This is the first that I have heard of them. The apparent inspiration for the phrase had never meant to be interpreted to justify a lack of charity. Only those with poor understandings of Christianity’s history and teachings would think otherwise. I would think the “uncharitable interpretations” of the phrase “God helps those who help themselves” are by those with poor understandings as well.
by tomhow | 2025-04-23 12:19:49+00:00
Guys, I want to investigate this claim, but people keep making it without giving me any details to look into. If you give us a specific news item or date range, we can look at the data and see what was happening (we have access to internal and external tools that show where each story was ranked at different times).

Also: any time you know of an important story that you think should be on the front page, you can email us to let us know - hn@ycombinator.com. We'll either address it or explain why we're doing something other than what you're asking for.

> Someone relying on HN as their primary news aggregator

Who are these people who look only at HN and nothing else, expecting to be fully informed about everything that's important in the world? :)
by rfoo | 2025-04-23 12:20:24+00:00
`Any` is the correct call.

It could be:

def f(i=0) -> None: if i is None: do_something() else: do_something_else()

Yeah, I know it's retarded. I don't expect high quality code in a code base missing type annotation like that. Assuming `i` is `int` or `float` just makes incrementally adoption of a type checker harder.
by cmrdporcupine | 2025-04-23 12:20:37+00:00
I guess the other well-known syntax form at the time was the one in the Algol/Pascal/Ada/Modula-2 tradition with keywords (begin/end, if/endif, etc) for structuring blocks and that's what MOO cribbed from, while LPC (and later JavaScript, Java, etc.) did the braces thing.

At the time I liked braces a lot more but since then have come around to preferring the more Wirth-ish style. I think Julia has shown that a dynamic lisp-ish language can do this very elegantly.
by PetitPrince | 2025-04-23 12:20:48+00:00
I majored in bioengineering and this I put this entirely to the fact that I participated in my country biology olympiad. I wasn't very good (never went to the international olympiad) but I met passionate people who made biology their career and were full of astonishing stories.

But indeed there was a lot of boring and story-less recitation during my courses. One my most vivid memory was that of a cell signaling course. This activate this and promotes this thingy. Half of the class was asleep. At some point the professor describe some of the function of the SSH gene. You've got a gradient of this stuff combined with two others gradients of other gene and you got a nice differentiation in embryonic development. Whatever, I was waiting for something else. But then we got unto the next pathway I don't remember nor care about. And that made me furious. It was indeed a "lifeless recitation of name",

Because SHH is an acronym. An acronym for Sonic Hedgehog ! As in Sonic the videogame mascot from Sega ! In serious developmental biology ! It's something unusual, something that sticks, something that's worth telling a story. But no, it's SHH, represented as a boring abstracted circle in an abstracted pathway. I knew the story (not from the olympiad people, maybe it was in a random listicle in the IFLS Facebook back when I used facebook), and I wish, I wish that the guy in the front who's supposed to be a professor and supposed to teach would go on a little tangent that drosophilia biologist generally name their gene in a funnier way than human biologists. The professor could just said that, just as a way for bored student barely out of their teenage years to have some interest, to make the material easier to stick somehow ! But no, "lifeless recitation of name" indeed.

The only molecule name I do remember from this course is cyclopamine. Because when I look for it in Wikipedia there's a frigging real cyclops photo in there. I think it was one of the rare instance of something cool appearing in the actual course slide, but I'm honestly not sure about it (incidentally cyclopanine disrupts the Sonic Hedgehog pathway)
by circlefavshape | 2025-04-23 12:21:00+00:00
There's a big difference between the statement I was responding to

> Before recorded music literally everyone was a musician in one way or another

... and your statement

> participation in casual musicianship in everyday contexts has declined significantly

I agree with the latter, but not the former. I'm not denying the existence of folk traditions, just pointing out that music-as-a-profession is very old - and even within folk traditions (e.g. my own (Irish)) there is, and probably always has been, some proportion of people getting paid
by tubthumper8 | 2025-04-23 12:21:30+00:00
Can you do it for functions defined by other people, or only for functions that you defined?

I'm thinking in the general case, but motivated by this example of a 3rd party function that accepts a SQL query as a string, and we'd like everywhere in our codebase to stop using that and instead use the 3rd party function that accepts the query as a t-string
by fkyoureadthedoc | 2025-04-23 12:21:44+00:00
Solid indeed does not have the same number of options that React has when it comes to UI component libraries. I've only used Solid on small throwaway projects, but I do like it better than React.

However, like you've pointed out, there's going to be things that you have to do yourself that in React you could likely depend on someone else for.

For tables though, I haven't used this in Solid, but it's pretty nice in general https://tanstack.com/table/latest
by mikepurvis | 2025-04-23 12:22:42+00:00
Yes WSL2 is a mini-VM. Having used both, I don't think it's a slam dunk that 1 was better, really just different.

Particularly for the more complex cases of container APIs, GPU access, desktop integration, etc. Those are solved problems in the VM space and reinventing new solutions at a slightly different layer is not necessarily wise or realistic.
by rl3 | 2025-04-23 12:23:23+00:00
>I never realized such a lawsuit was even possible; are TV shows not allowed to edit what they show?

This isn't 60 Minutes' first rodeo with this kind of thing. An earlier experience was so harrowing that it was turned into a film starring Al Pacino and Russell Crowe:

https://en.wikipedia.org/wiki/The_Insider_(film)

An excellent one, at that.

---

Since I can't post another comment owing to this submission first disappearing off the main page prior to being flagged for no apparent reason:

Corporate parent Paramount and its controlling owner, Shari Redstone, are seeking the approval of federal regulators to sell it to the son of Oracle founder Larry Ellison.

Joy. The censorship regime on HN lately has become grotesque. People should be ashamed.
by hombre_fatal | 2025-04-23 12:23:39+00:00
Not much is going to compete directly with React's ecosystem maturity.

But, of course, there's the option you have when using a non-React library in React: on mount, you instantiate the library in a ref, and then you use effects to turn reactive state updates into library invocations.

For example, wrapping https://datatables.net/ if there were no React adapter.
by varjag | 2025-04-23 12:24:10+00:00
> Russia can barely handle a stalemate with Ukraine.

See, people look at the stalemate and often draw false conclusions. It's not that Russia was too weak militarily, it's that Ukraine put up one hell of a fight.

And all these economy size comparisons are mostly meaningless. Sure Russia may have a GDP of Italy but by the same logic Ukraine (which is a fraction of Russian GDP) should have lost long ago.

> They have zero chance against Poland and the Baltics

Russia's chances against the Baltics are pretty good, I would say 1 in 3. And for Putin it's a proposition with no downside: at worst he loses another few hundred thousand subjects.
by LunaSea | 2025-04-23 12:24:30+00:00
> Europe could easily have had a homegrown alternative to the Play Store on Android. In fact at one time it had several, only the users had no interest at all, and this was before Google went through their phase of locking things down more.

So why should users not have the option anymore because years ago the existing options were worse than Google's?

Should you be forbidden to buy an iPhone because you used until Androids until now and passed on iPhones?
by dmix | 2025-04-23 12:25:06+00:00
> I would argue that leading and controlling the organization that provides the world with the single most ubiquitous cybersecurity resource justifies what you characterized as a meager cost in reputational capital alone.

Someone in the original HN thread about funding wrote a post explaining how poorly run CVE org was and it had been like that for years. It had a giant backlog, ignored criticism, and moved very slowly.

Then the second it shutdown a volunteer organization was assembled overnight.

> Control of something like the CVE registry is essentially a geopolitical concern at this point

This is purely a reputational concern. Being on government networks doesn't make it instantly more trustworthy or safe. Just like everything regarding security it takes lots of people looking at it, people reporting issues, and an organization that deals with issues promptly.
by a-l-e-c | 2025-04-23 12:25:38+00:00
That's quite challenging to do. I've myself spent quite a few hours looking into it and came to the conclusion that they make it their goal to complicate the self-hosting by lack of detailed docs. For example: I recall seeing a comment/warning in their docs similar to "for production, don't use this default setup" and it kinda felt more like "tough luck, figure it out or fork out $ome ca$h". Perfectly fine business model, but not 100% self-hostable on a production level (even for a very basic app)