News for hackers. Stuff that matters.

sco1

Re:Show HN: Open-Source eInk Bike Computer on Thursday September 17, 2026 @10:16PM (#49749478)
Re:The only known trebuchet casualty in history on Monday August 17, 2026 @11:42AM (#49332835)
They typically weren't trying to hit people with them.
> Corporate earnings are through the roof. They’re doing great. The consumer is hanging in there. The labor market is hanging in there.

Are we though?

Thank god corporate profits are ok...

> Whatever your opinions on the war itself, this has been a fascinating exercise in how a small regional power has militarily defeated the global hegemon relatively cheaply (ie with a military budgets 1% of the size).

It's honestly perplexing how major powers seem incapable of learning from history. Short of nukes, bombing a country into submission has never worked. Even now the Ukraine War is here just staring everyone in the face and yet the same mistakes are being made all over again?

Iran has been preparing for this for decades, and has apparently been paying attention to everything going on in the region. What has everyone else been doing? Is it just arrogance?

Re:So Reddit has decided that plain HTML is unsafe on Wednesday July 22, 2026 @09:24PM (#49015685)
This is sad. I've been using a few read-only lurking apps to browse reddit for a while now and unfortunately this change seems to have broken most of them.

I tried looking into how to do things the "correct" way nowadays and they seem to have completely changed their app platform since the last time I looked. They've completely locked out the old method for requesting API access in favor of whatever this Devvit thing is: https://developers.reddit.com/docs/

If you want just plain old data access you have to submit a help ticket, which as far as I can tell just goes completely ignored if it doesn't get rejected outright by some automation.

Re:Google Flight Simulator on Monday June 15, 2026 @10:18AM (#48541685)
I'm pretty surprised they brought something fun and charming forward instead of sending it to the graveyard.
Re:Cats Lock – keyboard lock for cat people on Tuesday May 19, 2026 @09:53AM (#48193343)
The App Store description is more helpful: https://apps.apple.com/us/app/cats-lock/id6763495406
> How do you travel and see the world like that?

Wait until we're old enough to retire and then can maybe afford it.

Very fun! My family is a big fan of the Chronology card game (https://buffalogames.com/chronology/), hopefully this helps me win next next time :)
> Not a popular election where people vote to put new people in charge, which necessarily means removing the old people in charge.

More than a year after they took office and in the middle of a war?

It does appear to potentially be possible: https://github.com/pandas-dev/pandas/pull/64585
Re:Providing ChatGPT to the entire U.S. federal workforce on Wednesday August 06, 2025 @02:21PM (#44815703)
> I can think of many ways to generate more bullshit and emails

Like Elon's weekly 5 bullet summary of what you did this past week :)

Re:Dict Unpacking in Python on Friday July 11, 2025 @08:27PM (#44538181)
The author also has an accompanying video: https://youtu.be/eqiM0xRmFJg
Re:PEP 779: Free-threaded Python is officially supported on Thursday July 10, 2025 @11:22AM (#44522032)
You can read the details in PEP 703: https://peps.python.org/pep-0703/
Easy! Just give me a laptop with spyware on it :)
Re:uv downloads overtake Poetry for Wagtail users on Tuesday March 18, 2025 @11:09AM (#43400376)
tox-uv has been a great selling point for my personal use of uv. I'm typically testing across 4-5 different versions of Python and the build speedup has been significant.
Re:.aq on Thursday May 16, 2024 @03:11PM (#40381972)
For now!
> but you're technically not supposed to use instrument navigation until your certified to do so

What do you mean by this? Not having an IFR rating does not mean you're not allowed to use the navigation aids or the plane's autopilot.

Re:Python Project-Local Virtualenv Management Redux on Thursday April 04, 2024 @04:30PM (#39935445)
Poetry does no management of Python versions.
It's from their 2022 WWDC presentation: https://youtu.be/q5D55G7Ejs8?t=2271
Re:There's No Good Reason to Buy a Carbon Bike on Monday January 29, 2024 @03:51PM (#39182391)
> Weight savings alone are a “Good Reason”.

They're not always lighter either :)

Re:Python types have an expectations problem on Monday January 29, 2024 @12:21PM (#39179054)
Yes, sorry, I forgot about that. It's been a while :)
Re:Python types have an expectations problem on Monday January 29, 2024 @12:09PM (#39178849)
Running mypy as a pre-commit hook is a bad idea for many reasons, primarily being a relatively really heavy runtime cost, plus you're running it on the entire codebase since it's going to follow your imports.

Many people, including myself, also like making atomic commits that may not be fully typed yet. Conditioning people to skip the hook(s), doubly so during a gradual typing rollout, just conditions them to skip them always. Leave it in CI where it's checked at a point in time where it actually matters.

Re:Python types have an expectations problem on Monday January 29, 2024 @11:56AM (#39178641)
> you gradually add more and more files to the `mypy` invocation until you're eventually (hopefully) adding entire subfolders, and then maybe eventually the entire codebase

Rather than doing this, which does indeed seem like a headache, it may make more sense to skip import following at the very beginning until your core is typed so you can still enforce typing on the leaf nodes moving forward.

> Eventually you get to `#type: ignore` or `Any`s being thrown around to sidestep the CI pipeline, and your typing story has collapsed again

While there are some cases where this is truly the best option, ultimately you get to the point where you just don't allow this, otherwise what's the point of all the effort?

> and for people on the team not passionate about typing, they never worried about it <...> Asking the entire team to become Python typing gurus to sort out these issues was a non-starter.

The faster the core can be typed (and typed correctly), the easier it becomes for those who are less passionate. Presumably someone has done the calculus to determine that this effort is worthwhile, so while the team doesn't necessarily all have to reach guru level, they need to be convinced to continue the work. Removing barriers is huge for this, since as you've noticed once it starts being easy to ignore it's really challenging to stop ignoring.

Re:Python types have an expectations problem on Monday January 29, 2024 @11:19AM (#39178084)
For context, if others aren't familiar: type hinting generics were added to Python 3.9 by PEP 585 (also available in Python 3.7+ with the annotations future import). PEP 484 previously added type hints to Python 3.5 as explicit imports from the stdlib's typing module.

https://peps.python.org/pep-0585/ https://peps.python.org/pep-0484/

Re:The Case of Nuclear Cargo Ships on Sunday January 21, 2024 @02:01PM (#39081643)
In an ideal world, maybe so. But we haven't managed to clear the hurdle for ground-based power production so upping the ante to something that can sink would be even more challenging.
Re:Ask HN: What would you do if you could start over? on Wednesday January 17, 2024 @02:39PM (#39032373)
10 years isn't long enough, but with the "starting over" theme my biggest change would be to not take on the debt loan that I did; I'm fortunate that I've been able to support the payments and still live comfortably but it (among other decisions) has made it difficult to invest in things like a family and housing.

Education wise I likely would not have done grad school right away, at the time a 5th year masters was appealing but the shiny paper didn't really end up doing anything for my career. I enjoyed the work but I would rather have had an employer pay for it. On the flip side a PhD would appealing since I do enjoy the research process, and there are some areas in the aerospace field I would love to explore more deeply. I would likely do CS instead of AE/ME, I originally picked this field because I love aviation, but career wise I've found myself enjoying CS work much more.

I would more strongly consider ROTC; I rejections from military academies and decided to go to the university route instead (aviation generally requires a degree). I still greatly enjoy aviation but I'm not in a place financially to pursue it.

Re:Judge blocks JetBlue from acquiring Spirit Airlines on Wednesday January 17, 2024 @12:02PM (#39030358)
> Instead when the company is liquidated they can buy the airport slots they so direly need without all the extra debt -and- they get to pick through anything else they want like airframes

I'm not familiar with how the process works, would JetBlue now have to compete with larger airlines for these assets if Spirit goes under?

Re:Venice's Secret Service on Tuesday January 16, 2024 @10:17AM (#39014175)
She was also on an episode of SpyCast last summer, a really interesting story!

https://thecyberwire.com/podcasts/spycast/592/notes

Older »