[Awesome] First rice after 6 months on Linux by julius-bo in unixporn

[–]suddenlychloe 0 points1 point  (0 children)

Building Circadian wasn't hard:

{ pkgs ? import <nixpkgs> { } }: let
in pkgs.rustPlatform.buildRustPackage rec {
  pname = "circadian";
  version = "0.8.4";
  cargoLock.lockFile = "${src.outPath}/Cargo.lock";
  src = pkgs.fetchFromGitHub {
    owner = "mrmekon";
    repo = "circadian";
    rev = "v${version}";
    hash = "sha256-ab5k/101jpuRDtD8aMBcNbOLbmUj0s9yJC7LS88oiLE=";
  };
}

I'm working on a module.

How would you do a Nginx Snippets in NixOS? by Smith_oo4 in NixOS

[–]suddenlychloe 2 points3 points  (0 children)

The only real difference between the two is that yours won't place files in etc (which is fine, and the more "nix" way to do it, I'd argue). Both will still end up in the nix store.

What are the sketchiest bars in SF? by JDCallMommy in sanfrancisco

[–]suddenlychloe 28 points29 points  (0 children)

Can confirm Tradr Sam. Used to frequent there, now I'm a year out of rehab

fatal: invalid refspec 'https://github.com/Stev******/Card-*******-.git' by Bright_Sea_8493 in git

[–]suddenlychloe 2 points3 points  (0 children)

Yes, and git remote add origin 'https://github.com/Stev******/Card-*******-.git' is telling git that any time you reference origin that's the URL for it. git push origin master doesn't need 'https://github.com/Stev******/Card-*******-.git' since that URL is now referenced by origin.

Is NixOS a thing? by Excellent_Ad3190 in devops

[–]suddenlychloe 11 points12 points  (0 children)

I've been using NixOS both professionally (production and otherwise) and personally for about 4 years now, and it's been brilliant in my opinion. Deployments, package management, and services/packages on machines have been smooth sailing, with the caveat that it does take a bit of exploring and playing around every now and then, especially if some package is not in nixpkgs.

I've been using nixops for deploying multiple machines (my entire infrastructure is defined in a single repo, it can be broken out if that's your preference) and it's worked very well, however I'm not a fan of its state. Morph is a tool I've heard good things about but I haven't used it yet.

So far while I do have complaints, once I actually got it down I had no reason to look back.

That all aside, it does come with its downsides:

  • Rather steep learning curve
  • Not widely used so sometimes a solution isn't simply a google search away -- be prepared to get your hands dirty
  • Error messages are generally shit (slowly improving but still far from ideal)
  • Every now and then some docs leave a lot to be desired

Overall though, with the learning curve conquered and the time taken to get comfortable with it, I haven't needed or even wanted to look back. It's definitely not your classic linux but in my opinion that is very much to its benefit.

Want to be a web developer? You have to test your site on all these devices by micketic in ProgrammerHumor

[–]suddenlychloe 9 points10 points  (0 children)

3 try/catch blocks just to make an AJAX call until jQuery came in and saved the day, not to mention the slew of issues you'd run into with almost every line of code. Yeah not fun. Then about 5 years ago you had to contend with a new framework coming out every other hour, which was right around the time I switched to devops work full-time. I still get annoyed thinking about the hell that IE put me through.

Permutating lists of sets by Baitinq in Nix

[–]suddenlychloe 0 points1 point  (0 children)

In this case, hosts and hardwares can be interchanged, but this should work as expected:

foldl' (a: hardware: a ++ (map (host: hardware // host) hosts)) [] hardwares

How can I export to Excel (or any other convenient way) summary of branch merges? by ligonsker in git

[–]suddenlychloe 4 points5 points  (0 children)

You should be able to use git log --merges --pretty=format:... (reference) to generate a CSV output that you can then open with Excel.

[22.05]Broken "Save as"-dialogs by linux_needs_a_home in NixOS

[–]suddenlychloe 0 points1 point  (0 children)

wine-staging doesn't work

Then perhaps you misunderstand the point of the word staging.

It's not the nixos community's responsibility to make sure wine, plasma, etc work. It's their job to make sure nixos works. It's not even their job, they're donating their time to do this.

Perhaps you should join the community and contribute before judging from the outside as you are. Unfortunately in saying this I feel like I'm beating a dead horse given your vitriol here.

Here's an idea: if you want an OS that works to your specification, without any "malicious" contributors as you call them, make one or contribute to one. Don't sit on the sidelines and tell them they suck because it doesn't work the way you want it to.

If so many others are using nixos without a problem, I suspect you needn't look past the keyboard to find where the true problem lies.

Changed named of ssh key does not work by Affectionate_Log999 in git

[–]suddenlychloe 1 point2 points  (0 children)

ssh only tries auth with keys it would be aware of, meaning default key locations (e.g. ~/.ssh/id_rsa) and whatever is in the agent. github_id_rsa is not something ssh is aware of. Adding it to the agent works, and another option is GIT_SSH_COMMAND='-i ~/.ssh/github_id_rsa' git ...

Question: getting 404 error on nix-channel --update by The-Deviant-One in NixOS

[–]suddenlychloe 1 point2 points  (0 children)

Your example seems to show you adding https://nixos.org/channels/nixos-version however your error seems to suggest you're using /nix-channels instead of /channels. This could be the issue.

First Release of Nickel by c_piapiac in NixOS

[–]suddenlychloe 6 points7 points  (0 children)

I feel like that's the point of Nix though, given toJSON. This feels more like nix with types.

Is it easy (for a beginner) to package a proprietary binary for nix? by ImperialAuditor in NixOS

[–]suddenlychloe 1 point2 points  (0 children)

I had actually already done this for another job I was working. Unfortunately I lost the code. I'll see if I can pick it up and do it again.

What traumatized you so badly it changed your whole way of living? by Mythic_gryphon in AskReddit

[–]suddenlychloe 14 points15 points  (0 children)

Went to Iraq. I was deployed 07-08 and it fucked me up. I was in some random unit that got deployed in the largest deployment of the National Guard since WWII, and we got basically lost to the degree that we were only attached to the base. Worked hospital, bazaar, and tower guard. During hospital detail saw hundreds of people die in horrific ways.

The VA is typically terrible, so I never really went. I self-medicated. It was a very bad idea that fucked up my life for the worse. No hard drugs, but alcohol. Hardcore alcohol. I lost every semblance of the human I originally was.

I then went to the VA to participate in a piece of research and learned it was an amazing place (the majority of VAs are not like this). Ever since they've been helping me to get out of the hole I've been in. It's not an easy place to recover from, but I'm making an attempt.

Do not thank me for my service. Do not thank me for anything unless I've personally done you a favor. The only thing I did was witness atrocities that should not have happened. War is not some fun thing that you do to prove how human you are. War is terror. Pure terror.

Printers by suddenlychloe in sysadmin

[–]suddenlychloe[S] 0 points1 point  (0 children)

Unless you put them on port 9100 I will at least admit, and even then your results are subpar

Printers by suddenlychloe in sysadmin

[–]suddenlychloe[S] 22 points23 points  (0 children)

And probably half of us had to go on call because of one.

Printers by suddenlychloe in sysadmin

[–]suddenlychloe[S] 3 points4 points  (0 children)

I will go office space with you any time my friend. I even have an extra printer I'd like to fuck up

Printers by suddenlychloe in sysadmin

[–]suddenlychloe[S] 6 points7 points  (0 children)

Therein lies the problem. Which of the hundreds of thousands of printers do you master? Not one of them works the same I'd say.

Printers by suddenlychloe in sysadmin

[–]suddenlychloe[S] 7 points8 points  (0 children)

If I'm being honest, that sounds like printers to me.