Showing posts with label Coding. Show all posts
Showing posts with label Coding. Show all posts

Oct 31, 2012

Coder Radio - Jupiter Broadcasting



The Modest Rockstar | Coder Radio | Jupiter Broadcasting

Coder Radio turns out to be a really good show. Nice to listen to in the morning..

Oct 24, 2012

Mono 3.0 is out

Mono 3.0 is out - Miguel de Icaza

hmm .. so now how do I get that onto my Ubuntu box. Hope this is also soon used within Unity3D.

Oct 20, 2012

Open Source Culture: Problem #1

I like how Canonical decided to be more open about secret projects they work on. At least that they now involve some people outside of Canonical to get feedback is great. I think a lot of problems with the new "Amazon Suggestions" feature could have been avoided like that. Sometimes it just takes an outside perspective to see some problems.

And I don't think it is a problem between Open Source and secret projects. Sometimes this is a much better approach then to be open from the start. It's more about the psychological side than code improvements or testing. Often Projects fail because motivation of the contributors fades away. People just tend to move on as they loose interest.

That's why I really dislike bad comments to some newly released code. It's new, surely it has it's problems, just like anything new has. At least some others seem to share my opinion. I think Jono Bacon put it right on his blog:

The Genesis Of Free Software Projects | jonobacon@home: "when sometime decides to create Free Software either as an individual or as a company, they have the right to create the first iteration of that feature however they choose. Their investment of time, money, or both in building Free Software earns them a right to put together a first cut that meets their needs…this is the very nature of scratching an itch."

Comments like "you should have used X instead!" are just wrong. Especially for things that are open and you get for free. Even more so if the one releasing something didn't event get paid to do so. The only thing these comments do is discouraging someone which cares about free and open software. So people writing such bad things are only discouraging other people to do such tings. You are destroying your own system here.

This is something I still see way too often on blogs. This is really bad for open software ...

Sep 30, 2012

Choice: None

Right now the only reasonable choice seems to be Unity3D. Developing from Windows instead of my beloved Ubuntu Linux. Shame ... Within Unity3D things are looking good so far .. tbc.

Moai SDK 1.3 released

New Moai SDK 1.3 release now available | Blog

nice, but how do I develop with this from Linux? I could use Chrome or Android theoretically. Where is native support? Can't seem to find anything ...

Aug 30, 2012

What Killed the Linux Desktop (so far)

What Killed the Linux Desktop - Miguel de Icaza

... (a) First dimension: things change too quickly, breaking both open source and proprietary software alike; (b) incompatibility across Linux distributions. ...
good and valid points raised. This needs to be addressed somehow...

Jun 29, 2012

Build Server Dlls blocked?

This file came from another computer and might be blocked to help protect this computer « jackal777

If you do a lot of work using a Build Server and your files get blocked by windows. This link is handy to have. Very annoying thing especially if you often take files from an other computer.

Jun 23, 2012

Software isn’t Dead

DoctorMo's Blog » Blog Archive » Software isn’t Dead

he's got a good point there. I like the cathedral metaphor :). And it's interesting that Microsofts "Metro" UI makes programming simpler by making the UI simpler (=more mobile like). Less feature bloated, less to code. But also a lot needs to be reinvented for this "new" UI. From this point of view half of it feels like a step back to the 90s. Thank God they didn't reintroduce the commandline.

Jun 22, 2012

May 20, 2012

MOAI: Multi-Platform Development

As Tim Schafer postet a movie about how they are going to use MOAI in their latest game. So I had to have a closer look at it. A few months back I already once noticed MOAI but I didn't care much about it. Nor did I have a closer look at it. Now that this changed here are my first thoughts on it.

MOAI is primarly intended for 2D mobile game development. But it's also possible to develop and distribute Windows and Mac games with a Linux port soon to follow. At least that's what their Website tells us. Mostly as a user of MOAI you code using LUA which is a pretty neat programming language. Overall it looks like a fast multi-platform 2D game development environment.

Zipline Games is the company behind MOAI. They make money from selling Games and Cloud Services (which MOAI fully integrates with). I especially like the Cloud stuff as that's definitely something I would want to use in my games.

My biggest problem with MOAI is the currently missing Linux support. As I develop my private projects solely on Linux (Ubuntu) I can't do much right now. The only possibility is to build the Linux part yourself from the Linux branch. But last time I checked they said it will be integrated soon. So I'm waiting for that.

Right now I mostly use libGDX which offers similar things except for iOS support (which they work on) and Cloud integration. Otherwise they seem very similar. But cloud for me would be a big plus and I would move my development efforts to MOAI with proper Linux support.  I hope that's gonna be released soon.

May 1, 2012

Android Ported to C#

Android Ported to C# – Xamarin

pretty crazy stuff. Sounds awesome. Maybe I've to try that Java-To-C# translator on some of my Java projects. Just to see how well it works.

Feb 19, 2012

Multiple Canvases Support for AWT

Badlogic Games • View topic - Multiple Canvases Support (WIP)

love that my code was already useful to someone else. So now there is a working AWT backend for libGDX as well as a SWT backend which are both able to render to multiple canvases. nicely done. This is how Open Source is supposed to work ...

Jan 26, 2012

On Code Architecture (.Net, CSharp, WCF and WPF)

Been working on an "educational" project for on of our clients at work. They are migrating to the .Net Framework and CSharp. As an example project that also is useful I (among other co-workers) implemented a nice and simple server-client architecture for an application they need. I'm pretty satisfied with how it turned out so far. The project is almost finished and I've had a easy time tracing and fixing bugs as well as implementing some last minute changes. The architectural concept seems to work well.

Nice thing about such a project is that you get time to have a closer look at the architecture. To have lots of (sometimes heated) discussions with different people about it and to really widen your understanding of different concepts. Also its a good time to experiment with things and try different approaches to find out what works well for you. Furthermore, I learned a lot about some .Net technologies I didn't use extensively before. In my opinion the time I spent digging deeper into these was well worth it. I'm convinced that other projects will greatly benefit from my new/improved knowledge.

The architecture is pretty straight forward and I hope for most nothing new. I've known it for some time but never really implemented it as its intended. Mostly due to lack of time/control or the simplicity of projects I've been working on in the past. This project was the chance to once do things the right way. The architecture is layered and consists of a data layer, business layer and a presentation layer.


Data Layer
This layer is pretty dump. Minimal Logic which handles connecting to a "datasource". On our Server side this is the SQL Database using Entity Framework. On the Client side this is the WCF Webservice. The idea here is to simply exchange this layer with an other one to connect to a different source.

Business Layer
Almost all application logic is located within this layer. It uses the data layer to access the needed information. On the server side it handles transformation of the database objects into POCOs which later can be easily sent over the WCF Webservice to the client. Also, it does data validation and security checks. As our client doesn't do much logic it mostly does data caching and management on that side.

Presentation Layer
This is where others interact with the Server/Client. On the server this means the WCF Webservice. This consists of an Interface as well as the implementation that mostly routes everything into the business layer. On the client side this is a bit more heavy. We use WPF (XAML, Behaviors, Converters, Commands, Data binding aso.) for the actual UI and make heavy use of the MVVM (Model - View - View Model) pattern.

This whole architecture created quite an initial time overhead (which I underestimated). But I think that over time this will pay off. Finding bugs, fixing and extending code is so much easier with this consisted architecture. This will save some time in the future.

Sidenote: We use integration builds and unit test the server business layer. I think with ~70+ tests and a 81,9% statement coverage we do pretty well there. More unit tests would be nice but this covers the most important logic of the application.

There is room for improvement but overall I'm pretty satisfied with our results ...

Nov 19, 2011

libGDX backend for SWT (using LWJGL)

Badlogic Games • View topic - Backend for SWT (using LWJGL)

I created a libGDX backend for SWT. I want to use this to create some Eclipse integrated Editors for my custom 2D engine. Hope this will get included in libGDX some day. But first need to finish that upcoming game ...

Nov 10, 2011

Automagic packaging for Ubuntu

Mere Code: Automagic packaging of binary apps for Ubuntu

This is great news! I've been looking for an easy way to package applications. Packaging a trivial app by hand is soooo time consuming. Handling this over the Ubuntu Developer Portal is just a great idea. Hope they still preserve the "use-it-locally" for other people and applications. A small GUI for it and I'm more than happy.

Nov 5, 2011

Eclipse Xtend language

Eclipse Xtend
OMG! this is so great. So many good features and all on top of Java. Really nice done. Installing the tools right now. :)

Aug 8, 2011

More on Software Patents

ignore the code: More on Software Patents

good well known points there .. nothing more to say.

Indie Bundle 3 Devs on Linux problems

[Phoronix] Ryan Gordon Criticizes Open-Source Drivers Again

I don't think it's in wide practice, but I'm a huge fan of an idea that Douglas Coupland put forth in "Microserfs": Every member of the team uses a different operating system, so you're always portable (and if there's a problem, you know immediately).

Just what I always say. If you create a project thats suppost to be multi-platform you need to live that. Stop using "outdated" single platform software, thats just not the future. It's like not knowing English and beeing a programmer. It just doesn't work in the long run.

May 14, 2011

Building Aggressively Compatible Android Games



A good talk about compatibility on android. He talks about a lot of good points, even a few I wasn't aware of or didn't now that detailed why it works this or that way.