Archive for the 'Tech' Category

OpenBayes Fork

Last semester I did a project for one of my classes using the OpenBayes library in Python. It hadn’t been updated in a very long time and was using an antiquated version of numarray. I found a patch that made it possible to use the library with NumPy, but it was just a diff. I applied the diff and was able to complete my project. In order to do my due diligence, I have published the patched code to Github. If you are interested in that sort of thing, check it out. I’ve also posted my assignment as an example of the patched library.

OpenBayes Fork
https://github.com/abyssknight/OpenBayes-Fork

Black Hat USA, DEFCON 18 Pre-Event Briefing

On my way to Las Vegas, NV for Black Hat 2010 and DEFCON 18. I barely got on the flight, and that’s with a confirmed reservation. Apparently Delta does this new thing wherein anyone who books late or after 60-70% of the flight is booked doesn’t get a seat assignment. Instead you have to wait for your initials to show up on a TV screen at the gate. I guess it is a lot like the lottery. I was essentially the last person to board, and a nice couple gave me the window seat. I had a few minutes to start this post on my iPad, which was handy.

Thankfully, this year, I will be attending on behalf of my company and better yet, for real business. As an IS LDP, I’ve managed to land a great rotation within the information security department. I’m primarily working on educating developers on how to write secure code, tools they can use, and implementing new process milestones to ensure that everything is coded securely for that specific case.

Unfortunately, a lot of what we need to cover hasn’t been revealed yet: this year’s exploits. Being in attendance for Black Hat and DEFCON is the best way to get informed, meet people who know what we’re up against, and really understand what we’re doing. That said, I had planned on making the trip to Vegas already, as I did last year for DEFCON. Something about the community at the DC events is just amazing. Your concerns, thoughts, and ideas suddenly don’t fall on deaf ears. Why? Because every attendee knows how deep the rabbit hole goes.

I’m very excited about the talks this year. The residential router pwnage is going to be a popular talk I think, as well as the ATM jack potting. I’ve heard there will be a GSM interception demo at one of the talks, which will be hilarious if it works, so I’ll have to remember to stay off my phone during that one. For work, I’ll be attending the web application and coding talks; especially the Blitzableiter release, as we really need information on secure Flash and ActionScript coding.

What else is there? Oh right, the rest of DEFCON… I’m hoping to get into a few parties this year. I don’t drink, and try not to get into related predicaments, but the opportunity cost is far too great to pass up. The people you can meet just by hanging around the smoking area, even if like me, you don’t smoke, is awesome. Last year I met am ex-Air Force cyber warfare guy, a crazy German with a gambling problem, and a red team teacher and mentor. Okay, that last guy was drunk, but he turned out to be telling the truth and had some very good stories.

The plan for this year? Shed my newbie status and get out there.

The Mona Lisa in PHP

Recently on Hacker News it has become common place to bash PHP. There was an article posted to the site with a title of “At 14, is PHP Finally Growing Up?” which started a slew of flame bait. I took it upon myself to post this morsel of a comment:

I would like to argue the C language argument here. If I want to shoot myself in the foot, the language should let me. If I want to paint the Mona Lisa, the language should let me. PHP does that.

That prompted a few snarky remarks about which resolutions and to what extent PHP could paint the Mona Lisa.

So I did it.

Full size: http://williamriggins.com/mona.php?x=400&y=571

Favicon Size: http://williamriggins.com/mona.php?x=10&y=10

Code (minus base64′d image constant): http://pastie.org/506643

New Headset, Space Cadets and More

Well, last night I did something rather crazy which involved jumping up from a game of Counter-Strike and running to the living room. Unfortunately, I took the headset cord with me. I literally ripped the cord in half at the Y connector. I attempted a really horrible splicing job, but couldn’t get it to work. So, off I went to purchase a new headset. There were 3 models on the Best Buy website that seemed like they’d work: GameCom 377, GameCom 777 and the Logitech ClearChat Pro USB. Needless to say, I cheaped out and got the 377.

GameCom 377 Headset

GameCom 377 Headset

Initial impressions were definitely mixed. The sound was good, the cord was reinforced, and the controls were huge. Of course, everything about this thing was huge. For $40, you really got your money’s worth in plastic. The mic tucks away very nicely, but in comparison to the ear cans you’d probably miss it entirely. I honestly looked like a space cadet with those things on. They were pretty heavy, and they made a clear statement: “I have no idea why I’m wearing these, but aren’t they wicked cool? No? Aww, seriously?”

So, my wife came home and I displayed my inner uber nerd and then realized just how crazy these things were. So, a quick check on the return policy, and back to the big blue and yellow box they went. Shay, a good friend of mine and one heck of a shot in Counter-Strike, recommended the ClearChat Pro USB from the start. I gawked at using USB for audio, but this time around I decided I better heed someone’s advice since I apparently have horrible judgment.

Logitech ClearChat Pro USB

Logitech ClearChat Pro USB

Snapped up a pair for $10 more than the 377s and headed home. Opened the horribly designed blister pack and threw them on my head. These things are light. To be honest, it hardly feels like you’re wearing anything at all. The cable is just long enough to comfortably reach my tower, and the thing was plug and play. Vista 64bit just installed them and set my defaults for me. One game of Command & Conquer 3 later and I’m happy with them. Logged into Ventrilo and someone even commented that I sounded much better, easier to hear. Weird. It’s just a headset, right? The build quality is just okay, but if you’re relatively careful (unlike me) they should last awhile. The on ear controls aren’t as strange as they sound. You get used to it.

Anyways, I hope that helps a few people make some decisions on headsets. Just remember that return policy.

i7 Build is Done

I finally got around to building a new desktop PC. I’ve been working from my MacBook Pro for the last year or two, and its perfect for getting things done and its very speedy. Unfortunately, it simply cannot handle any of my hard-core games. So, in a fit of insanity, I built a new rig.

Components I had to buy to bring the old box up to speed:

  • i7 920 2.66ghz Quad Core
  • GTX 260 896mb Video Card
  • 6gb DDR3 1600
  • X58 Motherboard
  • 550w PSU
  • Vista x64 Home Premium

So far, everything is working without a hitch. I am noticing some interesting things though. For one, I now understand the frustration that everyone has with Windows Vista. UAC is beyond annoying, and sometimes things are a pain to find due to the new start menu. However, the machine is incredibly snappy. Everything runs incredibly fast, and crash recovery is much better. I can alt+tab from a game to desktop and back without a complete reboot, and games run like melted butter. That said, getting my older games to run under 64bit Vista was… fun. Battlefield 2142 apparently requires the patches to be installed in a certain order, and Punkbuster (the anti-cheat scanner) has to be manually updated. All of my Steam games run perfectly though, and the recommended settings are right on par with what I expected. Overall, I was really impressed with how they handled that. The game knew I had a decent machine, and automatically ramped up the settings. I love it.

I’m still running on some old 17″ LCDs, but a friend of mine has volunteered to swap me his dual 19″ for them. I’ll definitely owe him, but it’ll be nice to have matching monitors again. I should be all set, except for my chair, which is the next upgrade on my plate.

Now, the i7 definitely gets my seal of approval for hardware as does the GTX 260, but if you are trying to build a machine on the cheap go for the raw clock speed. The i7 does a lot of things (at the same time) well, but Battlefield is still not as buttery as it should be. I got the EVGA brand motherboard and graphics, which at the time was due to reviews and cost but in the aftermath I think it was a great choice. Why? Because it came with free stuff. Not only did I get the Newegg bonus Call of Duty: World at War, but I also got 3d Mark Advantage, the ELEET overclocking tool and a bunch of discounts. EVGA also offered to let me return my new graphics card and upgrade it to a higher end model within 90 days. That is just amazing, to me. Also, the extra year warranty I get from registering my motherboard is a wonderful bonus.

One day I’ll get around to installing Visual Studio, for now, Counter-Strike and BF2142 will do nicely for burn-in testing.

Mike Potter, Adobe – Thanks Guys!

So, I was checking my mail today and a mysterious package arrived from Amazon. Now, it could have been anything but to my complete shock and awe, it was from Mike Potter at Adobe. Here are some blurry photos from my phone:

WrappedCardBook

I had added the cookbook to my Amazon wish list shortly after Flex 3 was released, as I wanted to dive in and learn everything I could about the newest version of Flex. I really appreciate the gift, and to all of the Adobe team, thank you. You guys have delivered a great product, and you really know how to reach out and touch the community.

Flex Web Cam Effects Demo

Just updated the blog to WordPress 2.3.3 and figured it was time for another post. Today on InsideRIA.com they posted a rather interesting post about Flex graphical filters. Now, I’ve wanted to do this sort of thing for a very long time, but only today had the down time to give it a try. Basically, the application I’ve attached shows your regular web cam feed on the left, as well as a filtered feed on the right. I’ve only scratched the surface with what you can do with filters, combining filters, and the like but the demo serves a very useful purpose.

When my boss saw my little demo running his first comment was, “Wow, that’s fast.” and he was right. Flash was rendering the filtered stream in real-time; side-by-side with the regular output. Granted, blurring and practically inverting the colors isn’t rocket science, but the applications are limitless. Personally, I’d love to see a background subtraction library for Flex with other real-time video processing effects. My guess is that someone over at Adobe already has something to this end for working with YouTube Remixer and similarly powered applications.

Code and source after the break…

Continue reading ‘Flex Web Cam Effects Demo’

Updated: MyBlogLog Plugin v0.5.1

The MyBlogLog WordPress plugin is receiving a very belated face lift and a few bug fixes (thanks to those who reported them). Now, as a disclaimer, this code is relatively untested and was dug out of a very old archive from my days at cloudspace (the company who initially partnered to create MyBlogLog), so use it at your own risk. If you find any bugs, just drop me an email using the contact form and I will try to help in any way I can. This release has been activated on at least 2 WordPress 2.3.3 installs, so yes, it works with 2.3.3!

Check the project page to download the latest plugin file.

Oh, and still no readme.txt. ;)

OnAir Bus Tour – Atlanta

This post is kind of a stub, I’m sitting in the Fox Theatre ready to live-blog. ;)

The event started awhile ago, and I’ve been blogging it as it happens. As always, you can always hit the live video feed instead of reading my transcripts & witty commentary as well.

A special thanks to WeatherFlow Inc. for flying me out to the tour.

Information: http://onair.adobe.com/schedule/cities/atlanta.php

Live Feed: http://onair.adobe.com/live/

Live blogging after the jump…

Continue reading ‘OnAir Bus Tour – Atlanta’

Chumby – First 50

The chumby is a compact device that displays useful and entertaining information from the web: news, photos, music, celebrity gossip, weather, box scores, blogs — using your wireless internet connection. Always on, it shows — nonstop — what’s online that matters to you.

I just got an email from the guys over at Chumby.com and they’re about to run a 50 person beta run of sorts. I’ve applied to get on the team, and I’m looking forward to it. The work I’ve been doing recently really would look amazing on one of these, as I’ve been working on a flash version of our companies’ wind graph. Basically, it’s a real-time, on site wind graph of our weather stations. So, the Chumby is really the perfect vessel for this thing, albeit a strange one.

Chumby