MurphyA/hacker-news huggingface dataset:
by pm215 | 2025-09-26 10:38:32+00:00
By having knowledge baked into it about its properties (which it can validly do because the behaviour of the float_abs operation is specified by the language; it's not calling an arbitrary external function). The blog post sketches out one approach to this: as the optimizer is working on a tree of expressions, it has attached to the nodes extra information about the values in it (e.g. "this is a constant X" or "this value is definitely in the range A..B"); then as it simplifies the tree, it can say "abs of a value that's already definitely not negative is a no-op, don't do anything", in the same way it can say "multiplying X by 1 is a no-op".

The actual bug-fix linked to in the footnote does it in a slightly different way: it says "as I'm walking through optimizing my tree of expressions, if I see 'abs(abs(X))' then simplify the tree to just 'abs(X)'".
by Jommi | 2025-09-26 10:39:04+00:00
Basically they will become the toll-lords of the internet. And because of that, THEY can choose what they accept as payment. A stablecoin (probably just run by them but technology coming from one of the stablecoin providers like Paxos) is perfect for this, as it will be regulated and akin to a digital dollar, with the addition that they can earn yield on treasury bills at the same time.

Pretty smart.
by weatherlight | 2025-09-26 10:39:22+00:00
I've been using Alpha(as my main driver!) for a year now, there's been a few hiccups here and there but its been very good. I prefer this to Gnome.

It's my main driver for software development, it was initially a dual boot system with windows, but I found that I could use Steam with very little configuration and could do all my gaming in linux(Cosmic DE/PopOS, I have a Nvidia GPU) as well. Works out of the box with Bigwig Studio and my Soundcard (Ultralite mk5)

I use a mix of the Cosmic store and nix for packages and programs.

I don't need to use windows ever again for anything and it makes me very happy.
by kijin | 2025-09-26 10:39:22+00:00
Defaults have all sorts of assumptions built into them. So if you compare different programs with their respective defaults, you are actually comparing the assumptions that the developers of those programs have in mind.

For example, if you keep adding data to a Redis server under default config, it will eat up all of your RAM and suddenly stop working. Postgres won't do the same, because its default buffer size is quite small by modern standards. It will happily accept INSERTs until you run out of disk, albeit more slowly as your index size grows.

The two programs behave differently because Redis was conceived as an in-memory database with optional persistence, whereas Postgres puts persistence first. When you use either of them with their default config, you are trusting that the developers' assumptions will match your expectations. If not, you're in for a nasty surprise.
by scns | 2025-09-26 10:39:24+00:00
>> Computers are naturally better at computing.

> Explain the difference.

Computing: Performing the instructions they are given.

Thinking: Can be introspective, self correcting. May include novel ideas.

> Our whole modern world is built on outsourcing thinking to machines at every level.

I don't think they can think. You can't get a picture of a left hand writing or a clock showing something else then 10:10 from AI. They regurtitate what they are fed and hallucinate instead of admitting lack of ability. This applies to LLMs too as we all know.
by egberts1 | 2025-09-26 10:40:29+00:00
Internet Exchange (IX) for an 8th Grader

- Imagine a big hangout spot in the middle of town where all the school buses from different schools meet.

- Each bus is an Internet company (ISP), carrying kids (data) who need to visit kids from other schools.

- Without the hangout spot, the buses would have to drive all the way across the city through downtown traffic (expensive, slow routes through bigger Internet companies).

- But at the hangout spot (the IX), the buses can just pull up next to each other and drop kids off directly -- quick, cheap, and easy.

- The IX itself doesn’t tell kids where to go, it’s just the place with lots of parking spots and connections.

- The ISPs (buses) still decide who gets on and off by making agreements with each other. That’s like them saying, “Okay, I’ll let your kids ride with me if you let mine ride with you.”

So, an IX is basically a meeting place where Internet companies connect their networks directly, instead of going the long way around through someone else.
by francislavoie | 2025-09-26 10:40:36+00:00
They took too long so I moved off of PopOS 22.04 over to Ubuntu 25.04. I had tons of audio stability issues among many other things that I wanted fixed as well. I also have a lot of Gnome extensions I depend on right now, so I'm not ready to run a completely new DE without a healthy extension ecosystem to fix the quirks. I love the idea of a Rust DE and all that, but I can't really risk it for my daily driver machine.
by danbruc | 2025-09-26 10:41:11+00:00
.NET supports this because [Visual] Basic supports it. This can be used from C# - and other languages - but there is no nice syntax supporting it.

// This also supports multidimensional arrays, that is why the parameters are arrays. var array = Array.CreateInstance(elementType: typeof(Int32), lengths: [ 5 ], lowerBounds: [ -2 ]); // This does not compile, the type is Int32[*], not Int32[]. // Console.WriteLine(array[0]); array.SetValue(value: 42, index: -2); Console.WriteLine(array.GetValue(-2));
by shikon7 | 2025-09-26 10:41:50+00:00
> Although being written in Java does improve memory safety, we just saw that rewriting V8 in a safe language wouldn’t help with the types of bugs V8 is trying to solve and so we would intuitively expect that GraalJS must suffer from the same classes of bugs. Yet, it doesn’t.

Essentially it exchanges the bugs of a V8 engine for the bugs of the GraalVM, right?
by andrepd | 2025-09-26 10:42:51+00:00
I guarantee that if my grandparents were expelled from their homes, brutalised, or killed, their homes bulldozed and annexed by the occupiers, and for the past 2 years I was the target of the most brutal genocide since Rwanda, I would probably wish worse than death to my oppressors too. But let's not get sidetracked...

PS: It's also known that for Israel and its AI killing machines, "terrorist" is defined as "male between 14 and 45". Cannot get more "mass targeted" than that.
by ggm | 2025-09-26 10:42:53+00:00
I wanted to reverse this, using the barrel jack side to get 12v/3a into usb-c and I got schooled by kind but firm wiser heads: these cables are highly specialised and directional.

So to anyone looking to leverage ATX power supply like me for USB-C specific voltage and current be warned: you cannot reliably invert a cable aiming to get USB-C into a barrel jack. It's not reversible.
by Der_Einzige | 2025-09-26 10:44:34+00:00
I fking hate these sorts of pay out terms.

Dont pay people automatically so that the remaining ones who do claim it get paid a lot more than 51$.

In fact, a lottery where only 1% of victims got 5000$ would be even better.

America loves its inequality. Stop making us equally poor and let the lucky few of us get a 1 oz bar of gold!
by mijoharas | 2025-09-26 10:44:40+00:00
Alright, I wasn't planning on posting any more, but let me editorialize, and simplify:

How is DHH fascist?

- here he is espousing ethno-nationalist viewpoints (one key fascist ideology).

How is that fascist?

- ok, here he is supporting a fascist. See this article specifying that he was a member of a fascist organisation for 5 years, and then started a more extreme offshoot of it.

How is tommy robinson fascist?

- Here are some reasons.

How is the EDL fascist?

- here is an article discussing fascism and the EDL

Has he expressed a specific viewpoint?

- point out sealioning.
by spapas82 | 2025-09-26 10:44:46+00:00
I don't remember having such a CGA simulator. I suppose it would be a TSR program that I needed to run before prince, but definitely I wasn't doing that.

From some research it seems that hercules was actually supported:

https://www.dosbox-staging.org/getting-started/enhancing-pri...

and from

https://dosdays.co.uk/topics/Games/game_prince.php

> Intel 8088/8086 CPU, 512 KB of RAM (640 KB for MCGA/VGA version) Graphics support for Hercules, CGA, Tandy/PCjr, EGA and MCGA/VGA (320 x 200 max. resolution in 256 colours)

Notice that PoP was one of the few games I was able to play with that hercules monitor :|
by motorest | 2025-09-26 10:45:20+00:00
> At 10k RPS you'll see a significant cost savings with Redis over DynamoDB.

You need to be more specific than that. Depending on your read/write patterns and how much memory you need to allocate to Redis, back of the napkin calculations still point to the fact that Redis can still cost >$1k/month more than DynamoDB.

Did you actually do the math on what it costs to run Redis?
by yazaddaruvala | 2025-09-26 10:47:29+00:00
Having both worked at Amazon and still in the cloud industry, to me this seems like a strange take.

Apple leases these computers from Amazon like it would from any other colo. Why wouldn’t these servers be considered Apple servers?

Barring a major privacy violation by AWS (which doesn’t seem likely), or some other sort of 0-day hack the data on these servers is entirely private to Apple.
by mythz | 2025-09-26 10:48:55+00:00
Was looking forward to this for a long time as I think Linux could do with a clean break from the Legacy built around Gnome/KDE/X11. But it's taking so long to get to release my main concern is now that a small company doesn't have the dev resources to take on maintaining a DE by themselves and haven't been successful in attracting a dev community to help pick up the slack.

I'm now leaning towards the Hyprland/Omarchy approach of starting with a curated blank slate that can be easily themed, customized and extended to suit where I wouldn't have to rely on big drop releases of a single organization for any missing/preferred functionality.

Even at its young age Omarchy has some how managed to attract 134/782 open/closed PRs [1] vs 6/90 for CosmicDE (since 2022) [2] which IMO speaks to the approachability and hackability of a scriptable DE and the community being built up around each.

Edit: as the Cosmic DE repo is made up of many submodules, they all have a lot more PRs/activity combined.

[1] https://github.com/basecamp/omarchy/pulls

[2] https://github.com/pop-os/cosmic-epoch/pulls
by hojinkoh | 2025-09-26 10:49:02+00:00
Native Asian, bouncing between Taiwan and Japan. Kagi works quite well for these two locales. Even for gov docs, medical docs, and for some rather obscure Taiwanese language things.

Well, except for local shops and pois in Taiwan. Which is reasonable. Google map also sucks for less-populated Taiwanese areas. I kind of have to rely on my good old legs for that.
by jitl | 2025-09-26 10:49:16+00:00
Even for a big company like Apple or Google, a 10x increase in public API surface area sounds nuts to maintain in terms of cost but chiefly in terms of time: it will be so much slower to evolve a system once it’s festooned with previously private api surfaces that could change quickly, but now need to be public and offer backwards compatibility or you’ll get hit with a DMA fine.
by UltimateEdge | 2025-09-26 10:49:53+00:00
Drew DeVault tried building something similar to this under the name SearchHut, but the project was abandoned [1]. I tried hacking on it a while ago (since it's built on Postgres and a bit of Go), but I ran out of steam trying to understand the Postgres RUM extension.

[1]: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
by serbuvlad | 2025-09-26 10:50:29+00:00
Me: "I do not think the population should live under fear of excessive, arbitrary and unaccountable law enforcement. The company may be entirely in the wrong in which case they should be punished to the full extent of the law, including for present non-compliance, but that should be up to the judge and to the extent determined in the written law."

"Bootlicker"
by ruperthair | 2025-09-26 10:50:36+00:00
Interesting read, thanks! One almost LOL moment for me was at the end of this paragraph:

That is also an important part of AWS’s retention strategy: for most AWS customers the easiest solution to rising costs is to simply sign a long-term contract, dramatically decreasing their prices (again, Amazon has the margin to spare) while ensuring they stay on AWS that much longer, accumulating that much more data and relying on that many more AWS-specific services. Hotel Seattle, as it were.
by azangru | 2025-09-26 10:51:37+00:00
> Back in its early days it was fresh and exciting, a fun way to connect with your friends that might be far away, or make new friends online. It was cozy. No ads, no feeds, no endless videos. Instead it was just people, the whole reason you started in the first place. Now it's just noise and scary addicting and effective algorithms that keep you plugged in for hours on end

If people want a mechanism of connecting with their friends who are far away, why not create a dedicated forum for this purpose? Either with something like discord, or even with something like phpbb?
by merlindru | 2025-09-26 10:52:50+00:00
I don't know what the comment you're replying to said, but further down the thread:

> Electron's "_cornerMask" override was a dirty hack that was made in an effort to fix an ancient issue with corner smoothing.

So Electron used this private API to fix an issue that shouldn't have existed at all, as far as I can tell
by motorest | 2025-09-26 10:53:27+00:00
> It's $9/mo for 100 MB of ElastiCache Serverless which is HA.

You need to be more specific with your scenario. Having to cache 100MB of anything is hardly a scenario that involves introducing a memory cache service such as Redis. This is well within the territory of just storing data in a dictionary. Whatever is driving the requirement for Redis in your scenario, performance and memory clearly isn't it.
by throw0101c | 2025-09-26 10:54:18+00:00
Trump originally brought up the idea of less frequent company reporting during his first term, and there were some rumbles of bringing back the idea recently.

This article is from his first term:

> This is exactly backward: more frequent reporting makes the data less significant. In the real world, human behavior emphasizes what occurs less often — meaning doing something less frequently gives it an even greater significance than something that becomes routine or common.

> That is the difference between a New Year’s Eve celebration and a married couple’s weekly date night.

> Twice a year earnings reporting will make the event so momentous, with such focus on it that any company that misses analysts’ forecast will find their stock price shellacked. The twice-yearly focus on making the per-share number will become overwhelmingly intense.

> This is counterproductive.

> My proposal: report earnings monthly, with the goal of eventually moving to a near real-time, daily, fundamental update. Technology is improving to the point where business intelligence software and big data analyses will make this automated. Indeed, some companies already do much of this internally.

This is the author's personal weblog, but it was also posted at Bloomberg at the time:

* https://www.bloomberg.com/view/articles/2018-08-20/reporting...

The author hosts the Masters in Business podcast at Bloomberg, and is the CEO of a family office firm:

* https://en.wikipedia.org/wiki/Barry_Ritholtz

* https://en.wikipedia.org/wiki/Family_office
by nathan_compton | 2025-09-26 10:54:46+00:00
Marshall MacLuhan said something to the effect that every new communication technology results in a sort of self-amputation of that same faculty in the individual person.

I was diagnosed with ADHD and my interpretation of that diagnoses was not "I need something to take over this functionality for me," but "I need to develop this functionality so that I can function as a better version of myself or to fight against a system which is not oriented towards human dignity but some other end."

I guess I am reluctant to replace the unique faculties of individual children with a generic faculty approved by and concordant with the requirements of the larger society. How dismal to replace the unique aspects of children's minds with a cookie cutter prosthetic meant to integrate nicely into our bullshit hell world. Very dismal.
by egberts1 | 2025-09-26 10:54:52+00:00
So Bluesky is attempting to avoid the evolutionary path into ?

What I think they’re grappling with are:

* Edge cases & slippery slopes: Distinguishing “fictional consent,” “fantasy” vs “non-consensual content,” especially in illustrated or animated work, is hard.

* Automation risk: Letting AI auto-fill alt text or auto-censor content might introduce errors, overreach, or misinterpretation.

* Creator confidence: If policies or enforcement are too strict or unpredictable, content creators (especially in adult / kink / erotic art spaces) may leave or self-censor.

* Accessibility mandate vs burden: Encouraging alt text is good, but requiring it for every image adds friction; enforcing it strictly might deter visual content.

* Policy signaling: How Bluesky frames its sexual content rules sends a message about what kinds of expression are welcome there (and what kinds are policed).

Sounds like avoiding a cross betwedb 4chan and DeviantArt?
by Karliss | 2025-09-26 10:55:19+00:00
Author is at least partially reusing Unity physics engine instead of using physics integrator from original simulation. It is not a mechanical 1:1 translation of Fortran code to C#. Once you start mixing the two sims units and other constants matter. Also the unity physics engine is finetuned for operating at certain scale with certain units. You could operate it in different units, but that will potentially require readjusting not just major physics constants but also a bunch of poorly documented magic parameters designed to prevent Unity sim from exploding or wasting resources.
by mrngm | 2025-09-26 10:55:33+00:00
That really depends on local policy. It could be that an AS x present on multiple IXes (assuming another peer AS y is present on the same IXes) prefers sending traffic for AS y on IX t, while AS y prefers sending traffic for AS x on IX v.

Of course, the goal is to transport traffic in many directions, but in essence only routing information is explicitly exchanged.
by carlnewton | 2025-09-26 10:55:43+00:00
Yeah I think established Facebook groups are probably the biggest hurdle. To me, the benefits of not using Facebook are self evident, but a lot of people don't know about the issues around that or don't care. I think creating features that can't be achieved on Facebook could help. Outside of that, I think it's just a matter of providing meaningful content yourself. For Plantshare, I imagine it would be beneficial to be close to you because you, the developer of the app, presumably have a wide variety of plants because that's your interest. And if it's a success for you and your local community, you've succeeded, and any other pockets of success are a bonus. This is at least the way I'm looking at my project here. I still do intend to continue to work on the open source side of things though of course.
by tamnd | 2025-09-26 10:56:09+00:00
Definitely! If you scroll down a bit, you will see in Chapter 10 that I've included some fun applications, things like 2D/3D geometry, linear regression, recommender systems, and even a quick intro to PageRank. I wanted to show how these ideas connect to real-world problems, so it's not just theory. Hope you find it interesting.
by homebrewer | 2025-09-26 10:56:18+00:00
Using relative growth is one of the favorite tricks of hucksters that allows them to say "100% growth over the last year" to hide the fact of it growing from $5 to $10.

I don't really care enough about this to do proper research, but as another anecdote from someone living under 40% yearly inflation: nobody here gives a shit about cryptocurrencies. Those who can afford it buy foreign stock, houses and apartments; those who cannot, buy up whatever USD and EUR we can find.

Cryptocurrency was used by very few people for short-term speculation around 5 years ago, but even that died down to nothing.
by KronisLV | 2025-09-26 10:56:48+00:00
I feel like the outrage is unwarranted.

> The way it is presented, a casual reader would think Postgres is 2/3rds the performance of Redis.

If a reader cares about the technical choice, they'll probably at least read enough to learn of the benchmarks in this popular use case, or even just the conclusion:

> Redis is faster than postgres when it comes to caching, there’s no doubt about it. It conveniently comes with a bunch of other useful functionality that one would expect from a cache, such as TTLs. It was also bottlenecked by the hardware, my service or a combination of both and could definitely show better numbers. Surely, we should all use Redis for our caching needs then, right? Well, I think I’ll still use postgres. Almost always, my projects need a database. Not having to add another dependency comes with its own benefits. If I need my keys to expire, I’ll add a column for it, and a cron job to remove those keys from the table. As far as speed goes - 7425 requests per second is still a lot. That’s more than half a billion requests per day. All on hardware that’s 10 years old and using laptop CPUs. Not many projects will reach this scale and if they do I can just upgrade the postgres instance or if need be spin up a redis then. Having an interface for your cache so you can easily switch out the underlying store is definitely something I’ll keep doing exactly for this purpose.

I might take an issue with the first sentence (might add "...at least when it comes to my hardware and configuration."), but the rest seems largely okay.

As a casual reader, you more or less just get:

* Oh hey, someone's experience and data points. I won't base my entire opinion upon it, but it's cool that people are sharing their experiences. * If I wanted to use either, I'd probably also need to look into bottlenecks, even the HTTP server, something you might not look into at first! * Even without putting in a lot of work into tuning, both of the solutions process a lot of data and are within an order of magnitude when it comes to performance. * So as a casual reader, for casual use cases, it seems like the answer is - just pick whatever feels the easiest.

If I wanted to read super serious benchmarks, I'd go looking for those (which would also have so many details that they would no longer be a casual read, short of just the abstract, but them I'm missing out on a lot anyways), or do them myself. This is more like your average pop-sci article, nothing wrong with that, unless you're looking for something else.

Eliminating the bottlenecks would be a cool followup post though!
by db48x | 2025-09-26 10:58:06+00:00
Ok, I see what you are saying, but I don’t think that there is a loophole here.

The Executive Branch may only take actions that the Constitution allows (same as the Legislative). These are called the Enumerated Powers. Some of them are simple, like requiring the President to give a State of the Union Address. Others are more complex, like allowing the Executive Branch to negotiate treaties. But it then says “The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people.” So anything not in the Executive Branch’s enumerated powers is illegal for them to do.

Of course, one of their enumerated powers is to execute any law passed by the Legislature. That is quite open–ended, because Congress can pass any kind of law that they want, right? Well, no. The First Amendment specifically says “Congress shall make no law… abridging the freedom of speech, or of the press.” So we know that there is no law authorizing the the Executive Branch from censoring speech or the press. Thus, the actions of the Biden Administration were illegal. They were explicitly forbidden from taking those actions by the Constitution, and they did it anyway.