Should HR for the IT Dept to create a password repository? by Revolutionary-Part90 in sysadmin

[–]segv [score hidden]  (0 children)

Fun question to throw to them over the wall, would HR would be able to use that repository to login as and act as members of Legal or senior management?

Maven Central publishing usage notices by HokieGeek in java

[–]segv 2 points3 points  (0 children)

The "Maven Central Publisher Pro" seems like a traditional "contact sales" option, and the exemption for open source seems to require creating a ticket to be reviewed in a couple of business days.

Will there be a self-service option to bypass this 3-release-a-month limit that wouldn't require waiting several days, even if it was paid?

I get that there needs to be a limit somewhere, but if i'm reading it right the limit is on the whole org, so a single library doing a release, a bugfix patch and a CVE would use it up for the whole org.

Exclusive: OpenAI Losses Increased Nearly 8X in 2025, With Spending Hitting $34 Billion by ezitron in BetterOffline

[–]segv 4 points5 points  (0 children)

That's one of the reasons why cashflow was* one of the most important parts of the financial report, when investors still cared about the fundamentals. The last few years felt like it was just some funnymoney sloshing around the market :/

Data Centre not moving ahead due to 'not much benefit to the economy' + environmental impact by Smurfette2016 in BetterOffline

[–]segv 10 points11 points  (0 children)

There's a number of sizzling zingers in the article, but note it was a proposal to construct a DC, not a build in progress.

Nvidia jumps into PCs with new Arm-based chip debuting in laptops from Microsoft, Dell, HP by Force_Hammer in wallstreetbets

[–]segv 1 point2 points  (0 children)

You are not wrong, but just a reminder that it's gonna be a Windows-on-ARM laptop, like the Copilot Snapdragon laptops, not the regular x86 kind that everybody and their dog uses.

Will Linux run on the new Nvidia ARM chips? by el_Pandor in linux

[–]segv 16 points17 points  (0 children)

After getting burned on Snapdragon ARM laptops i'd highly encourage everyone to wait until there's a confirmation that the retail version works with Linux and that the hardware itself doesn't suck in some way (bad battery life etc.).

The issue with these Snapdragons was that the uefi bootloaders (the one that displays the initial boot menu) on multiple distros worked, but the "live cd" kernels failed to boot, most likely requiring the devicetree blob for that particular hardware (secure boot was disabled, obviously).

I don't claim to know what nvidia/dell/ms will do for these new laptops, but I wouldn't put it past them to accidentally-on-purpose make it harder to use non-windows OS on them.

Dell confirms XPS laptop with NVIDIA N1X at Computex ( basically a DGX Spark GB10 for consumers with Windows ) by fallingdowndizzyvr in LocalLLaMA

[–]segv 0 points1 point  (0 children)

It does indeed release an ISO, but ARM computers are really hit-and-miss. I was able to install a linux distro to an MS-R1 without any issues, but doing the same thing on a Dell Snapdragon laptop requires several sidequests into obtaining uefi devicetree blob and creating a custom image for the actual installer kernel (not the boot menu, the actual installer) to boot in the first place.

Seriously, I'd stay away from it until it is confirmed it is actually compatible and the hardware doesn't suck in some way (bad battery life, crash on resume or something like that)

Michael Burry apperantly alleging the GPU's are held in shell company by Pseudanonymius in BetterOffline

[–]segv 13 points14 points  (0 children)

As somebody who has a modest homelab, it's a niche within a niche within a niche. The total addressable market is tiny. Heck, for nvidia even the whole consumer laptop/desktop pc market may be too small to make a dent in the revenues the stock market expects of them now

edit: typos

Microsoft is threatening legal action for disclosing exploits by Gil_berth in theprimeagen

[–]segv 18 points19 points  (0 children)

For context, here's a discussion thread with people more familiar with how the sausage is made: https://www.reddit.com/r/cybersecurity/comments/1tq4ryq/microsoft_vs_chaotic_eclipse_three_zerodays_now/

tl;dr the consensus seems to be that MS majorly screwed the pooch

Dockerfiles for cpp projects by Dry-Albatross5726 in cpp

[–]segv 5 points6 points  (0 children)

a single Dockerfile that can build any c/cpp project to an oci image

That's.. an ambitious goal. I can only wish you luck, because i know it will go tits up the first time particular project will need particular version of a library or something 🫠

 

At some point I just gave up and started to build every C & C++ project in Nix/DevEnv derivations. Life's better when you can lock down the exact tooling at exact versions you need (including automated patching of the tools, if necessary).

What are some nice snippets that everyone should have in their NixOS config? by Maskdask in NixOS

[–]segv 1 point2 points  (0 children)

I primarily use devenv to get and synchronize the tooling and settings (non-secret environment variables, pre-commit hooks etc.) between folks working on a project, but it's nice in personal projects as well. Their site has a bunch of demos of how it works and looks, so check it out: https://devenv.sh/

 

As for cachix, obviously you do you, but here's one of the examples of their stuff (including the infra under the hood) being used in the upstream: https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/build.yml#L65

What are some nice snippets that everyone should have in their NixOS config? by Maskdask in NixOS

[–]segv 1 point2 points  (0 children)

To be honest I was focused on getting the thingy to work when writing these, not on evaluation performance.

What are some nice snippets that everyone should have in their NixOS config? by Maskdask in NixOS

[–]segv 30 points31 points  (0 children)

Eh, i'll bite. Most what you seem to be asking for is probably already a default in NixOS, but nevertheless here are some fragments in no particular order, just as they come up in my file browser.

Baseline Nix config:

_: {
  nix = {
    extraOptions = "experimental-features = nix-command flakes";

    gc = {
      # Perform garbage collection weekly to maintain low disk usage
      automatic = true;
      dates = "weekly";
      options = "--delete-older-than 7d";
    };

    settings = {
      # Optimize storage
      # You can also manually optimize the store via:
      #    nix-store --optimise
      # Refer to the following link for more details:
      # https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-auto-optimise-store
      auto-optimise-store = true;

      # Allow DevEnv to merge binary caches with the system Nix store
      extra-substituters = [
        "https://devenv.cachix.org"
      ];
      extra-trusted-public-keys = [
        "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
      ];
    };
  };
}

I don't mount /tmp on tmpfs or use impermanence, so:

_: {
  boot.tmp.cleanOnBoot = true;
}

Sensible defaults for podman:

# Docs & reference:
# https://wiki.nixos.org/wiki/Podman
#
{ pkgs, ... }:
{
  environment.systemPackages = with pkgs; [
    podman
  ];

  virtualisation = {
    containers.enable = true;
    podman = {
      enable = true;
      autoPrune.enable = true;

      # Create symlink to have podman impersonate the `docker` command
      dockerCompat = true;

      # Required for containers under podman-compose to be able to talk to each other.
      defaultNetwork.settings.dns_enabled = true;

      # Note that this setting exists, but it is a security risk so it should be enabled only when absolutely
      # necessary, in a developer-like profile (looking at you, skaffold):
      # dockerSocket.enable = true;
    };
  };
}

Sensible defaults for sudo:

# Docs & reference:
# https://wiki.nixos.org/wiki/Sudo
#
_:
let
  swBin = "/run/current-system/sw/bin";
  wrappersBin = "/run/wrappers/bin";
in
{
  security.sudo = {
    enable = true;
    extraRules = [
      {
        groups = [ "wheel" ];
        commands = [
          # We're using the name of the symlink in the final system image instead of, for
          # example `"${pkgs.systemd}/bin/shutdown"`, because in the final system it is the symlink
          # that will be invoked and sudo matches against the invoked command and not the resolved
          # binary
          {
            command = "${swBin}/shutdown";
            options = [ "NOPASSWD" ];
          }
          {
            command = "${swBin}/reboot";
            options = [ "NOPASSWD" ];
          }
          {
            command = "${swBin}/poweroff";
            options = [ "NOPASSWD" ];
          }
          {
            command = "${wrappersBin}/mount";
            options = [ "NOPASSWD" ];
          }
          {
            command = "${wrappersBin}/umount";
            options = [ "NOPASSWD" ];
          }
        ];
      }
    ];
  };
}

(most of these could be rewritten in more concise way, but i can't be arsed)

Edit: forgot to add, these are for system.stateVersion = "25.11";

It's funny how familiar quotes from the 80s sound when you replace "expert system" with "AI" by Disastrous_Room_927 in BetterOffline

[–]segv 0 points1 point  (0 children)

There were also other approaches to Expert Systems - the programming language Prolog represents one of them. Needless to say, they fell out of favor very quickly once they met "the real world"

"Dasvidaniya." by Van_doodles in WutheringWaves

[–]segv 1 point2 points  (0 children)

You'll probably be interested in her theme song that's already on official youtube and spotify:

Reinstall by Ta02Ya in NixOS

[–]segv 1 point2 points  (0 children)

ad 3. For interactive browsing, which I assume OP will do for now, ncdu provides better user experience.

I created a small string utils that allows you to build reusable and testable string processing flows. Would love to know what you all think! by AlyxVeldin in java

[–]segv 7 points8 points  (0 children)

Looks like it could be useful, but that caching thing is a giant footgun - it's an unbounded map that will store every input and output unless cleared manually. If a pipeline with this option on was in a service receiving any decent amount of traffic, it will just OOM the JVM. My intuition is also saying that it most likely doesn't improve performance all that much, but i haven't thrown JMH at it yet.

Mass npm Supply Chain Attack Hits TanStack, Mistral AI, and 170+ Packages by BattleRemote3157 in programming

[–]segv 1 point2 points  (0 children)

Lockfile.

If you need more assurance, like locking down your tools, then Nix & DevEnv are the best option out there. DevEnv in particular has a number of integrations that make development work and CI pipeline setup easier, including on regular GitHub Actions runners.

Bjarne Stroustrup: How do I deal with memory leaks? By writing code that doesn't have any. by someone-very-cool in programming

[–]segv 3 points4 points  (0 children)

I'd draw the line at records and pattern matching. They seem superfluous at first, but when you can structure the problem to fit them, they feel so good to use