HP Laptop drains battery while turned off
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    3w ago 100%

    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.

    5
  • Firewalls: what SHOULD I block?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    3w ago 100%

    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.

    1
  • Firewalls: what SHOULD I block?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    3w ago 100%

    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.

    1
  • linux
    Linux 1mo ago
    Jump
    20 years later, real-time Linux makes it to the kernel - really
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    1mo ago 100%

    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?

    3
  • rust
    Rust 1mo ago
    Jump
    [BLOG] Why Rust mutexes look like they do - Cliffle
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    1mo ago 100%

    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.

    8
  • Why I Prefer Exceptions to Error Values
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    1mo ago 100%

    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.

    3
  • linux
    Linux 1mo ago
    Jump
    Solution to my Thinkpad E16 Wi-Fi Woes
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    1mo ago 100%

    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.

    1
  • linux
    Linux 1mo ago
    Jump
    Solution to my Thinkpad E16 Wi-Fi Woes
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    1mo ago 100%

    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.

    4
  • linux
    Linux 1mo ago
    Jump
    Kernel Maintenance By a Novice.
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    1mo ago 100%

    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.

    1
  • linux
    Linux 1mo ago
    Jump
    Kernel Maintenance By a Novice.
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    1mo ago 100%

    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.

    4
  • linux
    Linux 2mo ago
    Jump
    Used thinkpad ok for casual retro gaming?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    2mo ago 100%

    For old not very demanding games by todays standard, yes. As long as you get something new enough to have proper support for Vulkan API (such that DXVK would work). As others have mentioned, AMD have better iGPUs than intel, so definitely look out for that.

    2
  • linux
    Linux 2mo ago
    Jump
    Turns out, I wanted a tiled window manager all along
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    2mo ago 100%

    I wished tiling windows would work like snapping of floating windows, but more powerful. For example instead of snapping only to the edge of the screen, I would for example hold alt while dragging a window and would get a preview of where the window would snap to depending on where I'm hovering. And that it would resize the other windows accordingly.

    Having to remember or customize a billion keyboard shortcuts for switching between windows and rearranging the grid, makes tiling window managers DOA for me. I don't have the time/energy to set it up or practice the shortcuts.

    2
  • Is the new #zed editor mostly hype rn?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    2mo ago 100%

    I tried it briefly. I like the idea of an alternative to VS code, that's not some inefficient javascript electron app. But the focus of zed seems to be on collaboration in cloud and also pushing LLM tools. That's not what I'm looking for. I disliked that it was impossible to hide the "log in to github" button (I don't want to log into an editor). Irked me the wrong way.

    31
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    ThinkPad 2mo ago
    Jump
    ryzen or intel
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    2mo ago 100%

    I think AMD is better at both performance and battery life these days, also the iGPU is faster. Also as someone else mentioned, there are issues with 13th and 14th gen intel (CPU's are dying) so avoid that if you can.

    2
  • linux
    Linux 4mo ago
    Jump
    HDMi port om Fedora 40
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    4mo ago 100%

    I don't know specifically about the T470, but if you have an nvidia GPU, you might have issues depending on how the display outputs are connected to the GPUs. I had a T420s at some point with an nvidia GPU, and it was a PITA to get the display output to work on linux. I had to permanently enable the nvidia GPU for that to work (cutting battery life in half), because the display output was connected only to the nvidia GPU. I swore to never buy an nvidia product ever again after that experience.

    2
  • linux
    Linux 4mo ago
    Jump
    I am happy for the Linux Mint team
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    4mo ago 50%

    I'm only saying this because I've seen a few videos about windows users switching to linux mint lately. Having to update the kernel for the computer to work is a common occurrance. IMO the newest available one should be the default one. We should strive towards giving new users the best possible first impression of linux.

    0
  • linux
    Linux 4mo ago
    Jump
    I am happy for the Linux Mint team
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    4mo ago 37%

    They really need to update Mint though. Sure it is good.. on old computers. Anything made the last couple of years will have issues due to an ancient kernel and mesa. We should stop calling it stable/lts and unstable, because users will always pick the one called stable, even if the 'unstable' one is the one that would in most cases work the best for desktop linux. Or at least we should separate the kernel and mesa away from the rest of the 'stable' packages, and include recent versions of that by default, to not scare away people with driver issues.

    -2
  • linux
    Linux 6mo ago
    Jump
    I'm thinking of buying a Lenovo Duet 3 for running linux. Which device would have better compatibility?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNO
    noddy
    6mo ago 100%

    Yeah linux support for ARM SOCs is not ideal. There might be some fork of the kernel working with specific proprietary driver blobs. But in a few years its basically abandonware.

    RISC-V is what we should try to make happen as a replacement for x86, instead of yet another proprietary IP.

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    Linux Audio noddy 1y ago 100%
    Anyone using hardware synths with linux DAW?

    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](https://youtu.be/RpMMwc0Mn0Y)). 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 🙂

    7
    3