Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
151.
▲
Interruption of system calls when a signal is caught
(unix.stackexchange.com)
1 points
by
grn
14y ago
|
0 comments
152.
▲
by
grn
14y ago
No, if I remember correctly it was somewhere on http://emacswiki.org which is a great resource by the way.
153.
▲
by
grn
14y ago
I can recommend CtrlP (or Command-T). I can't imagine navigating in a project without them. They also have great buffer navigation. Personally I mapped <leader>t to CtrlP file search, and <leader>b to CtrlP buffer search (:C
154.
▲
by
grn
14y ago
Is rxvt slower? Recently I switched from xterm to rxvt-unicode and it's really great!
155.
▲
by
grn
14y ago
undofile sounds great! I didn't know about it. Some people use jj to go to the normal mode. Personally I remapped Caps Lock to Escape in my whole system, so I can go to normal mode easily. You can yank to the system clipboard by providing a
156.
▲
by
grn
14y ago
Usually I use a method that I found on some Emacs-related website. It said to use text search for navigating around the file. That's why I use / pretty often. I use f, t, and related movements as arguments to actions.
157.
▲
by
grn
14y ago
Personally I have a mapping <leader>x that starts a terminal emulator when running under X or drops to the shell otherwise. When I work on a project I cd into its directory. Executing commands is just a matter of hitting <leader
158.
▲
by
grn
14y ago
I would argue that this repetition is not essential . It happens when you assign a constructor argument to an attribute directly without any modification. But there are case where it doesn't appear: - the attribute has a different name
159.
▲
by
grn
14y ago
I don't think that nullary constructors are so good. If you have dependencies then after constructing your object it'll be in an invalid state because the dependencies aren't set up correctly.
160.
▲
by
grn
14y ago
I remember that Go had some issues related to the garbage collector on 32-bit machines. Are they solved now?
161.
▲
by
grn
14y ago
I think that AGPL requires you to give source code to the users of the program. If you use a modified version internally then you'll have to give the source code to your employees. That isn't as problematic as sharing with the whole outsi
162.
▲
by
grn
14y ago
I haven't used R nor Pandas. How does the two compare? Why do people use R and not Python?
163.
▲
by
grn
14y ago
Where can I learn more about the PC hardware? I find this topic very interesting however I've never learnt more than the basic PC architecture.
164.
▲
by
grn
14y ago
Here you can read about defeating the protections you mentioned: http://www.blackhat.com/presentations/bh-europe-09/Fritsch/B...
165.
▲
VfsStream - a virtual file system for PHP
(github.com)
1 points
by
grn
14y ago
|
0 comments
166.
▲
by
grn
14y ago
Wouldn't it be better to have a Python statistics library instead of creating a new language? When I looked at the documentation of R it looked very convoluted and it seems that my feeling is confirmed by other comments in this thread.
167.
▲
by
grn
14y ago
At the company I work at we decided against IRC because of possible difficulties for non-technical employees. Currently we're using XMPP but we're considering other solutions.
168.
▲
by
grn
14y ago
On my Debian Squeeze I get the following: $ curl --version curl 7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6 Protocols: dict file ftp ftps http https imap imaps ldap ldaps p
169.
▲
by
grn
14y ago
ruby that comes with Debian Squeeze. $ ruby --version ruby 1.8.7 (2010-08-16 patchlevel 302) [i486-linux]
170.
▲
by
grn
14y ago
In order to eliminate the potential bias of startup time I run similar test in many iterations. Here's what I got: $ time ruby -e "10000.times { puts 'hello world' }" > /dev/null real 0m0.102s user 0m0.096s sys
171.
▲
Aruba - command-line tools testing with RSpec
(github.com)
1 points
by
grn
14y ago
|
0 comments
172.
▲
by
grn
14y ago
Please also note that t.send(:attr=, 5) returns 10. When you do t.attr = x Ruby sends :attr= with x as the argument to t and then ignores the return value of the message and returns x instead.
173.
▲
by
grn
14y ago
It's related to the right-associativity of the assignment operator and its expected semantics. If you write a = b = c then it is interpreted as a = (b = c) When c = 5 then you expect that a = b = 5 # which is equival
174.
▲
Show HN: simple packet analysis tools
(github.com)
1 points
by
grn
14y ago
|
0 comments
175.
▲
by
grn
14y ago
Comments are useful when they provide information that is not in the code (e.g. rationale for the choice of an algorithm, source of a regular expression that parses an URL). Your example HTML encoding function can be coded as: def cle
176.
▲
Distributed Management at GitHub (by Ryan Tomayko)
(youtube.com)
1 points
by
grn
14y ago
|
0 comments
177.
▲
by
grn
14y ago
You could also take a look at http://htwins.net/scale2/ . It's also a very nice demonstration of the scale of the universe from the smallest to the largest objects.
178.
▲
A library of free computer science books and lectures
(freetechbooks.com)
4 points
by
grn
14y ago
|
0 comments
179.
▲
Mathgen - random math paper generator
(thatsmathematics.com)
4 points
by
grn
14y ago
|
0 comments
180.
▲
Book: Seamless Object-oriented Software Architecture [pdf]
(bon-method.com)
1 points
by
grn
14y ago
|
0 comments
More ›