Did any one tried to mouse-over the left menu? There's a different background for each button. Crazy shit!
ubersoldat
@ubersoldat
Best posts made by ubersoldat
-
RE: We haven't done one of these in awhile: Constellation-Seven!
-
RE: This makes me sad and angry
Even the existence of this method, the single idea of "I know, I'll write a function to do this" is a bigger WTF than the implementation itself.
-
RE: Samsung PR company tries to bribe StackOverflow users
Samsung PR is keen to this sort of crazy stunts:
Samsung gasoline stunt brings Madrid traffic to standstill
Madrid Renames Metro Station 'Sol Galaxy Note' After Samsung Sponsorship
http://sponsorpitch.com/articles/2939
Latest posts made by ubersoldat
-
No paste for you... but drag is OK
So, I was reading this article:
http://www.troyhunt.com/2014/05/the-cobra-effect-that-is-disabling.html
It's about some sites disabling paste in the password fields using different stuff but generally, the "onpaste=return false;" trick.
Although that's already a stupid thing to do and already explained in the article, I want to bring into attention that even if pasting doesn't work, dragging does.
Go ahead, paste your password somewhere and drag it. Test it here:
http://jsfiddle.net/hWw2J/
-
RE: EBay OMFG
Can some genius explain why the fuck does some characters aren't allowed on passwords? My bet is on a broken regex.
The only password validation that should be enforced is min-length, anything else will simply bring pain to your users and if a person is so stupid to use "123456" as their password and their account is hacked, there's no liability. And if your site is well made, a hacker having access to one user's account shouldn't be a big deal.
Why do you want me to use lowercase letters, uppercase letters, digits and special characters but I can't use a passphrase (hear hear Microsoft!)
-
RE: Am I TRWTF?
Resigning a day before being fired? Bad move my friend, at least in Europe if you resign, you don't get unemployment assurance (or whatever is called there). Also, if you're being fired, you have to be paid for being so without a reason, and not meeting a deadline on a single project is not a sustainable reason that would hold in court, so you would get your X days of pays.
I was fired a few weeks ago knowing that it would happen (company restructuring, projects cancellations, etc) and got a pretty fat pay after two years of working in this place.
About the whole finding new job, I mean, you can always lie if you feel like it or simply go with another stuff. Of course you're not going to tell a potential employer that for whatever reason you weren't able to meet a deadline.
Anyway, good luck, and for the looks of what you were doing, I don't you will have a hard time finding a new job, and maybe that's what you needed anyway.
-
RE: Amazingly screwed-up installation experience
Processing Delta
Anyone care to explain? Thanks
-
RE: My heart bleeds
I wonder how would Linus would react to this sort of code commit.
-
RE: My Ruby has derailed
I'm not going to defend RoR because I haven't touched anything related to it in a while (read a book about ruby like six years ago) but, if you're using SQLite for a live application, mister, whoever took that decision is TRWTF.
I mean, really? SQLite in a live system with a billion rows? Whoever made that call has no idea of what they are doing. If this is not a live system, why the hell do you load a database with that much data?
Anyway, you failed because this is not a WTF. Many frameworks already come with "light" RDBMS, for example, Play comes with H2. Grails comes with HSQLDB (citation needed)
-
RE: Unstructured optimization
@gvh said:
My first days as a C coder at a small company, I noticed that every non trivial function in the code base had a high number of parameters.
12 parameters were a bare minimum, 20 params very frequent and I found a monster function with 37 (or was it 47) parameters !
When I asked my boss about this, he very seriously explained it as an optimization : "You see, if you use a structure, the program needs to take its address and add an offset each time you access a field. Thus by avoiding structures, we save a lot of time."
He also gave this useful tip : "Since the parameters are stored on a stack, try to always specify them in the order of use in the function, to speed up access".
OK, I've had my "performance first" phase as a programmer, but many years have passed and I've learned that maintainable code is always the best strategy. You can always win a few nanoseconds somewhere else or with more hardware.
-
RE: How much redundant code one can produce in a lifetime (and why)?
I really don't like VB in saturdays (or never) so can you explain in a TL;DR way what is all of this supposed to be doing? One thing I can see is that this Ivan guy was pretty affraid of using functions/methods and separation of concerns.
-
RE: Outlook.com style security
@flabdablet said:
Nor can you put whitespace in an Apple ID password. And you have to have at least one capital letter and at least one number, regardless of actual entropy: any password you can type on an iPad soft keyboard without fartarsing about with mode shifts, like fmdt.luyc.optn.zcxu.hirf, is clearly far too weak.
Luckily, I don't have to worry about that... for the moment.