Just a short snippet that made me chuckle as I was rummaging through MS Platform SDK's 'float.h' to steal some defines:-
#define EM_AMBIGUOUS _EM_AMBIGUOUS
Just a short snippet that made me chuckle as I was rummaging through MS Platform SDK's 'float.h' to steal some defines:-
It's strangely not that uncommon with business applications, especially when software is coupled to work with specific hardware. Thank 'due diligence' for that, the fact the many larger businesses are simply 'unable' to run unsupported software, therefore the electronic licence is neither here nor there.
It does however make you wonder why they bother with a licence key at all.
@dhromed said:
Scrap the distinction between Sub and Function, and all problems go away.
Browsing one of my regular 'haunts' today revealed a broken website, but some of the code was a little revealing.
The site in question is
[url]www.legendofmir.net[/url]
and here's a related forum thread (I'm Walrus there too).
[url]http://forum.gnonline.net/showthread.php?t=65972[/url]
For those not bothered with links, here a portion of the 'interesting' code:-
<%
randomize()
n1=50
do until n1<4 and n1>0
n1=cint(rnd()*100)
loop
%>
@tster said:
he's in the UK I think. they still use standard pretty much if I'm not mistaken.
<font size="1">"Because more things make us ask WTF than just code"
<font size="2">I was recently subject to an unfortunate 'incident' with my brand new car, it was broken into and I suppose the first WTF must be that the thieves stole the bonnet (aka 'hood'). After the initial annoyance/shock/anger laughter just had to prevail. The WTFness didn't however stop there....
Instruction from my insurance company left me with a choice of 1 (one) bodyshop in my area for the repairs (actually it wasn't in my area, more like 30 miles away). The nearest official dealer for my car was 200 yards away, the location I'd bought and had it insured, but nm.
The bonnet was removed by smashing the drivers side window, opening the bonnet release and undoing the 4 bolts that held it in place. Any Haynes manual fan will be familiar with the phrase "fitting is the reversal of removal", or not in this case. Fitting a new bonnet apparently consisted of removing the front wings, doors, decals, grill, lights; then spraying various parts including the newly ordered bonnet and reassemble, minus the decals. Removal was a 5 minute job I'm sure, refitting took over a month.
There was also internal damage to the car, missing sunvisor and headrest and most worryingly the gearstick was bend to one side quite dramatically. I ensured before the car went for repair that I catalogued the damage and ensured I communicated it both verbally and in writing with the car repairer.
In writing I'd ensured one of my points was "Gearstick and any associated damage", believing that there may be damage to the linkages underneath the vehicle. I was suprised to discover they had managed to replace a perfectly functional gearknob and gater, but somehow 'missed' the fact the gearstick was bent when replacing these parts.
I suppose at least they were thoughful enough to leave me a spare headrest in the boot of the car, one day I might have a use for it.
</font></font>
The WTF post here http://thedailywtf.com/forums/thread/74323.aspx reminded me of a little story......
I'm sure a few of you remember Windows 3.1, possibly some of you even had the unfortunate task of programming for it... like myself.
The small company I worked for at the time had a number of good clients in the London Insurance market. The task put before us was to write a reinsurance analysis tool, which in essence read two Access databases, one of which was 'metadata' aka business rules and the other the actual data. From there it spewed out what can only be described as a results 'list', from which many weird and wonderful 'drill down' options were available.
The UI was quite a challenge at the time, one of the reasons we choose to program the thing in 'C'. Apart from the fact we had a number of able C programmers, not so many Visual Basic 3 programmers.
Being forward thinking, we decided to take the route of developing it for the Win32s subsystem on Windows 3.1. NT was up and coming at that time, and Windows 95 was just around the corner.
We successfully delivered a working stable product for the sales and marketing guys to sell, we already had one client 'in the bag'. Unfortunately the marketing guys weren't happy, they wanted an NT version.
We explained how we had designed the product to work on Win32s and that the same product would work on NT. In fact we'd even devised the setup program so that it installed on either. Our arguments fell on deaf ears, how could they tell it was an NT version?!!??
A cunning plan was hatched.... we devised a dynamic splash screen that proudly announced.... "Designed for Windows 3.1", "Designed for Windows 95" or "Designed for Windows NT" as appropriate. Marketing was happy :)
But.... that's not the end of the story. This product's licence cost was £10,000 (um... more than $10000) a pop. I know of at least one client that 'upgraded' to the NT version from Windows 3.1, paying a full new licence fee. Of course the upgrade process required a new floppy disk label, maybe that justified the cost? Now I understood the drive from Marketing :O
Warning: Visual Basic 6 code ahead, do not read if of a nervous disposition.
Just a little snippet of code I stumbled upon this week - everything as was, apart from the object name stuff (changed to protect the innocent and misguided) and the 'snips'......
[code]'Snip
Dim inErr
On Error Goto LocalErrorTrap
inErr = False
If Not inErr Then Set objObjectName = CreateObject("ObjectName.ChangedHere")
If inErr = False then
'
' Snip - loads of code here
'
EndIf
'
' Snip loads more code here (some of which happens to rely on the code in the if above)
'
Exit Sub
LocalErrorTrap:
inErr=True
Resume Next
Resume
Return 'For completeness!
End Sub[/code]
LOL, last time I checked my software was rolling out to several thousand US retail stores.
I've over 15 year commercial experience in various languages, OSes and additional experience beyond that. However I'm finding barriers being put up by some companies due to the lack of MS certifications these days. It would seem experience doesn't count for as much as it used to........
To give myself a 'free reign' in the job market, I'm looking to gain these certifications as quickly and painlessly as possible.
Strange you should mention Tomb Raider, I worked about 1 mile from where it was developed in my last job ;)
This would seem a good place to ask......
Can anyone recommended either an online provider, or a provider accessible from Nottingham UK, that provides MCAD/MCSD training and examination?
I'm after a company that offers good value for money, but not at the expense of quality. I really don't 'need' any personal contact/tutoring for the training, online video or CD/DVD format is fine. It would be great if the bundle included reference books, the training itself and the cost of examination.