1,088 karma · joined November 8, 2010
https://github.com/fphilipe
[ my public key: https://keybase.io/philipe; my proof: https://keybase.io/philipe/sigs/182uf1x4SUnMvtmLchInbgTL0X0b0qcRGe_g2T0KLDo ]
With caps-lock mapped to ctrl, typing it is not too far off from the home-row.
Having an alias for help (and for git) makes this quite convenient:
$ g h commit
Then search for something in there, e.g. `/stdin<ENTER>`. git commit -F- <<EOF
Fix issue
Hello world...
EOF $ git commit -m "Fix issue" -m "Lorem ipsum..." -e $ git diff --no-index file_a file_bFor browsing a JSON file I can also recommend jsonfui. I've been using it for many years now and I'm actually surprised it doesn't have more stars on GitHub.
One thing I really like about Haskell is Hoogle. The ability to search by function signature is great. I often wish I could do that in other languages.
hello=~/Documents
Then: cd ~hello/world
Or omitting `cd` (requires `setopt auto_cd`): ~hello/world
And with `setopt cdable_vars`: hello/word
This also works with tab completion: hello/<TAB>Not if you make them static libraries.
Only dealbreaker for me unfortunately is that it forces me to use up/down arrows, i.e. leave the home row. I use ctrl+p/n everywhere (or ctrl+j/k in some tools), be it in the terminal or on macOS.
I've used CSS variables though, which make it even simpler. E.g. I have `--page-background-color` and `--text-color-primary` that are set to a certain default value. In dark mode, these variables are set to other values, removing the need to redefine the actual selectors.
When I point out a faster way to accomplish a certain thing that is typically found in all editors, which often even is placed behind the same keyboard shortcut, they’re like “oh, that’s cool, I didn’t know you could do that!”. And that’s without me knowing or having used that specific editor.
So I’d say it’s the people, not vi, as it applies just as well to other editors or IDEs.
I do this in order for the merge commit to be signed.
That way if I want to open a link in a new tab I can choose between opening it behind the current tab or in front.
Who knows... With Chris Lattner at Google and Google adopting Swift for TensorFlow, I could well imagine Swift eventually working on Android (or something newer).
Haven’t had the chance to dig deeper, but the comparison between the UITableViewController and that snippet containing just declarative code looks absolutely promising.
The only downside is that we’ll have to wait one or two years before we can use it if older iOS versions still need to be supported. Let’s hope for extra quick adoption of iOS 13.
https://tenderlovemaking.com/2014/06/02/yagni-methods-are-ki...
https://phili.pe/posts/timestamps-and-time-zones-in-postgres...
I was quite surprised to see that there are programmers that don’t do touch typing.
Infinitive. The predicate is "need" in this case. Swapping the order might make it clearer:
You need to be exposed to a lethal dose all at once for cyanide to kill you.Gosh, imagine how that traveling looks like, documenting every moment of it, creating all these fake, yet real looking spontaneous stories. I doubt that one can actually enjoy traveling like that, but maybe that's just me.
I feel sorry for these people.