JustAnyone's Blog

Professional programmer; amateur home handyman (on our home only); tinkerer; husband; father of 3; attempting to be a renaissance guy (to know at least a little about a lot of subjects, a doomed pursuit in an information age); geek-arts-and-sciences enthusiast. Interest areas: Science fiction, wind turbines, electric cars, renewable energy, making things.

Wednesday, April 17, 2013

Too Smart for their Britches

›
I just ran into a bit of bash script that did this: conflist=`cat www-conf/* |sort -u |sed ':a;N;$!ba;s/\n/ /g'` On first glance...
Tuesday, April 02, 2013

Solved: MongoDB - How to add Binary data to a document using pymongo

›
I'm trying to add data to a MongoDB document. My data is tuples of doubles, and I'm adding to an array of them. This is a good e...
Tuesday, March 26, 2013

Solved: Pymongo findAndModify example collection object not callable

›
I just blew an hour with a silly mistake (or two!) I have an MongoDB collection with a bunch of documents I'm accessing via pymongo. ...
Friday, March 08, 2013

›
Trying to build Python and a set of Python libraries on an AIX 6.1 box. Starting with both gcc and IBM xlc compilers handy, this will be a...

MongoDB - How to Easily Pre-Split Chunks

›
Okay, so I'm doing some performance testing on MongoDB, spinning up a new configuration, and then throwing lots of data at it to see wha...
Friday, January 04, 2013

MongoDB Shard Stats One-Liner

›
I've been testing, and I want to get the shard stats in one line.  That is I want this:     krice@zaphod:~/$ mongo --host boxname303.e...
Tuesday, November 13, 2012

Postgres pgdb connect with connect timeout

›
So, here's a little FYI. I'm trying to connect to a Postgres database and pass in a connection timeout. Whatever the default is s...
‹
›
Home
View web version

About Me

Unknown
View my complete profile
Powered by Blogger.