MurphyA/hacker-news huggingface dataset:
by andrewstuart | 2025-05-11 19:58:05+00:00
I’m building a plain vanilla web application right now.

The main reason is I want direct control of the DOM and despite having 10 years or more react experience, it is too frustrating to deal with the react abstractions when you want direct dom control.

The interesting thing is that it’s the LLM/AI that makes this possible for me. LLMs are incredibly good at plain JavaScript.

With an LLM as capable as Gemini you rarely even need libraries - whatever your goal the LLM can often directly implement it for you, so you end up with few of no dependencies.
by bigyabai | 2025-05-11 19:58:17+00:00
> Just remember why we’re here in the first place — the United States has a massive $1.2 trillion trade deficit, so the President declared a national emergency and imposed tariffs, and we’re confident that the deal we struck with our Chinese partners will help us to work toward resolving that national emergency.”

This feels less like a press release and more like being scolded by an H&R Block employee for not refinancing my loans.
by Freak_NL | 2025-05-11 19:58:22+00:00
In the Netherlands no less than twenty trade associations sent letters to the government on behalf of their shopkeeper members urging legal action to prevent Klarna from coming. Part of it is that Klarna is fairly expensive compared to the common payment methods (i.e., cash and debit cards). Klarna charges a whopping 4% of the purchase price, whereas using a debit card (perhaps 95% of payments in physical shops) costs a fixed 17 euro cents, and cash costs just the costs of keeping it around safely and getting it to the bank.

But there is also the realisation that a customer who uses BNPL today, won't be coming back next month when they are paying off their loan.

Dutch shopkeepers do not want Klarna, but if major chains like Primark etc. do it, they fear customers will start expecting it.
by ashishbagri | 2025-05-11 19:58:37+00:00
Thanks for your question. In GlassFlow, we use NATs Jetstream to power deduplication (and KV store for joins as well). I see from your blog post that segment used rocksDB to power their deduplication pipeline. We actually considered using rocksDB but used NATs JS because of added complexity in scaling with rocksDB (as rocksDB is embedded in the worker process). Their indeed is a small network latency in our deduplication pipeline but our end-end latency measured is under 50ms.
by habi | 2025-05-11 19:59:30+00:00
> And I don't know about OSM's techniques,

Here's the OSM Wiki page on 'disputed territories': https://wiki.openstreetmap.org/wiki/Disputed_territories

The official document from the OpenStreetMap Foundation is here: https://osmfoundation.org/w/images/d/d8/DisputedTerritoriesI...
by tomtomtom777 | 2025-05-11 19:59:32+00:00
This is exactly how I've learned to create my first Windows programs about 30 years ago, except that I'd use a C++ compiler.

I am not sure why but I believe writing C style code with a C++ compiler was how the windows API was documented to be used. I think Microsoft just went with the idea that C++ was an improved superset of C so should be used even for C-style code.
by fallingknife | 2025-05-11 19:59:33+00:00
Those who want education on subjects they are not employed in or "a broader more holistic understanding of the world" (whatever that means) will get it themselves. Those who don't want it won't get it even if you send them to college. College is just 4 more years of school after you've already done 13 in K-12. It has no special properties.
by rjh29 | 2025-05-11 19:59:47+00:00
Here's a good example: I used Weylus which turns any touch device (phone, tablet etc) into a drawing tablet + screen mirror. It can be used to turn your iPad into a second monitor or as a touch device for your laptop.

Weylus gives you a URL that you can visit on the device and instantly use it. Try doing that with native apps. They'd need native apps for Windows, Linux, Mac, iOS, Android... get them on the app stores too, support all the different Linux distros... or just a single URL that works instantly anywhere.

Steam works for the same reason the App Store works, it targets mostly a single platform (Windows) and all dependencies are bundled in. The Steam client itself is a web app running on the chrome engine, though.
by gmd63 | 2025-05-11 20:00:35+00:00
They might say they want it, but like a wise parent guiding the BNPL spending habits of a teenager, government is right to step in and stop shopkeepers from seeking to cheese their way through business (only in the short term) by relying on a fickle and unsustainable base of new creditors.

Putting a new group of people into predatory debt is a nice way to juice your numbers before you dump your shares, but it's not a good way to sustain an economy focused on producing real value.
by shaboinkin | 2025-05-11 20:00:53+00:00
What I wonder about sea level rise is what happens to all of the development that gets swallowed by the sea? I’m not optimistic that there will be proper cleanup of the stuff that was built up over time. If I recall from the LA fires last year, the burnt down homes left some toxic stuff behind that require proper disposal. The same stuff in those homes presumably exists in the buildings and infrastructure that will be taken by the sea. How much pollution is going to be introduced into the environment? And what long term consequences will result from that?
by simonebrunozzi | 2025-05-11 20:01:16+00:00
I live in Venice, Italy. This issue has been urgent and critical for Venetians for a few decades now. The problem here is that even a 60cm (2 feet) increase in sea level would essentially:

1) force to shut the dams (MOSE) almost always during the year.

2) ruin the lagoon ecosystem

3) create uncountable damage to the city of Venice, and nearby islands.

4) possibly displace tens of thousands of people.
by stahtops | 2025-05-11 20:01:38+00:00
How do you square this with the article?

It states that consumer reports, (a for profit company providing independent reviews, and not a regulatory body) said the Model 3 stopping distance was not good. Allegedly due to a “bad ABS calibration”. Tesla released an OTA SW update.

Why wasn’t the bad calibration and degraded performance caught by regulators testing automobile safety standards?

The article also posits that this ability to make OTA updates expands the (IMO very very bad) SWE perspective that “it’s OK to ship unfinished and buggy products” into safety critical systems.
by thisdougb | 2025-05-11 20:01:38+00:00
This is an interesting podcast: https://corecursive.com/briffa-sep98-e/

"In this episode we explore the “Climategate” scandal that erupted from leaked emails and code snippets, fueling doubts about climate science. What starts as an investigation into accusations of fraud leads to an unexpected journey through the messy reality of data science, legacy code struggles, and the complex pressures scientists face every day."

He goes into the code/data that is seemingly the root-cause of a lot of "it's all a hoax." I found it pretty informative, as to how climate data is gathered and processed (by the scientists). And the limitations therein. He's simply trying to explain the cause of climategate, rather than advocate any view.

It's also a great example of a tech/dev investigation into root-cause analysis, of someone else's code. So it's interesting from that point of view, even if you're less interested the climate side of it.
by tonyarkles | 2025-05-11 20:01:53+00:00
Those are decent options but you can still run into really ugly issues if you try to go back too far in time. An example I ran into in the last year or two was a Python library that linked against the system OpenSSL. A chain of dependencies ultimately required a super old version of this library and it failed to compile against the current system OpenSSL. Had to use virtualenv inside a Docker container that was based on either Ubuntu 18.04 or 20.04 to get it all to work.
by yusina | 2025-05-11 20:04:09+00:00
It's 2025 and we are still discussing memory leaks. The very existence of this article is an indication that C++ (used like that) has an issue. Non-kernel programmers should not even be able to create memory leaks by mistake.

Well, unless they are doing something incredibly stupid including stepping over several explicit warnings of "don't do this unless you are very sure about what you are doing".
by bix6 | 2025-05-11 20:04:19+00:00
“Mitchell also notes that most West Coast localities have been fairly stable, despite past predictions that they would increase rapidly. “This has led to some questions about why,” she said.”

^ this interested me, apparently it’s due to geological uplift combined with regional water patterns. The regional water patterns are due to winds and the ENSO cycle, which can mask long term effects. Apparently it will increase faster once Antarctica starts shedding in earnest.
by _QrE | 2025-05-11 20:04:21+00:00
Is there a reason for using Selenium over something like Playwright? I haven't had very many positive experiences with selenium, and playwright I found is easier to use and more flexible.

Also, for stuff like this:

`modified_value = original_value.replace("HeadlessChrome", "Chrome")`

There's quite a few ways to figure out that a browser is a bot, and I don't think replacing a few values like this does much. Not asking you to reveal any tricks, just saying that if you're using something like Playwright, you can e.g. run scripts in the browser to adjust your fingerprint more easily.
by shubb | 2025-05-11 20:04:29+00:00
I think there is something like a pyramid scheme of people who sell classes, and people who sell classes about how to sell classes. The top level slowly pull the whole chain to the next fad and then the next. Drop shipping, ghost writing books for kindle unlimited, various flavors of wellness... you can watch them flow into a space and usually destroy it.

I'm curious how centralized the operation is. Individually it's a bunch of hustlers running their own little personal branding operation, but if each of them is in a masterclass, and the masterclass leaders are in a masterclass, has a small group of mega-influencers formed, and who are they?
by rhet0rica | 2025-05-11 20:05:13+00:00
No-framework web tinkerer here. If I had a nickel for every second of my life I've spent typing document.getElementById, I'd be able to afford new fingers. Should've been renamed to getId() and put in global scope two decades ago, if not three. At least querySelector() is a few characters shorter, but I always feel bad using such an alarmingly overdesigned tool for anything trivial.
by JumpCrisscross | 2025-05-11 20:05:26+00:00
> It is possible that measurements prior to 1970 are higher

Except for all the evidence from trees and Antarctic ice cores, sure. We couldn’t forecast hurricanes at all until the 1950s, and even then barely until the age of satellites, so 1970 makes sense as a starting point for high-frequency data. But let’s not pretend the lower-frequency data don’t exist. To the extent there is bamboozling afoot, it’s from the climate deniers.
by jFriedensreich | 2025-05-11 20:05:28+00:00
The capability system i hear talked about too little for some reason and is even more "chromey baby" is workerd using isolates. You can clearly see the lineage from sandstorm/ capnp and its kind of crazy something like this is finally in a mainstream platform. Sure, the concept is not taken to the extreme without much possibility to delegate / demote capabilities at runtime, but the direction is clearly what we need. Whenever i have to come back to other environments I immediately feel the lack of trust, clarity and control these have.
by serial_dev | 2025-05-11 20:05:43+00:00
I’m not sure I understand everything you said but I went with Dacia Duster, it’s the affordable brand, but I like that I can have a new car that has the controls and everything like a car from a decade ago… (lol) physical buttons, relatively good quality as they get to rely on Renault’s everything, I don’t need to go to settings to open the glove box, they don’t try to “out-innovate” everybody with ads, subscription heating, goofy scroll-knobs, or non rectangle screens. You can put CarPlay and Android Auto in it if you want.

Also, you can just buy older cars, that works too.

BTW, I thought about buying a Lada Niva, because I love the looks, but I heard it is not that reliable as you would assume, and they are pretty pricey for a car that is basically the same for forty years…
by metalman | 2025-05-11 20:05:51+00:00
most of the worlds water just so happens to be at around 2~4°C, which is where water density is the highest, warming or cooling a bit causes it to expand, so just maybe it warms up a bit, and the total increased volume is enough to flood, everything we want dry. Oh ya, we are on track for the warmest and most ice free artic summer ever.We just finnished the warmest and most ice free winter, so, ya, right. https://nsidc.org/sea-ice-today
by TrapLord_Rhodo | 2025-05-11 20:05:58+00:00
I don't really understand this comment.

You are the exact people that i am trying to avoid with this model. I'm not trying to make big deals with big companies who can be impacted by security. The Micro-SaaS model requires that when i get a client asking me those kind of questions, i run from them and tell them my tools probably not for you. Any app that requires sensitive data transfering shouldn't be done on the micro-saas model.

Micro-Saas requires small, simple tools that may be low-hanging fruit. Sometimes they aren't micro-Saas's, but just random tools that make money for you by creating a glorified Open AI wrapper and a bunch of integrations. Honestly, alot of the tools I see that make money for people are made on Make or replit. No code even required but definitly not going after the "we need sensitive info or PII" market.

All payments just go through their respective provider so not really a risk there too.
by idle_zealot | 2025-05-11 20:06:00+00:00
> And in the end I believe that courts need to be educated on how the Internet works

This is not an education issue. Rights holders want to use every tool in the box to add friction and barriers to piracy, courts offer pushback only when that would result in a marked loss in utility for ordinary users. They do not care about the sanctity of DNS or whatever engineer-brained ideals are being violated.
by MrJohz | 2025-05-11 20:07:19+00:00
Well it's not a lie, it's how HTML and the DOM work. Attributes are strings, and what you write in HTML will be passed as attributes.

You do also have access to properties, but only in Javascript — you can't for example write something like `<my-custom-component date="new Date(2024, 02, 04)">`. That means that if you need to pass around complex data types, you need to either manipulate the DOM objects directly, or you need to include some sort of templating abstraction that will handle the property/attribute problem for you.

This is my main criticism of web components. At the simplest levels, they're not useful — you could build this website very easily without them, they aren't providing a particularly meaningful abstraction at this level of complexity. But at the more complex levels, they're not sufficient by themselves — there's no state management concept, there's no templating, there's not even much reactivity, other than the stuff you could do with native JS event emitters.

As far as I can tell, the best use-case for web components is microfrontends, which is a pretty useful use-case (much better than iframes), but it's very niche. Apart from that, I really don't see why you wouldn't just write normal Javascript without worrying about web components at all.
by bell-cot | 2025-05-11 20:07:29+00:00
Also: https://en.wikipedia.org/wiki/St._Francis_Dam

I noticed this:

> St. Francis Dam was completed in May, 1926. [...] The dam cost [...] 1,300,000 dollars.

These days, in many parts of the U.S., $1.3M wouldn't build you a decent upper-ish class house.

100 years from now - will $1.3M even buy you a scoop of ice cream?
by soneca | 2025-05-11 20:07:41+00:00
I would blame 90% of your lack of bites at your horrible mobile UI.

Mobile UX is important for everyone. For content creators, your target market, is crucial. If you postponed it for any other feature, you underestimated it.

For what is worth, I had a great experience using Cursor/AI to make a web app style mobile friendly. It also did some help with the copywriting as well. I would give it a try if I were you.

No intention of being harsh, but, from my point of view, your mobile UI is breaking your business. So immediate action seems advisable.

Good luck!
by Pansy3 | 2025-05-11 20:07:48+00:00
Location: Cape Coast, Ghana (UTC+00)

Remote: Yes | hybrid | onsite

Willing to relocate: Yes, Europe

Technologies: Typescript, Python, PostgreSQL, SQL; Crystal, Elixir, Java, Kotlin, Ruby, C/C++, Go, Angular, Vue, Android, Flutter, Linux, Docker, Terraform, Kubernetes, GCP, AWS, Shell, NestJS ...and open to learn new technologies.

CV: https://drive.google.com/file/d/1M-tUwpkBlnZYPDQcwCeezzFXHa3...

Email: ephrimlawrence11@gmail.com

Hi, I’m Lawrence, and I'm passionate about building impactful products. I am a full-stack engineer with over five years of experience. I am proficient in TypeScript, Python, and Java, and I have experience with frameworks such as NestJS, Laravel, and Flutter. Additionally, I have experience in DevOps with GCP and AWS, as well as system administration. I learn quickly, enjoy new challenges, and thrive in team environments.

I am flexible with remote, hybrid, or onsite work and open to relocation. I am also looking for remote opportunities anywhere.
by fallingknife | 2025-05-11 20:07:58+00:00
> those pesky general ed requirements that might accidentally tell people how to fight against the elites running the system

There is no group of people I have encountered in my life that I have as much contempt for as the professors and administrators at the $60K tuition (I went for free) private university that pretended like they were fighting against the elites that run the system when they are, if fact, those elites. The level of delusion in the non hard science parts of academia is absolutely mind blowing.
by absolutelastone | 2025-05-11 20:08:13+00:00
Their timeline sounds right to me. The dot com bubble was about big dreams but ended up with far less reality when stock options crashed to nothing. There was a finance bubble after the internet bubble and you could make a lot more money as a quant.

The big tech firms finally started doing RSU's insteda of stock options in the early 2000's, though most startups still were (and are) lagging way behind.
by duncanbeevers | 2025-05-11 20:09:10+00:00
There's a great paper implementing this idea in the node.js ecosystem; [BreakApp: Automated, Flexible Application Compartmentalization](https://ic.ese.upenn.edu/pdf/breakapp_ndss2018.pdf) which modifies the `require` signature to allow specifying a security scope in which the module can be run.

It doesn't quite work at the capabilities level, but it does provide some novel protections against unusual supply-chain attacks such as denial-of-service attacks which may otherwise require no special capabilities.
by daitangio | 2025-05-11 20:09:26+00:00
Hum for me vanilla is html+css. If you throw in javascript language, I do not see the 'vanilla' anymore :)

I ended up using hugo + isso (for commenting) and it works very well. I moved to this setup after the wordpress drama, and even if I miss something, freedom has no price: https://gioorgi.com/2024/liberta-come-aria/
by jpyles | 2025-05-11 20:09:50+00:00
I am quite aware, but I actually built most of the scraping logic a long time ago, before I even knew that playwright was a thing.

I am looking to refactor a lot of this, and switching over to playwright is a high priority, using something like camoufox for scraping, instead of just chromium.

Most of my work on this the past month has been simple additions that are nice to haves
by musjleman | 2025-05-11 20:10:08+00:00
> those global variables...

What about them? In a 500 loc app there is no practical difference and there's only ~20 of them with clear purpose.

> Use std::string <...> or std::list <...> remove all the malloc, etc

> still compile to the same assembly language without the bugs.

I see you have no clue what those things actually compile down to.
by moritzwarhier | 2025-05-11 20:10:09+00:00
That's primarily because many SPAs aggressively prevent caching of all xhr responses using headers (which are ofc defined from the BE side)

And the reason for that is mainly to prevent edge cases and make sure people in CRUD apps see up-to-date content.

The experience with a no-cache max-age=0 server-rendered site would be very similar.

All of the headaches around custom routing code + restoration of state are pretty much obsolete wirh bfcache, introduced more than 5 years ago.

If you build a dynamic page and use HTTP headers to prevent caching, stop complaining about it. Most people making this argument want to offload dealing with external APIs to the frontend, and then complain about the result when no requirements around API response caching were defined, let alone time was given to define them.
by LegionMammal978 | 2025-05-11 20:10:25+00:00
> For the naysayers: please then explain to me why Steam is so successful at deploying large games on multiple platforms?

Because Valve puts lots of time and money into making it work for their customers (https://github.com/ValveSoftware/Proton/graphs/contributors), time and money that the average small business can't afford.
by jruohonen | 2025-05-11 20:10:54+00:00
"In the cyber security industry, however, marketing is everything. Names are chosen to invoke a visceral reaction and to promote fear. That fear helps to turn people towards expensive high-tech security products."

"Often, the high-tech services that the cyber security sector sells protect the front door, while offenders continue to sneak in the back one using low-tech methods."
by AlotOfReading | 2025-05-11 20:11:23+00:00
The rest of the car doesn't function within specifications for years. That's what recalls are fixing. These days, a lot of software recalls are being issued to work around physical design "bugs". The Tesla cybertruck frunk pinching issues are a well-publicized example.

But, do you have an example of a software project anywhere that's bug-free? I'd include the space shuttle code, but even that famously high quality development process produced a (low) number of bugs.