skysight-inc/HackerNews huggingface dataset:
Because uv is excellent in some ways and good in all ways. Pretty much all other package managers suck in some way.

> confusingly named

The name needs to be ultra-short, there are only so many 2 and 3 letter words which are not already taken on linux/windows.

> Python has turned from a community language into a company-led one

That's quite a radical take, reducing a language to it's package manager and linter.

> backed by a for-profit company

so is VS Code
Trump hosts Apple CEO at Mar-a-Lago as big tech leaders continue outreach
America has always been batshit insane. Arguably it's democracy that gives this insanity political power.
Ask HN: Is it okay to use text to speech if you struggle with reading?
There's Microsoft Edge browser's read aloud feature, and paid Speechify browser extension.

Does anyone use stuff like this? Does it make reading easier or more within reach for you? Do you have dyslexia by any chance? I don't think I have dyslexia, or maybe a little, but do struggle with reading a little. Can I reliably use this, and will it make reading easier for me?

Where I was worried about reading long text this seems like it has the potential to make a difference and make the task of reading and getting through text easy for me. But I wanted to ask someone who can maybe tell me for sure that it probably will. Thank you.
Good intentions, indeed. Creating lots of steering committee slides, I know about the wish from the audience of a simpler language. But ‘very close’ is different from ‘close’. It’s not just salt and pepper but trying to articulate a complex and nuanced reality. And yes, research papers then sound a bit less solid and complete- sorry, but often this is the reality you should not hide.
If you cut up a circle into n slices (maybe you're drawing a diagram on screen), it's vastly more helpful to think of one of the segments as segment 0 because then the start angle of every segment is index*360/n and the two segments whose border is at your initial angle are the first and last. If you start counting segments at 1, your “first” segment would be some way into the circle, and the two segments whose border is at your initial angle would be the last and the second-last.
If you'd say "you can't even be sure you have the parts you have", it kind of makes sense, but the way we (Clojure devs) commonly use the REPL-in-editor kind of makes that moot.

But as it stands, I'm not sure I understand what you mean?
The Blob is a political insult towards the civil service by senior Tory leaders, who blamed them for resisting their policies for political reasons.

It does not refer to bureaucratic friction in general, and is not a term in widespread use by the British.
This makes me wonder if our preference for group size might extend beyond conversation to other areas, like collaboration or even entertainment
Red Dragon? Falcon 9 Booster 24-hr turn around? The plethora of missed milestones required to land on the moon's surface?
Really amazing site. I could spend hours on it. Only real suggestion: I’d like to see more stuff. Layers for notable events in different categories besides just battles. It would need some curation but user- submitted content. Or maybe use ai to find various time/place on Wikipedia and decide if it is “notable”.

Ux is great but I got in a state in maps where I couldn’t get back the control at the top that lets you pick people/battles without refreshing the page.
We have 2 kings now. Open bribery. Is there any way to fix it?

Altman is planning to make a $1 million personal donation to Trump’s inauguration fund ...
Amazon and Meta, the parent company of Facebook and Instagram, confirmed this week they had each donated $1 million ...
Multimedia?

https://en.m.wikipedia.org/wiki/Multimedia

Multimedia refers to the integration of multiple forms of content such as text, audio, images, video, and interactive elements into a single digital platform or application.
Of course bitcoin's price will grow to over 300k. It's either going to 0 (highly unlikely) or it's going to $millions/BTC
(2018) at least
But they require Internet connection to function optimally.
Gotta mention that Nightfall exists as both Asimov's short story and a novel he co-wrote with Robert Silverberg nearly 50 years later
What's the penalty for not reporting at all? Where does the obligation to report come from?
Funny; it's actually surprisingly hard to find information; but Perplexity told me, that Lululemon's Luon is a material which has great flexibility and maintains its shape over time, wicking away sweat, and good coverage; all good features for my programming language ;-)
Patrick McKenzie: 3 s from Patio11
OpenAI's Altman will donate $1M to Trump's inaugural fund
Looking at the code, it looks like they used existing Python packages to read and parse MS Office formats, not what I expected, seeing that the repo is in Microsoft's org on GitHub I expected them to have used Microsoft's "official" libraries for parsing these formats, through Component Object Model (COM).

They used Mammoth for docx (Word) [1][2]
Python-pptx for ppt (PowerPoint) [3][4]
and Pandas for XSLX (Excel) [5]

[1] https://github.com/microsoft/markitdown/blob/70ab149ff1657c3... [2] https://pypi.org/project/mammoth/
[3] https://github.com/microsoft/markitdown/blob/70ab149ff1657c3...
[4] https://pypi.org/project/python-pptx/
[5] https://github.com/microsoft/markitdown/blob/70ab149ff1657c3...
Lean, Budget-Friendly Metered Billing for SaaS – What Do You Use?
I’m building a SaaS product with a pay-per-use model (e.g. $1 per API request) and need to set up billing so I can start charging customers. I want a billing solution that’s quick to implement, lean, and doesn’t eat into my margins.

I know Stripe is a common choice, but building a fully custom billing system isn’t feasible for me right now. I’m hoping to find something I can drop in with minimal code and effort that covers the basics.

Here’s what I need:

Customers can: Set up and update payment methods. Track their usage during the billing period. Download invoices.

I can: View customer usage and past/upcoming invoices. Adjust pricing (e.g. volume discounts).

I’d love to hear from others who’ve tackled this. What tools or services worked for you?

Bonus points for developer-friendly, budget-conscious solutions that won’t make me regret not doing it myself!
None off he examples work on Safari iOS 18.1.1
Its generics aren't as advanced as Java's or any other language with generics for that matter. Plus most things are now only adding support for generics, so there's a fragmented ecosystem of code before and after generics were introduced.
If you do anything ML or neural networks, suddenly you have hundreds of packages totaling over 1 GB.
'python3 -m pip install <package>' to install it?

Won't update your pyproject.toml and lock file

'python3 -m <package>' to run it?

Won't install the dependencies you need or set up an insolated environment <package>. 'uvx <package>' will create a venv, make sure you have all the dependencies that <package> needs and run <package>
Sam Altman is routinely accused of and criticized for manipulative, exploitative behavior. If you can't let commenters name that as psychopathy, it is you who are using fallacious reasoning. You also did not consider the context of my remark, I specifically wrote without ambiguity, formally:

"How about "Person A is an X"." Just because I didn't type in those quotations doesn't mean one can interpret it any which way. It is technically a distinction of use-mention fallacy, in context of the response.

Meanwhile, if the above conservative commenter hand-wrings, and outright patronizes/polices another, user about not making public accusations without being able to read in good faith, then they forfeit their standing that a response be held to a higher standard than theirs. They are the one playing moderator. Furthermore, my response merely challenges their logic, and alludes to the fact that many people in this community "feel" and variously describe Altman's psychopathic tendencies, to shine a light on the logic of their argument.

What this community needs is to not rationalize their Silicon-valley techno-conservative political values to suppress strongly dissenting views, and not to abuse the moderator's power by misreading and misreporting people who criticize their prejudiced comments. I am not responsible for their lack of reading skills and not knowing what a use-mention fallacy is.

I'll also note the subtle smooth presumption of telling someone it's really about how they feel. No, I believe things and my specific beliefs may be right or wrong, and at its core it is the actual ad hominem of making one side about subjective feelings rather than evidence-based, rational beliefs the way the ground rules of good faith discussions require in the first place.
You build it over time but sometimes they invent brilliant attacks vectors.
A lot of TV shows have three presenters. The fourth is the viewer, I guess.
How many bubbles crash multiple times and to a significantly higher value each time?

Will you still be comparing bitcoin to tulips when it crashes from $1.2M to $0.8M?
People also said the same about poetry and pipevn (and no doubt some other tools I'm forgetting).
I wish they did abstract it away. But iCloud is the only widely used cloud storage service that doesn't have file versioning. So as an iCloud user you really do need a backup and they're telling you as much every step of the way.
> An example that I think needs JS is a copy paste button.

And it’s fine? htmx allows you to write JavaScript. It’s probably one line, I don’t think everything you can come up with needs to be part of htmx.

It’s not all or nothing.
> Let's call it for what it really is: tools such as ChatGPT (OpenAI), Devin (Cognition), Computer Use (Anthropic) and Fin (Intercom) are here to eliminate jobs. The worst part is that there is almost no alternative for those lost jobs and they are not hiding that fact.

Absolutely true, but it's more than that. AI itself is ultimately the next step towards completely autonomous technology. Big tech companies and programmers are just taking advantage of the fact that technology still needs us. They are using that to get ahead in life while putting the entire planet at risk.
Getting Tired of Retro Futurism
Fails to mention Heisenberg uncertainty, which in my opinion is a theoretical ceiling to this approach. Also it needs to account for cost of compute relative potential useful work from these quantum engines. If the energy cost of compute exceeds potential useful work, then it’s still net negative (or useless work). Finally there’s the question of hidden patterns and the spectrum of randomness. Some systems are more random than others. The potential for useful work within a reasonable energy cost of compute will decline when we travel down the spectrum of randomness. Systems which are at maximal Heisenberg uncertainty, I.e. particles are not entangled, and have no correlation with a superstructure of other entangled particles, will not hold any further improvement to knowledge and thus zero potential work. This is the ultimate entropy of the local and macro system. Probably also the cause of certain violation of conservation of energy principles, such as dark energy.
> The reason that we're seeing this in the news is that processed food companies don't want people to suspect that all the sugar added to food is harmful and pharmaceutical companies don't want people to feel like their drugs are ineffective.

This is not the reason you're seeing this on the BBC, which feels no pressure from advertisers and is not owned by a food or drug company.
I wonder if having some sort of public/semi-public organization of trading parts of SSS's could be done.

Right now, as an individual, you'd have pretty small number of trusted N's (from parents definition). With some organization, maybe you could get that number way up, so possibility of destroying the entire scheme could be close to impossible with rounding up large number of the population.
Indeed. People do try to overcome this, for example see the difference in results between "Show Offline Test" and "Show Mensa Norway" on https://trackingai.org/IQ

Even the lower value is still only an upper-bound on human-equivalent IQ, as we can't really be sure the extent to which the training data is (despite efforts) enough to "train for the test", nor can we really be sure that these tests are merely a proxy for what we think we mean by intelligence rather than what we actually mean by intelligence (a problem which is why IQ tests have been changed over the years).

My intention in this sub-thread is more of the economic issues rather than the technical, which complicates things further, because if you have an AI architecture where spending a few tens of millions on compute — either from scratch or as fine-tuning — gets you superhuman performance (performance specifically, regardless of if you count it as "intelligent" or not), then any sector which employs merely a couple of hundred workers (in rich economies) will still have an economic incentive to train an AI on those workers to replace them within a year.

This is still humans having jobs, and still being economically relevant, but makes basically everyone into a contractor that has to be ready and able to change jobs suddenly, which is also economically disruptive because we're not set up for that.
> unofficial Python builds

You don't need to use those, works perfectly fine with whatever Python is on the machine.
> These users send more than 100 billion messages every day in 60 languages

How do they know what language the messages are in? Isn’t WhatsApp “end to end encrypted, for real, trust your pals at Facebook”(tm)?
I didn't add completely, that's a quote directly from the Cambridge Dictionary.
Xdotool/xdo, xsel and so on.
Expect game cheat developers to adopt this within the week.
I honestly think that most of the problem arises from the fact that we just culturally start counting at 1 when talking about everyday things. As it stands, we're all used to it that way, and then computers come along and show us that counting from 0 is often more useful. So we adjust, but only for computer programming purposes.

If our species had established counting from 0 as the norm right away (element #n is the one that has n elements before it; you think of the number as the number of steps you have to move away from the starting point), then I suspect the reverse would not be true: I don't think anyone would find a situation in which counting from 1 is so much more convenient that it's worth going against the grain of established norm.

So in summary, I think we only think of counting from 1 as natural because it's in our culture. And it's in our culture because ancient superstitious humans had an irrational problem with the number 0.
Do 5% Less
Devtool founder-style outreach campaigns and marketing
We know founders have a certain skill for cold emails, and developers have an aversion to marketing.

Wondering what everyones personal style is for cold outreach for Devtools / APIs strategies that worked vs. didn't work.

Personally my style of cold outreach is as simple as possible
- painfully manually written
- no more than 3-5 sentences
- with phrases on newlines rather than sentences - [hard part] relate in the first 5 words.

eg:

Hey Rob :)

noticed on github you might be using FastApi

My names Lando, head of ecosystem at Lazarus SDK

I know API security with python can be a nightmare

Our latest release directly wraps any Starlette and provides unified auth on your frontend too :)

Let me know if that sounds interesting or check out our homepage
this seems like the nomadlist but for hn readers?
In all seriousness: why has it been years now and it feels like there is no incremental engineering-level progress on these issues? Like, it seems like doing some manual intervention to the tokenization to at least remove exceptional tokens and add some semantics to how they break up numbers seem like quick wins.
Ah, that's interesting. 32-bits yes you would get some collisions even from good hashes just statistically.

Also now I understand your constraints. Very interesting, so you are designing a custom hash function to use in this specific domain of keys with specific probabilistic properties, and you are thinking that there would be some way you could multiply by a certain prime that would ideally fan out these keys to be evenly distributed over the space?

mulle-objc looks fascinating: fast, portable Objective-C runtime written 100% in C11. I encourage you to post a Show HN I'm sure people here would like it.
It'll be embezzled just like last time.

https://www.cnn.com/2022/05/03/politics/trump-organization-i...

Plus the long history of other misappropriations from charities for kids with cancer etc.
Every time that I see verbose naming I can't but think someone got posessed by Dr. Heinz Doofenshmirtz's spirit.

- Behold! The LongRangeAtomicStructureCompactinatingReconfigurator!

- (rolling eyes) So a ShrinkRay.

- No, no, it is named LongRangeAtomicStructureCompactinatingReconfigurator to improve readability and communication.

- (rolling eyes even more) Sure.
Fascinating. First I thought 'what's so hard about this' and the further you read you realize 'this is actually hard'
Just so long as it doesn't blindly modify "that that".
OpenAI is an Unaligned Agent, Part 2
If the companies they’re investing in aren’t doing anything dodgy they’ve got nothing to worry about.
Check out Teal - https://github.com/teal-language/tl
Great work as always @kojiwakayama looks superb!
Viruses are not concerned with ethics and morals.
I was recently shocked to find out that you can't change the volume in macOS when the machine is connected to a TV over HDMI[1]. Volume control is entirely disabled, and you need to adjust it via the TV. Or use a 3rd-party program.

This is absolutely insane.

I'm sure Apple will claim to have a very good reason for this, but the concept of controlling volume on audio devices has existed since the dawn of computer audio. All other operating systems do this as expected.

This is my main issue with using Apple devices. You either accept their vision of how to use the device you paid for, or consider yourself lucky that a 3rd-party solution exists (and that Apple has allowed to exist), which you also usually need to pay for. Insanity.

[1]: https://old.reddit.com/r/macmini/comments/lgfjax/is_it_possi...
Yea same with Google. I mean search is nice. But broadly there’s no killer app that makes _everyone_ gladly pay for it.

Jury is still out on whether they’ll be able to subsidize those massive server costs of indexing the entire web.
I mean it’s literally selling air :P
Fern (YC W23) Is Hiring a Senior Front End Engineer
Alien (1979) predates ST:TNG (1987-), and as I remember it, it competed with E.T. (1982) in the popular consciousness.

Nah, dark or grim sci-fi were aplenty, many of them were just regular action movies (also popular then) but done in sci-fi setting.

I'm using Star Trek as a measuring stick, particularly TNG and later, because this was a very big, popular and long-running franchise, that happened to have baked in the idea of optimistic future for humanity as a core part of its setting. It's a measuring stick that spans almost six decades now, and you can see in it how sentiments changed over that time, and how the hope and optimism eroded.

Various dystopian shows and movies that appeared in that time, they were pessimistic by design, and thus work as spot measurements of what people thought would sell best at a particular time. Star Trek wasn't - the weight of an established franchise meant it could've kept selling optimism even as others would find it too financially risky; so Star Trek going darker measures a deeper change in the mindsets of writers and studio executives.
I love this argument.

"Seems like only difference between me and ChatGPT is absolutely everything".

You can't be flippant about scale not being a factor here. It absolutely is a factor. Pretending that ChatGPT is like a person synthesizing knowledge is an absurd legal argument, it is absolutely nothing like a person, its a machine at the end of the day. Scale absolutely matters in debates like this.
In theory what you say sounds great, unfortunately in practice, many fields have become far from objective and “peer reviews” seem to be more of “peer support”.
Any updates on the Digital Markets Act (DMA) situation?

As far as I can tell it has been a big nothingburger with Apple charging more for apps distributed outside of its App Store while still maintining control over what people are allowed to install on their phones.
Show HN: mdfried, a terminal Markdown viewer that renders big headers
mdfried renders markdown headers as big text, by generating an image with the same font as the terminal.

It uses https://github.com/benjajaja/ratatui-image to render the images in the appropiate graphics protocol (sixel, kitty, or iterm2), if the terminal supports it.

Check out the gif in the README.md (e.g. on the github link) to get a better idea on what it actually does and looks like.

There is a setup step the first time you run mdfried, where a font must be picked (ideally the same font as the terminal). The first matching font for the prompt is previewed, you can force to run it again with `--setup`.

There are still a lot of missing features (and probably bugs), as I just published/released this. If your terminal supports any graphics protocol, and you're curious, please try it out! Feedback is welcome.
It’s good that it is so well written so that Microsoft know how to fix it
Yeah, I was talking about the shortcut. Although, since a period is just a swipe away, it's not so bad.
No, that does things like Hey Siri.
Embarrassing that he can’t mention Brexit. Can’t mention sending the European stock exchange from London to Amsterdam.
CRS defines 12 deferent types of mass shooting:

https://crsreports.congress.gov/product/pdf/R/R48276

I’d guess you mean the mass public shooting one.

It’s hard to find comprehensive data on all the dimensions but in this report for instance https://sgp.fas.org/crs/misc/R44126.pdf

You’ll see 16 of 66 mass public shootings were performed by assault weapons that were illegal under the Brady ban but legal now (another one was an illegal conversion and a final one was performed by a police officer who could legally purchase under either regime).

So I don’t agree with you about where you’d focus if you wanted to stop mass shootings.

And worse than that I think focusing on assault rifles especially turns what is a pretty universally agreed upon problem (mass shootings are increasing and becoming more deadly) into a culture war issue.

The courts are nearly certain to affirm civilians rights to own assault rifles soon. We can keep chasing ever more caricatured laws around weapon definitions or we can focus on things that don’t require the culture war:
- strong and universal enforcement of the laws on the books that don’t abridge the legal possession rights of citizens (felony straw purchase enforcement, background checks, felony bans, etc)
- make domestic abuse disqualifying for firearm ownership (by making it a higher class of crime and enforcing it)
- red flag laws and training on identification (including a process to surrender firearms when in crisis and to regain your rights when not)
- repeal all the crazy laws preventing the gun industry from being researched and sued
- safe storage laws
- civil and criminal liability for providing firearms used in crimes

And while we’re at it let’s get gun owners mental health resources and build a culture where it’s normal to store guns outside of your house if you start having suicidal thoughts.
This is very cool. However, I do wonder about your use case for making things like sliders.

CSS and HTML already have several decades of work on accessibility and cross platform support. It's far from trivial to recreate this.

For things like hero pages, I can see the benefit. But for basic UI like sliders, are you reinventing the wheel here?