MurphyA/hacker-news huggingface dataset:
by ExoticPearTree | 2025-08-12 11:40:26+00:00
One option is to have a button on the start page to ask the user to which tenant they belong to, and then authenticate them appropriately. Very little friction in the authentication process: Like are you an employee or a contractor?

Azure has an another option called B2C tenant (they're renaming it now something like Entra External ID or something similar) which is designed to work as user database for things like customers/clients. Instead of developing your own classic MySQL + $whatever framework for authentication to use this service as an alternative.

If you invite an external user that already exists in another Microsoft Azure tenant, you only know their user principal and first/last name. Nothing else. All other info does not get populated into your tenant even if it exists in the source tenant.
by timbit42 | 2025-08-12 11:40:28+00:00
My first modem was the 300 baud VIC Modem Commodore made for the Commodore VIC-20. It was supposed to be the first modem for under $100 which they achieved by not having those rubber cups for the receiver. Instead, it plugged directly into the wall. Years later I found out the first modems were 110 baud.

I bought the VIC Modem second hand but the only thing I could connect to was another friend who had a modem. We transferred some files but decided it was faster to drive over to his house with a disk and then drive back.

I also tried connecting to a data service listed in the yellow pages, and the modem would connect, but then I couldn't get it to do anything. The service was listed as being free but I didn't realize it was a long distance call to connect to it and that wasn't free so my parents ended up with an $80 long distance bill from my modem calls.

Then I had a 1200 baud modem Commodore made for the Commodore 64. Again, I was only able to connect with other friends who had a modem.

When I got my Amiga 2000, I set up a BBS (FidoNet 1:255/42) with a SupraModem 2400. Later they had a deal for sysops to get their new 14,400 modem. I can't remember if it was buy-one-get-one-free, or buy-one-get-one-half-price. I only had one phone line so I sold the second one to a friend who used my BBS the most. At least someone could benefit from my having 14,400.

I also remember playing Battle Chess over the modem with a friend who had a PC clone. We were playing one day and my mom called me to supper so I set Battle Chess on my Amiga to autoplay while I was eating. When I came back my friend had no idea I had left. Good laugh.

I think I had a 33,600 next and then finally a 56K before moving to a city where they were testing HFC internet which was hybrid-fibre-coax around 1997 and was 10 Mbit/s both up and down. It was screaming fast compared to dialup and I could download a CD ISO in under 20 seconds while my friend back home were still downloading ISO images via dialup. (Just did the math and it should only take 8 to 9 seconds, so I guess there was a bottleneck somewhere).
by safercplusplus | 2025-08-12 11:40:46+00:00
Right. And of course there are still less-performance-sensitive C/C++ applications (curl, postfix, git, etc.) that could have memory-safe release versions.

But the point is also to dispel the conventional wisdom that C/C++ is necessarily intrinsically unsafe. It's a tradeoff between safety, performance and flexibility/compatibility. And you don't necessarily need to jump to a completely different language to get a different tradeoff.

Fil-C sacrifices some performance for safety and compatibility. The traditional compilers sacrifice some safety for performance and flexibility/compatibility. And scpptool aims to provide the option of sacrificing some flexibility for safety and performance. (Along with the other two tradeoffs available in the same program). The claim is that C++ turns out to be expressive enough to accommodate the various tradeoffs. (Though I'm not saying it's always gonna be pretty :)
by bananapub | 2025-08-12 11:41:13+00:00
that's old thinking, the new thinking is just make it irrelevant if you're a bank or not (see "shadow banking") and let you do whatever.

another good example - a company is offering national sports betting, in violation of the laws of almost every state, by pretending it's actually selling futures contracts, which a weird old federal law claims are solely under the jurisdiction of the feds.
by telesilla | 2025-08-12 11:41:54+00:00
Likewise, never gambled once even when exposed to the possibility, but I love a good game of poker or blackjack, it's fun for the mind and it's sociable. Our maths teacher a few decades ago used roulette and other games to teach us about statistics, we all loved it and it engaged the entire class, a bonus for slower maths learners. Today I suppose it's not allowed in the classroom?
by asah | 2025-08-12 11:42:54+00:00
Some good ideas take a long time.

Nuclear energy got commercialized in 1957. The core technology was discovered nearly 50 years earlier.

Electricity was first discovered in ~1750 but commercialized in the late 1800s.

Faraday's experiments on electromagnetism were in 1830-1855 but commercialization took decades.

(The list goes on ...)
by phh | 2025-08-12 11:43:00+00:00
> > Tail recursion IME is a bigger foot gun

> This is true for some languages, but not all.

Useless anecdote that tail-recursive can be a foot gun even in Scala.

I did a (screening) job interview at Datadog, they asked for "give the spare change back on that amount of money" exercise (simple variant), "in whichever language you want". I did my implementation in tail-recursive Scala (with the annotation). I ended up trying to explain that tail-recursivity doesn't explode in memory for the rest of the call (and failed)
by Merrill | 2025-08-12 11:43:36+00:00
The Sud Aviation Caravelle first flew in 1955 and entered revenue service in 1959.

It was a small airliner with two engines in the rear. Although the Caravelle was retired in 2005, the twin rear engine layout was used by the very successful DC-9, MD-80 series, which is still flying, as are the similar Embraer ERJs. Twin rear mounted engines is also the design used by most private jets.

https://en.wikipedia.org/wiki/Sud_Aviation_Caravelle
by adityaathalye | 2025-08-12 11:44:09+00:00
It certainly is a joy! I'd generalise it to any reasonable plaintext format.

Org mode keeps me locked in for this very reason.

No need for Emacs... pandoc (which I use) builds my static site. It supports enough Org markup to let me compile header metadata, latex, footnotes, markup etc. as well as inline live JavaScript code and use it in-page, just like I'd do in a regular stand-alone HTML page.

For example: a post with inlined static HTML and JavaScript, freely mixed-and-matched with org-native source block syntax. No plugins needed.

Raw: https://raw.githubusercontent.com/adityaathalye/shite/refs/h...

Pandoc-rendered live site: Compare Raw source with this section: https://www.evalapply.org/posts/animate-text-art-javascript/...

Github-rendered in repo (not github pages): It is (surprisingly) good enough for most Org content, including generating a nice Table of Contents... Except for any footnotes, and inlined or hosted JavaScript source (understandably, security may be a concern). https://github.com/adityaathalye/shite/blob/master/sources/p...
by llm_nerd | 2025-08-12 11:44:26+00:00
> You do not understand the difficulty in obtaining a criminal conviction in this country

The US has almost 2 million people in prison. It has one of the highest incarceration rates on the planet.

US - 541 per 100,000 Canada - 90 Germany - 68 Japan - 33

Doesn't seem like it's that hard to get a conviction. The US has a sociology problem, not a difficulty getting convictions problem.

> It has such a high homicide rate that were it a country, it would rank in the top 20 most murderous.

It has the 19th highest murder rate for US cities. It sits behind Tulsa, Oklahoma. 1/4 the rate of St. Louis, Missouri. Still a terrible murder rate, and it shouldn't be normalized, but there is utterly nothing exceptional about DC. And it's miles safer than virtually anywhere in methville, Appalachia.

As to car thefts, it sits at 61st among US cities, behind Nashville TN, Savannah GA, and Lexington, KY. Eh.

>Perhaps every town whose crime rate is at this level should increase the police budget by 50x

In the ultra-low tax US of A? Har. Ignoring that its crime rate is not remotely exceptional relative to other cities, already the vast majority of US cities are barely solvent, and policing is already the most expensive line items for city budgets.

Should there be a massive restructuring of policing? Yes, absolutely. Should career criminals face fewer reprieves? Absolutely. Does the US have a catastrophic sociological probem? Absolutely.

Is this an easy fix that Big Brain Trump is going to solve? LOL, no, give me a break.
by schwartzworld | 2025-08-12 11:44:33+00:00
> NL Holdem poker is absolutely a game of skill with an element of variance aka luck/lack-there-of.

I’ve played a lot of Holdem, and I’m not sure I agree. A lot of what passes for skill is just an innate understanding of the odds.

John Scarne writes about gambling that a good bet isn’t one you are likely to win, but one where the payout is enough to be worth the risk. The best players know the odds of pulling a straight and can do math to figure out if it’s worth chasing one.
by debugnik | 2025-08-12 11:46:10+00:00
They tried, by forking Xamarin Forms into MAUI, and even then they ignored Linux. It's really rough though, to the point many projects use it as just a glorified webview for Blazor. I expect it to eventually go into a silent maintenance mode along with WinUI 3.

Avalonia is the go-to library for cross-platform UI in .NET right now. But Microsoft's own apps have been switching to web stacks, in a clear case of "Do as I say, not as I do."
by flohofwoe | 2025-08-12 11:46:39+00:00
I'd say the original intent of UB was not the sort of "optimizer exploits" we see today, but to allow wiggle room for supporting vastly different CPUs without having to compromise runtime performance or increasing compiler complexity to balance performance versus correctness. Basically an escape hatch for compilers. The difference to IB also has always been quite fuzzy.

Also the C spec has always been a pragmatic afterthought, created and maintained to establish at least a minimal common feature set expected of C compilers.

The really interesting stuff still only exists outside the spec in vendor language extensions.
by rawling | 2025-08-12 11:46:48+00:00
Finding conflicts in a PR between two branches that can merge cleanly if I do it locally.

Not letting you resolve conflicts in the UI if the source branch is protected, even though the UI gives you the option to commit the resolution to a new branch if you do it for an unprotected source branch.

Updating the source branch in the PR if you choose to do the above - something you can't do yourself!

Not showing branches in a hierarchy (as if they were directory paths)
by intended | 2025-08-12 11:47:23+00:00
“the mechanism the models us is well described”

Vs

Total AI capex in the past 6 months was greater than US consumer spending

Or

AGI is coming

Or

AI Agents will be able to do most white collar work

——

The paper is addressing parts of the conversation and expectations of AI that are in the HYPE quadrant. There’s money riding on the idea that AI is going to begin to reason reliably. That it will work as a ghost in the machine.
by hnquestion12345 | 2025-08-12 11:47:57+00:00
My living situation has been a bit chaotic over the last few years, mostly moving around between family members so I haven't really had a good working environment. Usually just a spot I can place my laptop down. I do think a better environment would help me out. Sometimes I go to Ikea and wish I could have a nice desk and setup.

It's funny you mention washing dishes because that's one of my favorite ways to relax haha. I really enjoy things like that but when I see all of things people are doing, especially on this site, I start to feel like, okay I have to create something cool to keep up. I feel like I can't just enjoy simple hobbies like reading and drawing without doing something "meaningful".

I'm really going to try the side project thing. The things I want to create always end up so grand in scale. Yesterday I had an idea and I was already looking for best ways to make it cross-platform before I even did anything with the idea. All the stuff around that takes away from the fun of the idea and adds so much complexity and I just let it go.
by jeroenhd | 2025-08-12 11:48:00+00:00
> because it can see the SNI field in HTTPS traffic

ECH (the successor to eSNI) is becoming more and more common and with Let's Encrypt soon offering IP certificates, any website will be able to hide their SNI.

Digital verification exclusively on-device doesn't work because addons and alternative applications make it possible to bypass those checks. There's no credible reason to trust local software to protect the kids.

The point of the Act is that the UK government no longer pretends to believe that the "I am 18 or older" checkbox is actually stopping anyone, and that there are no better alternatives. The public (in most democratic countries, not just the UK) doesn't want kids to be able to freely access porn the way you can now and the government is acting in the interests of the public here. If the tech industry had felt any responsibility, they would've been working on a solution to this problem somewhere in the last thirty or so years of internet pornography, but so far they've done nothing and are all out of ideas.

The EU's reference digital wallet representation seems to be the best solution so far (though it's not finished yet and has some downsides as well), hopefully the UK will set up a similar (compatible?) programme so UK citizens can skip the stupid face scans and ID uploads.
by ncruces | 2025-08-12 11:48:00+00:00
The current standard still says integer-to-pointer conversions are implementation defined (not undefined) and furthermore "intended to be consistent with the addressing structure of the execution environment" (that's a direct quote).

I have an execution environment, Wasm, where doing this is pretty well defined, in fact. So if I want to read the memory at address 12345, which is within bounds of the linear memory (and there's a builtin to make sure), why should it be undefined behavior?

And regarding pointer provenance, why should going through a pointer-to-integer and integer-to-pointer conversions try to preserve provenance at all, and be undefined behavior in situations where that provenance is ambiguous?

The reason I'm using integer (rather than pointer) arithmetic is precisely so I don't have to be bound by pointer arithmetic rules. What good purpose does it serve for this to be undefined (rather than implementation defined) beyond preventing certain programs to be meaningfully written at all?

I'm genuinely curious.
by Nursie | 2025-08-12 11:48:07+00:00
I'm happy with 120.

Wrapping at 88 in java code, where I have method names almost that long, would use too much vertical space and lead to constant scrolling.

This may be an issue with the information density of java code, absolutely, but I don't want ordinary-length functions disappearing off down the screen.

YMMV.
by qewrhkefhked | 2025-08-12 11:49:10+00:00
My biggest mistake was doing a MSc in AI. In hindsight it was a massive waste of time and I should have just aggressively mass applied to jobs and practiced for interviews as much as possible. After getting my BSc the rest meant nothing, portfolio / side projects, self-study, MSc, going to a high ranked university. All meant nothing, it comes down to applying / interviewing using maximum brute force. The rest in hindsight was largely irrelevant.
by bgwalter | 2025-08-12 11:49:12+00:00
LLMs are able to reproduce the entire IP. Sometimes it requires more than one prompt. I've seen examples in the wild where a single prompt was sufficient:

https://jskfellows.stanford.edu/theft-is-not-fair-use-474e11...

Therefore, their output is a derivative work and violates copyright. The 2018 amendment is driven by big capital and should be reverted. Machines can plagiarize at huge scale and should have have no human rights.
by galangalalgol | 2025-08-12 11:49:42+00:00
The problem is that a regulatory body is determining all this instead of the independent judiciary. Ofcom now has the power to granularly decide who gets categorized as what, and to what degree small organizations are given less stringent rules. They have the power to become a ministry of truth. That is hyperbole today, but only because they haven't been wielded by a suitably minded leader yet. If this seems paranoid consider it is coming from an American. Might ask Poles and Hungarians what they think too. The Poles might still feel free to answer honestly.
by pjmlp | 2025-08-12 11:49:49+00:00
Back in the 2000's I had lots of fun porting code across several UNIX systems, Aix, Solaris, HP-UX, Red-Hat Linux.

A decade earlier I also used Xenix and DG/UX.

That is a nice way to learn how "portable" C happens to be, even between UNIX systems, its birthplace.
by gottorf | 2025-08-12 11:49:51+00:00
The whole point of SCOTUS is that they are the final arbiter of what is legal and what is illegal in this country[0]. Are you saying that federal judges in lower courts are given leeway to act against the law, provided they disagree with the administration?

[0]: Not what is right or wrong, and obviously like any other human enterprise, they are capable of making mistakes.
by WJW | 2025-08-12 11:50:29+00:00
On the margin, that is true. But it also needs a situation where there are many competitors in any market, where consumers will choose only the best product at the best price instead of paying attention to politics/religion/location/etc, where switching costs are low and where the consumers can accurately determine quality in the first place.

The free market is an interesting idea, but it assumes many preconditions that are not always true in practice. It's an approximation at best.
by tenthirtyam | 2025-08-12 11:50:31+00:00
Interesting. Given that the horseshoe shape is due to gravitational lensing of one far off galaxy ~19 Gly away by another "only" 6 Gly away, wouldn't that mean that any motion of those galaxies, or our galaxy, would realign the lensing and alter the shape of the horseshoe?

So... how long before we see the shape change? How fast do galaxies move anyway?
by perlgeek | 2025-08-12 11:51:01+00:00
This isn't about conflict, it's about how humans read it.

Let's say I have two modules, "telnet" and "ssh", and both have a "connect" function. When I read "import connect, (long list of other imports here)" I don't know which connect it is, and I might form the wrong mental connection, which I then have to revise when I start to read the module name.
by azangru | 2025-08-12 11:51:51+00:00
> For the last 25 years, Microsoft was known for:

- Creating a language (typescript) that took the front-end web community by storm.

- Becoming one of the real adopters of "progressive web apps". Apple is actively hostile to them, because they would eat into the 30% cut they are making from the apps distributed via the app store; Google, once a champion, has grown kinda tepid, because it also gets a cut from apps distributed via Google Play; but Microsoft now behave as if they are a believer.

- Shipping a tremendously popular text editor, Visual Studio Code.
by Lockal | 2025-08-12 11:51:58+00:00
Illiterate is "inability to read and write" by definition. I know people who submitted bug reports requesting: "hi, I want to use your API, please add wildcard origin header", after getting explanation they propose "ok, JUST add my domain, I'm an opensource contributor, trust me". They ask to remove security features, recognizing them as security features, but only caring about their convenience (like "don't enforce 2fa", "don't warn about untrusted links"). They don't know about defense in depth and even if you explain them, they will skip your explanation, because they can't read.
by jeroenhd | 2025-08-12 11:52:27+00:00
I'm reasonably sure several articles and uploaded artworks violate various US state regulations on adult content, though the states would be idiots trying to enforce them against Wikipedia; that'd only increase the risk of some kind of higher court declaring the law unconstitutional.

Geographically speaking, about half the US has "think of the kids" laws that are similar to the UK's.
by eqvinox | 2025-08-12 11:52:29+00:00
You categorised it as an X11 issue. I showed you another desktop session ("KDE:") has a specific setting for this. Therefore, it is clearly not an unsolvable X11 problem, and likely an i3 problem.

You said "mechanism seems worth it". While there seems to be some work on extending it, this is not a new mechanism. A hypothetical i3 port to Wayland might very well have the same behaviour you dislike. (I wouldn't categorise sway as a port, rewrite seems more like it.)
by incoren3 | 2025-08-12 11:53:11+00:00
Everybody forgets that AI is just a computer.

AI cannot dig ditches. AI cannot harvest crops. AI cannot frame a house, fix a car, or do anything else in the real, physical world. It will never do these things, not because of technical limitations, but because human labor is cheap and versatile.

AI can only really take the jobs of those who sit at a computer all day. Even then, I suspect that the only people who really need to worry over the long term are middle management. And good riddance to them.

But either way, there will be no UBI, so don't hold your breath. Our leadership will let us all starve in the streets the second we are no longer required.
by mxuribe | 2025-08-12 11:53:18+00:00
Funny enough, not exactly this, but when i review new apps - either desktop or mobile (but especially mobile!) - besides ensuring that the desired features are present and will do the trick...i try to see if i can understand where/how the files are saved...This started years ago when i was interested in exporting stuff from proprietary apps...and now i've biased myself...so whenever i can not view/access/understand how or where files are stored for an app, then i almost immediately have a negative sentiment towards said app. Sadly, for mobile apps, the obfuscation of files and how/where they're stored is too much of a prevalent thing and for me so annoying.

This started out in my quest to be sure that i can not trapped by an app, and so i can safely export my data...but, nowadays, it has extended a little into the tinfoil hat thinking - fairly or not - where i ask myself: "why does this app not disclose where its files are stored, *what do they have to hide!?!*" ...which feels like the universe is nudging me more and more towards either text-centric methods, or the simplest, open source style apps, etc. :-)
by pjmlp | 2025-08-12 11:53:38+00:00
As another Gandalf, Playstation 2 was the very first console to actually offer proper C++ tooling.

That would be 2000, until then Sega, Nintendo and Playstion only had C and Assembly SDKs, even the Playstation Yaroze for hobbists did get released only with C and Assembly support.

PC was naturally another matter, especialy with Watcom C/C++.
by close04 | 2025-08-12 11:53:54+00:00
Just to put in perspective, on a 1080p screen with no zooming the line length in a top level HN comment is ~200 characters including spaces. It's bearable because the comments tend to have just a few lines and a tree structure to avoid the wall of text.

The blog referenced in the article as "extremely, almost unreadably bad" clocks in at ~300 characters per line, with the classic wall of text appearance which makes it very tiring to read.