This was my idea! I tried to offer free coding lessons to soldiers on craigslist. 0 responses but still...maybe ill repost it.
costas0811
Posts
-
Sure it's a publicity stunt -
Craziest fix that actually workedHad built a Slot Machine game that was meant to be played on the iPad. When you spun the slot sounds played normally, but I guess there are restrictions so that sounds cannot be played unless it is a user event that spawns them. So I was at a loss. A slot machine without sounds is actually pretty lame. Friend suggested - as a complete guess - that I edit all the sounds into one massive wave file with gaps of time in between and that on the other timed events I just forward to the index where the sound plays that I need. It was so ludicrous that I did it as a joke to prove how badly it would not work, but of course it worked perfectly. Still can't believe that one.
-
Learning on your own or formal training?(This rant is not directed you more just the general class of people with this opinion. If you are offended then maybe it is directed at you.) You didn't learn anything else in college? You didn't read one great book or have an thought-provoking philosophical discussion? You didn't make great friends who you keep in touch with today? You didn't encounter one professor who pushed you to think beyond what you thought you could do? You didn't nearly cause yourself serious harm with a physics experiment gone awry? You never kissed a girl in a remote section of the library? And in that same library you didn't pick up a random book and learn about architecture even though it is not directly germane to coding? You didn't attend lectures on neural-networks and AI far beyond your own skills just for the experience of it? You never had one sensation of pride when your school's teams won? You didn't have one experience in 4 years that made you consider that going to college is more than just being "trained" to do some task? To me this question is usually asked by those who are in too much debt. It could also be you think of yourself as an autodidact and don't need help from other people. Maybe this is even the case. Perhaps you are the best coder in the world but you sound like a boring jackass.
-
I need words of wisdomIf you don't try, you fail. If you try you might fail. If you try enough you will succeed.
-
C++ v Java v ???A hello world programmed in C++ is just much a greeting as a hello world in Java. I would say measure how superior you feel you are and find yourself on this chart. Cool Kids
-
Geek or Not?The only rule... If you exclude someone else for liking or not liking something, you are not a geek.
-
Italian In USAI wouldn't typically laugh at something like this anyways, but I am just not sure if I should be insulted.
-
[Mathematics] Sum of angles of triangle [Updated]ok triangles are out, and pi is not finite so circles are out. i hate shapes.
-
What is your best code comment this year?I get this is a joke but is anyone else annoyed by people who are serious when they use a phrase like "real programmers do....?"
-
Mouse AlternativesOk... out of curiosity I ripped apart an old shoe and a mouse i had lying around and i made this frankenstein of a shoe mouse. I found it to be very uncomfortable. I hope that helps.
-
Mouse AlternativesThe keyboard is definitely the way to go. If you want to be more productive unplug your mouse for a day or 2 and learn the shortcuts. Maybe I take this to the extreme but I also: * Use key mapping software to bind common tasks to keys * Use third party desktop management and window switching software * Memorize, practice and time doing complex tasks only with they keyboard Basically if there are more than a few steps to doing something it should be automated via some sort of script.
-
Boston MeetupWhat is the interest level in a Boston area meetup?
-
Time for our ScrumIf you have a daily meeting and you have simply just changed the appointment to say "DAILY SCRUM" you are not doing agile development. How did this word end up in the hands (or mouths) of every person from senior management to janitors?
-
Easy way to share big files...http://www.s4ve.as/[^] 24 hours, any size file.
-
Useless corporate instructions...Yea the UK is much worse. Once while working as a contractor there, I had to watch a 30 minute saftey video and sign a waiver saying I wouldn't sue if I got carpal tunnel. I highly doubt I would get it in 5 days!!! Although, I should have sued for the crappy television.
-
IIS6 .NET ConfusionRight to the issue.. I am installing an web application on IIS6 to a website that is running version 1.1 of .NET. My application is 2.0. So I run aspnet_regiis -S W3SVC/1/ROOT/App... directly on the vdir level and that all works fine. However, when I look in IIS Manager at the website level it reports that its using 2.0. Even stranger if I query the website with aspnet_regiis -lv it reports its using 1.1. The virtual directly is set up correctly!!! Everything works, it just says the wrong version in IIS Mgr, and this is enough to cause my QA team to not release. I have fought and lost so it must be fixed. Any ideas or anyone encounter this behavior before?
-
SigntoolThat could be. Although IE doesn't work Chrome accesses the internet fine. Maybe it's an M$ thing.
-
SigntoolAnyone ever have an issue with signtool.exe where it freezes up? I'll run it one minute and it doesn't work, then a few minutes later it works fine. Also, suspiciously Internet Explorer will stop working. I've already ruled out anti-virus software.
-
Enumerate Websites in VistaJust trying to get a list of websites for IIS7. First we start here:
TempVBS2(WINSYSDIR ^ "inetsrv" ^ "appcmd.exe list site /text:site.name > " + FOLDER_TEMP ^ "site.names");
Next interesting bit in function TempVBS2:
if (LaunchAppAndWait(WINSYSDIR ^ "CScript.exe", SUPPORTDIR ^ "tmpbat2.vbs \"" + strCommand + "\" " + FOLDER_TEMP ^ "Magic.bat", LAAW_OPTION_HIDDEN + LAAW_OPTION_WAIT + LAAW_OPTION_WAIT_INCL_CHILD) < 0) then
Ok so now lets run some VBScript:
myCmd = argObj(0)
batFile = argObj(1)
myCmd = Replace(myCmd, "'", Chr(34))
Set oFSO = WScript.CreateObject("Scripting.FileSystemObject")
Set oTS = oFSO.CreateTextFile(batFile)
oTS.WriteLine myCmd
oTS.Close
cmdCmd = "cmd /C " & batFile
Set oShell = CreateObject("WScript.Shell")
Call oShell.Run(cmdCmd, 0, True)Great!! At this point its 50/50 whether or not the command actually ran. Assuming it did we then:
if (OpenFile(nFileHandle, FOLDER\_TEMP, "site.names") < 0) then abort; endif; ret = ListCreate(STRINGLIST); while (GetLine(nFileHandle, sLine) = 0) ListAddString(ret, sLine, AFTER); endwhile; if (CloseFile(nFileHandle) < 0) then abort; endif;
And VOILA!! We have our list of websites. Simple, elegant, mind-numbing. By the way if anyone is interested this is mostly InstallScript.
-
From Development to ReleaseI have a lot to say on this subject but if you could provide more details I could answer specifically. What type of project is it? How large is the team? What hardware is available? If your asking this question I am going to assume its more than just you so you would need at a minimum: * Source Control for change tracking, Subversion is usually what I use cause its free and theres a lot of resources. * Bug Tracking software. I like the Seapine products however you can use any of the tons of free products BugTrack. Ive used GoogleDocs for this in one case. * Continuous Integration Tool. Have a dedicated machine set up for building constantly off of source checkins. Its really easy to setup and will help mitigate crappy checkins. CruiseControl or CruiseControl.NET either one can be set up in 15 minutes. * Some sort of Automated Testing tool. For web apps I use WaTiR. Ruby based testing language. Again can be setup in a couple hours. Tests will take longer to write but will save a lot of time in between. These are things at the very least that I would implement. As for the decision to enter into different stages, thats entirely up to you. If you know what your target is then its pretty simple. You get to that point, then freeze the code. Test the heck out of it and fix those bugs. If the product manager (or client) agrees all the functionality is met and Quality Assurance agrees it works properly it should be released. Depending on the type of application you may need an installer. Please provide whomever is writing the installer with a detailed outline of prerequisites. I usually develop this concurrently with the product so its ready to go when the products done. This is all at the minimum. As a project, team gets bigger I've included lots of things. Code metrics and other such reports, performance environments for load testing, hosted environment testing, bug triage sessions to determine the priority of bugs, nightly builds with automated deploys. If there are multiple projects running there are tools to distribute an parallelize these build processes. Whatever the case as long as you decide on a process and stick to it, you will increase the quality of the product. Anyone looking for more info on a specific project feel free to drop me a message costas0811 @ hotmail . com , without the spaces obviously...