MurphyA/hacker-news huggingface dataset:
by pdimitar | 2025-04-01 13:17:20+00:00
People will do anything except actually try Elixir. :D

...I mean: pipes, immutability, transparent mega-parallelism... helloooo?

I tried F# some years ago (after I was fired from a shop that decided they will go all-in on Java and F# and dropping everything else overnight) and I was not impressed. I mean the language is really nice but the C# baggage and runtime was just a bit much. And I was not left convinced that immutability alone is worth the switch. I suppose we can call F# an FP gateway drug?

Now arguably you get a runtime and some baggage from the Erlang runtime (the BEAM VM, where Elixir also runs), but the guarantees and features you get are invaluable, and have proven themselves many times over the last literal three decades.
by naiquevin | 2025-04-01 13:17:34+00:00
I haven’t tried using it for bass guitar but I believe it should just work? I assume you want tabs for bass guitar. Alphatab, the tablature editor supports bass guitar and other stringed instruments too. I guess it even supports notation for drums/percussion.

For that matter, I think the app should work for practicing any instrument that can be practiced with a metronome if you ignore tablature (which is only for reference anyway).

For now I want focus on guitar as that’s my primary use case but I’d love to extend it for other instruments in future.
by ty6853 | 2025-04-01 13:17:41+00:00
> [the Houthis] have no air defense - False

True. They have since Obama shot down less than what, one drone a year? This is no air defense and your own evidence confirms it. At best it serves as a rare annoyance but is strategically defenseless. You are simply wrong.

>there is] no risk of meaningful counter attack — False

True. They have not once strategically gained a victory on the US nor do they have means to do so.

>Understand they literally don't care about opsec — False, the Signal chat referred to some files being transmitted highside (i.e. properly), so clearly they literally do care

True. They invite journalists and use poorly vetted signal channels.

>nor is there much reason why they should — False, unless you regard "mitigating the risk of American equipment and potentially pilots getting shot down" as "not much reason," in which case we just disagree on axioms

True, even with leaks the best they can do is extraordinarily rarely shoot down non piloted drones.

>None of this is relevant to whether it was proper, legal, or risky to plan an attack via Signal.

I did not claim that it was....

My thesis is the Houthis are the next easy way to unload massive defense funds with little strategic risk. Their lack of air defenses and no need for opsec informs the cabinet's laxadasical treatment.
by CivBase | 2025-04-01 13:18:17+00:00
> By 8:30am it was chaos in the main office and this filtered up to the head of HR, who most definitely did know me, and told me I'd better send a retraction before the CFO got in or I was in big trouble. That went wrong also, because my retraction said that campus administration was not considering charging per-page fees when in fact they actually were, so I had to retract it and send a new retraction that didn't call attention to that fact.

I wonder if the joke would have gone over better with the higher ups if it didn't coincide with their plans to implement an actual pay-to-print system. I'm sure they were none too happy about having attention drawn to an unpopular change they were already planning.
by InsideOutSanta | 2025-04-01 13:19:09+00:00
I'm still getting 55% of the wealth my brother built for himself without putting any effort into it. It would be different if this were a spouse, but surviving spouses are not subject to these taxes.

Also, taxation isn't stealing. But if you genuinely feel that it is, you have the option of moving to a country with no functioning government. The Somali government, for example, has effectively no ability to collect taxes in most regions.
by mtlynch | 2025-04-01 13:19:24+00:00
>Imagine you're launching a book and you reckon if you get 100 pre-orders that means you'll be able to sell 10,000 books down the line. So you convince 100 of your mum's baking club friends to buy your book on SQL. See how you just broke the value of the pre-orders as indicative of future market success?

I don't think the comparison works because in the baking club example, presumably these people have no interest in the book and are only buying because they're family friends. It's not predictive because the pre-sale exhausted all of my potential customers.

But in my pre-sale, people mostly aren't buying because they're friends with me. They're buying because they're interested in paying money for the book.

>I'm not saying that's exactly the case here, but the fact that the kickstarter completely plateaued suggests there is limited organic, word-of-mouth growth.

I wasn't expecting a ton of word of mouth organic growth about a book that hasn't been published yet. The thing I thought would attract customers is reaching people who aren't already aware of the book through blog posts, and that was successful. I think it's a good indicator that I can repeat that to find new readers after the book is available.

FWIW, the numbers I'm expecting are way smaller than what you're suggesting. I don't think $X in pre-sale means $100X in regular sale. I'm expecting it to be more like 3-4X. That is, I'll be happy if this book makes $20k by the end of the year.
by gcau | 2025-04-01 13:19:50+00:00
>And to be just a tad pedantic: you have JS in production; your TS is only in dev.

This is not even pedantic, it's wrong. You have JS/TS in both dev and prod, with javascript being the actual runtime code in both, and typescript checking your code at build time in both. If you're running javascript compiled/checked by , and written in, typescript, it's not uncommon or unreasonable to call it typescript.
by dagw | 2025-04-01 13:20:10+00:00
Can it do GUIs well?

I don't know if I would say 'well'. For simple GUIs it's OK but, for non-trivial GUIs I would use the approach to write the GUI frontend code in C# and have it call the F# 'backend'. If for no other reason than that the support and documentation for doing GUIs in C# is much better.

How about mobile?

Never tried, but I'm guessing more or less the same story as above. I would probably start by looking into .Net MAUI for that.

And how does it compare to e.g. Scala?

The biggest difference is that Scala is a much bigger and more of a multi-paradigm language. F# feels smaller and more focused and on its ML roots and functional programming. Not saying that Scala is less 'functional' than F#, but Scala supports you writing your code in a much more OOP way if you want. Yes you can (and sometimes have to) do OOP in F#, but it doesn't feel natural.
Show HN: LDAPEnforcer, idempotent LDAP user and group management
by mrled | 2025-04-01 13:20:53+00:00
In my homelab, I wanted LDAP users and groups, and especially changes to group membership, managed via files I checked in to Git. I didn't find anything else that could do this for my use case - 389 Directory Server, not running nixOS - so I wrote it myself.

You give it some OUs for people, service accounts, and groups, and it modifies objects in those OUs to match the config files. The OUs may contain only a subset of your accounts, so you can still permit non-managed user and group creation if you need to in your directory.

It was my first project with Claude Code and I was blown away by how fast it went. I was using it on my LDAP server after just a couple of days. I was reading a config file and talking to LDAP within the first couple of hours, without ever having written LDAP client code in Go before. Without Claude the effort probably wouldn't have been worth it, and I doubt I'd have gotten much further than a project skeleton.

Currently it assumes a 389 Directory Server laid out like mine happens to be, but it would be cool to support other LDAP servers and configurations.
by kubb | 2025-04-01 13:21:39+00:00
Yes, if you apply this logic, you'll reach this conclusion. I don't think this is equivalent to racism though. The latter is rooted in violence against the hated, not the violence of the hated.

The problematic racism is when people hate <race> despite <race> never harming them in any way, usually because that helps them justify systemically disadvantaging <race>.

You don't make the distinction, and draw equivalence between the two, so for you it's equally bad, I understand that.
by bluGill | 2025-04-01 13:21:40+00:00
If the place where you buy your guitar doesn't have lessons then buy your guitar elsewhere! There are music stores all over and nearly all of them have guitar teachers on staff - often the owner teaches guitar himself. If you want to play something weird (harp?) you might be stuck with online only lessons buying something without playing it from the internet. However most instruments have a local music shop and you should buy from them if possible. Note that guitar the patterns seems to be lessons are in the store you buy from. Piano you are generally better off with an unrelated teacher, and violin seems to be always unrelated private lessons - all are okay.

I would consider a teacher important enough that I would borrow/rent an instrument to try out teachers and only after you find a teacher you like buy. It is typically better to play an instrument you have never heard of before taught by a teacher you "click" with than buy the instrument you think you want but not find a good teacher.

That said, online lessons are great supplements to your teacher. And if you are broke (between jobs) often cheap. Sometimes online lessons can teach you things that your local teacher cannot (as opposed to will not because you are not ready). However the local teacher will also correct things that you will lie to yourself about.
by Y_Y | 2025-04-01 13:21:44+00:00
A thing of beauty is a joy forever - John Keats

Honestly, physics is so full of pretension and hero worship. Even among seasoned lecturers there's a tendency to mythologise the progress of the art by making it sound like all the great results we rely on were birthed fully-formed by the giants who kindly lend us their divine shoulders.

Ironically there's a kind of Gell-Mann amnesia here, working scientists know that must of your work will consist of stumbling down blind alleys in the dark and looking for needles under lampposts that aren't even near the haystack.

I'm reminded of an anecdote which I can't currently source, but as I remember it Hilbert was trying to derive the Einstein Field Equations by a variational method. He correctly took the Ricci curvature R as the Lagrangian, but then neglected to multiply by the tensor density, sqrt(-g). This is kind of a rookie mistake, but made by one of the history's greatest mathematical physicists.

Anyway I love this article, it's a breath of fresh air and rightly beloved by undergrads.

(edit: for a counterpoint to this work please see another classic: "The physics is the life" -http://i.imgur.com/eQuqp.png )
by grbsh | 2025-04-01 13:22:03+00:00
Why would you ever hire a human to perform some task for you in a company? They're known for having problems with ambiguity and precision in communication.

Humans require a lot of back and forth effort for "alignment" with regular "syncs" and "iterations" and "I'll get that to you by EOD". If you approach the potential of natural interfaces with expectations that frame them the same way as 2000s era software, you'll fail to be creative about new ways humans interact with these systems in the future.
by Brian_K_White | 2025-04-01 13:22:18+00:00
Interesting! I never heard of that.

The package came from a US company in Texas not China. Not directly, the mask could have been made anywhere, but the package did not contain any other mail labels like when you get something from China. And never happened before, never happened again, and was literally only a single mask.

Still, seems to fit anyway because the brushing descriptions do vary in the details a little. My example still fits.

Or maybe it still was the hn guy and this just the method they used because they knew about it.

Anyway thank you.
by mattgreenrocks | 2025-04-01 13:22:29+00:00
Finding a great teacher helps the most. I self-taught mostly and had a teacher for the first ten years. Learned some not-great habits with both right and left hand that took me some time to unlearn.

Find a teacher that can play the stuff you want to eventually play. Then take some lessons and assess whether you enjoy the process of working with them. Learning scales and doing exercises to get better will feel like a grind no matter what. A good teacher will give you enough variety to stimulate growth and make you have an appetite for the process of improvement.

Edit: meant to mention that buying a used guitar is a great way to save money, too. You can buy from Guitar Center's used section and have a 45 day return period. If you live near a store, you can just take it back there, as well. If you're not sure how to assess the instrument, you can buy something from there, take it to a guitar tech and have them check it out/set it up to make sure it's ok.
by miloandmilk | 2025-04-01 13:22:46+00:00
100% this, I spent many months going through the most recent books on F# including one which the latest version was only released last year I think.

They all seem to try and shield you from the fact that you are much better placed if coming from C# (which everyone seems to refer to as .net these days) and have a solid understanding of the .net class library.

All the main web frameworks sit on top of asp.net and pretty much all official documentation for that is in c#

Such a shame because I learnt so much about types from trying to crack f# for real world application. fsharpforfunandprofit taught me heaps which I apply to other languages, but I don't want to become a c# developer which comes with all the years of changing best practices to be able to really be productive in f#.

Sorry if I am coming across as bitter but I just can't see learning f# in isolation from c# which is an absolute shame.
by jampekka | 2025-04-01 13:22:58+00:00
> It seems that younger people have no references and understanding of political concepts. Corbyn had full-on socialist policies in the Labour manifesto of the time but simply because he used terms like "coop" they seem to have been missed by some...

Social democratic and labour parties are, at least were openly socialist at least until the 1990s. UK Labour party is part of the Party of European Socialists and an observing member of Socialist International. Most social democratic parties were "Bernsteinian" with the explicit goal of democratic transition into socialism. Coops have been promoted by both left and right.

At least with a bit longer reference span democratic socialism is not radical or far-left in the European context.
by leereeves | 2025-04-01 13:23:15+00:00
I was able to consistently start a loop in one click by clicking on the edge between grey and white (slow and fast refractory) cells ASAP after a normal beat.

If I'm fast enough, the wave can't spread to the grey cells so it only goes in direction around the red cells and starts a loop.

(But you can't do this on the first image with a Defibrillate! button because there are no slow cells.)
by api | 2025-04-01 13:24:06+00:00
Just physics is like this? Hero worship like this is pretty endemic.

It’s weird because on one hand it promotes this disempowering mythology that all progress comes from a vanishingly tiny fraction of humanity, but on the other hand people find it inspiring because if heroes exist then it means people (and maybe you!) can do amazing things. It’s a weird double edged sword.
by doright | 2025-04-01 13:24:12+00:00
More like "AI art in the style of ____" will be tainted by association. I can almost hear the complaints to the editor to every boutique indie blog post and company listicle with AI filler at the top. For me at least it cheapens the feeling of the blog post itself - "if the author couldn't be arsed to get any real art/pay for a stock image, what about the rest of the content?"
by pimbrouwers | 2025-04-01 13:24:35+00:00
Our shop converted 6 years ago, from C# to exclusively F#. I also author and maintain some packages (falco, donald, validus and others). The language is tough to learn if you're coming from a C-style language. But worth the effort and experience. It's extremely concise a true delight to build programs in that are fast, robust and durable.

There are a few drawbacks, depending on your perspective:

- compilation is slower than c# and hot reload isn't supported (it's in progress)

- there are very few opportunities to use it professionally

- hiring devs can be challenging
by jonstewart | 2025-04-01 13:25:15+00:00
HP LaserJet 4s squarely date TFA’s prank in the early-mid 90s. I can agree with you that lame corporate April Fool’s Day jokes on the Internet are overdone; but 1990s-era campus sysadmin’ing ruled. Sysadmins kept a close eye on things to ensure no one (especially the servers) got hurt, but computer geeks were far from mainstream and a spirit of playful tolerance and taking-care-of-our-own prevailed. Well do I remember telneting to sendmail on port 25 and sending spoofed email to classmates…

The university-wide email was probably too much but displaying INSERT 5 CENTS on an HP LaserJet 4 for a day is great.
by GiorgioG | 2025-04-01 13:26:13+00:00
As a 20+ year C# developer I’ve tried several times to learn/use F#. Despite being interested in FP, my brain is having trouble figuring out how to structure my code in F#. In C# I’d either build a service (or use the mediator pattern) for the domain and a repository for data access. With F# it’s functions all the way down and it feels unnatural (as silly as that may sound).
by quectophoton | 2025-04-01 13:26:25+00:00
> I deploy to single node swarms, and it's a zero boiler plate solution.

Yup, it's basically like a "Docker Compose Manager" that lets you group containers more easily, since the manifest file format is basically Docker Compose's with just 1-2 tiny differences.

If there's one thing I would like Docker Swarm to have, is to not have to worry about which node creates a volume, I just want the service to always be deployed with the same volume without having to think about it.

That's the one weakness I see for multi-node stacks, the thing that prevents it from being "Docker Compose but distributed". So that's probably the point where I'd recommend maybe taking a look at Kubernetes.
Show HN: Banana.dog – Back from the dead as a tool directory
by JawsofDeath | 2025-04-01 13:26:48+00:00
So today is April 1st — Fool's Day — and what better day to revive a dead domain? Welcome back, banana.dog.

It used to be a Mastodon server, but now it’s being reborn as a directory for tools — weird, useful, indie, personal projects, whatever fits.

On a more serious note: I built certdecoder.com, and when I tried to submit it somewhere, I realized there weren’t many good directories left that would even accept it. So I figured... screw it, I’ll build my own directory. With blackjack and hookers.

Obviously, it’s not fully ready. But is there a better day to launch something half-baked and weird than Fool's Day?

So here it is: banana.dog

Let me know what you think. And yes, I might not accept every submission — but as long as banana.dog is alive, there will always be a FREE option to list your tool.
by TheCondor | 2025-04-01 13:26:56+00:00
Weren’t the Eagles a .500 team through week 4 and then won it all last season? You are correct that some teams mail it in once they’ve got the playoff seed locked but its a small handful of games. The broncos were a .500 team through game 6 and were in a wild card game last season.

In those few games where they sit starters, the backups absolutely want to do their best to get starting jobs, the games aren’t uncontested.
by InsideOutSanta | 2025-04-01 13:27:01+00:00
>"Benefit society"??? Pal, stop with the communist propaganda and start thinking for yourself.

It's funny to me that you both think that "benefitting society" is "communist propaganda" and that others need to start thinking for themselves. Who are these communists spreading this duplicitous propaganda of considering the well-being of others and the betterment of our community? I need to find them to thank them for their service and also scold them for being bad at communism.

>One thing I can assure you: the moment you get a job, a house, a family, that's the moment you'll realize you are being systematically robbed by taxes

I have all that, and I still care for people other than myself and my family.
by JumpCrisscross | 2025-04-01 13:27:14+00:00
> USAID was a massive graft machine

Sort of irrelevant, right? Even if it was all grift, nothing is being saved if those resources are just stolen.

> I fear they will not reach the trillion etc they need in savings to stop the US going insolvent

Trump’s draft budget blows the deficit by $4 trillion to fund tax cuts for wealthy people. (I’d see my taxes go down under his plan, for what it’s worth. My mom, a bank teller, would not.)
by chillacy | 2025-04-01 13:27:38+00:00
Afaik the apps don't have to ask you, they could just request the OS-level permissions. They don't do that because if you reject the request at the OS level, they can't request it again, you have to go to the Settings app to enable it and it's harder to do. So apps prefer to just nag you again and again until you say you're ready.
by bozhidar | 2025-04-01 13:29:05+00:00
I think these days F# is probably a big more polished than what you remember, so perhaps it's worth giving it another shot.

Being a hosted language always requires certain compromises (something that was also apparent in Scala). I used to do Scala professionally in its early days, but for me it felt it added just as much complexity as it addressed. I focused on Clojure back then (on the FP side at least), and I do think that F# probably brings more to the table than Scala. (if one is not constrained to Java, that is)

The tooling story is not great, but I've almost never seen great tooling for a language that's not super popular. I'm guessing what you get today with Rider is more or less as good as what VS has to offer.
by HiPHInch | 2025-04-01 13:29:21+00:00
I took some effort to change my research interest from computer vision to DFT calculation in quantum chemistry.

Honestly, I'm kind of frustrated now, too many work is close-source in this area. The research paper will tell you everything except how to reproduce this work in minimal effort, it's like they are hiding something.

They also using a `Origin` to plot and MS Word to write paper, which is also non-free licensed, and made them harder to collaborate and reproduce.
by Spivak | 2025-04-01 13:30:04+00:00
The world you've envisioned sounds nice except:

1. That's not the trade that's happening. Every person in the US is paying for their own health insurance. Having Aetna tell you your claim is denied because someone else needed a heart transplant makes no sense. Also this is unrelated but the whole "years of quality of life" is such a made up bullshit thing it's laughable. It's reasonable on the physician end especially when treatments have hard recoveries but for the insurance end it's ridiculous. Can you imagine your car insurance not paying out after an accident because they decided you don't have enough years driving left? That's just patently not your job to evaluate.

2. For most treatments the fight with insurance happens after the services are rendered and even when you do get prior auths they're not binding so that's always fun for people. The money is already being paid, the only question is who.

3. Doctors aren't given absolute power under this system, they're still limited by all the same restrictions they had before—medical board, government regulations, standards of care—except there isn't a private 3rd party with a direct financial incentive to deny care inserting themselves in the middle.