Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mgedmin
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
1.
▲
by
mgedmin
10y ago
w3m renders HTML tables better. Or at least it used to, when I was setting up my mailcap a long time ago. For interactive terminal web browsing I prefer links/elinks (again, compared to lynx/w3m a long time ago).
2.
▲
by
mgedmin
12y ago
I miss the world clock too :( I wonder how hard it would be to write an extension.
3.
▲
by
mgedmin
12y ago
There's a switch to turn that off in gnome-tweak-tool.
4.
▲
by
mgedmin
12y ago
You get split Nautilus windows in GNOME the same way you get split anything windows: tile the window to the left (Super+Left or drag window until mouse touches the left screen edge), open new Nautilus window, tile it to the right (Super+Rig
5.
▲
by
mgedmin
14y ago
You need to wrap the escapes in \[ \] to tell bash (actually readline) that these characters do not advance the cursor when printed.
6.
▲
by
mgedmin
14y ago
This makes Alt-Backspace do the same thing as Ctrl-W, which is delete-everything-until-the-next-space. I'm missing the delete-last-segment-of-the-path function. Edit: I know I can customize the word style using $WORDCHARS, or 'autoload sel
7.
▲
by
mgedmin
14y ago
I tried, for a week, got very frustrated and switched back. The little itch that drove me crazy was command-line editing: in bash (and all readline apps) when I have command long/path/to/some/file I can press Alt-Backspace to delete
8.
▲
by
mgedmin
14y ago
Personally I do not use virtualenv activation. Instead I prefer to explicitly launch Python and/or scripts with bin/python, bin/scriptname etc., either with my current working directory in the virtualenv, or by creating a symlink ./bin -&#
9.
▲
by
mgedmin
14y ago
I added a newline (\n) to the beginning of my prompt. This way I never lose program output -- and also it's easier to see where previous commands begin and end in the scrollback buffer.
10.
▲
by
mgedmin
15y ago
You can't really do sums of top columns, because some memory is shared and you'll end up double-counting it. And you can't just subtract the shared memory numbers, because different sets of pages are shared between different sets of process
11.
▲
by
mgedmin
15y ago
The ongoing efforts of the MemShrink project keep finding memory leaks -- usually in Firefox addons. You can read more about it at http://blog.mozilla.com/nnethercote/category/memshrink/
12.
▲
by
mgedmin
15y ago
While more powerful, atop is rather confusing. htop is friendly.
13.
▲
by
mgedmin
15y ago
RSS also includes shared memory pages (those that are currently resident).
14.
▲
by
mgedmin
15y ago
I can hit ZZ faster than ctrl-x ctrl-s ;)
15.
▲
by
mgedmin
15y ago
> As a digraph they never occur in a natural language I wonder how Dijkstra would react to that statement.
16.
▲
by
mgedmin
15y ago
Exactly. If you look at the sources, you'll see that the arguments are all joined into a single string with spaces, then split back into separate words using shlex.split(). So cat("filename with spaces in it") will fail, but cat("'filename
17.
▲
by
mgedmin
15y ago
In that case they were not FHS compliant.
18.
▲
by
mgedmin
15y ago
As an example: I was playing Myst, uh, IV? And there was this puzzle that required me to find a short-enough path from one kind of a spot to a different kind of a spot (you had to pick up a soap bubble with a spoon and carry it somewhere,
19.
▲
by
mgedmin
15y ago
Is solving puzzles exciting? People solve crosswords for fun. Not every programming task is exciting, but some can be fun.
20.
▲
by
mgedmin
15y ago
Have you ever seen the fetchmail source code?
21.
▲
by
mgedmin
15y ago
> the reference implementation and all known shipping versions of secure boot have a switch to disable it if the user so chooses Matthew Garrett reported a while back[1] that some vendors will not provide an option to disable secure boo
22.
▲
by
mgedmin
15y ago
This comment was clearly written by a non-Unicode expert ;) U+2070 SUPERSCRIPT ZERO (⁰) is not the same character as U+00B0 DEGREE SIGN (°). They look rather distinct on my screen (I assume both characters come from Verdana, the font spec
23.
▲
by
mgedmin
15y ago
Is this really a bug in grep, rather than a bug in Solaris's libc? I've never seen grep so slow, and I've been using UTF-8 locales for years . I'm not denying that grep was buggy (there's a link to grep's bug tracker to a bug that was clo
24.
▲
by
mgedmin
15y ago
My fingers often type "test" when I want to type "text".
25.
▲
by
mgedmin
15y ago
PYTHONSTARTUP also lets you enable things like * coloured prompt * tab-completion * persistent history Here's mine: http://mg.pov.lt/pythonrc
26.
▲
by
mgedmin
15y ago
My reasons for preferring pyflakes over pylint: * pyflakes are fast * pyflakes is less likely to flood me with false positives What are your reasons for preferring pylint?
27.
▲
by
mgedmin
15y ago
There's also :vimgrep I believe it's more useful on Windows machines, which for some reason usually come without preinstalled grep.
28.
▲
by
mgedmin
15y ago
I don't see vim in there, but there's a minimalistic vi.
29.
▲
by
mgedmin
15y ago
As a developer I often have to recursively grep large source trees. With an HDD that was painful, no matter how much RAM I added to my laptop -- the whole source tree was rarely cached. With an SSD, I can grep a few hundred megs of source
30.
▲
by
mgedmin
15y ago
Originally Unity was built with Mutter, then they switched to Compiz.
More ›