Profile

Cover photo
Jérôme Carretero
55 followers|72,343 views
AboutPostsPhotosVideos

Stream

Jérôme Carretero

General Discussion  - 
 
Started using app-backup/ #attic to perform backups, and so far I like it.
It's not in portage yet, but I just suggested to add it ( https://bugs.gentoo.org/show_bug.cgi?id=510674 ).

Like #obnam it's very simple to use, works over ssh (if also installed on the server) and even provides a fuse virtual filesystem to access snapshots. But I like its command-line interface better. Except for the non-usage of gpg.

There is a performance comparison with obnam here: http://librelist.com/browser//attic/2014/1/31/attic-vs-obnam/

Because of the deduplication feature, you can perform backups that cover the same subset of files (eg. /, /home/something, /var) with a minimum of overhead.
So you can do both "selective" and "disaster recovery" kind of backups.

I noticed that the cache (by default in $HOME/.cache/attic) is better put in a tmpfs; a no-op full-system incremental backup took 2 min. vs. 30 when this was on a real disk, because there is a lot of writes to the cache (for some reason). The cache is used to know where existing chunks are, and can be reconstructed quite fast (on a LAN).
1
Aaron Segall's profile photo
 
Thanks for the post. I look forward to giving attic a try.
Add a comment...

Jérôme Carretero

Shared publicly  - 
 
Dear Lazyweb,

I'm using both vim and emacs, and there is something that bothers me a bit in emacs, concerning "inotify" and interaction with SCM:

- How to have emacs prompt "just like vim" when a file is modified externally ? In vim, a dialog appears and prompt you to either ignore an external modification, or reload the file. In emacs, it's only when you're about to save the file, that the question is asked.

- How to have emacs ignore file modification events when the file has not changed? For example, if I'm doing a "git stash", "git stash pop", in the end, emacs will ask me if I really want to continue editing the file... but it should be smart enough to know that the question is moot!
1
Add a comment...

Jérôme Carretero

Shared publicly  - 
 
Dommage pour le sable dans le pare-brise, mais voici des videos du Tamaggo ibi dans une voiture du rallye Dakar!

Avouez que c'est du jamais vu! Payez mon salaire, achetez-en un: http://www.tamaggo.com/en/how-to-buy ;)
 ·  Translate
1
Sven DIEBOLD's profile photoJérôme Carretero's profile photoXin Yiqiao's profile photo
3 comments
 
Wow!! Glad to see that little thing is on the market!!! I'll take a picture for you when it is available in UK market!
Add a comment...

Jérôme Carretero

Shared publicly  - 
 
I haven't emerged from my cave yet.
1
Add a comment...

Jérôme Carretero

Shared publicly  - 
 
"Learn Linux the Hard Way", a web-based series of exercises with an interactive Linux prompt and explanations.
2
Add a comment...

Jérôme Carretero

Shared publicly  - 
1
Add a comment...
Have him in circles
55 people
Vlad Banea's profile photo
Sébastien Bourdeauducq's profile photo
Claude Barros's profile photo
Dongxu Li's profile photo
Eric Mathieu's profile photo
Solange Gazet's profile photo
Nicolas Vidal's profile photo
Ludovic Lignier's profile photo
Paul Heroin's profile photo

Jérôme Carretero

Shared publicly  - 
 
Rant on the worst disk drive ever: #OCZ #Agility 3

When coming to work at #Tamaggo (2012) I've been spoiled with a beefy computer having default configuration with a mirror of these drives (plus a mirror of 1TB WD blacks).

On paper, the Agility 3 looked nice, a latest-generation cost-effective #SSD that's just a little slower than the best SSDs of that time when it comes to writes.

But soon enough we've discovered how painful the Agility can be. 
While we can still bear working with them, +Rejean Groleau experienced a scary data loss, almost every developer doing serious compilation ("alors les nerds, ça compile sec ?" comme dit +Jonathan Poitras)  got itself regularly with the following situation that we called "agilititis":
- activity suspended for seconds... to hours!
- writes are capped to 100 iops
- you basically cannot use your computer to do any disk I/O related task
Usually what we do is go take a coffee break when that happens...

That might not be specific to Agility 3 since googling "SSD 100 iops" leads to reports on other brands having SandForce controllers, but I don't care.
This is related to the poor TRIM/discard implementation in their firmwares.

Anyway, I haven't found a real solution, preventive actions such as keeping a lot of free space and running fstrim don't help a lot.

The lesson that I draw from this is to not get unproven work hardware, and stress-test the configurations. At the time, a single venerable intel SSD could have been a better choice. It's probably still the case today.

Regarding data loss, one very important thing is that nothing important should reside more than transiently on a developer's computer: all the production is to be duly checked in in SCM.
Also, installing the work environment should be fast.
But that's no reason to use flaky storage.

Side note: a dozen of dudes that run linux ( #Gentoo  or  #Ubuntu ) have been using #btrfs  partitions and while there were a few kernel panics in 2012, no bit was lost.
1
Fabrice Popineau's profile photo
 
Stay away from OCZ by all means. I bought 4 or 5 of them, returned all of them one after the other.
Now : Intel and Samsung only.
Add a comment...

Jérôme Carretero

Shared publicly  - 
 
TL;DR: Creating information is almost always part of an act of communication, and a piece of communication has a context, purposes, a source and recipients, a channel, production/consumption/storage/delivery costs, plus other constraints.
All of this will condition the form of the information, and it's usually wise to consider this when creating information you want 'optimized'.


--

I usually wake up reading my e-mails and going through slashdot, and today's events catalyzed this post.

First, while reading a discussion thread on  « Why Are We Still Writing Text-Based Code? » there was a funny quote (http://ask.slashdot.org/comments.pl?sid=4766093&cid=46192345):

  A picture is worth a thousand words.
  A thousand pictures flipping past at 24 frames per second is worth ten words.

The article is about usage of graphical languages (eg. Simulink, LabVIEW, ...), which are not completely foreign to me, but I won't even be talking about that (while they are cool, and can be adapted to some applications, my main grief is that the most widely used are nightmares in terms of SCM, scaling and vendor lock-in).

The second event is that I got a work e-mail from a QA colleague that was describing a problem by sending 2 iPhone camera shots of a phenomenon. I can't go in the details but these images were mostly useless: the phenomenon was not clear, the quality was low (uncropped, bad white balance, bad focus) and they had been hand-edited to include a text pointer (so, I estimate that it took at least one minute to create, transfer, edit and include these pictures in the e-mail). The e-mail was totalling 7.63 MB, so it took me a while to download it from home. A simple sentence would have been sufficient and clearer to describe this problem. Oh, and of course, the company has an IT system called an issue tracker to deal with this...


I have a serious problem not only with wasted bytes, but even more regarding valuable information that is not 'optimized': not concise, or using a lesser appropriate format.

Text has the nice habit of being very easily searchable, editable, it can be consolidated easily. Information in textual form is very convenient and forgiving. It's really hard to write a piece of text that is completely useless to the recipients (but it definitely does happen).

Pictures are helpful for an instant comprehension of a phenomenon, or can convey feelings, but unless they are art, they are mostly a liability unless temporary.
Generally pictures are quite costly because the amount of information per byte is quite low, but there are cases where it's hard to avoid them (I'm currently dealing with terabytes of raw photographic data in my job), and there are also exceptions.
Schemas (graphs, flowcharts, visualizations) are a specialized form of pictures which is usually quite useful, and compact.
Doing serious schema works will usually lead you to using programming languages to write the schema.
Looking back for information in a picture is costly.

Motion pictures, are in my opinion falling in the categories of either works of art, memories, or "temporary" (waiting to be consolidated in another format, or deleted).
Parenthesis: It's plaguing the internet and I really hate it when some important piece of technical information is only available in the middle of a video-recorded presentation, an ungrepable waste of both bytes and time. I find that borderline disrespectful for the audience. Of course, at some point we're all presentation newbies.


Whether you want to share information, make sense of data, do indexing or data archeology, you will find that introducing non-text data with text meta-data is useful, be it a pointer, an outline, a summary. Do that and it will pay off sooner than later.
1
Add a comment...

Jérôme Carretero

Shared publicly  - 
 
Finalement, le voile est (partiellement) levé sur le produit sur lequel je travaille: le tamaggo ibi (http://tamaggo.com), une camera panoramique "fish-eye".
La capture de photo/video panoramique peut sembler gadget maintenant, tout comme les ordinateurs de poche il y a quelques années ;)

Note: au 2014-01-06, le champ de vision sur l'application Flash du site web est réduit artificiellement; le fichier contient davantage.
 ·  Translate
1
Jérôme Carretero's profile photoThomas Jost's profile photo
3 comments
 
Oui j'imagine :-) En tout cas ça a l'air vraiment sympa !
 ·  Translate
Add a comment...

Jérôme Carretero

Shared publicly  - 
 
Easy money!
1
Add a comment...

Jérôme Carretero

Shared publicly  - 
 
Un "banc de poissons" à Badu, Taiwan.

Je ne pense pas qu'ils l'ont calulée, celle-là.
1
Add a comment...

Jérôme Carretero

Shared publicly  - 
 
« Is there a font that promotes, engenders a belief that a sentence is true? Or at least nudges us in that direction? And indeed there is. It is Baskerville. »
1
Add a comment...
People
Have him in circles
55 people
Vlad Banea's profile photo
Sébastien Bourdeauducq's profile photo
Claude Barros's profile photo
Dongxu Li's profile photo
Eric Mathieu's profile photo
Solange Gazet's profile photo
Nicolas Vidal's profile photo
Ludovic Lignier's profile photo
Paul Heroin's profile photo
Basic Information
Gender
Male
Story
Tagline
Left brainer, right handed
Links