Call for participants Dipro-fair Ghent 30/01/2011

Wanted:
People who want to help out at the Ubuntu booth during the Dipro-fair is in Ghent on January 30, 2011.
If you’re not able to attend the full day, some hours of help are always welcome as well.

Profile:
You don’t have to be an Ubuntu/Linux expert.
If you can testify about your experiences and suggest to Windows-programs,
can already make a difference.
Most people we lend a word on the fair, have none or little of Ubuntu/Linux/Computer experience.

Fun fact:
As an exhibitor you don’t have to pay the entrance fee, but between helping out, you can take our time to look around and find awesome deals.

How:
Add your name to the ubuntu-wiki page:
https://wiki.ubuntu.com/BelgianTeam/ComputerFairs/Ghent_2011-01-31
OR
Let me know trough mail ubuntu@mimor.be

Please in both of these cases, mention whether you’ll be helping out a full day or several hours.
That’s all you need to do.
If you can provide items such as demolaptop(s), camera, etc. .. you may also add it to the wiki page.

Hope to see you soon.

=====================================

Gezocht:
Mensen die willen helpen op de Ubuntu stand tijdens de Dipro beurs in Gent op 30 Jan 2011.
Indien het niet mogelijk is om de volledige dag aanwezig te zijn, zijn enkele uren hulp ook altijd welkom.

Profiel:
Je hoeft geen Ubuntu/linux/computer expert te zijn.
Als je kan getuigen over jouw ervaringen en uitleg geven over alternatieven voor Windows programma’s,
kan je al een verschil maken.
De meeste mensen die we op de beurs ten woord staan, hebben helemaal geen of weinig van Ubuntu/Linux.

Leuk weetje:
Als medewerker van de stand hoef je geen toegangsgeld te betalen, maar kan je tussendoor wel rond kijken en toffe deals vinden.

Hoe:
Voeg je naam toe aan deze Ubuntu-be Wiki pagina:
https://wiki.ubuntu.com/BelgianTeam/ComputerFairs/Ghent_2011-01-31
OF
Laat het me weten via mail op ubuntu@mimor.be

Gelieve in de twee gevallen te vermelden of je een volledige dag of enkele uren zal helpen.
Dat is het enige dat je hoeft te doen.
Indien je items van de lijst kan verzorgen zoals demo laptop(s), fototoestel, etc… mag je dit ook telkens aanvullen op de wiki pagina.

Hopelijk tot binnenkort.

Mvg,

Mike Morraye

Changing date and/or time on Linux

Here’s a short and easy way to set your system and hardware clock from the command line.
Open your terminal and follow these steps.

First check the current time of your hardwareclock:

hwclock -r

Then add the right date/time to your systemclock.
In the example provided you’ll find some strange long number.
You have to read it like this (from left to right):
[01] = month (Jan) | [14] = day | [0231] = time (02:31) | [2011] = year

sudo date 011402312011

Now sync your hardware clock with the date/time you’ve just set:

sudo hwclock --systohc

Check if the hardware clock is synced right:

sudo hwclock -r

Profit!

Politics in Belgium are grinding my gears

I’m not sure how to blog about this without giving the wrong impression.
Last year, when I was in Spain, I had a talk with people from all around the world about Belgian politics.
What I found was some bizarre mix from people not knowing what/where Belgium was to people that were worried about our upcoming civil war.

To make this clear, THERE IS NO SUCH THING AS AN UPCOMING CIVIL WAR IN BELGIUM! That’s just some reporter or news agency trying to make themselves more interesting than they are.
Like half of the country speaks French and the other part speaks Dutch. That’s all there is.
That’s no big deal. In India, they have 7 different languages, in Spain they have 2, etc… (put them in the comment below if you know some more examples)

The only downside of this, is that politicians use this to make a name for themselves.
The language issue is being milked out by unprofessional politicians that don’t want to do their job!
To clarify this, it’s already been 212 days that we’re without a Government.
Somehow, most of the people in Belgium don’t seem to care anymore. Which is a bad thing 🙁

This video (dutch) explains exactly how I feel about the matter:

This guy is asking for the people to go out and demonstrate to let the politicians know, we’re not paying them for sitting around pointing fingers.
And I think, he’s damn right!

ASP.net GridView to display DetailsView on other page

So, I’m still working on that immo website.
On some GridView.aspx page, users see a GridView  with all items in my database.
I added a select button in front of each row.
I want the to redirect the user to some other page DetailsView.aspx when he/she clicked the button.
The problem, there is no redirect option in the GUI.
Again, Microsoft… loose the markup options in the Properties window and add some more functionality.

The solution for the people out there with the same frustration:

Double click the GridView item in your GUI.
You’ll get something as:

Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged

End Sub

Now add the following code (note that this is in vb, so if you use C#, adjust the syntax)

Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged
           Response.Redirect("DetailsView.aspx?ID=" & GridView1.SelectedValue)
End Sub

You might also want to add or modify some lines in your sqlDatasource (of the destination page) to match these lines.
This way you’ll see the DetailView of the item you clicked in the GridView.

<asp:SqlDataSource ID="SqlDataSource1" runat="server"
 SelectCommand="SELECT * FROM [Tablename]where [ID] = @ID"
<SelectParameters>
 <asp:QueryStringParameter QueryStringField="ID" name="ID" />
 </SelectParameters>
 </asp:SqlDataSource>

ASP.net mess

I’m currently working on some basic Immo website, in ASP.net 4.0.
(Part of the Exams)
I have to admit, programming is not my cup of tea… but I’m getting frustrated over all those (minor) flaws in Vistual Studio 2010.

If you’re setting up a registration page using the CreateUserWizard form the Toolbox, you’ll find some lack of properties-fields in the GUI.
In my case, I had to assign a default role to each new registerd user.
Nowhere in the Gui there is such thing to be found… sure… changing colors etc… but some REAL functionality… forget it!
The way to go is like this:
Just add some chunk of code.

Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As System.EventArgs) Handles CreateUserWizard1.CreatedUser
            Roles.AddUserToRole(CreateUserWizard1.UserName, "Member")
End Sub

I’m some kind of disappointed.
If you create some Wizard, why not do a good job, and add all possible options to the GUI?
Should you find yourself having too many options… perhaps, get rid of the image and color options?
There is such a thing as CSS for that!

Grmbl….

Hello again.

Hello dear blog.
Missed me?
I’m sorry I was away for quite some time now.
A lot has happened since my last post.
I moved to another flat, got a new girlfriend, new computer, new ISP, etc…
With some regret I have to admit, I feel sorry for not telling you about all this.
But I promise, in the next couple of days, I’ll try to give you an update about all that’s new in my (digital) life.

Especially the story where I ended up buying a new motherboard is quite good.
But you’ll have to wait for it a little longer 😉
For now I’m going to enjoy some malted drinks.

Cheers!

PS: Mom, I’m still alive! 🙂