japherwocky's posterous http://japherwocky.pearachute.com Most recent posts at japherwocky's posterous posterous.com Mon, 12 Sep 2011 11:23:27 -0700 #dilbert http://japherwocky.pearachute.com/dilbert http://japherwocky.pearachute.com/dilbert STEPS TO REPRODUCE
1. Create a Parent Use
2. Create a Filter profile and assign the above created Parent Use to it
3. Specify a sensitive subject value in Filter Profile
4. Create a Project and assign the above created Filter Profile to it.
5. Select a restriction with parent use & country that match the CFP
you are testing with and apply the sensitive subject value that was
assigned to the CFP
6. Execute a search

RESULTS
The Restriction(s) from Step 5 is not part of Rheo query string

EXPECTED
The Restriction(s) from Step 5 should be part of Rheo query string

NOTES
Corbis test scenario 10

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Fri, 08 Jul 2011 19:51:38 -0700 D Numbers - Xylem Up http://japherwocky.pearachute.com/d-numbers-xylem-up http://japherwocky.pearachute.com/d-numbers-xylem-up

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Thu, 30 Jun 2011 13:49:47 -0700 skype rig http://japherwocky.pearachute.com/skype-rig http://japherwocky.pearachute.com/skype-rig
Imag0207

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Mon, 27 Jun 2011 22:48:33 -0700 OtherCorp UX http://japherwocky.pearachute.com/othercorp-ux-82194 http://japherwocky.pearachute.com/othercorp-ux-82194
Rheo

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Mon, 27 Jun 2011 21:31:01 -0700 Jose Gonzales - Crosses http://japherwocky.pearachute.com/jose-gonzales-crosses http://japherwocky.pearachute.com/jose-gonzales-crosses

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Fri, 10 Jun 2011 22:32:55 -0700 Homeless Mustard - Creep http://japherwocky.pearachute.com/homeless-mustard-creep http://japherwocky.pearachute.com/homeless-mustard-creep

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Mon, 25 Apr 2011 06:46:00 -0700 Bruce Springsteen http://japherwocky.pearachute.com/bruce-springsteen http://japherwocky.pearachute.com/bruce-springsteen What a show that must have been!

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Fri, 22 Apr 2011 09:30:04 -0700 VPS comparison http://japherwocky.pearachute.com/vps-comparison http://japherwocky.pearachute.com/vps-comparison Very nice writeup on the most popular VPS solutions:
http://journal.uggedal.com/vps-performance-comparison

tl;dr, linode kicks ass

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Fri, 15 Apr 2011 16:06:52 -0700 It was a momentous day http://japherwocky.pearachute.com/it-was-a-momentous-day http://japherwocky.pearachute.com/it-was-a-momentous-day
Googlelinkingtwitter

Newt Gingrich declared that you weren't American unless you were
Christian, and Google started supplementing it's search results with
your Twitter data.

Weeks later, fulltiltpoker.com would have it's domain seized by the FBI.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Wed, 13 Apr 2011 16:28:28 -0700 Allo Darlin is pretty rad http://japherwocky.pearachute.com/allo-darlin-is-pretty-rad http://japherwocky.pearachute.com/allo-darlin-is-pretty-rad

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Fri, 25 Mar 2011 20:43:40 -0700 a tip in the $goog jar to a fellow tornado user http://japherwocky.pearachute.com/a-tip-in-the-goog-jar-to-a-fellow-tornado-use http://japherwocky.pearachute.com/a-tip-in-the-goog-jar-to-a-fellow-tornado-use A pretty great [tornado](http://blog.perplexedlabs.com/2010/07/01/pythons-tornado-has-swept-me-off-my-...
writeup with some good code samples for setting up daemons.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Thu, 17 Mar 2011 14:00:48 -0700 pipe dream of the evening http://japherwocky.pearachute.com/pipe-dream-of-the-evening http://japherwocky.pearachute.com/pipe-dream-of-the-evening Here's how you do the geo-assassination-AR-game:

the core mechanics revolve around discovery, ninja style. Mobs /
Players have a stealth stat, a perception stat, an attack with a
range, and a defense.

In discovery mode, you can sense enemies within a distance, based on
your perception stat and your GPS location

You can attack any enemy you can sense within range of your attack.
If the level of the attack is > the level of the defense, you win
points!


Players use points to level up their stats, and also gain points by
visiting _advertisers_

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Tue, 15 Mar 2011 09:28:29 -0700 Dump her already http://japherwocky.pearachute.com/dump-her-already http://japherwocky.pearachute.com/dump-her-already So, his entire decades of experience with Microsoft on mobile devices
has been awful, but this time he's really "close" to leaving them.

http://blog.dantup.com/2011/03/why-im-close-to-giving-up-on-windows-phone-7-a...

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Mon, 07 Mar 2011 15:06:05 -0800 Achievement Unlocked: funny cat pictures on my blog http://japherwocky.pearachute.com/achievement-unlocked-funny-cat-pictures-on-my http://japherwocky.pearachute.com/achievement-unlocked-funny-cat-pictures-on-my
Catsneeze

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Mon, 21 Feb 2011 12:54:51 -0800 Letter to my editors http://japherwocky.pearachute.com/letter-to-my-editors http://japherwocky.pearachute.com/letter-to-my-editors Pscholka's Rhetoric doesn't help us
-----------------------------------

Like most people in Benton Harbor, I wasn't really expecting Mr.
Pscholka to be helpful with our challenges, and I really wasn't
expecting him to pick a fight with my local politicians.

Our city government is in a pretty sad state. The current leaders
have pretty much shown that they are incompetent. It's a problem, and
I do appreciate that Mr. Pscholka's top priority as an elected
politician suddenly seems to be our City.

For the past four years, local politicians have pretty openly been
saying that white people are taking over the city of Benton Harbor.
Since white people aren't really invited to those conversations, this
gets accepted as truth, and many citizens (right or wrong) believe
this.

Ie, some people here sincerely believe in a shadowy white conspiracy,
and now they can point at this legislature as proof.

Instead of talking about how Wilce's government managed to bounce
checks, or about how to get our books in order, (or how to tackle the
overwhelming poverty here) we're talking about how a single man has
control over a city without being elected.

Something else to consider: In typical quirky Benton Harbor fashion,
our local elections happen in the off years. This summer and fall,
we'll have a chance to vote in a new Mayor, and four Commissioners.

Michigan has bigger problems than this, Mr. Pscholka! Give the system
that elected you a chance to work. Even if you really think these
changes are needed, wait until next year to introduce them.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Tue, 15 Feb 2011 14:11:33 -0800 Taking payments in python http://japherwocky.pearachute.com/taking-payments-in-python http://japherwocky.pearachute.com/taking-payments-in-python Amazon FPS has the nicest terms and features I think, but screw this:
https://forums.aws.amazon.com/thread.jspa?threadID=59368&tstart=25

After I wasted some days trying to sign my requests properly. It
seems like it could be done like this:


def send( self):

charge = '%.2f'% cost( self.orderobj)

ref = self.orderobj['uuid']+ '@' + str(time())

params = {
'callerKey': pubkey,
'callerReference': ref,
'collectShippingAddress': 'True',
'pipelineName': 'SingleUse',
'returnURL': 'http://banneramma.com:8989/receipt',
'version': '2009-01-09',
'signatureVersion': '2',
'signatureMethod': 'HmacSHA256',
'paymentReason': 'Printing from Banneramma.com',
'shipping': '5',
'transactionAmount': charge,
}

params['Signature'] = self.sign( params)

self.orderobj['transaction'] = ref
M.db.orders.save( self.orderobj)

self.redirect(
'https://authorize.payments-sandbox.amazon.com/cobranded-ui/actions/start?'
+ urllib.urlencode(params))

def sign(self, params):

paramstring = 'GET\n'
paramstring += 'authorize.payments-sandbox.amazon.com\n'
paramstring += '/cobranded-ui/actions/start\n'

def quote( thing):
return urllib.quote( str( thing), '')
paramstring += '&'.join( quote(i[0]) + '=' + quote(i[1]) for i
in sorted( params.items()) )

sig = base64.b64encode(hmac.new(secret, paramstring,
hashlib.sha256).digest())

return sig

Butt. That only authorizes payment. When it comes time to actually
get the $, you're supposed to use https://fps.sandbox.amazonaws.com/,
which always throws an error about the Version parameter for me.. a
la, https://fps.sandbox.amazonaws.com/?Version=foo

Here's a good example of the madness of the Amazon docs, also: the
two URLs your code needs to talk to are,
"https://fps.sandbox.amazonaws.com/" and
"https://authorize.payments-sandbox.amazon.com/cobranded-ui/actions/start?".
Why do you need two different domains? Why is one of them so long?
Why is one on amazonaws.com and one on amazon.com ?!?!

Meanwhile, Authorize.net with https://github.com/abunsen/Paython seems
like the easiest thing going.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Tue, 08 Feb 2011 11:29:15 -0800 Lunarpages is pretty awful. http://japherwocky.pearachute.com/lunarpages-is-pretty-awful http://japherwocky.pearachute.com/lunarpages-is-pretty-awful I have one really legacy VPS with lunarpages.com, and every few months
it needs to be rebooted because apache / mod_python gradually leaks
memory.

For some reason, there doesn't seem to be a way to do this through the
lunarpages website, so I have to send in a support ticket, usually
along the lines of, "Hello, please reboot my VPS".

They *always* try to log in, as root, and respond with something like this:

"""
Dear Japhy Bartlett,

A technician responded to your ticket with:

Hello,

I have rebooted your VPS and now it seems to be back online. I was,
however, unable to login using the root password that we have on file
:

$ ssh -l root 74.50.13.187
The authenticity of host '74.50.13.187 (74.50.13.187)' can't be established.
RSA key fingerprint is 70:83:78:24:93:8d:59:18:11:2c:0c:ae:62:1c:08:6f.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '74.50.13.187' (RSA) to the list of known hosts.
Address 74.50.13.187 maps to vps16.lunarpages.com, but this does not
map back to the address - POSSIBLE BREAK-IN ATTEMPT!
root@74.50.13.187's password:
Permission denied, please try again.

As such, please provide us with the steps we need to follow to gain
root access via SSH. We will be looking forward to your reply. Thank
you !


Kind Regards,
Margarit Mugurel
Junior System Admin I - System Administrator Team
"""

Sorry, Margarit, the last time (three years ago now!) your support
team logged in as root, you decided to "fix" /var/www/ and trashed the
live websites running within. I don't trust you to log into my
server, and I don't really understand why you think that's part of
"reboot my server, please".

Even better, this basically means that they have a list somewhere, of
every single customer's root password, accessible by their lowest
level sysadmins. Which means that if you can break into a junior
sysadmin's computer, you have effectively hacked every single server
they host!

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Mon, 07 Feb 2011 13:54:31 -0800 Snow Goblin http://japherwocky.pearachute.com/snow-goblin http://japherwocky.pearachute.com/snow-goblin
Imag0152

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Thu, 16 Dec 2010 20:02:37 -0800 Ruby is the pretty young sister http://japherwocky.pearachute.com/ruby-is-the-pretty-young-sister http://japherwocky.pearachute.com/ruby-is-the-pretty-young-sister

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett
Mon, 29 Nov 2010 13:52:05 -0800 oic http://japherwocky.pearachute.com/oic http://japherwocky.pearachute.com/oic
Imag0103

Weekend projects, a rocket stove some gravity physics and some frustum culling / collision detection

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/739856/underwaterbeardrock.jpg http://posterous.com/users/4aGbxH7xOj3X Japhy Bartlett japherwocky Japhy Bartlett