MurphyA/hacker-news huggingface dataset:
by epolanski | 2025-04-21 13:11:49+00:00
I personally like how effect-ts allows you to write both pipelines or imperative code to express the very same things.

Building pipelines:

https://effect.website/docs/getting-started/building-pipelin...

Using generators:

https://effect.website/docs/getting-started/using-generators...

Having both options is great (at the beginning effect had only pipe-based pipelines), after years of writing effect I'm convinced that most of the time you'd rather write and read imperative code than pipelines which definitely have their place in code bases.

In fact most of the community, at large, converged at using imperative-style generators over pipelines and having onboarded many devs and having seen many long-time pipeliners converging to classical imperative control flow seems to confirm both debugging and maintenance seem easier.
by giantg2 | 2025-04-21 13:11:57+00:00
Are we (or the grandparent) talking most people at one point in time, or most people at any time during their life? If it's the latter, then I do think it's a valid claim, but I haven't seen any stats that cover those sorts of numbers. Eg have more than 50% of people in a committed relationship never used the timing method? Most of the couples I am good friends with have used the cycle timing method when they want another kid, want to delay it, but are open to having one sooner. This is also commonly combined with secondary measures, such as condoms, pulling out, or even abstinence during the fertile window (why measure cycle timing if you're not changing your behavior, using another method, based on the observation).
by SamuelAdams | 2025-04-21 13:12:03+00:00
Another example here, Google forked a GCS fuse driver and the author found out later and posted on HN about it: https://news.ycombinator.com/item?id=35790223

Edit: apparently Google did not use the author's codebase, instead using an Apache 2.0 licensed codebase [1] explained here [2].

[1]: https://github.com/kubernetes-sigs/gcp-filestore-csi-driver

[2]: https://news.ycombinator.com/item?id=35863944
by hylaride | 2025-04-21 13:12:59+00:00
> Which is "interesting", considering how much of the New Testament is about redemption and reaching out to outsiders. Aren’t we all supposed to be God’s creation, and wasn’t Jesus supposed to teach us about salvation, redemption and forgiveness?

As religion has shrunk in participation in most of the west, it has become hugely susceptible to manipulation. My wife (now atheist, but grew up evangelical) often has to correct me when I make snide remarks about Christianity. Recently I made some comment about hypocrisy amongst Christians for supporting a multiply-divorced man who bragged about groping women for president (who has probably never read the bible), to say nothing of the people around him. She quickly snapped back at me that "they actually see themselves in him, have you not noticed all the sex scandals that happen in so many churches?" and then went on to list the "questionable" relationships in her own youth group. (I am NOT saying all Christians are like this, but religion is often used to cover up or excuse misdeeds).

It is not unique to Christianity or even Islam, though. You're seeing a lot of religion being used to justify many terrible things, including many smaller ones in Africa and Asia that have been used to justify atrocities and genocide.
by thom | 2025-04-21 13:13:03+00:00
I've always found magrittr mildly hilarious. R has vestigial Lisp DNA, but somehow the R implementation of pipes was incredibly long, complex and produced stack traces, so it moved to a native C implementation, which nevertheless has to manipulate the SEXPs that secretly underlie the language. Compared to something like Clojure's threading macros it's wild how much work is needed.
by moritonal | 2025-04-21 13:13:18+00:00
Wow, this was not a "smug corpo" opinion? I renovated a house recently, and had a plethora of choices for cheap smart options, instead after research I found some expensive options with MQTT support for HomeAssistant, they got my money.

I wanted to buy an etablet but Remarkable has a subscription, so I bought a smaller brand, it's worse, but they got my money.

You want a phone that respects your privacy? There isn't a business model that supports that, so don't support it. Yes you can't have your banking app, but that's the deal, you just dont like it. If no one bought it, there would be a market for alternatives.

Nothing will change these companies apart from market forces.
by chii | 2025-04-21 13:13:18+00:00
> switch to raw mode

it would be impossible, if doing so meant less profit for openai (or any of the for-profit ai companies).

The only way to achieve such would be to ensure that LLMs could be run locally for the indviduals. But as hardware requirements grow for LLMs, i increasingly find that it might not be possible to do so.
by mjburgess | 2025-04-21 13:13:40+00:00
The far right have just recently put ~130 unknowns into black vans, on to plans, to be sold into slavery in an elsavadorian prison. Of the two we have information on, both are legal residents of their own country. Of the rest, all we know is that they are innocent before the law, since theyve had no trial.

The oligarch who presently threatens the legislature of the largest democracy in the world with being having their opponents funded at the primary stage -- is also the same person who has had 100,000s of legal employees of the government fired and who has prompted these stories about the UK on the world's most imporatnt political media platform, that he owns. He did so after riots took place in the UK whose aim was to murder immigrants who had been falsely accused of crimes, these accusations also spread by the very same oligarch.

There's a line from the person trying to burn down a hotel with immigrants inside, in the UK, to social media, to the enslavement of unknown persons in the US. That line we call "the far right" and it's a pretty small group, at the top.

I cannot really grasp how a person would be confused by who the far right are and at the same time have at their fingertips news stories about girls in liverpool. One has to imagine you aren't really being serious.
by aaronbaugher | 2025-04-21 13:14:16+00:00
I suppose that depends what you do with them. I spent some time this weekend using Grok to work on a business plan and some other projects. I find myself using it for research, quickly winnowing information down to what's relevant to my needs, and sort of bouncing ideas off it the way I would with another person. I always have to keep in mind that it could get something wrong, but then again, so could a person.

I don't think it's helping me think; more like it's helping me organize my thoughts and find inspiration. I suppose others might use it in a more dependent way.
by bnchrch | 2025-04-21 13:14:29+00:00
I'm personally someone who advocates for languages to keep their feature set small and shoot to achieve a finished feature set quickly.

However.

I would be lying if I didn't secretly wish that all languages adopted the `|>` syntax from Elixir.

```

params

|> Map.get("user")

|> create_user()

|> notify_admin()

```
by talkingtab | 2025-04-21 13:14:42+00:00
As someone commented above, commercial use is an issue. Creative commons is good, but the non-commercial clause prevents it being useful in this case. It seems to be that the crucial issue here is the duplication of the project by forking.

I am unclear of where the boundaries could and should be, but in essence we want money to flow into community source projects. Corporations and commercial entities can and should pay a fair amount. If they don't want to pay, they should not be able to profit from the work of the community.
by CompoundEyes | 2025-04-21 13:15:14+00:00
I agree with the power user view too. AI wouldn’t exist if it weren’t for the heightened personality trait of some to ask why, how, what if and reinterpret to push arts, science, technology forward. We don’t need everyone to do that. Also I think it can help us solve problems that are on the edge of being “unstuck” from which new ones that require human ingenuity will emerge. Let’s spend our time solving those novel problems for which AI has no pattern to apply
by belter | 2025-04-21 13:15:34+00:00
These are generic, and quite weak recommendations on the part of the CISA. And that was the excuse of the CIA director, while knowing very well these are for regular work not real-time battle plans.

Also those recommendations from the CISA recommend to use password managers...like Lastpass and 1Password and others, who had multiple security breaches.

If this is the type of Cybersecurity the US government applies to day to day work, its much easier to understand the field day North Korean and Chinese hackers seem to have all the time.

https://www.upguard.com/blog/lastpass-vulnerability-and-futu...

https://www.forbes.com/sites/daveywinder/2024/08/07/critical...
by hylaride | 2025-04-21 13:15:45+00:00
Read up on him more. He's essentially former KGB that was originally assigned to keep an eye on the token remnants of the church in Soviet Russia. He's now saying the war against Ukraine is "holy and justified", signing up to fight is "guaranteed to wipe away your sins", etc. He's designed to manipulate a segment of the population. He's Putin's method to "religiously justify" whatever Putin wants.
by GrantMoyer | 2025-04-21 13:16:19+00:00
> And I want others to be able to remix what I make as needed. The more limitations added on a license, the less open it is.

It's unintuitive, but permissive licenses are not the best way to acheive this. GPL's "limitations" are designed to maintain the right and abilty to remix code for the end user. So if say Microsoft forks your library and its fork becomes more popular, they can't make it proprietary after capturing the market and effectively stop people from remixing what you made.
by xpe | 2025-04-21 13:16:30+00:00
I’m thinking you might be a kind of person that requires very direct feedback. Your flagged comment was unkind and unhelpful. Your follow-up response seems to suggest that you were justified in being rude?

You also mischaracterize my comment two levels up. It didn’t wave you away by saying “just google it”. It said — perhaps not directly enough — that your comment was off track and gave you some ideas to consider and directions to explore.
by esafak | 2025-04-21 13:17:03+00:00
Extension methods to the rescue: https://en.wikipedia.org/wiki/Extension_method

Examples:

https://kotlinlang.org/docs/extensions.html

https://docs.scala-lang.org/scala3/reference/contextual/exte...

See also: https://en.wikipedia.org/wiki/Uniform_function_call_syntax
by jasode | 2025-04-21 13:17:13+00:00
>Look at it's base price, then lookat their customers. It makes no sense to break it.

You're not thinking the same way the motivated pirates think. Some pirates (especially in Eastern Europe, Asia, etc) rip new releases as fast as possible to illegally re-sell or re-stream for lower prices (or show along with ads for revenue). In this way, the pirates get the revenue instead of the legitimate movie studios.

So pirate groups in combination with illegal streaming websites can be thought of as a black market financial arbitrage. So far, the video sources they used include Blu-Ray rips and streaming Netflix or Amazon Prime Video webrips.

However, the Kaleidescope players could theoretically also be included as rip sources ... if the DRM was broken. The math for profitable arbitrage isn't that ridiculous. E.g. :

- a 4k UHD Blu-Ray is $33.49 : https://www.amazon.com/Conclave-4K-UHD-Edward-Berger/dp/B0DP...

- it would take only ~80 of those titles to recoup the cost of $1995 Kaleidescope player + the $7.95 rental fees for 80 downloads. All downloads after that break-even threshold is extra money for the pirates. Another bonus is pirating 4k UHD content that's not available on physical Blu-rays.

But the Kaleidescope DRM isn't broken. Therefore, the $7.95 rental downloads can't be used as a new vector for pirate releases. Of course, Kaleidescape doesn't want this scenario to happen so they're incentivized to continue paying for the DRM licensing protection.

And to recap the specifics I was replying to, it was this: >"If you're going to allow playback on devices in "adversarial" hands (streaming, home physical media playback), it's going to be incredibly difficult to restrict copying."

Kaleidescape is one counterexample to that. So far, they have actually restricted copying with success.
by lolinder | 2025-04-21 13:17:39+00:00
The man declared Putin's war to be a literal crusade against the West:

> From a spiritual and moral point of view, the special military operation is a Holy War, in which Russia and its people, defending the single spiritual space of Holy Rus', fulfill the mission of the "Restrainer", protecting the world from the onslaught of globalism and the victory of the West that has fallen into Satanism.

> After the end of the SVO, the entire territory of modern Ukraine must enter the zone of exclusive influence of Russia. The possibility of the existence on this territory of a Russophobic political regime hostile to Russia and its people, as well as a political regime controlled from an external center hostile to Russia, must be completely excluded.

https://www-patriarchia-ru.translate.goog/db/text/6116189.ht...
by cosmic_cheese | 2025-04-21 13:17:43+00:00
While working for companies, many devs have had the frustrating experience of finding a library that perfectly solves their problem, only to discover that it’s GPL3 or similar and thus strictly off limits due to company policy. Especially if repeated a few times that’s enough to inspire use of permissive licenses, to help avoid that frustration for their future selves (should they change employers) as well as other fellow corporate devs.
by pseudocomposer | 2025-04-21 13:18:01+00:00
I largely agree, but I also think you might want to consider how the existence of LLMs affects our education system. I think this is one of the places they really have the most potential to cause harm, but also perhaps some incredible (humanity-changing) good.

I suspect countries, and even individual local schools, who effectively adapt their curricula to account for LLMs will see an enormous difference in student outcomes in the next couple of decades.
by ghostly_s | 2025-04-21 13:18:01+00:00
Yeah, as far as I can gather the only thing MS did wrong here is not explicitly crediting the project they forked the code from, and I don't get the impression the author would find adding that one sentence to the docs to be adequate redress. I don't get why you would take personal offense at a big company forking your code so they can mold it to their purposes - the license allows that. Now whether that's the right way for a "friend of the OSS community" to behave is a different question entirely, but anyone who ever bought that horseshit from them has had their head in the sand.
by d3Xt3r | 2025-04-21 13:18:04+00:00
We have a bunch of decent-spec native Linux options these days, such as the FuriPhone FLX1 (Debian), Volla Quintus (Ubuntu Touch), Jolla C2 (SailfishOS) etc.

All of them also have an optional/opt-in Android compatibility layer, which makes them a lot more practical.

The first two phones also have a dual-boot option if the compatibility layer isn't enough, and the third one (Jolla C2) is exactly what you asked for - it's a rebadged Reeder S19 MAX PRO S, so if you can't buy the C2 where you live, you could try getting a Reeder and flashing it yourself, or alternatively buy one of the supported Sony Xperia phones.

In any case, there are far better options these days than the Pinephone and Librem.
by orthoxerox | 2025-04-21 13:18:05+00:00
It's also for logging:

log.debug(f"The value of counter was {counter}, the nonce was {nonce}")

builds a new string every time the interpreter hits this line. Whereas

log.debug(t"The value of counter was {counter}, the nonce was {nonce}")

passes a Template to the debug() function that bails out if debug mode is not on and doesn't build a string.
by bentt | 2025-04-21 13:18:26+00:00
"Meanwhile Instagram and Facebook keep evolving. Facebook is turning into a weird Reddit for older people. Instagram is turning into a hipper LinkedIn, where artists, musicians, and local businesses share career and business updates and advertise their wares."

This is spot on. Facebook proper has supplanted private email chains for a lot of older people. This is ironic because they are moving in the opposite direction as everyone else. Everyone else is moving into private communities, older people are leaving the safety of email chains and, often unknowingly, posting publicly. Facebook (probably intentionally) upholds the illusion that they are posting for their friends. I've seen Facebook actually provide a compelling service to my older dad who keeps in touch with a lot of his old friends on there. It's a much more active community of seniors than you'd guess.

Of course, they are subject to all the ills of Facebook at the same time. Overall I'd rate it as a net loss for society because of that.
by Kkoala | 2025-04-21 13:19:38+00:00
Without going into whether it's a good idea, or how the current administration and climate might affect things, these are some common options I have personally heard of:

- L1 visa: Get an internal transfer from a company that has offices both in the EU and the US

- H1B visa: Get hired by a US company and enter into a queue/lottery type of thing

- Green card lottery: Enter the annual lottery to get a Green Card to enter the US

- OPT visa + extensions: Graduate from an accredited college/university in the US

- O1 / EB-1 visas etc: Convince the immigration office that you have some extraordinary ability that would greatly benefit the US

- E2 visa and similar: Start a business in the US and invest a substantial amount of money into it

- New "Gold Card": Buy your way into the US with 5 million

Some of these also have different variations with slightly different requirements
by ryao | 2025-04-21 13:20:34+00:00
If you read the original commit comment, userspace software needs to opt into this:

https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds...

If it is not reported for people to know about it, this will do nothing.

That said, the opt-in here is only relevant when software has already opted into busy polling, so it likely does not apply to software used outside of datacenters.
by haswell | 2025-04-21 13:21:26+00:00
> It may destroy the research ability of the average person

In this “post-truth” era, I think this is deeply concerning and has the potential to far outweigh the benefits in the long run. People are already not good at critically evaluating information, and this is already leading to major real world impact.

I say this as someone who has personally found LLMs to be a learning multiplier. But then I see how many people treat these tools like some kind of oracle and start to worry.
by bena | 2025-04-21 13:22:00+00:00
I think you may have misinterpreted his motive here.

Just before that statement, he says that it is an article/hot take about syntax. He acknowledges your point.

So I think when he says "semantics beat syntax every day of the week", that's him acknowledging that while he prefers certain syntax, it may not be the best for a given situation.
by BrokenShell | 2025-04-21 13:22:11+00:00
Hey HN!

FortunaMCP is an advanced MCP server dedicated to generating high-quality random values. It leverages the Fortuna C-extension, which is directly powered by Storm—a robust, thread-safe C++ RNG engine optimized for high-speed, hardware-based entropy. FortunaMCP provides dependable randomness for a wide range of AI applications.

Large language models excel at natural language processing but rely on deterministic algorithms that fall short when true unpredictability is required. In contrast, FortunaMCP delivers genuine randomness. This capability makes it indispensable for scenarios where unbiased, unpredictable outcomes are critical, and where LLM approximations (hallucinations) simply won’t suffice.

FortunaMCP is perfectly suited for tasks like Monte Carlo simulations, complex system modeling and analysis, and interactive game mechanics. It is not intended for blockchain, security or encryption oriented tasks.

Let me know what you think!
by soulofmischief | 2025-04-21 13:22:34+00:00
What actual issue didn't I address?

You're completely confusing reading level, historical significance with thematic content. "Mein Kampf" is not what I was looking for in reading material.

> Even if we put aside the question about the veracity of your claims

I don't care if you spend the rest of your life questioning my own experience; I don't question it, because I lived it, and after this conversation we'll never speak to each other again and I will continue to live my life.

> Apparently your school didn't have enough adult-oriented books...yet it also gave the kids access to Mein Kampf.

Can you understand the difference between Mein Kampf and other books and why Mein Kampf might not scratch that itch? After I read it, what, do I just read it again and again? No, I want more books. I read 2-4 books a week. I suffered extreme childhood abuse and reading was my escape.

You're not making any real points, just looking for a little gotcha moment so you can pat yourself on the back, looking for inconsistencies so desperately that you're willing to intentionally ignore the obvious in search of something else.

This isn't how you have a conversation with others.
by SnazzyUncle | 2025-04-21 13:22:57+00:00
This is exhausting. Now you are bringing up US politics. We are talking about the UK and the UK law.

I have linked you the communications act of 2003, I have linked you examples of cases where people have be prosecuted for speech and you are going on about the current Administration in the United States which is on the other-side of an ocean.

I am asking you when have you met someone in real life that is "far right"? You are unlikely to have done so because there is maybe a few thousand at most in a country of 80 million people.

I have seen the leaked membership details of the BNP. Do you know how many people were in the BNP? IIRC it was less than 500 people for the entire UK.

You are talking as if there are Brown Shirts marching up every UK high street.
by noxer | 2025-04-21 13:22:57+00:00
> Instead, use a range negation, like [^%] if you know the % character won’t show up. It doesn’t hurt to be a little more explicit.

This is absolutely horrible, pattern are fairly readable if they follow the syntax logic. Matching "everything but that random character that will not appear" is absurd. Also the idea that a . (dot) behaves arbitrary in different languages shows a sever lack up understanding about regex syntax. Ofc you can't write a proper pattern if you don't know which syntax is used. If anything you would force override the behavior of the . (dot) with the appropriate flag to ensure it works the same with different compatible regex engines.
by mfro | 2025-04-21 13:23:06+00:00
As the commentor that asked previously, "Is it really necessary to spin up an entirely new distro for an XFCE+GTK theme?", Blue95 makes much more sense in the context of bootc usage. I was completely unaware of bootable containers until reading this. Though I will admin I would still prefer something that can be installed easily over a base system. Perhaps see NsCDE[1] for an example. Great post!

[1]: https://github.com/NsCDE/NsCDE