• 0 Posts
  • 51 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle



  • Anecdotal, but “does more” is absolutely incorrect these days. Had an Apple believer giving a presentation - HDMI connection to standard projector from iPad just didn’t work. So pull it to a USB thumb drive to put on a proven working laptop (Ubuntu, projector worked directly) and the supposedly FAT formatted drive could not be mounted with some “Spotlight” error.

    Wholly unimpressed with the “never just works” of apple nowadays.



  • Maybe, but as someone who spent a summer school breaks worth of time in 2002 getting drivers for a Nvidia GeForce 2 card to run under Mandrake (oh the kernel panics…) to play counter-strike 1.X on wine… It’s come a long fucking way.

    I use Debian for everyday work and on my private machine nowadays and struggle with the shitty experience of windows when helping someone out now and then. Granted, I don’t have much time for games these days, and often fire up the PS for that, but I feel experience can vary as long as you know what you want and manage expectations.












  • PostgreSQL is definitely a boost to performance, especially if you offload the DB to a dedicated server (depending on load, can even be a cluster)

    Nevertheless, it probably has much to do with how it’s deployed and how many proxies are in front of it, and/or VPN. If you have large numbers of containers and small CPU/low memory hardware, and either running everything on one machine or have some other limitations, it’ll be slow.

    Admittedly, I’m not very familiar with the codebase, but I feel Apache isn’t improving the speed either. Not exactly sure how PHP is nowadays with concurrency and async, but generally a microservice type architecture is nice because you can add more workers/instances wherever a bottleneck emerges.


  • Beware of the W̷̞̬̍̌͘͜ĭ̴̬̹̟͕̒̆̈́n̸̢̧̙̈́̅̂̆̕͜ͅd̵̟̟̪͎̀̀ő̴̼̺̺́̐̂͘w̵̨͊̀s̵̡͎̭̊ ̸͔̬͔̜̊́̈́̌̈́ͅŬ̴͉͚̳̌̉͘͝p̸̼̅̆͐̃̑d̸̜͂ǎ̵̛̯̏͝ť̷̰é̸͇͝ as it can screw up/overwrite your other bootloader completely.

    Kinda sucks, when you’ve got a meeting/work and you find out that forced update made your system unbootable/partially unbootable and you now get to live boot in and go fixing the EFI partition manually, in the CLI.

    That happened to me once and that’s when I decided feature parity was less important than a reliable system that “just works” for getting things done on a schedule. (I removed windows completely, in case that wasn’t clear)

    Anyhow, make sure you install windows to a separate drive that can’t see any others during the windows install, then will keep the bootloader separate.


  • I tend to agree.

    Nevertheless, some unknown implementation can have bugs and things can go wrong and there’s nothing you can do about it, short of “rebooting” or d̷o̶w̸s̸i̷n̴g̸ ̴t̶h̸e̷ ̸h̵a̵r̵d̷ ̵d̷r̶i̴v̶e̷ ̵w̶i̴t̸h̷ ̸̞̺͠h̵̺͙̎̍o̸͔͠ͅḻ̷̀̇y̵͚͍̎ ̷͉̅̅w̸͎̔a̷̧̫̒́t̶̼̉̓ę̵̾͗r̶̫͑͑ ̴̣̿͒(̷͙̎a̸̬̺͝͝n̸̞̓̓d̴̬͌̍ ̸͇͕͌͝s̷̡̯̓͝u̸̡̳̇͝b̴̳͜͠s̷͍̘̽ë̵̜q̷̝͐̄ȕ̵̞̐e̷̲̠̐́ń̴̨̙͝t̸̛̬͝l̶̮̔͠y̴͕̪̑͝ ̵̖̆ḃ̴̪̟u̶̢͓͑̌y̵̜̤͌̏i̵̦̋ň̴̨͚̀g̸͓͑ ̴͍̬̽à̶͜ ̴͇͔̓n̴̬͂͜ì̷̢̛̯c̴̤̖̈́e̶̼̫̐̊ ̵̹̏͝f̸̙̀̑r̷̪̩͆͆e̸̤̫͛͋s̷̢̙̏h̷͇͔́ ̸̭̆͝N̷̰͗͛͜V̶͇͒̚M̸̟̍͜ě̷̛̟ ̸̢̞́͝a̷͙͔͒͒n̷̻͇͝d̸̘̥͌̾ ̴̜͓͑p̷̬͑͊ŭ̸̮̏t̸̲̀t̴̡͚̽í̶͎͓̑n̴͕̘̒̈́g̴͓̰̓͝ ̵͓̎a̴̻̼͗ ̷̦̍̈́s̷̥̅̈l̴̝̂e̴̞̅͊ḛ̴̊̅k̷͚̕ ̵̛̼̬͗D̴̻̾̽e̵̙͂̊b̷̝͘ī̵̢͇ą̵̂n̴͖̑ ̶̼̚h̴̼͂͑e̷̲͆̆a̵̡̋d̸̢͔̈l̶͕̍̍e̸̛͕̙̒s̶̞͔̀͠s̸̯͖̕ ̵͍̦̈́̉ ̸̨̨̓i̸̙͖͗̌ņ̶̯̍s̸̡̖͗̇ṯ̷́̒ä̵̦́̎l̶̼̄l̵̨͊̊ ̴̳͑͗ó̵͎̅ǹ̴͈̚ ̷͖͊͝i̷̠͇̊t̷̼̞͒͘)̵͎̤̔͌


  • I had a .bin where the change hadn’t been implemented and one after. Was using file carving tools as I was just trying to figure out what was going on. Probably spent too much time, but once I found out what it was doing, I was pretty mad. I tried to just corrupt the firmware to force a fallback to a “safe” state, but eventually I had to look into reverse engineering the binary that seemed to be controlling different things, such as the genuine ink check and things like that. Many hours of trial and error staring at the xxd and gdb output, semi randomly breaking things, until I seemed to break the right thing. Was bit tricky to get around the firmware signing, but eventually got that worked out too by tricking it into not checking (very old firmwares for that printer weren’t signed) and accepting the ‘new’ firmware, with a much higher version number, as that’s also one thing it checks to prevent downgrading.

    Tools used as far as I remember were

    • binwalk,foremost, autopsy
    • radare2
    • This page I believe was helpful, at least i had it bookmarked