HNHacker News
TopNewBestAskShowJobs

Redoubts

2,848 karma · joined December 21, 2013

submissionscomments
Redoubts··on Swift is a more convenient Rust (2023)
> - The stdlib (Foundation) is not identical on all platforms even today. This has been a major thorn as releases constantly have discrepancies and subtle bugs that are hard to diagnose and track down. Even Swift 6.1 broke non UTF-8 string encodings by just returning "nil" on Linux and took until Swift 6.2 to be fixed (nearly a year).

sad, I was doing server side around v4/5 and this was the biggest issue at the time for me (lots of stuff was not implemented and you only found out at runtime). that this is still a problem is very disappointing...

Redoubts··on Astrological CPU Scheduler
> A fully functional sched_ext scheduler that makes real CPU scheduling decisions based on real-time planetary positions, zodiac signs, and astrological principles. This actually loads into the Linux kernel and schedules your system tasks. Because if the universe can influence our lives, why not our CPU scheduling too?
Redoubts··on Yes, It's Fascism
> isn't there some point where you might consider putting your finger on the scale to help stop the slide into authoritarianism? This seems like the moment, maybe?

posting isn't praxis. what do you think more articles on this site will achieve?

Redoubts··on The Dilbert Afterlife
this feels like the setup to a Dilbert strip
Redoubts··on The Dilbert Afterlife
> Scott Adams based Dilbert on his career at Pacific Bell in the 80s. Can you imagine quitting Pacific Bell in the 80s to, uh, found your own Pacific Bell?

Idk man, imagine quitting HP in the 70s to make your own HP or IBM. Inconceivable

Redoubts··on Python numbers every programmer should know
> Attribute read (obj.x) 14 ns

note that protobuf attributes are 20-50x worse than this

Redoubts··on Rob Pike goes nuclear over GenAI
> I am trying hard to remember anything famous created by any LLM.

not sure how you missed Microsoft introducing a loading screen when right-clicking on the desktop...

Redoubts··on PG&E outages in S.F. leave 130k without electricity
Perhaps that's in alignment with California government :)
Redoubts··on Why top firms fire good workers
> power imbalance inherent to the relationship between owners and laborers.

Software developers aren’t laborers, they’re the capital.

Redoubts··on Why top firms fire good workers
> It's hard to understand the mindset of "I'd rather just be powerless in the job I have because that seems easier."

Because that’s not the case? In America it is still extremely easy to find alternative lucrative work, or simply start your own business; because in software development the worker basically owns the means of production - himself. This is an extremely powerful bargaining position and it’s why SWE pays so well here.

Athletes, actors, doctors, and other professions still have to negotiate with centralized capital to some degree in a way SWE never will

Redoubts··on Being poor vs. being broke
https://upload.wikimedia.org/wikipedia/commons/8/84/Global_c...
Redoubts··on Tech workers' fight for living wages and a 32-hour workweek is a battle for all
> What makes you think there's an alternative? Generally speaking, you are locked in the tax bracket you are born into.

This comment is probably going to come off weird, because you're posting in a forum full of people who have found such an alternative.

> the profits of which bubble to the top and never trickle back down.

this is also quite wrong for many here.

Redoubts··on Python Steering Council unanimously accepts "PEP 810, Explicit lazy imports"
I think HN is translating the link somehow? It should be directing to this post: https://discuss.python.org/t/pep-810-explicit-lazy-imports/1...

"""

Dear PEP 810 authors. The Steering Council is happy to unanimously [4 votes, as Pablo cannot vote] accept “PEP 810, Explicit lazy imports”. Congratulations! We appreciate the way you were able to build on and improve the previously discussed (and rejected) attempt at lazy imports as proposed in PEP 690.

We have recommendations about some of the PEP’s details, a few suggestions for filling a couple of small gaps, and we have made decisions on the alternatives that you’ve left to the SC, all of which I’ll outline below. If you have any questions, please do reach out to the SC for clarification, either here, on the SC tracker, or in office hours.

Use lazy as the keyword. We debated many of the given alternatives (and some we came up with ourselves), and ultimately agreed with the PEP’s choice of the lazy keyword. The closest challenger was defer, but once we tried to use that in all the places where the term is visible, we ultimately didn’t think it was as good an overall fit. The same was true with all the other alternative keywords we could come up with, so… lazy it is!

What about from foo lazy import bar? Nope! We like that in both module imports and from-imports that the lazy keyword is the first thing on the line. It helps to visually recognize lazy imports of both varieties.

Leveraging a subclass of dict. We don’t see a need for this complicated alternative; please add this to the rejected ideas.

Allowing ’*’ in __lazy_modules__. We agree with the rationale for rejecting this idea; it can always be added later if needed.

One thing that the PEP does not mention is .pth files, which the site.py module processes, and which has some special handling for lines that begin with the string 'import' followed by a space or tab. It doesn’t make much sense for .pth files to support lazy imports, so we suggest that the PEP explicitly says that this special handling in .pth files will not be adapted to handle lazy imports.

There currently is no way to get the active filter mode, so please add a sys.get_lazy_imports() function. Also, do you think appending _mode to their names makes the purpose of these functions clearer? We leave that up to the PEP authors.

The PEP should be explicit about the precedence order between the different ways to set the mode, i.e. $PYTHON_LAZY_IMPORTS=<mode>, -X lazy_imports=<mode>, and sys.set_lazy_imports(). In all expectation, it will follow the same precedence order as other similar settings, but the PEP should be explicit.

We agree that the PEP should take no position on any style recommendations for sorting lazy imports. While we generally like the idea of grouping lazy imports together, let’s leave that up to the linters and auto-formatters to decide the details.

That should just about cover it. Again, thank you for your work on this, as it’s been a feature so many in the Python community have wanted for so long. Given the earlier attempts and existing workarounds, we think this strikes exactly the right balance.

-Barry, on behalf of the Python Steering Council

"""

Redoubts··on Odd Lots Podcast: How Hudson River Trading Uses AI [audio]
“”” Unfortunately, it doesn't seem as though you can get great stock picks just by going to ChatGPT and asking it to recommend some investments. And yet financial firms of all sorts — including trading firms — say they're increasingly using AI. But are the tools actually being deployed? And how do these tools differ from traditional machine learning or algorithmic approaches to trading, the likes of which have been used by quant firms for decades now. On this episode of the podcast, we speak with Iain Dunning, the head of AI research at Hudson River Trading, a major US market maker. We discuss the firm's attempts to use AI not just for more efficient trading, but also to make short-term predictions about price, which further gives its traders an edge. Dunning walks us through his work, his views on the main constraints facing the space (labor, power, chips, etc.) and how his work is both different and similar to what's happening at the major cutting edge research labs like ChatGPT. “””
Redoubts··on Valkey 9.0 now supports 1B RPS, hash field expiration, and more
super excited for relaxing the RDB constraints. If you accidentally upgraded beyond Redis 7.2, you likely can just upgrade to valkey without too much effort or any downtime

https://github.com/valkey-io/valkey/pull/2543

Redoubts··on US government shuts down after Senate fails to pass last-ditch funding plan
> what happened to male/female differences in sports

There’s no women’s league in war, so what incongruity are you pointing to here?

Redoubts··on ABC yanks Jimmy Kimmel’s show ‘indefinitely’ after threat from FCC chair
> which was the point Kimmel was making.

This is a really bad misunderstanding of what he said. It’s clear as day, and yet you’re unable to comprehend

Redoubts··on ABC yanks Jimmy Kimmel’s show ‘indefinitely’ after threat from FCC chair
> But it's up to the person to define if they are or are not "leftist"

Not really

> it's a rather narrow, small minded world view that has to define things in those terms.

Doesn’t follow. Words have meaning, and can be applied where they make sense.

Redoubts··on ABC yanks Jimmy Kimmel’s show ‘indefinitely’ after threat from FCC chair
> There are multiple statements from his relatives that his family are "MAGA", his parents are Registered Republicans.

Most leftists despise their parents politics. None of this suggests a rightward leaning of the culprit himself.

Redoubts··on Texts from Suspect in Charlie Kirk Shooting Offer Insight into a Motive
There’s an absurd yarn that the shooter was a far right groyper. Hopefully this and the indictment put that fever dream to rest
Redoubts··on People are losing jobs due to social media posts about Charlie Kirk
Why would you ask Fuentes anything?

https://www.nytimes.com/2025/09/16/us/politics/kirk-shooting...

Please reflect on your biases, because they’re clouding your judgement in a serious way

Redoubts··on Reichstag Fire Decree (1933)
No? How could you possibly come to this conclusion
Redoubts··on People are losing jobs due to social media posts about Charlie Kirk
> Just as they did before they found out that Kirk was shot by one of their own.

This turned out to be 100% false btw

Redoubts··on People are losing jobs due to social media posts about Charlie Kirk
Your mendacious take is aging worse by the hour. And it’s really funny to suggest a leftist can’t have conservative parents
Redoubts··on U.S. added 911k fewer jobs in year through March than reported earlier
This is the reason you should flag every political post here. The discussion quality isn’t getting any better than this
Redoubts··on New Mexico is first state in US to offer universal child care
The federal government has a very different relationship to states, than states do to their municipalities. This law couldn't be passed, even if "they" wanted to.
Redoubts··on South Korea will bring home 300 workers detained in Hyundai plant raid
> jail without functioning toilets.

This claim isn’t in the article. Articles that do mention the detention site mention one with a medical center and a library

Redoubts··on South Korea will bring home 300 workers detained in Hyundai plant raid
Why? they’re being subsidized to hire Americans, not exploit foreign undocumented workers
Redoubts··on Washington, DC police put under federal control, National Guard deployed
It’s more likely that users are flagging these posts because of the Reddit-tier commentary
Redoubts··on Tesla used car prices keep plumetting, dips below average used car
I keep seeing "FEDERAL EV TAX CREDIT ALREADY REFLECTED IN LISTED PRICE", so the price is already off by a few K on top of all that.
← PreviousPage 2 of 34Next →