HNHacker News
TopNewBestAskShowJobs

Figs

1,335 karma · joined February 18, 2008

submissionscomments
Figs··on Python Steering Council unanimously accepts "PEP 810, Explicit lazy imports"
Depends if your code has horrors like this lurking in it:

m = importlib.import_module(requests.get("http://localhost:8000/package_name").content.strip().decode("ASCII"))

Figs··on Show HN: Strange Attractors
The demo makes some nice spirals on the ends. They look like galaxies with the rendering.

It reminded me of one of my (cranky) musings from back in college about galaxy formation and whether they were more like tossed pizzas (i.e. spreading out) than like whirlpools getting sucked in.

Figs··on Ground stop at JFK due to staffing
If this continues for much longer, local/state governments can, should, and eventually will commandeer the taxes that currently go to the federal government. There is no point in paying federal tax if the federal government is no longer functional. States are already trying to step up with emergency declarations to enable financial support to work around SNAP being unfunded; passing state laws to redirect useless federal taxes to fund state food programs in order to prevent the alternative of immediate violent revolution as millions of people go hungry is an obvious course of action when they exhaust that capacity...
Figs··on Tell HN: Azure outage
CloudFlare != CloudFront
Figs··on Tor browser removing various Firefox AI features
Something weird I've noticed in Firefox lately -- and been wondering if it's related to these sorts of features -- is that if I leave Firefox open for a relatively long time (e.g. a few hours) NoScript will show whatever my search engine is set to as a script injection on all pages (with a "sidebar?" note). This happens even if I do not interact with the browser during that time. If I restart Firefox, then it goes away (until a long period of time elapses again).

Anyone have insight on why that's happening?

Figs··on How America got hooked on ultraprocessed foods
Celery powder / extract / etc. are nitrites.
Figs··on Matrices can be your friends (2002)
In computer graphics, 4x4 matrices let you do a rotation and a translation together (among other things). There's the 3x3 rotation block you found later as well as a translation vector embedded in it. Multiplying a sequence of 4x4 matrices together accumulates the rotations and translations appropriately as if they were just a bunch of function applications. i.e. rotate(translate(point)) is just rotation_matrix * translation_matrix * point_vector if you construct your matrices properly. Multiplying a 4x4 matrix with another 4x4 matrix yields a 4x4 matrix result, which means that you can store an arbitrary chain of rotations and translations accumulated together into a single matrix...
Figs··on Microsoft is plugging more holes that let you use Windows 11 without MS account
Linux Mint is a very nice, easy to use distro for people who are sick of this shit and want to try getting off Windows...
Figs··on A Millennial's DVD Collection: I'm Returning to Physical Discs – NN/G
AACS. Blu-Ray DRM sucks and the discs don't play half the time.
Figs··on Many hard LeetCode problems are easy constraint problems
> SMEGMA companies

Microsoft, Google, Meta, Amazon, I'm guessing... but, what are the other two?

Figs··on YouTube views are down (don't panic)
> I'd assume most adblock users on web would disable it to continue watching.

This is not a safe assumption. Personally, I've stopped using YouTube entirely for entertainment; the level of annoyance dealing with it vs the value I get out of it is just not worth it any more. I'm doing other things with my time now instead of watching YouTube. Some of that is watching video on other platforms, and some of that is spending time on other hobbies instead.

Figs··on Novel hollow-core optical fiber transmits data faster with record low loss
I suspect it may be possible using neutrino-antineutrino annihilation if there's a good way to produce streams of both types of particles, but... physics isn't my field.
Figs··on Novel hollow-core optical fiber transmits data faster with record low loss
Someday, someone is finally going to work out how to do comms with neutrinos (which can pass directly through the Earth and come out the other side) and make so much money...
Figs··on U.S. Department of War
> The White House is yet to say how much a rebrand would cost, but US media expect a billion-dollar price tag for the overhaul of hundreds of agencies, emblems, email addresses and uniforms.

--BBC: https://www.bbc.co.uk/news/articles/cgr9r4qr0ppo

Just another way to rob the country.

Figs··on Hollow Knight: Silksong causes server chaos on Xbox, Steam, and Nintendo
Had no issues getting it on GOG: https://www.gog.com/en/game/hollow_knight_silksong
Figs··on ReMarkable Paper Pro Move
> requires a lot of hacks to not have it sync with their cloud offering if you want privacy

That killed my interest in their previous devices.

Figs··on Imgur's community was in revolt
> The site recently lost a significant income stream when Patreon rugpulled their account.

The community rallied in response to that and support poured in. Their funding needs are currently met by the community. What matters is that people actually give enough of a shit about it to pitch in. We can have nice things!

Figs··on Imgur's community was in revolt
A good alternative is catbox.moe

It fills the niche imgur originally did (i.e. no bullshit image host) but uses a community funding model instead. I'm pitching in $20 every month to keep it from turning into imgur. If you were thinking of putting something on imgur, please just put it on catbox instead and toss a couple bucks their way once in a while so we can continue to have nice things.

Figs··on What Does will-change In CSS Do?
The only time I can recall needing to use will-change is to workaround this Leaflet/WebKit issue: https://github.com/Leaflet/Leaflet/issues/8068
Figs··on Cars are so expensive that buyers need seven-year loans
Meanwhile, China is making EVs in the $5~$10K (USD) range like Lingbox, BAIC’s Arcfox, etc...
Figs··on We’re Not So Special: A new book challenges human exceptionalism
How do we know it hasn't? If some clever species of dinosaur ~100M years ago had a few thousand years of rapid progress like we've had -- before blowing themselves up... would we even be able to tell?
Figs··on FCC abandons efforts to make U.S. broadband fast and affordable
If I've learned anything from the last decade of politics, the proper solution to that nonsense is to give them the middle finger and do it anyway.
Figs··on American science to soon face its largest brain drain in history
> Aren't all the non-bankruptible tuition fees providing plenty of funding already?

No. Having worked in academia for years, most of my funding came from the NSF. Sometimes it was from the state government, or private organizations partnering with us instead. Usually the university took a 50%+ cut of the grants we got as "overhead" too...

Figs··on Assignment 5: Cars and Key Fobs (2021)
Mistakes when setting a timer.

My current microwave will complain if the door hasn't been opened recently, but my old one would just turn on if I fucked up the time entry and tried to set a timer while I already had a timer going...

Figs··on Devs say AI crawlers dominate traffic, forcing blocks on entire countries
Hmm. Instead of requiring JS on the client, why don't you add a delay on the server side (e.g. 1 second default, adjustable by server admin) for requests that don't have a session cookie? For each session keep a counter and a timestamp. Every time you get a request from a session, look up the tracked entry, increment the counter (or initialize it if not found) and update the timestamp. If the counter is greater than a configured threshold, slow-walk the response (e.g. add a delay before forwarding the request to the shielded web server -- or transfer the response back out at reduced bytes/second, etc.)

You can periodically remove tracking data for entries older than a threshold -- e.g. once a minute or so (adjustable) remove tracked entries that haven't made a request in the past minute to keep memory usage down.

That'd effectively rate limit the worst offenders with minimal impact on most well-behaved edge-case users (like me running NoScript for security) while also wasting less energy globally on unnecessary computation through the proof-of-work scheme, wouldn't it? Is there some reason I'm not thinking of that would prevent that from working?

Figs··on Kissing moons may explain why Earth's moon is so large
Eris is slightly smaller than Pluto in volume -- but more massive; it might also be worth considering in that same class.
Figs··on Mozilla site down due to "overdue hosting payments"
> Mozilla is seemingly on its way to certain bankruptcy.

Mozilla has hundreds of millions of dollars in cash and over a billion in investments according to their last financial statement -- so, no, they are not.

Figs··on Introducing a terms of use and updated privacy notice for Firefox
They are removing all the text about how they do not sell personal data as well.

My suspicion is that this is somehow related to Mozilla Anonym: https://www.anonymco.com/

If you haven't already configured "Firefox Data Collection and Use" and "Website Advertising Preferences" to not share data you should do so immediately.

Figs··on Twitch limiting uploads to 100 hours, deleting the rest starting April 19th
The competitor already exists and at least some people are already using it: PeerTube.

Run it yourself, and you can save whatever videos your community cares about for as long as you fucking feel like because YOU OWN IT. None of YouTube's asinine copyright strike bullshit to worry about -- if a company has a problem with your use of something they need to send you a real DMCA notice. None of Twitch's random policy change bullshit to worry about. No advertising. If your community actually gives a shit about the content then they will pitch in to pay for the hosting through Patreon, Open Collective, Ko-Fi, etc -- or mirror it themselves. Any streamer with a decent number of viewers will almost certainly have someone in the audience who is technically capable of running an instance if the streamer can't or doesn't want to DIY.

I get being on YouTube and Twitch -- PeerTube's discoverability sucks -- but for goodness sake, take ownership of your archives! If you make videos, that is your long tail! That is your legacy! Own it!

Figs··on Jeju Air Jet Crashes in South Korea With Over 170 Dead or Missing
Hmm. Are those situations more likely than forgetting to put the gear down? (Serious question -- I don't know the answer, and I'm curious.)
← PreviousPage 2 of 14Next →