Skip Navigation
User banner

Potato Lover 💾 No brain found

@user224.lemmy.sdf.org.ap.tdpl.io

27 Posts45 Comments0 Memberships

Joined August 2026

Tech enthusiast. Dumb and worthless procrastinator. My laptop is ThinkPad L390y running Arch. I own RTL-SDRv3 and RSP1 clone.

SDF Unix shell username: user224

🌉 bridged from @user224@lemmy.sdf.org by Tidepool

  • If you do, how do you print and bind huge amounts of text (such as pirated books, technical specifications, datasheets, manuals, etc.)?

    I find it really inconvenient to read on a phone or a laptop. E-book reader with color e-ink display could be an improvement, but I am not sure how suitable that is for PDFs.

    The best format is, well, a book or a booklet, depending on number of pages.

    I'd even like to print man pages, though with them changing over time, that could be a problem. Anyway, booklets like that should be manageable. Get a longer stapler, and print the pages in the correct order. Perhaps on a dot matrix for some cool factor.

    But with larger documents, it's not a possibility. And I am not sure how much printing services care about copyright, but possibly they do.

    ———

    Though perhaps this is a bit irrational, as I'd likely end up in a sea of outdated documents.

  • (Bit of a rant) How to deal with constant anti-vegan arguments (coming from family)?

    Hey. I am not sure how to begin, and I've been thinking about that for 20 minutes after typing "Hey.", so I'll just dive in.

    Since food comes up very often, and I've been refusing to eat certain foods, my parents eventually figured out I've been avoiding all animal products. (Unfortunately I still live with them.) When asked why, I simply stated ethical concerns. But I am not good at communication, and neither do I want to be annoying, so I didn't elaborate much further.

    Since then (fairly recent), they've been bringing it up every, single, day. "cows need to be milked", "fish meat isn't meat" (what?), "you're being brainwashed by liberal propaganda", "vegan food is for rabbits", "it's unhealthy", "you're not changing anything", etc. Absolute peak was my father telling me "I'd rather you be retarded than vegan."

    Today, shoes came up with my father. Since I didn't want to hold a debate, I decided the quickest way to end the discussion would be not responding. So, he escalated to yelling at me for not responding, then he threw some random plastic containers at me, and finally ended his tantrum with "your laptop and phone are made using cobalt".

    Even though I've started 0 related discussions.

  • How safe are wireless earbuds (in terms of battery combustion)?

    I received wireless earbuds as a "gift" from my phone carrier. Just some cheap ones made by Honor (X8i). I tried to look up reviews, but all I could find is a Reddit post of a similar model (X7i) exploding in someone's ear.

    Well, now I am a bit paranoid. I am also dumb, when I've seen coin cell batteries used inside, I assumed they were Ni-MH.

    And while there is probably a similar risk with a phone in a pocket, I do value my ears higher than my balls.

  • "Security is a priority, so we will use 4 digit PIN via SMS as the only authentication factor"

  • How to cope with awareness of suffering being necessary for life (at least on our planet)?

    Since yesterday I've basically been crippled by thoughts about suffering which is inherent in our nature, and is not solvable in an ethical manner. I can't really think of or do anything else. This does not (in this case...) concern the suffering caused by humans, which can -- at least to some degree -- be mitigated. I'll try to keep it short. Basically, I just thought of the relationship between predators and prey. The prey might eventually escape, but possibly with extreme and awful injuries. Or if the predator is successful, it might end up being ripped apart while still alive. That is horrible, and creates strong feeling of compassion for the prey. BUT, that's only true if focusing on the prey. Let's now imagine the predator's side. Possibly starving, also injured from unsuccessful fights, possibly even with hungry young offspring waiting for their parent (the predator) to bring them some food so they don't starve as well. Which is what makes it shitty -- it sucks, yet there is no (ethical) solution. I've also questioned the ethics re-introducing predators to areas where they were made extinct, compared to something like contraceptive population control. Doing it (eliminating predators) on purpose would (in my opinion) not be ethical, as we'd have to destroy life (as we already did in many places). But in places where this was already done, could it be a more ideal method of population control? Lastly, there's a question of general human involvement in nature. While this wasn't originally a concern I had, some people in discussions I looked up had mentioned it as well. This concerns if, and if so, up to what degree is intervention ethical. E.g.: Only helping if harm was caused by humans, vaccinating against rabies, removing parasites, treating injuries, etc. I.e.: Where should a line be drawn. ——— Welp. Possibly it should be easy to not think about, considering the many atrocities happening. However, there being something worse (in terms of suffering), doesn't make something awful better. This has also led me to discover something called Negative Utilitarianism, which is a view of prioritizing the minimization of suffering. But just like Utilitarianism, which aims to maximize happiness, it results in some absurd outcomes. More specifically, one outcome. A 100% solution to ending all suffering -- annihilating all life. While being technically correct, it is a quite absurd solution. In online discussions I've also found people compare the suffering caused by such a "solution" to the total suffering of continued life. But that brings me to question whether it's even possible to quantify and calculate suffering of multiple people. Let's say 11 people show up with some injuries. They are asked to rate their pain on a scale of 1 to 10. There's 10 people with a paper cut who consider their pain a 1. The last one is a person with an open fracture, who considers their pain to be a 10. Is their suffering equal and comparable? This would only get more absurd on a larger scale. ——— So yes, I am going a bit insane. Horrors within my comprehension, some without a solution. I wish to have not been born.

  • EURid registry

    Is a 6 character lowercase alphanumeric password (31b entropy) which randomly changes every 2 hours safe enough for online service (possibly) without proper rate limiting?

    I've recently registered a .eu domain name. EURid registry has a portal where you can generate a transfer code, thus not fully relying on access to registrar (as well as check and verify your info). Welp, security. The only security is a code sent to e-mail associated with the domain. While the portal requires entering this address to log in, it can also be pulled from WHOIS where it is mandatorily published. Regardless, e-mail (as a string) should not be affecting security. The code, as I mentioned, is just lowercase letters and numbers. Precisely 6 of them. This is valid for 2 hours and one use. While there is a "Request new code" button, I wasn't able to generate multiple codes for one 2 hour window, so that's good. But now we get to rate-limiting. After 9 attempts, I get:

    You have exceeded the allowed number of requests. Please try again in 10 minutes.

    Sounds good, BUT, clearing cookies bypasses this. I have not (yet) tried any automation, I just quickly manually repeated this tomfoolery from same IP 3 times without actually being rate-limited. ——— I find this... at least strange. Especially since everyone is doing at least 2FA, while some sites even support physical security keys, and then there's "we email you 6 characters".

  • Solution/Workaround

    Arch Linux - VLC freezes at the end of track (following upgrade), downgrade doesn't fix the issue.

    I couldn't find any mention of this issue and I kept fucking around with it for an hour. Disclaimer: I am dumb.

    Symptoms

    After reaching end of track on its own, playback won't continue. The UI remains responsive, but with no effect. Dragging slider all the way to the end of a song behaves as expected, without issues. Running VLC with -v 3 provides no additional information. Closing VLC GUI will not stop VLC, neither does signal 15 (sigterm), only 9 (sigkill). After downgrading VLC (and associated vlc-* packages), the issue persists.

    Solution

    Switch away from pipewire ALSA audio device or away from ALSA altogether (recommended).

    Switching ALSA to different device

    GUI

    The drop-down "Audio" menu doesn't appear to persist settings. Instead, navigate to Tools -> Preferences, in bottom left corner under "Show settings" select "All", then on the left, under "Audio" expand "Output modules", select "ALSA" and finally change "Audio output device" to something else than "PipeWire Sound Server" (e.g.: "Default") and click "Save" in the bottom right.

    Config file

    The file lives in ~/.config/vlc/vlcrc. Search for alsa-audio-device=pipewire, and change pipewire to something else. Example:

     <>
    # Audio output device (string)
    alsa-audio-device=default

    Switching from ALSA to PulseAudio

    Or at least the option says PulseAudio, this is probably pipewire-pulse since I don't use PulseAudio. Anyway, this will also show VLC in list of playback applications, as well as allow for multiple audio sources to output at once (rather than exclusive access to audio device). Basically same as using PipeWire ALSA "device".

    GUI

    Navigate to Tools -> Preferences, in bottom left corner under "Show settings" select "All", then on the left select "Output modules", and change "Audio output module" to "Pulseaudio audio output" and click "Save" in the bottom right. Then restart VLC.

    Config file

    The file lives in ~/.config/vlc/vlcrc. Search for aout=alsa, and change alsa to pulse. Example:

     <>
    # Audio output module (string)
    aout=pulse
  • Which domain registry or specific TLD do you prefer, and why?

    (Not the registrar. E.g., .com TLD is operated by Verisign.) I wanted a domain for my e-mail. Sounds simple. But I am a major overthinker, so over the period of past 2 weeks (damn!) I've been deciding between e-mail providers, choosing potential domain names, choosing a TLD (round 1 - by price and looks), looking through registrars, deciding whom to choose for nameservers, and now I am comparing registry operators (TLD round 2). There are differences, such as who can register a domain, restrictions on domain privacy, and some TLDs like .dev are on HSTS preload list. ——— Currently, I am mostly looking at EURid with .eu TLD. What piqued my interest is being able to transfer a domain directly through the registry. So, if a registrar locked me out or shut down, I could still transfer my domain. From EURid:

    From your registrar: Your first point of contact should be your registrar. From the My .eu platform: You can also issue the transfer authorization code yourself on the My.eu account. From EURid: This should be done only as a last resort. After proving you are the holder of the domain and cannot obtain an authorization code from your current registrar or via the My .eu platform, you can request an emergency transfer authorization code directly from EURid

    Alright. But I must wonder, how do I prove my ownership? First sign that this may not be that secure is right on the same page:

    Print the form, sign it and send it to us via email at authcoderequest@eurid.eu. If the requester is an organization, please print the form on company letterhead paper or add a company stamp.

    OK, the form. Here's the request page. Fields are domain name, first name, last name, job title, email address, and reason for the request. I generated the form to see what's there. So... is this the security?:

    I hereby confirm that I am the rightful holder of the domain name mentioned above, or that I have obtained the legal power to represent the holder, and that all data provided is true and correct. I am fully aware that making a false statement in this matter is considered fraud and may have judicial consequences.

    I mean, it doesn't even sound like they collect your signature during the verification, not that a picture provides much security. This is one of the methods:

    You can receive a small bank payment (less than one euro) from EURid, which includes a 10-character code that starts and ends with “EU”, with six digits in between (EUXXXXXXEU). After receiving this payment, the domain holder logs in to the My .eu platform and enters the code to verify their registration data.

    Either way, it seems this might be mitigated by registry lock:

    The Registrar Lock Service will also protect your domain name from accidental changes, but the difference from Registry Lock is that a locked domain name can still be transferred with an authorisation code sent to your My .eu account or an emergency authorisation code received from EURid.

    Enough about safety. What about privacy? The T&C [PDF] prohibits the domain having info of the registrar:

    Your registration data must be your own data and must not be that of your Registrar, or of a proxy holder or a representative of a natural person or legal entity who does not meet the eligibility criteria. You may at any time check your registration data via the web-based WHOIS or the secure registrant portal available on our Website.

    But it gets a bit better in the WHOIS policy [PDF]:

    When the Registrant is a natural person the Registry publishes the Registrant´s e-mail address and language.

    ——— Alright. I hope there's someone else who took a similarly overcomplicated route in choosing a domain name.

  • Does anyone here have experience with Glauca.digital registrar?

    Possibly it would make more sense to ask on the 196 community based on the company's energy. Anyway, I was browsing EURid's list of registrars, and this company's logo took my attention. However, I can't find any experiences online. I've checked through their websites, and so far my feelings are a bit mixed. Although most of it is just outdated or somewhat inconsistent bits across their websites.

    Things that make me unsure

    First and least important is info about one of the people behind the company, "Alfie". Links on the about page are just completely outdated and dead. Website link in docs is at least alive, but also outdated, as can be seen by navigating in manner of URL in docs -> keybase -> GitHub -> newer website. Second, the "Email us" button on the contact page redirects to a contact form, which really contradicts the text below:

    If you want to send us a PGP encrypted email, please use the below key. Remember to attach your own key (as application/pgp-keys), so we can encrypt our reply to you.

    That sounded so cool when I've seen it, but what e-mail address? The contact form is on a "support" subdomain of their other website. This seems to be centered around the contact form, but there is also a "Manage PGP keys" button which redirects to a login page. Maybe they migrated to that? But then going to contact page on the domain's second level does show an email, as well as linking to the same contact form. Third, in the list of services, there's also "Email"... which presents a self-signed certificate. Ignoring that, there's just an "Unknown URL" error page.

    We're probably not responsible for this domain.

    Lastly, and most importantly, right on ther main page it says:

    Proxy registration for .eu

    And that's the only mention of that feature. But what is it? If following ICANN's definition...

    Proxy Services – Proxy services allow a domain name to keep certain identity and contact details from appearing in public Whois information. The proxy service becomes the registered name holder of record, and its identity and contact information is displayed in Whois data.

    ...it might be a problem. Because, let's take a look at T&C of EURid (PDF):

    Throughout the Term of your Domain Name registration, you must: [...] b. keep your registration data accurate, complete and up-to-date at all times. Your registration data must be your own data and must not be that of your Registrar, or of a proxy holder or a representative of a natural person or legal entity who does not meet the eligibility criteria. [...]

    There's also an annoying requirement for tax reasons, but that's not their fault:

    In short things are about to get a lot more complicated. We will need to collect at least two pieces of non contradictory evidence about which country you’re resident in, so we can pay the correct tax authority.

    And what caught my attention (in a good way)

    As I've said, I checked them based on their logo. That's not a usual company logo. Pricing for .eu TLD is OK. Their ToS is short. One button on bottom says "there's no ai here!". Looking at the about page, this seems to be a small company operated by 2 people. Looking at their mailing list archive, they've used to have a VPS service, gave shutdown information in advance (though less than 2 months), and set-up a migration route with another provider. They've also informed about a security incident at one of their registries. WHOIS privacy includes email forwarding from a funny domain name:

    If you do not select it we will generate an anonymous @owowhosth.is email and publish that instead.

    On their Mastodon, they describe themselves with

    On a mission to make interneting a little easier, join us at http://glauca.digital/. Possibly anarchist, definitely antifascist.

    Oh, and speaking of Mastodon, that is listed as one of their services. Based on this disclaimer...

    MOBILE APP USERS: if you're trying to sign up with a mobile app go back and select login to authenticate with our SSO.

    ...it does indeed sound like being their customer includes account on their Mastodon instance. Pretty cool if true. Also, try whois with their ASN:

     <>
    aut-num:        AS207960
    as-name:        AS-TRANSRIGHTS
    descr:          Trans Rights! Hell Yeah!
    [...]
    remarks:        ----------------------------
    remarks:        Hmmmmm tasty routing policies...
    remarks:        ----------------------------
    glauca.digital
  • Chess should end with king being taken, and king should be allowed to be placed into check.

    It's already both happened to me that I didn't notice I couldn't move a piece without exposing the king or that I won by accident. Had the game not announced this, I wouldn't have known.

    And perhaps the opponent might not notice my mistake either. Or it could just be a strategic high-risk scenario, rather than a mistake.

  • I finally got a compatible device (Redmi Note 4 - 2017)

    Hardest part?

    Unlocking the bootloader. Because it's Xiaomi. I have screenshots from the whole process, but that's more of a thing for "mildly infuriating" community. Fun fact: Xiaomi doesn't even allow installing APKs via ADB without Mi account...

    Why is it running plasma-desktop?

    It's the first UI I tried. I've used it with a touchscreen before, and it worked well. I've also tried installing both plasma-mobile and plasma-desktop, but the configurations seem to clash. Also, when I use Android I always increase DP in developer settings to >600 which switches some UI elements to tablet mode. I prefer more things on the screen.

    plasma-mobile vs plasma-desktop

    Apples and oranges, yes, but I'll compare them. I am allergic to apples, but not oranges. Wait, that's not what I was talking about...

    Nice things in plasma-desktop

    • Sleep works (dmesg reports s2idle). • More powerful UI (proper desktop).

    Nice things in plasma-mobile

    • Extra buttons in Konsole (tab, arrows, ctrl). • Screen can be locked and turned off. • Existing buttons on phone are automatically mapped to navigation in Plasma.

    Bad things about plasma-desktop

    • Even if I set power button to "Turn of screen", it immediately turns back on. • Awful CLI experience without needed buttons. • Pressing back and home buttons causes awful noise on headphone output.

    Bad things about plasma-mobile

    • Sleep isn't available as power option. systemctl suspend seems to properly put it into sleep based on kernel logs, but pressing button first time won't do anything, while causing a reboot when pressed the second time. • While phone's buttons are mapped, I didn't find a setting to hide on-screen buttons, so you just get each button twice.

    Running without modifying anything (aside from bootloader unlocking)

    I didn't yet want to modify anything on the device, so I just flashed PostmarketOS to SD card. The device is then booted through a computer using fastboot boot with lk2nd bootloader image. ———

    Miscellaneous

    This section is just about me being dumb. I have no idea about what's going on during the boot process. There's 49 partitions on the internal storage, I don't know what they're all used for, nor how data is loaded from them.

     <>
    Device        Start       End  Size Attrs   Name
     1           131072    303103   84M GUID:60 modem
     2           393216    393217    1K         fsc
     3           393218    393233    8K         ssd
     4           393234    394257  512K         sbl1
     5           394258    395281  512K         sbl1bak
     6           395282    396305  512K         rpm
     7           396306    397329  512K         rpmbak
     8           397330    401425    2M         tz
     9           401426    405521    2M         tzbak
     10          405522    406033  256K         devcfg
     11          406034    406545  256K         devcfgbak
     12          406546    439313   16M         dsp
     13          439314    442385  1.5M         modemst1
     14          442386    445457  1.5M         modemst2
     15          524288    524351   32K GUID:60 DDR
     16          524352    527423  1.5M GUID:60 fsg
     17          527424    527455   16K GUID:60 sec
     18          655360    677887   11M         splash
     19          786432    788479    1M GUID:60 aboot
     20          788480    790527    1M GUID:60 abootbak
     21          790528    921599   64M GUID:60 boot
     22          921600   1052671   64M GUID:60 recovery
     23         1052672   1054719    1M GUID:60 devinfo
     24         1054720   7346175    3G GUID:60 system
     25         7471104   7995391  256M         cache
     26         7995392   8060927   32M         persist
     27         8060928   8062975    1M         misc
     28         8062976   8063999  512K         keystore
     29         8064000   8064063   32K         config
     30         8064064   8588351  256M         oem
     31         8650752   8650815   32K GUID:60 limits
     32         8781824   8782847  512K         mota
     33         8782848   8784895    1M         dip
     34         8784896   8850431   32M         mdtp
     35         8850432   8851455  512K         syscfg
     36         8851456   8859647    4M         mcfg
     37         8912896   8913151  128K GUID:60 lksecapp
     38         8913152   8913407  128K GUID:60 lksecappbak
     39         8913408   8913919  256K GUID:60 cmnlib
     40         8913920   8914431  256K GUID:60 cmnlibbak
     41         8914432   8914943  256K GUID:60 cmnlib64
     42         8914944   8915455  256K GUID:60 cmnlib64bak
     43         8915456   8915967  256K GUID:60 keymaster
     44         8915968   8916479  256K GUID:60 keymasterbak
     45         9043968   9044479  256K         apdp
     46         9044480   9044991  256K         msadp
     47         9044992   9045007    8K         dpo
     48         9045008  10748943  832M         cust
     49        10748944 122142686 53.1G         userdata

    If I collected info correctly, BootROM loads whatever SBL is, which then loads whatever ABOOT is (which probably includes fastboot), which then decides what to load next (recovery, boot). But how? Does it look at the partition table for the names/UUID, or does it look for disk offsets? (There are suspicious holes between partitions.) If the former, I could re-partition it. If the latter, I'd be fucked. Anyway, when it comes to backups, I first erased cache and userdata (fastboot erase), booted TWRP, and cat the internal storage over ADB shell, storing it as a sparse file. It takes up just 3.3GiB. I also checksummed the storage and image file for verification. I also tried to extract the stock recovery into Android boot image without extra data after it. I don't know how to determine the real size, so I used unpack_bootimg and mkbootimg to get the original image, rather than whole partition. The checksum of re-created boot image was different to original truncated partition image, but upon closer inspection with xxd and diff, this was just a difference in header:

     <>
    00000010: 68c2 4f00 0000 0081 0000 0000 0000 f080  h.O....... | 00000010: 68c2 4f00 0000 0081 0000 0000 0000 0000  h.O.......

    But I found it might indeed be a good idea to just keep a full image backup. After a bunch of NULLs, there's more data. file doesn't recognize it, but running strings on it reveals readable text:

     <>
    California1
    San Narciso1
    Yoyodyne, Inc.1
    Yoyodyne Mobility1
    Yoyodyne1#0!
    yoyodyne@example.com0

    Indeed, it seems this is a certificate: https://source.android.com/docs/core/ota/sign_builds#signatures-sideloading Anyway, I am once again getting reminded it might be good to learn assembly (ARM in this case). The content of sbl1 and aboot seems to be an ELF, so I might be able to pop it into Ghdira, and try to figure out what it's doing. Maybe. I don't know, I have the most stupid of ideas usually.

  • LPT: If your carrier limits hotspot usage, you may (potentially) get around it by changing TTL to 65 or running proxy on the phone

    TTL

    The default TTL for Android is 64. Default for Linux is 64. Default for Windows is 128. When a packet passes through the router, its TTL is decreased by 1. So a packet from your phone will have TTL of 64, while one from device on hotspot will get decremented to 63 when passing your phone, acting as a router. imageUnless it starts with 65, then gets decremented to 64, the same as with your phone directly. On Linux you can temporarily change this with

     <>
    sysctl net.ipv4.ip_default_ttl=65

    as root. If the carrier just checks the TTL, congrats. I haven't played around with IPv6 hop limit. image

    HTTP proxy

    If that doesn't work, you can try to proxy traffic through the phone. I like to use Tinyproxy in Termux. The config is pretty simple, and also supports (unencrypted) authentication with username and password. Another option is an all in one app like TetherFi. It creates WiFi Direct group (without direct internet access), and has a built-in HTTP proxy. Both ways allow also using your phone's VPN. The HTTP proxy can be easily configured in Firefox, for example. For Android, there is a pretty cool app called NekoBox which is a proxy client for many different protocols. It uses the VPN interface to pass everything through the proxy, thus giving you full device connectivity on the other device. image TinyProxy: https://tinyproxy.github.io/ (can simply be apt installed in Termux) image Termux: https://f-droid.org/en/packages/com.termux/ (terminal emulator for Android) image TetherFi: https://github.com/pyamsoft/tetherfi image NekoBox: https://github.com/MatsuriDayo/NekoBoxForAndroid image

  • SSTV from ISS - My 1st attempt - Series 23: 2024 holidays

    2 top images are same attempt - with and without auto-slant

    Something screwed up. Probably with the audio recording, perhaps it dropped a few samples so QSSTV desynchronized there.

    Boring setup: V-Dipole, RTL-SDR v3, waterproof smartphone (it was snowing, else I'd bring a laptop)