MurphyA/hacker-news huggingface dataset:
by Scene_Cast2 | 2025-07-22 18:35:42+00:00
I have a pretty custom GPU cooling setup on a few machines (I run ML workloads locally and I want stuff to be quiet).

Couple of gotchas that I ran across. I found that on Linux, desktop PC fan control support is pretty abysmal. The sensor library that everyone relies on, lm_sensors, is semi-abandoned and didn't recognize sensors on my relatively popular, 7 year old ATX motherboard and GPU. It also requires having Perl installed.

About GPU cooling in particular - modern NVidia cards in particular seem to have a built-in minimum of 30% fan speed when controlling them manually. The connectors are also a different, smaller connector (perhaps a JST PH?).
by harpiaharpyja | 2025-07-22 18:35:48+00:00
Ehh, I think the real footgun here is using a property with backing storage to store what is clearly a derived value. Using a computed property is what we really should be doing here, if we think our code should line up with our intentions.

I feel like what's happened here is that the author actually needed a system to cache their derived values, but didn't think to build that out explicitly.
by legitster | 2025-07-22 18:35:54+00:00
I don't think the problem here was a lack of warnings. This was an engineering/design oversight.

These lampposts looked incredibly solid. They are heavy, thick concrete pillars. Any reasonable adult would look at one and think "yeah, a grown adult shouldn't be able to pull one of these over".

The fact that the thing weighed as much as it did and two kids were able to pull it down on themselves is kind of absurd.
by jakubmazanec | 2025-07-22 18:35:55+00:00
GIFs don't scale well (including 2x version is not enough); with CSS (and SVG) you get crisp graphics at any scale. And of course you can use asset SVG files that are cached [1].

[1] https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/E...
by _bahd | 2025-07-22 18:36:12+00:00
Ha - thanks for answering this and clearing it up! Like I said, apologies if I was wrong. I think my AI slop paranoia had kicked in!

No, honestly the comment was more than legitimate, I guess the author part made me think of LLMs summarizing research papers.

Well, at least I've discovered unlurker out of this :)
by d-moon | 2025-07-22 18:37:21+00:00
I'm just waiting to see how they monetize their userbase. Last time I checked they made $1/user a year(~20m active users/ 20m revenue). It's predominately a whale market where traffic is driven by power users. You have mobile gacha games like Genshin Impact that make ~$10/user a MONTH (~5m active users/ 50m in monthly revenue)...
by mananaysiempre | 2025-07-22 18:37:23+00:00
Somewhat incidentally, is there an actual description of how a low-tech QR code reader would work? I’ve looked for this a few years ago and all solutions I could find were of two flavours: (1) use ZXing (“Zebra Crossing”, a now-unmaintained library[1] for every 1D and 2D barcode under the sun); (2) use OpenCV. Nowhere could I find any discussion of how one would actually deal with the image-processing part by hand. And yet QR codes are 1994 tech, so they should hardly require fancy computer-vision stuff to process.

[1] https://github.com/zxing/zxing
by wredcoll | 2025-07-22 18:37:37+00:00
I've heard similar opinions before and considered them plausible in the past, mostly based on this idea that there were people who "invented" in multiple disciplines in a way that seems impossible today.

However, now I wonder if that might be more an effect of the increasing level of communication among humans in general at the time, printing presses, steamships, postal organizations, newsletters, etc, all combined to cause ideas to spread much more widely and more quickly than they did in the past. Perhaps its more a function of being the first (or most popular) person to synthesize certain ideas based on being at the intersection of spreading knowledge.
by MattSayar | 2025-07-22 18:37:37+00:00
Steve Yegge just did the same thing [0]:

> I did give [an LLM agent] access to my Google Cloud production instances and systems. And it promptly wiped a production database password and locked my network.

He got it all fixed, but the takeaway is you can't YOLO everything:

> In this case, I should have asked it to write out a detailed plan for how it was going to solve the problem, then reviewed the plan and discussed it with the AI before giving it the keys.

That's true of any kind of production deployment.

[0] https://x.com/Steve_Yegge/status/1946360175339974807
by snickerdoodle12 | 2025-07-22 18:37:57+00:00
> Besides, if it really bothered you, then we might not see this weird tone-switch from one sentence to the next, where you seem to think that piracy is shocking and "something should be done" and then "it's not good tht someone should spend time in jail for it". What gives?

What a weirdly condescending way to interpret my post. My point boils down to: Either prosecute copyright infringement or don't. The current status quo of individuals getting their lives ruined while companies get to make billions is disgusting.
by Spartan-S63 | 2025-07-22 18:38:33+00:00
I'm extremely skeptical of this take. LLMs today aren't good at keeping significant context (even with large context windows) in such a way that doesn't lead to a spaghetti mess of code.

We're in a precarious spot where code is cheap to generate thanks to LLMs, but it's hard to build Good Software™ with only generated code. It's a pit of despair, of sorts.

If we can get LLMs to a place where that's no longer true, then writing code going away may be the new base case, but there's no guarantee we can extend LLMs that far.
by xp84 | 2025-07-22 18:38:38+00:00
I disagree. The height of a DOM element is much more expensive to recompute as this article shows than a single element which gets frames swapped out with static images. The latter can be guaranteed to never impact any other part of the document. The end result of either is that the pixels in the animated area need to be recomputed, and end result which will be the same for both, but a GIF will have no further impact on anything else whereas resizing DOM elements has side effects that have to be constantly updated and checked for which scale with the number of sprites you're animating (unlike the GIF bitmap which is gonna be 'flat rate').

Likewise, for a tiny animation, having the frames of the GIF in memory and blitting them onto the screen in sequence sounds like orders of magnitude less CPU/GPU than performing all the ridiculous math-based transforms over and over again.

The Tumblr example is not instructive here because those were frequently many many frames, very colorful (often photos), and/or large in dimensions, taking up a ton of memory which was probably the main problem causing our browsers to choke. This would be none of those things.
by lillecarl | 2025-07-22 18:38:46+00:00
If you want to experience another personality and/or view on things the better thing is Ketamine. Don't fuck with your sleep for some burnt out euphoria experience.

Always respect your sleep, it's the only thing keeping you from cooking your brain at 30. Anecdotal but my mate's mom got Alzheimers when shes like 55, an overworked overstressed, never sleeping woman.
by heraldgeezer | 2025-07-22 18:38:46+00:00
With native vertical tabs, Firefox is now perfect for me. I use it on PC and phone with Ublock Origin and some others. Not slow for me and actually feels like it handles many tabs better than Chrome or Edge.

I have tried Vivaldi also, but the UI was too slow still, even though it's very nice and custom. Brave is too weird with all the crypto stuff. So FF it is for the foreseeable future.
by moritzwarhier | 2025-07-22 18:38:56+00:00
It's really simple. Don't animate layout, especially if your DOM is huge.

If your element floats absolutely positioned outside the layout flow, animating height would not be a problem.

And if the browser facilities for animating height/max-height, especially to/from auto, get better, it surely will become more common.

Right now, I wouldn't call it common. It's a common requirement, but only until you start to consider layout.

Fwiw, animating margin and padding is possible and has the capability to cause the same amount of jank as animating height.
by godelski | 2025-07-22 18:39:08+00:00
Is Chrome being cached?

This is actually not a good test because there are a lot of tricky and subtle things that can make the comparison highly unfair. Smartphones will cache apps so that they don't fully close. Then, if you do actually force kill them they will start up in the background.

Are we surprised a Google phone caches the Google browser which is considered to be a high priority app, commonly used, and even the backbone of other apps?
by TheOtherHobbes | 2025-07-22 18:39:21+00:00
The problem isn't the PERFECT ARGUMENT, it's the argument that doesn't look like an argument at all.

Take anti-vaxxers. If you try to argue with the science, you've already lost, because anti-vaxxers have been propagandised into believing they're protecting their kids.

How? By being told that vaccinations are promoted by people who are trying to harm their kids and exploit the public for cash.

And who tells them? People like them. Not scientists. Not those smart people who look down on you for being stupid.

No, it's influencers who are just like them, part of the same tribe. Someone you could socialise with. Someone like you.

Someone who only has your best interests at heart.

And that's how it works. That's why the anti-vax and climate denial campaigns run huge bot farms with vast social media holdings which insert, amplify, and reinforce the "These people are evil and not like us and want to make you poor and harm your kids" messaging, combined with "But believe this and you will keep your kids safe".

Far-right messaging doesn't argue rationally at all. It's deliberate and cynically calculated to trigger fear, disgust, outrage, and protectiveness.

Consider how many far-right hot button topics centre on protecting kids from "weird, different, not like us" people - foreigners, intellectuals, scientists, unorthodox creatives and entertainers, people with unusual sexualities, outgroup politicians. And so on.

So when someone tries to argue with it rationally, they get nowhere. The "argument" is over before it starts.

It's not even about rhetoric or cleverness - both of which are overrated. It's about emotional conditioning using emotional triggers, tribal framing, and simple moral narratives, embedded with constant repetition and aggressive reinforcement.
by Arnavion | 2025-07-22 18:39:42+00:00
Just an idea. In my SwayWM setup, a) I run every application in its own cgroup (via systemd-run), and b) I have a daemon that subscribes to window and workspace events, gets the current tree, figures out the PIDs corresponding to invisible vs visible windows, figures out the cgroups corresponding to those PIDs, and then uses cgroup freezer file to freeze / unfreeze them. Other than a few hard-coded exceptions that I want to run while invisible (IRC client etc), any invisible application is transparently frozen and unfrozen.

For "single-instance applications" like firefox, launching a new firefox while the existing one is frozen will hang, so instead of launching /usr/bin/firefox directory I have an intermediate ~/.local/bin/firefox script that unfreezes the firefox cgroup and then exec's /usr/bin/firefox.

Of course if at least one FF window is visible then this doesn't help with your problem, since the cgroup as a whole will be unfrozen. It only helps if none of the FF windows are visible.
by yorwba | 2025-07-22 18:39:55+00:00
> These techniques work spectacularly well for two reasons

Do they work spectacularly well, though? E.g. the article you link shows that Twitter accounts holding anti-Ukrainian views received 49 reposts less on average during a 2-hour internet outage in Russia. Even granting that all those reposts were part of an organized campaign (its hardly surprising that people reposting anti-Ukrainian content are primarily to be found in Russia) and that 49 reposts massively boosted the visibility of this content, its effect is still upper bounded by the effect of propaganda exposure on people's opinions, which is generally low. https://www.persuasion.community/p/propaganda-almost-never-w...
by ronsor | 2025-07-22 18:40:35+00:00
This strawman is so terrible it's hard to figure out where to start.

> we stole all the documents stored on Google's private servers and all their proprietary code, research, and everything they've built

This would mostly be covered by trade secret law—not copyright. In the interest of continuing, I will, however, pretend that none of that is considered trade secrets.

> used it to create a new company called Poogle that competes directly with them.

Yes, you can create stuff based on documentation. You can copy something one-for-one in functionality as long as the implementation is different.

> we claim the theft of their data is "fair use" because we changed the name of the company

Yes, avoiding trademark infringement is important.

> rewrote their code in another language.

This is probably fine as long as the new code isn't substantially similar (i.e., a mechanical translation of) the old code.
by labrador | 2025-07-22 18:41:20+00:00
Many channels I follow, such as Vlad Vexler, have taken measures so you can't download the transcript with yt-dlp. Furthermore, they don't provide a transcipt option on their videos. I assume this is to prevent people from just reading AI summaries, which is annoying in Vexler's case because he talks slowly and meanders around. If I really want to hear his point but don't want to listen to that then I download the video with yt-dlp and use Whisper to transcribe it.
by godelski | 2025-07-22 18:41:20+00:00
I browse with Orion (for ad blocking) but still have Firefox installed because I can click Share -> Firefox -> Send Tab. Maybe I stumble upon a video I want to watch but not now. Maybe I stumble upon a long form article or reference or something that just is shitty on a mobile interface and I push it to the computer I'm literally sitting next to while having my phone in hand too.
by pclowes | 2025-07-22 18:41:21+00:00
I am confused by this, isn't Bisect just some git ergonomics with respect to flagging a checked out commit as a success failure and then checking out the next midway commit depending of if it was a success/failure to enable classic binary search?

It might be slightly more tedious but couldn't you just do the same thing manually and it would add just a couple minutes to the search and you would still save weeks? I like the ergonomics but only use it once every couple years.
by xp84 | 2025-07-22 18:41:27+00:00
Yes! And the electron app 90% of the time can't work offline anyway (or often would be useless even if it tried). So it's just an extra 2 gigs of space wasted on my SSD for another copy of Chromium, instead of having the website be an "App" installed in Chrome or Edge and granted notification (etc) permission.

In my opinion, most things shouldn't bother to make an "app," and certainly shouldn't try to push their apps on me, unless they want to make an actual native app for their target platforms.
by OJFord | 2025-07-22 18:41:36+00:00
It's just the US-skew I think, Americans (cold war hangover perhaps?) seem to me to make much more of 'capitalism' as a concept that is common for people to have a binary opinion on; if you've noticed a recent change I'd suggest it's reaction against the current Trump presidency, making perhaps left/Democrat-leaning 'anti-capitalist' views more vocal.

Just how it seems to me from the UK/Europe, obviously capitalist countries and actual socialism certainly a minority stance, but it's just not such a big deal at all. I don't even think they really mean 'capitalist' though, it's more like what would be framed here as 'tax mega corps more' or 'no more non-doms' or calls to block anti-competitive mergers. A debate baselined at the extreme of capitalism perhaps, whether there should be any controls at all, or everything left to the free market.
by PaulHoule | 2025-07-22 18:42:00+00:00
This is why people should be careful what they upvote. Look at /new and you'll see people are really "flooding the zone" with bad posts about AI, often self-serving posts. Flag is a little harsh for all but the worse abuses, but since there is not a downvote button it is an act of resistance to look at /new as often as you can and upvote a few articles about non-AI topics that aren't complete trash.
by CalChris | 2025-07-22 18:42:13+00:00
> You can't use it for a terminal of course

That is the problem, though. I edit with neovim inside of wezterm. The few times I've seen proportional used for code, I've thought that it looked interesting but realistically, I live in a vt100 universe and all things considered, it's really not that bad.

I'm interested in Atkinson Hyperlegible Mono as a programming font. I think monospaced is a defining characteristic of programming fonts. Basically, legibility is just different for programming and text (although I clearly read too much Verdana).
by Hikikomori | 2025-07-22 18:42:22+00:00
Who has the right to exist in that area? The people that already lived there and their offspring, who are now refugees in Gaza. People do have the right to form their own states, but on land they already own legally and ethically, not when you colonize land already occupied by others.

I did not call for the end of Israel as a project, I do disagree with it's creation, considering how it turned out, especially since it was more or less the intention of Zionism as stated by it's founders.

I don't know how to solve it. But I do know that Israels actions since it was founded has worked against any kind of solution that is not a takeover of the area and the creation of their ethnostate.
by wredcoll | 2025-07-22 18:42:33+00:00
Why, exactly, do you want to throw a hail mary? Are we about to fall off a cliff? Is there some kind of apocalypse waiting to destroy us if we don't do something drastic? Have we run out of other options?

The point I'm trying to make is that the federal government is not some kind of faceless opaque entity that can be treated as a foe to be defeated. It's a big ol' complicated conglomeration of thousands of groups made of of millions of people. Yes, that is hard to wrap your head around at once, but the information is out there. It's all public, you don't need to sneak around or bribe people or whatever, you can just look up who does what, when, why and for how much.

But actually doing that is hard work.
by rckt | 2025-07-22 18:42:38+00:00
It's debatable in every aspect. Internet - is partly public, so it's not something they couldn't expect - that somebody will try to read their articles avoiding the paywall. I personally support on a monthly basis the media that I definitely want to exist. The others... well, they also probably have their audience. I don;t know the economy of the whole thing, but probably in the end everyone gets their audience/support group.
by zahlman | 2025-07-22 18:43:06+00:00
This is addressed in detail the relevant ecosystem-wide standard: https://peps.python.org/pep-0723/#why-not-infer-the-requirem...

My own take:

PEP 723 had a deliberate goal of not making extra work for core devs, and not requiring tools to parse Python code. Note that if you put inline comments on the import lines, that wouldn't affect core devs, but would still complicate matters for tools. Python's import statement is just another statement that occurs at runtime and can appear anywhere in the code.

Besides that, trying to associate version numbers with the imported module is a complete non-starter. Version numbers belong to the distributions[1], which may define zero or more top-level packages. The distribution name may be completely independent from the names of what is imported, and need not even be a valid identifier (there is a standard normalization process, but that still allows your distribution's name to start with a digit, for example).

[1]: You say "packages", but I'm trying to avoid the unfortunate overloading the term. PyPA recommends (https://packaging.python.org/en/latest/discussions/distribut...) "distribution package" for what you download from PyPI, and "import package" for what you import in the code; I think this is a bit unwieldy.
by com2kid | 2025-07-22 18:43:09+00:00
This is already the business model for chargers in other countries. Heck long haul truck stops have used this model for decades.

Figure that super chargers are mostly for people on road trips who have just driven 3+ hours, this makes perfect sense. The only strange part is that is hasn't been tried earlier, though I imagine a certain critical mass is needed for it to be viable.

(A good friend of mine runs a successful startup in another country following a similar business model)
by bigbadfeline | 2025-07-22 18:43:15+00:00
I'm not concerned with bla-bla natives outside of them being sicced on each other like Pavlovian dogs. The history in general doesn't mater, life matters the most and that necessarily brings death into utmost scrutiny.

I clearly sense that you cannot relate to issues of life and death, which puts your non-botness into serious question. Besides, I've never argued about who is doing the siccing, you're simply following your old context which happens to be wrong.
by wmeredith | 2025-07-22 18:43:44+00:00
> The front door is poisoned right now

This is so true. Automation and LLMs have made trying to hire right now a total shitshow and getting hired is even worse due to the above factors + the unstable economic climate. Referrals are 10x more important than they have ever been, and they were already pretty important. It's always been mostly about who you know. Now it is even more so.

*Anecdotal Data*

I (18 YOE) just went through a 14 month job search after being laid off in 2024. I applied for 176 roles. Of those, I estimate 60% were a great fit, 40% were good and the rest were throwing stuff at the wall. I got 6 interviews, 6 follow ups, 2 completions of the entire interview process, and 1 job offer which I took and is thankfully amazing.

All interviews landed, excepting one, I had referrals for. The cliff to get the interview is the steepest it's ever been. Past that stage things seem to be about the same.
by MITSardine | 2025-07-22 18:44:02+00:00
The app taking "only" 6% of a $3k laptop's CPU to show two lines of text and a little 2D animation also gave me pause, but maybe this is just how it is. Still I wonder how people were squeezing pacman out of prehistoric machines, and we're using an 80's supercomputer worth of CPU power (not that far given they were in the ~ 1 GFLOP range) to animate three green bars today.
by efreak | 2025-07-22 18:44:13+00:00
Try indexeddb. Apparently Firefox is faster than Chrome in recent years when it comes to putting items into a database, but my experience with multi-gigabyte databases (the database contains image blobs and metadata for use as a local webapp) is that chrome is far faster than Firefox. I'd rather use Firefox sure to increased indexeddb limits (for mobile devices with limited storage), but it's just that much slower. I have a chrome-based browser installed on my phone just for PWA use.
by breppp | 2025-07-22 18:44:22+00:00
I think you are quoting the wrong article, yours talk about attacking humanitarian aid, this one concerns free passage of food, is more relevant and it does not always apply

https://ihl-databases.icrc.org/en/ihl-treaties/gciv-1949/art...

this is complex however, https://lieber.westpoint.edu/siege-law/