I'd go for something more subtle myself. Maybe fill his cabinets and drawers with the packing peanuts, along with his office supplies. If his chair has wheels, put them in there too. Then tape those up. Put some kind of "Welcome!" treat in one of the drawers - some sort of food that he'll enjoy, but will get very smelly very quickly if he ignores the drawers.
Posts made by Lexarius
-
RE: Prank Opportunity - Should I?
-
RE: Most compact release notes
I'm going to have to oppose your self-nomination. It just doesn't work that way.
-
RE: What is Minefield trying to tell me?
@Eternal Density said:
@sootzoo said:
I think we all know someone else we asked the same questions about...
Though we're reasonably sure Swampy isn't a neural net.Why, because neural nets display learning capabilities?
-
RE: I want to stab somone... hungarian notation...
@morbiuswilters said:
What the hell? I do this all the time. Declaring variables all over a function is messy.
Really? What I usually hear is "Declare as close to the usage as reasonable". A big block of names at the start of the function isn't going to tell me much about how these are used or where they are used. A declaration right next to where it starts being used gives context to both the declaration and the usage. Of course, a note after the area it is used in describing if/where you intend to use it again later is nice too. Or make smaller functions.
-
RE: Google ad representative line
@steamer25 said:
Could you please enlighten us by illustrating a scenario where a function like
function foo(a) { return true; }
must be used but
function foo2() { return true; }
...would not work?
In many GUI frameworks, widgets can generate events of various types. To attach meaning to those events, you pass the widget a function (or object with appropriate function attached) which will be executed once the event occurs. Generally the event will have some kind of information associated with it, which will be passed in to one or more arguments in the function, and you generally need to accept that argument even if you aren't going to make use of it. The true or false return value may decide whether or not the event should stop at this handler or continue being passed up a tree of ancestor widgets. It may for various reasons be handy to have a handler that does nothing other than assert whether the chain should continue.
-
RE: Best Price Per Inch?
@medialint said:
sparks
...crackle...
ERROR ERROR ERROR ERROR
File not found.
Whoever wrote your exception handler needs to be shot.
I mean, come on. Why would it evaluate to a Boolean?
-
RE: Death by lack of input validation
I haven't had any chemistry in many years, so I'm thankful for the helpful list up at the top of the page.
-
RE: I am driving this bus over you.
@MasterPlanSoftware said:
@Soviut said:
A little bit anal considering this is a forum and not a novelists guild.
But you could still TRY and not make it horrible couldn't you?
Using the enter key is really not that hard after all...
I don't know about him, but my Enter key doesn't work in this forum. The only way I can get newlines is using <p> and <br> tags. I'm using Safari 3 at the moment.
-
RE: Double RAS
@barfoo said:
By looking at the letters on them, as with a telephone keypad. Some people remember their PINs that way.
That's typically how I come up with PINs. Take something I'd normally use as a password and keypadify it.
-
RE: Karmic Revenge: should I screw this guy or not?
@mister said:
There you have it, the full function. It works flawlessly if you call it in the correct universe (the one where the algorithm is already sorted). If you run it in the wrong universe... well, I can't help you with that, can I?
Ah, I see. That works, but my QA guys aren't happy with your error handling. I guess if they want it to work in all (remaining) universes, they'll just have to deal with O(n).
-
RE: Karmic Revenge: should I screw this guy or not?
@mister said:
The best performance is O(1). Just use the multiple-universes theory, and you can assume the set is already sorted.
I'm having some trouble with this. The best I can manage is O(n). Here's my code:
if notSorted(arrayToSort): destroyUniverse()
My problem is that testing to see if the array is sorted still takes O(n). Any help? Plz send teh codez.
-
RE: A Good Time to Upgrade?
I can understand not upgrading the OS religiously, but (ignoring the fact that it says February) why does it take three days to do the deployment? I'm imagining a couple techs with a stack of Windows XP discs (each with their own CD-key) trying to perform an upgrade installation on each machine individually, running back and forth between machines to press "Next" a dozen times. Or perhaps they've heard of this "disk imaging" thing, and decided to do that - by removing all of the hard drives and, one by one, installing them into the base machine and doing the image. I remember when I was forced to do that to a lab in high school. The next time around I came prepared with a linux floppy and did it over the network.
-
RE: The beauty of High School computer security...
In my middle school's "technology" class (using Win3.1), they had some security software installed (Full Armor). They took some steps to ensure that you couldn't bypass it at boot time, locked down various features of Program Manager, and generally prevented you from running any unauthorized programs like command.com or File Manager. Except that this protection only applied to Program Manager - if you could run something through another program, it would work. Of course, all of those programs were disabled, so things were fine. Except they weren't. Windows Write could insert OLE objects, and programs could be OLE objects. Activating the OLE object runs the program. Tada, File Manager. From there, I found the security system's Uninstall program sitting in the Windows directory. It wasn't even password protected. I showed my instructor this. As a result, I didn't have to do any of the coursework, and was instead responsible for helping other students and fixing the computers (which resulted in amusing things like finding music CDs in the floppy drives). But mostly I just played through the Quest for Glory games I brought in.
In high school, the machines in the library had recently been upgraded to Windows 95. A new, updated version of Full Armor was protecting these machines as well. So I opened up WordPad, and of course, the trick still worked. Sigh.