jump to navigation
Le Petit
Support EFF

Freedom of Speech

Human Rights

petikr Badge
A petikr badge showing public photos from Clas le Petit. Make your own badge here .
older »

Monday 2015-05-11

Mother gold

Good WordPress tips Wednesday 2012-11-28

Just a tip for all WordPressers out there. Jimmy Atkinson has som good tips and tricks for you right

Moving my stuff Monday 2010-10-25

I used to have my private blog mixed witn tech stuff here, as you may have seen. To make things a bit simpler, by not mixing Flah development and programming with weddings and dogs, I decided to move the family stuff to WordPress.com. I exported it all from this blog, using the built in export tool, saving the rsulting XML file on my hard drive. So I went to my new blog over at WP.com and using the impor tool I imported categories, posts and comments. I then had to get rid of all categories and post that shouldn’t be there. It all went smooth and the export-import part took a few minutes. A simpler way to do this, as you cannot choose to do this, would have been to select the categories I wanted to export and change the author name to something like “export”, and then using the export tool, select this dummy author to export. The tool allows you to select author but not category. Well finding and bulk deleting all posts on my new site, takes a while, but I haven’t been an extremely vivid blogger ( those of you who visited me now and then know that :). On the other hand it gives you an overview of what has occurred on the blog, and you may even be able to correct a few things.

I am warned that images and other media will not travel automagically to the importing blog, since the vehicle for transport is an XML file. How to move the media will be interesting to see. After deleting all the tech stuff on my new blog I have 209 posts in the trash bin and only 35 is left.
Now I have to do the same for this blog – well killing 35 post may not be such a great undertaking I guess.

Cleaning up the mess Thursday 2010-01-14

I have finally made backups on everything I think I’ll really use, killed lots of old install batches and moved lots of gia bytes worth of images and project files. This all as a preparation for installing windows 7. I got it from my employer in in an ISO image and burnd it twice on DVD:s to be safe.
None of them were bootable in the end, and I the reading was too slow och none. So I just mounted the ISO as a disk and copied it to a fresh directory. Then I took the dare devil approach and launched the setup from within Win XP. I know ther is no upgrade from XP to Win 7, so that was a scary step. From there I did a fresh installation selecting the XP boot partition. I knew that would kill it all :)

It all went very smooth and the Win 7 installation process took its proper time and restarted a few times during the process. It went out and fetched some update. After that I installed the AVG free virus protection.

I went on to install Firefox and the MozillaBackup utility, that I had used to backup the firefox and Thunderbird data with earlier. I run the utility to restore my bookmarks, plugins, settings and saved passwords. Somewhat to my surprice it was all there, so when I logged in to my blog to write these lines, Firefox rememberd my password even better then I did.

This is really how it should work.
Now I’m going to install Thunderbird and do the same on that. Hopefully I’ll bet my mail login and all thousands of mail in all my boxes back. Well if not, I have a separate backup on the mail boxes.

If I like Win 7? I don’t know yet, but I surely like the smooth and fully automatic installation process.

Sandy 3D a Fine Release Monday 2009-12-07

Hi all! I’m happy to say that we now have a bug fixed release of the very useful and well documented Sandy 3D Engine. Back in March came the long awaited upgrade to 3.1.1 and the goal was to release a bug fixed version fairly soon. However very few people had the time to work on it. After persistent work, mainly by Makc, we now have the a hopefully bug free version 3.1.2, so go get it!

Sadly enough this seems to be the final release, if nothing exceptional happens. This doesn’t mean that the engine cannot be used. On the contrary. It is working well and it is well documented and indeed it has a very friendly and helpful forum that works for newcomers and skilled developers alike.

Then there is the future bound haXe version, with which it is possible to compile for Flash as well as other targets, e.g. JavaScript for the browser canvas.

On a cleaning rampage Friday 2009-11-06

After installing WP 2.8.5, I can create a QuickPress post and this is the first. Now it seems that I got into a cleaning mode, which is fine, now that my computer nearly grinds to a halt. I have decided to backup and reinstall.

But you know how it is – I don’t have a terabyte disk for backup, so I’ll only backup the most important stuff. And I’m bound to forget something, oh well, nothing new there. Usually ( lucky me ) I succeed in formatting and installing on my primary partition, and find that all the others survived.

But oh my – all that good programs and tools I have to reinstall. Will I find them and will they work on Windows 7? Scary stuff! And will I find working drivers for all equipment, that hangs in the end of cables, bluetooths and IR connections?

Will I even get on the net again to search for what is missing, to chat with friends and make may status updates on facebook.
If not see you later!

Moving Posts to WordPress.com Tuesday 2009-10-27

This is absolutely wonderful. The easy with which you can move posts from one WP blog to another. I am thinking of moving my private blog posts to a wordpress.org hosted blog, and use PetitOn just for tech stuff.
But how do I move my family posts to the new blog? Do I have to tinker with the database, maybe doing a database dump using the phpAdmin interface and then importing it to the database at wordpress.com? And how do I move all images in my posts to the new blog and place them back in the posts?
It shows to be very simple. WordPress has an export facility to export the whole blog in an XML file, a kind of backup. The generated file can then be imported to the new blog. In this case I only want to move posts from my special family category, and when you export, you cannot select which category.
What you can select is which author’s posts you want to export, so here is the solution, step by step.
I’ll assume that you have already created a new blog at wordpress.com.
1. In your original WordPress admin interface create a new user, named for example “export”.
2. Go to Edit posts and filter the posts by the category you want to export, i.e. “Family”.
3. Select all posts, select “Edit” from Bulk Actions and change the author for all posts to the new user.
4. Now go to Export and select the “export” user from the Author drop down.
5. Click “download export file” and save the file to your local hard disk.
This file now contains all you need to move that category to another WP blog, so you’re almost done.
6. Go to your wordpress.com blog and log in to the dashboard
7. Select Tools/Import and chose WordPress from the list
8. Click “Chose file” and file the file on your hard disk
9. Click “Upload file and import” and you are done.
You may see a message telling you WP is processing, and will send you a message when it is all done.
This may be a false statement, and you can go back to view your new site. Chances are your posts are already there. That’s what happened to me.

Some problems.
For some reason all categories from the old blog are inserted, albeit empty, into the new blog, so you might want to edit categories and delete the once you don’t use.

How about the images?
Well, if you look at your new blog, the images are there and you jump for joy, but a little bit premature.
If you look at the image links, you’ll find they are linked in from your old blog. If you can afford that, you don’t have to do anything more. Probably you want to remove the moved post from your original blog, or maybe shut it down altogether. In that case you have to move images and other media manually.

Shutting Up the Meeting Bully Thursday 2009-04-23

Don't shout!A really funny iPhone application was added to the Apple App Store today. When you sit in a meeting and the ordinary dictator takes over the show, to let his well modulated voice be heard, and to tell everyone how well he knows the matter of today, and what decisions have to be made.

Then you discretely pick up your iPhone and press a button, that will shut him up, at least for this meeting.
This is what the designer of the application says on his site “The Meeting Nazi“:

Nearly everyone has experienced the frustration of a business meeting gone awry. Lost productivity cost corporations millions and impact personal growth and success.
For those frustrated masses concerned about productive meetings, we have the app for you. Harnessing the knowledge of 100’s of books and training seminars on running effective meetings, we have boiled it down to one simple approach inspired from the “Seinfeld” TV classic Soup Nazi.

As usual, you can download the app from the app store using iTunes.
Do that and have your laugh at the next meeting!

AR is in the AIR Sunday 2009-03-22

This is a real beauty. AR is coming to the ART.
World Builder

Mosnaps Goodbye Thursday 2009-02-26

We put a lot of work into that mobile image site, but it really didn’t catch on. Harish tried a variant with paying visitors and simplified the maintenance by restricting the mobile phones to BlackBerry only. After some time the project silently died. The site may still be there though.
Lots of work and a bright idea, but poor marketing, I guess.
Well S.H. and you always learn something :)

older posts »