2012-07-29
Openness has little to do with it
2012-07-07
A week in Ubuntu: The good, the bad and the ugly
2011-04-11
Natty Not-quite
- The dock is unwieldy if you have a lot of applications. I either have to scroll ( really slowly ) or drag vertically which is clunky at best with a mouse.
- The dock is a little too twitchy and none of the behavior options feel right. There's something annoying about having to go to the top to activate it. I have to direct my mouse a bit more than i'm used to. OSX and KDE this fantastically, the dock is always ready and pops up when you need it to. Windows still has an issue - since '98 - where it sometimes doesn't focus are refuses to pop up.
- The unified menu bar forces extra clicks. I hate it in OSX, and hate it here. I often have multiple windows open, and sometimes am mentally focusing on a background window. This may be that the foreground window is a popup or something insignificant to me. I always have to do a double take when i see the wrong menu bar. This may not make sense to some people, but i often operate with 2 screens or with small overlays and the 'foremost' app might not be immediately obvious. In which case the menu bar becomes non-obvious. I want an option to en/disable it like in old-school KDE ( remember those days? ).
- If i have 2 windows of the same app open, there's no easy way to access either with one click. This happens a lot in apps like Empathy and Chrome. I first have to pull out the unwieldy dock, then click on Chrome - which i see has 2 little arrows. Then it zooms out and presents me with 2 thumbs of my windows. That's great and all, though a little hard to see with fullscreen apps. My suggestion here would be to look at Windows 7 as an example of the new wave of app management done right. Hover over the taskbar item, get presented with thumbs. Hover over the thumb, bringing the hovered window to the front. At first i hated the step toward the OSX style there, but i quickly realised that they made it work. Unity has basically knocked off OSX.
2011-02-27
Emergence of the Tablets
2011-01-01
Lucid Nexus One Development
- You have to keep redoing it every time you start up your dev environment
- Running a potentially insecure service as root!!!
- If you do restart it while eclipse is running, you get some extra output in the console window
- Unplug your device!
- Create a file as root: /etc/udev/rules.d/51-android.rules
- Paste this line into the file: SUBSYSTEM=="usb", SYSFS{idVendor}=="XXXX", MODE="0666"
- Lookup the vendor id in this table ( from the android dev site linked above ) and replace XXXX with your devices vendor id:
If you're using a Nexus One, like myself, the vendor id is NOT in that table! At least for some reason, my vendor id registers as: 18d1Manufacturer USB Vendor ID Acer 0502Dell 413cFoxconn 0489Garmin-Asus 091EHTC 0bb4Huawei 12d1Kyocera 0482LG 1004Motorola 22b8Nvidia 0955Pantech 10A9Samsung 04e8Sharp 04ddSony Ericsson 0fceZTE 19D2 - Save and close the file. Plug in your dev device, and start up eclipse/adb.
2010-12-05
Trying to go back
2010-01-24
Intruder alert
Otherwise, i have done some testing of Motion Detection software for Linux, and here is a brief overview of what i have discovered.
There appear to be 2 developed solutions, ZoneMinder and Motion.
ZoneMinder:
This seems to be the more well known and more established of the 2. It appears to have lots of binaries available, but sadly mostly for debian based platforms. If you need to compile it from source, it becomes a complete nightmare of weird dependencies, many of which i didn't know existed. It took several hours to get configure to run, and in the end, i could compile it, but it crashed on launch. Not very impressed. I also noticed that it was heavily perl based, and while i have no problem with that, it did make things more complicated than they could have been. That said, the screenshots show some fantastic features, and i'm sure that if you can get it up and running, it's a great - although possibly overcomplicated - piece of software.
Motion:
This also had a few odd dependencies, but took no more than an hour from download to simple motion snapshots working. After working out how to set up the config file, i also got the built in webserver running. From here, i need to set up a remote viewing and config site and an email notification service, which shouldn't be too hard. Overall, this software is considerably easier to setup than ZoneMinder however not as feature packed. This does, however, do everything i need it to do, and has some nice extra features which i thought i might have to build myself. It may be simpler than ZoneMinder, but it is definitely extensible. It also includes setup for proper LAN security cameras and the built in webserver has some nice features. There are also some smart features such as automatically drawing a white box around the area of motion in the image.
Conclusion:
If you just want to set up a simple motion detection camera for home, i recommend Motion, as the setup was simpler, and it does the basics really well. If you need a bigger solution, and potentially have a PC to spare just for this purpose, then ZoneMinder is probably what you want. In the end, i'm just really glad to see some motion detection solutions for Linux.
2009-09-30
2009-08-20
When the Contribution Model Fails
I'm a big advocate of Open Source software. I feel that there really is no reason to close software source for the most part, and in general, closed libraries are very frustrating for me as a developer. However Open Source has it's flaws. The contribution model may be one of it's greatest strengths, but is also a big weakness.
What leads me to this "revelation" is an issue which i've been considering getting involved in and fixing. It's a Gimp enhancement request, which is probably the thing that annoys me most about Gimp at this moment. The "bug" is the lack of grouped layers in Gimp. Obviously, not having groups for layers can make a large document really convoluted, but more than that, i often find myself wanting to make modifications to multiple layers at once, such as opacity or translations. So what's the problem? Surely if they know about it and it's in their list, i should either do it myself or just be patient?
It's a 7 year old feature request.
I do understand that "implementing this feature is not trivial", but 7 years is not even close to acceptable. I realise they are suggesting it might make it to version 2.10, possibly in 2011 or 2012? Before the end of the world i'd hope. But seriously, in the commercial world, people lose their jobs for taking over a month to implement features like this. This is not easy to do, but in that time the KDE guys have written Krita from scratch, which may end up soon overtaking Gimp in features, and already has grouped layers. To me it almost seems like no one wants to take on the task.
What happened to open source being the cradle of innovation, instead of lagging behind commercial competitors? In Gimp, you have the Open Source stereotype. It's not as good as commercial counterparts, and lags several years behind in features. Some Open Source projects really seem to suffer from this. I'd suggest that X.org is another that just can't keep up with feature requests. Is it because of a poor codebase that people struggle to build on? Is it because of lack of interest in the project from outside devs? I'm not sure, but it really does bring down the quality of some big Open Source projects.
On the other hand you have the entire KDE team as an example of real innovation. The KDE desktop is years ahead of any competitor, the codebase is beautifully clean, and they are churning out major features in just a few weeks. My example of Krita is a very pertinent one. It may turn out to be a big threat to Gimp in the long run, especially because it is now cross platform. The pace of development is clearly much faster, and it seems that it already has some of the modern features Gimp lacks.
In the end this does highlight some of the problems with the contribution model of Open Source software. Some projects fall behind, potentially become aged, while others forge ahead. How do you prevent a split like this? Should similar projects collaborate? Does that then remove an element of choice? The way i see it is that if it is needed enough, someone will do it. Maybe thats why Krita is moving so quickly, compensating for Gimp's inadequacies? It's probably also why Google are going to replace X.org in Chrome OS. After all sometimes its good to do some spring cleaning.
2009-08-01
Opera does something right, again!
In KDE, i disabled the window border, and in Opera moved the tabs to the right... this is a browser experience i can certainly get used to!
2009-07-27
Adding some shine to your Pepper
So, with my new domain, having my own wiki, part of the intention is to start a series of tutorials. The immediate focus is some simple tricks in Gimp for programmers, since programmer art generally has the rep for looking tacky and cheap. I don't claim to be an expert designer, but i do try and keep my art standard above a certain level. The first tutorial is a simple button with a bit of shine and can be found here:
http://davidgoemans.com/wiki/index.php5?title=Simple_Button_ShineBut... i've embedded it below anyway :)
Creating a simple button with a bit of shine
- Open Gimp and Create a new image with canvas size 128x128
- Right click the Background layer, and click Add alpha channel
- In the Select Menu -> All
- Select -> Rounded Rectangle ( Set Radius = 50 )
- Select -> Invert
- Edit -> Clear ( or just press delete )
- Select -> Invert
- Use the Bucket Tool to Fill with color #3d3d85
- Create a new layer above the background
- Use the Ellipse Select Tool with Ctrl + Alt depressed. Using Ctrl + Alt creates an intersection with the existing selection created an intersection.
- Select an ellipse like this:
- Use the Gradient Tool with the Tool Options setup with a gradient from White to Alpha
- On the new layer: Start far below the image ( 50 - 100px below ) and drag to a few pixels before the top of the icon, creating the gradient
- Create a new layer between the background and the highlight layer ( Naming layers is good practice! )
- Select Forground Color: #2a2a5a
- Use the Gradient Tool with the Tool Options setup with a gradient from #2a2a5a to Alpha
- On the new layer: Start just above image ( 10px ) and drag to just over half way down the selection
- On the background layer in the toolbox, right click and select Alpha to Selection, thus selecting the nice rounded rectangle.
- Create a new layer directly above background again
- Setup a gradient from White to Alpha
- Set the Gradient Shape to Radial
- On new layer: Start just below top left rounded corner, and drag to just off ( 10px ) the bottom right corner.
- Set layer opacity to roughly 50%
- Create a new layer directly above the background again
- Select the Paintbrush tool
- Change the current brush tool option to Pepper ( yes the green pepper ) and set the scale to 1.70
- Draw the pepper in the center of the new layer
A domain with a wiki
Apologies for the very extended AFK, work has been keeping me busy. However, to compensate, i have many fun things in store. Firstly, i have finally bought my own domain, and have some basic stuff set up, including a wiki. So without further ado,
www.davidgoemans.com
2009-07-24
"Microsoft Hatred is a Disease"
2009-06-20
Game Review: Swords and Soldiers
Since the Wii has hit the market i've been saying that it is the console that will allow for decent strategy play. And so far there have been very few attempts to make it work. That said my understanding of Wii sales is that the console, Nintendo, Sega games and Guitar Hero have made up most of the sales, and everything else has been gimmicky nonsense. Wiiware is really populated with a lot of mini-games, and this may or may not reflect exactly on the demographic that own Nintendo Wiis. But then there is Swords and Soldiers. As a strategy fan, it had to be bought.
The thing that interested and worried me the most about this game was the fact that it is side scrolling strategy. I'd never heard of that concept before this, so i was very wary of the 1000 Wii points i spent. At first the game strikes you with the great visual style. Cartoony interface and fun sounds and music make a good first impression, however you instantly know this isn't going to be a hardcore 100+ unit strat game. I wasn't expecting depth at first glance, but it is true that a good strat game doesn't need complexity. And the gameplay really illustrates that.
The single player storyline is ridiculous, but tongue in cheek from the start. You're a Viking, preparing a BBQ and your butcher is attacked. You then need to send troops to save him. Hilariously thought at, and at no point meant to be serious. The feel of the game fits in perfectly with the story and makes for an enjoyable laugh.
But this still doesn't tell you how a side scrolling strategy holds up. Gameplay is vital in a strat game, which is why most strat gamers are still playing Starcraft and not any of the newer games. So here's the deal: Its good. At first it's odd with minimal micro management, but you grow used to the fact that you don't control individual units. To upgrade your tech tree ( which has about 10 options depending on race ), you spend gold. This normally unlocks new units and abilities. To build a unit you just click on the icon, and instantly the unit heads off to fight or mine. There is no micro of units. the maps are normally linear, so the fighting units just walk continuously in the direction of the enemy. Abilities are cast from a global mana pool ( which auto regen's and some abilities add to it ), and these give you some micro control over the battles. Dropping Aztec cages on enemies, casting Viking lighting or sending a massive Chinese Dragon across the entire battlefield are just some options you have, and they really add depth to the game. The game is well balanced with costs and cooldown times, for example, the Chinese have very slow mana regen ( unless you build a really expensive tech 3 tower ), and the Dragon costs a lot of mana, but does an immense amount of damage.
All 3 races seem to have been thought through carefully and have enough variation to feel different. Each have their own abilities, variations in tech trees and order of unlocking items that you find yourself preferring one due to personality and feel of play rather than how strong they are, which is the sign of a well balanced game.
The multiplayer is enjoyable, and although my wife is beating me on average ( this reminds me of our early Starcraft games ), i'm still excited to try and challenge her, and feel like every game has been close. The average game lasts between 3 and 10 minutes, which although short, is just long enough to not get bored with the limited choices.
Overall, a top game production, making it the most fun i've had with Wii Ware. It's not as hardcore strategy as i might like, but it is really fun and has some longevity in gameplay.
Pros:
- Really good humour
- Well balanced gameplay
- Multiplayer is enjoyable
- New concept in side scrolling strategy, done very well
Cons:
- Limited number of maps
- Not for very serious strategy
2009-06-16
Opera's Brick Walls
Today Opera announced something amazing. Unite. The basis is a webserver in a browser. It allows you to share your music, images, files, and host chatrooms with anyone you choose, whether or not they use Opera. Futhermore, the APIs for writing your own services are available now. And the press has jumped onto this. Even Slashdot incorrectly reported it as the 10.0 release. However, will this actually get them users? In truth i doubt it.
Here's my theory, most Firefox users are using Firefox either because they have it installed on their machine by a sys admin or family member, or because they are religiously bound to Firefox ( oddly, in my opinion, this is very much like Ubuntu users ). Most internet explorer users just use it out of convenience or because they don't know of an alternative. This leaves very little space for other browsers.
But what about Chrome? Chrome has not done that well, even though it has the might of Google behind it. Less than 2% market share in over a year with the search giant punting it instead of Firefox at every turn, that doesn't impress me. And i like Chrome, its way ahead of Firefox on my browser preference list. But the world doesn't really care. They have IE8 with tabs by big evil Microsoft* ( which honestly, is a whole pile better than IE7 ), or they have Firefox which is open source and completely pluggable. I don't talk about Mac users.
So what am i trying to say? The average non technical user doesn't know anything beyond their desktop. And until such a time as the average user becomes technical enough, the only reason people will change their browsers, is if sites stop supporting them. If everyone stopped supporting IE 6 years ago, Microsoft would be out of the browser market. This is the same argument that can be applied to Flash, that it is no where near superior technology, but everyone supports it, so it gets used.
Opera won't get picked up in the main stream, until there is a killer app or function which makes it a necessity. And they are close. Opera Link is really an amazing service, i can't live without it. Turbo is incredible for anyone who uses internet via Wifi or mobile connections on a regular basis. And now, Unite, which has more innovation in 1 service than i've seen from Firefox since its launch. But still this isn't enough. And if this isn't, then honestly, will anything ever be?
* i don't think they're evil, but a know lots of Firefox users who do
2009-06-15
Xorg, a stumbling stone?
Statement: Xorg is a stumbling stone in the advancement of desktop linux, discuss.
This may seem like a university essay, but there's a valid point hiding in there somewhere. Xorg is bigger, slower and more complicated than the graphical servers of other operating systems. One of the reasons is that it lives in user space and, thus, is not part of the kernel. This has massive advantages for stability, but does mean that getting flickerless boot is somewhat complicated ( Fedora have been trying for a while now and are getting close ). It also means that driver problems within Xorg are often harder to diagnose from the start.
Here's a little example, i've just bought a Dell Optiplex G280 to use as a media center. It has a Radeon X300 graphics card, and while it works perfectly on my 19" monitor, it refuses to work on my TV, no matter what driver i have installed. There is no feedback, it locks up the entire system, and i can't find anything in the log files. Several different Linux distributions with several different kernels have exactly the same problem. What makes it really frustrating is that i get full graphical boot and have no problems getting to the point where X initialises. Dual screen even refuses to work. And this is not the first rough encounter i've had with X. In fact since i've used Linux ( ~12 years now ), i can remember always having to edit the X config file manually. This is one thing which has never worked properly, and the only config file that i have consistently had to mess around with for 12 years.
My question is why? Firstly, do we need X in it's current form. Yes it's really advanced and has some amazing functionality, but does the average desktop user need that. Would it not make sense to rewrite ( much like Apple did with OS X ), a smaller, faster graphical server which may be part of the kernel? Something dedicated to being primarily a desktop graphical server, and secondarily an advanced server. If linux is to be taken up in the public at large, we can't have people struggling to attach an external monitor, since that is becoming a far more common task. Also, surely taking it into the kernel would make sure its extremely well maintained? Correct me if i'm wrong, but there are far more active and willing kernel developers than there are X developers?
Surely something as old as the X server needs a code over haul anyway? I've heard that there are plans afoot, but i'm not convinced that its anything more than a big extension of some code from 1992. To me, everything about X seems old and archaic, from their code base to their website ( which is just lacking a spinning under construction gif and some marquee text ). I can't believe that something which has never had a complete overhaul for that long is really built to handle modern graphics cards, 3D rendering and all the new input methods like tablets and multitouch very well without some major hack work. And hack work is _NEVER_ a good thing. And seriously, for a graphical server, i do expect a little bling on the web page.
I'm not sure exactly how i would go about it, and maybe it hasn't really been done because it's not something many people know how to do. Yes, i've heard of Wayland, which is NOT meant to ever be an X replacement ( read the FAQ ), and Project Looking Glass, but my stance on Java is a big firm no. What i want to know, is why isn't there a bigger effort by either the Linux Foundation or some big company like Novell, Red Hat or Canonical to actually make a big difference?
And in truth, if Windows works on my media PC, then i'll have a Windows media center. Because sometimes, it's about what works, and not what's got the better theory behind it. And no, i still won't get a mac tv. ever.
2009-06-12
A Note As A Gamer
Game Review: Mechanics Touch ( Android )
Mechanics Touch from a dutch studio Orange Pixel caught my eye on the Android market one day. Not because i'm also in the Netherlands, but because it struck me as a game on Android market that didn't look atrocious. There are a few decent games on there, Cestos is definitely one, but as far as the paid stuff goes, there hasn't really been much to talk about. Not many original ideas being used, and not enough taking advantage of the fact that its more than just a phone.
The game itself has style, something often lacking from many modern games. From starting the game through playing and unlocking the levels ( there are 45 of them, not that i'm there yet ), the game comes across as distinctly quirky and fun. The music is really enjoyable, and made me laugh the first time i heard a few tracks. The graphics are generally crisp ( although a few of the sprites looked a little rough, even though it is sort of the style ). And the idea is good.
Basically similar to Lemmings, but far more interactive. You guide the characters from an entrance point on the screen to an exit point, in a very similar fashion to Lemmings, excepting that there are many aspects of the environment that need to be modified instead of the characters themselves. Tapping some platforms can make them fall, tapping teleporters activates them and tapping doors opens them, and so forth. The levels are built very well around these aspects, and often force you to react quickly while still trying to think of the next step. There are some traps, and the game does require some thought, while still being a casual puzzle game.
The game also features online high scores, and an achievement setup! Achievements always make small games like this much more enjoyable, and definitely add to the replayability ( at least until you've unlocked them all ).
Of all the games that i've downloaded and played, this really stands up as polished, something i can't say for many of the others. Guitar Hero mobile is put to shame by Mechanics Touch, and i'm more than willing to pay for something which clearly has received some care and attention. Some of the big companies could really learn something from Orange Pixel.
Polished. Extremely finely polished Fun to play, and enough levels and extra challenges to keep you busy Sound and music are really entertaining
Graphics could be better Possibly a bit expensive. Maybe.
Rating: 4/5






