skysight-inc/HackerNews huggingface dataset:
> If you’re still on Python 3.8 in 2024, that is a symptom you are suffering from an organizational problem, and it’s likely you have other important upgrades that you’ve been putting off. So your next step should be setting up an ongoing process to update your dependencies regularly.

It's painful to read this. I agree, but Python devs hate churn to an extent that seems to have traumatized core devs and major project maintainers and make them act like their hands are tied by backwards compatibility concerns. This is, after all, the same language where Python 3.0 was announced April 2006 and released December 2008, and we didn't see the last 2.x release until April 2020 (and this is after it had been publicized for years that there would be no more releases after Jan 1 2020, which was in turn giving the 2.7 branch an extended lifetime). And even then, you can find people in 2024 pining for the old version and complaining about supposed design mistakes like "maybe it's bad to treat byte-sequences like strings implicitly without declaring a text encoding, in the language that asserts that explicit is better than implicit, leading to users having to check Stack Overflow to understand why they got a UnicodeDecodeError from trying to encode or vice-versa", or "maybe we shouldn't teach brand new programmers, on the first day, to put an unintentional arbitrary code execution exploit into their programs and not tell them about it". Even granting that 3.x has broad acceptance now, one of the better known Python book authors from the old days (Mark Lutz) has a webpage dedicated to the argument that basically every major feature added after 3.4 is a step backwards.
Obama was correct in observing that he looked different from past American presidents. As for “claims to admire”, the implication that Obama doesn’t really admire MLK (and that this speech proves it!) is just ludicrous.

I’m going to go out on a limb here and guess that you just don’t like Obama. Didn’t like him before you read this article, don’t like him now.
https://hrrsd.wordpress.com/2012/06/12/polish-diacritics/
No worries. I've updated in my profile too. Thanks.
Why would additional spending cause sluggish economies? By definition added spending increases economic activity. You can debate the secondary effects of it but spending to gdp is more or less a direct line.

The populations are getting older, health costs will tick up, so you can expect to increase those costs. But immigration is discouraged so you have to keep your workforce healthy
>We basically have no idea how to create a test for intelligence that computers cannot beat by brute force or big data approaches.

Agreed

>so we have no effective way to test computers for (artificial) intelligence.

I never quite understand stances like this considering evolutionary human intelligence is exactly the consequence of incredible brute force and scale. Why is the introduction of brute force suddenly something that means we cannot 'truly' test for intelligence in machines ?
Regarding macOS window management, have you tried Rectangle? It’s free and open source with a pro version if you want to support the developer…

https://rectangleapp.com/
The cost of a macro is not measured in lines of code. It's measured in things like adoption, clarity, and debuggability.
Exactly. The pandemic has brought to light the flaws in lassiez faire libertarian economic philosophy. The US has hostile opposition and has to take steps to keep itself safe from adversarial actors. We dont live in an ideal world and we have to act accordingly, not how we want it to be.
Motorola being first to market with a product developed in their Tel Aviv office doesn't seem to fit in the categories GP laid out, but cool.
If I understand, this means to map a chat to a choice of clear API calls. I buy it.

The only issue with it that I can think of it the lack of reporting without asking. When I login to a site, I already want to see the most applicable information without having to ask for it. If I exclusively have to start asking a chatbot for basic info, I may miss out on a lot of what I need to know.
So you don't want to be a 0 mrr bootstrapper?
It's a funny cultural thing that it wouldn't have even occurred to me that someone in Europe wouldn't realize city names can conflict—it's a chronic problem here in the states.

There are some ridiculously common city names here, but one that's been in the news lately and probably confusing a lot of people is Springfield, which is the name of at least 42 different cities in the US [0], including 5 just in Wisconsin. Most of them are small, but 5 of them (Massachusetts, Missouri, Illinois, Oregon, Ohio) have more the 20k residents.

[0] https://en.wikipedia.org/wiki/Springfield
McFlimsey and Company
WikiSpeed Leaderboard
There is nothing in principle requiring Android phones be locked down, but its a de facto reality that manufacturers of almost all phones have made them locked down and you have to research to even know beforehand if you can even do something as little as a bootloader unlock or a rooting. Why is os and phone model so tightly integrated and locked together, when in the pc world you can generally install any os on any computer? That's what I was saying.

Which is to say I think you are speaking in terms of what you can do within the android's playground itself, its certainly much more open than ios in that regard. But when it comes to the fact of being able to change the playground itself ie install whatever os you want on the hardware or upgrade the os on the phone then suddenly most phones aren't any better than iphones either. Some are slightly better in that you can at least unlock the bootloader or root it, but I don't know if much progress has been made beyond that in being able to reverse engineer or otherwise them to able to install anything you want on them. That was the point with respect to I was speaking.
Reading didn't decline as much as you imply here. Reading was "niche" even 20 years ago.
One thing I love about metaphors is that you can tell the general interests of the person making the comparison. Someone who uses football metaphors to explain everything is really saying that all they truly understand is football. Someone who makes everything into a software metaphor only understands coding.
why hasn't all the productivity boost reported in qtrly results from corporates.
Cool! Sadly there is no drop down for the city name (at least on iOS), so I can't register my town. There is two Saint-Denis in France, my one isn't the usual one ;)
> This is a great idea, and I sincerely want it to work out.
Thank you!

> I stopped attending local meetups, because I was always surrounded by a circle of avoidance, where no one would look at me, or have anything to do with me

Meetups (as in "group meetups") might be part of meet.hn, but I also saw it as a way to meet new people one to one.

Hopefully this makes you change your mind, I'm sure you would have plenty of things to share!
And thats my point, you should not need OEM support for a pure software issue of operating system upgrades. I do not ask Dell or Lenovo before writing 'apt update && apt upgrade' when on my pc. I do not need to ask Dell or Lenovo before plugging in a flash drive with the iso of my favorite os or to upgrade the next version of the same and so on. These are things that if the device wasn't locked down, shouldn't have required the OEM's direct involvement in the first place.
I would agree if it was a UI designer, but a good UX designer designs for the users, which in this case including the system admins who will be updating kernel level code patches. Ensuring they have a good experience e.g no crashes, is their job. A recommendation would likely be for example small roll-outs to minimise the number of people having a bad user experience on a roll-out that goes wrong.
There is always noise. In fact, in absolute terms, there is more of it as the amount of light increases. It just increases more slowly than the signal, so the signal-to-noise ratio increases.
> return to work

I know you're just quoting the phrase, but what a gross and dishonest way of phrasing "return to office". Implies working remotely doesn't count as work. Smacks of PR. Yuck.
I can confirm this. For several years I resisted getting a smartphone. When I finally relented, I immediately stopped reading books. After all, surfing the web is far more satisfying for the dopamine receptors. On the Internet, everything is split into bite-sized pieces. Just enough to satisfy a short attention span.
If you believe that the best possible allocation of funds is through government spending as opposed to capitalism, yes. That's an exercise in begging the question, though, and historical support for the premise is uneven at best.
This is really neat. Well done on the UX and functionality.

I saw others already mentioned uniqueness of city names. In the US there is no guarantee a state, zip code, or even county won't have a duplicate city name. To solve this one must store the lat/lng coordinates instead. Then offer users a search list of matched cities, so they can select the right geographic location.

Good stuff - cheers!
It's hard to say what you would want specifically; everything gets added to the language because someone wants it, and I can't read your mind. The main new features for each release are promoted on the release pages for the x.y.0 versions:

https://www.python.org/downloads/release/python-390/

https://www.python.org/downloads/release/python-3100/

https://www.python.org/downloads/release/python-3110/

https://www.python.org/downloads/release/python-3120/

And documented in more detail on the "What's New in Python" documentation page (a table of contents for version-specific pages; but I think at one point in history the info about every version was just in-line in a single document):

https://docs.python.org/3/whatsnew/
Who in their right mind uses linked lists for a database style workload? Try doing this with arrays to get a reasonable baseline.
How can we get rid of golden parachutes?
> very cool!

Thank you very much!

> I'm surprised there are no signups in SF yet.

Surprised as well! So much so that I signed up in SF myself to make sure it was working as expected
I’m not sure this is necessarily showing a trend of expansive government. It seems to correlate well with the aging of societies.

To be clear, when I write not sure I mean not sure, not “no”.
Have you seen https://loginwithhn.com/ ?

Seems to also fall into the category of services on top of HN, like this one and at.hn.
Nintendo gambles all the time
where is billions of dollars in revenue coming in from for OpenAI.
The whole "let the market settle on a smartest solution" idea works great, until your highest-margin exports start getting manufactured abroad in a country without labor regulation. First cars, then software, and now smartphones. By 2045, America will be the manufacturer of Absolutely Nothing and we'll be incredibly proud of what our businesses accomplished.
> For instance, you cannot write this in Haskell:

> http://krue.net/avrforth/

From what I understand about the link, you likely meant that one cannot write an interpreter for avrforth in Haskell which reads avrforth source code and executes it on bare metal, because such an interpreter will need to directly access the hardware to be able to manipulate individual bits in memory, access registers, ports, etc. and all of this is not possible in Haskell today. If this is not the case, please feel free to correct me.

However, if my understanding is correct, I don't see how this is a problem of Haskell being a functional or "leaning more towards computability theory" language rather than a mismatch of model of computation between the language and the hardware.
Haskell can perform IO just fine by using the IO monad which uses system calls under the hood to interact with the hardware. If a similar mechanism is made available to Haskell for accessing the hardware directly (e.g. a vector representing the memory and accessible within the IO monad), it should be possible to write an interpreter for avrforth in Haskell. This means that the current constraint is a tooling/ecosystem limitation rather than a limitation of language itself.
Agreed. I don't want Stross skewing (especially unconsciously) toward his (imperfect) understanding of his most unhappy readers. Strength to your sword arm, Charlie! I get you, at least!

For 50 years I've read vast swaths of fiction, all kinds. Almost all of Stross and fellow travelers for instance.

So I'm pale, male, and stale, and (thus?) I can't for the life of me understand where the majority of the commenters here are coming from. I sure as hell don't want the miasma here bleeding into one of my favorite authorial sources of entertainment.
Well there are a handful of expert consultants who do, since they charge an eye watering price per hour for putting out fires.
> Too many times I have tried to start a conversation or just say "Hello" but they are oblivious because they are on a call or have music or something else playing.

This is GP's problem? What should GP do to solve this problem? (Seriously asking, even though this probably sounds sarcastic). Should GP tap them on the shoulder or try to wave them down or something to get their attention? What if they don't want to be bothered? What about the sibling comment ( https://news.ycombinator.com/item?id=41533796 ) about it being a feature not a bug? If GP were to tap that person or get their attention someway, it seems that it would be unwanted.
Likely because of TV. People watched TV like crazy. I doubt reading was niche in the times of radio & cinema.
4 million podcasts. That's an order of magnitude more than I'd have guessed. A quick search shows other sources estimating 5 million.
Xonsh. Been using it since 2018. Bash scripting sucks in comparison.
I was getting the same issues due to the capitalization of my name. Just as a note to make sure yours is correct as well.
selection bias. also survival of the fittest.
Isn’t the idea that the money and resources have to come from somewhere?

Raise taxes or debt for the monetary side. Divert workers and other resources on the implementation side. Both of those might be better used by the private sector
> Not sure if there is some way to iterate given online feedback.

There have been a some novels and novel-length works written a chapter at a time in public. The Martian by Andy Weir, for example is probably the most commercially successful. Many works by qntm (https://qntm.org/fiction) that are popular in this community have been written that way too.
Show HN: Create an Interactive Demo in under a minute [video]
Hello HN,
I created a browser extension that records your screen and then sends keyframes over to the GPT Vision API for annotation.

The use case for my software is creating interactive product demos.

Here is my app giving a demo of itself (a milestone I am extremely proud of!):

https://www.interactivedemo.ai/d/APRNDj9hoONXXDu

In the demo, you can see how I'm extracting key frames from the screen recording and sending them over to the LLM with various annotations. I use AWS Lambda with FFMpeg layers for that.

For the keyframes, I draw a red dot on the cursor using Python Imaging Library (PIL) and I also draw sequence and timestamp information under the frames. I have a prompt I've been tuning for a while and it's not perfect but, it still saves a ton of time and has great results.

The system prompt is:

"Generate brief, action-oriented web interaction descriptions. Use varied verbs, focus on direct results, and leverage provided context. Pay close attention to both original and scaled coordinates."

but the user prompt is my secret sauce ;-)

I am launching it on Product Hunt in a few days here:

https://www.producthunt.com/posts/interactivedemo-ai

I created InteractiveDemo.ai because I like how Screen Studio feels, but it is Desktop Mac only, and it doesn't have interactive features. Also, I like the ability to create my own A.I. features on top of interactive demos and just the space in general because I've been developing and showing off software for 24 years. It's a natural fit for me.

Check it out at https://www.InteractiveDemo.ai

I appreciate your support and am happy to answer any questions HN has.
Laptops work because the BIOS provides a universal abstraction layer and because support is upstreamed in the Linux kernel. Supporting phones for longer would require them to also upstream support.
I once saw a group of ranchers butcher a cow in the plains of Paraguay. They had an area of the farm where the cows were slaughtered -- the area was a small patch of grass under a large tree. As the ranchers brought a cow near the tree and tied its tether to it, the cow started shaking and making strange sounds -- sounds you wouldn't expect from a cow. She knew she was about to be slaughtered. The shaking got worse and the cow eventually defecated and peed itself. As the rancher pulled out his knife, the cow started aggressively pulling on the tether and started howling. The cow knew it was going to die. That brief moment left quite an impression on me.
Because I didn't see the edited version when I was writing my original reply and its too late, I want to call out another problem that you graciously overlooked that we can call #2 since it touches neatly on your #1 and #3 items and #2 is already missing. The extra junk you see in your wsl after the awk step is probably because the other big *NIX problem with shell scripts is my `netstat` or `grep` or even `echo` might not be the same as yours. I originally wrote it on a mac, and while I was checking the man page for netstat to see how old it was and how likely netstat output would change, it occurred to me that BSD netstat and linux netstat are probably different, so I jumped over and re-wrote on a linux box. Entirely possible your version is different from mine.

Heck, just checking between Bash, ZSH and Fish on my local machine here and Bash and ZSH's version is from 2003 and provides a single `-n` option and declares POSIX compliance, but explicitly calls out that `sh`'s version doesn't accept the `-n` argument. Fish provides their own implementation that accepts arguments `[nsEe]` from 2023. Every day I consider it a miracle that most of the wider internet and linux/unix world that underlies so much of it works at all, let alone reliably enough to have multiple nines of uptime. "Worse is better" writ large I guess.
Exactly. It goes way back.

D&D can be a really great game if you have a group of players which is really cohesive in that it gives a lot of room for character development, world building and all of that. Gygax was really interested in the improvisational acting aspects but D&D can get bogged down in the mechanics, statsmaxxing, etc.

On top of players taking it too seriously and the burden that puts on the GM you have the problem that it needed too many dice, too many books (you need the Player’s Guide and the GM guide and a Monster Manual to start and after spending that much money you don’t have have a sample scenario; granted there was a lot of great material for campaign settings that you could buy.). Combat is OK but not great.

There was a 2nd generation of games such as Paranoia, Toon and Call of Cthulhu which set out to address the problems of D&D and all of these come in the form of one book with a scenario which makes it easy to start as a GM.

When my son was younger I would run Paranoia and Toon games for pre-teens and they would have a blast. Games like that can be run on a pickup basis, if a kid comes in late you can give them a preroll and not interrupt the flow at all. One of those kids became a D&D GM later so I’d say those games are a great introduction to the genre and ought to be better known.
It's a sort of casual bigotry. Currently fashionable in circles which should know better.
I once worked on simulation systems alongside (UK) military users and was fascinated by the metaphors they used when discussing projects. 'Crocodile closest to the canoe' or 'Wolf closest to the sledge' meant some sort of urgent deadline or serious challenge to a project. 'Left and right of arc' meant how far you could get from sort of middle-ground solution. 'Don't fight the white' meant that you should address a question / requirement, not complain about it (this apparently referred to the colour of paper used in staff college exams). 'Reversing out of a rabbit hole' was fairly intuitive.

Really fun times, that shed a lot of light on their culture.
Let me put this way: I am way older than 20 years ago, I grew up in a different cultural zeitgeist. Reading was definitely not niche then. And it was much more widespread and much more in-depth when the dopamine dispensaries of today didn't exist.
Billiards doesn't have pockets. Pool ("pocket billiards") has pockets.

You can see a billiard table in the background of the photo, behind the pool table.
I do, I'm using nominatim from openstreetmap.
I used a simple API call for the sake of simplicity, but now that the product is out, I'll probably switch to something more robust.
The idea of The Author as the final arbiter might be the historical oddity.

The genre of Greek tragedy took characters and events from the Homeric epics but created original works elaborating on specific events and characters. By modern standards we might call this fan fiction, but the Greek did not consider it fiction since these were supposed to be historical events.

I’m annoyed by the amount of sequels and prequels and reboots in the cinema, but I recognize that Shakespeare mostly remixed existing stories and still did pretty well.
POSIX gang disapproves
> I think that to think one should not get a behavioural replica because you don't think it would be you is a non-sequitur however

Didn’t say that. Do get one if you can afford it. It would be usefull for all kind of things. But continuation of my life it is not. Simply it does not solve the longevity extension problem from my perspective.
Building Production Applications Using Go and SQLite (2021) [video]
> if you're thinking of coding dark mode, don't do it.

This is not a joke; if you ship your application without dark mode, I am not going to renew my subscription. Thanks for your entrepreneurial advice Shel Silverstein, but I've got priorities.
Shaka, when the walls fell

That was what I was thinking, too, reading the link.
Can you add Mastodon (or any other activitypub-based) field? To check the identity, you just need to run a webfinger query.
They don’t mean “negative hedonism”, they mean “carbon-neutral or carbon-negative hedonism”. In other words, people are going to chose hedonism, comfort, fun, and consumption no matter what, so the only way to achieve these goals is to make hedonism carbon-neutral/negative.
A man of culture would never refer to an epigram as a definition.
Fast fashion isn’t lower quality. It’s just a departure from very old traditions around “seasons” and having basically at the very most 4 changes of products per year. Fast fashion might have you releasing and retiring clothes 52 times a year. Fast fashion started in the 70ies and I have “fast fashion” clothes from the 90ies that’s still perfectly fine, quality is not what will have some people chasing “the most recent clothes” even if that means buying a new shirt every week.
Go check out the movie poster. You’d never guess the plot from it. “Spencer Tracy and Katharine Hepburn make the office such a wonderful place to love in!”
Popular licenses undergoing DOSP like FSL and BUSL were written by lawyers -- very prominent ones in OSS such as Heather Meeker -- so I'd say they're very enforceable.
What makes it repulsive?