This is just my handy tip for all of you aspiring programmers out there. Never, ever, EVER hardcode your personal contact information into your applications.
About 6 years ago, I wrote a Windows Service at my last job. If that service encounters an error, it logs it in a text file. However, if it can't access that file, it sends a text message to my phone. Which, was pretty handy at the time, because I would be alerted immediately if things went wrong.
BUT...
It's now 6 years later, and they're still running that service... And it's still got my cell phone number hardcoded into it...
So, when the server apparently went down last night, I got a text message every 2 SECONDS for 5 HOURS! ...Fuck. This has happened a few times now, and trust me, I've learned my lesson.
I hope each and every one of you can learn from my epic failure. /facepalm
Hardcoding, FOR THE LOSE
Moderator: Coders of Rage
- Netwatcher
- Chaos Rift Junior
- Posts: 378
- Joined: Sun Jun 07, 2009 2:49 am
- Current Project: The Awesome Game (Actual title)
- Favorite Gaming Platforms: Cabbage, Ground beef
- Programming Language of Choice: C++
- Location: Rehovot, Israel
Re: Hardcoding, FOR THE LOSE
oh dear XD ...
How will you fix that?
How will you fix that?
"Programmers are the Gods of their tiny worlds. They create something out of nothing. In their command-line universe, they say when it’s sunny and when it rains. And the tiny universe complies."
-Derek Powazek, http://powazek.com/posts/1655
blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
-Derek Powazek, http://powazek.com/posts/1655
blip.fm DJ profile - http://blip.fm/Noobay
current code project http://sourceforge.net/projects/vulcanengine/
- hurstshifter
- ES Beta Backer
- Posts: 713
- Joined: Mon Jun 08, 2009 8:33 pm
- Favorite Gaming Platforms: SNES
- Programming Language of Choice: C/++
- Location: Boston, MA
- Contact:
Re: Hardcoding, FOR THE LOSE
I hope this service is just on one server! You may want to give these guys a call and provide them with v2.0 of that service.
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
http://www.thenerdnight.com
- trufun202
- Game Developer
- Posts: 1105
- Joined: Sun Sep 21, 2008 12:27 am
- Location: Dallas, TX
- Contact:
Re: Hardcoding, FOR THE LOSE
I had them kill the service. It's not something they use anymore. Thank god. Otherwise, I would have volunteered my time to fix it.
- ismetteren
- Chaos Rift Junior
- Posts: 276
- Joined: Mon Jul 21, 2008 4:13 pm
Re: Hardcoding, FOR THE LOSE
Well I never would have thought of doing that, even good sounding ideas often take a turn for the worse...
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Hardcoding, FOR THE LOSE
Poor Trufun.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: Hardcoding, FOR THE LOSE
Dude, that is absolutely hilarious!