πŸ”₯ Popular | Latest

Advice, Django, and Facebook: <?php header("Content-type: text/html; charset utf-8") * This is a warning to any poor soul who may have to deal with this code. I took over this criminal piece of chaos from a monkey named Joel who I assume had been given a typewriter by Mephistopheles himself. For reasons *I have yet been unable to fathom, he decided to patch together this thing *using a BaseX setup hardwired into an unfixably broken Manjaro VM, queried * by a handwritten plate of uncommented PHP spaghetti fit to feed an army of people with a serious death wish, without any framework or CMS * The very long Basex script, very long PHP presenter and very long XSLT stylesheet mostly perform the same heuristic document structuring for * different components and are supposed to produce compatible results, but I *bet they have mismatches somewhere. * Since Prof. T just wanted a few small functional enhancements, I decided *to just patch it and keep the general setup. Unless you were hired to correct some spelling mistakes, DO NOT FOLLOW IN MY STEPS. Putting up with * this simulation of how a goldfish would design a system has literally * given me CLINICAL DEPRESSION. This is not an exaggeration, I am writing * this after a prolonged medical therapy - mostly successful, thanks for * asking, but not fun. I wouldn't wish this code on anybody who isn't a * manager at Oracle or Facebook, and therefore give you this sincere advice: * Nuke this. Take the XSLT if you must, and then nuke the app and recreate it *in Django or whatever works for you. I would do it myself, but I risked a *relapse simply by opening this file again to write this comment. Dear brother or sister, I wish you all the luck and strength in the world * and hope it will be enough. Farewelt. error_reporting (E ALL) ini set("display errors" , true); print('<xml version-"1.Q" encoding-"UTF-8" ?"n"):?> Im getting second thoughts about whether accepting this job was a good idea.

Im getting second thoughts about whether accepting this job was a good idea.

Save
Complex, Energy, and Fall: "NORMAL" FUNCTIONING RETURN TO MEANINGFUL LIFE Securit Self-esteen Meaning Shock Acceptance and Denial Exploring options . A new plan Avoidance Confusion Fear n place Blame Anger Dialoque and Frustration Anxiet rritat Emborrassment Shame Bargaining to others one's story has happened Reaching out . Desire to teli Struggle to find Depression and ng for what etachment Blahs Lack of energy Helplessness <p><a href="http://snazziest.tumblr.com/post/109361209689/this-is-the-diagram-my-therapist-showed-me-the" class="tumblr_blog" target="_blank">snazziest</a>:</p> <blockquote><p>This is the diagram my therapist showed me the other week. He told me that too often patients think that recovery is a direct climb back to the top from the depths of depression. Rather than that, it’s much more complex and has many loops where you will experience significant growth and progress, but then fall back to where you were before. Having it pointed out to me made things a lot clearer, and I wasn’t as overwhelmed whenever I would start to relapse and sink back into depressive habits. However, I began to note that each time it was slightly better than the time before, and just that small realization gave me much more motivation and energy. </p> <p>So to those of you who may be struggling with depression, just keep this illustration in mind. Your progress may not be constant or consistent, but you will continue getting better. Try to visualize yourself on this path and remember that it’s less and less severe each time, and each day brings you closer to happiness again. You can do it! I’m cheering on all of you who are still fighting!</p></blockquote>

snazziest: This is the diagram my therapist showed me the other week. He told me that too often patients think that recovery is a direct cl...

Save