MurphyA/hacker-news huggingface dataset:
by zahlman | 2025-11-20 18:28:18+00:00
Yes, you can do this if you don't care about order, and avoid the performance degradation. But it's even more complex.

Or if you do care about order, you can emulate the C++ "erase-remove" idiom, by keeping track of separate "read" and "write" positions in the source, iterating until "read" reaches the end, and only incrementing "write" for elements that are kept; and then doing a single `del` of a slice at the end. But this, too, is complex to write, and very much the sort of thing one chooses Python in order to avoid. And you do all that work, in essence, just to emulate what the list comprehension does but in-place.
by NickFORGE | 2025-11-20 18:28:56+00:00
We’ve been experimenting with a similar idea but in a browser-native environment — running real containers + a WebSocket terminal + multi-agent workflows. GPT-5.1 (Codex Max especially) seems to handle multi-step refactors a lot more cleanly, and chaining it through CLI agents has been surprisingly reliable.

Curious if anyone else is trying agent orchestration beyond the editor itself?
by sebastos | 2025-11-20 18:29:12+00:00
I see what you're getting at, and your sentiment is thoughtfully expressed, but come on... it's Calvin and Hobbes! It's part of that rarefied echelon of media that taps into something true about the human condition. Calvin doesn't need to be a manual for how to live your life - it's enough to be an island you can sometimes visit when you're in a Calvin mood.
by Terretta | 2025-11-20 18:29:33+00:00
Your wrapper is awesome and still relevant.

> "I...worked on the detailed Nano Banana prompt engineering analysis for months"

Early in four decades of tech innovation I wasted time layering on fixes for clear deficiencies in a snowballing trend's tech offerings. If it's a big enough trend to have well funded competitors, just wait. The concern is likely not unique, and will likely be solved tomorrow.

I realized it's better to learn adaptive/defensive techniques, giving your product resilience to change. Your goal is that when surfing the change waves you can pick a point you like between rock solid and cutting edge and surf there safely.

Invest that "remediate their thing" time in "change resilience" instead – pays dividends from then on. It can be argued your tool is in this camp!

// Getting better at this also helps you with zero days.
by vunderba | 2025-11-20 18:29:54+00:00
I've tried similar stuff such as: "Show a piano with an outstretched hand playing a Emaj triad on the E, G#, and B keys".

https://imgur.com/ogPnHcO

Even generating a standard piano with 7 full octaves that are consistent is pretty hard. If you ask it to invert the colors of the naturals and sharps/flats you'll completely break them.
by mig39 | 2025-11-20 18:29:59+00:00
I take attendance (the old-fashioned way) in my college classes for a couple of reasons:

- Some students are "sponsored" by scholarships or organizations that request attendance data. - I want to know the attendance record for a student who is asking for an extension, or extra-credit work, or some other informal accommodation. - I like to draw fancy graphs correlating attendance and final grades.

But other than that, I don't care if students are in class or not. They're adults. Learning is their responsibility.
by loeg | 2025-11-20 18:30:16+00:00
It's for contact discovery. It's actually pretty similar for email? If you enter an email address in your mail client and send an email to it, in most configurations you'll get some kind of notification if the recipient doesn't exist.

Email, of course, has an unlimited number of possible addresses. Phone numbers are a dense space with limited parameter length. So it is easier to enumerate all phone numbers.
by redwall_hp | 2025-11-20 18:30:18+00:00
Windows-oriented developers bring that mess to Macs, too, and it's incredibly aggravating. For over 25 years, Apple has had Documents/Pictures/Movies/Applications/Downloads/etc folders under the user's home folder, and convention is predominantly that you never put non-hidden files or folders in the user's home directory. And you don't put application configuration in Documents, because that's what ~Library is for.

Then ignorant developers who don't care about the platform throw random configuration folders in ~/ or ~/Documents, or think their app needs a central workspace folder for all of its projects, instead of letting you manage your own damn files.
by eitland | 2025-11-20 18:30:21+00:00
Someday they'll stop changing the context menu if I accidentaly select something.

(Some UX designer or developer thought it was a great idea to remove the back and forward buttons from the context menu if text is selected so now I have two different context menus and one of them lack the thing I am looking for most of the time which is the back button.

Or fixing the tabstrip API (someone has decided we users are now too stupid to use only tree style tabs and for our own good we must be prevented from hiding the original tab bar).
by Aloisius | 2025-11-20 18:30:28+00:00
That would probably require cooperation with Apple.

The contact-only mode is authenticated using an Apple-signed device certificate and a signed record of those contact identifiers (as hashed UUIDs) that have been registered for a particular Apple ID associated with the device.

Someone with a Mac can extract those from the keychain (the people behind OpenDrop have a tool to do this), but otherwise you'd need to register a new apple ID, get Apple to register the contact information, register a device of some sort and then do all the key exchanges.
by array_key_first | 2025-11-20 18:30:29+00:00
Your definition of metabolic syndrome matches mine, I think you're talking past me. It's the clustering of metabolic diseases, like heart disease and obesity.

> Mass consumption of meats processed with nitrites (producing nitrates as a byproduct) goes back at least several centuries, maybe a millennium.

Incorrect, at least in what you mean by 'mass'. We eat significantly more meat now than 50 years ago.

> However, people with metabolic syndrome who switch to an all-meat diet, even if the meat is factory-farmed, tend to improve rather than worsening.

There's a few huge, glaring problems here:

1. You made this up, this isn't actually the conclusion of any study anywhere.

2. Any restrictive diet, yes ANY, can and will cause you to lose weight and therefore work against 'metabolic syndrome' (which, again, is not a disease, it's a syndrome). Yes, eating less calories WILL cause you to lose weight. You can achieve the same thing by eating only sugar, or only bread, or only cheese.

3. We know, for a fact, that diets with high meat consumption are correlated with obesity, heart disease, etc. We know diets LOW in meat consumption, particularly red meat or meat high in saturated fats, are correlated with lower CVD risk and longer longevity. Do with that what you will.

And, if you still don't buy many decades of studies on this, you can also just use your intuition.

Look around the world at where we see obesity and where we don't. We see it in the UK, Canada, the US. We don't see it in Japan, parts of Asia, and the Mediterranean. What's the difference?

Those places have a culture of eating significantly less meat, especially red meat. They also have a culture of eating smaller portions. Many of them have a culture of walking. Many of them still eat processed foods.

And, none of this even touches on the carcinogenic factors of red meat. We know, for sure, red meat is carcinogenic - it's classified the same as alcohol and tobacco.

Really what's going on is people are trading off stuff they think might be bad for stuff we know is bad.

There's a lot of people who won't drink a diet coke because it's 'poison' but will happily eat bacon. When we know bacon causes cancer, but we don't know if aspartame does, despite us studying it to death.

It's a form of self destruction. People think to be healthy you must deprive yourself, you must suffer. It's just not true.
by johnisgood | 2025-11-20 18:30:38+00:00
> The fact that they only generate sequences that existed in the source mean that it will never come up with anything creative.

I have seen the argument that LLMs can only give you what its been trained on, i.e. it will not be "creative" or "revolutionary", that it will not output anything "new", but "only what is in its corpus".

I am quite confused right now. Could you please help me with this?

Somewhat related: I like the work of David Hume, and he explains it quite well how we can imagine various creatures, say, a pig with a dragon head, even if we have not seen one ANYWHERE. It is because we can take multiple ideas and combine them together. We know how dragons typically look like, and we know how a pig looks like, and so, we can imagine (through our creativity and combination of these two ideas) how a pig with a dragon head would look like. I wonder how this applies to LLMs, if they even apply.

Edit: to clarify further as to what I want to know: people have been telling me that LLMs cannot solve problems that is not in their training data already. Is this really true or not?
by sevg | 2025-11-20 18:31:20+00:00
You can also tell Firefox to ignore it completely:

browser.quitShortcut.disabled

As well as to warn:

browser.warnOnQuit browser.warnOnQuitShortcut

Well, apparently I once was aware of these because I have it set in my custom user.js. But I guess ctrl-q will always be lock screen for me, old habits die hard.
by rayiner | 2025-11-20 18:31:24+00:00
> And you are apparently in love with some aspects of dutch society

I love the fact that Dutch society is orderly, prosperous, and technologically advanced. Purely objective criteria.

> we have a massive issue with racism, have a huge problem with drugs and drug related crime as well as with human trafficking. Bangladesh, I'm sure has problems but they are just different problem.

The problems in Bangladesh aren't just "different," they're more foundational. Just like individual's have a hierarchy of needs (https://www.simplypsychology.org/maslow.html) societies have a hierarchy of problems. Bangladesh fails to get fundamental things right. While Dutch society has developed sufficiently that they can worry about stuff like the density of slaughterhouses.

> zero chance that Bangladeshi immigrants would recreate the society they left behind.

If you go to Little Bangladesh in Queens, you can see with your own eyes that tens of thousands of Bangladeshis living in a community do, in fact, recreate their home societies. The only reason Little Bangladesh doesn't even more strongly resemble Dhaka is that the Bangladeshis are living within a society governed by Americans.
by soiltype | 2025-11-20 18:31:58+00:00
That's a lazy and irrelevant response because, as I actually said, evidence has been provided. If it's bad evidence, say that, instead of making a new claim that someone else is an idiot, for which the burden of proof is on you.

Further, these comments tend to come with the claim that the whole thing is a CIA/FBI hoax. Guess who bears the burden of proof for that? (Don't bother guessing. It's the person making the claim.)
by vunderba | 2025-11-20 18:32:21+00:00
If it's just the API you're interested in, Fal.ai has put Nano-Banana-Pro up for both generative and editing. A great deal less annoying to sign up for them since they're a pretty generalized provider of lots of AI related models.

https://fal.ai/models/fal-ai/nano-banana-pro
Prediction Markets Showing Significant Revenue Growth in 2025
by prophex | 2025-11-20 18:32:33+00:00
Recent 2025 estimates indicate substantial growth in prediction market revenue: - Polymarket: ~160M - Kalshi: ~150M

On-chain platforms remain small in comparison. Limitless generated ~200K YTD. This suggests that the category has meaningful demand, with traditional platforms scaling faster than decentralized ones so far.

The open question: Will decentralized prediction markets achieve similar traction, or will regulatory clarity determine the growth curve?
by bitwize | 2025-11-20 18:33:02+00:00
The whole GNOME/FD.o complex has been like that for decades. GNOME's founding document is called "Let's Make Unix Not Suck". Its whole thesis is: Unix style system integration is old and busted; the new hotness is Windows style system integration.

But for decades, Microsoft has been willing to support and work on the ancient tech that got it where it is today. The GNOME/FD.o paradigm is like Mao's continuous revolution. Out with the old and in with the new, forever and always, on an ongoing basis. Microsoft is now changing to this model. I suspect it's for similar pragmatic reasons: it's difficult to recruit young and relatively inexperienced programmers if you're just going to put them to work fixing up code bases from the 90s (written in—brotha, eugh!—C and C++). Since we can't get anybody to maintain that old code, it will become a liability in the future, so we're better off throwing it out and telling our users to cope.
by hodgehog11 | 2025-11-20 18:33:12+00:00
Do you have any particular pieces in mind when you wrote this?

Bach is impressive, no doubt, but to each their own perhaps. I acknowledge that I have not received the appropriate training to fully appreciate the complexity in his works, so I wish I could hear what you do. To my ear, (and this isn't a novel opinion in the slightest), I think the Baroque era was more limited in expression due to the inherent limitations in the instruments and consequent styles at the time. Within those constraints, calling Bach an absolute titan of composition would be an understatement. But one wonders what he could have made without those constraints.
by red-iron-pine | 2025-11-20 18:33:15+00:00
> In the 60s it was possible for a man to work an ordinary job, buy a house, settle down with a wife and support two or three children. That's completely out of the realm of reality for many young people now and the plummeting birth rates show it.

Wasn't like that in 1800s, or the 1910s, or the Great Depression, etc.

World Wars happened and all of the industrial nations got bombed to hell and lost a generation or two.

The US didn't have that happen and was able to provide unprecedented prosperity for the Greatest Generation and Boomers because it would take 30+ years to truly rebuild and grow their population.

Sure enough the wheels started falling off in the 70's and 80s, and only technological growth kept the US on top. And that's slipping.
by vladms | 2025-11-20 18:33:15+00:00
Yes, using USA based services with user data is against GDPR.

But sorry, saying "literally everything" is a gross exaggeration. Debugging a program with the help of ChatGPT is not using user data. Editing a logo is not using user data. Storing code on a web platform is not using user data. And others...

And even then, for some of the services (like mail, communication, erp, etc.) there are alternatives companies in Europe that work just fine.

I think GDPR is not perfect, but I do welcome measures to prevent over-collection of data by whomever.
by danudey | 2025-11-20 18:33:21+00:00
I 'wrote' (adapted from the Rich project's example code) a simple concurrent file downloader in Python; run 'download <any number of URLs>' and it goes and downloads each one, assuming that the URL has what looks like a filename at the end or the server response with a Content-Disposition header that contains a filename. It was very simple; spawn a thread for each file we're downloading, show a progress bar for each file we're downloading, update the progress bar as we download.

I ended up rewriting the whole thing in Rust (my first Rust project) solely because I noticed that just that simple process - "get some bytes from the network, write them to this file descriptor, update the progress bar's value" was churning my CPU due to how intensive it was for the progress bar to update as often as it was - which wasn't often.

Because of how ridiculous it was I opted to rewrite it in another language; I considered golang but all of the progress bar libraries in Golang are mediocre at best, and I liked the idea of learning more Rust. Surprise surprise, it's faster and more efficient; it even downloads faster, which is kind of ridiculous.

An even crazier example: a coworker was once trying to parse some giant logfile and we ended up nerd-sniping ourselves into finding ways to speed it up (even though it finished while we were doing so). After profiling this very simple code, we found that 99% of the time in processing each line was simply parsing the date, and 99% of that was because Python's strptime is devoted to being able to parse timezones even if the input you're giving it doesn't include one. We played around with things like storing a hash map of "string date to python datetime" since there were a lot of duplicates, but the fastest method was to write an awful Python extension that basically just exposed glibc's strptime so you could bypass Python's (understandably) complex tz parsing. For the version of Python we were using it made parsing hundreds of thousands of dates 47x faster, though now in Python3 it's only about 17x faster? Maybe less.

https://github.com/danudey/pystrptime

I still use Python all the time because usually the time I save writing my code quickly more than outweighs the time I spend having slower code overall; still, if your code is going to live a while, maybe try running it through a profiler and see what surprises you can find.
by AndrewKemendo | 2025-11-20 18:33:41+00:00
Your example is too sparse to make a conclusion from

I’d offer an alternative interpretation: LLMs follow the Markov Decison modeling properties to encode the problem but use a very efficient policy for solver for the specific token based action space.

That is to say they are both within the concept of a “markovian problem” but have wildly different path solvers. MCMC is a solver for an MDP, as is an attention network

So same same, but different
by rini17 | 2025-11-20 18:34:47+00:00
Before you could assume signed arithmetic overflow will be whatever the CPU does, or null pointer derefs will be trapped by the OS. That is pretty big difference from what can happen now, moved C away from that "portable assembler" moniker so very not moot. Even if it was never explicitly standardized.

> You can learn to avoid undefined behavior in about 30 seconds.

Source? I mean, if it's really that simple then someone already compiled that 30 second advice and you can simply link it here for us. Ideally including examples how to actually do signed arithmetic safely. You can't avoid negative numbers lol.
by duxup | 2025-11-20 18:35:02+00:00
>Proctorio’s CEO, Mike Olsen, “showing up in the comments” on Reddit

Man that's almost NEVER a good choice.

>to fire back at one of his university’s loudest student critics. Defending Proctorio, Olsen roused even more backlash by posting the student’s private chat logs publicly to prove the student “lied” about a support interaction, The Guardian reported.

And somehow he made it even worse ...
Show HN: YAAT – Privacy-first analytics for EU companies (need for beta users)
by caioricciuti | 2025-11-20 18:35:09+00:00
I built YAAT for EU companies that can't of send data to US servers or being locked into pre-built dashboards that can't answer custom questions.

What makes it different:

Direct SQL access to your data. Not just pre-built reports – write actual queries against your raw events. Want to know which UTM campaigns convert best for mobile users in Germany? Write the query, get the answer, save it as a dashboard panel.

Full analytics stack:

Web analytics: pageviews, sessions, traffic sources, UTM tracking, device/browser/geo data Error tracking: JavaScript exceptions, unhandled promises, stack traces, filtering by browser/version Performance monitoring: Core Web Vitals (LCP, FID, CLS, INP), page load times, TTFB

Custom dashboards: Drag-drop panels anywhere. Time series, bar charts, pie charts, maps, tables. Monaco editor with SQL autocomplete. Export data as Parquet files – full ownership.

Privacy-first: EU-hosted infrastructure (no data transfers), GDPR-compliant, no cookies needed, lightweight script (<2KB).

Domain verification via DNS ensures only your sites can send data.

Current state: Beta with 7 verified domains tracking production traffic. Looking for 10 EU companies to test for 3 months free.

Want feedback on SQL interface and what analytics patterns matter most for your business.

Try it: https://yaat.io/beta

Built in Valencia, Spain. All data stays in EU.
by Lammy | 2025-11-20 18:35:14+00:00
> so now I have two different context menus and one of them lack the thing I am looking for most of the time

This annoys me constantly trying to get Firefox to show the “Take Screenshot” context-menu item. Yes I know about Control+Shift+S, but I'm still annoyed when my hand is already on the mouse and it won't do what I want.

Although perhaps I should stop using that feature since I just while writing this comment realized how much it spies on you: https://probes.telemetry.mozilla.org/?search=screenshots
by trueno | 2025-11-20 18:35:39+00:00
There really is no winning in the org comms/chat apps space when it comes to OSS. Matrix+element, rocket, mattermost, Zulip and so on.. feels like there’s either massive gotchas on free/self hosted or it’s wildly complicated to configure and set up. I’ve been thinking about this a lot. Hosting a private irc server and you lose out on rich embeds and will need your own pastebin-like service to use, video conferencing is probably a big challenge, the need for a mobile app at many workplaces. Bleh. I look at something like slack and I’m like damn that is literally irc+ and I just hate that I don’t have the skills to build up something completely free that I could host at my org. Teams literally owned everyone when they started bundling it in and rug pulling slack. Ofc the execs at my workplace were like “hell yeah this is great” but so did my IT dept. I was so pissed. Out of the box it’s just instantly compliant which was a major driver then of course at the time it was seen as a free offering (I know they’ve since had to decouple that) which completely nuked slack at our org. I can’t even believe I’m saying this but teams actually makes collaborating slower. No one on my team uses the channels we all pin chat groups and exclusively use that. It’s literally garbage. I guess I’m just venting, I really hoped I could find something in the oss world to supplant this and I think the bar for organizations is: compliance, chat, video conf and sigh the ability to schedule in outlook.
by Lapsa | 2025-11-20 18:37:06+00:00
oh... forgot to mention - frequency spectrum of what's heard fits to what's described on James C. Lin's paper. ```For human heads, the theory predicted frequencies between 7 and 15 kHz, which are clearly within the audible range of humans.``` for me it feels more like 2kHz-10kHz but clearly they can't (or deliberately avoid) play me some deep bass music.
by devmor | 2025-11-20 18:37:16+00:00
No, my question is why someone with a job unrelated to subject didn’t bother to do enough research to find out something as simple as the fact that amphetamines were already used to boost productivity in Huxley’s era before writing as if he had some authority on the subject.

One would think that if you are not an authority in a subject you want to write on, you should do at least the equivalent of a child’s book report research before espousing your opinion and immediately looking like an ass.