skysight-inc/HackerNews huggingface dataset:
Had the same issue, iPhone 15 in Chrome. Scrolling quickly didn't help. What did help: rotating into landscape and scrolling in the margins. Scrolling on the very right side of the screen also worked in portrait.

Once I scrolled down a bit, I was able to scroll normally afterwards.

On the content: I enjoyed your article! B&H being closed for Sabbath saved me from almost blowing $10k on camera gear a few years ago... everything in my cart, but couldn't check out. I wouldn't say I churned, but I also didn't come back to purchase because I had pre-buyers remorse.

As others in the comments have noted, though - I still come back and shop at B&H for other things, even though I've run into their closures. I actually like the humanity of it. For all the always-on-ness of the internet and websites... there's something innately "human" about something being closed, like B&H's site, that isn't upsetting to me.
"(...) theory that West Coast businesses don't understand finance"
ser, do I need to pull up a map of Europe or India at any time in history? "One country" is a recent historical phenomenon.

by the standard of most large landmasses, China was, in fact, far more cohesive and united - compared to the hundreds of local lords and kings with their tiny little fiefs in, say, India
GNU isn't Unix as NT isn't Win32.

Gnu promotes Unix, but also promotes Emacs on top. NT can run Win32 on top of it, but there's far more than Win32 with NT systems. Just get ReactOS and open the NT object explorer under explorer.exe.

Far more advanced than Windows 95/98.
It's surreal to see the usual rewrite-in-Rust articles and such still dominating the main page during an ongoing and fairly open effort to end liberal democracy in the US and upend the entire world trade & security order.

I get that it's supposedly a tech forum (and that actually it's an advertising & marketing platform) but still, gives a fella the creeps. Especially when major tech figures (Thiel, Musk, everyone in charge of a site exhibiting the usual "engagement algorithm quickly becomes indistinguishable from an intentional right-wing radicalization pipeline and conspiratorial-thinking primer" behavior) are largely responsible for where we're at and are so involved in it, and the rest of the industry's "disruptive" "genius" "mavericks" are cowering like frightened children.
Am I missing something, or is this a fancier string.Template [0]? Don't get me wrong, it looks very useful, especially the literals.

[0]: https://docs.python.org/3/library/string.html#template-strin...
(1) and (2) have some merit but (3) is total nonsense
Seemed like some of us would just need to window shop.
> Ownership is not about storing everything at home (or well, it's part of it), but having control over your data, which you can easily have while at the same time using the convenience that the cloud offers.

Ownership is not just about r/w control of your data but also over what software gets access to it and what that software does. Not just about privacy, but knowing the process and being able to alter it to your desires. There is no way to control that unless you run your own servers.
maybe do some acid or something
Pickfu – Create polls to get feedback
But they can go to Heritage Foundation and Federalist Society... you'd think lawyers would lawyer up on this but they'll just get fired once they show they care.

This is what the fascism looks like folks. America has fallen.
Something to look at: https://www.masteringemacs.org/article/replacing-tmux-gnu-sc...
I TA'd for the fundamentals of computer science I in college. In addition to being a great class for freshman, teaching it every year really did help keep me sharp.

High schools are a long way off from that level of education. I took AP CS in highschool and it was a joke by comparison. Of course YMMV. The best highschool CS course might be better than the worst university level offerings. We would always have know it all students who learned Java in high school. They either appreciated the new perspective on the fundamentals and did well, or they blew off the class and failed when it got harder.
Show HN: Peng Editor – open-source online text editor
I'm sure those affected will get a 3.00 check and the lawyers bringing suit will make a chunk of change. (curious if this will lead to a suit or what the laws are around that (e.g. can this be class action or will only known affected individuals be allowed to seek redress?)
Interesting, can be relevant: there is an idea for the unicorn AI safety startup to get currently almost 100% unprotected (from AI botnet) consumer GPUs into a cloud to get Google-level security (each GPU can bring you $30-1500 in profits per month, you can share it with the user, the user can play GPU game from any device, use any free or paid AI model, everything really becomes better, you can include a 5g modem), here's the full proposal (the author is probably dyslexic) https://melonusk.substack.com/p/notes-on-euto-principles-and...
Yeah! Or the team there prioritizes taking care of folks and maintaining boundaries between work and life by having that 3 hours of downtime during normal business hours.

Would love to hear other stories of businesses doing similar activities during sane weekday hours.
Very easy, google drive and other cloud providers supported natively. I sideloaded SyncThing instead. They also have their own cloud that is free to use AFAIK, but I don't use it.
I always liked Realfield better.

https://www.reddit.com/r/comics/comments/7zfbr3/realfield/
It's extortion. Sometimes the extorting party can act on its threats, sometimes they can't.

In regards to the auto industry, I'm not sure what you mean by "look where auto manufacturing investment in the US is". Most auto manufacturing jobs are still in the rust belt [1]. Most EV Production investment is in the rust belt [2].

[1]: https://engaging-data.com/auto-manufacturing-state/

[2]: https://www.assemblymag.com/articles/98988-ten-us-states-dom...
This does not account for the ai usage used by students created by other companies such as openai etc...
Please consider attending the nationwide protests on 4/19/25.

Silence and inaction are basically immoral at this point. Voices, bodies, and action are REQUIRED.
Federal cuts end planned $300M plastics plant and its 300 jobs
Dissapearing messages have a limited use.

They require both parties to seek the vanishing as a useful feature (say, when you chat on someone and want to minimize the chance of being caught. There are certainly better examples).

If one of the parties did not want the message to dissapear it is here over: tout can take a picture and all security in the world won't prevent this.
It's worse than function returning an f-string. Template type is very flat, you won't know which arguments are left unbound.

modules, classes, protocols, functions returning functions, all options in Python, each work well for reuse, no need to use more than 2 at once, yet the world swims upstream.
There is an idea for the unicorn AI safety startup to get currently almost 100% unprotected (from AI botnet) consumer GPUs into a cloud to get Google-level security (each GPU can bring you $30-1500 in profits per month, you can share it with the user, the user can play GPU game from any device, use any free or paid AI model, everything really becomes better, you can include a 5g modem), here's the full proposal (the author is probably dyslexic) https://melonusk.substack.com/p/notes-on-euto-principles-and...
Perhaps I don't. I don't know why someone would expend 100x the effort and be labeled at minimum 10x the person by MIT admissions to end up at the same place that people with 1350 SATs from Auburn or 1450's from NC State or 1420 from Binghamton would go to after graduating MechE.
If you just need value replacement yes. But you could also already do that with str.format.

I think this gives you slightly more control before interpolating.

If you want control flow inside a template, jinja and friends are probably still useful.
Off-topic:

In 2024-2026

s/app/AI/

How the cycle repeats, just the deliverable changes.
Wondering what I could do with it ... I rewrote Glypha (an old Mac shareware game I wrote) using modern SDL2. Might be fun to try to "back port" (?) it to OS 9 on top of SDL2 (rather than the clunkier CopyBits() calls I used in the original shareware game).
> Without GNU, GPL and Richard Stallman, FOSS would not exist in the first place. The GPL forced companies to make FOSS a thing, whether they liked it or not.

I was responding to this, which is more widespread than GCC (although it was one of the first wins of the GNU).

There were various companies who wanted to add on backends and other bits to GCC, but wouldn’t due to the license. That’s one of the reasons LLVM is so popular.
Once this is a habit, it seems easy to apply to citizens who cross some line somewhere.
https://news.ycombinator.com/item?id=43601740
A pretty cardboard printout and a timer on your phone/computer would be nearly as effective, no?
Yes, Rama emerged from following this approach exactly. The "make it possible" phase was grinding for years on innumerable backend infrastructure problems. These included problems I worked on directly at BackType and Twitter, and also the thousands of use cases I helped with through my open-source work (especially Storm).

The "make it beautiful" part involved unifying all these use cases into a single set of abstractions that could express them all concisely, with high performance, and without needing any other infrastructure. Since I was building such a general platform, I was also able to consider use cases I hadn't directly worked on – basically just looking at popular web applications and their features.

Leaving Twitter in 2013 was the start of the "make it beautiful" phase. By that point I had already figured out the broad outlines of what such a next generation platform would look like (event sourcing + materialized views, indexing with data structures instead of data models). It was a long road from there to figure out the details and turn it into a production platform.
I tend to agree. I think it's easy enough to use a lambda in this case

>>> template = lambda name: f'Hello {name}'
>>> template('Bob')
> If you care about Dem ideology etc enough to follow their primaries

I don’t. I follow both primaries because that’s where almost all of the democratic process in the Presidential election happens. Once you have two candidates (third parties are obviously jokes), you get to choose between the two.

So, the primary process is very important to make sure democracy happens and I put a lot of importance in it. As should everyone.

And so, if a candidate does not win through that primary process, that candidate is illegitimate.
You're a lot less likely to get retaliatory tariffs when you're communicating to manufacturers that you intend to raise your $nicheproductclasses tariffs to support domestic manufacturing under industrial strategy and national security policy than when you announce blanket tariffs with threats. The US imposed 100% tariffs on EVs last year for example[1], which wasn't exactly a universally popular move but wasn't likely to provoke a trade war. Much easier to accept losing share of a market than every market, plus also less likely to accidentally punish the manufacturing industries you're trying to support.

[1]there's a certain irony in one of Biden's last actions being to impose tariffs in a way which massively helped Tesla, and one of Trump's first being to propose tariffs that could seriously hurt its supply chain if they don't get exemptions...
Would be useful in that exact case, but would be an absolute nightmare to debug, on par with using global variables as function inputs
Show HN: Turing Test Battle Royale
Stablecoins: Payments Without Intermediaries
I donated my old gaming PC to my nephew (20 y/o). I told him that owning it also means maintaining it. I don't have time for that. Figure it out, "digital native".

Within 2 days he had it ruined. Kept running hot and crashing. I told him over the phone how to analyze the problem. Nothing what I said made any sense to him.

So I came over and saw that he had installed 50 or so new programs, some very dubious. Zero security awareness, just click on anything like a grandma. One program was rogue and took 100% CPU in a forever loop. He had never heard of task manager to inspect such a problem. Completely clueless on how to use a PC or operating system.

He also has a sister. I asked her to share a document. She opens the document on the laptop and proceeds to make photos of the doc with her phone and sends them to me.

These are middle-class young adults with decent education (in theory). It's shocking.
The question is if that person would have dedicated their life in the same way.
I dislike this feature.

The stated use case is to avoid injection attacks. However the primary reason why injection attacks work is that the easiest way to write the code makes it vulnerable to injection attacks. This remains true, and so injection attacks will continue to happen.

Templates offer to improve this by adding interpolations, which are able to do things like escaping. However the code for said interpolations is now located at some distance from the template. You therefore get code that locally looks good, even if it has security mistakes. Instead of one source of error - the developer interpolated - you now have three. The developer forgot to interpolate, the developer chose the wrong interpolation, or the interpolation itself got it wrong. We now have more sources of error, and more action at a distance. Which makes it harder to audit the code for sources of potential error.

This is something I've observed over my life. Developers don't notice the cognitive overhead of all of the abstractions that they have internalized. Therefore over time they add more. This results in code that works "by magic". And serious problems if the magic doesn't quite work in the way that developers are relying on.

Templates are yet another step towards "more magic". With predictable consequences down the road.
> I'm not sure if t-strings help here?

That's correct, they don't. Evaluation of t-string expressions is immediate, just like with f-strings.

Since we have the full generality of Python at our disposal, a typical solution is to simply wrap your t-string in a function or a lambda.

(An early version of the PEP had tools for deferred evaluation but these were dropped for being too complex, particularly for a first cut.)
As someone else said - maybe you haven't noticed but there's a machine washing your clothes, and there's a good chance it has at least some very basic AI in it.

It's been quite a while since anyone in the developed world has had to wash clothes by slapping them against a rock while standing in a river.

Obviously this is really wishing for domestic robots, not AI, and robots are at least a couple of levels of complexity beyond today's text/image/video GenAI.

There were already huge issues with corporatisation of creativity as "content" long before AI arrived. In fact one of our biggest problems is the complete collapse of the public's ability to imagine anything at all outside of corporate content channels.

AI can reinforce that. But - ironically - it can also be very good at subverting it.
I ended up writing a similar plugin[1] after searching in vain for a way to add temporary DNS entries.

The ability to add host entries via an environment variable turned out to be more useful than I'd expected, though mostly for MITM(proxy) and troubleshooting.

1: https://github.com/aib/nss-userhosts
The ai companies have shown they don't care at all about the preferences of site owners by ignoring them.

I don't see why a new language to express preferences would make any difference here.
If its only use is to make injecton safety a bit easier to achieve, it's worth it to me.
It's not precisely "just for show;" there are enough non-super DNC delegates that they can, in fact, outweigh the superdelegates if they have something approximating consensus. When it's a close race, the superdelegates can dominate the outcome.

But there's no reason to assume that anyone would have shown up to challenge Harris. The incumbent effect is very strong in both parties, and it's extremely rare to refrain from nominating the sitting first-term President, so there's no reason to believe the result of all of that wouldn't have been the successor the President recommended. Note that the initial Primary went landslide to Biden. American voters tend to go with recognizable names and tend to hew to tradition.

You're quite correct that relative to the GOP, the Democrats have a more elitist structure that consolidates leadership to party operatives. When you don't have that... Well, nobody in the GOP party machinery really wanted President Trump, but the GOP doesn't have superdelegates.

> 2016 insiders ratfucked Sanders to pick Clinton

This is a common hypothesis but Sanders never had the votes. He was about 3 million short of Clinton. While there's no doubt that the party preferred Clinton, the voters didn't show enough of a preference for Sanders to overcome that inertia. Again, American voters tend to go with recognizable names, and they already saw Clinton close to the White House (even if, as First Lady, she wasn't actually elected).

Were the Democratic voters even wrong? Clinton ultimately went on to win the popular vote. There's no particular reason to believe Sanders would have done so; we'll never know what that alternate reality would have looked like, but his opponents would have drilled in on his Jewish heritage and it would have gotten quite ugly (as Trump revealed, there's a lot of straight-up bigots who became politically motivated in 2016).
I do not think this was personal. As a security professional I have the same reaction.

Security is hard, but not only in the technical area. The whole governance is not obvious for someone who did not have these threats on their radar.

If you do security you need to be ready to get feedback you do not expect, in areas you may have not fully addressed.
Nick Humrich here, the author who helped rewrite PEP 501 to introduce t-strings, which was the foundation for this PEP. I am not an author on this accepted PEP, but I know this PEP and story pretty well. Let me know if you have any questions.

I am super excited this is finally accepted. I started working on PEP 501 4 years ago.
I don't see how this prevents calling your returned f-string with unsensitized inputs.

evil = "<script>alert('evil')</script>"
sanitized = Sanitized(evil)
whoops = f"<p>{evil}</p>"
> What if your website had business hours?

That idea is contrary to the definition or reason for the existence of Websites.
I've been here longer than you, and have an order of magnitude more karma than you do.
It’s kinda like saying += is magic. Yeah the best kind.
> so I can't write unit tests before writing any actual code, because I don't know what the units are going to be yet.

How many tests do you write at your job (or are supposed to write) before you write the unit of code?
Yet another way to do strings in Python, I was more than happy with the original way with tupple parameters.
Am I being a completely delusional sceptic or do tools like this make no sense to anyone else?

If you need AI to tell you about a guest and tell you what to ask them, why are you having them on your podcast? You don't know anything about them, and have nothing to ask them - why does the world need you to do this interview? You don't care about your guest at all, so why would we want to listen to you talk to them?

As the guest, why bother responding to questions made like this? Why not have an AI write answers for you, since you are probably equally uninterested in your interlocutor and their questions?

Skip the bs and just publish the transcript of two AIs talking to each other.
At least I was right in predicting yesterday.

https://news.ycombinator.com/item?id=43562949
What do you do now?

I have a Flair Espresso machine and get beans from a nearby roaster. I dunno. It seems decent. I don’t consider myself a snob, but I put some effort in.

Maybe Italians would be able to tase the defects that I add. But, they are the people who popularized Moka pots so they can’t really be so perfect.
Or you just tell them the password.
I wouldn't call a product catalog advertising, unless I'm forced to read it or receive it without asking. Otherwise it's my own choice to read about the products, which clearly isn't advertising.
That's a dangerous game to play if you consider dying to be a serious inconvenience.
> You can choose not to contribute your changes back to permissively-licensed software, but in actual practice most people do contribute them.

They contribute some things, sure. But the also don't contribute some things. It is hard to know how much because it's kept secret from all of us, even their own customers.

> "It's not like the Rust compiler is proprietary software with their own closed-source fork of LLVM..."

Rust no, hut there are a lot of proprietary, semi-incompatible proprietary forks out there.
I don’t see how that increases the phishing risk. If the user mistypes a url, DNS doesn’t have any anti-spam mechanisms. If they mistype part of a url, Google can correct it.

Whether or not they do so in practice is another question of course and there are well publicized examples of them failing.

If what you’re saying was correct then preventing most phishing emails would simply be a matter of “educating users”. I believe at scale that is an impossible task.
I care a ton about fast and accurate build systems but one issue I think we haven't solved is that: people do not want to use other build tools for their language. "Why isn't it Cargo? Why not use NPM/Yarn? Why not use Pip? Why not CMake?" These questions are often rhetorical because they do not care about build systems. They don't care about the design. They don't care if your CI could be 5x faster. You will never make them care. It's good enough. You must have absolutely zero externalized cost (and therefore put in a lot of effort) to get over this hurdle. There's seemingly no way around it.

The reason a lot of people like Bazel is, I think, tools like Gazelle -- which reduce that whole problem back to "Run gazelle" and all the crap is taken care of for you. Dependencies, BUILD files, etc. People constantly talk about the "complexity" aspect, but very few people appreciate how complex Cargo, NPM, Yarn, Cabal, Dune, internally are. Because they just run "build", and it works. Bazel, Buck2, Mill, etc will all have this problem unless huge effort is put in.

TBH, this is one of the reasons why I think Nix has wildly succeeded in the past few years while more fine-grained and scalable systems have had adoption problems -- despite its numerous, numerous flaws. You get to Bring-Your-Own-Build-System, and Nix along with the blood of 10,000 upstream contributors keeps the juice flowing, and it's cached and hermetic so you see real savings. That greatly eases people into it. So they adopt it at all points on the curve (small, medium, huge projects), because it works with what they have at all those points. That makes them willing to get deeper and use the tool more.
>> There should be one-- and preferably only one --obvious way to do it.

Except for package management, of course. There, we need lots and lots of ways.
Just use ChatGPT to change it.
You’re describing Twitter not conspiracy communities in general. On the UFO front at least I am aware of multiple YouTube channels and Discord servers with healthy diversity of thought, and I’m sure the same goes for other areas.
>ultimately the construction fell through

It was part of the ongoing subsea cable wars, US wanted to squeeze PRC from subsea infra game a few years ago and sanctioned a bunch of PRC companies which disrupted projects.