OP is confused with the idea of O(log n), not of Big O in general.
3,173 karma · joined December 24, 2011
I'm based in Brooklyn. You can reach me at eieiogames at gmail dot com
alum Jane Street Capital, Recurse Center (F23, W25)
OP is confused with the idea of O(log n), not of Big O in general.
That being said, I can't be the only one who misread this as "runescape". Fortunately, I doubt there's significant overlap between users of runscope and of runescape :)
I've had very poor luck getting omnicompletion to work to my satisfaction, but one thing that works very well for me is opening buffers for several files related to what I'm working on and just using <C-n> / <C-p> for basic completion. I always have a bpython console open to test bits of code and make sure I'm calling functions correctly. The one thing that I miss is being able to complete a function name and have a small window pop up with its arguments and documentation. I've tried writing some simple plugins for this but have never managed more than a hack of a solution.
My system works incredibly well for me and I wouldn't use anything else, but many of my coworkers use totally different methods and I don't blame them.
Also having <C-p> and <C-n> as up and down means that moving between search suggestions on sites is really easy, which is nice.
I definitely agree that having a faster way to use the system clipboard is great, but I don't like cloberring the clipboard when I do deletions and whatnot in vim, so I have <Leader><Leader> (I use ; for leader, seems like most people use ,) mapped to "* which I find much easier(;;y is so much faster than "+y for me).
my_data = 3
your_data = 2
much easier to skim than my_data = 3
your_data = 2
Given that PEP 8 even says "But most importantly: know when to be inconsistent -- sometimes the style guide just doesn't apply. When in doubt, use your best judgment. Look at other examples and decide what looks best." I have no problem occasionally using more than one space for allignment."In 2005 on a Saturday evening, Guzmán reportedly strolled into a restaurant in Nuevo Laredo, Tamaulipas, with several of his bodyguards. After he took his seat, his henchmen locked the doors of the restaurant, collected the cell phones of approximately 30 diners and instructed them to not be alarmed.[26] The gangsters then ate their meal and left – paying for everyone else in the restaurant.[27]"
(from the same wikipedia article, of course)
I love my Macbook but can't stand the direction of the operating system. It feels like I use more and more hacks like the above just to have a usable machine.
[x in tweet.split() for x in wordlist]
Seems better to me than map(lambda x: x in tweet.split(),wordlist)
Although the natural thing for me to do would be [x for x in wordlist if x in tweet]
Which both generates a list of words instead of booleans(['scala', 'sbt'] instead of [True, False, False, False, False]) and also matches the 'sbt' in tweet.For example, I use the bookmark http://www.reddit.com/r/%s with the keyword rdr so that I can just type "rdr programming" into the location bar to go to http://www.reddit.com/r/programming. It has made my browsing a whole lot faster.