🔥 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: * 4 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 fíle 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 Farewell * error_reporting (E ALL); ini set("display_errors", true) print'<?xml version= "1.0" encodina="UTF-8" ?>' "An") : ?> Don’t read the source, Luke!

Don’t read the source, Luke!

Save
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 Farewell. * error_reporting (E_ALL) ini set("display_errors", true); print ('<?xml version-""1,0" encoding- "UTF -8 " ?>"\n") : ?> Who needs license agreements when you got this! F

Who needs license agreements when you got this! F

Save
Target, Tumblr, and Vision: Ppl will go to the library and pull out their laptop, textbook, agenda, multicoloured pens, 2 calculators and a large coffee just to sit there like this for 2 hours carpeted: beyoncescock: pepethefrogblog: beyoncescock: this is me pretending to do homework when im really scrolling through tumblr while taking random quizzes like how much common sense do you have which i dont need to take cause i probably have none nice self burn now where do you get those stupid quizzes cause i need something to distract me from my research paper im in class and i productively gathered my fave quizzes for you instead of listening to my professor ramble about machine learning How much common sense do you actually have?** (i got 8/11) Take this vision test and we’ll guess what color your eyes are These 18 questions will tell you what dog breed you’re compatible with** Your choice of words will determine what age you belong to We can guess your soulmate’s name based on these questions about your exes What nationality are you according to your personality?** Can we guess where you actually live? Most Americans can’t score 10/12 on this state geography test. Can you? Only 1% of people can name these everyday things** (i got 8/18) Can we guess where you grew up based on your taste in snacks? Take this test to see how you’ll most likely die** **my favorites picks rihannna just in case

carpeted: beyoncescock: pepethefrogblog: beyoncescock: this is me pretending to do homework when im really scrolling through tumblr whil...

Save
Candy, Charlie, and Dad: karik evayna Violet Beauregarde should've won Wonka's chocolate factory Have I watched the movie in the last decade or more? No. Do I have iron clad evidence to support my argument? Yes. 1. She's the most knowledgeable about candy She's committed to it, and knows her stuff. When Wonka holds up a little yellow piece across the room, she recognizes it immediately. She was able to switch to candy bars for the sake of the contest, so we know she has personal discipline and is goal oriented. Also, two major projects play directly into her strong suits: the 3-course- meal gum that Wonka failed to make safe (gum) and the neverending gobstopper (longevity) 2. She's the most fit to run a business. Violet is competitive, determined, hard working, and willing to take risks. Her father is a small town car salesman and politician, so she could easily pick up knowledge and support from him. (Veruca's dad is also a business man, and in a compatible market (nuts), but it's made very clear that Veruca has no respect or knowledge of business practices or hard work.) 3. Shes the most sympathetic to the Oompa Loompas. She critiques Veruca when Veruca demands to buy one. More importantly, Wonka has been testing the 3-course-meal gum that always goes wrong' on Oompa Loompas while he presumably just watches. Violet is ready to put herself on the front line, instead of treating the Oompa Loompas as disposable, and would therefore be a better boss. 4. Her personality flaw' is the most fitting for the company. In the moralizing Oompa Loompa song, they just say gum is pretty cool, but it's not socially acceptable to chew it all day. The thing is, we already know that she can stop if she wants, because she already did that to win the golden ticket. And yeah, she is defensive about the perceived impoliteness of her hobby (like when her mother tries to shame her about her habit during a televised interview) but the obsession with candy and neglect of social norms is EXACTLY what Wonka is all about This is on brand. 5. Her misstep in the factory is reasonable. Wonka shows everyone a candy he's very proud of. Violet is like "oh sick, that's gum, my special interest." Wonka is then pulls a "WRONG! It's amazing guml So in the very moments before she takes the gum Wonka has mislead her just to belittle her. So when he's like I wouldn't do that" why should she give a shit what he has to say? She's not like Charlie over here who's al Sure Gramps, let's stay behind while the tour leaves and secretly drink this thing that has been explicitly stated to fill you with gas and is too powerful for safe consumption, oh and also I just saw what happened to Violet so I actually KNOW what this stuff can be capable of" Also, Violet is not selfish about her experience, she tells everyone what she's tasting and feeling, and everyone is eager to hear it. Taking a personal risk to share knowledge with everyone. Violet is Prometheus: fact. So Augustus contaminates the chocolate river. Charlie sneaks around and contaminates the vent walls. Veruca destroys and disrupts the workspace. Mike knows exactly what will happen to him and transports/shrinks himself deliberately. Violet had no idea what the gum could potentially do to her, and caused no harm to anyone or anything but herself Lastly: Can you imagine Charlie filling Wonka's shoes? That passive, naive boy? Violet is already basically Wonka. She's passionate sarcastic, candy-obsessed, free thinking, and a total firecracker. She's even better than Wonka, because she doesn't endanger others. Violet should've been picked to inherit the chocolate factory. Source: evayna #charlie and the chocolate factory 123,693 notes Blueberry Boss
Save