MurphyA/hacker-news huggingface dataset:
by OneDeuxTriSeiGo | 2025-05-18 18:58:09+00:00
I came across this project a while back and adopted it for my personal Personal Knowledge Management System/PKMS.

I've bounced around a few PKMS in the past, eventually settling on Obsidian but later moving to Logseq in an effort to avoid relying on closed source tooling. Then recently I discovered this project and I've been beyond impressed.

The desktop and mobile apps work very well and to be entirely honest are way more polished than I've come to expect from a FOSS PKMS, it's full featured with more or less everything I could want. It has a built in git-like VCS, it has integrated rendering for Mermaid, Plantuml, etc, and what I've personally found most interesting is it supports representing your notes as structured data that you can query with SQL.

My one gripe is the english docs are pretty sparse but otherwise I've had a phenominal time with SiYuan and I thought HN might find it interesting.

Github link: https://github.com/siyuan-note/siyuan
by ath3nd | 2025-05-18 18:58:15+00:00
Only, in the case of Israel vs Palestine, you have a real genocide, because it meets all the points that define what a genocide is:

- hitting hospitals (https://www.france24.com/en/middle-east/20250518-more-than-1...)

- hitting civilian infrastructure (https://www.palestinechronicle.com/israel-bombs-civilian-sit...)

- hitting civilians (https://en.wikipedia.org/wiki/Israeli_bombing_of_the_Gaza_St...)

- displacement (https://news.un.org/en/story/2025/05/1163306)

- dehumanizing the enemy (https://en.wikipedia.org/wiki/Animal_stereotypes_of_Palestin...)

- stopping aid (https://www.bbc.com/news/articles/c9q4w99je78o)

- starvation (https://www.nytimes.com/2025/05/13/world/middleeast/gaza-fam...)

This is 100% meeting the definition of genocide, so we are not using this word because we "love it", we are using it because it's the correct word to use. That's what words are for.

Also, the world's biggest international court issued an arrest for the war crimes of Netanyahu: https://www.icc-cpi.int/defendant/netanyahu. And not every war is genocide, but this one is, because it fits the definition of genocide. That's how words work. Oh, and it also has a wikipedia page: https://en.wikipedia.org/wiki/Gaza_genocide. Also, OJ did it.
by marcodiego | 2025-05-18 18:58:42+00:00
My first x86 was acquired in 1997: a 200MHz pentium MMX with 32 MB of RAM, a 2.0 GB harddisk, a 2 MB S3 ViRGE as video card, Aztech Labs AZT-R 2316 sound card, a 33.600 bps winmodem and 28X (I think) CD-ROM. I soon wanted to install Linux on it. It ran minilinux, a small distro that could be launched directly from DOS without partitioning, relatively well. I also downloaded Debian and prepared the 10 floppies to install it but never got ahead because it didn't support my keyboard layout (ABNT2) out of the box. I eventually installed Conectiva Linux 3.0 (marumbi), a RedHat based distro, on it. It worked somewhat beautifully but had no support for the modem and soundcard.

As my relatives and siblings updated their computers, I inherited their spare parts. My machine got some very interesting upgrades. It got 2 floppy drives (very rare at the time), 2 harddisks, a cd-recorder unit, RAM was upgraded to 64 MB and the modem was replaced by a ne2k compatible network card. I also had a Linux-supported Canon BJC 4200 and a SANE-supported TCE table scanner. Still, I couldn't get the SoundBlaster that my brother had and, sadly, my machine continued without sound support on Linux.

At around 2006 I replaced it with a new self built computer which had better compatibility with Linux than with windows-xp and then this new computer became my first dedicated Linux machine. I found out that Linux eventually got support for AZT-R 2316 at around 2007, but the last time I tried my old computer, it displayed "parity error" probably from oxidation in the memory connectors. I then just gave up on it.

Later on I thought about if it would be possible to install a graphics card with OpenGL support and USB port on one of the remaining PCI ports. I certainly wouldn't be able to install a modern Linux distro on it, but certainly it would work with one of those specially crafted for old computers like TinyCore. With recent kernel changes, swapping maybe smart enough to be usable on SSD with SATA to IDE adapters even in that computer. Now, that would be a dream machine.
by thaumasiotes | 2025-05-18 19:00:27+00:00
> You can see it on revenue as well, since even if growth is exponential, churn is a percentage of your total paying users. Thus, it produces a sigmoid curve unless you can get churn to 0% (pro-tip: you can’t).

Exponential growth means that additional users are a percentage of your total users.

It is trivial to see that adding a source of exponential decay will give you another exponential function. All churn (as you've defined it) does is lower the exponent. It will never take you from exponential to sigmoid.
by tialaramex | 2025-05-18 19:01:11+00:00
Sure, or perhaps since LLVM devs like niches so much they might decide to RIIR.

For me the big advantage of Cranelift isn't that it's written in Rust it's that they seem to have invested more into coherent semantics. I do not want to write code which is correct but is miscompiled because the compiler internal semantics are nonsense and that's a small but noticeable problem in LLVM.

You can write contorted (but safe) Rust which LLVM just plainly miscompiles, the rust layer is like "Make local variable A, and local variable B" Ok says LLVM, "and now is the address of A the same as the address of B?" "No", says LLVM those are different, not the same variable so different addresses. OK says the Rust. Now, subtract the smaller from the larger and tell me the number you got. "Zero" triumphantly proclaims LLVM having deduced that we don't need A or B so there's no need to store them anywhere, but forgotten that it promised their addresses aren't the same... Oops.

That example is silly, but it's hard to be sure how many large codebases might tickle equivalent LLVM miscompilation, which is not good.
by kulahan | 2025-05-18 19:01:33+00:00
These types of arguments are always so easy when you present everything as insanely black and white.

A thought experiment: if we could install a device which increases the likelihood of everyone surviving a car crash by 0.001%, but it costs $100,000 should it be mandated in every car? After all, this involves a victim as well.

I don’t think anyone would agree to that particular law. There is inevitably going to be a cutoff where you say “the increased safety is no longer worth the cost”. That’s acceptable risk and it’s not only good, it’s absolutely necessary to a functioning society.
by neilv | 2025-05-18 19:03:08+00:00
> O(n) companies can't afford to hire the absolute best talent. [...]

> O(n^2) companies hire high agency people. [...] People are generally given a lot of equity to join and as a reward.

O(n^2) is often a matter of ZIRP-VC-powered artificial-growth (e.g., their example of Uber). That also includes hiring a large quantity of people.

For factors in genuine O(n^2) growth, you might be onto something: with structuring culture to leverage employee agency, and for using meaningful equity to help align employees with business success.
by danjl | 2025-05-18 19:03:18+00:00
Or, really, to say the unsaid bit out loud: there are lots of important considerations when taking a job. The author seems to assume that money is the only driver, when, for many top candidates, money is not their primary motivation. The ability to plan well and thereby reduce stress is a good measure of the management experience. Other non-cash incentives tend to be given out more readily at well-run non-enterprise companies, including remote work, longer vacations, and more strategic control, to name just a few.
by wowczarek | 2025-05-18 19:03:24+00:00
I'm 19 years old, kde3 is just out and compiling it with objprelink makes it go brr, gkrellm on the side of my desktop, XMMS and a playlist of ripped CDs and assorted downloads, Quake II deathmatch is as fun as it ever was, I have no real worries and make just enough to never skimp for a beer or two. Life is good. Thanks for the memories ;)
by SoftTalker | 2025-05-18 19:04:40+00:00
The point is that even very smart people in technical fields can just be bad at/not care/willfully refuse to use stuff like this. It's a non-starter for a general-purpose authentication mechanism if the user has to understand concepts such as "private" and "publc" keys.

Even 2FA solutions like Google Authenticator are simple enough that you just need to scan a QR code but very few people use them and even fewer actually bother to print/save the backup emergency codes for use if they lose access to their auth device.

People can (sometimes) handle passwords, and an emailed reset link if they forget.
by thethirdone | 2025-05-18 19:04:49+00:00
What "O(1)-state shuffle" could you possibly be talking about? It takes `O(nlogn)` space to store a permutation of list of length n. Any smaller and some permutations will be unrepresentable. I am very aware of this because shuffling a deck of cards correctly on a computer requires at least 200 random bits.

If the requirements are softer than "n random permutations", there might be a lot of potential solutions. It is very easy to come up with "n permutations" if you have no requirements on the randomness of them. Pick the lowest `k` such that `n < k!`, permute the first k elements leaving the rest in place, and now you have n distinct permutations storeable in `O(log(n)` (still not O(1) but close).

I know this is not really your point, but misusing `O(1)` is a huge pet peeve of mine.
by caconym_ | 2025-05-18 19:04:57+00:00
+1. I have Wireguard set up on all my mobile devices and configured to automatically start when connecting to any wifi that isn't mine, so I can take my devices anywhere and I'm still on my home LAN. It works seamlessly and flawlessly.

I self-host a lot of services, and without Wireguard (or equivalent), remote access just wouldn't be realistic.
by avereveard | 2025-05-18 19:05:13+00:00
Counter hypothesis: fast but linearly growing early stage startup acquire good early funding and enter into a growth loop dominated by the ability to invest these fund in marketing, which increase valuation and allow for further funding, fueling more growth etc.

After all cost of customer acquisition is largely dominated by external factors and cost per user mostly linear until close to market saturation.

Now there might be economy of scale intervening at some point increasing the margin per user, which feed back into growth, but on average fast growing startup are cash negative until much later in life.

TLDR I think the implications in the article is inverting cause and effect
by allenu | 2025-05-18 19:05:20+00:00
Thanks for the feedback! I'm currently working on a big rewrite of the app, so it's good to know I should work on reducing the friction of creating cards, such as with the share sheet or some other integration.

Like I said in the other comment, I'm going to play around with some ideas regarding an inbox. I think that on its own would help a ton for just recording things to be converted to flashcards later. There's probably a good in-app UI that can be made to go through the inbox and easily convert the notes created into the front and back sides as well.
by Maxatar | 2025-05-18 19:05:54+00:00
> In algorithm analysis, we would typically have n represent time (or some other cost).

No, n is never time in any kind of algorithmic analysis. n is a function of the size of the input and the output is some measure of the cost related to the input.

In O(n^2), the size of the input is n and the amount of time, or space, or some measure of the cost has an upper bound that is proportional to n^2.
by throwaway277432 | 2025-05-18 19:06:23+00:00
> "What do you think about the comments of user XYZ"

Wow that is really scary. Never did I ever think someone would actually go through all my old comments, analyze them in detail and then judge me based on them (my real account, not this throwaway).

Yes I knew it would be theoretically possible, but you'd have to be a total stalker and real creep to actually do it. Now anyone with an LLM can just do it without a second thought.

And it'll only get worse from here on. I'm sure there is at least 1 comment somewhere on the internet by me where I wasn't too nice, or a like / upvote on a questionable opinion or something.

If it's in any way connectable to me future AI tech is going to find it. Probably even across accounts, matching writing styles and whatnot.

I seriously think I'm going to stop posting on the internet for good.
by christiangenco | 2025-05-18 19:06:33+00:00
I solve this problem with a system prompt in my LLMs[1].

ChatGPT is the main spot where I'm going to be trying to understand a new concept, so after groking it I'll ask it to make flashcards which I can then just copy and paste into Mochi.

An improvement would be some sort of MCP integration between the LLM and Mochi so it can just add the card directly. I'm sure we'll get there soon.

1. https://gist.github.com/christiangenco/db4b61c315b93fc2a404a...
Ask HN: How to Fight Internet Addiction?
by lekker-kapsalon | 2025-05-18 19:06:55+00:00
I am in the middle of jobs, have not much to do, so all my free time is wasted on scrolling the web. Sometimes I start doing something challenging, quickly get frustrated, and open porn. I am tired of this, I want to get rid of my laptop and phone. Can you suggest any strategies?
by danjl | 2025-05-18 19:07:51+00:00
Or, O(n^2) companies are founded and run by people motivated solely by making lots of money, while O(n) companies are there for multiple reasons: passion for the topic, making employee's lives better, and helping their customers solve problems. Though those motivations exist at O(n^2) companies too, they are in the shadow of making money. While, at O(n) companies, money is also essential, but it exists to support the other goals. A slight shift in priorities can make all the difference.
by cpgxiii | 2025-05-18 19:07:55+00:00
If the current->torque behavior of motors with gearboxes could be generally well characterized, the entire distinct market sector of "cobots" would not exist because every industrial robotics vendor would have long had good torque modelling on their actuators.

As it stands, Universal Robots (and likely their clones) do use current->torque characterization for their actuators (which, amusingly, is then stored on a robot-specific USB drive or SD card), and their torque sensing is shit. Shit enough that for any useful force/torque application you still need a separate force/torque sensor. Schunk, for some of their electric parallel grippers with "force" feedback, only characterizes them at a single velocity and there is significant error in the force estimate at any other speed. Good current->torque characterization of a complete actuator is so difficult that approximately no vendors in the automation space are willing to do it.
by InsideOutSanta | 2025-05-18 19:07:58+00:00
>choosing the glyphs according to purely graphical concerns, "what would look nice here", lines being too long or too short, avoiding repeating sequences or, to the contrary, achieving interesting 2D structures in the text

I wouldn't assume that the writer made decisions based on these goals, but rather that the writer attempted to create a simulacrum of a real language. However, even if they did not, I would expect an attempt at generating a "random" language to ultimately mirror many of the properties of the person's native language.

The arguments that this book is written in a real language rest on the assumption that a human being making up gibberish would not produce something that exhibits many of the properties of a real language; however, I don't see anyone offering any evidence to support this claim.
by HyprMusic | 2025-05-18 19:08:28+00:00
Very useful. I just tried it with my spare racquet, and it seems about right. I have always wondered if my main racquet has lost tension, so it'll be really useful for that.

For making money, I'd suggest reaching out to professional re-stringers and asking if they want to advertise (once you have some nice analytics to brag about). Maybe even localise them based on geolocation data so you can have more re-stringers without cluttering it up. It's a value-add to your users so everyone should be happy.

You could probably even reach out to some YouTubers (I personally like BadmintonInsight). Since it's free, I would imagine some of them would do a video on it just to help their viewers.
by p_ing | 2025-05-18 19:08:51+00:00
Read a book! Would you/do you enjoy any specific genres?

How much do you exercise? Even if you walk around the block, that's awesome. Try to challenge yourself if you don't, start with 1 mile, then 2, etc. to the point where you feel it's as far as you can go.

I wouldn't get rid of your laptop since you need it for job hunting, but you could get a dumb phone.

What other hobbies do you have? If none, what kind of facilities/3rd places are near you to facilitate hobbies? Are you rural, suburban, or urban?
by s1mon | 2025-05-18 19:08:57+00:00
It's a pair of handlebar mounted sensors which show how closely cars have passed by. The biggest difference is in the crowd sourced data about general safety of roads. That's really a feature which could be added to most of the existing systems. The hardware is all about tracking how close vehicles are to a bike. That's the same problem radar and camera systems are solving and have been solving for a while. The article acts like the sensors are novel - which they are not.
by bearjaws | 2025-05-18 19:09:00+00:00
One of the biggest failings of congress has been the treatment that Chinese made stuff is junk. Especially the idea that the stuff they make is unnecessary (e.g. Trumps rant about needing 30 dolls). They are quite frankly detached from reality.

Broadly speaking our leadership thinks Chinese still make junk clothes, batteries, and useless trinkets (especially republicans believe this).

Meanwhile, when you work in actual factories here, you realize very quickly we are insanely tied to Chinese made goods to make our goods.

Then you realize that nearly every good and affordable product is designed AND made in China.

Then throw in drones, webcams, monitor arms, all the chips, transistors, capacitors, batteries... It's absurd to hold a world view that China is dependent on the US and not the other way around.
by Mefix | 2025-05-18 19:09:58+00:00
I have YouTube premium and on chrome, because I have ublock installed, it doesn't even load videos. Just a big black screen. My regular habit of opening up a few videos in the background tabs is completely diminished into closing all my picks just because I cant be bothered to open the links in firefox. You'd think youtube wouldn't be that aggressive towards paying subscribers, but the feel is they REALLY don't want to load any content for you.

Another funny thing for premium subscribers is when their ultra low bitrate 1080p videos have an enchanted bitrate option available to subscribers, you have to enable it manually every time instead of being a convenient feature.

My thinking is that in their pursuance of optimization lead them to overserve locally cached videos as priority to save on bandwidth, it's like internet providers are demanding more of them and google's projections for growth show a total collapse of the platform in some not-too-distaint future.
by schwartzworld | 2025-05-18 19:10:06+00:00
Thats the 1-sentence summary of FP, but there’s a lot more to it. Immutable data structures are part of it, although less important because of how props are scoped.

Composition, my friend. That’s the key. If your whole tree is rerendering whenever your state changes, it’s a failure to compose your components properly.

FP includes strategies for limiting side effects, relying on architectural patterns that push side effects to the edges of your application. This is a very sane way of working in react.

And a lot of prop drilling can be reduced by passing down closure functions with curried values in them.
Show HN: Sshsync – CLI tool to run shell commands across multiple remote servers
by blackmamoth | 2025-05-18 19:10:29+00:00
I built a CLI tool called `sshsync` to run shell commands and transfer files across multiple servers over SSH concurrently.

It was inspired by tools like `pssh`, but I wanted something more modern, intuitive, and Pythonic.

What it does:

- Run shell commands on multiple servers (in parallel) - Push/pull files or directories with progress bars - Uses `~/.ssh/config` and lets you group hosts with YAML - Supports `--dry-run` mode to preview actions without executing - Outputs results using `rich` (tables, colors) - Built with `Typer`, `asyncssh`, and `rich`

There’s no daemon or extra setup, it reads your existing SSH config and just runs.

Would love feedback on general use and especially if there are ways to improve the `--dry-run` output.
by impomatic | 2025-05-18 19:10:45+00:00
CORE WAR TOURNAMENT ANOUNCEMENT

Inversed has announced the Nano Core War Challenge, with a first prize of $100. Entries will be scored against the Nash equilibrium, and a new equilibrium will be calculated.

What is Core War?

Core War is a programming game which challenges players to write a program in an assembly-like language called Redcode. Programs compete by trying to eliminate all opponents in a shared, simulated memory called the core. The last program standing wins the round.

What is Nano Core War?

Nano Core War is a compact Core War environment with a memory size of 80 and a max program length of 5. It encourages efficient code, supports diverse strategies, and is ideal for experimenting with genetic algorithms.

Full details are available on the tournament website and in the newsgroup rec.games.corewar
by Llamamoe | 2025-05-18 19:11:18+00:00
> Chinese culture doesn't have the same impact, yet.

At this rate if 2/3rds of their popular media(manhua, games, animation) continues being cultivation fantasy featuring the exact same power system, tropes, character archetypes, often even setting(murim) and content, it never will.

Animanga were always poised to make it big, because for all their shortcomings, they have interesting, exotic(to us) themes/tropes/vibes, and go really hard on hyping scenes up.
by amluto | 2025-05-18 19:11:25+00:00
Maybe "data model" is the wrong term.

The last time I tried to use Anki for real, I wanted to set up some Chinese character cards, to be used by 2-3 different people. I found a couple apparently high-quality decks online and downloaded them, and they had lots of characters, including (mostly) ones that I didn't want to include for the users in question. Removing content from the decks seemed wrong. Trying to make an actual practicable system with just the specific templates I wanted seemed unnecessarily complex (these decks had lots of fields in the notes, which is great, but I didn't want to use all of them). And actually getting the result to work for multiple users seemed like an exercise in poor maintainability -- I wanted to maintain and curate the set of notes and be able to update what each user was studying as needed.

As the very most basic failure, Anki barely separates the concept of a "deck" in the sense of a set of notes from a "deck" in the sense of that which a particular person is studying. And I found that to be quite limiting.

What I think I wanted was a collection of notes, where each note would perhaps have an id and a bunch of fields and their associated media. That collection should be copyable and ideally version controlled. And I wanted to create study sets that would reference the notes, select a subset of them and a subset of the possible templated cards, and track the study statistics.