Zangoose

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

They are quite literally taking the "if you don't like it, fork it yourself" approach. Who said they aren't going to make changes/improvements on top of it?

I don't see anyone else mentioning it but this is also probably because brave browser is published under the MPL license so the licenses are actually compatible between projects. They don't want to implement completely from scratch because there is a compatible existing implementation that they can build on top of instead of starting from scratch.

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

I was born to be a jojo's reference

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

I was confused about this also, I've been using GameNative on a pixel 10 on and off since I got mine in October. Maybe compatibility just got a lot better because of fixing GPU drivers? I did notice a lot of games had issues but I assumed that applied to anything that doesn't use snapdragon

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

It depends. I run GrapheneOS and it can pass everything except the most strict integrity check (which is just that you're using a custom ROM at all).

In practice most apps don't have any problems. Google assistant doesn't really work for me but I've seen posts saying people have gotten it working. Google wallet and Google Pay are also explicitly blocked by google, so they will never work.

[–] Zangoose@lemmy.world 23 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

I think the reason GrapheneOS never did a GSI is because most of their security improvements rely on specific hardware calls that GSI abstractions don't provide access to. This probably would still be an improvement over lineage though, just not as secure as base Graphene is.

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

The work-life balance is otherwise pretty good and my manager/direct coworkers are chill 🤷

Otherwise I would have lost motivation a long time ago

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

That's the thing though. Even if the code is good, the plans are good, the outputs are good, etc, it still devolves into chaos after some time.

If you use AI to generate a bunch of code you then don't internalize it as if you wrote it. You miss out on reuse patterns and implementation details which are harder to catch in review than they are in implementation. Additionally, you don't have anyone who knows the code like the back of their hand because (even if supervised) a person didn't write the code, they just looked over it for correctness, and maybe modified it a little bit.

It's the same reason why sometimes handwritten notes can be better for learning than typed notes. Yeah one is faster, but the intentionality of slowing down and paying attention to little details goes a long way making code last longer.

There's maybe something to be said about using LLMs as a sort of sanity check code reviewer to catch minor mistakes before passing it on to a real human for actual review, but I definitely see it as harmful for anything actually "generative"

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

As someone who has to sift through other people's LLM code every day at my job I can confirm it has definitely not gotten better in the past three months

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

NixOS manages to be all of these at once except the manual dependency management

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

As someone who has worked with a pretty large C# codebase and several smaller ones, I've found it to be one of the least efficient languages to program in. This is maybe not a technical fault of the language, but the way Microsoft encourages developing C# means that once you get past a certain point even simple MRs will have 10-20 files changed. There is sooooooooo much boilerplate caused by .NET that even things like Java Spring Boot just don't have (and even then I'd consider Java to be a pretty bloated language in terms of boilerplate).

That's ignoring the fact that the ecosystem surrounding .NET is a lot more enterprise-y, meaning a good portion of libraries require paid licenses to use.

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

My company uses it for some of our legacy on-prem hosting, but a lot of that is being actively decommissioned.

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

Most of the world can't feasibly install non-Apple-approved apps on iOS without paying $100 a year so something like that would probably never catch on in iOS land

15
submitted 8 months ago* (last edited 8 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?

7
submitted 2 years ago* (last edited 2 years 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

 

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?

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