My Favourite Scene From Blade Runner Gone Lego

Uncategorized No Comments »

You just have to ask my wife how annoying I can be when I spontaneously re-enact the Tears in Rain scene from Blade Runner. So you can imagine my delight when I found a video of Lego character also enjoying this moving moment.

Blade Runner – Tears in Rain (in LEGO) from Zach Macias on Vimeo.

I know I’m kind of strange but its the dark side of my geek life.

Bookmark and Share

Excellent WinDev Mobile Developer Contract Opportunity

Jobs, WinDev 1 Comment »

A leading UK logistics software company are seeking an experienced WinDev Mobile developer to work on a Windows Mobile development project involving GPRS, GPS, TCP/IP socket level comms, signature capture and bar-code scanning. The successful individual will be working with a team of software engineers with extensive experience in the logistics industry, and for a company that has a wide and varied portfolio.

The initial contract will be for a period of 3-6 months and therefore would either suit a self-employed developer or someone seeking fixed-term employment. There is the opportunity of a permanent position.

Salary negotiable. Applicants should apply in writing to cv@logistics-software.co.uk

Bookmark and Share

Livescribe Pulse Review for Developers

Gadgets 2 Comments »

I have had my Livescribe Pulse for about 2 months now and thought I would let you know my opinion of using this product from a developers perspective.

Thoughts and ideas flow through my head every minute so its great to get them down on paper. The problem is finding information I have written on a pad weeks later is a real pain.

So Livescribe is a perfect fit for my notes, I can write all my notes on the pad and sync to Livescribe desktop and then I can name the pages and search for text though all my notebooks.

image

I can even upload my notes with a simple click on Livescribe Desktop to share with others.

Then there’s the audio I can use in development meetings. So while I’m making notes in a meeting the pen is recording audio. If I here something I want to review for later I can click the bookmark button on my pad.

Once the meeting is finished I can upload the audio and captured notes to the desktop. At any time I can review my note and clicking on words will play the audio recorded at the time I was writing.

As you can probably see from my post I just love this pen, not just because I’m a geek, it’s so useful every day.

Bookmark and Share

WinDev Mobile Android Development

WinDev No Comments »

The Android platform is becoming a very popular choice for consumers here in the UK and its a good time for developers to start building applications for both our clients and consumers.

Just look at the popularity of the iPhone app store and Android is growing to become just as amazing.

PC Soft have seen the potential of this market and added some enhancements to WinDev Mobile to make it Android development a breeze using your current WinDev skills.

So what will the WinDev Mobile for Android platform support?

Claudia kindly sent me a list of some features that will be available to us:

“The controls will automatically have an "Android Look".

The local database of Android is SQL Lite. You will be able to link controls with the data through the 7-tab window, and use the WLanguage functions of the "H" family.

The creation of applications for Android will be based on WINDEV’s Java generation, however you will still develop as usual in WLanguage.

The layout of the screen (vertical or horizontal) will be handled using the anchoring method.

WinDev Mobile for Android will offer these controls:
- Label
- Radio button
- Button
- Looper
- Image
- Tab
- Edit control
- Check box
- List
- Combo box
- Menu.

257 WLanguage functions will be available for Android.”

This is very exciting and I can’t wait to get my hands on version 15 and start developing for the Android app store.

Bookmark and Share

WLanguage By Reference and By Value

WinDev 3 Comments »

WinDev procedure parameters are passed by reference as a default and this is great but can also cause some strange issues in your code if you are not careful.

There are a few ways to pass an object by value and one of my favourite is using the LOCAL statement when defining your parameters.

Here’s an example:

image

If you don’t define anything as LOCAL then you can also tell WLanguage that you are passing by value just by adding brackets around the object you are passing:

CalculateWinnerPrizeTotals((nWinnerID), xCost)

So the example above shows how you can tell the method you are passing nWinnerID by value and not by reference.

Bookmark and Share

Google Wave Swamps My PC

Uncategorized Comments Off

Syndicated from Some Brisbane Guy, by the same clown

I’ve just been trying Google Wave after I was graciously invited by someone awesome, and it looks like it’s really hard on your computer’s system resources when you’re trying to view a big Wave. Here’s my browser, struggling to render a big Wave:

Google Wave, trying to render a big wave

Google Wave, trying to render a big wave

I was trying to read a random Wave that had 129 other users and 340+ wavelets, and it SMASHED my work laptop, which is fairly decent (Core 2 Duo with 2GB of RAM), so that I couldn’t even really read the Wave — it was too slow to respond.

Windows Task Manager while trying to use Google Wave

Windows Task Manager while trying to use Google Wave

I am using the Firefox 3.5.4 beta but it was unusable in Google’s own Chrome, as well. Firefox actually seemed better as it would allocate memory and then release it but Chrome would just eat more and more memory until the machine was paging like crazy. Check out my Task Manager screenshot above, you can see the memory going up and down and one of the CPU cores maxed out.

I’m keen to keep trying Wave out, but is Google doing a Microsoft (see Wirth’s Law), and just expecting that as Wave catches on, everyone will have enough horsepower to run it? Or is it just that it’s beta, and performance will get better with optimisation — including Javascript engine optimisations in the major browsers? I guess we’ll see…

Colour Schemes from Nature

colours, web Comments Off

Syndicated from Some Brisbane Guy, by the same clown

Linked from a Hacker News “Ask HN” post about how to pick colours for websites, I was inspired by this Flickr image showing how to create a colour scheme from a photo.

I decided I’d try this colour scheme from nature business, and because I’m lazy I took a picture with my phone without even getting up from my chair. Here’s what I came up with:

colour scheme from photo of my street

colour scheme from photo of my street

I haven’t tried it in a website yet but I think it might look alright, I’m going to try this next time I’m stuck.

WinDev MVC

WinDev 2 Comments »

Developing WinDev applications can be fun and challenging, but where there’s ease of use comes great responsibility.

You need to structure your code is such a way that it will be easily maintainable for yourself and other developers involved in the project.

So MVC comes to the rescue when you want to have a clean and tidy source project. But I here you say, “WinDev doesn’t have an MVC framework”. Well I am going to show you how easy it is to structure your project in such a way that will make it MVC friendly.

What are we trying to achieve here?

To often we just add H commands to our form code just because it is easy to do. But the problem is this soon makes the application messy and you will find more cases of duplicating a process that was in another form.

I am going to show you a simple example of how I structure my projects in an MVC style.

Firstly I created 2 custom folders in Classes, one for Models which will interact with the database, and the other is Controllers which is the conduit between the window form code and the model.

image

Models

In the screen shot above you can see I have created a UserModel. This class contains all the methods I need to access the database related to a user.

Within the model is a Structure object which represents the User table fields in the database.

image 

So here is an example of the GetUser method in the model which returns an object of type STUser.

image

Now the windows code does not access the model, it’s the controller that uses the model to return the required data and other information needed by the window.

image

In the controller the code here calls the model and returns the data as a STUser object. Here you would code other functionality you needed to manipulate the data to show in the View (form/window).

If you are using WinDev 14 then you can use the STUser structure in a very simple way to update the form.

Firstly you would create an object used to hold the data returned from the controller.

image

In the example above I have created a global object which will now allow me to link the controls on the form to it, as you can see in the screen shot below.

image

Now I have linked the controls to the object I can get the user data in just a couple lines of code.

image

If you don’t have WinDev 14 then its a simple task of assigning the object field data to the controls instead, as shown in this screen shot.

image

So now you can see how using the MVC pattern in WinDev / WebDev can make your code clean and easy to maintain.


Bookmark and Share

PC Soft Release WinDev Updates

WebDev, WinDev No Comments »

I’m a few days late on this so I would suspect most of you know about the latest updates which fix a number of bugs in version 12 and 14.

http://www.windev.com/ts/download/windev14/index.html

The WinDev 14 update fixes a number of bugs with the Windows Editor, Report Editor, Setup and Execution.

There was no WebDev 14 update but they did release one for version 12 which fixed bugs with the Data Model Editor, Query Editor, Page Editor, Reports and Printouts, some install site changes, programming functions, PDF formatting in Linux and a fix to the HyperFileSQL HClose method in a thread.

Bookmark and Share

PC Soft Release Community Site

WinDev No Comments »

It’s a strange name but a great step in the direction for the community. If you have any handy API’s, libraries etc you can post them to the site so that others can make use of your fine work.

image

You need to create an account and then you can post a resource (blog post) to the site.

We are really starting to see some momentum now at PC Soft so I am very excited about the new site and community spirit.

http://repository.windev.com/

Bookmark and Share
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in