MurphyA/hacker-news huggingface dataset:
by liam-hinzman | 2025-05-06 22:49:35+00:00
We charge $5 per 1000 requests with our search and answer endpoints.

Perplexity charges the same on their lowest tier model, and three times as much for their more expensive models.

Gemini charges $35 per 1000 requests.

https://exa.ai/pricing

https://docs.perplexity.ai/guides/pricing

https://ai.google.dev/gemini-api/docs/pricing
by 999900000999 | 2025-05-06 22:50:06+00:00
> RapMachine

Fine-tuned on pure rap data to create an AI system specialized in rap generation Expected capabilities include AI rap battles and narrative expression through rap Rap has exceptional storytelling and expressive capabilities, offering extraordinary application potential

Using a certain other music generator I got it to accidentally say ***. It said it with a Latino American accent too.

In fact for whatever reason this tool couldn’t use a typical AAVE voice. Just Sage Francis / Atmosphere like dictionary raps and a few Latino American ones.

A big limitation of AI sloop is it tries to not offend anyone.

Art that can’t even try to offend is barely art.
by 418tpot | 2025-05-06 22:50:22+00:00
My house also came with a nest, and I also never connected it to my network, but for me nest was a terrible dumb thermostat.

It constantly tried to infer schedules and change the temperature on its own. I would set the temperature, come back an hour later to find that it changed itself back to what it thought it should be.

Also, there was no way to just activate the fan. I live in a very temperate climate and I generally like to keep a few windows open but run the fan to circulate air through the house.

I sold the nest and now a $15 dumb thermostat from the local hardware store now lets me set a temperature and it won't randomly change it when it feels like it. And it has a switch to turn on the fan.
by XorNot | 2025-05-06 22:50:33+00:00
This is an IDE/documentation problem in a lot of cases though. No one writes code badly intentionally, but we are time constrained - tracking down every type of error which can happen and what it means is time consuming and you're likely to get it wrong.

Whereas going with "I probably want to retry a few times" is guessing that most of your problems are the common case, but you're not entirely sure the platform you're on will emit non-commoncases with sane semantics.
by theamk | 2025-05-06 22:50:36+00:00
I don't think "no one" will even happen - nor with potato, nor with mechanical skills. There are books which tell how to do all sort of things, starting from the refining metal from ores, and there are people reading them. I have no doubt that minute details will be forgotten, but they were discovered once and could be discovered again if needed.

Yes, horses were replaced, but go outside of city and there are many horse farms, and some of them offer horse riding classes to general public. Should something happen to the cars, the knowledge will come back. Same way, even if an average JS programmer has no idea what "differential pair" stands for, there are plenty of people who _know_ what this is, and can at least read the eye diagram.
by Raed667 | 2025-05-06 22:51:14+00:00
I live in France and use Deliveroo (or UberEats some rare times) maybe once a month.

There is already a tipping UI in the app, but it is not intrusive, nothing as aggressive as what you'd experience in the US where you're inclined to pre-tip even before the delivery happens.

As for the capitals, yes it is becoming a thing but from my personal experience it is limited to touristy places
by tastysandwich | 2025-05-06 22:51:37+00:00
Re hallucinating APIs that don't exist - I find this with Golang sometimes. I wonder if it's because the training data doesn't just consist of all the docs and source code, but potentially feature proposals that never made it into the language.

Regexes are another area where I can't get much help from LLMs. If it's something common like a phone number, that's fine. But anything novel it seems to have trouble. It will spit out junk very confidently.
by knevin | 2025-05-06 22:51:43+00:00
Senior Embedded Systems Engineer Adaptyx Biosciences - Menlo Park, CA - In Office

Adaptyx Biosciences is an early-stage biotechnology company on a mission to reinvent healthcare by developing the world’s first truly generalizable biosensor platform.

We are seeking a Senior Embedded Systems Engineer to lead the firmware/software (FW/SW) development of our wearable continuous molecular monitoring device as we prototype towards our first product. This role focuses on designing, prototyping, and optimizing embedded systems for low-power, wearable biosensors that integrate seamlessly with our proprietary molecular sensing platform. As a key team member, you will collaborate with cross-disciplinary scientists and engineers to create high-performance embedded solutions, ensuring robust integration of hardware, firmware, and software.

Required Qualifications: • BS/MS in Electrical Engineering, Computer Engineering, or related field. • 7+ years of experience developing FW/HW for low-power, compact devices. • Proficiency in C/C++ for embedded firmware development. • Strong understanding of hardware-software integration and experience with microcontroller platforms (e.g., Nordic, ARM Cortex, STM32). • Experience with communication protocols such as SPI, I2C, UART, and Bluetooth/BLE. • Proficiency in software development for data analysis and visualization. • Experience with Python for data analysis and hardware validation. • Proficiency in bringing up, debugging and testing embedded hardware using tools like oscilloscopes, logic analyzers, and power meters. • Hands-on experience with PCB design, layout, and prototyping tools. • Familiarity with low-power circuit design and optimization techniques. • Strong organizational and problem-solving skills. • Self-starter with the ability to prioritize projects to meet deadlines. • Strong interpersonal skills and desire to collaborate on interdisciplinary projects within a dynamic biotech startup environment. Preferred Qualifications: • Experience developing hardware for wearable or biosensing devices. • Knowledge of analog front-end design for sensor integration. • Experience developing hardware and firmware for medical devices in compliance with regulatory standards (e.g., FDA, ISO 13485) and DFM practices. • Familiarity with Design Control processes, including requirements management, risk analysis (e.g., FMEA), and verification/validation testing. • Knowledge of IEC 60601 standards for electrical safety and performance of medical Devices Please apply to Kimberly.nevin(a)adaptyx.bio
by terom | 2025-05-06 22:52:06+00:00
Going a bit further, it seems like there's a grain of truth here, HTTP/2 has a stream priority dependency mechanism [1] and this report [2] from Imperva describes an actual Dependency Cycle DoS in the nghttp implementation.

Unfortunately that's where it seems to end... I'm not that familiar with QUIC and HTTP/2, but I think the closest it gets is that the GitHub repo exists and has a `class QuicConnection` [3]. Beyond that, the QUIC protocol layer doesn't have any concept of exchanging stream priorities [4] and HTTP/2 priorities are something the client sends, not the server? The PoC also mentions HTTP/3 and PRIORITY_UPDATE frames, but those are from the newer RFC 9218 [5] and lack the stream dependencies used in HTTP/2 PRIORITY frames.

I should learn more about HTTP/3!

[1] https://blog.cloudflare.com/adopting-a-new-approach-to-http-...

[2] https://www.imperva.com/docs/imperva_hii_http2.pdf

[3] https://github.com/aiortc/aioquic/blob/218f940467cf25d364890...

[4] https://datatracker.ietf.org/doc/html/rfc9000#name-stream-pr...

[5] https://www.rfc-editor.org/rfc/rfc9218.html#name-the-priorit...
by quickthrowman | 2025-05-06 22:52:08+00:00
It’s easy to control a valve actuator based on a space temperature sensor reading, monitor the space temp and when it hits setpoint, send a signal to the valve actuator to open up. Add in a flowmeter on your drain pipe and you can even close the valve when the water is done draining. Probably there is a fitting with a valve and flowmeter in one.

The difficult part is opening up all of the plumbing fixtures and taps automatically, I haven’t tried draining water out of a home’s plumbing system without opening all of the taps and am unsure if it works.

If you have a well, you’ll need to drain the expansion tank and turn off the water pump, the latter can be achieved with a relay that breaks power to the pump but I’m unsure of how to handle the former.

You’ll also need to automate filling the traps with antifreeze, unless you’re cool with replacing sink traps and toilets after a freeze event.
by reissbaker | 2025-05-06 22:52:23+00:00
But the entire threat model we were discussing was that the user might be tricked:

Being a setuid binary means that sudo also suffers from attacks where an attacker runs `sudo ./malware` and then convinces the user to authenticate

That's why the OP said that's not an enforceable security boundary. If the user is capable of attaining superuser privs, you can trick them, regardless of how attaining those privs is implemented.
by metalman | 2025-05-06 22:53:19+00:00
corn by products?,cobs, stalks, leaves, roots ? also called stover, is left in the field after harvesting the actual corn kernals. Gathering and removal costs will be substansial and will have a negative impact on soil fertility. Also the stover and lost corn kernals provide significant food to wild animals, so there will be further enviromental costs to removing the stover. There have been many attempts to utilise corn and other grain's stover, but all of them have been marginaly profitable. Cellulose is hard to remove or convert, and the silica content makes the materials abrasive and wears machinery, and generate a lot of ash when burned, when all of this is factored into it's light weight and huge distancecs that must be driven to gather and transport it, there you have it. Various schemes have been developed to ,upgrade stover as fuel, by windrowing it, letting it ret, then drying, and then pellitising it for fuel..... it works, but it's a lot of management, and the work must be done durring the right weather. This also will apply to the latest idea under discussion here, now.
by bdangubic | 2025-05-06 22:53:40+00:00
It's entirely clear that every last human will be beaten on code design in the upcoming years (I am not going to argue if it's 1 or 5 years away, who cares?)

Our entire industry (after all these years) does not have even remotely sane measure or definition as what is good code design. Hence, this statement is dead on arrival as you are claiming something that cannot be either proven or disproven by anyone.
by n8henrie | 2025-05-06 22:53:59+00:00
I tried really hard to get into Nushell but gave up after a month or two. Muscle memory with backgrounding was my big issue -- I tend to edit in helix and then background for a while and then foreground, and I seem to recall this totally freezing or crashing nushell somehow. Tried to learn some kind of recommended alternate workflow with pqueue (? I think) but just couldn't get there.
by sweezyjeezy | 2025-05-06 22:54:15+00:00
A couple of comments

a) it hasn't even been a year since the last big breakthrough, the reasoning models like o3 only came out in September, and we don't know how far those will go yet. I'd wait a second before assuming the low-hanging fruit is done.

b) I think coding is a really good environment for agents / reinforcement learning. Rather than requiring a continual supply of new training data, we give the model coding tasks to execute (writing / maintaining / modifying) and then test its code for correctness. We could for example take the entire history of a code-base and just give the model its changing unit + integration tests to implement. My hunch (with no extraordinary evidence) is that this is how coding agents start to nail some of the higher-level abilities.
by libraryofbabel | 2025-05-06 22:54:17+00:00
But is there a secret sauce in any of the coding agents (Copilot Agent, Windsurf, Claude Code, Cursor, Cline, Aider, etc)? Sure, some have better user experience than others, but what if anything makes one "better at coding" than another?

As this great blog post lays bare ("The Emperor Has No Clothes", https://ampcode.com/how-to-build-an-agent), the core tech of a coding agent isn't anything magic - it's a set of LLM prompts plus a main loop running the calls to the LLM and executing the tool calls that the LLM wants to do. The tools are pretty standard like, search, read file, edit file, execute a bash command, etc. etc. Really all the power and complexity and "coding ability is in the LLM itself. Sure, it's a lot of work to make something polished that devs want to use - but is there any more to it than that?

So what is the differentiator here, other than user experience (for which I prefer the CLI tools, but to each their own)? $3B is a lot for something that sure doesn't seem to have any secret sauce tech or moat that I can see.
by WaltPurvis | 2025-05-06 22:54:26+00:00
That's weird. What languages/frameworks/tasks are you using it for? I've been using Gemini 2.5 with Dart recently and it frequently produces indisputably useful code, and indisputably helpful advice. Along with some code that's pretty dumb or misguided, and some advice that would be counterproductive if I actually followed it. But "never once had Gemini produce something useful" is wildly different from my recent experience.
by Arnavion | 2025-05-06 22:55:56+00:00
To be clear, the only difference between Rust and C here is whether the conversion happens by default or not. Rust doesn't do the conversion by default but will let you do it if you want to, with `as`.

There are also more type-safe conversion methods that perform a more focused conversion. Eg a widening conversion from i8 -> i16 can be done with .into(), a narrowing conversion from i16 -> i8 can be done with .try_into() (which returns a Result and forces you to handle the overflow case), a signed to unsigned reinterpretation like i64 -> u64 can be done with .cast_unsigned(), and so on. Unlike `as` these have the advantage that they stop compiling if the original value changes type; eg if you refactor something and the i8 in the first example becomes an i32, the i32 -> i16 conversion is no longer a widening conversion so the `.into()` will fail to compile.
by pedalpete | 2025-05-06 22:57:10+00:00
This is such a great use case. I stand in front of my monitor with my guitar and have to scroll the sheet music. So that means stop playing. I often wander away from my computer and then come back if I forget how a section goes.

I'm using tabs not notes, but I'm assuming/hoping your solution will adapt quite easily.

I wonder if you could use a microphone to listen for the notes in order to get auto-scrolling. Because you know the general timing, you're not searching through the entire song (likely) but honing down on the exact point that person is at. An inobtrusive metronome might be nice to.

Congats! One of the best projects I've seen in a long time, and particularly such a good use case for the early stage of this hardware.
by j45 | 2025-05-06 22:57:33+00:00
Appreciate this - I can't say it makes sense because some third auth might be specifically selected for user-type or industry alignment (LinkedIn, Github, Microsoft login, etc).

M365 login specifically can hook into quite a bit of organization information along with the user itself that can help configure apps, wouldn't be relevant for Apple in those kinds of B2B scenarios.

Apple ID is almost always a personal or individual one.

It can be convenient for sure, makes me think about how there's other things where Apple is/was the only choice for the most part like payments, although that's changed for the time being.
by huphreem | 2025-05-06 22:57:36+00:00
It’s a fine enough journal entry, and I agree with the underlying sentiment of the piece, but can I crowdsource an explanation of the conclusive pith?

> Learning to learn is a noble idea. But more important is learning to unlearn, and knowing when to resist the comfort of automation.

I feel strongly about “teaching people to teach themselves” which seems a direct analog to “learning to learn”, but I am at a complete loss for what “learning to unlearn” means, especially as it relates to resisting automation.

Is the idea that you need to “unlearn” wanting to “learn” automation so you can keep “learning” more deeply about things you have already “learned”?
by liam-hinzman | 2025-05-06 22:57:46+00:00
We were down for a bit, sorry about that. Ran your search for you, and found 25 results in ~2 minutes.

“List of food festivals on the east coast specializing in small dishes or encourages sampling from multiple vendors. features more than 20 vendors”

https://websets.exa.ai/cmad3sonh001zhx0i1h7t692f

btw I like how you host screenshots on your personal website
by jchw | 2025-05-06 22:59:03+00:00
The reason it works this way is there's legitimately no easy way around it. You're not guaranteed a reasonable zero value for any type, so you can't do the slightly better Go thing (defined behavior but still wrong... Not great.) and you certainly can't do the Rust thing, because... There's no pattern matching. You can't conditionally enter a branch based on the presence of a value.

There really is no reasonable workaround here, the language needs to be amended to make this safe and ergonomic. They tried to be cheeky with some of the other APIs, like std::variant, but really the best you can do is chuck the conditional branch into a lambda (or other function-based implementation of visitors) and the ergonomics of that are pretty unimpressive.

Edit: but maybe fortune will change in the future, for anyone who still cares:

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p26...
by theamk | 2025-05-06 22:59:03+00:00
PWM-controlled hobby servo (1-2mS pulse evert 20mS or so) is the one-directional control I had in mind. When you are under $100 range a surprising number of servos use the same simple 1-wire protocol, even large-ish 150 kg-cm / 100W units.

Dynamixels are two-way, and they are an exact thing I'd wanted to see in search results.
by pixelmonkey | 2025-05-06 22:59:48+00:00
I really love “Sneakers.” It’s one of the best classic “hacker” films. This essay also does a nice job of breaking down a scene you might not have otherwise noticed, which has some lovely filmmaking technique and subtle sound design at play:

https://slate.com/culture/2012/09/searching-for-playtronics....

The ensuing despair over how to proceed is interrupted by the voice of Whistler (David Strathairn, Bay Area native), the team’s blind technician. “What did the road sound like?” he asks. “Did you go over any speed bumps? Gravel? How about a bridge?”

I nearly stood up in the theater from excitement. I’d never seen anything like it: the geography of San Francisco turned into a puzzle to be solved.
by mchannon | 2025-05-06 23:00:01+00:00
The devil's always in the details.

I notice they use potassium hydroxide to treat this, and I seriously doubt merely in a catalytic capacity. That means that a lot of electrical input needs to be run into a chlor-alkali plant to make the KOH. If it's just a sprinkling, great. But is it?

Now if you're making moderately valued commodities like sugars or bioreagents, or perhaps even bioplastics, it might be cost-effective in spite of an electrical chlor-alkali input stream.

If you're making biofuels, however, this looks like corn-based ethanol or certain kinds of biodiesel, where there's lots of electrical and petrochemical energy inputs that conveniently get omitted when they tout how great for the environment and home-grown that biofuel energy is. Really hope they're not planning on going the same way with this set of discoveries.
by peter-olson | 2025-05-06 23:00:04+00:00
Location: Minneapolis, MN

Remote: Yes, or hybrid

Willing to relocate: No

Technologies: Java, Kotlin, Dart, React, Flutter, Bash, Powershell, Matlab, Maven, Spring, Reactor, Docker, Podman, AWS, CloudFormation, Terraform, PostgreSQL, Git

Résumé/CV: https://resume.peterolson.dev

Email: See résumé.
by sirstoke | 2025-05-06 23:00:14+00:00
I’ve been thinking about the SWE employment conundrum in a post-LLM world for a while now, and since my livelihood (and that of my loved ones’) depends on it, I’m obviously biased. Still, I would like to understand where my logic is flawed, if it is. (I.e I’m trying to argue in good faith here)

Isn’t software engineering a lot more than just writing code? And I mean like, A LOT more?

Informing product roadmaps, balancing tradeoffs, understanding relationships between teams, prioritizing between separate tasks, pushing back on tech debt, responding to incidents, it’s a feature and not a bug, …

I’m not saying LLMs will never be able to do this (who knows?), but I’m pretty sure SWEs won’t be the only role affected (or even the most affected) if it comes to this point.

Where am I wrong?
by thesuperbigfrog | 2025-05-06 23:00:37+00:00
The idiomatic Rust way to do conversions is using the From and TryFrom traits:

https://doc.rust-lang.org/stable/rust-by-example/conversion/...

https://doc.rust-lang.org/stable/rust-by-example/conversion/...

If the conversion will always succeed (for example an 8-bit unsigned integer to a 32-bit unsigned integer), the From trait would be used to allow the conversion to feel implicit.

If the conversion could fail (for example a 32-bit unsigned integer to an 8-bit unsigned integer), the TryFrom trait would be used so that an appropriate error could be returned in the Result.

These traits prevent errors when converting between types and clearly mark conversions that might fail since they return Result instead of the output type.
by techjamie | 2025-05-06 23:00:48+00:00
I think the implication that is being made here is that the other companies have examined their odds, and determined that the odds are good enough that they would dedicate the resources.

Which, presumably, means their legal teams examine the case and think that the appeal won't succeed.

Though there is always the possibility that it was relatively inexpensive to implement, and the increased sales in the meanwhile during the legal battle will outweigh the cost of changing it.
by AStonesThrow | 2025-05-06 23:00:51+00:00
Interestingly, here in the Phoenix market, with plenty of competing delivery services, there is at least one Chinese native service that competes with the “round eyes”.

Next door in Mesa, there is a significant designated Asian Quarter. So there is a high concentration of Asian restaurants and grocery stores. On a few occasions when ordering DoorDash from one of the big Chinese places, someone from the Chinese service delivered it instead; all receipts were printed in Chinese and sometimes I apparently received someone else’s order entirely.

I believe they did this on purpose to promote use of that native service for this set of restaurants. Unfortunately I don’t feel like reaching out to them or installing their weird Chinese language app, so I decided to simply steer clear of those most authentic restaurants instead.
by mopsi | 2025-05-06 23:02:11+00:00
> If Ukraine joined NATO then, by definition, every military base in Ukraine woudl be a NATO forward operating base on Russia's border.

That's quite a retreat from "building missile bases along borders".

But you're still wrong. NATO's primary role is to provide command structures and planning capabilities to coordinate multinational military responses. Military forces and installations remain under national control and are only made available to NATO command structures when member states voluntarily choose to contribute them to a specific mission. Essentially, NATO functions as a coordination bureau rather than a unified standing army.

As for Ukraine specifically, the prospect of joining NATO was shelved by Germany and France in 2008 due to Russian objections. Public support in Ukraine stood at 20-30%, and after a Russian-backed candidate was elected president in 2010, all efforts toward gaining membership were halted. The topic did not resurface until Russia invaded Ukraine in 2014.