WTF Bites


  • Notification Spam Recipient

    @boomzilla said in WTF Bites:

    ImageMagick

    :facepalm: I thought you were talking the piss. The code is basically a ruby wrapper around image magick. :wat:


  • ♿ (Parody)

    @DogsB well, they couldn't well do it with text and CSS could they?!!?!1


  • BINNED

    @boomzilla said in WTF Bites:

    @DogsB well, they couldn't well do it with text and CSS a filesystem could they?!!?!1

    :spanner:



  • @Bulb said in WTF Bites:

    Distance in versts here, time in fortnights there

    That's the verst measurement I've ever heard of


  • Considered Harmful

    @Kamil-Podlesak said in WTF Bites:

    But with percents in economics, there is an extra bonus: delta! For example, if the
    inflation rate used to be 1.2% and then it went up by 3%, it's now... eeeeeehm... ?worse?

    Also, is that percent or percentage points? :pendant:


  • Considered Harmful

    @Rhywden said in WTF Bites:

    @Gąska said in WTF Bites:

    @Zecc I don't have energy for this.

    Just keep to a ground state and you won't feel as excited.

    I have trouble not getting a hadron or thinking about double slit experiments when I hear about particularly fermi bosoms.



  • @Bulb said in WTF Bites:

    Distance in versts here, time in fortnights there and then you multiply by 8.268 to get the result in that other unit—instead of just giving the equation in dimensional quantities and let the user plug in value in any consistent set of units.

    For me, this equation takes the cake:

    I = k n D^{1/3} m^{2/3} t^{1/6} c

    "where k is a constant which includes π and the density of mercury, and with the Faraday constant F has been evaluated at 708 for maximal current and 607 for average current"

    Of course, it only works if Id is in micro-amperes and m in mg/s.


  • Grade A Premium Asshole

    @dangeRuss said in WTF Bites:

    Although and I have no idea how this works, but my OnePlus has some sort of magic usba to USBC cable and charger that goes way faster then PD charging

    USB-C Alternate Mode utilizing Vendor Defined Messages on the configuration channel. If you abuse that you can do just about anything you want to do.



  • @aitap said in WTF Bites:

    the Faraday constant F has been evaluated at 708 for maximal current and 607 for average current

    That's an astonishingly interesting definition of constant.


  • Banned

    Wikipedia article on Faraday's constant has a "in popular culture" section where it talks about a Simpsons episode. I find it way more amusing than I should.


  • Notification Spam Recipient

    @LaoC said in WTF Bites:

    @Kamil-Podlesak said in WTF Bites:

    But with percents in economics, there is an extra bonus: delta! For example, if the
    inflation rate used to be 1.2% and then it went up by 3%, it's now... eeeeeehm... ?worse?

    Also, is that percent or percentage points? :pendant:

    Basis points, we've been over this! 🤪



  • @Polygeekery said in WTF Bites:

    @dangeRuss said in WTF Bites:

    Although and I have no idea how this works, but my OnePlus has some sort of magic usba to USBC cable and charger that goes way faster then PD charging

    USB-C Alternate Mode utilizing Vendor Defined Messages on the configuration channel. If you abuse that you can do just about anything you want to do.

    Though, faster than PD charging? I mean, PD can already provide 100 Watt...



  • @Rhywden said in WTF Bites:

    @Polygeekery said in WTF Bites:

    @dangeRuss said in WTF Bites:

    Although and I have no idea how this works, but my OnePlus has some sort of magic usba to USBC cable and charger that goes way faster then PD charging

    USB-C Alternate Mode utilizing Vendor Defined Messages on the configuration channel. If you abuse that you can do just about anything you want to do.

    Though, faster than PD charging? I mean, PD can already provide 100 Watt...

    Probably a bad idea without specialized cables, but why not? When you leave the reservation, you can do interesting things. It's been forever since I looked at the usb standard though.
    Not that sticking to the standard cab be relied upon by chargers to begin with.



  • @Carnage said in WTF Bites:

    It's been forever since I looked at the usb standard though.

    And you want to keep that way, trust me.


  • Grade A Premium Asshole

    https://techalert24.com/2021/12/google-is-developing-its-first-in-house-pixel-watch.html

    I don't know how to feel about this. My first reaction was:

    polygeekery "It's about goddamn time because all of the WearOS watches I've tried are garbage."

    But then I come to my senses:

    polygeekery "Oh, somehow they will find a way to fuck it up worse."



  • @Zerosquare said in WTF Bites:

    @Carnage said in WTF Bites:

    It's been forever since I looked at the usb standard though.

    And you want to keep that way, trust me.

    Prior experience is one of my main reasons not to read it again, yes.



  • @Polygeekery said in WTF Bites:

    https://techalert24.com/2021/12/google-is-developing-its-first-in-house-pixel-watch.html

    I don't know how to feel about this. My first reaction was:

    polygeekery "It's about goddamn time because all of the WearOS watches I've tried are garbage."

    But then I come to my senses:

    polygeekery "Oh, somehow they will find a way to fuck it up worse."

    Maybe something like: If you enable all the features, battery life will only be 3 hours.


  • BINNED

    Seems Blender lets you use mathematical formulae as the value for various operations – so you can start a translation, type =sqrt(2) and it’s moved √2 units. Excellent, I’m a stickler for accuracy.

    This works for rotations too, of course. Suppose you wanted to rotate by =acos(1/2) – well, acos(0.5) = π/3 ≈ 1.047… so it rotates by 1.047°. :facepalm: (the actual angle I needed when discovering this was less trivial.)


  • I survived the hour long Uno hand

    @LaoC said in WTF Bites:

    Imagine you log on to a server and you see a process running at 8% CPU. What can you tell me about its workload?

    That workload isn't a Bitcon miner.


  • Considered Harmful

    @izzion said in WTF Bites:

    @LaoC said in WTF Bites:

    Imagine you log on to a server and you see a process running at 8% CPU. What can you tell me about its workload?

    That workload isn't a Bitcon miner.

    Yeah … usually. If it works the way Linux handles it, that's what I was getting at. If stats were scaled to 100% the way @El_Heffe suggested (and ISTR how Solaris actually does it), 8% could mean a single-core machine that's mostly idle, a 12-core with a single-threaded bitcoin miner or a 96-core that's doing some relatively light but still quite substantial work with 8 cores maxed out. There's simply no way to tell if you don't know the number of cores. Among the machines I run, that varies wildly between 2 and 96, but I really don't care to remember them all, not that I could :belt_onion:
    The way it works, I can be sure 8% is bored, 100% is a single-threaded workload at max, oscillating around 100% is probably a control process spawning worker threads, and anything above immediately tells me how many cores are busy without me having to look that up separately or do scaling (of numbers that change every second at that) in my head. Everything else like how much work each core can actually do is secondary. If you have one of those highly asymmetric multicore CPUs, chances are you either have an embedded system where you manage CPU affinity yourself anyway, or it's not a machine where you need CPU stats to analyze performance problems.


  • 🚽 Regular

    @kazitor said in WTF Bites:

    Seems Blender lets you use mathematical formulae as the value for various operations – so you can start a translation, type =sqrt(2) and it’s moved √2 units. Excellent, I’m a stickler for accuracy.

    This works for rotations too, of course. Suppose you wanted to rotate by =acos(1/2) – well, acos(0.5) = π/3 ≈ 1.047… so it rotates by 1.047°. :facepalm: (the actual angle I needed when discovering this was less trivial.)

    It used to be possible to enter angles in radians by typing an 'r' suffix after the number, but I don't know if it works when typing expressions or if — this being Blender — it still works at all.

    I haven't used Blender in years, and I've never used it all that much in any case.


  • Banned

    @LaoC said in WTF Bites:

    If you have one of those highly asymmetric multicore CPUs, chances are you either have an embedded system where you manage CPU affinity yourself anyway, or it's not a machine where you need CPU stats to analyze performance problems.

    No love for Alder Lake :sadface:


  • Considered Harmful

    @Gąska said in WTF Bites:

    @LaoC said in WTF Bites:

    If you have one of those highly asymmetric multicore CPUs, chances are you either have an embedded system where you manage CPU affinity yourself anyway, or it's not a machine where you need CPU stats to analyze performance problems.

    No love for Alder Lake :sadface:

    It's way too new, I haven't even seen it live, but I'm sure it makes a nice desktop CPU. On my desktop I usually know what's going on.


  • Java Dev

    @LaoC said in WTF Bites:

    8% could mean [...]

    Some would say it means a developer who needs to get into the 21st century and implement meaningful multithreading in his code.


  • BINNED

    @PleegWat said in WTF Bites:

    @LaoC said in WTF Bites:

    8% could mean [...]

    Some would say it means a developer who needs to get into the 21st century and implement meaningful multithreading in his code.

    : You only max out a single core constantly? Rookie numbers! Burn through all the cores!


  • Considered Harmful

    @PleegWat said in WTF Bites:

    @LaoC said in WTF Bites:

    8% could mean [...]

    Some would say it means a developer who needs to get into the 21st century and implement meaningful multithreading in his code.

    And add a few speedup loops for crissake!!!1





  • @Zecc said in WTF Bites:

    It used to be possible to enter angles in radians by typing an 'r' suffix after the number, but I don't know if it works when typing expressions or if — this being Blender — it still works at all.

    I couldn't find any documentation of it, but it seems to still work in 3.0 (which was just released a few days ago), at least for simple expressions like addition and multiplication (1+1r -> 114°, 2*3.14159r -> 360°). You can even mix them (2*3.14159r+1d -> 361°). In some circumstances, anyway; the expression parser for interactive transformations has always been wonky, and that doesn't seem to have been changed in 3.0.


  • Java Dev

    @HardwareGeek That doesn't help with the output of asin().


  • BINNED

    @PleegWat said in WTF Bites:

    @HardwareGeek That doesn't help with the output of asin().

    Well, you already have an expression parser. Just add a factor of * 180 / pi.
    Not the most ergonomic solution, but once you’re messing with things like asin this doesn’t make much of a difference.



  • Damn. Now that you have written something that implicitly relies on the bug, they won't ever be able to fix it.

    Yeah, as if they were going to fix it in the fist place.



  • WTF of my day: Playing a bit of Halo Infinite. And the 3rd boss is ... I honestly do not know what the devs were thinking with that one.

    First of all, all bosses in this game have a metric ton of health and shields. Okay, par for the course.

    But this one takes the cake.

    First of all, he's as fast as the Master Chief. So, no running away on foot because he'll simply keep up with you. So you need to use your grappleshot liberally to get to any distance from the guy, because:
    Next, he's a melee character with a big honking hammer. Two normal hits from that and you're gone. But:
    Third, they placed this fight in a one-level area. So, there's no way for you to use the grappleshot to get to another level and take advantage of maneuverability. But:
    Fourth: Said area is basically a bunch of narrow corridors filled with boxes. So good luck while running backwards to get at least some shots at the guy to not get stuck (and then hammered).
    Fifth: If, against all odds, you do manage to get to a reasonable distance between you and the boss to actually use your guns, he has a leaping hammer jump. Which not only has infinite range, no, it's also a one-hit!

    Some unfortunate souls on Reddit went into that fight with an out-of-ammo rocket launcher and a hammer of their own.

    Luckily, there seems to be a spot which you can grapple to which makes him stand around. And throw sticky grenades (but of course!)...


  • Java Dev

    @Zerosquare said in WTF Bites:

    Damn. Now that you have written something that implicitly relies on the bug, they won't ever be able to fix it.

    Yeah, as if they were going to fix it in the fist place.

    I didn't know we were talking about microsoft.



  • @Rhywden The auto-save system in Halo Infinite has certainly added a somewhat peculiar element of challenge to the game. I've gotten myself into a few ... situations in the open-world-y parts where the respawn was less than optimal. (E.g., here's the load-out you died with a few steps from here when fighting one of the special open-world dudes. Also ... remember being surrounded before? Well, you still are. Have fun!)


  • Notification Spam Recipient

    Status¿ you're already communicating this information via remote API, collected from a dedicated device. Why the Shit can't you also execute commands like "ping this." or "port scan this" using the same thing?!?

    Screenshot_20211212-170059_Fing.png


  • Considered Harmful

    @PleegWat said in WTF Bites:

    @HardwareGeek That doesn't help with the output of asin().

    asin(9) always gives stupid results

    OK, I'll show myself out.


  • Java Dev

    @LaoC said in WTF Bites:

    asin(9) always gives stupid results
    OK, I'll show myself out.

    Of course it does. (9) is the poster child for stupid.


  • Java Dev

    edge-repo-error.png

    Microsoft are still working out how thing Linux thing works methinks. (Unsigned key.)



  • @Atazhaia Microsoft uses a semi-hack where the package updates the archive key when installed, so you first install it manually and then on updates it should pull in the new keys to keep things working. So either they messed up the rotation, or there was no update in the necessary time-frame, or you didn't update in the necessary time-frame.

    Cryptography is hard, let's go shopping.


  • BINNED

    @Bulb said in WTF Bites:

    Microsoft uses a semi-hack

    :surprised-pikachu:



  • @Luhmann It is not that unreasonable. Normally each archive should have a corresponding <whatever>-archive-key package that does that, but it would make the installation slightly more complicated, so Microsoft embedded the functionality in all packages instead.

    I would prefer if Microsoft switched to, or started providing, snap (or flatpak) packages though; they are more appropriate for third-party software. They do have snaps for some things, but not all.



  • 098db9fa-d97b-4a2a-97f0-7b50b17e103e-image.png

    Microsoft, notorious for failing to renew certificates.


  • Considered Harmful

    @Bulb Except that's not quite what's going on there, I believe.

    https://www.askvg.com/mozilla-pkix-error-ocsp-response-for-cert-missing-error-code-on-microsoft-websites-in-firefox/

    OCSP stands for Online Certificate Status Protocol which is a method for obtaining certificate revocation information. When presented with a certificate, the web browser asks the issuing CA if there are any problems with it. If the certificate is fine, the CA can respond with a signed assertion that the certificate is still valid. If it has been revoked, however, the CA can say so by the same mechanism.

    OCSP has a few drawbacks. First, it slows down new HTTPS connections. Second, it leaks to the CA what HTTPS sites the user visits, which is concerning from a privacy perspective.

    OCSP stapling is a mechanism by which a site can convey certificate revocation information to visitors in a privacy-preserving, scalable manner. OCSP stapling solves above mentioned problems by having the site itself periodically ask the CA for a signed assertion of status and sending that statement in the handshake at the beginning of new HTTPS connections. The browser takes that signed, stapled response, verifies it, and uses it to determine if the site’s certificate is still trustworthy. If not, it knows that something is wrong and it must terminate the connection. Otherwise, the certificate is fine and the user can connect to the site.

    Chrome (and therefore chredge) does not enable this thing by default.


    I got this error some days ago while fixing a hobby project. Wanted to look up some stuff. I saw it as a sign to :kneeling_warthog:.



  • @Applied-Mediocrity Ok, so Microsoft is doing something else wrong here. But they clearly are – FF should fall back to the old method if the server does not support it. So the server must say that it does, but then fail to actually do.


  • BINNED

    @Bulb said in WTF Bites:

    Microsoft, notorious for failing to renew certificates.

    I got that error last Friday when trying to read the oldnewthing blog.

    My conclusion was: Okay, so Microsoft fucked up their website again, but where's the "connect anyway" button? Of course I understand that you can't make that too easy because otherwise users would just blindly click it without understanding the implications, but it's just a blog. I don't give a shit if you have to fall back to http, do what I say!


  • BINNED

    There is too much change in this change
    a622d028-028a-4f99-8baf-4c555e1720f6-image.png

    Context: bulk changing jira issues sadly this didn't entail putting them all in status closed

    Fake edit: further changes also brought more change to light

    82903167-3d29-4d48-b81d-e583cb241ba0-image.png

    Fake edit2: there are so goddamn many fields I ended up page searching for the 'FeatureType' a key word that has nothing to do with features or types but everything with counting beans


  • BINNED

    @Luhmann

    Real Reply 1: changing the damn field in bulk edit did of course not trigger the other thingies like it does on a manual change ...


  • BINNED

    @Luhmann
    Real Replay 2: now manually poking The Field doesn't even trigger the gizmo thingy to flip it's bean counting status anymore ... great I'm really @Tsaukpaetra -ing this


  • BINNED

    @Luhmann
    status if I don't see it any more in my jira query it must be ok ...


  • Notification Spam Recipient

    @Luhmann said in WTF Bites:

    @Luhmann
    status jira

    Indeed!


Log in to reply