rtxn

joined 2 years ago
MODERATOR OF
[–] rtxn@lemmy.world 2 points 7 hours ago* (last edited 6 hours ago) (1 children)

Simply dual-booting is viable. My Win10 + Arch worked well for over a year. If you're worried about Windows Update nuking the EFI partition, you can clone a backup of just that partition (dd or a dedicated tool like Clonezilla) that you can then restore from a live environment if needed. Another option, if the disk becomes unbootable, is to boot into a live environment from a USB stick and simply reinstall GRUB into the EFI partition.

(edit) It's also a good idea to reduce the frequency of forced updates. You can do that using WinUtil.

[–] rtxn@lemmy.world 1 points 8 hours ago* (last edited 8 hours ago)

Windows Update has a habit of eating the EFI partition. That's how I finally switched to full-time Linux. LTSC doesn't update as frequently as Win10 Pro, and probably doesn't touch the EFI partition as much, so there's a smaller chance for that to happen.

Dual-booting can work for years without issue. My method just ensures that Windows Update has absolutely zero chance to fuck with the ESP.

[–] rtxn@lemmy.world 11 points 8 hours ago

Why would I? They haven't broken any rules, and we haven't had a good troll post since Madthumbs left.

[–] rtxn@lemmy.world 45 points 12 hours ago
[–] rtxn@lemmy.world 95 points 12 hours ago (6 children)

Don't feed the troll.

This user has a history of bad faith arguments. Don't take the bait, no matter how delicious it looks.

[–] rtxn@lemmy.world 6 points 13 hours ago* (last edited 13 hours ago) (1 children)

If you have IPv4 addresses, I guarantee you're behind at least one NAT gateway. What you need is a Tailscale subnet router, or something equivalent from another service.

In the most basic configuration, the Tailscale client facilitates communication (by using some UDP black magic fuckery) between one host it is running on and another host it is running on that are both connected to the same tailnet (the virtual network between Tailscale hosts). For this purpose, it uses addresses from the 100.64.0.0/10 "shared address space" subnet. These addresses will only be reachable from within your tailnet.

If you want an entire subnet (e.g. your LAN) to be accessible within your tailnet, you need to set up a subnet router. This involves configuring the Tailscale client on a device within the target subnet to advertise routes (tailscale set --advertise-routes=192.168.1.0/24), allowing the host to advertise routes in the admin page (Machines -> ... -> Edit routes), and configuring the Tailscale client on external hosts to accept advertised routes (tailscale set --accept-routes).

If you want your servers to be accessible from anywhere on the internet, you'll need Tailscale Funnel. I don't use it personally, but it seems to work. Make sure you understand the risks and challenges involved with exposing a service to the public if you want to choose this route.

[–] rtxn@lemmy.world 5 points 15 hours ago

The "before" is me in 2021 when I first experienced KDE Plasma's customizability.

The "after" is me today, suffering with QML and Javascript because I must create my perfect Quickshell or I will fucking die.

[–] rtxn@lemmy.world 10 points 1 day ago* (last edited 1 day ago) (5 children)

You need two separate SSDs. One for Linux, one for Windows.

  • Install Linux on SSD-A. Make sure it has an EFI system partition with a bootloader in it (GRUB, systemd-boot, REFInd), don't use an efistub. If the installer is done, disconnect the SSD to be safe.
  • Install Windows on SSD-B with the desired updates. It will create its own EFI partition.
    • Optionally, you can create a separate NTFS volume for your C:\Users so you don't have to mount the entire system on Linux if you need to access your files.
  • Boot into Windows. Use a tool to completely disable the updates. I use WinUtil by Chris Titus.
  • Reconnect SSD-A.
  • Boot and enter the firmware configuration. In the boot device list, make sure SSD-A has a much higher priority than SSD-B! You can even remove SSD-B from the bootable devices.
  • Boot into Linux. In the bootloader configuration, create an entry that targets the Windows C: volume on SSD-B.
    • Alternatively, you can just use the firmware's boot menu to boot from SSD-B.

Done. If you need to update Windows, physically disconnect SSD-A and boot from SSD-B.

[–] rtxn@lemmy.world 11 points 1 day ago* (last edited 1 day ago) (1 children)

Firefox isn't used by the "general public". The general public doesn't give a shit about open-source or which corporate logo is stamped on their copy of Chromium. Many won't even look past Edge, and the rest will likely use Chrome because everyone does already.

No, Firefox is used by the enthusiasts who care about not using Chromium; about actively choosing control over convenience. Now Mozilla Corp is pissing off that same audience by doing what Google does -- shoving AI up everything. To date, every decision regarding AI has met with pushback from their own userbase. Being the lesser evil does not grant them a free pass for every boneheaded decision.

If they need cash, they can fire that fuckwit of a CEO, roll the savings back into their engineers and products, and go on a funding campaign promising to actually improve their products like Mozilla ~~Org~~ Foundation did with Thunderbird.

[–] rtxn@lemmy.world 44 points 1 day ago* (last edited 1 day ago) (13 children)

So why is Mozilla shoving AI garbage nobody asked for into Firefox? I seriously doubt that their severely overpaid execs don't have some kind of profit incentive.

 

I've found the solution, and it's exactly as stupid and obvious as I was expecting.

The classroom computers were deployed using Clonezilla from an image that had the VirtualBox VM pre-configured. As a result of this, every VM had the same MAC address, which probably caused a lot of ARP collisions, since all the hosts and VMs were essentially on the same broadcast domain.

The solution was to simply randomize each VM's MAC address. After that, ICMP, SSH, and HTTP worked as expected. Thanks for the suggestions, but it was caused by my own oversight in the end.

(edit) I got around to reading the comments just now, @maxy@piefed.social was totally correct.


I know this isn't "selfhosting" as most people imagine it, but it is about hosting services on own hardware, hence why I'm posting in this community.

I'm supposed to help a teacher set up a networking exercise where pairs of computers are connected directly on a crossover cable and can access services (echo, HTTP, SSH, FTP) on each other. Every computer is identical: Windows 10 host, one VirtualBox VM running Linux Mint with a bridged adapter in promiscuous mode. Each host and VM has its own static link-local IP address.

The problem is, the VMs can't talk to each other, and I don't know why.

From one VM, I can ping itself, its host, and the remote host, but not the remote VM. Each host can ping itself, the local VM, the remote host, but not the remote VM. I've tried connecting both hosts to a layer-2 switch, with the same result.

Can someone point me at the one thing that I'm obviously doing wrong?

(edit) I've also tried to set the default gateway to the host's, remote host's, and remote VM's address, but nothing changed.


Running Linux on metal isn't an option. In the past, the classroom computers used to dual boot Windows and Ubuntu, but the Windows install got so bloated (the software too, not just Windows) that it needs the full SSD.

 

An interesting and important look at the development of Factorio's Linux-native port from an actual developer: the platform in general, Wayland, GNOME's bullshit, and dependencies.

 

35000 power-on hours. SMART still reports it as OK.

Time to figure out how to rebuild a RAID 5 array. The other two drives are probably nearly cooked too, but I have plenty of spares that I got for free.

 

Somebody accidentally deleted most of the system. There were no executables for any shells, text editors, or utilities. All they had was a single terminal that was still logged in as root. I think they had to manually type in some executable's machine code and echo it into a file.

 

I've been reading a lot about massive stellar objects, degenerate matter, and how the Pauli exclusion principle works at that scale. One thing I don't understand is what it means for two particles to occupy the same quantum state, or what a quantum state really is.

My background in computers probably isn't helping either. When I think of what "state" means, I imagine a class or a structure. It has a spin field, an energy_level field, and whatever else is required by the model. Two such instances would be indistinguishable if all of their properties were equal. Is this in any way relevant to what a quantum state is, or should I completely abandon this idea?

How many properties does it take to describe, for example, an electron? What kind of precision does it take to tell whether the two states are identical?

Is it even possible to explain it in an intuitive manner?

13
This may be useful. (lemmy.world)
submitted 6 months ago* (last edited 6 months ago) by rtxn@lemmy.world to c/assholedesign@lemmy.world
 

I'm getting this error that says Error. I can't tell if I fat-fingered the community name in the URL, or it got removed, or it doesn't exist in the first place, or maybe there's a legitimate issue with the software, but I hope it's useful!

I need to clarify because some people apparently never encountered the error page: it used to show the actual error. It was later changed to not do that.

(apologies for the atrocious aspect ratio)

 

Minecraft and Factorio ain't shit next to Conway's Game Of Life.

332
submitted 9 months ago* (last edited 9 months ago) by rtxn@lemmy.world to c/linuxmemes@lemmy.world
 

Low effort meme while flatpak update finishes.

I understand why having eight very specific versions of the same library is important. Doesn't mean it isn't annoying.

TranscriptFLATPAK EMPLOYEE: what would u like?
ME: one flatpak update please
FPE: so u want "a whole bag of updates?"
ME: no, just a "flatp-"
FPE: I definitely heard "more updates than u could ever handle"
ME: please, no--
FPE: JERRY, FOIST UPON THIS MAN "A FUCKASS LOAD AMOUNT OF UPDATES"

 

This image is no longer available on nasa.gov.

 

It's a Creative Zen Stone that I got as a Christmas gift in 2008. I just found it in a drawer, and it's still holding charge. The last thing I put on it was The Life And Times Of Scrooge by Tuomas Holopainen, in 2015 -- I don't know why, at that time I definitely had a smartphone.

It has a headphone jack, which immediately makes it better than every smartphone produced in the last several years, and it can easily drive my 80-ohm Beyerdynamic. The audio quality is as good as one can expect. The only drawback is that it only holds 1GB... my old CD rips had to be compressed to hell and back.

Let me reiterate that this has been sitting untouched for a decade and was immediately ready for action. No login, no annoying software updates, expired subscription, or remote bricking by the manufacturer. Eat my shorts, Spotify Car Thing.

P.s. A Lifetime Of Adventure is a banger. https://www.youtube.com/watch?v=JWwSVOo5K_k

10
My Deer Friend Bajirao (www.youtube.com)
submitted 10 months ago* (last edited 10 months ago) by rtxn@lemmy.world to c/nokotan@ani.social
 

LED lights are great, but I miss having a mini hot plate on my desk to mindlessly touch and burn my hand.

(Do kids even watch cartoons these days, or do they go into scrolling withdrawal before the first commercial break?)

view more: next ›