Tag: python

  1. Exocortex: Halo

    29 March 2016

    In my last post on the topic of exocortices I discussed the Huginn project, how it works, what the code for the agents actually look like, and some of the stuff I use Huginn's agent networks for for in my everyday life. In short, I call it my exocortex - an extension of the information processing capabilities of my brain running in silico instead of in vivo. Now I'm going to talk about Halo, a separate suite of bots which augment Huginn to carry out tasks that Huginn by itself isn't designed to carry out very easily, and thus extend my …

    Read more...

  2. HTTP Log Messenger v1.0

    23 July 2011

    One of the problems hacktivists ran into when trying to disseminate useful information to people in Syria and Egypt was how to get through to people when DNS and web access are being filtered or outright blocked. Putting up web pages containing phone numbers of ISPs volunteering dialup access was something of a crapshoot because there was no guarantee that people would be able to view them. Someone (I don't remember whom) hit on the idea of contacting sysadmins in the Middle East by leaving messages in the access and error logs of their web servers. This works but pumping …

    Read more...

  3. nia_eeg_chart.py - Convert data captured from the NIA into an EEG chart.

    07 June 2009

    Well, I finally got it working. After a lot of trial and error I was able to figure out how to set up a panel of six strip charts, one per channel of electrical activity in the brain that the OCZ NIA picks up. The application I wrote takes output captured from nia_number_dumper.py and displays it as one would expect an EEG to look. Python is required to run this software.

    Next up: turning it into a realtime display from the NIA.

    of the app in action.

    Download nia_eeg_chart.zip here

    Test data set for nia_eeg_chart …

    Read more...

  4. Python: as simple as possible but no simpler.

    06 June 2009

    When coding something in Python, it's said that your logic should be as simple as possible because the language does the heavy lifting for you. The nice thing about Python is that it makes it very easy to implement complex functionality because all the fiddly stuff that you normally spend ages coding and debugging (like linked lists and sorting algorithms) is already done for you. Also, the basic data types/objects that Python gives you are as orthogonal as you can get without throwing your hands up and using sticky notes instead.

    In short, I spent two weeks debugging a …

    Read more...

  5. Pirates, pants, pets, Python, and Push.

    01 June 2009

    After many months of near misses and scheduling conflicts, Kyrin finally got Lyssa and I to join him for a Friday evening at Piratz Tavern (8402 Georgia Avenue; Silver Spring, MD; 20910; phone 301-588-9001 to cap off a long work week. Hasufin, Lyssa, and I piled into the TARDIS and set course for Silver Spring around 1900 EST5EDT, which we figured would be late enough to dodge weekend traffic on the Beltway.

    It wasn't, actually, but we still made decent time without actually being fashionably late.

    Piratz Tavern is a very small, unassuming place on a corner across the street …

    Read more...

  6. OCZ NIA hacking, now with Python!

    25 May 2009

    Disclaimer the first: I don't know a whole lot about USB or device drivers. Those of you who do will no doubt point and laugh.

    Disclaimer the second: Where applicable, I've given credit for and linked to the work of others. I've independently discovered a few things that others have already figured out, so one or two things may not be attributed. In that case, please let me know and I'll put a reference where applicable.

    Over the past few weeks I've been playing with my OCZ NIA on and off. My first attempt at getting anything out of it …

    Read more...

  7. That coughing you hear isn't from consumption.

    25 February 2009

    At first scratch, it would appear that respiratory troubles are fast becoming part and parcel of my winters in the DC metroplex. Two weeks ago I was fighting off a cold, and rather successfully, or so I thought. Last week I developed a persistant dry cough that now has has my cow-orkers wondering if I have tuberculosis, keeps Lyssa awake at night (even if I sleep on the couch), and busily ties knots in the muscles of my neck and stomach. It isn't one of those coughs that clear your lungs and sound disgusting, but at least mean that you …

    Read more...

  8. Engineering and re-engineering over the long weekend.

    31 August 2008

    If you normally browse my website directly (i.e., not using an RSS feed aggregator of some kind) you'll see that I made some major changes to the front page late last night. For the past couple of days I've been profiling load times and such like, and discovered that I could improve the code and structure markedly with some changes. I've been using the Firebug and YSlow plugins to see where the bottlenecks were, and as a result I removed a half-dozen or so badges from weblog directories that did little else but add to the page loading time …

    Read more...

3 / 3