Zangoose

joined 2 years ago
[–] Zangoose@lemmy.world 4 points 4 days ago

That's fair, I assume most people probably aren't following ladybird that closely so it's easy to miss. It just bothers me because shrugging off small individual problems and ignoring a bigger trend is arguably what let people like DHH get a platform in the first place.

[–] Zangoose@lemmy.world 13 points 4 days ago (2 children)

How many times do I have to give him the benefit of the doubt though?

First it was the "using they in documentation is political ideology" Github issue, then he publicly defended DHH when people called him out for being a white supremacist, he implied tech companies are discriminating against white people with diversity policies, and he tweeted that he hopes young people will carry on Charlie Kirk's legacy.

If one or two of these things happened in isolation, I could maybe understand giving him the benefit of the doubt as a non-American (for that last one) non-native English speaker. But all of these things taken together? I personally don't think I can look past that.

[–] Zangoose@lemmy.world 3 points 4 days ago (1 children)

All things considered the way they're approaching the migration is fine enough - they're only moving specific portions at a time, they're not stopping C++ development, and they're making sure it doesn't introduce regressions. Adopting a memory-safe language for something like a browser makes sense because it completely eliminates that class of vulnerabilities.

The problem is the way they're approaching the code itself. From their wording, it sounds like they're relying on AI heavily for both writing and reviewing the code. Rust has a steeper learning curve than most languages and is very different from C++. They even mention in the blog that their current Rust code looks like C++ code ported over. If they don't take the time to actually learn Rust before adopting it, it'll just lead to security logic issues that their AI couldn't catch because C++ and Rust don't always behave the same way. And that's completely ignoring all of the other ethical/technical issues with AI

[–] Zangoose@lemmy.world 4 points 1 week ago

Ok but the radio station change might cause my car to spontaneously combust so I should make a new car from scratch with my car factory just in case, that way I'll still have a car.

Never change, NixOS

[–] Zangoose@lemmy.world 10 points 1 week ago (1 children)

Presumably companies would be able to argue they aren't pushing out pollutants with the intention to change the climate

[–] Zangoose@lemmy.world 37 points 1 week ago (6 children)

Nah NixOS is a picture of a factory automatically making cars

[–] Zangoose@lemmy.world 2 points 1 week ago (1 children)

To be hero X is another really good Chinese one

[–] Zangoose@lemmy.world 19 points 2 weeks ago

Presumably just for transparency in case humans down the line went looking through closed PRs and missed the fact that it's AI.

[–] Zangoose@lemmy.world 4 points 2 weeks ago

Worth noting that Linux Mint Debian Edition exists and is based directly on Debian instead of Ubuntu. They starting publishing it specifically because the Linux Mint team doesn't like the direction Ubuntu is heading in with snaps. Not sure how good it is as I haven't tried it in a while (and don't really use regular mint either).

[–] Zangoose@lemmy.world 15 points 3 weeks ago (5 children)

The joke in the meme is John Cena laughing at JKR being in the Epstein files, though. That's not a joke, it's disinformation.

But JKR is objectively "in the Epstein files." It's not clear whether she was directly or intentionally involved, but her name is absolutely present in the files. This meme isn't misinformation at all.

[–] Zangoose@lemmy.world 4 points 3 weeks ago (3 children)

Honestly I'd consider using this in combination with NixOS just for the flatpak support

[–] Zangoose@lemmy.world 2 points 1 month ago

Fair enough. For me it gets most of the popup and in-page ads that would display on top of articles. I don't think it gets past paywalls but honestly I try not to read from paywalled sites anyway. Improving it to be more advanced would be nice though since I think right now it's just a simple toggle in settings.

15
submitted 6 months ago* (last edited 6 months ago) by Zangoose@lemmy.world to c/nix@programming.dev
 

I'm working on switching over to NixOS on my desktop and one of the last things I haven't got fully working is my neovim config. My LSP's are able to start, and all of them work fine except for clangd. For some reason, it can't find C/C++ header files for any installed libraries. I have all of the LSPs themselves installed through Mason in Neovim, and I have programs.nix-ld.enable = true enabled so they can be run correctly.

screenshot showing 'file not found' error on '#include <fcntl.h>'

screenshot showing 'file not found' error on '#include <SDL2/SDL2.h>'

Here is the shell.nix file I'm using for this project:

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell.override { stdenv = pkgs.gccStdenv; } {
  nativeBuildInputs = with pkgs.buildPackages; [
    glibc libgcc
    clang-tools libclang
    SDL2 SDL2_image SDL2_sound
  ]; 
  CPATH = pkgs.lib.makeSearchPathOutput "dev" "include" pkgs.glibc pkgs.SDL2 pkgs.SDL2_Image pkgs.SDL2_sound;
}

Is there something extra I need to do to get clangd to find the C headers being used by the project? when I actually run gcc it compiles fine, it just can't seem to find them correctly in Neovim

Edit: Forgot to mention that I'm using this shell with direnv and launching nvim directly from the same shell that I'm compiling from

 

I have a virtual source and a virtual sink which I'm using to forward audio to/from chat apps (Matrix, Discord, Zoom, etc.) so I can control the mic/output volume independently of everything else on my system. I have them setup and working fine using pipewire.conf.d files. The problem is that using wpctl to change volume requires having an ID, but those aren't static. Normally the solution would be to use @DEFAULT_AUDIO_SOURCE@ (or sink), but that wouldn't work in this case. Is there a way to adjust volume/toggle mute without having the ID? Or alternatively, is there a way to get the ID for a specific node name that I can put in a bash script?

If I'm asking this in the wrong place, is there a better place to go?

 

I wanted to see if video uploads work, I may have a few hours in celeste

7
submitted 1 year ago* (last edited 1 year ago) by Zangoose@lemmy.world to c/meta@programming.dev
 

My bytes.programming.dev's main feed is erroring again. It looks like everything else is loading fine, I just can't see anything on the timeline for some reason. Is it the same DB issue that was happening last time?

EDIT: I just checked and it seems like it's back

 
 

Source

Alt text:A screenshot from the linked article titled "Reflection in C++26", showing reflection as one of the bullet points listed in the "Core Language" section

 

Not really sure if there is a better place to put this, but is bytes.programming.dev having issues for anyone else? I can log in but my timeline doesn't load at all.

 

Credit to https://lemmy.world/post/18689927 for the original post

Alt text:

Me: mom can we have (Linux penguin)?

The rest of the meme is scribbled out and over it is one word, "Yes"

 

I'm trying out NixOS on my laptop right now and I'm loving it so far, but I was thinking of setting up distro box for ubuntu (mostly for a few developer environments dependent on it) and arch (for packages that aren't on nixpkgs yet). I was wondering about the battery life hit on a laptop and I couldn't find anything definitive on google/ddg. Has anyone here noticed a difference?

1494
Good luck web devs (lemmy.world)
submitted 2 years ago* (last edited 2 years ago) by Zangoose@lemmy.world to c/programmer_humor@programming.dev
 

Alt text:Twitter post by Daniel Feldman (@d_feldman): Linux is the only major operating system to support diagonal mode (credit [Twitter] @xssfox). Image shows an untrawide monitor rotated about 45 degrees, with a horizontal IDE window taking up a bottom triangle. A web browser and settings menu above it are organized creating a window shape almost like a stepped pyramid.

Edit: alt text

 

Alt TextA screenshot of a file manager preview window for my ~/.cache folder, which takes up 164.3 GiB and has 246,049 files and 15,126 folders. The folder was first created about 1.75 years ago with my system

 
view more: next ›