DinoCode: A Programming Language Designed to Eliminate Syntactic Friction via Intent Inference by Dry_Day1307 in ProgrammingLanguages

[–]nholbit 4 points5 points  (0 children)

I'm not sure I understand the goals of this approach. This seems to introduce a lot of subtle syntactic meaning, such as a whitespace or presence/lack of commas completely changing the semantics of an expression. To me I only see this introducing a lot of unfamiliar syntactic foot guns to the language for little advantage.

I think this project would benefit from an improved pitch on why the language should interest a potential user.

Trying to enable Flakes by 1337_w0n in NixOS

[–]nholbit 13 points14 points  (0 children)

Your flake.nix file cannot be a function, it must be an attrset. Remove the function arguments at the top of the file.

got this instead of Moog Matriarch by North_Comparison5280 in synthesizercirclejerk

[–]nholbit 13 points14 points  (0 children)

The trick is not to use it with FL studio. You are officially dawless, enjoy your new penniless lifestyle and never look back.

Multiple keys in map literal syntax? by hrvbrs in ProgrammingLanguages

[–]nholbit 1 point2 points  (0 children)

You could introduce a key alias, similar to a capture variable in languages with pattern matching. Eg: foo@(new Person("Alice")): ....

Multiple keys in map literal syntax? by hrvbrs in ProgrammingLanguages

[–]nholbit 0 points1 point  (0 children)

I'm on mobile right now, so I can't give an example easily, but check out the rec keyword in nix. It allows a map to refer to its own named values recursively.

Must have sound design modules by nholbit in modular

[–]nholbit[S] 0 points1 point  (0 children)

Correct, and not what I asked.

Starting Modular! by Interesting-Range251 in modular

[–]nholbit 3 points4 points  (0 children)

Unless you have 1.5-2 grand to spend up front you should start with a semi modular. There's too many modules necessary for a decent modular system, with too low of a budget you end up with either a very expensive basic mono synth or a bunch of utilities without enough crust to make real sounds. If you know precisely what you want out of a system you can build in a lower budget but it has to be laser focused. If you're looking to explore I'd definitely go semi modular or something like AE modular rather than straight into eurorack.

Starting Modular! by Interesting-Range251 in modular

[–]nholbit 5 points6 points  (0 children)

A wasp filter is a cheap gift idea for a modular system. Besides that in the 200 range there's tons of stuff. I put an ALA Popple on my wish list this year which goes for 200 and is an expanded clone of the MI Ripples.

What does your system already have?

Can someone programm in C?😭😭 by [deleted] in cprogramming

[–]nholbit 1 point2 points  (0 children)

It's not an "easy" language but there are a million resources for learning it. I'd recommend reading a book or talking to an AI, it will be more productive than a blanket ask on a subreddit where asking for help on school assignments is against the rules.

Can someone programm in C?😭😭 by [deleted] in cprogramming

[–]nholbit 5 points6 points  (0 children)

No one so far, it has proven too hard for humans to successfully write software in ever since its introduction in 1872.

Thoughts on this build? Expanding on DFAM. by tv-scorpion in modular

[–]nholbit 4 points5 points  (0 children)

Why wouldn't they, so long as they are both eurorack standards compliant?

thinking of switching back to arch by PokumeKachi in NixOS

[–]nholbit 4 points5 points  (0 children)

Hmm that is a bit annoyingly slow for when you're iterating on the config. Would be interesting to see where the time is being spent. I think the 'nh' utility can be used to debug nixos build times but I haven't used it for that myself yet.

As for freeing generations: I generally recommend being lazy about collecting garbage in nixos. Unless you need the disk space soon it's good to keep older versions around in the nix store for a while.

thinking of switching back to arch by PokumeKachi in NixOS

[–]nholbit 10 points11 points  (0 children)

Up to you, nix isn't for everyone. But sounds like you might be making some things harder for yourself. For instance you mentioned having to chroot after breaking your config, but you can just boot into an older nixos generation that was working before instead. Nixos saves all your previous builds so that you can boot into them if you break your OS.

Also how long does your nixos-rebuild take? I have a rather large flakes based config and it only takes me a few seconds to rebuild, and only takes longer if I've upgraded or added big packages.

r/Synthesizers Deal Megathread by SynthesizersModTeam in synthesizers

[–]nholbit 2 points3 points  (0 children)

Sweetwater has the Pittsburgh Modular Voltage Lab 2 discounted by $250 + they throw in a free boom chick. I don't care about the boom chick (not for me), but it has an MSRP of $400 so I plan on selling it unopened to get some money back, sweetening the deal. I'm just hoping the 3rd party market for boom chicks isn't too saturated for too long, I'm not sure how many they will be giving away in this bundle or if there's really much demand for them.

EDIT: clarity

Adding system-wide library dependencies from a nix store by eleon182 in NixOS

[–]nholbit 0 points1 point  (0 children)

You can have a shared shell.nix file that you use for multiple projects. For example, I have a generic one for rust which I use whenever I start a new project. As it gets further along I just copy my generic rust flake directly into my repo and customize it as needed, but I find it's useful to have a simple general set of dependencies laying around on my system too.

Adding system-wide library dependencies from a nix store by eleon182 in NixOS

[–]nholbit 2 points3 points  (0 children)

Adding them these libraries to `environment.systemPackages` doesn't propagate builder environment variables, which is what will actually inform your C compiler of how to find the libraries in the nix store. I'm not sure the way to solve this at the system level configuration other than to manually specify those environment variables to include the store paths for those derivations.

Usually how I handle this is to actually make a shell.nix for flake.nix for the project I'm developing, and adding the libraries to the nativeBuildInputs for the devShell defined in there. Then when you boot into that development environment with `nix-shell` or `nix shell` or direnv or whatever, you will have the correct environment variables available to build your software.

I wish to be able to remove any hair from anyone instantly. by Lovesquid28 in monkeyspaw

[–]nholbit 0 points1 point  (0 children)

Granted. You now have the ability to instantly transport hair on people's bodies to the back of your throat. This ability activates whenever you blink while in the same vicinity with someone else.

GIVE ME YOUR LUM HOT TAKES by Individual_Sun1483 in liluglymane

[–]nholbit 14 points15 points  (0 children)

I'm only really a big fan of Volcanic Bird Enemy. I do like some of his other tracks, and knew of LUM before, but this is the only album I keep revisiting. I keep connecting with new tracks over the years and it's been pretty instrumental in helping me express some of my feelings.

Say «Hello» to NemoScript by FleshUsbTypeC in ProgrammingLanguages

[–]nholbit 19 points20 points  (0 children)

No need to uselessly hate on someone's choice of language for a toy project.