Then, if you'll excuse me, but I'm in the middle of 15 things, all of them annoying.

Sunday, February 28

Anime

Essence Of Cool

The closing credits of Hanamaru Kindergarten might win the nod for the best anime of the season.

Posted by: Pixy Misa at 11:53 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 20 words, total size 1 kb.

Saturday, February 27

Rant

I Hate Sauerkraut!

Also crazed starving weasels.

Posted by: Pixy Misa at 04:24 PM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 7 words, total size 1 kb.

Friday, February 26

Geek

Move Over Mendeleev

Now with added mouseoverness.

Posted by: Pixy Misa at 02:00 AM | Comments (5) | Add Comment | Trackbacks (Suck)
Post contains 7 words, total size 2 kb.

Thursday, February 25

Geek

Periodicity


The Periodic Table of Minx
The Grand Unified Minx Theory

The mee.nu Group
The mee.nu User Domains

The Minx Components
The Minx Components


Posted by: Pixy Misa at 05:40 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 13 words, total size 1 kb.

Wednesday, February 24

Geek

Gamma Lama

Naturally I had to try this...

100%
/images/gamma_dalai_lama_gray.jpg

50%
/images/gamma_dalai_lama_gray.jpg?size=126x&q=95

Oops!

Now, that's a deliberately constructed corner case, but there is a problem there.

Posted by: Pixy Misa at 12:40 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 24 words, total size 1 kb.

Monday, February 22

Geek

Bitzenpieces

Posted by: Pixy Misa at 05:44 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 2 words, total size 1 kb.

Sunday, February 21

Geek

Where's Pixy?

I'm in here:
/images/PixysGamesCorner.png

(Click for full screenshot.  Thanks go to Steam and GOG's insane holiday sales.)

Actually, I'm not; I'm doing work for my day job, making some progress with Pita, reorganising Meta, and have finally come to a design decision on Miko (all parts of the Minx project for those who haven't been paying attention), redoing the documentation in Sphinx - which will itself be supported in an upcoming version of Meta - and planning for this year's server upgrade.*  I did play a bit of Dragon Age over the holidays, but games are taking a back seat for a while.**  Despite the fact that I have 224 of them currently installed.

* If things go right we'll be moving from a lowly 8-processor (16-thread) 2.26GHz server with 24GB of RAM to a spiffy new 12-processor (24-thread) 2.66GHz server with 48GB of RAM.  That's at least partly to prepare for the move to Pita, which loves to store stuff in memory.  Because I can just copy the OpenVZ virtual machines across, the move should be quick and painless.

** Apart from Billy vs. SNAKEMAN!

http://www.animecubed.com/billy/userimages/sigs/85354.jpg

Posted by: Pixy Misa at 02:16 PM | Comments (6) | Add Comment | Trackbacks (Suck)
Post contains 188 words, total size 1 kb.

Anime

Hoshimittsu

Hidamari Sketch continues to exist in its own little universe, and all is right with the world.

Posted by: Pixy Misa at 04:12 AM | Comments (3) | Add Comment | Trackbacks (Suck)
Post contains 18 words, total size 1 kb.

Saturday, February 20

Geek

If I Don't Lesnerize, The Feegs Can't Get Me

In SQL* you say select sum(sales) from accounts where state="NY".  In Pita, the way to do this is:
results = accounts.aggregate(state='NY')**
which will calculate for you the count, length, sum, minimum and maximum, as appropriate, for all the fields in the table at once, so the value you need is results.sales.sum.  Since the table scan is typically slower than any calculations you're likely to be doing, this seems a reasonable approach.

In addition, I've added a
results = accounts.stats()
which provides all those, plus mean,*** median, mode, standard deviation, and geometric and harmonic means.   Aaaaand standard error, coefficient of variation, sample and population variance, skewness and kurtosis.  I even sort of know what kurtosis is.

I'm working on two more functions now, group and break, though I may need to come up with another name for the latter because break is a Python keyword.  This:
for result in accounts.group('state', country='US'): ...
would give you the aggregate sales figures for each state in the US, sensibly enough.  And this:
for result in accounts.break('state', country='US'): ...
would give you the individual sales figures, and then automatically provide totals after the last sales record for each state.

As long as I don't come down with kurtosis...

Update: Kang and jag.  Or rather, agg and tab.  For aggregate and tabulate. 
for line in accounts.aggregate('state', country='US'): ...
will give you one summary line for each state, where
for line in accounts.tabulate('state', country='US'): ...
would give you both detail and summary lines.  I need to put subtotal and total flags on the records for tabulate.  Have to watch the keywords, there.  And keep my closet doors closed.

* Boo, hiss!

** Or indeed
results = accounts(state='NY').aggregate()
Either way should perform the same and produce the same results.  I think...


*** Which should come out the same as the average; just one I'm calculating myself and the other I'm pulling out of a stats module.

Posted by: Pixy Misa at 03:14 AM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 316 words, total size 3 kb.

Tuesday, February 16

Geek

Just Trying Something...

http://chizumatic.mee.nu/images/03751.jpg?size=x1080&q=95

Okay, yeah, they needed that sharpening filter.  That's Minx's built-in upscaling.  Quality is not so hot, as it turns out.  I'll check on what filter it's using; normally it's only used for downscaling, which works great:

http://chizumatic.mee.nu/images/03751.jpg?size=x300&q=95

Posted by: Pixy Misa at 11:35 AM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 39 words, total size 1 kb.

Cool

I Want One!

TI BlazeScrew the iPad.  This is the future.

On the one hand, it's a huge clunky thing.

/images/TIBlaze.jpg?size=305x&q=95

On the other hand, it's a development platform, not a consumer device; it has two 800x480 touchscreens, HDMI out, and a built-in DLP projector; it has two five-megapixel cameras at front and a twelve-megapixel camera at rear; a dual-core 1.2GHz Arm Cortex A9 (superscalar out-of-order SMP); accelerometer, compass, ambient light, proximity, barometric and temperature sensors; Wifi, Bluetooth, and GPS; and easy and open access to all the electronics, networking, and software.

Tech's slate (from the Accountancy story further down) isn't that much more advanced than this beastie.

Posted by: Pixy Misa at 04:04 AM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 108 words, total size 1 kb.

Cool

Free At Last!

EA have just earned themselves brownie points with millions of gamers by re-releasing three of the older Command and Conquer games - Red Alert, Tiberian Dawn, and Tiberian Sun - free.

Get downloading!

Posted by: Pixy Misa at 12:26 AM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 36 words, total size 1 kb.

Sunday, February 14

Geek

Oodles Of Noodles

I have a working base storage class for Pita.  Unfortunately, most of my weekend was eaten up by my day job and other miscellanea, but it does work.

I'll post the full code later in the week once I have a derived class or two that does something more useful, in the meantime, here's the test code to give you an example of how it's used:
def oodle_test():
  # Create a base view
  pets = Oodle()
 
  # Create some pets
  log('Creating pets')
 
  # Create a dog, and save it
  pet = pets.new()
  pet.animal = 'dog'
  pet.sound = 'woof'
  pet.save()
  log('Dog saved, %s pets' % pets.count(),1)
 
  # Create a cat from a dict, and save it
  pet = pets.new({'animal': 'cat', 'sound': 'meow'})
  pet.save()
  log('Cat saved, %s pets' % pets.count(),1)
 
  # Append an aardvark
  pet = pets.append({'animal': 'aardvark', 'sound': 'snorf'})
  log('Aardvark appended, %s pets' % pets.count(),1)
 
  # Append a hippopotamus too
  pet = pets.append(animal = 'hippopotamus', sound = 'hrooonk')
  log('Hippopotamus appended, %s pets' % pets.count(),1)
 
  # What pets do I have?
  log('Selecting all pets')
  for pet in pets.select():
    log('My %s says %s' % (pet.animal, pet.sound),1)
   
  # Select and find on fields
  log('Selecting specific pets')
  # What does my dog say?
  for pet in pets.select(animal = 'dog'):
    log('Selected my %s; it says %s' % (pet.animal, pet.sound),1)
   
  # Can I find my cat?
  pet = pets.find(animal = 'cat')
  log('Found my %s; it says %s' % (pet.animal, pet.sound),1)
   
  return pets.count() == 4
The base view class, which has no indexes, no persistence, and no support for sorting, is called an Oodle.

The results of the test?
Creating pets
  Dog saved, 1 pets
  Cat saved, 2 pets
  Aardvark appended, 3 pets
  Hippopotamus appended, 4 pets
Selecting all pets
  My dog says woof
  My cat says meow
  My aardvark says snorf
  My hippopotamus says hrooonk
Selecting specific pets
  Selected my dog; it says woof
  Found my cat; it says meow
Oodle OK
Update: We've hit version 0.02 wih a successful hash-table implementation.  Next up is persistence...  And deletes.

Update: 0.03!  I deleted my pet hippopotamus!

Update: 0.04!  The idiom for pet in pets now works.  You can't slice it or select within it yet.

Posted by: Pixy Misa at 11:34 PM | Comments (8) | Add Comment | Trackbacks (Suck)
Post contains 356 words, total size 3 kb.

Cool

Stuff



/icons/Ac.png?size=100x&q=95/icons/Fm.png?size=100x&q=95/icons/Im.png?size=100x&q=95/icons/Io.png?size=100x&q=95
/icons/Li.png?size=100x&q=95/icons/Me.png?size=100x&q=95/icons/Ms.png?size=100x&q=95/icons/Mx.png?size=100x&q=95
/icons/Nu.png?size=100x&q=95/icons/Sh.png?size=100x&q=95/icons/Vg.png?size=100x&q=95/icons/Vu.png?size=100x&q=95

Come to think of it, I need to redo them to insert Jy and Pi.  So there may be another colour shift coming.

Posted by: Pixy Misa at 08:49 PM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 24 words, total size 1 kb.

Art

Can't Sleep, Brain Busy

Idea popped into my head for a story set in the Mina Smith universe.  Mina's a customs agent, but this time our protagonist is an accountant.  As much an accountant as Mina is a customs agent, anyway.

Just a snippet that I'll likely never finish, but anyway...
more...

Posted by: Pixy Misa at 06:38 AM | Comments (4) | Add Comment | Trackbacks (Suck)
Post contains 1937 words, total size 12 kb.

<< Page 1 of 3 >>
79kb generated in 0.1788 seconds; 59 queries returned 270 records.
Powered by Minx 1.1.4-pink.