August102010
Why Google Became A Carrier-Humping, Net Neutrality Surrender Monkey (UPDATED) | Epicenter | Wired.com — "Carriers love Android because it’s free — in fact, it’s probably better than free, since Google is, in all likelihood, paying the mobile carriers for every Android phone that relies on Google Search as its default search engine.

Android may be 'open source,' but the Google services including navigation, integrated Gmail, and other things are not. This was made quite clear last year, when Google slapped the leading Android phone modder, Cyanogen, with a cease-and-desist notice for including Google’s proprietary software in his custom builds, which savvy Android users use to circumvent carriers’ crippling of their phones.

In short, a generic Android phone that isn’t also a 'Google-enhanced' Android phone isn’t worth selling. And you can’t make a Google-enhanced Android phone without Google’s permission."
(Jason Scheirer's del.icio.us)
Scott Adams Blog: The Bad Management Stimulus 11/25/2009 — "I wonder if one if the prime drivers for entrepreneurship is bad management.  I have to think that bad management pushes a lot of capable people out of their day jobs, and those people go on to become entrepreneurs."
(Jason Scheirer's del.icio.us)

Jason Scheirer

...

Not until you appreciate what a jerk I am!



Not until you appreciate what a jerk I am!

Posted on August 10, 2010 03:34 AM
August092010

Jason Scheirer

...

Not with my greasy sausage fingers.

Heather: I clearly need a new lipgloss, and someone to pawn off the one I got that is disappointing and the glitter is too chunky
Me: I probably agree
Heather: I'm wondering though if they'll let me trade it in if I explain how much it disappointed me
Heather: even though I bought it months and months ago
Me: #firstworldproblems
Heather: totally bitch!
Posted on August 09, 2010 11:20 PM

theparasitichead: The Roman Empire, 125 AD



theparasitichead:

The Roman Empire, 125 AD

Posted on August 09, 2010 03:15 AM
August072010

Jason Scheirer

...

So. God. Damn. Good.



So. God. Damn. Good.

Posted on August 07, 2010 07:39 AM

Dat-daaaah-dah-daht! (baht baht) Dat-daaaah-dah-daht! (baht...



Dat-daaaah-dah-daht! (baht baht) Dat-daaaah-dah-daht! (baht baht)

Posted on August 07, 2010 02:23 AM
August042010

Jason Scheirer

...

Audio



Posted on August 04, 2010 06:37 AM
August032010
Stuart Murdoch (musician) - Wikipedia, the free encyclopedia — "I'm not actually a Christian with a capital C. I'm still asking questions. But I had this time when I found myself singing all these old hymns in my kitchen and I couldn't work out why I was doing it. Then one Sunday morning I got up, looked at my watch, and thought, 'I wonder if I could make it to a church service?' It was so welcoming. It just felt like you were coming home. Twelve years later, I've never left."
(Sam Thursfield's del.icio.us)
Measuring GNOME Shell Performance « fishsoup — Gnome-shell takes an interestingly in-depth approach to optimisation, including some very comprehensive logging system apparently.
(Sam Thursfield's del.icio.us)
The great bloody hole in the British election campaign - Afghanistan : Johann Hari — "Hamid Karzai was picked by the US and British governments as the Afghan leader most likely to serve their interests, and his regime exists solely because of massive military support from them. Yet - in a sign of how Afghan opinion has tipped after eight years of war - even he now speaks with rage against them. He says the US and Britain's planned military assault on Kandahar this summer must not go ahead because the local population strongly oppose it. He warns there is "a fine line between resistance and revolt" and soon "this revolt will turn into a resistance and I will join it." "
(Sam Thursfield's del.icio.us)
Simpler Multithreading in C++0x — A textbook example on how to implement threads in the ugliest way you can think of. One good thing is the multiple simultaneous mutex locking,
(Sam Thursfield's del.icio.us)
Beyond Locks and Messages: The Future of Concurrent Programming «   Bartosz Milewski’s Programming Cafe — If you were to implemented parallel computation using traditional methods, for instance MPI (Message Passing Interface), instead of allocating a single array you’d allocate multiple chunks. Instead of writing an algorithm to operate on this array you’d write an algorithm that operates on chunks, with a lot of code managing boundary cases and communication. Similarly, to parallelize a loop you’d have to partially unroll it and, again, take care of such details as the uneven tail, etc. These approaches results in fragmented view of the problem.

What HPCS languages offer is global view programming... clearer programs that are easier to write and maintain.
...
None of the HPCS languages tried to tie sharing and synchronization to the type system in the way it is done, for instance, in the D programming language (see also my posts about race-free multithreading)."
(Sam Thursfield's del.icio.us)
United Kingdom | FarmSubsidy.org — An excellent site. Here's how the EU agricultural subsidies are actually distributed, helping tiny struggling farmers such as Nestle (€1.2M) and Tate & Lyle (€135M).
(Sam Thursfield's del.icio.us)
How Goldman Sachs gambled on starving the world's poor - and won : Johann Hari — "My children stopped growing. I felt like battery acid had been poured into my stomach as I starved. I took my two daughters out of school and got into debt. If it had gone on much longer, I think my baby would have died." Another day on Wall Street and Canary Wharf.
(Sam Thursfield's del.icio.us)
Mozilla’s New JavaScript Value Representation < Rob Sayre's Mozilla Blog — Using 64 bits to store all values, that's an interesting approach.
(Sam Thursfield's del.icio.us)
Banshee, GNOME, & Amazon MP3 « Aaron Bockover — "During Gabriel's talk at GUADEC, after working with members of the GNOME Foundation board, we were very excited to announce that the Amazon MP3 Store in Banshee would begin using an Amazon Affiliate ID, and that 100% of all revenue generated through this affiliate ID will go to the GNOME Foundation!"
(Sam Thursfield's del.icio.us)
August022010
DeepaMehta -- Homepage — "DeepaMehta is a "networked semantic desktop" that replaces the traditional computer desktop. DeepaMehta rids the user from dealing with applications, files and directories. Instead, the DeepaMehta user arranges information of any kind and origin into supportive topic maps. Topics may be e.g. projects, emails, webpages, notes, articles, contacts, or meetings. Users define their own topic types. Old-fashioned applications, windows and files are no longer in the sight of the user, but the meaningful relationships between real world topics. The DeepaMehta desktop is never obscured by other windows. The DeepaMehta desktop serves as a visual cache of the users actual work context."
(Sam Thursfield's del.icio.us)
Intuit Still Lobbying Hard To Stop Governments From Making It Easy To File Taxes | Techdirt — "Intuit is lobbying hard for California to ditch this tremendously successful program that helps both tax payers and the state, and replace it with a different program that... helps Intuit. It would offer a much more limited offering to many fewer people, mostly designed as an upsell to get people to pay for TurboTax. And, while Intuit hasn't been successful yet, it has been spending plenty of money supporting California state politicians on both sides of the aisle to try to find support for its efforts."
(Sam Thursfield's del.icio.us)
Manu Chao - Wikipedia, la enciclopedia libre
(Sam Thursfield's del.icio.us)

Jason Scheirer

...

The lesson to take from this is to never date a musician. When...



The lesson to take from this is to never date a musician. When you break up she will write a super passive-aggressive song that tugs at the heartstrings of everyone in Sweden and you’ll look like a total dick even though it’s her airing the dirty laundry.

Posted on August 02, 2010 05:46 AM
August012010

Jason Scheirer

...

Idiot Control Now!



Idiot Control Now!

Posted on August 01, 2010 11:39 PM
July302010
The Last Psychiatrist: The Dead Sea Effect In Academia — "Academia is a trap. It pays you with secure insecurity.   You settle in and think, I am never going to leave this.  It confuses you, it changes reality.  I make only 20% of my income from my university job, yet whenever anyone asks me what I do for a living, I tell them I work at university.  Worse-- I actually believe it, it's part of my identity, even though it is factually incorrect.  Your focus is not on why you are there, but on how to stay there, or even to advance, in that irrelevant hierarchy."
(Jason Scheirer's del.icio.us)
July292010
Matthew Yglesias » Priorities — "Is the performance of a Provincial Reconstruction Team in Khost Province more important to the long-term interests of American citizens than the performance of the Riverside County Public Schools?"

My answer, as a graduate of Riverside County Public Schools (JUSD K-12, Jurupa Valley High Class of '01), is SURE WHY NOT THEY'RE ALL AWFUL KIDS ANYWAY.
(Jason Scheirer's del.icio.us)
July282010
Are Jedi Knights Libertarian or Socialist? | The Atlantic Wire — Some hard-hitting journalism here, guys.
(Jason Scheirer's del.icio.us)
July272010

Jason Scheirer

...

Using Pylons

Just for giggles, this new web app I’m working on is in Pylons. So much of it is dependent on configuration (the paster creation script installs all kinds of code all over the project directory). I think I’m impatient enough at this point of my life that I actually prefer the shrink-wrapped bumper lanes of Django to this approach.

Posted on July 27, 2010 05:50 PM
MongoDB and E-commerce | Kyle Banker
(Jason Scheirer's del.icio.us)
July262010
CSS3 Gradient Generator
(Jason Scheirer's del.icio.us)
Windows Service - MongoDB — Oh ok that's easy. Thanks, Mongo. Thongo.
(Jason Scheirer's del.icio.us)
July252010
Freeways and the death of the great American city - E.D. Kain - American Times - True/Slant — I can't begin to state how much my quality of life improved by living in a (smaller) walkable town.
(Jason Scheirer's del.icio.us)

Jason Scheirer

...

Video



Posted on July 25, 2010 07:19 AM
July242010
'Enviro-Bear 2010' – The Best Bear Driving Simulator in the App Store (Review) | Touch Arcade — I need to buy this when I get home
(Jason Scheirer's del.icio.us)
July232010
Arrivals | Development Status | Cultured Code — I need one of these.
(Jason Scheirer's del.icio.us)
July222010
Vorlath - Another C++ Link
(Jason Scheirer's del.icio.us)
apenwarr - Business is Programming — "'Member Function Pointers Are Not Just Simple Addresses.' You might think, oh, of course not. They're a 'this' pointer plus an address, right? Ha ha! Ha ha ha ha!! No they're not! They don't have a this pointer! You still have to provide your own this pointer when you call it! But it does store all kinds of crazy other stuff instead so it can do call-time vtable lookups on multiply-inherited objects! Ha ha!)"
(Jason Scheirer's del.icio.us)
July202010

Jason Scheirer

...

Photo



Posted on July 20, 2010 07:03 PM

Can we talk about the mail?



Can we talk about the mail?

Posted on July 20, 2010 11:52 AM
July182010

Jason Scheirer

...

JAWSOME



JAWSOME

Posted on July 18, 2010 09:20 PM
July172010

Jason Scheirer

...

oldhollywood: via Batman (1966, dir. Leslie Martinson)



oldhollywood:

via Batman (1966, dir. Leslie Martinson)

Posted on July 17, 2010 09:27 PM

Here is some code. For you.

Shell script I saved as ~/bin/m4rify to convert arbitrary audio files to iPhone ringtones:

#! /bin/bash
if [ $1p == 'p' ]
then
  echo USAGE: $0 filename.mp3
  exit
fi
out_file=${1%%.*}.m4r
tmp_file=$1.converttemp
mplayer -ao pcm $1 -ao pcm:file=$tmp_file
faac $tmp_file -o $out_file -w
rm $tmp_file

Works fine in Ubuntu.

Posted on July 17, 2010 09:21 PM
July122010

Jon Atkinson

...

#bcblackpool

I rather enjoyed Barcamp Blackpool this weekend. I've been to a lot of conferences and Barcamps this year, but I did particularly enjoy a Barcamp on my home soil.

I made an effort this weekend to spend less time in talks, and more time talking to people, and I think it paid off. Along with giving my (now rather tired) session on pitching, I had some very rewarding one-to-ones with a some very smart people - so if I cornered you and wouldn't stop talking, take it as a compliment!

I did, however spend time in some talks. @timhastings talk on TagWalk was very interesting, though I would have enjoyed more detail on the code running the site, but then I always like to skip ahead.

@walterja, whose talks have become the highlight of the last few Barcamp events I've attended, presented a predictably fascinating look at sociometry, which I've had some experience with before, though with a very different intention. I think this talk brought together the most diverse members of the audience, it was great to see so many teachers in the audience.

The evening was a lot of fun, and talking to people I was pleased with how many were talking about their own projects, startups and ideas for what is next; very invigorating.

Most blog posts end with thanks for the sponsors, which I would like to echo, but I think someone needs to call out the excellent work of @ruby_gem, who seems to have the ability to pull together these events, run them flawlessly and make it look incredibly easy. You are an asset to us all. Thank very much for your work.

Oh, and I won the PadRacer tournament ;-)

Posted on July 12, 2010 05:46 AM
July092010

Jason Scheirer

...

Video



Posted on July 09, 2010 07:05 AM

Starssssssssss



Starssssssssss

Posted on July 09, 2010 06:57 AM

Daaaaaaaaanielllllllllllllllllllll



Daaaaaaaaanielllllllllllllllllllll

Posted on July 09, 2010 06:52 AM

Not a Robot



Not a Robot

Posted on July 09, 2010 06:51 AM

…I assure you.



…I assure you.

Posted on July 09, 2010 06:44 AM
May082010

Sam Thursfield

...

Asus motherboards and USB boot

I'm writing this mainly for google's benefit. If you're trying to get an ASUS motherboard, such as the M3N78-VM I have, to boot from a memory stick, it turns out you have to do it in a weird way: turn on the PC with the memory stick plugged in, go into BIOS Setup and the Boot section and then go onto Hard Disk Drives. Delete all the entries except USB (maybe you can just put it to the top, I didn't try). Now you can go to the normal Boot Device Priority list, and "USB" will be an entry which you can put where you like.

This is all pretty counterintuitive, because the boot device list has "Removable media" as an entry, which is apparently useless - in fact, worse than useless, or I might have worked this out faster. Hopefully writing about it will save others from wasting time ..




In other news, since here am I writing.. I finished my degree in music & music technology recently (which is why i finally have time to fix my computer), it's been a fun ride and I achieved a bunch of things I always have wanted to do, like mixing for bad metal bands, writing and recording crazy dub tunes and playing sounds too quiet for anyone to hear in a gallery with some free wine. After a summer getting some programaction done (more on that later), mi novia y yo are going to South America for a while. We fly in to Buenos Aires in September and out of Lima in January (hopefully later) and so far that is the plan, I've never been out the UK for more than a few weeks before, i am really looking forward finally to some proper travelling in a very beautiful part of the world.
Posted on May 08, 2010 09:30 PM

Jon Atkinson

...

Obtaining GeoIP location with YQL using Python

I've a few projects coming up for 84labs which required location awareness. Location awareness works great with any recent phone, but for traditional clients, I needed to fall-back to obtaining the location from the client's IP address.

There is an excellent free IP location database hosted on datatables.org, which offered the easiest way to get the data which I needed. This meant using YQL, which I haven't used before; YQL is "an expressive SQL-like language that lets you query, filter, and join data across Web services".

So here is the code. I was using Python, Django and Python YQL module, but the same query presumably works with any language you choose. I've removed a lot of exception handling for clarity.

# Get the current user's IP address.
client_ip_address = request.META['REMOTE_ADDR']

# Create a YQL public query object.
y = yql.Public()

# Build the query.
query = 'USE "http://www.datatables.org/iplocation/ip.location.xml" AS ip.location; select * from geo.places where woeid in (select place.woeid from flickr.places where (lat,lon) in(select Latitude,Longitude from ip.location where ip="%s"))' % client_ip_address;

# Execute the query.
result = y.execute(query)

# ... et voila.
ip_place_name = result.rows['locality1']['content']
ip_location = result.rows['centroid']

That's it. The query just performs a simple select against the 'iplocation' database, then retrieves the latitude and longitude from the flickr.places database (flickr.places is part of the standard YQL set of databases, which is why we don't need a specific USE statement to be able to access it).

Posted on May 08, 2010 07:45 PM

asbo.org.uk, CakePHP and data.gov.uk

Yesterday, I wrote asbo.org.uk, a site which provides really basic visualisation of the UK's anti-social behaviour order data from 1999-2007. This data was recently released by data.gov.uk.

I wrote the whole site, wrangled the data, and deployed it yesterday afternoon, in about six hours. I've got some contract work coming up using CakePHP, so I wanted to try it out, and I wanted to see what I could do in such a short space of time. I'm quite pleased with the results. There's no analysis of the data, just presentation, but I was trying to see what I could do in the time I had, rather than develop features.

Originally, I wanted to write a 'how safe am I' sort of application, which could offer data about the types of crime most likely to occur in a given area, but this idea was pretty much killed by the time I saw the actual data available. Maybe I don't know enough about Excel-scraping, but I considerably reduced the scope of this project because the data was such a mess - it's just not worth the time to extract information from arbitrarily formatted spreadsheets. Formatting the single table of data used on asbo.org.uk took about three hours, which seems like a waste.

I was generally quite impressed with CakePHP; it's laid out in a sane way, though coming from Python some of the automatic discovery of models in the controllers feels a little bit magic, and I'm not sure I'm comfortable passing around arrays of data rather than data objects themselves, but it's not a deal breaker. I do like the layout system, something I commonly implement with blocks in Django, but seeing it formalised as part of the recommended approach to application templating is nice.

I put the source on Github,if anyone is interested.

Posted on May 08, 2010 07:45 PM

Sikuli desktop automation

There's quite a lot of buzz around Project Sikuli at the moment, so I spent time today playing with it.

Sikuli is a GUI automation engine which uses a vision engine to identify elements on screen. In practise, it works well as a quick way to script repetitive desktop actions, without having to learn the AppleScript actions an application provides, or how to hook into a desktop accessibility framework to manipulate applications. Instead, you tell the Sikuli engine how you expect regions of the screen to look, and then how to further manipulate them with clicks, key-presses and so on.

That is quite an abstract explanation, so here is a practical example.

Every morning, when I sit down at my desk, I do two things: I do some basic maintenance on my Mac, and I print out my day planner sheet. This only takes maybe 5 minutes, but I need to wait in front of the screen and click the right buttons at the right time. That's pretty dull, so here's how I'm using Sikuli to automate that.

First of all, the maintenance script. I use CleanMyMac to perform one big system clean every morning, which requires a few steps; launching the application, scanning for files to clean, approving the list of files, running the cleaning process, then closing the application.

My Sikuli script for doing this looks like this:

The script is fairly self-explanatory. First, it switches to (or opens) the CleanMyMac application, then runs the scan process. The script sleeps for five seconds, the searches for the 'scan finished' message, and goes to sleep again until that message is displayed. Then it performs the clean operation, and again waits for the 'clean finished' message. After this, it closes the application.

At no point is this script passing events directly to the application, nor is it querying the application to get information about its state; it's just examining the frame-buffer and looking for patterns which are similar to those specified in the script. On the Sikuli website, they claim their vision engine is smart enough to still work even if an application slightly changes it's visual style, but I haven't been able to test this.

This is the script for printing my day planner:

First, it closes then re-opens Pages so that it is in a predictable state. Then, the script manipulates the 'recent documents' drop-down, to open my 'Day Sheet 2' document. Notice that the script uses the 'wait' function frequently so that the vision engine isn't searching for an image before it has been drawn by the operating system. Once the document is open, we pass the operating system the ⌘P keyboard shortcut to open the print dialogue, then click 'print'. Finally, Pages is closed, and I check my printer tray. Here's a screen-cast of this in action. Note that I use the 'Run and show each action' button to start the script. This way, you can see the vision engine matching and highlighting each element on the screen:

Sikuli does have some limitations; You can't copy and paste between scripts, which I think is due to how the IDE stores image region data on the filesystem. Also, scripts seem wedded to the IDE, so you can't launch a script without needing to click the 'run' button in the IDE, but as the IDE is really just a thin wrapper over an underlying Jython instance, I'm sure this would be possible with a little more digging.

The obvious next step is to properly test how well Sikuli does deal with visual changes; using Sikuli to test web applications would be a great addition to the toolbox (and it would eliminate the problems with brittle tools like Selenium), and the IDE and language is simple enough for non-programmers to take some of the burden of writing tests.

I'm quite looking forward to the future of Sikuli. I'd like to see this visual search technology make it into more traditional scripting environments like AppleScript, though I'm not sure that'll happen any time soon, but anything which reduces reliance on bending traditional accessibility frameworks to perform in this role is a step forward.

Posted on May 08, 2010 07:45 PM

Django Project Base

"This is my project base. There are many like it, but this one is mine."

Today I finally got around to putting my Django project base on Github. I've been using this base for about six months now, and after a lot of rewrites and different approaches, it's now reasonably stable. I've been starting a lot of new projects recently, and repeatedly fixing the same small bugs in this project template, so I decided to spend a few hours this afternoon cleaning it up and making it public.

I'm not totally satisfied with my use of shell scripts to do some of the bootstrap actions (ideally I'd use Fabric for all of these tasks), and longer-term I want to make it easier to rename the django project rather than using search/replace in TextMate.

I know there are a lot of similar projects to this on Github, but none of them worked exactly like I wanted (I think too many depend on zc.buildout and similar), and while I'm not crazy about re-inventing the wheel, I hope there are enough other people out there who share my preferences who will find this useful.

Posted on May 08, 2010 07:45 PM
January082010

Sam Thursfield

...

On Cheapness

Both of my IBM Thinkpad power adapters are now working only because of ample solder and insulating tape. I have a third, but that's disintegrated altogether.

How, after over 100 years of development can we not manufacture power cables properly? You'd think especially the Thinkpad might come with adapters and cables which could last more than a few years.
Posted on January 08, 2010 12:54 AM
January022010

Jason Scheirer's Flickr

...

I love lamp

Jason Scheirer posted a photo:

I love lamp

At LACMA

</content>
Posted on January 02, 2010 07:33 AM
November022009

Jason Scheirer's Flickr

...

OFF

Jason Scheirer posted a photo:

OFF

</content>
Posted on November 02, 2009 06:20 PM

Ante show

Jason Scheirer posted a photo:

Ante show

</content>
Posted on November 02, 2009 06:20 PM

Powered by Planet!
Last updated: August 11, 2010 04:52 PM

Sources

( RSS ) Happy
( RSS ) Happy's Some Stupid Comic
( RSS ) Isaac Cohen (Skywise)
( RSS ) Jason Scheirer
( RSS ) Jason Scheirer Tech Stuff
( RSS ) Jason Scheirer's Flickr
( RSS ) Jason Scheirer's Twitter
( RSS ) Jason Scheirer's del.icio.us
( RSS ) Jon Atkinson
( RSS ) Jon Atkinson's Flickr
( RSS ) Jon Atkinson's Twitter
( RSS ) Jon Atkinson's del.icio.us
( RSS ) Sam Thursfield
( RSS ) Sam Thursfield's del.icio.us

About

Planet Cleanstick is a content aggregator. It collects and displays posts from some of the greatest internet superheroes who have ever existed.

Jon Atkinson was born in Anchorage, Alaska in 1883. He was abandoned as a child and raised by local natives, who also subsequently abandoned him. After nearly starving in the harsh tundra, he discovered a special affinity with nature and began his lifelong quest to destroy civilization.

Isaac Cohen, te plus oculis meis amarem, Isaace iucundissime, munere isto odissem te odio Vatiniano: nam quid feci ego quidue sum locutus, cur me tot male perderes poetis?

Happy, or as you may remember him from his folk singing days, El Sonríe, retired from performing his unique brand of Tex-Mex folk/mariachi/country fusion in 1978. He is now quite active in his local church and has abandoned his corn liquor bootlegging ways.

Jason Scheirer has many faces, but none of them housewife. beginning in the late 1700s, he built a modest publishing empire that eventually, at its peak, incorporated every citizen in the Austro-Hungarian empire as an employee. He lost his fortunes on less-than-shrewd dogfight bets.

Sam Thursfield is obsessively paranoid and will charge if subjected to extended periods of staring. Please do not feed the Sam. If you would like, we have postcards in the gift shop after the tour. There are only 12 Sam Thursfields left in the wild, making it one of the most endagered species in the world. What you see here is a rare and wonderful opportunity to see a Sam Thursfield, which may not be available to later generations.