Profile cover photo
Profile photo
Dan VonC
103 followers
103 followers
About
Dan's interests
View all
Dan's posts

Post has attachment
Daily commute.
Not too shabby.
Photo

Post has attachment
Insanely well done...
(And yes, I know about the cheat codes: https://www.cubeslam.com/cheats.html)

Post has attachment
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...'."

Post has attachment
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

Post has attachment
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".

Post has shared content
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...

Post has shared content
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.

Post has attachment
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.

Post has attachment
(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!

Post has attachment
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...
Photo
Wait while more posts are being loaded