WTF Bites
-
@heterodox said in WTF Bites:
@HardwareGeek said in WTF Bites:
But you have to make it run on these machines that don't have 3.
Well, if Python 2 is Turing-complete...
You can write a Python 3 emulator on Python 2?
-
I was just trying to write a little log parser to (I'm logging USB packets and want to get rid of the duplicates) and was trying to figure out why neither the buffer nor the stream variant of the C# DataReader was working and always threw something like
System.ArgumentOutOfRangeException
at me, even when I wasn't even reading the whole file and tried to read it as bytes.Turns out that something inside C# doesn't like UTF-16LE. Even when you do:
dataReader.UnicodeEncoding = Windows.Storage.Streams.UnicodeEncoding.Utf16LE; dataReader.ByteOrder = Windows.Storage.Streams.ByteOrder.LittleEndian;
Opened the file in an editor, changed the encoding to UTF-8 and everything is fine now.
-
Yet Another Bad Password form found in the wild:
Please enter a new password in to the fields below. Passwords should be 6-8 alphanumeric characters and are case sensitive. You should create a password that is easy to remember.
- Passwords must be 6, 7, or 8 characters long (yes, exactly 6, 7, or 8 ).
- Passwords must match
[a-zA-Z0-9]{6,8}
(no punctuation or other special characters). - Recommends easy to remember password (dictionary words or number sequences meaningfully related to the user).
-
@djls45 Why do so many sites insist on passwords that were already insecure in 2002?
-
Yet Another Bad Password form found in the wild:
What sort of site is this?
-
@RaceProUK Are the ancient recommendations for passwords more easily found and sourced than better ones?
-
@djls45 Maybe?
-
@boomzilla It's a food supplement site, where users can make and update orders. All changes do require entering the payment card information (at least the card number), but the login allows seeing what exists in past and upcoming orders.
-
@djls45 I have seen the same silly password requirements on various paid porn sites (yes, I pay for my porn, that's not the WTF). They also like to just say "this value is not accepted", so you have to fish out the specific limitations through the browser's developer tools...
-
yes, I pay for my porn, that's not the WTF
It's definitely up there though.
INB4 giggity
-
@loopback0 , it's not quite as easy to support your favourite porn actors like you'd support your favourite band. I mean, you can't just 'go to the gig', as it were
-
@RaceProUK said in WTF Bites:
@loopback0 , it's not quite as easy to support your favourite porn actors like you'd support your favourite band.
That's true. They have less MP3s on Limewire.
-
@RaceProUK said in WTF Bites:
go to the
-
What's with all the secrecy and restrictions? It's just a site to upload 3D models! I guess they have to watch out for people uploading crude 3D penises, but how does restricting by country help?
-
@anonymous234 If that language setting is anything to go by, you're in one of the areas it's available in.
Also, they could have chosen a better image than an ice cream getting ready to be anally violated.
-
@anonymous234 said in WTF Bites:
I guess they have to watch out for people uploading crude 3D penises, but how does restricting by country help?
It doesn't if they allow it in Belgium.
-
-
@RaceProUK Nope, the language setting is just a language setting :P It's going by the country set in the account billing info (I assume).
But my favorite thing is how they have a "Try again" button. You know, in case I just coincidentally changed my country of residence.
-
@anonymous234 said in WTF Bites:
But my favorite thing is how they have a "Try again" button. You know, in case
I just coincidentally changed my country of residencethey just made it available to people in your country.FTFY. It does, you'll notice, say that they're only available right now to accounts with locations set in those countries...
-
@anotherusername Let's be honest: what are the chances of hitting the site exactly four seconds before they put the thing live?
-
@RaceProUK slightly better than the chances of hitting the site exactly four seconds before you move to one of those countries. ;)
-
@RaceProUK Are the ancient recommendations for passwords more easily found and sourced than better ones?
Sometimes I wonder
if there arewhat the percentage is of sites with this kind of password requirements only so they can phish the most oblivious.
-
Convo I just had with a colleague.
Colleague: In Webstorm, how do you generate a row of those
*
-s, like for a section separator?(I realize he's talking about these)
Me: Very simple:
- Type
/
- Type
/
again - Hold
*
key until you reach the vertical guideline - If you need the separator again, copy and paste
Colleague: Hahaha. Come on, man, there's got to be a macro, like "** [TAB]" or something...
- Type
-
@cartman82's colleague said:
Hahaha. Come on, man, there's got to be a macro, like "** [TAB]" or something...
-
@cartman82 said in WTF Bites:
Convo I just had with a colleague.
Colleague: In Webstorm, how do you generate a row of those
*
-s, like for a section separator?(I realize he's talking about these)
Me: Very simple:
- Type
/
- Type
/
again - Hold
*
keyuntil you reach the vertical guidelinefor about three seconds
3.1. Holding Shift, press Home, right arrow twice
3.2. Holding Ctrl, press C followed by V a bunch of times
3.3. Adjust line length to taste using * or Backspace - If you need the separator again, copy and paste
FTFSpeed
Colleague: Hahaha. Come on, man, there's got to be a macro, like "** [TAB]" or something...
There could be one, why not?
- Type
-
@anotherusername How does one's account location setting get changed if one does migrate? I'll be surprised if it's automatically updated based on geolocation, and if not then you might not have done it yet, and might want to go away and update it and then come back and log in.
Is it verified, or can you just set your account to one of the allowed countries regardless?
-
@cartman82
i//
esc70i*
escOh, wait, never mind. That's vim.
-
@PleegWat I found the above is incorrect. The correct sequence, starting with the cursor on an empty line, is:
a//
esc70a*
esc
-
@cartman82
/
/
Alt+7
Alt+0
*
Oh wait, that's emacs…
-
@anotherusername How does one's account location setting get changed if one does migrate? I'll be surprised if it's automatically updated based on geolocation, and if not then you might not have done it yet, and might want to go away and update it and then come back and log in.
Is it verified, or can you just set your account to one of the allowed countries regardless?
¯\_(ツ)_/¯
-
@PleegWat I found the above is incorrect. The correct sequence, starting with the cursor on an empty line, is:
a//
esc70a*
escOn a non-empty line,
A//
esc70a*
esc
-
Status: Someone just pressed buttons and now I feel all
-
On a non-empty line, A//esc70a*esc
cc//
esc70a*
escSure, sometimes some of the code goes missing, but at least your separator always starts at the beginning of the line.
-
On a non-empty line, A//esc70a*esc
cc//
esc70a*
escSure, sometimes some of the code goes missing, but at least your separator always starts at the beginning of the line.
On any line:
o//
esc70a*
esc
-
In the 'at least my weaker students can still work for newspapers' corner
-
@coldandtired So long as it wasn't diffused explosively, it's not a problem
-
@coldandtired That can't be that uncommon. It feels like over here in .nl they find about one unexploded WW2 shell a week, and I think London was hit harder.
-
Spartans were a religious bunch. I imagine Leonidas finishing a very good motivational speech with "tonight we dine in hell", and his soldiers going WTF, I thought we were the good guys, I don't wanna do this anymore.
-
On the former WWI frontline old ammunition is a common theme. Farmers are kindly asked to carefully place it besides the field and call the army's bomb defusal branch. Not by coincidence headquartered in the middle of this region.
-
@PleegWat It wasn't the bomb but the misuse of 'diffuse' instead of its homophone 'defuse'.
-
@coldandtired Ah. I knew I had to be missing something.
-
@coldandtired They're not really homophones: 'diffuse' is
diff-ews
, and 'defuse' isdee-fewz
-
@RaceProUK said in WTF Bites:
They're not really homophones: 'diffuse' is
diff-ews
, and 'defuse' isdee-fewz
I'd say it's closer than that. Diffuse as a verb - how it's being misused here - is
diff-ewz
. The difference is more in the stress than anything (diff-EWZ
vsDEE-fewz
) since the unstressed i in diffuse is hard to distinguish from an unstressed e.
-
Do we have a dedicated topic for weird online product pictures?
-
@hungrier That's not weird: they just play Mafia ;)
-
Microsoft made a contest where you solve "a new activity every month" and get the chance to win $1000
A bit later, they clarified:
Hemant – we will be releasing new activities throughout the year, not necessarily every month. We do plan on releasing another activity this month! Stay tuned!
6 months later, guess how many new activities they have released? Zero.
They're still giving out monthly prizes so it's not technically a contract violation. Still... wtf? Do they really lack the ability to come up with 2 or 3 super basic programming tasks? Or have they literally forgotten about the contest?
Maybe Azure's so complicated that they can't come up with any tasks that use it and are simple...
-
@RaceProUK As I wrote, depends on pronunciation. /diːˈfjuːz/ is certainly acceptable for both.
-
@coldandtired said in WTF Bites:
In the 'at least my weaker students can still work for newspapers' corner
There was a headline in one of our news portals today:
"Audacious police operation. A 12-year-old girl dragged into a car."
Luckily our police usually takes on a bit more difficult targets, and it was actually about a criminal dragging a 12-year-old into a car and the police stopping him.
-
Linux:
ln -s /path/to/thing/being/linked /name/of/link
Windows:
New-Item -Path C:\Name\Of\Link -ItemType SymbolicLink -Value C:\Path\To\Thing\Being\Linked
The Windows version also requires administrator privileges for no reason.
-
@ben_lubar said in WTF Bites:
Windows:
You don't need to use Powershell.
mklink C:\Name\Of\Link C:\Path\To\Thing\Being\Linked
Still requires admin powers though.
edit:
Or if it's a folder:mklink /d C:\Name\Of\Link C:\Path\To\Thing\Being\Linked