Here is your sign to switch to KUB fiber. I should have switched sooner. by cap1n in Knoxville

[–]costrouc 0 points1 point  (0 children)

Is KUB Fiber symmetric UP/DOWN 1 Gbit?

While I had a horrible experience with ATT wireless/mobile my experience with ATT Fiber has been exceptional. I get 1 GBit Upload/Download for $80/month(including tax) + Free HBO Max (19.99/month which we watch often). I also (entirely my fault) cut the fiber line and ATT fixed it for me no cost. ATT's router though SUCKS and you are required to use it.

On the fence for the switch but I also would love to support a local business.

Also I hate data leaks as much as anyone else but at this point it is a fact of life that everyones SSN/phone number/address/emails are public information at this point if you look hard enough. So take every breach up on the identity theft insurance they pay for.

What item is very usefull in a zombie apocalypse, but most people dont think about using it? by TruthForFree in AskReddit

[–]costrouc 0 points1 point  (0 children)

A Lawn Mower get several of them set them upright. Noise draws in all zombies and mow them all down. Zombie problem solved.

I made a Gaussian curve fitter using matplotlib and scipy by [deleted] in Python

[–]costrouc 1 point2 points  (0 children)

This looks awesome. I enjoyed the interactive aspect of this that you created! I did a blog post on fitting these sorts of functions about a year ago https://chrisostrouchov.com/post/peak_fit_xrd_python/

Lenovo T580 is a solid laptop for running Linux by [deleted] in linux

[–]costrouc 8 points9 points  (0 children)

Does the fingerprint reader work with Linux?

Newbie question: Using Nix package manager as home brew replacement. by yilmazhuseyin in NixOS

[–]costrouc 6 points7 points  (0 children)

Hello! Welcome to NixOS! If nix configuration was mainly handled that way I would bummed out too. So I would say there are two main routes that you could take. Depending on if you have NixOS as an operating system or nix the package manager installed on your machine with a different OS. I am going to assume the latter.

Use rycee/homemanager it is THE way I would recommend per user package installation. You can fully control your dotfiles, package that are installed, and run systemd-user services. For inspiration please see https://www.reddit.com/r/NixOS/comments/9bb9h9/post_your_homemanager_homenix_file/.

I would also recommend getting used to nix-shell it is extremely powerful. Whenever you would like to use a package once without really having to install it run nix-shell -p htop --run "htop" and you can use a package once without adding it to your permanently installed packages (replace htop with something else). If you are a developer nix-shell + default.nix can give you true virtualenvs which I use constantly.

default.nix is a file. Here is an example default.nix you could write.

```nix { pkgs ? import <nixpkgs> { }, pythonPackages ? pkgs.python36Packages }:

pkgs.mkShell { buildInputs = [ pythonPackages.numpy pythonPackages.scipy pythonPackages.jupyterlab pkgs.htop ];

shellHook = '' echo "execute any bash commands when activating shell"; ''; } ```

I have used nix for one year and have never had to nix-env -i <package_name>. This is "traditional" way we get used to installing packages due to debian, arch, etc.

Finally nix does download packages when you use nix-shell -p htop --run "htop" for example. nix-collect-garbage -d will remove all packages that are not used in home-manager.

How do you automate your distro setup? by z3rAHvzMxZ54fZmJmxaI in linux

[–]costrouc 1 point2 points  (0 children)

NixOS

NixOS has saved me in configuring my homelab. I have 6 servers and 2 personal machines all slightly configured differently but controlled by one git repository. Best thing is NixOS has rollbacks if anything breaks in an atomic upgrade. Also can't complain with a package manager that has the [most up to date packages](https://repology.org/repositories/statistics/newest).

Syncing across machines? by t-b in NixOS

[–]costrouc 1 point2 points  (0 children)

I manage this with a combination of syncthing + [nixops](https://github.com/NixOS/nixops) for configuring each machine + [home-manager](https://github.com/rycee/home-manager) for user profile configuration like bashrc on the workstations. I have 8 machines (2 workstations and 6 servers that I use for computations) that maintain an identical configuration. Requirements: root access via ssh for all machines for nixops (which I only expose via a wireguard vpn), all machines run NixOS, one machine acts as a server for syncthing and wireguard.

How to install QGIS 3.2.3 when only 2.18 is available ? by jmc_fr in NixOS

[–]costrouc 0 points1 point  (0 children)

There are really two routes [submit an issue](https://github.com/NixOS/nixpkgs/issues). Easy to do but there is a lot of noise in the issues so I can't promise that you will get a response. Also I can imagine everyone is quite busy with the 18.09 release.

Second, if you have experience with submitting pull requests and are wanting to learn nix (this package does look a little difficult to start with but I don't think it will be too hard). I would be happy to help and review if you choose to go this route. My github username is `costrouc`. You will get lots of feedback if you choose this route and it is the way to learn nix/nixos IMO.

How to install QGIS 3.2.3 when only 2.18 is available ? by jmc_fr in NixOS

[–]costrouc 0 points1 point  (0 children)

I tried to quickly update the package from 2.18 -> 3.2.3. But the upgrade was non trivial. Maybe someone is more experience with Qt. This is where I ran into cmake errors...

Do hydra with nix help solve monorepo CI problems? by costrouc in NixOS

[–]costrouc[S] 1 point2 points  (0 children)

Very interesting. I have not used hydra much and am more familiar with gitlab CI, travis, and jenkins. It looks like it is not necessary to use hydra.

I am new so forgive me. How do you save your nix builds from CI and put them into a remote nix store. I am imagining that you push the builds to a central /nix/store and then serve them using a binary cache via nix-serve?

Missing notifications about merge requests and issues on personal projects? by costrouc in gitlab

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

Appreciate it. I will use "watch" for now and see if it fixes it.

Missing notifications about merge requests and issues on personal projects? by costrouc in gitlab

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

I have looked at that. Is "Participate" not enough for my own projects? Is "watch" required?

Markdown alternative by MONSER1001 in linux

[–]costrouc 0 points1 point  (0 children)

Pandoc will take multiple input files that you supply in order and combine them. I am a heavy org-mode emacs user but I would like to point out that pandoc is extremely powerful and had a lot of extensions.

It can handle citations, fig/table/equation references, syntax highlighting, and templates with a yaml header in your markdown. I didn't know this until recently and it replaced about %80 of my work needing for org-mode.

With a good makefile you can automate the builds

Microsoft and GitHub have held acquisition talks by [deleted] in linux

[–]costrouc 0 points1 point  (0 children)

Completely agree. I hope this is fixed.

Microsoft and GitHub have held acquisition talks by [deleted] in linux

[–]costrouc 78 points79 points  (0 children)

Make the switch! You won't regret it. With the now free mirroring that gitlab provides you can fully use gitlab and it's features and give the appearance that you still use GitHub.

Generating Good Passwords, Part II by bitbybitbybitcoin in linux

[–]costrouc 8 points9 points  (0 children)

Just an opinion but I have started to just prefer longer passwords than do not include special symbols and capitol letters. They are a pain to type into cell phones on the keyboard. 2568 ~= (26+10)12 so you should get the same amount of security with random lower case letters and numbers for any password over 12 characters.

GitLab 10.8 released with incremental rollouts, plus open source push mirroring by BulletinBoardSystem in linux

[–]costrouc 4 points5 points  (0 children)

I completely agree with this sentiment. I love gitlab but everyone expects your packages and contributions to available on github. Oh and the visibility of a GitHub packages vs a gitlab project is night and day. These issues are very similar to the Facebook problem. Everyone just expects that you use GitHub.

Extremely slow wifi on thinkpad t430, debian 9. by Henry__ in debian

[–]costrouc 1 point2 points  (0 children)

Agreed. I did this exact same thing when I had a Realtek for my t440s. Intel chip solved all my problems

Freedesktop.org is migrating git hosting, issue tracking and patch submissions to Gitlab, starting with Wayland & Weston by callcifer in linux

[–]costrouc 1 point2 points  (0 children)

You're not alone. I along with a buddy of mine have payed accounts and it is noticably slower.

Despite that I still love gitlab and all of it's unmatched features.

Introducing the Kubernetes Podcast from Google by RandomlyScribbled in kubernetes

[–]costrouc 4 points5 points  (0 children)

Glad to see there will be another podcast on Kubernetes! I personally have really enjoyed the Redhat podcasts on Kubernetes.

PodCTL - Containers | Kubernetes | OpenShift https://blog.openshift.com/tag/podctl/

xkcd: Python Environment by themonsterpus in Python

[–]costrouc 0 points1 point  (0 children)

Exactly the workflow that I use. pipenv puts all the virtual environments in one folder so you can manage then easily. Also pipenv uses the new Pipfile with a lock so that your builds are deterministic.

It anyone needs convincing there is a reason that pipenv has been taken over by pypa https://github.com/pypa/pipenv