Earlier quoted context omitted.
> 1. Command input component similar to browser omni bars or Emacs M-X interface which parses command input and delegates to service. You might find what you're looking for in dmenu: https://tools.suckless.org/dmenu/
Yeah, so dmenu might potentially cover the command input bit but AFAIK it's really just like Enso, QuickSilver, Launchy etc. What I'm thinking of doesn't really index executables per say but allows for the registration of commands. What I'm thinking of is limited in scope to "commands" that are registered with the component. Maybe dmenu can be bent to this use case; thanks for the link.
Digital Minimalism for the Working Hacker
81–90 of 107 posts
Re: Digital Minimalism for the Working Hacker
#82Earlier quoted context omitted.
> I find that language mode regexps so often get confused that they're more annoying than convenient. For what language modes do you have that experience? I haven't used emacs myself much, but in other editors, most syntax highlighting descriptions are pretty good. The only exception to this rule is highlighting Haskell, which is apparently a monstrous challenge that no-one can even do remotely well.
It's really, really hard to make a completely correct mode based on regexes—just consider the challenge of writing a regex that correctly highlights the syntax of regex itself, which you need for JavaScript, Ruby, and lots of other languages. Heredocs in shell, metaprogramming tricks in Ruby, reader extensions in Lisp, nested quotes, etc etc etc—I might be weird, but I feel like I run into these edge cases a lot, whe…
In sublime text, for example, the syntax definitions are basically stack machines (if I'm not mistaken), and can therefore parse any context-free grammar. This is clearly powerful enough to handle all the edge cases you mention.
Re: Digital Minimalism for the Working Hacker
#83Earlier quoted context omitted.
It's really, really hard to make a completely correct mode based on regexes—just consider the challenge of writing a regex that correctly highlights the syntax of regex itself, which you need for JavaScript, Ruby, and lots of other languages. Heredocs in shell, metaprogramming tricks in Ruby, reader extensions in Lisp, nested quotes, etc etc etc—I might be weird, but I feel like I run into these edge cases a lot, whe…
I completely agree that highlighting code with regexps is almost useless, but if emacs is not capable of doing more than that (or its language modes usually do not do more than that), I think that emacs is at fault here, not syntax highlighting. In sublime text, for example, the syntax definitions are basically stack machines (if I'm not mistaken), and can therefore parse any context-free grammar. This is clearly pow…
Re: Digital Minimalism for the Working Hacker
#84I like various discussion forums and talking to people online (often on IRC - when I'm programming). I like exchange of ideas, even arguing - as long as it remains respectful. I consider message boards / forums bloated and clunky. I miss usenet and threaded discussion. Disqus technically does that, but it takes what, 20 seconds to load ? And after recent acquisition it's only going to get worse. I think threaded disc…
With improvements over HN: https://www.talkyard.io/-32/how-hacker-news-can-be-improved-...
Hmm I think threaded discussions, make the more sense, the more people join the discussion. If 999 people talk about something, they're going to split up into smaller groups, each group talking about a sub topic = thread. And everything laid out in a flat way = a huge mess. But if just 5 people talk about something — then they can stay focused on the same thing all of them. Flat = more ok.
Re: Digital Minimalism for the Working Hacker
#85i3wm has been a huge productivity boost for me as a development machine at home for the following reasons: - no distractions - minimalism, most navigation on the keyboard - easy to setup a startup script that preloads your default screens / workspaces / apps setup - easy to map your workspaces in your mind From machine boot to coding: 30 seconds. https://twitter.com/Phonosheet/status/952179820447911936
The interface is fantastic, it's the first WM I've used (apart from maybe tmux or vim) that actually manages my windows well. In hindsight the desktop metaphor is such and obviously dead end that we've wasted for too much time on. It will take some retraining, but even things like tabs in the web browser no longer feel necessary, the WM can handle this and give a consistent global interface. MS is kind of heading in this direction too: https://www.theverge.com/2017/11/28/16709190/microsoft-windo... .
I started off with the manjaro distro (https://manjaro.org/category/community-editions/i3/), it's got a fair bit of bling that you won't get by default elsewhere but the performance is great.
Re: Digital Minimalism for the Working Hacker
#86Earlier quoted context omitted.
Yeah, so dmenu might potentially cover the command input bit but AFAIK it's really just like Enso, QuickSilver, Launchy etc. What I'm thinking of doesn't really index executables per say but allows for the registration of commands. What I'm thinking of is limited in scope to "commands" that are registered with the component. Maybe dmenu can be bent to this use case; thanks for the link.
I found a really cool project that makes a sublime style command menu for any gtk app https://github.com/p-e-w/plotinus . Still need to try it but it sounds awesome
Re: Digital Minimalism for the Working Hacker
#87Does anyone else remember the WinAmp era of music software? There was a time when basically every app for playing music on your computer lived inside a little floating window that you carried with you to all of the other apps you were using at the time. That really did help me think of my music player as a tool and not a place. Though the little scrolling text could be distracting sometimes, I do occasionally find my…
WinAmp is a tool, and it still works. If you aren't using it, perhaps you actually want a place instead of a tool?
Re: Digital Minimalism for the Working Hacker
#88Earlier quoted context omitted.
> 1. Command input component similar to browser omni bars or Emacs M-X interface which parses command input and delegates to service. You might find what you're looking for in dmenu: https://tools.suckless.org/dmenu/
Yeah, so dmenu might potentially cover the command input bit but AFAIK it's really just like Enso, QuickSilver, Launchy etc. What I'm thinking of doesn't really index executables per say but allows for the registration of commands. What I'm thinking of is limited in scope to "commands" that are registered with the component. Maybe dmenu can be bent to this use case; thanks for the link.
Re: Digital Minimalism for the Working Hacker
#89Earlier quoted context omitted.
> I'm saving for an E-ink device, it's too bead the technology stagnated because of tablets and smartphones. While I'm one who thinks there's always room for improvement, I've owned about 5-6 various Kindles and if you're interested in having hundreds of books on one portable device you should just grab one. I've got the 1st (I believe) Paperwhite and it's all I need. I've looked at the newer Paperwhite and the Oasis…
It's more matter of lack of money than "waiting for the right one". I would prefer a colorful screen so I can comfortably read programming books too, but there are workarounds, like typeface trickery described in the article. Also, I would prefer a device that isn't from Amazon. They're probably all "made in China" anyway so any of them can be bugged, I guess...
Re: Digital Minimalism for the Working Hacker
#90I like various discussion forums and talking to people online (often on IRC - when I'm programming). I like exchange of ideas, even arguing - as long as it remains respectful. I consider message boards / forums bloated and clunky. I miss usenet and threaded discussion. Disqus technically does that, but it takes what, 20 seconds to load ? And after recent acquisition it's only going to get worse. I think threaded disc…
Maybe Talkyard is a bit different? It's new forum software, threaded, inspired by Hacker News: https://www.talkyard.io . (I'm developing it) With improvements over HN: https://www.talkyard.io/-32/how-hacker-news-can-be-improved-... Hmm I think threaded discussions, make the more sense, the more people join the discussion. If 999 people talk about something, they're going to split up into smaller groups, each group ta…