You know when grown-ups tell you everything's going to be fine, and you think they're probably lying to make you feel better?
Yes.
Everything's going to be fine.

Saturday, December 31

Geek

My Rs Blew Off

Redis is cool.  Erlang is...  There are some really cool apps written in Erlang.

Edis is Redis in Erlang.

It's protocol-compatible (with a few caveats); that is, an application written to use Redis will run happily against Edis.

But it uses an on-disk, log-structured database (Google's LevelDB, in fact) rather than an in-memory datastore.  So it's not as fast, but it's not limited by the size of your memory either.

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

Tuesday, December 27

Geek

This. Is. Terraria!

So I was looking for something to do while my keyboard dried out* and this is what I found: The best explanation of what Terraria is about that I've yet seen.**



* I spilled my drink on it, after which it wasn't working terribly well, so I took it outside and hosed it down to get the sugary liquid out...  And now it doesn't work at all.  I'm typing this on the spare PS/2 keyboard I keep for when the BIOS decides it can't see my usual wireless keyboard.

** For values of "best" slightly skewed from normality.

Posted by: Pixy Misa at 07:09 PM | Comments (3) | Add Comment | Trackbacks (Suck)
Post contains 101 words, total size 1 kb.

Thursday, December 22

Geek

Emerald Anaconda

This is real code:
# Python
def readfile():
  for line in open("/some/file"):
    yield line

# Ruby
readfile.to_enum.each do |line|
  puts line
end

# Python
def iterate_list():
  for item in [ 1, 2, 3 ]:
    yield item

# Ruby
items = []
iterate_list.to_enum.each { |item| items << item }
puts items == [ 1, 2, 3 ] # => true
At least, it's real code if you are running RubyPython.

You can embed JavaScript in Ruby, and Lua in Python, so that gives you four languages in a single environment.  Five if you count CoffeeScript, which is a CoffeeScript to JavaScript compiler written in CoffeeScript.*

And you can of course chain things so that Lua can call back to Python which calls back to Ruby which calls a CoffeeScript function which you precompiled to JavaScript.**

* They used magic.
** Because it was there.

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

Friday, December 09

Geek

Shana

I've had parts sitting around to upgrade Nagi, my Windows 7 box, for about a year now.  The problem is that I haven't had any time when I could shut it down and do the upgrades.

So what I did instead was buy a few more parts so I can build a whole new computer.  The config is a bit of a mish-mash, a mixture of 2010 and 2011 components: A Phenom X4 945, which is not exactly new, but with a Gigabyte GA-990FXA-UD5 motherboard and 16GB of DDR3-1600 memory.

8 x 1TB Seagate 7200.11 drives (which is what I already had sitting around; drives are too damn expensive at the moment).  And a pair of Radeon 6770 video cards; combined they'll give me the speed of a 6970 for about 40% less expense, and drive 8 monitors at once into the bargain.*

Parts have shipped to the office, where I'll pick them up on Monday, so I can build the system, hopefully, some time after Christmas.

Nagi is three years old now and hasn't ever been reinstalled - I upgraded from the original Vista install to Windows 7 early this year - and is slowly succumbing to bit rot, so it's time for a change.  Once Shana is up and running I'll probably reinstall Nagi with the latest Windows Server.

* I don't actually have 8 monitors, but it's the thought that counts.

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

<< Page 1 of 1 >>
46kb generated in CPU 0.02, elapsed 0.1376 seconds.
51 queries taking 0.1193 seconds, 267 records returned.
Powered by Minx 1.1.6c-pink.
Using http / http://ai.mee.nu / 265