MurphyA/hacker-news huggingface dataset:
by supplied_demand | 2025-06-27 12:05:45+00:00
== Pretty sure they're referring to a de facto open border policy,==

I’m summary, not open borders. There have been about 20k border patrol agents in the US each year since 2008. Seems like a lot of agents for an open border policy.

https://www.azcentral.com/story/news/politics/border-issues/...
by _heimdall | 2025-06-27 12:06:15+00:00
I've built my personal site on XSLT a couple times just to see how far I could push it.

It works surprisingly well, the only issue I ever ran into was a decades old bug in Firefox that doesn't support rendering HTML content directly from the XML document. I.e. If the blog post content is HTML via cdata, I needed a quick script to force Firefox to render that text to innerHTML rather than rendering the raw cdata text.
by mattlondon | 2025-06-27 12:06:27+00:00
Similar here.

Looking back at pictures from really not that long ago (less than 5 years) to before kids or the first year of the first kid and one of the overriding comments both me and wife have are "We look so young!". We have two aged 3-to-5, and its been hard but not that hard, especially now that there are no nappies/diapers and they sleep 10-11 hours straight overnight and we pay for gardeners, cleaners etc and pretty much do our usual 9-5 as we did before kids.

FWIW though, I would say that you don't need a gym membership. I try to run/jog/saunter a couple of times a week - its free and easy to do. Getting started is as easy as putting some shoes on and stepping out your door - no set up, no memberships, no travel to get to the place to do the running etc. You don't need to go buy special shoes or anything - just something vaguely appropriate will be fine to get started with for short distances and steady pace.

Its what your body has evolved to do, and I think there is a good mental-health aspect to just going out on your own and running and letting the mind wander. I personally don't especially "enjoy" running, and it is sometimes hard to persuade myself to actually go do it, but once I have started and I am 5-10 minutes in, it's quite nice.

Good luck
by the-lazy-guy | 2025-06-27 12:07:02+00:00
> Once you add static linking to the toolchain (in all of its forms) things get really fucking slow.

Could you expand on that, please? Every time you run dynmically linked program, it is linked at runtime. (unless it explicitly avoids linking unneccessary stuff by dlopening things lazily; which pretty much never happens). If it is fine to link on every program launch, linking at build time should not be a problem at all.

If you want to have link time optimization, that's another story. But you absolutely don't have to do that if you care about build speed.
by mriet | 2025-06-27 12:07:17+00:00
This comment on github, by Yann Collet (of zstd fame), is the most enlightening, practical information about the practical uses of hashes and checksums that I've seen about hash collisions. I highely, highly recommend it:

https://github.com/Cyan4973/xxHash/issues/229#issuecomment-5...
by techpineapple | 2025-06-27 12:07:56+00:00
“It'll be interesting to see if OpenAI can develop a system that can generate that kind of money amid bankruptcy claims”

One of the interesting thing about investments - technical or otherwise, is that it’s not so much about the what, why, or how, but the when. Steve Jobs genius wasn’t really in imagining the iPhone, I feel like most tech folks were anticipating it at the time, it was knowing exactly what features to try to include at what pace at that time.

As I recall when ChatGPT was announced and this whole revolution started, Google and other companies were sitting on this tech, but didn’t launch a product because they didn’t feel it was ready for prime time.

So it would be interesting if we threw a few trillion dollars at the problem and the timing was wrong.
by GlibMonkeyDeath | 2025-06-27 12:08:37+00:00
This effect has been well studied, adjusting for wealth and ethnicity (e.g. black and white American vs. European, adjusting for poverty level here https://www.pnas.org/doi/10.1073/pnas.2104684118), or just 1-5% highest income Americans vs. European (https://pmc.ncbi.nlm.nih.gov/articles/PMC7770612/.)

In 1990, there was no difference in life expectancy between wealthy white Americans and comparably wealthy Europeans (Fig 3 in the first link) Since then a gap has opened up among all levels of income (even the wealthiest white Americans now have lower life expectancy than comparably wealthy Europeans.) The second link looks at the biggest death causes (heart disease and cancer being #1 and #2) and conclude Americans have worse outcomes for both of these conditions.

Basically, Europe continued to improve while America stagnated in life expectancy over this time.

Interestingly, even in 1990, comparably poor Europeans had longer life expectancy than white Americans. So this isn't exactly new, but it seems all of American life expectancy has been stagnating, and wealth can only mitigate this to a certain degree.
by trainerxr50 | 2025-06-27 12:08:43+00:00
Exactly. It is like when people complain about the inflation rate not reflecting reality but of course haven't bothered to look at the FRED data and how incredibly granular they do go with the data. Really not even understanding that the inflation rate is an index.

As if you can go more granular than Producer Price Index by Commodity: Chemicals and Allied Products: Thermoplastic Resins and Plastics Materials https://fred.stlouisfed.org/series/WPU0662

It is like with GDP and unemployment. These are incredibly hard things to measure at the scale of the US economy. How can a thinking person not understand this is beyond me.
by perihelions | 2025-06-27 12:09:11+00:00
I understand that the multi-layer insulation idea doesn't accomplish much unless you're trying to reach deep cryogenic temperatures passively (as infrared telescopes do!) It's a difficult structural design which would only cut your heat budget by a small constant factor. Remember that much of that heat on the solar side is making its way over to the cold side by way of electricity—the compute units are a heat "source" of similar magnitude as the solar input itself.

edit: I think the optimal packing could be a simple rolled-up scroll, that unfurls in space into a ribbon. A very lazy design where the ribbon has no orientation control, randomly furls and knots; and only half of it is (randomly) facing the sun at any given time. And the compute units are designed work under those conditions—as they are to be robust against peers randomly disappearing to micrometeorites, to space radiation, and so forth.

Because, you could make up for everything in quantity. A small 3x5 meter cylinder of rolled-up foil stores—at the mm-thickness scale, 10's of gigawatts of compute; at the micron scale, 10's of terawatts. Of course that end is far-future sci-fi stuff!
by switknee | 2025-06-27 12:10:22+00:00
Underwater welder, though being replaced by drone operator, is still a trade despite the health risks. Do you think nobody on this whole planet would take a space datacenter job on a 3 month rotation?

I agree that it may be best to avoid needing the space and facilities for a human being in the satellite. Fire and forget. Launch it further into space instead of back to earth for a decommission. People can salvage the materials later.
by bambax | 2025-06-27 12:10:27+00:00
> XSLT 1.0 is still dominant

How, where? In 2013 I was still working a lot with XSLT and 1.0 was completely dead everywhere one looked. Saxon was free for XSLT 2 and was excellent.

I used to do transformation of both huge documents, and large number of small documents, with zero performance problems.
by tehryanx | 2025-06-27 12:11:13+00:00
The goal isn't to access harmful content, that's just how they're demonstrating that this technique can bypass the alignment training. The general case is what's interesting. If the agent you're using to manage the safety controls in your nuclear reactor is trusting it's alignment training to prevent it from doing something dangerous you've made a really bad architecture decision, and this is a showcase of how it could fail.
by sam_lowry_ | 2025-06-27 12:11:21+00:00
Keys were a thing in XSLT 1.x already.

XSLT 2+ was more about side effects.

I never really grokked later XSLT and XPath standards though.

XSLT 1.0 had a steep learning curve, but it was elegant in a way poetry is elegant because of extra restrictions imposed on it compared to prose. You really had to stretch your mind to do useful stuff with it. Anyone remembers Muenchian grouping? It was gorgeous.

Newer standards lost elegance and kept the ugly syntax.

No wonder they lost mindshare.
by BiteCode_dev | 2025-06-27 12:11:49+00:00
If you are a monopoly like youtube or the apple store, with a "winner take all" market, and your conditions are abusive, I hope you can see this is a problem.

E.G: youtube has a disproportionate share of the attention market, therefore can control what people think, and they are heavily influenced by big companies that will tell users what they can say or not on the platforms.

Your account on youtube is linked to your phone, emails, photos, calendar... So do something that one of those companies don't want you to do because it's not profitable for them,

And of course, they change the rules of the time.

That's why I don't have a google account. But most people are not capable of such insights, they don't have the knowledge to realize how much they can be screwed.
by drivingmenuts | 2025-06-27 12:13:27+00:00
It's probably not possible anymore. One problem in the US, and presumably the UK and other first-world countries, we've lost not only the ability to make things, but we've lost the ability to make things used to make things. For instance, we need machine shops that no longer exist (with machinists that no longer exist, with training programs that no longer exist) to make machines used to build more complicated parts. We've been outsourcing it to China because it was cheaper and now they have all that expertise (despite the shabbiness of some Chinese products, some of their products are absolutely not-at-all shabby).

We did this to ourselves and some people got very rich doing so and it's in their best interests that this remains the case. These same people may claim to want to bring this expertise back home, but really, they want to bring it back, but continue to make even bigger profits. Politicians cry about it on the evening news, but they just want to make campaign promises that will be thrown out as soon as a political donation is made. Workers want it, but without training by people who don't exist, its not possible.

We are screwed, we did it to ourselves, and there's no unscrewing it anymore.
by nemomarx | 2025-06-27 12:14:31+00:00
Which part of smartness? Knowing a lot of things? Ability to research and learn quickly? Fast decision making?

I'm not sure you can say that it's a single dimension, and plenty of people who are very educated or have had impressive careers in one field seem out of their depth in some other area. There's definitely some skill under that all that can transfer, but you'd need to cut through a lot of other traits to try and identify it and it might not be 'smarts'. (Persistence or motivation seem like large factors.)
by ndriscoll | 2025-06-27 12:14:35+00:00
I don't recall ever needing to do that for unnamespaced tags. Are you sure the issue you're having isn't that the tags have a namespace?

my:book is a different thing from your:book and you generally don't want to accidentally match on both. Keeping them separate is the entire point of namespaces. Same as in any programming language.
by imurray | 2025-06-27 12:14:57+00:00
This post is for those interested high-performance matrix multiplication in BQN (an APL-like array language).

The main thing I got out of it was the footnotes, in particular: https://en.algorithmica.org/hpc/algorithms/matmul/ is a really nice post on fast matrix multiplication, and is a chapter of what looks like a nice online book.
by Imustaskforhelp | 2025-06-27 12:15:26+00:00
Thanks a crazy lot for writing this as it actually made me genuinely understand the differences.

And also, I must say that one of the most underrated parts which you told which I didn't knew about was that apptainer can be "unisolated?" ie. we don't have to do crazy shenanigans for it to access my files and it can just do it simply.

Like someone else had mentioned https://nixery.dev/ and I wanted to see if I could use nix tools via docker and use them as if they were installed on my own system and apptainer really nailed it. I read that nixery.dev had to do some shenanigans to prevent the 150 layer or something but I suppose SIF doesn't have to deal with it so I am actually excited a little too haha. Thanks a lot!!

Side Note: I think that there might be better ways to run nix apps like nix-appimage but I am just trying out things because why not. Its fun.
by throwaway290 | 2025-06-27 12:15:45+00:00
Can you explain how you disagree. You mean people have as much money as the government to waste on their health issues? Or you mean people without free healthcare can self regulate habits and be totally not influenced by corporate advertisement and cheap unhealthy stuff dominating food markets? I think that's maybe too rosy

Imagine the government pays for healthcare. The government can pass laws. What is cheaper for gov, to pass laws or to pay for healthcare. Of course they prefer to pass laws which regulate unhealthy stuff and run promotions to get people be healthy. Regular people cannot do this.
by HelloNurse | 2025-06-27 12:16:01+00:00
Exhaustiveness is only relevant for the compiler-managed pattern matching of a traditional FP type system, where you need to write an implementation (patterns that will be used at matching usage sites) for everything that your types promise.

XSLT pattern matching is the plain kind: here is a pattern, look for it in the input and process every match. If some part of the input document is ignored, it's just not useful; if some part of the input document is processed several times, it's perfectly well defined.
by andrekandre | 2025-06-27 12:16:03+00:00
> For the first time in my life, I have seriously started to consider moving me and my wife to a different country, which I hope I don't have to do but I am genuinely scared that they're going to detain my Mexican-immigrant wife.

from the rhetoric i reckon thats the implicit goal of all these policies in the end; just make things so chaotic and stressful people stop emigrating/naturalizing...
by sumtechguy | 2025-06-27 12:16:05+00:00
That data transform thing xslt could do was so cool. You could twist it into emitting just about any other format and XML was the top layer. You want it in tab delimited yaml. Feed it the right style sheet and there you go. Other system wants CSV. Sure thing different style sheet and there you go.

For a transport tech XML was OK. Just wasted 20% of your bandwidth on being a text encoding. Plus wrapping your head around those style sheets was a mind twister. Not surprised people despise it. As it has the ability to be wickedly complex for no real reason.
by layer8 | 2025-06-27 12:16:27+00:00
> App Store apps that communicate and promote offers for digital goods or services will be subject to new business terms for those transactions — an initial acquisition fee, store services fee, and for apps on the StoreKit External Purchase Link Entitlement (EU) Addendum, the Core Technology Commission (CTC).

This means that for example the Kindle app on Apple's app store will continue to not offer in-app-initiated ebook purchases.

I'm doubtful that the EC will deem this scheme to be fully compliant with the DMA.
by jkmathes | 2025-06-27 12:16:36+00:00
To show how wild things got w/ XML and XSLT in the early 2000s, I worked for a company that built an ASIC to parse XML at wire speed and process XSLT natively in the chip - because the anticipated future of the internet was all XML/XSLT. Intel bought the company and the guts made their way into the SSE accelerators.
by CraigJPerry | 2025-06-27 12:16:39+00:00
>> We can still expect the cars to start the race with less energy than needed to get to the finish line

Is the intention here to force improvements to recharging capabilities? If i remember correctly, the rules allow competitors to switch cars entirely during the race, not just recharge or replace the battery. Seems like that undermines as expectated research / improvements to recharge technology.
by wonderwonder | 2025-06-27 12:16:51+00:00
Im 46 now. I had my kids in my early 30's. I gained 30+ pounds over their first 10 years of life. Kids are hard :)

Now that they are older I have more free time. Once they get to the point where they can stay home alone things become much easier. For me that was around when they hit 10. I'm 46 now and in the best shape of my life. Keep pushing through, there is light at the end of the tunnel
by akmarinov | 2025-06-27 12:19:21+00:00
Come on, Apple, just let people sideload. 99.9% of people won’t bother at all, and if you put the opt in switch 3 levels deep in Settings 99.99% won’t even know it’s there.

Feels like Tim Apple needs to go soon, Craig Apple looked to be more open to things from the court emails that were shown.
by falleng0d | 2025-06-27 12:19:54+00:00
It's not racist. It's all about the intention; as a company, you don't want to expend a single extra dime to comply with the regulations. since the population is pretty much homogeneous you can just blur out the Japanese and you are pretty much guaranteed to cover 99% of the cases.

Business don't exist to respect or care about people they exist to generate profit so the idea of a business "respecting" something is not even realistic.

The law is what outlines what are the limits and guarantees the basics rights to everyone.
by bapak | 2025-06-27 12:20:03+00:00
> It would be nice to get to do that again

The answer to this is both "never gonna happen" and "you already can."

You already can ship a React app in pure JS and even import modules via ESM in the browser from CDN. Performance will suck but you can.

You'll never be able to actually have a complex web app that you can just drag into the browser. As the base API expands, so do the ambitions.

Heck we've had PHP 4 years after HTML just to fill in some blanks, people will always want more than static code.
by incomingpain | 2025-06-27 12:21:41+00:00
Ive been around since 2004. I've seen this cycle a few times now in the industry.

An accountant, proper CPA, needs like 5-10 hours of training per year to keep on top of their industry.

IT? Are we on mainframes? no we moved to individual pcs? I mean we moved to the mainframe in the cloud? No we moved to individual ai on GPUs? No we moved to the ai in the cloud?

IT is constantly changing and 10 hours per day of training isnt enough and if you're caught on Y framework when the industry moved on from that framework. Then you're SOL. Not many people still got those fortran jobs.
by collingreen | 2025-06-27 12:21:53+00:00
I agreed with a lot of your posts above but not the extreme characterization of living in LA.

I do expect the crime rate is higher than most Japanese cities - culturally it's very very different. I don't feel like it's a "pvp" situation though (from a violence perspective; rampant, unbridled capitalism +consumerism in the US gives me pvp vibes for general living) and the streets aren't full of shit.

I like LA, especially the beach and other very nice areas (obviously). I also think I'd probably prefer living in a Japanese city though so maybe you're right in the end.
by trainerxr50 | 2025-06-27 12:22:01+00:00
The irony is that is is a more fundamental problem that both of us are engaged in right now.

Why are we wasting our time having this discussion and not just debating the finer points of Wittgenstein?

Once basic needs are met humans mostly do things for fun and entertainment. Truth seeking is mostly an after the fact justification for what was fun and entertaining in the moment.

Sich meinen, einer regel zu folgen, ist nicht, einer regel folgen.
by juandsc | 2025-06-27 12:22:03+00:00
I really like the idea and I'm a potential customer, but I don't think this is ready yet. I've been learning Chinese for a while and decided to give this a shot and at my level (somewhere between HSK 2 and 3) it's very frustrating:

When I babble (as someone at my level does) and say "eh... a bit of sentence eh... a bit more of sentence" half the times it cuts me off in the first eh... or the second one. This is extremely frustrating, in fact I didn't even finish the free 20 minutes trial because of this.

Another issue is that like all LLMs it's bad at maintaining context of a conversation. I tried speaking about cars with it, as it's a topic I like so I thought it'd be cool and all of a sudden it's asking me what's my favourite ice cream. Don't get me wrong, I'm 100% certain I said something about ice cream but any human would understand I didn't want to say that.

Also I tried it with Spanish as I'm a native speaker. The speech recognition is bad, I don't know what sort of processing this does but it has a lot of mistakes, however it's very rare that chatGPT ever fails to transcript. I'd say well over 20% of sentences were misunderstood.

The idea is cool, but I wouldn't recommend this to anyone who wants to learn Spanish.
by andreasmetsala | 2025-06-27 12:22:24+00:00
> The reason we haven't is because in reality we don't care much about that risk relative to the costs of addressing it (even with the cheapest possible solutions, which are not "colonize another planet").

You’re making a big jump to conclusions there. Globally we (EU and US) do care about this risk and in fact are spending hundreds of millions per year.

Or at least we were spending that amount. There’s some idiots cutting that budget in NASA AFAIK.
by wonderwonder | 2025-06-27 12:22:46+00:00
Gym I go to is near to a university so always filled with college age kids. I find it super motivating. Lifting more than them has become life affirming for me :)

Spotted an 18 year old the other day that hit a PR at 315lbs on bench. I bench 405lbs and at that exact moment I decided I have to hit 495lbs. 405 had been my goal for decades. I went from I've hit the most I will ever need to "the journey continues".

"people there will not bite you or shame you" I have found the gym to be filled with the most grim looking people that transform into the kindest, happiest people as soon as you say hello. No one is there to judge anyone. You are 100% right
by masklinn | 2025-06-27 12:22:57+00:00
> the tags as they are in the file

Is not actually relevant and is not an information the average XML processor even receives. If the file uses a default namespace (xmlns), then the elements are namespaced, and anything processing the XML has to either properly handle namespaces or explicitly ignore namespaces.

> A lot of XML is ad-hoc without a namespace defined anywhere

If the element is not namespaced xpath does not require a prefix, you just write

//bookstore/book/title