Skip Navigation
SpaceCadet DefederateLemmyMl @feddit.nl
  • Gen๐•
  • Engineer โš™
  • Techie ๐Ÿ’ป
  • Linux user ๐Ÿง
  • Ukraine supporter ๐Ÿ‡บ๐Ÿ‡ฆ
  • Pro science ๐Ÿ’‰
  • Dutch speaker !
Posts 2
Comments 395
Microsoft Edge nags users with a 3D banner to change Windows 11's default browser
  • Slashdot still exists, but it was mostly popular in the late 90s to mid 2000s.

  • Microsoft Edge nags users with a 3D banner to change Windows 11's default browser
  • I mean, he was still reading Slashdot, so I guess "yes"

  • It's easier to remember the IPs of good DNSes, too.
  • We are talking about addresses, not counters. An inherently hierarchical one at that. If you donโ€™t use the bits you are actually wasting them.

    Bullshit.

    I have a 64-bit computer, it can address up to 18.4 exabytes, but my computer only has 32GB, so I will never use the vast majority that address space. Am I "wasting" it?

    All the 128 bits are used in IPv6. ;)

    Yes they are all "used" but you don't need them. We are not using 2^128 ip addresses in the world. In your own terminology: you are using 4 registers for a 2 register problem. That is much more wasteful in terms of hardware than using 40 bits to represent an ip address and wasting 24 bits.

  • It's easier to remember the IPs of good DNSes, too.
  • you are wasting 24 bits of a 64-bit register

    You're not "wasting" them if you just don't need the extra bits, Are you wasting a 32-bit integer if your program only ever counts up to 1000000?

    Even so when you do start to need them, you can gradually make the other bits available in the form of more octets. Like you can just define it as a.b.c.d.e = 0.a.b.c.d.e = 0.0.a.b.c.d.e = 0.0.0.a.b.c.d.e

    Recall that IPv6 came out just a year before the Nintendo 64

    If you're worried about wasting registers it makes even less sense to switch from a 32-bit addressing space to a 128-bit one in one go.

    Anyway, your explanation is a perfect example of "second system effect" at work. You get all caught up in the mistakes of the first system, in casu the lack of addressing bits, and then you go all out to correct those mistakes for your second system, giving it all the bits humanity could ever need before the heat death of the universe, while ignoring the real world implications of your choices. And now you are surprised that nobody wants to use your 128-bit abomination.

  • Is there a way to keep Linux responsive when at ~100% CPU usage?
  • Hmm, I can't say that I've ever noticed this. I have a 3950x 16-core CPU and I often do video re-encoding with ffmpeg on all cores, and occasionally compile software on all cores too. I don't notice it in the GUI's responsiveness at all.

    Are you absolutely sure it's not I/O related? A compile is usually doing a lot of random IO as well. What kind of drive are you running this on? Is it the same drive as your home directory is on?

    Way back when I still had a much weaker 4-core CPU I had issues with window and mouse lagging when running certain heavy jobs as well, and it turned out that using ionice helped me a lot more than using nice.

    I also remember that fairly recently there was a KDE/plasma stutter bug due to it reading from ~/.cache constantly. Brodie Robertson talked about it: https://www.youtube.com/watch?v=sCoioLCT5_o

  • It's easier to remember the IPs of good DNSes, too.
  • IPv6 = second system effect. It's way too complicated for what was needed and this complexity hinders its adoption. We don't need 100 ip addresses for every atom on the earth's surface and we never will.

    They should have just added an octet to IPv4 and be done with it.

  • xkcd #2948: Electric vs Gas
  • At a stretch, I guess you could say that a battery that's going bad doesn't make a sound.

    But yes, electric motors are way more reliable than internal combustion engines and objectively superior. You would never use an ICE over an EE for any application where you have a reliable supply of electricity.

  • xkcd #2948: Electric vs Gas
  • you just need to get in the habit of plugging in like you would your phone

    Yeah but not everyone lives in suburbia with ample plug-in options available to them. Where I live the street-side charging spots are usually occupied, and the parking spot that I rent has no charging.

    For journeyโ€™s long enough for it to be more than a single charge you really should be stopping for more than a few seconds anyway as you need recharging.

    True to some extent, I have to check my travel logs but I do feel like stopping for an hour every 300km or so is longer and much more often than I would normally stop on long road trips. My (diesel) car has a range of well over 1000km so often I stop for only 15 minutes for a coffee and to stretch my legs, or just for a restroom stop and a driver swap. We usually plan just one big stop (1h) for dinner. Most destinations I've been to I could reach without refueling at all.

    There's also the issue of contention for charging spots. On gas stations near the big highways towards popular destinations you often already have to queue to get gas. This will become worse when EVs become common place and people occupy a charging spot for an hour instead of a fuel pump for 30 seconds to top up.

    Little anecdote: every year around the holiday season, there are several company wide e-mails from EV driving co-workers requesting to swap cars (with a co-worker who has a CE car) to go on holiday. So I think the practical experience may not be as rosy as you paint it.

  • Here's what's happening to ad blockers in Google Chrome (and other browsers)
  • I run a pihole as well, but it is a very rudimentary tool compared to browser based adblockers like uBlock origin. It can only block DNS queries, and can't for example block ads if they are served from the same domain as the main site (i.e. youtube) or block specific elements on a page or block a specific script from running.

  • Jenkins.
  • only this time theyโ€™ve got a decade of research behind them and maybe they get the bomb first

    Maybe that's why we're living in the universe where this didn't happen, because in the universe where it did, we wouldn't exist (many worlds/anthropic principle interpretation)

  • How One Chinese EV Company Made Battery Swapping Work
  • Ah, so youโ€™re wanting to transport tons and tons of batteries back to a centralized facility to be inspected and have testing done?

    No, that's just something new you invented to shoot down the idea.

    Batteries can have a tamperproof seal so that customers can't easily mess with it, just like you normally don't mess with the electricity, gas or water meter in your home. QC and charging can be done on site where you swap, and can mostly be automated. The only thing that needs to be transported back and forth regularly are defective and replacement batteries. Just like gas stations at the end of the day or week need to order replenishment for the fuel they've dispensed.

    We already do this kind of swapping with other stuff as well: from crates with empty beer bottles and office water cooler bottles to refilling propane and butane bottles.

    Itโ€™s not a gov problem, itโ€™s a logistics issue.

    1. The lack of government oversight that you brought up, and which this was in reply to, is literally a government issue. Regulation and inspection works fine in most of the civilized world, the fact that it doesn't in Backwater USA is no argument.

    2. Fossil fuel distribution already is a huge logistics issue, we have to dig it up in the middle east, transport it in oil tankers, refine it at some central locations, then distribute it again with tanker trucks to millions of gas stations so that finally you can put it in your car and use it to drive somewhere, but somehow we have been making that work for over a century.

  • How One Chinese EV Company Made Battery Swapping Work
  • Quality control on batteries that go out to customers, and make the stations legally liable.

    For example: I once pumped petrol in my diesel car due to human error by the gas station's supply company (they put petrol in the diesel tanks). They found out about the error as I was filling up and stopped me halfway, so luckily I had no engine damage, but they had to pay for the tow and to get my tank emptied.

    how many states with counties have no inspections

    Sounds more like a "your government is shit" problem than a "this scheme can't work" problem.

  • How One Chinese EV Company Made Battery Swapping Work
  • Battery swapping sounds great, until you put it into a real world scenario.

    Government regulation and standardization is the answer.

    You know, like fossil fuels also are. For example fuelpumps have to be legally calibrated so that they measure accurately, and there are a myriad of quality standards and ratings regarding what 98 octane or 95 octane or diesel fuel or whatever can contain.

  • I did shave them.
  • Of course, my comment was mostly intended humorously.

    At the same time, social norms and customs do exist and while anyone is free to ignore them, I was also curious if it had become common for men to shave their legs when wearing shorts.

  • I did shave them.
  • A... are you all women? Or are men like supposed to shave their legs too and somebody forgot to tell me?

  • Anon reflects on e-sports
  • No idea why 60 Hz on an LCD works better, though.

    Because LCD pixels are constantly lit up by a backlight. They don't start to dim in between refresh cycles. They may take some time to change from one state to another, but that is perceived as ghosting, not flickering.

    On a CRT the phosporus dots are periodically lit up (or "refreshed") by an electron beam, and then start to dim afterwards. So the lower the refresh rate, the more time they have to dim in between strobes. On low refresh rates this is perceived as flickering. On higher refresh rates, the dots don't have enough time to noticably dim, so this is perceived as a more stable image. 60Hz happens to the refresh rate where this flicker effect becomes quite noticable to the human eye.

  • Is Lemmy.ml missing from the fediverse explorer?
  • Where did I say that censorship does not happen?

    You didn't, I got your comment mixed up with what someone else said on another comment chain, and I apologize.

  • Is Lemmy.ml missing from the fediverse explorer?
  • I am one of the victims of the censorship you say doesn't happen, so I am banned on lemmy.ml for making a comment about the Tiananmen Square massacre.

    replied to the wrong comment

  • Is Lemmy.ml missing from the fediverse explorer?
  • Those communities should be urged to move away from lemmy.ml.

  • Is Lemmy.ml missing from the fediverse explorer?
  • You can't imagine how wrong you are.

    I say defederate the fucking bastards.

  • Lemmy.ml tankie censorship problem

    I feel like we need to talk about Lemmy's massive tankie censorship problem. A lot of popular lemmy communities are hosted on lemmy.ml. It's been well known for a while that the admins/mods of that instance have, let's say, rather extremist and onesided political views. In short, they're what's colloquially referred to as tankies. This wouldn't be much of an issue if they didn't regularly abuse their admin/mod status to censor and silence people who dissent with their political beliefs and for example, post things critical of China, Russia, the USSR, socialism, ...

    As an example, there was a thread today about the anniversary of the Tiananmen Massacre. When I was reading it, there were mostly posts critical of China in the thread and some whataboutist/denialist replies critical of the USA and the west. In terms of votes, the posts critical of China were definitely getting the most support.

    I posted a comment in this thread linking to "https://archive.ph/2020.07.12-074312/https://imgur.com/a/AIIbbPs" (WARNING: graphical content), which describes aspects of the atrocities that aren't widely known even in the West, and supporting evidence. My comment was promptly removed for violating the "Be nice and civil" rule. When I looked back at the thread, I noticed that all posts critical of China had been removed while the whataboutist and denialist comments were left in place.

    This is what the modlog of the instance looks like:

    !

    Definitely a trend there wouldn't you say?

    When I called them out on their one sided censorship, with a screenshot of the modlog above, I promptly received a community ban on all communities on lemmy.ml that I had ever participated in.

    Proof:

    !

    So many of you will now probably think something like: "So what, it's the fediverse, you can use another instance."

    The problem with this reasoning is that many of the popular communities are actually on lemmy.ml, and they're not so easy to replace. I mean, in terms of content and engagement lemmy is already a pretty small place as it is. So it's rather pointless sitting for example in /c/[email protected] where there's nobody to discuss anything with.

    I'm not sure if there's a solution here, but I'd like to urge people to avoid lemmy.ml hosted communities in favor of communities on more reasonable instances.

    797

    LVM volume group offline after reboot

    I have a small server in my closet which is running 4 Debian 12 virtual machines under kvm/libvirt. The virtual machines have been running fine for months. They have unattended-upgrades enabled, and I generally leave them alone. I only reboot them periodically, so that the latest kernel upgrades get applied.

    All the machines have an LVM configuration. Generally it's a debian-vg volume group on /dev/vda for the operating system, which has been configured automatically by the installer, and a vgdata volume group on /dev/vdb for everything else. All file systems are simple ext4, so nothing fancy. (*)

    A couple of days ago, one of the virtual machines didn't come up after a routine reboot and dumped me into a maintenance shell. It complained that it couldn't mount filesystems that were on vgdata. First I tried simply rebooting the machine, but it kept dumping me into maintenance. Investigating a bit deeper, I noticed that vgdata and the block device /dev/vdb were detected but the volume group was inactive, and none of the logical volumes were found. I ran vgchange -a y vgdata and that brought it back online. After several test reboots, the problem didn't reoccur, so it seemed to be fixed permanently.

    I was willing to write it off as a glitch, but then a day later I rebooted one of the other virtual machines, and it also dumped me into maintenance with the same error on its vgdata. Again, running vgchange -y vgdata fixed the problem. I think two times in two days the same error with different virtual machines is not a coincidence, so something is going on here, but I can't figure out what.

    I looked at the host logs, but I didn't find anything suspicious that could indicate a hardware error for example. I should also mention that the virtual disks of both machines live on entirely different physical disks: VM1 is on an HDD and VM2 on an SSD.

    I also checked if these VMs had been running kernel 6.1.64-1 with the recent ext4 corruption bug at any point, but this does not appear to be the case.

    Below is an excerpt of the systemd journal on the failed boot of the second VM, with what I think are the relevant parts. Full pastebin of the log can be found here.

    Dec 16 14:40:35 omega lvm[307]: PV /dev/vdb online, VG vgdata is complete. Dec 16 14:40:35 omega lvm[307]: VG vgdata finished ... Dec 16 14:42:05 omega systemd[1]: dev-vgdata-lvbinaries.device: Job dev-vgdata-lvbinaries.device/start timed out. Dec 16 14:42:05 omega systemd[1]: Timed out waiting for device dev-vgdata-lvbinaries.device - /dev/vgdata/lvbinaries. Dec 16 14:42:05 omega systemd[1]: Dependency failed for binaries.mount - /binaries. Dec 16 14:42:05 omega systemd[1]: Dependency failed for local-fs.target - Local File Systems. Dec 16 14:42:05 omega systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'. Dec 16 14:42:05 omega systemd[1]: local-fs.target: Triggering OnFailure= dependencies. Dec 16 14:42:05 omega systemd[1]: binaries.mount: Job binaries.mount/start failed with result 'dependency'. Dec 16 14:42:05 omega systemd[1]: dev-vgdata-lvbinaries.device: Job dev-vgdata-lvbinaries.device/start failed with result 'timeout'. Dec 16 14:42:05 omega systemd[1]: dev-vgdata-lvdata.device: Job dev-vgdata-lvdata.device/start timed out. Dec 16 14:42:05 omega systemd[1]: Timed out waiting for device dev-vgdata-lvdata.device - /dev/vgdata/lvdata. Dec 16 14:42:05 omega systemd[1]: Dependency failed for data.mount - /data. Dec 16 14:42:05 omega systemd[1]: data.mount: Job data.mount/start failed with result 'dependency'. Dec 16 14:42:05 omega systemd[1]: dev-vgdata-lvdata.device: Job dev-vgdata-lvdata.device/start failed with result 'timeout'.

    (*) For reference, the disk layout on the affected machine is as follows: ````

    lsblk

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS vda 254:0 0 20G 0 disk โ”œโ”€vda1 254:1 0 487M 0 part /boot โ”œโ”€vda2 254:2 0 1K 0 part โ””โ”€vda5 254:5 0 19.5G 0 part โ”œโ”€debian--vg-root 253:2 0 18.6G 0 lvm / โ””โ”€debian--vg-swap_1 253:3 0 980M 0 lvm [SWAP] vdb 254:16 0 50G 0 disk โ”œโ”€vgdata-lvbinaries 253:0 0 20G 0 lvm /binaries โ””โ”€vgdata-lvdata 253:1 0 30G 0 lvm /data

    vgs

    VG #PV #LV #SN Attr VSize VFree debian-vg 1 2 0 wz--n- <19.52g 0 vgdata 1 2 0 wz--n- <50.00g 0

    pvs

    PV VG Fmt Attr PSize PFree /dev/vda5 debian-vg lvm2 a-- <19.52g 0 /dev/vdb vgdata lvm2 a-- <50.00g 0

    lvs

    LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert root debian-vg -wi-ao---- 18.56g swap_1 debian-vg -wi-ao---- 980.00m lvbinaries vgdata -wi-ao---- 20.00g lvdata vgdata -wi-ao---- <30.00g ````

    0