Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mickeyp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
241.
▲
by
mickeyp
4y ago
Thank you :) I'm glad you like the book and site! That makes me very happy.
242.
▲
by
mickeyp
4y ago
Agreed. This is really good advice.
243.
▲
by
mickeyp
4y ago
Yes, with caveats. Give yourself a goal you want to accomplish in Emacs -- just one -- and then start with that. Do not try to overload your learning by doing everything in Emacs from day one.
244.
▲
by
mickeyp
4y ago
I wrote about the importance of tree sitter a while back, for people who don't know why Emacs would adopt it: https://www.masteringemacs.org/article/tree-sitter-complicat...
245.
▲
by
mickeyp
4y ago
If you're using Emacs, you can of course get full dictionary lookup from inside Emacs using a wide range of sources running locally on your own machine: https://www.masteringemacs.org/article/wordsmithing-in-emacs
246.
▲
by
mickeyp
4y ago
I've written about Emacs for, hm, nearly 13 years [1]. My recommendation is picking one thing you want to start doing in Emacs, and then focus on getting good at that. Maybe that's doing your shell/terminal work in Emacs. Per
247.
▲
by
mickeyp
4y ago
EShell in Emacs can preserve point at the prompt that executed the command. You can then hit space to page through the output, or start typing to immediately jump to the end of the buffer (and thus a blank prompt): https://www.ma
248.
▲
by
mickeyp
4y ago
What I miss about Pascal is its offset indices. You could start an array at 0, 1, 42, or what have you. Useful in rare circumstances!
249.
▲
by
mickeyp
4y ago
Hardly. Britain's converting to metric -- one inch at a time.
250.
▲
by
mickeyp
4y ago
> I have co-workers who spent years on tracing request ids through each layer. It got scrapped after a couple of months because no one used it. "Hey bob, it seems the money we sent through the system disappeared. Can we trace it?&qu
251.
▲
by
mickeyp
4y ago
It's actually the perfect litmus test, and a good way to check someone's seniority or competence in in about 5 minutes flat: Developers who disclaim responsibility, or show no interest in, how their software is scaled, securely lo
252.
▲
by
mickeyp
4y ago
You mean to say you can't build a competitive web browser with ~$500 million/year income? Give me the $500m a year and I'll give it a punt.
253.
▲
by
mickeyp
4y ago
A bash script + a little elisp magic that leverages Emacs for fuzzy finding on the command line instead of fzf: https://www.masteringemacs.org/article/fuzzy-finding-emacs-i...
254.
▲
by
mickeyp
4y ago
- Decorator pattern, as seen in Python's @decorators; - Factory functions, as seen everywhere, even if people don't bother thinking of them as such; - Memento pattern, a common way of implementing undo-able actions in applications
255.
▲
Fuzzy Finding with Emacs instead of fzf
(masteringemacs.org)
2 points
by
mickeyp
4y ago
|
0 comments
256.
▲
by
mickeyp
4y ago
Thanks :) Enjoy! Shoot me an email when you've read it. I'd love to hear about what you've learned.
257.
▲
by
mickeyp
4y ago
Same. They're generally very good, and there's a lot of logic and fluidity to how movement and editing combine.
258.
▲
by
mickeyp
4y ago
I wrote about marking and exchanging point and mark without activating TMM: https://www.masteringemacs.org/article/fixing-mark-commands-... Also, the CUA rectangle stuff's actually mainlined and can be used withou
259.
▲
by
mickeyp
4y ago
You may like my article on this very subject: https://www.masteringemacs.org/article/evaluating-elisp-emac...
260.
▲
by
mickeyp
4y ago
Thanks! I'm very happy to hear that.
261.
▲
by
mickeyp
4y ago
Do you mean like `M-x speedbar'? Lots of third-party customizations for it, too.
262.
▲
by
mickeyp
4y ago
Emacs has `thread-first' and `thread-last'.
263.
▲
by
mickeyp
4y ago
Emacs is 40-odd-plus years old, and so are many of the names of functions in it. As a result, they may not have intuitive or obvious names. Emacs also does not use namespaces. That makes discoverability even harder. In f.el and so on, the f
264.
▲
by
mickeyp
4y ago
f.el and friends are useful, and add a lot of value. But elisp's function naming is all over the place and that can make it harder than it needs to be to find what you're looking for. That is also why people turn to libraries like
265.
▲
by
mickeyp
4y ago
> NFS is also more tolerant to breaking and resuming the TCP connection; this is fatal to sshfs. Except when... - The kernel driver crashes, resulting in unkillable processes and orphaned, mounted files that, if accessed, result in those
266.
▲
by
mickeyp
4y ago
> This conflates the user concept of a buffer with the gap buffer implementation emacs happens to use. I did not conflate these things at all. Gap buffers, etc. are irrelevant; a boring implementation detail. Unfortunately, _most_ editor
267.
▲
by
mickeyp
4y ago
The Linux OOMKiller is inflexible and as likely to kill the right thing as the wrong thing when there's memory pressure on the system. There's a reason why third-party userspace [0] ones are used in lieu of the builtin one. You ca
268.
▲
by
mickeyp
4y ago
There's a feature in Emacs that does that (unsurprisingly.) It's called `M-x spook'. It inserts random gibberish that NSA and the Echelon project would've supposedly picked up back in the 90s.
269.
▲
by
mickeyp
4y ago
You can instruct Emacs (with or without emacsclient) to open in a terminal with: emacsclient -nw That way, you'll connect to your Emacs server but using a terminal Emacs (even if your main instance is GUI Emacs)
270.
▲
by
mickeyp
4y ago
I wrote about all the way of doing this here: https://www.masteringemacs.org/article/evaluating-elisp-emac...
More ›