MurphyA/hacker-news huggingface dataset:
by jfengel | 2025-05-09 14:36:51+00:00
The stock market is the result of everyone looking at the ports and deciding that it's fine.

It's really hard to beat the stock market. It's the collected wisdom of everybody, including a lot of experts. Which I'm not -- I know nothing about ports, and while it sounds bad to me, I have zero experience.

Or... maybe the stock market is indeed obviously wrong. It happens. And if you're rational when the stock market isn't, you can get rich. Assuming you don't go bankrupt first.
by infogulch | 2025-05-09 14:37:57+00:00
This is obviously the best solution for Rust. A 'metalibrary' library type would add a lot of value to the ecosystem as a nexus:

- All included crates can be tested for inter-compatibility - Release all included crates under a single version, simplifying upgrades - Sample projects as living documentation to demo integrations and upgrades - Breaking changes can be held until all affected crates are fixed, then bump all at once - An achievable, valuable, local goal for code review / crev coverage metrics

There could be general "everything and the kitchen sink" metalibraries, metalibraries targeted at particular domains or industries, metalibraries with different standards for stability or code review, etc. It might even be valuable enough to sell support and consulting...
by RetroSpark | 2025-05-09 14:38:56+00:00
I don't know if they even had an emulator at the time - I don't think a 1980s PC could run a NES emulator at a reasonable speed.

Another possibility is that they used a hardware device. Perhaps something that watches the 6502 `sync` pin to know when an opcode byte is being read, and verifies that the data bus contains a legal value.
by superchris | 2025-05-09 14:39:01+00:00
Really like what I'm seeing so far. It looks a lot like Sprae: https://github.com/dy/sprae one of my favorite things that no one seems to be paying attention to :) I use it on live-templates, which uses Sprae to connect a template to stateful backend in Elixir over Phoenix Channels: https://github.com/launchscout/live-templates
by SeanAnderson | 2025-05-09 14:39:07+00:00
I just download the Svelte + SvelteKit (Recommended - LLM Distilled) file from the link mentioned in my original comment and drag-and-drop upload it into the chat context when I'm talking to 4o about coding. Nothing magical. It takes a second to read through the document, but then the LLM works significantly better. It stops suggesting invalid Svelte 4 syntax and prioritizes using Runes.
by empath75 | 2025-05-09 14:39:28+00:00
By the 1940s and 50s, computers were already being used for practical and useful work, and calculating machines had a _long_ history of being useful, and it didn't take that long between the _idea_ of a calculating machine and having something that people paid for and used because it had practical value.

They've been plugging along at quantum computers for decades now and have not produced a single useful machine (although a lot of the math and science behind it has been useful for theoretical physics).
by mdaniel | 2025-05-09 14:39:48+00:00
> apparently I'm rate-limited on GitHub (???) and therefore can't see the spec.

Are you also on Firefox? I've been getting those 429s a lot over the past week or so. I haven't changed my configuration other than I'm religious about the "check for updates" button, but I cannot imagine a world in which my release-branch browser is a novelty. No proxies, yes I run UBO but it is disabled for GH
by vanviegen | 2025-05-09 14:40:05+00:00
Correct!

As far as I know, Vue has always had its own HTML-based template engine, with special HTML attributes for conditions, loops, etc. Different trade-off.

Since Vue 3, it does indeed rely on `Proxy` for its reactivity, like Aberdeen.

The idea is the write whole applications without HTML. We've done some pretty big projects in this style, and in terms of DX and velocity it's actually really good. Recycling (tiny) components becomes really easy, as it's all just JavaScript functions.
by iFire | 2025-05-09 14:41:25+00:00
The first thing that came to mind was my friend's project to do a SVG editor in Godot Engine https://www.godsvg.com/.

I'll write my first impressions of https://github.com/hyvectorapp so it helps usability and improvement.

Oh it's a freemium app.

hyvectorapp starts off looking like figma, penpot style which is a good sign.

I can export svg [x]

There's no align to grid system.

vector tracing is not generally solved except via the vectormagic product and machine learning research prototypes. I wonder how you solved it.

Can't interact more today so I'll end with this note of hopefulness.
by andnand | 2025-05-09 14:41:49+00:00
Im fairly new to self hosting. I've been playing around with a raspberry pi running raspberry pi os. The documentation says the Debian package is only for amd64 architectures. Im assuming that has to do with one of the Node packages? Out of curiosity, if I wanted to get it to work on an arm architecture, where would I start? My first guess would be trying to install it on the pi and looking at the error messages.
by ksec | 2025-05-09 14:41:53+00:00
Hollow-core optical fibers may have a bright future [1], along with another HN thread from 8 years ago [2], I have longed for these cables where we could cut Japan to New York latency by 50ms.

Unfortunately we dont seems to be anywhere close to it.

[1] https://www.laserfocusworld.com/fiber-optics/article/1417001...

[2] https://news.ycombinator.com/item?id=16194973
by tipiirai | 2025-05-09 14:41:59+00:00
The challenge is that there is a difference. Client is "reactive" and server rendering is static. The SSR output needs to be some sort of hybrid, which Hyper is absolutely going to tackle. This is another area where simplicity shines. Hyper components renders exactly the same on server and client, but when SSR detects a dynamic piece it renders a "stub" to be filled by the client part.
by gr4vityWall | 2025-05-09 14:42:03+00:00
Interesting article. It does show how modern C++ can be quite scary.

It reminded me of a Haxe macro used by the Dune: Spice Wars devs to transform an AoS into a SoA at compile time to increase performance: https://youtu.be/pZcKyqLcjzc?t=941

The end result is quite cool, though those compile time type generation macros always look too magical to me. Makes me wonder if just getting values using an index wouldn't end up being more readable.
by cryptonector | 2025-05-09 14:42:11+00:00
I don't like TFA's TRIGGER using their aggregate function for the FSM because they are not ordering the events by time, but also because you just don't need the complexity of reviewing every event for an order every time there is a new event for the same order if you can just assume that all events arrive in chronological order and therefore the FOR EACH ROW trigger fires in chronological order. And if the events don't arrive (or are inserted) in chronological order then you need a FOR EACH STATEMENT trigger instead of a FOR EACH ROW trigger. Besides even as coded in TFA there is very much an in-built assumption that order_events inserts happen in chronological order anyways, so you just don't need to use the aggregate function in that trigger. The aggregate function is pretty neat and useful though, but every time you use you have to order input events by time, so the query of how many orders are in each possible state on any given day is incorrect.

Also, if you have a column to store the current/newest state of each order then I believe you can use plain SQL for the trigger function instead of PlPgSQL since you can then rely on a CHECK() to raise an exception when the new state would be 'error'.

(I bet TFA is looking for comments like these since as you can see at the bottom of TFA they are hiring.)
by cjbgkagh | 2025-05-09 14:42:35+00:00
AFAIK, in the case of Microsoft, it's less FOMO and more about execs being able to impress their peers at other companies. So not really a fear of missing out but a desire to have an exclusive access to a technology that has already been socialized and widely understood to be impressive. It's a simple message, 'that impressive thing you've been reading about, we're the ones building that'.
by ekidd | 2025-05-09 14:42:42+00:00
If you "don't touch the stuff", you are probably relying on your initial impressions from 2022 to evaluate models in 2025.

Also, predicting the next token with high accuracy may demand very high degrees of knowledge and reasoning. As an extreme example, please predict the next 1,000 tokens in this sequence: "ABSTRACT. In this paper, we show a mathematically elegant unification of quantum mechanics and gravity, which makes testable predictions. Testing these predictions shows that the quantum gravity model provides previously unexpected results accurate to 1 part in..."

To predict the rest of that paper, it helps to actually come up with a workable model of quantum gravity. Which no current LLM can do, happily.

But lots of current models are good enough at "predicting the next token" to solve high school honors math problems that they've never seen before. They can apply the chain rule, factor polynomials, double-check their work, backtrack, etc. Similarly, current-generation coding models are perfectly capable of reading compiler error messages, and generating diffs that fix the underlying problem. Current-generation summarization models are capable of reading several scientific papers, extracting the key concepts, and turning them into a fairly serviceable podcast.

All of this happens because a (1) in order to predict the next token better, LLMs actually build thousands of specialized models that do things like "keep track of the state of a chess board" or "recognize lions in photos", and (2) transformer models are sufficiently powerful to model many problems well. So a big current-generation LLM is basically an ensemble of thousands of domain models glued together with a language model and a bunch of feed-forward layers.

Now, none of the outputs from LLMs are of super high quality, compared to experienced humans. And there are deep reasons for that. But if you happen to have problem where medium-competence AI "slop" is actually beneficial, then yes, LLMs can actually be of real-world use.
by likium | 2025-05-09 14:42:48+00:00
If your company has a good component library, you can really stay in that circle for 95% of the time. If you need that 5%, usually there's a library unless you're doing something really bespoke like canvas/webgl.

And AI really can do a lot of work nowadays. I met a founder who built their entire mvp with v0.dev. 5 pages, multiple flows, modals with photo taking/uploading and working color picker. They only needed to add the api-calling logic.
by Macha | 2025-05-09 14:42:51+00:00
Voters want to know that the money is being "spent effectively". This basically means that the amount of bureaucracy and overhead can only go up. Accepting less alignment with government goals and streamlining process would probably bring overhead down.

That is not the goal of the new admin, they'll probably end up achieving a worse ratio of overhead as they monitor everything to make sure it doesn't contradict their anti-DEI messaging.
by pc86 | 2025-05-09 14:43:01+00:00
Even if "bullshit is inevitable" is true -- I don't think it is -- that doesn't mean we shouldn't punish people who make up data, who steal others' work, who steal grant money by using their fake data to justify future grants.

"Well there's lots of people now" is not really a great justification. You become a low trust society by allowing trust to deteriorate. That happens in part because you choose not to punish people who violate that trust in the first place.
by xiphias2 | 2025-05-09 14:43:04+00:00
Congrats for reaching 1.0! Nice little library, but as it's signals based, it would be nice to make it compatible with the signals proposal (https://github.com/tc39/proposal-signals)

At the same time for me, while it's super nice, in my opinion it just doesn't differentiate enough from other signals based frameworks to get mass adopted / make CRUD apps that much easier to make.

The problem with remote server/database is ,,what data to sync and when'' by the way, it's very different problem from what your framework is solving.

I loved Svelte until I started using SvelteKit and realized how hard the data synchronization part is.
by potato3732842 | 2025-05-09 14:44:29+00:00
Like every other Reddit-ism and internet worshipped rule of thumb. The reason for the popularity has far more to do with what makes a sound byte marketable to humans than it does with anything quantitative.

Look at the above restaurant example, the system has a built in buffer to handle spikes so it can be cheaper or make other tradeoffs everywhere else compared to an equivalently performant system that can do 100% duty cycle.

A robot or human that can deal with messy inventory is facilitating positive tradeoffs elsewhere in the system.
by RankingMember | 2025-05-09 14:44:33+00:00
That's a bit of a non sequitur and assumes white/black/gray = boring isn't it?

> Do you disagree with that?

100%. It's all about the entire package, of which color is only part. Aesthetics are always subjective, but, for example, the Ioniq I mentioned definitely (subjective :P) looks best in gray.
by tredre3 | 2025-05-09 14:44:47+00:00
> And most of that wouldn’t be useful. We use encryption for almost everything now for a reason.

The topic at hand is local network access. Some examples of things happening on your local network that you might not want Elon/ISP to see:

- Many people have public shares on their NAS for things like media or family photos

- Security cameras

- Printers

- If you're casting, the title of everything you watch is broadcasted on the network

- Even if you're not casting, if you use an Android TV then the title of everything you watch is also broadcasted to the network by default

- The list of all your devices

- If you torrent things, then the hash of all your torrents is likely broadcasted to your local network (through Local Peer Discovery)
by iamleppert | 2025-05-09 14:44:56+00:00
It's never made sense to me that the ultra rich wouldn't want to give their money away while they are still living? You know, to see the actual results and impact of that money and make sure it is having the impact you want? What is the point of holding onto it until you die? Meanwhile you see the world's problems getting worse and worse, yet you hold on to the money waiting for your own death? It makes no sense if you truly are altruistic.

It's the same thing as if a child who was given all the toys decided they want to hoard them for themself until after they were no longer a child.
by rakoo | 2025-05-09 14:45:03+00:00
Piracy is only bad if you want to earn money for each eye watching a minute of a movie. What we're doing right now is piracy, no one pays anyone anything for content

The question shouldn't be about how much it costs but why do things cost anything in the beginning, and if they have to what is the amount a specific piece should be retributed for its contribution to society minus how the non-zero cost impacts society.

AIs are being let off the hook with their massive copyright infringement but when a movie being open directly benefits everyone suddenly that's a problem.
by cmontella | 2025-05-09 14:45:25+00:00
Yes, the entire DARPA "challenge" series has been about jumpstarting the US robotics industry. People who were involved in those went on to found driverless car companies, which then went on to create a market for driverless cars, and now America is a leader in the industry.

And it needed to happened because the state of American robotics was sad in 2004; the very first challenge was a disaster when all the cars ran off the road, with zero finishing the race. Top minds from MIT and Stanford got us that result. But they held the challenge again and again, and 20 years later we have consumers making trips in robo taxis.

e.g. Kyle Vogt, participated in the 2004 Grand Challenge while he was at MIT, went on to found Cruise using exactly the techniques that were developed at the competition.

So while Elon Musk is busy slashing whatever federal spending he can through DOGE, it's only because of federal spending that he can even fantasize about launching a robot taxi service.
by pleaze | 2025-05-09 14:45:39+00:00
For as long as I can remember, I’ve always struggled with my mental health. When I got my first taste of alcohol at an early age, I knew it was going to be a problem. Over time, both progressed rapidly and increasingly worse.

I am a recovered chronic alcoholic, addict, and compulsive gambler but I am not limited to these addictions. As I say, if you gave me a few sticks and stones, I’d find a way to become addicted. Between many interventions and treatments, I have relapsed again and again. What’s the result? Complete chaos. Along with hurting those around me.

I’ve been diagnosed with quite a variety of mental illnesses throughout my life. Although experts have had contradicting opinions, one thing is for sure, I have suffered extremely.

I’ve had multiple attempts to end my life. The truth is, I’m not sure why or how I am here today.

Due to this endless and painful struggle, I have become obsessed with doing whatever it takes to help even that one person. This app has given meaning to my confusing existence. I won’t stop until I have given all I have to make a difference.

Fortunately, today I am in recovery and do not suffer anymore with my mental health.

I’ll never forget the day the idea came to me. Not just because I was ready to take my life, but because of the hope that filled the enormous void. Having no reason to be here had transformed into a dream. A dream of making change. From that point until today, I never looked back. I swore to myself that no matter what happened, I wouldn’t end my life until this app was in another person’s hand.

I had no clue how to make this happen but knew I would, even if it took a lifetime. I started telling people about the idea when I was admitted to a psychiatric hospital the next day. The nurses, psychologists and more importantly the patients, loved the idea. I began emailing anyone I could think of for help.

Enter Social Entrepreneurs Ireland – an organisation that not only believed in Pleaze but me as a person. I was accepted into the Ideas Academy in 2021 and began exploring how I was going to make this a reality.

In October 2022, We launched a crowdfunding campaign on Indiegogo. 70 generous people backed us and we raised €2,650!

As you can probably tell, it has been a while since I came up with this idea, a little over 3 years. I’ve battled in these years horrifically. Pondering whether to give up or not and I was scared that if this failed, I wouldn’t have a reason to live.

With all that said, I’ve never been better. I am in a space to do this. I am ready to take Pleaze where it needs to go. I sincerely hope you get something from this app, even if it is just hope. I am always here for anyone, there isn’t much I haven’t seen or heard so don’t be shy. If you need anything, I don’t care how big or small… I’m just a message away.

With never-ending love,

James Lewis.
by tzs | 2025-05-09 14:45:39+00:00
OK, this is getting interesting. I've done some tests.

First, some pictures [1].

The first picture is the front of the TV remote and what I presume is the window in front of the IR diode.

The second picture is what is supposedly the location of the IR sensor on the monitor.

The third picture is my hand attempting to block the IR emitter on the remote.

Here is what I've found.

1. If I block the emitter with my hand the remote has no trouble turning the TV on and off. Even if I've blocked it with my hand and am holding the remote behind the couch so there is no line of sight to the TV it still works.

2. It also still turns the monitor on and off, but the range is greatly reduced. I have to be within a meter of the monitor.

3. Blocking the receiver with a finger is similar, but the range reduction is more. I have to have the remote within maybe half a meter.

4. Blocking the remote with electrical tape has no effect on its effectiveness with the TV.

5. Blocking the remote with electrical tape almost completely prevents it from affecting the monitor. Maybe 1 in 20 times it will still turn the monitor on/off if near the monitor.

6. Blocking the receiver with electrical tape is similar.

7. Blocking the receiver by hand or electrical tape has no affect on the monitor's remote controlling the monitor.

8. The TV remote can turn the TV on and off and the monitor remote can turn the monitor on and off even if I go down the hall an into the bathroom and close the bathroom door so there is no chance that any IR signal is making it to the device.

9. The monitor remote does not turn the TV on/off even if held near the TV.

10. I also have an Amazon Fire Stick and its remote can turn the TV and monitor on and off. It uses IR for TV control functions (and RF for Fire Stick control).

11. As with the TV remote my hand fails to block the Fire Stick remote.

From this I think we can draw some conclusions but also some questions are raised.

• The TV remote can fully operate the TV using RF. The TV also responds to IR.

• The monitor remote can fully operate the monitor using RF. The monitor also responds to IR.

• The RF for each remote includes specific enough device identification that they do not operate the wrong device. The IR does not.

• IR is hard to block. Why doesn't my hand stop it? With the TV remote the window is big and curved so I could see some of it not being quite covered, but the Fire Stick remote has a smaller window that is much flatter. When pressed tightly into my palm it should be completely covered.

• Electrical tape almost seems to completely stop it, but I did still have an occasional signal get through.

• When turning the TV off from the couch I should be able to stop it from affecting the monitor by simply covering the window with my palm. Even though that apparently still leaks enough IR signal it reduces the effective range, which should be enough to stop it from affecting the monitor. It will still work with the TV via the RF signal.

[1] https://imgur.com/a/LcsqK4j
Show HN: Offer Fast and Efficient AI Image and Video Generation for the World
by sylm | 2025-05-09 14:45:52+00:00
Hello! Welcome to "WaveSpeed AI" — a global platform dedicated to fast, efficient AI-powered image and video generation. Whether you're a developer, designer, content creator, or part of a creative team, WaveSpeed gives you the tools to turn ideas into visual content in seconds.

With WaveSpeed, you can generate high-quality images from text prompts in a variety of styles—from realistic to illustrated to sci-fi. Our image models are optimized for speed and flexibility, supporting custom sizes and delivering results in real time.

We also offer powerful video generation capabilities. Using text-to-video models, you can quickly produce short animated clips or cinematic sequences based on written descriptions.Whether you're prototyping a story, building a product demo, or crafting a marketing visual, WaveSpeed helps you get there faster.

For users exploring audio, we’re also testing advanced TTS (text-to-speech) and voice cloning features. These tools allow you to synthesize lifelike speech or create custom AI voices from a small sample of real audio.

What sets WaveSpeed apart is our focus on performance, accessibility, and continuous improvement. Our infrastructure is built for speed, our APIs are developer-friendly, and we regularly update our model offerings to stay on the cutting edge of generative AI. Most of our models are also commercially usable—ideal for real-world projects.

We’re still growing and improving, and your feedback is incredibly valuable to us. If you have questions, suggestions, or ideas, we’d love to hear from you! Thank you all!