MurphyA/hacker-news huggingface dataset:
by FirmwareBurner | 2025-08-20 21:02:56+00:00
American people voted for Trump who won by majority democratic vote. Just because you don't like that your proffered candidate lost the democratic election, doesn't mean Trump is now "the emperor". He's a clown sure, but he's the clown people elected, he's their clown for better or worse, and in 3 years they can choose another one.

Meanwhile European citizens didn't vote for the corrupt Ursula "Censura" v.d. Leyen, yet she represents the EU citizens on the international stage but they can't vote her out no matter how much they hate her, so it's ironic to virtue signal to Americans about democracy from that position. Plus many European countries are still actual monarchies, with kings and queens.

So who's the one under actual emperor rule here?
by helltone | 2025-08-20 21:03:18+00:00
I have a background in program analysis, but I'm less familiar with the kind of kernels you are optimising.

- Can you give some more insight on why 12 ops suffice for representing your input program?

- With such a small number of ops, isn't your search space full of repeat patterns? I understand the will to have no predefined heuristics, but it seems that learning some heuristics/patterns would massively help reduce the space.
by perching_aix | 2025-08-20 21:03:31+00:00
> If you are a developer you should have switched to Linux years ago anyway.

This is so often repeated, but I genuinely don't understand why. Could you try selling me on it? I ended up going the sysadmin/devops route instead after college, but the more I learn about Linux, the less I understand why anyone would choose it for personal, active manual use.

I can understand server deployments, it works well enough. It's available at no cost, Windows Server is way out in the far other end in terms of current desired behavior, and whatever pains it has you get paid to make up for. None of which applies on a personal device level.

The most common selling points I see are more performance and less "spying". I find neither of these very persuasive, and I'm not interested in ideological rationales either (supporting free software). If you have anything else, I'm all ears.
by johnnyanmac | 2025-08-20 21:03:48+00:00
> My thoughts on AI art are nuanced and worth discussing some other day

If the argument is all this AI support for an anti-AI crawler, I don't think it's a good argument to ignore it.

and as long as the 3C's aren't followed, there's no subtly here. You don't get to use "edited" art in a commercial product except in fair use cases.

>Stop whining about free projects/labour man.

Yes, I'm sure this sort of argument is coming from someone with very subtle and nuanced thoughts. "Free" ruined the internet very quickly when corporations figured out that's all they need for entry. They can monetize behind the scenes or after market capture.
by mbrock | 2025-08-20 21:04:03+00:00
I found Wren a few days ago too and I've been integrating it with Zig and having a blast!

You may have noticed that calling foreign methods from Wren really only works with wrenInterpret, and can't be used for reentrancy from wrenCall, making the whole foreign method system apparently rather useless for fiber event loops.

I switched from foreign method calls to doing yields with operation request values. Zig resumes a fiber by calling it, and gets back its next "foreign call" as the return value when it yields again. This works perfectly well.

It also inspired me to go further and let fibers yield whole batches of requests, almost like io_uring...
by expensive_news | 2025-08-20 21:04:16+00:00
This thread seems to have a lot of people that love the iPhone mini (me included - I still use my 12 mini).

But from all reports that you can find with a quick search it seems clear that it did not sell well by Apple standards.

I would love them to bring it back and I’m not sure what it is about the Hacker News crowd that makes this phone over-represented. Maybe the tech crowd also uses laptops more, so we think of phones as our “small device” and use other devices more as appropriate?
by saghm | 2025-08-20 21:04:19+00:00
> to Nvidia GPU passthrough working in Docker being harder running on Linux natively than what it was making it work on WLS

To be fair, assuming you're using WSL2, you're running docker on a VM, so it doesn't sound that crazy that it might be more work without the abstraction around the hardware that defines. If there were a built-in VM for your Linux distro, it might end up being easier to expose the GPU through that to things running on it than directly too. I can't say I've ever had any need to access a GPU from a container running on a VM then, so this is just conjecture.
by shkkmo | 2025-08-20 21:04:50+00:00
> Stop whining about free projects/labour man. The same people comment oh well these AI scrapers are scraping so many websites and taking livelihood of website makers and now you have someone who just gave it to ya for free and you are nitpicking the wrong things.

That isn't the issue. The issue is that this tool is not fit for purpose and is inappropriate to be used by the projects that have adopted it.

The proof of work scheme is idiotic. As explained in the article, it's super easy to mine enough tokens to bypass for any bad actors, while it interfers and wastes the time of good actors.

It's almost like the author deliberately designed a tool that only looks like it is doing something while actually trivially allowing the very thing it was supposedly built to prevent.
by pizlonator | 2025-08-20 21:05:06+00:00
> If you baseline against what people do when they skip builtin locks, then yes, that's spot on.

No idea what you mean by "builtin locks".

For example, the best baseline at the time futexes were introduced would have been MS's CRITICAL_SECTION, which was:

- Builtin in the sense that it shipped with the OS and part of that OS's standard library.

- Not a kernel call except on slow paths.

Prior to futexes, LinuxThreads already provided a lock implementation in pthread_mutex that was better than sysv, just worse than CRITICAL_SECTION, and worse than the futex-based one. But that old implementation already achieved the no-kernel-call fast path.

Also worth noting that today, the fastest widely available lock impl is MS's SRWLock, which obviously isn't futex based. So it's not like futexes are even the best

> So I was thinking more, "what does my language's standard library provide", which has mostly moved from sysv (or worse, sure) -> futex.

No, it hasn't. Before and after futexes, folks use pthread_mutex. Before and after futexes, pthread_mutex was faster than sysv. Before and after futexes, pthread_mutex was not based on sysv.

> It's a bit of a tangent, but obviously, such constructs can be done completely in userland if you're running your own scheduler. But I assume most of them are not, so if they're not using a futex, I'd assume they're instead writing to a blocking FD and managing their own queues?

Both ParkingLot and thin locks bottom out in a lock-and-condition-variable-per-thread implementation (or semaphore-per-thread if that's what the OS has). Then the lock and condition variable (or semaphore) may or may not use futexes.

> If so, how much of a win is that, really? I'm surprised it'd be worth the effort.

Portability. If you build a fast lock implementation on futexes, then it won't work on all OSes. You could get it to be portable to different OSes by virtue of the fact that the major OSes these days provide futex-like primitives, but even then, you'd be in a world of hurt because the details are different.

But ParkingLot can be built out of pthread_mutex/pthread_cond so it'll work well on any POSIX
by s_gourichon | 2025-08-20 21:05:34+00:00
Nice. Comprehensive unit tests are indeed welcome. Even a simple test code that tests all features, flags combinations, etc, and outputs a log. It will make easy for anyone to run it and compare the logs.

I had a bug:

u_printf( my_output_cb, NULL, "%d" NL, -42 );

prints:

--42

I may have found an explanation. In u_parse_format(), case 'i': calls u_itoa( value, buffer, 10, false ); which outputs minus sign.

Then if ( number ) does if ( sign ) { output_cb( '-', ctx ); chars_written++; } which outputs another minus sign.
by jafioti | 2025-08-20 21:06:19+00:00
we're just optimizing linear algebra, which is mostly made up of patterns of simple ops. for instance, matmul is just broadcasted multiply -> sum reduce.

the search does common subexpression elimination by default. if two patterns are unioned in the search space, it applies that union to every occurrence of that pattern at the same time, so using e-graphs it helps keep the search space smaller.
by gertrunde | 2025-08-20 21:06:25+00:00
I have to admit, my experience with #1 was quite different.

1. Put pixel on a flat surface. 2. Half an hour later, discover that the the surface wasn't actually flat, as phone the phone crashes to the ground, having been slowly inching its way off the 'flat' surface by virtue of the magically friction free back case of the phone...

No joke, by far the slipperyest phone I have ever had, and the one I slapped a case on the fastest, but not fast enough to avoid many dents.
by epolanski | 2025-08-20 21:06:51+00:00
Apple's E2EE is less safe than a proper one like Proton's (which also has storage, email, calendar). But one has to drink the Apple propaganda and believe it's true.

Also, ADP does not work in UK, at all.

The rest of the message I won't even comment. All things that if you care you get easier on any other device.

And Apple's ad business is booming while other are stagnant.
by delta_p_delta_x | 2025-08-20 21:06:51+00:00
> Plenty of Windows-based software is developed on Linux with Wine

The overwhelming majority of software written against MinGW (or worse, Cygwin) are bad/lazy ports of Linux-first software. Case in point: Git and Perl, both of which drag along an entire coreutils ecosystem (each, so you have two copies of `ls`) along with the main binaries.

First-class Windows programs that are used every day like Office, Chromium and its forks, the Adobe suite, and tons and tons of internal administrative programs for HR, inventory, and more are written on Windows, for Windows, using C# or C++ and 'boring', so-called enterprisey frameworks like WPF, Windows Forms, and WinUI 2.

Anyone remotely serious about taking advantage of the large (albeit shrinking) market share of Windows users should at the very least fire up a VM to test their release binaries, rather than just 'use Wine'.
by egwor | 2025-08-20 21:07:33+00:00
In my early teens I used to try to create something like a equirectangular projection because when drawing it, it looked cool. Obviously I had no idea that it was called this. I was trying to draw reflections of a square window onto a sphere, and then I moved on to trying to cover the sphere in a checkered pattern. This is awesome to see, thank you!
by 3036e4 | 2025-08-20 21:07:33+00:00
I kind of agree and see what you mean, but what I described happen often that I forget where I came from and have no idea that the PDF I read was opened from some other app.

It's part of what I mentioned in another comment, that BACK button can feel random. "Did I open this PDF from within the PDF viewer or from some other app? What app?" Instead of the BACK button having a predictable, known, function, it depends on some hidden state.
by latexr | 2025-08-20 21:07:41+00:00
I can’t speak for Zed’s specific case, but several years ago I was part of a project which used a permissive license. I wanted to make it even more permissive, by changing it to one of those essentially-public-domain licenses. The person with the ultimate decision power had no objections and was fine with it, but said we couldn’t do that because we never had Contributor License Agreements. So it cuts both ways.
by nkrebs13 | 2025-08-20 21:08:32+00:00
It's preference. I think the cameras on the non-pro iphones are so ugly -- especially the diagonal design. The pro cameras look ok to me. Can't not see my old college stove when I look at it, but I don't think it's too bad.

I, too, am biased but prefer Pixel's camera layout. Visually, I like the symmetry of the camera bump on the back of the device. Functionally, the symmetrical bump means the device will not rock on a table and it's a nice place to rest your finger and support/handle the device. A design decision that's unique and has some (small) utility.

Tier list:

Good: Pixel line, any phone with no camera bump Ok: iPhone Pro Bad: Samsung's many iterations, iPhone 2 camera vertical layout Horrible: iPhone 2 camera diagonal layout
by therealpygon | 2025-08-20 21:08:35+00:00
Because when you sign away copyright, the software can be relicensed and taken closed source for all future improvements. Sure, people can still use the last open version, maybe fork it to try to keep going, but that simply doesn’t work out most times. I refuse to contribute to any project that requires me to give them copyright instead of contributing under copyleft; it’s just free contractors until the VCs come along and want to get their returns.
by craftkiller | 2025-08-20 21:09:13+00:00
Ah well then, this is the cultural divide that has been forming since long before LLMs happened. Once software engineering became lucrative, people started entering the field not because they're passionate about computers or because they love the logic/problem solving but because it is a high paying, comfortable job.

There was once a time when only passionate people became programmers, before y'all ruined it.
by criemen | 2025-08-20 21:09:37+00:00
> Indeed perhaps it's important to include a high quality corpus in pre training? I doubt anyone wants to train an LLM from scratch for EDA.

That does sound reasonable to me. The main problem is that you (at least for software) can't train on source code alone, as comments are human language, so you need some corpus of human language as well, so that the LLM learns that, next to the programming language(s). I'd assume it's the same as well.

Depending on what you're going for, you could take an existing pre-trained model, and further pretrain it on your EDA corpus. That means you'll have to reinvent or lift from somewhere else the entire finetuning data and pipeline, which is significantly harder than doing a finetune.
by jp57 | 2025-08-20 21:09:49+00:00
> Glacier restores are also no longer painfully slow.

I had a theory (based on no evidence I'm aware of except knowing how Amazon operates) that the original Glacier service operated out of an Amazon fulfillment center somewhere. When you put it a request for your data, a picker would go to a shelf, pick up some removable media, take it back, and slot it into a drive in a rack.

This, BTW, is how tape backups on timesharing machines used to work once upon a time. You'd put in a request for a tape and the operator in the machine room would have to go get it from a shelf and mount it on the tape drive.
by Lammy | 2025-08-20 21:09:59+00:00
> In 2006, annual U.S. ringtone sales increased by nearly $400 million, then rose another $400 million the following year, eventually peaking in 2007. This period saw industry pundits forecasting a $10 billion ringtone market that would single-handedly save the music industry.

Also 2006: https://www.youtube.com/watch?v=zMupng6KQeE “'Cause over there there's broken bones / There's only music so that there's new ringtones”

And disappointed to see an article spend so much time talking about Crazy Frog with zero mention of Crazy Frog's penis lol https://annoyingthing.net/wiki/Censorship
by vbezhenar | 2025-08-20 21:10:19+00:00
I prefer iPhone for a miriad of little things. Can't name one particular thing, but it's just constant annoyance, when I have to use Android. I probably could write a list of 100 items, if I'd care to document it all.

That said, after Apple started drinking AI juice, I don't want to deal with it anymore. Another major annoyance with iPhones is that they ditched touch ID. Face ID just doesn't work with me at all, it's like 30% of success rate, absolutely terrible. My last phone was iPhone SE, but new models switched to this Face ID, and that's a real deal breaker for me. I even considered buying few iPhone SE phones, while they're still selling at the stores and keep them for later use, but that seems weird and they'll get obsolete with software updates anyway.

I switched to Arch on desktop and I'm going to switch to GrapheneOS on my Pixel (native Pixel Android is absolutely terrible experience, GrapheneOS is bad, but everything else is just worse).
by e40 | 2025-08-20 21:10:30+00:00
That may be, but our use of DB was 1/1000 of what we do in a month with OpenAI and the bill we racked up was $3,000 in 1 day. We talked with them and because we freaked out and deleted the widget (whatever the connectors are called) they didn't have logs for what we did, so they couldn't refund anything (they were willing). The fact that they couldn't find anything because we deleted whatever it was, that was weird, because they could certainly bill us. We're never using them again.
by em-bee | 2025-08-20 21:10:53+00:00
unfortunately i hit another snag: https://stackoverflow.com/questions/3884927/how-to-use-xsl-v...

nodes you output don't have type "node-set" - instead, they're what is called a "result tree fragment". You can store that to a variable, and you can use that variable to insert the fragment into output (or another variable) later on, but you cannot use XPath to query over it.

the xsl documentation https://www.w3.org/TR/xslt-10/#variables says:

Variables introduce an additional data-type into the expression language. This additional data type is called result tree fragment. A variable may be bound to a result tree fragment instead of one of the four basic XPath data-types (string, number, boolean, node-set). A result tree fragment represents a fragment of the result tree. A result tree fragment is treated equivalently to a node-set that contains just a single root node. However, the operations permitted on a result tree fragment are a subset of those permitted on a node-set. An operation is permitted on a result tree fragment only if that operation would be permitted on a string (the operation on the string may involve first converting the string to a number or boolean). In particular, it is not permitted to use the /, //, and [] operators on result tree fragments.

so using apply-templates on a variable doesn't work. this is actually where i got stuck before. i just was not sure because i could not verify that everything else was correct.

i wonder if it is possible to load the menu from a second document: https://www.w3.org/TR/xslt-10/#document

edit: it is!

<xsl:apply-templates select="document('nav-menu.xml')/menu">

now i just need to finetune this because somehow the $current param fails now.
by lgessler | 2025-08-20 21:11:06+00:00
If you're really just doing traditional NER (identifying non-overlapping spans of tokens which refer to named entities) then you're probably better off using encoder-only (e.g. https://huggingface.co/dslim/bert-large-NER) or encoder-decoder (e.g. https://huggingface.co/dbmdz/t5-base-conll03-english) models. These models aren't making headlines anymore because they're not decoder-only, but for established NLP tasks like this which don't involve generation, I think there's still a place for them, and I'd assume that at equal parameter counts they quite significantly outperform decoder-only models at NER, depending on the nature of the dataset.
by maratc | 2025-08-20 21:11:40+00:00
Yeah, that's a good rule. Except, do you want to build Debug or Release? Or maybe RelWithDebugInfo? And do you want that with sanitizers maybe? And what the sanitizers' options should be? Do you want to compile your tests too, if you want to run them later on a different machine? And what about that dependency that takes two hours to compile, maybe you just want to reuse the previous compilation of it? And if so, where to take that from? Etc. etc.

Before long, you need another script that will output the train of options to your `build.sh`.

(If Fortune 500 companies can do a one-line build with zero parameters, I suspect I'd be very bored there.)
by johnnyanmac | 2025-08-20 21:12:15+00:00
>Why this is the case while web-crawlers have been scrapping the web for the last 30 years is a mystery to me.

a mix of ignorance, greed, and a bit of the tragedy of the commons. If you don't respect anyone around you, you're not going to care about any rules or ettiquite that don't directly punish you. Society has definitely broken down over the decades.
by skydhash | 2025-08-20 21:12:18+00:00
Not selling you on it, as I find that, if you're using IDEs, OSes don't really matter. And windows can be actually beneficial as you'll get prime support from most vendors. Where Unix shine is adhoc automation. Almost everything is fully hackable and that makes some solution easier to implement.

As in case for the desktop, you can switch out your audio stack, alter the display of any element and many other things. Using windows is borrowing some shoes while Linux can be your favorite slipper.
Show HN: 1999date – Dating Like It's 1999
by DavCreator | 2025-08-20 21:12:20+00:00
Hey HN,

Remember the dating section in newsletter ads?

No algorithms. No swipes. No signup.

Everyone is trying to put even more "AI" into their products. I tried to do the opposite with https://1999date.com .

Find interesting profiles in your city or submit your own profile to get found.

Would be really happy for suggestions and feedback! What would you add or improve?

See you,

David
by NoMoreNicksLeft | 2025-08-20 21:12:33+00:00
There are a few unicode characters I keep finding myself needing to type when I transcribe, and the Touchbar would be perfect for this. Except, there's no good way to just "add keys for that". You have add quick actions, which means writing Applescript that copies those into the clipboard and pastes... this is slow enough that it's noticeable (never mind having to first hit the quick actions button). On top of that, even though the label for the quick action is that single character, the buttons that it renders are like 2 inches wide. So instead of being able to fit 20 such buttons/keys on it, I can fit exactly 6. You have to swipe left and right to see the others.

Is there a Minecraft extension so that the Touchbar becomes the game's hotbar with icons? I've never looked.
by ElijahLynn | 2025-08-20 21:12:54+00:00
Yay, it has native wireless charging via Qi2, AKA Pixelsnap. The rumors on the internet were that you needed a special case to use the wireless charging. But that is not true after all and those rumors were false.

You can just plop a Qi2 charger right on your phone and it will charge! Only bummer is that the 10 pro charges at 15w while the 10 pro XL charges at 25w. And I really prefer the smaller phones that fit in my pockets. Not some huge monster phone.
by AnimalMuppet | 2025-08-20 21:12:57+00:00
The conversation was about the expense of going on vacation. You then said that you went on a business trip (not vacation), and that the cheapest fare plus a cheap hotel was more than $1000. They replied that they went on vacation (more relevant than business travel) for $100. That is, they supplied a counter-data-point to your data point.

Then they pointed out that both your data point and theirs were anecdotes (I guess that's what a single data point is), rather than actual data.

So their point was that they have experience that contradicts yours, and that neither their experience nor yours does anything to advance the conversation, because they're both just anecdotes.

As I said, I thought that was very obvious from their post.

So, we're back at Jensson's post from a day ago, with both you and IAmBroom having supplied contradictory anecdotes, and neither having supplied any data. So, do you want to add some data?