Archive for November 27th, 2007

Workbench beta adventure on Linux with Mono/WINE

Tuesday, November 27th, 2007

MySQL Workbench has a beta out! No idea why its version 5.0.9, but its highly exciting. This software existed before, but this is quite unlike its predecessor. One snag for me is that it is Windows-only at the moment, with Linux and OS X versions to follow suit.

However, due to excitement, I decided to try running it on Linux, anyway.

Seeing that it is a .NET application, I thought I’d pass it through MoMA (the migration analyser). Everything passed, so I got excited. Running mono MySQLWorkbench.exe however, led me to a failure:
** ERROR **: Method ‘<Module>:<CrtImplementationDetails>.DoDllLanguageSupportValidation ()’ in assembly ‘/home/byte/Downloads/MySQL Workbench 5.0.9 OSS Beta/wb.wr.dll’ contains native code and mono can’t run it. The assembly was probably created by Managed C++.

So I hopped onto #workbench on Freenode, where the MySQL Workbench crew hang out, and spoke with Mike Zinner (team lead for this software). He mentioned to me that it probably wouldn’t work, as there are some 3rd-party FOSS controls that rely on Win32 API calls. Immediately, I think of WINE.

Running it against WINE, I get an error basically telling me I need Mono for Windows:
fixme:actctx:parse_manifest_buffer root element is L”asmv1:assembly”, not <assembly>
install the Windows version of Mono to run .NET executables


Workbench fails on me in WINE

Downloaded mono-1.2.5.2-gtksharp-2.10.2-win32-0.exe, installed it via WINE, and then made another attempt at running Workbench, only to see a similar failure, this time in GUI form.

A little disappointed, I think the next option is to run Workbench in a virtualized Windows environment. KVM immediately came to mind, with only one minor snag - while its full CPU hardware virtualization, it doesn’t virtualize the graphic layer as well (it just emulates a graphics card, like it does for pretty much every device). Windows will see a Cirrus Logic card, from ages ago. This means, no OpenGL support, which Workbench really needs (otherwise, it drops down to software rendering, and becomes much slower).

However, there is hope. Check out VMGL, which is OpenGL Hardware 3D Acceleration for Virtual Machines. This should work with Xen and KVM, so I’ll give it a twirl, and see how it goes.

If you’re on a Mac, I am told that VMWare Fusion does not do OpenGL, so you’re out of luck there. However, Parallels does - so let that be your virtualization option of choice, if you’re on an Intel Mac.

Next stop, to go out and buy Windows Vista - wish me luck!

Technorati Tags: , , , , , , , ,

My thoughts on how I can help the less fortunate

Tuesday, November 27th, 2007

I realise I was really angry, on Sunday. I mean, I spent a little over a weekend, being a prisoner in my own homeland (thanks to all the police roadblocks, targeting people of the wrong skin colour). I’ve yet to feel this way in Melbourne, where I spend most of my time nowadays.

I am Malaysian. A Malaysian Malaysian. A country that still profiles via race, is doomed, and this thinking will disappear as the young, grow up. A Malaysia where the Gen-Y controls the country, will be a lot better and more open. Besides, with mixed-marriages, and all the normal inter-racial fun, I don’t see why Malaysia, can’t be Truly Asia. Welcome back, the idea of Bangsa Malaysia.

I applaud the protesters that go to the BERSIH or Hindraf rallies. They’re truly Malaysian. Khairil says it best :) I’m really happy that there are people I know of, ordinary folk, whom go to these rallies - read some accounts from Su Ann, and a couple from my junior at school Shazeea.

As a Malaysian, predominantly living overseas and spending copious amounts of time away from my country of birth, there is no point in I getting emotional over things. I’m probably from the upper-medium-class of families, and life is pretty cushy. Heck, by virtue of just not living in Malaysia, makes me not feel the day-to-day pains (like 20% fuel price hikes, toll hikes, etc.), felt by fellow Malaysians. That doesn’t mean I can’t get angry and request change.

So, in my spare time, while I’m in KL, I’m not going to spend it wailing away enjoying cheap drinks and the amazing night-life. I’ve decided that there are only several things I can do, that can really make an impact:

  • help the poor, by educating them. I remember back in 1998, there was a NetDay project, where we got old i386 machines, loaded PicoBSD onto them, and made them useful again. I plan on sourcing machines, to be re-purposed in community centres. If a community centre doesn’t exist, maybe the “village leader’s” home can be used. I’ve thought about this quite a bit, and realise that connectivity matters, and so on and I’m hoping that I get “help” and “assistance” to make this flow. I only have aims of ensuring people use FLOSS applications, and hopefully have online connectivity, because that’s clearly where the future is at. I can provide training, setup PCs, and probably do so much more. If you’re in shackles, its because of lacking education - breaking free, is my aim.
  • document the poor. One of my hobbies is photography, and I’m not half bad at that. I plan on taking photos of the less fortunate, their living conditions, and tell their stories. I’ll license it under the Creative Commons, so folk can also make use of it, if they see fit. This isn’t going to be easy, because its time consuming, and I’d probably need to get around in a car, but let’s see how far I get. Maybe it’ll inspire others to continue

The poor are everywhere. They’re not only ethnic Indian. There are ethnic Chinese and Malays that are poor too. The last couple of sentences can truly be summed up as - the poor are everywhere, in Malaysia. They’re Malaysian.

Enough ranting, its now time to work on the doing.