Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drothlis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
211.
▲
by
drothlis
15y ago
Bash configuration for shared history: # Append to ~/.bash_history instead of overwriting it -- this stops terminals # from overwriting one another's histories. shopt -s histappend # Only load the last 1000 lines from your ~/.bash
212.
▲
by
drothlis
15y ago
One of my favourite aspects of rc is the sane array handling. In bash: $array expands to the _first_ element of the array; you have to say ${array[@]} to get the whole array. And then you have to quote it in case one of the elements has sp
213.
▲
by
drothlis
15y ago
I like the idea, but I'm too used to bash's autocompletion (the Emacs-provided autocompletion is similar but not quite the same), the autocd option, CDPATH, etc. And changing directories in the shell with anything other than cd (pushd, or a
214.
▲
by
drothlis
15y ago
Yes, I particularly enjoyed applying security fixes from the so-called stable branch and suddenly having all my validation messages corrupted, or form parameters randomly truncated.[1] [1] http://david.rothlis.net/rails/experience_report/#
215.
▲
by
drothlis
15y ago
It also affects GiffGaff, a "virtual network operator" that uses O2's network.
216.
▲
by
drothlis
15y ago
https://github.com/rails/rails/blob/2-3-stable/actionpack/li... Try getting your editor to find that definition of method "accept_language" or "cache_control". :-)
217.
▲
by
drothlis
15y ago
What does "operating on the namespace" mean?
218.
▲
by
drothlis
15y ago
C-h: 'C-h S' to get help on that obscure bash built-in or elisp function, 'C-h v' to get help on an elisp variable (most modes offer a lot of customisation via setting particular variables), 'C-h m' to show the current mode's keybindings, '
219.
▲
by
drothlis
15y ago
A few weeks ago I whipped up this 3-minute video showcasing a Smalltalk class browser, method finder, and debugger: http://vimeo.com/27850933
220.
▲
by
drothlis
15y ago
Certainly feasible: Smalltalk debuggers do this. And Smalltalkers (allegedly) use a workflow just like you describe.
221.
▲
by
drothlis
15y ago
From their "technical overview" page http://www.dartlang.org/docs/technical-overview/ : "Dart will include a rich set of execution environments, libraries, and development tools built to support the language. These tools will enable produ
222.
▲
by
drothlis
15y ago
> once you use an IDE that actually IS "integrated" as the acronym suggests, you will never turn back. If you're unfamiliar with Smalltalk environments and are wondering what this actually means, watch this 3-minute video showcasing a S
223.
▲
by
drothlis
15y ago
Have you written up your approach to / experiences with literate programming anywhere?
224.
▲
by
drothlis
15y ago
From the emacs built-in help: C-v runs the command scroll-up. It is bound to C-v, <kp-next>, <next>. (scroll-up &optional ARG) Scroll text of selected window upward ARG lines. If ARG
225.
▲
by
drothlis
15y ago
I used to use !$ all the time, but these days I tend to go for M-. which inserts the last argument interactively, and cycles through the last argument of all previous commands (but you don't get modifiers like !$:h). http://www.gnu.org/s/b
226.
▲
by
drothlis
15y ago
Choice of syntax affects how easy it will be to create tools for the language (IDE syntax highlighting, code browsing/navigation, automated refactoring, etc). There is still plenty of room (and need!) for improvement, for innovation. At the
227.
▲
by
drothlis
15y ago
Maybe it's about more than just the language. Have you actually seen a Smalltalk development environment? (e.g. http://vimeo.com/27850933 ).
228.
▲
by
drothlis
15y ago
The stability of most unix tools' interfaces is wonderful. With the rise of tools like bash-completion, even the output of a tool's '--help' option[1] or debug output[2] needs to be stable. [1] http://anonscm.debian.org/gitweb/?p=bash-comp
229.
▲
by
drothlis
15y ago
Arq does incremental backups... but does it do incremental restores ? i.e. if I have already restored the backup to another computer, can I later fetch just what has changed? This is the only feature missing from duplicity[1] to make it pe
230.
▲
3-minute video of what makes Smalltalk awesome
(vimeo.com)
3 points
by
drothlis
15y ago
|
0 comments
231.
▲
Helpful programming tools: Case studies
(david.rothlis.net)
2 points
by
drothlis
15y ago
|
0 comments
232.
▲
by
drothlis
15y ago
Git's own bash/zsh completion support comes with utilities for the prompt. For details see: http://git.kernel.org/?p=git/git.git;a=blob;f=contrib/comple...
233.
▲
by
drothlis
15y ago
Now, if you REALLY want to move forward but not back with composability of error handling, what's needed is some mechanism that the executive level gets 'hints' that would help it deal with the error. I like the idea (was it from Code Com
234.
▲
by
drothlis
15y ago
Read "Code Complete".
235.
▲
by
drothlis
15y ago
Install bash_completion (yum/port install bash_completion). Then in your bash .profile: source /etc/bash_completion
236.
▲
by
drothlis
16y ago
Last time I looked into 'git notes' it wouldn't preserve the notes attached to a commit when you amend / rebase / cherry-pick the commit. It seems that git now supports this! From the git-notes manpage: notes.rewrite.<command>
237.
▲
by
drothlis
16y ago
The transfer time improved by 0.6s (first view) and 0.2s (subsequent view), but the total load time worsened by 9 seconds (first view) and 3 seconds (subsequent view). What am I missing?
238.
▲
by
drothlis
16y ago
What about for people who don't have a specific idea (or none small enough to reasonably start on in 54 hours) but want to hang out and help on someone else's idea?
239.
▲
by
drothlis
16y ago
No project needs to use recursive make. "Recursive make considered harmful": http://miller.emu.id.au/pmiller/books/rmch/
240.
▲
by
drothlis
16y ago
Maybe make the default/hint text for the input say "Band" instead of "Group" -- considering all I see when I visit the website is "RELA - Group - User - Pass" at least this would give me an inkling that it's for musical bands.
More ›