• 0 Posts
  • 136 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle

  • I have a 2001 compaq n600 still being used from time to time as a gateway for old tech as it has COM as well as LPT and analog video outs. It has 1.2ghz celeron, 512mb ram, 30 gig drive. Thing is kind of a beast for its time as my own desktop at that time was nowhere close to its spects. Thing was gifted to me after initially being given to install win7 on it. After telling the guy that this isnt going to happen and the best they couldd hope for is winxp and even then it’d struggle, they told me “oh, so linux is the only option then… well, it doesnt work for me. Have it, then, have fun with it!”. I put ubuntu on it, but still gnome ground the poor cpu to a halt, so I had to switch to Xfce. Luckily it turned good enough not to downgrade further to things like bare X or Kolibri OS. Worked as a solitaire machine for my dad for a few years, helped me fix and set up stuff on a few occasions, but nowadays mostly collecting dust in my drawer.







  • Ratios are a things of a past. I’m having trouble getting ratios as all of the torrents I have are straight zeros in the upload section. I still keep them around for a while just out of habit, but just to verify it’s working I’ve downloaded some random file with high leech ratio. Got it in fast, but upload is now going at less than 5% the upload capacity. Back in late 00s running torrents would instantly saturate the entirety of my 10mbit connection, and I’d like to think that terabytes I’ve seeded during that time make up for my abysmal ratios nowadays. But the reality is that there just simply is enough seeders already, and as a result the trackers I frequent to either dropped it entirely or switched to a scoring system based on how much and for how long people store obscure torrents that only few people seed, but I’m too short on drive space to participate in that.



  • I tried to give it a piece of ~200 lines of JS I was positive there was an error in, and it tried to gaslight me into thinking there wasn’t any… I tried everything, pointed it specifically to suspicious bits, asked for breakdowns, assertions, test cases… which it then promptly copy-pasted to me straight from my own code… Took me a few hours to find, but there was, in fact, a rookie mistake in it, just hard to spot at a glance.


  • I don’t see what’s the point of the second one if the syntax highlight, even in the first example, already shows a changed role.

    A more realistic solution for the example code would be to setup a linter in the pipeline, and if one letter variables and/or template literals are detected, depending on how nice you are, reject the commit, or send an email requesting the author to be beaten up with a crowbar to the teamlead, and a copy, parsed by chatGPT for formality and politeness, to the HR.




  • I hate this shit being routinely used in PHP. Symfony uses those functional comments for routing, essentially scanning every controller file as text on every visit, to gather the url patterns above functions. Laravel uses Reflection, which is functionally the same thing, to provide arguments to controller functions. Also, kind of related, the project I’m working now has few functions that use backtrace to return different results based on where they are called from. It is indeed very cursed and I’m ripping out any usages of them whenever I see one.


  • I did exactly that many years ago. Ditched my phone and went with x86 UMPC with builtin 3G modem, the name of which I don’t remember because it was some random Chinese no-name. Unfortunately that experiment coincided with the era of “fuck websites, we’re going app-only because we’re so hip”. I was in a world of pain right off the bat when I got a carrier plan, specifically marketed for usage on PC’s, and it did not work. I called them and they said to me:

    • Do you have Android or iOS?
    • I only have Windows
    • Windows phone?
    • No, Windows 8…
    • Well, you’ll have to use the app to activate the SIM card…

    Turns out, the usage on PC’s meant tethering…

    Lots of online things, if they were even available as websites, were highly cut down versions of apps. And SMS 2FA, goddamn. I remember not being able to buy booze and shoes because, apparently, phone confirmations were required in those establishments. Good thing they’re fading out in favor of TOTP and passkeys. But, at a time, I had to swtich to a carrier that allowed me to use “corporate” features like SMS forwarding and SIP telephony. Also, fuck WhatsApp, that shit can burn in all fires of hell.

    On the other hand, I really miss that time. It was liberating, just not having like, a few dozen malwares in my pocket tracking me down just to track someone’s dog, or a bus, or to spy on someone’s buying preferences or whatever. But things have gotten quite a bet better over the years, so I’m kind of inclined to repeat the experiment with my new-ish OM3S which I carry because I still cannot imagine going out without a proper PC on me (don’t buy it, though, it is severely underpowered, better get something GPD instead).




  • Tailscale… is not that good. The underlying wireguard is robust, but tailscale control plane is completely proprietary, as well as their DERP servers that it too often uses completely needlessly. They can also block you off from downloading it, updating, or logging in, if you happen to be in a wrong country.

    I’m myself looking for an alternative to it, but having trouble finding something I could share with non tech savvy friends while not being as complex on my end as, say, open/strongswan ais. Any suggestions welcome.


  • ~/Sources for stuff I’m only building from sources and no immediate intention to contribute to

    ~/Projects for stuff I’m involved in, with a following structure:

    Projects
     - Personal
     - - Art
     - - Music
     - - Code
     - - - Ideas
     - - - In progress
     - - - Deployed
     - - - Scripts
     - - - Abandoned
     - [Company name]
     - - [Project name]
     - Interviews
     - - [Company name]
    

    The last part grouping project by companies has worked great for me, especially with freelance and outsource work. Sorting personal projects into types and stages feels like a mistake, as every time I have to navigate it, I can’t help but think of limitations of hierarchical file systems, as some of them are multiple types simultaneously, and also moving projects between stages feels dumb.


  • Ukraine is not committing brutal crimes, not lobbing rockets randomly, hoping to kill anyone, civilian or not

    Check your sources bias. Control phrase is “cluster munitions, Donetsk”. Russia is faaaar from being free of guilt, but, while they have capability to do this to ALL Ukrainian cities, I don’t see any footage of landmines all over Kiyv and Lviv. Another check is to listen to chants(e.g. москаляку на гіляку, смерть русні, etc) of each side. This effectively flips your argument upside down.

    Definitely not comparable, though, at least that we can agree.