Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
djcb
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
djcb
8y ago
mu/mu4e author here... please let me know if you have any specific questions.
2.
▲
by
djcb
10y ago
One big item is that that Emacs' internal string/buffer representation supports things like loading weirdly (or even erroneously) encoded data, and saving this unchanged; this is sometimes quite useful. Guile's strings (gnuli
3.
▲
by
djcb
10y ago
(mu4e author here) Mu4e has a few different options for displaying rich-text messages. In recent emacsen, it defaults to a shr/eww based display; it's not perfect, but it reduces the set of problem cases. For those, there are the
4.
▲
by
djcb
10y ago
In the same spirit, I wrote some functionally-flavored extensions for GLib a few months back. https://github.com/djcb/gxlib , taking a bit of inspiration from Rust and SRFI-1. It's fun to get some of the functional
5.
▲
by
djcb
11y ago
While they weren't card-carrying ornithologists, the Wright brothers studied bird flight extensively and explicitly used it for their designs. But they concluded that the flapping motion wasn't essential for propulsion, and could
6.
▲
by
djcb
11y ago
There are also gdb and make, which are probably a bit more prominent examples of guile-integration. Perhaps one day, emacs will do so as well. I've embedded Guile into some of my own projects, and it's a great and fun way to bring
7.
▲
by
djcb
11y ago
And, for completeness, Chong Yidong, how co-maintained together with Stefan for quite a while (and did a great job as well). I think both of them were quite a big part of the "emacs renaissance" of the last few years. http:/
8.
▲
by
djcb
12y ago
Agreed -- I remember some of the alternative ways to solve the same problems, such as CORBA and various custom protocols, but they were painful to use... Now, early DBus was a bit lacking in that respect as well, but with GDBus (GLib's
9.
▲
by
djcb
13y ago
Had a lot of (slightly masochistic) fun programming the Z80 back in the day on my MSX2 machine. I didn't have an assembler, so I wrote my code by taking the opcodes from a table, calculating offsets etc., then turning them into DATA-li
10.
▲
by
djcb
14y ago
It's the difference between understanding and copy-pasting.
11.
▲
by
djcb
14y ago
Could you elaborate on the 'horrible design'? In general, I've found GLib very useful (say, the data structures, mainloops, GError, the G_GNUC_ stuff, ...) . If the biggest problem is some typedef that you can happily ignore, it can't be th
12.
▲
by
djcb
14y ago
There can be only one database (index) per mu4e/emacs instance, but you can store multiple maildirs in one database though, and there's support for multiple accounts (esp. in the upcoming 0.99; there are some recent ML-threads about this).
13.
▲
by
djcb
14y ago
I wrote an emacs-based e-mail client "mu4e"; see e.g. http://emacs-fu.blogspot.fi/2012/08/introducing-mu4e-for-ema... Its user-interface is a bit mutt-influenced, but it's fully query-based and very fast, and of course you can extend i
14.
▲
by
djcb
14y ago
I've been using zsh for a decade or so, and I like it quite a lot. For basic things, it works enough like bash to hardly notice it; but slowly I've learned all the special tricks. Now, I would recommend against using /oh-my-zsh/ and the lik
15.
▲
by
djcb
14y ago
Hmmm, is this HN worthy? These commands are so basic that I don't expect any HN-reader using Unix systems not to know those. What about some slightly less basic ones that I'd think would be useful for many people. # less with syntax h
16.
▲
by
djcb
14y ago
for the somewhat-graphically-inclined, gdb mode in emacs has the much under-advertized 'M-x gdb-many-windows' which shows your stack, local variables, breakpoints etc. in separate 'windows'.
17.
▲
by
djcb
14y ago
alias myip="dig +short myip.opendns.com @resolver1.opendns.com" alias myip2="curl -s icanhazip.com"
18.
▲
by
djcb
14y ago
Eh? I have been using org-mode for years for calendaring, smart todo-lists and what not -- with all the things like deadlines, schedules, repeated items, tags, priorities etc. etc.
19.
▲
by
djcb
14y ago
Guile is nice embeddable scheme, and seems to have a lot of momentum, cool new developments. If this project is about making it a bit easier to integrate it in your app, that would be great. It's not /too/ hard to embed guile, but I certain
20.
▲
by
djcb
14y ago
Teaching students about being careful about sources -- online or not -- is good of course. But he should just have shared a paper about or something like that. I agree with Wales; deliberately putting untruths on Wikipedia is really anti-so
21.
▲
by
djcb
14y ago
There's the 'pmccabe' tool, which can check for # of lines of functions and their cyclomatic complexity. Then, pmccabe `find . -name '*.c'` | sort -nr | awk '($1 > 10)' gives me all functions that have a cyclomatic complexity ove
22.
▲
by
djcb
15y ago
"Outliers"? Malcolm Gladwell is an entertaining writer, but I really wouldn't take it too serious... extrapolating way too much, and then reaching faux-unexpected conclusions that resonate nicely with what people like to believe.
23.
▲
by
djcb
15y ago
There are some systems based on the Xapian full-text indexer, including my own 'mu'[1] which might be able to do this. It expects the messages in a Maildir, and it can handle > 150 messages per sec, on fairly slow hardware - so after a
24.
▲
by
djcb
15y ago
similarly, the 'approaches' pseudo-operator: while (i --> 0) { /* do something */ }
25.
▲
by
djcb
15y ago
I wrote 'mu' ( http://www.djcbsoftware.nl/code/mu ), which let's you index/search maildirs; I'm currently adding glue to use it as an emacs-based e-mail client as well (basically, something between wanderlust and notmuch). Anyway, to get ba
26.
▲
by
djcb
15y ago
I think the first step is to leverage Guile as a 'better elisp interpreter'. A lot of progress has been made in that direction, lately. Now, if it will ever replace the existing elisp interpreter depends on a lot of things, technical and n
27.
▲
by
djcb
15y ago
Hmm, I usually use guile[1] + geiser[2] in emacs, which works quite well for me. There's even an info-version[3] of SICP, so all the fun can happen within emacs. [1] http://www.gnu.org/s/guile/ [2] https://savannah.nongnu.org/projects/ge
28.
▲
by
djcb
15y ago
Fish-like syntax highlighting for zsh: https://github.com/nicoulaj/zsh-syntax-highlighting