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

help-circle
  • 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.




  • 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.


  • That’s the face I’ve made just yesterday when my friend told me she’s now eligible for a subsidized IT mortgage. That thing was one of Russia’s last ditch attempts at stopping skilled workers from fucking off to different countries. The problem is, she’s a web designer. I guess that counts as IT nowadays, so good for her. But it’s bitter to hear as sr. backend tech who never hit the criteria…




  • drathvedro@lemm.eetoMemes@sopuli.xyzIt will outlive us all
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    7 months ago

    Not necessarily. Even though PS/2 operates with a superior protocol, latency-wise, the clock speed is atrocious, resulting in an effective polling rate of about 1500hz, give or take. We could account that it doesn’t need to wait for request to send keystrokes like USB keyboard do, effectively doubling it even more, but then we’d have to account for whatever delay Super I/O chips introduce and I’m not qualified to talk about that. But, if your keyboard is not from a dollar store shelf then it probably runs on at least 1000hz, at which point we are talking about sub-millisecond differences which would be quite hard to notice. 4000hz keyboard definitely beats PS/2 though.



  • It’s actually the other way around. Check out Ben Eater’s awesome videos for technical details.

    TLDR: PS/2 sends separate key up and key down events, sequentially - like #1 Down - #2 Down - #1 Up - #2 Up - each in separate message, allowing for theoretically infinite rollover (excluding certain edge-cases). USB, on the other hand, polls only for keys being pressed at the moment. By default, the keyboard responds with a 8-byte message, with 1 byte being the bitmask for 8 modifier keys (4 on each side), a spacer, and 6 bytes/slots for identifiers of keys being held down. If one identifier is present in one response but is missing or replaced in next one, the system assumes a key-up event. It is possible by USB spec to negotiate connection in such a way that the keyboard responds with a bitmask for every single key it has. But this is not well supported by things like BIOS and KVM’s, so very few keyboard manufacturers bother implementing it. Most keyboarrds advertising NKRO are actually only capable of doing so via the PS/2 adapter.



  • payments/transfers would be both much slower AND much more expensive than via a bank

    Not necessarily. You could have a federated system, where only big players like banks participate in larger blockchain, like banks already do with forex and wire transfers and pay ridiculous fees to clearing agencies, and clear out local transfers locally, possibly inside their own smaller and much faster blockchain.





  • Sure. Here you go. The green container should cover all red boxes in both cases. I’ve been bashing my head against this issue for a while, but, as far as I understand, this is a bug that’s never going to be fixed. Which sucks, because I wanted to re-design some of the apps in the horizontal metro-style scrolling manner for the bottom screen on my zephyrus duo, but this effectively prevents me from doing so (Unless I use grids and set positions manually).





  • I know a place where they still do this. They’ve got an 8-digit user count, 7 digit monthly profits, all running on one server that costs something like $20 a month. They’ve downsized a few years ago to single-digit employee number and just sit there and collect profits. And this is why I’m now working for a company that casually dropped a few grand for a glorified CPU usage meter and a few grand on top of that for deployment tool that does the same thing that the old guy at a former place was doing with his trusty FTP client.