Posts made by necromancer
-
RE: Chrome on Windows 8 is a trainwreck
This seems like an appropriate topic for cross-forum necromancing. From one trainwreck to another.
Source: http://what.thedailywtf.com/t/post-i-choo-choo-choose-you/612/76 see why this has happened to you -
RE: Odd IE behavior losing focus
Yeah, I thought I had seen it in IE11 on Windows 7, but I just updated my laptop and tried again and no repro, so the issue only appears to affect IE9 and IE10.
Same as my experience. FYI - you can reproduce it in IE11 (or skip step 1 if you have IE9/10):
- hit F12 and emulate IE10
- close down to just 1 tab open
- make sure you have a different app running in the background
- go to the main forum page
- click one of the filter buttons (new, unread, starred, top, categories)
- watch IE hide from you
- ???
- profit
-
New user features can't figure out when I'm not new anymore without refreshing the page.
Continuing the discussion from Clicking anything unfocuses my window (IE10) [I can't see the other topic yet, read inside for details]:
Hurrah! At this point I'd been sitting in topics for well over 15 minutes total and was still not able to post an image. Still can't post an image. I must have to reload the page?
Bug: New users must reload the page to post images, seemingly defeating the purpose of pageless topics with infinite scrolling & ajax post loading?
Bug 2: Had to reload the page to use the reply as new topic feature. Which I wouldn't know even exists except I've seen others do it and could see it on a different topic I happened to have loaded after PJH fixed me.
-
RE: Clicking anything unfocuses my window (IE10) [I can't see the other topic yet, read inside for details]
Hurrah! At this point I'd been sitting in topics for well over 15 minutes total and was still not able to post an image. Still can't post an image. I must have to reload the page?
-
RE: Clicking anything unfocuses my window (IE10) [I can't see the other topic yet, read inside for details]
I had been here for more than 15 minutes but I was not logged in. The IE bug was annoying enough to comment on.
-
RE: Clicking anything unfocuses my window (IE10) [I can't see the other topic yet, read inside for details]
Note to self.. idle this page for 15 minutes to hax it img posts?
-
RE: Clicking anything unfocuses my window (IE10) [I can't see the other topic yet, read inside for details]
How about not closing my topic this time at least until I can post on the other one, and then you can merge them?
Nevermind, you closed the other topic too, that's probably why I can't see it.
@ChaosTheEternal said:Related: Odd IE behavior losing focus, closed by @codinghorror as supposedly only an IE9 issue, when it affects all versions of IE on Windows Vista/7.
So I guess @codinghorror should just amend it to IE is not supported at all, and admins should not use Discourse if they have any users that might be using IE and expecting a usable experience. -
RE: Clicking anything unfocuses my window (IE10) [I can't see the other topic yet, read inside for details]
Bah, how many posts do I have to make, or is it time based....
-
RE: Clicking anything unfocuses my window (IE10) [I can't see the other topic yet, read inside for details]
Maybe now I can image?
Nope, not yet. -
Clicking anything unfocuses my window (IE10) [I can't see the other topic yet, read inside for details]
I don't know if it's because I'm too new, or the topic @codinghorror linked when closing my other topic is just flat out private, but I get
Sorry, you don't have access to that topic!
from trying your link.
http://what.thedailywtf.com/t/odd-ie-behavior-losing-focus/534How about not closing my topic this time at least until I can post on the other one, and then you can merge them?
I can't even post an image to show what I mean.
Unfortunately IE9 is our minimum spec browser. Can you use anything else, or IE10?
Let's close this and keep discussion in the one topic.
Anyway, this happens to me on IE10 (work PC, IE only) on windows 7.
It does not happen to me on my alternate computer using IE11 on windows 8. Of course that's at home and I can just use chrome then. -
Clicking anything unfocuses my window
Bug Report: Almost every button in Discourse causes IE to unfocus and puts another window in focus instead.
-
RE: Secure webmail
@drurowin said:
So, what percentage of America is going to be closed for the next five days because a Jew supposedly killed
your Lord and Saviour Jesus M. Christsome Hebrew carpenter roughly 1,980 years ago? (Good Friday, Better Saturday, Easter Sunday, Post-Easter Monday, and Easter Hangover Tuesday, for those who insist I show my working...)
Canada is the country that gives a day off work for Easter Monday as a huge holiday. -
RE: This.... from a bank.... I'm.... WTF?!
@Lorne Kates said:
Did you miss that part about "It's a mindset"? Passwords are UPPERCASE. "But we can let people enter lower case and then--" I SAID PASSWORD ARE UPPERCASE? DO YOU NOT UNDERSTAND?!?! DO WHAT I SAY!
If you could assume enough competency to use a .ToUpper() function instead of pestering the end user, this WTF would never have happened in the first place. It's a stupid mindset all the way down.
This was the exact mindset that led to certain internal webapps having no case sensitivity at a place I used to work. There was still a fear of changing those apps to be case sensitive too, despite EVERYTHING else being case sensitive (other than the as/400 of course).
I was the one tasked with bringing things at least a little bit more up to snuff. You know, hash the passwords and such. Lo and behold, I used the very .ToUpper() function on the login script, just as Lorne mentions, rather than forcing the users to ever figure out what case their password was in. Everyone was happy on both sides.
Another AS/400 thing... they still had DEVELOPERS running 800x600 resolution on 22" monitors because that's the size their as/400 terminal is. On the upside, they did at least understand why no modern application bothered to support displaying on their shitty screen. -
RE: This.... from a bank.... I'm.... WTF?!
@Lorne Kates said:
@blakeyrat said:
How is it possible to fuck up that badly?
There's probably some AS/400 backend. For the longest time, all the text HAS BEEN IN UPPERCASE. So that's how it must always be. It's a mindset. AS/400 is UPPERCASE. So all fields saved in AS/400 must be in UPPERCASE.
One web developers starts to speak up "But what about pas..."
NO! ALL FIELDS MUST BE UPPERCASE BECUASE BANK THAT IS WHY!
So the password field is saved in uppercase. But since that would fuck up the MD5 hash, they don't hash. I'm sure they don't store it in plaintext, though. I'm sure they save it ROT13, in a field called drowssap (because hackers are only looking for a field called password).
I am joking, but I am also 100% correct.
AS/400 passwords are indeed all uppercase. And maddening. It also explains the strict size limit, AS/400 password field is limited to 10char I believe. -
RE: Close encounter
Oh Rake Ul. Whose solution to every problem is that you should upgrade to the new version, it will definitely fix that bug that we never knew existed.
A few it-could-only-be-oracle stories:
A 2 billion row partitioned table corrupted because the primary UNIQUE key index started allowing duplicates in a few partitions. -Oracle official solution: Upgrade to the next version! (we were already on 11g, and the next version had barely even just come out). Real solution... create a new table with the key, extract the 2 billion rows and insert/update them back to uniqueness in the new table. Then drop the old table and rename the new one.
One very specific query we had with a group by rollup statement that caused the ever descriptive "Space Leak" server error (not a syntax error), but only if your results were a single row. Group by date with rollup, query a full year, works great. Query for 1 date, server implodes. Plenty of other queries we had were perfectly happy doing a group by with rollup on 1 row, but not this one.
Temp tables. Ugh, don't even want to think about it.
Empty strings = NULL? Screw you Oh Rake Ul. Your garbage requires my code to translate an input of an empty string to some other value just so I can tell it was an effing blank and not actually NULL.
Storing a Midnight Date (or DateTime in any sane database) = Storing a Date part and a NULL Time part... Seriously, how the hell did they come up with this shit? The Time is NOT EFFING NULL. IT IS GODDAMN MIDNIGHT YOU JACKASSES. -
RE: Lets improve our security!
@cdosrun said:
Because in order to get that image, they'd need my username, which I just gave them?
True, but if a single proxy is logging hundreds of user image requests to your server, you're likely to notice and catch them doing it. I will grant you that if the bank isn't watching their access logs for repeat visits from 1 IP for multiple customers, it's not going to stop a damn thing.
A regular phishing attack wouldn't require proxying data from the real server in order for it to work. -
RE: Lets improve our security!
@Snooder said:
Actually, it's more likely to be an encoding problem.
I think this is more likely the case when it comes to major sites like banks or credit cards.But for your 1-man hobby forum website type places, I'd still guess it's to prevent sql hacks.
-
RE: Lets improve our security!
@Qwerty said:
I never understood how the two-way thing is supposed to work. What attack does it actually prevent?
I've only ever seen this on one (American) banking site and I don't see how it can stop the malicious site contacting the real site with my ID and then serving up what the original site shows. "We are who we say we are" doesn't seem like a difficult task if your users are used to looking for the https: address. Does it help the bank tracking down the IP address of the fake site so they can get spoof sites shut down more quickly?
It makes it harder for malicious links in emails/websites to go phishing for your account login credentials. Because they won't have the special image (presumably, since if they have the image, they already hacked the server and shouldn't need to phish at all) to serve to you to verify they are your bank, so when they ask for your username/password, you can see that your special image wasn't on the page before you put in a password. Then you stop and say "AHA I AM NOT GOING TO GIVE YOU MY PW YOU CRAZY HACKERS YOU", and close your browser.
-
RE: Unstructured optimization
@blakeyrat said:
@ratchet freak said:
YARCI, they are more prevalent than people would like to admit
You Are Really Crud Intensive?
Young Aardvarks Really Chase Insects?
Yet Another Really Crappy Implementation?
Yet Another Really Crappy Idea?
Yet Another Retarded C Implementation?
-
RE: Is it time for a new Firefox thread yet?
@blakeyrat said:
This guy paid real cash-money to work-around a bug in Firefox. Mock him.
Seriously?! He bought a gf650 to replace his radeon card just so his Firefox browser would be usable? Does he not realize there are dozens of browser alternative that... well... don't suck?
Even IE11 is better than Firefox at this point, now that they've implemented most of the useful features that Chrome & Firebug brought to the table.
Maybe he's the focus group guy who wants his kitten videos. Wants them BAD. -
RE: Loops in JavaScript are okay. JavaScript in loops is not okay.
Yes thank god for JSON... except wait, how is JSON going to print that output? Oh right, using loops. Just that they'll be buried in an implementation layer you don't see.
Maybe this particular loop JS output isn't the best way to do it because it's a simple array that could be easily implemented through a JSON output, but having server-side loops writing JS (or JSON) is not inherently a problem.
I suppose I'm really just arguing semantics. Since if you have a method to output JSON from any code object, you would clearly use that rather than do it yourself. But in the end, loops are still being run somewhere ;) -
RE: Chrome on Windows 8 is a trainwreck
Seriously, why in the hell would you use the Metro UI on a computer?
I don't care what MS says, a single UI for all devices is batshit crazy stupid.
I applaud Chrome for intentionally jacking up the Metro UI version of their browser to prevent the Metro fools from being able to use Chrome. You don't deserve it. -
RE: Sometimes I am TRWTF.
@KattMan said:
@darkmattar said:
Turn on output buffering
LINE : The current line number of the file.
Hmm, is this just an old VB thing? I remember a VB LineNo variable that did the same thing and you had to debug the same way. Please someone send me to total recall and wipe that memory and replace it with something pleasant.
No idea, never created any VB code myself.
Also, add FILE to the echo if you want the file name that line number is referencing, in cases where you have a mess of include nests. -
RE: Sometimes I am TRWTF.
Turn on output buffering
ob_start();
then add between every line:
echo (LINE)."<br/>";ob_flush();
to get the line number that worked to print out.
Of course, for the most likely cause of a "hang"- infinite loop will give you a whole lotta numbers.... but at least you'll see where it repeats.
Quote from the PHP docs below... I love magic!
A few "magical" PHP constants
LINE : The current line number of the file. -
RE: Attempted JOIN on NULL
@cdosrun said:
@don said:
Oh, believe me, I have tons of my own WTFs. You have none?
Once you guys put me on to the fact that this is doing something I would have done with NOT EXISTS or NOT IN, I started looking at it more closely and found that, at least in this enviornment, this approach runs significantly faster. Huh. It doesn't just work, it works really well.
If you think being in a business for eight years means you ought to have nothing left to learn, and never make another mistake, let us know how that attitude is working for you in, say, another eight years.
Huh. That's a good response to this. You seem like a semi-stable human being, able and willing to learn.
What are you doing here?
Seriously, what the hell is his problem? Where's the overreaction at how we dare challenge his expert knowledge of all things relational and database-y.
Honestly, I probably would have used the NOT EXISTS or NOT IN methods myself. What type of database are you working in, and what size are the tables involved in this? -
RE: Attempted JOIN on NULL
@don said:
Reading through some production code written before I came to work at my present position, I found this query:
SELECT p.purchase_id FROM tbl_purchase AS p
LEFT JOIN tbl_history AS h ON h.purchase_id = p.purchase_id
LEFT JOIN tbl_item_purchase AS ip ON ip.purchase_id = p.purchase_id
LEFT JOIN tbl_code AS c ON c.purchase_id = p.purchase_id
WHERE p.purch_type IS NULL
AND p.inactive = 1
AND p.date_time < NOW() - INTERVAL '10 minutes'
AND h.purchase_id IS NULL
AND ip.purchase_id IS NULL
AND c.purchase_id IS NULLEven if joining on NULL could somehow work, tbl_purchase.purchase_id is a primary key and the other references are foreign keys. I honestly can't even guess what results the original coder was hoping for.
Considering that this looks like perfectly valid SQL to find orphans to clean up, I hope you will post some of your own SQL because I think it will be more entertaining for us!
-
RE: I've just been rick rolled by google =/
@joe.edwards said:
Yes, you're right. If I don't misspell anything it will search for only what I typed. [Without using Verbatim.]
So uh, any reason why you linked to another topic where a moron google user searched the exact wrong terms for what they really wanted to do? Google returned results for exactly what he searched. So you're once again complaining that google isn't fixing it for him, the very thing you say you don't want google to do....
Did you by any chance bother to read the thread and see the several posts where people told him what he was actually looking for, which google was able to return results for with ease?Oh, my bad, you're the moron that started that topic. Carry on then. But do read this post that was in your own thread:
@Circuitsoft said:
It does make perfect sense. "Find" can mean either "determine" or "search". If you had searched for .Net show file in explorer or .Net select file in explorer, you would have gotten useful results.
It's like asking for the answer to Life, the Universe, and Everything. 42 may as well be the most correct answer there is, because there's no value to the question.
-
RE: I've just been rick rolled by google =/
@joe.edwards said:
I will frequently try to call up an article I've read before by typing the most unique phrase or coined word I can remember from it. This falls flat on its face as Google will "helpfully" change it to something more common.
Usually I'm deliberately trying to narrow the scope of my search in order to find something specific, and I don't enjoy Google actively hampering this effort by broadening the search with synonyms and other spellings.
They give you a link to undo their "helpful" changes and search for literally what you asked.
Yeah, I'm not a fan that the default search isn't my verbatim text, with the link being to their helpful changes, but it doesn't make the engine unusable.The vast majority of the time it doesn't try to correct you if you didn't misspell anything. Try typing random real words into the search, it is obscenely hard to get it to correct your query if you didn't f*ck it up yourself.
-
RE: I've just been rick rolled by google =/
@lolwtf said:
Indeed, lately Google has gotten really bad at ignoring what you actually asked for, and instead giving you what it thinks you meant (which is nowhere near what you really meant).
Except, he didn't ask for what he wanted. What the hell did he expect or want to get back when you put ASTLY instead of ASTYLE?
He's complaining that google fixed his error for him, but did so in the wrong way.... so apparently he EXPECTED them to read his mind and fix his stupidity.
As for me, I'll happily continue spelling my words correctly and getting back the results I expected.
tl;dr - user puts wrong search, user gets wrong results. -
RE: "backslashes are the way forward"
@Ben L. said:
It's not so much the lack of knowledge as the refusal to acquire knowledge.
It looks to me like he was following up his question of "what does it do" with a specific "wat does require do" and had probably hit submit on his message before he saw or realized that you sent him a link to the docs.
-
RE: Found another gem.
A terrible way of validating that the ID exists in the table....
-
RE: Statistics in javascript
I thought it meant posts as in to a forum until I loaded the js file:
alert ("The postal code is not found in the default rate per cent. enter a new ZIP code.")
So not forum posts, postal code posts. Still pretty perverse!
-
RE: Star schema
To be honest, I'm surprised they didn't just take the same exact tables and copy them into a new schema named Star.
Star.People
Star.Info
Star.Etc
That way you have a Star Schema with all the data for your Data Warehouse. Clearly the best way to literally adhere to the standards.
Easy Peasy! -
RE: Heroku
Never seen or heard of heroku until I saw this sidebar forum post. So I decided to google it and find out what you're complaining about.
Turns out that you could read, well, anything on their site about "how it works" and have answered every question you just had in less time than it took to complain about it.
But I'm sure it's easy to stumble through every other non-heroku type of development environment without reading any documentation on how it works. -
RE: Your code is bad and you should feel bad
@configurator said:
Sorry, I should have elaborated. It's not about whether or not my code caused the issue or not. My problem is the attitude that if a bug reaches our QA team, someone must be blamed and berated for being a lousy developer and generally a bad person.
-
write less sucky code
-
take bug reports less personally
-
???
-
Profit (and be less of a downer to be around)
-
-
RE: Var-arrrrrgh!
what, seriously... it's the original darkmatter?
screw him for taking my name and then posting so little!edit: interesting how i joined in 2008 and darkmatter wasn't available until he joined in 2012.
screw community server too. -
RE: Up is Down
@Jaime said:
I can't think of a rational coordinate system that would behave the way you suggest. Do you have any examples?
Partly a poor translation on my part - I meant that if the x=100 with height =100 INCLUDING the borders, then the bottom is drawn at 199 and the fill is 101->198.
It's been a long time, but I swear I remember that being how it worked on some old black&white lcd screens where you only had like 80x40 or 320x240 resolutions. Then again, I'm probably just thinking of assembly logic sans libraries, drawing the rectangle manually, by doing the line at x=100 & x=199 and then filling from x=101 -> x=198. But if your library function draws the border at x=100 and x=200 with 101->199 filled, that's a rectangle with a 101pixel height, not 100.
Edit:
@Jaime said:center-to-center width of 100 pixels and a line width of 1 pixel has only 99 pixels of space between the inside edges of the lines.
There's the key: Center-to-Center width. I was referring to systems with fat pixels and crappy resolution as opposed to modern PCs. -
RE: Up is Down
@Jaime said:
In many systems, in order to fill the box that you drew at x=100, y=100, height=100, width = 100, you have to fill the rectangle at x=101, y=101, height=99, width=99.
Depending on what random system you're talking about, that could be fill: x=101, y=101, height=98, width=98? 99 would cover 2 borders with your fill color! -
RE: Tell me if this is acceptable or if I'm overly sensitive
Yes, you're overreacting unless the Boss had intended to leave it hidden from your co-worker for an extended period and refuse to tell where he put it. That would be childish.
-
RE: Seriously...
@pjt33 said:
@RTapeLoadingError said:
Well, assuming Windows and Microsoft Outlook as the environment I'd say that in my experience it's not always obvious that you're not connected to the network.
Is this version-dependent (or config-dependent)? When I've had network issues, Outlook has always told me that it can't connect and is going into offline mode.Correct... my Outlook screams like a dying cat when the network goes down. Popups everywhere telling you that Outlook can't connect to the Exchange Server so send/receive will not work until you reconnect.
-
RE: Oh Great . . . What did they break this time?
@Daniel Beardsmore said:
Indeed. Firefox on this PC is already at 4,000 GDI objects since I logged in at 9 am (and it restored my session). What is it doing?
Likely it is just not releasing them when it's supposed to. I call it a God Damn Irritating leak.
-
RE: What about that new fangled plus plus thingie?
@lettucemode said:
@rstinejr said:
Some folks don't like "foreach".I found the hidden WTF.
Those are German golfers...
Fore! pow Ach!! -
RE: Banking WTFs
wow...
the user id of 3241234 that I randomly typed in to see what the login would do... took me to a page with a "Challenge Question" asking what city I met my spouse in.
i stopped there, because I'm scared that if I guess a city name in California, I might accidentally get it right.who needs passwords, easily guessed challenge questions are the way to go, amirite?
-
RE: The DB can handle it!
@snoofle said:
In my case, we have an application that writes about 4K small records, each in it's own request (I'm rewriting this in the near future). It usually takes about 7 seconds to complete. About 2 days ago, it started to take about 700 seconds to complete. Today, I sent yet another message to the DBA insisting that the DB is pathetically slow and it's killing us.
Is it the DB or is it the network routing? Each record in its own request, assuming each request waits for the previous one to respond that it's completed, would depend on having a low latency connection. So if your normal intranet latency was 1ms or less and the network got borked and started routing out to the internet and back in, that could result in 100+ ms latencies. Which happens to be close to the 7s to 700s factor of change.
Or, your dba is an idiot.
Or both.
-
RE: The E-Commerce API that Wasn't
I'm confused... dateRange documentation in the linked PDF says:
dateRange – Search for orders placed in the specified time period
(acceptable values are today, yesterday, day, week, month, this_month,
this_year)That's on page 6....
-
RE: Dynamic SQL in the wrong hands
You're just lucky this is SQL Server... In Oracle prior to 11g there is no PIVOT; hence this would be the way to build a SQL pivot table (or use 100+ case statements). From Oracle 10g or lower you're better off just querying it flat and building the pivot in arrays when reading the recordset
Edit - though in Oracle 10 (and 8,9 i think) you could use WITH to make it a lot cleaner and somewhat faster.
-
RE: New Support Guy probably needs clean pants now...
Bless you, I hope you're doing all that on the production server
-
RE: Metric vs Imperial, 30 years later
@versatilia said:
Good point - in this case both large shipping companies (lets call them XXX and XxxXx) specify the number format giving a fixed no. of decimal places (1 or 2). In extreme cases the error could be 5% (eg. converting to lb at 1 d.p. means we could be 0.05 lb out, which is a lot in a 1 lb package).
Yea well. So let's see, what are you going to do when you correct your program to send them the data in their format? Are you actually going to break out the ruler/scale and re-measure in the correct units? Or send them the measure in their units and say it has an error range of +/-5%? I doubt it, you're just going to convert to the unit they want and then send it in whatever precision they let you.
So tell me, what difference does it make who does the converting?
This isn't a science lab, it's a shipping company.