skysight-inc/HackerNews huggingface dataset:
User-provided data, yes, but also data where you can treat non-ASCII bytes as garbage in -> garbage out. E.g. the config file might be typed by a human but if you need to support case-insensitive keys you still don't need to worry about Unicode.
Probably not before a Perl 6
They explicitly describe the PEP as evil, is there a tradition in the Python community for having obviously terrible PEPs, just to document the reasons for not doing something? Because that would make this a lot more understandable.
I've yet to come across a satisfying definition for free will beyond "it's not determinism but also not randomness"
If that's all that happens, it'll be a loss for consumers. A hefty cash fine will make shareholders pay attention.
"our users are idiots and we need to keep them away from sharp edges" is exactly what keeps driving me away from Python and pip. It's why I wrote https://pip.wtf -- Python package management would be so simple if they'd just stop adding more and more seatbelts and cushions to Python.
Donna Haraway: From Cyborgs to Companion Species (2004) [video]
Presumably they would be forced to formally divest.

> I had assumed that the division would simply force all alphabet companies to operate fully independently.

I'm not sure this makes sense if the same party has a controlling interest before and after.
Right? I thought pretty much all the higher level “objecty” stuff in python are dicts under the hood.
it's like cutting the head off a hydra
> Sometimes better than that of a software engineer

There is a reason so many of us work as software engineers now; I earn about 5x more than I would as a university lecturer/assistant professor.
Blank, unpunched punchcards are a great size for taking notes too.
I think both factors are important as the goal is generally to help with planning and prioritization. A straight-forward but long task is still "expensive" with regard to prioritization and will take a while even if the cognitive load is not super high. That said, I think the observation that cognitive load is a good thing to watch out for as it introduces more risk to the estimation is very valid.
The patent clerk guy was almost done with his PhD when he became a patent clerk. Not quite comparable.
> Explaining to young people what materiality is can be a tough ride.

Sounds like an excellent opportunity to introduce them to drawing from observation? They don't have to understand what "materiality" is, just see that the object appears different depending on how they hold it, where the lights are and what else is around it. (Assuming that you don't have a bar of gold hanging out in your class you could grab some toy gold coins.)
And regional pricing, although maybe less relevant for hardware
Interesting, but not surprising. When a tech-heavy company goes under, don't expect the simplest of issues to be resolved.
I’ve been using Firefox for over a decade and haven’t experienced that ever.

Google, YouTube, Gmail and other sites have nagged me to install Chrome, though.
Thank goodness there was 2to3 tool in the past. It made the migration to Python 3 so smooth and quick. /partial-s

I know it is not nearly on the same level, but people seriously overestimate the effort needed between not doing anything at all and even the slightest work, no matter how reliable and easy. The difference between nothing and anything is huge.
> At the lowest level the state of the universe is represented by a hypergraph which captures what can be thought of as the “spatial relations” between discrete “atoms of space”. Time then corresponds to the progressive rewriting of this hypergraph.
Search needs a whole lot more normalization than just case folding.
Original intent of the prizes is, however, to reward those that recently contributed good. Not to be a lifetime award after seeing how things pan out.
Show HN: Sustainable and repairable e-bike battery (that's also fireproof)
Hey everyone!

I’m Maël, one of the co-founders of Gouach, and I’m so excited to introduce the Infinite Battery, that we believe is a revolutionary step in e-bike battery design!

Traditional e-bike batteries fail often just for one or two faulty cells, but the entire battery has to be replaced because they're glued and welded together. We’ve developed the Infinite Battery to fix this. It’s fully repairable in under 10 minutes with no special tools required. We’ve made sure it’s compatible with major e-bike brands, and our universal mounting system works with most bikes. Plus, it’s waterproof, fireproof, and built to last.

Our team has been testing these batteries in real-world conditions with free-floating e-bikes in France since 2022, and the feedback has been incredible. We’ve added tons of features—like a smart BMS with sensors, a rugged aluminum casing, and more—all with the goal of creating the safest and most durable battery on the market.

We can’t wait for you to check it out and help bring a new standard of repairability to the e-bike world!

I'm a regular lurker here, so feel free to ask any question, and me or someone from the team will do his or her best to answer!

Cheers,
Maël
Co-founder @ Gouach
That's besides the point. I don't want to muck about with tools on my Python scripts.

I have sometimes not run a Python script for a few years, and then when I need it, it stopped working and I need to track down what changed/broke or run some tool or whatnot. I don't keep track of the latest greatest Python changes – like most Python programmers it's not my "day job" to write Python code so I now need to track what changed between "the Python version I used about 3 years ago, whatever that was" and now. It's pretty annoying.

And that's assuming said tool will be fool-proof. Never mind of course that all my dependencies (if any) will need updating too.

What will happen in practice is that people will write "except Exception:" rather than "except:" and do nothing different. Basically nothing will change.

Meanwhile, I have C and Go programs that have worked without modification for about 10 years. Not that nothing ever breaks in C or Go, but it's the exception (hah!) rather than the rule.
Thank you! Yes, there is an exponential backoff strategy for reconnection attempts. Supporting SOCKS sounds like a nice idea, I'll look into it!
This article starts out by pointing out that American life expectancy has increased from 70 to 77.5 over the last half century or so, and points out that this (along with a lack of increase in health span) means increased medical care, and corresponding costs. But, sadly, this is old news. American life expectancy is in free fall right now [0], down more than three and a half years over the past five. We're already back to 1996 levels, and at this rate will be back to the 1970s levels that the article uses as its starting point by the end of this decade.

[0] https://www.npr.org/sections/health-shots/2023/03/25/1164819...
Syndicate - wow. That brings back memories!

I could never get it working on DosBox (some timing issue). Haven't tried in over a decade, though. Should see if I can get it working.
> Todd reportedly denied he was the bitcoin creator: "Of course I'm not Satoshi," he said.
Why worry about the blowback? That's the corpse talking, if I hear, "This disrupts our workflow," I'm even more confident that I should rip the band-aid.

Offices that don't follow security practices uncovered because they never called for help, another chance for drifters on autopilot to walk away from the job because it just got too hectic, stop paying licenses for a bunch of tools you didn't realize you were paying for and don't need, find replacements for all the tools that are not actively maintained, or don't have cooperative maintainers.

It's a healthy shake-up and our society at large should be less scared of making decisions like these
But Crispr actually edited genes. How much of this theoretical work was real, and how much was slop? Did the grad students actually achieve confirmation of their conformational predictions?
It is you the racist by referring to Indians as a race.

Learn about your own people first, the Indo-Aryans.
"You Are Not Expected to Understand This" (2022)
Malware threat means bad news for ATMs
Empty Spaces
If you want to get truly disillusioned, look at how Sarney became president.
Not directly but a team is working on one:

https://clonos.convectix.com/
Python feels like they are fixing the language the best they can by slowly and properly adding explicit types. Character count is not a valid argument when we have hard drives that are multiple terabytes and IDEs and LLMs that will gladly auto complete a full word with the import. Foo, bar variable names and i, n incrementers should be banished to freshman level undergrad tests meant to intentionally confuse the student.

I'm hoping Python 4 will be a big breaking change similar to the previous one and full support for explicit types will be one of the reasons.
Speaking of the English language influencing German, I want my Erdbeermarmelade back. I don't care that english marmalde cannot be made of strawberries.
Rich Rebuilds on YouTube bought a cheap Fiskar Ocean and documented his work getting it running and trying to get a software update for it.

https://youtu.be/b_OxgAYG0Io?si=rT_UFWTc5v6t58nb

https://youtu.be/WLGaAE4_RjQ?si=sSNi5Pg4DEccUgXr

https://youtu.be/qzy7-UXLdH4?si=L1kjOZpQOmhD4JSu

If a vehicle is going to be completely dependent on software for basic functions, then owners should be able to at least replace or patch that software with standardized freely available tools.
I am the source (working on conceptual computing since the late 90s), and have built a conceptual computing platform based on it (In common lisp of course): https://graphmetrix.com/trinpod-server
Saying you love Angular 1.x while complaining about complexity is an interesting take.
It’s also signal processing.
They may not have experienced such, but threading presented this way was already a well-established thing before gmail. Not so much with email as with newsgroups, but still.

Also, some people considering a problem "hard" is an entirely different thing than a problem being widely considered as "impossible". This was not anything close to an impossible problem.
I’m too ignorant on the subject to have smart questions, so I’ll state instead: that’s brilliant. Terrifying, but brilliant. If someone locked me in a box and said I had to use this for everything, I imagine I’d either break down crying or write an AGI in a page.

Well done.
A god’s eye perspective still requires time. The absence of time implies nothing can change because time is required to differentiate two states. The notion of “observation” implies change because you’re learning something new.

You could say we exist in a simulation and the entities outside the simulation can pause the simulation or pre-compute the simulation so that it’s static but then you’re just kicking the can down the road because they would need their own notion of time to observe the simulation they created.
If this happened it would be great, but I hold out little hope it'll ever actually happen.
Corporate Cringe: How I Filter Job Opportunities
Nigeria to Sanction Musk's Starlink for Unauthorized Price Hike
Speaking of Snowden, and since we're at the State actor level, both Windows and Intel CPUs (and maybe also Ryzen CPUs) have to be assumed to be backdoored by the NSA.

Whether that is a threat worth dealing with for the concerned embassies is another question of course.
Nightmares on NPM: How Two Malicious Packages Facilitate Data Theft and
Maybe bare excepts could be modified to just catch Exceptions. It seems like a reasonable expression of the idea: everything that could go with my program but not with the OS.
[ranier-wolfcastle-that's-the-joke.jpg]
With subreaping as the only additional mechanism available, init would have to fork itself first and then keep that child running until all its descendants are done. Basically, every service would have a supervisor process (controlled by init) which roots a tree of all its other processes.
Will this command be automatically run by venv, or poetry, or whatever, on every package update?
New Report Shows Why Getting a Michelin Star May Not Be a Good Thing
What's the cost of DEI?
Why's that? Uncle Bob seems pretty clear that most of your code should be free of side effects, and that necessary state mutation should be isolated to one place. Carmack is saying the same thing.
> If your code is protected from untrusted user data and the internet, Python 2 is actually a really nice language that doesn't constantly force rewrites.

If Python 2 is acceptable for your use case, then you could stay on an old version of Python 3 just fine as well.
Run Qwen2.5-14B Locally – An OpenAI API Alternative for Chatbots and Embeddings
Tutorial to run the Qwen2.5-14B-Instruct model locally on your device using LlamaEdge and WasmEdge – no complex toolchains required!

It supports edge devices, offers long context lengths (up to 128K tokens), and can be a drop-in replacement for OpenAI APIs.
Great input for right to repair legislation efforts. Providing a reference implementation for cloud services should probably be mandated if the vehicle is dependent on cloud infra to operate.
Nicotine by itself is pretty much harmless.
America's Food and Healthcare Systems Were Compromised [video]
I loved your article, by the way. It clearly stated many things that I had trouble articulating well. I'll be stealing some of what you wrote for use in future conversations.
>they used their search monopoly to incessantly nag people to install it

This is something I never understood. If I were already using Firefox or IE before installing Chrome, what would have prevented me from continuing to use Firefox or IE after installing Chrome? Did the Chrome installer disable or otherwise interfere with other applications?
On my 50k monthly UU side-project, I used this to eliminate a vast majority of spam submissions:

> $.post($(this).attr('action') + '?nospam=1'

(skipping processing but returning a success response when nospam is absent, so I guess it counts as an honeypot)

I also blacklisted the words cialis and viagra.

What remained were serial submissions from pen-testers who then sent emails begging for money, so I implemented a one-click removal of all submissions from an ip range.

That's after Cloudflare's regular WAF.

Not much effort, so I guess it's only an issue if it gets exponentially worse with increased traffic (which it probably does).

I would never use a CAPTCHA though, not my philosophy to outsource effort to the user.
I want to use BSDs, and I tried using OpenBSD, for my servers, but there are far too many missing features I rely on from Linux. One simple example is mount --bind. I want to allow some users to connect to my server via SFTP and put some files their $HOME/files which then goes to a physical disk used for user files. In Linux this is as simple as mount --bind /disk/userfiles/$USER /home/$USER/files. In OpenBSD they recommended using a localhost NFS share. That didn't seem to me like as good of a solution.
TikTok is where you go to find someone (if not synthetic voice) reading to you a 30 second summary of the manufacturer's press kit and pretending like they reviewed it.
That version will eventually become EOL, stop getting security patches, eventually stop compiling with the latest OpenSSL, etc. Bitrot.
It's more case by case for me. A magic number should get a named constant on its first use. That's an abstraction.
> Oh, you want to know the naive UTC datetime in Python, to interface with something like PostgreSQL that recommends naive times?

Postgres never recommended naive datetimes. A TZ-aware datetime is semantiacally the same as a tuple of (<location/agreed offset>, <time in the moment since unix epoch defined in terms of UTC>). Those who recommended dropping the knowledge of the first part from that pair did it because they didn't know better.
This is a classic ‘be careful what you wish for’. Because what do you think the alternative is going to look like?
Star Health India All Customers Health and Personal Data Leak
Sure, but if you have resources to spend validating the security of a tool, would you rather validate the QR parser or the USB stack?
Crispr is widely used and there are even therapies approved based on it, you can actually buy TVs that use quantum dots and click chemistry has lots of applications (bioconjugation etc.), but I don't think we have seen that impact from AlphaFold yet.

There's a lot of pharma companies and drug design startups that are actively trying to apply these methods, but I think the jury is still out for the impact it will finally have.
Being suddenly forced to increase revenues (to make up for lost subsidies) is unequivocally not the way to drive innovation.
The Battle over Robots at U.S. Ports Is On
I didn’t make any such claims regarding consciousness. I’m trying to understand how time as an emergent phenomenon instead of fundamental to the universe could work.
Regulators Are Limiting Banks Serving Crypto Clients
I've found on some cars (i.e. Jeeps), disconnecting the antenna is insufficient. It just lowers the range of the cellular modem. If you get close enough to a cell tower it'll still find a connection to the mothership.

In my case I had to open the radio and physically remove the cellular modem. Which was thankfully on its own removable module.
REPL tab completions let's gooooo
not sure their privacy policy [1] agrees

If we are involved in a bankruptcy, merger, acquisition, reorganization, or
sale of assets, your Personal Information may be accessed, sold or
transferred as part of that transaction and this Privacy Statement will apply
to your Personal Information as transferred to the new entity.
Backend, the land of no frameworks. Not a Rails, Django, Spring, or Laravel in sight!
If it's not a serious proposal then that's even worse, because there's a long discussion on that thread. So this non-serious proposal is just wasting people's time.
Yes and most importantly, that interpretation is for display purposes ONLY. If your file manager won't let me delete a file because the name includes invalid UTF-16/UTF-8 then it is simply broken.
When the rich and powerful (including politicians) have their positions sold and will make money from the FAANG companies' stocks going down, we will see some real antitrust activity and society will get better and break away from the tech dystopia we are living in. So in a sense Gordon Gekko was right and greed is good. At some point you can't pump stocks anymore on vapors and you make money from them on the way down in shorts, buying lower, etc.

https://www.currentmarketvaluation.com/models/s&p500-mean-re...
Bezos? Abandoned by his dad who was literally an alcoholic clown and raised by his mom and her 2nd husband Bezos?

https://en.wikipedia.org/wiki/Ted_Jorgensen

So $300K in 1994 is about $640K. That's nice but about 80th percentile of net worth. It's nice his parents believed in him. How many of your parents would do that for you? I'm sure at 1 in 5 of them have that kind of money because of the distribution here. So the difference here is He was smart, he got lucky, and your parents don't believe in you enough on this front.

But compare and contrast Bezos and Musk. Bezos's mid-life crisis is leaving his wife to run around on his yacht banging models. Musk's mid-life crisis is trying to destroy democracy so he and his mom won't have to pay US taxes. Neither one is a role model, but I don't even get the point of the latter.

Which brings us back to AlphaFold. The AlphaFold team did something amazing. But also, they had a backer that believed in them. David Baker, for better or worse, didn't achieve what they did and he'd been at it for decades. It's amazing what good backing can achieve.
Like the sibling says, octet is useful when in a networking context, because bytes weren't uniformly sized, but also because communications protocols were sometimes only 7-bit.

Serial ports and modems often operated in that mode, and UUCP influenced mail and newsgroups to only use 7-bit data; requiring encoding for data with the high bit set. Protocols that specify octets are dealing with 8-bit bytes and don't have to deal with that.
Cursor Size Problems in Wayland
I'll guess X=Livy — as he was a "professional" historian (one of Veblen's non-governing elites?) and therefore more likely to produce Gell-Mann (non)Amnesia moments.

[It's interesting to see the difference between quotes attributed to N1 on {de,en,fr} websites: in fr they sound pretty accurate (some fraction are lifted from Cicero or other classical authors); in de they're enriched in those that either concern germany itself or the hassle of dealing with idiots all day; in en just about anything gets his name slapped on it. ("87% of all statistics are just made up — Napoleon Bonaparte")]

That said, even though Cicero was in government, Livy seems to have been a tad more cynical (small-c, modern sense) than Cicero, so I could be wrong. Alongside the lifted-from-Cicero quotes, one also finds more machiavellian expressions:

> “Le peuple est le même partout. Quand on dore ses fers, il ne hait pas la servitude.” (People are everywhere alike. Give them golden handcuffs, and they don't hate their subjection) https://gallica.bnf.fr/ark:/12148/bpt6k65037972/f113.image.r...
Sentiments of the comment so far… couldn’t agree more. Although the title I agree with. AI(generative LLM and image generation) have been game changers. For some.. we have an AI pr bot that does reviews. It’s basically a GitHub PR spam bot that for me has yet to produce a valid review. Certainly changed the game.
> On one of the forms, I politely ask that the sender include todays date somewhere in the text, which I then validate to be within +/- 25 hours of the server time

It sounds like you made your own CAPTCHA-lite. If it's not a very attractive form to spammers, sounds like that's fine, but for bigger sites it may not be enough. CAPTCHAs don't have to always be squiggly letters... there are many picture-based puzzles these days, along with human-like interaction checks, audio puzzles, logic puzzles, video advertisement puzzles, etc.

I manage a forum at work and after a few years of no spam, suddenly someone found us and made hundreds of spam accounts and posts over one weekend. And Discourse doesn't have good bulk spam moderation in the UI, so it was a pain going through them afterward =/ I really wish we had a CAPTCHA!
I'm with you at full sticker, however American Lease ignored all the warnings and got what it deserved.

>Car publications were already warning consumers to steer clear of the Ocean as early as this March, despite massive price cuts that saw these electric SUVs being offered for less than $25,000. A New York-based company called American Lease was less deterred by this warning and in June agreed to purchase the remaining Fisker inventory—approximately 3,300 cars for a total of $46.3 million dollars.
If you consider any superlinear complexity a 'compiler issue' I guess.
I have mixed feelings about this.

There are two "problems" this PEP is trying to solve.

One is that bare excepts are permitted. The argument against this is that explicit is better than implicit. A matter of taste, but I don't find this convincing.

The other problem is what bare excepts mean. Bare excepts are syntactic sugar for `except BaseException`. This means that an application containing a bare `except` followed by the vast majority of real-world error handling will continue to run even if SystemExit or KeyboardInterrupt is raised. This is almost always a bug.

I do find this second argument convincing, and I wish Python did not contain this design wart.

If I could go back in time and change Python syntax, it would make it hard for people to silently treat these special interrupts as "handleable" like regular errors. The tiny set of applications that really can and should handle them (e.g. TUIs or the mailman example discussed in the final section of the PEP) can explicitly do so with e.g. `except KeyboardInterrurpt` or even `except BaseException`.

But I agree with the consensus here that this does not rise to the level of something being worth a backwards-incompatible change.