Viewing profile — orlandu63
orlandu63
HN member- Joined
- Wed, Jun 24, 2009, 6:10 PM UTC
- HN karma
- 108
- Public activity
- 46 items
- HN profile
- View on Hacker News ↗
About orlandu63
No profile information was provided.
Recent public activity
-
comment
Comment #5131834
Fake answer: because O(log(fib(n))) conveys more information as to how the algorithm works. Real answer: because I didn't realize that it's equivalent to O(n).
-
comment
Comment #5130043
In the same vein, there's also an O(log(fib(n))) recursive algorithm: fib :: Integer -> Integer fib 0 = 0 fib 1 = 1 fib 2 = 1 fib n = case n `quotRem` 2 of -- if n = 2*m (m,0) -> (…
- comment
-
comment
Comment #5116170
Even if the person meant "median", the author's sentence is still ambiguous: It is definitely possible that 70% of _college students_ are "above median" at multitasking than the _g…
-
comment
Comment #4823775
You don't need RAII to manage non-memory resources. All you need are first class functions.
-
comment
Comment #4766875
I think you mean group . sort
- comment
-
comment
Comment #4671775
I'd rather have the ability to choose between and freely mix significant whitespace and significant semi-colons within a single source file.
-
comment
Comment #4427610
Let's not forget that GNU/Linux is intended to run on any damn machine you throw at it, while the latest version of OSX is only intended to run on Apple hardware that is no more th…
- story
-
comment
Comment #4063886
This is a horrible idea.
- comment
-
comment
Comment #3757888
Nope, you just need lots of cash.
-
comment
Comment #3730033
I wouldn't call that computationally efficient. It is possible to make routing an O(log n) operation; your routing solution, like all routers that use regexes directly, is O(n).
-
comment
Comment #3719782
On the contrary I suggest either Intel or ATI graphics because unlike nVidia, Intel and ATI actually contribute to their open source drivers.
-
comment
Comment #2647196
I'm getting entirely different results with Python 3.2: % python -m timeit "[ x**3 for x in range(10000) ]" 100 loops, best of 3: 7.85 msec per loop % python -m timeit "map(lambda …
-
comment
Comment #2380255
Does anyone have a direct link to the PDF file?
-
comment
Comment #2343708
Does the person not use syntax highlighting? A missing <?php tag would cause the PHP code to be highlighted as HTML code which would look very strange to anyone who has edited a PH…
-
comment
Comment #2265534
Have you any citations to back up that statement?
-
comment
Comment #2238935
I've created an AUR package for this script, found here: http://aur.archlinux.org/packages.php?ID=46675
-
comment
Comment #2238271
Oh, that's right. 'to sitename' becomes 'cd ~/Sites/ sitename' which is not what you want. My apologies.
-
comment
Comment #2237903
I would suggest mapping an alias instead of creating a function so that you will still be able to take advantage of parameter completion: > alias to='cd ~/Sites/'
-
comment
Comment #2183857
There also exists the ControlMaster configuration option which treats multiple sessions to the same host as a single connection. With this enabled, you only have to enter your SSH …
-
comment
Comment #2107408
Thanks! Also, > mplayer -dumpstream "mmsh://proedvid.stanford.edu/knuth/musings/101206/101206-knuth-500.wmv?MSWMExt=.asf" for for those you who'd like to download the video for lat…
-
comment
Comment #2058114
Pre-made meals aren't intrinsically bad for you; it's the preservatives and other questionable ingredients (and quantity of) that the manufacturers may add that is detrimental to y…