skysight-inc/HackerNews huggingface dataset:
Absolutely, look into your standard library, CPU built-ins and intrinsics first.

However, these tricks are not useless even on modern CPUs. There are scalar instructions for a lot of this stuff, but if you are working with SIMD, several of them are not available.

Recently I wrote bit interleaving stuff with Morton codes. Maybe the scalar instruction would be faster in isolation but I already have my data in SSE registers for other arithmetic so in total it was probably faster. I used the code in this article as a basis.
This thing has always been a treat to look through; it's made with so much effort and care. I haven't read through it in a bit though and don't plan to read through it again currently so I may be off in some of the rest of my comment.

I think Valve's flat structure strategy has mildly failed and they should try something else. Unless they still desire to all-in on the strategy of creating products and hoping to land a another billion dollar baby, then sure, this strategy is good for that. However Valve kind of advertises itself as a video game company, and if someone is interested in making video games I feel like they'd actually be a bit disappointed after a while of working at Valve, simply because it seems so unlikely for them to actually ever release a video game.

And the bonus structure that I recall also seems dated. iirc it was setup in a way such that delivering new projects would land you a bonus. But this incentivizes creating things, but there is no incentive to continue supporting or updating or iterating on it. In my opinion the bonus structure should be done in such a way so that if you deliver something new, you would land a bonus, and then you'd get larger bonuses at the 1 year mark, 2 year mark, etc, if that thing has been updated and improved.

Many things these days are not just a single product that you release and that's that. They continually live on, they're a service, they're interacted with for years. Valve has fallen behind in this regard. Even smaller things like mini-features in Dota 2 for example would be released, which likely earned someone a small bonus, then left by the wayside to fall apart.

I love Valve conceptually but I really wish they'd iterate on their company design instead of thinking they've "solved it" I guess. I wish they were more video game focused. Obviously I don't know how it actually is in there these days, but things like this manual and other hearsay / rumors are the best I have to go off of.
I don't even think that this falls into the normal "language evolves" fights, honestly. Katsu can be a word that means one thing in Japanese and another thing in English without any confusion in meaning. One expects that different languages will express things differently, after all. This isn't really in the same ballpark as English-speaking people misusing English words.
If you want some more insight into what working at Valve is actually like, People Make Games released a great video last year [1] where they talked to a bunch of current and former employees.

While there are people who can thrive at Valve, their structure doesn't set people up for success. Valve has a many pseudo-managers, people who have a lot of influence at the company, but aren't designated as such. Doing well at Valve often requires trying to figure out what sort of things these people want, which they often don't make clear. Getting meaningful feedback is difficult, with employees often having little idea on what they need to do differently to improve things.

It really seems like Valve is kind of a mess internally, and they probably wouldn't still be around if it wasn't for the enormous success of Steam.

[1]: https://www.youtube.com/watch?v=s9aCwCKgkLo
Show HN: DoytoQuery: An Automatic SQL Construction Tool in Java
No.

If you’d bother to spend any time learning about how this process works, you’d hold a different opinion.
They might be overkill, but I don't see why not. I guess it depends on what you mean by "general education".

They have great explanations of the fundamental concepts but use problems that really stretch you more than typical books.

Probably better as a second exposure, but doable as a first for a bright and motivated student.
Hey adamsocrat, thanks for your interest in SnapDiagram!
If you tried it and fulfills your needs, we can provide you with one month free of charge of the basic plan. So you can decide if it is worth it, and help us improve it.
Your comment seems a bit tangential to the central point of this article which is more about poorly governed sharing permissions in SharePoint.

For what it’s worth, Microsoft does have support for customer keys at their E5 licensing level:

https://learn.microsoft.com/en-us/purview/customer-key-set-u...
This whole thing reminds me of the dotcom boom where people who learned a week or 2's worth of HTML were suddenly "programmers", and were being hired because they could put on their own pants more often than not.
What if when climate change isn't a big deal you have the equivalent of a person using a free app with ads to tune your piano reporting to you, and when climate change is a big deal you have that piano repairman that can hit a key and tell you the string is rusted when struck too hard from experience.
Sad but true. We are all the corporate code drones that the hackers prided themselves on not being.
Meanwhile, we’ve tried AI products just for assigning incidents and are forced to turn them off because of how shitty of a job they do.
For anyone who seeks to emulate Valves internal structure you have to ask yourself one question - do you already have a core product with a near-unimpeachable monopoly which consistently brings in enough money to keep the entire company afloat, with enough left over to bankroll moonshot R&D projects on top? If not, you can't afford to operate like Valve. They cancel 10 projects for every one they ship, if not for Steam bringing in endless billions of dollars they would have gone out of business a decade ago.
When we used docker-compose we had a CLI tool which developers put in their PATH which was able to start/stop/restart services using the regular compose commands. This didn’t accomplish much at the time other than being easy to remember and not requiring folks to know where their docker-compose files were located. It also took care of layering in other compose files for overriding variables or service definitions.

Short version of the Nix transition: the CLI tool would instead start services using nix-shell invocations behind pm2. So devs still had a way to start services from anywhere, get logs or process status with a command… but every app was running 100% natively.

At the time I was there, containers weren’t used in production (they were doing “App” deploys still) so there was no Docker target that was necessary/useful outside of the development environment.

Besides the performance benefit, microservices owning their development environment in-repo (instead of in another repo where the compose configs were defined) was a huge win.
Automate your back end (relational database)
We are currently in the Alchemist Accelerator trying to find companies who use some relational database because we help you generate a backend from it.

This backend auto-integrates with caching, so no more manual cache management. It also helps update search indexes as data changes - but this requires some coding and we want to work with design partners to productionize that part of it.

The output is micro services which you can call to access your backend (that is the dream). Right now you get code, but we manually create the micro service for you (working towards automating that in the future)

We currently support SQL Server. We would love to know what the majority of companies use (it seems to be Postgres?)

We are currently signing LOIs with companies if they can use the product today or later when we add support for your database.

Please feel free to reach out.
I read is as "you're such a hacker that hearing garbage collection makes you think of memory management instead of the much more normal public service"
I don’t see why you need a seperate app / subscription for this. Claude does this very well, as do local VLMs such as InternVLM. They generate mermaid graphs which you can use directly or import to excalidraw.
It's like bringing a calculator to the test!
> There isn't a significant advantage in having the kernel doing the polling, it would still be busy polling.

I was thinking in terms of a generic syscall-less wake functionality where the kernel could do this for all processes in the system. So you'd lose one core per system instead if one core per consumer.

>If you just don't want to burn power but you can still dedicate a core, there is https://www.felixcloutier.com/x86/mwait.

Interesting. Could be used to make the kernel loop above burn less power.

A user-space implementation could presumably also be built. There could be a shared memory segment shared between producers and a monitor. A producer sets a flag in case it needs attention, and the monitor busy polls the segment. The monitor could then use e.g. a signal to wake up consumers.

The latency between the producer signaling and the consumer taking action would be a higher than with futexes. But there would be no waits/context switches in the producer at all. Might be a solution for some low latency use cases.
This is a cool idea
Yep, that proves my point, thank you
Yes, if this is documented and not done by default. Example: https://www.gevent.org/api/gevent.monkey.html
Part of it is because X11 has improved a lot between 1987 and now. It’s not just been static.

So Wayland has to capture those 37 years worth of engineering.

But also, X was designed in a way that facilitates rapid development and easy integration. In exchange, you get some significant issues which are what Wayland is trying to solve.

So Wayland has to engineer something much more difficult at its core.

Lastly, Wayland has to deal with a much more bifurcated system with a lot more legacy applications to support. X11 came up at a time where there were significantly fewer distros, computers were far less accessible and there were in turn, way fewer programs.

In many ways, most of Linux was designed around X. Now Wayland has the job of trying to unroll it all, across many distros and many more users with many more use cases.

IMHO it’s not a good comparison to make.

I do think there are several areas where Wayland has failed in planning and execution (imho by not looking at windows or macOS), but I don’t think its areas that X11 really did much anyway.
Hey, I plan to reach out when I get some time :)

I can see there’s interest in the topic.
So there IS an MVP of transporting humans. (Which is the point.)
It doesn't answer your question, but it relates another instance in which the dutch (at least supposedly) actively illegibilised themselves under the shadow of external data-gathering.
Curious, would you be more likely to pay for a service like this if you could pay per use with a very low friction checkout?
It’s sexier to build useless warships without weapons that get scrapped in months than to keep a gun or sensor working in sustainment.
I agree. Instead of closing port 22 only to open a different port, it seems more secure to close all ports like the zssh example above or Tailscale SSH [1] or SSH No Ports [2].

[1] https://tailscale.com/tailscale-ssh

[2] https://atsign.com/resources/articles/close-port-22-forever-...
This is super exciting! I was literally just wondering if something like this existed a few days ago (seriously)!

Some super minor feedback appended. All the best with InstantDB!

There is a missing word in the message that appears after clicking on the "Create an app" button:

> With that one-click you’ve claimed an id that you can use for storing your data. Now we'll show you [how] to wire up your db to an app and start adding data. Check out the walkthrough below on your left with the full code and preview on the right.

Also on smaller screen sizes there is no left and right. :)
Thanks, I'll think about it :)
Is it up? Just getting a blank page.
Problems with Coinbase Withdrawal Fees
What Are Branding Archetypes?
Musk: X staff to get stock grants but must summarize contributions for last year
full post: "Yesterday, Elon Musk sent an email to X employees promising them stock grants. In order to receive them, workers need to write a one-page summary of their contributions in the last month and the last year, he said."
> given that this doesn't incur any loss

Only if you ignore the time and effort wasted by people pursuing these nonexistent jobs.

You're right that it's not actionable, but that in no way means it's not fraud.
Given the secrecy of the list, the lack of court orders and little to no accountability, I'm very impressed to find "only" 104 main domains.
> You are underestimating how difficult it is to communicate with people from different cultures.

US devs are highly overestimating the value of being American. They don't understand that a Ukrainian dev working at 80% performance because of cross-cultural issues for 50% salary is still a good deal. And when the company becomes international then the whole argument becomes reversed because the US devs become a minority and it's them who fails to adjust to others. Sure, it's difficult to hire a good dev from abroad, but when this gets done right, it saves a ton of money. For example, an American company can buy a smaller, healthy foreign company, and with the company, all the knowledge of operating in the local job market.

There are tons of posts on Reddit "I'm American and I graduated in Computer Science and I was promised $200k jobs but I can't get hired at all" from people who fail to understand basic economics of big companies.
Ah, that makes sense. Strangely enough, though I use a statically typed language for Lambdas I stopped using in in-built coercion to the type in the handler signatures somewhere along the line. These days I’m almost always skipping the extra dependencies (usually a shared library for the POCOs, and more) and just process the JSON object literally, and produce one as a result. It’s been a good thing I think on my projects; smaller, simpler code.
For reference, early Garmins sent and received NMEA 183 data, including their own proprietary sentences:

https://developer.garmin.com/downloads/legacy/uploads/2015/0...
Also forgot to mention if it wasn't obvious - I'm not a STEM researcher and don't have aspirations to use a notes app beyond notes, but I am curious about efficiency, simplicity and workflow.
I invented a technology called OQM to simplify database access, which is different from ORM. This repository is a Java version of the implementation. I am now writing a series of articles to try to explain this technology clearly. Here is the first article:

https://dev.to/f0rb/from-orm-to-oqm-an-object-only-sql-const...
Would love to hear how you went about doing things at Framer!
It’s been more than 20 years since any mainstream operating system was vulnerable.

IIRC even SYN cookies are older than 20 years at this point.
I could swear I did a deep dive into Spdlog vs Nanolog six months ago, and the performance differences weren't nearly this stark
sounds good!
it's a cool anecdote :)
This seems easily fixable for buses, since they can overtake each other. Once the empty bus is in front, it is the one arriving first to pick passengers, while the full bus empties.

In practice I see buses slowing down or stopping to keep their ordering, and I don't understand why.

(Of course that doesn't work for trains which can't overtake)
as long as you are just using static strings and native types it amounts to a pointer/index bump and a load/store per item. Lets imagine you have the format string, priority number, system id, and 7 pieces of data in the payload. That would be 10 items, so like 40 cycles? I can see the 18ns the paper gets.

I had no doubt the 7ns number is heavily cooked.
And air conditioning.
Currently, about a dozen. That's down from a high of two dozen.

All of them resolve to somewhere, but I only really use 6 of them.
The test is from '89. Linux 0.01 was two years in the future.
1. New technologies provide features that older technologies lack and making things easier. Example: Java provides garbage collection so you don't need to care about managing memory like C. Kotlin provides null-safety so you don't need to care about NullPointerException like Java.

2. Because those technologies exist. If learning a new language or framework is a problem, it's ok, there are people who are programming in C for decades. But if they want to write a backend for a web application, an app for Android and so on it would be more difficult than just learning those new technologies and using them.

4. I don't know. I remember my first PC, running Windows 95 on an old Pentium CPU with only 16MB of memory, 8GB IDE hard drive. It booted as fast as my M1 Mac. And we could write documents, spreadsheets, listen to music, just like we do today.

5. I never searched by any of them, but I know that people search, for example, jobs for "Java Programmer". And I think it's weird unless you are a specialist in that language.

I remember when my former boss allocated me to work on a Kotlin microservice, I told him: "But... I don't know Kotlin". He answered: "It's only a programming language, you learn that". And he was wright, two weeks later I was sending my first PRs in Kotlin. I learned only what I needed, I don't see as a problem if I needed to switch to Go, Rust, Swift, Clojure or any other programming language that I don't know yet (unless if it's too different).

And I think that learning a new framework is harder than a new language. Example: if you know Python you learn Ruby in few hours, but if you know Ruby you'll take more time to learn Rails. If I wanted to hire someone to work with Rails, I would prefer someone that already know Django but don't know Ruby instead of someone that know Ruby but never worked with Rails, Django or similar.

6. It happens in any career that you choose. Think about a musician. Many people think that being a musician is only fun because it is fun to play an instrument. But if you work as a musician you'll have to play music that you don't like, in places that you don't like and for people that you don't like, because you need to earn money. Of course you can still play for fun, but it mostly won't be enough to survive.

Same for software. You can still write what you want for fun (I do it a lot, e.g. I wrote my own Git in Haskell: https://github.com/lucasoshiro/oshit). But in order to survive we may need to write boring CRUDs
For clarity, dang is HN’s moderator.
More companies should have that kind of focus.
I stand corrected, thank you. I'm an idiot because Katsudon is a completely different dish (and I've made both dishes tons).
How about Svelte 5 with runes mode?

One of the biggest challenges I've encountered so far while working on my SvelteKit with Svelte 5 codebase is that all frontier models struggle to understand differences between major versions of languages and frameworks, leading to a lot of annoying hallucinations. They're fantastic at writing code, but the last mile of figuring out how to fix issues for incorrect APIs or syntax becomes very tedious.
I feel like we are building a very large and complex interface between human beings and the internet, so that we are becoming more like mechanical nodes on the network, where slowly the idiosyncracies of individuality are being erased. That's not unique to AI, but AI is a major component of it now. I can imagine future scenarios where every part of our communication is passed through an AI filter until we are all perfectly tuned to be mindless consumers of information.

This SnapDiagram does it for sketches, and LLMs do it for text. Soon everyone will sound very similar and the system will be able to remove any aspect of individuality that is troublesome to it with a mere parameter tuning.

The little picture is just a conversion to a more readable diagram. The big picture is the slow erasing of the human spirit.
AI Is Not Software
I fully agree that the UI should be explicit enough not to need a KB but working with SMB there are A LOT OF basic processes that you need to write down…
All that's needed is to extend the name with a modifier, which probably is a stronger branding IMO.

https://surfer.nmr.mgh.harvard.edu/

https://towey-websurfer.apponic.com/

Also many open source libraries have also used the name:

https://rubygems.org/gems/surfer

https://www.npmjs.com/package/surfer

etc
Biophilia Matters
Yes, there is a slight risk even without a loss of airplane cabin pressure. You can find the consensus recommendations for flying after diving here.

https://dan.org/health-medicine/health-resource/health-safet...
> step 4. Talk to someone in the bathroom

lol wut
What number between 0-100,000 takes the longest to pronounce?
How does this compare to just running WireGuard?
What's the name of the extension. I was looking for something like this recently
According to Microsoft it is, because [they assert] anything on the web is in the public domain: "freeware." [0]

Eric Schmidt says it doesn't matter, just do it and let the lawyers clean it up. [1]

0: https://www.forbes.com/sites/barrycollins/2024/07/01/has-mic...

1: https://www.msn.com/en-us/money/news/ex-google-ceo-schmidt-t...
Rybelsus: "Am I a joke to you?"
So I suppose that there is a business automating that?
Myself, I'd probably prefer to use something like Huginn to create a customized approach to all of my online platforms I'm interested in, rather than a curated list.

https://github.com/huginn/huginn
how hard would it be have a Phoenix .html.heex mode instead of your typical react/angular? .html.heex is really just plain old HTML with tailwind css classes. I could easily copy and paste your generated UIs into my views and play around there! thanks!
Hello HN community,
I’m thrilled to announce a special giveaway sponsored by Packt! We’re offering 2 print copies and 1 ebook of “Building Applications with Microsoft Semantic Kernel” by Lucas A. Meyer.

Why This Book? This book dives deep into the practical applications of Microsoft Semantic Kernel, a powerful tool for building intelligent applications. Whether you’re a seasoned developer or just starting with AI, this book provides valuable insights and hands-on examples.

How to Enter:
Visit the LinkedIn Post
Share Your Experience: Leave a comment on the post sharing your experience with Large Language Models (LLMs). We’re looking for interesting stories, challenges you’ve faced, or innovative solutions you’ve developed.

Selection Process: The winners will be chosen by Vinishka Kalra, who will pick the most compelling stories.

Don’t miss this opportunity to get your hands on a copy of this valuable resource.

Share your stories and good luck!
People should make their own decisions about highly technical aspects of their own surgeries? And then also I presume bear the full responsibility for the outcome?

No, surgeons should make decisions informed by their own experience and, yes, recommendations from medical researchers. How we're doing it is how it should be, the fraud remains the problem here.
Strength training activates cellular waste disposal
So did they have a different structure before Steam existed? And then post-Steam, now there is total freedom to organize however they want?

You're saying that this organization doesn't lead to success, but because they accidentally have a successful money maker, now they can run like this?

I think there is disconnect here. There are successful companies that can operate like this, because this is a good way to get to success.
This exactly. If Microsoft had created its own fine-tuned-MSFT-data LLM and seen vastly better results on internal tasks, then they’d be publishing papers about it, and also packaging that up & selling to customers.
> Have you ever patched binary code?

> ... While the program was running?

One of my favourite activities.
SpaceX testing breakthrough tech in risky spacewalk