The Shortlist of Free-Speech Software For Our Newly Censored Ireland

Wednesday, February 29th, 2012 | Uncategorized | 1 Comment

So, our great and glorious Minister Sean Sherlock just signed SOPA into law in Ireland, despite a huge civil outcry. The poorly defined statutory instrument will allow anyone claiming “Copyright Infringement” to seek a court injunction against any website, without having to present evidence and without a consultation with the accused website. The form of the resulting censorship is unclear, but will probably require ISP-level DNS censorship of websites outside Ireland, or direct seizing of those within the Irish jurisdiction.

This is stupid, unfair and myopic (and it won’t work), but it’s not the end for freedom of expression in Ireland. However, the fact that IRMA and others can now arbitrarily demand removal of your blog, youtube video, tweets or server simply by claiming that they suspect copyright infringement (the easiest faked allegation ever devised) means that your freedom of expression will need to be more sophisticated than before.

Thankfully, there are systems enabling free, uncensored speech and content discovery already available at zero cost. While I’ve committed to providing workshops on censorship and surveillance circumvention very soon under the umbrella of Nexus Cork (our local Hackerspace), in the meantime, here’s my quick shortlist:

Web Browsing and Publishing

Tor. The ultimate in current anti-censorship technology, Tor uses an “Onion Routing” system (for which it is named) and layered encryption to route Internet traffic so that it is virtually impossible for even extremely well positioned censors (read: far more powerful than the Irish state or IRMA) to prevent the user from reaching his or her destination online, or to see what that destination is. It is *not* suitable for Bittorrent downloads, but for traversing the Internet freely without censorship or effective surveillance, the Tor Browser is the easiest and most effective tool available.

Tor Hidden Services. A continuation of the above; the Tor network can be used not only to find and view content without censorship or surveillance, but to host uncensorable websites that are all but impossible to locate, provided the sites use secure software in their construction. A server hosting a “Hidden Service” can be reached only through the Tor network (using the Tor Browser, for example), using a unique “.onion” web address that looks like random text. Hosting in this way is not only uncensorable and impossible to locate, it’s free; or as free as your ISP’s up/down bandwidth caps, anyway. Hosting your site somewhere in the cloud is advisable in any case, preferably somewhere where free speech is still considered important.

Communication Privacy

While SOPA Ireland only deals with censorship, it’s inevitable that if Sherlock wants to serve IRMA fully he’ll have to progress to surveillance of daily communications. After all, with the Internet under IRMA’s thumbs, those darned-tootin’ ubiquitous pirates will just resort to far-more-efficient and hard to detect “Hard-drive parties” instead, where friends gather and share gigabytes of data at a time in one another’s homes.

Recall that Email and SMS are both relayed between sender and recipient as plain text normally. People tend to regard email as being like a letter, enveloped and safe from casually prying eyes, but this is not so. Intermediate servers, bored or malicious employees, or overreaching corporations or law enforcement can easily read these communications, pilfering passwords, credit card details, or just private and personal information.

In order to prepare for surveillance either by the government for IRMA, or by IRMA directly (backed by another Sherlock*), encryption of personal communications is a good idea. Thankfully, it’s trivial for SMS messages on Android at least, and relatively easy for Email, provided you’re willing to accept using a client to manage your daily email (you don’t have to sacrifice webmail as a convenience, but you won’t be able to use it to handle encrypted email, because Gmail/Yahoo/MS et al don’t use encryption. How would they read your email if they did, silly?).

PGP (“Pretty Good Privacy”) is the world-class encryption method used to protect email and other critical data. It is a form of “Asymmetric Encryption”, meaning that data is encrypted using one key, and can only be decrypted with another key. Therefore, each user is expected to have a “Key Pair” consisting of a public key, which is shared as widely as possible, and a private key which is kept completely private. Friends/Family/CoWorkers/CoHackers can then email the user privately by using the public key to encrypt the email, so that only the user can decrypt it using the private key. PGP is installed by default on Linux as “GnuPG“, an open-source implementation of PGP from the GNU foundation.

Thunderbird is the premier open-source email client. On its own, it does not provide encryption, but a free plugin called “Enigmail” enables one to easily set up and use PGP encryption for any email account, whether webmail or personally hosted. Enigmail can be installed from within Thunderbird by searching for it in the addons section. Enigmail works by allowing Thunderbird to use GnuPG or PGP, which must be installed on the system already: if you aren’t using a breed of Linux, you’ll need to download and install GnuPG.

APG and K9 Mail – Both Open-Source apps downloadable from the Android Market, APG brings PGP encryption to Android, and K9 Mail natively supports APG encryption and decryption. K9 also happens to be a fantastic mail client, far more granular and customisable than the default mail client or the Gmail app. This can be a problem if you make settings changes you don’t fully understand though, so sticking with default settings might be an idea at first. APG must be installed first, K9 second. If you forget, you can always uninstall and reinstall K9 to get things working well.

Textsecure is an Android SMS application (available in the Android Market) that acts as a drop-in replacement for the default SMS app. In fact, you can even delete the native Android SMS client (mms.apk) using ADB if you’ve got the technical skill, and Textsecure will work fine without it. Textsecure enables local and end-to-end encryption. The former means your SMS history (which can be imported on installation from the old SMS app) is protected by a password and fully encrypted from snooping eyes. The latter means that two users with Textsecure can set up an encrypted session, such that all text sent between them are entirely concealed from the prying eyes of intermediaries, whether network employees, IRMA or the like. The disadvantage is that session setup can be bug-prone and may require several tries/aborts before it works (but it lasts once established), and that letters-per-SMS drops to 60 because of the formatting overheads of sending encrypted text. This is seldom a problem in this age of “Free SMS to all networks” offers, of course.

File and Disk Encryption

If and when Sean and IRMA come calling to peruse your private life in person, or Sean’s future “Stop and Frisk for Data” plans come to fruition, you may want your data to be indecipherable. For Linux breeds like Ubuntu, encryption of your home folder is an option on installation, and means that the parts of the system on which you keep most of your private information are all encrypted securely. It’s not perfect unless the whole disk is encrypted, but home-folder encryption is a great start.

For external drives, Linux supports encryption of disks as an option for ext2/3/4 file systems; when formatting a hard drive under (for example) gParted in Ubuntu Linux, you can choose for the disk to be encrypted and password protected, at the cost of it being incompatible with Windows and probably Mac, which can’t handle ext file systems (although you could put a little universally-recognised partition on the drive containing software that would allow you to use the main partition with the other systems should the need arise..).

More practical for cross-platform interaction between computer users is Truecrypt, the last software to get a mention here. Truecrypt allows you to create encrypted “containers”; essentially virtual drives in the form of a file, which appears to be completely random binary data unless opened correctly in Truecrypt with the correct passphrase. Once opened correctly, Truecrypt containers appear as virtual disks on the computer which can be written to or copied from. Truecrypt supports a dizzying depth of hard encryption and plausible deniability; is it any wonder that it was used by Julian Assange to protect Wikileaks’ data on the move?

So, for mobile drives, format your harddrive using a commonly accepted format like Fat32, and create a giant Truecrypt container on the drive. Remember to include installers for Truecrypt on every platform you’ll need on the drive, so you can open the container when needed.

In Summary

With Local encryption using Truecrypt, a trustworthy computer system such as Linux, a freshly installed, trustworthy custom Android ROM such as cyanogenmod and the software above, nobody will be able to stop you from browsing at will, hosting at will, and communicating at will. Freedom of speech, assembly, expression and belief, restored through open source software.

Share the software and the knowhow. I’ll be hosting workshops soon, when I can spare time to prepare. Share this document; consider it Creative Commons Attribution-only, giving you the right to copy, modify, excerpt or even sell it, provided you give me attribution for my role in writing the original document. Just link back here with my name if you do, thanks.

Go forth. Share!

* Sherlock, n: An act enabling massive disruption of civil rights to satisfy narrow commercial interests.

Bacteriophage T7 Model

Thursday, February 2nd, 2012 | Uncategorized | No Comments

As solicited over twitter by TheFrogBlog, I designed a T7 Bacteriophage model for 3D printing via Shapeways. And, here it is:

An SLS-printed model of Bacteriophage T7, the model "Temperate Phage" for E.coli. Shown next to a 10€c piece for scale.

Bacteriophage T7

It’s a little fragile at the tips of the legs, so I might increase the size a little to make it more robust. Also, the neck is a little weak where the head joins the body, so I may have to lower the head a little to strengthen that connection.

Still, turned out really nicely; I’m delighted to have another showy molecular biology toy for my desk!

Bacteriophages like T7 are the viruses of bacteria. They are made almost entirely of protein, and they infect bacteria by attaching to the outside membrane of the cell and injecting the DNA payload in their “head” into the cell. They were used for years to help understand how bacterial genomes worked, by “tricking” the virus into carrying other bits of DNA instead and injecting that DNA into different cells to see what happened. The process was/is called “transduction”, and is recognised as one of many ways that bacteria can collect DNA from unrelated species, perhaps assisting in the spread of antibiotic resistance, or adaptation to new habitats. These days, we have better tools for studying bacteria..but they don’t look as awesome.

Bacteriophages have also been used (and continue to attract attention and investigation) as antibiotic agents; because bacteriophages can undergo evolution to adapt to their hosts, they can in theory provide a resistance-free way of treating bacterial infections. However, they tend to have a really narrow host-range, which limits their usefulness. Still, with synthetic biology, we may be able to engineer more useful “smart viruses” that can infect and kill only the dangerous strains of otherwise harmless bugs, possibly offering us a new way to treat sick tummies that doesn’t wipe out all those important gut bacteria in the process.

You can get one here.

Kindle Touch Hax #1: Personalised USB-connect Screen

Monday, January 9th, 2012 | Uncategorized | 1 Comment

Behold, my new Kindle Touch, an extremely kind gift from my family to me:

A picture of a Kindle Touch showing a watermark under the usual "USB Drive Mode" display. The watermark warns that the device is the property of Cathal Garvey and was not sold or given, and asks the reader to return it via contact details given.

A watermark that the average thief probably won't know how to remove. I probably won't get my Kindle back if it's stolen, but at least I'll be inconveniencing the thief..

But what is this? At the bottom of the screen, there’s a message declaring my ownership! That’s not normal for Kindle Touches. It’s a little trick I’ve pulled off thanks to Yifan Lu’s awesome work towards Jailbreaking the Kindle Touch.

Essentially, Lu discovered that the Kindle executes native code embedded in the metadata of mp3 files, and used this fact to install a developer’s key and a basic SSH server on the Kindle Touch. His hack allows you to log into what is basically a small linux device and change the system at will.

If you want a jailbroken Kindle Touch, simply follow Lu’s instructions; download the mp3, and then play it using the mp3 player found under the “Experimental” section of the Kindle Touch menu. Playing the mp3 will install the jailbreak, SSH, and remove the mp3. From there, you have all the power in the world to improve, modify or ruin your Kindle using SSH to login as “root”, the super-user at the core of every Linux distribution.

To merely create an ownership notice of your own, follow the enumerated instructions below on a Jailbroken Kindle Touch. I could make these instructions far smaller by getting the relevant file for you, but then you wouldn’t be learning the how and why of SSH, would you? ;) Perhaps someday I’ll repackage this as a friendly mp3 file or shell script you can execute mindlessly, but for now I have more exploring/modding to do..

  1. Prepare a password for SSH by tapping the search bar on the main screen and typing (without quotes) “;un password PASSWORD“, where “PASSWORD” is the password you want. i.e. if you want your password to be “SunshineBananasWensleydale” then you should type “;un password SunshineBananasWensleydale
  2. Enable usbnetwork on your Kindle by tapping the search bar on the main screen and typing (without the quotes) “;un
  3. Using a linux computer (use an Ubuntu livecd if you use another system), plug the kindle into the USB drive. With usbnetwork enabled, the kindle should appear as an automatic network connection*.
  4. Open up terminal and type “ssh root@192.168.15.244” . When asked if you trust the server/device, type “yes” or whatever it suggests to accept. When prompted for a password, provide the password you set in step 1.
  5. You will be logged in as “root” in an empty folder. For rewrite access, you will need to type “mntroot rw“; do this now, and be careful what you type afterwards or you may brick your device (worst case scenario, but possible).
  6. The USB-connected image is located in /usr/share/blanket/usb/, and it is called “bg_xsmall_usbconnect.png“. The part of the kindle that you can access freely by USB (where you load books/music etc.) is at /mnt/base-us/. So, to get a copy of the file you can work with, type (without quotes): “cp /usr/share/blanket/usb/bg_xsmall_usbconnect.png /mnt/base-us/bg_xsmall_usbconnect.png
  7. This has copied the “USB connected” screen to the folder you see when you mount the kindle for document loading/removal. So, to access this with an image editor, type “exit” to close the SSH session, unplug the kindle, and in the search bar at the main screen type “;un” to disable usb networking.
  8. Now that usb networking is disabled, you can plug the Kindle back into the USB drive again and it should appear as a drive as it normally does. There in the root directory should be the “bg_xsmall_usbconnect.png” image.
  9. Edit this file using an image editor, but bear in mind the following:
    1. Do not change the resolution
    2. Only use black and white
    3. Some text and a battery icon is displayed by the kindle; keep your text at the bottom, and keep it small. You have about an eighth of the screen to work with.
  10. When the image is ready, save it under the same name, and dismount/safely remove and unplug the kindle.
  11. Re-enable usb networking by typing “;un” into the search bar in the main screen, then plug back into the linux PC.
  12. Re-connect via SSH as in step 4, and remount the file system as writable as in step 5.
  13. Back up the original file by typing “mv /usr/share/blanket/usb/bg_xsmall_usbconnect.png /usr/share/blanket/usb/backup_bg_xsmall_usbconnect.png”
  14. Copy over the new file by typing “cp /mnt/base-us/bg_xsmall_usbconnect.png /usr/share/blanket/usb/bg_xsmall_usbconnect.png”
  15. Type “exit” to close the SSH session, unplug, type “;un” in the search bar at the main screen to disable usb networking, and plug back in. When the screen for “USB Drive Mode” appears, your new image should appear!

*Alternative networking route: If you can’t get the USB connection to work, USBnetwork also enables WiFi login for SSH. However, to get the IP address for your Kindle, you’ll need to consult the client list on your home wifi router and compare the MAC addresses of the clients connected to the MAC address of your Kindle, accessible from Menu->Settings->Menu(Again)->Device Info. Then connect to “root@www.xxx.yyy.zzz”, substituting the IP address for wxyz.

Leaving Google Behind: Progress Report

Monday, October 3rd, 2011 | Uncategorized | No Comments

Google, I’m Leaving You.

Somewhere over five years ago, I gratefully accepted an invite to Gmail and rejoiced: it was a wonderful new paradigm in web-based email, and a huge improvement over Yahoo Mail. It’s still one of the best email services online, and still miles ahead of the nearest competition by number of users.

At the time, it was a straightforward social contract; Google would host and provide a great email service, and in exchange, non-human agents (robots!) would scan email in real-time for keywords, and provide ads in real time based on their inferences. This, I thought, and still feel, is pretty fair for such a great free service.

Somewhere along the line, the contract was compromised in innumerable ways. Firstly (but not by importance to me) it seems the “in real time” part is gone. That is, the comfort of knowing (or thinking) that results of algorithmic scanning were not stored or logged, is now gone. It’s generally accepted that Gmail is part of a greater profile-building apparatus built into the google account suite, and as such some content of my private life is entering the public sphere and being sold or revealed to people I don’t know or trust.

More importantly perhaps than Google’s slow abandonment of its “don’t be evil” mantra is the increasing invasiveness of the American Government’s “Be as Evil as Possible” policy. Google provides largely unfettered access to user data and accounts to the various gestapo agencies of the US intelligence and law enforcement apparatus, who form their own profiles on people. There is a mountain of evidence that due process is often ignored and there is more often than not no legally relevant reason behind invasions of this sort; anywhere from casual curiousity to “watch this dissident” reasonings can be applied under the PATRIOT act and its cousins, when the law is invoked at all. Worst of all, Google don’t notify account holders of these invasions even when they are legally capable of doing so.

I don’t know about you, but I am not too happy about having faceless agents from the world’s biggest kidnapping agency reading through my email. It’s not a matter of “I’ve got something to hide”, the most tired straw-man in the privacy-hostile person’s arsenal. If you ask someone whether they’d happily omit the envelope on their snail-mail, even if there’s nothing illegal inside, most people might balk; why let all the guys in between read my soppy I-love-you-mum letter? And yet that’s what we routinely do these days with email and social networks.

Count me out. There’s no reason why I can’t enjoy all the fruits of modern internetting without sacrificing a bit of myself to the police state.

So, I’m making a transition away from Google and toward personal email hosting. It’s going to be an interesting experiment, and I’m not going to dive into the deep end immediately with something so important. The first step is getting all my data from Google so I can safely archive it; that’s several gigabytes of email and attachments, so it’s taking a while. Here’s how it’s going so far.

Leaving Gmail with Archives Intact

So far, getting my email has been the hard part. After the continuation of the infamous “nymwars” debacle on Google+, I decided to ditch that service; at least with “Google Takeout” it was easy to back up all the content I’d put up on that service before hollowing out the profile.

However, it’s hard to be sure that suspending Google+ won’t cripple or ruin the rest of the account; after all, “name violations” on Google+ have lead to people losing access to their entire Gmail account, and the “Delete my profile” apparatus doesn’t make it clear or certain that my general account will be spared.

Unfortunately my Email is sort of a personal archive or cloud-storage thing for me, so backing it up is important but also awkward. I decided to go down a trustworthy hacker-friendly command-line route, because I’m a nerd like that, but I’m starting out with the easiest solution: Thunderbird. Using the Mozilla Foundation’s Open-Source email client, I’m downloading all of my email and using the filtering system in Thunderbird to apply yearly archiving tags to my email. Oddly enough, I’m doing this because the built-in search engine in Gmail seems to be broken (of all companies to botch a search feature..) and won’t let me search/label by date no matter which format I use.

Once I have all of my email reliably labelled by year, I’ll be using “Getmail” to download the email year-by-year. Getmail allows you to save email either as a “maildir” (a set of folders full of individual files for each email) or as a giant file containing everything. I’ll be going with the former. There’s a great writeup on how to use getmail: be sure to read the whole article and the comments if you’re patient enough, because there’s lots of pro-tips and debugging stuff there.

One odd pitfall I hit was in Contact Export/Import: Gmail can export all contacts as a “Comma Separated Values” file, which is great. However, three things happen when you try to import to Thunderbird:

  1. Not all of Thunderbird’s potential fields match the output (Thunderbird has no “Middle Name” field, for example, while Gmail uses it liberally), leaving you with a soup of potential assignments of key data, few of which are perfect.
  2. The inteface to actually match value-to-value is awful; one list can have items shuffled, but because items shove each other down the list as they are moved you can only reasonably do this from the top-down of the other column. As mentioned above, not all potential fields match, and there are oodles of redundant fields, forcing you to “plug” gaps (that is, stupid fields in between fields you actually want to import) with matching fields that you’re not going to use.
  3. When you actually import contacts, all name information is (if matched correctly) neatly stored in each contact, and then ignored when it comes to providing an actual name in the contacts list. Instead, the contacts window just axes off everything after the “@” symbol in the email provided, and uses that as a name. Mind-numbing stupidity.

To remedy this stupidity, I opened the .csv file in LibreOffice and moved around data that couldn’t import correctly (I merged “middle name” into either First or Last name as appropriate, which was labour intensive), deleted all empty columns, moved miscellaneous data into “notes” column, and finally I copied the “First Name” column twice; the two copies were named “Nickname” and “Display Name”, and were imported to Thunderbird as same. Since Thunderbird allows you to display “nickname” and sort by that, I was able to display at least the first names of everyone in the Contacts list. Victory! Remember to save that hacked .csv file so you can import it into other instances of Thunderbird or similar at a later date.

Once I’ve got all my email and all my attachments safely downloaded, I’ll be purging my entire account up until the last few months, and that’ll be “stage 1″ complete in my mind. I’m planning to archive all of the past email data in a Truecrypt file which I can keep safe by redundancy (i.e. copying to CDs etc) without worrying about it falling into snooping hands.

When I get my next Email set up and running, I’ll set up a Gmail redirect and autoreply to inform people of the switch, and begin the migration. People imagine email migration to be extremely difficult, but I’ve done it a few times; in reality, most of the people who actually matter will email you at least once a season, and they’ll quickly change the email they use when they get autoreply’d a few times.

What Then?

Leaving Google might seem a drastic move.. indeed, I’m not actually planning to delete the entire account. After all, the Android Marketplace regrettably requires a google account, and Google Wallet is pretty handy too. For viewing shared documents on Google Docs I’ll need an account too. However, Google will no longer be a central part of my internet experience.

Indeed, I’m generally going to be trying to keep my online behaviour for now on as close to the chest (i.e. Not In America) as I can without making compromises on my mobility and user power. With the amazing software that’s available in the Open Source sphere, I can start hosting a lot of the sort of services I used to rely on Google or similar for, using my own hardware.

Search: To avoid search bubbling and search tracking, I’ll be switching to the far richer and more user-friendly DuckDuckGo.com. More broadly, I’ve lately been thinking that the death of links-pages and webrings was a dangerous dependence-inducing mistake for online culture, but that discussion is for another blog post. There are hints of croudsourced-webcrawling search engines in the works here and there, which would be very interesting if true; yet another potentialy application of idle processor time for net users worldwide would be to help aggregate a map of the internet. More interesting still, perhaps, would be to crowdsource surfing data, anonymised and aggregated from thousands to millions of users, to form a map of the web with keywords and surfing associations intact for indexing. But, that’s not my job or immediate concern as long as I can find stuff with good accuracy, minimal algorithmic interference (“Hey, you’re from Cork and you like Open Source Stuff, why don’t I just omit key results to make you happier?”) and in good time.

Hosting: As much as I love my current web-host (ixwebhosting.com – you’ll like them if you’re in the market for a personal website, I promise!), I am soon going to investigate local alternatives for Domain Name hosting and online storage space for my sites. This isn’t simply because Ix are an American company (although that figures in), it’s also because I want to upgrade to a service that gives me command-line access to a virtual machine, to host services like OwnCloud or Diaspora that need more intensive attention on the setup side of things.

Storage/Documents: I’m planning to get OwnCloud running on my own personal server and host it online through a dedicated domain name or alias of cunningprojects. OwnCloud is slated to include a document editor which might nicely replace Google Docs, already has a built-in music player, and can be synchronised with folders on my computers or Android devices to perfectly mimic the functionality of Dropbox. It’s also got a really pretty web interface, and I’ll be able to give friends and family their own accounts if they want, too. If it’s not enough for Document management, I’ll be waiting eagerly for the

Social: I’ve already moved to Diaspora*, and I invite anyone who’d like to connect with me there to do so. I can’t guarantee a follow-back, but that doesn’t mean we’re not friends; just that we don’t necessarily share online interests! When Diaspora provide functionality for account-migration, I may decide to join a local pod, perhaps one hosted at the local Hackerspace in Cork. Also, I’m staying with Twitter for now. For one thing, their Corporate Culture hasn’t soured yet, and they seem to do the right thing generally; they alert users to government prying (or did once, at any rate), they tread carefully around marketing by labelling it opaquely, etc. Main reason I’m staying with Twitter for now is simply that Twitter is for things I don’t mind shouting aloud for all to hear, so USA prying into my account is unlikely to yield anything that would bother me if revealed. I will be recommending that friends/contacts stop PMing me, however, and use email instead.

Email: The main event, as it were, is Email. Initially I will probably not be switching entirely to local email hosting on my own computer; there’s a minefield that I must become acquainted with when it comes to single-user email hosting because of the complex web of anti-spam out there. Essentially, I’m concerned that without the vouchsafing of Google or a similarly huge organisation, my email may end up filtered by default by most recipients. However, if that could be easily avoided, then I’d love to try hosting my own email server and expanding it into a rich personal service using Open Source webware. With RoundCube, I could have a pretty and reliable webmail interface, and with IMAP support I can continue to use email on my phone with trivial ease. For built-in-chat functionality, you can actually continue to use Google Chat using any chat client, and I’m certain there’s a pretty Open Source webchat client I can use, too.

What #hackerspace dads do when they get home from hospital and should be sleeping

Monday, September 5th, 2011 | Uncategorized | No Comments

#!/usr/bin/python3
# This is how nerdy I'm feeling right now. Run this through the python 3.x interpreter if you're as nerdy as me.

Family = 2

class NewBaby:
    '''This class defines a newly minted baby with a full set of
    convincingly babylike functions.
    Requires the following arguments: Name, Weight, HairColour, EyeColour, Temperament.
    All are strings, Temperament is best declared as "Calm" or "Colicky" (case sensitive)'''
    def __init__(self,Name,Weight,HairColour,EyeColour,Temperament):
        global Family
        self.name = Name
        self.weight = Weight
        self.hairC = HairColour
        self.eyeC = EyeColour
        self.temperament = Temperament
        print("Waaaaa")
        Family += 1
    def feed(self):
        print("Nom nom nom")
        print("buurp")
        print("paaarp")
    def sleep(self):
        print("zzzzzzz")
        print("squeak")
    def bother(self):
        if self.temperament == "Calm":
            print("gurgle, squeak")
        elif self.temperament == "Colicky":
            print("waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
            print("aaaaaaaaaaaaaaa")
        else:
            print("hurr?")
        print("waaaaa")
    def cuddle(self):
        print("sqeak, gurgle")

Clara = NewBaby("Clara","4 kgs","black","dark blue","Calm")

#Clara.feed() #Call function every three hours.
#Clara.sleep() #Call function as often as possible.
#Clara.bother() #Call function when the grandparents visit
#Clara.cuddle() #Uncomment permanently

Posted via email from Cathal Garvey

“Nexus Presents: Happy World: Burma, The Dictatorship of the Absurd”, this Wednesday. Admission Free!

Monday, August 22nd, 2011 | Uncategorized | No Comments

Dear all,
This Wednesday, Nexus Cork (Cork's quite awesome local Makerspace) will be hosting a film screening in the Camden Palace Hotel on Camden Quay.

Entry is free, and you can avail of a copy of the film if you bring a USB-capable Android or Laptop. A lower resolution form of the film is also loaded on the Dead Drop just inside the door to the building.

"Happy World: Burma, the Dictatorship of the Absurd" is a highly acclaimed and engaging documentary of the state of Burma, known to some as Myanmar. A state that has suffered crippling and often bizarre proscriptions and revisions under the rule of a Military Junta, Burma shares the dubious distinction of being the only other holdout state to use the Imperial Measurement system in 2011 with the United States. That's probably not relevant to the film, but I thought I'd share a factoid while the opportunity arose. For more amusing or incensing factoids about Burma, join us this Wednesday, and bring your friends.

Did I mention admission is free, and you can get a copy of this excellent, Creative Commons-licensed film to enjoy forever?

Posted via email from Cathal Garvey

Namecrime Exodus: I Suggest Leaving G+ by September 10th if Namecrime Remains

Thursday, August 11th, 2011 | Uncategorized | No Comments

Dear all:
I'd like to start something called a "Namecrime Exodus"; if by September 10th Google are still forcing people to use real names, I'm leaving Google+ and deleting my account.

I strongly encourage you to post likewise and commit to leaving a defective service that doesn't understand or want to understand the freedoms and cultures of the internet. Google is a company born of and dependent upon the internet and the people who use it. In a dawning era of P2P culture and infrastructure, Google should know that they cannot afford to alienate their customers.

You can find me on Twitter @onetruecathal, so I don't see why I'd bother tolerating another social network if it means violating my principals.

Share the good news: I suggest #NameCrimeExodus as a hashtag. Poke this at people whose opinions count. I suggest +Sergey Brin and +Larry Page for starters.

Posted via email from Cathal Garvey

DNA Logic for Chronic HIV Infection

Thursday, July 21st, 2011 | Uncategorized | No Comments

I was just reading through this really encouraging sum-up of progress on preventing and treating HIV:
http://old.news.yahoo.com/s/afp/20110720/hl_afp/healthaids
On the whole, it's great news. I mean, as much as I dislike making circumcision mainstream, if it saves lives in a continent where AIDS is at full epidemic strength, it's a no-brainer. I just hope we can move past it with more advanced methods at some point in the future.

However, the bit that caught my attention was the ongoing (though low-level) debate as to whether a practical cure for HIV will ever be possible. That's because HIV, like many common viruses, integrates itself into the genome of the host cell when it infects, and often goes dormant for weeks, months or years in an individual cell. This means that, functionally speaking, there is no viral activity in the cell anymore. Only a string of DNA instructions that could, at some point, emerge as a virus. There's no currently available method of treating a string of unwanted DNA, and some people will argue that there never will be.

Not so! There is quite a great deal you can do about DNA, and hopefully we'll see progress on it soon. It falls under the heading of DNA logic; methods of reading and responding to DNA in an intelligent manner. This sort of technology isn't as well-developed as you might expect from the movies, but it's entering a phase of rapid advancement at the moment with falling prices in prototyping costs for DNA. When you can test your idea for only 200 euro, whereas before it would cost either a year of work or 2000 euro, you can make a lot more progress in less time.

What's DNA Logic?
DNA logic can either work by protein-mediated reading of DNA, or by RNA-mediated reading of the RNA copies of DNA that are used to make new viruses. The second one could be used to make treatments that prevent viruses from emerging, silencing the nascent virus before it can awaken. The first one, though, is more interesting; when a protein "reads" target DNA, it can be designed to do anything from activating it to cutting it out entirely. This is where the cures will be found.

Here's how it would work: A researcher uses web-tools such as those provided by the Zinc Finger Consortium (Open source biotech baby!) to design a pair of small proteins that each bind at either end of a crucial part of the HIV genome that doesn't change much. When used together, these proteins will naturally meet one another and interact only (statistically speaking) when they have bound to the DNA of a secret virus genome embedded within the genome of an infected cell. Great!

Payloads for DNA-targeting Proteins
Now, to do something with them. Traditionally, the researcher might add bits of other natural proteins called "nuclease domains" to the little DNA-binding proteins, which only work when they are brought close together by successful DNA binding. These domains cut DNA, creating a lethal break that will probably be repaired to the severe detriment of the virus. Creative selection of nuclease domains might even cut the virus out entirely, rather than just poking holes in its genome.

However, you can be more creative if the nucleases don't work well: you can activate the virus. Sounds bad, right? Not exactly. The problem with HIV is precisely that it doesn't activate! When you treat with antiretrovirals, you're preventing the virus from successfully producing baby viruses, while the immune system tracks down cells that are trying to produce new viruses and kills them. However, the immune system fails to find cells that carry the virus but aren't actively producing it. If you combine anti-retroviral drugs with a treatment that activates virus genomes fully, you can slash the number of cells carrying a dormant genome, and approach a cure.

Delivering the Treatment
How to get the proteins into the cells you need? That's actually more challenging than designing and testing the proteins, and poses more of an ethical problem. You might try to use a virus to carry them into the cells, but you'll have to fight the immune system to cure it. You could try using synthetic carriers that bring the DNA coding for the proteins, or the proteins themselves, into the cell..but sometimes they're toxic, and the efficiency is pretty low.

Probably the best method is to coat the proteins in something that'll hide them from the immune system but which will shed inside the cell, and to include what's called a "Nuclear Localisation Sequence" in the proteins so that the cell will carry them into the Genome immediately on entry. Then you blanket-bomb the body with them, particularly the lymph system, and cross your fingers.

Get Back To Work Cathal
For all my talk, you'd think I'd be doing this.. The take home message is that HIV will see a cure, and it'll be from Open-Source Biotech if we're lucky. My job at the moment is making OSB a reality, so perhaps stuff like the above can happen quickly rather than relying on companies that don't wantto cure a multi-billion-dollar-treatment pandemic. Hold that thought, I'm going back to work.

Posted via email from Cathal Garvey

On Rule-Of-Law in Ireland, and Preservation of Free Speech: Please Reject Three-Strikes

Tuesday, June 21st, 2011 | Uncategorized | No Comments

Dear Mr. Bruton,
I am writing to you (and simultaneously to my blog, where further correspondence will be forwarded) to ask that you reconsider your support of a Three-Strikes policy on internet use in Ireland.

There are many reasons for you to do so. Chiefly among them, I feel, is the threat to our judicial system if this system becomes part of Irish law. By legitimising the surveillance of corporate bodies on Irish citizens, and by permitting these foreign corporate bodies to realise a powerful ability normally reserved for state agencies (the power to effectively silence a citizen of Ireland), the Three-Strikes policy will set a precedent whereby privatisation of legal power becomes acceptable. As things stand, there is already a body of law that protects copyright, through which individuals who infringe upon copyrighted works can be prosecuted; there is no need to "streamline" the law by passing Garda powers to IRMA, especially considering that their internal judgement will be opaque and beyond judicial reproach without a costly legal battle.

However, an erosion of our legal system is only the most obvious reason; there are others which, by reducto ad absurdum, can readily be invoked to show why the Three-Strikes system is not only a threat to Irish law, but to innocent citizens of Ireland and to Ireland's role in the development of the ever-advancing information economy. Not to mention, the Three-Strikes rule will not adequately protect against music infringement even if perfectly implemented.

Firstly and perhaps most tellingly is the assumption that an IP address equates to an individual or even to a family, a pernicious assumption that supports the entire reasoning behind Three Strikes. However, it is a false, misleading and legally dangerous assumption that will certainly lead to a sizeable percentage of illegitimate cut-offs.

The "IP Address" that is supposed to be unique and identifying is anything but; an IP address relates, rather, to an internet router, to which many computers may be connected and which may be at any point in the internet distribution chain. Indeed, users of mobile broadband dongles or phones may often share only a handful of IP addresses between hundreds or thousands of customers. Users of a complementary or even pay-as-you-go Wifi hotspot will share the IP address of the hotspot. Neighbours who share a wifi router, or householders whose router is hacked to gain access by an outsider (a trivial task with the right software, even for a non-professional), will be identified as infringers on account of misuse of their connections. Finally, social routing systems that protect free speech may be misused, with the "exit node" and its owner being associated under a Three-Strikes regime with the offending IP address.

Consider the above; in order to meaningfully implement a law that uses IP addresses in an identifying manner, Ireland would have to force ISPs to set up static IP addresses assigned to each customer, and would have to illegalise the sharing of computers, connections, wifi or bluetooth. Cellular internet would become essentially impossible to implement legally. Free-speech enabling software which currently allows Chinese, Libyan, North Korean and certain American civil rights advocates to communicate without government censure or arrest would become illegal in Ireland; a tacit approval of anti-democratic states globally in favour of private profits.

Even if implemented perfectly with all of those draconian measures (which would succeed in driving Ireland into a stone-age of technology as the internet becomes ever more important to global society), sharing of music, movies and software would continue to be trivial. If bittorrent becomes impractical, individuals will simply choose another method of sharing which is more secure. Examples I might name include highly encrypted onion routing systems such as Tor (which is supposed to be used for Free Speech, I might add), encrypted web-of-trust methods such as Freenet, or simply sharing music in person by Hard Disk or USB drive, a virtually invisible and effortless means of sharing without oversight.

I hope the above demonstrates clearly that Three Strikes will cause more harm than good. If that's not enough however, please consider the state of Irish internet and what this will mean commercially for our development as a state, and what that will mean for business. Exports are already a difficult prospect for Ireland at present, and an information based economy is one of Ireland's most promising opportunities for growth, because of low capital overheads for internet startups and software companies. If Three Strikes forces a burden of internal restructuring and vastly expanded internal surveillance on Irish ISPs, they will be less able to afford competitive plans or further rollouts of broadband. Please look at a comparison of existing broadband in Ireland to our European counterparts; certain countries have a minimally acceptable broadband as a "Human Right" that equals or exceeds some of the best commonly available broadband in Ireland. Bandwidth needs will trend upwards over time without doubt; Ireland is already falling behind and an additional burden on our ISPs will only make matters worse.

Censorship in Ireland is becoming a serious threat to our freedoms of speech and expression, and granting legal power to the chief architects of this trend will only make matters worse. Three Strikes will not protect the Copyright Industry or their local arm, IRMA. It will certainly not protect or benefit Irish artists in need of further protection. It will not prevent, ameliorate or diminish filesharing, which is driven by technology far more advanced than the legislative branch in Ireland has power to counteract, and by ill-will towards the companies that are driving this law.

Three Strikes will damage our freedoms, lead to false accusations and cut-offs of a critical educational, social and commercial pillar of modern life, and prevent Ireland from adapting and taking advantage of an increasingly important area of growth.

Again, please take some time and reconsider Three Strikes. If you still feel that it is best for Ireland, then do the right thing; ask Ireland by a referendum, because the impact of this law will be devastating to our country's future online.

Yours,
Cathal Garvey, BSc

Posted via email from Cathal Garvey

Irish law, ethics and Biohacking – Tomorrow, 1-4pm at Science Gallery

Friday, June 17th, 2011 | Uncategorized | No Comments

Hey all,
Tomorrow is the last session of the first biohacking workshops in Ireland. It's been awesome fun (even though much of the hastily prepared stuff didn't work as intended!) and really informative to me and hopefully my excellent participants.

Sadly a lot of people couldn't make the weekdays due to pernicious blights such as employment, but tomorrow might be a chance to get a more diverse group together before it's all over.

Tomorrow will be an introductory talk followed by a forum: I'd like to introduce the Irish regulatory framework surrounding biotech, some ways that we could organise and mitigate the costs and difficulties, and some factors to consider when weighing the safety and ethics of a project. Then I'd like to open it up to a forum discussion on the whole thing.

It's on between 1 and 4 tomorrow, and admission is €10 at the main desk. You'll have a chance to take part in some early formative discussions on the hobby. You'll also be helping to show the nice people at Science Gallery that there *is* interest in Diybio despite the low initial uptake. This means future workshops may be more likely to happen, and at more convenient times to facilitate the employed!

If you know anyone who would like to join, please let them know and forward this on. Looking forward to seeing you!

Posted via email from Cathal Garvey

Miniblog

  • Loads out today trying to sell me a treaty. "JOBS JOBS JOBS" and cluelessness on the facts. It's like an Apple launch event. #euref 19 hrs ago
  • ~@TheIanFella The stuff he said about Greek economic contagion was terrifying; does he really not understand? And he's at the helm? #doomed 1 day ago
  • Retraction time: What Noonan allegedly said about #euref may have been true.. but he didn't say it. Thanks @AllanCavanagh for update! 1 day ago
  • Successfully migrated my personal blog to Iceland. Now for indiebiotech. :D 1 day ago
  • More updates...

Posting tweet...

Past Posts