skysight-inc/HackerNews huggingface dataset:
The problem with stuff like this is that it saps the (finite) energy of your team. Not everyone is a tank. High int lose their hit points and they're gone with all their mana.
Creating AI-Enhanced Document Management with the GenAI Stack
Have we done full circle?

When I started doing this "Internet stuff" we were called "webmasters", and job would actually include what today we call:
- DevOps
- Server/Linux sysadmin
- DB admin
- Full stack (backend and frontend) engineer

And I might have forgot some things.
Apparently they're working on a DUV 3nm process, which is a little insane if you think about it. Would certainly be interesting to see it working, if it does work.
Over four years this is accurate
Link to your book?
There is CodeQwen, too.
> “If you ask people how many marathons they have run in the past year, they’ll say one two,” she says.

This is so sad. Depending on length and style, I might run 2 marathons in a month.
It is used in industry, yes, but is still quite niche. For example I know of journalism tools at media companies, document systems, websites, and a payroll system. It's definitely used as a stable platform in a few places but could use more libraries (things are getting active there though, plus you can reuse anything from the Java world).

The docs really need some love.. : - )
Yeah, but due to range and slow charging vs. refilling, electric cars are mostly used for city/commuting, where speed isn't that high to make a difference in aerodynamics.
As a non Mac reference, I work on a HP laptop from 2014. It was a high end laptop by then. It's between 300 and 600 Euro refurbished now.

I expanded it to 32 GB RAM, 3 TB SSD but it's still a i7 4xxx with 1666 MHz RAM. And yet it's OK for Ruby, Python, Node, PostgreSQL, docker. I don't feel the need to upgrade. I will when I'll get a major failure and no spare parts to fix it.

So yes, low end Macs are probably good for nearly everything.
"Last 20 years" is a pretty sweeping statement.

Like there are no auteur anime since 2004?
Not me but for 30+ high chance
might have to do with the increasing blatant Chinese military supply to russia - China Providing 90% of Chips Used in Russia, Despite Sanctions

https://www.asiafinancial.com/china-providing-90-of-chips-us...
UI inefficiencies give time for the mind to relax?

On my side I'd much rather have the efficient UI but I can imagine people getting tired if their mind is working 100% all the time.
I have no idea what you are getting at. I just stated that you alloc/realloc what you require for your type. If you want to over-allocate, do it. But I don't see the need to know the size of the memory block that fulfilled your request.

That also gives the allocator the flexibility to use part of a block that it gave to you for someone else if that makes sense.

E.g. you request 200 bytes, a block of 256 bytes is actually allocated. Now you request with some other code 30 bytes. If the allocator had told you at allocation time "here are your 200 bytes, but just so you know, there's another 56" it could not hand the unused part of the 256 bytes to the next allocation.
> Jobs at software companies in the US.

A few very rare jobs at software companies in the US.

The BLS median for 2024 is way lower, at $110k. (Yet at the same time, still much higher than parent-poster's $40k figure.)
> t seems like a lot of these are problems currently ignored by existing frameworks

They are not ignored. They just don't exist or, indeed, are solved by other, better means (or indeed better web specs like CSS scoping etc.). Let me quote directly from the doc:

--- start quote ---

It's worth noting that many of these pain points are directly related to Shadow DOM's encapsulation. While there are many benefits to some types of widely shared components to strong encapsulation, the friction of strong encapsulation has prevented most developers from adopting Shadow DOM, to the point of there being alternate proposals for style scoping that don't use Shadow DOM. We urge browser vendors to recognize these barriers and work to make Shadow DOM more usable by more developers.

--- start quote ---

To put simply, "many of these problems exist only because web components exist, and they are so bad that developers actively avoid web components and seek other solutions".

Here is a list of issues that literally don't exist anywhere except web components (so there's nothing to ignore):

- Composed Selection

"Since existing Selection APIs can represent only a single selection in a document, bound to a single Range, the need for an API to represent ranges over a composed tree has been generally acknowledged since at least 2015."

- Constructable Stylesheets & adoptedStyleSheets

The only way for web components can share stylesheets without duplicating them

- Cross-root ARIA

"Shadow boundaries prevent content on either side of the boundary from referencing each other via ID references. ID references being the basis of the majority of the accessibility patters outlines by aria attributes, this causes a major issue in developing accessible content with shadow DOM."

- CSS Properties and values inside shadow root

- Anything related to declarative templates: Declarative CSS Modules, Declarative Custom Elements, Declarative Shadow DOM

- DOM Parts

"Enable batched updates to the DOM, usable by library/framework view engines."

This is actually useful. Why the hell it's tied to Web Components? No one knows. But yeah, all/most frameworks have a solution to this, and web components are useless as a foundation for web frameworks without it

- Form-Associated Custom Elements

Yup, you still can't make a custom button that behaves like a submit button in web components

- Lazy custom element definitions

Web components are eagerly rendered whether you want it or not. I don't think there's a single framework that doesn't have lazy loading/rendering/rendering on demand

- Open styling of shadow roots

- Styling children of slotted content

- Theming
I am a migrant from a non-English-speaking country, and I used to be a journalist a long time ago. Even though I migrated many years ago, I am still surprised when I see spelling mistakes like the one in this article, which is right up there in the deck (the line just under the headline). Back in Italy, someone would be having a bad day over something like this, but in the English-speaking world it seems to be commonplace, even in major publications, corporate websites, etc.

> Before Facebook or Twitter, there was Diaryland. But it’s creator just wasn’t a Zuckerberg and it faded into oblivion.

I think that this is because English ortography is highly nonphonemic https://en.wikipedia.org/wiki/Phonemic_orthography

It's an interesting topic!
who knows, they might use them in their factory.
You have a good point. Unless JS exposes some API to directly control the capacity, we have to guess which use cases are more common and which use cases are fine to ignore. On the other hands though, JS's lack of capacity control means that developers are not conscious about the memory usage after all and JS engines have to do something about that anyway. Indeed, if you look at the actual bug [1], one commentator does mention exactly what I have said:

> This is a great idea! Both shift() and pop() can treat the elements array as a dequeue. A "shrink capacity to 1/2 when usage is <1/3" would give us O(1) amortized performance for shift() and pop(), while avoid edge cases where we keep shrinking/growing for alternating add/remove ops around the shrink/grow boundary.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1348772
On shortcuts and longcuts
Most US libraries now seem to offer ebooks or audiobooks through Libby, which significantly reduces the effort required to try a bunch of new books. The new arrivals stuff often has a long hold period but it’s not really a problem when you’re just populating a “check this out” feed.
What an oddly aggressive and hostile response to such a banal observation. Yes, millions of people use software they hate, all the time, that’s wildly uncontroversial.
Is this brand new cpu faster or more energy efficient?
WSL is not a VM.
Edit: TIL WSL2 is a VM. I develop on mac and linux computers so should have kept my mouth shut anyways
It’s more precise to say that inline means “this definition might be duplicated.” Non-inline functions also are allowed to have their definitions provided inline with the declaration; the difference is that the linker will error if it encounters a duplicate non-inline definition.
He's not saying it's impossible. Just extremely difficult based on the statistics.
Those are only available in the EU, and Apple has been huffing and puffing even here.
> I'd wager $500USD on longbets that Web Components will still function in 20 years.

You've already lost that bet. WebComponents v0 was not only introduced and implemented, but Google rewrote Youtube with it.

It got promptly deprecated, replaced with v1, and v0 lingered for another four years before Google rewrote Youtube with v1
500k.agency
They have a lot more power than you might think from that quote.

https://en.wikipedia.org/wiki/National_Labor_Relations_Board...

They can now try Apple in an administrative court, with an 'administrative judge' selected by the agency, then get a (normal) Article 3 court to rubber-stamp their 'order'.
Was there a version of this article but focused on Web novels? Specifically in Asia?

Chinese Web novels have an interesting model, paid for word counts, release frequency and per chapter.

Honestly, I think such formats might be best for new authors, quickly gain money without needing to spend months without knowing if It'd even work. Although, it does have consequences on writing quality.
You really think that a 40 minute rambling video on how to set up, say, Docker and a piece of software on it is slower than the exact same content written with images?
How are you “publishing”?

Is it just an ebook?

Do you sell paper bound? If so what service are you using? Would you recommend it or choose differently next time?
Good question, I think the answer is even at thousands a window device battery can't hit 18 hour specs. Can someone name a windows device even at 2k+ that acts like an M chip? In fact the pricier windows usually mean GPU and those have worse battery then cheap windows(my 4090 is an hour or so off charge)
That's true and that's how I tried to have my resume but I've had quite a few recruiters saying something like "I cannot see a list of technologies you know". Which has been the opposite of what I've been told in the past, where impact and goals are more important.

So one can never win it seems :D
I'm now imagining a chat-service where initial access to each channel/room requires you to run your computer for ~6 hours overnight solving a mathematical puzzle, just to put "skin in the game."
> It's debatable if that's a fundamental problem.

Fundamental enough to be included in the list of things to still fix for web components: https://w3c.github.io/webcomponents-cg/2022.html#scoped-elem...
The train? What train? There isn't a train within 100 miles of here.
Great work. I've been following Petalisp for a couple of years now. It is one of my favourite CL projects
Yes thats a typo
As someone who reads a lot, it's actually hard to find interesting things to read. I'm a picky reader. I have a kindle and I use it a lot, typically late at night and on the weekend. I do most my reading in bed. Every day.

Most book sites are recommendation bubbles where once you get stuck in one you only get recommended things that you've already read or that you are not really interested in reading. Breaking out of these bubbles is super hard. So, I can see how it is hard for new authors to break into these bubbles.

And then of course there is the notion that a lot of authors are not attractive to a broad audience; which means reaching such an audience is quite hard. Some of the stuff I read is pretty niche. Most of that is in English instead of Dutch (my native language) because a lot of that stuff just is a hard sell in the tiny Dutch market. Entire genres are excluded from being translated for this reason. E.g. most of Neal Stephenson's work has not been translated (except for some of his earlier novels). Including several of his best sellers. Forget about anything similar from smaller authors. I'm not aware of any Dutch science fiction authors. I'm sure there are a few. And of course this works both ways of course. It's very rare for Dutch authors to get translated to English. The ones that do have to be successful in the Dutch market first. Which means they need to appeal to a broad audience.

If I were to become a novelist and would try to write some science fiction and do it in Dutch, I'd stand no chance getting any audience. And while I'm comfortable writing in English, I'm not a native speaker and it probably shows. Getting from alright to good is a lot of work and the bar is extremely high.

I have a hunch that AI assisted translations are going to revolutionize the literary world in the next few years. There's a huge opportunity for publishers to broaden their markets for already proven authors to essentially the entire planet. Of course that won't make things any easier for new authors.
If you don't want to read the full article but still wonder "huh I thought NES carts ran from ROM?", then yeah they do but the exploit manages to make the CPU jump into RAM that is used to store the high score table. Fantastic.
Kagi's summariser has been a life-saver for me. I can just feed any Youtube URL to it and it gives me bullet points about the content.

Then I can decide if I know enough or whether I want to listen to the full video.
- Antifragile

- Masters of Doom

- Atomic Habits

- How to Read a Book

- Books by Austin Kleon

I'm sure i'll remember more, but these were the ones that popped into my head. I'm trying to switch it up a little and start reading older books and get hooked so that I'm can reread those.
I don’t understand how so many HNers are anti-union and anti-collective bargaining.

The fact that corporations and billionaires are so anti-union and engage in regular conduct like this demonstrates that unions are pro-worker and ideal for the balance needed in the US and across the globe.

Balance is key between workers and owners. Without it we are left with growing wealth inequality such as…

- ridiculous housing prices

- stagnant wages

- poor public school education

- no retirement benefits

- expensive public universities
You wrote a book about a topic that you are very much into, and although it's only 60 pages, you were all about the contents, not the process or the readers. Often, authors just want to "write a book" or "be a writer". That rarely results in interesting books in my opinion.
Yeah. I've always heard this as: make your child a board member and then have them put their money in a Roth. No idea if that's an easy path to an audit
> Nameplate tuition is meaningless as the average student pays less than $5,000 in tuition at 4-year public schools.

The problem here is any parents capable of saving 30k a year for college are in an income bracket that instantly disqualifies their kids from getting any tuition assistance.

Heck back in 2002 I had a mom who drove a school bus and a dad retired on disability and they made enough money between them that I qualified for 0 assistance. We were very much "working class".

I just checked my local public university (University of Washington) and they list out of state costs as around 64k a year. 22k of that is non-tuition related expenses.

The university of Austin is 66k for 2 semesters. That will easily be 400k+ total for a bachelors in a other 18 years.

> Note that I'm looking for actual tuition net of grant-based financial aid for middle class families,

Not relevant to my situation. My wife and I make enough money that we cannot count on our son getting any assistance.

Also your entire premise is easily falsified by the number of students taking out large student loans. If the average tuition is only 5k, we wouldn't have a student loan problem in this country.

The same college board organization says students graduate with an average debt of 29,400.

Other sources (https://educationdata.org/average-student-loan-debt) say students average over 33k of loans to graduate.

If college really only cost 5k a semester, that doesn't seem right. Baristas could literally pay their way through college with zero debt. Heck one good summer internship at a large company would pay for all of college.
> Or proposes something better that otherwise solves the content model issues.

They have proposed it. They have also explained why the existing proposal for customisable built ins is a loaded gun waiting to explode.

> To date they have done neither

Tell me you know nothing about the topic without telling me that
On the other hand, reading a tutorial on how to do something is faster than watching a video of someone doing it.

It's a lot easier to skip over the bits you already know in written form, with video you need to seek forward, listen a bit, seek forward, listen, whoops too far, seek back a bit etc.
I wrote a book
And people are actually buying it, not sure if they read it through

But I get good reviews: https://a.co/d/etdEGSZ
> the actual environment you will be deploying to is almost certainly amd64

that’s up to your team of course, but graviton is generally cheaper than x86 instances nowadays and afaik the same is true on google and the other clouds.
And yet, very few frameworks use them as their foundation because they don't actually do any of the work that frameworks/libraries actually do, and introduce a ton of issues (some of them unresolvable).
> I don’t understand how so many HNers are anti-union and anti-collective bargaining.

You underestimate the appeal of libertarian propaganda to software engineers. It's got the oversimple but neat models we can't resist, plus our relatively advantaged economic position allows allows us to easily confuse ourselves for capitalists.
You still don't have any data supporting your claims that crime is high. All you say is that it's not always reported - which is well known and has been for generations, if not forever.

What shows that it's high? It's circular to say that the unknown numbers are higher, not lower, because you think crime is high.

> a large Democrat-dominated city

What does the political party have to do with it, unless this really is about your politics? Republican areas of the country have higher crime rates, last I checked. If you think there's a correlation between party and crime rate, feel free to show us.

> (Pew data)

It's great to have some data, thanks. I don't know that anything has changed, however, though I imagine numbers were different during the pandemic and immediately after.

Numbers could be better now, for all we know.
You can skim through text - a skill many kids today don't have. They really think you need to READ every word.

Just skimming through a long-ass tutorial finding the bit you need seems like a superpower nowadays with the younger generation resorting to watching a 45 minute video instead.
Yep, pretty much. They're a pain to develop for but worth it if you're writing libraries.
Cecilia Payne-Gaposchkin and the Making of Stars
Hmm, that is an interesting take. Calculus does seems like the uniting factor.

I've come to appreciate the fact that domain knowledge has a more dominant role in solving a problem than technical/programming knowledge. I often wonder how s/w could align with other engineering practices in terms of approach design in a standardized way so we can just churn out code w/o an excessive reliance on quality assurance. I'm really hoping visual programming is going to be the savior here. It might allow SMEs and Domain experts to utilize a visual interface to implement their ideas.

Its interesting how python dominated C/C++ in the case of the NumPy community. One would have assumed C/C++ to be a more a natural fit for performance oriented code. But the domain knowledge overpowered technical knowledge and eventually people started asking funny questions like

https://stackoverflow.com/questions/41365723/why-is-my-pytho...
>Even in the higher end products like the MacBooks you see a lot of professionals (engineers included) who choose it because of its price-performance-value, and who don’t give a shit about luxury.

Most CS professionals who write code have no idea what it takes to build a desktop, so the hardware that they chose is pretty much irrelevant because they aren't specifically choosing for hardware. The reason Apple gets bought is mostly by anyone, including tech people, is because of ecosystem. The truth is, nobody really care that much about actual specs as long as its good enough to do basic stuff, and when you are indifferent to the actual difference but all your friends are in the ecosystem, the choice is obvious.

You can easily see this yourself: ask these "professionals" about the details of the Apple Neural engine, and its a very high chance that they will repeat some marketing material, while failing to mention that Apple does not publish any real docs for ANE, you have to sign your code to run on ANE, and you have to basically use Core ML to utilize the ANE. I.e if they really cared about inference, all of them would be buying laptops with discrete 4090s for almost the same price.

Meanwhile, if you look at people who came from EE/ECE (who btw on the average are far better coders than people with CS background, based on my 500+ interviews in the industry across several sectors), you see a way larger skew towards Android/custom built desktops/windows laptops running Linux. If you lived and breathed Linux and low level OS, you tend appreciate all the power and customization that it gives you because you don't have to go learn how to do things.
Okay, I'm glad we've got that sorted out.

What I do is put the VPN client into a tagged network namespace (yes, fwmark), and then have a routing rule that makes everything else use a separate routing table.

The DHCP server inserts rules into the routing table used only by the VPN client.

Doing it that way, all leaks are prevented, and also there's no way to denial-of-service traffic within the tunnel - no matter what routes are pushed, it keeps flowing as normal.

No source NAT is required, only `MANGLE`.
Damn, I should write more C++ again. I am missing so much fun. (Edit: I am not sure myself if I mean this sarcastic or not)
Related to not knowing everything, there's also this mal-assumption that if the candidate doesn't know something simple (and obvious to the interviewer) that they will never be able to figure it out on their own.
Preevio – The simplest survey builder you will ever see
Why would you read that?

I just mean that if you put 2 experienced people talking about a topic they both know, it should be pretty easy for both (or at least the interviewer) to get a rough understanding of the level of the interviewee.
I am very interested in parsing and optimizing them. Currently I have an html parser written in go. I have used Go's html parser but it is waaay slower than mine. Here what I do:
- stream the content (either from a file or from network) and send chunks to the tokenizer

- tokenizer is dead simple with a state machine

- when an html tag is found, emit the token with positions (problem is someone needs to hold the whole incoming buffer. currently its copying the incoming bytes but I plan to hold the bytes until a token is found. after emitting the token with the buffer (copying) the inner buffer will be freed)

- parser does its thing and creates a DOM

as you can see I am not well versed in optimizing to the last bit but I am very interested in diving deep into the optimizations.

Currently I am looking at zero-copy networking. there is supposedly a library for go (fasthttp) that would not copy bytes from networking interface but I havent tried it yet.

What kind of algorithms would you recommend for tokenizing & parsing html / xml very efficiently ?