skysight-inc/HackerNews huggingface dataset:
What are your thoughts on this?

http://www.adammil.net/blog/v126_A_More_Efficient_Flood_Fill...
I love Harmonic! Browsing HN is so much more enjoyable with it than with the website. The UI is great too. Thanks for making and open sourcing the app!
Brain-to-keyboard, mentally-sourced, organic content

Fresh from the creator's mind, straight to your entertainment device
There’s a trade off between speed and showing progress to the user. I find it better to show slow progress rather than wait 500 - 1000ms to do it faster, but it depends on the use case
willReadFrequently disables the use of the GPU. All canvas operations will be software rendered on the javascript thread. The actual operations happen not when you make the draw() call, but when you read any pixel of the canvas.
> And is the plane really only 99 inches long?

Can it fly from New York’s Idlewild Airport to the Belgian Congo in 17 minutes?
Yeah - I'm not sure what point you're trying to make here. A .7% chance of being at a school with a mass shooting is unfathomable. It's so high.
Washington Post send to think that child is far more freaky. https://www.washingtonpost.com/climate-environment/interacti...
Isn’t it? I would call it a web app.
it would cost them very little to keep things online but very little is too much, sometimes.

I would GLADLY pay Nintendo for every ROM I want but do not have, if they would only take my money and sell it.

they choose not to sell. so I feel it is, at a minimum, borderline ok to pirate things that aren't sold anymore. I would give my money, but these companies will not take it.

this is where music downloads were in 2002 or so. maybe a bit later. people were pirating like crazy and record companies would not give users what they wanted: the ability to listen to what they wanted where they wanted.

most pirates (those who don't consider piracy itself a hobby, anyway) don't really want to pirate; they want to play a game, or hear a song, or watch a TV show or movie when they want. They want on-demand access to the things they enjoy. they will gladly pay if only the copyright owners would accept the money, but often they won't.

so the users take things into their own hands. I'm ok with it. but I'm no one and no media company will ever listen to me so whatever.
Do you mean for video content specifically?
Good that I could convince you :) I hope to get around to posting it on F-Droid soon, it doesn't seem like too much work
Good thought, fixed that now, thanks!
I’m not defending the package, just pointing out that sharing a namespace doesn’t instantly imply guilt
We’ve also been happily using Depot.
SE Daily podcast episode "CAP Theorem 23 Years Later with Eric Brewer" touches on it a bit. On the whole an excellent episode.

https://softwareengineeringdaily.com/2023/05/12/cap-theorem-...
This concept would be hard for extroverts to understand.
> Hoping Podman compose gets some love from a big player, b/c it seems RH is only focused on Kube.

Can you expand on this a bit? What is an example of something you'd like another player to do that RH isn't doing?
https://arxiv.org/abs/2305.12907

> We find that meta-in-context learning adaptively modifies priors over latent variables, ultimately leading to priors that closely resemble the true statistics of the environment. Furthermore, our analysis reveals that meta-in-context learning can not only be used to change prior expectations but is also capable of reshaping an LLM’s learning strategies

This was done using OpenAI's public facing APIs

Even if it is not a permanent "edit" it still influences the model at the lowest levels
Parts of this article are just downright wrong

At time of writing, the biggest privacy weakness that WireGuard has is how it assigns IP addresses. When you connect to a VPN service using OpenVPN or IKEv2, you’re assigned a different IP address each time. WireGuard instead gives you the same IP address each time. This is faster, but it means the VPN server must keep logs of your real IP address and connection timestamps.

The address assigned inside the tunnel has nothing to do with your real address, and definitely does not have anything to do with whether or not the VPN server is keeping logs of your real IP address and timestamps of your connection.

OpenVPN and charon keep far more logs of those things by default that wireguard and you have to trust your VPN provider turned them off.
> bank bailouts, Golden Parachutes

> rescue services, or the fire department

I think it's around "when a life is at stake"
Commenting to something you didn't read? j/k but it's not electronic in any way. It's more like those belts that clamp instead of having the pin hole, except that the clamp won't rough up the leather.

You do raise a valid point, even if by accident: The word "smart" is getting to be overused, to the point that it evokes very specific expectations - ones that this belt does not even attempt satisfy. I would have named it differently.

Your response brought to mind quite a dystopian, yet periodically comical future.
That’s not true, no one can fully explain what GPT models are doing internally. You can explain the training and inference code, but the weights themselves which do the actual computation are learned by an automatic optimisation process which you can very roughly compare to evolution and they’re not easily understandable by humans.

Relevant XKCD: https://xkcd.com/1605/

OpenAI recently made some progress in explaining individual neurons, but only some of them and that doesn’t tell you how they interact

This is like claiming that because we have sequenced the human genome, and we are able to understand the basic instructions that DNA encodes, we now fully understand the human brain because we can just read the DNA (see the XKCD)
Would of doesn't mean anything.

You meant would have.
That is true. But now China is getting expensive and the population is getting older fast and the Chinese leadership is getting less predicable. Mexico meanwhile is much younger and labor cost is lower than China. Its a neighboring country and part of a free trade agreement. Canada and Mexico now at par with China in their total trade with US. The threat of future pandemic and global conflicts and their impact on supply chains has made companies more cautious. Its of just offshoring, its instead onshoring, nearshoring or friendshoring. A lot of the stuff onshoring will be higher value or those of national security or highly automatable.

https://www.visualcapitalist.com/us-largest-trading-partners...
The fragility of US infrastructure and its vulnerability to the accelerating effects of climate change is a minor theme in a sci-fi post-apocalyptic game I've been building. [Slartboz: see my profile if curious]

On one level its goal is to entertain but its also designed to educate about the likelihood and consequences of the carbon climate crisis causing crazy weather and ecosystem collapse. Especially if we dont Go Big soon enough.
Waymo maybe could have gone with Lyft (or built their own app) if the deal with Uber fell through, which is probably why Uber accepted it. It's not "help Waymo get to market or not," it's "help Waymo get to market or risk somebody else (or Waymo themselves) passing on Waymo's value to customers and taking the market." Especially with the chance that Uber might get to play gatekeeper in the future, it's a hard deal to turn down.
Buying specialized tool, hiring C++ UI devs just to create your average HTML page and make a couple of snob tech-bros happy, great investment.
...and then what? And remember that in your (very) hypothetical situation, I'm asleep while the car is charging.
A blocky based CAD program
A scratch programming like application to create 3d models
#1 has existed in Windows and other OSes for ages: accessibility APIs and UI test tooling (called UI Automation in Windows).
Thank you! I am glad you appreciate the choice of focus! It does however make tweaking the app a bit harder at times but as long as it looks and behaves good I am happy as well :)
The report is more about school age children while your points, while relevant, are more about late teenagers / young adults.

Better reasons for why school age children are so addicted to social media are more car centric suburbian developments and the general attitude shift to not let children play outside without supervision. This isn't for cultural reasons only, it's also caused by the increased homeless population and the drug epidemic: in many places, streets are indeed more dangerous than they used to be 40 years ago.
Ask HN: Oh my god Is anyone on this plane a computer programmer?
Have you ever had a moment as a computer programmer where you notice a bad situation (not in your work life), and you step in, and say, "I'm a computer programmer, I can help you with that."
sounds like, everyone.

Doesn't it start as a schoolkid, where you too fast giving a presentation up at the board?

how can you not compress time in front of others unless you're practiced?
> the issue is unfettered exposure to social media.

I half agree, but think the issue is more "exposure to unfettered social media" (a bit of a word stunt* I guess, but I'm sure you get what I mean).

Through as a parent I agree that there is only so much you can do about social media itself, so you have to find a compromise like you did.

*it's more like the access/view the child has to (a potential subset) of a social media providers content then the social media itself
That is very kind of you to say - you're welcome!
I experienced this back when I configured my home Linux boxes as a router, VPN server, firewall, media server, etc. Since I had the time, compiled all of the info I found on random blogs and sites and added them to the Ubuntu Community wiki. That was the 12.x days, when Ubuntu was in its prime and the distro to use.

While these blogs were a great resource, I often found the commands outdated or applied to a different distro. A distro specific wiki solves both those issue. While I don't get the glory of a blog, I just checked an it's nice to see my notes still there for future Denvercoder9's.
That's really cool! And it's a small world. I've known Colin and the Krallice guys for years! Everyone in Glorious Depravity is a software developer and in other bands, there's a good chance that you crossed paths with some of us at some point.
For a typical users use case, I bet you could downscale the image 16x (using the GPU, and therefore very fast), flood fill on the much smaller image (using slow javascript over each pixel), then expand the image up to the original size and reprocess just the border pixels (and there aren't many border pixels compared to the total filled area).

This method might not produce perfect results when the paint can 'escape' through a tiny gap that isn't visible on the downscaled version... But at the same time, I suspect most users don't actually want the paint to escape through a tiny gap, so that might be the right behaviour.
Sounds like you have some very complex, niche requirements. Perhaps paying an experienced human is the best solution (sleepless nights included), instead of laying yet more technical complexity on top.
How does accessibility work on Linux?
Quick search https://www.cvedetails.com/vulnerability-list.php?vendor_id=...
This is your brain on Social Media. sizzle
Project Tailwind: your AI-first notebook
i don't like this post because it makes golang feel overwhelming when the stdlib + default tooling is plenty good for most use-cases. it's as if someone made a post called "how to go hiking in 2023" and spent 10 pages linking to gear on amazon.

how should you actually start hiking? grab a water bottle, get outside, and hike.

here is how you should _actually_ start a go project in 2023:

$EDITOR main.go
go run .

everything else you should add as needed. don't overcomplicate things.
Why would you say that is, or why do you think so?

I would argue Rust is definitely suited towards small companies and individuals for a lot of projects that C/C++ would’ve been used for before, even things like small audio units or plugins
because the media has shown them school shootings, and has told them to be anxious about them

What argument are you making, that news outlets should not report this? I don't think much coaching is required for people to feel anxious about the idea getting shot by a homicidal maniac, even if the probability of a homicidal maniac showing up is relatively low. Applying your logic, we should avoid having reports or drills about it, and any additional loss of life from lack of preparedness should be offset against the aggregate increased happiness of prior obliviousness to the risk.

There are many causes of death which children are not scared of, despite them being far more likely to occur than school shootings.

Homicide infants and grade-school kids is disturbingly high up the list, although that includes domestic violence and other causes rather than only school shootings. But there is a high qualitative difference between dying because you did something stupid or because you are the unfortunate victim of disease or an inherited medical condition, vs someone actively trying to kill you.
Probably. Certainly worth acknowledging. I realize the Internet now isn’t what it was then. Perhaps my approach is naive. I’m sure I’m missing nuance.
Always good to hear from the day 1 OG:s :) I also went through the ritual of trying almost all available HN clients back in 2020 and being unhappy and Harmonic was the result. I'm glad it worked out the same way for you!
NYC, $150k. That's a pretty abysmal salary for a software engineer.
(defservlet hello-world text/plain (path)
(shell-command (concat "php " (file-name-nondirectory path)) (current-buffer)))

Or similar should do the trick. :)
But they all finally have AUX inputs so you can plug in any portable radio you like.
Google Bard adds images for more visual responses
This is the sort of thing that one doubts a *GPT system will ever produce creatively.

Advantage, humans.
Caddy targets single instances. No coordination is required to avoid receiving receive multiple certificates for multiple instances for same domain.

Nginx has a profit from big business that would require coordination to avoid multiple certificates. For comparison, it is worth noting that to ensure such coordination, Traefik requires an Enterprise plan and a separate agent. Such a business also often has mechanisms for storing certificates, so they do not necessarily want to integrate it into Nginx.
Using Android's market share to push or encourage the use of a Waymo robot taxi booking application that is in competition with Uber and Lyft might be seen as anticompetitive.

Other comments elsewhere are "No but if you're Google you can put it on literally every android phone quite quickly." and "All Google would need to do is push a notification to every Android phone that has Google Maps (so, all of them) that says "book your next trip through Google maps and the first ten rides are free!" and they're in business."

That sort of approach would very likely be examined by regulators.
Nope. Sorry, Netflix. I paid for 4 concurrent streams and now you're reneging on your contract. I didn't care much when they constantly bumped the price either.
Been a Netflix subscriber since 2012. I don't really watch as much, but my mother occasionally watches a movie or two a month. My brother in college binges a tv show once in a while.
I know that neither of them will go out of their way to subscribe to Netflix.
I installed an app on my Chromecast/Google TV a couple of days ago called Cloudstream. Some of the providers segment the different shows/movies by Netflix/HBO/Disney+/Paramount etc. Some of the providers give you 4K streams. Has subtitles, "watch later" lists and the ability to continue from where you left off. The interface is pretty nice too. It's really straight forward to add on any Android device -- phone, Fire stick, whatever.

It took a couple of minutes to install and about a half hour to fully configure.

If they want us to go back to piracy, it's now easier than ever before. And I'm wholly prepared for it.
Parental controls of the phone. I.e. the child physical has the phone but the parent virtually owns/controls it.

Which sadly are currently often sorely lacking especially for younger children and even for the limited functionality often need too much technical understanding (e.g. knowing that "adult-content filters" tend to not work and at least for young children whitelists are preferable while sadly also often cumbersome).
I think this is just like what you see at a modern art museum. Somebody puts a toilet on a pedestal or paints a smiley face and there's going to be people who say it's art and others that groan.
Thank you! I agree that those are for sure the most important things. Glad it does the trick for you :)
Ironically enterprise networking on Linux is incredibly simple
Meta: Huh. I don’t use “shallow dive” enough. “Deep dive” of course, everyone loves a good deep dive. But what about a shallow dive, or even just “getting your feet wet”? These are useful concepts too. This headline alone revealed a blind spot for me.
Ask HN: Best way to auto forward WhatsApp meessages
There seems to be no real answer for this. So maybe hacker news has one.

Thanks for posting
Well, if your intention is to use Cloudflare's network for your H3 tunnels, then expect an API for it soon: https://blog.cloudflare.com/building-privacy-into-internet-s...
> If they had kept Super Mario 64 and/or Super Mario Sunshine and/or Super Mario Galaxy available for sale since their consoles were discontinued, Nintendo wouldn’t have sold 9 million+ copies of Super Mario 3D All Stars.

I think they would have. those games are all available on the 2nd hand market easily. I don't mind paying for remasters of games I already own for older hardware, anyway, because remasters are not a big expense for me and by buying remasters I send my vote that I want remasters.

I mean, it's Nintendo's IP. they can do what they want. I think the way they do things is very short-sighted, though.
Even the weak Sapir-Worf hypothesis is quite tricky to test in practice. It's likely true, but quite hard to prove. Guy Deutscher's excellent book Through the Language Glass documents much of the work that's been done in that area. Mostly, what's amenable to testing is colour perception and absolute direction, more than anything else.
Quote from article:

For the majority of our global users, HTTP3 reduced network latencies by 5-15ms (or 5%). While this is an improvement, these wins would appear negligible to the average user. At p90, however, HTTP3 demonstrated massive improvements, with a latency reduction of 48ms (or 13%)—and at p95, a reduction of 146ms (21%). This could be explained by the fact that HTTP3 is better at handling packet drops in parallel connections by eliminating head-of-line blocking; because packet drops are more likely to occur in networks with suboptimal connection quality, the benefits of HTTP3 are more visible at the higher percentiles.
LE is dead easy to integrate using Docker, the work related to integrating it into webservers themselves (IMO) isn't worth it.
its fairly direct. And not wrong.

Passive aggressive might be like this

"there are some languages that feel the need to use !=. They have the 'opinion' that this was a good idea, look at them. They are so cute trying to be a real language with such *interesting* design choices"
> Not the OP, but let’s use a more libertarian definition of the right— that is, let’s say the Republicans actually believe “that government governs best that governs least.”

Tell me about how libertarianism and Christian nationalism come together to form a base that supports law enforcement (eg FBI), the military and CBP.

Frankly, I find the current version of the party most confusing, but especially the “small government” part.
I think my experience is actually the problem. I don't have enough patience anymore to spend lots of time trying to understand errors where I have zero idea why it's complaining, when I know the same thing in another language works totally fine the first time I try (and without bugs, it's mostly lifetime issues or the lovely borrow checker, which don't even exist in other languages).
But I do keep trying Rust, because the alternatives as I see it, C and Zig, have their own problems that are bigger (C's build tools and lack of package management, very weak type checking and unavoidable UB, and Zig's overall lack of maturity and consequently tooling).

By the way, I can write code very easily in Java/Kotlin/Groovy/Dart/JS/TS/Go/Lisp.
Paywalled article, but I’m assuming it’s talking about the OEIS located here [0]. Such a cool resource, especially if you are trying to calculate S-boxes[1], or a lot of digits of an irrational number, or Bernoulli numbers or something. The links section for each sequence is super useful for initial research.

[0] https://oeis.org
[1] https://oeis.org/A354500
I think previous experience programming in C++ can be helpful, in picking up Rust faster.

For me, in large part, the borrow checker is encoding in the compiler rules that you should be following in C++ anyway.

A few hours debugging dangling references or iterator invalidation will make you appreciate what the borrow checker is trying to prevent.

You also have experience knowing the difference between pass by reference, pass by const reference, copy, and move.

Also, if you want to keep your sanity, you will learn to take ownership seriously. Deciding what owns what and whether objects will be owned by the scope (on the stack), be owned by unique_ptr, or be shared with shared_ptr is a large part of designing a C++ program.

Again these all map very neatly onto Rust idioms, and as a benefit are enforced by the compiler.

Coming from a garbage collected language where you previously did not have to care about things like that, and now, not only being forced to care, but having the compiler yell at you for every mistake can be a pretty big learning curve.

However, I would say that not knowing C++ doesn't mean that you can't learn Rust, only that it may take a little longer because you have to learn new concepts with regards to memory management and ownership, and so give yourself some slack and do not be discouraged.
My partner's mom read her diary at ~11 and then got mad at her for writing about her frustrations with her mom. She then grounded my 18yo nibbling a couple weeks ago for writing the same sort of frustrations on the notes app on their phone (she's the legal guardian). My partner became withdrawn from her mom and kept all of her social life to herself, hidden from her mom.
I agree with the OP that the best way to learn it is to work through a real project, but I wouldn’t necessarily equate that with “picking it up and just getting stuff done”. At least, that’s not how it went for me, anyway! I hit all the real roadblocks along the way and it took a good few months before I felt actually comfortable. Until then, it felt like I kept running up against mismatches between how I wanted to solve a problem and how Rust wanted me to do it. It was more difficult to build stuff and I had to rewrite things many times. For background, I had worked with C/C++, Java, JS/TS, Ruby, and some others prior to Rust, and it was the first time in a while that learning a new language was pretty hard even after the syntax made sense.
the summary is that they preprocess the image to partition it into a disjoint set of fillable regions, but i feel like this maybe has to be redone whenever you mutate the image

maybe other optimization approaches would yield a flood-fill algorithm that just runs fast enough in js; wasm can surely do it

like i feel like you can probably loop over the pixels in a scan line until you encounter an obstacle at several tens of megapixels per second

as the dumbest possible test of js perf, this code (admittedly not accessing an imagedata object) gets about 250 million iterations per second on my 2.6 gigahertz palmtop in firefox

function tri(n) { let x = 0, y = n; while(y--) x += y; return x }
s = new Date(); console.log(tri(10_000_000)); console.log(new Date() - s)