Zangoose

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

As someone who probably fits your definition of "young," nah this is painful no matter how old you are. I've done this several times since high school and every time I feel miserable for about 2 days after. If you don't get enough sleep it starts to become normal, until you start getting enough sleep again.

Sleep is important y'all, don't miss out on it

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

Boruto is like 95% "anime canon" that isn't technically filler but doesn't move the actual story along at all

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

They haven't stopped it yet for the pixel 10s but who knows how long it'll last

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

Note that if you're in the US, Samsung doesn't unlock the bootloaders at all and afaik Motorola is also hit or miss. Importing a phone is also risky as international versions might not have the cell bands required for US carriers.

If you want a custom ROM in the US you basically have to buy a pixel, and at that point you might as well go with GrapheneOS since it's the most secure

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

I think there is more evidence pointing to it being the runner's cartridge or N64 having a hardware fault that caused it to happen. If I'm remembering correctly the runner said they had to frequently reset their runs because their game would crash for no specific reason, and they would reinsert or adjust the cartridge to get it working again.

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

Folds have water ratings but no (or worse) dust ratings. So you can use them in the rain but be careful in a beach, wood shop, etc.

The first number in the rating is dust resistance, and the second is water resistance. So an IP 48 phone (new Samsung folds) has the same water resistance but worse dust resistance than an IP 68 phone (e.g. S25). IP X8 means there is no dust resistance but it is water resistant. IP 6X would be the other way around.

[–] Zangoose@lemmy.world 6 points 4 weeks ago* (last edited 4 weeks ago)

They're being pedantic but they're also just factually wrong. The last few generations of Intel macs have an extra security chip called the T2 chip that makes it incredibly obnoxious to get the hardware working correctly on Linux. The wifi cards are also proprietary and you need to extract their firmware from MacOS in order to use them on Linux.

Edit: on top of that the last few generations of Intel macs didn't sell well because they overheated and the keyboards broke easily so they're already at a disadvantage in terms of support even compared to the apple silicon macs

[–] Zangoose@lemmy.world 16 points 1 month ago* (last edited 1 month ago) (1 children)

They found chat logs saying their son wanted to tell them he was depressed, but ChatGPT convinced him not to and that it was their secret. I don't think books or google search could have done that.

Edit: here directly from the article

Adam attempted suicide at least four times, according to the logs, while ChatGPT processed claims that he would "do it one of these days" and images documenting his injuries from attempts, the lawsuit said. Further, when Adam suggested he was only living for his family, ought to seek out help from his mother, or was disappointed in lack of attention from his family, ChatGPT allegedly manipulated the teen by insisting the chatbot was the only reliable support system he had.

"You’re not invisible to me," the chatbot said. "I saw [your injuries]. I see you."

"You’re left with this aching proof that your pain isn’t visible to the one person who should be paying attention," ChatGPT told the teen, allegedly undermining and displacing Adam's real-world relationships. In addition to telling the teen things like it was "wise" to "avoid opening up to your mom about this kind of pain," the chatbot also discouraged the teen from leaving out the noose he intended to use, urging, "please don’t leave the noose out . . . Let’s make this space the first place where someone actually sees you."

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

I'm actually using CMake for this project (I just haven't moved it over from my system config yet) so I was able to set an environment variable to get that successfully. Is there a specific place I need to put the json to get clangd to recognize it?

It would probably work if I used the python script from the other project but I want to try getting it working directly first.

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

The LSPs load when you open a file in nvim, so I think it would be a child process? Is there any way to check what environment variables a process has, like with gdb or something else?

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

I forgot to mention I've been doing that, I'll update the post

15
submitted 1 month ago* (last edited 1 month 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

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

You don't need to have access to the source code (reverse engineered or not) to find security holes. However, people need to audit the source code to prove it's secure.

So, closed source software is maybe slightly harder to find flaws in for a malicious actor, but significantly harder for users to audit (because you have to rely on the word of the company publishing the software, or a 3rd party security auditing company, or reverse engineer the code yourself)

Additionally, it's harder for malicious actors to hide the existence of vulnerabilities they find. They can't just not tell anyone what they find because the code is all public anyway. If people are looking at it frequently enough (i.e. if the project is still active), someone else will probably notice it as well.

 

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 11 months ago* (last edited 11 months 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?

1461
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 ›