skysight-inc/HackerNews huggingface dataset:
Yes I’ve heard from multiple sources that the Navy’s training is not what it once was. For officers, much of their training is done on the ship via self study in their spare time instead of in a classroom.

I think that in this case probably the UI could have been better, but it was functional, and with a well trained helmsman, it shouldn’t have presented a safety issue.
Show HN: Wavecake – An IDE for web serial and web Bluetooth
The story:
Hi all. I'm a freelance firmware developer. I work on a lot of Bluetooth projects in addition to standard regular embedded systems. I'm a big proponent of writing scripts to test the devices I work on. In the past, I've worked on teams that rely on manual testing via a phone or UART terminal. It's frustratingly slow to test that way.

I've become pretty good at writing scripts in various languages from node to python to Objective C. I still have issues with sharing though. Getting people to run the scripts to reproduce errors involves lots of friction that comes from installing the software.

I'm obsessed with the potential of web serial and web bluetooth to solve these issues for me and the projects that I work on. However, I found that a lot of online code editors prevent people from running these APIs. Existing web code editors are also optimized for people writing web apps. They emphasize showing the HTML and CSS etc. I wanted to create a code editor that was optimized for embedded systems developers.

So here we are. I made yet another web IDE.

The project:
I built an IDE that supports web serial. It’s built for embedded systems developers who want to check out web serial but are not so familiar with web development software.

In addition to running web serial code, I’ve also added a few elements that I think could be helpful to embedded developers.
1. UI development - support for buttons, text, and charts
2. Code sharing - easy to store and share your code with coworkers
3. Scripting API wrapper - A little user friendly polish on top of the web device APIs. The script API makes it easy to wait for responses from the device.
4. Support for web bluetooth and MQTT
Production Rails: Best practices for running Rails in production
Espalier
Ah, but it's on time those times you are late but really need to get that one departure for some important meeting or similar.

edit: interesting post with a different ending than I imagined.

Been thinking about using some statistical methods to give me some better estimates of the busses I take to work. Like "given that it's $today, which is a Tuesday, it's 17:30, and the display says the bus is 7 minutes delayed, how long til it will actually come?
For some people sure. For others it’s anxiety inducing and mentally draining.
I think looking at how Gravity Forms (and similar) handles this within the WP ecosystem is a helpful starting point. A lot of expectations around what a form service does and doesn't do are set by those plugins – for better or worse.

I personally believe that sending a confirmation to the person filling out the form is a requirement, in some cases, and not having it would be a mistake.

Forms are tough! Glad ya'll are working on it.
I'm not entirely sure what you expected, given the title
My biggest annoyance with toasts is when they are undismissible and cover other UI elements. Instagram (in their menu system) is a particular offender.
Ya I am sure he was in the same room as Mark but without actual proof that the emails ever existed, he can literally make up any story.
I'm sure this is true for some (maybe even many) readers, but this simply is not reflective of the larger genre fiction market today.

Most genre fiction authors, even those making a great living, are not writing the next Travis McGee - they're writing thrillers, mysteries, or romance series that will not get Wikipedia pages or be turned into TV adaptations. Readers will not discover their books thinking "Oh yeah, Series X by that Obscure Author Y, I want to read that specifically."

Instead, they will stumble across a book in their chosen genre on their Amazon search (or top 100 list) or a BookBub promo. At best, they'll see a recommendation on TikTok or a readers facebook group. Hopefully that book will catch their interest with a solid on-market cover and blurb. They will read it, and then (hopefully) check out the rest of the author's backlist from there - judging those books' blurbs and covers as well. If the author is lucky and skilled, the reader will turn into a superfan and sign up for their newsletter, making it easier to sell them new books in the future.
First get a cheap FPGA and learn verilog. Also I just googled it and Khan academy has a digital logic course.

Once he can build a functional ALU in verilog then have him do bigger projects. Digital logic books have lots of projects in them.

Then there is a fork: 1) go deeper down the logic synthesis route, 2) go into semiconductors, manufacturing, 3) computer architecture and operating systems.

it’s a choose your own adventure book
https://archive.is/yAcTb
What I think they were saying was that NT and Unix workstations were peers (running on "comparable computers"), and that NT shouldn't be conflated with 9x ("similarly named products"), which had to run well on much more modest ("100x less powerful") hardware than the aforementioned.
> invite-only FTP servers

The PC plebs might have been, but us Mac people had the glorious hotline community..
That's my main use as well. On many (most even?) occasions I would gladly pay a small-to-modest premium just to have the thing in my hands today and without worrying about delivery delays, theft, or just the wasteful feeling I get from ordering some smallish item to be boxed up and delivered to my home.

But then I can't find the thing I want. Amazon seems to be doing their level best to make searching a pain in the ass, but it's still leagues ahead of using Maps to hunt down the type of store that may have an item, then going to the website of the store (if they even have one), then looking for the item if they have a shopping/product-list section on their website, then hoping it's even accurate and I don't drive out there just to find they don't actually have the item.

So instead I go on Amazon and deal with scrolling through pages of not-the-thing-I-actually-want and hopefully find the item available for delivery sometime in the next 1-5 days.
There was a time when no one knew what "Open Source" meant.
"Maybe PostHog, I have the api_key blanked out locally to reduce costs"

Come on, if POST requests work locally and not on PROD, isn't this an obvious place to start?
And just to head off the discussion that happens every single thread:

- Yes, the PS1 had "jittery" vertices because 16 bits is not enough precision

- No, it was not because of using integers, you can use integers (AKA fixed-point) to do 3D just fine. If it had been 16.16 (32 bits total) it would probably look fine.

- No, this isn't the cause of the texture warping, that's because unlike the N64 it only supported affine texture mapping, not perspective-correct texture mapping. The PS1 saw every 3D triangle as just a 2D triangle, and texture mapping in 2D differs from texture mapping in 3D

- Yes, the texture warping is why many of the best-looking PS1 games were basically built on a grid or found other ways to use a large amount of small triangles instead of a small amount of large triangles.
My experience is that most people don't understand statistics and can be pretty easily mislead. That includes myself, with my only defense being that I'm at least aware statistics don't intuitively make sense and either ignore arguments based on them or if absolutely necessary invest the extra time to properly understand.

Most people either don't realize this is necessary or don't have the background to do it even if they did, in my experience.
best engineering team sounds so general as to mean nothing. like were they really good backend rails and or java devs who had a lot of experience implementing backend credit card APIs?
Purely a deterrent. No one in their right mind would try to launch these expecting them to hit their target.
50 years ago that was true. Sometime ago though (I don't know when, but I'd guess starting in the 1990s) they changed to electronic computers. Using electronics makes some things simpler and puts the complex parts in standard hardware (a CPU is much more complex but it isn't custom designed for you), or software (easy to change if you get it wrong.
No Exit Opportunities: Business Models and Political Thought in Silicon Valley
Well, it really falls on the individual. If you read both sides and realize "yeah, it's fine to protect the children by any means necessary", I wouldn't consider that radicalization so much as that person's own pre-existing philosophies.

But yes, I highly doubt you won't at least gain some sympathy for both sides of you read both spins. I'm not an expert on law and don't have the money to consult a writer versed in law to "explain to me in detail that I can understand". The next best is simply consuming a variety of content and understanding yourself at the end of the day. Someone looking for nuance to begin with like the GP probably is less prone to radicalization to begin with.
Very interesting, I'd love to hear more about it! In short, yes, we plan to do descents near urban areas if there's a route where we can go down to a safe height and stay away from any airspace. What cities are you looking at right now?
It's not your style ; I still found it an entertaining read that conveyed well the prolonged stress the author was feeling.
Submit it anyway, I'll approve it.
Okay, that was an oversimplification. I have long wanted to write more on this but it never comes out right. What they did was determine the outcome with certainty barring the will of God or similar weasels.

I.e. they did thorough investigations and then determined whether the shipment ought to be successful or not, and then the rest laid in the hands of deities or nature, in ways they assumed were incalculable.

This normative perspective of what the future ought to be like is typical of statistical illiteracy.

I'll get back to you on sources after dinner!
If you look at the proofs that Google solved, the fast one was similar to problems in Knuth, thus common in the corpus and the other two were reducible to exhaustive search, especially with lean4 feedback. Which is why they took more time than a human was given.

There results were impressive, but not sufficient for SWE.

If you note, it completely failed at the combinatorial problems.

SW engineering is details, nuance, and tradeoffs.

The specification problem that lead to an AI winter for expert systems still applies.

If we could create good, exhaustive contracts, programming is easy.

The failure of UML as a code generation tool is a good example.

As LLMs are good at pattern finding, at least within the simplicity bias problem, I do think that they will have utility.

But as an Enterprise Architect, form, complete specifications would completely remove the need for an LLM assistant as I could just write fitness functions and let the developers run with what they wanted.

As we know LLMs are in context learners built of threshold circuits, they simply don't have the ability to consider tradeoffs and details.

Funny enough this post has the smell of an author that wasn't aware of papers that came out in the previous couple years describing the specification problem.
And ultimately you carry none of the risk. It's not your company, and the company can (and will) cut you off at a random time. Unless it is your company :)
> One thing that's worked well for Stripe is bringing on people who didn’t have an immediately obvious role in the organization. If you can think of one thing this person can do, then there’s probably ten more you're not thinking of that he/she can do two months from now. Focusing on hiring to fill a role could make you more likely to sacrifice quality just to get someone with the right skill set.

Essentially DDR state hiring policies that ensured "work" for everyone. Was this part of the reason for the many tech layoffs the last few years?
Where's the follow up about how to print these at home
Dupe: https://news.ycombinator.com/item?id=41299268
That kinda proves my point. You find it useful when you’re doing something outside your core competencies.
I suggest not doing that because it would violate the spirit of the perk. This is likely to result in you ultimately losing that perk, and losing favor with the lord, who may not wish to renew your contract.

Also, crypto in 2024? Come on, dude. That ship has sailed. If you want to grift, AI is the current thing for that.
^ This and also taking a shortcut is easier. For teams that are not full-stack, doing it client-side means you don't have to bother the backend team for more APIs or wait for them to implement it fo you.
>But sorry if I have zero empathy for your clicking, loading and scrolling pain.

Ok, so we just fundamentally disagree.
Is it possible to get rid of all the macros TO_FIXED, FROM_FIXED, mult, etc and replace them with a class with the correct constructors / operator overloads?

Then your code doesn't ever need to be aware of the special fixed point math and horrible syntax everywhere and everything just works?
Why not do some math to fix it?

https://xkcd.com/2494/
Plane-tracking app admits user passwords, SSNs exposed for over 3 years
It's hard to agree/disagree on UX without all the application and domain context, but I do feel like toasts are valuable when you are communicating information to the user that is not tied to a fixed UI location/time, but do not want to force interaction (like you do with a modal).

I have seen modals used to communicate status and reaffirming information that does not require action, and between the two, toasts are a better fit. That said, you still need to be smart where the bar is in terms of what is worth communicating. None of us want applications to blather on about stuff we don't care about.
Lessons learned from losing tens of thousands of dollars freelancing
Hi folks. This is a blog I wrote up detailing what will almost definitely be my last freelance contract. I want to get ahead of a lot of the comments I foresee from HN:

- Yes, I know that most of these mistakes are avoidable and more or less my fault. They were my mistakes to make, and I feel like I owned up to them in this blog.

- No, I'm not looking for pity. I got caught up in the "get rich quick" nonsense around freelancing that you see a lot on YouTube, in blogs and on Twitter.

- No, I'm not going to name and shame. I personally would only be risking more by doing that.

- Yes, I know I can talk to a lawyer. I'm not going to discuss that here for reasons that should be fairly obvious.

- Yes, I know there are some people that have made bank from freelancing. I know it's possible and that people do it frequently. This is more of an anecdotal story to offset a lot of the discussion I see around freelancing.

- It was a Rust contract, btw.

This has been/continues to be an exceptionally hard mental struggle for me as I sunk a ton of time and effort into something and ended up getting screwed. It sucks. I'm not asking for pity, I'm asking for any of the devs here who are thinking about freelancing to read this and to take caution.
Exit Intent Popup
This is the entire risk: being fired and financially in trouble. I spent 5 years eliminating that risk. Now I don't give a single fuck. There is no fear. They get better, more rational work and I have security.
do you really believe in this comparison? you think that Stripe is trying to create a charity work program?
I still buy a lot from Amazon but they're definitely on the downswing now. Their app is highly infested with unblockable ads to the point that I will only use their website on a browser with a good ad blocker. I've found that I sometimes get items near the end of their lifetime, or even items that have clearly been used before. Prices are not always competitive.

I've started shifting some of my purchases away from Amazon. Anything that I can get at Costco I will go there instead. The inventory is always fresh and the prices are sometimes significantly cheaper. For example, a "Timber Ridge Zero Gravity Chair" is on Amazon for $135, selling from the official company store. I bought one at Costco for $70. Costco does a pretty good job sourcing higher quality items, so I don't have to heavily rely on (potentially gamed) reviews the way that I do on Amazon.

Harder to find, small items are still worthwhile to look for on Amazon.
Oh, fingernails! I thought from the title this was about nails in wood (and perhaps threads wrapped around those nails)
I appreciate that you can make your nails fancy on a budget (e.g. using nail stamping).

I enjoy having trimmed nails as well, because having very long nails can make certain tasks difficult, so all these designs make me cringe a bit.

But... if you ever feel curious, explore DIY nails!
Using convolution I found that applying some random variation between the stereo channels made a much more satisfying stereo result, though only on later reflections, earlier it makes for unhelpful stereo effects. Is that something you have tried?
This was right before the gulf war so I may have met him! Assuming he was a gunners mate, that crew had a lot of moments of touching history. Besides mechanical computers, it’s a really dangerous place since they had to handle massive bags of flash powder.

My ship was near the USS Iowa when turret two went up. A sobering experience when you think how much risk the turret crews are in just by doing their jobs.
Such an entertaining read, conveyed very well the sense of stress and abandonment felt by the author. It adds to it that this was written fresh and right in the moment, and feels as an expiation.

I'm struggling to find the lesson to take out of that. Limit your dependencies? Have a safe mode that deactivates everything optional?
Submission sent! Thanks!
Isn't that what the U.S. Social Security program does?
I found the "textbook", but is there a video series associated with it?
I do like the definition of consciousness as that thing that kicks in to handle novel situations. The thing we can do that ants can't.
This only applies to simple stuff, but not to things like DMA, or framebuffer devices.
Explore Podcasts by Organizations – Like Using Crunchbase
> I am the Sourcegraph CEO, and we haven't changed anything about our public code search at https://sourcegraph.com/search.

But in this other comment (https://news.ycombinator.com/item?id=41298516), you said you have changed public search in two significant ways:

> We did cull lots of non-GitHub repositories and repositories with less star.

Removing low-star repos (and non-GitHub high-star repos) affects users who are looking for obscure or hard-to-find information that's not found anywhere in "popular" repos. I think most of my searches on GitHub (or via Google) are for things in repos with zero stars.

> If you have repositories you want us to add that are below the star threshold [..]

How would I go about finding which repos to request, if my objective is to search the "long tail" for information? That seems like I would need an automated search engine first, to discover the repos :-)

If I found the repo containing specific, obscure or hard-to-find information I was looking for, what would I gain from writing to SourceGraph asking to add that one repo? By the time I've found the right repo, I've probably found the information I'm going to get from it. Future searches will likely need a different repo, one I don't know about yet. Perhaps that's the nature of long tail searches.
https://archive.is/j3ee1
Oh? That one never occured to me. Thanks!

ETA: If they actually behaved like that, it would help with OP's issue with them-- pop out of "the toaster", where you clicked to initate the action, so you'd be more likely to notice. Seems his complaint was in large part that they appear somewhere else. (So they're not really "toasts": At least my toaster doesn't have a teleportation function, to make the toast appear wherever the toaster designer has more or less randomly decideded it should. It just pops up the bread in the same old boring position where I know to look for it.)
OTOH, a lot of people who really needed to be able to change their event pricing at 2am (+/- two timezones) on jumpcomedy.com were really let down. Probably some of them died.

Imagine how much more the damage would have been if someone was telling this solo developer to stop trying to make 'fetch' happen.
I just downloaded (thanks to other commenter below) and would question the "use" part. What is the "peen" end used for? Having read the section on hammers I still don't know. (Just re-skimmed the section and I still don't know.)
> Note that Snackbars are preferred for brief messages while the app is in the foreground.

https://developer.android.com/reference/android/widget/Toast
A programmable infrastructure for bulk RNA-seq
Man I hear that so much on HN. I'd never been to Europe until 2021, and I met so many happy, beautiful, productive people who enjoyed healthy food, great booze, love, and just LIFE compared to the U.S. Here on the Colorado front range it's all scrambling to keep an edge, trying not to look homeless people in the eye, taking as much as you can, working killer hours for (lots of) cash that we then blow on stupid plastic shit ....

Sure many of the people I talked with complained about the government stepping on its own toes to try to increase tourism or provide grants for building new things, etc., but I also saw women walking alone in the middle of capital cities at midnight because it was perfectly safe to do so.

Granted this is just one small country in Europe but if that's what socialism, generational stagnation, and people checking checkboxes looks like then sign me up. That said ...

> Why not just educate people into investing better instead?

Yes! This along with critical thinking about social media, lessons on how to fill out your taxes, fostering an interest in local politics over national politics, and maybe America can get its head out of its ass and actually produce happiness instead of just money.
It means you can define new types, not that you can store values of arbitrary types in columns you already have.
Good piece. I've experienced this in many contexts, and widescreen monitors make it a bigger problem.
No. The code in question is plainly visible in the crate:

https://github.com/eleijonmarck/do-not-compile-this-code/blo...

This is true for all third-party libraries. If you blindly download and execute code from the Internet, this is a risk you are assuming.

As I stated above, if you need more security, you can download all the dependencies and build inside an isolated container.
Mathematics Helped Win Gold at the Olympics [video]
Ryan Dahl explains why Deno had to evolve with version 2.0
I've tried this a few times, and while it 'works' for some teams, it means you aren't actually talking about the user stories you are working on. If you just want to pick up from a list of documented requirements and build from them, then this will work for you. But then a question is what use do daily stand-ups actually have for you?

If you have a team how are engaged in problem solving and delivering value together then talking is key. If you need to pick the right time, place or style for that regular communication then that is perfect. But this isn't communication it, in my experience this just causes silos and means people discuss and collaborate even less.
And... how exactly would that prevent them from doing so?
They do. You get signals on how well people can work independently on a non-trivial task. How well they can understand their is being communicated to them, whether they clarify what is important, etc. How well they can get themselves unstuck vs needing to ask about everything. How motivated they actually are to work, etc.

They're not perfect, and you really do need to make sure the task is targeted at what you actually want to see from the person when they join, but they definitely give more signal than 6 hours of leetcode.