We had a short course on VB.net in Uni but since all our machines ran *nix they translated the material to use Mono and the IDE was MonoDevelop back in '13.
Edit: I think it might've been C# development and we used Gtk# within the projects for the UI toolkit
There's a demo that utilizes libaa, binary is called bb or bb_demo (lol, get it?) and its actually really good.
Its probably a standalone package or you can lookup youtube for it and its pretty amazing.
Then there's libcaca that extends upon aa to render colored images on the terminal. I know of mplayer that supports playing movies on the terminal using the video output driver flag:
As someone who likes to open a lot of windows for editing code, chat, debuggers, terminals, monitoring dashboards at the same time I really appreciate that tiling window managers allow me to reorganise these windows in near constant time.
Any windowing operation to move between/swap positions/push off to a different screen or workspace is always one hotkey away if not for two. This really tickles my brain that I don't have to reach to the nearest mouse or trackpad to do these operations which seems slower than what I'm now used to.
But if my workflow was minimal with just a couple of windowed/fullscreen apps then I probably wouldn't bother with this.
This works smooth because the entire drive image is cloned to the new one. I always did this via live usb when upgrading family laptops from HDD to SSD. No need of any other special piece of software except dd.
So true, I have used linux-zfs for a few years and the longest lag I think was when Linux 5.0 dropped some primitives that openzfs had to work around.
But for the unfortunate folk who upgraded during the lag and don't know what to do, where to seek help, or don't know how to help themselves. Most of the complaints come from them saying "the OS should've known better" and move on to something else while badmouthing arch ๐
Edit: Maybe I should've said 1) those who use out of tree modules ..... and then complain about it
I think that the people who say arch breaks a lot fall into either of the two camps:
Those who use out-of-tree Linux kernel modules still want bleeding edge kernels (nvidia driver users, ZFS users). LTS kernel is meant for this and idk why people dont just use those.
Those who ignore doing full system updates and update only one or two core packages at a time. This breaks the dependent versions and everything goes for a toss.
In my 7 years of "I run arch btw", it has broken itself just a few times (mostly due to half-updates and Pacman borking itself). This was easily resolvable by either not being stupid and running (Pacman -Syu) religiously; or during the Gnome's Xorg to Wayland transition saga, none of which I can blame arch for.
You'll be fine, archwiki is your friend, archforum/subreddit is your spouse.
You ought to be mounting sda1 (partition) and not sda (the entire drive with gpt headers): mount /dev/sda1 /mnt/plex
Also I'm not sure what filesystem you have formatted that sda1 partition in (maybe ex-fat/ntfs, you might end up needing an extra package called ntfs-3g for mounting/writing to ntfs drives)
That's half way towards the solution. Now in Network Manager you can edit the IPv4 config for your connection and set the IP to static and enter the same one you reserved for the machine on the router.
Edit: Why this is important is that it does not wait for the link to come up, send a DHCP request, wait for response and then set the same IP on the interface before continuing
If Ethernet then consider skipping DHCP and setting a static IP. It's known to save a second or two.
Additionally it is possible to remove the dependency on Network Manager wait-online service so that it starts up in parallel instead of keeping rest of the services on hold. Have to read the systemd service manual page to figure out how to do that myself though.
I'm not on PopOS so I am not sure. I have experience with elementary OS, (force-)opening the Flatpak file with the Store app will show options to install it.
Three of the most minimalist terminals I could remember using are:
urxvt (a.k.a rxvt-unicode)
alacritty (graphics accelerated terminal)
st (suckless terminal)
The shell that you've been using was bash. Most people are fine with this, other popular ones are:
zsh (z shell, more features? Not sure myself)
fish (friendly, supports autosuggest, color coding, etc pretty nice for new users)
Most systems come with bash these days, can't go wrong learning this. Also, there are a lot of terminal apps -- use whichever fits you - some are tabbed / tiled / support blurred backgrounds / themed or in any combinations of these but the shell app you'll be running will be the same: bash/zsh/fish/...
I guess this effort would tie into the standardization of preboot environments. I'm using Plymouth for the splash screen, and I'd reckon their developers had an easier time just waiting on the encrypt/fsck/mount targets to trigger and they would show appropriate things on the screen.
You can look into the systemd hooks in mkinitcpio. Instead of starting busybox, udev and shell scripts to do proper userspacey stuff - detecting disks, decryption passphrase prompts, mounts, etc - you can have an early systemd in there that handles all these actions via unit definitions.
I'm not sure about any guides, but its a relatively simple operation (in theory). The gist of it is, you start by manually creating partitions you need, move all your OS+user data there, then go on setting up fstab properly and reconfiguring/reinstalling the bootloader. The new system should come up without a hitch, and if things are misconfigured you can still use the old bootloader entries to go back and fix things until it works; and wipe/repurpose the old system partitions for other stuff.
From a live-usb environment you can perform the following:
Setup your partitions on /dev/sdb and format them with appropriate filesystems. I'll go with your proposed partition layout.
Mount /dev/sda3 in /mnt/oldroot and then /dev/sda1 in /mnt/oldroot/boot/efi, both with mount -o ro flag (readonly, thank me later ;)
Mount /dev/sdb2 in /mnt/newroot, and /dev/sdb1 in /mnt/boot/boot/efi. If I've missed any other partitions you might have do the same with them.
Copy everything from old to new, cp --archive --recursive /mnt/oldroot /mnt/newroot
Unmount /mnt/oldroot, dont need that anymore
Update /mnt/newroot/etc/fstab file
Might want to arch-chroot and reinstall grub as in archwiki
Reboot into new setup
Once in new system, verify with mount/df if you're good and then start wiping the old drives
There are a lot of options to achieve this and would probably require some thinking through. These techniques will depend on what setup you have and additional info about your setup will help narrow down choices, such as:
Bootloader in use
How big your root partition is
Are you using any exotic filesystems (btrfs/zfs?)
Are you using LVM
A couple of options i can think of from the top of my head are:
Move your installation to the SSD: This means you should partition the SSD in a similar way as it exists on the HDD (for /boot/EFI, rootfs, etc). Recommend booting into some live environment, copy off all your OS directories into the appropriate SSD partitions. Before rebooting, make sure to update /etc/fstab (on the SSD), edit the kernel options in the bootloader to use the new SSD partitions, set the new bootloader (if you're moving that as well) to be the active one, and that should be it.
[LVM] Move the LV to new disk: You would have to add the SSD to your VG, then initiate a PV move (pvmove) to migrate your OS LV to the SSD. If your distro is installed in /dev/pool/arch then the command would be pvmove -n /dev/pool/arch /dev/slow /dev/fast. This should succeed as long as SSD has the space to accomodate the entire LV, would have to look into this situation closely otherwise.
[LVM] Lazy method - Using the SSD as cache. This would include adding the SSD to your VG (duh), creating a large-ish LV on it and running lvconvert --type cache --cachemode writethrough --cachepool pool/caching-lv-on-ssd pool/arch. This would cache all read requests on the SSD LV, any writes would go to both. Advantage is that this would free you from deciding what data needs to be on fast/slow drives. If you favor performance then you can look at other cachemodes. This works out better if you have one large LV where all your data is stored, and a smaller SSD
IMHO the solution by u/Fearless_Process is one I wholeheartedly recommend.
However if you want a web UI to start/stop your process then supervisord offers one, can trail the logs from the browser and configure auto restart as well in the conf
As to where to put your projects, can be anywhere.
/opt/myproject is one place that would seem appropriate.
Alternatively if you could make a python package out of your project then having it in site-packages would mean you can invoke it with python-m myproject from anywhere in the system.
Bad sector on my laptop's hard drive happened to contain, atleast a part of, a very important file... libssl.so (I know, what are the chances!)
Everything failed to start if I remember correctly after the TTY login. No curl, no pacman, no ssh. The system would hang, hangcheck timers would go off, utilities depending on it would segfault.
Not checking dmesg left me spending a good hour browsing forums to see if anyone else had issues assuming that the last Pacman -Syu had gone bad. Eventually dmesg showed the media errors and it was clear which file it was talking about and then it made sense.
Fortunately I keep a 2GB partition on my disk with archlive as a recovery environment. Booted into that, mounted rootfs, deleted the file, ran fsck, badblocks, restored libssl from online pacman archives and then it was all good.
I still wonder to this day what were the chances of that ever happening again on other devices.
Its a desktop app you download and run. Opensource and you can install/auth on howmanyever machines you have
We had a short course on VB.net in Uni but since all our machines ran *nix they translated the material to use Mono and the IDE was MonoDevelop back in '13.
Edit: I think it might've been C# development and we used Gtk# within the projects for the UI toolkit
These days it's all spotify this and electron app that, but back in the day i remember using these:
I used to keep cmatrix running on a second monitor to turn heads at the office sometimes
There's a demo that utilizes libaa, binary is called bb or bb_demo (lol, get it?) and its actually really good.
Its probably a standalone package or you can lookup youtube for it and its pretty amazing.
Then there's libcaca that extends upon aa to render colored images on the terminal. I know of mplayer that supports playing movies on the terminal using the video output driver flag:
As someone who likes to open a lot of windows for editing code, chat, debuggers, terminals, monitoring dashboards at the same time I really appreciate that tiling window managers allow me to reorganise these windows in near constant time.
Any windowing operation to move between/swap positions/push off to a different screen or workspace is always one hotkey away if not for two. This really tickles my brain that I don't have to reach to the nearest mouse or trackpad to do these operations which seems slower than what I'm now used to.
But if my workflow was minimal with just a couple of windowed/fullscreen apps then I probably wouldn't bother with this.
This works smooth because the entire drive image is cloned to the new one. I always did this via live usb when upgrading family laptops from HDD to SSD. No need of any other special piece of software except dd.
So true, I have used linux-zfs for a few years and the longest lag I think was when Linux 5.0 dropped some primitives that openzfs had to work around.
But for the unfortunate folk who upgraded during the lag and don't know what to do, where to seek help, or don't know how to help themselves. Most of the complaints come from them saying "the OS should've known better" and move on to something else while badmouthing arch ๐
Edit: Maybe I should've said 1) those who use out of tree modules ..... and then complain about it
I think that the people who say arch breaks a lot fall into either of the two camps:
Those who use out-of-tree Linux kernel modules still want bleeding edge kernels (nvidia driver users, ZFS users). LTS kernel is meant for this and idk why people dont just use those.
Those who ignore doing full system updates and update only one or two core packages at a time. This breaks the dependent versions and everything goes for a toss.
In my 7 years of "I run arch btw", it has broken itself just a few times (mostly due to half-updates and Pacman borking itself). This was easily resolvable by either not being stupid and running (Pacman -Syu) religiously; or during the Gnome's Xorg to Wayland transition saga, none of which I can blame arch for.
You'll be fine, archwiki is your friend, archforum/subreddit is your spouse.
You ought to be mounting sda1 (partition) and not sda (the entire drive with gpt headers):
mount /dev/sda1 /mnt/plexAlso I'm not sure what filesystem you have formatted that sda1 partition in (maybe ex-fat/ntfs, you might end up needing an extra package called ntfs-3g for mounting/writing to ntfs drives)
That's half way towards the solution. Now in Network Manager you can edit the IPv4 config for your connection and set the IP to static and enter the same one you reserved for the machine on the router.
Edit: Why this is important is that it does not wait for the link to come up, send a DHCP request, wait for response and then set the same IP on the interface before continuing
If Ethernet then consider skipping DHCP and setting a static IP. It's known to save a second or two.
Additionally it is possible to remove the dependency on Network Manager wait-online service so that it starts up in parallel instead of keeping rest of the services on hold. Have to read the systemd service manual page to figure out how to do that myself though.
I'm not on PopOS so I am not sure. I have experience with elementary OS, (force-)opening the Flatpak file with the Store app will show options to install it.
Apparently this page also says Flatpak is installed by default and prompts to use the Pop Shop to install images.
https://flatpak.org/setup/Pop!_OS/
This isn't recommend but if you trust the source where you got the Flatpak file from you can install it manually with this command
flatpak --user install ./LibreWolf-*.flatpakThree of the most minimalist terminals I could remember using are:
The shell that you've been using was bash. Most people are fine with this, other popular ones are:
Most systems come with bash these days, can't go wrong learning this. Also, there are a lot of terminal apps -- use whichever fits you - some are tabbed / tiled / support blurred backgrounds / themed or in any combinations of these but the shell app you'll be running will be the same: bash/zsh/fish/...
I guess this effort would tie into the standardization of preboot environments. I'm using Plymouth for the splash screen, and I'd reckon their developers had an easier time just waiting on the encrypt/fsck/mount targets to trigger and they would show appropriate things on the screen.
You can look into the systemd hooks in mkinitcpio. Instead of starting busybox, udev and shell scripts to do proper userspacey stuff - detecting disks, decryption passphrase prompts, mounts, etc - you can have an early systemd in there that handles all these actions via unit definitions.
Same, went to the extent of also using:
Yes you could if you're planning to copy everything in one step, updated my post regarding the same
Yes you are right sorry about the mix-up.
Verify with
efibootmgr -vabout what is setup to boot. Your UEFI startup selection menu would also list booting either of them.If you are sure that you have booted into the right setup, you can delete the older partitions from there.
I'm not sure about any guides, but its a relatively simple operation (in theory). The gist of it is, you start by manually creating partitions you need, move all your OS+user data there, then go on setting up fstab properly and reconfiguring/reinstalling the bootloader. The new system should come up without a hitch, and if things are misconfigured you can still use the old bootloader entries to go back and fix things until it works; and wipe/repurpose the old system partitions for other stuff.
From a live-usb environment you can perform the following:
mount -o roflag (readonly, thank me later ;)cp --archive --recursive /mnt/oldroot /mnt/newroot/mnt/oldroot, dont need that anymorearch-chrootand reinstall grub as in archwikiEdited: added about /mnt/newroot/boot/efi
There are a lot of options to achieve this and would probably require some thinking through. These techniques will depend on what setup you have and additional info about your setup will help narrow down choices, such as:
A couple of options i can think of from the top of my head are:
pvmove) to migrate your OS LV to the SSD. If your distro is installed in/dev/pool/archthen the command would bepvmove -n /dev/pool/arch /dev/slow /dev/fast. This should succeed as long as SSD has the space to accomodate the entire LV, would have to look into this situation closely otherwise.lvconvert --type cache --cachemode writethrough --cachepool pool/caching-lv-on-ssd pool/arch. This would cache all read requests on the SSD LV, any writes would go to both. Advantage is that this would free you from deciding what data needs to be on fast/slow drives. If you favor performance then you can look at other cachemodes. This works out better if you have one large LV where all your data is stored, and a smaller SSDIMHO the solution by u/Fearless_Process is one I wholeheartedly recommend.
However if you want a web UI to start/stop your process then supervisord offers one, can trail the logs from the browser and configure auto restart as well in the conf
As to where to put your projects, can be anywhere. /opt/myproject is one place that would seem appropriate. Alternatively if you could make a python package out of your project then having it in site-packages would mean you can invoke it with
python-m myprojectfrom anywhere in the system.If you have an 8th generation CPU or newer you could virtualize your igpu and pass that into the VM.
https://wiki.archlinux.org/index.php/Intel_GVT-g
Bad sector on my laptop's hard drive happened to contain, atleast a part of, a very important file... libssl.so (I know, what are the chances!)
Everything failed to start if I remember correctly after the TTY login. No curl, no pacman, no ssh. The system would hang, hangcheck timers would go off, utilities depending on it would segfault.
Not checking dmesg left me spending a good hour browsing forums to see if anyone else had issues assuming that the last Pacman -Syu had gone bad. Eventually dmesg showed the media errors and it was clear which file it was talking about and then it made sense.
Fortunately I keep a 2GB partition on my disk with archlive as a recovery environment. Booted into that, mounted rootfs, deleted the file, ran fsck, badblocks, restored libssl from online pacman archives and then it was all good.
I still wonder to this day what were the chances of that ever happening again on other devices.