WTF Bites



  • @Gribnit said in WTF Bites:

    @Carnage said in WTF Bites:

    @Gąska said in WTF Bites:

    @dkf said in WTF Bites:

    which I've seen happen in a coworker's Solaris workstation over 20 years ago

    I always wondered if anyone ever actually used Solaris.

    My first job as a programmer was on Solaris. Very expensive hardware with very poor performance. And extremely loud fans.

    That just sounds like you didn't get an expensive enough one. Pretty sure the last Solaris I worked on was on x64

    I'm pretty sure it was expensive as fuck. Like two month salaries worth expensive per workstation. A proper SPARC thingy.



  • @Carnage said in WTF Bites:

    My first job as a programmer was on Solaris. Very expensive hardware with very poor performance.

    My only experience with a Sun Solaris machine is being unimpressed by CDE, and impressed by how cheap and nasty the keyboard and mouse were.


  • 🚽 Regular

    @error_bot said in WTF Bites:

    xkcd said in https://xkcd.com/1168/ :

    tar

    )

    Does either of these work?

    • tar --version
    • tar --help

    @Gribnit said in WTF Bites:

    @error_bot tar czvf your.mom.tar.gz ./your.mom

    I haven't used tar in a loooong time, but I still remembered zxvf.
    c didn't immediately pop to mind but I probably could have remember had you asked me.
    That's the extent of my knowledge of tar options and it's good enough for 99% of my needs.


  • 🚽 Regular

    @Carnage said in WTF Bites:

    My first job as a programmer was on Solaris. Very expensive hardware with very poor performance. And extremely loud fans.

    :frystare: Not sure if you mean cooling devices or annoying people.



  • @aitap said in WTF Bites:

    Firefox suddenly crashes and then keeps crashing immediately on startup. On a hunch I run debsums -c firefox-esr, and get an answer: two of its *.sos are damaged. Nothing apt --reinstall can't fix, right? Except the crappy university Wi-Fi has just crapped itself again, and I need to run a JavaScript-capable browser to log in. And I need Internet access before I'll be able to run that browser. What would Yossarian do?

    Run one of the half-dozen other browsers you have installed?


  • Considered Harmful

    @Gribnit said in WTF Bites:

    @Zerosquare said in WTF Bites:

    @topspin said in WTF Bites:

    the stereotypical bearded Unix nerds had to explain to me how to use this fvwm2 shit and why its usability was 15 years behind Windows.

    If they used a window manager instead of the console in text mode, they were No True Bearded Unix Nerds.

    No True Bearded Unix Nerd would use the console*, they'd use screen in a tty.

    twm is where it's at—as old as screen and none of that new-fangled glitzy fvwm2 shite. Material Design before it was cool.


  • Considered Harmful

    @Carnage said in WTF Bites:

    @Gribnit said in WTF Bites:

    @Carnage said in WTF Bites:

    @Gąska said in WTF Bites:

    @dkf said in WTF Bites:

    which I've seen happen in a coworker's Solaris workstation over 20 years ago

    I always wondered if anyone ever actually used Solaris.

    My first job as a programmer was on Solaris. Very expensive hardware with very poor performance. And extremely loud fans.

    That just sounds like you didn't get an expensive enough one. Pretty sure the last Solaris I worked on was on x64

    I'm pretty sure it was expensive as fuck. Like two month salaries worth expensive per workstation. A proper SPARC thingy.

    Sun never sold anything that wasn't expensive as fuck. Yes, performance sucked, but uptimes measured in years even with dozens of users on the whole spectrum between nooby, demanding and malicious on it 24/7 were pretty cool.


  • Considered Harmful

    Last Wikipedia binge led me to the newly opensourced Inferno. I was interested in playing with it until I read this, unironically published (or at least updated) in March 2021:

    High level security is an important part of the Inferno system. [...] using a certificate based user identification scheme and variety of algorithms including:

    • IDEA, 56 bit DES, 40, 128 and 256 bit RC4 encryption algorithms
    • MD4, MD5 and SHA secure hash algorithms

  • Discourse touched me in a no-no place

    @Zerosquare said in WTF Bites:

    My only experience with a Sun Solaris machine is being unimpressed by CDE

    It felt better when compared against Windows 3.1. 😆


  • Considered Harmful

    @Zecc said in WTF Bites:

    That's the extent of my knowledge of tar options

    There's also a t, and that's pretty much it unless you're some kind of crazy person.

    Stultifyingly-dull-fact, jar so far has supported this syntax in each version I've tried it with. I think it needs a - preceding per cowardice, tho.


  • Discourse touched me in a no-no place

    @Gribnit Yes.

    There's the command options:
    • c — Create a tar file
    • x — Extract a tar file
    • t — List a tar file's contents

    The mandatory option:

    • f — Use a tar file (yes, really) or a pipe (if the filename is -); omit this and it's supposed to use a goddamn tape device and who the fuck has one of those in use?

    The common option:

    • v — Verbose

    And a few things to control integrating with compression directly (which are common extensions to basic tar):

    • z — Use gzip; this is the one I remember properly.
    • j — I think this one is for bzip?

    Oh, and a bunch more that nobody remembers.


  • Notification Spam Recipient

    @dkf said in WTF Bites:

    it's supposed to use a goddamn tape device

    Noice.

    0b8b9f01-510d-47ac-ac53-2ee73ea7e65f-image.png


  • Considered Harmful

    @Tsaukpaetra said in WTF Bites:

    @dkf said in WTF Bites:

    it's supposed to use a goddamn tape device

    Noice.

    0b8b9f01-510d-47ac-ac53-2ee73ea7e65f-image.png

    Wonder if I should figure out how to link the tape device to stdout in the environment, just to fuck with people.

    Foregone conclusion, it turns out.


  • Notification Spam Recipient

    @Gribnit said in WTF Bites:

    @Tsaukpaetra said in WTF Bites:

    @dkf said in WTF Bites:

    it's supposed to use a goddamn tape device

    Noice.

    0b8b9f01-510d-47ac-ac53-2ee73ea7e65f-image.png

    Wonder if I should figure out how to link the tape device to stdout in the environment, just to fuck with people.

    TAPE=/dev/stdin

    I accept bugchecks or segmentation faults for payment.


  • Considered Harmful

    @Tsaukpaetra said in WTF Bites:

    @Gribnit said in WTF Bites:

    @Tsaukpaetra said in WTF Bites:

    @dkf said in WTF Bites:

    it's supposed to use a goddamn tape device

    Noice.

    0b8b9f01-510d-47ac-ac53-2ee73ea7e65f-image.png

    Wonder if I should figure out how to link the tape device to stdout in the environment, just to fuck with people.

    TAPE=/dev/stdin

    I accept bugchecks or segmentation faults for payment.

    Handy. If you want to make sure your profile is loaded, extra sure, try adding $0 | $0 at the end.


  • Discourse touched me in a no-no place

    @Tsaukpaetra said in WTF Bites:

    @Gribnit said in WTF Bites:

    @Tsaukpaetra said in WTF Bites:

    @dkf said in WTF Bites:

    it's supposed to use a goddamn tape device

    Noice.

    0b8b9f01-510d-47ac-ac53-2ee73ea7e65f-image.png

    Wonder if I should figure out how to link the tape device to stdout in the environment, just to fuck with people.

    TAPE=/dev/stdin

    I accept bugchecks or segmentation faults for payment.

    You'd probably do better using /dev/mouse


  • Considered Harmful

    @dkf said in WTF Bites:

    @Tsaukpaetra said in WTF Bites:

    @Gribnit said in WTF Bites:

    @Tsaukpaetra said in WTF Bites:

    @dkf said in WTF Bites:

    it's supposed to use a goddamn tape device

    Noice.

    0b8b9f01-510d-47ac-ac53-2ee73ea7e65f-image.png

    Wonder if I should figure out how to link the tape device to stdout in the environment, just to fuck with people.

    TAPE=/dev/stdin

    I accept bugchecks or segmentation faults for payment.

    You'd probably do better using /dev/mouse

    Page 666 of this topic is coming along nice, well done.



  • @Carnage said in WTF Bites:

    @Gribnit said in WTF Bites:

    @Carnage said in WTF Bites:

    @Gąska said in WTF Bites:

    @dkf said in WTF Bites:

    which I've seen happen in a coworker's Solaris workstation over 20 years ago

    I always wondered if anyone ever actually used Solaris.

    My first job as a programmer was on Solaris. Very expensive hardware with very poor performance. And extremely loud fans.

    That just sounds like you didn't get an expensive enough one. Pretty sure the last Solaris I worked on was on x64

    I'm pretty sure it was expensive as fuck. Like two month salaries worth expensive per workstation. A proper SPARC thingy.

    Two months salaries? That's not "expensive as fuck", that's more like "mid-range".

    I remember when I started the university, there was a lab with DEC workstations, bought by the Faculty of Mechanical Engineering as CAD workstation. Twice a year, it was full of ME students doing their assignments... and the rest of the time, it was completely empty because ME students generally did not like DUX.

    Funny story: the Dean of the ME Faculty did a tour for some bigwigs (Edu ministry maybe?) and as they entered the lab (from behind us), he said... "and here we have the top-of-the-line CAD lab, each of these workstations cost like mid-range Mercedes..." .... and the whole group looked at the half-empty room with me and two other people, all of us having 8 xterms tiled across the 30" monitors.



  • @dkf said in WTF Bites:

    j — I think this one is for bzip?

    Yep - z and j are the two that I remember as well. Then again, modern tar can figure out the compression itself, which is useful when somebody uses a compression that isn't gzip or bzip.

    (One might think that nothing useful ever comes out of Facebook. It's not quite true - their zstd compression is quite good for general purpose stuff.)


  • BINNED

    @cvi said in WTF Bites:

    @dkf said in WTF Bites:

    j — I think this one is for bzip?

    Yep - z and j are the two that I remember as well. Then again, modern tar can figure out the compression itself, which is useful when somebody uses a compression that isn't gzip or bzip.

    (One might think that nothing useful ever comes out of Facebook. It's not quite true - their zstd compression is quite good for general purpose stuff.)

    Capital J does xz compression.



  • @cvi said in WTF Bites:

    One might think that nothing useful ever comes out of Facebook. It's not quite true - their zstd compression is quite good for general purpose stuff.

    Meh. If you were to use a special-purpose, lossy compression algorithm that discards useless and redundant information, all of Facebook could be compressed onto a single floppy.


  • Discourse touched me in a no-no place

    @HardwareGeek said in WTF Bites:

    @cvi said in WTF Bites:

    One might think that nothing useful ever comes out of Facebook. It's not quite true - their zstd compression is quite good for general purpose stuff.

    Meh. If you were to use a special-purpose, lossy compression algorithm that discards useless and redundant information, all of Facebook could be compressed onto a single floppy.

    Apparently, an 8" floppy could hold 242,944 bytes. Which sounds like more than enough space.


  • Considered Harmful

    @HardwareGeek said in WTF Bites:

    @hungrier said in WTF Bites:

    But what are they thinking with the yearly promo price, compared to the monthly?

    I'd guess the $1.99/month rate doesn't last a full year. I'd further guess that it lasts 3 months. 3 months at $1.99 and 9 months at $34.99 would be $320.88, so $290 would still be a discount. 4 months at $1.99 and 8 months at $34.99 would be $287.88, so about the same as the yearly rate, which would no longer be a bargain. If the introductory discount lasts longer than 4 months, you'd have to be seriously innumerate to take the yearly rate.

    There's also a marketing psychological trick where if they show you an outlandishly high price first, it makes the real price much more palatable.


  • Considered Harmful

    @HardwareGeek said in WTF Bites:

    If you were to use a special-purpose, lossy compression algorithm that discards useless and redundant information, all of Facebook could be compressed onto a single floppy.

    :hanzo: by Westworld.



  • @error said in WTF Bites:

    There's also a marketing psychological trick where if they show you an outlandishly high price first, it makes the real price much more palatable.

    Something about "anchoring", I think.

    I remember seeing a video that recounted an experiment where you ask people two questions: first, whether a given object (say "this car") weighs more, or less, than X, with X being an obviously outlandish value, either too high or too low (i.e. the first question is either "does this car weigh more, or less, than 10 g?" or "does this car weigh more, or less, than 1 million tons?"). The second question is to give an estimate of the weight of the object.

    Statistically, people would give a larger answer to the second question if they were asked the first one with the huge number than with the tiny one. They obviously know that the number they hear in the first question is totally wrong (by several orders of magnitude), but the simple fact that it was the last number they heard before the real question is enough to skew their answer upwards (or downwards).

    So something similar might happen here. Even if the first price is outlandishly high and you discard it immediately, it still "anchors" you towards a higher number as what you think the "true" price should be -- which makes you more likely to accept a slightly higher actual price than otherwise.


  • I survived the hour long Uno hand

    Whoopsie daisy


  • Banned

    @izzion

    @error_bot xkcd historical artifact


  • 🔀



  • Epic games is having some issues and letting me know in a nice way

    fcc136e8-15d6-4e38-8ac7-3a686ec24c49-image.png

    JSON, do you speak it?



  • @dkf said in WTF Bites:

    it's supposed to use a goddamn tape device and who the fuck has one of those

    HardwareGeek:👋



  • @Zerosquare Nope. I had one 30+ years ago (my first employer out of college made them, or at least the electronics inside, and I got it either free or at a substantial employee discount), but it disappeared into the mists of time decades ago. If I did still have it, it would be rather less than useful. I don't remember what interface it used (parallel SCSI?), but whatever it was, it's long obsolete. And I don't remember what the capacity of the tape cartridges was, but I'm pretty sure it was measured in MB, not GB, and certainly not TB.


  • Considered Harmful

    @dkf said in WTF Bites:

    omit this and it's supposed to use a goddamn tape device and who the fuck has one of those in use?

    Yeah, a handful of 24x12TB LTO8 changers. But there's no way anyone would let tar figure out the device. Apart from the fact that anyone using tar for these things to begin with would be frontpage material.


  • BINNED

    @LaoC said in WTF Bites:

    @dkf said in WTF Bites:

    omit this and it's supposed to use a goddamn tape device and who the fuck has one of those in use?

    Yeah, a handful of 24x12TB LTO8 changers. But there's no way anyone would let tar figure out the device. Apart from the fact that anyone using tar for these things to begin with would be frontpage material.

    I mean, can you even just write a stream of random garbage directly to the device? How would that make sense?
    (Obviously I have no clue how this works)


  • Considered Harmful

    @topspin said in WTF Bites:

    @LaoC said in WTF Bites:

    @dkf said in WTF Bites:

    omit this and it's supposed to use a goddamn tape device and who the fuck has one of those in use?

    Yeah, a handful of 24x12TB LTO8 changers. But there's no way anyone would let tar figure out the device. Apart from the fact that anyone using tar for these things to begin with would be frontpage material.

    I mean, can you even just write a stream of random garbage directly to the device? How would that make sense?
    (Obviously I have no clue how this works)

    Yes, that works fine, it just creates a new "file" on the tape and dump data in there. Tape drives have some primitive notion of a file that is just "shit between markers on the tape" so you can tell it to skip forward or backward to the next marker.


  • Considered Harmful

    @LaoC said in WTF Bites:

    Apart from the fact that anyone using tar for these things to begin with would be frontpage material.

    Okay, I'll bite. What lets these buggers not be amenable, to the notional standard interface?


  • Considered Harmful

    @HardwareGeek said in WTF Bites:

    @Zerosquare Nope. I had one 30+ years ago (my first employer out of college made them, or at least the electronics inside, and I got it either free or at a substantial employee discount), but it disappeared into the mists of time decades ago. If I did still have it, it would be rather less than useful. I don't remember what interface it used (parallel SCSI?), but whatever it was, it's long obsolete. And I don't remember what the capacity of the tape cartridges was, but I'm pretty sure it was measured in MB, not GB, and certainly not TB.

    30 years ago you could put 8G on a VHS tape.


  • Considered Harmful

    @Gribnit said in WTF Bites:

    @LaoC said in WTF Bites:

    Apart from the fact that anyone using tar for these things to begin with would be frontpage material.

    Okay, I'll bite. What lets these buggers not be amenable, to the notional standard interface?

    What's that standard interface that who is not amenable to?


  • Considered Harmful

    @LaoC said in WTF Bites:

    @Gribnit said in WTF Bites:

    @LaoC said in WTF Bites:

    Apart from the fact that anyone using tar for these things to begin with would be frontpage material.

    Okay, I'll bite. What lets these buggers not be amenable, to the notional standard interface?

    What's that standard interface that who is not amenable to?

    I seriously can't expect tar to just work without f for a tape deck assuming POSIX compliance?


  • Considered Harmful

    @Gribnit said in WTF Bites:

    @LaoC said in WTF Bites:

    @Gribnit said in WTF Bites:

    @LaoC said in WTF Bites:

    Apart from the fact that anyone using tar for these things to begin with would be frontpage material.

    Okay, I'll bite. What lets these buggers not be amenable, to the notional standard interface?

    What's that standard interface that who is not amenable to?

    I seriously can't expect tar to just work without f for a tape deck assuming POSIX compliance?

    You can, and I used to do that when I had a DAT drive at home for my daily backups. But I don't know anyone still using single tape drives—usually if you need a tape these days, you need a changer, and tar is completely out of its depth with these. You'd have to handle inventories and short writes and retries and changer operation and whatnot in some shell script abomination. That's what Bareos, Amanda & Co. are for.


  • Considered Harmful

    @LaoC said in WTF Bites:

    You'd have to handle inventories and short writes and retries and changer operation and whatnot in some shell script abomination.

    That sounds like a wager. I do like me a good shell script abomination.

    in verbose mode, when hexagram.sh displays "Great Power", it also spawns background processes equal to the number of cores to crank through an obscene wudge of data from /dev/urandomI'm not a monsterand I've no intention of fixing the bug that lets me trigger this at-will, it's useful vs test stability although if there's a hexagram name that inspires me to drain the entropy pool, I absolutely will do so, and am reviewing now. torn between "Innocence", "Great Taming", "Work On The Decayed", and the unreachable* "A Suffusion of Yellow" "Dispersion" it is.



  • @LaoC said in WTF Bites:

    you need a [tape] changer

    I've always wondered. Is the budget version of that an underpaid intern, or do you actually need the serious-level hardware?


  • :belt_onion:

    @Zecc said in WTF Bites:

    @Carnage said in WTF Bites:

    My first job as a programmer was on Solaris. Very expensive hardware with very poor performance. And extremely loud fans.

    :frystare: Not sure if you mean cooling devices or annoying people.

    I'm pretty sure it's both
    🤷♂



  • @dkf said in WTF Bites:

    it's supposed to use a goddamn tape device and who the fuck has one of those

    I have a Datassette for my Commodore 8-bits, but I don't normally have it hooked up as it won't work if you have a 1581 attached to the computer. (Also I don't have a lot of tapes; they were never big over here.)


  • Considered Harmful

    @Gribnit said in WTF Bites:

    @LaoC said in WTF Bites:

    You'd have to handle inventories and short writes and retries and changer operation and whatnot in some shell script abomination.

    That sounds like a wager. I do like me a good shell script abomination.

    in verbose mode, when hexagram.sh displays "Great Power", it also spawns background processes equal to the number of cores to crank through an obscene wudge of data from /dev/urandomI'm not a monsterand I've no intention of fixing the bug that lets me trigger this at-will, it's useful vs test stability although if there's a hexagram name that inspires me to drain the entropy pool, I absolutely will do so, and am reviewing now. torn between "Innocence", "Great Taming", "Work On The Decayed", and the unreachable* "A Suffusion of Yellow" "Dispersion" it is.

    Drain /dev/urandom/?
    Not even with Enthusiasm.
    What Youthful Folly.


  • Considered Harmful

    @cvi said in WTF Bites:

    @LaoC said in WTF Bites:

    you need a [tape] changer

    I've always wondered. Is the budget version of that an underpaid intern, or do you actually need the serious-level hardware?

    Not in civilized countries it isn't. I.e. where you have to pay even an intern some semi-serious salary to get them to the office at the time you usually want to run your backups.
    Plus you'd need extra logic to check when the tape changer has inevitably fucked up and put the wrong tape in the drive because he's taken acid to make the only job more boring than night watch at a car park a bit more exciting.
    BTDTGTT


  • Notification Spam Recipient

    @LaoC said in WTF Bites:

    BTDTGTT

    Was it at least high quality enough to machine wash?

    I have way too many that don't survive more than a few usages...


  • 🚽 Regular

    @Tsaukpaetra How many washing machines have you broken, I wonder?


  • Considered Harmful

    @Tsaukpaetra said in WTF Bites:

    @LaoC said in WTF Bites:

    BTDTGTT

    Was it at least high quality enough to machine wash?

    I may have imagined the tshirt, so yes.


  • Notification Spam Recipient

    @Zecc said in WTF Bites:

    @Tsaukpaetra How many washing machines have you broken, I wonder?

    None! However, I have yet to find a solution for the clogged drain...



  • Given how the simplest things tend to go haywire when you're involved, it's better to avoid chemicals...


Log in to reply