I think learning how to make packages for package managers is also becoming less popular :(
Even learning how to do the simplest thing possible that is easy to package by anybody - something like a tarball or zip - is becoming less popular :(
I think learning how to make packages for package managers is also becoming less popular :(
Even learning how to do the simplest thing possible that is easy to package by anybody - something like a tarball or zip - is becoming less popular :(
Hey no problem :) I totally understand and read through the linked README. FWIW I find the fact that Lemmy is in Rust, pretty… tricky. Getting Lemmy to run on my OpenBSD server started with a couple of crazy segfaults!
Time to turn your laptop into a router!
Let’s say you’ve got 2 network interfaces on your laptop, eth0
and wifi0
.
wifi0
is joined to your university WiFi as normal.
Connect your iPad to your laptop via ethernet (with a USB-C adapter).
iPad -> usb-c-ethernet -> eth0
wifi0 -> internet
Rather than setting up a DHCP server or IPv6 stuff, I’d just configure the wired interfaces manually. Let’s use the network 192.168.69.0/24. Laptop will be 192.168.69.1, iPad will be at 192.168.69.2. On the laptop:
ip addr add 192.168.69.1/24 dev eth0
On your iPad, go to Settings -> Ethernet:
Curious to see if that works.
We haven’t set up DNS or DHCP or done any sysctl
for IP forwarding or any nftables.
How can we test if it works? We can set up a TCP listener using nc(1) on the laptop that the iPad’s web browser could hit. On the laptop:
nc -l 8080
On your iPad, open Safari and browse to http://192.168.69.1:8080
Curious to see if that all works!
See also:
You may be able to run a torrent client on the NAS?
I don’t know about other people, but I find these comments noisy. I’d rather just see replies to the post from actual people.
Haha no worries mate I totally get you. One of the best things about LLMs when I’ve played with them is it exercises my ability to write questions and requirements
Let’s say a function, about 20 lines. Something too small to warrant an external dependency but tricky enough that you don’t want to keep rewriting it.
I have things like a function to read through a file of newline delimited text of key-value pairs separated by whitespace. It skips comments (lines beginning with “#”), and returns the pairs. I’m happy to do a little copying instead of having a little dependency.
Alpine Linux might be good, too. It’s different. But that makes it a great exercise. See https://drewdevault.com/2021/05/06/Praise-for-Alpine-Linux.html
I mean, I get it. But… damn… can you imagine the relative computing power required to read a text file versus asking a LLM to generate that same text?
I got a T480s for approx. 350USD. Battery life is fine and parts are cheap. Can’t really fault it… I guess the screen could be brighter? Great little machine.
Sorry guys I’m out of the loop - could someone explain this?