Email or username:

Password:

Forgot your password?
5 posts total
farcaller

Wouldn’t it be nice if there was a *nix shell based on a lisp that would also support paredit navigation. I feel I’m so much more efficient with cursor positioning and general editing in #clojure because it's AST-based, not word-based movement.

Rachel
You want to "wug" your way through the world of shells? A Lisp-based shell with Paredit goodness would be a beautiful thing! Can you imagine the delightful syntax highlighting and auto-completion for Clojure code?

I think we're on the same wavelength here - word-based movement can be so limiting. An AST-based editor like paredit would make coding in #clojure an absolute joy!

Now, if only someone out there was working on such a project... or maybe you could "wug" your own shell and share it with the world?
You want to "wug" your way through the world of shells? A Lisp-based shell with Paredit goodness would be a beautiful thing! Can you imagine the delightful syntax highlighting and auto-completion for Clojure code?

farcaller

I found a better use for a plane operator in #swift:

What do you expect "DUB" ✈ "ORD" does? Obviously, it returns a TimeInterval!

gist.github.com/farcaller/90ed

A screenshot of xcode showing how "DUB" ✈ "ORD" evals to 7:30h.
farcaller

One of my blog readers asks: "What I find really complicated is to really get into the network specifics like firewalls, routing, vlans" and looks for an advice on how to get started.

I think the best way to get into the networking tech is to figure how to make use of it in daily life. So let's unwrap this layer by layer.

You have a home LAN/homelab. There are different types of devices, e.g. your smartphone on the wifi, your guests' phones, your google home, your TV. What will it take to isolate them for extra security? You can start looking into VLANs (if you want to just try sending packets around gns3.com/ would be a good start). You still want this to be practical, so you set up the VLANs on your router, you set up different DHCP servers for every LAN, you maybe set up a dedicated VLAN for shared services like your pihole DNS. You figure out how to send your individual wifi clients to separate VLANs.

Now your local network is multiple networks (also horray, you're officially doing routing too, now). How to make it better? Firewall! Figure which packets flow where and how to stop them. You can do it on a linux box, you can do it with a routeros or IOS VM. Or OpenBSD. Whatever you find more fun. Figure how to monitor the traffic: wireshark, yeah, but how do you sniff from the router? See if you can set up netflow collections (elastiflow.com/ could be a free option) to log the traffic.

Congrats, now your thinking with portals^W traffic flows.

What's next? Fun routing. If you have a k8s cluster, try using a CNI that does "native routing". With cilium you could peer several clusters over BGP so that pods from one cluster could talk to another. Less practical here, more of a homelab stuff, but you hardly need a functioning BGP at home (unless you're doing crazy shit with assigning public IPv6 addresses to your smart power plugs, and even then).

How do you learn all that though? Now, this is a tough question. I don't remember how I learned it. It seems that I just knew the keywords and then I used google and worked up my notes. There are CCNA-prep courses on udemy which give you the basics of a whole bunch of networking things. I think the crucial bit, though, is to do three things:

1) find use cases for a tech you want to learn
2) implement them and learn from that
3) when it breaks, reevaluate and learn more.

One of my blog readers asks: "What I find really complicated is to really get into the network specifics like firewalls, routing, vlans" and looks for an advice on how to get started.

I think the best way to get into the networking tech is to figure how to make use of it in daily life. So let's unwrap this layer by layer.

farcaller

Well, maintaining nix packages is just easier than figuring how nix works :)

via lemmy.world/post/14252460

dot deb party:
anime girls sitting on a table in what seems to be classroom, and one of them looks a bit gloomy and labeled debian, and other don't have faces and labeled mx linux and lmde.

CLI party:
Gloomy anime girl looking a lot less calm and what seems to be stuffed toys near a table at the house, one has head laying on table, labeled "Gentoo: still compiling", girl is labeled "Arch: waiting for them" and other toy is somewhere on the floor labeled "NixOS: learning programming language to use system"

Underneath is a comment by "iopq", stating "Joke's on you, I don't understand Nix and I'm a NixOS package maintainer"
Tired Bunny :bunhdcomfysleep:
@farcaller

dot deb party:
anime girls sitting on a table in what seems to be classroom, and one of them looks a bit gloomy and labeled debian, and other don't have faces and labeled mx linux and lmde.

CLI party:
Gloomy anime girl looking a lot less calm and what seems to be stuffed toys near a table at the house, one has head laying on table, labeled "Gentoo: still compiling", girl is labeled "Arch: waiting for them" and other toy is somewhere on the floor labeled "NixOS: learning programming language to use system"
@farcaller

dot deb party:
anime girls sitting on a table in what seems to be classroom, and one of them looks a bit gloomy and labeled debian, and other don't have faces and labeled mx linux and lmde.
DELETED

@farcaller Ohh, that explains a lot :neocat_laugh_tears:

Go Up