HNHacker News
TopNewBestAskShowJobs

reyan

65 karma · joined April 2, 2012

submissionscomments
reyan··on Vim After 11 Years
CtrlP takes care of that. Ctrl+P and then Ctrl+F (cycle to buffers list—you can also map this to anything you want) and it will list buffers with a + next to the buffers with local edits. Ctrl+D and it will change from full path to file name search. You can cycle between buffers, files, mru files and even more (tags, etc.) with extensions.
reyan··on Vim After 11 Years
> http://www.vim.org/scripts/script.php?script_id=2937

This one doesn't need gVim, with rgb() and rgba() support https://github.com/ap/vim-css-color

reyan··on A/B Testing
It reminds me of Fisher's theorem. [1]

[1] http://en.wikipedia.org/wiki/Fishers_fundamental_theorem_of_...

reyan··on Yours vs. Mine
Sometimes you have to differentiate (e.g., between all the bookmarks and the user's bookmarks in a navbar).
reyan··on The R learning curve
> Why do people use R and not Python?

R style DataFrames was raison d'etre of Pandas in the first place. (http://pandas.pydata.org/#why-not-r)

reyan··on How A Pull Request Rocked My World
I liked Head First Design Patterns. It's fun and covers most of GoF patterns (with a brief overview of leftovers). The examples (although fairly trivial) are in Java.
reyan··on How A Pull Request Rocked My World
I would not go for polymorphism (specially with all that meta-programming) with this simple conditional.
reyan··on Islam and science: The road to renewal
Your comment reminded me of Russel's opinion on Arabic philosophy (notice the term Arabic not Islamic). Thanks to this link [1] I found the passage:

Arabic philosophy is not important as original thought. Men like Avicenna and Averroes are essentially commentators. Speaking generally, the views of the more scientific philosophers come from Aristotle and the Neoplatonists in logic and metaphysics, from Galen in medicine, from Greek and Indian sources in mathematics and astronomy, and among mystics religious philosophy has also an admixture of old Persian beliefs. Writers in Arabic showed some originality in mathematics and in chemistry; in the latter case, as an incidental result of alchemical researches. Mohammedan civilization in its great days was admirable in the arts and in many technical ways, but it showed no capacity for independent speculation in theoretical matters. Its importance, which must not be underrated, is as a transmitter. Between ancient and modern European civilization, the dark ages intervened. The Mohammedans and the Byzantines, while lacking the intellectual energy required for innovation, preserved the apparatus of civilization, books, and learned leisure. Both stimulated the West when it emerged from barbarism; the Mohammedans chiefly in the thirteenth century, the Byzantines chiefly in the fifteenth. In each case the stimulus produced new thought better than that produced by the transmitters -- in the one case scholasticism, in the other the Renaissance (which however had other causes also).

-- A History of Western Philosophy (New York: Simon & Shuster, 1945), p. 427

[1] http://maverickphilosopher.blogspot.com/2004/12/bertrand-rus...

reyan··on Advanced Vim Registers
If you want to edit your macros, (e.g., the default register q) do "qp, edit, visual select and do "qy.
reyan··on China listening in on Skype - Microsoft assumes you approve
Are you sure this is the case even for the old desktop versions? I'm still using 2.8 (OS X) and last time I checked it seemed to connect P2P.
reyan··on An Intuitive Guide to Linear Algebra
Interestingly this is more or less like the way I was taught linear algebra in high school.
reyan··on Vimium: Vim Keyboard Shortcuts for Google Chrome
I found it very limited (just movement keys) even compared to Chrome vimium. You can remap vimperator (or pentadactyl) keys anyway. The only difference I remember was d (close tab) instead of x.
reyan··on RSpec Best Practices
In fact RSpec team is in the process of changing the default to the new expect matcher syntax (http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectatio...).
reyan··on Use Zsh
I use prezto (https://github.com/sorin-ionescu/prezto -- initially a fork of oh-my-zsh).
reyan··on Stanford announces 16 free online courses for fall quarter
There is a Coursera course on design from UPenn (starting Oct 22): https://www.coursera.org/course/design
reyan··on MacBook Pro gets Retina Display; MacBook Air updated with Ivy Bridge
Units sold:

- Xbox 360: 67.2 million (released 2005)

- iPad: 67.1 million (released 2010)

reyan··on Why We Don't Believe in Science
Well isn't it a special case of simulated reality [1]?

[1] https://en.wikipedia.org/wiki/Simulated_reality#Arguments

reyan··on Turkey charges pianist Fazil Say over Twitter posts
I think the pro-Islamic government has clearly shifted policies after 2005 accession talks. Nevertheless Islamic fundamentalism is nothing new in Turkey [1].

[1] https://en.wikipedia.org/wiki/Sivas_massacre

reyan··on IPad app for Stack Overflow
Nice UI but the Slab Serif typeface is not suitable for reading large chunks of text IMO.
← PreviousPage 2 of 2