Perhaps "the world's local bank" whose acronym expands to "The Hong Kong and Shanghai Banking Corporation" could explain why they don't have a branch in Hong Kong or Shanghai?
Posts made by MrBester
-
RE: The world's local bank
-
RE: Dont trust the framework, to do the work(.net)
@samael said:
I wish the worst transgression at my place-of-work was throwing away the call stack. One developer (who, incidentally, is now my manager) used a nice idiom:
try {
...
} catch ( Exception ex ) {
throw new Exception( "Something failed", ex.InnerException );
}I suppose it's one step up from ignoring the exception entirely.
That's close to how you implement a Paula.NoQuackException.
-
RE: How big are these pills, anyway?
@Critter said:
A very easy way to fix this is to ditch the "Actual size" text, and place a dime next to the pills for comparative sizing.
Which doesn't help those who have never seen a dime and don't know what size one is (like me). Pardon me for not being up to speed on the relative sizes of small coins of a foreign currency.
-
RE: Not what you want to see on your internet banking site...
@rbowes said:
At least it's just an error in the navigation. I'd be a lot more worried if it was an error in the funds transfer or something. Unless of course the error happened after adding the balance to the other account but before removing it from the first one.
And in terms of the OS, the ".asp" should have given it away. It's rather uncommon to see ASP running on anything other than Windows.
No, it's worse than that: It's a .NET error occuring in some C# code that is running [i]inside[/i] a Classic ASP page (unless they've been [i]really[/i] strange and put ASP.NET code in a .asp file and forced it through the .NET engine just so they don't have to change the links from the old system)
-
RE: The Clbuttic Mistake
@valerion said:
I remember reading about a few places that blocked out searches for the town of sCUNThorpe...
AOL UK famously blocked UK users from putting Scunthorpe or Arsenal pretty much anywhere on their crappy systems (I think it included the account address page as well).
-
RE: Sometimes overanalysis hurts...
"The form only ever will submit a 'y', or a blank if the checkbox was cleared. Why re-assign
the submitted value?"Not quite right. If you don't check a checkbox, the "proper" behaviour is for the useragent to not send anything to do with the input whatsoever. This is different from sending "multirec=" as that should never happen. If it does, it's either a WTF from the browser or someone spoofing the form (take a lucky guess which one it is likely to be)
If you don't set a value (which as it is being used as a Boolean control, rather than a control list isn't such a strange concept) then a form sends "multirec=on" if it is checked and nothing if it isn't.
I do wonder what is wrong with using a Boolean value for Boolean controls rather than strings: If the checkbox value is sent AND == 'y' (or possibly "on") then var is true else false. Simple.
All that notwithstanding, the simple rule is "never trust anything from the client", just as you state. This isn't a personal security practice, it is a paradigm. If the reviewer doesn't know this then you have bigger problems than just their misunderstanding of how a browser POSTs a form...
-
RE: Another spam WTF
@fennec said:
Oh, I agree, though Wikipedia says it's not actually a made-up name (well, not exactly):
Wachovia, pronounced wah-KO-vee-yah, has one of the most unusual corporate names in the United States. The origin of the name is the Latin form of the German name Wachau. When Moravian settlers arrived in Bethabara, North Carolina in 1753, they gave this name to the land they acquired, because it resembled a valley along the Danube River called die Wachau. The area formerly known as Wachovia now makes up most of Forsyth County, and the largest city is now Winston-Salem.
So... a Germanic name starting with a W (and thus pronounced "V") is converted to its Latinate form. This retains the V as there is no W in the Latin alphabet ( == Vacovia), yet it is then spelled in the Germanic fashion, giving back the W and the aspirant C ( == Wachovia) and then pronounced phonetically as an English name. And people wonder why English is so hard for foreigners to learn (and for native speakers to spell)
-
RE: C# WTF
!! is used a lot when it comes to object detection in JavaScript, because you [b]do[/b] want a boolean as to the support of an object: try alert(document.getElementById); in a JS console and you'll most likely get something like:
[code]function getElementById{[native function]}[/code]
Whilst JavaScript is nice in that exists(something) can be evaluated as a boolean implicitly [like if(document.all)] using the double negative means that you can use the value as is rather than having to check if it isn't null later...
-
RE: The New IT Guy.
It's more common from the client:
(Regarding a bespoke site admin suite) "The <insert name> admin isn't working"
normally when it has been "working" fine for several months and someone (new) does something stupid. Needless to say, they won't tell you without you applying thumbscrews just [i]what[/i] they were doing before the app coughed and died, like attempting to upload JPEGs in CMYK format and expecting them to display in IE...
-
RE: New: Support for {True;False;FileNotFound}
@KattMan said:
If you ever need a third value you should no longer use a boolean or even attempt to. Perfect examples follow:
Some people like trying to save gender as "Male?" This gives you a true false, with false implying female. Problem is this is engineered wrong, gender is not male or otherwise, it is male or female (barring the other unusual chromosonal combinatations). Since the choices are Male and Female, it is not boolean since gender is neither true or false. Alternatively an Alive flag can be a boolean as you very specifically know if they are alive or dead and can represented as true or false.
This tool allows poorly engeneered applications to abuse the idea of a boolean, fine for a mid-process refactoring but bad in the long run.
Except that using male / female as [i]gender[/i] is confusing because it can also be part of the biological sex enum { freemartin, hermaphrodite, male, female }. Hell, with this you could add extra ones for eunuch, post-hysterectomy, chemically castrated etc..
-
RE: Windows Vista Ultimate Edition Pricing WTF
Screw that. There's no way that using equivalence with a currency that sports a 2:1 ratio is remotely anything to do with "oh, we've got to document APIs for these particular people". Just documenting the frigging things in the first place would have saved them millions, but no, they had to be difficult about it. It certainly doesn't equate to a doubling of price.
If it is possible, it would be interesting to see (as a proportion of population using Windows) how much pirating of Vista occurs in countries where equivalence is so out of whack with reality as compared to the States.
-
RE: Non-WTF Jobs WTF
Because they want to cover all bases, plus it sounds funky to the PHB. Pretty standard. Also pretty standard is the ridiculous requirement that prospective employees know some new tech for longer than it has existed in the wild, like 2 years (provable) .NET 3.0 experience.
Wait a minute: VBS? VBS ain't ASP.NET, it's Classic ASP. So the answer to the latter question would be "most definitely".
-
RE: One of many signs you're in trouble
Ahh, the joys of the Extract Method pattern (* 2 bajillion). You'll use it so much you'll dream of it at night and it will occupy every waking thought until you realise how much Introduce Parameter you can get away with. Only then will your personal hell become somewhat tenable.
-
RE: Balls.. Balls?
Mine are 3 dimensional: dim balls as Integer ()()()
Drat, formatting didn't take...
-
RE: We dont need to process this form.
I would guess it's the clunky "mix script in a tag" onsubmit="CheckForm(this)"
I take that back, 'this' is probably something like document.formname
In any case, the function doesn't do what its name implies but just some window dressing. As a result it isn't necessary (I'd question the need for a "Positive you haven't been a dumbass in filling this form?")
-
RE: Klingon Programmers
<innergeek type="expose">It's bat'leth (sometimes bat'elth just to annoy), Kahless and Sto-vo-kor. Few Klingons have been observed to actually write anything which might explain all the extra letters; Kahless was dyslexic.</innergeek>
-
RE: Google hates IE... proof!
Not that imagemaps should be used these days anyway when you can have semantic markup and a spot of CSS to do the same thing and everybody gets to play, even those on screenreaders. Try explaining to 508 compliance testers why you absolutely have to have an imagemap and see how far you get.
-
RE: Google hates IE... proof!
[quote user="mrprogguy"]Easier route: design for IE first, then port to FF.[/quote]
Never again. Best route is: design layout for Lynx / screenreaders / GoogleBot, CSS for FF / Safari / Opera, wrap styles in @media all to kill off IE5.2/Mac, call in via <link media="screen"/> to kill off Netscape 4 (it's still out there) and bung all the "fix IE" stuff in Holly hack lines, possibly with "escaped" chars to separate between 5.5 and 6 ( * html selector { property: value; p\roperty: value; } )
-
RE: WTF from High School
First thing lost in translation is poetry
I bet Alexander Pope would have slapped you silly if you'd said that to his face.
-
RE: Sorry kids, you missed christmas!
[quote user="Marak"]
So help me god, DONT MAKE FUN OF COLDFUSION.
Why would they use sql to get the date.....its an easy as.
<cfset xmas = CreateDate(2006,12,23)>
<cfset daystillxmas = DateDiff("d",xmas,Now();)>
<cfoutput>#daystillxmas#</cfoutput>Seriously, anyone who disses on Coldfusion has either:
1. Never used it.
2. Never used it properly
[/quote]
I hope that the Java[Script]/C# style line delimiter character is just a typo (even though it's two rows away on most every keyboard from the surrounding chars) otherwise I'd claim a WTF that a scripting language required it in the middle of a method call
Diss this: The data layer was bloated and slow. It's almost as if they'd never heard of the concept of .GetRows() or .GetString()
-
RE: Open the website on your desktop, take a snapshot of your desktop ...
[quote user="H3SO5"]Xeyes, Xload, Xclock! That is so... 1995![/quote]
But he isn't running Neko. He's gone way down in my estimation because of that...
-
RE: Saved to the RAM from.. , err.., RAM?
When you turn off a Windows Vista-based desktop, you might just make out the faint cheer of a penguin watching you through that RDP connection you didn't know you had...