Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Alexander Teinum
I haven't tried it, but nice. I would like to see that in dwm as well. Not as a patch that needs to be maintained, but rather as a part of dwm. Are the old style X fonts really that much better?

Re: [dev] A language similar to Markdown that sucks less

2010-08-22 Thread Alexander Teinum
>> I think the >> parser should be implemented in Go. > > Why? It looks like something much easier to do with lisp. Good point, and that might be true, but I want to do it in Go because… 1. I want to learn Go – I haven’t had a chance to try it yet. 2. My guess is that it will execute faster when

Re: [dev] A language similar to Markdown that sucks less

2010-08-22 Thread Alexander Teinum
> TeX is great unless you've got some kind of aversion to learning how to do > what you want > to do.  troff is the same way. I have used TeX for a university paper, and I think the result looked great. I might use this language to generate TeX, HTML, … Most likely my project will die, since that

Re: [dev] A language similar to Markdown that sucks less

2010-08-22 Thread Alexander Teinum
> pandoc extends markdown and has some table support, It does have lots of extensions that I miss in the standard Markdown, so that’s a good point. Still, I’d like to have a minimalistic tool for this that is 100 % based on functions. > Have you heard of SexpCode? No, but that looks very familia

Re: [dev] A language similar to Markdown that sucks less

2010-08-22 Thread Alexander Teinum
What doesn’t work well for me, is that I cannot easily extend Markdown. The design that I propose is simpler and more strict. All tags work the same way. The input is close to a data structure, and it doesn’t need complex parsing. The drawback is that tables and lists need more characters: p

[dev] A language similar to Markdown that sucks less

2010-08-22 Thread Alexander Teinum
I didn’t want to start a completely off-topic discussion in the typesetting thread, so I created a new thread. I’m playing with the idea of creating a language that is simple to read like Markdown, but that has a stricter syntax. It looks like Common Lisp. I think the parser should be implemented i

Re: [dev] Usable typesetting system?

2010-08-22 Thread Alexander Teinum
I might create a parser for a language that I just invented. It’s somewhat like Common Lisp. (h1 A heading) (p This is (strong awefully) nice.) (h2 Another heading) Or, it could be written this way… (h1 A heading) (p This is (strong awefully) nice.) (h2 Another heading) Writing a pa

Re: [dev] Usable typesetting system?

2010-08-22 Thread Alexander Teinum
I want to use Markdown for writing university documents, but it lacks features such as table of contents, list of figures, and reference lists. HTML is not something I would choose for output format, since it doesn’t know the height of a page. Personally, I’d love to see a Markdown-language with

[dev] Re: [dev] Re: [dev] Re: [dev] [dev] Usage, -h, --hel p, help, synopsis, …

2010-08-18 Thread Alexander Teinum
(Sorry for not quoting names. It’s cumbersome to do with more than one person in Gmail.) > With the above rules this should be: flo [-cfrtw arg] [what[,from][-to]] I think that’s too little information. > It also just makes the usage easier to read, in my opinion. Dropping a > few characters jus

[dev] Re: [dev] [dev] Usage, -h, --help, help, synopsis, …

2010-08-18 Thread Alexander Teinum
But we don’t need the brackets. As long as the usage text is unambiguous, then they don’t add any information. Am I right? Alexander

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
How many of these small tools are there? Before this gets out of hand – scream along with me: “IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS …”

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
flo does not store any ids in the items file. Items get their id once they are listed in the order that they are sorted. Since they’re sorted, it’s safe to remove ids between range 5–7 like this: for i in {0..2}; do flo -r 5; done Changing items in a range is not safe, since an item might be sort

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
It might be obvious, but there’s one thing that I have found that is nice about changing ids, and that’s when you’re removing items in a row. Count how many items you want to remove, and then remove the first id three times. Type command, enter, arrow up, enter, arrow up, enter.

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
$ flo do something … $ flo -c 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb -w "do something else" … I’ll think about it.

[dev] Re: [dev] Re: [dev] Usage, -h, --help, help, synopsi s, …

2010-08-17 Thread Alexander Teinum
It would be a nice challenge to write a really small getopt() replacement, and a program that generates usage text. Okay, how about… usage: program -a [-b] [-c] -f file blah blah blah No grouping. Should make parsing simpler. I guess it’s still a good idea to let the user choose the order of the

[dev] Re: [dev] [dev] Usage, -h, --help, help, synopsis, …

2010-08-17 Thread Alexander Teinum
> I think the best format for usage is something like what Plan 9 > utilities use (BSD use the same): > > usage: cmd [-abcde] [-f file] [-g pattern] [file ...] Options without values are combined? Is that correct? > With these rules flo usage should be > > usage: flo [-c id] [-f from] [-r id] [-t

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
On Tue, Aug 17, 2010 at 6:50 PM, Andreas Wagner wrote: > I would like a system for managing a task dependency graph, it is > easier for many people to complete vague tasks when they are broken > down. Having many small tasks without a dependency graph of some sort > would be cumbersome. Yeah, I d

[dev] [dev] Usage, -h, --help, help, synopsis, …

2010-08-17 Thread Alexander Teinum
What is the most concise way of outputting a usage and help text? Must the usage text be unambiguous when it comes to valid combinations? What should the program option or options be named that show the usage or help text? Are there any existing standards for usage and help text? How should the

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
> Don't have time right now, hence that task management application ? ;-) $ f check out david’s app Ids are updated. On Tue, Aug 17, 2010 at 5:32 PM, Nikhilesh S wrote: > I made a flo-git package for AUR then when I was about to submit I found > that there was already flo-git in AUR. This would

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
Damn right! Alexander

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
s/ISO 6801 date/ISO 6801 week/

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-16 Thread Alexander Teinum
> Sounds intriguing, and I'm going to check it out, but I have to admit to > being the "Designer" of a competing bit of software at > http://taskwarrior.org I don’t have time to try it out right now, but I see how an interactive interface might be practical. Mine is more like a pure command line a

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-16 Thread Alexander Teinum
Or fp as in [f]lo gre[p]. It’s two characters, one doesn’t have to type the same character twice, and it alternates between the hands when typing fp d0 for instance. At least for those that use qwerty. :) Alexander

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-16 Thread Alexander Teinum
would never override a bash function or a Unix command, so ff, flg, or flog are better choices. -- Best regards, Alexander Teinum

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-16 Thread Alexander Teinum
alias fg='flo | grep ' # add tagged item f :w meeting,d114-d11430 # list items of a tag fg :w # display today’s events fg d0 # display tomorrow’s events fg d1 Simplicity is so sweet. Alexander

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-16 Thread Alexander Teinum
flo just got one millisecond faster! It is harder now to add a tag to an untagged item, change an existing tag to something else, and to remove a tag. It’s also more to type to look up a tag. I might revert this change, but I’ll see if I can live with it. -- Best regards, Alexander Teinum

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-15 Thread Alexander Teinum
> For timestamps that must be both human-readable and machine-readable, I > just told you: -MM-DDThh:mm:ss-tz:tz (the fractional-second > timezone should be optional).  (That paragraph wasn't entirely a > joke.) Sorry, I misinterpreted what you wrote (“last standard that we’ll ever need” – the

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-15 Thread Alexander Teinum
Robert, what do you (and others here) think are the nicest date and time formats? Just curious. Alexander

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-15 Thread Alexander Teinum
What I like about at your script and the Plan 9 one is that they don’t have a year specified. I don’t need that information unless I’m going to add an event for 2012, or if I still have an event from 2009. Huh… I’ll remove it from flo’s output I realize that there are ways to do this that are clos

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-15 Thread Alexander Teinum
Thanks for the feedback. Right before I went back to $HOME, I realized that it was unnecessary to include the dot-prefix. I decided to not follow that standard, but if I did, I think $XDG_DATA_HOME would be a better place to put the file. I will keep it as it is now, but I wish that there was one

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-14 Thread Alexander Teinum
> s/i\.e\./e.g./ > > Ah, I see. Thanks. Alexander

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-14 Thread Alexander Teinum
> What's the difference to remind(1)? I haven’t used remind before, but I just got it from the Arch Linux package manager. Judging remind from its man-page, I’d say that flo is much simpler; which is a good or bad thing depending on what you need. flo only uses one file, and that’s ~/.flo. Taggin

[dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-14 Thread Alexander Teinum
you prefer an almost direct link to a tarball: http://github.com/alexanderte/flo/tarball/master -- Best regards, Alexander Teinum

Re: [dev] Interesting post about X11

2010-06-20 Thread Alexander Teinum
> Use Scheme.  See Scheme 48 <http://s48.org/> for a nice, simple > implementation to start hacking on. > This thread is about a replacement for X, but we’re also discussing development of “regular” applications. What exactly would you recommend Scheme for? -- Best regards, Alexander Teinum

Re: [dev] Interesting post about X11

2010-06-15 Thread Alexander Teinum
my computer as simple as possible. I love dwm because of its simplicity, and right now I would like to have the same kind of simplicity in the lower layers. -- Best regards, Alexander Teinum

Re: [dev] Interesting post about X11

2010-06-15 Thread Alexander Teinum
ost proves once again that a new window system is what everyone > is waiting for and that it's our opportunity to do that. > I’d love to see, or to be a part of that. -- Best regards, Alexander Teinum

Re: [dev] Interesting post about X11

2010-06-14 Thread Alexander Teinum
using web technologies. This is slightly bit off-topic, but my point is that we may never see another generation of “X.Org + window manager + GTK/QT + applications built on these toolkits”-like architecture built from scratch ever again. -- Best regards, Alexander Teinum

Re: [dev] Tiling windowmanager workflow (Was: [dvtm] Fibonacci layout patch)

2010-06-06 Thread Alexander Teinum
> I think I’m going to keep all the clients that I work with in one tab. > Spotify, background processes etc. can stay in one of the other tabs. > Tag, not tab. ;) I’ll go and see if I can find find some caffeine… -- Best regards, Alexander Teinum

Re: [dev] Tiling windowmanager workflow (Was: [dvtm] Fibonacci layout patch)

2010-06-06 Thread Alexander Teinum
awkward position every time that I want to press alt – which is something that I do very often. Imagine doing alt+j and alt+k without moving the thumb… -- Best regards, Alexander Teinum

Re: [dev] Tiling windowmanager workflow (Was: [dvtm] Fibonacci layout patch)

2010-06-04 Thread Alexander Teinum
s for launching applications: alt+w – Chromium alt+e – Editor alt+t – A shell script pointing to urxvtc, st, xterm or whatever I feel like using alt+s – Spotify I use alt+n and alt+p for switching between tiled windows and alt+tab for switching between the two recently used tags. -- Best regards, Alex

Re: [dev] dwm bar does not highlight any other view than 1

2010-06-04 Thread Alexander Teinum
Yup! I just bought a 24" that I use instead of my laptop screen. It doesn't have anything to do with the latest version of dwm then. Running... xrandr --output LVDS --off ...solved my problem. Thanks! -- Best regards, Alexander Teinum

Re: [dev] dwm bar does not highlight any other view than 1

2010-06-04 Thread Alexander Teinum
s set correctly, but the left part of the bar stays on top. -- Best regards, Alexander Teinum

[dev] dwm bar does not highlight any other view than 1

2010-06-04 Thread Alexander Teinum
this problem. With the current version I'm able watch videos on YouTube in fullscreen. That hasn’t worked before, so thanks for fixing that. Anyway, thanks for developing dwm. It's my favorite WM. :) -- Best regards, Alexander Teinum