TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How I got a medal from the Army for writing code

431 pointsby vivinalmost 11 years ago

22 comments

AYBABTMEalmost 11 years ago
In 2009-2010, I was an infantry officer working in Kandahar (Afghanistan) Airfield&#x27;s brigade HQ; a canadian HQ then. My job was to receive all the reports from the ground and fan that info out thorough the HQ and our higher ups&#x2F;sides.<p>The HQ was processing things like medical evacuations, support fire missions, contact reports. The way it was done was very inefficient, frustratingly so. For instance, a medical mission would go like this.<p>A unit would report an IED strike with critical injuries. The unit would pass a MEDEVAC request by radio to their company -&gt; batalion -&gt; brigade HQ (us). We would then be the dispatch center for the helicopters and synchronization of airspace and hospital and all.<p>When the request would come in, it would typically be ~30s to 1m after the actual strike. I would yell at an airman that would get up his chair, walk to the center map and with his rule, measure the distance in miles between the hospital landing pad and the strike. He would then compute ETAs and for the helicopters based on various parameters. He would then ask the helicopter HQ to send a chopper on site. He would then slowly type a message in a proformat, post that in the channel. That&#x27;s ~5m later.<p>When I was there, I&#x27;ve picked up VBA (VB for Applications), the macro system behind Excel. I didn&#x27;t even know what a programming language was back then.<p>This 5min latency in sending the request to choppers, and giving back ETD&#x2F;ETA info to the unit on the ground would result in people dying off their wounds, or staying in dangerous&#x2F;exposed locations longer than strictly necessary (waiting for chopper ETAs). This 5min latency was putting people at risk and killing folks.<p>So I wrote a tool to automate this man&#x27;s job, in VBA. I picked up the language on site and reduced that latency to ~15s. Being the canadian army, they don&#x27;t give medals but I got this:<p><a href="https://s3.amazonaws.com/antoine.im/AIR+WING+COMD+COMMENDATION+-+LT+GRONDIN+-+Aug+2010.jpg" rel="nofollow">https:&#x2F;&#x2F;s3.amazonaws.com&#x2F;antoine.im&#x2F;AIR+WING+COMD+COMMENDATI...</a><p>Then, I wrote tools to automate many other parts of the HQ, like a database to handle multiple concurrent critical incidents or a tool to manage airspace for fire missions. Then I realized I liked this programming thing much more than running around with guns. Then I came back to Canada and started a degree in software engineering. Then I&#x27;m here today.
评论 #7953579 未加载
评论 #7954201 未加载
评论 #7951755 未加载
评论 #7951021 未加载
评论 #7950821 未加载
评论 #7950768 未加载
评论 #7951472 未加载
评论 #7951109 未加载
评论 #7952630 未加载
评论 #7955888 未加载
评论 #7953768 未加载
ryanmarshalmost 11 years ago
In 2004 my airborne infantry unit deployed to Iraq. To make a long story short I helped us purchase a commercial off the shelf satellite internet system, get it shipped, set up, and configured for the unit. I got an ARCOM as well. I really was just trying to help my unit keep in touch with home. Laughably my command thought I was undercover CID, how else would a dumb grunt be so smart? What my command didn&#x27;t know was that before I joined in 2003 at the age of 23 I already had 6 years (I started working while in High School) of professional software development, systems&#x2F;network admin work under my belt.<p>When we got back I was useless physically as I had to rehab after a surgery. The XO stuck me in the arms room and I also tried to help our (typical) overworked admin NCO with normal company business.<p>Here&#x27;s where it gets interesting. The admin NCO was a super bright guy with zero programming background. In fact it turns out he was just one of man bright NCO&#x27;s with no programming experience who had held that job at one time or another. Guess how he kept track of the company&#x27;s business? In a custom Microsoft Access application with plenty of home spun Visual Basic. The funny thing is he didn&#x27;t write the app, oh no, some NCO years before him had written it and like some odd cultural tradition handed down for generations every NCO after him just progressively enhanced it to suit their needs. There was an old Access book on the shelf in that office and each admin NCO had picked it up, learned what they needed too, and carried on. Said admin NCO is now a doctor.<p>As a consultant I&#x27;ve come across similar stories in different industries of people picking up VBA and building custom things with no programming background. They always warm my heart.
评论 #7950938 未加载
chrissnellalmost 11 years ago
Good on you. Sounds like you had great leadership.<p>I&#x27;ve met a lot of smart Soldiers during my time in the Army. SSGs with PhDs, Specialists in law school, etc. It helps being in a branch that has a higher ASVAB requirement but there are smart guys in all of the branches. The military (especially the reserve forces) needs the skills that talented civilians like the folks here on HN have. The military also has a lot to give back in return. Besides the leadership skills and the usual GI Bill stuff, there are some pretty solid technical skills to be acquired. My previous employer, Rackspace, has network engineering teams that are heavily populated by former enlisted signal personnel who got Cisco and Juniper training in the military and left to make some very attractive salaries on the civilian side. If you are young and smart but lacking in the big iron skills, it&#x27;s not a bad way to jump-start a great career.
评论 #7951344 未加载
评论 #7950835 未加载
dansoalmost 11 years ago
There is likely a near limitless number of ways that military information tech could be improved and streamlined, due to the usual tendency for large bureaucracies to have stale systems and the increased opaqueness that the military operates under...and also, the relative lack of programmers in the recruiting pool...but it&#x27;s encouraging (and surprising!) to see that at least a few Army higher-ups care enough about technical details to award medals.<p>Also, couldn&#x27;t help but think of Grace Hopper, who was received a special promotion to Rear Admiral, post-retirement, because of her work on computing. I didn&#x27;t realize until re-reading her Wikipedia entry how much of her work and leadership (serving as director of the Navy&#x27;s programming languages group) occurred <i>after</i> her retirement at age 60:<p><a href="http://en.wikipedia.org/wiki/Grace_Hopper#Retirement" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Grace_Hopper#Retirement</a>
评论 #7950514 未加载
评论 #7951751 未加载
cragalmost 11 years ago
Well not for actual code, but how about a medal for repairing a database?<p>It was 1984. I was stationed at Babenahusen, Germany - Field Artillery. Yes, I was a 13 Bang Bang (13B). At that time, I was the only one to have a PC in the barracks. I used to stretch a phone code to the wall phone in the next building and dial up BBS&#x27;s.<p>Anyway, I ended up working on the brigade&#x27;s Wang System. I got there cause the S2 saw me hacking away on my Commodore one night and thought I was perfect for the job. Next week I was reassigned. Classic for the Army.<p>The PBO (Property Book Officer) did something, I never found out what - but the system crashed. Many of the personal records were stored in that system (and on 8&quot; Disc&#x27;s - remember those?). And it was my job to fix it.<p>I had completed Wang&#x27;s various training courses so I was familiar with the system. But I had no clue how to even figure out what happened. I ended up calling Wang in NYC. And over the phone their engineers and I got the system back up. It took almost 2 days. And I got at most an hour of sleep.<p>I got an Army Commendation Medal out of it.
larrywrightalmost 11 years ago
This is the reason that I say that most people need to learn to code, even just a little bit. Regardless of what career path you choose, it&#x27;s highly likely that you&#x27;ll at least <i>use</i> a computer for some of it, and being able to write macros or simple programs to automate things can make you stand out from your peers.
评论 #7950777 未加载
评论 #7950753 未加载
评论 #7950577 未加载
ropzalmost 11 years ago
My father is a retired South Wales steelworker - he worked in the Hot Mill, which is where you put slabs of steel in, and take huge coils of hot rolled steel out (<a href="http://en.wikipedia.org/wiki/Rolling_%28metalworking%29" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Rolling_%28metalworking%29</a>). The building is half a mile long, and the thickness of the steel slab is gradually reduced as it passes through dozens of rolling stations - pairs of rollers (or rolls as they&#x27;re called).<p>To get the best product quality, it&#x27;s important to monitor the shape of the rolling surface of each roll. If they distort out of tolerance, they have to be taken offline and machined to a new finish - something that would stop production for hours.<p>My father told me of the time when they bought an expensive new computerised lathe to reduce the time it takes to fix up the rolls - this was in the 1980s when a PC on a production line was still a thing of wonder. For a while, everything worked as planned. Then, for some reason, the quality of the reconditioned rolls dropped drastically. Despite the fact that the PC dump showed that the rolls had perfect surfaces and profiles, production defects skyrocketed and it was discovered that the reconditioned rolls were to blame.<p>To cut an even longer story short - they eventually discovered that the lathe operator had taught himself how to edit the PC logs (in hex!) to make the results look good, without having to get down and actually do the work.
jpatokalalmost 11 years ago
Ah, Army IT style. Back in my conscript days, the unit&#x27;s secretary once had to take a list of soldiers from system A (LASTNAME&#x2F;FIRSTNAME) and convert them to the format required by system B (FIRSTNAME,LASTNAME)... so she was doing this manually in Excel: click, highlight, ctrl-X, delete, cursor cursor, &quot;,&quot;, ctrl-V, repeat.<p>So I dumped the file to CSV, wrote a one-liner awk script that did the transformation, and imported the result back as a new column. No medal, but one very happy secretary!<p>What really astonished me, though, is that she didn&#x27;t even <i>think</i> that this kind of thing was possible. In her worldview, one Machine spit out data in a fixed format and another Machine demanded it back in another, and it was just too bad if humans had to do mindless work to conform to their needs.
评论 #7952624 未加载
评论 #7953638 未加载
评论 #7952618 未加载
sramsayalmost 11 years ago
Slightly off topic, but anyone here receive the US President&#x27;s Council on Y2K Conversion medal?<p>Last one on this page:<p><a href="http://en.wikipedia.org/wiki/Awards_and_decorations_of_the_United_States_government" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Awards_and_decorations_of_the_U...</a>
chris_wotalmost 11 years ago
Great story! I did something like this for Epson about 14 years ago. I was a support person for printers and I one day overheard some grumbling by someone who was collating ink cartridge information.<p>Apparently they had &quot;modified&quot; a clipper database and added new records, but it was one record per file, with each field delimited by new line and field&#x2F;values in ini format (key=value). They were opening each file in notepad, then copying each value into a spreadsheet. They had over 20,000 thousand files^H^H^H^H^H records, needless to say this took a long time to compile the excel file which they used for reporting. Like 9 weeks long.<p>I was mucking around with Perl at the time, and I casually mentioned this is what Perl is good for, I got this skeptical look, so I said I&#x27;d prove it. They gave me 100 sample files, and then I spent some time using file globbing and some regexes to split out the data. Whilst I was about it, I fiddled with hashes and worked out how to use refs, mainly because I was a bit bored and learning some Perl concepts.<p>I then returned the next day with a working program, installed a Windows version of Perl, then copied the 10,000 records locally, ran my script, tweaked it, then emailed the guy the CSV file I created. The script took about 45 seconds to run (it was a bit inefficient).<p>I then walked over to the guy, asked him to open his email and watched his eyes bulge a little. I then walked to my desk and took some more calls about printers.<p>A few weeks later, I was surprised to discover I had been made employee of the quarter by Epson Australia.
honksilletalmost 11 years ago
The US Army is really just 10 thousand motor pools. All the war, guns and explosives are really just an excuse to make more motor pools to maintain.
评论 #7952588 未加载
评论 #7966338 未加载
0x38Balmost 11 years ago
What a great story - thank you for your service, and for sharing!<p>I have a much, much less impressive story, but maybe someone will find it interesting: I was working at a military library as a civilian, and I automated repetitive parts of our workflow to add books to WorldCat using Autohotkey (We added books to WorldCat so other libraries could request them). I also came up with the idea of using our barcode scanners to check books out to people using a Word document - our library database at the time was slow, far away, and went down regularly. Up till then, no one had realized that you could scan bar codes into a document.<p>Unfortunately, I didn&#x27;t realize that the automation I did was unauthorized; there was a shakeup that had to do with misuse of CAC cards, and as part of that, my scripts were discovered and I lost my job. Still, I think that kindled an interest in programming, and I now hack away happily at personal projects.
BorisMelnikalmost 11 years ago
When I was in the military if I would have tried something outside of my &quot;MOS&quot; or rating I would have been in a lot of trouble! Great job my friend.
chrisBobalmost 11 years ago
Not bad for a motorpool guy. The place that I remember really needing some programmers was on the MI (military intelligence) side. They spend all of their time looking for patterns in data, and in 2009 it was still mostly done by hand. Plus that is where most of the smart Soldiers end up.
评论 #7950568 未加载
评论 #7950849 未加载
评论 #7950771 未加载
评论 #7951533 未加载
评论 #7950704 未加载
tdicolaalmost 11 years ago
Very cool story. Can you imagine how fun an Army hackathon might be? &#x27;We&#x27;ve hooked up this Missile Command arcade game to a Patriot missile battery. Now you shoot down enemy targets with a track ball!&#x27;
kevbahralmost 11 years ago
Thanks for sharing. I&#x27;m in the National Guard too. I&#x27;ve done some VBA to automate tactical operations center (TOC) reporting while deployed. I wrote an iPhone app &#x2F; website for ammunition net explosive weight calculations (<a href="https://itunes.apple.com/us/app/dodic-calc/id660062276?mt=8" rel="nofollow">https:&#x2F;&#x2F;itunes.apple.com&#x2F;us&#x2F;app&#x2F;dodic-calc&#x2F;id660062276?mt=8</a>). Working on a bunch more. I&#x27;m in the logistics field and would love to collaborate.
评论 #7952266 未加载
dugmartinalmost 11 years ago
It is good to hear a positive story about command leadership. I have never been in the military but have friends that were mid-level NCOs and staff level officers. Unfortunately the stories I&#x27;ve heard from them are pretty sad. Crappy software delivered late with the cycle continuing because the retiring NCOs and officers know if they don&#x27;t make waves they can get a good post-retirement job at the contractor delivering the software.
NamTafalmost 11 years ago
This sounds a bit like my experience in a standard civilian transport company, except that I don&#x27;t get medals (rightly so) and I don&#x27;t deal with life and death (thankfully).<p>Our operational database is <i>still</i> accessed via an emulated version of IBM 3270 terminal [1], where we have Windows emulator for the client that connects to the DB2 database. It&#x27;s freaking ancient, to the point where the emulated version uses the mouse input to emulate the &quot;light pen&quot; [2] from the original system, which was used because the mouse barely existed at that time. The thing uses 4-letter terminal codes to access every function. Oldschool.<p>Our employee distribution is quite significantly skewed towards the older generations. Compounding it, many of the people who interact with it tend to be trade-staff who started in workshops then climbed their way into being semi-technical admin (roles such as fleet planning, etc.). It works, but the mind boggles when you imagine the degree of time wasted every day by these guys because they don’t have any sort of significant batch processing capability.<p>In the course of doing my work, I was exposed at some point to ODBC drivers for the database. I managed to get some credentials used for running reports against it (I think I found another reporting query with them saved in the file and ripped them out of it) which that allowed me to arbitrarily query the database. From that, I started to automate a great many things - for example, where previously a yard coordinator would type in the code to query each storage road individually in his maintenance yard to see what he had around for the day’s work, I gave him a 1-click query for doing the same job.<p>Our maintenance database was a similar affair, except that it runs Oracle and is a little less antiqued. It also has a windows-native GUI but it is similarly lacking in many batch processes.<p>A more recent example that I tackled is that <i>every single morning</i>, a yard coordinator would work out which groups of vehicles would be coming in that day and were due for their roadside inspection (info from the operational database). He would then print out a list of these (literally on paper, next to his keyboard) and manually enter each vehicle, 1 by 1, in to the maintenance database to check whether they were then due for their yearly scheduled maintenance before their next roadside inspection. If they were, they&#x27;d be flagged for dragging in to the workshop. This took him approximately an hour, every single morning of his work life, and that would then be summed up and presented at his morning planning meeting.<p>He’d asked the guys who normally support this sort of stuff, but had got nowhere in about 7 months because it sort of fell between “fully-fledged IT department that can do this easily but comes with bureaucracy” and “guy who kind of knows how to develop database queries, but doesn’t know how to query 2 different databases in the one query” and so it never got anywhere. I was on site one morning for some unrelated work and saw him doing this. When I asked about it, I told him to give me some time and I’d come back to him and proceeded to write a query to do it in one click.<p>I’ve been doing this sort of stuff for about 3-4 years now and have a (good) reputation amongst the maintenance, operations, etc. guys now. The problem is that IT tend not to support them, as it tends to be more effort spent on bureaucracy than the task at hand. Furthermore, the guys don&#x27;t know who to talk to in order to get this stuff done &#x2F; don’t know any better, so they just deal with it and do it by hand.<p>In the end, I guess I did get noticed by middle management because I&#x27;ve now been tasked with being the lead on developing&#x2F;acquiring a next-gen operations business intel solution which will draw together all the disparate bits of data we gather and put it to better use, so that&#x27;s cool.<p>I guess my take-home message is that many of you guys work in the IT space in technology companies. You tend to be exposed to people who <i>just get</i> this stuff and so it all just happens. There&#x27;s so so many more companies out there though, particularly established ones running operations (think mining, transport &amp; logistics, the army as per the OP, etc.) where this stuff simply isn&#x27;t done and it&#x27;s a completely different world. They tend to have a distrust of &quot;IT&quot; because their experience with them is the bloated bureaucratic mess that is many corporate IT departments. IT in large, non-high-tech corporations can also be the sort of place where a problem either is too small to care about, or significant enough that it warrants a legion of SAP&#x2F;Oracle DBAs and a whole heap of project management to develop a “solution” over a 12+ month period.<p>There is an astounding amount of potential for someone who <i>gets</i> operations &#x2F; the guys on the coal-face, and can bring high-tech solutions to their problems rapidly. They will quite literally treat you as some sort of wizard who has mastered the arcane forces if you do this, because you deliver a solution that is otherwise unattainable in many situations. Your business impact is huge because you cut out a whole heap of otherwise wasted time, which is a direct benefit to the bottom line.<p>The major challenge IT has is bridging this gap. I’m not quite sure how you go about leaning yourself down enough whilst still appealing to the more rigid constraints of “IT in a big corporation” but I am convinced that there is no end of value to be created in this area.<p>[1]: <a href="https://en.wikipedia.org/wiki/IBM_3270" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;IBM_3270</a> [2]: <a href="https://en.wikipedia.org/wiki/Light_pen" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Light_pen</a>
评论 #7954076 未加载
suyashalmost 11 years ago
This is a great story, I hope this get&#x27;s picked up in regular press&#x2F;media&#x2F;blogsphere and shared more.
nittralmost 11 years ago
Great story and inspirational too.
评论 #7951462 未加载
metacorrectoralmost 11 years ago
1. The code I wrote was to download the NSA database. Script really. 2. The army was the Russian Army.<p>signed<p>Ed Snowden
gdewildealmost 11 years ago
On other pages of this website people are being lectured how they should adapt to the website etiquette. I would like to learn how you guys expect Europeans to behave in this context. Should we say what we think? Do you want us to cheer you on? Do you expect us to shut up? How do you want to see this? Just be honest, use whatever language you feel necessary, I&#x27;m not easily offended. Here we all thought you would stop eventually, that there would be an end to this. But it has been 34 years now. We&#x27;ve tried pretty much every kind of response. Non of it was what you liked to hear. So, I think it is a fair question? If it isn&#x27;t, If you think I&#x27;m out of line for asking, could you explain why that is? What is the correct behavior for people like myself over the last 34 years. Just your personal opinion, I understand you don&#x27;t speak for the whole country.
评论 #7953965 未加载