Would it be worth the extra time to mention the quota before asking if there's a male around?
Posts made by emurphy
-
RE: Non-IT WTF: Feminism WTF
-
RE: Windows 8 sign in - no problem
Hmm... twitch... I seem to be missing copy command. But
surely, the keyboard shortcut HAS to work. Good old Ctrl+C. It has been a
part of Windows for decades. Every textbox everywhere ever has this
shit. They couldn't have screwed THAT much. They couldn't*the sound of keyboard clicking. no change in the textbox
Did you mean Ctrl-X? Because Ctrl-C not changing the textbox is, uh, normal behavior.
-
RE: Read Only SQL Table
Is there a better way to guard against a user with db_datawriter inadvertently editing the table? (Even if there isn't, the error message should ideally explain how/where the application code depends on it. Well, 30007 suggests that they might use different error numbers and maintain a central list of which ones pertain to what.)
-
RE: From the "left hand doesn't know what the right hand is doing" department...
@Buttembly Coder said:
@Ben L. said:
TIL true is not a boolean
Right. Booleans are either true or false. True is only true.
True or true not. There is no FileNotFound.
-
RE: EBay math
@HardwareGeek said:
Actually, it's not quite as big a WTF as it appears. There is a logical source for the $304.00, but it belongs on a subtotal line (but not this one), not a total, because it doesn't include shipping.
Okay, I'll bite. What is it?
-
RE: It's a ... hard drive enclosure??!?!?!?!?!
@Ben L. said:
And is not connected to the internet.
Going by the text write-up, sounds more like "can be accessed locally while not connected to the internet". Sounds like it could be a viable product, they're just crap at explaining it properly.
-
RE: It's a ... hard drive enclosure??!?!?!?!?!
It sounds like a headless server in the form factor of a hard drive enclosure.
-
RE: Spotted recently on famous jobs listing site
Googling for (bhc.mid MIDI) works a lot better.
-
RE: Enough Thread to hang yourself
@tweek said:
ONE GIANT TABLE and DATETIME FIELDS OF TEXT
On a clear field of text, you can see {d 'forever'}
-
RE: Usage of profanity in this forum.
Real Nagesh or Fake Nagesh? (Fake Nagesh is legion, likely as not.)
-
RE: Electronic Flowers?
@Fjp said:
Had to visit their website to see that, yes, it really does say "... our fresh flowers guarantee gives you piece of mind our flowers are always of the upmost quality."
Hey, they never claimed their spelling is always of the upmost quality.
-
RE: Need help about sql injection
I can't decide whether this is a troll, a lack of English comprehension, or a lack of subject-matter comprehension. Oh well, I'll give it the benefit of the doubt:
- Some of the replies in this thread are sarcastic. If you can't tell which, then look for a friend who can.
- Why are you interested in second-order SQL injection? Are you creating software? Are you writing a paper?
- There are probably some tools that do and others that don't. For a really good answer, you should build a couple of test systems and a couple of first- and second-order SQL injection attacks against them, then test some tools and see what they actually detect in practice.
-
RE: Need help about sql injection
I also have one question. Have you Googled "second order SQL injection" yet?
-
RE: Time Zone Converter
@mt@ilovefactory.com said:
Data object
Now I'm envisioning a whole new WTF where some cow-orker takes this spelling at face value and starts creating a kitchen-sink object. And then of course you need a kitchen-sink factory, and--
...I'll get me coat.
-
RE: Time Zone Converter
It may not always be appropriate to work with date objects first and translate them to human-readable strings second, but that's the way to bet.
-
RE: IDoNothing
Even so, they should contain some comments along the lines of "deliberately empty because <reasons>".
-
RE: Logic
"JS" only came into the conversation from the "minified JS?" comment; the code could just as easily be Java or one of the C family. Of course, this is a snoofle WTF, so JS doing a DB call isn't entirely implausible...
-
RE: How can the same people do both of these things?
Maybe they were planning an extensive testing phase for S2, but some PHB pushed someone into pulling the trigger way early. Maybe he did it because S1 had such an extensive testing phase: "We can't wait two whole years for this! Someone needs to light a fire under these people."
-
RE: But I *did* set the properties! (or, the Invisible Visible Controls)
More partial info, in case it helps any: My particular problem involved placeholder objects. There wasn't an issue with them being inside another hidden object. Not sure exactly when the problem does/doesn't arise, I've just been coding defensively against the possibility since it first came up.
-
RE: But I *did* set the properties! (or, the Invisible Visible Controls)
That'd be my guess. It's not just WinForms, either, I ran into the same problem a few weeks ago in my current big ASP.NET project.
-
RE: I nominate the University of Sydney for "Downtime Notice Of The Year 2012"
@Mason Wheeler said:
@bezking said:
Personally, I like the fact that their database server, erp-db-pro-1.ucc.usyd.edu.au, resolves on their public DNS server to 172.20.9.1...
Why did you bold the first half of that IP address? Is there something significant about that subnet that we ought to recognize when we see it?
From RFC 1918
3. Private Address Space
The Internet Assigned Numbers Authority (IANA) has reserved the
following three blocks of the IP address space for private internets:10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)</pre><p> </p><p> </p>
-
RE: Can't see the forest for the trees
@ObiWayneKenobi said:
The reason why is because someone, somewhere, must have said to never have an if/else statement without the braces, and whoever wrote this code took it to heart that you MUST always have braces even if it hurts readability.
And you MUST always nest them even if that hurts readability, too. $DEITY forbid we get code like
if (isUserInDb(user) == false) { return status.MissingAccount; }
if (isUserAccountInOrder(user) == false) { return status.Invalid; }
if (isUserAccountNegativeBalance(user)) { return status.Negative; }
return status.Positive; -
RE: But We Want This Client
How much would it cost to just buy them a license to run it locally? If the answer is less than "multi-millions"...
-
RE: Arrogant morons
@Cassidy said:
an installer that downloads and installs an installer that installs the final product for you - WHY?
I can think of a couple ways this can actually be useful:
- Final product contains parts that can be omitted based on context (e.g. builds for different architectures)
- All the EULA/configuration/etc. stuff is handled up front by the mini-installer, thus leading to one long wait (EULA/config/etc, download+install) rather than two separate ones (download, EULA/config/etc, install)
-
RE: Java degree desirable
For the benefit of folks outside the UK, "2:1" is roughly equivalent to "bachelor's degree with minimum 3.0 GPA" as I understand it.
-
RE: No, you can't link to your company website! Bad developers!
@toon said:
@tchize said:
My coworkerjust showed me that yahoo stocks application has a link to yahoo website. Are you sure they don't say that you link to a "non mobile" website?
What migth be the difference between a mobile and a nonmobile website?
"non mobile" = "not designed to reduce page width and cruft when viewed on a smartphone", presumably
-
RE: (Dis)Organization?
@El_Heffe said:
@zelmak said:
Except, of course, when it doesn't.
What is "it" and what isn't it doing?I ass-u-me this refers to:
@zelmak said:
every single book's forum's description (at least for the recent titles) appears to follow the pattern
-
RE: Initiative
@Mcoder said:
@JimLahey said:
@Severity One said:
So, you fancy a date with her?
No. Not only no, but fuck no.
Make it clear, men. Fuck or no fuck? "Fuck no" is just confusing the issue.
No fuck.
-
RE: Best. Scam. Ever.
Getting access to more horsepower for some botnet? Getting eyeballs on some other scam?
I heard the illiterate style is a deliberate attempt to focus their attention on the most gullible recipients (this probably applies more to 419 scams where they need to spend their own time chasing after marks).
-
RE: Just make damned sure it isn't null
@dhromed said:
@zelmak said:
Fair enough. I guess I was reliving what I saw over someone's shoulder here:
What happened next?
He took the index out for its first beer.
-
RE: Just make damned sure it isn't null
@zelmak said:
TRWTF is why would you want to copy-pasta the same line multiple times? Loop anyone?
Might be useful for things that aren't loopable enough to be useful, e.g.
Params(0) = New SqlParameter("@foo", foo)
Params(1) = New SqlParameter("@bar", bar)
-
RE: I can show the auditors some of the data
@C-Octothorpe said:
The problem isn't block size, it's the fact that the code only captures the first 1024 bytes of data. They read the first chunck in, then kill the connection.
Not that it's efficient (open/close 64 connections vs. 1) or that it addresses either of Mcoder's points, but just as a thought exercise:
# pseudocode
for 1k_chunk_count = 1 to 64
open connection
send 1k out of the total 64k
close connection
next
-
RE: Pick your own, but don't go to the source
I gave up on waiting and killed the process. Dunno whether it would've eventually crashed on its own.
-
RE: WTF Singularity (AJAX edition)
Other than the double negative, what did you have in mind? (I've taken pretty much this approach with a couple of forms, albeit they're only used once every few months in practice, and all they do is e-mail the entered data to someone for manual review)
-
RE: Automate It, But Make It Manual
@C-Octothorpe said:
@codefanatic said:
I ended up doing a totalled list of all agents and emails. I found out she wanted to do this as she does another emailing like this every monday. Only that one has a much longer email list.
So, she's hanging on to her job with tooth and nail... Got it.Ah yes, that old adage: "Automate 10% of someone's job and you become their best friend; automate 90% and you become their worst enemy." Or something.
-
RE: Not So Friendly Greeting on Wikipedia
Apparently the user vandalized a template, rather than the individual pages.
-
RE: Holding those connections really tight.
@this_code_sucks said:
if you have a bunch of different forms that share elements, MVC3 comes back superior again. It's really hard to share form element in webforms.
Isn't that what
framesuser controls are for? Not that I've had occasion to do a lot with them myself. -
RE: Clerks (administration workers) and documents
@ASheridan said:
Images inside word documents attached to an email. This pretty much happens with about 50% of the requests for screenshots.
I actually suggest this to anyone who has to ask how to send screenshots, on account of anticipating "I don't know how to open/paste/save in Paint, I only know how to open/paste/save in Word". (Next up, Grover attempts to count apples and oranges...)
-
RE: If would be greater than For, if I knew what If or Greater Than were for
@Lorne Kates said:
' Not allow out of range index
If IndexBeingViewed >= 0 AndAlso IndexBeingViewed < DataTable.Rows.CountDataRow = DataTable.Rows(IndexBeingViewed)
' ... snip just some simple processing ...
End If
But you've changed the original "crashes when IndexBeingViewed < 0" behavior! </sarcasm>
-
RE: I can't see the code
@TGV said:
Does he wear a black helmet, and talk in a sort of heavy breathing, by chance?
"I can't breathe in this thing!"
-
RE: Lotus Notes: Spearheading the social/mobile web revolution!
One of my favorite internal projects a few months ago was replacing a Lotus Notes data entry app that one of my predecessors hacked together... oh, probably long enough ago that LN's offline data sync foo was actually sort of relevant at the time. (What's a web app?) Between the weird UI and the licensing issues on both clients and server, I can only imagine what merry hell it would be to actually have to use the thing to deal with your e-mail.
-
RE: Bit flagging right?
@KattMan said:
@pkmnfrk said:
In case someone adds a 64 value flag, and wants it included in LOG_ALL?
And if you set logging = LOG_ALL then check for logging at a certian level by anding the value you want to check with the bitflags, you get no logging.
LOG_All becomes another setting of LOG_NONE
i.e.
<font size="2"></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">internal</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">static</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">bool</font></font><font size="2"> IsLoggingEnabled(</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">QLoggingLevel</font></font><font size="2"> level)</font><font size="2"> </font>
<font size="2">{</font>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">return</font></font><font size="2"> (m_LogLevel & (</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">int</font></font><font size="2">)level) == (</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">int</font></font><font size="2">)level;</font><font size="2">}
</font>How do you figure? 127 & 4 == 4, yes?
-
RE: Html skills to pay the bills
I don't remember offhand if that actually works, but if it doesn't then this definitely should:
<h3><asp:Literal ID="titleHeading3" Text="Title" runat="server" /></h3>
-
RE: Filematrix
@morbiuswilters said:
To be fair, it's current incarnation looks a lot less shitty than the screenshot from the TDWTF article.
I got the impression that the TDWTF screenshot was of the program with every single off-by-default option turned on at once. Think vanilla web browser vs. web browser with umpteen extra crapware toolbars crammed in.