MurphyA/hacker-news huggingface dataset:
by brandoniscool | 2025-04-13 20:47:43+00:00
I built this "conversation network" to help ua navigate these difficult political times. At scale, I'm sure this will work; might be hard getting there. I've been thinking about this window's gui concept for a while. Cursor helped me build this faster than antificpiated. Super gnarly, great fun.

Prompt Mode -> Create a prompt and it gets 'activated' to the entire network. Basically, as long as you're both online, someone in the respond mode has a chance to see it. Only when you're both online though, real-time conversations only.

Respond Mode -> Just as it suggests, you'll get random windows popping up of online prompters. Switch between both modes seemlessly.

This political landscape is a nightmare. Open the communication doors and libterate the people! -b
by quectophoton | 2025-04-13 20:48:20+00:00
> Fennel's approach of compiling to Lua while maintaining meta-programming capabilities is elegant.

Yeah, it is very nice to work with.

The only tiny "complaint" I have is that it doesn't compile to pure Lua, but instead assumes you'll be running it together with Lua's libraries.

I say this because, for me, the places where I'd like to use Fennel have a lot of overlap with the places where I'd like to use Lua without loading any of the provided libraries (e.g. embedding Lua into other software, instead of using it standalone).
by trealira | 2025-04-13 20:48:30+00:00
> And to be very clear, I'm genuinely curious and looking to learn so if I'm asking too much from your personal time, or your own understanding, or the answer is "that's a task that FP just isn't well suited for" those answers are acceptable to me.

No, that's okay, just be aware that I'm not an expert in Haskell and so I'm not going to be 100% sure about answering questions about Haskell's evaluation system.

IO in Haskell is also lazy, unless you use a library for it. So it delays the action of reading in a file as a string until you're actually using it, and in this case that would be when you do some lazy transformations that are also delayed until you use them, and that would be when you're writing them to a file. When you log the transformations, only then do you start actually doing the transformations on the text you read from the file, and only then do you open the file and read a chunk of text from it, like I said.

As for adding a progress bar for the user, there's a question on StackOverflow that asks exactly how to do this, since IO being lazy in Haskell is kind of unintuitive.

https://stackoverflow.com/questions/6668716/haskell-lazy-byt...

The answers include making your own versions of the standard library IO functions that have a progress bar, using a library that handles the progress bar part for you, and reading the file and writing the file in some predefined number of bytes so you can calculate the progress yourself.

But, like the other commenter said, you can also just do things in IO functions directly.
by quails8mydog | 2025-04-13 20:50:11+00:00
I read the 1st third (it's really long) and while the data analysis is interesting, the conclusions say a lot more about the biases of the author(s) than those of the BBC. Fundamentally you can't use sympathy as a measure of bias without first establishing a baseline for how sympathetic the views and/or groups of people are. The report mentions that Palestinians might be more sympathetic because they're the ones being blown up, but then discards this by pointing out that the BBC is supposed to "ensure broadly comparable treatment of the Palestinian and the Israeli viewpoints" without acknowledging that maybe they do and one viewpoint is more sympathetic than the other. The least sympathetic group according to the report is Hamas, so according to it's logic they're the group the BBC is most biased against. Not a reasonable conclusion. There's plenty of other indicators that this report started with a conclusion then tried to gather data to support it, but I've already spent more time on this comment than the report deserves.
by __turbobrew__ | 2025-04-13 20:50:26+00:00
Even if the company has a successful exit lots of times the founders have different stock class than employees which allows them to cook the books in creative ways where employee stocks are devalued without affecting founder stocks.

I personally went through a successful exit of a company where I was one of the early engineers and was privy to orchestrating the sale (working with potential buyers and consultants) and saw this happen.

I now am granted stocks which are traded on the NYSE so nobody can cook the books without commiting securities fraud.
by mdaniel | 2025-04-13 20:51:04+00:00
Without the slightest sense of irony, I actually strongly suspect such a test suite would only be valid at one moment in time, since the timezone legislation is almost continuously in flux. That's why <https://www.iana.org/time-zones> and its friend <https://www.oracle.com/java/technologies/javase/tzupdater-re...> exist. As if to illustrate my point, the latest update was 2025-03-22, presumably nuking any such conformance test from Mar 21st
by mmooss | 2025-04-13 20:51:14+00:00
I'm not sure what your point is. Journalism needs funding, they must get it somewhere. Many journalism outlets have turned to subscriptions and donations, but whoever provides funding can be accused of influencing them. If they are funded by subscriptions, can they publish something their readers dislike?

The GGP comment said that journalists conspired with the country's leaders, not business.
by mechanicum | 2025-04-13 20:52:04+00:00
At least on Mac, when you install them locally, Creative Cloud makes them available to every app like any other font.

They’re just regular OpenType files, albeit with “beware of the leopard” levels of filesystem obfuscation, so it’s fairly trivial to divorce them from Creative Cloud’s control if you want/need to.

And on the web, Typekit is just CSS and woff(2), so again, no (technical) impediment to doing whatever you want with them.
by igalklebanov | 2025-04-13 20:52:08+00:00
it depends on the database. the major ones support savepoints. postgres included. https://www.postgresql.org/docs/current/sql-savepoint.html https://dev.mysql.com/doc/refman/8.4/en/savepoint.html https://learn.microsoft.com/en-us/sql/t-sql/language-element... https://sqlite.org/lang_savepoint.html

in kysely, the dialect you're using has to implement the new optional savepoint-specific methods for it to work.
by QuiEgo | 2025-04-13 20:53:03+00:00
You can get two (lightly) used Model Ys with money left over for that price, or a lightly used Model Y and a slightly older, lightly used F150 as a backup car for when you need a truck and/or need to be off charging infra (e.x. towing a boat or RV long-range).

Don't get the value proposition at all.
by JumpCrisscross | 2025-04-13 20:53:42+00:00
> If and when autopilot achieves level 3, the economic equation changes substantially

The market is limited to America. Nobody is going to let Tesla develop a monopoly (or even commanding lead) in their country for self-driving cars after the way Musk has behaved with Starlink. (I suspect a ban on cameras-only self-driving cars would be popular in e.g. California and New York, too.)
by scarface_74 | 2025-04-13 20:54:41+00:00
This is the hypocrisy of the left and why people are leaving blue states and in the process are losing electoral votes for President and representatives in the House. These people have jobs and the “liberal” states don’t do nearly enough to enable affordable housing.

This is coming from someone who believes in universal health care, (de)regulation to make affordable housing available, affordable post high school education, increasing the minimum wage, etc.

But as someone who travels extensively and has been all over the US, there is no blue state I would want to live in. High taxes, high cost of living and spend more time virtue signaling than trying to solve problems that people care about.

The best I’ve found is blue metropolitan areas in red (and purple) states.
by cesaref | 2025-04-13 20:54:57+00:00
The problem is that electrolytic capacitors can leak, even if not used. So, you can store a perfectly good computer and retrieve a ruined motherboard a number of years later. SMD capacitors are bad for this, the MZ80K predates all of that though, and I think only has a few through hole capacitors on the mainboard.

The power supply should also be checked, and in this case, it's safety capacitors which are the risk there, since some of the older ones (RIFAs for example) tend to be hygroscopic, and if they crack they end up blowing next time mains is applied across them. I've not had any problems with power supplies killing the machine with an over voltage, but i've heard this is also a risk.

Anyhow, 45 years or so is time for a recap, and it'll do another 30 years before it's time again...
by longdustytrail | 2025-04-13 20:55:00+00:00
Tacoma has gotten much much nicer over the past 20ish years and the aroma jokes are mostly vestigial at this point.

My best friend moved down there a few years ago (a family member sold them their house under-market and the price was too good to pass up). We all made our jokes but I’ve been down a lot and I actually really like it. It’s not that much harder to get to than west Seattle
by mrob | 2025-04-13 20:55:01+00:00
>First, the average pixel is not what I would expect it to be at all

It looks like the averaging was done in default sRGB color space, with:

magick "$f" -resize 1x1 txt:-

Downscaling should instead be done in a linear colorspace. Human vision is non-linear, but the filtering required for downscaling is equivalent to blurring, which is linear because it's done optically not within the retina or brain. Using ImageMagick:

magick "$f" -colorspace RGB -resize 1x1 -colorspace sRGB txt:-

Additionally, JPEG supports chroma subsampling, which is usually enabled by default. I don't know what sips does, but with these small files you might as well use PNG and avoid the risk of losing color information this way.

This should produce results closer to human perception.
by Animats | 2025-04-13 20:55:21+00:00
Update: Possible pending reversal today (Sunday) on temporary exemption to emergency China tariff for computers and smartphones.[1][2] Trump and the Secretary of Commerce are saying different things on social media. Trump says he will look at the "whole electronic supply chain." The Wall Street Journal and Bloomberg are trying to keep up with the announcements.

[1] https://www.wsj.com/livecoverage/stock-market-trump-tariffs-...

[2] https://www.bloomberg.com/news/articles/2025-04-13/trump-say...
by delichon | 2025-04-13 20:55:26+00:00
Initial targets for humanoid bots are in the $20k range to purchase. Human Amazon drivers currently are around $40k per year to rent. At even half the performance and the same (40h/168h) 24% duty cycle, the humanoids will have to have very high maintenance and power costs to be more expensive than humans. And they don't unionize.
by fragmede | 2025-04-13 20:55:34+00:00
The underlying emotionally driven question is what did they do to deserve it. For all of the faults of Mark Zuckerberg or Jeff Bezos, I don't think I've ever heard of them being called lazy. Someone else getting ahead when they don't deserve it is universal. We get told life isn't fair and just accept it but I don't think I'm alone in never actually accepting it. So unfairness matters.
by geuis | 2025-04-13 20:55:47+00:00
Not going to speak to the content of the blog post, but I want to address something from the beginning.

> Every post is either political ragebait, recycled "funny" cat videos, "Am I the asshole for divorcing my husband after he killed our two children while drunk and high?"-type slop, or tired wojack memes.

The trick to Reddit is to audit your subreddits. There are thousands of interesting, well run, topic specific subreddits. Find communities around your interests and only subscribe to them. Get rid of the default ones that are mostly just cesspools these days.

Over the years I've cultivated mine to include several book series and authors I like, 3d printing, homebrewing, etc.

The other trick is to avoid the Reddit app. Use https://old.reddit.com, even on mobile. It's still the best way to use Reddit.
by swores | 2025-04-13 20:56:33+00:00
"Return on investment" isn't using uncommon words to try to be hard to interpret, it's a standard business term in English-speaking countries.

The fact that it seemed like its intention was to obfuscate is just a sign that you're not familiar with basic business terminology, nothing more.

(And there's no shame in that, nobody knows the common phrases in every area of society, if you've never taken any business classes nor been involved in running a business there's no reason you should know it - but that doesn't mean people who use those words are trying to hide what they mean.)

Edit: and unsurprisingly it's therefore also frequently seen on HN:

https://hn.algolia.com/?q=return+on+investment

https://hn.algolia.com/?q=ROI
by inopinatus | 2025-04-13 20:56:36+00:00
It’s not wrong, because it doesn’t stand alone, and yes, if you’re cherry picking half a statement, then you’re like the Australian politicians calling it a “lucky country”, perpetuating a gross misrepresentation of both the letter and the sentiment of the original statement.

This is especially ironic given that the constructive argument against Postel’s law is generally based on the value of a strict interpretation of specification. If you’re intentionally omitting half of the law, then you have an implementation problem.

Furthermore, none of this has much to do with YAML being a shitty design.
by ack_complete | 2025-04-13 20:56:46+00:00
Back when Pushshift was publicly available, I used to check the mod actions on some subreddits. What I found was that the subreddits that I thought had biased moderators were simply undermoderated. Pretty much every mod action I saw was fair and there were also a lot more than expected, but clearly the issue was that total comment volume was far more than the mod team could handle.

> You're at the mercy of a small number of users who have the most free time to post all day. Some times I'll get an unusually angry response on Reddit and click on their profile out of curiosity. It's often someone who has been commenting for the last 10 hours straight.

These people are also masters at toeing the line of forum or subreddit rules when trashing others, constantly baiting people to cross the line in replies and get themselves moderated. It's worse in forums where downvoting isn't available.
by fsflover | 2025-04-13 20:56:51+00:00
> Lucky!

There are other lucky people on their forum: https://forums.puri.sm/t/librem-15v4-and-non-free-purism-rep... and https://forums.puri.sm/t/librem-15v4-and-non-free-purism-rep.... There are unlucky ones too, but less it seems: https://forums.puri.sm/t/librem-15-v4-laptop-not-turning-on-...
by layer8 | 2025-04-13 20:57:44+00:00
> There is no null string, perhaps because Pascal uses the doubled quote notation to indicate a quote embedded in a string:

'This is a '' character'

That doesn’t seem like a good explanation. There’s nothing preventing a tokenizer from interpreting two quotes not followed by a third quote as an empty string literal. In fact, that’s what current Pascal compilers accept (e.g. `writeln('')`).

However, an empty string and nil are also the same in Pascal, there is no distinction between an empty string and the absence of a string. This is because in early computing, strings weren’t separate objects that you pointed to (and hence could be a null pointer), but more like (usually fixed-size) arrays allocated as part of a larger contiguous memory structure. The array could be empty (based on some length variable), but it couldn’t not be there as part of the fixed memory layout.

Actually, in certain systems strings couldn’t even be empty, in the sense that there was no stored size in addition to the fixed-length array. Instead you padded the rest of the array with spaces. The CHAR type in SQL (as opposed to VARCHAR) is a remnant of that practice.
by gwern | 2025-04-13 20:58:17+00:00
One of the frustrating things about the manicule is what I think is the reason you don't see it used online, and it is "everywhere" only in physical media: cluttered pages/GUIs and low-DPI screens mean that almost all of those manicules you see as scans just don't work as a digital manicule. It's always easier to use some sort of arrow or background highlight or other way of calling attention to a particular line. Note that OP makes no use of a manicule in this web page, and the only web example OP gives is an emoji - which was intended for SMS chat messages (and looks very ugly, even ignoring the color or other issues with emoji). That is probably why it is honored mostly in the breach by contemporary web designers - many more know about it than use it.

Like that gorgeous orange (letterpress, I assume) manicule you see in the middle of OP - that line-work will never work when scaled down and put into a web page as a normal little manicule. The details get lost in a blur, the hand becomes a solid blob of black, it looks goofy and out of place (note: for the mouse pointer, this is a feature, not a bug), or it ceases to look like a hand at all to someone who isn't primed for it by an article.

I can tell you that because I tried one that looked a lot like that. I went through literally hundreds of manicules from Wikimedia Commons, Font Awesome, Google Images, and articles like this, trying dozens of them on my actual website, and it took that long to find a single one I was at all happy with in context. I was shocked. No other icon I use on my site was that hard to find an adequate version of. (We really wanted a manicule for our use-case, so we persevered.)
by diggan | 2025-04-13 20:59:14+00:00
> the Meta terms of use require any derivative works to have Llama in the name

Technically it requires the derivatives to begin with "llama". So "DeepSeek-R1-Distill-Llama-8B" isn't OK by the license, while "Llama-3_1-Nemotron-Ultra-253B-v1" would be OK.

> [...] If you use the Llama Materials or any outputs or results of the Llama Materials to create, train, fine tune, or otherwise improve an AI model, which is distributed or made available, you shall also include “Llama” at the beginning of any such AI model name.

I've previously written a summary that includes all parts of the license that I think others are likely to have missed: https://notes.victor.earth/youre-probably-breaking-the-llama...
by strcat | 2025-04-13 21:01:22+00:00
GrapheneOS is a mobile Linux distribution. It's not systemd and GNOME which makes it a Linux distribution but rather the Linux kernel. There's nothing stopping people from running a traditional desktop Linux software stack on the same hardware we support. That doesn't interest us since it would be a massive privacy and security regression from the Android Open Source Project. It would also give a lot of usability, robustness and the huge mobile app ecosystem including a large number of open source mobile apps.

The Linux kernel is increasingly the elephant in the room when it comes to security and hasn't experienced anything like the massive progress made in Android's security in userspace. Piling on many more exploit mitigations to the Linux kernel won't really change this. We need to do a lot more work on it than we already do.

GrapheneOS has hardware virtualization support, which is going to be one of the ways to avoid depending so much on the Linux kernel's fragile security. The main usage for it in GrapheneOS will be running nested GrapheneOS instances for better sandboxing rather than running other operating systems. Android supports using the virtualization support to run other operating systems via the Terminal app and we have support for GUI applications, speaker, microphone and opt-in GPU acceleration backported to the Terminal app. The main use case for that app will be running desktop applications from other operating systems for the desktop mode. Windows 11 support would be a compelling addition to it and we may implement that in the next year or so.
by neonsunset | 2025-04-13 21:01:38+00:00
> I think I can do that in a no overhead way.

If 'T' is a struct, yup, although that's specific to the way it is compiled by CoreCLR's JIT or ILC.

For constructor semantics it's best to expose a static abstract interface method Create<T> and have the interface be SomeInterface<Self> where Self : ISomeInterface<Self>.

For example, that's how `INumber<T>` interface works so you can further down the line write `T.Zero`.
by rich_sasha | 2025-04-13 21:02:23+00:00
> Would a shrinkage still cause economic collapse?

Sort of maybe yes.

Even when you save up the cash up front, you live off return on the investments. Of course you can invest globally, but wherever you invest, you rely on there being a young productive workforce to generate said return on investment.

Ultimately, cash is a nice abstraction, but you need someone doing the actual doing - harvest food, run hospitals, fire stations etc. With many old people around, there's many people who need services (especially health) but few to run them.

Where you are better off is you ringfence the saved up cash for investments, ensuring you have more growth to finance the whole party when it comes to it. In principle the state can do it too, but it's often too tempting not to.
by JKCalhoun | 2025-04-13 21:02:30+00:00
You're right — a font is as still useful today as it was 30 years ago. But there is no longer a market for them. They were commoditized a long time ago. My memory of the 90's is rusty but I feel like it was a company like Bitstream that came around and so undercut the font market in a race to the bottom that, even then, it was clear that selling fonts was a dying business.
by jansan | 2025-04-13 21:03:40+00:00
I think implementing a dithering algorithm is one of the most satisfying projects, because it is fun, small(ish) and you know when you are done.

Of course, unless you are trying to implement something completely insane like Surface-Stable Fractal Dithering https://www.youtube.com/watch?v=HPqGaIMVuLs
by canjobear | 2025-04-13 21:05:21+00:00
Those aspects of the book are awesome but I think they run against the themes Ridley Scott was going for. Ridley Scott wanted Deckard to be an android. It's hard to interpret the unicorn scenes otherwise. The androids are shown as cruel due to their lives as slaves, but with human-like longings for life and meaning (like in Roy Baty's final speech about tears in rain). The overall point is to blur the boundary and say the androids can be meaningfully human.

Whereas Mercerism and the animal stuff in the book are all about emphasizing the ways humans are different from the androids. The androids mock Mercerism and they don't care about animals: they are incapable of empathy. They torture people and animals without compunction. The alternate police station scene, where Deckard is tested using a bone marrow test instead of Voigt-Kampff and comes out human, is evidence that he's not an android.

The book is, in my view, one of the few pieces of sci fi media that seriously raises the question "could these apparently human-like machines really be human just like us?" and answers a resounding "no". The androids are psychopaths who are unable to partake of the human experience. Ultimately PKD is concluding that they are meaningfully not human---and, furthermore, some biological homo sapiens who act like them might actually be androids, a theme you can find elsewhere in his essays [1]. To the extent that Deckard's humanity is called into question it's not whether he is physically an android, but if he is psychologically a psychopath because of his job killing androids.

[1] https://sporastudios.org/mark/courses/articles/Dick_the_andr...