skysight-inc/HackerNews huggingface dataset:
> I think it's more doable to learn to just live with that than to reprogram mankind.

Why not just fix the calendar to match what people expect?

There was no time when people said "this is year 1 AD". That numbering was created retroactively hundreds of years later. So we can also add year 0 retroactively.
I remember from that time those who where trying to do the "semantic web", some kind of complexity abomination... and in the end we got the current scripted gigantic and grotesque DOM abomination locked up/financed by big tech. Yep, I considered that was a loss/loss.

I recall too how the major web browsers did everything to make xhtml dev a massive pain (that was clearly sabotage). In the end, you have to choose doing html "à la xml", or the html "à la sgml" (which is seriously ugly to parse).

The only way to cleanup that big tech lock-down/mess: regulation on critical(utility) web sites with noscript/basic (x)html (like they mostly were a few years ago).

Can we get a clean "better"? Well, if it is as simple (complexity _and_ size) to implement than html parsing, and as stable in time, yeah. As far as I know, it does not exist.
Not sure they mean reliability in the sense that the floppy is inherently reliable, but rather, reliable relative to "cloud" storage. Presumably any tec that depends on one's own attention to maintenance, rather than the continuing good will of complete strangers, would be viewed similarly.
This is simply bad advice. There are very, very few cases where you shouldn’t use a bigserial/bigint as a primary key. Perhaps the only case is where it is impossible for the rows to grow beyond a specific bound: an “AWS region” table or a “countries” table. These are almost always lookup tables of some kind, and the domain makes it impossible for it to grow past a certain bound.

Outside of that, put absolutely no thought into it and pick a bigint/bigserial.

Trying to be clever about this ignores the fact that tables and their usage change, and what you believe now will not be correct later.

And when you realise you’ve been too clever, it’s 3am on a Sunday, your production database has exploded and nothing works. You now need to rewrite 30 tables and their foreign keys ASAP with upper management breathing down your neck.
The presidency of Bill Clinton was a much different time than that of Reagan in the US.
Please talk more about the difference btw consensus and prevailing opinion.
For the most part, 2FA is just a hack to mitigate the fact that passwords are a weak form of authentication: people reuse passwords, and websites leak them.

They're better than nothing, but outside of enterprise contexts (e.g., enterprise-managed CAC cards and other hardware tokens), I think expecting 2FA to defeat malware, physical access, etc. is too much.
I made a CLI password manager with Python.

It uses PBKDF2HMAC and Fernet to encrypt a SQLite DB.
With how little even projects like Wine cover, I don't think full coverage of the Windows API is happening. You could target an older subset (3.1, 9x) but then you'd probably also need to implement fake DOS behaviour and weird hardware to get many applications to run.
Then why doesn't banning lying in politics cause Orwell, Kafka, Voltaire, and others to roll in their graves? Please provide a compelling reason why the warnings of our greatest philosophers and thinkers do not deserve even a moment's consideration. (It will be the burden of the Welsh gov't to prove that such a policy does not harm innocents and that this law ends up getting abused. This is a more powerful kind of law than e.g. ingredient labeling laws or e.g. hate speech laws: politically controversial issues are not so domain-specific or narrow in scope.)

I am bewildered reading so many comments that are A-OK with this this proposal prima facie.
The revisions of previous data have been a trend for months now. Almost like the data was being manipulated. https://archive.ph/pGcf0
It reminds me an idea I had, but left in a drawer. I couldn't find out how much it costs. Could someone find this info ?
"There’s no good way to refer to 2000-2009, sorry."

I believe this time is called 'the aughts', at least online. I say it in person but I might be the outlier.
Epic‘s no saint, but I don’t expect them to outright lie about something they’ll likely present to officials. Especially considering that the alleged behavior is exactly in line with what Apple has been doing for a long time.
Also describes MS DOS.
You are correct.

On the technical side, there is actually a way to make it to instantly switch (also fairly easy to implement) but it will consume more data (about 5x-10x) which would not go well with the efficiency of using a spare device concept. I had to consider these matters.
The tokens thing sounds like one big logistical PIA. Is it really anonymous?
https://docs.python.org/3/whatsnew/3.12.html#removed

Here's a list of things that were removed from Python in 3.12, most of were deprecated after the 3.0 release.
As far as I know, revisions are not a phenomenon limited to recent months; they have been a feature for as long as I can remember.
The nineties clearly started in '89 with the fall of the Berlin wall and consequent "victory" of the cold war, and ended with the dotcom crash in 2000; the cyclical nature of economic growth wasn't bested after all.
> the SEC really seems to only go after small timers

Insider trading is a fuckwit sport. The N != NP asymmetry of executing an insider trade, profitably and discreetly, against the simplicity of looking for weird trades ex post facto leads most with money to conclude it isn’t worth it. The meme about the lawlessness of finance tends to be held by those furthest from it.
Shout out to Stefan Mischook on YouTube https://youtube.com/@stefanmischook?si=Mo9ccAHmU2diCwZ9

He has great advice to new learners starting their career.
Catching up to their literacy rate might be a nicer goal. American education is horrible compared to virtually all Asian countries.
If nothing else, do adopt f-strings. It really makes the code cleaner!
I wonder if this is more about lighting up the gambling addiction thrill seeking and whatnot part of the brain than it is really about getting rich quick for some individuals.
We're doing this sort of tracking in a Telegram group. We just send messages with a well-defined structure:

<category code> <time> <optional description>

e.g.

S 2000
W 0800
F 0900 banana
P 1010
...

(S = sleep, W = wake up, F = food, P = poop, etc.)

Every few months I copy paste the messages from Telegram into a text file and have a script to parse, clean it up and add the dates. Would be fun to try some data science on the past few years of this data.. at some point :)
Fuck that. It's "the 2000s".
> How comes the SEC can even find something like that?

It’s automated. You look for high-entropy trades after receiving the filing announcing the corporate event.
It helps but isn't perfect. The attacker can't just pick up the secret. With a passkey they would need to trick you into touching it to authenticate them. Probably by timing it when you think you are about to do a regular authentication.
Nice idea and I love the aesthetics.

Would be fun if you could play static sound while the other stations are buffering. But that might be one feature too far for some of the younger users.
“WebGPU is supposed to be properly sandboxed.“

GPU must therefore provide open API for proprietary processing space.

Magic “packets” are therefore possible to execute arbitrary functions on “sandboxed” DMA devices.

Still a problem until we can audit the hardware. NV, and to a lesser extent AMD and ARC play somewhat open with a few omnipotent cards in their pockets. The prime of the issue is that gamers don’t care, only security professionals do. Because they’re the ones who see the 0-days fly by every day.
IMO @dataclass, and Enum are gamechangers. fstrings are nice too.
Thinking Elixir podcast is great if you work in the Elixir ecosystem.
Yes, I also only need 20% of the language. The problem is that everyone needs a different 20%.
That’s my VR dream. A federation of independent sites where each can have its own unique properties sounds like the way to go. I imagine my site having doors that link to other sites. Maybe when you use one, your browser caches a backlink so you can turn around and walk back.

I’d vastly rather play with this than any system operated by a single company.
> Exchange rates used to be pegged to labor

When?!

> futures market obfuscated that and is controlled by a central bank

Where? FX trading in open capital account economies are between lightly and unregulated.

> sure population density is a variable in this equation as well

Total factor productivity [1].

[1] https://en.m.wikipedia.org/wiki/Total_factor_productivity
Syntax is occasionally nice for that “Everyman programmer” quality it has. There’s a lot of humility in the way they approach topics.
Show HN: A JavaScript UI library for imperative JSX
I've been building a web UI library for a side project of mine. I thought it might be useful to others, so I'm releasing it as open source.

To put it simply, I realized that most of my pain points with React come from its declarative model ui=f(state). So I'm trying something that I'm calling "imperative JSX." Instead of treating JSX as the source of truth for your UI, it essentially becomes a query interface for DOM manipulation.

I first had the idea for it a few months ago, and only began writing it in earnest last week, so it's extremely early and nowhere near production-ready. Still, I'd appreciate feedback on it (positive and negative)!

The side project I'm working on is called Matry, so the library is currently called @matry/dom. I'm slowly building up a list of examples of it in action at this repo: https://github.com/matry/dom-recipes

Cheers!
It is one reason why LLMs do so well on medical exams. Doctors memorize stuff as opposed to derive it from first principles because the body is too complex to work from first principles. You’re supposed to prescribe a drug because it has been proven to work and approved, not because it should work in theory.
China is the runaway leader in generative AI patent applications
Software Unscripted is worth a shout-out
Apples last a long time if you discard the bad ones quickly.

I eat apples up to a month after buying them. They're still edible even then but I don't like them when they start to get soft.
The walrus operator is pretty nice to have, the type system is absolutely necessary to improve correctness, and there are a few quality of life improvements that are great too, for example removeprefix().
Docker/containers, k8s, and all the bent bloated habits eventually take a toll.

Sure, it lets you ship that app with postgres, clickhouse, redis, rabbitmq, task runners, workers, the jvm, 5 different versions of nodejs wedged in...
But is this really a good thing?

Its like vacuum sealing poop in unlabeled bags and putting them into someone's refrigerator.
Yay, surprise.
While I value what GDPR is trying to achieve, the response to it by all the people who want to continue to track users instead of providing non-tracking alternatives, does seem to justify the criticism that @ghusto listed.
The dinosaurs also knew this to be true.
The Array Cast https://www.arraycast.com/. This is a podcast on array languages (which more or less means APL-like, for the purposes of the podcast). Even if you don't particularly care about these languages they discuss algorithms and things from an abstract enough perspective that is helpful and illuminating.
Python is just interfacing with native code in these benchmarks. Matrix multiplication written in purely python would probably be slower by at least 2 orders of magnitude.
>However, I was a little put off by the glorification of nVidia's shady practices and lock-in policies as key to their current leading position.

What was their shady practices and lock-in policies?
I've stopped listening for probably a year now. But other than some already mentioned here I'd go with:

- Soft Skills Engineering: very humorous and light take on the people side of SWE

- StaffEng: interviews with engineers with staff+ roles

- Lenny's: if you are into product, growth and startups in general

It was already mentioned by a sibling comment, but podcasts from the Changelog are also very good.
This feels like one of those game adverts of someone intentionally playing a game poorly because it’s a good engagement hack.

People discussing actual mathematical theorems isn’t going to get any engagement, so you have to throw in something batshit insane and simple for average people to want to watch it.
A potential tender offer isn't always non-public though. The ones which are non-public are presumably less likely to be discussed somewhere as public as over a bathroom stall. If you as a random Joe unaffiliated with the companies in question don't know it's material non-public information then you can trade on it.

The other facts might matter, like if you bragged to somebody about the non-public information you overheard (or, as in this case, where you were a member of the company in question), but it wouldn't be a slam-dunk case if the only facts were trading on bathroom stall intel.
I would have thought that extends beyond 2009
> It’s automated. You look for high-entropy trades after receiving the filing announcing the corporate event.

So they find these dubious trades and then check the trader's trading history and personal wealth? Stuff like that?

Basically the trade is automatically flagged and then they notice, for example, that the dude hardly ever trades, never traded that stock, isn't familiar with $120K wins on a trade, etc.?

And if it all ticks, they then check which company he works for and it there's a relation with the company he traded?

I mean: it is amazing that they got him to me. But I find it also, in a way, quite spooky.

There's definitely a vibe in the comments in this thread, including from mine, about "going after the little guys".
They are on average great, but don't you agree that it's not always better? If the expressions get too long, it gets less readable than splitting the placeholders from those expressions.
Yeah either that, or if you don't have that permission, I'd suggest using some kind of obfuscation technique so you don't reveal PII.
> The basic disadvantage of that design is that a real radio or TV can change channels in milliseconds, but it takes seconds to set up a digital stream in most cases.

Only for tuned stations. If you’re scanning the frequency (which is what the up and down arrow remind me more of) then it will take as long as it takes for your tuner to find the next station along. And that’s assuming you even have an automatic tuner, my first radio could only be manually tuned and didn’t support presets.
https://nedbatchelder.com/text/which-py.html

Ned’s list is what I usually use.
I call them the two thousand zeroes (2000s). Or, when people ask me from which year my car is, I say two thousand zero -- emphasizing the smallest digit.
It was nice to see the "annotations" from 3.7 for helping avoid types with circular imports (for types). I didn't know that!

I'd love to see a step further, and avoid the circular import problem entirely. It's something I fight with everything time I work in Python. I find that I am forced to structure my Python programs in a way specifically designed to avoid this instead of what makes sense for organization. Or I will C+P functions if I feel that tradeoff is not worth it.
In April 2022, Elon Musk bought 9.2% of Twitter. He was legally required to file a disclosure notice when his ownership exceeded 5%, but he didn’t. This allowed him to keep buying billions worth of stock for cheaper because the price immediately went up when his ownership became public.

Obvious violation of securities laws, with hundreds of millions in profit. Who knows if he’ll ever be held accountable. Musk seems to delight in mocking the SEC.
Does A Frog Have Scorpion Nature? https://podcasts.apple.com/us/podcast/does-a-frog-have-scorp...
> I can absolutely see scenarios where it would be desirable or convenient to create the these IDs in the application code.

I feel like I’m taking crazy pills. Isn’t the whole (or 99% of the) point of uuids that you can generate them client/application side for idempotency, because entity creation starts there and you want an id earlier than the first round trip completion? If they’re generated by the db (with world-knowledge) then you can auto increment a 64 bit is significantly more performant.
> Python is really like C++ now

Yet there is still a common belief among programmers that “Python is a simple language”. I don’t know how that persists.

Perhaps what people really mean is just that it has “friendly” syntax (no braces, sigils etc) - and they aren’t considering semantics?
How Good Is ChatGPT at Coding, Really?
Show HN: A CLI that uses Claude to fix your code until the tests/builds pass
there you go, thank you
i read that title as „which podcasts are you procrastinating to?“
LLMs do not derive from first principles.
Show HN: I made an app to tailor podcasts to your interests
Hey HN!

I'm happy to finally launch Contxt. I enjoy consuming information through podcasts, but I have very specific interests. It was difficult to find podcasts covering my niche topics. When I did find one, it was often too broad or off-topic. That's why I built Contxt, so I can always find podcasts that interest me and to only listen to what I enjoy.

Robin
Ortega for one. Maduro in Venezuela.

The world is littered with both corrupted reformers and problems of succession when power is concentrated
As someone who haven't been using Python extensively since college, and mostly use TypeScript and Kotlin at work (and little bit of Rust for hobby projects), that's a lot of typing features. It feels like for the past few years typing been getting more attention. Good to see.

I used to hate TypeScript (circa 2016) because it kept bugging me with typing errors, and I used to sprinkle "any" to shut it up.
can this be used with ollama by chance?
Isn't this kind of self-evident? According to government statistics about 60% of high school graduates go to college, while IQ over 115 is found only in 15% of total population. If "everyone" goes to college then the average IQ of college kids must be pretty much the same as general population.
go time but really anything from changelog
Nice, the excellent open source android app RadioDroid also uses radio browser.

https://github.com/segler-alex/RadioDroid

In my experience I haven't found it to be lacking any stations.

But the nice thing is I think anyone can just submit missing stations.

You should see if they will list your app on their page for visibility: https://www.radio-browser.info/users

I have an old iPad 2 that is perfectly functioning. However my old apple ID I have on it, I known the password but have no way to unlock the account as I've forgotten the password. There's nothing Apple can do for me, so it may just become ewaste.

Perhaps something like this would be a good use.
Either that or maybe I can jailbreak it and give it a breath of new life. Though I'm not too familiar with IOS, my experience is more with android.

So sad to see a perfectly good piece of hardware being obsolete due to software.
I really like Software Unscripted by Richard Feldman.
Open source advanced ratelimiting for Companies offering Financial Services
Programming:

- The Data Engineering Show

- Signals & Threads by Jane Street occasionally releases programming-focused episodes, although they haven't updated for a while.

Tech:

- Hard fork by NYT
"All of the data is fake?"

*Astronaut raises gun* "Always has been."
If you look at economic trends through history there’s always been this irritating case for every generation where there’s periods of stock market decline. Stocks should only be allowed to go up.
> Building one is not significantly less work than building 10.

One of the more disappointing things about being a programmer-woodworker is that as a programmer, as soon as I've got something that works right once it's no effort at all to chuck a loop around it to repeat it a bunch of times.

In woodworking, on the other hand? Putting in 20 screws takes almost twice as long as putting in 10.
An analysis of module names inside top PyPI packages
What is the point of this? Why is it here? Is there something special going on?

So many links to web sites happen where one has no clue why it is posted or what it does.
First Swiss alpine agropastoral societies: Isotope analysis of diet and mobility
I agree with the other comments - f-strings are worth using. Other than that, um, underscores in numeric literals are nice, especially for hex and binary.

I don’t think there’s anything else there that I want to use. But, I recognise that as someone who only uses Python for small dynamically-typed programs, I’m not the target audience for the language any more.
How exactly was this made? Are online radio streams just so guaranteed to be a consistent, open API for use?

It feels like it would be ridiculously tedious if there were a thousand different ways stations might set up their stream.
Nobody* outside of these circles cares about these questions. And spend hours arguing about.

* You know, these you wierdos call 'normies'
This is such a terrible argument. "People might regret things, therefore we should abolish freedom." I guess we should have the state make all decisions for people, just in case. Wouldn't want anyone to ever change their mind about anything and have negative feelings*. Good thinking.

* Dead people don't even have feelings and can't regret anything. Your argument isn't even applicable. There are literally zero consequences for the person.
Yep. It generally seems to get revised downward, but I’d be interested to see a data analysis showing the actual ratio of upward / downward adjustments.
f”strings” are really good now.

Agree that match is shite, Python has a Guido-induced antagonism towards functional programming, starting with the opposition to multi-line lambdas, then with the attempted assassination of map() and filter() in Python 3, the removal of argument pattern matching, and now with statement-based match (in 2024!).
Ask HN: Are there zero-retention email services? Postmark? Resend?
I'm building a healthcare-related web service where users contact professionals via a form on profile pages. Privacy is really important, so I need an email service that doesn't store sent emails and removes them from the server once delivered.

I've been looking at services like Postmark and Resend, but they all store emails for a set period. Some (like Postmark) offer zero-retention, but require 6+ months of use and 10,000+ lifetime emails sent.

I'm just launching this as a personal project to help a few people, with no certainty of growth, and can't meet the requirements or additional costs.

Questions:
Are there any zero-retention services for new, low-volume senders?

Has anyone dealt with a similar use case in healthcare? How did you resolve it?

Advice appreciated!

I'm located in Europe.
So just don't use it and have nothing to worry about?
> they find these dubious trades and then check the trader's trading history and personal wealth?

History and employment, as well as spouses’.

> isn't familiar with $120K wins on a trade, etc.

Most insider traders don’t make that much. There used to be a site where it showed you some insider information, and you tried to guess what the stock did the next day.

> a vibe in the comments in this thread, including from mine, about "going after the little guys"

SEC goes after anyone who insider trades. DoJ tends to only prosecute the big guys.
NPM account takeover using expired domains (2023)
Hasn't this been part for the course for the last year or so? It seems like every jobs report is lowered after the news cycle picks up the inflates numbers and they're free to adjust to the real data.
Google is (not) bringing Fuchsia OS to Android devices
Beauty, underage drinking, and adolescent risky behaviours