Skip Navigation
Python is great, but stuff like this just drives me up the wall
  • Well, C has implicit casts, and it's not that weird (although results in some interesting bugs in certain circumstances). Python is also funny from time to time, albeit due to different reasons (e.g. -5**2 is apparently -25 because of the order of operations)

  • Chat Apps, Government Ties, and Transparency – Threema
  • I'm wondering if something interesting will fall off the truck this time :D

    Context: before that blogpost, cellebrite claimed they can "hack" signal (or they were kinda closer to the truth, and that was media talking abt hacks without reading stuff)

  • Unlocking the bootloader of some Qualcomm devices when the display is broken, PoC
    github.com GitHub - fl42v/bootloader_unlocking_experiments: Trying to unlock phones' bootloaders without having a working display to manually check the oem unlocking switch

    Trying to unlock phones' bootloaders without having a working display to manually check the oem unlocking switch - fl42v/bootloader_unlocking_experiments

    GitHub - fl42v/bootloader_unlocking_experiments: Trying to unlock phones' bootloaders without having a working display to manually check the oem unlocking switch

    Just thought I'd share. Probably nothing new or fancy, but may help some of you find a way to repurpose devices that aren't worth repairing into home servers or something: e.g. op5 I've used has better CPU compared to raspberry pi 4, can run linux (postmarketos, albeit with some caveats), and costs less if bought with broken display (or nothing if you have one lying around)

    1
    M$ Sculpt "brain transplant"

    Decided to share an older "project" of mine - ms sculpt wireless to wired conversion (also, it runs qmk, so we get all its features). A sensible person would order a custom pcb (such projects exist on the web, take a look if you're interested), but I went with removing all the components except from the ribbon cable connector, sending the PCB smooth, gluing a piece of discount card to isolate the traces, gluing a Chinese rp2040 on top, and wiring all the necessary traces to it. No, it wasn't fun. Yes, it works.

    Bonus: when I disassembled it now I found out the type-c wasn't soldered well and decided to separate from the board:

    !ResizedImage_2024-04-08_18-20-32_2

    So, here we go: using phone as a poor man's microscope (note: also, still works)

    !ResizedImage_2024-04-08_18-20-32_1

    The end result kinda doesn't give it out, so whatever (insert your frontend -- backend jokes here)

    !ResizedImage_2024-04-08_18-36-32_1

    0
    If it works...

    x-post from tg: https://t.me/theaftertimes/15396

    8
    Turns out headache pills can help fixing a button

    So, a while ago I bought a cheapest oneplus 6 available in my area to subject it to a few experiments with running Linux. Among the other issues that came for that price, the power button was almost flush to the frame, hard to press, and had almost no feedback.

    Today I finally got tired of it and decided to check what's wrong. The button itself turned out to be just fine, but the thingy that presses it looked weird:

    !ResizedImage_2024-03-12_23-02-59_1

    After a few tries of gluing smth to extend the middle pin, I found out that I can just cut off a piece of plastic from the blister of my favorite headache pills and place it between the button and said thingy. Works wonders 🤣

    !ResizedImage_2024-03-12_23-07-45_1

    Btw, the actual problem is that it was missing a few rubber spacers, as far as I understand, but whatever

    !ResizedImage_2024-03-12_23-11-42_2008

    0
    Evil maid or something? Idk I use LUKS

    Forked from https://www.reddit.com/r/linuxmemes/comments/19c35a4/pictured_avg_linux_user_fixing_thier_pc/

    9
    What's (are) the funniest/stupidest way(s) you've broken your linux setup?

    Tinkering is all fun and games, until it's 4 am, your vision is blurry, and thinking straight becomes a non-option, or perhaps you just get overly confident, type something and press enter before considering the consequences of the command you're about to execute... And then all you have is a kernel panic and one thought bouncing in your head: "damn, what did I expect to happen?".

    Off the top of my head I remember 2 of those. Both happened a while ago, so I don't remember all the details, unfortunately.

    For the warmup, removing PAM. I was trying to convert my artix install to a regular arch without reinstalling everything. Should be kinda simple: change repos, install systemd, uninstall dinit and it's units, profit. Yet after doing just that I was left with some PAM errors... So, I Rdd-ed libpam instead of just using --overwrite. Needless to say, I had to search for live usb yet again.

    And the one at least I find quite funny. After about a year of using arch I was considering myself a confident enough user, and it so happened that I wanted to install smth that was packaged for debian. A reasonable person would, perhaps, write a pkgbuild that would unpack the .deb and install it's contents properly along with all the necessary dependencies. But not me, I installed dpkg. The package refused to either work or install complaining that the version of glibc was incorrect... So, I installed glibc from Debian's repos. After a few seconds my poor PC probably spent staring in disbelief at the sheer stupidity of the meatbag behind the keyboard, I was met with a reboot, a kernel panic, and a need to find another PC to flash an archiso to a flash drive ('cause ofc I didn't have one at the time).

    Anyways, what are your stories?

    251
    If there was more than one Illinois, would they be called Illinoises or Illinoi?

    Off the top of my head, I can't think of a word in English that ends with "is" while being singular, only plurals and uncountables come to mind, so I can't really follow the examples of other words. What makes it even weirder, I'm not sure how to pronounce Illinoises... Would it be as written, or as if an Illinois was pronounced by someone who has never encountered it before? Illinoi are also meh, since now plural looks as a singular and the other way round.

    20
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)FL
    fl42v @lemmy.ml
    Posts 12
    Comments 489