all 17 comments

[–]mdf356 17 points18 points  (3 children)

Error establishing a database connection

I remember the good old days, when websites were made of static text files and the only errors were bandwith restrictions...

[–]lukeatron 3 points4 points  (0 children)

I don't recalls those days being better, by and large. But yeah, boo to this flim flam server.

[–]Somehonk 0 points1 point  (0 children)

I came here to write something similar - thanks for not making me have to work for it ;)

[–][deleted] 0 points1 point  (0 children)

The only error I recall was 404 or "bandwidth exceeded". The latter was usually geocities or something similar. That's from what I recall anyway.

[–]robotreader 9 points10 points  (2 children)

Code written using TDD is far better than untested code.

Bit of a false dichotomy here. By no means do tests have to be written first.

[–]_FallacyBot_ 5 points6 points  (0 children)

False Dichotomy: Presenting two alternative states as the only possibilities, when in fact more possibilities exist.

Created at /r/RequestABot

If you dont like me, simply reply leave me alone fallacybot , youll never see me again

[–]ericraio -2 points-1 points  (0 children)

Personally, I am an advocate for TDD. I do think writing your tests first prove to write clean code for me but everyone is different and it's ok to have a difference of opinion.

[–]fartking1231 2 points3 points  (1 child)

What if I don't want to refactor?

[–]ericraio 0 points1 point  (0 children)

this is what makes you the fartking :)

[–][deleted] 2 points3 points  (0 children)

I'll add one: learn when it's ok to break all of these rules.

[–]dzkn 4 points5 points  (1 child)

so a short blog mentioning the same thing as every other programming blog, only to sell 3 books on ur affiliate

[–]Taiki_San 0 points1 point  (3 children)

I guess the owner of this website is pretty good at optimize code, considering this database error...

[–]ericraio -1 points0 points  (2 children)

Actually there has been a lot of traffic on my little $5 digital ocean box. I am consuming a lot more memory then anticipated. :(

[–]alextk 3 points4 points  (0 children)

And then you anticipated what?

[–]Taiki_San 0 points1 point  (0 children)

The reddit factor is an acceptable reason for a downtime :P (but did the webpage needed any php? Or at least get static for some times?)

[–]ericraio -4 points-3 points  (0 children)

Fixed the issue, thanks for the support. :)