skysight-inc/HackerNews huggingface dataset:
Depending on the area of software development then trigonometry, geometry, linear algebra, number theory, combinatorics and probability theory are the most obviously useful. Beyond that I know that there's a close relationship between category theory and functional programming. I'm not familiar with the details of that or whether it's useful in practice or more of an area of theoretical study. I'm sure there's others on HN that know though. Interestingly I used a fair amount of category theory in algebraic topology, but never closed the loop and learned much about the relationship to programming.
I just set up systemd-timers to nix-gc/docker-prune daily.

Still a bit of an annoyance, but one I don't notice once it's set up.
I've seen functions called getValue() that were actually creating files on disk and writing stuff.

Also, even if the function actually does what advertised, I've seen functions that go 4-5 levels deep where the outer functions are just abstracting optional parameters. So to avoid exposing 3 or 4 parameters, tens of functions are created instead.

I think you do have a point but ideas get abused a lot.
Some of the best conversations I've seen on HN were when someone was being downvoted to light gray and still making their point carefully and at length, not at all inhibited by the dogpiling.

And so where, inevitably, some of the worst.
> There has to be google engineers here. Does this just fall on deaf ears?

Yes. Extension that blocks Google from making money from ads? It's a no-brainer to upgrade the browser infrastructure to make it obsolete.
Do you mean f(x,n-1)^x or x^f(x,n-1)? With the first definition, c=1, the second, c=sqrt(2). I'm still not seeing the connection to omega.
One of the things I love about python its informal Second Mover[1] approach.

Features like enum and async were added after they were fully wrung out elsewhere, and generally fit well.

Is python tooling a flaming dumpster fire at the moment? Sure. Will wisdom precipitate out in its good time? One is confident.

[1] https://en.wikipedia.org/wiki/First-mover_advantage#Second-m...
I mean safe in the narrow way that rust intends. It’s memory safe, but as you imply, we’re leaving the door to open to logic bugs if you misuse those array indices.

But honestly, I think danger from that is wildly overstated. The author isn’t talking about implementing an ECS or b-tree here. They’re just populating an array from a file when the program launches, then freeing the whole thing when the program terminates. It’s really not rocket science.

The other big advantage of this approach is that you don’t have to deal with unsafe rust. So, no unsafe {} blocks. No wrangling with rust’s frankly awful syntax for following raw pointers. No stressing about whether or not a future version of rust will change some subtle invariant you’re accidentally depending on, or worrying about if you need to use MaybeInit or something like that. I think the chance of making a mistake while interacting with unsafe code is far higher than the chance of misusing an array index. And the impact is usually worse.

The author details running into exactly that problem while coding - since they assumed memory allocated by vec would be pinned (it isn’t). And the program they ended up with still doesn’t use pin, even though they depend on the memory being pinned. That’s cause for far more concern than a simple array index.
Have they may giving gpu to things that need it easy yet?
Sounds like a tragedeigh.

https://www.reddit.com/r/tragedeigh/
2009 reboot movie was an obvious turning point, seemed like it was being used as an audition for Star Wars.

IIRC there were behind the scenes politics involved due to who owned the rights, like they were able to use the names and setting but it had to be "thematically" different to not infringe on previous series, which were owned by a different company.
Show HN: Map of YC Startups
Hey Everybody! Hope you had a merry christmas

Today I had a bit of fun with Claude.

Started by scraping YC's startups list, then ran them through OpenAI's embedding service, then UMAP'd the embedding to reduce the dimension to just two coordinates and then just forced Claude to write React that would compile to visualize that.

I had fun and I think it's interesting, so take a look!

Also note that you won't be able to zoom on mobile (found about this Plotly limitation way too late). If there's interest I can fix this issue by changing plotting libs tomorrow :)

Merry christmas
Hire a DevOps guy.
Just zooming into the tail section photo one can find on main stream media shows very suspicious signs of possible shrapnel hit ...
I'm not saying they are not both, but there is definitely another reason lol
Merry christmas total stranger on the internets <3
That is a very low number. I can think of many reasons why one would end up with more. Does anyone know why it is so low?
'generational-arena' is unmaintained and archived now.
The Genius of Netflix Christmas Films
That's funny, I've had more errors and disasters with NixOS than I've ever had with Windows or macOS. Repairing it is actually a pain.
SSE also works well on HTTP/3 whereas web sockets still don’t.
Thing is, Strange New Worlds is a direct continuation of Discovery, and Strange New Worlds had a same-universe time-travel crossover with Lower Decks.
Except it very obviously was not. Is this accusation going to come up in every single HN thread?
Yeah and that of course is the core thing here. Everything else is both quick and safe to retry/idempotent but when you interrupt a demuxer or an encoder, etc. you can’t restart it without feeding the container headers at least to a new instance.
Plus to everything said. It's an everyday life of "maintainer", picking the next battle to pick the best way to avoid sinking deeper and defending the story that exactly "this" is the next refactoring project. All that while balancing different factors as you mention to actually believe oneself, because there are countless of paths..
At the very least, I do not trust a browser that was putting affiliate links to unsuspecting users' urls [0]. Plus I tbh I am really sick of everything tending to be chromium-derivatives nowadays and I think it is good to have greater diversity, to exactly avoid situation susch as the one here.

https://github.com/brave/brave-browser/issues/10134
So there are multiple factors here - I used to work on browsers so have some experience here :D

First off, there are legitimate security concerns with the kind of functionality required for effective ad blocking given the immense work the ad industry (i.e google) have put into preventing purely static filters is also very powerful for exploitation. Those powers can (and have been) abused: the recent news about "Honey" replacing affiliate links so that they are getting paid for ads on peoples page, but also there have been numerous examples over the last year of extensions being sold and then having the extensions getting malware, crypto miners, etc.

Second, there are real performance problems - the non-JS filter rules are vastly more efficient, for memory usage, cpu usage, and load time (I recall people doing benchmarks a while ago, showing ad blocker extensions that actually slowed down page loads).

So those are the engineering arguments for not supporting this model of extension.

However, the engineers on the chrome team are not stupid, or malicious, and understand that the trade offs are something users want. But those engineers work for Google, and google is an advertising company.

So it does not matter what those engineers want, or think is better, if the company management says "you cannot block our revenue model" they do not have a choice. Well, they could quit, but that's basically it.
This article misses several new antibiotic classes that are emerging: macrocyclic peptides, and a bunch of compounds from unculturable soil bacteria (clovibactin, teixobactin, etc.)
Not if the original author stills holds the copyright, which is likely the case: the GPL does NOT remove your copyright, and in fact depends upon it.
Thanks, I was able to install netsurf-gtk just fine.

It would be nice if `apt install netsurf` returned something more helpful than "Unable to locate package netsurf"
Well maybe they do critical systems.
> why people would flock to it as money other than the above reasons is beyond me

Despite what the whitepaper laid out, it has morphed into something that isn't money. Use the analogy that Saylor lays out... https://x.com/saylor/status/1860399115449799119
Silly question, but what does slang mean, as in I've been using retro arch for years and have always wondered what slang means in relation to the shaders.
wanted this but didn't want to run another app when I'm already running SwiftBar--here is a version suitable for use with SwiftBar/xbar/etc. (error handling left as an exercise for the reader):

#!/usr/bin/env node

var Ls = require('lightstreamer-client-node');

var sub1 = new Ls.Subscription("MERGE",["NODE3000005"],["Value", "Status", "TimeStamp"]);

sub1.addListener({
onItemUpdate: function(obj) {
const percentage = obj.getValue('Value') + '%';
console.log(`${percentage} `);
process.exit(0);
}
});

var client = new Ls.LightstreamerClient("http://push.lightstreamer.com","ISSLIVE");

client.connect();
client.subscribe(sub1);
[Note: It's not necesary to make a second comment. You can edit your post for 1 or 2 hours. (I never remember.) If you change the comment too much, add a note, specialy if someone replied to your comment.]

Edit: Just like this. For obvious typos I usualy don't add the note anyway.
I am using Fedora Kinoite for a year now. It is finally the stable desktop Linux experience I was looking for. The limitations people are constantly talking about really don't seem like a big deal to me. For everything not available as a Flatpak there is distrobox and there is always layering as an escape hatch.
A while ago I created Mercure: an open pub-sub protocol built on top of SSE that is a replacement for WebSockets-based solutions such as Pusher. Mercure is now used by hundreds of apps in production.

At the core of Mercure is the hub. It is a standalone component that maintains persistent SSE (HTTP) connections to the clients, and it exposes a very simple HTTP API that server apps and clients can use to publish. POSTed updates are broadcasted to all connected clients using SSE. This makes SSE usable even with technologies not able to maintain persistent connections such as PHP and many serverless providers.

Mercure also adds nice features to SSE such as a JWT-based authorization mechanism, the ability to subscribe to several topics using a single connection, events history, automatic state reconciliation in case of network issue…

I maintain an open-source hub written in Go (technically, a module for the Caddy web server) and a SaaS version is also available.

Docs and code are available on https://mercure.rocks
I remember them having a pretty fancy api that would allow avatar exports and all sorts.

Ended up releasing a little xna forward running app game thing that used it and got to chat with the dev's a little, think it was eventually chucked on there blog.

Good times.
Internet had more weird and fun shit back then
Yes, knowing the exact CPU and ANE assembly instructions (or the underlying microcode!!) allows for general purpose software to adaptively compile processes on all the core types, not just the CPU ones. Its won't always be faster, you get more cache misses (some cores don't have cache) and different DMA and thread scheduling, some registers can't fit the floats or large integers, etc etc.

But yes, it will be possible to use all 140 cores of the M2 Ultra or the 36 cores of the M4. There will be an M6 Extreme some day, maybe 500 cores?

Actually, the GPU and ANE cores themselves are built from teams of smaller cores, maybe a few dozens, hundreds or thousand in all, same as in most NVDIA chips.

>A steal for $22k but I guess very niche for now...

A single iPhone or Mac app (a game, an LLM, pattern recognition, security app, VPN, de/encryption, video en/dec
coder) that can be sped up by 80%-200% can afford my faster assembly level API.

A whole series of hardware level zero-day exploits for iPhone and Mac would become possible, now that won't be very niche at all. It is worth millions to reverse Apple Silicon instruction sets.
> you're saying you can't understand why you should be happy to be here?

I think you miss the aspect of how insignificant existence is locally.

Sure the odds are astronomical but you weren't there to experience that measure in it's entirety i.e the the billions of years for you to experience the specialness of the blip. Also compare that with billions of people current existing at the same time as you who are also the product of this astronomial odds. The awe of the statement of the specialness of existence quickly fades away when you take the former statement into consideration

One could take this in the opposite way, we're so special that we are barely get to live long enough to experience reality for what it is and have to make do with such a tiny drop. The unfairness of it is misery inducing. We are so special that we get to appreciate this specialness only if we're lucky enough to be born in a first world country and to decent parents and born healthy. Aside from that we have spent a very significant time sleeping, pooping, dealing with BS, dealing with things out of our control etc etc

Existing is truly miserable if you aren't living in a first world country.

Man your statement is just hollow. The astronomical odds of existence is nothing celebrate by itself just as hope by itself is useless
> Doing the multiple account thing isn’t as easy as it sounds though. Some sites like Reddit make switching between accounts incredibly easy

And it's as easy to dox yourself by responding with the wrong account, as I have seen multiple times on Reddit.
Sucks to be them?
Could this not trivially be accomplished with a service listening on one port and 'iptables' rules?
I don't see much point in WebSockets for HTTP/3. WebTransport will cover everything you would need it for an more.
This is happening because no one appreciates the freedom of open source enough to pay for it, the larger projects have a company behind them and need revenue to stay afloat.
MDN does just excel at documentation. It is the ONLY place where one can learn modern web development from scratch without a hidden agenda. Everyone else is either pushing their framework or their online courses platform or their own browser ecosystem.
Maybe it's that the bees are chasing sugar instead of flowers. But that would be a weak illustration because the bees probably don't care where the sugar comes from. We and the flowers and probably everyone else but the bees are the ones who value their pollenization.
The "orcs" being who?
Too bad they removed the ability to open the vertical tabs side bar on hover, that was a critical feature that caused me to go back to Firefox proper. I'll go back to Zen once they add it but to be honest, I'm not too sure what extra value Zen would bring me.
The developers themselves are anyone who wants to make and publish games is my point, and unaffiliated with own another. And those developers are free to build and monetize games however they want. Just like other closed-ecosystem (e.g. iOS) game devs.
You don't need to look at the source code of Oracle to know it's the best RDBMS
I utilized SSE when building automatic restart functionality[0] into Doppler's CLI. Our api server would send down an event whenever an application's secrets changed. The CLI would then fetch the latest secrets to inject into the application process. (I opted not to directly send the changed secrets via SSE as that would necessitate rechecking the access token that was used to establish the connection, lest we send changed secrets to a recently deauthorized client). I chose SSE over websockets because the latter required pulling in additional dependencies into our Golang application, and we truly only needed server->client communication.
One issue we ran into that hasn't been discussed is HTTP timeouts. Some load balancers close an HTTP connection after a certain timeout (e.g. 1 hour) to prevent connection exhaustion. You can usually extend this timeout, but it has to be explicitly configured. We also found that our server had to send intermittent "ping" events to prevent either Cloudflare or Google Cloud Load Balancing from closing the connection, though I don't remember how frequently these were sent. Otherwise, SSE worked great for our use case.

[0] https://docs.doppler.com/docs/automatic-restart
This. The solution to long and multiple reviews to MR is single pair review session where most of the big picture aspects can be addressed immediately and verbally discussed and challenged.

IMHO it is the same as chat. If talking about an issue over mail or chat takes more than 3-5 messages, trigger a call to solve it face to face.
How many Hacker News readers can understand what is said and being asked here? I would like to know but my math knowledge is not nearly up to it. Do even more (much more) experienced mathematicians have to study it for a while or does it mostly make sense right away?
> Nobody actually uses this since like 2018 but some people are paid to hype it up.

What’s the conspiracy theory here? Why would anyone be paying people to hype Ruby? What could possibly be the end goal?
How did the reinvent affect them?
The last part of the sentence is correct, but the EgyptAir 990 crash gave it a bad cast in Western eyes.
There are different ways to implement power-loss protection. There was a Twitter thread where a guy tested actual power-loss protection but it doesn't load anymore, too bad he didn't blog about it...

But at least the tech press wrote a bit about it, for example here[1], including a link on how Samsung implements it using journaling on consumer SSDs. I would expect WD to do something similar given that multiple WD drives passed the test.

[1]: https://hothardware.com/news/heads-up-nvme-ssds-lose-data-po...
Per the README

it binds to just ONE tcp port per a running instance !
Configure your firewall rules:
iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 1:65535 -j REDIRECT --to-ports 4444
Just wait a day and uBlock will update its filters. That's what happened to me initially. In the meantime I had a yt-dlp script for videos I wanted to watch. Tubular on mobile also works fine.
For those who “need” it, you are really playing with fire. It’s not like chasing after losses to turn things around is a particularly rare response.

We’re in a thread under an article revealing how more and more people are falling victim to gambling addiction through the stock market. I’m not convinced that “you should just gamble some of your life savings” is the best suggestion for most people.
I've had no idea they exist until I began to use APIs serving LLM outputs. They work pretty well for this purpose from my experience. An alternative to SSE is web sockets for this purpose I suppose
I’d recommend plowing thru the first season (it’s just ok but has some key moments and introduces some new characters), skip season 2 entirely, then watch the full third season.
Third season was fantastic although the plot starts to thin by the end. Nostalgia and at least one great new character introduced.

Second season does give closure on a few characters new and old, maybe worth watching if you got the time. But overall don’t let it stop you from getting to season 3.
With what happened to the CEO of UHC, I think we are starting to see society hit a breaking point. Where simply "acting through the process" is no longer acceptable to an increasing minority of people who are getting ready to... well. Best not type it, lest I end up on more watch lists.

I don't endorse that kind of action, FWIW, I've lived through enough historically significant events already and I'm not even forty. But the powers that be seem unwilling to simply make less money, so something's going to give eventually.
> Oh, and in 6 months the unintuitive and confusing concept needs to be completely changed into - surprise, surprise - a completely different but equally unintuitive and confusing concept.

But you have to keep the old way of working exactly the same, and the data can't change, but also needs to work in the new version as well. Actually show someone there's two modes, and offer to migrate their data to version 2? No way - that's confusing! Show different UI in different areas with the same data that behaves differently based on ... undisclosed-to-the-user criteria. That will be far less confusing.
I specifically write with different perspectives, tones, and opinions on different sites in a probably vain attempt to mitigate this.

For example, on YouTube I use twitch slang, and on Reddit I use TikTok slang, and on TikTok I use reddit slang. On hackernews a use a slightly whimsical pedantically-infused undergrad tone.
BlueHalo Selected by NGA to Provide Analytic Assessment for Acquired Geoint Data
Flowise – Low Code LLM Apps Builder
Hell, people all over the world are already and have been starving for decades, because we don't feed people because people need to eat; we feed them because it makes money. And in the areas of the globe where it doesn't, people starve, while elsewhere people throw away shit tons of food.