MurphyA/hacker-news huggingface dataset:
Show HN: A DevTools-Level JavaScript API for DOM and CSS Style Rules
by brouser | 2025-11-08 04:13:01+00:00
It is a wrapper around the Chrome DevTools Protocol (CDP), the same API that DevTools uses, to inspect elements programmatically and intuitively like accessing DOM.

Why this? I have seen too many tools pretending they can get matched CSS style rules but actually only computed styles. The real DevTools data — CSS rules, selectors, and cascading order — is what we want to retrive programmatically, yet CDP is hard to use, full of undocumented quirks. One have to observe Devtools' behavior and check the huge DevTools frontend codebase to know how to use it. Having worked on a Chromium fork before, I feel it is time to solve this once and for all.

What can we build around this? That's what I'd love to ask you all.

Probably like many, MCP was what came to my mind first, but then I wondered that given this simple API, maybe agents could just write scripts directly? Need opinions.

My own use case was CSS inlining. This library was actually split from my UI cloner project:

https://github.com/devtoolcss/devtoolcss

I was porting a WordPress + Elementor site and wanted to automate the CSS translation from unreadable stylesheets.

So, what do you think? Any ideas, suggestions, or projects to build upon? Would love to hear your thoughts — and feel free to share your own projects in the comments!
by quacksilver | 2025-11-08 04:13:20+00:00
I bought a large format e-reader for the opposite reason - being able to read and study from large format textbooks while on long train journeys or in hotel rooms (or even camping). It handles stuff from arxiv fine too.

I really like my Boox Max, as it means that I can read textbooks at a good size without reflowing. It still holds charge for several weeks at a time after about 7 years

I wish I had it at university instead of 1000+ page hardback calculus textbooks.
by jmorgan | 2025-11-08 04:13:47+00:00
The gpt-oss weights on Ollama are native mxfp4 (the same weights provided by OpenAI). No additional quantization is applied, so let me know if you're seeing any strange results with Ollama.

Most gpt-oss GGUF files online have parts of their weights quantized to q8_0, and we've seen folks get some strange results from these models. If you're importing these to Ollama to run, the output quality may decrease.
by ineedasername | 2025-11-08 04:16:17+00:00
On this board, there's an exceptionally good chance a response will come from someone who wrote code or published research fundamental to your daily life, perhaps your favorite sci novel, etc. Not that such questions are ever a reasoned entrance into discussions you aren't burning down-- they're not. But there are still some few places on the internet where a bit if discussion can happen, and this is usually one where the noise doesn't fully drown that out.
by nine_k | 2025-11-08 04:17:40+00:00
But frequency hopping without the ability to (re-)synchronize is hardly practical. It's like inventing the principle of the machine gun, firing many bullets in quick succession, without inventing the mechanism of automatic removal of the spent shell and pushing in a new round. Such prior art would not dethrone Hiram Maxim.

Same here: if it's the Lamar's invention that makes frequency hopping practical, then she is still the (co-)inventor of most of modern radio communication.
by torginus | 2025-11-08 04:18:52+00:00
?? Now I have to come to the defense of Rust - it does prevent memory leaks (but not space leaks where you leak memory, but it's all being referenced from somewhere). The borrow checker should also prevent race conditions (as not doing so would violate the aliasing rule)

This is all provided we stay in safe Rust land, and don't do concurrency or call external APIs, but that's not a claim I'm holding against the language.

This isn't the point I'm making - the issue I have is that the Rust borrow checker is not powerful enough to accept most correct programs (of real-world complexity) for various reasons. This does not mean that you can't write complex programs in Rust, it only means that most complex programs which do not have the problems Rust claims to address (successfully), have basically zero chance compiling, unleast they're written the way Rust expects them to.
by azuanrb | 2025-11-08 04:19:39+00:00
I have Clara BW and Libra Color.

Clara: - Small form factor. Super convenient to read and bring it anywhere. - No issue to read any materials imo.

Libra: - It's slightly bigger and heavier. - I find it easier to read books with lots of graph, images since it's bigger. - I can also read comics with color. Pretty awesome.

Imo, boils down to your preference, hand size (I'm not a big guy). I like both devices. Libra main advantage to me is just color. Size is personal preference. If there's any store nearby, I'd suggest to just go and try it out first (or any ebook with similar size).
by SilverElfin | 2025-11-08 04:19:40+00:00
This is an administrative stay. Because the administration says it has the means to only partially fund the program (due to the shutdown), this got kicked back to the lower courts to consider if partial funding was sufficient for them to consider the matter closed. If not, it’ll ultimately be appealed back to this court again. But right now, all they’re doing is saying “hey things have changed since you issued your order, re-rule on this case”.
by mjevans | 2025-11-08 04:20:07+00:00
Problems I face WRT Traffic / Commutes / Related factors:

* Drivers who can't just drive at at _least_ the speed limit. Flow is mentioned several times in the article, but flow is also a major part of traffic issues I face daily. Every time drivers refuse to merge right to allow others to pass (state law here). Every time drivers slow down instead of speeding up because they're unsure. Every time there's traffic enforcement for revenue rather than enforcing the laws that would promote a smooth and steady commute. That causes the rate of flow to decrease. It lets other slower drivers merge into the gaps opened in front (which pushes the stack of cars further back and further slows the flow, compared to just going down the road). The only way to clear a log jam in a river is to get the logs out, down the river in the case of traffic. After the block clears up traffic should go slightly _faster_ to pull the flow forward, removing the pressure and restoring safety and expediency for drivers behind.

* Freeways built to hub and spoke main city designs, when I need to cross around major geographic features (lakes, 'very big hills' with a couple mounts along the most obvious paths).

* No where NEAR enough housing built in the last 40+ years anywhere near jobs. (Solution: have good building codes and auto approval if code conditions are met, and build build build.)

* Family with roots in an area far from where jobs are today... the suburbia of my childhood is not a center of well paying white collar jobs. (That's what hub and spoke to the big city used to be; before businesses escaped to other outlying areas.)
by peterfirefly | 2025-11-08 04:22:19+00:00
It was Gosling's photo.

Ask yourself why we talk so much about Franklin and so little about Gosling. Perhaps the world is, in fact, NOT as discriminatory against women as you think.

(There is also plenty of evidence that Franklin could be quite unpleasant. If that tarnishes Watson, then it certainly also tarnishes her. What is good for the gander is good for the goose.)
by dh2022 | 2025-11-08 04:22:57+00:00
I thought about giving my son this advice. When a country has 40 trillions in debt and another country has budget surplus you know where the fun will be 20 years from now when my son will start living his life.

Unfortunately, China is not a nation of immigrants. And also, living in China means living under CCP's rule - and Xi keeps turning the screws. So, unfortunately, this will not work :(.
by unscaled | 2025-11-08 04:23:00+00:00
I'm afraid this article kinda fails at at its job. It starts out with a very bold claim ("Zig is not only a new programming language, but it’s a totally new way to write programs"), but ends up listing a bunch of features that are not unique to Zig or even introduced by Zig: type inference (Invented in the late 60s, first practically implemented in the 80s), anonymous structs (C#, Go, Typescript, many ML-style languages), labeled breaks, functions that are not globally public by default...

It seems like this is written from the perspective of C/C++ and Java and perhaps a couple of traditional (dynamically typed) languages.

On the other hand, the concept that makes Zig really unique (comptime) is not touched upon at all. I would argue compile-time evaluation is not entirely new (you can look at Lisp macros back in the 60s), but the way Zig implements this feature and how it is used instead of generics is interesting enough to make Zig unique. I still feel like the claim is a bit hyperbolic, but there is a story that you can sell about Zig being unique. I wanted to read this story, but I feel like this is not it.
by pinkmuffinere | 2025-11-08 04:25:00+00:00
No worries, i did feel it was a bit dismissive, but no hard feelings at all.

I think your main claim is that concepts exist even if there is not a human to perceive/think of them. I have no horse in that race, sorry if that’s disappointing haha.

However, sometimes your comments seem to be claiming that _something_ must exist. _This_ i disagree with. We can observe that something does indeed exist in our universe. However, there is nothing that forced that to be the case. It just happens to be.

Regarding English, your phrase choice is just a bit odd and somewhat poetic, haha. It reminds me a bit of my dad, whose first language was Farsi. Here’s a couple concrete examples from your writing:

- “Maybe the way I expressed the idea wasn’t too clear”. “Too” is close in meaning to “excessive” (among other uses). I think it would be more common to see “wasn’t so clear” or “wasn’t clear enough”

- “Besides, why human?” I think there are a few words that have been dropped here, which would not normally be dropped even in casual English. You mean something like “Besides, why do we need a human perspective?” From context your meaning is clear, but the phrase “why human?” just feels unusual. I think the phrase “why X?” is common when X is a verb, but not so much when X is a noun. Consider, “why drive?”, “why worry?”, “why wear that?” all sound normal to me. On the other hand “why apple?”, “why lamp?”, “why monkey?” all seem unusual, even somewhat humorous.

- “On a whole other note”: i think the common phrase here is “on another note”. I’ve never heard “whole other note” before.

And now I’m curious: Is English your second language? In either case, your writing is unique in a very interesting way, and not something you should be worried about. I like the style, it gives you much more personality than most comments i see.

Edit: I can’t help myself, I want to guess where you’re from, lol. My best guess is Central Europe. The use of “too” to be “adequate” feels vaguely French to me, although that’s probably just based on Hollywood portrayals, since I don’t know any French. So I’ll say French is your first language, but I’ll claim victory if it’s anything from Central Europe :P

Edit edit: after googling, i see France isn’t usually counted as Central Europe. But I’m leaving my guess as France + Central Europe
by elzbardico | 2025-11-08 04:28:15+00:00
I was born in a Third World country where people sometimes didn't have money to buy food, and yet they reproduced like rabbits. And this is over from what people tell me.

It is cultural. Having kids is low status in the modern world. And it fucking makes a lot of sense. I only like kids because I have kids, my wife wanted to have kids, and I was kind of forced into it. Now, I love having kids, but because I already have them.
by hardwaresofton | 2025-11-08 04:28:36+00:00
It’s incredibly silly but I dislike zigs identifier policy. Mixing snake case and camel case for functions is cursed.

That said, amazing effort, progress and results from the ecosystem.

Bursting on the scene with amazing compilation dx, good allocator (and now io) hygiene/explicitness, and a great build system (though somewhat difficult to ramp on). I’m pretty committed to Rust but I am basically permanently zig curious at this point.

[EDIT] “hate” > “dislike”. Hate is a strong word and surely I just need to spend some time writing zig and I’d get used to it.
by MrJohz | 2025-11-08 04:28:57+00:00
Interestingly, I just read an article from matklad (who works a lot with Zig) talking about the benefits of splitting up error codes and error diagnostics, and the pattern of using a diagnostic sync to provide human-readable diagnostic information:

https://matklad.github.io/2025/11/06/error-codes-for-control...

Honestly I was quite convinced by that, because it kind of matches my own experiences that, even when using complex `Error` objects in languages with exceptions, it's still often useful to create a separate diagnostics channel to feed information back to the user. Even for application errors for servers and things, that diagnostics channel is often just logging information out when it happens, then returning an error.
by sota_pop | 2025-11-08 04:29:06+00:00
I started my deep learning journey circa 2018 hand crafting autoencoders with Matlab cells. Pretty quickly moving on to Python, I remember reading about PyTorch and TensorFlow. Back then, TF lacked dynamic graphs which made PT way more favorable. Even still, many compared PT to Keras. However I always thought a closer comparison to Keras was something like Fast.ai from Jeremy Howard et. al., which I really enjoyed and don’t see many people use.

In any case, I ended up sticking with PT and am extremely grateful for all the work put into it. Thank you.
by AdieuToLogic | 2025-11-08 04:29:38+00:00
>> When there are performance issues, 95% of the times they come from the database, not the language.

> DHH used to say that it didn't matter if Rails was slow because the database was I/O bound anyway. But that was a long time ago. ... Nowadays the language (when it is as slow as Ruby) is most likely to be the problem.

Nowadays CPU speeds, available RAM, and network speeds dwarf what was top-of-the-line "a long time ago," making the trope of "Ruby is too slow" much less believable "nowadays."
by WarOnPrivacy | 2025-11-08 04:33:17+00:00
Be happy. Secondarily, help others achieve happiness. Positive things reliably flow from that.

If you are currently trapped in survival mode and can't help yourself, look for someone else you can help.

As far your questions lead to sustainable happiness, they are worthy of your time.

Past that, those answers follow your experience and circumstances, things that are always in a state of change. Never stop reassessing.

If you're looking for yardsticks: Be kind. Do what it takes to learn empathy. Let other individuals' well-being become important to you.
by AdieuToLogic | 2025-11-08 04:33:50+00:00
> In any other language I can think of real quick (TS, Elixir, C#, Python, PHP, Go) a fair number of these parts would be substantially more wordy or syntaxy at little immediately obvious benefit. Like, this class is super concise but it doesn't trade away any readability at all.

Scala would like to have a terse say about this... :-)
by thadk | 2025-11-08 04:34:25+00:00
Here's a very rough interactive on more recently published 7-way and 11-way venn: https://observablehq.com/@thadk/venn (with clean-ish svg, cites)

This fork shows an older version with all the shapes turned on and filled with original colors: https://observablehq.com/d/4a5120e490fa9da4

Santiago Ortiz's venn was from 2013 (via archive.org) . I had forgotten I'd seen that, thanks for sharing.
by mjevans | 2025-11-08 04:34:45+00:00
X X Windows L.E. => (e)X X Windows (Wayland) L.E. (Linux Edition)

Even the one major 'windows' app that my mom needs to use is going Web only... so I figure if I install Debian Stable + Widevine that'll cover 99.9% of the use case and I gain an OS that just works correctly.
by renewiltord | 2025-11-08 04:34:46+00:00
Unfortunately for me, the models on Cerebras weren’t as good as Claude Code. Speedy but I needed to iterate more. Codex is trustworthy and slow. Claude is better at iterating. But none of the Cerebras models at the $50 tier were worth anything for me. They would have been something if they’d just come out but we have these alternatives now.
by maxglute | 2025-11-08 04:34:54+00:00
Depends on who you think has better information.

Stats on Ascend 910C, CXMT production and PRC semi in general are unsubstantiated by some policy positions to keep export controls. They can be every bit as fabricated / motivated.

VS Jensen / Nvidia who of course wants to sell to PRC, but the caveate is everything they make they can sell already at whatever margins they demand. Combined with Nvidia likely has more connection with PRC semi -> accurate assessments projections and their argument isn't about current profits but future profits i.e. prolonging competitiveness / maintaining lead / not creating rivals.

And note additional motivation to fabrciate PRC semi stats is as long as there's export controls, removing PRC demand reduces supply constraint / increases hardware access for non PRC buyers even though Nvidia get to price sets. So the question is, who is bullshitting you - every single data in this space is influenced by strategic goals.

At the end of the day, whose motive is the most sensible? Nvidia not wanting long term strategic rival (because it ain't about short term $$$) or actors who want to remove PRC demand from Nvidia.
by sarchertech | 2025-11-08 04:35:20+00:00
One of her publishers pulled her book from print, publicly accused her of plagiarism, and asked other publishers to denounce her for plagiarism.

That’s pretty damning evidence. If a publisher was on the fence they might pull her books quietly, but they wouldn’t make such a public attack without very good evidence that they thought would hold up in court. There was no equivocation at all.
by randycupertino | 2025-11-08 04:35:55+00:00
> This is how Amazon is too with the movies and tv shows you bought. There's no way to search your owned library anymore. You just have to page through it to find what you want. And your library is hidden away behind a tiny little unlabeled icon in the upper right corner.

This happened with (amazon owned) audible now too. When you try to search your own library instead it shows you books for sale. Even if you search for a book you know you already bought in your own library it will promote different versions of the book you don't own and try to see you those instead of showing you the one you own. It's incredibly frustrating and really manipulative and really sucks!
by smj-edison | 2025-11-08 04:36:30+00:00
> Coding in it quickly felt like using a tool I'd used for years, and that's special.

That's been my exact experience too. I was surprised how fast I felt confident in writing zig code. I only started using it a month ago, and already I've made it to 5000 lines in a custom tcl interpreter. It just gets out of the way of me expressing the code I want to write, which is an incredible feeling. Want to focus on fitting data structures on L1 cache? Go ahead. Want to automatically generate lookup tables from an enum? 20 lines of understandable comptime. Want to use tagged pointers? Using "align(128)" ensures your pointers are aligned so you can pack enough bits in.
by tiu | 2025-11-08 04:36:43+00:00
The comments are wildly fragmented in this thread. I agree with @torginus, the article has less and less of anything useful to people that want to get into compilers.

Anyways, the "Who .. hires compiler engineer?" section is fairly vague in my opinion, so: AMD, Nvidia, Intel, Apple, Google definitely hire for compiler positions. These hire fairly 'in-open' so probably the best bets all around. Aside from this, Jane Street and Bloomberg also do hire at the peak tier but for that certain language. The off beat options are: Qualcomm, Modular, Amazon (AWS) and ARM. Also see, https://mgaudet.github.io/CompilerJobs/

I seriously attempted getting into compilers last year before realising it is not for me but during those times it felt like people who want to be compiler devs are much much more in number compared to jobs that exist (yes exist, not vacant).

The common way to get going is to do LLVM. Making a compiler is great and all but too many people exist with a lox interpreter-compiler or something taken from the two Go books. Contributing to LLVM (or friends like Carbon, Swift, Rust) or atleast some usage experience is the way. The other side of this is doing GNU GCC and friends but I have seen like only one opening that mentions this way as being relevant. University level courses are rarely of any use.

Lastly, LLVM meetups/conferences are fairly common at most tech hubs and usually have a jobs section listing all requirements.

A few resources since I already made this comment too long (sorry!):

[0]: https://bernsteinbear.com/pl-resources/ [1]: https://lowlevelbits.org/how-to-learn-compilers-llvm-edition... [2]: https://www.youtube.com/@compilers/videos
by elzbardico | 2025-11-08 04:36:49+00:00
Well man. We know the general size of the area, we know for a fact, that Israel has dropped explosive ordinance on this area that is a multiple of the explosive power of the atomic detonations in hiroshima. We've all seen the videos of endless blocks reduced to rubble.

You may not want to call it genocide, but a whole fucking truckload of people has been obliterated by explosive power, are you telling me that Hamas was that big? I wouldn't be surprised if we found out that Israel killed more people in Gaza in two years than the US killed in Afghanistan over two decades.
by maxglute | 2025-11-08 04:36:58+00:00
Nvidia sells everything they make at whatever margin they decide already. That's exactly why his warnings should be taken seriosuly because it's not based on short term $$$ but PRC creating medium/long term rival to Nvidia because they have the talent and sooner than later, semi industrial base. More seriously now that CCP is basically telling domestic companies to go local instead of Nvidia.
by chmod775 | 2025-11-08 04:37:13+00:00
Scroll down. There's more.

The LLM responded in the affirmative to all queries, even when they seem to contradict each other.

> NFL viewership went down? Yes!

> NFL viewership went up? Yes!

> Home prices are going down? Yes!

> Home prices are going up? Yes!

Google is confirming people's biases on an industrial scale. Surely this is not going to do any damage...
by pols45 | 2025-11-08 04:38:08+00:00
Not really. Microbes have been around for a long time. And there are more of them today than there are stars in the sky. No intelligence required. Plus they change so fast that what Life looked like yday can look totally different tomorrow.

As Lynn Margulis would say the chimps aren't the main show. Intelligence maybe an over rated and very buggy feature of Life. And the bugs get amplified as the minds interact with each other and group size increases.

The philosophers have talked about the bugs for a long time (see Plato's chariot, Hobbes passion vs reason, Freuds id-ego-superego, Kahnemann's system 1 vs system 2, Haidt's Elephant Rider). The mind needs stories to handle the bugs. And there is no dearth of stories on Earth to keep the 3 inch chimp brain occupied forever.