- 0 Posts
- 20 Comments
axEl7fB5@lemmy.cafeto Today I Learned@lemmy.world•TIL there is a law called Marchetti's Constant. Humans only tolerate commutes of less than ~1 hour. Housing outside that limit will fail.English2·2 months agoTime actually free? Excluding working hours which is 8 and sleeping which is also 8
axEl7fB5@lemmy.cafeto Nix / NixOS@programming.dev•Making LazyVim "just work" on nixosEnglish2·2 months agoyou can also use:
require("nvim-treesitter.configs").setup({ ensure_installed = { "foo", "bar }, })
in your neovim config if
:TSInstall
isn’t good enough
axEl7fB5@lemmy.cafeto Nix / NixOS@programming.dev•Making LazyVim "just work" on nixosEnglish2·2 months agoMason doesn’t really work with Neovim but you can use Treesitter and install parsers using with it. What I do is use
programs.neovim.extraPackages = []
to install the language servers.
axEl7fB5@lemmy.cafeto HistoryPorn@lemmy.world•Computer scientist Margaret Hamilton with the extensive amount of code she and her team wrote to guide the NASA mission to the Moon, USA, 1969English3·2 months agofunction isEven(number) { return number % 2 === 0; }
Dunno about making it “concise” but you can shorten the name of the function and the parameter and maybe use == instead of ===
axEl7fB5@lemmy.cafeto HistoryPorn@lemmy.world•Computer scientist Margaret Hamilton with the extensive amount of code she and her team wrote to guide the NASA mission to the Moon, USA, 1969English5·2 months agono way they got
README.md
back in the day
axEl7fB5@lemmy.cafeto Games@sh.itjust.works•'Knowing Steam players are hoarders explains why you give Valve that 30%,' analyst tells devs: 'You get access to a bunch of drunken sailors who spend money irresponsibly'English7·2 months agopirating food
You wouldn’t download a burger
Laying on its back, showing belly is better
axEl7fB5@lemmy.cafeto Programming@programming.dev•JavaScript broke the web (and called it progress)English4·3 months agoSee also: https://evenbettermotherfucking.website/
axEl7fB5@lemmy.cafeto Nix / NixOS@programming.dev•[Question] Global Dark Mode Setting in NixOS Config (no home manager)English1·4 months agorycee??? Never knew the person who made Home Manager is also here. I just noticed
axEl7fB5@lemmy.cafeto Nix / NixOS@programming.dev•NixOS 25.05 released | Blog | Nix & NixOSEnglish3·4 months agoAnd also updating
inputs.nixpkgs.url
fromgithub:nixos/nixpkgs/nixos-24.11
togithub:nixos/nixpkgs/nixos-25.05
.
axEl7fB5@lemmy.cafeto Nix / NixOS@programming.dev•[Question] Global Dark Mode Setting in NixOS Config (no home manager)English3·4 months agoI know OP doesn’t want to use Home Manager and doesn’t use GNOME, but for the other people who use it: you can configure it like this:
dconf.settings."org/gnome/desktop/interface" = { color-scheme = "prefer-dark"; gtk-theme = "Adwaita-dark"; };
I got this from a blog: https://web.archive.org/web/20220927232409/https://hoverbear.org/blog/declarative-gnome-configuration-in-nixos/.
I thought it was just me who puts the laptop on the side to watch something…
axEl7fB5@lemmy.cafeto Nix / NixOS@programming.dev•Roast my system flake (please)English2·4 months agoThe learning curve is high when you’re starting out so expect to scratch your head in your first week. Once it clicks in, it’ll be smooth sailing after.
speaking from experience?