Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rbonvall
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
271.
▲
by
rbonvall
15y ago
You use Vim more effectively when you stay out of insert mode as long as you can.
272.
▲
by
rbonvall
15y ago
I prefer not having to press Ctrl. I also map jj to Esc.
273.
▲
by
rbonvall
15y ago
That's exactly how I see it. One could have also, for example, lists of decorators, @a[1] def f(x): ...
274.
▲
by
rbonvall
15y ago
Good luck installing Cygwin on an internet cafe. (I used to use Putty to check my email using mutt remotely when on vacation).
275.
▲
by
rbonvall
15y ago
If the exponent isn't growing, it is not exponential growth.
276.
▲
by
rbonvall
15y ago
But they are awesome! They want to give me a coffee maker for praising Cobol! http://www.cobol.com/competition
277.
▲
by
rbonvall
15y ago
Uncrop! http://www.youtube.com/watch?v=KUFkb0d1kbU
278.
▲
by
rbonvall
15y ago
> the fact that five years /have/ passed and Python 3 is still a silly pipe dream for almost all users of Python should tell you something about how poorly this was done. So far, it has been just how it was meant to be. It was never the
279.
▲
by
rbonvall
15y ago
I don't have to deal with any asshole when I use gcc or whatever.
280.
▲
by
rbonvall
15y ago
The problem with using void* pointers is that every access to an element costs one extra dereference operation. By using C++ templates, the compiler can create object code specifically compiled for each data type, without the need for point
281.
▲
by
rbonvall
15y ago
On the other hand, Spanish has two different verbs for "to be" and also two for "to have". In general, verbs in Spanish are way more expressive than in English: http://en.wikipedia.org/wiki/Spanish_verbs
282.
▲
by
rbonvall
15y ago
That would be way odder. In Python, colons are used for statements, not expressions. Nothing wrong with the conditional expression as it is.
283.
▲
by
rbonvall
16y ago
There is no need to cast to int in Python: a = random.randrange(10000)
284.
▲
by
rbonvall
16y ago
You can use http://code.google.com/p/google-code-prettify/
285.
▲
by
rbonvall
16y ago
Then, "Computed by Wolfram|Alpha two minutes ago" would suffice.
286.
▲
by
rbonvall
16y ago
In January there was a 6.9 quake here in Chile, and seismologists said it was an aftershock of the big earthquake of one year earlier. For what I recall, any earthquakes within a couple of years of the big one are most probably aftershocks
287.
▲
by
rbonvall
16y ago
Or worst, don't make me click 15 times for the most usual task. Optimize for the most frequent use case.
288.
▲
by
rbonvall
16y ago
I'd rather that Ohloh implemented something like this.
289.
▲
by
rbonvall
16y ago
Actually it is included in Python 3: http://svn.python.org/view/python/trunk/Lib/antigravity.py?v...
290.
▲
by
rbonvall
16y ago
http://vimcasts.org/
291.
▲
by
rbonvall
16y ago
It has always been the other way around: people try to own countries in order to have a gazzilionaire-like lifestyle.
292.
▲
by
rbonvall
16y ago
If the slides are good to be read instead of the paper, they were probably awful as a support for the actual talk.
293.
▲
by
rbonvall
16y ago
When you are experimenting, u (undo) and Ctrl+R (redo) are invaluable.
294.
▲
by
rbonvall
16y ago
I concur. Now I use the snipmate plugin, which provides a subset of the functionality: http://www.vim.org/scripts/script.php?script_id=2540
295.
▲
by
rbonvall
16y ago
> I've started thinking of TeX as the assembly language of document formatting I remember having read a Knuth interview saying exactly that's what he intended TeX to be. He was also surprised that everyone settled for LaTeX inst
296.
▲
by
rbonvall
16y ago
After using (and writting) several ugly Makefiles for compiling LaTeX, I discovered rubber ( http://www.pps.jussieu.fr/~beffara/soft/rubber/ ) and never looked back. It is packaged at least in the standard Ubuntu and Fedora repos. I use the
297.
▲
by
rbonvall
16y ago
> I would have an exponentiation operator. > That operator might be: ** > [...] > It might be possible to add this to existing C now > since the operator is not already used. a ** b == a * (*b)
298.
▲
by
rbonvall
16y ago
It always get cited as "only one way to do it", but the actual motto is "there should be one obvious way to do it". It's very different.
299.
▲
by
rbonvall
16y ago
There are also web applications where hjkl work as well, like Gmail and Google Reader.
300.
▲
by
rbonvall
16y ago
When used in an expression, I read p as "what's pointed by p". In a declaration, this applies as well: int *i; means "what's pointed by i is an int".
More ›