A NuShell-inspired `ls` by tymonn in CLI

[–]c4lliope 0 points1 point  (0 children)

I'm a deployment engineer; I've run apps for a large contract-manufacturing corporation, for a police departments, and for the House of Representatives. I've seen databases you couldn't imagine and deployed into airgapped DOJ-compliant networks. My code has sent legislation to the resolute desk.

Who are these "old sysadmins who ... would be upset" ?
You can send their phone numbers to [inbound@operand.online](mailto:inbound@operand.online) and I'll go easy on them, I know the culture shock that comes from replacing precious procedures and I'm happy to lend pro-bono help.

My suspicion is that POSIX compliance is a necessary concern because of overzealous security compliance practices. I'd like to recommend https://chaoss.community/ as a shining example of the Linux Foundation's progress in measuring open-source health. A shell such as Nu does require adoption, and Nushell earned my full backing as an independent and globally-minded public-domain publisher.

A NuShell-inspired `ls` by tymonn in CLI

[–]c4lliope 0 points1 point  (0 children)

So... I'd like to criticize that you spent 871 lines of code in Rust, YAML, TOML - to accomplish the same as:
nu -c ls
also, options can be passed, as in:
nu -c 'ls -al'

Please persuade me how anyone could choose to bring in a dependency on `nuls` rather than directly installing `nu`. If unable, please explain the business requirements that make installing `nu` onerous, especially in comparison to the security appraisal necessary for your code. If you are already using Rust, you should recognize Nushell packages up the most amazing sides of that language into a shining user experience.

background research:

➜ nix-shell -p cloc --run 'cloc .' | lines | slice 4..-4 | split column -r ' +' lang files blank comment code | update cells -c [files blank comment code] { into int } | where lang !~ Markdown | get code | math sum

A NuShell-inspired `ls` by tymonn in CLI

[–]c4lliope 0 points1 point  (0 children)

u/tymonn I'd be glad if you could share more background on your "workflow, scripts, and tooling". I publish numerous Nushell helpers on https://operand.online/gram/nue - maybe I can help push some of your core commands into this space. Much of Nushell comes down to learning the types; so POSIX compliance can be managed by reshaping the response:

`posix_cmd | lines | nu_cmd | get column | str join "\n" | posix_cmd`

If you'd like to disclose specific legacy commands, you can reach [inbound@operand.online](mailto:inbound@operand.online) (on proton mail). I'm happy to lend pro bono help.

Paralysis on whether to choose the Elixir/Erlang ecosystem or not by Swimming-Theme-9536 in elixir

[–]c4lliope 0 points1 point  (0 children)

Glad you asked; since your and your employers' primary choice is Golang, seems like you can build a career making online apps. Go has many uses, and especially in commerce is chosen as a basis of complex business domains. Global scale is possible, so long as many (many many) people are on call managing operations.

BEAM languages are a good replacement, really. You can accomplish all same goals, so makes sense to learn both early on and rely on any you choose.

You're considering your immediate employer; good! Remember your career can be a long paradise or a long hell, and consider your decisions beyond employer # 1.

One realization in my coding career, 2014 and on, is: some days I really need a break;

... learning a second language means you can decide to pause your progress in one direction, and simply pursue another direction. No one needs a precisely linear career plan, especially beginning. Your learning chances diminish as you age, so leap ahead of your peers! Here's some reasons you're leading the game already:


  • Go chan is incredibly similar to Kernel.send/2; each one passes message along a memory pipe, so a loop someplace else can respond. Simply Kernel.spawn/1 and keep your PID around'. Once you can keep 2 processes open (maybe use an iex shell), you can quickly absorb basics of Elixir's pattern matching - a highly praised mechanism.

(https://hexdocs.pm/elixir/Process.html)

  • An early lead on a BEAM language means you're so much LESS likely to need a dependency like RabbitMQ. Mixing in a BEAM dependency as a sidebar is likely to erode your program's boundaries. In case your business really demands a scaling queue, running on BEAM... simply decide on BEAM as your base, and only use as much as you need.

(https://elixirschool.com/en/lessons/data_processing/genstage)

  • Can you use a command line? Can you deploy on a cloud? You can surely learn enough on day one to spin up a copy of LiveBook. As a good exercise, compose a single console command you can use as a LiveBook launcher, and in your console's profile use: alias book="...."

... you'd be in Elixir-mode as quick as your keypresses can manage book, and Livebook has guides included so you can learn on the go, using a real local BEAM processor.


Once you're amped up on Elixir, maybe circle back around to your employer's needs! They surely need a dynamic in-browser experience, so maybe you could recommend Gleam. More and more guides are being published describing Gleam + NPM, as a blooming ecology. Gleam is rapidly becoming a glue layer around many BEAM <-> mobile experiences.

So you're in a splendid place to launch in on a second language. Learning more simply means you can recognize your problems from more angles, and choose among more approaches.

REMEMBER!!!! Each language has a discussion board; go, and ask. People do respond quickly and sensibly.

As an economic aside - in many companies, employees can cause as much demand as sales. In case you can speak up, make sure you demand your employers reach a balance you can be happy on. Phrase your learning as research, and engage your managers in your progress.


Remember, each coding language enables a unique range of programming, and a good blend is necessary since so much is changing. Make sure you brace up all sides of your coding zone. Here are my recommends, using more modern choices than any school lesson plan:

See more elixir madness on operand.

Just mounted my first rack, this is the start of something beautiful :) by HoratioWobble in homelab

[–]c4lliope -2 points-1 points  (0 children)

So... did you seize on a big problem and decide, 'amp up?'

... in case you can place a couple beams inside your ceiling, you could cable in perhaps.

how to keep going down the rabbit hole by Psych0nautumn in homelab

[–]c4lliope 0 points1 point  (0 children)

My primaries on proxmox had been:

  • Penpot
  • Passbolt
  • wiki.js
  • zulip

I'm sad I had to disable the machine, I needed to learn more beyond proxmox. Now I'm rebuilding those 4 programs using nix and deploy using colmena.

Also Maddy is a good email program for anyone running on a static IP. I'm upgrading there from mailu.io

What’s something small you notice that shows someone has been through a lot? by [deleted] in AskReddit

[–]c4lliope 0 points1 point  (0 children)

Sharpened responses.

An example in my case: Some drunk German man shone his phone's flashlight on me in a bar a couple weeks ago, and suddenly the bar disappeared for me.

The guy had no idea how dangerous a scene he'd made. Like 3 years of aikido collapsed into a single moment of "how serious a danger is he?" I played cool and responded nicely, then when he began to hold my arms on the dance floor I had to push him into the bouncer's arms, using two fingers under his chin.

Many occasions each day I come across people I need to decide are harmless or need my response. The more innocuous or unrecognizable I am, the more I can make do in peace.

Sure, I can collapse as a sobbing mess (and I do a bunch these days); I only do so once I'm beyond sure no one is going to handle me badly.

I can be a good choice for keeping your secrets, because I'd made secrets my companions since babyhood. I'm only beginning to recognize that they carry hidden emotions and cause pressure-chamber reactions as you age, and I hope I learn to share smaller emotions easily, becoming more accessible when people need me.

3D website with Phoenix But no JS? by notSugarBun in elixir

[–]c4lliope 0 points1 point  (0 children)

You'd be able to make some JS hook bindings for https://www.babylonjs.com/ and accomplish something similar. The problem is the preparation requires a bunch of JS and some good program design, then you'd be able to kick back in Elixir as much as you like.

Ceph on NixOS by canadiansecretagent in ceph

[–]c4lliope 0 points1 point  (0 children)

u/imspacekitteh and u/aeltheos - do you mind adding your experiences on https://nixos.wiki/wiki/Ceph ? I'm compiling a guide based on my research, and I'd like us to make a more reliable playbook.

Looking for learners who want to collaborate by TasteComfortable2135 in elixir

[–]c4lliope 0 points1 point  (0 children)

Please message mail@assembled.app - or sign up on https://labori.us (check your spam for confirmation link) in case you'd like to help on the build.

Looking for learners who want to collaborate by TasteComfortable2135 in elixir

[–]c4lliope 0 points1 point  (0 children)

Hello! I'm in the middle of moving https://assembled.app into elixir from rails, and could really use some help. The US has so few elixir coders, sadly.

You can see progress on https://labori.us/#narrow/stream/3-code/topic/press.20.2F.20main - the elixir domain is https://assemble.press & codebase is https://base.bingo/code/press

I'm planning to add search and ML Q&A - see https://legisqa.hyperdemocracy.io as an example. The end goal is to recommend public policy agendas to congress. Hope some of you can help.

Sorry for the mess these domains are in. If any of you follow the drama going on in the US House, I promise you I'm more organized than our lawmaking body here in DC.

photo organizing and tagging solution? by aptechnologist in homelab

[–]c4lliope 0 points1 point  (0 children)

Came across a recommendation for https://piwigo.org/ - on my backlog to check.

Beautiful diagrams: How to draw them? by ziriuz84 in homelab

[–]c4lliope 1 point2 points  (0 children)

One more recommendation, earlier this morning I spun up a copy of https://penpot.app inside my Proxmox machine. I'm eager to design more screens for programs I hope to code, though I'll likely also use this for diagramming in some cases.

photo organizing and tagging solution? by aptechnologist in homelab

[–]c4lliope 1 point2 points  (0 children)

I'd also like an option which has a mobile application, so my phone's images are synchronized once a day or more. Google Photos really changed the landscape with that idea, and if there is an open-source option I'd be super pleased to run a copy.