Re: [dev][wmii] wimenu custom completion

2010-08-14 Thread carmen

Re: [dev] off topic - awk versions performance comparison

2010-08-14 Thread Kris Maglione
On Sun, Aug 15, 2010 at 05:28:53AM +0200, Uriel wrote: Interesting, I thought they had done a sync more recently *sigh* And did't know about the completely different regexp engine. I'm a bit surprised because in my experience I had found that if anything Plan 9 awk's seemed to err more on the si

Re: [dev] off topic - awk versions performance comparison

2010-08-14 Thread Uriel
On Sun, Aug 15, 2010 at 1:53 AM, Kris Maglione wrote: > On Sat, Aug 14, 2010 at 10:38:32PM +0200, Uriel wrote: >> >> On Sat, Aug 14, 2010 at 12:07 PM, Kris Maglione >> wrote: >>> >>> nawk is one-true-awk from FreeBSD. I find the results strange, namely >>> because Plan 9's awk is also one-true-aw

Re: [dev] off topic - awk versions performance comparison

2010-08-14 Thread Kris Maglione
On Sat, Aug 14, 2010 at 10:38:32PM +0200, Uriel wrote: On Sat, Aug 14, 2010 at 12:07 PM, Kris Maglione wrote: nawk is one-true-awk from FreeBSD. I find the results strange, namely because Plan 9's awk is also one-true-awk. It also produces reasonable results with "^y" instead of "y", while gawk

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

2010-08-14 Thread crap
WTFPL has less LOL

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

2010-08-14 Thread Suraj Kurapati
On Sat, Aug 14, 2010 at 5:18 AM, Alexander Teinum wrote: > http://github.com/alexanderte/flo Congratulations on choosing the ISC license for your project. Too many projects still use MIT/X these days when ISC is clearly more suckless IMHO: because it has less LOL (lines of license ;-) Cheers.

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 Robert Ransom
On Sat, 14 Aug 2010 15:59:51 +0200 Alexander Teinum wrote: > The syntax is as short as it possibly can be – you type in the > information that you have available, and flo figures out if it’s an > event, a to-do, or a deadline. When you change an item, the to-do > might become i.e. an event. s/i\

Re: [dev] Suckless Way to Learn How To Program

2010-08-14 Thread Jacob Todd
Read K&R + The Practice of Programming. pgpKIYMDiF9WM.pgp Description: PGP signature

Re: [dev] off topic - awk versions performance comparison

2010-08-14 Thread Uriel
On Sat, Aug 14, 2010 at 12:07 PM, Kris Maglione wrote: > On Wed, Aug 11, 2010 at 03:06:13PM -0400, Joseph Xu wrote: >> >> I was using GNU tr. The input files were single lines with 1 or >> 100 y's, so I was doing 100 matches in each case (from the for loop) on >> the same line. I guess I s

Re: [dev] Suckless design in Games

2010-08-14 Thread Chidambaram Annamalai
On Fri, Aug 13, 2010 at 9:45 PM, Connor Lane Smith wrote: > On 11 August 2010 19:15, Chidambaram Annamalai > wrote: > > Interesting. May I ask what languages you are familiar with? > > C, Python, and Java, mostly, with some Ruby, Vala, Awk, etc on the > side. I've just never had a reason to lear

Re: [dev] [mkpkg] a suckless package manager

2010-08-14 Thread pancake
Yo you should check slpm before arguing ;) i also recommend u to try pkgsrc. Its all done by makefiles. Kinda more complex than mkpkg, but farly better than the gnu build system. mkpkg should define some vars like WGET HG and others to support other commands..bsd systems does not have wget for

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

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

2010-08-14 Thread crap
What's the difference to remind(1)?

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

2010-08-14 Thread Alexander Teinum
I have been working on a program that makes it easy to keep myself, and perhaps others, in check. It’s inspired by suckless. I now consider it stable enough to share it with you. flo accepts a syntax like “.tag what,from-to”. All fields except what are optional. The program usually starts between

Re: [dev] [mkpkg] a suckless package manager

2010-08-14 Thread Connor Lane Smith
(Sorry if this appears to be a separate thread. I can't actually recieve email right now.) > Which means that you have to specify the full compilation rules for every pkg If by "full compilation rules" you mean "cd $dir && make install". I'm sure maintainers will cope. The slpm equivalent package

Re: [dev] Suckless Way to Learn How To Program

2010-08-14 Thread Kris Maglione
On Fri, Aug 13, 2010 at 06:20:17PM -0400, Brandon LaRocque wrote: This is a pretty easy question to ask, though I'm not sure how hard it would be to answer. My question to those at Suckless is this: My son is interested in computer programming, and given the way that programming is being taught,

Re: [dev] Suckless Way to Learn How To Program

2010-08-14 Thread Kris Maglione
On Sat, Aug 14, 2010 at 09:34:30AM +0200, yy wrote: You may want to have a look at the zillions of threads asking this question in reddit.com/r/programming. My personal advice: "Starting Forth" by Leo Brodie. Once he knows some basics, he should learn some more modern language and try to solve p

Re: [dev] Suckless Way to Learn How To Program

2010-08-14 Thread Alex Puterbaugh
I guess the suckless website itself has tons of example code just lying around. Surf's pretty easy to wrap your head around. I suppose it wouldn't be too bad for a beginner to start playing around with. >On Fri, Aug 13, 2010 at 06:20:17PM -0400, Brandon LaRocque wrote: > This is a pretty easy q

Re: [dev] off topic - awk versions performance comparison

2010-08-14 Thread Kris Maglione
On Wed, Aug 11, 2010 at 03:06:13PM -0400, Joseph Xu wrote: I was using GNU tr. The input files were single lines with 1 or 100 y's, so I was doing 100 matches in each case (from the for loop) on the same line. I guess I should have made that more explicit, sorry. I'm interested in what

Re: [dev] [wmii] wimenu custom completion

2010-08-14 Thread Kris Maglione
On Thu, Aug 12, 2010 at 09:19:52PM -0400, Kris Maglione wrote: I might add a horizontal mode to wimenu. I'm personally not very fond of it, but others seem to find it useful and it's a simple enough change. I've done this, with zero new net lines of code no less, but it needs to be cleaned up

Re: [dev] [mkpkg] a suckless package manager

2010-08-14 Thread pancake
Your idea is simpler and closer to gnu package system or pkgsrc. But without reusing code. Which means that you have to specify the full compilation rules for every pkg, this is also an issue if you plan to use other tools like wget/ftp/.. And imho keeping track of files and having support to re

Re: [dev][wmii] wimenu custom completion

2010-08-14 Thread Kris Maglione
On Sat, Aug 14, 2010 at 12:34:41AM +0200, LuX wrote: On Thu, 12 Aug 2010 21:19:52 -0400, Kris Maglione wrote: if you're looking for a start, this is the above modified to (crudely) complete a command and then files in the current directory This second variant is fantastic! It allows me to sele

Re: [dev] Re: [wmii] wimenu custom completion

2010-08-14 Thread Kris Maglione
On Fri, Aug 13, 2010 at 05:39:12PM +0100, Connor Lane Smith wrote: I share Anselm's opinion that if you want to execute a more complex command, you can just open a terminal. It's important to remember that dmenu is a menu: you select items. The fact that you can append arbitrary arguments is just

Re: [dev] Re: [wmii] wimenu custom completion

2010-08-14 Thread Kris Maglione
On Fri, Aug 13, 2010 at 12:15:41PM +0200, LuX wrote: On Thu, Aug 12, 2010 at 09:19:52PM -0400, Kris Maglione wrote: You'll need to replace the // line with { print; fllush() }. I'm afraid that if you use mawk it's hopeless. I'm using awk. Your first variant, modified as above, works perfectly

Re: [dev] Suckless Way to Learn How To Program

2010-08-14 Thread Antoni Grzymala
Antoni Grzymala dixit (2010-08-14, 10:33): > Szabolcs Nagy dixit (2010-08-14, 01:27): > > > sicp used to be the basic book for teaching programming as > > Marc Weber dixit (2010-08-14, 03:10): > > > Maybe a simple Ruby tutorial like this: > > http://pine.fm/LearnToProgram/?Chapter=00 > > is a g

Re: [dev] Suckless Way to Learn How To Program

2010-08-14 Thread Antoni Grzymala
Szabolcs Nagy dixit (2010-08-14, 01:27): > sicp used to be the basic book for teaching programming as Marc Weber dixit (2010-08-14, 03:10): > Maybe a simple Ruby tutorial like this: > http://pine.fm/LearnToProgram/?Chapter=00 > is a good start. Of course it only covers the very basics. If we're

Re: [dev] Suckless Way to Learn How To Program

2010-08-14 Thread yy
You may want to have a look at the zillions of threads asking this question in reddit.com/r/programming. My personal advice: "Starting Forth" by Leo Brodie. Once he knows some basics, he should learn some more modern language and try to solve problems: his problems. Programming is just a tool, not