skysight-inc/HackerNews huggingface dataset:
That's what /usr/bin/env is for: a standard path to reference interpreters.

There is still the issue of the proper interpreter actually being installed, however.
Show HN: C9 GUI – SDL2 GUI framework for C99 subset
Coming from Electron+TS+React at work I wanted something leaner for my hobby projects. This is what I've come up with so far.
Ah yes, Comment Driven Development (CDD), I practice it as well.

You start with comments of how you want things to work, and fill in the code. It's a perfect combination of why/how and communicates to the next developer the high level thought process behind the code perfectly.
Ratatui is a great name. The landing page needs a rat!
super shady to have people sign up then tell them what the credits and pricing is. I guess money aint enough? You gotta participate in surveillance capitalism as well. Creepy.
DC-DC converters are hard, but fun. The basic concept is that when you put current through an inductor for a while, then disconnect it, you get a big voltage spike. That's a classic auto ignition system. You can put that spike through a diode and use it to charge a capacitor to get DC out. The neat thing about switching power supplies is that there's very little resistance in the power path. That's why the efficiencies are so good. The not-neat thing is that they are a dead short across the input for part of the cycle, which is why failures can cause fires and why you may need an inrush current limiter and/or a fuse.

There are boost converters, buck converters, and ones with transformers. With a transformer you can isolate the input from the output, which is mandatory for safety if you're driving the thing from the AC power line.

Here's one of mine. USB 5VDC in, 120 VDC out, to operate antique teletype machines that need 60mA 120VDC.[1] The basic circuit is simple, but there are multiple surface mount ferrite beads and small capacitors to keep the spikes from coming out via the input USB, output, or as RF. LTspice simulation was needed to pick the values for those, so as to minimize noise in both voltage and current.

[1] https://github.com/John-Nagle/ttyloopdriver/blob/master/boar...
We use GO (with templates) and HTMX for internal apps in enterprise which is completely tied in Microsoft. It’s a much better experience than Blazor. I think that any productive language (think what you would likely have used Python for) with templates that can be mixed with HTMX is easily the best experience you’re going to have writing internal enterprise applications. We use GO because we’re slowly replacing our C# and TS backends with GO, but you can achieve the same with many techs. Probably even C# and (ironically) web forms.

It obviously has some limitations, and if you need complicated role based access control you’re going to want to use something else. But for 95% of your use cases it’s soooo easy to build an app with JS with server side functionality with HTMX and templates. The major disadvantage is that it introduces multiple frontend techs as you do not want to use it on anything facing customers / investors / whatever on the internet.
To summarize: The people who ruined native GUIs moved to HTML pages. After ruining HTML pages they are now moving to terminals.

In this very thread we're seeing people say "Well sure, but why not add ...".

The reason why the CLI is good is because it _can't_ do most things people want it to do. Which means you have to think when making an application.

Please, if you're one of the people 'modernizing' the terminal stop and think why the terminal is valuable. Don't make it into another of the long line of UIs which have been destroyed by modern developers.
For years whenever I see lottery numbers announced I first scrawl some guesses on a piece of paper, trying to summon all divine power I can muster.

I think I once guessed 2 of them .
This way I get all the thrill of the game with none of the cost.
Didn't the abort system fail on the rocket that we're talking about? Or was that the one after?
It wrote the thing. Did I misunderstand and it’s supposed to run the thing to qualify for this thread? I told the LLM to build it so I was included.
Ask HN: How much can one learn in Google (L6)?
I'm negotiating an offer from Google at L6 in EU. The problem is that due to tax difference, higher cost of living and the fact that I own housing in my current city but would have to rent in the new location, there isn't a sure financial upside. I've worked almost exclusively in smaller companies (<100 people) until now (I co-founded one of them previously). No recognizable brands. I'm paid only cash (and a small bonus). The work-life balance is very good.

The main costs come from having kids (childcare, at least 2 - 3 bedroom apt). But that's also the reason I'm considering the change now. We've wanted to live abroad for some time but never got to realize it. As the kids grow older, I imagine it will be harder for them to adapt - in both directions, i.e. when moving there and back a few years later.

From the outside, Google engineering with bespoke tools seemed almost magical. So I'd treat it as a learning experience. I'd like to hear mostly from Googlers and Xooglers how much can one learn on the job. What's not accessible in startups? Do you feel you gain experience on which you can build later?
Local LLM game, guess the secret. Built it using LLama.cpp and whisper.cpp on github.
It’s a public company.

If it ever actually turns out to be a problem, we’ll just make a law that requires them to delete the data / model.
I use firefox sync as well, yet not with synced tabs but share singe tabs to a firefox account (PC, phone, work pc, etc.)
The next time I open firefox on the target device the tabs are opened.
Here is another thing worth sharing. Database integration tests on Bazel used to be difficult. Ultimately I've found an elegant solution:

https://github.com/diesel-rs/diesel/blob/master/examples/pos...

The parallel testing with dangling transactions isn't Diesel or Postgres specific. You can do the same with pure SQL and any relational DB that supports transactions.

For CI, BuildBuddy can spin up Docker in a remote execution host, then you write a custom util that tests if the DB container is already running and if not starts one, out that in a test and then let Bazel execute all integration tests in parallel. For some weird reasons, all tests have to be in one file per insolated remote execution host, so I created one per table.

Incremental builds that compile, tests, build and publish images usually complete in about one minute. That's thanks to the 80 Core BuildBuddy cluster with remote cache.

GitHub took about an hour back in April when the repo was half in size.

There is real gain in terms of developer velocity.
Aitubo：The best Flux AI image generator
And 3.3/5 is approximately 66% efficiency, which isn't too horrible.
So even if you get your buck converter working, getting those 95%+ efficiency numbers you see in datasheets out of the circuit is not trivial.
> Cheap buck converters are very noisy and annoying...

Yes. This is why the good ones have more parts. It's a totally fixable problem, and the parts cost to fix it isn't high, but it takes extra engineering effort.
>when hen wrote the comment.

I've always said coding is a cottage industry!
New Mistral AI Weights
Why not just do good old mergetrains with pullrequest A points to branch B amd then B points to master, merge B into master and thereafter point A back to master or am I missing the point?
Same here as well, I hear this argument a lot, but have yet to see a comment I didn't appreciate. And if there's something wrong with the comment, fix it! Self documenting code is a joke.
Side (off-topic): I really like how I finally found the missing word for the 2000-2009s: "aughts".
Nowadays the vast majority of CVEs have nothing to do with security, they're just Curriculum Vitae Enhancers, i.e. a student finding that "with my discovery, if A, B, C and D were granted, I could possibly gain some privileges", despite A/B/C/D being mutually exclusive. That's every days job for any security people to sort out that garbage. So what the kernel does is not worse at all.
It's a running joke that Gabe is a god and will live forever
It takes tremendous skill in a number of areas to produce a video game. I do wonder if with AI generated games we’ll see more of this type of work or less!
I don't know what part of the west you are pointing at, but that's pretty much how it works here in Australia.

That's why are farmers are getting Parkinson's, and cars are too big for the roads, and there is too much sugar in everything, and social media platforms can broadcast whatever they want with no repercussions.
Large keys are not a problem. See the SQLite3 docs about WITHOUT ROWID tables. Essentially any interesting multi-column key will be large, so don't worry about it. On the other hand, while INTEGER PRIMARY KEYs are nice and small, you end up with one extra index in SQLite3 if you have an integer key and also some other key that is really your primary key (or equivalently if you have the primary key you want and you didn't use WITHOUT ROWID).

A covering index always has large keys too.

In SQLite3 the trade-off made is that B-trees have either integer keys and arbitrary values, or arbitrary keys and integer values. When using WITHOUT ROWID the whole row is the key. (IIRC)
Thank you!

I was just going to ask about recommended resources for getting into electronics. I've never been able to find anything that I personally found useful - often times, introductury courses are too basic and slow to keep me focused, or they lack exercises or are too theoretical, etc.

There are many hobbyists who have learned all that stuff and can design and implement their own circuits (say, audiophiles or model train enthusiasts), so obviously they have all been able to get there. But I have never managed to learn anything about electronics, although I would really like to.
You understand the complexities and risks involved in maintaining the setup you’ve described?

It’d be unreasonable for most folks who just want to sell regular products and deal with marketing and sales.
Those become the biggest tasks once they start getting traction (ask any relatively successful indie hacker).
Paying the processor’s fee is worth it for most
> What I want to know is what's the update experience like 3 years later

Exactly. I've been there with vanilla js projects. It doesn't make any difference whether it's been written by me or by another engineer.

It's a nauseating experience. There are little if any conventions. You can't trust any APIs if you've not read what they do exactly.

I will never understand this sort of purism on HN. For any medium web app, by choosing a framework, you will move the mental load of maintaining and bike shedding to thousands of other engineers, leaving you to do the actual work.
Banning everything because we don't like change isn't a great plan either.

The modern society is a product of the Industrial Revolution, which had many nasty side effects (destroyed the traditional structure of the society, poisoned the air and the water, led to large swaths of land being damaged by mining etc.)

Yet if, say, Prussia or France decided to ban industry early on because of the very real harms observed in England, they would have been conquered mercilessly by their foes later.

Technological bans often come at a price of stagnation. Facebook is at least a bit under Western control and can be regulated. Chinese AI labs won't be, and we will only see their results when smart missiles start raining on our heads.
That is an option with consent-o-matic. You just go to the first page of the preferences and turn everything on.
That is whishful thinking, even if they release the magical console, it will tank, given their attitude of "You don't need a box to play XBox branded games", while putting their games everywhere there is a GPU.

I certainly don't care any longer about it beyond the XBox App on Windows.
So the only "legal" node operators left will be state agencies.
I remember at one job, they were talking about the overall architecture of code at the company and when I asked how can I run this on my computer, they said well you can just run it but I pushed... How can I run this whole thing on my computer to interact with everything else and it was met with silence.

I can understand having to stub out external calls to vendors and clients but this is ridiculous. There is no local story.
Cheating on what, the computer vetting process? Maybe companies should actually interview people in person, then they wouldn't have a problem anymore.

Good candidates are swirling around in the limbo of bad faith automated vetting tools, companies shouldn't be surprised if they use technology to get past the humanless gauntlet. Getting to a human who can genuinely reason about the complex value of a specific human in a specific team should be priority number one, for both candidate and hiring process.
> If you are a good engineer you won't have a problem

If companies on average knew who the 'good engineers' were, they wouldn't be laid off in the first place. (Unless the layoffs are really big).

The recruitment pipe is so convoluted nowadays that connections and recommendations are way more important than they used to be. Skills not so much.
Presumably striking isn't a great sign of motivation already. If you think you're so unimpactful that your job is at risk, you probably aren't very motivated.
Friends of mine use scripts to modify every foto of them to slightly move face recognition markers.

The images exist, the person on them looks very similar to them so aunts and uncles don’t mind, but the human you see is a fiction.
I think this is a cultural problem. Every accountant everywhere works under the implicit assumption that taxes are to be avoided. Imagine if having a large tax contribution was something to be proud of. Perhaps the government needs to advertise more what the money actually gets spent on. Government works on boring stuff like the culverts that are essential to stopping roads flooding. People have no idea of the work that goes into this and just assume roads don't flood. It's like that old thing where you think everyone's job is pointless/easy except your own.
> Surely an exit node operator in country A can’t be prosecuted for allowing access to a site on country B’s blacklist.

There's many cases where ISPs are ordered to block piracy and streaming sites that are in another country.
How much do you make from 'Buy Me a Pizza'?

I have a small project that gets a few thousand hits per month, and get a few coffees every other month.
Comments don't replace reading code, they prime your brain for the code you're about to read. There is often context and reason behind the code that is not in the code itself.
The article does not make clear whether the photos are used to train recommendation systems (eg newsfeed, ads) or generative image models. The article makes it appear like the latter, but is most likely the former.
Would I be able to use all the python and npm packages with it. Would something opening a headless browser to scrap data work with DBOS ?
And foe bookmark sync I use Tab Stash.
It's not a fancy reinvention of syncing - it just uses the bookmarks of firefox and organises them in folders, then shows them in a beautiful useful way in a single page. This page I use for my new tab page.

https://addons.mozilla.org/en-US/firefox/addon/tab-stash/
> more than two years of bargaining

How is this a refusal to negotiate?
First, I suppose "scrape" is not the correct word here, if fb is just using the photos people uploaded to their servers.

Second, what was the license agreement between users and fb at the point they uploaded their pictures? I wouldn't be surprised that this is completely legal and covered by fb's TOS...?
Might want to reread https://news.ycombinator.com/newsguidelines.html and especially this section:
In Comments

Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

Comments should get more thoughtful and substantive, not less, as a topic gets more divisive.

When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."

Please don't fulminate. Please don't sneer, including at the rest of the community.

Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.

Eschew flamebait. Avoid generic tangents. Omit internet tropes.

Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.
There are decent clients, but no decent rdp server software yet that I've found.

That said krdp looks promising, but I haven't gotten it to work yet.
That's what many operators are doing already.
> I’d like you to elaborate on how an app with no external dependencies has the same line or vulnerabilities that an app which pulls literal thousands of external dependencies.

Because it is not vetted. These dependencies are run through multiple checking tools day by day. You will get automated alerts for dependencies, which you can then easily patch. There is an entire industry behind checking for vulnerabilities in public libraries. The best incentive for something is and has always been money.

You have neither of this if you roll your own entirely.

> I know it’s common in software engineering to rely on others to be your security, but this has proven to be a terrible idea so many times by now.

This is a false equivalency. Log4j was found, publicly discussed and was subsequently patched.
Which is kind of silly, given the miriad of PC and Android devices some of the same studios also target.

So they manage some potato PCs as minimum requirements but not the Series S?
Never going to understand those finance teams who think like 20k/yr for any enterprise deal is a good deal to onboard more customers and increase reach.
I've been a very happy user of this plugin for some time and it works great for me. I'm always bewildered by how many cookie consent dialogs I see on my work browser which is locked down so doesn't have this plugin.
I could never do that. Imagine the devastation of getting all of them right.
Here is the repo for reference:

https://github.com/mozilla-services/syncstorage-rs
That's true, tbh I totally forgot about it since I completely stopped using my phone for audio when they started removing 3.5mm jacks. Adapters don't stick for long with me, and BT headphones I just don't find too convenient.

In the end I found my 2008 walkman and it works perfectly to this day. It's built like a tank. It has a replacable 64GiB SD card just for the music. And my latest macbook can now again work with this card perfectly for syncing. No upgrades needed for 16 years.

I also don't like the concept of renting the music for listening, instead I prefer to buy it, as directly from the author as possible – so I never used Spotify or whatever.

A lot of people are like this actually, I personally know a dozen who won't even listen to digital formats, only physical copies on vinyl, cd, tape, etc. – so it's a bit of an exaggeration to say "everyone is using X"
Yeah I don't see the point, why not just use mergetrains?
Tether: The Cryptocurrency Fueling the Financial Underworld
https://archive.ph/1PWZN
Eins, zwei, Polizei
Drei, vier, Grenadier
Fünf, sechs, alte Keks
Sieben, acht, Gute Nacht
What if the goal of the site is to monetize views so it is economically viable to produce content?

Then GP's point towards 'it should work better' implies it works over the long-term and not a single interaction.

I find ads frustrating as well, but it is a powerful monetization strategy and that doesn't have a substitute.
I'd like to make the argument that "we" believe otherwise.

It is legal to keep some logs for a limited amount of time if you run an IT service in Germany, mostly for the purpose of keeping the service running properly. If you have that data, you can give it to LE when they request it.

The thing accepted by the public at large is often codified within a country's laws. German laws generally do not require you to store logs if you are an ISP. Storing them for too long can even be unlawful. There is no so called Vorratsdatenspeicherung anymore, and it is a recurring topic of political debate. So at least in Germany, the public view on storing data is more complex, and people don't believe not storing data or reducing the amount of data stored is clearly immoral when running IT services. https://de.wikipedia.org/wiki/Datenvermeidung_und_Datenspars...

On another note, if LE requests you to log specific access patterns in advance, you might have to do it. If your ISP services are really big (lots of users), you might even have to provide some sort of interface for LE. IMO and under certain interpretations of the involved laws, the German state could ask every single node operator in Germany to log everything, but the political backlash would be quite high.
The reason the FastHTML bare-bones from-scratch auth example is bare-bones is to show you the minimal pieces that need to be built if you want to do auth from scratch. That doesn't meaning doing it from scratch is a good idea -- it's shown for folks that have the need for something fully custom.

The docs walk you through how to use OAuth, which is probably a better idea for most folks, especially for beginners: https://docs.fastht.ml/explains/oauth.html

(I'm the founder of the FastHTML project.)
You've really modernized the CLI there. I've been resisting doing that because I SSH into other machines often enough, but with your script I might just start. Thank you, nice work!

As another big rg and tree (and ncdu, do you know of this) user, I highly suggest rotating one monitor 90 degrees. These tools with long output really benefit, as does web browsing, coding, and even the ability to see an entire page of a PDF without scrolling or making it tiny.
I think this is too pessimistic. You can slowly add useful information that makes things more useful, if there's value in incorporating the information. I'm very familiar with EHRs and I get the problem, but it's not insoluble. And the full problem doesn't need to be solved to make progress.
Surprising ways to boost your event attendance
I’ve been hearing the complete opposite on EU CS jobs Reddit. People say it’s impossible to get hired with no experience and just hard for seniors.

There’s so much of reporting and selection bias though.
Surprisingly it is obvious for Gen Z that social media in its current form is highly addictive and destabilizing in terms of well-being because (usually framed as "mental health").
Since I'm older I had a more of a choice in terms of social media presence (and get away with basically none) the younger folks practically don't.

Basically, I could have got "hooked" as my pre-frontal cortex was already fully developed and I kindly declined. Gen Z for the most part was confronted with the "choice" of small dopamine hits designed after the newest slot machine research [0][1] when they were underage.

As others have pointed out the 90s-00s had its own limitations and frustrations so going back to that nobody is really nostalgic about that part but back then you had to at least choose video games (install it, meet the hardware requirements and get sufficiently proficient in it ;) ) to get to today's level of addiction which permeates mainstream online social interactions.

[0]https://ihpi.umich.edu/news/social-media-copies-gambling-met...

[1]https://link.springer.com/article/10.1007/s11245-024-10031-0
Right, but your claim was that just processing the font would take 500 ms. No idea what a Moto G Power is or how fast it is, but 500 ms for processing still seems like a pessimistic estimate.

I've no idea what sort of overhead Google adds to font downloads either, but assuming WOFF2 format the font itself should be well under 100k. Granted WOFF2 is fairly new (2018), but it's fairly well supported these days. I'd expect Google Fonts to support it as WOFF2 was Google's attempt at wringing out a bit more optimization out SFNT fonts.