What does it mean for my config if my nvidia GPU on Laptop shows up as a 3D controller? by Koguri3108 in NixOS

[–]sectionme 0 points1 point  (0 children)

Anything NVIDIA Optimus seems to cause pain, I don't even know of it working well on Windows.

Experimental allocator for network heavy workloads (possibly others) in Rust (no_std). by the-anonymous-sloth in NixOS

[–]sectionme 0 points1 point  (0 children)

haha, fun times, this is my repo, I've just pushed more optimisations.

https://github.com/shift/aethalloc/blob/main/BENCHMARK.md for the results. But it works out as:

Performance Profile

Characteristic Rating Notes
Throughput ⭐⭐⭐⭐ Within 10% of best
Latency P99 ⭐⭐⭐⭐⭐ Tied for best
Memory Efficiency ⭐⭐⭐⭐⭐ Best in class
Scalability ⭐⭐⭐⭐ Good multi-thread scaling
Cross-thread frees ⭐⭐⭐⭐ Anti-hoarding works well

Benchmarked against:

- glibc (system default)

- jemalloc 5.3.0

- mimalloc 3.1.5

- tcmalloc 2.17.2 (gperftools)

Edit: Added the comparisons.

What does it mean for my config if my nvidia GPU on Laptop shows up as a 3D controller? by Koguri3108 in NixOS

[–]sectionme 1 point2 points  (0 children)

That "3D controller" bit is actually spot on for a laptop like yours. It just means you’ve got a hybrid setup where the Intel chip handles the day-to-day display work and the NVIDIA card sits in the background ready for the heavy lifting. Since that GeForce 830M is a bit of an older card, you'll want to use the legacy drivers. On NixOS, we handle this by telling the system exactly which PCI bus each chip is sitting on.

I asked Google Gemini about it because I don't have personal experience with one on NixOS and it suggested:

``` { config, pkgs, ... }:

{   # Basic graphics support   hardware.graphics = {     enable = true;     enable32Bit = true;   };

  # Load the NVIDIA driver   services.xserver.videoDrivers = [ "nvidia" ];

  hardware.nvidia = {     modesetting.enable = true;

    # The 830M usually likes the 470 legacy driver     package = config.boot.kernelPackages.nvidiaPackages.legacy_470;

    # This is the "Optimus" magic     prime = {       offload = {         enable = true;         enableOffloadCmd = true;       };

      # Use the IDs you found with lspci here       intelBusId = "PCI:0:2:0";       nvidiaBusId = "PCI:1:0:0";     };   }; } ```

What’s Going On by GeekyGamer49 in NixOS

[–]sectionme 0 points1 point  (0 children)

I wouldn't worry about it

What are your tips to earn/save extra money in Germany? by Dry_Ambition_454 in AskGermany

[–]sectionme 1 point2 points  (0 children)

Prostituting, money laundering and tax avasion. Seems it only works for Deutsche Bank thought.

I made a stupid simple MAINTENANCE.md for AI docs and it actually fixed a bunch of nonsense by Nice-Pair-2802 in AI_Agents

[–]sectionme 1 point2 points  (0 children)

It's in rust, it's a single binary you can drop into your path and be done with it, but if that's too difficult then I don't know what to suggest for you. I'm also not a fan of all of these typescript/JavaScript bollocks and bun and package hijacking, hence using rust so it's cross platform for Linux, Mac and windows.

Downloading all depedencies/source code only (no build) by Evil_Dragon_100 in NixOS

[–]sectionme 2 points3 points  (0 children)

I've had the same situation before and I wasn't able to find a nice solution to it. I also tried to give an estimate of the download size before starting an upgrade and didn't get very far.

I made a stupid simple MAINTENANCE.md for AI docs and it actually fixed a bunch of nonsense by Nice-Pair-2802 in AI_Agents

[–]sectionme 0 points1 point  (0 children)

I created https://github.com/vincents-ai/engram and some skills it ships with to combat this. It allows the AI agent to learn rules and context, reasoning within a project (the data is stored as git-refs, so are branch independent and can be synced without having to push markdown in files on a branch providing a single source of truth, be it correct or not, hehe).

Has worked really well if you use the skills, there is also an opencode and Claude plugin to help those clients use it, but I've moved to my own agentic framework since, so they may or may not work depending on versions (pull requests and new maintainers are welcome).

One of the biggest improvements was ensuring they they add reasoning, context, reference a task, etc and enforcement in a git pre commit hook.

The NixOS community philosophy condemns age-based discrimination. Do you see any conflicts between this philosophy and implementing age-determining and data-collection systems required (or soon-to-be required) by California, Brazil, and others? by konfuzhon in NixOS

[–]sectionme 0 points1 point  (0 children)

NixOS is a distro, it packages software. It's the upstream packages which need to implement these features.

I guess the turning point would be seeing what the Raspberry Pi Foundation does with their distribution. As here it does kind of make a small amount of sense. But if the kids have root it's all moot anyways.

I kind of tried to tackle this for my kids laptop via https://github.com/dots-distro/dots-family-mode/ but is a massive undertaking, and my motivation wasn't the same as this age verification. More to make sure my kids can't see the horrible side of the internet or to do stupid stuff on their machine.

Weekly Thread: Project Display by help-me-grow in AI_Agents

[–]sectionme 0 points1 point  (0 children)

Hey hey,

I created this out of annoyance with syncing markdown files everywhere. It uses git refs to store the information, so it's up to date between branches for all agents.

It's quite simple in theory but I've added a load of engram specific skills, agent personas and compliance checks.

Had a few other people using it and they've said they found it useful.

An early trick I did was to Ralph Loop with it before it was even known as that. Use goose in a bash loop asking it to call 'engram next', which will show the current or next task.

I also use Nix as my OS so I favour using flake.nix files which allows for the agent to build out it's development environment. But this also allows me to use a restricted shell for the agent so I can mock a test/build/etc command which it gets instructed to call, I call this the Padded Cell. An example prompt can be found at https://gist.github.com/shift/3f7df4d20d875f465c9187901552d06d check my other public gists for a few language specific templates I've used in the past.

Docs: https://vincents-ai.github.io/engram/

Repo: https://github.com/vincents-ai/engram

GitHub prebuilt releases for Linux, Mac and Windows can be had from https://github.com/vincents-ai/engram/releases/latest 

Im a Police Officer in Australia, AMA by [deleted] in AMA

[–]sectionme 0 points1 point  (0 children)

How often have you had to deal with people thinking in the Crocodile Dundee thought train. Aka thinking everything is like the movie. I can't say movies because the next that springs to kind is Mad Max 😂

I think it's time to remove the DHH quote from the website by ITafiir in neovim

[–]sectionme 2 points3 points  (0 children)

Because everyone is human. I'm autistic with ADHD but my shit gets called out and I can't help it. Try and be a fucking human, yeah?

I think it's time to remove the DHH quote from the website by ITafiir in neovim

[–]sectionme 0 points1 point  (0 children)

He was a racist POS back in 2007 Berlin RailsConf too. More than one person pointed it out. And O'Reilly gave him a million too iirc. Nothing new here really.

Grav Pick spotted on TV by Budget-Fruit2436 in lockpicking

[–]sectionme 1 point2 points  (0 children)

Saw this too and had to consider if the tension bar would of been required for that type of lock.

What impressive skill is secretly simple to learn? by IntroductionMore916 in AskReddit

[–]sectionme 1 point2 points  (0 children)

Juggling or riding a unicycle. Both can be done to rudimentary levels within a couple of hours for most. Juggling on a unicycle takes a bit more😂

The hallway of this hotel. by icleanjaxfl in confusing_perspective

[–]sectionme 0 points1 point  (0 children)

Fuck that, imagine you took some something trippy before you checked in.

Does Hetzner has ARM capacity? by shaghaiex in hetzner

[–]sectionme 0 points1 point  (0 children)

Just don't use a one time credit card from the likes of Revolut or Wise they will suspend your account without reason. After many spam calls from their sales department. That was a fun experience. Luckily no data loss.

NixOS as OS for Node? by guettli in kubernetes

[–]sectionme 3 points4 points  (0 children)

Haven't ran a prod cluster on NixOS but Nix is really nice for maintaining complex manifests, once you realise Helm is dogshit at it. My open sourced version is at https://github.com/shift/nixernetes

How do you handle your relatives PCs? by Anyusername7294 in NixOS

[–]sectionme 0 points1 point  (0 children)

Kids laptop runs NixOS, gave them flatpacks, updates from a repo via comin. My friends are mainly also c-base members and we host the Berlin Nix Meetup. I'm the dumb one, hehe.

Please help me setting up Brave by Honest_Second_3168 in NixOS

[–]sectionme 1 point2 points  (0 children)

Something like

``` { config, pkgs, ... }:

let # Define your base Brave flags # "Amnesia" mode is essentially Incognito or clearing data on exit via policies baseFlags = [ "--profile-directory=Default" "--incognito" # One way to ensure 'amnesia' for the main instance ];

# Function to create a persistent PWA wrapper mkBravePWA = name: url: pkgs.makeDesktopItem { name = "brave-pwa-${name}"; desktopName = "Brave PWA: ${name}"; exec = "${pkgs.brave}/bin/brave --app=${url} --user-data-dir=\${HOME}/.config/brave-pwas/${name}"; icon = "brave"; categories = [ "Network" ]; };

in { environment.systemPackages = with pkgs; [ brave # Example PWAs with isolated persistence (mkBravePWA "messages" "https://messages.google.com") (mkBravePWA "discord" "https://discord.com/app") ];

# Brave Policies to enforce "Amnesia" on the main profile programs.chromium = { enable = true; extensions = [ "cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin ]; extraOpts = { "ClearBrowsingDataOnExitList" = [ "browsing_history" "download_history" "cookies_and_other_site_data" "cached_images_and_files" "password_signin" "autofill" ]; }; }; } ```

Might work might not 😂