MurphyA/hacker-news huggingface dataset:
by bravura | 2025-08-31 12:05:21+00:00
Sure, I can describe some of the basics I'm trying to do.

My goal is to autogenerate "projects" with loops and one hits, so I have like 100 candidate "songs" or "kits" to work with just using hardware and avoiding a DAW. And then to quickly jam on each song/kit to create an arrangement in hardware that I can save. Ending up with 20 scratch arrangements that I can load into a DAW and then produce / etc more carefully.

I want to load a "kit" into the MIDI controller and trigger sounds by hitting buttons. That part seems clear to me with JACK. That I can basically drop straight into hardware and start working with my audio material.

Now where I feel stuck is I'd like my knobs to do basic filtering, I'd like the loops to loop when I trigger them, and I'd like to be able to save my jammed arrangement to load into a DAW later.

Saving it seems like I could just save MIDI.

For filters, I am not sure which library I would use, and here is where it seems like I should be controlling a real DAW (so I get the same filter during my jam as in postproduction).

For triggering a loop that goes and loops, I have to write that by hand?

Apologies if what it sounds like what I want is: "I can use software to create 100 candidate Ableton projects with the clips pre-mapped and do a looped arrangement very quickly."
by mananaysiempre | 2025-08-31 12:05:28+00:00
The Feynman Lectures are in a very different category from Landau & Lifshitz. You shouldn’t use L&L as your first university-level physics textbook (too difficult and divorced from the real world), but you probably shouldn’t use the FLP as your second, either, provided your first was good (too easy to be worth the time spent, though it’s still useful as pleasure reading that also fills in things you might have missed).

I have to admit I like the FLP less than the typical reader—it’s immensely fun in the moment, but I’ve always found the material too disjointed to build a coherent picture (ah, and now we have the tools to understand this random fun thing that I’ve never mentioned before and never going to mention after). As far as classic introductory books, the Berkeley course covers less, but the things it does cover fit together much better.

As for L&L, it’s just very uneven in quality. General relativity is great; electromagnetism is kind of bad. (And the two are in the same book!) Theoretical mechanics is adequate but way too much of a slog despite how short it is. Elasticity is surprisingly good. QM is OK but there’s a dozen approaches to QM depending on your background and it’s a toss-up whether this one will work for you. QED is good at the things it covers but like half of those things are relegated to the status of obscure specialist topics these days, while the point of view is something you should be aware of eventually but definitely not at your first go through the subject. And so on.
Show HN: Biip – Redact PII
by crodjer | 2025-08-31 12:06:02+00:00
`biip` is a cli tool that I use to redact any PII that may be present in text.

Its been very useful to share context with LLMs while removing any sensitive details that the LLM may not care about. I prefer copying over text over giving LLMs direct access.

Just `fd -t f | xargs biip | pbcopy` coupled with a well written `.fdignore` will be sufficient to share whole repository as context with LLMs.

Comes with a few redactors by default and we can add more through env variables.
by 7373737373 | 2025-08-31 12:06:20+00:00
This is NOT (just) a social problem! See: supply chain attacks and https://en.wikipedia.org/wiki/Confused_deputy_problem

No number of signature schemes and trust networks will be able to prevent the effects of actual misuse of security breaches and problems arising from programming errors, only a technical solution can!

It's stupid to rely on trust when one doesn't have to, to grant programs, imported modules or even individual functions more permissions than they need. Technical systems should give the best guarantees they can, and not risk the security of the entire system by default just because something failed at the social layer, or some component somewhere in the system misused (perhaps even by accident!) its https://en.wikipedia.org/wiki/Ambient_authority

The attack surface of even individual programs can, and therefore SHOULD be minimizable. It's just that contemporary popular programming languages do not give programmers any methods (high level or even primitive) to achieve interior compartmentalization and utilize https://en.wikipedia.org/wiki/Capability-based_security in order to implement the https://en.wikipedia.org/wiki/Principle_of_least_privilege

A program does what it does, and it always potentially could do everything it is allowed to. Especially at scale, when you use code from thousands of developers, along the depth and breadth of your tech stack, social trust doesn't scale. Reifying and making explicit the access rights the components of a program have does. Then, ill effects are limited to the rights that have been explicitly given, and the effects of the results that are further processed by other components of the program.

Social assurances are practically worthless because they may be misinterpreted, bypassed, subverted or coerced. Technical guarantees instead can be formalized and verifiable.
by VonTum | 2025-08-31 12:06:57+00:00
> However, lobbying efforts have steadily pushed for broader access and eligibility...British legislators have to consider how easily assisted dying can be expanded, how easily abuses can go undetected.

Wait, how exactly does one "abuse" MAID?

People being so deep in poverty and addiction that they opt for MAID as an option isn't a symptom that it's "too easy" to access it, but rather that _society_ is failing them. And when those people finally say "Well fuck this shit I'm out", we reply "That's not allowed". Disregarding that companies won't hire them, rent & housing are ridiculous, they''re not allowed to put their tents anywhere and when they get kicked out their tents & belongings are trashed instead of being given back.
by AlecSchueler | 2025-08-31 12:07:00+00:00
Specifically in terms of scripts that sit between the hardware and Reaper?

Honestly it's very scripty stuff that's mostly one-time use. Stuff like sending the notes I play to a different midi channel depending on their velocity, or sending specific notes to a particular synth while all the others go to another.

It's kind of like "what sort of shell scripting du you do?" you know? It's just whatever I need to do given the situation.

One particular bit of fun I had was "flipping the polarity" of my keyboard, so that the left hand was playing high notes and the right hand the low notes. I got my Joe Zawinul on Black Market vibe going!

I can email you in a while but feel free to ask anything here also.
by rglullis | 2025-08-31 12:07:14+00:00
Who gets to "demonitize" the videos? YouTube.

Who gets to process the copyright strike and tell creators they need to remove the content in order to not have consequences? YouTube.

Who gets to close down the channel even before any lawsuit against a copyright allegation is conducted? YouTube.

Beato is fighting BMG because he sees YouTube as the hand that feeds him, but he could get rid of all the BMG annoyances if he was brave enough to own his distribution channel.
by danaris | 2025-08-31 12:07:42+00:00
Really? You think this is China's fault?

When the de minimis exemption for China already ended 4 months ago?

And it would, in fact, have been easy for Trump to do exactly what you suggest, if that had been his intention?

This isn't about China.

This is about Trump's stubborn wrongheaded idea that tariffs are Good, Actually, and that means they should apply to everything.

I'm not thrilled with the way China acts in general, but come on; place the blame where it really belongs—and not on one of the victims.
by yogorenapan | 2025-08-31 12:08:56+00:00
Note that Lunduke is a right wing nut job that has been crusading against "DEI" and whatnot for a few years. At the same time, he's not wrong that this particular rule feels particularly misdirected. There is a lot of entrenched vocabulary that has its own meaning and makes sense in context. Sure someone not in tech might take killing children the wrong way but the jargon was not intended for them in the first place.
by mattmanser | 2025-08-31 12:10:37+00:00
Personally I wouldn't agree with this. I've adopted a pattern where I try to only ever return the success value at the end of a function. Early returns of success value don't feel clear to me and make the code hard to read. I think that sort of code should only be used if you need high performance. But for clarity, it hurts.

Instead I think you should generally only use early returns for errors or a null result, then they're fine. Ditto if you're doing a result pattern, and return a result object, as long as the early return is not the success result (return error or validation errors or whatever with the result object).

So I feel code like this is confusing:

function CalculateStep(value) { if(!value) return //fine ///a bunch of code //this early return is bad if(value < 200) { //a bunch more code return [ step1 ] } ///a bunch more code return [ ..steps ] }

The early return is easy to miss when scanning the code. This is much less confusing:

function CalculateStep(value) { if(!value) return //fine ///a bunch of code let stepsResult : Step[] if(value < 200) { //a bunch more code stepsResult = [ step1 ] } else { //a bunch more code stepsResult = [ ..steps ] } //In statically typed languages the compiler will spot this and it's an unnecessary check if(!stepsResult) throw error //cleanup code here return stepsResult }

It makes the control flow much more obvious to me. Also, in the 2nd pattern, you can always have your cleanup code after the control block.
by colingauvin | 2025-08-31 12:10:56+00:00
It started when I had my first kid and he wouldn't sleep and I would lay there awake all night just thinking of all the stressors in my life. I'd use the phone to distract myself. Then that gradually just turned into a crutch for all stress. That was pretty hard to stop.

I've tried a number of different things but nothing stuck. I've had this phone for a few months now and it has really done the trick.
Show HN: "3D" Pixel Canvas on Twitch
by numlock86 | 2025-08-31 12:11:27+00:00
I see submissions of people trying a creative take on Twitch here every now and then (mostly using AI or procedural content), so I thought I might as well post a little project I did two days ago. Maybe it inspires someone to do something in a similar fashion.

Inspired by things like DrawBall, r/place or the recent rise of Wplace I decided to do something similar, but as a stream on Twitch. And I took the word "canvas" quite literally. You can draw single pixels using the chat. How it works exactly is in the channel description. Well, that's basically all to it.

https://www.twitch.tv/canvasplace

If anything is noteworthy about it it's probably that I made this using Blender and Godot, which are both excellent pieces of software that are frequently featured on HN. The Twitch integration I've done through Twitch' recent EventSub Websocket API, entirely in GDscript. Repo soon!

That's it. If this gives someone else a couple of seconds of entertainment it was probably worth the evening I spent on it already. :)

Since it's user generated content (which WILL need moderation) the stream will be offline at around Central European sleepy times. It will be shut down completely eventually if it dies out, or I put in more effort if there's people interested in it in the long run. Either works for me.
by lm28469 | 2025-08-31 12:12:31+00:00
The world for 50 years: "hey let's use China as a factory. We can move all of our technology and production there and make things for cheap!"

The world now: "oh wow these dirty Chinese thieves stole everything from us how did it happen?!?"

This whole situation really is a mystery... A single variable equation the globalist brain cannot comprehend
Show HN: Validationly Update – Recommended Tools via Partnerships for Founders
by kptbarbarossa | 2025-08-31 12:12:49+00:00
Hi HN,

A month ago I shared Validationly: a tool that helps founders validate startup ideas using signals from Twitter, Reddit, and LinkedIn.

Today I’m launching a big update: - *Recommended Tools via Partnerships:* SaaS founders can now add their products as recommended tools inside Validationly. - *Goal:* when someone tests a startup idea, they can also discover relevant tools that might help them build faster. - *Focus:* it’s meant as founder-to-founder recommendations, not ads.

I’d love feedback from the community: - Is this valuable for founders? - Which categories of tools would be most useful? - How can we keep this system healthy and not spammy?

Thanks!
by LoganDark | 2025-08-31 12:13:40+00:00
I get the impression you're using 'rationalizing' to mean finding a reason for an emotion that doesn't necessarily match the true source of the emotion. This is different from recognizing the existing rationale, which is exactly why it's generally considered harmful. If one gets in the habit of finding new rationales for their emotions that sound more favorable, they can also get in the habit of no longer keeping their true rationales in check, which I would assume tends to result in sociopathic behavior.
by JackSlateur | 2025-08-31 12:14:40+00:00
Reading https://lore.kernel.org/all/4xkggoquxqprvphz2hwnir7nnuygeybf...

It is a not a bugfix, and you know it :(

If you are not acting on bad faith, I suggest you read Wittgensen

He has made a lot of work around the idea of language, which basically boil down to the fact that words have no intrinsic meaning : the meaning of a word is the meaning that a given population gives to that word

So in your case, you may be right about the meaning of the word "bugfix" in some population, but you must translate and use the meaning of that word in the "kernel" population

The dictionary is a lie .. :)
by UncleMeat | 2025-08-31 12:15:19+00:00
I have worked with a few PMs that have been significant helps to my job but LLMs have completely destroyed my ability to work with them. "Oh I asked an AI to put together a demo for this idea and I presented it to leadership. When can you have it finished?" This is now a constant refrain, with LLMs seemingly convincing every PM I know that it is trivial to put together a reliable and maintainable system. "Oh let's just launch this and we'll fast follow with the maintainable infrastructure" and I want to blow my brains out.
by dmichulke | 2025-08-31 12:16:01+00:00
You call it "vibes" but I believe this is due to your not recognising the manipulative behaviours as they occur:

- not answering questions (e.g. by asking counterquestions or giving long-winded non-answers)

- not taking responsibility in bad outcomes (when asked about problems they were facing)

- not saying "I don't know"

- using "we" for bad outcomes and "I" for good outcomes (socialising loss, privatising profit)

...
by lupusreal | 2025-08-31 12:16:39+00:00
The secular religion spoken of by nabla has nothing to do with afterlives. It's for people who don't believe in any afterlife trying to placate their fear of death by having faith that technology will somehow grant them an indefinite life, not an afterlife.

(Context: I am firmly an atheist, but I also disapprove of the people who want to live forever. I think that's selfish and childish. People should get to grips with the reality of their mortality and make peace with that.)
by Hendrikto | 2025-08-31 12:16:57+00:00
> Hugo is officially on the chopping block. Suggestions for alternatives welcome.

People are trying to “keep it simple” by introducing a dependency for everything. They say: “There is already an off-the-shelf solution, so why code it yourself? Just pull yet another dependency and be done with it.”.

The problem is that this is never actually the case. In reality, the dependency does 80–90% of what you want, plus 27 other things you don’t need or want.

Then you spend time understanding the dependency, configuring it, coming up with and maintaining workarounds for the 10–20% that you need but are not solved by the tool. Then you need to update and maintain the tool and its configuration, and you won’t ever actually “be done with it”.

My suggestion: Don’t introduce a huge and complex dependency for a static blog with a few dozen posts. When what you want is just compiling a few templates, just do that: Choose a templating language, create a few templates, write a Makefile (or Meson build script, or whatever else), and actually KISS.
by mettamage | 2025-08-31 12:17:39+00:00
Hey guys, I like making music using Bitwig and Logic. I used to do this for a year when I was 16. Now I’m more than twice as old and picked up the hobby again.

Does anyone want to connect and hangout (maybe even making some music together?). I also have a decent to good beatbox, some rapping skills (mostly Dutch but English too) and some indie singing skills. I started making EDM and lofi at the moment.

Maybe we could make a small group even and see what happens, no expectations.

My email is in my profile.
by glp1guide | 2025-08-31 12:18:14+00:00
Yeah weirdly enough they’re only taking NAION and gastroparesis cases. Do you know by any chance why that is?

The NAION link is tenuous (research was inconclusive, I have written about this before[0]) and gastroparesis is a known side effect.

This was a great chance to learn the name of the vomiting symptom though — will be looking more into “cyclic vomiting syndrome”

[0]: https://glp1.guide/content/glp1s-and-the-link-to-blinding-di...
by yurishimo | 2025-08-31 12:19:14+00:00
Templating languages in PHP are largely about better ergonomics. Sure, you can have your own helper functions that do the html escaping or an abstraction layer to pass variables into includes without polluting global variable scope, but that’s all boilerplate.

Twig and Blade are both fine templating engines with their own quirks and features but they’re also battle tested and have proven their use over the past decade+. If someone wants to use a dedicated templating language for abstracting away chunks of HTML, it’s low on my list of complaints.
by timonoko | 2025-08-31 12:19:42+00:00
Er what? In Python the graphics libraries are written with whatever is the speediest language.

But If you study my program all it does is to produce a website and graphics rendering and viewing is done in a browser.

Map tiles are organized in scrollable array with HTML-div sentences. And map tiles are fetched:

if ny == 'google': return 'https://mts1.google.com/vt/x=%d&y=%d&z=%d' % (x, y, zoom)
by toast0 | 2025-08-31 12:20:01+00:00
Hawaii is already heavily agricultural. Most of the non-agricultural land is reserved for conservation. Banana production would likely replace other production, and then we've got less of that stuff.

Also, shipping to continental US is limited by the Jones Act and the lack of capacity in US built, owned, and crewed shipping lines. Assuming a desire to produce things in the US, I don't think it's sensible to tarrif bananas to grow them in Hawaii, and then relax the Jones act so they can be shipped to the continental US on foreign carriers.
by Findecanor | 2025-08-31 12:20:19+00:00
Last post on their forum a month ago, they claimed that they were live and having progress, but I dunno ...

What I'm afraid of is that perhaps they have been shifting what their goal is a little too often, which of course would delay their time to market.

For example, I think they have shifted from straightforward fixed-SIMD to scalable vectors of some sort, and last I heard they were talking about AI .. which usually means that there's some kind of support for matrix multiplication.
by hippo22 | 2025-08-31 12:20:51+00:00
The American worker has had their lunch eaten by the American capitalist class in conjunction with countries providing cheaper labor. By allowing unfettered labor arbitrage (i.e. tariff-free trade) the US has allowed their working class to be completely gutted. Combined with with unfettered illegal immigration (another Democratic Party position), the assault on the American worker is immense.
by bravura | 2025-08-31 12:20:53+00:00
Have you reversed engineered the Ableton project format?

I got frustrated the last time I tried, and currently LLMs tell me "Live updates break things constantly". Are my fears oversold? At the time I was doing it, I was trying to control all the parameters of Ableton native synths which was a headache.

Now what I want to do is mainly create different kits of loops + one hits using ML, at the bare minimum.

I have a background in audio ML so I imagine there would be other sorts of thing I might want to do later. But currently it's just one "template" with different filler sounds.
by austin-cheney | 2025-08-31 12:21:01+00:00
People can argue about this all day, but one thing is always crystal clear.

Simplicity comes from practice writing and refactoring large code thousands of times. People with limited or shallow experience may think they are good at this but only when they isolate themselves to known patterns of comfort or some giant framework. There is a lot of insecurity there.

Super experienced people, that is people with lots of practice writing large original applications, don’t think like the pretenders. Simplicity is built in like muscle memory. They just solve fucking problem and go drink a beer. There is no memorized pattern nonsense.

The super experienced developers see the pretenders for what they are while the pretenders either can’t see the distinction or just feel hostility at the deviation far outside a memorized convention.
by AstralStorm | 2025-08-31 12:22:59+00:00
1) What. How do you extend that?

2) Kind of hard to argue that for electricity and phones. Internet, maybe because it was a bunch of academics. TV was boosted by big business.

3) It fails to solve any task, in particular LLMs. You're tricked into doing the work instead. Other kinds of machine learning are useful and do solve tasks. TV also didn't exist to solve a task, at least it was honest about it. Phones solve the task they were meant to, as did the internet until it got enshittened. (Still does, but worse.)

4) whut.

5) It actually steals information. All the other tech didn't.
by kasey_junk | 2025-08-31 12:23:10+00:00
This is a thread about nsa style intelligence operations, where 5 eyes is explicitly called out.

What are we even talking about anymore? This sub thread is a weird digression on if it’s normal to include Israel in the phrase “western intelligence”. The US collaborates more with 5 eyes nations (2 of which are is the South Pacific) and Israel, be it Mossad or Unit 8200 than it does with France.

My contention is that the phrase Western Intelligence is a cultural signifier that has nothing to do with geography. And that pointing out that Israel is not in the west (while not doing the same for New Zealand) is more strange than including them by default.
by ferguess_k | 2025-08-31 12:23:14+00:00
The problem is, most of us are working in business logic, and I have never been in a company (have been to 5) where you don't have to look into the details. Not only did I need to look at the details, I also needed to read the comments to understand why there is a +0.024 in the code.

This is why I want to get into system programming. At least less business logic. They are still going to be complicated, but I feel it's a lot nicer to, e.g. go from the bottom of the process struct than the bottom of some half-ass business stakeholder!
by KronisLV | 2025-08-31 12:24:54+00:00
So what are the thoughts of folks who have used Nexus and moved to Harbor?

In my experience Nexus is a bit weird to administer and sometimes the Docker cleanup policies straight up don't work (junk left over in the blob stores even if you try to clean everything), but it also supports all sorts of other formats, such as repositories for Maven and NuGet. Kind of hungry in regards to resources, though.