[-] monovergent@lemmy.ml 8 points 1 day ago

As long as you have a strong backup strategy, I would recommend full disk encryption during installation, especially if for a laptop. Peace of mind with negligible cost on modern hardware. Even accessing the encrypted disk from a live USB takes only two extra commands compared to an unencrypted disk. As long as the LUKS header doesn't corrupt, hence the need for good backups.

[-] monovergent@lemmy.ml 1 points 1 day ago* (last edited 1 day ago)

My schools in the US:

Only English for all of elementary school. Starting in middle school, students can choose to take Spanish, French, Latin or German (in descending order of popularity). A bus would take you to one particular high school in the county for Mandarin, Greek, Russian, Japanese, etc. For the advanced diploma, you needed to take 3 years of a foreign language course. The full sequence offered for Spanish, French, Latin, and German takes 6 years.

[-] monovergent@lemmy.ml 1 points 1 day ago

This is one of the mundane scripting tasks I would have my local LLM help with. I would still read through and make sure I understand the resulting script before running it.

[-] monovergent@lemmy.ml 2 points 1 day ago

Wanted to, but lacked the motivation to learn it. Was stuck on one occasion without nano, so I pulled up the vim cheat sheet on my phone.

[-] monovergent@lemmy.ml 1 points 2 days ago* (last edited 2 days ago)

Not going after a bug though, it's just the way the included battery meter in Xfce (and other X11 battery indicators I've found) works, while things like Android track usage over time to give a better estimate.

But based on the other responses, it looks like I'll have to cook it up myself.

[-] monovergent@lemmy.ml 2 points 2 days ago

It's scary to think about it, but I don't dwell on it since I can't do much about it without really disrupting my life.

[-] monovergent@lemmy.ml 1 points 2 days ago

As a daily LibreOffice user, I agree with you on the UI. I can't even keep track of how many different settings menus there are and each of them are a labyrinth unto themselves. What ended up saving my sanity was setting the UI to single toolbar and purging every unnecessary button in Calc and Writer. Might be unpopular, but I then arranged the remaining toolbar features the way they do in Google Docs. For Impress, I set it to the tabbed ribbon-esque interface.

[-] monovergent@lemmy.ml 1 points 2 days ago

Not that I'm aware of

[-] monovergent@lemmy.ml 3 points 2 days ago

That is correct, IIRC, the mismatch does limit how much of it can run in dual-channel. Even if a single stick is natively 24 or 48 GB, there is additional strain on the memory controller. It is the way it is on my setup since I had planned an upgrade to a full 64 GB and was holding off until a good deal on the remaining 32 GB kit, which will never come unless the AI bubble bursts.

[-] monovergent@lemmy.ml 5 points 2 days ago

I should've known he was an iPad kid

[-] monovergent@lemmy.ml 2 points 2 days ago

I think I could hack such a feature into the tray indicator as a weekend project, but wanted to see if someone already accomplished it before I go reinventing the wheel.

29
submitted 3 days ago* (last edited 3 days ago) by monovergent@lemmy.ml to c/linux@lemmy.ml

The battery tray indicators I've tried on Linux so far only seem to take the instantaneous power consumption into account. Is there one that estimates remaining battery life based on power draw over a longer time window and integrates easily with my desktop environment's tray?

[-] monovergent@lemmy.ml 14 points 3 days ago

That really stinks. Does the audio version do anything different?

20
submitted 3 weeks ago by monovergent@lemmy.ml to c/degoogle@lemmy.ml

Even if I have the full address of a destination, trying to search for it in CoMaps easily takes more than 30 seconds before I can select it and have it shown on the map. Sometimes if I have a general idea of where it is, I can find it faster than search. Is this normal? Are there settings I'm overlooking that could speed it up?

30

When I first looked up psyllium husk powder as a fiber supplement, people were complaining that it made the water thick and gross. That enticed me to buy it. And when the packaging said to drink immediately after mixing lest it thicken, I instead let it sit for a good 15 minutes until my glass of water had a smoothie-like consistency. Makes me love drinking water again and also sad that I can't have it with every glass of water or else I get stopped up.

44
submitted 2 months ago by monovergent@lemmy.ml to c/privacy@lemmy.ml

When the privacy laws in the US are so weak, it seems like maintaining the effect of data removal requires paying for the data removal service indefinitely. Is it worth it regardless? Are there any cases and criteria where one should pay for data removal, more so than the average person? Interested to hear if anyone here has seen noticeable benefits, beyond the mere fact that their PII have been scrubbed from data brokers and search sites.

73
submitted 3 months ago by monovergent@lemmy.ml to c/asklemmy@lemmy.ml

Middle click failure plagues nearly every mouse I've owned, OEM, Logitech, wired, or wireless. I take full advantage of the middle click shortcuts like opening links in new tabs, but I don't think I'm putting it through undue stress either. As far as I can tell, I'm clicking it with the same force as I would the other mouse buttons and much less frequently than the left click.

Failure usually starts with occasional missed middle clicks, which after some point, rapidly progresses until it's failing to register more often than not. At that point, everything else will still work perfectly. No improvement even if I take it apart to clean out what little dirt had accumulated.

One of my mice has managed to avoid this fate far longer than the others but I've just recently stopped using it due to the rubberized exterior turning all gooey and sticky. The only middle mouse buttons that seem immune to all of this are the ones on ThinkPads. Anyone else notice this or could recommend a good mouse that can stand up to a bit of middle-clicking?

19
submitted 3 months ago by monovergent@lemmy.ml to c/linux@lemmy.ml

A while ago, I set up unattended-upgrades on my Debian 13 machines. Running sudo apt updatedoesn't cross my mind now that I assume unattended-upgrades takes care of that for me, but every once in a while, I'll try installing something and get the "Unable to locate package" errors associated with outdated repositories. After being made aware of having outdated repositories and packages, I'll go and run sudo apt update && sudo apt upgrade on my other machines, only to be told that all packages are up to date and unattended-upgrades did do its job there. I don't keep a record of this happening, but I also don't recall there being any pattern to which of my machines are affected and which aren't at any given time.

Where could I start hunting down the cause of this inconsistent behavior? I did double-check that I enabled it via sudo dpkg-reconfigure unattended-upgrades

47
submitted 4 months ago* (last edited 4 months ago) by monovergent@lemmy.ml to c/linux@lemmy.ml

I could in theory upgrade the power supply to go beyond the 150W target, but then I'd also need a better chassis because it is already quite warm with my current 130W card.

Hoping to stick with AMD, but if my wishes to play around with local LLMs and image upscaling makes Nvidia a more practical choice, I can live with that compromise.

Working with a budget of 200 US, I'm fine going with a used GPU.

37
submitted 6 months ago by monovergent@lemmy.ml to c/privacy@lemmy.ml

Friends and I are considering some travelling around the world, including perhaps a trip to China. There is much negative press on the state of digital privacy in China, but what exactly should I pay attention to if I do visit? If I am your typical privacy enthusiast with a GrapheneOS phone and Linux laptop, how might I prepare for the trip privacy-wise? I'd also love to hear any firsthand experience as to which concerns are myths and which ones are real.

33
submitted 6 months ago* (last edited 6 months ago) by monovergent@lemmy.ml to c/linux@lemmy.ml

Got my hands on a Dell Latitude ON module. Turns out it's nothing more than a 2 GB flash module that fits in a mPCIe slot and is wired to the USB lanes. Shows up as /dev/sdb.

I do have a couple of old laptops that don't have a secondary SATA drive slot, but do have open mPCIe slots with USB lanes (no mSATA lanes). The Latitude ON module would allow for a dual drive system, albeit a rather crappy one. What would you put on a secondary internal drive if it were limited to 2 GB and USB protocol?

14
submitted 7 months ago by monovergent@lemmy.ml to c/privacy@lemmy.ml

For several years, I've entertained the idea of creating an online portfolio, but it's remained only an idea since I am not sure what I should put on it. What's a good way to decide what goes on the personally-identifiable portfolio and what should remain under pseudonyms?

21
submitted 7 months ago by monovergent@lemmy.ml to c/linux@lemmy.ml

In the interest of maximizing battery life, I've set up suspend-then-hibernate on my laptop. Using a discrete window manager, so I have a systemd unit that locks the screen when I close the lid. After an hour, it automatically goes into hibernation.

All is well, until I have to boot up from hibernation. I'm prompted to unlock LUKS, then I'm hit with a redundant lock screen once resumed. I've tried setting up systemd units referencing suspend-then-hibernate.target and hibernate.target, but I can't get it to kill the screen locker when resuming from hibernation only, so I don't have to type in my password twice. Is there any way to have systemd discriminate between the suspend and hibernate parts of suspend-then-hibernate?

26
submitted 7 months ago* (last edited 7 months ago) by monovergent@lemmy.ml to c/degoogle@lemmy.ml

Earlier post for context: https://lemmy.ml/post/35496495

TL;DR: Don't buy Huawei or Honor phones if you need bootloader unlocking capabilities. Even on units without a carrier lock. I couldn't unlock my Honor 90 Lite.

While the following comes from my experience attempting to unlock the bootloader on an Honor 90 Lite, it likely also applies to recent Huawei smartphones. Honor shares a great deal of its codebase with Huawei as it was a subsidiary spun off several years ago.

Unfortunately, a visible OEM unlocking toggle under the developer options does not guarantee bootloader unlocking in practice. It is up to the bootloader itself to accept unlocking commands, which manufacturers can patch out or severely restrict.

Prior to 2020, users could fill in a form on the Huawei/Honor website that provided the 16-character code required to unlock the bootloader. Instead of

fastboot flashing unlock

Huawei/Honor bootloaders require

fastboot oem unlock [16-CHAR CODE]

However, the form has since been discontinued, leaving us with

  • Exploits for certain models with Kirin and Qualcomm SOCs
  • Various paid and proprietary unlocking services
  • Brute-force tools for models without known exploits

Since my phone does not have a known exploit and I don't feel like handing over my money to unlocking services with characteristically shady-looking websites, I am left with the latter option.

Brute-force with Luhn algorithm

For some time, the unlock codes were 16-digit numerical strings which were related to the IMEI and satisfied the Luhn algorithm (the same algorithm used as a rudimentary checksum for credit card numbers). This greatly narrows down the number of codes to be tried, such that I exhausted the entire space of 16-digit codes satisfying the Luhn algorithm in 45 minutes using the following Python scripts.

https://github.com/vcka/huawei-honor-unlock-bootloader

The better-known of the two Python scripts, this works mostly as intended, but does not stop once the space of 16-digit codes are exhausted, instead continuing up into 17-digit codes and beyond. However, an unlock code longer than 16 digits has never been attested.

https://github.com/borisgrigorov/bootloader-brute-force

This script did not appear in my initial search and didn't work out of the box on account of expecting a specific error message and stopping execution otherwise. However, it proved a friendlier script than the former with a quick patch and stopped once all 16-digit codes valid under the Luhn algorithm were exhausted.

Huawei/Honor are also known to require 16-digit alphanumeric codes, paritcularly on later models. Adding just the uppercase alphabet would make for a 16-character base-36 code, effectively conveying the information in a 25-digit base-10 code. Searching through this space would take about 800 million times longer. By the time this finishes, I can only hope that humanity has moved on past locked bootloaders. So I ditched any effort of extending the scripts to include alphabetic characters.

Trying both scripts with both IMEIs yielded no working unlock codes, so onto our next options.

Brute-force without Luhn algorithm

But what if it's still a 16-digit code, but it just doesn't add up according to the Luhn algorithm? How much longer would that take? The following C programs claim to be the fastest brute-force unlockers, neither of which use the Luhn algorithm.

https://github.com/Martazza/Huawei-Bootloader-Unlocker

The simpler and more well-known of the two, this simply increments up from 1000000000000000, testing each code along the way. At a rate of 200 guesses per second, my computer and phone would have burned through a good chunk of the world's remaining coal reserves by the time this finishes, even without accounting for alphabetical characters. So this is a no-go.

https://github.com/B83C/huawei_bootloader_unlocker

This optimizes upon the code of the former, incorporating portions of the fastboot source code to suppress unnecessary output. However, it appears to get stuck after guessing only 8 codes. I'll guess why in a bit.

Previously reported successes and time required to unlock

There are reports of the scripts utilizing the Luhn algorithm working on Huawei and Honor devices from around 2018 and 2019. Those attempts required continuous brute-forcing anywhere from several hours to several days. So why was my computer, featuring an i7-9700 also from 2019, able to iterate through all codes accoring to the Luhn algorithm in only 45 minutes? I am not certain, but my theory is that my phone had been silently discarding attempted codes without ever taking the time to evaluate them. The program from B83C is the only one to check the USB connection status and 8 attempts may have been the cutoff for my phone. I didn't bother with further testing. And unless someone manages to guess several million codes per second, at which point USB I/O would become a bottleneck, Martazza's code is of little practical use.

If it had taken longer to search through possible codes, my phone would have died during the process as it did not take in enough charge to sustain itself in fastboot. Fortunately, fastboot is kind enough to wait until the phone is ready again after disconnecting, charging, and reconnecting.

Other things that didn't work

  • fastboot reboot fastboot: bootloader seems to double as fastboot for Huawei/Honor devices. fastboot with a white background and plain orange text doesn't seem to take any commands.
  • Recovery menu accessed by holding volume up during boot: OTG upgrade does not allow choosing a file. USB upgrade allows the phone to show up under adb devices, but there is no dialog to grant permission.
  • mtkclient: tried every button combination I could think of during power-up, but could not enter BROM mode
  • Honor Suite: Just a dumbed-down syncing tool that requires admin privileges on Windows, no option anywhere related to bootloader unlocking. Worse yet, it doesn't even detect the phone in fastboot mode, even though the phone suggests opening Honor Suite when in fastboot.

Addendum: for thoroughness, shorting the internal test point to ground and plugging in USB brings the phone into "META MODE", after which the screen stays black. The phone is unresponsive to all commands I could think of and requires a power cycle, after which the RTC resets to the default date and time.

  • and adb reboot edl and similar commands: simply does a normal reboot. fastboot edl seems to exist, but is prohibited from running.

Just to be clear: I could not unlock the bootloader of my Honor 90 Lite (CRT-NX1). Gotta love how we have to worry about things like Cellebrite cracking our precious data in a matter of hours while concerted efforts have done little against the accursed little bootloader.

view more: next ›

monovergent

joined 2 years ago