MurphyA/hacker-news huggingface dataset:
by addoo | 2025-04-23 14:44:08+00:00
The only things I’d have probably change about this list is the inclusion of some of the collections.abc containers for type annotations, TypedDict and how it can make working with strictly structured dictionaries not terrible (but if it looks like an class and quacks like a class, make it a class if you can), and Counter (only because I forget it exists every single time I should have used it).

Several comments disliking the walrus operator, like many of the features on this list I also hated it… until I found a good use for it. I almost exclusively write strictly typed Python these days (annotations… another feature I originally hated). The walrus operator makes code so much cleaner when you’re dealing with Optionals (or, a Union with None). This comes up a lot with regex patterns:

if (match := pattern.search(line)) is not None: print(match.group())

Could you evaluate match on a separate line before the conditional? Sure. But I find this is a little clearer that the intended life of match is within the conditional, making it less tempting to reuse it elsewhere.

Not a Python feature specifically, but I’d also love to see code that uses regex patterns to embrace named capturing groups more often. .group(“prefix”) is a lot more readable than .group(1).
by Pierewsa | 2025-04-23 14:44:34+00:00
Only take in mind it is for bio data - EEG, EMG, EKG, EOG and course provides working Python scripts for signal processing with my descriptions and not more, if that's with you please use it. Video only for 1 hours, main idea that you can take and use this script in your Project also this course included to Low-Cost Brain-Computer interface kit that available in IndieGoGo https://www.indiegogo.com/projects/pieeg-kit-bioscience-lab-...
by cf100clunk | 2025-04-23 14:44:45+00:00
And yet the reality is that within a very short time after cancelling the Arrow the need for an interceptor was not, as you say, obsolete. That requirement meant that the Canadian government bought ex-USAF CF101-B Voodoo jets to replace the truly obsolescent CF-100 that the Arrow was meant to do. The development of interceptor aircraft similar to the Arrow continued on in various countries for decades.
by DrillShopper | 2025-04-23 14:44:48+00:00
> What exactly does Windows have that makes it easier to manage machines?

A large marketing budget and sysadmin / devops outreach in a way that no single and all Linux distributions collectively haven't matched. Integration of things into a cohesive single tool instead of a grab bag of tools that move from hyped to normal to unmaintained in a number of years.
by genjo | 2025-04-23 14:45:06+00:00
> But why are people willing to buy at the higher price?

I wrote "offer shares at a higher price". There is no reason to buy at a higher price until that price is the current price and keeps increasing.

> Sales figures demonstrate otherwise. Cybertruck especially.

"by the end of June (2024), Tesla had produced 11,000 Cybertrucks. (...) around 30,000 Cybertrucks by the end of the quarter (..) likely more than half of the ~23,000 “other vehicles” Tesla delivered in Q3 were Cybertrucks"

[] https://electrek.co/2024/10/03/tesla-reveals-how-many-cybert...

> The company used to be better.

Only because we humans are used to judge "on short notice" all the time. The bigger picture translates into "crazy competent", but that might be a matter of opinion.

> I can see people expected the White House to help

I don't think "help" is the right word here. Elon got and will continue to get contracts for all the baby steps into space. And the "portfolio gang" knows, expects and works/cooperates on stuff without any of it falling into the problem of "insider trading".

This is all very superficial but I am not suited for a deeper dive.
by 1024kb | 2025-04-23 14:45:09+00:00
Some time ago @revskill posted a request for peoples blogs here: https://news.ycombinator.com/item?id=36575081

The responses were aggregated and posted to Github here: https://github.com/outcoldman/hackernews-personal-blogs?tab=...

You can download the OPML file and load it up into your RSS feed. I did start visiting the various blogs to find some i'd enjoy reading, but there are so many!
by freedomben | 2025-04-23 14:46:24+00:00
I agree GP's attitude is ridiculous, but if a very small number of purists on the internet is the reason less people are open sourcing software, then those people are just as guilty of bad reasoning/judgment as the purists.

IMHO the real reason is that the threat of hostile/competing forks has gone up. It used to be gauche at best, evil at worst, to take somebody's open source code and compete with them, but increasingly the landscape is changing. I think that's the real problem, and IMHO the answer to that is the AGPL, not to go proprietary.
by aaronbaugher | 2025-04-23 14:46:38+00:00
Yeah, I often see claims online that Facebook is dead, Facebook is just Boomers posting pictures of their grandkids, etc. Maybe it's a regional thing, because where I live, everyone's on Facebook. Most small businesses, organizations, and communities here use it as their primary (or only) online presence for promoting themselves and staying in contact with their customers/members. Marketplace has completely replaced the old newspaper classified ads. That's unfortunate since the search in Marketplace sucks, but it's happened.

My family uses its messenger for organizing things because everyone has it, even if some of us rarely use it except for that. If I wanted to draw attention to something locally, whether it was promoting a service or running for office, I'd be a fool not to use Facebook.
by memling | 2025-04-23 14:46:56+00:00
> Does one pay for an SLA for every piece of hardware, firmware, and software? The codecs are the least likely cause of downtime.

I don't recall saying that—just that I have had clients for whom the support was sufficiently important (because of their own reliability concerns) that they went commercial instead of open source. (They required, among other things, 24x7 support and dedicated resources to fix bugs when found; they also sought guarantees on turn-around time.)
by jatingarg230 | 2025-04-23 14:46:58+00:00
Over the past few months, we’ve been tinkering with a question that wouldn’t leave us alone:

What if AI could actually build apps — not just generate code snippets, but scaffold an entire working product from scratch?

So we built saas-builder, an open-source CLI that lets you describe your app idea and generates a full-stack scaffold using Next.js and Supabase.

You run: saas-builder init …and five AI agents take over:

> UI Agent → builds a responsive frontend > Auth Agent → wires up Supabase Auth > DB Agent → creates schema, migrations, and types > Terminal Agent → installs dependencies & folders > Browser Agent → launches the app locally

What you get is a clean, typed, ready-to-deploy app.

It’s still early days — very much a side project. But it’s already saved us hours of boilerplate setup.

More importantly, it gave us a glimpse of what agentic development might actually feel like.

We’re releasing it under MIT, installable via pip, and would genuinely love your thoughts:

GitHub: https://github.com/jatingarg619/saas-builder

Appreciate you reading. We’re around to answer questions, chat about ideas or hear whatever feedback you’ve got.
by john_the_writer | 2025-04-23 14:47:01+00:00
God, the idea of microservices for humans is nightmare time. I work for a company that runs micorservices, and I can say I've spent days attempting to get everything running on my dev system. One upgrade and I can watch my whole day/week disappear into config hell.

I can't imagine how hard it would be to do this with people. Each working with their own little bubble.

Just the other week someone decided that an api needed a tweak, so they adjusted the code and the tests, but missed one external system. Took 4 days to fix, because we couldn't figure out what had changed. And the team who owned the external system wasn't around. People as microservices.. no just no.
by roblabla | 2025-04-23 14:47:32+00:00
Yeah same, we maintain some eBPF probes spanning 4.11 to latest kernel, and holy hell, it's really bad. The worst offender being some old RedHat kernels with half-baked backports of the eBPF features containing a bunch of weird bugs or features that aren't perfectly in line with what's used in mainline...

Here's a fun bug we recently had: we had to ban substractions in our program (replacing them with an __asm__ macro) because of a bug in linux kernel 5.7.0 to 5.10.10, which had the (indirect) impact of not properly tracking the valid min/max values in the verifier[0]. The worst part is, it didn't cause the verifier to reject our program outright - instead, it used that information to optimize out some branches it thought were never reachable, making for some really wonky to debug situation where the program was running an impossible control-flow[1], resulting in it returning garbage to user-space.

All this to say, CORE is really only half the problem. Supporting every kernel in existance is still a huge effort. Still worth it compared to the alternative of writing a linux kernel driver though!

[0]: https://github.com/torvalds/linux/commit/bc895e8b2a64e502fbb...

[1]: https://github.com/torvalds/linux/blob/bc895e8b2a64e502fbba7...
by Aurornis | 2025-04-23 14:48:13+00:00
> What surprises me is how much people on this site underestimate facebook.

It’s the classic disconnect between engineering and product management: When engineers don’t want a product and therefore conclude that nobody wants the product.

When I’ve brought up Facebook active user stats here in the past I got flooded with responses suggested Facebook was lying or manipulating their user counts to pump up the stock.
by palata | 2025-04-23 14:48:20+00:00
That's technically pretty cool, but it makes me wonder:

In order to run a Java Desktop app, I need to install a JVM first (or the Desktop app can embed it, I guess that's what IntelliJ does, right?).

Now if I run CheerpJ, it means that I essentially download a JVM when I load the page (every time), and run code in that JVM. But at this point, why not downloading a Desktop app?

It feels like we are going around, shipping simple web pages together with full browsers and calling that "desktop apps" (e.g. ElectronJS), then shipping complete JVMs as web pages and calling that a "web page"... why don't we just ship simple webpages through browsers and complex desktop apps through package managers?
by ssegert | 2025-04-23 14:48:59+00:00
See also this stackexchange answer, which makes basically the same point:

https://stats.stackexchange.com/questions/560383/how-can-we-...

I think the posted article has some important confusions. First is the distinction between a basis and an objective. If I fit a polynomial to go through every point in my dataset, I will end up with exactly the same resulting solution, it doesn't matter what basis I use to represent it (although the basis-specific coefficients will of course differ). This is because all polynomial bases (by definition) represent the same hypothesis class, and the recipe "fit a polynomial that passes through every point" can be expressed as an optimization problem over that hypothesis class. More generally, any two bases will give exactly the same solution when optimizing for the same objective (ignoring things like floating point errors).

So why do the results with Bernstein basis look better than for the standard basis? It's because they are actually optimizing a different objective function (which is explicitly written out in the stackexchange post). So in that sense the Bernstein-vs.-standard basis is really a comparison between different objective functions rather than between different bases. It so happens that the solution to the new objective function has a simple expression in terms of the Bernstein basis; but in principle I could set up and solve the objective in terms of the standard basis and obtain exactly the same result. From this perspective, the Bernstein polynomials are nothing more than a convenient computational device for expressing the solution to the objective. The OP kind of gets at this with the distinction between Fitting and Interpolation, but seems to conflate different fitting procedures with different bases.

Secondly, there is actually no need for explicit regularization when fitting Bernstein polynomials (cf. the stackexchange post). The way the OP fits Bernstein polynomials is non-standard. Although one can say that the specific form of the objective function provides an important source of implicit regularization.

So in conclusion I think the OP has importantly mis-attributed the source of success of the Bernstein method. It does not have to do with explicit regularization or choice of basis, and has everything to do with re-defining the objective function.
by nluken | 2025-04-23 14:49:10+00:00
When people talk of AI as a loneliness cure I always remember a quote from an essay by Laura Preston about her time at an AI conference [1]:

"I was an extraterrestrial taking notes on the problems of Earth. Finding pizza in your area was a problem. People being mean to you because you were wearing your AirPods at dinner was a problem. Going on vacation was a problem because the hotels would force you to find the light switches. Elders were a problem. (They never took their medicine.) Loneliness was a problem, but loneliness had a solution, and the solution was conversation. But don’t talk with your elders, and not with the front desk, and certainly not with the man on the corner, though he might know where the pizza is. (“Noise-canceling is great, especially if you live urban,” said the earbuds guy. “There’s a lot of world out there.”) Idle chitchat was a snag in daily living. We’d rather slip through the world as silent as a burglar, seen by no one except our devices."

[1] https://www.nplusonemag.com/issue-47/essays/an-age-of-hypera...
by lo_zamoyski | 2025-04-23 14:49:24+00:00
This will require filing a notarized 150 page petition entitled "Antrag auf Änderung von Website-Funktionen, die nicht im letzten vom Bundesministerium für Digitales und Verkehr und allen zuständigen Behörden genehmigten Design enthalten waren, wie in der Veröffentlichung der Regeln und Vorschriften zur Website-Änderung Nr. 41234 beschrieben" with the Office of Map Readjustments at the Branch of Map Software at the Department of Software Features at the Federal Ministry for Digital and Transport. You must have this petition signed by the website's manager as well as the head of the Office of Website Alterations at the Branch of Internet Affairs at the Department of Digital Technologies of the State of Berlin. Additionally, form 8 of the petition's 2025.g.5 annex must include approval from all users registered under the "Gesetz zur Regelung des Zugriffs auf Web-APIs und zur Registrierung offizieller Benutzer".

If any competing petitions are approved before yours, yours will be rejected, and you will need to submit a new petition that accounts for those changes specified in those approved petitions as described in annex 2024.j.21, and all new signatures and approvals subject to these cumulative approved changes. If any party refuses to sign your petition, you may appeal to the Office of Research of the Cumulative Effects of Software Changes at the Branch of Software Changes at the Department of Software Features at the Federal Ministry for Digital and Transport to complete a study of the refusing signer's rationale for refusing to sign your petition. This process will take between 3-10 years, depending on the backlog. If the Office finds the rationale sound, your petition will be denied. If the rationale is found unsound, you will need to resubmit your application with the findings of the Office with an additional signature from the previously refusing signer to confirm that he has read the findings of the Office. If the signer rejects the findings of the Office, he must provide the reasons for his rejection if you would like to resubmit his reasons for rejection to the Office a second time.
by sabakhoj | 2025-04-23 14:49:48+00:00
Ah, good question! I'd say not quite. Managing a knowledge bank of your papers is a core feature, but I don't think I'd want to get _as_ extensive as Zotero (being your entire knowledge storage space/citations generation).

Features I'm thinking about:

- Dynamic podcast generation (journal -> audio summary)

- Model switching for diversity of responses

- Paper search tool for finding relevant papers

- Improve note-taking feature so people can work on writing their own papers in-app

- Improve the citation protocol to make it more reliable

- Diversify input types beyond just PDFs (include audio files, multiple documents, plaintext documents)

How's your experience on Zotero?
by flanbiscuit | 2025-04-23 14:50:33+00:00
I have a sort of similar setup but I haven't started using Obsidian yet, it's on my todo list. I use Eleventy instead of Hugo, with its simple Eleventy-Base-Blog starter template. I use Github action to publish to Github pages instead of using Cloudflare. It's a nascent site/blog, haven't written much, no images yet, so I don't see the need for something more than Github pages right now.

One thing I don't see the author mention that is part of what I plan to do with Obsidian is use Syncthing (which I already use for other things) so I can work on a post when I'm not at my laptop. Probably just to write down ideas/notes and then fully work it out when I get to my laptop.

If the blog author is here, curious if they commit drafts to their repo or not. I personally don't commit drafts. Besides also using 'draft: true` in the front-matter, I gitignore any markdown file where the filename starts with the word "draft". When I'm ready to publish I rename the file.

https://www.11ty.dev/

https://github.com/11ty/eleventy-base-blog
by duxup | 2025-04-23 14:50:37+00:00
I remember enjoying 4chan for a very short period of time, memes and somethings, it wasn't long but there it was. However, I also think giving a given website "first site where something happened" credit for whatever was picked up elsewhere to be a silly concept.

Users make a community (for better or worse) not a given site and those users migrate elsewhere and things evolve and so on. Someone(s) ability to put up a forum or site just isn't that.
by arp242 | 2025-04-23 14:50:56+00:00
> I applied to NGI Zero in December 2024, because it was promoted on European Union websites, and my application was rejected by the NLnet Foundation in April 2025.

ahaha!

The fox who longed for grapes, beholds with pain The tempting clusters were too high to gain; Grieved in his heart he forced a careless smile, And cried, 'They’re sour and hardly worth my while.'
by JohnFen | 2025-04-23 14:51:19+00:00
> There are two types of music: classical and folk.

I don't think that's a useful distinction at all. "Folk" music is music made by "the people" -- that is, not professional musicians. There is a lot of music aside from classical that doesn't have folk music roots to any greater degree than classical music does -- and even classical music has roots in folk music, as all music does if you go back far enough.
by memling | 2025-04-23 14:51:55+00:00
> When has ASN.1 ever broken backwards compatibility? I've never heard of an ASN.1 backwards incompatibility. Maybe, if you stretch an interpretation of ASN.1 in 1984 to allow new fields to be added to `SEQUENCE { }` then the later addition of extensibility markers could count as a very weak backwards-incompatible change -- weak in that existing specs that use ASN.1 had to add those markers to `SEQUENCE { }`s that were actually intended to be extensible, but no running code was actually broken. I would be shocked if the ITU-T broke backwards compat for running code.

Good question. I was thinking of the transitions in the '80s, although my experience with standards written during that time is very limited.

But yes, one of the reasons people use ASN.1 is because of its hard and fast commitments to backwards compatibility.
by Magma7404 | 2025-04-23 14:52:31+00:00
The comment reappeared, and while you're right about using proper libraries to handle data, it doesn't excuse the "undefined behavior (uninitialized local variables)" that I still see all the time despite all the warning and error flags that can be fed to the compiler.

Most of the time, the programmers who do this do not follow the simple rule that Stroustrup said which is to define or initialize a variable where you declare it (i.e. declare it before using it), and which would solve a lot of bugs in C++.
by esperent | 2025-04-23 14:52:59+00:00
People get protective of the term self hosted, but all I know is that if I search "how to self host" for any open source project, 90% of the guides at least, probably including the project's own docs, will be about installing on a VPS.

Anyway, the important thing is being in control of your own data. With proper off-site backups and reproducible setups using containers, migrating between VPS providers should usually take just a few hours.

I fully understand the arguments for (and against) managing your own server. But I've not been convinced by any arguments for that server being in your house/office rather than a climate controlled warehouse somewhere.

Well, unless you enjoy setting up and managing the physical hardware yourself of course. That's fully reason enough.
by apignotti | 2025-04-23 14:53:09+00:00
With CheerpJ you are downloading the subset of the JVM that you need, and actually only once thanks to the standard browser cache.

There are many reasons why shipping via the browser is a better choice compared to shipping desktop apps. The main 3 in my opinion are:

1. Distribution: Give your user a link and the app will start 2. Isolation: The user can have confidence the app won't read his personal files. 3. Cross-platform: Every OS and every device, for real this time
by ndriscoll | 2025-04-23 14:53:35+00:00
But on the application server side, Linux is extremely popular. Config management via some tool like ansible or puppet is a table stakes skill in that space. Likewise with some kind of ldap based config for users. I would actually be surprised if someone said they did "devops" and they meant they managed anything with Windows. Typically that's "IT", but I don't understand why.

KDE is also an obviously more "professional"/"serious" desktop environment that just makes it easy to open the tools to do work without a bunch of crap to turn off and without pointless UI churn requiring people to relearn how to use it. As far as bugs go, Windows IME has to be rebooted around 80% of the time after sleeping because either the WSL driver crashes or the VPN enters a permanently locked up state. I've had the start menu just stop responding to clicks when everything else is working normally. The thing is wonky as hell, and usually needs to be rebooted via the "hold power for 10s" method (do normal people even know about that?). I never run into issues on Linux (Fedora or Nixos).

The UI is also trash. e.g. if you type "reboot" or "restart" in the start menu (a common need, per above), it doesn't find the command you obviously want to run (KDE does for both), and it hides the (unlabeled pictograph) button you'd need to click to find it, requiring you to close the menu and re-open it. Nothing is organized anymore, so you need to rely on search, but search doesn't even work.
by mschuster91 | 2025-04-23 14:53:42+00:00
Supporting local stores is something that shouldn't be left to individual consumers who are already tight on money to a degree it slows down the economy.

That's a job for the government to do, and there's loads of avenues the government can do if it deems local stores something important for the general population: controlling commercial rents, direct subsidies (colloquially implemented as "tax breaks"), introducing extra taxes on online retail to finance these, or limiting at-scale discounts for Amazon, Walmart and other nationwide chains so that small retail has a chance to compete again.