🔥 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
Africa, Books, and Fucking: بوكسيلوس SPLUS Ma A 83INT 14th century Chinese explorer Zheng He's ship compared to Columbus's. deducecanoe: ourobousfamilia: deducecanoe: chickwithmonkey: potootagath: wingleader: wakeupslaves: the-goddamazon: LOL man. never forget white people did nothing first neither the best, they sleep and eat false propaganda, Ugh, why the shit does that have to turn into a race thing? Why does EVERYTHING have to turn into a race thing? because white people have made sure that everything is about race as proved by the fact that when you say explorer, you think of a bunch of white guys walking the world and discovering it ~exotic wonders~ even though Zheng He travelled through Asia, to the Middle East, and even East Africa. But you’d likely never heard of him before. Same reason you never heard of Ahmad Ibn Fadlan, an Arab traveller who, as early as the 10th century, went to the Volga area for diplomatic reasons. He wrote about it, much as Marco Polo would do later for his own travels, and is one of our sources on what viking were like (and by all accounts, he wrote about them more accurately than western scholars of the same period did) Oh, or Ibn Battuta who travelled throughout Africa long before europeans did, and even went to Europe himself. And that’s just some example of Muslim medieval travel writers Everything is about race because white people keep telling everyone that their race is the only one who every got anything done. i have heard of precisely zero non-european explorers ever in my life, and that fucking sucks. this exhibit is amazing and i need to learn more. That boat is a frickin aircraft carrier comparatively. Holy crap. And no. Never heard a peep. Zhenghe went to over 40 countries in Asia and Africa and probably went even further, but I didn’t encounter that in history books before. He brought gifts from China to every country he went to and everyone loved him. It was just like “Hey, I’m here with a water-helicarrier and a gift,” and the kings of every country were lilke “holy shit son well here have a giraffe.” There are paintings depicting him leading a giraffe as well. Check him out guys, he’s really cool That is so awesome. Fuck western history. This is the real shit.
Save
Children, Life, and Shopping: Jonnie Hallman Gestern @destroytoday Still have no idea how people can... work a full-time job cook dinner often exercise regularly enjoy weekends keep the apartment clean Seems basic, but I can't consistently do it. shine a light Vor 14 Stunden @rknLA Current full-time (40hr/wk) jobs aren't designed for single people to do this; they're post-war relics & depend on the unpaid labor of a spouse for cooking, cleaning, shopping, etc. You're not deficient for not being able to do it yourself roach-works: i went into my 40-50 hr/week manual labor job with the explicit agreement with my spouse that i would do the paid labor and they’d be my pit crew. i get home too tired to cook by the end of the week, almost too tired to eat. all my younger coworkers are destroying their kidneys with caffeinated sports drinks, and the men who participate in the care of their children come to work looking like miserable zombies. my friend russel loves his kids and spends all weekend with them and comes into work on monday looking like he’s one sneeze away from the grave because he couldn’t get enough sleep.  you can’t have a good life when 40 hours a week are spent laboring. there’s no room for cooking or cleaning or children, you HAVE to trade necessary rest for those things. it’s a huge sexist problem that we don’t expect men to cook, clean, or care for children, because it’s also a huge sexist problem that traditional work/life ‘balance’ of a 40-hour work week completely prohibits people from fully engaging in life outside of labor.  letting women into the workforce was a great first step. redefining how much work anyone should be working is the necessary next one. 

roach-works: i went into my 40-50 hr/week manual labor job with the explicit agreement with my spouse that i would do the paid labor and the...

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
Abc, Be Like, and Come Over: abc honeydrippingbeehives: ohhellorula: Bill Hader’s knife story is the funniest thing ever TRANSCRIPTIONBill Hader: This funny thing… As PAs we would all hang out. And there was this guy named Big–I was Little Bill on that show because there was a guy named Big Bill, he was like 6′7″–and this other guy named Jason Altieri. And one time Jason, he had this giant bowie knife, like a Rambo knife, and he was hitting a tree with it. [audience laughter] This is what we would do. [Bill laughs] This is Hollywood, guys!Jimmy Kimmel: You’re practicing editing!Bill: Yeah, he was editing! [unintelligible + laughter]Jimmy: The old-fashioned way.Bill: The old-fashioned way. This is the way they did it on Gone With The Wind, I tell ya! [audience laughter] You gotta get your editing thing together, your editing arm down. So he was cutting this thing and we were laughing, and then Bill comes over and he’s like “Hey, J, you should really stop messing with”–this is a cigarette–”you really should stop messing with the knife.” And J went [grunting noises] and he went “Hey, come on! Don’t do that.” And he walked away. Then Bucky, our prop guy, came over and he goes “Hey, I got that exact same knife but it’s retractable. It’s fake.” [inaudible + laughter] So he gets the fake one. He’s doing this…[Bill laughs] And it’s one of those things where we waited, like, an hour. [audience laughter] Like, you couldn’t go, “Hey, Bill! Come over here!” You had to be like…He has to just walk over. So we’re waiting for an hour and J is like “Guys, is he over? Ah, come on, man!” So finally, Bill comes over and goes, “Hey, are you still messing with that knife? You should stop messing with the knife, man.” And he went [grunting noise], and he went “I told you, don’t do that!” And then he just went [clunking sound effect] and stuck him right in the chest [Bill laughs] and Bill went “WHY?!” [laughter] He thought he was murdered! He legit thought he just got murdered! [Bill laughs] And we were…Oh, we were laughing so hard! [laughter] He just went “WHY?!” like that’s the thing you would say.[Bill laughs]Jimmy: Call his parents to tell his final words [Jimmy laughs]Bill: “What did Bill say?” Wait, wait til you hear what he said when he… [inaudible + laughter] He yelled “Why?” [Bill laughs]Jimmy: Oh, that’s good. Oh, boy.
Save