Re: [dev] [dwm] Mod+Space Cycle Through Layouts?

2010-08-26 Thread Anselm R Garbe
On 26 August 2010 04:39, Calvin Young wrote: > I recently switched to DWM from XMonad and am loving its minimalism and > simplicity.  However, something I do miss from Xmonad and Awesome is the > ability to cycle between layouts using Mod+Space.  I have all of my layouts > bound to hotkeys, but it

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-26 Thread yy
2010/8/26 Kris Maglione : > On Thu, Aug 26, 2010 at 12:19:33AM +0200, yy wrote: >> >> 2010/8/25 pancake : > > * I will probably swap the order of the conditional clauses: (what do > you > think about it) >   3 3 == { 'Is equal duppy\n' print } if >  --> >  { 'Is equal du

Re: [dev] nscript - nscc

2010-08-26 Thread Nikhilesh S
On Thu, 26 Aug 2010, pancake wrote: I have written an initial version of 'nscc' with support for creating native interfaces by parsing an 'nsi' file. This is really awesome work! I just wanted to add, you can use these functions from 'nsobj.h' for creating objects:- struct ns_obj ns_make

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-26 Thread Nikhilesh S
On Thu, 26 Aug 2010, pancake wrote: *) mv ReadMe README *) add install/uninstall/deinstall targets in makefile honoring PREFIX and DESTDIR vars *) CC, CFLAGS and others should be ?= and not =, this way make(1) honors the environment variables *) fix help message of ns to be in one line, descri

Re: [dev] Stripping html from email

2010-08-26 Thread Nick
Quoth pancake: > there's dmc-pack to unpack and unpack mime attachments. The > implementation is 162 LOC and works quite nice. I think is the sanest > way to work with it. Just took a look at dmc. It looks really nice. I enjoyed reading the code. Just a quick question; how are you planning to

Re: [dev] Stripping html from email

2010-08-26 Thread Kai Hendry
I noticed no one mentioned http://packages.qa.debian.org/m/mpack.html `munpack` I noticed this as I began working on a maildir -> Web archive thing last Sunday http://m.dabase.com/ Very early days still. I will definitely consider dmc-unpack instead of course.

Re: [dev] Stripping html from email

2010-08-26 Thread Antoni Grzymala
Suraj Kurapati dixit (2010-08-23, 21:05): > On Mon, Aug 23, 2010 at 8:46 PM, Anthony J. Bentley > wrote: > >> Is there currently a tool or script that I can use to strip html > >> from emails? > > > > mhshow-show-text/html: lynx -dump %F | less > > > > Lynx sucks but it sorta works well enough he

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-26 Thread anonymous
On Thu, Aug 26, 2010 at 01:11:00AM +0200, pancake wrote: > *) about using 'def' instead of $ ..is probably more forthy, but reduces the > performance of the VM.. having 'def' will enable >to override 'def' definition..which is one of the most important features > of lisp/fortran. the same app

Re: [dev] [9base] /bin/rc

2010-08-26 Thread Ethan Grammatikidis
On 2010-08-25 11:04:13 +0100 Kris Maglione wrote: On Wed, Aug 25, 2010 at 02:51:07AM +0100, Ethan Grammatikidis wrote: I never thought of keeping a copy of rc in /bin. What I came up with was an rc+ed script to modify that first line.[1] It itself launches with /usr/bin/env, but it modifies

Re: [dev] Stripping html from email

2010-08-26 Thread Szabolcs Nagy
* Antoni Grzymala [2010-08-26 12:39:33 +0200]: > [1] uri://some.url... > > notation, so that I can actually fish out the links. Is that possible > in w3c as well? > in interactive mode with 'L' you can list links and images but i don't think there is a command line switch for that in general w3

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-26 Thread Nikhilesh S
Floating point support has been added!

Re: [dev] Stripping html from email

2010-08-26 Thread Josh Rickmar
On Tue, Aug 24, 2010 at 04:58:20PM +0200, pancake wrote: > there's dmc-pack to unpack and unpack mime attachments. The > implementation is 162 LOC and works quite nice. I think is the > sanest way to work with it. dmc looks like it could be just what I need, unfortunately I can't compile it on Ope

Re: [dev] Stripping html from email

2010-08-26 Thread Kris Maglione
On Thu, Aug 26, 2010 at 11:24:11AM +0100, Kai Hendry wrote: I noticed no one mentioned http://packages.qa.debian.org/m/mpack.html `munpack` Indeed, I've been using mpack and ripmime for years, but I think that altermime would be cleaner in this case. -- Kris Maglione Religion began when the

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-26 Thread Kris Maglione
On Thu, Aug 26, 2010 at 09:51:10AM +0200, yy wrote: 2010/8/26 Kris Maglione : It does not work that way in postscript and, as I already said in another message, it does not work that way in forth, neither in toka or raven. Would you mind explainning why your way is more logical? I think it could

Re: [dev] wmii9menu items alignment

2010-08-26 Thread Kris Maglione
On Wed, Aug 25, 2010 at 09:48:24PM -0400, Vladimir Levin wrote: I'm very new to this mailing list, but have been using wmii for a year or so now. It's an awesome WM. Thank you very much for maintaining it. Here's my humble contribution. I found that some menu scripts that I've thrown togethe

Re: [dev] wmii9menu items alignment

2010-08-26 Thread Ethan Grammatikidis
On 26 Aug 2010, at 7:33 pm, Kris Maglione wrote: On Wed, Aug 25, 2010 at 09:48:24PM -0400, Vladimir Levin wrote: I've actually considered this myself. I've written scripts which have looked rather bad with the items centered. However, if I were going to add a feature, it would only be a -l

Re: [dev] wmii9menu items alignment

2010-08-26 Thread Kris Maglione
On Thu, Aug 26, 2010 at 09:22:00PM +0100, Ethan Grammatikidis wrote: On 26 Aug 2010, at 7:33 pm, Kris Maglione wrote: On Wed, Aug 25, 2010 at 09:48:24PM -0400, Vladimir Levin wrote: I've actually considered this myself. I've written scripts which have looked rather bad with the items centered.

Re: [dev] wmii9menu items alignment

2010-08-26 Thread Kris Maglione
On Thu, Aug 26, 2010 at 04:31:09PM -0400, Kris Maglione wrote: On Thu, Aug 26, 2010 at 09:22:00PM +0100, Ethan Grammatikidis wrote: On 26 Aug 2010, at 7:33 pm, Kris Maglione wrote: On Wed, Aug 25, 2010 at 09:48:24PM -0400, Vladimir Levin wrote: I've actually considered this myself. I've written

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-26 Thread yy
2010/8/26 Kris Maglione : >> Please, don't tell is the forth way when it is not. In forth, IF only >> takes one argument and is compiled to a conditional jump to THEN (or >> ELSE). > > How is that not a branch? Sorry, of course it is a branch. Yes, Forth has branches. I was thinking about quotatio

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-26 Thread Nikhilesh S
I've implemented a new feature 'namespaces'. The changes are on the 'namespace' branch on github. Now the old separation between 'functrie', 'operatortrie', 'variabletrie' has disappeared. All the builtin functions such as 'print', 'add' etc. have now gone into a 'builtins' namespace. A namespac

Re: [dev] wmii9menu items alignment

2010-08-26 Thread Vladimir Levin
> > I've actually considered this myself. I've written scripts which have > looked rather bad with the items centered. However, if I were going to add a > feature, it would only be a -l flag for left alignment, since I can't see a > use for right alignment and couldn't justify the extra complexity.