You are: Guest
(216.73.217.32)

theNailbox

Blog edition v2.0.5

Main blog

older newer

Quick sketches

I always feel like sketching when I'm doing something unpleasant at work. Such as attending meetings.

These, however, are the result of me trying to figure out how to implement Web Service Security using PHP5's native SOAP client. I'm still not there, but I can feel it getting closer. More sketches will probably see the light before I'm done.

lady_and_dragon-110615.jpg landing_aircraft-110616.jpg hands-110616.jpg

2011-06-16 12:51:42 by Nailbar

Post comment

Firefox4 bugs in Kubuntu

Another clean installation and... It didn't help one bit.

These pictures show what I'm talking about:

firefox4bug-1.png firefox4bug-2.png firefox4bug-3.png firefox4bug-4.png

Show source doesn't display comments or DOCTYPE and possibly other elements of the source unless syntax highlighting is turned off. Many pages on Wikipedia and also on some other sites are displayed like this: large empty space and a mile-long scrollbar. Most information is displayed at the bottom of the page but not all.

Edit: It's probably not hardware related since the same bug appeard in a virtual machine and also when that machine was running on another computer.

2011-06-15 14:03:34 by Nailbar
Updated 2011-06-15 14:41:57

It was a font problem and fixed by doing:

sudo apt-get remove ttf-dejavu-core
sudo apt-get install ttf-dejavu

Now everything works again.

2011-06-23 15:51:28 by Nailbar
Updated 2011-06-23 15:51:49

Post comment

Pictures

As I went on a spinning high G-force ride in an amusement park my daughter was watching with this OMG face.

c2745.sofia.omg.jpg

Then I also experimented with some stereo images. Look at these with your eyes crossed and you should see the depth.

c2695_2696.stereo.stig.jpg c2708_2709.stereo.skog.jpg

And finally a picture of a holes made by some larvae that looks like the tree has been shot.

c2730.svamp.larvhal.jpg

2011-06-10 22:54:15 by Nailbar

Post comment

Brainfuck programming language

In the spirit of mondays I've written a Text-to-brainfuck converter script completely in brainfuck. Here's the script:

>+++[-<++++++++++>]<++>
>++++[-<++++++++++>]<+++>
>++++[-<++++++++++>]<++++++>
>+++++++++[-<++++++++++>]<+>
>++++[-<++++++++++>]<+++++>
>+++++++++[-<++++++++++>]<+++>
++++++++++>
,[[<<<<<<.>>>>>>-]<<<<<.>.>.>.>.>,]

And here's the string "Hello world!" converted to brainfuck:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]
++++++++++++++++++++++++++++++++.[-]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]
+++++++++++++++++++++++++++++++++.[-]

And lastly, the intrepeter: http://brainfuck.tk/.

2011-06-06 13:20:12 by Nailbar
Updated 2011-06-06 13:20:26

Post comment

Quick sketch

A quick sketch and some scribbling with Wings3D turned out pretty well.

1306833835-picsay.jpg basic_fighter-110531.jpg basic_fighter-110532-2.jpg basic_fighter-110532-views-7.jpg

Looks a bit too much like a Battlestar Galactica rip-off to be useful, though.

Edit: Added another screencap of what it looks like after adding some UV mapping too.

Edit: Now enough practising. I will maybe post a video at some point if I get the model exported to povray with textures and all (doubt it). So here's a final array of views of the ship:

basic_fighter-110532-views-1.jpg basic_fighter-110532-views-2.jpg basic_fighter-110532-views-3.jpg basic_fighter-110532-views-4.jpg basic_fighter-110532-views-5.jpg basic_fighter-110532-views-6.jpg

2011-05-31 12:32:14 by Nailbar
Updated 2011-06-02 09:57:02

Post comment

Learning to draw

I'm starting to get the hang of this, or this is just another one of my phases which will end and I will go back to my normal sucky self.

cloud.jpg beast.jpg

The cloud one turned out exactly as I wanted it, which is unusual for my drawings. The beast was initially intended to be some kind of dragon. Now it's a beast. Close, but not really.

2011-05-03 21:31:04 by Nailbar
Updated 2011-05-03 21:34:28

Post comment

Speaking of earthquakes

Here are some before-and-after clips from San Francisco just before and after the great earthquake in 1905:

4 days before
Just after

2011-03-21 12:47:52 by Nailbar

Post comment

Ogg video

So now that some browsers support Ogg video out-of-the box it was easy to just add a handler for the .ogv file ending and implement it in the same function that handles file viewing.

So without further ado: BoxCar2d-gen784.ogv

This is where it ended up before I left it running over the weekend.

boxcar2d-valley-crash.png

2011-03-07 11:04:25 by Nailbar

So I continued from where the video ended and left it running over the night with a new terrain. The next day it had dumped one of the wheels and made it really stream lined and fast. Boring end where it just gets stuck, though.

boxcar2d-valley-stuck.png

2011-03-08 08:11:42 by Nailbar
Updated 2011-03-08 08:11:58

Post comment

older newer

by Martin Wikström