skysight-inc/HackerNews huggingface dataset:
> Web Push works even when all browser windows are closed.

Well... "works" ;)

But that is the idea, and that is why a lot of developers were excited about web push. It says something about the state of web notifications that we all got excited about being given the opportunity to set up a remote server, track notification subscriptions, and manually trigger them via an HTTPS request. And yet, we did get excited about that; that was seen as an improvement.

And I guess the joke is on us for thinking that if we did all that the phone would finally actually show the user the notification reliably :)
How to Verify Leak Data?
I try not to engage in discussions on social media but some days I read something and duty calls.
Yeah but that’s been the case since search existed. It seems unlikely that somehow now that’s become an urgent problem or requiring login will fix anything.
This is the quick hack I use to check my microphone is working with my browser:
https://homepages.inf.ed.ac.uk/imurray2/tmp/echo_recorder.ht...

It's a self-contained page, using just javascript without sending any data anywhere. You can take a copy of the .html file and use it locally, or host it somewhere you control.
I haven't used Nix. It looks like it might be a good solution for CLIs and developer tools, but from what I know of it, it doesn't supplant Docker (or snaps or manual installation/configuration) for the kinds of things I use Docker for. Most of my personal Docker usage is for selfhosted web applications, like Nextcloud, Vaultwarden, Gitea, Drone, Wekan, Wiki.js, etc. I also now use Docker for things that I'd historically run directly on the host, like Postfix, Dovecot, Postgres, Redis, etc. I have a Proxmox VM running Docker for all my selfhosted stuff, and there's almost nothing installed outside Docker, except a few CLI clients for connecting to databases and testing things (psql, redis-cli). I run a separate VM with media servers in Docker, and another VM with my full dev environment, with Python venv, RVM, NVM, build-essential, etc. installed. Nix might be worth investigating for the dev VM, but I don't want all the selfhosted web services running outside a containerized environment (be it Docker or Kubernetes).
The web has really closed in 2023. StackOverflow, Reddit, Github, Twitter all put the brakes on scraping and API access. The trigger was preventing AI training combined with a push to increase profitabilty due to commercial realities (tech recession, new ownership at Stack and X, Reddit wants to IPO).

I believe a long term effect will be a rise in the marketplace for proprietary data. Search engines, AI tools, anyone who needs the data will have to pay for the firehose or API access. (That, in turn, may cause antitrust issues if only the richest companies can afford access to that data.)
Nonprofit Tech Startups Are Neither nor Destined to Flame Out
My wife had a roommate when she was younger who lost over 100 pounds over the course of two years. The woman went from being just average-looking to quite conventionally beautiful. It was almost comical to see her completely confused by the new behavior of men in her presence. This happened in her mid-twenties, so she had already spent a quarter of her life being unattractive before she was suddenly deemed marketable in the dating market.

The unfortunate thing is that she did not learn about the insincerity of men who are in the pursuit of sex when she was younger (because she was not really pursued ever) and so she was quite blindsided by it in her twenties and got into some relationships which were not particularly healthy.

But she managed alright and now in her late thirties she seems to be quite well adjusted and happy (but still single). Her career has also done quite well.

She sometimes jokes with us that had she known the advantages of beauty she would have shed the weight decades earlier. But she was from a very liberal and accommodating family that always told her that people will be judged on the content of her character and not their appearances ... and it took some time to realize the world is not that way.
Previous discussion was flagged -
Self driving cannot work with the existing insurance and civil systems in place. By definition it can't be the driver that is solely responsible if the vehicle has automated driving. You can argue the driver was negligent in not stopping in time, not paying enough attention, etc. However civil isn't a blame it all on 1 person situation. Blame is distributed, as are the costs. So perhaps the driver is 50% responsible while autopilot is 40% with the other driver at 10%.

Especially with a name like "autopilot" the system is ripe for litigation. We would need new laws that specially protect automated driving if we wish to continue it. I imagine some cities and states may do it, but not others.
A rephrasing of this might be on-topic on retrocomputing: https://retrocomputing.stackexchange.com/q/3083/21450

But almost nobody reads that.
When listening on localhost on an unprivileged TCP port any other process could open the port first and provide a similar UI. Opening the port may even trigger the original process to chose another free port and the malicious software could take the requests from the users browser on the usual port and forward them to the new port.

UNIX sockets would of course solve this issue.
> The reason the early developers at OpenCV chose BGR color format is that back then BGR color format was popular among camera manufacturers and software providers. E.g. in Windows, when specifying color value using COLORREF they use the BGR format 0x00bbggrr.

For anyone curious about why OpenCV uses BGR: https://learnopencv.com/why-does-opencv-use-bgr-color-format...
Author here. Didnt expect someone posting my article here so fast after I published it.

Ask me anything you want to know.
> Well, not all shops just blindly install docker, pull a docker compose stack and call it day.

"Hitler uses Docker":

* https://www.youtube.com/watch?v=PivpCKEiQOQ
> I don't think that selfhosting is a great option for corporate, but Microsoft and Google are just shit.

Why? When corporations weren't capable of managing credit cards securely, PCI was created and all the lazy businesses were told to either do this correctly, or outsource it to someone who will.

When corporations weren't capable of managing infrastructure, Cloud providers created an out and told all the lazy businesses that they could do this correctly. Businesses believed the hype, fired their on-prem administrators, and still can't do this thing correctly.

So, if you can't be bothered to do something correctly, and you can't pay to get it done correctly, maybe you are not fit to be operating.
Sensible isn't a thing when it comes to malicious activity. Same could be used to cheat the search.

Downloading a repo and than neither knowing the repo has the syntax you wish to learn is still going to be more resourceful than having a webpage thrown at you with all search results.
You can play this to your benefit, though. If you back off confidently enough, it creates ambiguity making it look like you've got no time for "hard-to-get" games. Which is good for you if everyone else is stuck in the "won't take no for an answer, must try again" status quo.
Relatedly, I have seen the graph showing the dip in SO traffic by ~30% if I'm not wrong (and the corresponding hot takes that attribute that to the rise of LLMs).

I know most people are pessimistic that LLMs will lead to SO and the web in general to be overrun by hallucinated content and AI-training-on-AI-ouroboros, but I wonder if it might instead allow for curious people to query an endlessly patient AI assistant about exactly this kind of information. (A custom GPT perhaps?)
Ask HN: What photo sharing solution should we use for our destination wedding?
I am getting married next week on a beach (yay!)

I'd like to collect everyone's photos into a high-res shared album.

100 friends/family are joining and we are all staying at a resort for the week. They will be taking lots of great photos during the week!

We will have a WhatsApp group chat. In my experience folks tend to send their photos there, but the image quality is very poor once it's uploaded to WhatsApp.

My two requirements:

1. Should be very low friction for people to upload. No downloading another app.

2. Images/videos should remain in original/high quality

I am willing to pay for a good solution.

Does anyone have any ideas?

My ideal solution would be a bot that you could add to a WhatsApp group chat. Images uploaded to the WhatsApp group chat also get automatically uploaded in their original quality to a shared google album. I don't think this is possible.

If anyone from WhatsApp/Telegram/Signal/etc is reading this, I would pay a lot for a "Pro" account to have high-res photo uploads for my wedding/music festival/travel/etc group chats
Because the previous systems were about applications security, not about shipping the developer's machine into production, which is what most Docker containers are about.
I think typically is doing some heavy lifting that simply isn't true. But even if it was surely this isn't what you want to aspire to, right? Get hot enough that you can disregard women's signals because it accidentally works out for you marginally more often seems a lot harder than... ya know not doing that.

I swear the guys that just start dancing on me would do far far better if they just asked first. It goes from "oh god ew how do I discretely get one of my girlfriends to get me out of here" to "eh ya know what, sure."
2012 Macbook Pro had a physical CD eject button (it was top-right of the keyboard). Control was probably routed through the OS, so that may not be what you meant, but it was definitely physical.
> I see this comment often and am confused why we wouldn't want to "move the goalposts". I'd rather call it "passing a milestone" or simply "progress".

You're literally moving the "moving the goalposts" goalpost to make it more palatable.

> More specifically it just means most criteria, especially the Turing test, are poorly defined.

Nonsense. The Turing test was widely accepted for the specific reason that it contained a concrete method of testing for Artificial Intelligence. Go look for a better-defined goalpost for intelligence. You'll find pile after steaming pile of meaningless philosophical hair-splitting, each so completely divorced from reality as to make it useless as a real-world measuring stick.

Turing's test was and is the best measure of 'intelligence'. LLMs have passed the test. They are intelligent. Narrowly so, and utterly without agency, but they're clearly intelligent. There's no need to move the goalposts so that we can feel better about our place in the universe.
Current iPhones are available with up to 1 TB of storage. I’d argue that whoever would even think about downloading all of Wikipedia on their phone is a particular type of user and their choice storage will be on the northern side.
I very much doubt you can do any image processing on Arduino. A typical Arduino has only 2048 bytes of RAM, like, what kind of an image can fit in there?
This seems like the most probable reason of any I’ve read so far.
This Carl Hewitt is alive: https://www.linkedin.com/in/carl-c-hewitt
"You’ll receive an error if a user has revoked the notification permission on your page (or if the subscription has expired). You can catch these errors and remove invalid subscriptions."

From an outside perspective, this doesn't seem right -- wouldn't you want to check the error is because the channel has been revoked? It could be due to a temporary outage on either your side or the push server itself. With the code above, you might end up revoking all of your push subscriptions (upon broadcast) if your network goes down.
Yes, from grammaire/grammar -> γραμματική.
Valve squashes a decades old Half-Life bug
Thank you for the reply, good to know!
This is annoying at worst. I search code without being logged in 3 or 4 times a year, and I'm very active on GitHub.
Poll_next
The argument that sentience can't derive from computation alone because computations can be slowed down and done by hand still hold for me. The piece of paper written on or the silicon doesn't acquire different properties because what the operation will be used for, the GPU doesn't differentiate between graphic rendering and weight computation when it's adding 1. That's in opposition with animal brains that not only do computations but interact with real-world matter/fields directly. With that said of course we don't know if human like sentience is a prerequisite to (super)human level intelligence. But recent advancements in AI tends to diminish the argument sentience is a side effect of intelligence though.
> What are the most popular markets for the BSDs today? Anything outside of research/edu?

Lots and lots of use in proprietary appliances. NetApp, Dell/EMC (Isilon), Juniper used to use it on their qfabric network switches, etc.

It’s a solid starting point if you don’t want to have to worry about GPL in a product you don’t intend to open source.
I don't know what weird tangent the Sierra Club went off into, but here's Wikipedia on the subject[1]

[1] https://en.wikipedia.org/wiki/Regenerative_agriculture
I dream of a “chroot is all you need” successor to Docker.

I’m not a boomer, but I’m considered old in this industry.
Guidelines for secure AI system development
My solution to absurd parking and towing laws in cities like SF and NYC: Leave.
Now happily living in a mid-size beach town in Florida, with a reasonable cost of living, and zero worries my car will be broken into or SOLD BY THE GOVERNMENT, no matter where I park.
Samson makes great mics. I’ve had a CO1U for years and it sounds terrific.
I met Marc randomly a few years back. He was having difficulty walking while at a shop in downtown Berkeley, the shop owner needed to close and he couldn't leave. He had taken his medication for Parkinson's but it hadn't set in.

He gave me the keys to his car and drove it up to the storefront and helped him in. I drove him to a parking spot where he could wait for his legs to start moving again. Ended up chatting for a few about neuroscience and the lab I was working in at the time. He gave me his card and told me to look him up sometime.

I looked him up a few days later and was amazed that he was was intimately involved in star wars, indiana jones and robot wars.
I suppose maintaining two systems adds overhead too, but they could've let you use "basic search" without login, with the improvements login-gated.
The time savings are tremendous, to be sure. On Sunday, it only took me me 10 mins to get from Princes Highway in Tempe to Drummoyne via the newly opened Iron Cove bridge exit on Victoria Rd. I wouldn't do it every day due to the cost, but clearly it's worth it if you need to get to the Airport or Eastern suburbs in a hurry.
> but you won't need to pay for it except in catastrpohic cases.

Is an untested backup really a backup?
But saying that "because they can, they can" is silly.

They can because user's agreed to their terms of service --- and by so doing so, relinquished some of their ownership rights.
I thought it was illegal to take someones properly and sell it without their consent.

Also what about cars owned by banks? I doubt they want their property sold off. They should be the ones suing the city for doing so.
> it's connected to wifi (and it just happily connects even if it's been off for a month or two), and all devices can just connect to it and print. Never need to reconnect or do anything with it. It's a printer that prints. I love it.

Wifi is the only "innovation" that I cared about when buying a new printer. My old Brother just had USB, which was fine for 12 years. But my newer (10 years old) Brother has wifi and printing from the couch is great!
When the removed the base model, they didn't remove text-davinci-003, which essentially is the same GPT-3.5 model, just with fine-tuning. So your explanation doesn't fit.
You'd think, with all that work going on under the hood, that they'd be able to support searches for repos by multiple paths:

> Give me repos with project.toml and a flake.nix at the root

The interface supports it, but searches come back empty. I end up leaving scripts running while I sleep which walk search results and narrow them by just checking to see if the files are there.

If you're out there Microsoft, please fix your search so I can stop being a bad citizen.
The feature is in the Ethernet NIC, not the BIOS.
It's been present in pretty much all hardware implementations since the 1980s.
There's a fun story of TDR on "thick-wire" Ethernet being used to characterize nuclear detonations[1]

[1] https://web.archive.org/web/20160507110751/http://www.csd.uw...
Emerging research could help solve generative AI's 'hallucination' problem
The amount of information in a real number is not determined by the number of digits. For example, 1/3 = 0.333333… but we wouldn’t say 1/3 has “infinite information.”

Perhaps a better way to characterize the amount of information in a number is to look at the length of the program necessary to compute it. Of course, this depends on the programming language, but I think it’s fair to say that any particular program to compute a number is in some loose sense an upper bound on the information in the number.

So, most of the irrational numbers we’re familiar with (pi, e, phi) are rather low on information since they may be computed by very short programs, despite having infinitely many non-repeating digits.
Yes to both. There are plenty of organisms on any drop of water you can find on nature, and plenty of spores on the air.
There is a factory in Taiwan with NVIDIA on the side?
Some of which are illegal
> not sure what is recommended today?

I'd recommend using *BSD with a VM on top of Linux.
Tangential. A file lock is released if the locking process exits. This can be leveraged to make a poor man's semaphore that is automatically raised if the process exits. Slow but solid if you want to control the number of simultaneous crash prone processes that have access to a resource.
> A customer required precise geolocation capabilities to determine their users' current country and state at a centimeter/inch precision

Per-inch precision? Seems doubtful
Hmm. You seem to be railing against something that is not related to the article. The article describes how Apple internal developers reflashed ROMs while developing the firmware for new prototype computers. This is something that Apple's developers had to do on a regular basis.
> No, but here comes the Functional Source License to further muddy the open-source licensing waters

It's not muddying the open-source licensing waters, because it's not an open-source license.
Oh, you think developers still have that kind of power... Management has made sure to not allow any developer to have any kind of power. Not even naming their own variable the way they want it. All big and small decisions are taken by managers that don't even understand coding. They are the ones that push for hard deadlines and then loose months deciding what to do next for example. The crappy software trend has been rising at the same pace with the stripping of power from developers.
Hacker News is relatively positive compared to, say, Mastodon or Twitter or many similar things.

I note he's using a sentiment model from NLTK which is tuned up for short texts and might work OK for this task although my take is that you have to train sentiment models on specific domains and I don't know what they trained VADER on. I've seen really good data sets for product reviews and movie reviews but these aren't necessarily going to be effective for "angry toots". If somebody felt there was too much negative content on HN they'd get better results training it on what they think negative is but it's a substantial amount of work, a good training set would have about 5000 positive and 5000 negative examples and would take about an FTE week to make with the caveat that looking at 1000s of negative content items in the social media space can take a toll on your mental health.
Yeah, that's why it's better than having a HTTP server listening on localhost. And why listening on localhost is often not a good idea.

But UNIX sockets are not available on all platforms, which defeats a bit the general idea of a browser. Windows got UNIX socket support a while ago, but I don't know how well it works.
The user can ask for the code without paying any fees.
I think it also needs to be said that GitHub has helped countless open source projects grow- Git Hosting, wiki hosting, issues, GitHub Actions, GitHub Pages, a nice API...

There are LOTS of reasons to host your open source project on GitHub
https://archive.ph/y4RQL
Game Devs have always done amazing things like this.

I remember my one and only real attempt at game dev involved the zx spectrum where I got a book from my local library with all sorts of inspiring tricks in it. For people who don't know/remember, the speccy used to output to a TV[1] but didn't have enough graphics juice to actually fill the screen, so you could render into a pane in the center of the screen and the only thing you could do with the outside border was you could set the color [2]. Anyhow, this spectrum game dev book showed how to build a flight simulator game in assembly and one of the incredible hacks they employed was to change the color of the border at exactly the right moments in the scan path of the CRT so it would look like you had a continuous horizon all the way to the edges of the screen. You couldn't actually render any graphics out there but it blew my mind that you could at least make the sky and land stretch right to the edge of the screen.

[1] Which would have been CRT at the time, which turns out to be important for this hack.

[2] You can see this border here.
It's the ugly green box.
All spectrum games used to have this.
https://forums.libretro.com/uploads/default/original/3X/c/9/...
If folks want to continue searching open source, https://sourcegraph.com/search does not require sign in and also includes major projects that are not on GitHub.

(Full disclosure: I'm the Sourcegraph CTO)
I experienced different and in some ways more pernicious data loss with Google Drive several years ago: I was writing a novel, and Drive simply erased random paragraphs of text. Just poof, gone. I could find neither rhyme nor reason for it, either. Some had been edited in after the fact, while others were present in the original draft. All told, it equated to around 8K words over the course of the novel.

Granted, you usually want to pare down your words during the editing process, but I'd rather do it manually rather than have some malfunctioning computer system prune random blocks :)

I sent a support email, but it will surprise no one to learn I never heard anything back. Needless to say, I haven't trusted Google Drive since.
Firebase Authentication User Enumeration Bug
The interactive display for grasping Emacs? [video]