What's 10,000 years but a grain of sand in the hourglass of eternity?


λ

Mar
19
comment Error by installing of slime for the chicken scheme
Thanks, I was having the same problem. I changed CHICKEN_INCLUDE_PATH pointing it to the same path as CHICKEN_REPOSITORY and it worked!
Feb
22
awarded Supporter
Feb
10
awarded Supporter
Jan
15
comment how do I install the stock centos repositories?
Instead of pasting into an editor like vi or vim, just use cat > filename and press ctrl-d after pasting. Also, vim has a mode designed for receiving data from the clipboard, which will disable auto formatting, etc. Just use ":set paste" before entering insert mode. But I still prefer the cat method, it's simpler.
Aug
24
awarded Great Answer
Jun
30
awarded Yearling
Jun
22
awarded Supporter
Mar
7
comment Refresh all files in buffer from disk in vim
I would use bufdo e (no exclamation mark) instead of bufdo e! as it can detect unsaved changes where there should be none, just to be on the safe side
Mar
6
awarded Critic
Feb
6
comment select first item in qlistview by defualt
Just to those that don't find it obvious, fsModel here can be something like view->model()
Jan
27
answered Disable blinking at the first/last line of the file
Jan
15
awarded Editor
Jan
11
awarded Scholar
Jan
11
accepted How to recover the index after a git stash / git stash pop?
Jan
11
comment How to recover the index after a git stash / git stash pop?
Yes, that is what I thought. The work that is lost in this case is the hand-picking of what changes goes into the index. I guess the moment you stash without specifying --keep-index is when you lose your "patching" work from git add -p.
Jan
10
comment How to recover the index after a git stash / git stash pop?
@poke That's not what happened unfortunately, the index was emptied by git stash and remained so after the git stash pop. Maybe if I had done a git stash pop --index instead it would have been restored, but I didn't :/
Jan
10
awarded Student
Jan
10
asked How to recover the index after a git stash / git stash pop?
Jan
3
comment Is it safe to return a struct in C/C++?
It's worth mentioning that although the compiler is free to perform return value optimization, there's no guarantee it will. This is not something you can count on, only hope.
Oct
26
awarded Good Answer
1 2