Older blog entries for mikal (starting at number 899)

Watch on the Rhine




ISBN: 9781416521204
LibraryThing
If you knew you were in deep trouble, had the technology to rejuvenate any soldier you wanted, and happened to be a late nineties Germany desperate for cannon fodder, would you return the SS to service? A harsh reality is that they're some of the only soldiers you have left with real combat experience, even if their politics is abhorrent. This book has an interesting underlying concept, but to a certain extent its ruined by the politics of the authors -- any concern for anything other that military strength is dismissed as another example of rampant nimbyism. However, the book tells a good story and made me think about some stuff I wouldn't have otherwise thought about, while being entertaining. So, overall a success I guess.

Tags for this post: book john_ringo tom_kratman aliens combat personal_ai rejuv legacy_of_the_aldenata germany
Related posts: Hell's Faire; Cally's War; Gust Front; A Hymn Before Battle; When the Devil Dances; The Last Colony ; The Diamond Age ; Polar City Blues; Old Man's War ; The Ghost Brigades ; Old Man's War (2); The Ghost Brigades (2)


Comment

Syndicated 2012-08-04 18:13:00 from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

Bodyguard




ISBN: 044100105x
LibraryThing
While it isn't immediately obvious, this book is quite similar to Johnny Mnemonic. The brain damage aspect is played up a bit, and gets repetitive, but the overall story is interesting and fun, even if the ending is a bit obvious from about half way through.

Tags for this post: book william_c_dietz combat corporations


Comment

Syndicated 2012-07-28 23:34:00 from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

A first pass at glance replication

A few weeks back I was tasked with turning up a new OpenStack region. This region couldn't share anything with existing regions because the plan was to test pre-release versions of OpenStack there, and if we shared something like glance then we would either have to endanger glance for all regions during testing, or not test glance. However, our users already have a favorite set of images uploaded to glance, and I really wanted to make it as easy as possible for them to use the new region -- I wanted all of their images to magically just appear there. What I needed was some form of glance replication.

I'd sat in on the glance replication session at the Folsom OpenStack Design Summit. The NeCTAR use case at the bottom is exactly what I wanted, so its reassuring that other people wanted something like that too. However, no one was working on this feature. So I wrote it. In fact, because of the code review process I wrote it twice, but let's not dwell on that too much.

So, as of change id I7dabbd6671ec75a0052db58312054f611707bdcf there is a very simple replicator script in glance/bin. Its not perfect, and I expect it will need to be extended a bunch, but its a start at least and I'm using it in production now so I am relatively confident its not totally wrong.




The replicator supports the following commands at the moment:

livecopy
glance-replicator livecopy fromserver:port toserver:port

    Load the contents of one glance instance into another.

    fromserver:port: the location of the master glance instance.
    toserver:port:   the location of the slave glance instance.


This is the main meat of the replicator. Take a copy of the fromserver, and dump it onto the toserver. Only images visible to the user running the replicator will be copied if you're using Keystone. Only images active on fromserver are copied across. The copy is done "on-the-wire", so there are no large temporary files on the machine running the replicator to clean up.

dump
glance-replicator dump server:port path

    Dump the contents of a glance instance to local disk.

    server:port: the location of the glance instance.
    path:        a directory on disk to contain the data.


Do the same thing as livecopy, but dump the contents of the glance server to a directory on disk. This includes meta data and image data, and this directory is probably going to be quite large so be prepared.

load
glance-replicator load server:port path

    Load the contents of a local directory into glance.

    server:port: the location of the glance instance.
    path:        a directory on disk containing the data.


Load a directory created by the dump command into a glance server. dump / load was originally written because I had two glance servers who couldn't talk to each other over the network for policy reasons. However, I could dump the data and move it to the destination network out of band. If you had a very large glance installation and were bringing up a new region at the end of a slow link, then this might be something you'd be interested in.

compare
glance-replicator compare fromserver:port toserver:port

    Compare the contents of fromserver with those of toserver.

    fromserver:port: the location of the master glance instance.
    toserver:port:   the location of the slave glance instance.


What would a livecopy do? The compare command will show you the differences between the two servers, so its a bit like a dry run of the replication.

size
glance-replicator size 

    Determine the size of a glance instance if dumped to disk.

    server:port: the location of the glance instance.


The size command will tell you how much disk is going to be used by image data in either a dump or a livecopy. It doesn't however know about redundancy costs with things like swift, so it just gives you the raw number of bytes that would be written to the destination.




The glance replicator is very new code, so I wouldn't be too surprised if there are bugs out there or obvious features that are lacking. For example, there is no support for SSL at the moment. Let me know if you have any comments or encounter problems using the replicator.

Tags for this post: openstack glance replication multi-region canonical
Related posts: Further adventures with base images in OpenStack; Openstack compute node cleanup; Taking over a launch pad project; Got Something to Say? The LCA 2013 CFP Opens Soon!; Slow git review uploads?; Wow, qemu-img is fast; Reflecting on Essex; Are you in a LUG? Do you want some promotional materials for LCA 2013?; Announcement video; linux.conf.au Returns to Canberra in 2013; The next thing; MySQL Users Conference; Folsom Dev Summit sessions; Call for papers opens soon

Comment

Syndicated 2012-07-10 16:09:00 from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

21 May 2012 (updated 21 May 2012 at 04:07 UTC) »

Got Something to Say? The LCA 2013 CFP Opens Soon!

The call for presentations opens on 1 June, which is only 11 days away! So if you're thinking of speaking at the conference (a presentation, tutorial, or miniconference), now would be a good time to start thinking about what you're going to say. While you're thinking, please spare a thought for our web team, who are bringing up the entire zookeepr instance so that the CFP will work properly.

We've been getting heaps of stuff done over the past few months. We've had a "ghosts" meeting (a meeting with former LCA directors), found conference and social venues, and are gearing up for the Call For Presentations.

We've signed a contract for the keynote venue, which I think you will all really enjoy. We have also locked in our booking for the lecture theatres, which is now working its way through the ANU process. For social events, we've got a great venue for the penguin dinner, and have shortlisted venues for the speakers' dinner and the professional delegates' networking session. We're taking a bit of extra time here because we want venues that are special, and not just the ones which first came to mind.

The ghosts meeting went really well and I think we learnt some important things. The LCA 2013 team is a bit unusual, because so many of us have been on a LCA core team before, but that gave us a chance to dig into things which deserved more attention and skip over the things which are self-evident. We want to take the opportunity in 2013 to have the most accessible, diverse and technically deep conference that we possibly can, and there was a lot of discussion around those issues. We've also had it drummed into us that communications with delegates is vitally important and you should expect our attempts to communicate to ramp up as the conference approaches.

I'm really excited about the progress we've made so far, and I feel like we're in a really good state right now. As always, please feel free to contact the LCA2013 team at contact@lca2013.linux.org.au if you have any questions.

Tags for this post: conference lca2013 cfp canonical
Related posts: Call for papers opens soon; Taking over a launch pad project; LCA 2006: CFP closes today; Slow git review uploads?; Further adventures with base images in OpenStack; Wow, qemu-img is fast; Reflecting on Essex; Are you in a LUG? Do you want some promotional materials for LCA 2013?; Announcement video; linux.conf.au Returns to Canberra in 2013; The next thing; Folsom Dev Summit sessions; Openstack compute node cleanup

Comment

Syndicated 2012-05-20 19:35:00 (Updated 2012-05-21 04:07:55) from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

Catching Fire




ISBN: 9781407109367
LibraryThing
This is the second book in the Hunger Games trilogy after the first book of the same name. This book is very similar to the first in terms of style, although I think the start is a lot slower. Once you plow through the first 150 pages or so the book rapidly improves though, and I was happy with where it went overall. Good teen fiction.

Tags for this post: book suzanne_collins combat hunting post_apocalypse hunger_games
Related posts: The Hunger Games; Death Bringer; Battlefields Beyond Tomorrow ; East of the Sun, West of the Moon; Canned hunting; Bolos 1: Honor of the Regiment; Iron Master; Cloud Warrior; Amtrak Wars; Earth Thunder; First Family; Emerald Sea; Body Armor: 2000; Without Warning; Blood River; Against the Tide; The Stars Must Wait; Bolos 2: The Unconquerable; There Will Be Dragons


Comment

Syndicated 2012-05-10 04:55:00 from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

Jupiter




ISBN: 9780812579413
LibraryThing
This is the first book of Ben Bova's that I've read. Before that I've only read "The Nonmetallic Isaac or It's a Wonderful Life" in Foundation's Friends. I bought this book randomly because I had run out of things to read on a business trip, and I don't regret it. The book is well paced, interesting and fun to read. It also explores alien life in a way which is particularly believable (unlike many other SF books I encounter). This book reminds me of Dragon's Egg without being so hard-SFy. A very good book.

Tags for this post: book ben_bova alien aliens jupiter exploration religion
Related posts: Isaac Asimov's Robot City: Robots and Aliens: Humanity; Isaac Asimov's Robot City: Robots and Aliens: Maverick; Dragon's Egg; Runner; Starbound; The Accidental Time Machine ; Patron saints; Isaac Asimov's Robot City: Robots and Aliens: Changeling; Logos Run; Marsbound; Speaker For The Dead; Snow Crash ; Camouflage ; Isaac Asimov's Robot City: Robots and Aliens: Alliance; The Robot City, Robots and Aliens Series; The Coming; Isaac Asimov's Robot City: Robots and Aliens: Intruder; Isaac Asimov's Robot City: Robots and Aliens: Renegade


Comment

Syndicated 2012-04-22 19:37:00 from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

The Hunger Games




ISBN: 9780439023528
LibraryThing
I picked this up in the US really cheap because I had run out of books to read on this trip. This book is pretty heavily hyped at the moment, but that's also why I got the book for $6 at a book store, so I can't complain. The book is an easy read, and fun. Its obviously aimed at teenagers, but I don't mind teen fiction as a genre and I read this book in a little over a day. The story line is similar to The Survivor in Battlefields Beyond Tomorrow, but is distinct enough to not be plagiarism. I enjoyed this book.

Tags for this post: book suzanne_collins combat hunting post_apocalypse
Related posts: Death Bringer; Battlefields Beyond Tomorrow ; East of the Sun, West of the Moon; Canned hunting; Bolos 1: Honor of the Regiment; Iron Master; Cloud Warrior; Amtrak Wars; Earth Thunder; First Family; Emerald Sea; Body Armor: 2000; Without Warning; Blood River; Against the Tide; The Stars Must Wait; Bolos 2: The Unconquerable; There Will Be Dragons


Comment

Syndicated 2012-04-16 14:04:00 from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

The Android's Dream




ISBN: 9780765348289
LibraryThing
This is a Scalzi book, so its clever and funny, and has possibly one of the best first sentences I have read ever. It is a light read, and I finished all of it apart from the last 50 pages or so on a single flight. Scalzi also plays again with the idea of transferring consciousness, which is something which he deals with a lot in the Old Man's War series. I liked this book.

Tags for this post: book john_scalzi genetic_engineering aliens
Related posts: Cyteen: The Vindication; East of the Sun, West of the Moon; The White Dragon; Runner; Cyteen: The Betrayal; Rendezvous With Rama; Logos Run; Emerald Sea; Nerilka's Story; Dragonsinger; There Is No Darkness; The Dolphins of Pern; Dragondrums; Dragonquest; The Renegades of Pern; Dragonsdawn; Cyteen: The Rebirth; Against the Tide; The Chronicles of Pern: First Fall; The Dragonlover's Guide to Pern; Dragonsong


Comment

Syndicated 2012-04-14 13:48:00 from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

Logos Run




ISBN: 0441015360
LibraryThing
This is the continuation from Runner, and continues the story of the attempt to re-enable the star gates. It has the comicly incompetent Technosociety once again, as well as series of genetically engineered protagonists. I am bothered by why the star gate power supplies cause people to fall ill -- you'd think in a highly advanced society capable of building star gates they might have spent some time on shielding. Or did the shielding somehow fail on all the power sources sometime over the thousands of years of decay? The has a disappointing ending, but was a fun read until then. I find it hard to suspend disbelief about how the AIs present themselves, but apart from that the book was solid. This one is probably not as good as the first.

Tags for this post: book william_c_dietz religion combat space_travel decay courier engineered_human genetic_engineering runner_series
Related posts: Runner; The Accidental Time Machine ; Rendezvous With Rama; Friday ; Cyteen: The Vindication; Battlefields Beyond Tomorrow ; East of the Sun, West of the Moon; The White Dragon; The Moon Is A Harsh Mistress; The Last Colony ; Zoe's Tale; The Ship Who Sang ; Down and Out in the Magic Kingdom; Cyteen: The Betrayal; Starbound; Patron saints; Buying Time; Marsbound; Red Mars; Emerald Sea; Snow Crash


Comment

Syndicated 2012-04-14 13:45:00 from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

11 Apr 2012 (updated 11 Apr 2012 at 01:10 UTC) »

Folsom Dev Summit sessions

I thought I should write up the dev summit sessions I am hosting now that the program is starting to look solid. This is mostly for my own benefit, so I have a solid understanding of where to start these sessions off. Both are short brainstorm sessions, so I am not intending to produce slide decks or anything like that. I just want to make sure there is something to kick discussion off.

Image caching, where to from here (nova hypervisors)

As of essex libvirt has an image cache to speed startup of new instances. This cache stores images direct from glance, as well as resized images. There is a periodic task which cleans up images in the cache which are no longer needed. The periodic task can also optionally detect images which have become corrupted on disk.

So first off, do we want to implement this for other hypervisors as well? As mentioned in a recent blog post I'd like to see the image cache manager become common code and have all the hypervisors deal with this in exactly the same manner -- that makes it easier to document, and means that on-call operations people don't need to determine what hypervisor a compute node is running before starting to debug. However, that requires the other hypervisor implementations to change how they stage images for instance startup, and I think it bears further discussion.

Additionally, the blueprint (https://blueprints.launchpad.net/nova/+spec/nova-image-cache-management) proposed that popular / strategic images could be pre-cached on compute nodes. Is this something we still want to do? What factors do we want to use for the reference implementation? I have a few ideas here that are listed in the blueprint, but most of them require talking to glance to implement. There is some hesitance in adding glance calls to a periodic task, because in a keystone'd implementation that would require an admin token in the nova configuration file. Is there a better way to do this, or is it ok to rely on glance in a periodic task?

Ops pain points (nova other)

Apart from my own ideas (better instance logging for example), I'm very interested in hearing from other people about what we can do to make nova easier for ops people to run. This is especially true for relatively easy to implement things we can get done in Folsom. This blueprint for deployer friendly configuration files is a good example of changes which don't look too hard to implement, but that would make the world a better place for opsen. There are many other examples of blueprints in this space, including:



What else can we be doing to make life better for opsen? I'm especially interested in getting people who actually run openstack in the wild into the room to tell us what is painful for them at the moment.

Tags for this post: openstack canonical folsom image_cache_management sre
Related posts: Reflecting on Essex; Further adventures with base images in OpenStack; Openstack compute node cleanup; Managing MySQL the Slack Way: How Google Deploys New MySQL Servers; I won a radio shark and headphones!; Conference Wireless not working yet?; Taking over a launch pad project; Off to the MySQL tutorials; Links from Rasmus' PHP talk; MySQL Workbench; Slow git review uploads?; Thoughts on the first day of the MySQL user's conference; MySQL cluster stores in RAM!; Wow, qemu-img is fast; Registered for MySQL User Conference 2006; Are you in a LUG? Do you want some promotional materials for LCA 2013?; Announcement video; linux.conf.au Returns to Canberra in 2013; The next thing; MySQL Users Conference; Managing MySQL the Slack Way: How Google Deploys New MySQL Servers

Comment

Syndicated 2012-04-10 16:12:00 (Updated 2012-04-11 01:10:03) from stillhq.com : Mikal, a geek from Canberra living in Silicon Valley (no blather posts)

890 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!