Presentation drawing

Homepage

Welcome on my personnal website.

Here are the begining of my 5 last blog posts.

You can also search the entries with tag cloud

You can subscribe to my RSS feed. You'll never miss a post. Click here if you don't know what RSS feeds are.

approximatively the 800 first characters.

14 Oct 2010 Fun with wav »

tl;dr: Playing to process a wav file. C was easier and cleaner than Ruby.

I had to calculate the sum of the absolute value of datas of a .wav file. For efficiency (and fun) reasons, I had chosen C language.

It was a long time I didn’t used C. From my memory it was a pain to read and write to files. But I was really impressed by how clean the code is. And it is even more impressive knowing I used mostly low level functions.

A wav file has an header containing many meta-datas. This header was optimized to take the less space possible. Therefore, header is thinked with Bytes.

Read more »

10 Oct 2010 Secure eMail on Mac in few steps »

Title image

tl;dr: on Mac

  • Get a certificate signed by a CA: click here for a free one,
  • open the file,
  • delete securely the file,
  • use Mail instead of online gmail.
  • ???
  • Profit

I’ve (re)discovered how to become S/MIME compliant. I am now suprised how easy it was. Some years ago it was far more difficult. Now I’m able to sign and encrypt my emails.

Read more »

6 Oct 2010 New Blog Design Constraints »

I changed the design of my blog. Now it should be far cleaner. I believe I use no CSS3 feature and far less javascript. Of course before my website was perfectly browsable without javascript. Unfortunately some CSS3 feature are not mature enough on some browser. For more details you can read my older blog entry. But the major problem came from, font-shadow and gradients. Then my new design obey to the following rules:

  • no CSS element begining by ‘-moz’ or ‘-webkit’, etc…,
  • no text shadow,
  • clean (I mean delete) most javascript.

I hope the new design please you.

Read more »

2 Sep 2010 Use git to calculate trusted mtimes »

You can remark at the bottom of each page I provide a last modification date. This label was first calculated using the mtime of the file on the file system. But many times I modify this date just to force some recompilation. Therefore the date wasn’t a date of real modification.

I use git to version my website. And fortunately I can know the last date of real change of a file. This is how I do this with nanoc:

Read more »

2 Sep 2010 base64 and sha1 on iPhone »

Lets be straight: here are two functions to add to your code to have base64 and hexadecimal version of the sha1 hash of an NSString.

To use it, simply copy the code in your class and use as this:

#import <CommonCrypto/CommonDigest.h>
...
NSString *b64_hash = [self b64_sha1:@"some NSString to be sha1'ed"];
...

Read more »

tag cloud (2 or more posts only)

git

iPhone

protection

tip

This left bottom button get you on the top of page and open the menu.
Copyright ©, Yann Esposito
Modified: 10/04/2010
Entirely done with Vim and nanoc
Validation [xhtml] . [css] . [rss]