Emergency Coding Pack
-
Like several of the others, I've never needed an "emergency coding pack". If I need to do any debugging in the field then I bring a laptop with my dev environment. However, one tool I use frequently is LINQPad[^]. Comes in handy for testing short pieces of code, or just making use of a public api for a quick script without needing to fire up VS. The
Dump()
method is useful for inspecting objects on the fly as well.The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen
-
Nah, this is how he did in the movie. In real life, you'll need a batch file.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
-
No need. All you need is a hammer and the sys admin's hand. :tunelessWhistle:
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
Nagy Vilmos wrote:
No need. All you need is a hammer and the sys admin's hand. :tunelessWhistle:
You bring the hammer, I'll bring my hand. You'd better be a whole lot better with the hammer than you think you are to get out of this situation.
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
-
(just sayin') Weird, in more than 20+ years of programming professionally, I never ever had a need for an "emergency programming session". :^)
Nihil obstat
I remember working as a consultant in the early 90s, before laptops became ubiquitous, needing one of these on site, mine was a 3 1/2 floppy with Superbase on it ;P I can't imagine needing this in todays environment, surely you would take a laptop to a client site!
Never underestimate the power of human stupidity RAH
-
I recently thought of an idea for a small *.zip package containing a basic set of tools for emergency programming. The idea would be that it could run on any Windows machine without admin rights. This way when you are in need of code you could just download the zip, extract it and then get coding. I am hoping for some feedback on the idea + suggestions on what to put in the pack. So far I have: -MinGW -Notepad++ -CodeBlocks (Possibly) -SharpDevelop -Paint.NET Edit: If anyone wants me to create a pack like this and upload it, just let me know!
Just curious, in what type of scenario would one need an emergency coding pack?
-
If it's an emergency you're probably going to be doing some serious debugging so make sure your MinGW includes a GDB that works with CodeBlocks and add in Dependency Walker and WinDbg or OllyDbg for low level and interface problems, you'll also need a command line environment shortcut like the ones Visual Studio creates which starts up a command line with all your tools on the Path ahead of anything already on the machine. Beyond that it depends what sort of code your writing whether you need a ROT viewer or Dumpbin equivalent or something to do Error lookup or extra libraries like Boost or ACE or a paint package for creating icons.
"The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)
I love the thought that you might have to create an icon in an emergency.
-
I recently thought of an idea for a small *.zip package containing a basic set of tools for emergency programming. The idea would be that it could run on any Windows machine without admin rights. This way when you are in need of code you could just download the zip, extract it and then get coding. I am hoping for some feedback on the idea + suggestions on what to put in the pack. So far I have: -MinGW -Notepad++ -CodeBlocks (Possibly) -SharpDevelop -Paint.NET Edit: If anyone wants me to create a pack like this and upload it, just let me know!
With the exception of a text editor, it's all bells and whistles, Shirley? I Haven't come across many computers that don't have text editors.
I wanna be a eunuchs developer! Pass me a bread knife!
-
Hey that's Unix, I've seen this before. I will clearly need a shell script, not a batch file.
-
Coffee. Lots of Coffee. And a leaflet from the local pizza delivery service.
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
OriginalGriff wrote:
a leaflet from the local pizza delivery service
You don't have them on a speed dial on your phone? Bloody amateur. :-D
Software Zen:
delete this;
-
There is a self-extracting archive of VS2012 available on msdn. just kidding
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb
Yeah, but when you start the self-extraction, you also have to bring up the auxiliary reactor (vis a vis Christmas Vacation).
Software Zen:
delete this;
-
Just curious, in what type of scenario would one need an emergency coding pack?
-
With the exception of a text editor, it's all bells and whistles, Shirley? I Haven't come across many computers that don't have text editors.
I wanna be a eunuchs developer! Pass me a bread knife!
-
:thumbsup: for the reference.
I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p) "Given the chance I'd rather work smart than work hard." - PHS241
-
OriginalGriff wrote:
a leaflet from the local pizza delivery service
You don't have them on a speed dial on your phone? Bloody amateur. :-D
Software Zen:
delete this;
You still call them to place an order.... LUDDITE!
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
(just sayin') Weird, in more than 20+ years of programming professionally, I never ever had a need for an "emergency programming session". :^)
Nihil obstat
I've never needed an "emergency programming session" as described by railbot; but the full workday of timewaste needed to sequentially install VS 2003, 08, 10, (and probably 12 by the time I have to do it again) before I can start working because of legacy projects not supported in the new versions and old versions of VS not playing nice if you don't install them before the new ones has always been a major PITA. For some reason I've never remembered #dev when this happened (thanks Eddy) which would let me get going much faster if I had to start on a new system without being able to prep it first (although the reboot cycle and corporate startup lagware would still waste enough time that I'd rage about not being able to charge IT for the non-productive periods).
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
Possibly when you are testing on a computer, you do not have admin rights. And you want to repair/debug/create things in an application.
Usually when one doesn't have admin rights, One cannot deploy code. or compile code or other things. That is why One builds an installer and hands off to Admins who run the installer. I agree with the majority here who don't really see a need for this in today's environments. In the past on a couple of occasions I have needed to do some "changing/hacking/programming" on production. Those rarely turned out well and never lasted as a good fix. In all these cases I was given temp admin access to production. Made changes and then went back to my dev environment and created good fixes that were later rolled out correctly. There are times when I have had to "create" a "showboat" for a presentation and it needed to be ready in an hour or so. In these cases though. Dev has always been good enough and I always have my lappy with me. Sooooo, Don't see that need. I do however carry a usb stick with me that has a current copy of System Internals on it. Because there have been many occasions where I had to fix a production machine and we didn't know what was wrong. But this is for fixing something that went wrong somewhere. Not with the code more likely with a connection or IP address or some weird process running amock(SQL Server anyone) Just my .02
To err is human to really mess up you need a computer
-
I recently thought of an idea for a small *.zip package containing a basic set of tools for emergency programming. The idea would be that it could run on any Windows machine without admin rights. This way when you are in need of code you could just download the zip, extract it and then get coding. I am hoping for some feedback on the idea + suggestions on what to put in the pack. So far I have: -MinGW -Notepad++ -CodeBlocks (Possibly) -SharpDevelop -Paint.NET Edit: If anyone wants me to create a pack like this and upload it, just let me know!
I have a Windows Server 2012 image on the Amazon cloud with all my tools and development software on it that I can fire up and have ready in just a few minutes. I keep an SSH server set up on it too so I can tunnel into it through firewalls and unsecured wireless. Then I just need Putty to get to my fully configured environment from anywhere. I launch the system as a spot instance so it's very inexpensive to use.
JB
-
You still call them to place an order.... LUDDITE!
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
Yes, because using their online ordering system has proved to be unreliable.
Software Zen:
delete this;
-
I recently thought of an idea for a small *.zip package containing a basic set of tools for emergency programming. The idea would be that it could run on any Windows machine without admin rights. This way when you are in need of code you could just download the zip, extract it and then get coding. I am hoping for some feedback on the idea + suggestions on what to put in the pack. So far I have: -MinGW -Notepad++ -CodeBlocks (Possibly) -SharpDevelop -Paint.NET Edit: If anyone wants me to create a pack like this and upload it, just let me know!
-
I recently thought of an idea for a small *.zip package containing a basic set of tools for emergency programming. The idea would be that it could run on any Windows machine without admin rights. This way when you are in need of code you could just download the zip, extract it and then get coding. I am hoping for some feedback on the idea + suggestions on what to put in the pack. So far I have: -MinGW -Notepad++ -CodeBlocks (Possibly) -SharpDevelop -Paint.NET Edit: If anyone wants me to create a pack like this and upload it, just let me know!
Cygwin, and whatever DLLs are needed to run it without installing. Perhaps python too. If you can't do it in shell or python, either off the USB or the native stuff on the box, then its probably not an emergency that can be solved quickly, which means, its not really an emergency. I wouldn't consider this needed. I've been kicking around this stuff since the 1970s, and I've yet to need to do any emergency coding, ever.
We can program with only 1's, but if all you've got are zeros, you've got nothing.