MurphyA/hacker-news huggingface dataset:
by photochemsyn | 2025-10-03 21:25:17+00:00
Might be the optimal approach for running a slow inference model locally, and if we treat LLMs like compilers this makes sense. Overnight compilation for complex codebases is still the normal thing to do, but what if LLM code generation (about the one task it seems really good at) was run overnight the same way? That is, your workflow would be to look at what the LLM generated the previous night, make a bunch of annotations and suggestions and then at the end of the day submit everything you did to the LLM for an 'overnight generation' task?
by vlovich123 | 2025-10-03 21:25:18+00:00
> Since that gets ever-less expensive,

That kind of thinking made sense in the 90s when things followed Moore’s law. But DRAM was one of the first things to fail to keep up: https://ourworldindata.org/grapher/historical-cost-of-comput... and barely gets cheaper anymore. Thats why mobile phones still only have 16gb of memory despite having 4gib a decade ago.

And there’s all sorts of problems that Rust doesn’t necessarily make a great fit for. But Rust’s target marketplace is where you’d otherwise use a low level language like C or C++. If you can just heap allocate everything and aggressively create copies all over the place, then why would you ever use those languages in the first place.

And for what it’s worth Rust is finding a lot of success even replacing all the tooling in other language ecosystems like Ruby, Python, and JS precisely because the tools in those ecosystems written in the native language end up being horribly slow. And memory allocation and randomly deep copying arrays are the kinds of things that add up and make things slow (in addition to GC pauses, slow startups, interpreter costs etc).

And you can always choose not to do async in Rust although personally I’m a huge fan as it makes it really clear where you have sprinkled in I/O in places you shouldn’t have.
by cycomanic | 2025-10-03 21:25:21+00:00
Yes it seems like you're using i3 quite differently. I agree that if you good discipline about opening and closing windows in the right workspace/tile i3 can give you a more structured layout. I just found for myself even if I tried I could not keep the discipline up (I doesn't help that I often work on several things at the same time).

I think that's the beauty of tiling WMs (and I consider scrolling WMs a subset), you can really adjust them to suit your work flow even if work flows might be very different. In contrast stacking WMs seem to be more a lowest common denominator type thing. They work with every workflow, but suboptimal.
by aunty_helen | 2025-10-03 21:25:25+00:00
When you fix everything around gold this becomes obvious. We’ve had silent hyper inflation of the reserve currency since covid. Wages are stagnant, the price of everything has gone up, assets and gold are still the same “value”

Trillion dollar companies, 100 billion+ club becoming crowded. All points in one direction. And it’s not a bubble that will pop, the citizens of the world will revolt.
by rbanffy | 2025-10-03 21:25:43+00:00
> The post suggests sparkly marketing hooplah wrapping up meager actuality.

I don't think any of those who quoted from this story fell into the marketing hyperbole. We all know these machines are interesting engineering marvels, but far from actually useful at the moment, with the exception of a very narrow set of problems that fall within the narrow capabilities. The people who fell for it probably never heard of this story.
by al_borland | 2025-10-03 21:26:08+00:00
I don’t see why not, they can be run just like a credit card through the same network.

When a debit card prompts for a PIN, don’t enter it, press submit, and it runs as credit instead of debit, but functionally works the same as far as the card-holder is concerned. It might take slightly longer to settle, and the merchant likely gets charged higher fees, but it works just fine. When I got my first debit card 20+ years ago my bank specifically told me to select credit and using it, instead of using it with the PIN as a debit card.

These days I’ve noticed the systems tend to auto-prompt for the PIN instead of asking credit or debit. But skipping it functionally works the same as pressing credit used to.
by Grimblewald | 2025-10-03 21:26:09+00:00
I dunno, the process is normal but the issues raised are extreme. Too extreme. I'd expect things like "in edge cases X vulnerabilities start being an issue" rather than "at any point, anyone, can gain undtected full access to all our live infrastructure, equipment, and troop poaitions"

it feels like the bar for what are acceptable toothing issues is set unrealistically low here.
by chermi | 2025-10-03 21:26:32+00:00
From the wiki on Encke, "Comet Encke is believed to be the originator of several related meteor showers known as the Taurids (which are encountered as the Northern and Southern Taurids across November, and the Beta Taurids in late June and early July).[29] A shower has similarly been reported affecting Mercury". Italics mine.

I'm very surprised we don't have sufficient data to definitively pin the origin of meteor showers. There's only so many degrees of freedom. I'd guess maybe the problem is the objects in the shower are too small to detect before entry, and by the time they enter, their dynamics are too messed up by breaking apart to retrace their pre-entry trajectory? But we also have the LHC... We're pretty good at scattering reconstruction. I know it's not exactly the same, but it's surprising this isn't solved.

Edit- As an aside, for "Tunguska" sized meteors, how harmful would they be if they landed only with terminal earth velocity? I'm guessing relatively safe(1)? It seems possible we could mess with their orbits enough if we strapped rockets to them to make them approach earth at specified trajectories to land in Siberia or something and mine them. Or rail guns from the moon to redirect them? (I just watched the expanse lol). I know there's at least one startup trying to mine asteroids, but I think they want to do it in space. Maybe that makes more sense. Still, I assume they must be planning on dropping smaller mined+maybe partially refined chunks down to earth in a similar fashion.

Maybe controlling/predicting trajectories is harder than I thought though.

(1) Asked Gemini real quick and it estimates approximately 200 times weaker if Tunguska "dropped" from top of atmosphere relative to the actual blast. But I know Gemini is bad at math, so...
by mrguyorama | 2025-10-03 21:26:52+00:00
>the most advance missiles in the world

Uh, by what metric?

>has continually bombed Kiev and other parts of Ukraine

Yeah, with primarily low sophistication weapons invented by a country that has to build everything from scratch in bunkers. This is only possible because Ukraine does not have much in terms of anti-air missile systems and cannot police its airspace.

Meanwhile, Kyiv is giving back plenty of half-assed weapons systems, including multiple jury-rigged light sport aircraft that Russia was unable to keep out of their airspace.

Both combatants are basically children playing with toys right now.

>There was a period recently where the US was relying on Soyuz rockets to get into space.

At no point was the US relying on Soyuz rockets to "get to space". The entire time the US was using Soyuz to ferry astronauts to the collaborative space station we were launching unmanned payloads with multiple launch vehicles, and the military has at no point lost the ability to put payloads into orbit.

Meanwhile in Russia:

>Despite the Russian claims that the missile is on 'combat alert', since its 2022 flight test, it [Sarmat] has experienced four failed tests, the most recent on 21 September 2024.

Russia is not the Soviet Union.

In terms of their nuclear vehicles, I'd bet on enough of them working to be a deterrent, but there's lots of open questions about what percentage. Russia has been running even their Rocket Force on a remarkably small budget compared to the number of warheads they are supporting. Unless they have magical efficiency, they are likely skimping somewhere, and in a military rife with outright fraud and every step of the chain pocketing money that is supposed to be used for procurement, why should we believe the Rocket Force is free of that behavior?
by rockercoaster | 2025-10-03 21:27:15+00:00
Yep, this is all (MAGA's rapid judo-flip and complete capture of the entire Republican apparatus, that right-wing authoritarian nationalism is popular at all, the legal and bureaucratic machinery being in place to enable authoritarianism) built on stuff that's been going on since the '70s. That's when the wave of neutering antitrust and deregulating media started, and that's what got us most of four decades of persistent unchallenged lies, dehumanization campaigns, and racism blasted at the public. Nixon's roughly the start of the current movement as far as direct action (the think tanks driving it precede him by a decade or two, but hadn't had much effect before him), with the cynical "war on drugs" aimed at enflaming racial animosity and providing tools to attack political opponents, and of course his downfall and pardon were what lit a flame under a lot of right-wingers' asses to re-make reality such that their crimes wouldn't have consequences again (Reagan and some Nixon alums would soon make early use of this, and test the "if we all just keep telling obvious lies and don't break ranks... can we maybe just get away with whatever we want?" strategy, which turned out to work wonderfully)

All of what we're seeing is built on an electorate that was primed to elect Trump. The Republicans had been using them as a captured base to enable their neoliberal and imperialist policies, but they'd conditioned these folks to want Trumpism, not what they were actually delivering. The shit Trump says is largely the same shit you'd hear from Republican voters since at least the '90s, and what he does is largely shit they want done. They've been asking for e.g. authoritarian federal government crack-downs on cities since then, asking for reductions in law enforcement accountability, asking for no-due-process mass deportations, asking for pulling back from NATO, asking for a wall at the border and/or a militarized border, et c. Their media's been telling them all democratic organizations and the party itself are to-the-core rotten criminal enterprises and they believe that. They will cheer when ICE starts arresting members of congress and major democratic donors on dubious charges.
by ChuckMcM | 2025-10-03 21:28:15+00:00
If you get a chance, you should read (or listen to) Robert Caro's biography of Robert Moses[1] who built much if not most of the parks in New York. He built many of them at a time with Roosevelt was using public money to provide jobs for people thrown out of work during the Great Depression. These public works projects are often scorned by today's electorate.

But perhaps more importantly, getting insights into how the government building things gives the people who can grant contracts tremendous political leverage and power. It is remarkable to see that what he built was definitely good for New Yorkers (although as the book points out, really for rich and white New Yorkers) and the distortions they caused in the political machine caused some people serious grief from loss of property to loss of their entire livelihood.

Authoritarian systems can operate like that but it comes at a tremendous cost.

[1] https://en.wikipedia.org/wiki/The_Power_Broker
by BirAdam | 2025-10-03 21:28:44+00:00
If it were traveling through interstellar space, it would have been highly irradiated but it would also have been far from any source of heat. From what we know of it so far, it has some strange chemistry going on, but that’s somewhat expected given its estimated age. We’d also need to assume that a few billion years of interstellar radiation would do strange things we haven’t really seen before hence pointing every instrument possible at it.
by TuringTest | 2025-10-03 21:28:46+00:00
Surely the 'solving' part of CSPs may be obscure, but the basic concept can be readily explained with the metaphor of crosswords and sudoku (both are very direct instances of CSPs); there's not much obscurity to that. In fact, the article resorts to that same metaphor to explain with precision what the 'waveform' metaphor couldn't.

Of course terminology for CSPs will get confusing when you get to represent them mathematically; but that happens to anything that you turn into math. The core concept is quite familiar and intuitive.
by jcul | 2025-10-03 21:28:51+00:00
I believe most of those POS systems can operate in offline mode, in Europe at least. I have friends who work for large event organizers, and they have spoken about how if the system is offline the bars can continue to take payments, but there is a risk as a person's account may not have sufficient balance to make the charge when the system comes back online.

Most people here pay by card and I would say the vast majority use debit cards. A lot of people don't even have credit cards, unlike the US.

I'm no expert so may be wrong about some of this, and maybe huge events like these have these systems in place due to the risk of having to shut down bars etc. Many events are completely cash less these days.
by NatKarmios | 2025-10-03 21:28:52+00:00
I'm in a similar situation; I think QuickShell [1] could be a compelling option, particularly premade configs for it like DankMaterialShell [2] (which is intended for Niri).

[1] https://quickshell.org/

[2] https://github.com/AvengeMedia/DankMaterialShell
by blamebento | 2025-10-03 21:29:01+00:00
Hey everyone! I'm an indie developer launching my first app on Google Play, and I need help meeting Google's requirement of 12 closed testers for 14 days before I can go to production. What is it? Piñata is a birthday reminder app with a clean design. What I need: Just install the app and keep it for 14 days. No active testing required, though feedback is always appreciated! How to join: 1. Click this link: https://play.google.com/store/apps/details?id=com.pinata.app 2. Opt-in on the Google Play page 3. Download and install I'd really appreciate the help from the community. This is a requirement for first-time app releases, and it would mean a lot to get this over the finish line. Thanks in advance!
by eesmith | 2025-10-03 21:29:02+00:00
Ahh, so you do the find first, and keep that around before loading.

I have bad memories of using a network filesystem where my Python app's startup time was 5 or more seconds because of all the small file lookups for the import were really slow.

I fixed it by importing modules in functions, only when needed, so the time went down to less than a second. (It was even better using a zipimport, but for other reasons we didn't use that option.)

If I understand things correctly, your code would have the same several-second delay as it tries to resolve everything?
by enriquto | 2025-10-03 21:29:04+00:00
what is the point of this? you can just import inside function definitions:

def antislash(A, b): from numpy.linalg import solve return solve(A, b)

thus numpy.linalg is only imported the first time you call the antislash function. Much cleaner than a global import.

Ignore wrong traditions. Put all imports in the innermost scopes of your code!
by exmadscientist | 2025-10-03 21:30:20+00:00
I think places like these take on totally different feelings for people who actually have to live or work with them (like the author) versus people who are just passing through. They're a lot less... romantic... when they're your daily life, but that by no means makes your connections weaker. Just different, in a way that's really hard to reify. At least for me.
by foobiekr | 2025-10-03 21:31:22+00:00
PA Semi was kind of an interesting acquisition. The team was definitely very skilled, but there are always gotchas. Before the acquisition happened we were on their receiving end of their dual core PPC and it was not great at all. We had a lot of issues with board bringup, power, and heat. More errata than I've ever seen. We eventually had to went with x86 for the project instead, which was more performant and certainly a lot easier overall at the time.

I had previously encountered some of that team with the SiByte MIPS in an embedded context, I know they were highly skilled, they had tons of pedigree, but PA Semi itself was a strange beast.
by mountainriver | 2025-10-03 21:31:44+00:00
100% agree. I used to think there was some cognitive loop I could will my way out of. Then I did Keto and all the sudden it was gone.

Keto does a lot to the neurotransmitters in the brain and it clearly balances out things for me and I feel no social anxiety at all.

I’m sure cognitive tricks work for some people. They mostly had the opposite effect on me in the long term. I would encourage people to not buy into it too much
by WhyNotHugo | 2025-10-03 21:31:46+00:00
> I know I can't have it on macos. I also can't switch to Linux since macos is mandated by my employer.

I’ve had two employers with dumb rules like this and I just worked on a Linux VM running fullscreen on all monitors. It was technically macOS, so IT didn’t have any issues, and it still ran all the security stuff that my employer wanted. At one job, my manager even provisioned a VMWare license for this.
by zahlman | 2025-10-03 21:31:48+00:00
No, changing this breaks the world. A huge fraction of PyPI becomes completely invalid overnight, and the rest fails the expected version checks. Not to mention that the language is fundamentally designed around the expectation that modules are singleton. I've written about this at length before but I can't easily find it right now (I have way too many bookmarks and not nearly enough idea how to organize them).

Yes, you absolutely can create a language that has syntax otherwise identical to Python (or at least damn close) which implements a feature like this. No, you cannot just replace Python with it. If the Python ecosystem just accepted that clearly better things were clearly better, and started using them promptly, we wouldn't have https://pypi.org/project/six/ making it onto https://pypistats.org/top (see also https://sethmlarson.dev/winning-a-bet-about-six-the-python-2...).
by hagbard_c | 2025-10-03 21:32:28+00:00
Indeed, not comprehensive:

- Mao Zedong's Great Leap Forward 35M-45M

- Mao Zedong's Great Proletarian Cultural Revolution - 3M-10M

- Joseph Stalin's collectivisation 5M-7M

- Joseph Stalin's Holodomor 5M+

- Joseph Stalin's Goloshchekin genocide (Kazakhstan) - 1.3M-1.75M

- Pol Pot's Khmer Rouge - 1.3M-3M

- Islamic (Mughal) invasion(s) of India - 100M+

- Mongol conquests - 30M+

There are of course many more. Did you use Wikipedia to get that list?
by diarrhea | 2025-10-03 21:32:53+00:00
A DB action and audit emission have to run transactionally anyway.

So on cancellation, the transaction times out and nothing is written. Bad but safe.

The problem is the same on other platforms. For example, what if writing to the DB throws an exception if you’re on Python? Your app just dies, the transaction times out. Unfortunate but safe.

If it does not run transactionally you have a problem in any execution scenario.
by cycomanic | 2025-10-03 21:33:05+00:00
What do you mean by un-paged? I just looked at dwm and I don't see that it has anything that other tiling wms don't have. Xmonad, i3, sway... all have workspaces/tags.

Niri also has named workspaces, but when I switched to niri, I realised I only want named workspaces for very few things everything else is just temporary.
by gorgoiler | 2025-10-03 21:33:39+00:00
I don’t really agree with the premise:

> The dominant convention in Python code is to place all imports at the beginning of the file. This avoids repetition, makes import dependencies clear and minimizes runtime overhead.

> A somewhat common way to delay imports is to move the imports into functions, but this practice requires more work [and] obfuscates the full set of dependencies for a module.

The first part is just saying the traditions exist because the traditions have always existed. Traditions are allowed to change!

The second part is basically saying if you do your own logic-based lazy imports (inline imports in functions) then you’re going against the traditions. Again, traditions are allowed to change!

The point about the import graph being obfuscated would ring more true if Python didn’t already provide lightning fast static analysis tools like ast. If you care about import graphs at the module level then you’re probably already automating everything with ast anyway, at which point you just walk the whole tree looking for imports rather than the top level.

So, really, the whole argument for a new lazy keyword (instead of inlining giant imports where they are needed) is because people like to see import pytorch at the top of the file, and baulk at seeing it — and will refuse to even look for it! — anywhere else? Hmmm.

What does seem like a pain in the ass is having to do this kind of repetitive crap (which they mention in their intro):

def f1(): import pytorch … def f2(): import pytorch … def f3(): import pytorch …

But perhaps the solution is a pattern where you put all your stuff like that in your own module and it’s that module which is lazy loaded instead?
by Fade_Dance | 2025-10-03 21:33:44+00:00
>It was not even supposed to happen because the prices went back up

The vast majority of the constituents of the DotCom bubble went entirely extinct and their stock prices went to zero. You are looking through a lens of survivorship bias.

I'm guessing you are referencing the price of market cap weighted index funds when you say "prices went back up", which is just one aspect of the DotCom bubble. The primary event was the prices of most of the hyped companies going to zero and the investors losing everything.

The number prints from market cap weighted indexes are somewhat arbitrary calculations that doesn't necessarily reflect the underlying market behavior.

>The dot com bubble was aberration.

It was a fairly typical bull mania, seen many times in history, and seen since as well (DotCom 2.0 was the 2020-era cycle with ten billion dollar Peloton, ten billion dollar space tourism companies, companies like Nikola with literally no product hitting 30 billion, etc, but don't take my word for it, look at the chart of the two events: https://static.seekingalpha.com/uploads/2024/10/9/48422113-1...)

>the bubble should not have burst

Bubbles are often based on a reality of future growth, which is what draws people in. The fact that Amazon was eventually worth obscene amounts of money doesn't negate the fact that hundreds of listed companies went to zero. That is the DotCom bust. The bust of a huge swathe of real companies in the real economy, and their listed stock prices going to zero.

Passive ETF domination is more of a recent phenomenon anyway. The world was much more actively managed and stock picking/mutual fund oriented until the last decade or two. Funds like Janus getting decimated with 330 billion AUM in year 2000 money was the catastrophe in the fund space. Index tracker funds like QQQ were secondary to that when it came to DotCom.
by 1oooqooq | 2025-10-03 21:33:48+00:00
that's the excuse.

it's really visa lobbying to destroy the (somehow worse than visa) easy credit new players. they give credit like candy because being online and low value only it's easier to avoid (or swallow) fraud.

forcing their hand to accept offline sales mean they can't decide on the spot, and now those 5k credit lines which they only allow transactions for sub 100 purchases at a time will be wide open for offline fraud they can't detect, and which visa already know how to handle/sustain.

this will probably be lobbied elsewhere soon. i predict Netherlands is next.