MurphyA/hacker-news huggingface dataset:
by unshavedyak | 2025-05-18 14:50:28+00:00
This looks awesome! Wonder if something like this could be turned into a generalized optimization engine of sorts? Ie if the problem could be generalized for a set of available movement commands relative to used commands, you could apply it to any underlying platform.

Which is to say, i'd love to see this in Helix. I also toy with custom editors, and observability of available commands is high priority for me, a generalized solution here would be an elegant solve for that. It would also adapt to new features nicely.
by joenot443 | 2025-05-18 14:50:33+00:00
Well, the answer I love them to start with is asking if they're single-bay computers and if not, why they can't just turn off both machines and stick the HDDs in the same box :) It's also a great signal if they can follow this up by noting that the Windows drive is probably formatted in NTFS so the Linux instance will need drivers to support it.

Otherwise, a wired network + SMB/Samba is a fine solution too, though much slower.

Even if they just suggest using an external SSD I'd be relatively happy. More than anything, this kind of question is to see what happens when a junior's asked to do something they haven't done before. Any answer but "I don't know" is a good start.
by entropie | 2025-05-18 14:51:21+00:00
I did that. The consens is like, just an example, yanki-connect:

> Anki desktop app auto-launch > Perhaps the most precarious aspect of the Anki-Connect add-on is that the Anki desktop application must be running for any of the API calls to work. Yanki Connect tries to sand down this rough edge by (optionally) automatically launching the Anki desktop app if it's not running already.
by parsabg | 2025-05-18 14:51:21+00:00
Thanks a lot! :)

I might write a short post on the development process, but in short:

- started development during Easter so roughly a month so far

- developed mostly using Cline and Claude 3.7

- inspired and borrowed heavily by Cline, Playwright MCP, and Playwright CRX which had solved a lot of the heavy lifting already - in a sense this project is those 3 glued together

I don't plan to monetize it directly, but I've thought about an opt-in model for contributing useful memories to a central repository that other users might benefit from. My main aim with it is to promote open source AI tools.
by bflesch | 2025-05-18 14:51:52+00:00
> Kids don't have a shared cultural experience like I did.

You observe correctly but the conclusion is incorrect. You fail to take into account that year-, location- and interest-based cohorts of kids tend to follow the same influencers, and thereby consume the same content.

The problem for outside observers is that without the platform's data we cannot identify the cohorts and thereby cannot distinguish between the groups.

This logic follows a set-based approach to social media analytics called social set analysis pioneered by a research group at which I later did my PhD.
by Alex-Programs | 2025-05-18 14:52:08+00:00
Spending half an hour mind-numbingly learning words through flashcards will teach you about as much vocabulary as an hour watching educational videos, but it'll be far less fun and you'll feel like it actually took two hours.

Keep that up every day and you'll burn out much faster with option 1 than option 2. Now, maybe you have enough motivation for that not to matter, or the self-discipline to keep going - as I did in my A levels - but don't be surprised if it kills your interest in the subject.
by jpmattia | 2025-05-18 14:52:48+00:00
> The title is... odd.

Not if you know the reputation of John Baez: Anyone familiar with him or his writings would know without hesitation that he understands black-body and E&M radiation, so his choice of title is clearly meant to be provocative.

It says to the reader "I wonder what he means?" To this reader, I'll also say that he delivered a terrific blog post.
by boredpudding | 2025-05-18 14:53:27+00:00
There's two types of built-in LLM's:

- The ones the user sees (like a sidepanel). These often use LLM API's like OpenAI.

- The browser API ones. These are indeed local, but are often very limited smaller models (for Chrome this is Gemini Nano). Results from these would be lower quality, and of course with large contexts, either impossible or slower than using an API.
by Knork-and-Fife | 2025-05-18 14:54:07+00:00
I used basically this algorithm in college with the following setup:

Make a word document that lists all the keys to memorize vertically. Save as PDF

Open the PDF in a viewer with annotation tools. Make a clickable note in the margin just next to each key. Write out the value to memorize in the note field.

Cycle through the clickable notes. When you get one right easily, drag the note more to the left in the margin. As you cycle, focus on the ones furthest to the right. If you get one wrong, move it a bit further to the right.

In general the notes will move to the left until you're comfortable with all of them. And the balancing of which ones you need to see and focus on plays out very naturally and you feel in control the whole time.

There are many downsides with this compared to a tool like anki (e.g. I only used it on a laptop), but there was also something about it that just worked really well for me, so I never ended up switching to a different tool. But this was before anki had the similar algorithm described here. Maybe my experience would be different today
by andrewfromx | 2025-05-18 14:54:35+00:00
when dealing with long lasting TCP connections, why add that extra layer of network complexity with k8s? I work for a big IoT company and we have 1.8M connections spread across 15 ec2 c8g.xlarge boxes. Not even using a NLB just round-robin DNS. Wrote our own broker with https://github.com/lesismal/nbio and use a packer .hcl file to make the AMI that each ec2 box boots. Using https://github.com/lesismal/llib/tree/master/std/crypto/tls to make nbio work with TLS.
by theodric | 2025-05-18 14:54:44+00:00
I have a pair of these Xreal (formerly Nreal) glasses, and I find text too unclear from the plastic optics, too full of halo/fringe (think: cheap VR headset, like trying to work on a Quest 2), and the OLED's pixel arrangement too odd for any serious work use. It's just about good enough for light gaming and movie consumption, but even gaming is a strain for me. They also make me sleepy! They do accept some prescription lenses inserted in front of the viewports, and include a blank you can have cut, but I haven't used them. I have good close-up vision with some mild, untreated astigmatism.
by nickandbro | 2025-05-18 14:55:30+00:00
Thanks, it is, right now! And will have a generous free tier once finished. The only big reason I am making a priced option is for users who want AI tips to be able to have that option. Right now, I do that by having reasoning models like o3 solve the levels and then provide tips or verifying a level can be solved with certain motions.
by rainsford | 2025-05-18 14:55:36+00:00
I'm not sure the evolution you're describing is as much of a change as it might superficially appear to be. The modern crypto participants may look different than the original enthusiasts, but the philosophy of being free from authority and regulations is still 100% there. It's just that instead of it being about scrappy cypherpunk rebels, it's about billionaires who want to use their wealth to supplant governments and usher in a techno-feudalism future or whatever. Of course some folks are just in it for the get rich quick scams, but there is an obvious ideology around the cryptocurrency space today that is still anti-authority but for all the wrong reasons.
by lovestory | 2025-05-18 14:57:25+00:00
My personal workflow with memorizing with Anki using LLMs is as follows: Read textbook material first. It's important that you understand what you are learning.You cannot just breakdown information into atoms and expect to understand how it works together (for example: you can learn that there are monounsaturated fats, polyunsaturated fats, saturated fats and trans fats. But without reading beforehand about them from a textbook or other source, you will not understand how they differ (in chemical structure, biological function etc). After I understand the material, I feed LLM the documents (textbooks etc) and give it the following prompt: >I want to generate flashcards from the provided textbook document using the attached PDF. Each flashcard should contain a question and a corresponding answer formatted as pairs in plaintext code block. The structure should be: "Question","Answer" >Extract key concepts, definitions, and explanations from the textbook. If in the text imperial unit system is used, convert it to metric. For mathematical symbols and equations, format them using inline MathJax syntax because I will be importing the copied text to Anki. Ensure questions are clear and concise while answers provide a direct yet comprehensive response.

After the text is generated, I check out the accuracy (in 95% of cases the cards are accurate) and I import them into my decks. The rest is good old school Anki memorizing.
by evanjrowley | 2025-05-18 14:57:38+00:00
I think this poll highlights an important issue. This is coming from someone who has been remote working for almost 10 years now since late 2015.

A paradoxical phenomenon I find with remote work: The volume of my work is higher when working remote because I can focus more on tasks without distraction, however, I also work smarter when I have interactions with people in the office. Personal interaction results in more efficient feedback loops that help me course-correct better. Being able to skip an inbox (or a meeting!) and get a direct answer can be massively valuable. Not being reduced to just another message notification is over-powered.

Despite the benefit of in-person work, the value proposition drops when you work in a "global" company. The sweet spot is finding ways to effectively collaborate, but sometimes this just means being available at odd hours that wouldn't make sense for an in-person office job. Both this and the course-correction problem I mentioned before are the major contributing factors to dissatisfaction with remote work, IMO.

Those of us who feel pressured to put in extra time while working remotely may also be at risk of sedentary lifestyle. Ever since COVID-19 lockdowns and for a variety of reasons, the time I used to invest in physical activity has been replaced by more desk work. The physical and mental effects of this are significantly detrimental. Improving my health seems like an impossible challenge with the encroachment of competing priorities that I'm seemingly locked-in on for months/years. I have no doubt that in-person work would make it easier to control this lifestyle imbalance.

PS: Remote work before Microsoft Teams and Zoom was the golden age of remote work. The only people who turned on a camera were the few with a license for Webex or GoToMeeting. Nobody cared about the color of your activity indicator.
by idiotsecant | 2025-05-18 14:58:00+00:00
My prediction:

It will be like furniture.

A long time ago, every piece of furniture was handmade. It might have been good furniture, or crude, poorly constructed furniture, but it was all quite expensive, in terms of hours per piece. Now, furniture is almost completely mass produced, and can be purchased in a variety of styles and qualities relatively cheaply. Any customization or uniqueness puts it right back into the hand-made category. And that arrangement works for almost everyone.

Media will be like that. There will be a vast quantity of personalized media of decent quality. It will be produced almost entirely automatically based on what the algorithm knows about you and your preferences.

There will be a niche industry of 'hand made' media with real acting and writing from human brains, but it will be expensive, a mark of conspicuous consumption and class differentiation.
by TheDong | 2025-05-18 14:58:08+00:00
My tip is to map the 1-4 difficulties as "wrong, or <60% confidence", "60-80% confidence, thought required", "90%+ confidence, thought required", and "90%+ confidence, no serious thought".

Depending on what you're learning, you might vary those. For language learning, that works well imo.

Also, make sure to switch to FSRS. The old algorithm defaulted to "again" resetting a card to 0, while "again" in FSRS does show it again, but doesn't reset it back to being effectively new.

If you want to understand the algorithm, read this: https://github.com/open-spaced-repetition/fsrs4anki/wiki/ABC...
by srazzaque | 2025-05-18 14:58:23+00:00
This is impressive! Some interesting (and seemingly accurate) insights on my own behaviours :-)

Caveat: I didn't try this on desktop. On mobile (DDG Browser) I couldn't actually see any charts on the questions I asked. Whilst the display of the tables (dataframes?) is nice, my suspicion is a general user would prefer a graph or table _by default_. I needed to prompt specifically to get the workflow to output a graph for me.
by smitelli | 2025-05-18 14:58:32+00:00
I have been nerd-sniped into conjuring up a less-traveled-path technique:

Portable Python on the Windows computer. `python -m http.server`. On the Linux computer, something like `wget -mkp` followed by `find … -delete` to get rid of the index files.

(Lots of disks are soldered in nowadays, or the procedure might require multiple M2 slots that the destination mobo might not have. Is your company IT department happy to know their hardware is being disassembled?)

I have not benchmarked to see if this would sustain the 120 Mbps the original scenario would require.
by Lerc | 2025-05-18 14:58:53+00:00
The fact that those TV shows exist indicates the root of the problem has nothing to do with AI.

Those show are cheap because they employ fewer people. They still need to employ some people though. To me the greater tradgedy is that they make a product where those people who make it do not care about it. People are working to make things they don't like because they need income to survive.

The problem is not that AI is taking jobs, it is that it is taking incomes. If we really are heading to a world where most jobs can be done by AI (I have my doubts about most, but I'll accept many), we need a strategy to preserve incomes. We already desperately need a system to prevent massive wealth inequality.

We need to have a discussion about the future we want to have, but we are just attacking the tools used by people making a future we don't want. We should be looking at the hands that hold the tools.

Discussions like this often lead to talking about universal basic income. I think that is a mistake. We need a broader strategy than that. The income needs to be far better than 'basic'. Education needs to change to developing the individual instead of worker units.

Imagine a world where the only TV shows were made were the ones who could attract people who care about the program enough that they would offer their time to work on it.

That too would generate a lot of poor quality content, because not everyone is good at the things they like to do. It would be heartless to call it slop though. More importantly those people who are afforded the lifestyle that enables them to produce low quality things are doing precisely the work they need to be doing to become people who produce high quality things.

Some of those hands learning to make high quality things may be holding the tools of AI. People making things because they want to make will produce some incredible things with or without AI. A lot of astounding creations we haven't even seen or perhaps even imagined will be produced by people creatively using new tools.

(This is what I get for checking HN when I let the dog out to toilet in the middle of night)
by heresie-dabord | 2025-05-18 14:58:56+00:00
> Rust and Go are currently the “favourite” languages on Hacker News by sheer attention and total karma

Of course, the statement must be consumed with a few NaCl because frequency of discussion (especially within an obsessive subgroup) does not represent effective implementation. Even less so do "attention and karma".

By actual work being done and bills paid and new, non-trivial projects begun, some ordering of Python, ECMAscript (JS), Java, C, C++, C# would be good Family Feud-style ranked bets.
by eugenekay | 2025-05-18 15:00:56+00:00
Throughout the late 90s, “Mail.com” provided white-label SMTP services for a lot of businesses, and was one of the early major “free email” providers. Each Free user had a storage limit of something like 10MB, which is plenty in an era before HTML email and attachments were commonplace. There were racks upon racks of SCSI disks from various vendors for the backend - but the front end was all standard Sendmail, running on Solaris servers.

Anyway, here’s the front end SMTP servers in 1999, then in-service at 25 Broadway, NYC. I am not sure exactly which model these were, but they were BIG Iron! https://kashpureff.org/album/1999/1999-08-07/M0000002.jpg
by pklausler | 2025-05-18 15:01:02+00:00
Arrays are actually not part of Fortran’s type system; neither are pointers. These are attributes of variables and components, instead.

And the language has some nasty pitfalls for users (and some nonportable cases due to bugs in some compilers) with non-default lower bounds. A simple assignment statement like A=B might change the bounds of A, but A=(B) and A(:)=B cannot. It’s best to avoid non-default lower bounds in general.
by bee_rider | 2025-05-18 15:01:12+00:00
Well, I was working on a sort of green-field project that did this, and I liked it. It neatly solved the problem of needing the tests, but only wanting to call them on user-provided inputs. However, some caveats:

* I wasn’t around long enough to see if there was a hidden maintenance cost

* It was a very thoughtfully designed library in an already-well-understood domain so it wasn’t like we were going to need to change the arguments a ton

* It was explicitly a library designed to be used as a library from the get-go, so there was a clear distinction of which functions should be user-visible.

I think I would find it annoying if I was doing exploratory programming and expected to change the arguments often. But, in that case, maybe it is too early to start checking user inputs anyway.
by harrison_clarke | 2025-05-18 15:01:13+00:00
i've been doing some hobby programming on a steam deck for the last ~week. (since i got the steam deck). it's got a variant of arch linux pre-installed and it's x86_64, so a lot of those steps are covered

might have to try it with AR glasses. but, the screen is bright enough that it's usable outdoors anyway

i've been using copilot with voice input, with a bit of on-screen keyboard usage when it's not cooperating. i'm mostly giving it fairly simple edit instructions ("write a for loop at line 50"), rather than full on vibe coding, and it's working much better than i expected

i'm not using emacs/vim, because the steam keyboard doesn't have a ctrl key, and i have to use a less ergonomic kde on-screen keyboard to push it (and i'm a heathen that prefers vscode anyway)
Show HN: Model2vec-Rs – Fast Static Text Embeddings in Rust
by Tananon | 2025-05-18 15:01:35+00:00
Hey HN! We’ve just open-sourced model2vec-rs, a Rust crate for loading and running Model2Vec static embedding models with zero Python dependency. This allows you to embed text at (very) high throughput; for example, in a Rust-based microservice or CLI tool. This can be used for semantic search, retrieval, RAG, or any other text embedding usecase.

Main Features:

- Rust-native inference: Load any Model2Vec model from Hugging Face or your local path with StaticModel::from_pretrained(...).

- Tiny footprint: The crate itself is only ~1.7 mb, with embedding models between 7 and 30 mb.

Performance:

We benchmarked single-threaded on a CPU:

- Python: ~4650 embeddings/sec

- Rust: ~8000 embeddings/sec (~1.7× speedup)

First open-source project in Rust for us, so would be great to get some feedback!
by dr_dshiv | 2025-05-18 15:02:06+00:00
I think your attitude is great. When people have kids later in life, with all the anxieties of “doing it right,” they often think they have to stop going to parties. It is genuinely hard to prioritize your own fun when kids are in the picture. It takes work and coordination to keep partying. Parties are not extraneous — they are a really important part of our lives. Now I need to go get the bbq fired up…
by zzzeek | 2025-05-18 15:02:10+00:00
> As vibe coding becomes normalized

Just want you to know this heart monitor we gave you was engineered with vibe coding, that's why your insurance was able to cover it. Nobody really knows how the software works (because...vibes), but the AI of course surpasses humans on all current (human-created) benchmarks like SAT and bar exam tests, so there's no reason to think its software isn't superior to human-coded (crusty old non "vibe coded" software) as well. You should be able to resume activity immediately! good luck
by pjmlp | 2025-05-18 15:02:26+00:00
Your comment is exactly the reason why while I find Rust a cool language, I would be using C++ instead.

That is the systems language most JVM implementations make use of, alongside Java, and what is directly supported by JNI tooling, including on Java IDEs mixed language debugging.

And in what concerns Java, native is anyway the synonym for unsafe.

However to each their own.
by lawrenceyan | 2025-05-18 15:02:29+00:00
Ideological capture is something that any system inevitably faces once it becomes large enough. But the point is to evolve and grow, not stagnate on a fixed concept.

Personally, I think Solana does the best at balancing the original cypherpunk ethos while ultimately driving towards the future with crypto being the rails for natively programmatic global commerce.
by wongarsu | 2025-05-18 15:02:51+00:00
Another thing missing from generated content is the connection to the author. Media isn't just about experiences, it's also an exchange of ideas. Ideas the author communicates to the reader/viewer/player, and that you then discuss with other people who shared the same experience.

When people say "literally 1984" they don't mean an amorphous story about an inescapable dystopia, they mean very specific ideas Orwell packaged in a story. A large part of what makes Breaking Bad compelling is the endless stream of ethical choices and their consequences in the eyes of the authors. These things are thought-provoking when consuming the story, and can be further digested by discussing them with others who experienced the same story.
by mjevans | 2025-05-18 15:03:36+00:00
Observationally it's the truth. However the truth can hurt. It doesn't help with the implicit issues of few or no relationships of that quality.

My __theory__ is that relationships require mutual investment. There are few of them because it's too costly for people to develop them in senses of time/focus, money, and general effort. Society asks for a lot and affords few opportunities to connect with others.
by jpgvm | 2025-05-18 15:03:38+00:00
I built a high scale MQTT ingestion system by utilising the MQTT protocol handler for Apache Pulsar (https://github.com/streamnative/mop). I ran a forked version and contributed back some of non-proprietary bits.

A lot more work than Mosquitto but obviously HA/distributed and some tradeoffs w.r.t features. Worth it if you want to run Pulsar anyway for other reasons.
by tikhonj | 2025-05-18 15:03:51+00:00
What's worse for motivation than taking longer?

Boredom?

Feeling like what you're doing is low-quality or superficial?

Doing something artificial for purely external reasons like grades or exams?

Can't speak for anyone else, but for me I would take slower progress over any of these... which makes spaced repetition a hard sell.
by ulrischa | 2025-05-18 15:03:57+00:00
The reason is: Kids are uncool. No one without Kids want to make compromises in their lifestlye, what is necessary if you have Kids. Having kids is not a popular life goal in our days. What popular tv show or movie in the last years have you seen with kids and families in it? Literally 0. This was not the case in the 80s.