Archive for May, 2007

In NYC this weekend!

0

Hello!

Small personal message: I will be in New York city from friday to monday included, if you are around, let me know!

Here is how to contact me

After the shipping container… the aluminum-paneled house

0

A 56 year old aluminum-paneled house for sell by auction house Christie’s…

Here the link

alphabet version 3

1

Third answer to my alphabet question:

#include <stdio.h>
 
void main ()
{
    char Array[26] = { 'a', 'b', ... 'z'};
 
    int i;
 
    for (i = 0; i <= 26; i++)
    {
        printf(%c\\n, *Array[i]);
    }
    exit;
}
 

Download this code: alphabet_3.c

There is no typo in the transcript. What do you think? Is my question ‘too hard’? Is it not ‘appropriate’ for a ‘C’ developer position?

Note pour plus tard… revisiter mes passwords

0

Petite commande pour generer des mots de passe a dormir debout:

apg -m 8 -x 12 -a 1 -n 8

alphabet version 2

1

Second answer… again, there is no typo, this is the pure transcript of the candidate’s answer.

main(argc, argv[])
{
    int i = 0;
    char a[26] = { 'a', 'b', 'c', ...'z'}
 
    for (i = 0; i <=26; i++)
    {
        printf("%d/n", a[i]%);
    }
    return;
}
 

Download this code: alphabet_2.c

With this question, I’m realizing that array usage in C, is clearly not clear for everyone.

alphabet version 1

4

First answer to my alphabet question:

void printAlphabet(void)
{
    char a[21];
 
    for (i = 0; i <26; i++)
    {
        if (i == 0)
        {
            a[i] = 'a';
        }
        else
        {
            a[i] = a[i - 1]++;
        }
    }
    a[26] = '\\0';
    printf("alphabet %s\\n", a);
}
 

Download this code: alphabet_1.c

This might print the alphabet… but it will crash… I recopy the program as is… there is no typo from my side.

After this question, I asked more questions on how to use array in C. This person was terribly confused on how to use array in C.

Ceiling Height Alters How You Think

0

Check this link:

http://www.livescience.com/health/070507_high_ceilings.html

and on the same subject:

http://www.livescience.com/technology/051223_future_office.html

Recycling shipping containers

1

Here is a really cool idea, recycle old shipping containers to create housing.

The explanation in video here:
http://www.youtube.com/watch?v=65C9OLvmjpI

Some interesting links:

If you feel like starting to build your home, here is a cool link to start :)

http://cgi.ebay.com/40-Foot-Cargo-Shipping-Container-In-Cincinnati-Ohio_W0QQitemZ280060976203QQcmdZViewItem

My vim cheat codes

0

I nerver remember how to use macros in vim… quick post for later:

qregister – Start macro recording into the named register. For instance, qa starts recording and puts the macro into register a.
q – End recording.
@register – Replay the macro stored in the named register. For instance, @a replays the macro in register a.

My new toy!

0

Neuros OSD

That’s the Neuros OSD (info Here). That’s a toy for geek. My first impressions on it:

Pros:

  • Works well
  • Affordable
  • Fully open Source
  • You can contribute and ean money (Here)

Cons:

  • The GUI needs to be improved
  • The limited number of features

I wish I have more time to geek with it…

Go to Top