Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
omaranto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
481.
▲
by
omaranto
10y ago
That repository has last year's challenge and the six days I checked did not involve writing a DSL.
482.
▲
by
omaranto
10y ago
It's funny about SLIME: it's arguably even better than using Emacs for Emacs Lisp!
483.
▲
by
omaranto
10y ago
I don't think there is anything you can do with multiple cursors that you cannot do with macros or regex replacements. But I also think multiple cursors are worth having! I'm an Emacs user and there is a good multiple-cursors pack
484.
▲
by
omaranto
10y ago
I agree with everything you said. It's certainly true that Vim (well, I guess this comes from vi) takes composability much more seriously than other editors. I wish Emacs in particular took composability a little more seriously. Probab
485.
▲
by
omaranto
10y ago
Well, maybe the author of that post just hasn't noticed the similarity between: Vim normal mode grammar: command motion-or-textobject Other editor's grammar: select-a-region command (Also, Vim visual mode grammar: select-a-region
486.
▲
by
omaranto
10y ago
I should stop talking about editors I don't use. Let me focus on Emacs with some comments about Textadept (I've never used Atom and only tried Sublime Text for a day). 1. Yes, the ability to repeat with dot is advantage of the Vim
487.
▲
by
omaranto
10y ago
I think I understand the advantage of composability. What I was saying is that it is not unique to Vim. Vim uses "command; motion-or-textobject" in normal mode where most editors use "select-what-you-want; command" (whic
488.
▲
by
omaranto
10y ago
I'm not sure I'm convinced by the composability argument. Isn't composable the default for text editors? Emacs (and most text editors) let you select a portion of text (Emacs calls this marking a region) and then decide what
489.
▲
by
omaranto
10y ago
An example of a language implementation that does full TCO and targets the JVM: http://sisc-scheme.org/ I couldn't find this right away, but vaguely recall reading SISC transforms to CPS to anable this (and call/c
490.
▲
by
omaranto
10y ago
I think you're implicitly thinking that a sensible compiler targeting the JVM would compile whatever functions the source language has to JVM methods and call them via the usual JVM method call instruction. That's certainly a good
491.
▲
by
omaranto
10y ago
Saying that Clojure and Scala don't do tail call optimization because of the JVM could be a little misleading. The JVM is a pretty general compilation target, I'm sure you could implement tail call optimization in a compiler targe
492.
▲
by
omaranto
10y ago
Yes, Tkinter, a Tk wrapper.
493.
▲
by
omaranto
10y ago
For infrequently updated websites at aren't very popular (so their new articles wouldn't show up on your Facebook or Twitter feeds), I don't think there are good alternatives to RSS: I guess you can stop reading them or remem
494.
▲
by
omaranto
10y ago
Which of his novels have you read? Have you read Slaughterhouse-Five, Deadeye Dick or Breakfast of Champions?
495.
▲
by
omaranto
10y ago
Sounds like a cool course, not sure I'd call it computer science , though.
496.
▲
by
omaranto
10y ago
Thanks! It seems that most of those advantages are not directly about text editing but more about being a better IDE. I guess that for someone like me, that uses Emacs mostly for writing prose and for file management, and only occasionally
497.
▲
by
omaranto
10y ago
Are there any VS Code users around who used to use either Emacs or Vim who might share a few things they feel VS Code does better? I'm curious about these modern editors and sometimes wonder what they have to offer besides possibly bei
498.
▲
by
omaranto
10y ago
Are there any Atom users around who used to use either Emacs or Vim and who might share a few things they feel Atom does better? I'm curious about these modern editors and sometimes wonder what they have to offer besides possibly being
499.
▲
by
omaranto
10y ago
Oh, you meant static typing when you wrote strong typing above? That makes more sense.
500.
▲
by
omaranto
10y ago
You could use C-S-<backspace> C-y C-y, which uses kill-whole-line (C-S-<backspace>) instead of kill-line twice (C-k C-k). I think that's reasonably short (same number of non-modifier keys as vi!). Of course, if you find you
501.
▲
by
omaranto
10y ago
I don't think you really need that many primes for Project Euler, but I can certainly imagine someone tired of including a call to her prime sieve in tons of problems, and of having to waiting for it to run, and thinking, "let
502.
▲
by
omaranto
10y ago
I'd guess it is probably for Project Euler.
503.
▲
by
omaranto
10y ago
The return type of your function is too broad: It should be the "type of integers which can be proven to be the sum of a and b". That sounds like a joke but it's what going overboard with dependently typed programming languag
504.
▲
by
omaranto
10y ago
I like how Project Euler is perceived very differently by people of varying backgrounds: programmers always say it's heavy on math, math folks tend to say it's mostly about programming!
505.
▲
by
omaranto
10y ago
I'd say you are correct in thinking you need a few UNIX tools to make Emacs on Windows comfortable. But maybe it's fewer than you think. I just had to get grep, find, diff and now use Emacs on both Linux and Windows and feels almo
506.
▲
by
omaranto
10y ago
In PDFs too or just in HTML pages? The comment you replied to mentions PDFs.
507.
▲
by
omaranto
10y ago
Not "arriving soon", but rather "arrived very recently". I got them with the anniversary update.
508.
▲
by
omaranto
10y ago
I found that Emacs + Evil is a pretty good replacement for Vim. Nowadays there is also NeoVim.
509.
▲
by
omaranto
10y ago
Yes, not everyone knows that permutations decompose uniquely as products of disjoint cycles.
510.
▲
by
omaranto
10y ago
Oh, cool, I didn't know that. I think in Ruby all symbols are reused, whether they are literals or constructed programatically. (Unlike Common Lisp symbols which can also de 'uninterned' if they are not literals.)
More ›