MurphyA/hacker-news huggingface dataset:
by noelnh | 2025-05-06 22:33:56+00:00
Could you elaborate on those points, I'm genuinely curious? So far, I have found the Rust community to be immensely helpful, much more so than I experienced the C++ community. Granted, that's quite some time ago and might be at least partially caused by me asking fewer downright idiotic questions. But still, I'm interested in hearing about your experiences.
by sigmaisaletter | 2025-05-06 22:34:13+00:00
If the scaling continues. We just don't know.

It is kinda a meme at this point, that there is no more "publicly available"... cough... training data. And while there have been massive breakthroughs in architecture, a lot of the progress of the last couple years has been ever more training for ever larger models.

So, at this point we either need (a) some previously "hidden" super-massive source of training data, or (b) another architectural breakthrough. Without either, this is a game of optimization, and the scaling curves are going to plateau really fast.
by neckro23 | 2025-05-06 22:34:24+00:00
It would take a ton of work, especially for a show as long-running as The Simpsons. The original materials probably aren't even available anymore.

I believe the reason they were able to remaster lots of old Japanese anime OVAs in HD is because the animation was recorded to film first. I wouldn't be surprised if the Simpsons just used videotape instead.
by quantadev | 2025-05-06 22:35:13+00:00
That's a good point. non-Framework approaches are not simpler actually. It's a tarpit that looks enticing. You think you can keep stuff "simple" by not using a framework, and in only 2 weeks you've got such complexity you're begging for a framework that does it all automatically, which is kinda...ya know...what frameworks are for. lol.

So you delete the non-framework garbage code and start over. lol.
by nik_0_0 | 2025-05-06 22:36:10+00:00
That one Apple is still allowed to collect fees on (which I'd love to see the provided justification for!).

Per the article: "Apple can no longer collect a 27 percent commission on purchases made outside of apps or restrict how developers can direct users to alternate payment options"

This now allows folks to direct users to alternate methods. Before this the Kindle app would just say something along the lines of "you can't get a book here, please use the website".
by sdenton4 | 2025-05-06 22:36:47+00:00
Bad input pipelines are a big cause of spikiness - you might have to wait a non-trivial fraction of a second for the next batch of inputs to arrive. If you can run 20+ training steps per second on. adecent batch size, it can take some real engineering to get enough data lined up and ready to go fast enough. (I work on audio models, where data is apparently quite heavy compared to images or text...)
by sigmaisaletter | 2025-05-06 22:37:22+00:00
Well, predicting the future is always hard. But if someone claims some extraordinary future event is going to happen, you at least ask for their reasons for claiming so, don't you.

In my mind, at this point we either need (a) some previously "hidden" super-massive source of training data, or (b) another architectural breakthrough. Without either, this is a game of optimization, and the scaling curves are going to plateau really fast.
by titzer | 2025-05-06 22:37:49+00:00
Virgil allows the maximum amount of implicit int->float injections that don't change values and allows casts (in both directions) that check if rounding altered a value. It thus guarantees that promotions and (successful) casts can't alter program behavior. Given any number in representation R, promotion or casting to type N and then casting back to R will return the same value. Even for NaNs with payloads (which can happen with float <-> double).
by thesuperbigfrog | 2025-05-06 22:38:04+00:00
>> I was Ubuntu user until they've introduced snap and started forcing it down everybody's throat. No more Ubuntu for me.

What issues did you have with snap packages?

I am not aware of any problems with snap packages.

They have some pretty nice features compared to traditional packages:

https://snapcraft.io/docs/get-started#p-19156-connect-an-int...

If snap packages have caused problems for you, what were the problems?
by paxys | 2025-05-06 22:38:15+00:00
> Why would a developer lower their prices

Plenty of them already do. Google's services (YouTube Premium and others), for example, are $5/mo more expensive if you purchase them via Apple IAP. Spotify memberships are 30% more expensive on Apple. There are countless other examples. They just weren't allowed to advertise the cheaper option on iOS until now.
by liam-hinzman | 2025-05-06 22:38:57+00:00
We were down for a bit! Ran your search, got 8 matches after analyzing 100 results. Took 40 seconds for the first match, and another 80 seconds for the other matches.

We use an agentic search planner that adapts its search strategy as matches are found, but it could be smarter with substrings.

https://websets.exa.ai/cmad36arq009fl30i4dvkc7wn
by bityard | 2025-05-06 22:39:22+00:00
Yes! On my long list of things to do when I get the elusive "round tuit" is to build an open-source touchscreen thermostat using cheap ubiquitous off-the-shelf parts. Probably something like a CYD (cheap yellow display, as they are known), an ESP32 or RP3020, a good temp sensor, and some relays. The goal is to make it 100% compatible with Home Assistant as well as offer its own API and web interface to the local network. 3D print your case of choice.

I have run across a few open source thermostats, but either they are some hobbyist's one-off project, or they are geared toward very different systems from the common North American forced-air furnace and whole-house AC unit combo.

Before the but-what-about-ers start brigading in, yes it is possible to make this system safe against engineering or software defects. They make analog non-adjustable temperature sensors that "trip" below a certain temperature, you wire one in parallel with your heat wires near the furnace and you house will never go below freezing. (Very common in rentals.) If you're concerned about over-heating, add another temp sensor and relay and put it in series. Put time-out timers on every function. Have alerts sent to your phone. Add a SIM card and modem if you don't trust your wifi. And so on, tastefully adjusted to your own personal level of paranoia.
by quickthrowman | 2025-05-06 22:39:29+00:00
The key to making a functional automatic switch between heating and cooling is an outdoor air temp sensor. You could whip up something with a controller, a few relays, and two temp sensors, one for inside and one for outside.

A thermostat is dead simple, 24VAC and 4 wires: heat, cool, fan, power. You’d need to experiment and figure out where the point will be best to switch from heating to cooling based on the outdoor air temp, the controller would control this.

There might be commercial products available that do this already, but if they don’t have an outdoor air temp sensor, it won’t work.

FWIW I bid and run commercial building automation installations.
by loeg | 2025-05-06 22:39:29+00:00
I work in a new-ish C++ codebase (mid-2021 origin) that uses a Result-like type everywhere (folly::Expected, but you get std::expected in C++23). We have a C pre-processor macro instead of `?` (yes, it's a little less ergonomic, but it's usable). It makes it relatively nice to work in.

That said, I'd prefer to be working in Rust. The C++ code we call into can just raise exceptions anywhere implicitly; there are a hell of a lot of things you can accidentally do wrong without warning; class/method syntax is excessively verbose, etc.
by kmoser | 2025-05-06 22:39:55+00:00
"No one remembers how to fix it" sounds like the COBOL situation today. The reality is that the bar to learning COBOL is quite low: compilers and documentation are readily available for most platforms.

What's lacking is incentive and drive: there are just too many other shiny tools to distract us, including jobs that sound more glamorous and/or pay just as well.

A young person with the drive to learn just about anything has the means to do so, if they really want.
by frogmeister57 | 2025-05-06 22:40:53+00:00
Using generative chatbots to write a formal spec is the most stupid idea ever. Specs are all about reasoning. You need to do the thinking to model the system in a very simplified manner. Formal methods and the generative BS are at the antipodes of reliability. This is an insult to reason. Please keep this nonsense away from the serious parts of CS.
by Ecco | 2025-05-06 22:41:01+00:00
Personally my dream thermostat would be Amazon’s smart thermostat, but with a firmware that allows for local control by home assistant.

Here’s why I think the hardware is so great:

- Simple, high-contrast temperature display (7-segment led)

- Just a few buttons to override temp/mode manually

- Reliable sensor (it’s made by Honeywell)

- Nice industrial design (doesn’t get in the way)

- Low price point (got it for $49)

I really wish someone would find a way to unlock their firmware. I tried to mess with it and figured it did MQTT (yay!) but it does certificate pinning :-/ I even opened one up but couldn’t find an easy way to dump the firmware off of its i.MX chip.
by solardev | 2025-05-06 22:41:14+00:00
I think this is more a question of how you want to create and store your content and templates, like whether they exist as a bunch of Markdown files, database entries, a third-party API, etc. They're typically made to work in some sort of toolchain or ecosystem.

For example, if you're working in the React world, Next.js can actually output static HTML pages that work fine without JS... just use the pages router and a static export (https://nextjs.org/docs/pages/guides/static-exports). That still lets you use all the power of JS and expressiveness of React components, minus the interactivity, of course (if you don't want JS). But you could still pass in components and such. It's a bit like writing serverside includes in the PHP or Perl days. The benefit of using Next is its incredible popularity; probably whatever question you have, someone else has already asked and ten people have answered it. The downsides are its complexity and its frequent changes; answers from just a year or two ago are probably irrelevant to the current version, and there is a steep learning curve at first. But in SSG mode with the pages router, it's pretty straightforward, and the filesystem-based routing makes it very clear what the final directory structure would be.

For Markdown there's https://docusaurus.io/ and https://github.com/rust-lang/mdBook

Eleventy is another option for various templating languages: https://www.11ty.dev/

See also these lists:

https://jamstack.org/generators/

https://github.com/myles/awesome-static-generators
by josephg | 2025-05-06 22:41:51+00:00
> Markdown as specified lets you break out HTML whenever you want

I know, but breaking into raw html isn’t as useful as you’d hope. You need a lot of html just to make an image with a caption. And all that ugly html needs to be copy pasted each time it’s needed, since there’s no way to reuse it.

And there’s lots of problems you can’t really solve like that at all. For example, I want latex style automatic numbering of figures (Figure 8: Xxx) and I want to link to that figure elsewhere in the document (“for detail, see Figure 8”). I want the numbers to be automatically generated based on document order. I also want numbered sections / headings. You can sort of do with css. But you can’t automatically label the links to those sections. Markdown also doesn’t support comments. You can use html comments but then my internal notes / removed sections end up in the generated html!

Even trying to do some of this stuff makes your document become - as you said - a thicket of angle brackets. I want to retain the readability of my document along the way. Even with a tool like pug, do I have to type a P before each paragraph? Gross. I just want to write my paragraphs with line breaks, like markdown. I don’t want it peppered with stuff like that. And I don’t want forced indentation on my prose.

p This is not a natural p way to write a series of paragraphs of text
by Implicated | 2025-05-06 22:42:39+00:00
I'm also suspecting this has a lot to do with the dichotomy between the "omg llms are amazing at code tasks" and "wtf are these people using these llms for it's trash" takes.

As someone who works primarily within the Laravel stack, in PHP, the LLM's are wildly effective. That's not to say there aren't warts - but my productivity has skyrocketed.

But it's become clear that when you venture into the weeds of things that aren't very mainstream you're going to get wildly more hallucinations and solutions that are puzzling.

Another observation is that I believe that when you start getting outside of your expertise you're likely going to have a correlating amount of 'waste' time spent where the LLM is spitting out solutions that an expert in the domain would immediately recognize as problematic but the non-expert will see and likely reason that it seems reasonable/or, worse, not even look at the solution and just try to use it.

100% of the time that I've tried to get Claude/Gemini/ChatGPT to "one shot" a whole feature or refactor it's been a waste of time and tokens. But when I've spent even a minimal amount of energy to focus it in on the task, curate the context and then approach? Tremendously effective most times. But this also requires me to do enough mental work that I probably have an idea of how it should work out which primes my capability to parse the proposed solutions/code and pick up the pieces. Another good flow is to just prompt the LLM (in this case, Claude Code, or something with MCP/filesystem access) with the feature/refactor/request asking it to draw up the initial plan of implementation to feed to itself. Then iterate on that as needed before starting up a new session/context with that plan and hitting it one item at a time, while keeping a running {TASK_NAME}_WORKBOOK.md (that you task the llm to keep up to date with the relevant details) and starting a new session/context for each task/item on the plan, using the workbook to get the new sessions up to speed.

Also, this is just a hunch, but I'm generally a nocturnal creature and tend to be working in the evening into early mornings. Once 8am PST rolls around I really feel like Claude (in particular) just turns into mush. Responses get slower but it seems it loses context where it otherwise wouldn't start getting off topic/having to re-read files it should already have in context. (Note; I'm pretty diligent about refreshing/working with the context and something happens in the 'work' hours to make it terrible)

I'd imagine we're going to end up with language specific llms (though I have no idea, just seems logical to me) that a 'main' model pushes tasks/tool usage to. We don't need our "coding" LLM's to also be proficient on oceanic tidal patterns and 1800's boxing history. Those are all parameters that could have been better spent on the code.
by immersionminer | 2025-05-06 22:42:56+00:00
This is not a finished project—just a rough draft i threw together today to see if the idea holds water. i’m sharing it early to get feedback on feasibility before sinking more time/money into it. here’s the gist: core idea

use immersion-cooled bitcoin miners (antminers s21/s19/s17/s9) to generate waste heat, then repurpose that heat for home heating , cooling , and maybe laundry. power via solar + battery storage to keep it self-sustaining.

thermal recovery (the sketchy part)

waste heat from the immersion tank would route through:

Radiators (heating when temps drop below 19°c). Absorption chiller (silent cooling when temps rise above 25°c, though these things are expensive , finicky , and less efficient than heat pumps still, the idea of using miner waste heat to cool your home feels cool on paper). clothes dryer (redirect hot water during laundry cycles, but only if immersion tank temp stays under 75°c. if it spikes, the system dumps heat outdoors via an exhaust fan).

note: this part is highly theoretical. i haven’t tested the absorption chiller integration or thermal loop dynamics yet. control systems (the “i hope this works” part) temperature state machine

a plc would comtrol load and toggle between modes:

Heating : send hot water to radiant floor / home radiators. Cooling : activate absorption chiller. Dry_clothes : redirect heat to dryer. Exhaust : trigger outdoor fan at 75°c.

load balancing

priority order:

Home loads (lighting, appliances). Exhaust radiator (if immersion tank >75°c). Battery charging (only if above minimum reserve) 4–7 miners enabled sequentially as solar allows. Sell excess to grid (lowest priority).

btc mining is higher up than grid sales, but still behind critical loads. makes sense when mining rewards > dumping power for pennies.

current status

this is all just draw.io diagrams and logic flow right now. no hardware built yet.

big unknowns: how absorption chillers handle variable thermal input from miners. whether the staggered load control can prevent immersion tank overheating without constant manual intervention. safety risks (e.g., dielectric fluid leaks, electrical load limits.

Why share this early?

I'm curious:

Is this even feasible, or am i missing obvious flaws? Are absorption chillers worth the hassle, or should i pivot to a simpler heat pump-based system? How would you prioritize thermal recovery vs. mining uptime?

thoughts?
by jyoung8607 | 2025-05-06 22:43:44+00:00
The controllable shutoff valves are already a thing, on the market. They even measure flow rates and look for slow leaks and notify you in an app.

Draining the pipes isn't that simple, and even if you did, you still have things like a water heater, toilets, softeners, filters, and expansion tanks. You also wouldn't get the water sitting in drain traps; winterizing a house or RV involves pouring a little RV antifreeze down each drain.
by gjsman-1000 | 2025-05-06 22:44:31+00:00
Then you can happily tell Apple to fix it. Apple already has a system for this called Apple Pay, and it’s royalty free on top of regular credit card networks.

If it’s about security and privacy only, demand the ability to check out in an app using Apple’s own payment platform. Watch Apple squirm.

As for the subscription convenience, I know how to make this even better. Let’s give Visa and Stripe a monopoly on all transactions, and then have them build a unified subscription portal. Awesomeness!
by anon84873628 | 2025-05-06 22:45:37+00:00
On the other hand, I've seen engineers make unilateral decisions that had completely unacceptable UX or ops impacts, that didn't align to the original design spec, and that they didn't think to tell anyone about until way down the road.

Everyone needs a counterpart to "trust but verify".

At my company, engineering managers are ultimately responsible for the deadlines and deliverables. It's an anti-pattern for PMs to also be the project managers - that is a bad combo and it should either be owned by the EMs or a dedicated role.
by chrisdhoover | 2025-05-06 22:45:58+00:00
The US had civil defense, air raid sirens and fallout shelters. Students practiced duck and cover. The paranoia was real. It led to the star wars defense program and out spending the Soviet union until they collapsed.

Switzerland is surrounded by belligerents who have historically been at war with each other. France vs Italy. Italy versus Austria and Germany against everyone.

Your take ignores the history of accomplishment in the US. The founding, the constitution, settling the continent , building great cities, industrialization, defeating Nazis, building the Interstate highway system, landing on the moon and placing satellites in space, creating world changing technology to name but a few.
by gnfargbl | 2025-05-06 22:46:03+00:00
>The sine, cosine, and tangent functions are still just black boxes to me, I have no idea what they actually do

They are functions which tell you how to relate different parameters of a triangle. Concepts in mathematics are often interconnected, and trig functions appear in a lot of other (interesting) contexts as well, but fundamentally I don't see them as anything "more" than the SOHCAHTOA you were taught at school.

> or how I would calculate their values.

Without a lookup table? You would need some kind of a way to express the functions in terms of other mathematical functions which you know how to do, like multiplications and additions. Sometimes you can do this with a series expansion. Computers sometimes use a variant of the CORDIC algorithm. Both of those things are clever ideas in their own right, but you don't need to understand them to know what trig functions do.

> I often daydreamed about finding myself on a desert island, needing to make use of trigonometry to rebuild civilization, but not being able to find the angles that I needed.

If you had a circle, a ruler, a pen and some paper then you'd get the idea to make yourself a lookup table pretty quickly!

I think the point I'm making is that we get used to assuming that knowledge is so deep and complex a thing that we can never really know anything. But often, knowledge isn't as intricate as that. If everyone forgot about trig functions today, they'd be rediscovered tomorrow.
by cssanchez | 2025-05-06 22:46:24+00:00
My experience with PG ended a few years ago. The thing that killed PG for me is the lack of collation for searches. I haven't tested since the last updates that mentioned something along these lines, so this may have improved.

PG for years relied on unaccent which is not a true solution as it requires manually storing two versions of a text (the original and the un-accented one) and handle indexes + searches manually for each field... Not to mention unaccent itself is an extension you have to install. Whereas collation is built-in and it just works by handling it all under the hood in SQL Server. This feature alone is worth switching databases for my use cases.

That and the updates being a royal pain.
by frysgrandpa | 2025-05-06 22:46:48+00:00
In an era where knowledge is the new currency, maintaining sovereignty over it is paramount. TrustGraph provides enterprises with the platform and philosophy to confidently embrace AI, secure in the knowledge that their insights and intellectual property remain firmly under their control. Empower your enterprise with AI, without sacrificing an ounce of control. Provision your path to Knowledge Sovereignty with TrustGraph.
by lurk2 | 2025-05-06 22:47:48+00:00
Off the top of my head:

- Substantially poorer performance

- Keyboard is less accurate

- YouTube videos can’t be played on the lock screen without some tricks

- Apple Maps (it is basically at parity now, however).

- Translate feature doesn’t have a copy button

- The storage bug

- No option for manual cache clearing

- SMB protocol doesn’t work with Windows and doesn’t display error messages

- File transfers are substantially more complicated than they used to be because they want you to pay for iCloud (the workaround here is installing VLC which gives you a drag-and-drop folder you can use through iTunes)

- Multitasking (apps should shut down after some time spent idle, instead they have to be manually closed)

I haven’t used the most recent versions of iOS so I don’t know if some of these have been addressed.
by CJefferson | 2025-05-06 22:48:55+00:00
I had a look. In classic C++ style, if you use *x to get the ‘expected’ value, when it’s an error object (you forgot to check first and return the error), it’s undefined behaviour!

Messing up error handling isn’t hard to do, so putting undefined behaviour here feels very dangerous to me, but it is the C++ way.
by firefax | 2025-05-06 22:49:08+00:00
>The other concern is that when he gets too much screen time he becomes less interested in us and starts to be a little aggressive (lands on you and pecks you until you put bird videos on) whenever anybody gets a phone out.

Do you lock him up when this happens? I care for a bird, if it acts out when we let it roam, we lock it up the next day and it has quickly learned to enjoy it's limited freedom.