Wezzul.com RSShttp://www.wezzul.com/Wezzul.com blog postsFri, 03 Jul 2009 18:24:20 -0500en-usDigger Phelps is a Jackasshttp://www.wezzul.com/post/826/Digger+Phelps+is+a+Jackasshttp://www.wezzul.com/post/826/Digger+Phelps+is+a+JackassSat, 04 Apr 2009 20:04:44 -0500How many times can you pick wrong in a tournament and still keep your job? Shit man, dude should let his 30yr old grudge go and admit MSU is a lot better team than he thought they were. He's yet to give them or Tom Izzo any credit.Shit I Hatehttp://www.wezzul.com/post/825/Shit+I+Hatehttp://www.wezzul.com/post/825/Shit+I+HateTue, 24 Mar 2009 22:56:33 -0500Yeap, I'm pretty eloquent. It seems that I hate a lot of things. I'd like to tell you about a small fraction of them now:<br /> <br /> - Yellow Candy / Fruit Snacks: Why in the fuck do they still make yellow? It's always either banana or lemon, and it <i>always</i> tastes like shit. People generally leave them till the end, then throw them away. How about some more red or purple or orange, for fuck's sake? From the beginning of time, people have hated these, and yet they still end up in the bag.<br /> <br /> - <i>The Office</i>: This show isn't funny. It's stupid. I get that it's supposed to be clever and all that, but seriously, get off the air. People that like this show have downs.<br /> <br /> - Religion: Give me a break. Get off your high horse, stop contradicting yourself, and get real. Not even just a particular religion, all of them. Hey, I believe in God as much as the next guy, but I don't need some HUMAN BEING who thinks he's better than you and I telling me what's right and wrong, or interpreting some ancient book for me. I'll make up my own damn mind about what's good. And don't even get me started on the people that can't seperate church and state. <br /> <br /> - HTML Frames: If you're still using frames on a web page, you're about ten years behind. If you can't adapt, get off the internet, we don't want you here anymore. I'm talking to you <a href='http://www.monitor247.com' target='_blank'>Monitor247</a><br /> <br /> - Bluetooth headsets: Hey, guess what? You're a douchebag! You look like a psychopath wandering around Meijer talking to yourself. Just shut your word hole, get your economy sized bag of Cheerios and beat it. You're annoying 99% of the population with the glowing growth in your ear. <br /> <br /> Featureshttp://www.wezzul.com/post/824/Featureshttp://www.wezzul.com/post/824/FeaturesWed, 18 Mar 2009 23:29:51 -0500So I have a few things I want to add to the site before it's complete. They are as follows, in order of importance:<br /> <br /> - Editing of posts. This is easy as shit. Not sure why I don't knock it out in 10 minutes<br /> - Comments. Shelby, stop asking for it. In due time.<br /> - Better post interface. Probably steal a rich text editor for this as I have some experience with stealing them.<br /> - Some better view of old mobile images. Easily my favorite part of the site<br /> - Editing of twitter right from the page. <br /> - Tag cloud (why tag posts if there is no cloud)<br /> <br /> That's it. Trying to keep updating this, but fuck do I hate blogging.Plugshttp://www.wezzul.com/post/822/Plugshttp://www.wezzul.com/post/822/PlugsFri, 13 Mar 2009 23:15:39 -0500I'm gonna plug some good sites here, stuff I like to read on a fairly regular basis. Only gonna mention the lesser known shit here, no sense in plugging Slashdot, Fark, Ars, etc.<br /> <br /> <a href='http://kotaku.com' target='_blank'>Kotaku</a>:<br /> Kotaku is a fantastic blog (part of the whole Gawker Media deal) that talks and reports about video games. I'm a huge gaming nut, love me some video games, and this site has the best news and gaming commentaries I've ever read. I could visit this site anywhere between 1 and 1 billion times a day if it's slow.<br /> <br /> <a href='http://mlbrumors.com' target='_blank'>MLB Rumors</a>:<br /> Since the baseball season is coming up, I figure mentioning this one is pretty timely. Great amount of baseball transaction news here. They have done a great job with the hot stove coverage, both aggregating other sites' postings, but giving thoughts on the items as well. In addition, they have a pretty savvy base of commenters over.<br /> <br /> <a href='http://consumerist.com' target='_blank'>Consumerist</a>:<br /> Another Gawker Media one here. This site is an absolute necessity for anyone that considers themselves an informed consumer. Recall information, companies wronging customers, the "Worst Company in America" tournament. So much great shit here. Another site with great commenters.<br /> <br /> <a href='http://torrentfreak.com' target='_blank'>Torrent Freak</a>:<br /> Not a bit torrent site exactly, they are more a site reporting on P2P news. I have always liked the site, but they really started to shine with their daily coverage of the Pirate Bay trial. I would advise going back and reading the synopses of these in order. Really interesting shit<br /> <br /> <a href='http://highlyessential.com' target='_blank'>Highly Essential</a>:<br /> This is a fairly new site run by a friend, but so far, I'm digging the posts. I generally hate blogs unless they are strictly constrained to a topic, but I like this one. Ignore the Mac news (that shit is played out) and read the rest of it. I got the link to http://laserportraits.com from them, so I'm happy as a clam for that.<br /> <br /> Others:<br /> <a href='http://microgorillagrams.com' target='_blank'>Gorilla Grams</a><br /> <a href='http://thesuperficial.com' target='_blank'>The Superficial</a><br /> <a href='http://mlive.com/sports' target='_blank'>MLive Sports</a><br /> <a href='http://punknews.org' target='_blank'>Punknews</a><br /> <a href='http://uncrate.com' target='_blank'>Uncrate</a>Green Ballshttp://www.wezzul.com/post/821/Green+Ballshttp://www.wezzul.com/post/821/Green+BallsThu, 12 Mar 2009 20:27:27 -0500So Oklahoma lost tonight. Pittsburgh lost tonight. Both of those teams were projected to get #1 seeds in the NCAA tournament over MSU. Now that they both lost, MSU controls their own destiny to a 1 seed They get to the finals of the Big Ten Tournament, or win the Tournament, and I'd have to think, based on all factors involved (RPI, strength of schedule), it is theirs to lose. <br /> <br /> Exciting time to be an MSU fan.Additionshttp://www.wezzul.com/post/820/Additionshttp://www.wezzul.com/post/820/AdditionsThu, 12 Mar 2009 08:25:37 -0500So I added a roll of five mobile images from my phone up there. I can not send in the images whenever I want and they automatically appear there. Only the last 5 added appear there, but if you click, it opens a lightbox2 enabled slide show where you can view all mobile images ever uploaded.<br /> <br /> It seemed to feel to fit along with the idea of the new site. Twitter and mobile images and shit, that has always fascinated me anyways.In the Great Morasshttp://www.wezzul.com/post/819/In+the+Great+Morasshttp://www.wezzul.com/post/819/In+the+Great+MorassWed, 11 Mar 2009 18:08:23 -0500I could use a nap. Not gonna get better I guess./home/o/sexhttp://www.wezzul.com/post/818/%2Fhome%2Fo%2Fsexhttp://www.wezzul.com/post/818/%2Fhome%2Fo%2FsexWed, 11 Mar 2009 01:53:59 -0500This whole blogging thing really isn't that interesting to me. Strangely, I appreciate the one liners of twitter and facebook more than I do any full set of thoughts. However, for some reason, I got the hour worth of ambition to do something with this nonsense enough to get it working again. I actually scrapped everything I had before and rewrote it all in an hour. And it's better than it was before too. I suck less now.<br /> <br /> Also got the twitter status displaying on the header. I'm just going to continue to steal ideas until I am bored with this again. Wait, bored already!It\'s 2009http://www.wezzul.com/post/817/It%5C%27s+2009http://www.wezzul.com/post/817/It%5C%27s+2009Wed, 11 Mar 2009 01:34:42 -0500And domains are good:<br /> <br /> <a href='http://www.microgorillagrams.com'>Micro Gorilla Grams</a><br /> <a href='http://www.ihatellamas.com'>I Hate Llamas</a><br /> <a href='http://www.alanclock.com'>Alan Clock</a><br /> <a href='http://www.llednhoj.com'>LLEDNHOJ</a><br /> <a href='http://www.askilbay.com'>Ask Ilbay</a>The Rock and Roll Hall of Fame is Bullshithttp://www.wezzul.com/post/815/The+Rock+and+Roll+Hall+of+Fame+is+Bullshithttp://www.wezzul.com/post/815/The+Rock+and+Roll+Hall+of+Fame+is+BullshitTue, 11 Mar 2008 09:27:56 -0500No Iggy and the Stooges, but Madonna? Rock and Roll? Come again? What a load of horse shit. Until The Stooges (and the MC5, for that matter) are inducted into this, it's not even real. <i>The Stooges</i> and <i>Fun House</i> are two of the greatest records of all time. And I mean, come on, they put the fucking Sex Pistols in there, and the Stooges are at least as important as they are in the grand scheme of things...<br /> <br /> Meh. I don't get it.Awful Movie Formulahttp://www.wezzul.com/post/814/Awful+Movie+Formulahttp://www.wezzul.com/post/814/Awful+Movie+FormulaSun, 27 Jan 2008 22:11:35 -0600So I'm sitting here watching Snoop Dogg's Fatherhood (I don't know why I started watching it, and it's pretty apparently scripted, but Snoop is funny, so it's worthwhile), and every other commercial is for a movie called "How She Move", which I guess is a movie about "stepping". I've gotta wonder how stupid a person has to be to lap up this mindless drivel? This is the most formulaic of movies. Take an underprivileged lower class inner city youth that has aspirations of dancing/cheerleading/drumming/singing, and tell their story about their rise from the streets of Los Angeles/New York to gain acceptance through doing their activity at a high level. It is in this youth's struggle and success that the audience gains a warm feeling inside, no matter how cheap, and cliched it is. <br /> <br /> Chance are, the people that are going to see this movie have also seen all the other movies that follow this exact same story arc. They are the stupidest sons of bitches on the planet. They are the same ones that buy "album by cute boys in a band" and "album by pretty young girl". There is a reason that the record companies and movie companies put out the same shit over and over again. It's because there are so many goddamn idiots that will buy the shit with their parents expendable income. This movie is going to be all the rage on Michigan State's campus in the very near future. <br /> <br /> This would not be "grinding my gears" if it wasn't for the fact that the commercial is on so goddamn much during one of the five shows I actually like. It is no wonder that this is an MTV film. They have been suckering stupid kids into watching awful rubbish for 20 years.<br /> <br /> On a more happy note, I have a laptop now. Thinkpad Z61t. It's great. I'm really digging it.<br /> <br /> <b>Edit:</b> Seems there is another movie called "Step Up 2" coming out soon also. I can't even begin to describe how stupid this up (start with the '2')PHP Full URL Includes with Sessionshttp://www.wezzul.com/post/813/PHP+Full+URL+Includes+with+Sessionshttp://www.wezzul.com/post/813/PHP+Full+URL+Includes+with+SessionsWed, 26 Dec 2007 15:15:19 -0600I figured I would post this since I only found one place that ever talked about it. I was doing includes in PHP with query string on them. This necessitates including the file with the full URL (http://domain.tld/script.php?foo=foo1&bar=bar1). However, when including something with the full URL, sessions in the included file do not work anymore. This gave me fits for about two days before I found this out. I got around it by passing the variables into the included file another way (due to the way I am doing my templating), but you could probably just include the file after setting the variables, as the included file will read those variables from the including file.Top Albums for 2007http://www.wezzul.com/post/812/Top+Albums+for+2007http://www.wezzul.com/post/812/Top+Albums+for+2007Mon, 17 Dec 2007 12:40:06 -0600Ok, I finally worked out my top ten for the year.<br /> <br /> 1 (tie). Streetlight Manifesto - Somewhere in the Between<br /> 1 (tie). Shellac - Excellent Italian Greyhound<br /> 3. The Snake the Cross the Crown - Cotton Teeth<br /> 4. Guilty Simpson - Stray Bullets (mixed by DJ Rhettmatic)<br /> 5. Blue Scholars - Bayani<br /> 6. Ghostface Killah - Hidden Darts Special Edition<br /> 7. Sundowner - Four One Five Two<br /> 8. Dinosaur Jr. - Beyond<br /> 9. Various Artists - Chrome Children v.2<br /> 10. The Good Life - Help Wanted Nights<br /> <br /> Biggest disappointments:<br /> <br /> Bright Eyes - Casadaga<br /> The Stooges - The Weirdness<br /> Ghostface Killah - The Big Doe RehabDavid Letterman vs. Paris Hiltonhttp://www.wezzul.com/post/811/David+Letterman+vs.+Paris+Hiltonhttp://www.wezzul.com/post/811/David+Letterman+vs.+Paris+HiltonSat, 29 Sep 2007 23:53:27 -0500<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/ZKSxHYK_wfs"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/ZKSxHYK_wfs" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object><br /> <br /> One of the best things I've ever seen. Just fantastic. I'm not even really a Letterman fan, but fuck, is this good shit. The End of Thingshttp://www.wezzul.com/post/810/The+End+of+Thingshttp://www.wezzul.com/post/810/The+End+of+ThingsFri, 21 Sep 2007 14:51:02 -0500Today is my last day at my current job. On one hand, I'm excited to be leaving, and for my new job. It's going to be a good challenge, and it should be enjoyable. On the other hand, there are a lot of <a href=http://marklosey.com target=_blank>good</a> <a href=http://natebal.com target=_blank>people</a> here that I'm going to miss working with. My boss was easily the best boss I've ever had, and I've become friends with him. I will absolutely keep in touch with him and will still go to Camp Losey as often as I can. <br /> <br /> I wrote a letter to the staff today thanking them for the opportunity to work here, and got a lot of nice responses from them. I'm pretty happy that I am valued by this place, and hope that at my new job, I am equally as valued. Some lyrics:<br /> <br /> "So now I try to keep up, I've been exchanging my currency<br /> While a million objects pass through my periphery<br /> Now I'm rubbing my eyes, cause they're starting to bother me<br /> I've been staring too long at the screen<br /> But where was it when I first heard that sweet sound of humility?<br /> It came to my ears in the goddamn loveliest melody<br /> How grateful I was then to be part of the mystery<br /> To love and to be loved<br /> Let's just hope that is enough"Chainsaw Handshttp://www.wezzul.com/post/809/Chainsaw+Handshttp://www.wezzul.com/post/809/Chainsaw+HandsFri, 07 Sep 2007 13:28:01 -0500So I started posting some of my tech related crap over at <a href=http://chainsawhands.com target=_blank>Chainsaw Hands</a> . It's a site a couple of buddies of mine started and asked me to put some stuff on. Check it out, it should get a fair amount of diversified information.Mobile Imageshttp://www.wezzul.com/post/808/Mobile+Imageshttp://www.wezzul.com/post/808/Mobile+ImagesWed, 29 Aug 2007 16:05:25 -0500So I finally broke down and wrote something that will accept images sent from a phone, put them in the gallery, and display a random one on the sidebar. Cool I guess...Dell Suckshttp://www.wezzul.com/post/807/Dell+Suckshttp://www.wezzul.com/post/807/Dell+SucksFri, 10 Aug 2007 08:35:18 -0500Really Dell? No IDE controller? No PS/2 ports? Sheesh, really skimping these days. Top Ten of First Half of 2007http://www.wezzul.com/post/806/Top+Ten+of+First+Half+of+2007http://www.wezzul.com/post/806/Top+Ten+of+First+Half+of+2007Tue, 03 Jul 2007 08:03:22 -05001. Shellac - Excellent Italian Greyhound<br /> 2. The Snake, the Cross, the Crown - Cotton Teeth<br /> 3. Sundowner - Four One Five Two<br /> 4. Amy Winehouse - Back to Black<br /> 5. Blue Scholars - Bayani<br /> 6. Brother Ali - The Undisputed Truth<br /> 7. Feist - The Reminder<br /> 8. Various Artists - Chrome Children v2<br /> 9. Dinosaur Jr. - Beyond<br /> 10. Lifetime - Lifetime<br /> <br /> After the first two albums, it's a huge drop off to me. I've gotten 42 albums released this year, so I didn't have very many to pick from.Ads!http://www.wezzul.com/post/805/Ads%21http://www.wezzul.com/post/805/Ads%21Fri, 27 Apr 2007 12:44:58 -0500Ads on the right side, under the menu. If you find a solution to a problem here, please click!And I thought I hated Comcasthttp://www.wezzul.com/post/804/And+I+thought+I+hated+Comcasthttp://www.wezzul.com/post/804/And+I+thought+I+hated+ComcastWed, 07 Mar 2007 15:13:58 -0600Check this guys story out. What customer service!<br /> <br /> <a href=http://www.consumerist.com/consumer/comcast/comcast-tech-bullies-customer-for-cash-breaks-his-hard-drive-drills-huge-holes-in-walls-and-baseboards-242318.php target=_blank>Comcast Sucks</a> <br /> <br /> <a href=http://www.comcastfixmyproblem.com/solutions/trackback/ target=_blank>Really sucks</a>Boot Linux From Flash Drivehttp://www.wezzul.com/post/803/Boot+Linux+From+Flash+Drivehttp://www.wezzul.com/post/803/Boot+Linux+From+Flash+DriveThu, 22 Feb 2007 13:13:20 -0600Ok, so I'm only posting this because I had problems with booting Linux from a flash drive on some of the Dells around here (most notable a GX270 and a Precision 650). I could boot <a href=http://slax.org target=_blank>Slax</a> and <a href=http://damnsmalllinux.org target=_blank>DSL</a> just fine on most machines, but on the Dells, I got the error "Unable to load operating system". The fix for this was found on the <a href='http://damnsmalllinux.org/wiki/index.php'>DSL Wiki</a>, and it dictates that you have to overwrite the MBR of the flash drive with something called <a href=http://ms-sys.sourceforge.net target=_blank>ms-sys</a> . I did this, and booting on those problem Dells became easy.Creating Transparent Images from Text in Pythonhttp://www.wezzul.com/post/802/Creating+Transparent+Images+from+Text+in+Pythonhttp://www.wezzul.com/post/802/Creating+Transparent+Images+from+Text+in+PythonThu, 01 Feb 2007 15:02:56 -0600In the project I am currently working on, I have to take data from a form field and generate images from it. These images need to have a transparent background. Here is the way I did that:<br /> <br /> <div class=quote><br /> # create the original canvas giving it width and height<br /> canvas = Image.new("RGBA", (W,H))<br /> <br /> # select a font (you need to have compiled PIL with freetype installed for the<br /> #_imagingft module to be on the server. This is necessary for this process.<br /> font = ImageFont.truetype("/path/to/ttf/font", size_int)<br /> <br /> # setup image to draw text on it<br /> draw = ImageDraw.Draw(canvas)<br /> black = "#000000"<br /> <br /> # draw text on canvas, using offsets from upper left corner<br /> draw.text((25,2),text,fill=black,font=font)<br /> <br /> newImg = someFileHandle<br /> canvas.save(newImg, "image_type")<br /> newImg.close()<br /> </div><br /> <br /> Done!Working with Skins in Plonehttp://www.wezzul.com/post/801/Working+with+Skins+in+Plonehttp://www.wezzul.com/post/801/Working+with+Skins+in+PloneThu, 01 Feb 2007 08:59:03 -0600This one took me a minute to figure out, but I'm happy I did. To create a new skin from the filesystem, and add your own layers to it (or in this case, add the layers from Plone Default), do the following:<br /> <br /> <div class=quote>#use this to get the skins directory<br /> ps = getToolByName(self,'portal_skins')<br /> <br /> # use this to add a new folder to that directory for your new skin<br /> ps.manage_addFolder(skin_id, skin_id)<br /> <br /> newSkinFolder = getattr(ps, skin_id)<br /> path = newSkinFolder.absolute_url()<br /> <br /> # get a set of tuples of all skins<br /> paths = ps.getSkinPaths()<br /> <br /> # these lines get the layers from Plone Default<br /> defPath = paths[0]<br /> defPath = defPath[1]<br /> <br /> # add your new folder to the top of the Plone Default layers<br /> defPath = skin_id "," defPath<br /> <br /> # add the skin to the properties of portal_skins<br /> ps.addSkinSelection(skin_id, defPath, 0, 0)<br /> </div><br /> <br /> Pretty straight forward, right? In any case, it is helping me immensely with the current project.Manage Permissions on Plone Formhttp://www.wezzul.com/post/800/Manage+Permissions+on+Plone+Formhttp://www.wezzul.com/post/800/Manage+Permissions+on+Plone+FormTue, 30 Jan 2007 16:15:12 -0600Over the past year and some months, I have learned more than I ever wanted to know about Zope and Plone. The problem with those pieces of software is the lack of really good information for filesystem development there is out there. Hence the reason I am posting this here, so I can remember it.<br /> <br /> To change the permissions on a filesystem file, in it's associated metadata file, add the following:<br /> <br /> <div class=quote>[security]<br /> View=0:Authenticated,Manager<br /> </div><br /> <br /> That will make it so that only Authenticated users and Managers can view the object. You can set this for any permissions that are available on the object. The 0 is the setting for acquisition. As expected, set this to 1 to turn acquisition on.