noddy

joined 1 year ago
[–] [email protected] 1 points 2 weeks ago

In ~/src Mostly because I'm too lazy to type "source".

[–] [email protected] 1 points 3 weeks ago

Kinda not what you're asking about but pop OS does provide an nvidia version of the ISO, so you wouldn't need to configure anything in the first place if you chose the correct ISO. Same with nobara, and probably other gaming focused distros.

[–] [email protected] 4 points 1 month ago

Might be related to those sleep state stuff that microsoft keep pushing. I think LTT has a video about how it causes battery to drain while off. I think the solution was either shutting it down while unplugged, or while plugged in or something. If you always shut the laptop down with the charger plugged in try to unplug the charger before shutting it down and see if it makes a difference. Or the opposite. I don't remember which it was.

[–] [email protected] 1 points 1 month ago

To be fair I haven't configured a firewall either on my laptop. But that's out of lazyness, not out of good practice. Good practice would be to have a firewall enabled. Just because something is unlikely to happen statistically doesn't mean it's bad practice to take steps to protect against it.

[–] [email protected] 1 points 1 month ago (2 children)

I fail to see why this is bad advice. Sure you could just disable the firewall on your computer on a local network. But that's under the assumption that you can trust everything on your local network. What if it's a laptop? Do you also trust any public networks you may connect to on the go? Having firewall both on the router and on your computer provides an additional layer of security, and I think that's good advice in general. You can for example set it up to only allow incoming connections when connected to your home network for example.

[–] [email protected] 3 points 1 month ago (2 children)

Anyone know what real time means here? Does it mean that sleeping a thread is more accurate (as in the thread is resumed at the correct time after calling sleep)? Or is there an API that implements some functionality for something that should run in real time?

[–] [email protected] 8 points 2 months ago

Wrapping a value in a mutex just makes sense. After learning a bit of Rust I made a similar mutex wrapper in C++ when I had to protect a class member in a C++ project. I just had to change the type in the declaration, and bam the compiler tells me about all places this member was accessed. Much easier than using some buggy 'find all references', potentially forgetting a few places.

[–] [email protected] 3 points 2 months ago

I think the author of the article just haven't understood how to use the ? operator yet, and don't think they deserve being called "utterly incompetent" for it. Whether something is a monad or not is not necessarily something a programmer should have to think about on a daily basis IMO.

I just think of rust errors as a tagged enum with either a value or an error. And the ? operator as syntax sugar for returning if something was an error. IMO that simple understanding is sufficient to do error handling in Rust. I don't think we should gatekeep programming behind some intellectual barrier of whether or not you understand category theory. I certainly don't understand what a monad is, but I can still write working software and do error handling without unwraps.

[–] [email protected] 1 points 2 months ago

Oh that's good then. I think they stopped using whitelists a while ago, so if it is slotted you can probably replace it with anything. Maybe they reversed course on soldered modules then, or perhaps it only applied to some models. I looked into specs of the T16 at some point, and that one had soldered wifi module.

[–] [email protected] 4 points 2 months ago (2 children)

A lot of the modern thinkpads have the wifi module soldered to the motherboard nowadays unfortunately. Sad that they would use these crappy realtek cards in the first place as well.

[–] [email protected] 1 points 2 months ago

Yeah the thought is that as long as my patch applies without error, I would get the latest kernel automatically built and can just update my laptop normally with pacman. And since I have a server anyways I might as well use it to compile the kernel at night. I'm also thinking of doing the same with some aur packages as well.

[–] [email protected] 4 points 2 months ago (2 children)

I use a custom kernel on my laptop. I just modified the PKGBUILD of the official arch kernel package, and added my patch as a file. Then I could build a proper package with makepkg. I'm planning on setting up my server to automatically build the patched kernel and serve it in a private arch repository, so I don't have to compile the kernel on my laptop regularly. I'm waiting on forgejo (git forge I host on my server) version 9 to be released first, as it should support arch package hosting by then.

 

I've dabbled a bit with using Ardour and FOSS synthesizer plugins lately. I'm no expert, have only ever been in the dabble stage (played around with FL studio 6 when I was a kid). But I have gotten the urge to try to use a hardware synthesizer after watching a youtube video of using an old DAW on an Atari to control a budget 80s synth. (Video for those interrested).

I like the idea of being limited to a certain set of hardware, as it can get the creative juices flowing, when I have a limited set of knobs to turn for example, to get the most out of it. So I've impulse-ordered a second hand Roland SH-32 desktop synth (still waiting for it to arrive), that I should in theory be able to have 4 instruments at the same time from what I've understood.

Does anyone here have experience setting up hardware synths with a DAW on linux? I have an audio interface with MIDI in and out, so I should be able to connect it to a DAW in theory. Wondering if it is possible for the DAW to set up the correct settings on the synth through MIDI, when I open the project in the DAW.

I know I'm a bit early to ask since I haven't even gotten the hardware yet 😅. But I'm exited to try something new 🙂

view more: next ›