HNHacker News
TopNewBestAskShowJobs

sco1

95 karma · joined September 4, 2019

Aerospace Engineer https://sco1.omg.lol/
submissionscomments
sco1··on Show HN: Open-Source eInk Bike Computer
Perhaps Endurain? https://codeberg.org/endurain-project/endurain
sco1··on The only known trebuchet casualty in history
They typically weren't trying to hit people with them.
sco1··on Fed's Kashkari says 'now is the time to start slowly moving' rates up
> 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...

sco1··on Eight Newly Produced MQ-9 Reaper Drones Destroyed in Iranian Strike
> 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?

sco1··on So Reddit has decided that plain HTML is unsafe
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.

sco1··on Google Flight Simulator
I'm pretty surprised they brought something fun and charming forward instead of sending it to the graveyard.
sco1··on Cats Lock – keyboard lock for cat people
The App Store description is more helpful: https://apps.apple.com/us/app/cats-lock/id6763495406
sco1··on I Spent My Sabbatical Building a Power Meter for Sledgehammers
> How do you travel and see the world like that?

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

sco1··on Show HN: Built a daily game where you sort historical events chronologically
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 :)
sco1··on F-15E jet shot down over Iran
> 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?

sco1··on OVH forgot they donated documentation hosting to Pandas
It does appear to potentially be possible: https://github.com/pandas-dev/pandas/pull/64585
sco1··on I am directing the Department of War to designate Anthropic a supply-chain risk
There is already genai.mil: https://www.war.gov/News/Releases/Release/Article/4354916/
sco1··on Providing ChatGPT to the U.S. federal workforce
> 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 :)

sco1··on Dict Unpacking in Python
The author also has an accompanying video: https://youtu.be/eqiM0xRmFJg
sco1··on PEP 779: Free-threaded Python is officially supported
You can read the details in PEP 703: https://peps.python.org/pep-0703/
sco1··on Uber raises in-office requirement to 3 days, claws back remote workers
Easy! Just give me a laptop with spyware on it :)
sco1··on uv downloads overtake Poetry for Wagtail users
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.
sco1··on .aq
For now!
sco1··on Ontario family doctor says new AI notetaking saved her job
> 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.

sco1··on Python Project-Local Virtualenv Management Redux
Poetry does no management of Python versions.
sco1··on Apple's New CarPlay Becomes Last Hope to Crack the Auto Industry
It's from their 2022 WWDC presentation: https://youtu.be/q5D55G7Ejs8?t=2271
sco1··on There's No Good Reason to Buy a Carbon Bike
> Weight savings alone are a “Good Reason”.

They're not always lighter either :)

sco1··on Python types have an expectations problem
Yes, sorry, I forgot about that. It's been a while :)
sco1··on Python types have an expectations problem
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.

sco1··on Python types have an expectations problem
> 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.

sco1··on Python types have an expectations problem
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/

sco1··on The Case for Nuclear Cargo Ships
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.
sco1··on Ask HN: What would you do if you could start over?
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.

sco1··on Judge blocks JetBlue from acquiring Spirit Airlines
> 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?

sco1··on Venice's Secret Service
She was also on an episode of SpyCast last summer, a really interesting story!

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

Page 1 of 3Next →