Profile

Cover photo
Dan VonC
Attended ESIAL
Lived in paris
99 followers|14,795 views
AboutPosts

Stream

Dan VonC

Shared publicly  - 
 
Daily commute.
Not too shabby.
2
Priyanka Salvi's profile photo
 
Gr8 Click
Add a comment...

Dan VonC

Shared publicly  - 
 
I was listening to GitMinutes episode 19 (http://episodes.gitminutes.com/2013/08/gitminutes-19-marcin-kuzminski-from.html), and around 57'26'', I heard:

+Thomas Ferris Nicolaisen : "I think a lot of people don't mind the lack of ssh support, I mean, it not really such a big deal to have to live without it. It is just sometimes, for  Linux hard-code users, it is practical to just be able to put your keys somewhere and you ready to go, you don't have to type any password, so don't have to remember anything"

+Marcin Kuzminski (RhodeCode https://rhodecode.com/): "But there are a lot of nice plugins, for either Git or Mercurial, you can install your passwords in a local key chain, or have... there are a lot of cool solution for not having to type password for http, so I always give this as a valid counter argument to a 'Oh I have to put my password eveytime'"

+Thomas Ferris Nicolaisen  "Do you know, there is actually, when using git against https, by default you have to type your password all the time, unless you put it in your `.netrc` file ion your home directory. And you have to put in clear text, which a lot of people frown upon, even though I think that also not that bit of a risk.
Do you know if there is like any better ways for Windows users to , you know, kind of keep their password safe?"

----

The shownotes references http://stackoverflow.com/a/5343146/6309, which includes a credential helper based on a memory cache: you type your passwords once per session, and it stays encrypted in memory.

I don't like this solution, especially since I deal with a lot of upstream repos (GitHub, BitBucket, repos at work, ...).  
I would need to type many different passwords each day.

I prefer storing all those credentials in the `.netrc` file (`_netrc` on Windows).  
But it is in plain text...

Was, actually.

Since git 1.8.3+, you have a new credential helper, aptly called '`netrc`', which allows you to encrypt that file with gpg.

I only keep a `%HOME%\_netrc.gpg` (or `_netrc.asc`), I type a passphrase once per day, and I can pull/push to any of my upstream repos: the right password will be extracted from the encrypted `_netrc` file everytime! Neat.

I explain the full process on Windows at: http://stackoverflow.com/a/18362082/6309
3
2
Thomas Ferris Nicolaisen's profile photoGitMinutes's profile photo
 
Thanks for listening and commenting, Daniel. I prefer your solution as well. I'll forward this info to the right channels.
Add a comment...

Dan VonC

Shared publicly  - 
 
Impressive work and documentation about Octopress.
I am curious to see what will change with the upcoming Octopress 2.1 release though.
 
Octopress Setup with Github, Org-mode, and LiveReload: Created new blog and blogged how to do it! Rocking productivity combo! This blows away WordPress in so many ways. However, it's for those that prefer Emacs and Vim to Microsoft Word...
View original post
1
Add a comment...

Dan VonC

Shared publicly  - 
 
Interesting post from one of the top contributors in Git on Stack Overflow: +Amber Yust. (http://stackoverflow.com/tags/git/topusers)  

I like the idea of having your dotfiles versioned in a subdirectory of your homedir.
That could mean symlinking your dotfiles to that subdir, but in this SO question (http://stackoverflow.com/a/11787448/6309), you have a reference to (http://barzilay.org/) Eli Barzilay's comment (http://www.xxeo.com/archives/2010/02/16/dotfiles-in-git-finally-did-it.html#li-comment-126903), which I find interesting:

- either make your home a git repository,
- or use symlinks to the actual repository.

Eli adds:

I dislike the first for the usual reasons: more than the problem of seeing your whole world as untracked files without setting a default, there’s a more serious problem of your home directory being an actual git repo. What if you run some git command expecting it to do something except you’re not in the right directory? Usually, this will be an error (unless you’re in a different repo), but now this is guaranteed to be a mess.

OTOH, I dislike the symlink approach for more than just the minor hassle of a one-line script that creates the symlinks… What if some program updates a file by replacing the existing one?  
In that situation not only will it break the link to the repo and you won’t see the change, but as an added bonus the usual careless one-liner that creates symlinks will overwrite the replaced file with the previous contents therefore evaporating the new contents.  
Another problem: what if you want things to work reasonably well on cygwin, where symlinks are not really visible as such to native windows programs?

So I’ve finally found a solution that takes the best of both:  
put the repo in a subdirectory, and instead of symlinks, add a configuration option for “core.worktree” to be your home directory.  
Now when you’re in your home directory you’re not in a git repo (so the first problem is gone), and you don’t need to deal with fragile symlinks as in the second case.  
You still have the minor hassle of excluding paths that you don’t want versioned (eg, the “*” in “.git/info/exclude” trick), but that’s not new.
 
A blog post about more than just "how to track you dotfiles in Git" - also examining how Git handles symlinks and hardlinks.
One handy use for Git is keeping track of your dotfiles – all of those configuration files that live inside your home directory like .screenrc, .gitconfig, .vimrc, et cetera. A typical first ...
View original post
1
Amber Yust's profile photoDan VonC's profile photoNicolas Correard's profile photo
6 comments
 
+Amber Yust that's what I meant, thanks. +Daniel Chaffiol I was thinking along a backup/replication that would still keep history in git. But your "core.worktree" solution would work nicely to solve both of the points you mention. Just one thing: why not use .gitignore instead of .git/info/exclude? If the local repo gets wiped out for some reason, it'd be nice to have the .gitignore restored (and also follow the history of which dot file one decided to ignore).
Add a comment...

Dan VonC

Shared publicly  - 
 
Yes! Finally!

I just received on my smartphone a message from Hotmail, which wants to explain how I can use Windows Live Messenger on my mobile!

Be connected everywhere, they say!

All I have to do is to "Click Here to know more".

Still on said smartphone, I click and...
2
1
Guillaume Dufour's profile photo
Add a comment...

Dan VonC

Shared publicly  - 
 
So true, except (regarding the last lower-right corner picture):

- those corner desks near windows are usually reserved to management positions
- with the current budget cuts, at least two or three of those desks are empty
1
Guillaume Dufour's profile photo
 
- Add another empty desk because, one of them is at a meeting ;o)
Add a comment...
In his circles
228 people
Have him in circles
99 people
Sitaram Chamarty's profile photo
Jackie Evancho's Best's profile photo
Frédéric Menou (p'tit fred)'s profile photo
Jon Dickinson's profile photo
VersionEye's profile photo
diagonismoi dwra's profile photo
Venkateswara rao Chamarthy's profile photo
David Gageot's profile photo
Jason Gao's profile photo

Dan VonC

Shared publicly  - 
 
Insanely well done...
(And yes, I know about the cheat codes: https://www.cubeslam.com/cheats.html)
Play face-to-face against your friends.
1
Add a comment...

Dan VonC

Shared publicly  - 
 
I regularly have to learn new things, and I find +Jessica Hische 's answer to +Julie Ann Horvath  incredibly spot on:

http://www.youtube.com/v/RZbqJxQJ5LY&start=2516&end=2572&version=3&autoplay=1

Julie:
"What's your approach for learning something new?"

Jessica:
"One is: being really excited.
 Two is: hating it" [...]
Anyone that says that they love learning new things is a lying asshole.
No-one loves learning new things. People love being good at new things.
The process of learning sucks sometimes, you know?
When you learn new things, you feel like you're terrible at stuff, and then you question how bad you are at everything else that you do..."

Julie:
"Imposter syndrom"

Jessica:
"Yeah, and then you have that breakthrough moment: 'Oh my god! Now I love learning, learning is amazing!' And it is like so much later than the beginning of learning, so much later."

Julie:
"It is like 'Oh, now I deserve to be alive."

Jessica:
"Yeah, it is like: 'maybe...'."
1
Brock Albert's profile photo
 
"Have" to learn new things?? You make it sound like a chore.
Add a comment...

Dan VonC

Shared publicly  - 
 
Funny, I documented two years ago the `--porcelain` anomaly mentioned by Randal in the first episode of Git Minutes featured below: http://stackoverflow.com/a/6978402/6309.

And someone (William Berg http://stackoverflow.com/users/1047597/william-berg) just commented on that Stack Overflow answer that `git push` (http://git-scm.com/docs/git-push) suffers from the same affliction!
"porcelain", when they meant "plumbing".
1
Add a comment...

Dan VonC

Shared publicly  - 
 
Big shoutout to DojoBoost, a startup accelerator in Paris created by entrepreneurs for entrepreneurs, and John Lewis @JHLewisJr(https://twitter.com/#!/JHLewisJr) for providing for the space and hosting #SOMeetup 2012: the Paris instance (http://www.meetup.com/stackoverflow/Paris-FR/655032/) of the worldwide gathering of Stack Overflow and +Stack Exchange contributors (http://www.meetup.com/stackoverflow/).
Thank you John, you were a perfect host.

One of the animators for Dojocréa (http://www.dojocrea.fr/) helped the 6 or 7 of us through a very interesting afternoon of shared experiences and talks.
Welcome. DojoBoost is a startup accelerator in Paris created by entrepreneurs for entrepreneurs. We help entrepreneurs validate their idea, build their team, accelerate growth and prepare for funding....
1
Add a comment...

Dan VonC

Shared publicly  - 
 
(5 years later...)

PCRE (Perl Compatible Regular Expression) support with Notepad++ 6.0 ( http://notepad-plus-plus.org/news/notepad-6.0-release.html )

SWEET!
1
Add a comment...

Dan VonC

Shared publicly  - 
 
But it does make sense...

Jeff Atwood gave recently a little presentation of Stack Overflow and +Stack Exchange to the folks of http://hypothes.is (a new innovative way of peer-reviewing the Internet).

If you skip at 12m30 in the presentation (Jeff Atwood, Cofounder of Stackoverflow at the Hypothes.is Reputation Workshop), Jeff references a few of the SO users (5 to be exact: http://meta.stackoverflow.com/questions/122976/anyone-with-a-visited-1000-days-1000-consecutive-in-his-her-profile), having visited Stack Overflow for a thousand consecutive days.

As I have explained in my previous post (https://plus.google.com/u/0/106661248019508703534/posts/EKVsiHK55cB), it does make sense:

My job is to provide answer to developers at work, helping them with their tools and processes.
In that context, Stack Overflow is just "basic daily training" at this point, a way to keep me alert, on my toes.
Not to mention discover and engage with an incredibly smart community.
3
Dan VonC's profile photoJigar Joshi's profile photoKlas Mellbourn's profile photo
4 comments
 
The questions on SO that are most fun to answer are the ones that you don't initially know the answer to.
Add a comment...
People
In his circles
228 people
Have him in circles
99 people
Sitaram Chamarty's profile photo
Jackie Evancho's Best's profile photo
Frédéric Menou (p'tit fred)'s profile photo
Jon Dickinson's profile photo
VersionEye's profile photo
diagonismoi dwra's profile photo
Venkateswara rao Chamarthy's profile photo
David Gageot's profile photo
Jason Gao's profile photo
Work
Occupation
Answering questions on Stack Overflow
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
paris - Lille - Nancy - Mulhouse - Colmar
Links
Story
Introduction
On Stack Overflow since... Stack Overflow exists.
Education
  • ESIAL
    Computer Science, 1991 - 1994
Basic Information
Gender
Male