MurphyA/hacker-news huggingface dataset:
by thaumasiotes | 2025-05-19 20:33:46+00:00
> Here is a blog post talking about it

I notice that post suggests that Académie française specifies that accents should be sorted in reverse, and includes a link over the words "Académie française", and yet that link doesn't go to a supporting document.

A while ago I complained on this forum that Amazon's hyphenation for Kindle ebooks is abysmally bad. (Which is still true.) Someone responded to say that the hyphenation algorithm for English requires this. I pointed out that the hyphenation algorithm for English is a lookup table; each word has its hyphenation defined in the table, and when you need to hyphenate a word, you look up the hyphenation points.

Another response linked me to a paper describing how this table can be stored as a set of rules that provide hyphenation points in arbitrary letter sequences rather than dictionary words. That paper is very clear about its goals; it is an advance in data compression, proposing a method of storing a lookup table that takes less space than the table does. It carefully goes over how to produce the ruleset from the table.

But somewhere along the line, people confused the data compression algorithm (of storing the lookup table as a ruleset) for the hyphenation algorithm. They will now tell you with a straight face that a single ruleset that seems to have gone around represents the hyphenation algorithm for English, even if the word you want to hyphenate wasn't in the table that that ruleset was prepared from. And this is false.

It looks to me like something similar has happened in English speakers' understanding of French sorting order. It's very easy to explain why the example quadruplet has the sorting order it does:

cote côte coté côté

(Note that the Stack Exchange question from 2024 and the blog post from 2004 use exactly the same example.)

These four words have two pronunciations, and the pronunciations are grouped with each other. After that, "cote" comes first by virtue of bearing no accents, and "o" comes before "ô" for the same reason.

What's happening here is that although French generally pretends that "e" and "é" are the same letter, they aren't, which forces -e (not pronounced) to come before -é (pronounced!). "o" and "ô" actually are the same letter, and can be ordered flexibly.

The rule "sort the accents in reverse" arises as a coincidence; it happens to be the case that this distinction is most significant at the end of French words. But French speakers would reject this ordering:

cetot cétot cetôt cétôt

This doesn't come up because those words don't exist.
by kylehotchkiss | 2025-05-19 20:34:29+00:00
Would be cool if they mass-produce this material enough to frame houses with it. Intrinsic termite resistance could actually allow houses in the southwest to last 100 years. And reduce CA's massive greenhouse gas impact from all the vikane https://www.latimes.com/environment/story/2024-04-03/califor...

> The termite killing gas — sulfuryl fluoride — has been found to be 4,800 times more potent than carbon dioxide in trapping heat.

> When a team of Johns Hopkins scientists set out to map exactly where the gas was being released, they were startled to find that California generated as much as 12% of global emissions of the synthetic fumigant.
by silisili | 2025-05-19 20:34:42+00:00
Oh man if that's true I hope it replaces dimensional lumber for floor joists. I'm not sure which psychopath invented span charts for home building, but it's extremely rare I'm in a non-slab house where the cabinets and such don't rattle from just a normal person walking across the floor!

I ended up putting beams in to half the span across my own house because it got so annoying(I want to say they are high grade SYP 2x10s @ 13 or 14')
by nottorp | 2025-05-19 20:34:57+00:00
> look, i'm sure there are very useful things you can use AI for as a designer to reduce some of the toil work (of which there's a LOT in photoshop et al)

Hey, has anyone done an "AI" tool that will take the graphics that I inexpertedly pasted together for printing on a tshirt and make the background transparent nicely?

Magic wands always leave something on that they shouldn't and I don't have the skill or patience to do it myself.
by ac29 | 2025-05-19 20:35:38+00:00
> I'm a little confused by how the article worded this. The paragraph ending with "and also will support SR-IOV" begins by discussing the Arc Pro B60, so I'm not sure if that feature is specific to the B60 or if it's the whole Arc Pro B-Series.

The press kit released by Intel mentions SRIOV on the B60 slide but not the B50. So, its possible it is only B60?

https://newsroom.intel.com/press-kit/intel-at-computex-2025
by samtheprogram | 2025-05-19 20:35:49+00:00
I responded "This is not true" to a sibling comment about this same topic, but about "shared libraries", which is the opposite problem (multiple programs could load the same shared library and try to interact).

This is absolutely not true for Linux kernel updating. While you won't be using the new kernel before rebooting, there's 0 risk in not rebooting, because there's exactly 1 version of the kernel running on the machine -- it's loaded into memory when your computer starts.

There's of course rare exceptions, like when a dynamically linked library you just installed depends on a minimum specific version of the Linux kernel you also just installed, but this is extremely rare in Linux land, as backwards compatibility of programs with older kernels is generally a given. "We do not break userspace"
by alex43578 | 2025-05-19 20:35:54+00:00
So this thought experiment isn't just that "everyone decides dollars are worthless" but also that the state is dissolved, along with all the property rights and the govt's monopoly on violence?

That's more like saying "Dollars are worthless in a scenario like Fallout or The Road", rather than making any relevant point about government efforts to maintain fiat currency.

In the original scenario of "people decide dollars are worthless... nothing the government can do", my point was that the government has a lot of levers to pull to backstop value, albeit at a far lower level than today's dollar.
by jraph | 2025-05-19 20:35:54+00:00
You weren't cherry picking but the search query you used would lead to issue reports.

HP, Dell and Lenovo also sell Linux laptops on which Linux runs well.

I sympathize with the more limited availability and budget restrictions, but comparisons must be fair: compare a preinstalled Windows and a preinstalled linux, or at least a linux installed on hardware whose manufacturer bothered to work on Linux support.

When the manufacturer did their homework, Linux doesn't have the issues listed earlier. I've seen several laptops of these three brands work flawlessly on Linux and it's been like this for a decade.

I certainly choose my laptops with Linux on mind and I know just picking random models would probably lead me to little issues here and there, and I don't want to deal with this. Although I have installed Linux on random laptops for other people and fortunately haven't run into issues.
by GuB-42 | 2025-05-19 20:35:55+00:00
> WSL is more powerful than Linux

This is the kind of statement that makes you pay the karma tax. WSL is great, I use it on a day to day basis. I also use Linux on a day to day basis. And as great as WSL is, for running Linux software on supported hardware, Linux beats WSL hands down. And I mean, of course it does, do you expect a VM to beat native? In the same way that Windows software runs better on Windows. (with a few exceptions on both sides).

Compared to Linux, WSL I/O is slow, graphics is slow and a bit janky, I sometimes get crashes, memory management is suboptimal, networking has some quirks, etc... These problems are typical of VMs as it is hard for the host and guest OS to coordinate resource use. If you have an overpowered computer with plenty of RAM, and are mostly just using the command line, and don't do anything unusual with your network, then sure it may be "better" than Linux. But the truth is that it really depends on your situation.
by FrameworkFred | 2025-05-19 20:36:21+00:00
I have to admit, I'm not up to speed on anything he's been up to lately, but I absolutely read and enjoyed Dilbert way back when. I'm sorry to hear he's not long for the world.

Every time I see someone kitted out in VR gear, I think about his prediction that the Star Trek holodeck will be humanity's last invention and I'm very glad they don't have a button that can beam the next person waiting for their turn into a concrete wall.
by nevi-me | 2025-05-19 20:36:53+00:00
I'm on Ubuntu 25.04, 128GB RAM, pcie 5 SSD, NVIDIA 5080, 9950X3D.

I discovered over the weekend that only 1 monitor works over HDMI, DisplayPort not working, tried different drivers. Suspend takes a good 5 minutes, and on resume, the UI is either turn or things barely display.

I might buy a Windows license, especially if I can't get multi-screen to work.
by Workaccount2 | 2025-05-19 20:37:17+00:00
I just can't help but feel that grok is a passionless project that was thrown together when the worlds richest man/"Hello fellow nerds" guy played with ChatGPT and said "this is cool, make me a copy" and then went ahead and FOMO'd $50B into building models.

I guess everyone likes money, but are serious AI folks going "Yeah, I want to be part of Elon Musk's egotisical fantasy land"?
by Conscat | 2025-05-19 20:37:25+00:00
I'm sure that feature is important for whatever works you're doing, but that's a feature I've _never_ desired, and WSL is missing plenty of features that are important for my work.

Hardware performance counters basically do not work in WSL2, which among other issues, makes it extremely difficult to use rr. https://github.com/rr-debugger/rr/issues/2506#issuecomment-2... Some people say they got it working, but I and many other users encounter esoteric blockers.

The Dozen driver is never at feature parity with native Linux Vulkan drivers, and that's always going to be the case.

By default, WSL security mitigations cause GCC trampolines to just not work, which partly motivated the opt-in alternative implementations of trampolines last year. https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=28d8c680aaea46...

gWSL is also a terrible X11 server that makes many very basic window management configurations impossible, and while I prefer VcXsrv, it has its own different terrible issues.

I can imagine that WSL2 looks attractive if all you want to do is run command line apps in multiple isolated environments, but it is miserable for anything graphical or interactive.
by ryandv | 2025-05-19 20:38:26+00:00
> Speaking of the effects of technology on individuals and society as a whole, Marshall McLuhan wrote that every augmentation is also an amputation.

To clarify, what's being referenced here is probably the fourth chapter of McLuhan's Understanding Media, in which the concept of "self-amputation" is introduced in relation to the Narcissus myth.

The advancement of technology, and media in particular, tends to unbalance man's phenomenological experience, prioritizing certain senses (visual, kinesthetic, etc.) over others (auditory, literary, or otherwise). In man's attempt to restore equilibrium to the senses, the over-stimulated sense is "self-amputated" or otherwise compensated for in order numb one's self to its irritations. The amputated sense or facility is then replaced with a technological prosthesis.

The wheel served as counter-irritant to the protestations of the foot on long journeys, but now itself causes other forms of irritation that themselves seek their own "self-amputations" through other means and ever more advanced technologies.

The myth of Narcissus, as framed by McLuhan, is also fundamentally one of irritation (this time, with one's image), that achieves sensory "closure" or equilibrium in its amputation of Narcissus' very own self-image from the body. The self-image, now externalized as technology or media, becomes a prosthetic that the body learns to adapt to and identify as an extension of the self.

An extension of the self, and not the self proper. McLuhan is quick to point out that Narcissus does not regard his image in the lake as his actual self; the point of the myth is not that humans fall in love with their "selves," but rather, simulacra of themselves, representations of themselves in media and technologies external to the body.

Photoshop and Instagram or Snapchat filters are continuations of humanity's quest for sensory "closure" or equilibrium and self-amputation from the irritating or undesirable parts of one's image. The increasing growth of knowledge work imposes new psychological pressures and irritants [0] that now seek their self-amputation in "AI", which will deliver us from our own cognitive inadequacies and restore mental well-being.

Gradually the self is stripped away as more and more of its constituents are amputated and replaced by technological prosthetics, until there is no self left; only artifice and facsimilie and representation. Increasingly, man becomes an automaton (McLuhan uses the word, "servomechanism,") or a servant of his technology and prosthetics:

That is why we must, to use them at all, serve these objects, these extensions of ourselves, as gods or minor religions. An Indian is the servo-mechanism of his canoe, as the cowboy of his horse or the executive of his clock.

"You will soon have your god, and you will make it with your own hands." [1]

[0] It is worth noting that in Buddhist philosophy, there is a sixth sense of "mind" that accompanies the classical Western five senses: https://encyclopediaofbuddhism.org/wiki/Six_sense_bases

[1] https://www.youtube.com/watch?v=pKN9trFSACI
by edwinkite | 2025-05-19 20:38:48+00:00
DeBenedictis, E.A., Kite, E.S., Wordsworth, R.D., Lanza, N.L., Cockell, C.S., Silver, P.S., Ramirez, R.M., Cumbers, J., Mohseni, H., Mason, C.E., Fischer, W.W., & McKay, C.P., The case for Mars terraforming research. Nature Astronomy (2025). https://doi.org/10.1038/s41550-025-02548-0
by resource_waste | 2025-05-19 20:39:07+00:00
>Macbooks are winning the laptop war because of superior hardware.

No. This is just you repeating marketing.

No Nvidia chip = B tier at best.

I have a $700 Asus with a 3060 that is better. Go ahead and scale up to a $2000 computer with an Nvidia chip and its so obviously better, there is nothing to debate.

No one cares about performance per watt, its like someone ran a 5k race, came in 3rd and said "Well at least I burned fewer calories than the winner!"
by Shacklz | 2025-05-19 20:39:08+00:00
Many thanks for your work! Definitely looking forward to the upgrade - especially the performance-boosts with regards to tsc will be very welcome in our relatively large code-base, and the changes to discriminated unions will probably help us big time in a very specific scenario where so far they fell short.

That being said, I'm fully understanding of the reasons for the somewhat odd versioning given your special situation, but still, I'd wish there would be a 4.0.0-package for folks like us who simply don't need to worry or bother about zod-version-clashes in transitive dependencies bacause those don't exist (or at least I think so; npm ls zod only returns our own dependency of zod). If I understood correctly, we'll need to adapt the import to "zod/v4", which will be an incredibly noisy change and will probably cause quite a few headaches when IDEs auto-import from 'zod' and such, which we then need to catch with linting-rules.

But that's probably a small gripe for a what sounds overall like a very promising upgrade - many thanks for your work once again!
by cogman10 | 2025-05-19 20:39:21+00:00
> so many of Google’s internal libraries make defensive copies in many places,

This, IMO, is a sign of poor design.

What are you trying to protect? That the google library isn't modifying something or that the caller of the google library isn't concurrently modifying something?

Or are your storing off the value for later use?

In any case, it's acceptable in the Javadoc and API to specify "If you give me this, you cannot further modify it". This already happens and is expected in common JDK data-structures. For example, if you put an element into a HashSet and then change the hash, you won't be able to find it again in the HashSet. Nobody complains that's the case because it's a "Well duh, you shouldn't have done that". Similarly, if you mutate a map while accessing it you'll get a "ConcurrentModificationException" or even bad results. Again, completely expected behavior.

If you are worried about your code doing the wrong thing with something, then one defense that is easy to deploy is wrapping that object with one the is unmodifiable. That's why the JDK has the likes of `Collections.unmodifiableSet`. That doesn't do a defensive copy and is just a quick wrapper on the incoming set.

Defensive programming has it's place. However, I think it gets over-deployed.
by kazinator | 2025-05-19 20:39:24+00:00
The problem may be is that you need to set the locale in order to get certain alphabetization, but setting the locale won't happen until after the language is chosen.

A reasonable approach might be to sort the list of names by using, as the sort keys, the strings projected through a Unicode normalization function, followed by folding to upper case. Then Čestina gets mapped to CESTINA and at least appears among the C's.
by frollogaston | 2025-05-19 20:39:33+00:00
Eh, I have a Mac but end up SSHing into some Linux machine pretty often. There are too many differences between the two unless I'm using something like Python or JS. Docker helps too, but that's Linux.

Also, it's really annoying that macOS switched to zsh. It's not a drop-in for bash. Yeah you can change it back to bash, but then any Mac-specific help/docs assume zsh because defaults matter. Pretty fundamental thing to have issues with.
by ellis0n | 2025-05-19 20:40:37+00:00
When the war started, I advised various public and business figures about houses for relocation and someone even replied that work was being done on it, but I don’t see any progress. I had many friends who lived in panel buildings and everyone complained, it was a real curse. In addition to poor sound insulation between walls, over time the panels start to delaminate, you constantly have to seal cracks to stop cockroaches from migrating. The lifespan is 20 years shorter than that of brick buildings, though it depends on the specific batch and some are of decent quality.

Another issue is centralized heating. Problems begin when they start repairing the pipes, going six months without hot water is normal. Insulation is a must, usually done on credit at your own expense.

These buildings are completely lacking in bomb resistance. Of course, there are many types and configurations, for example, I lived in Odessa in some fairly decent panel buildings that were apparently built for a few from the USSR Politburo, so probably elite.

Living underground is hell. It’s better to solve the problem politically with reliable air defense systems. On top of that, terrible high-tech bombs keep getting more advanced and basements could end up costing more than the houses built above them.

The outskirts of Kharkiv are a tragedy, condolences.
Show HN: Storing files on GitHub via S3 API
by kristun-dev | 2025-05-19 20:40:38+00:00
Here's the repo:

https://github.com/ktunprasert/github-as-s3

I wanted to experiment with using GitHub as my backup solution for PocketBase or simply rclone a few files. It was surprisingly easy to make an S3 compatible API, only 8 routes was implemented in the end.
by kaoD | 2025-05-19 20:40:58+00:00
Sorry if it's mentioned in the article but I'm on mobile.

Is fixing .optional() in TS[0] part of the 9/10 top-issues fixed? This has been my biggest pain point with Zod... but still Zod is so good I still choose to just deal with it :) Thanks for an amazing part of the ecosystem.

[0] https://github.com/colinhacks/zod/issues/635
by iLemming | 2025-05-19 20:41:36+00:00
> I want a OS, not an entertainment center

Exactomundo! I'm a software developer, not a florist. I don't care about all those animations, transitions, dancing emojis, styled sliding notifications, windings and dingleberries. If I want to rebind a fucking key I should be able to. If I want to replace the entire desktop with a tiling manager of my choosing — that should be possible. And definitely, absolutely, in no way, should just about any kind of app, especially a web-browser, be shoved in my face. "Edge is not that bad", they would say. And would be completely missing the whole point.
by ben_w | 2025-05-19 20:41:49+00:00
I think all that only makes phones a communications tool, not religious, nor idolatry.

People have been moralising, preaching, dogmatists in the Letters to the Editor since whenever "Disgusted of Tunbridge Wells" was coined — I don't think that's enough to have made The Daily Mail or The Sunday Times into an idol, nor the newspaper preference into a denomination (even if there's that quote from Yes Minister).

But we are busy making Golems and Húsvættir, and you are right that superstition still plagues us.
by XenophileJKO | 2025-05-19 20:42:18+00:00
I mean if the affirmations make your brain, both conscious and unconscious, fixate on thinking about market conditions and purchasing opportunities, this passes my smell test.

A premonition is a fancy name for an unconscious prediction.

Now does are the predictions "good", that is a completely different story. Probably depends on the information going in.
by sigmaisaletter | 2025-05-19 20:42:22+00:00
Went searching and found a few more:

-PlayStation: https://github.com/micah5/PSone.css

-Gameboy: https://github.com/luttje/css-pokemon-gameboy

-Windows7: https://github.com/khang-nd/7.css

-Win95: https://github.com/AlexBSoft/win95.css

-Oldschool RPG: http://ronenness.github.io/RPGUI/

-MacOS 8: https://github.com/npjg/classic.css

-MacOS 6: https://github.com/sakofchit/system.css

And some that are more than just CSS:

-386 DOS: https://github.com/kristopolous/BOOTSTRA.386 (Bootstrap Theme)

-Terminal: https://github.com/xtermjs/xterm.js

-another Terminal: https://github.com/andersevenrud/retro-css-shell-demo

-90s website: http://code.divshot.com/geo-bootstrap/ (Bootstrap)
by andrewstuart2 | 2025-05-19 20:42:47+00:00
My two cents: Keycloak's UI is pretty self explanatory if you understand OIDC (oauth2 + jwt + specific JWT claims) and, if you have to use it (my condolences, though it's also just interesting to see how crazy specs can get), SAML. I'd strongly suggest reading up on the OpenID Connect spec, including the oauth2 spec, and this will serve you very well in your authn/z journey.

That said, keycloak also does have a great docs site.
by speed_spread | 2025-05-19 20:43:02+00:00
You're thinking of the POSIX personality of Windows NT of old. This was based on Interix and has been deprecated about two decades ago and is now buried so deep that it couldn't be revived.

The new WSL1 uses kernel call translation, like Wine in reverse and WSL2 runs a full blown Linux kernel in a Hyper-V VM. To my knowledge neither of these share anything with the aforementioned POSIX subsystem.
by alex_smart | 2025-05-19 20:43:08+00:00
Issues reported:

Link 1: screen only updating every 2 seconds, visual glitches. Link 2: brightness reset to full on screen unlock, fans turning on when charging. Link 3: bluetooth troubles, speakers cant be muted if headphone jack is on mute. Link 4: audio quality and low volume, wifi not coming back after sleeping. Link 5: fans being too loud, poor sound quality.

Either your Stockholm syndrome is affecting your reading comprehension or you just take bugs like these as part of the normal "working perfectly" linux experience.