Awasu » General
Tuesday 3rd January 2017 9:07 PM [General]

I'm not a big one for browser plugins and add-ons, but one thing I absolutely love is this simple, but very cool, bookmarklet. In the author's own words:

I hate sticky headers. I want to kill sticky headers.

So I made this bookmarklet.

It removes those unbelievably annoying full-page overlays, header bars, chat boxes, anything that stays in a fixed position, from a web page[1]Technobabble: it looks for anything with a CSS position of "fixed" and removes it from the DOM.. I so want this in Awasu, so I was mulling over how best to implement it, when it occurred to me that you could already do it :wall:

Simply create a new user tool[2]Choose "Organize user tools..." from the Tools menu. called, say, "Kill stickies", with the following Javascript:
javascript:(function(){(function(){var i,elements=document.querySelectorAll('body *');for(i=0;i<elements.length;i++){if(getComputedStyle(elements[i]).position==='fixed'){elements[i].parentNode.removeChild(elements[i]);}}})()})()

Then, when you browse to a page that has these pesky things on it, just run the user tool and they'll be removed from the page! ๐Ÿ˜Ž

Wishing y'all a great and sticky-free 2017 ::-):

   [ + ]

1. Technobabble: it looks for anything with a CSS position of "fixed" and removes it from the DOM.
2. Choose "Organize user tools..." from the Tools menu.
Sunday 15th May 2016 7:24 PM [General]

Those of you who have been here for a while might remember that I used to run a music bar in Thailand a while back. One night, I was doing my one-man show, when a guy in a cowboy hat wandered in and sat down to listen. During the break, I went over and had a chat with him, and found out that, he too, was a musician.

I didn't know it at the time, but he was David LaMotte, and is one of the bigger names in the U.S. folk scene. He was in town to give a show at one of the universities, and was staying at a hotel around the corner.

We got on pretty well, one beer led to another, and we somehow ended up with him performing a special show at the bar, and it was definitely one of the most memorable shows we ever had. I did a lot of recording at the bar, and while this show[1]There is also video available here, although the video quality is less than stellar ๐Ÿ˜ was one of the earlier ones I did, and so the sound engineering is less sophisticated than if I did it again today, it's not bad and (hopefully) catches the warmth of his performance. Folk is not something that I'm really into, but his songs are very accessible, and have a warmth and honesty that's quite amazing.

He has been on a musical hiatus for the past ten years, instead doing things like helping build and fund schools in Guatemala, travelling the world, speaking on how each of us can effect change, and helping select Nobel Peace Prize candidates (!)

However, the time has come and he's back in the studio, putting down a new CD in what sounds like a fascinating project, with a menagerie of musicians from every continent.

Being the cynical, grumpy old fart I am these days, it's not often I see someone who I would call inspirational, but this guy is definitely one of them. Check out his music, then put a few dineros in his jar to help make the CD happen. I have.

   [ + ]

1. There is also video available here, although the video quality is less than stellar ๐Ÿ˜
Monday 16th June 2014 7:56 AM [General]

Almost 8 years ago to the day, I wrote about watching Japan play Australia in a World Cup group match, where they held a one goal lead for most of the match, only to concede 3 goals in the last 8 minutes.

Yesterday, Japan played their first group match again the Ivory Coast and while I wasn't able to watch the first half, I caught most of the second, and things seemed to be going well, with Japan having scored early in the game.

I was stuck at a bus station and was literally getting onto the bus when the Ivory Coast scored an equalizer. Nevertheless, I went to sleep on the bus assuring myself that it would end in a 1-1 draw, so I was somewhat miffed to find out this morning that we had, yet again, given away flurry of goals and thrown away the match ๐Ÿ™

That night 8 years ago, I accidentally watched the game in a pub full of Aussies, and while there will be no chance of that happening again this time, June 24th could be interesting, since Japan plays Colombia, and I will be in Colombia... :bigshock:

Friday 13th June 2014 3:14 PM [General]

Excuse my language, but OMFG THIS IS FREAKING UNBELIEVABLE!!! :jig:

Bill Watterson, he of Calvin and Hobbes fame, the "Bigfoot of cartooning", quietly came out seclusion last week and drew a few panels of Pearls Before Swine, the well-known web-comic.

Stephan Pastis sets up the story like this:

He is legendary. He is reclusive. And like Bigfoot, there is really only one photo of him in existence.

Few in the cartooning world have ever spoken to him. Even fewer have ever met him.

In fact, legend has it that when Steven Spielberg called to see if he wanted to make a movie, Bill wouldnโ€™t even take the call.

He then goes on to explain how he sent Bill an email:

[I] thanked him for all his great work and the influence heโ€™d had on me. And never expected to get a reply.

And what do you know, he wrote back.

Let me tell you. Just getting an email from Bill Watterson is one of the most mind-blowing, surreal experiences I have ever had. Bill Watterson really exists? And he sends email? And heโ€™s communicating with me?

But he was. And he had a great sense of humor about the strip I had done, and was very funny, and oh yeah...

...He had a comic strip idea he wanted to run by me.

Turns out, the idea was to guest-draw a few panels in Pearls Before Swine, that ran earlier this month:








The comments people posted for each strip are kinda funny, now that we know what's really going on ๐Ÿ™‚ And check out the full story on Stephan's blog. Meeting your heroes can sometimes be a disappointing experience, but it sounds like this one definitely wasn't.

I've written before about how much I like C&H (seriously, who doesn't?), so the thought that Bill has surfaced and is wielding a pen again is pretty awesome news!

Set my hair on fire, I surely would! Not that there's much left, I'd hardly miss it... ๐Ÿ˜

Sunday 30th March 2014 8:54 AM [General]

Yup, it's official. Just in case there was any, you know, doubt ๐Ÿ™„

If you've been following this blog for a while, you'll know that I like to travel. The first time I hit the road was in '93 and while I didn't really know where I wanted to go, I just had a hankering to go somewhere. I eventually decided on Montreal in Canada - the whole French/English thing sounded intriguing, it's got a great music scene, the food's good, what's not to like? I got a ticket from Oz to Vancouver, with the plan of travelling across Canada by train until I got to Montreal.

It was winter in North America at the time, and my guide book told me that temperatures could drop to -20°C or lower, and me, being fairly young and stupid, thought "oh, that won't be a problem, I'll just pack an extra sweater and she'll be right" ๐Ÿ™„

Once in Vancouver, a Canadian guy who had worked in central Canada during the winter explained to me the realities of extremely cold weather, so I decided to head south and travel through America instead. It was a great trip, but I never made it to Montreal and it's been a source of amusement to me that, for all the travel I've done in the intervening 20 years, I still haven't been there.

As part of my quest to visit places before they radically change :), I'm going to Cuba next month. I was supposed to play at a blues festival in Thailand next week, but that got cancelled, and I messed up the flight times for my transit through Toronto, so I ended up having to change my ticket and if I had to do that, I figured I might as well spend a few days in Montreal. Woo hoo! :clap:

I checked what the weather was going to be like, and it's spring, so it'll be max'ing out at about 5°C, maybe -10°C at night, and of course, I said to myself "oh, that won't be a problem, I'll just pack an extra sweater and she'll be right" :wall:

And after rebooking my flights and hotels, I found out that the east coast of Canada is being mauled by the worst storm in a decade, sinking ships and closing airports. It's far enough east to apparently not be affecting Montreal, but you never know - I'm this close to making it to City of Saints, so I'm sure the gods will be conspiring to make sure I don't actually get there :drevil:

Anyway, -10°C isn't that bad, and I've got myself a nice warm sweater :), so hopefully it'll all be good. We'll see...

Update: it's gratifying to see that you can still go up against the gods, and win ๐Ÿ™‚ First, Air Canada told me that flights that day from Toronto to Montreal were maybe being cancelled, due to weather in Montreal. Then, they didn't want to honor my ticket, although in all fairness, I used an Australian credit card, in Thailand, to purchase a flight in Canada, so it's understandable they were a bit iffy abut it. However, they made me stand in line for 2 hours to repurchase the same ticket, using the same credit card ๐Ÿ™ There were only 3 people in the queue but - and I swear on little green onions, I'm not making this up - they were taking 45-60 minutes to process each person :bigshock: Then the flight almost didn't take off because of mechanical problems.

Note to self: never fly Air Canada again. I've been on flights where there were goats on board that were better organized than these guys ๐Ÿ™„

Finally made it, though. I had to laugh when I got to Montreal airport - my backpack came out on the conveyor belt with ice on it, and walking out onto the street, I realized how long it had been since I had seen snow. And -10°C is not that bad; cold has never really bothered me, although I'm very glad I brought my new sweater... ๐Ÿ™‚

Wednesday 26th March 2014 12:26 AM [General]

I was in Burma the other month and...

Well, the first problem with talking about Burma is what do you call it? It was renamed as the Union of Myanmar in '89, but some people refuse to use that name since it would confer some legitimacy to the military government. On the other hand, some people are unhappy using the name Burma, since that's what the colonial British called it. You can't win, so I'll call it Burma, since I'm old school [1] ๐Ÿ™„

Anyhow, I was in Burma the other month, and very excited to finally make it. I had planned to go in 2008, but Cyclone Nargis hit, which put a kibosh on that trip. It affected only a small part of the country, but IIRC, the government was so intent on controlling the message that was getting out, and stopping journalists from running around and reporting on stuff, that they made it very difficult to get in.

Nowadays, it's a completely different story. The government has opened things up for tourism, and while there are still parts of the country foreigners are not allowed to go, it's much easier to get in and travel around, and tourist numbers have been nearly doubling annually for the past few years.

Of course, there's a lot of debate about whether or not people should visit the country, since a lot of your tourist dollars end up in the hands of the government, but many feel (as I do), that small-scale tourism can be very beneficial to people on the street, not only financially but also in terms of bringing in outside knowledge and experiences and influences.

Mrauk-U and Sittwe

Mrauk-U is the old capital of the Arakanese kingdom, with many temples scattered around the town. It's definitely not on the main tourist trail and the area was recently closed off to foreigners due to fighting. Everyone was telling me that road travel was forbidden and you had to fly, but I'd heard word of some people that had made it through by bus, so I decided to give it a shot. Like many things in Burma, there are rules upon rules, but no-one really cares about enforcing them, and I managed to make it all the way by bus. It was a brutal 36-hour trip :bigshock:, including several checkpoints where I slid down in my seat and pulled my cap down over my eyes. Being Asian surely helped a bit there ๐Ÿ™‚

I was surprised at how developed Sittwe was, with paved roads, small supermarkets and internet cafes. If you squinted just right, it could just be another small town in country Thailand. No buffalo wandering the main road here. There is some tension between the various ethnic groups, and Buddhists and Muslims, and unlike most of the other places I visited, it was clearly visible, with parts of the town blocked off as Muslim-only areas, armed guards blocking entry.

But while checking out temples is fine, I always much prefer just walking around and getting out of town. People were lovely all over Burma, and noticeably honest. There weren't the blatant rip-offs and scams that infest Thailand, and I was happy ordering meals without checking the price first, and letting people pick their change out of my wallet.

And the kids were delightful... ๐Ÿ™‚

I also love visiting markets. They're noisy and crowded and chaotic and Sittwe's Central Market was all of that, and then some. Sittwe is on the western side of Burma, near India and Bangladesh, and there were an amazing number of different ethnic groups there. I haven't seen a market like this since the souks in the Middle East! Check out those fish!

Yangon (Rangoon)

Yangon was, until recently, the capital of Burma, when the government decided to pick everything up and move it all to Naypyidaw, although it's still the largest and busiest city in Burma.

The extraordinary rate at which things are changing is most apparent here. Most people have mobile phones, and smartphones at that; I saw only a handful of Nokia's during the entire trip. The roads are clogged with modern cars (motorbikes are banned [2] :shock:), and Western-style hotels and cafes and malls are going up all over the place.

I stayed in the downtown area, which is completely overrun with street markets. Cool! ๐Ÿ™‚


Mandalay

The name Mandalay conjures up so many images but in reality, it's a dusty, polluted, crowded city ๐Ÿ™

However, there was a huge market near where I was staying and I was there in the late afternoon, when the nuns were making their rounds.

Outside the city, on the other hand, is beautiful. U-Bein bridge is the longest teak bridge in the world and while the guidebook painted a picture of monks daintly crossing it at the break of dawn, the reality was that it was mostly joggers and other people doing aerobics and tai-chi, so the bridge was constantly bouncing up and down. Still very pretty, though... ๐Ÿ™‚

Bagan

Bagan is one of the tourist hotspots, with hundreds of temples dotted around the countryside. Many of them are still in active use and easily accessible on the small electric bikes that foreigners are allowed to ride. It's just as impressive as Angkor Wat, but there are hardly any people there!




 

 

As luck would have it, on my last night I saw a post from Ethan Zuckerman about a talk he had recently given in Yangon. Bugger, if I'd've known, I would've gone down. I've been following his work for quite a few years, and his blog is one of those that I recommend to new users of Awasu after they install it.

It was a great post, but I did find one thing that he wrote a bit odd:

... but I am most interested in the question of how the internet may change what it means to be a citizen. There have been great hopes for the internet and democracy, the idea that governments can listen to peopleโ€™s wants and needs more directly, that citizens might vote directly on legislation or help draft new laws, that we might have robust debates in a digital pubic sphere where itโ€™s possible for everyone to express their opinions.

I would've thought the more interesting question would be how the internet allows individuals to effect change. One can only assume that during the Arab Spring and other similar events, people weren't using the internet to discuss ideas or vote on new legislation ๐Ÿ™„ It's about people connecting with each other, spreading news and information and new ideas, without middlemen, with their agendas and spin, and this is one of the big reasons why I favor small-scale tourism in places like this. The government is slowly opening access to the internet and allowing foreigners in, but I suspect they'll find that once they let the genie out of the bottle, it will be difficult to keep it on a leash ๐Ÿ™‚


[1] Yes, I also can't get my head around Ho Chi Min City and still call it Saigon.
[2] The rumor is that a general's son was killed by a motorbike.

Wednesday 16th October 2013 4:34 PM [General]

I'm not one for link dumps but these are too good not to share.

One of the downsides of having been doing IT for as long as I have [1] is that you've heard all the jokes many times before, but here's a list of some new ones.

Yoda Conditions
Using if(constant == variable) instead of if(variable == constant), like if (4 == foo). Because it's like saying "if blue is the sky" or "if tall is the man".

The best one is hidden way down in the comments:

Yoda Exception Handling: Do, or do not; there is no try.

:hysterical:

 

Next up is an amazingly interesting list of useful hidden features in Python. I tend to use Python as a better scripting language (since writing anything longer than a few lines in shell script or Windows batch files Truly Sucks®) but things like this remind me how really cool it is.

I'm hoping to have a bit of free time over the next few weeks (yeah, right :roll:) and one of the things I want to do is to spend a bit of time looking into the new features of Python. If you're into Python, JetBrains recently released a free version of their PyCharm IDE, and after a quick play with it, it looks pretty good. These are the same guys who make the IntelliJ IDE, which I have used [2], and is probably the only piece of Java software I've used that I have any time for ๐Ÿ™„

 

As an aside, I'm in Cebu in the Philippines right now [3], which is not far from where the big earthquake happened and I was woken up yesterday morning by the whole room shaking and big cracks appearing in the walls :bigshock: 24 hours later, we're still getting tremors and I've been getting slightly seasick as I work in my room. I'm not sure if it's just my imagination but I'm sure the floor is gently rolling from side to side ๐Ÿ˜ฎ Tomorrow I sail to Dumaguete, which was also affected, and then in a couple of weeks, I'm off to Taiwan, which is rather close to Fukushima and an incoming typhoon.

Awasu 3.0.1 will be coming soon (hopefully), possibly slightly hot... ๐Ÿ™„

 

[1] I won't say it, since I'm sure all the kids are sick to death of hearing me say how I started out on punch cards ๐Ÿ™„
[2] Yes, I have worked professionally using Java. Just shoot me now ๐Ÿ˜ฅ
[3]My favorite sign is still there, albeit slightly faded.

Monday 19th August 2013 7:45 PM [General]

I always enjoy reading Dadhacker's posts. He's pretty hard-core technical and has been cutting code for even longer than me (but only by a few years)!

He recently wrote about a piece of hardware junk he found in someone's basement recently. Well, not quite, it was actually one of the very first Cray super-computers ever made, serial #3 actually ๐Ÿ™‚

One of the computing center staff was walking by when I took this picture. He said that they have one in a museum in London that is roped off. When he remarked to one of the curators there that "Ours is better" they asked him why. "You can sit on ours."

My very first job was in the late 80's, working on Honeywell Bull DPS-8 and DPS-90 mainframes, and DadHacker's comment that "your average cell phone will run rings around the CRAY-1" piqued my interest, enough that I did a bit of digging around to get the hardware specs for those behemoths. Unfortunately, the best I could find was this press release for the DPS-9000, a successor to the DPS-90. It had 1 GB of main memory and 1 MB of cache memory, split amongst 1-4 CPU's, which compares well against the Cray's 8 MB of main memory and 0.080 GHz single CPU ๐Ÿ™‚

And while we might laugh at this kind of hardware today, these computers were always about I/O. They were used as database engines, so it was important to have powerful I/O, and the DPS-9000 allowed for up to 1000 input/output channels. I remember the DPS-90's could have up to 4 independent I/O processors, and devices were connected to them, not the mainframe itself, to offload some of the processing. These IOP's were small computers in their own right, with their own operating system, and could be brought up and down individually.

When I started, a lot of the connected disk storage were disk packs, like this on the right. I'm not sure how much they held, but it was probably only a few hundred MB, which wasn't much even in the 80's.

We soon started getting 3380 disk systems, which were the absolute bee's knees - up to 8 2.5GB drives, for a grand total of 20GB. I think we had at least a dozen of these monsters! To compare, the SD card on the right holds 32 GB, and is definitely not to scale - the 3380 cabinet's were well over a metre high.

I tell kids today that I've been doing IT for so long, I started on punch cards (true - we had the MONECS time-sharing system at school), and it's easy to forget how far things have come, so quickly. There's a brief history of disk technology here, with some great pics. My Galaxy S2 does indeed run rings around the old DPS mainframes (on paper, at least - you would never try to run the whole of Telecom Australia's customer database on it :-|), far more cheaply, uses less power and doesn't take a whole secure, air-conditioned facility to do it. And I can play Defender on it :clap:

Monday 19th November 2012 10:15 PM [General]

A while back, I raved about Reaper, a really cool piece of software for recording and mixing music. Yesterday, it was their 7th birthday and they've certainly come a long way.

This is the early v0.0 version....

...and this is where they're at today, seven years later, using White Tie's stunning Imperial theme.

Good things take time to create, and it must be amazing feeling for the Reaper team to look back and think about how far they've come. Awasu has been around for a little longer - we started in 2002 - and our before screenshot looks pretty good as well ๐Ÿ™‚

 

I'm currently stress-testing The Beast and it's coming along well - it's quite cool watching Awasu madly creating channels and running reports, all via automated scripts running on another machine. Awasu Server is just the next stage of a larger plan for the product, so stay tuned...

Wednesday 11th April 2012 6:34 PM [General]

Yes, yes, it's been very quiet here lately but as always, it's because I've been insanely busy.

As some of you know, I've taken an interest in sound engineering and have been busy teaching myself how to record and mix. Some of my early attempts are here but this week, my first real CD is coming out.

Nok "La Fiesta" is an old friend of mine (I used to play in her band, many years ago) and she's been playing at The Bear Bar for the past few months. During March, we recorded a couple of sessions and I've been locked away in the dungeons these past few weeks, madly mixing everything, and this Thursday, it all comes to a head and we're having the launch party :jig: If you're in town, come on down and join the party, otherwise you can listen to the tracks here and if you like them, buy them here (it's the price of a cup of coffee! how could you say no?!).

Videos of the sessions are also up here, and you know the musicians are cringing because I had to leave in all the mistakes that I took out for the CD ๐Ÿ˜‰