skysight-inc/HackerNews huggingface dataset:
> We don't need to ban DRM, we just need to force content providers to choose between technical and legal means of copyright protection.

This is not even interesting because in practice all of the DRM is broken. The actual problem is that we have tools that prohibit circumventing DRM even when the copy is not an infringement of copyright (e.g. fair use) and that prohibit distribution of circumvention tools even if they're not used for copyright infringement, e.g. because the same DRM system is being maliciously applied to works already in the public domain.

Or -- and this is the real reason this garbage is on the books -- the DRM is being used for anti-competitive purposes rather than to prevent copying. Because it doesn't prevent copying (evidence: all the content being on all the piracy sites), but it does prevent a legitimate competitor who actually cares about complying with the law from doing interoperability things that are not an infringement of copyright but are a violation of the DMCA.
I've tried so many and still love Scala.js + React / Scala.

One language, one tooling, one set of models etc across the entire stack is just so much nicer.

And you never have to worry about performance, scalability or lack of libraries.
I really like the presentation, it’s slick and easy to read.

It’s a bit like https://github.com/omnitool-ai/onnitool (plus cloud hosted, minus the extensions) or https://nodered.org but focused on AI.

How do you handle prompt injection (e.g. in a linkedin profile) ?
Fairness? It seems noone gives a shit about it. Most consumers want their data now. I have ETTH 100Mbit (with is very fast to my standards) and I can tell the difference between day, evening and weekend just by pinging my nodes. RTT is stable offhours, but in normal day jitter kicks in. It sad to see RTT jump from 9 to 90ms over major IX. Everything seems to be overbooked horribly.

I know that Internet is best effort network (ATM, anyone remember it?) but Im sure I would preffer slower but more stable internet.
Congestion control is largely orthogonal to transport protocol design. You can basically slap the general shape of any congestion control algorithm onto whatever transport protocol you want.

Their interaction is largely at the level of: “How easy does the protocol make it to estimate the data channel parameters?”, “What happens in the event of congestion-related failures (packet loss, delay, reorder, etc)?”, and “How do you efficiently recover and adapt to the new channel parameters?”

In all of these regards QUIC is quite a bit better than TCP.
To be honest, you can get quite a lot of mileage out of EXPLAIN by focusing on which indices the plan selected (or did not select). For this reason it's really worth understanding your indices and what value they add (or remove!).
I feel sad if this means I have more work and responsibilities for same amount of pay. Otherwise - no.
> at the time React was introduced and started gaining traction was about the virtual DOM being "faster".

At the time it was. Especially compared to how apps were built at the time.

Note that even today virtual DOM libs (not the same implementation as React's) are still among the fastest: https://krausest.github.io/js-framework-benchmark/2024/table...
For a website? Wordpress honestly works pretty well if you don't install 20+ plugins.
Ask HN: Do you use browser-based IDEs? Why? Why Not?
I've heard strong opinions from either side so I'm curious about what are some of the reasons you DO or you DO NOT use browser-based IDEs like Github codespaces, replit.com, vscode.dev, stackblitz.com, hony.ai and many more (Please suggest if you use something else). Also, please comment about your programming language and stack if relevant.

A few arguments to get the conversation started

Against using browser-based IDEs:

- Browser-based IDEs are limited in functionality

- Limited Customizability

- ...

For using browser-based IDEs:

- Security, e.g. installing npm dependencies on your local machine vs a sandboxed remote server

- Convenience of having the same environment everywhere

- ...
Open Source Search Engine as an Alternative to Google Built in Spare Time
You have it all backwards. The customers for LinkedIn are recruiters/companies who want to find candidates, along with companies who want to advertise in the social feed and contact people directly to try and sell products. The product is the individual with their profiles and eyeballs.

Just look at the pricing for proof of this. Recruiters and sales licenses are very expensive compared to individual premium plans. LinkedIn probably wouldn’t even be a viable business if the only income was from premium users.
The problem is that ORMs have a habit of making very silly queries, and developers insist they cannot write SQL to fix that, because it is somehow impure :-) I doubt this is a very _common_ issue, but I'm not surprised if it shows up every now and then.
This would never work in chess because there is almost always a checkmate in a few moves under the assumption that the opponent doesn't defend it. So this engine would just play way too aggressively and over-extent their pieces.

Take scholars mate for example. You can win in 4 moves from the initial position and it is an easy win if the opponent doesn't defend it but playing against someone that knows chess it is a horrible opening because it is easy to defend and leaves you in a weak position.
Your second statement that the virtual DOM lets you skip unnecessary DOM mutations is true, but the first statement is inaccurate because "DOM" is not equivalent to "regenerate and replace all the DOM nodes with updated ones".

Prior to React, performant apps that weren't using frameworks that regenerated the entire DOM tree would simply manually mutate the DOM nodes based on what it was doing. If your app was loading a new comment, it would find the list of comment nodes and append a new one to it, same as a virtual DOM would.

The problem is that this could be error-prone in large apps—are you even sure that the comment list is still on the page? If it's not, do you need to add it to the page or is this a completely new view and you're reacting to a network request that finished after the user navigated away from the page? That's the kind of finnicky manual work that React helped simplify, but the performance was the same as an app manually mutating the DOM plus the extra virtual DOM comparisons.
Mozilla is also making 10x as much revenue as 15 years ago, has massively increased cash reserves, and is finally starting to diversify its income streams.

And it's absurd to put the fault for the declining market share purely at the feet of Mozillas leadership. Not to say they were blameless, but when Google threw its weight behind Chrome, including massive ad campaigns on billboards, pushing it on its web properties, and regularly breaking Firefox on their own websites for no technical reasons, you can't reasonably expect Firefox to just magically maintain their market share. That said, at the upper end you could look at Germany, where Firefox is still between 10-20% (depending on the estimate you look at), as what could have been achievable more broadly.
Django because in a word of constantly changing frameworks and approaches it’s nice to have something solid. New versions add improvements but Django is basically still the same as it has been for almost 20 years. It’s really fast to build things with as well and the Admin is amazing (just don’t try to overuse it).

Recently HTMX has been a really nice addition, adding some fanciness without writing more JS.

Some bits are just easier to do as full on JavaScript components and for those I use React because I know it and it does the job. Just for bits though (often as small as one component in a otherwise vanilla Django form), SPAs are a pain to write and maintain.

I have a SaaS so that’s mostly what I’m doing.
So poisonous that when cattle is feed with it daily, its grow is stunted
It depends. I would argue getting an old scanner or printer running with no current driver is definitely much easier on Linux as well. I am not into Windows enough to have any other examples :)
> Here in Sweden if you are FTE there is usually a 1-3 month layoff period (upppsägningstid) where you work and get paid still. At the end of the period you leave.

This is only part of the story. They can just pay you the 1-3 months and mark your firing as "effective immediately". Absolutely legal in Sweden, EU and US, and indeed even better for the person fired - 3 months of pay for no work.
Vertical Integration? It may not be an OpenAI project, going by the reporting when he was ousted. I wont be surprised if the plans are for a Muskian incestuous/I-swear-its-not-self-dealing setup, wirh Altman being the CEO of both entities
It is the Baby Yeet meme/Woman Throws a Baby comic by Joan Cornellà.

https://knowyourmeme.com/memes/baby-yeet
billg@microsoft.com
Because the poster (who also wrote some of the optimizations in question) works for Citus Data.
> On a system which is configured for kexec crash dumps, some memory is reserved at boot time for a second Linux kernel (the “kdump kernel”). On startup, the system uses kexec_load(2) to load a kernel image into this reserved memory region. If a panic occurs, all CPUs are halted and control is transferred to the kdump kernel.

Is there really no better way to do this than to have an entire second kernel ready to take over? Like a more specialized piece of code that only handles kernel coredumps?
How is open source supposed to keep up with the compute demands of training models in the long term? From what I've seen, open source AI is pretty much entirely downstream of corporations releasing their models at a loss (e.g. Stability), or their models being leaked by accident (e.g. LLaMA), and that's hardly sustainable.

Traditional open source works because people can easily donate their time, but there isn't so much precedent for also needing a few hundred H100s to get anything done. Not to mention the cost of acquiring and labeling clean training data, which will only get more difficult as the scrapable internet fills up with AI goop.
Although people have a role in forming societal structures, it's not a simple matter of choice when entrenched interests shape the rules. The perception that individuals consent to inequality by focusing on their own lives misses the broader context of systemic barriers. Expecting people to prioritize civic action over making a decent living underestimates the challenges they face. The system needs to facilitate equal participation through reforms in political finance, such as addressing the implications of Citizens United, or revisiting institutional frameworks that may dilute the majority's voice (the Senate). It's about creating conditions where engagement is a realistic option for all, not just those who can afford the time and expense.
The True Promise of AI
OP is wrong and reads too much reddit - US bad, EU good. It is definitely possible to get fired "effective immediately" in EU/Sweden and 100% legal. I've seen it myself. (The company would just pay the 3 months salary)
Asthma hospitalisations drop 41% in improved air of lockdown, Oxford study finds
(I'm OP of this submission, but otherwise unrelated to the story so can't answer questions on it.)

The article also contains a link to the source study, "Impacts of ambient air quality on acute asthma hospital admissions during the COVID-19 pandemic in Oxford City, UK: a time-series study" - https://bmjopen.bmj.com/content/14/1/e070704

Which includes:

"STRENGTHS AND LIMITATIONS OF THIS STUDY

- This study investigated the association between ambient air pollution exposure and risk of admission to hospital for asthma.

- The study includes an at-risk population of >800,000 person-years.

- Associations were evaluated using single and multipollutant models.

- Causation cannot be inferred from this observational study.

- A single city study may limit wider generalisation of findings."

(And I didn't exactly use the original article title despite it being a perfect 80chars, to be able to include the 41% figure - from "Asthma emergency admissions plunged as lockdown improved air, Oxford study finds".)
I’d rather a junior dev completely destroy a front-end environment than a back-end environment.
"...Why is there always a new way of doing things?
...Why am I learning the same thing but in a different way?
...Why was the "old" way inferior?
...Why change at all? Browsers don't move THAT quickly."

Welcome to the rest of your software engineering career.
HTMX, Tailwindcss + TailwindUI blocks + Flask + Sqlite & Litestream to s3 on baremetal. Celery & Redis for background tasks.
these days I’m often using Supabase on backend, Nextjs+Vercel frontend

it has increased my speed to market massively. I mostly work on enterprise CRUD apps so getting things like SSO and API for free on Supabase is a great time saver

and then some apps require more specialized functionality and for that I’ll leverage the AWS stack
Most of the workloads have not yet caught up with Nvidia Hopper optimizations. The key are the Tensor Cores.

Google came up with the TPU (2015) for GEMM. Nvidia just took the idea and ran with it (Turing 2018). So it wasn't that Nvidia had a head start on this.

Now Nvidia Hopper is ahead of everybody else by far. They have things like async memory management for the tensor cores (Tensor Memory Accelerator), mixed precission, and even FP8 support.

Most of the software out there has not yet caught up with that. And even Nvidia's own Tensor Engine software is not making the best use of it (Microsoft Research October 2023, backward pass and cross-device communication).

Last year FlashAttention was a game changer for performance by doing memory load optimizations. Nobody was optimizing properly for Nvidia in Transformer models.
On my one PC I have a Firefox instance with over 2500 tabs open. I'd guess about 5% of those are youtube.

I often open a string of 30+ tabs of youtube to watch in one go, and it works fine for me.
Does this mean it won't give you Rust `unsafe` examples? That is an extremely bizarre choice.
> This painfully includes podcasts and Spotify, at least initially, and I also disabled Safari all together!

I've done the same on Android since about six months ago. No browser, no play store, no social media apps. It's frustratingly hard and technical to remove these, and it shouldn't be. No problem for anyone here I am sure, but most people would find it too hard and give up.

Next I noted what still kept my attention on the phone and removed everything it all. My email client, ChatGPT app, all the games like solitaire. They all went.

It's great. I still spend time on HN, Reddit, and Facebook, but much, much less. And as soon as I leave my home office, I'm disconnected from all of it. I am pretty sure I will never go back.

I've replaced it with my ereader and a note taking app on my phone. Most of it went totally unnoticed and painlessly, the biggest cognitive issue I noticed has been my desire to research things when I am out and about. But I use the notes app to keep a list of things, and then I research them more fully and mindfully when I'm at my laptop.

Note that I definitely do spend more time on these websites on my laptop than I would have before. But the overall time I spend is way down, and that's good enough for now.
I also have friends, but I rarely see them on workdays. Having other people around me on those days feels good, I don't like being alone for several days. I totally can do and have done that, but I prefer to not be alone.

Additionally, my colleagues and I share big parts of our life: every damn workday. None of my friends are capable of talking as long and nuanced about things happening at my workplace.
They don't really want to hear emotional rants about bullshit projects because they have no way to relate to those feelings.

But I want to rant about bullshit projects and thankfully, I have colleagues that like hearing such rants from time to time, as they totally can relate.
When I am mad about some shit, start talking about it and they ask "oh, was that XY who said that?" and it totally was XY, that is comforting.

I have friends, yes, and I don't need to meet my colleagues after work. But I still have healthy social relationships to them.
Google ad campaigns, some years where Chrome genuinely felt snappier, Google pushing Chrome everywhere, Google sabotaging Firefox on their own websites.

Generally speaking, we have seen that people are okay with handing over the web and all their data to Google, if a button press registers 20ms faster.
Reminds me of this

https://www.goody2.ai/
Postgres does not currently reuse JIT-compiled code. JIT will run each execution of the query. This may change in the next few years, likely starting with tuple deforming, as that's fairly reusable, per table for any query.
The world’s most responsible AI model
My high school Casio had eleven significant digits. You just wouldn't know it unless you read the manual.
I would like to protest, mg(1), unlike Word, is actually a perfectly usable text editor. <https://www.rollc.at/posts/2022-01-23-mg/>
If its just the one question then sure i agree... but if it was used as a kind of fun icebreaker question, then I can kind of see where it could be used.

But it's just very much asking around https://javascriptwtf.com/ level stuff
Yea HN is great and the majority of comments and discussions are the best I know of online. Especially the deep expertise popping up unexpectedly on different topics <3

And yea, I can live with this new subjective experience that some people here take thing a little too seriously also. One sine thread in a viagra post for some sillyness is too much. I find that silly in it self. But fine, lesson learned moving on.

PS. Today is Friday and it is my duty to shower at-least one of my colleagues with a new dad joke. I take this duty quite seriously and won't let anyone down.
I do wonder if one could eventually just turn off nestloops in such a case (e.g. inner side contains a seqscan), like the JOB paper recommended. Yes, it will have marginally higher estimated cost, but the upside is _much_ safer query plans when the statistics are off.
Fragquiz: Test your IP fragmentation knowledge
In what company, if I may ask?
I have hired elixir devs recently, even worse: onsite only, and couldn't help myself with all the applications. And it wasn't like when hiring JS devs that I had to weed out the majority of super-junior candidates first. All around the statement of "hard to find devs" doesn't hold anymore as it used to. Just as a data point. And from the community often a saying is that there aren't enough Elixir jobs to begin with, so thats another story.

Having said that, a single team of seasoned Elixir devs can achieve more/better things than 100 average devs using the usual SPA/API/microservices-JS hell with all that modern unneccessary complexity. Saying this as a former DevOps guy babysitting the mess of multiple of these teams before.
> However, replicating this with white LEDs remains a technically complex and costly endeavor.

Not really. IKEA sells LED bulbs with quite a nice CRI for €1.99 per two. As I understand it the main trick is not to use the LED light directly, but pass it through a phosphor.
Yet another reason to visit Japan at least once during a lifetime.
What I’d like is the ability to hand postgres an execution plan, whether that is a plan I retrieved from Postgres’s own planner, or one I wrote by hand (possibly a mix of the two).

Give the API a scary name if you want, but getting 3 Am calls because the planner suddenly decided to go off the rails or seeing pages of convoluted SQL because in (current version) it’s what it takes to get the plan you need is not fun.

It’s long past time for database developers to accept that the high level is not always the right solution, it should be that in 95 or 99% of cases, and the better it is the better my life is, but sometimes you got to write exactly what you need.

Most language designers are fine with it and will allow either embedding or calling into lower-level language (down to hand-crafted assembly), it would be great if database devs could get on with that program.
Leela zero was an amazing project improving on AlphaZero, showing the feasibility of large scale training with contributed cycles, and snatching the TCEC crown in Season 16

It forced Stockfish to up its game, essentially by adopting neural techniques themselves (though a different type, Stockfish uses nnue).
Russian troops use Starlink licensed and imported from Dubai
Pictures of beer aren't usually moved into your next employment place though, as GP implies, but rather to your own devices.
Bluesky Post Count and Author Stats
Are you in a Northern semisphere? That rain should be a snow if not some climate trend.
What are the differences between a meditation and between just doing nothing?
Tangent. Yesterday I tried Gemini Ultra with a Django template question (HTML + Bootstrap v5 related), and here's its totally unrelated answer:

> Elections are a complex topic with fast-changing information. To make sure you have the latest and most accurate information, try Google Search.

I know how to do it myself, I just want to see if Gemini can solve it. And it did (or didn't?) disappoint me.

Links: https://g.co/gemini/share/fe710b6dfc95

And ChatGPT's: https://chat.openai.com/share/e8f6d571-127d-46e7-9826-015ec3...
Pirating isn't stealing anyways since the original isn't removed
Sometimes incentives are aligned. Energy is big business. Free energy from the sun makes a lot of financial sense. The kink is storage. Everyone says Tesla is s battery company and in any case it is a very successful company. This ain’t pure hippie stuff.
It's called the Null-move heuristic [1]. The assumption being that if a move can't win even if the opponent doesn't respond to it, then probably it is a pretty bad move. It's pretty standard in traditional chess search engine. Though I don't think AlphaZero's monte carlo search uses it.

[1]: https://en.wikipedia.org/wiki/Null-move_heuristic
Roda: Routing Tree Web Toolkit fur Ruby [0].

Sequel: The Database Toolkit for Ruby [1]

Front end could be anything including no javascript. Roda makes it very easy to either write APIs or server
rendered partials.

I love the simplicity, clarity and performance of this stack.

[0]: https://github.com/jeremyevans/roda

[1]: https://github.com/jeremyevans/sequel
The book review you linked offers the thesis that Wang Huning is mostly repackaging the American self-representation of the time for a Chinese audience:

Commentaries on the book hold up Wang as some kind of incisive critic of US society. This was not my impression. My impression was that he opened a newspaper, read the criticisms Americans were making about themselves, and relayed them back to the Chinese.

Any discrepancies are more likely to arise from drift over time and Wang's lack of affiliation with any American political tribe, so he freely mixes Democrat and Republican narratives. Republican media stress how Democrats suck, Democrat media stress how Republicans suck, outsiders consuming American media get the impression that Americans suck.
All this QUIC talk makes me think of tape backups. Wonder if a tape backup could be devised which was inspired by network congestion algorithms - i.e. if a section of bad tape was discovered, the same data would get "resent" - to tape! Until it read back correctly (by a read head just behind the write head).

This way, the overall tape data density could be increased even if it would mean occasional dropouts.

Maybe this is already how modern tape drives work?