skysight-inc/HackerNews huggingface dataset:
The closest thing I know of is Allen Wirfs-Brock's jsmirrors prototype, but he never got to speccing out anything for DOM (and never really intended to as far as I know). Just capabilities for JS-the-programming-system.

You could look at jsmirrors for inspiration and take a crack at some sort of "dommirrors" yourself, but it's big undertaking. (There's a roundabout way to go about using jsmirrors as-is to kind of achieve what you want, but it's not ergonomic.)

That being said, giving access to the DOM, even mediated/simulated, is almost certainly not what you really want. Figure out what you _actually_ want to allow the other side to do, and then just give them a capability that lets them do it. (For example, to let them add a button somewhere, you might think you need to give them an anchor point (parent element) where they can insert it and let them use `document.createElement` to make the DOM node that they're going to put there. But you don't actually want that—for them to have access to `document.createElement`, etc. What you want is for them to have an add-button capability. So give them that—go implement `addButton`.)

Moar: <https://news.ycombinator.com/item?id=30703531#30706060>

PS: don't listen to anyone who comes along and says that this is what CSP is for. It's not. (If we're being accurate, even for what CSP really is for, it's poorly designed, user-hostile junk and should never have been implemented or extended as far as it has been.) It's dangerous to depend on it.
Check out https://www.xn--pnvkarte-m4a.de/ for a good global map of all connections everywhere (based on OSM data)
Rent is 13k a month, so instead of lowering the rates the store fronts stay empty. Well DUH! There is obviously a rent that would make shops profitable but its probably not 13k a month. Maybe its only 5k or 2k or even 1k. If you want to fill the shops you have to bring the prices down to what the market can bear.
That is the combination of observations and the mathematical theory to explain the observations.
You might be missing the dot com boom in your analysis. MBA types flocked to the tech sector looking for those IPOs, a trend that I suspect has only grown stronger since.
Hey!

Thank you for answering!

Today I solved the scroll bug and yeah and great idea about the sources!
This is honestly a good idea (with an actually attractive model instead). I expect Lenna will never die at this point, and honestly, why try to expnge her from history. The best way to fight a meme is with another meme.
I made a TikTok View Booster with captcha bypass
I recently made this project and i was wondering if someone could give me some feedback!

What My Project Does: It uses selenium to enter in a website that gives you 1k views each 1-2 minutes, and it automates this whole process, including the captcha.
I was on the board of directors for a local Linux Users Group and can echo the difficulties in finding a venue. In a city full of empty office spaces on a weekday night it was virtually impossible to find a stable meeting location. Without a stable meeting location you are much less likely to establish a core group since people do not like to have to learn how to get to different venues.
Mozilla hosted us at one point but the political tides changed there and we got kicked out. I think having strong buy in from someone in the C-suite of a company is the only real way to do it. Otherwise you are beholden to the changing winds of the company.

In the end we are now in a stable location in the local library, but only because we had someone on the inside. Previously when we approached the library we were stone walled without someone to grease the wheels.

I do believe that it should be a mandate for the municipality to provide meeting space for local non-profit and special interest groups. In many locations you can no longer pool some money with your buddies to buy a piece of land to build your clubhouse on. In my city there are many such clubs which were formed 50 years ago — the sailing club, the badminton club, the lawn bowling club, etc — but land is too scarce in many places now and we need the municipalities to pick up the slack.
> Many a careers were launched by playing around with OllyDbg and learning to reverse engineer code all so you could create an awesome plugin [0] for the community.

My career was launched by StarCraft! I've never been to high school or college. I played waaaaay too much StarCraft in my teens, and ended up writing a bot to maintain the chat room my friends were in.

The entire network stack had been reverse engineered, criticized, and documented if you knew where to look. Eventually that documentation made it to the public.

I interviewed with Blizzard a decade ago. I heard one of the interviewers state that the community documentation [0] is better than Blizzard's own internal documentation.

I now write software to fly drones. It's fun as hell and I'm glad of ye olde Blizzard. I know some are here on HN -- thank you guys for being awesome :)

[0]: https://bnetdocs.org/
> but I'd wait for some 1 year use reviews before even thinking about it.

This is a solid strategy for just about any new company/product-line.

Even with years of experience in drones, DJI had an insane amount of (mostly positive) change between the first and second generation of mavic drone.
I highly doubt it’s foreigners to be honest.

I live in a plain Portuguese neighborhood of Porto. There are virtually no foreigners. At least I never see any when walking around or going to a grocery store. I maybe see one a day out of 100s of Portuguese people.

Yet my local Portuguese landlord keeps jacking my rent every year by a huge margin way exceeding the government norms.

Who forces them to do that?

They don’t even live in the city. They live outside in the Douro valley.

It’s just pure greed.

It’s a self fulfilling prophecy. They see average values went up and they adjust accordingly.

And why did the values all of a sudden go up on my neighbourhood with no foreigners?
It wasn't really a landslide though.

The winners only received ~1.5٪ more votes than their previous "disastrous" result.

The gains were largely due to the incumbent Tory votes being split by Reform, an extremely anti-immigration populist party.

> as an outsider, UK housing prices outside of London are actually quite affordable.

Much like Arkansas/Mississipi, both opportunity and salary are much lower than high CoL areas like London/California.

Both rent and house prices in the UK have far outstripped our comparable neighbours and are causing real issues for people.

New build housing is energy efficient but of poor quality and extremely expensive, often furnished with unusably small rooms.
Personally, I much better like postgres json syntax than whatever mongo invented.

Big fan of jsonb columns.
How David Sinkinson Bootstrapped AppArmor to a $40M Exit
I do. It was around 1955 when I was 7 years old. I said a bad word and my mother literally took a bar of soap and shoved it in my mouth. I still vividly recall how horrible it tasted and felt.
Show HN: A complete TS boilerplate to launch your web app
I've started developing an AdonisJS Boilerplate with Inertia. Unlike some previous boilerplates, like "Shipfast," which often promote quick-and-dirty coding for fast profits, my goal is to offer a cleaner, more maintainable solution.
Here's what I've included to make this boilerplate as accessible and developer-friendly as possible:

- Authentication: Social authentication, OTP, Magic Links, and credentials, along with complete account management features like password recovery.

- Payment & Mailing Integration: Seamless integration from start to finish, with multiple options to choose from.

- Detailed Documentation: Thorough explanations of every aspect, covering even the smallest, potentially confusing details in the code.

- Maintainable & Scalable Code: Organized by features, allowing you to easily drag and drop features to extend functionality.

- Developer Tools: Handy commands for generating new features and automatically adding necessary imports; A complete config to enable/disable a feature in less than 10 seconds...

- Pre-made Pages: Ready-to-use pages such as an admin dashboard for tasks like automatically updating products on Stripe.

- Extensive Component Library: A variety of components to streamline development.

I've designed this boilerplate to be as developer-friendly and robust as possible, aiming to support maintainability and scalability from the get-go.

Feel free to join the waitlist and check the website!

https://turbosaas.dev

Little demo on Twitter: https://x.com/wailroth/status/1809653795582013717
Replication is a prerequisite for evolution, not a product of evolution. If you’re interested in how replication first arose, you want to study abiogenesis, not evolution. The tricky thing about abiogenesis, though, is that it only has to happen once, which makes it difficult to study/model scientifically.
Types are meta data for the compiler. They are not code that is compiled to JavaScript, so I isolate my type definitions to d.ts files. That is the only reason I have d.ts files at all.
Residential water restrictions could save 500,000 acre feet. Greeeat...

Mind you, it's a drop in the bucket compared to the 26 MILLION acre feet of water used by agriculture and the 9 MILLION acre feet used by industry.
The time I'm saving is not waiting in line because some stores are ludicrously understaffed.

Targets in my area don't suffer from this, but I know of one grocery store location that seems to have a single cashier, even on the busy weekends. This was true before self-checkout. I used to avoid this location at all costs, but with self-checkout it is somewhat bearable to pick up a few items. There isn't even someone at the self-checkout station to help you out if needed.
There's always a debate about whether Kafka is a database.

Well, it's ability to retain data in a durable and replicated manner does give it some database-like properties, which can be helpful in specific scenarios.

In this article, we'll draw a connecting line highlighting similar properties of Kafka and a conventional database.

By the end of this article, you'll understand when Kafka might be perfect for database-like use cases and when it should be used purely for its intended purpose as a streaming platform.
Elecia White also has a podcast about embedded systems together with her boyfriend (I think).

They talk to interesting people related to embedded.
But that last sentence is the Creo supporters whole argument - self interested management get much more out of rent seeking in a nice profitable company while seeing their hierarchy position reinforcing their social
Status- in short as long as everyone keeps being “performative hierarchical management” and looking like they do a good job, there is no incentive to actually do a better job
This state of affairs is very much due to competition (instead of cooperation) and the feast-and-famine shape of what software invention and development looks like, especially in the US.

It takes time and effort to optimize software for performance, user-friendliness, developer-friendliness and everything that ethical and mindful developers hold up so highly, but that’s not the kind of thing that the big money or academic prestige is very interested in. The goal is to get the most users possible to participate in something that doesn’t repulse them and ideally draws them in. The concerns of ethics, dignity, and utility are just consequences to settle, occasionally dealt with before the world raises a stink about it, but are hardly ever part of the M.O.

Imagine if developers could make a dignified living working to listen to people and see what they really need or want and can focus on that instead of having to come up with a better ‘feature set’ than their competitors. It’s essentially why we have hundreds of different Dr. Pepper ripoffs sold as ‘alternatives’ to Dr. Pepper (is this really a good use of resources?) instead of making the best Dr. Pepper or finding a way to tailor the base Dr. Pepper to the consumers taste, assuming enough people claim they want a different Dr. Pepper.
High-trust and low-trust societies
Using ollama with dify via lobechat + superwhisper sounds neat. I have heard of dify but just took a cursory look at it. Will check it out.
I hope “we” learned our lesson with China and Saudi Arabia. Also the (mostly) failed wars in Vietnam, Afghanistan, Iraq, and Libya. The best you can do in a country that doesn’t adhere to principles of democracy is work with them on a limited basis. We will never, ever convince them to be democratic. That will only happen from within the country. For example there have been rumblings of revolt in Iran. Maybe we can provide access of burgeoning democracies to information and resources, but that’s about all we can do, as well as protect new ones like helping Ukraine fight the attempted genocide by Russia against the Ukrainian people. Our democracy is doing fairly well. We have a harsh polarity right now, but I think that is mostly driven by Trump and his MAGA allies. Not sure how that’s going to turn out, but I think Americans are too independently minded to watch Trump just settle in and destroy our country with concentration camps, imprisonment/elimination of his political opponents, iand military occupation of “blue”cities that he has been advertising as part of his campaign.
How did I miss this xkcd until now?
Ubuntu Development Sprinter
Book Review – Corruption: What Everyone Needs to Know
I keep hearing this, but my personal experience refutes this. I first encountered cilantro at the age of 15 and I immediately thought my soup bowl has unwashed soap in it. I did not eat cilantro-included dishes for years after, but fast forward 2 decades and I love cilantro now. I can't really detect the soapyness that once bothered me so much.

I don't think cilantro preferences are as set in stone as the story alludes.
Thanks. Much of the discussion I used to enjoy about post-mortems in game dev. There was some kind of choice that went into the design process.

On the unit selection, a personal view on the situation is that nigh-instantaneous unit commands and obedience approaches valley of the dolls. It becomes too much like Wargames calculating theoretical death scenarios, abstracted from the issues of actual army logistics.

It takes some non-zero time. Units are not always doing exactly what they're supposed to. The fog of war is often worse not better than the game abstraction.
The Org: The Underlying Logic of the Office
Thanks. Despite being Not A Project I did edit to add optional image previews and reuse the regex object, so grab the final version if you want.

I should have mentioned this is paired with uBlock Origin to block Youtube iframes (and indeed all iframes) globally. At the time I was writing it to unbreak embedded videos.

https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-qu...

https://github.com/gorhill/uBlock/wiki/Blocking-mode

https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium...

From uBO My Rules tab:

* youtube-nocookie.com * block
* youtube.com * block
* ytimg.com * block
youtube.com youtube.com * noop
youtube.com ytimg.com * noop

To block all iframes (except sites you whitelist, see links above):

* * 3p-frame block
Hot Dog Variations
Ask HN: What's your software idea that is either genius or astoundingly stupid?
At lunch the other day, a bunch of engineers started talking about their pie in the sky software ideas. One guy wanted a database of public bathrooms with cleanliness ratings. Another one wants to make a photo based scavenger hunt. My dream software is a webscraper that alerts me when campsites become available. What's your wild software idea?
Maybe, or he could be even worse, or maybe Russians will get someone who isn’t quite so bloodthirsty and delusional. It can’t be that everyone is delusional about restoring the USSR when China sitting on their backside ready to take all their resources.
I started a Toronto meetup with people here on HN and the Fediverse.

Running a stable IRL meetup is a lot of work!
Selective, Corrective, Structural: Three Ways of Making Social Systems Work
N choose two, not N^2. The latter double counts and also counts people communicating with themselves. For example, with 2 people, it is not 4 paths of communication, but just 1.

N choose two is n*(n-1)/2, which yields the right answer

In asymptotic analysis, they are the same. Except, that analysis does not make sense, asymptotic refers to the growth of the function as values approach effectively infinite
I have been thinking recently that Mars and maybe the Moon would need to use asynchronous messages. Basically, email but with multiple message types.

For browsing the web, they would send a message requesting a page, and get back the messages for the page in 30 minutes. They would probably send a request for whole site instead of round-trips for links.

This means that interactive JavaScript sites would never work. There would need to be way to download app or web app that could send messages to update state. Or way to install local server that can sync with Earth.
Americans? This is using "law" to mean something akin to "scientific law", such as Newton's three laws of motion or Mendel's three laws of inheritance; it's a description of what will happen. People were using "law" in this way since before the USA even was a country lol
She is one of the best lawyers and jurists in the country, certainly much better than 99.999999% of the people on HN
Power is also limited by air density (the degree of this limitation depends on the engines for the particular aircraft). So it's a double-whammy. Hot/thin air raises the power required while reducing the power the system is able to produce. This might be offset by shedding weight (reducing the power needed since you're lifting less), but there are limits there as well since a lot of things are either bolted on or necessary for the mission.
Having walked people through both I’m going to say setting up a client for an S3 clone is easier.
I am aware. I only use d.ts files to store statements starting with keywords type or interface.

BTW, jQuery is pretty small. With good lint rules you could probably manually type everything without missing anything in less time than you think. Whatever time is spent doing this manually apparently is worth the cost savings comparing to long compile times if takes more than a few seconds. You only need to write the types once and then again on major refactors. If your builds just take seconds you can run them dozens of times a day. If your compile time is hours then whatever automation you imposed to write your types or d.ts files for you is entirely self-defeating as its costing you dramatically more than just doing it manually one time.

When you have a large project types are written as the code they describe are written, so its little more effort than typing on the keyboard in a separate file.
I thought we were past the era of counting in milliseconds for load time now that half the web insists on using cloudflare security checks
So are you saying what USA and states should do is to give very large tax breaks for H-1B visa holders to make them more competitive against native and allow them higher living standards?
Fluffy.

Article has a nice "average height by nation & decade" chart...but makes no mention of how Dutch height trends seems to march in lockstep with neighboring countries in some periods, but strongly diverge in others. And no mention of the grim WWII Dutch Hongerwinter ( https://en.wikipedia.org/wiki/Dutch_famine_of_1944%E2%80%931... ), nor of the direct, epigenetic, and cultural effects it obviously had.
Ask HN: What are your predictions for the next 10 years?
Seems like a fun topic. Some previous discussions:

https://x.com/TechEmails/status/1809972513935663590
https://news.ycombinator.com/item?id=21936234
The NixOS Conflict in Under 5 Minutes
The plan is to evolve it to a full frontend. For ex connect your backend api and generate ui for your content and use custom domain directly (handling pagination also).
Use for dashboards etc.
That any prediction over a 10 year span will be wildly incorrect.
The couple of times I did a lookup it was woefully outdated as well.
If you're going to post articles that are behind a paywall, you should at least post the archive link so that we can read the article
L.A. drivers who ditch their cars can get $1k from Uber
Ask HN: Scientific/Social Research on Social-Withdrawal/Isolation?
The most well known form of Social-Withdrawal/Isolation is "Hikikomori". Though it first rose to infamy in Japan (perhaps due to their unique cultural norms) it is a Worldwide Social Phenomenon which i feel is being exacerbated due to Social Media/Gaming/Internet usage. Autism and Depression may also be relevant factors here.

Does anybody know of any comprehensive studies (Biological/Genetic/Psychological/Neuroscience/Social/Cultural etc.) being done on this disorder? Are there any researchers here who are studying this subject? What are the different forms of manifestations of this disorder eg. "Tang Ping(aka Lie Flat)" and "Bai Lan(aka Let it Rot)" phenomenon from China?

Note that i am not just asking about extreme social-isolation but a spectrum of what could be considered as pathological social-isolation detrimental both to the individual and society at large.

And finally what are the remedies shown to work as a cure?
Most of the geniuses in computer science would struggle doing all of this in 12 weeks.
The human body is a non-orthogonal system. Everything in it is interconnected and exists in interrelated dynamic tension. We're still finding new structures in living humans that went undetected in cadaver analysis [1].

If you've written any code at all, you know that a non-orthogonal system is incredibly complex. It isn't just a matter of complexity scaling linearly with the count of the individual parts. Complexity scales with the interactions between each component, and between the assemblages of those components that have emergent interactions. Change one line of code, and you get wildly different behavior in another part of the system, or seemingly nothing for a long time until the system deletes its own database suddenly one day.

Curing cancer is a dramatically broad statement, because each kind is different, interacts with a different part of the body, and has different ways of growing and sustaining itself. Each intervention causes a cluster of unintended side-effects, again, because the body is a non-orthogonal system. Even your simple statements fall flat. Most cancer cells disguise themselves as normal cells from the perspective of the body's immune system. It's why the cancer can grow at all. The other factor is that most things that would kill cancer cells would kill cells... in general. Pull one thread wrong, fix one bug the wrong way... you end up doing more harm than good.

Maybe we'll get to a point where we have combinations of nanotech and gene therapies that eliminate most cancers. But it won't be simple. Getting there in an ethical fashion makes it even harder. How do we experiment with this kind of nanotech (which is not even off the ground yet). How do we experiment with this kind of gene therapy (we have more traditional paths to tread here, but there are still some quandaries).

We're just not there yet, and I doubt it will ever be something as reductive as your two items.

[1] https://www.science.org/content/article/scientists-say-they-... (2018)
Aren't calculators still banned in primary education? From what I know, you cannot use them during most tests.
jsonb isn't web scale. Mongo is web scale.
it's technically possible to separate into stems but not sure how well it works in practice
I'm glad you liked it. I'll definitely take a look.