Re: [dwm] Suckess Code Management

2009-03-13 Thread Martin Oppegaard
On Fri, Mar 13, 2009 at 12:52:14AM -0700, David E. Thiel wrote:
> On Fri, Mar 13, 2009 at 07:38:24AM +0100, Martin Oppegaard wrote:
> > On Thu, Mar 12, 2009 at 03:35:18PM -0400, James Turner wrote:
> > > I'm also running 0.4a from packages on openbsd 4.4 without any issues. I
> > > haven't seen any characters get eaten. What $TERM are you running? How
> > > often do your chars get eaten? What do you mean by eaten? You type and
> > > half don't ever make it to the screen?
> > 
> > OpenBSD version 4.4.  By eaten, I mean that it looks like I'm in replace
> > mode when I type, but the line gets shorter (eaten up buy tmux) when I
> > undo the changes, too!  If I can scroll down so that the changes gets out
> > of the screen, the text is correct when I scroll back.
> > 
> > I've been setting TERM to xterm-color in .zshrc for some reason, but
> > after some testing, the problem seems to have gone away when I let TERM
> > get set automatically, and it gets set to screen in tmux.  Does that make
> > any sense?
> 
> Try setting "set-window-option -g utf8 on" in your .tmux.conf and
> starting it with "tmux -u". I had things getting gobbled all over the
> place in mutt before I switched to full unicode

OpenBSD doesn't support utf8, so would doing this have any effect at all?
In any event, I tried, and it didn't change anything.  Nvi is fine when
TERM is screen, crap when TERM is xterm(-color), but thanks for the tip.

- Martin



Re: [dwm] suckless.org stylesheet glitch

2009-03-13 Thread miles
Firefox has an excellent plug-in called firebug.  Anyone on this list that has 
done any sort of web dev is familiar with it I'm sure.  The "net" tab will tell 
you how fast things are being served.  It wouldn't hurt to post some 
quantitative results.

That being said, here in the midwest of the United States, I have noticed no 
slow down at all.


miles

--Original Message--
From: hiro
To: dwm mail list
ReplyTo: dwm mail list
Subject: Re: [dwm] suckless.org stylesheet glitch
Sent: Mar 13, 2009 07:06

Me neither.

Here with opera I see that it will only be fast if it has already
resolved the host name. After clearing the cache every single
subdomain of suckless.org takes several seconds to load up at the
first time, whereas cat-v.org will always show up instantly.
I have no idea how to debug this, but perhaps someone can reproduce?

On Fri, Mar 13, 2009 at 11:05 AM, Uriel  wrote:
> Nope.
>
> uriel
>
> On Fri, Mar 13, 2009 at 10:15 AM, Anselm R Garbe  wrote:
>> 2009/3/13 Uriel :
>>> I run http://cat-v.org on xen, and even really long pages like
>>> http://ninetimes.cat-v.org take a couple of seconds to load.
>>>
>>> Something was wrong with suckless.org, sometimes a small page could
>>> take ten seconds, it is better now but still on the slow side of
>>> things.
>>
>> I guess you use ipv6?
>>
>> Kind regards,
>> --Anselm
>>
>>
>
>




Sent from my BlackBerry

Re: [dwm] Suckess Code Management

2009-03-13 Thread pancake

Kurt H Maier wrote:

On Fri, Mar 13, 2009 at 12:59 AM, Alan Busby  wrote:
  

I am astounded by how many respondents regularly use file managers!
  

Yeah, I'm starting to feel like I'm missing something here...
Do file managers have some killer feature that the shells
(bash/tcsh/zsh/etc) don't?



Yep.  When you have a big directory full of images, and you want to
selectively delete some, it's pretty handy to have a big window full
of thumbnails to ctrl+click at will and delete all at once.  Same goes
for auto-generated pdf files with near meaningless names.

Kurt

  

i use gqview for images. for pdfs i always try to name them in a proper way.



Re: [dwm] Suckess Code Management

2009-03-13 Thread Kurt H Maier
On Fri, Mar 13, 2009 at 12:59 AM, Alan Busby  wrote:
>> I am astounded by how many respondents regularly use file managers!
>
> Yeah, I'm starting to feel like I'm missing something here...
> Do file managers have some killer feature that the shells
> (bash/tcsh/zsh/etc) don't?

Yep.  When you have a big directory full of images, and you want to
selectively delete some, it's pretty handy to have a big window full
of thumbnails to ctrl+click at will and delete all at once.  Same goes
for auto-generated pdf files with near meaningless names.

Kurt



Re: [dwm] Gaps

2009-03-13 Thread anonymous
Sadly, it's too hard for me. Thought it would be easier - something like 
"myDefaultGaps" in xmonad, or somewhat. Well, any patches appreciated, but 
thanks anyway :-)


"Enno Boland (Gottox)" :

I would recommended setting sw and sx in setup() and ww and wx in
updategeom() to the disired values.

2009/3/13, Anselm R Garbe :

2009/3/13 anonymous :

> Is it possible to add, for example, left side gap?


Yes, have a look at tile() and change it in order to use w- instead of
 0 as offset.

 Kind regards,

--Anselm

---
Professional hosting for everyone - http://www.host.ru



Re: [dwm] suckless.org stylesheet glitch

2009-03-13 Thread hiro
Me neither.

Here with opera I see that it will only be fast if it has already
resolved the host name. After clearing the cache every single
subdomain of suckless.org takes several seconds to load up at the
first time, whereas cat-v.org will always show up instantly.
I have no idea how to debug this, but perhaps someone can reproduce?

On Fri, Mar 13, 2009 at 11:05 AM, Uriel  wrote:
> Nope.
>
> uriel
>
> On Fri, Mar 13, 2009 at 10:15 AM, Anselm R Garbe  wrote:
>> 2009/3/13 Uriel :
>>> I run http://cat-v.org on xen, and even really long pages like
>>> http://ninetimes.cat-v.org take a couple of seconds to load.
>>>
>>> Something was wrong with suckless.org, sometimes a small page could
>>> take ten seconds, it is better now but still on the slow side of
>>> things.
>>
>> I guess you use ipv6?
>>
>> Kind regards,
>> --Anselm
>>
>>
>
>



Re: [dwm] daily ed usage

2009-03-13 Thread Matthias-Christian Ott
On Fri, Mar 13, 2009 at 11:19:01AM +0100, Stefan Kuttler wrote:
> Hi,

Hi,

> Usually I like to use ed because it's really fast and exact. 
> Of course I use vi(m) too and hate ed(itor) wars. 

I use ed too, although I'm probably a novice user. I use vim only for
long files, so I get an overview (often 1,$p etc. is not enough). 
 
> > The software I use:
> [your answer here]
> 
> Greetings 
> Stefan

Regards,
Matthias-Christian



Re: [dwm] minimalist bug tracker

2009-03-13 Thread Christoph Lohmann

Greetings,

pancake schrieb:

Just thinking about the bug tracker tip for the GSoC..

A friend of me wrote a minimalist bug tracker for commandline called 'bug'.

 http://vicerveza.homeunix.net/~viric/soft/bug/

And some time later i just wrote a simple frontend in php:

 http://radare.org/tabs/bugs.php.txt (550LOC)


"simple"


Few weeks ago another colegue which is developing a simple and secure
language for writing web pages and console applications by using templates
called 'mcms' wrote a port of the bug+bugs.php.txt in his own language in
about 320LOC. Here's the example and the source:

 http://www.yoire.com/mcms-convert/hgweb
 http://www.yoire.com/m/bug.mcms.cgi
 http://www.yoire.com/m/bug.mcms.cgi/showSource


That looks more ugly than PHP classes.

Sincerely,

Christoph Lohmann



Re: [dwm] daily ed usage

2009-03-13 Thread Stefan Kuttler
Hi,

> > Texteditor = ed
> You really do all your editing with `ed'?
 
> If so, then I have great respect!

> Modifying small files like `.hgignore' with `ed' is no problem, but I
> could not manage to be efficient and productive when working in larger
> files like `dwm.c' or latex sources.
> 
> I'd like to hear your experiences. (In a separate thread.)

Sorry for the late reply, I was busy recompiling ed :-P

Usually I like to use ed because it's really fast and exact. 
Of course I use vi(m) too and hate ed(itor) wars. 

> The software I use:
[your answer here]

Greetings 
Stefan

btw, hope to see you all at CLT
-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01



Re: [dwm] suckless.org stylesheet glitch

2009-03-13 Thread Uriel
Nope.

uriel

On Fri, Mar 13, 2009 at 10:15 AM, Anselm R Garbe  wrote:
> 2009/3/13 Uriel :
>> I run http://cat-v.org on xen, and even really long pages like
>> http://ninetimes.cat-v.org take a couple of seconds to load.
>>
>> Something was wrong with suckless.org, sometimes a small page could
>> take ten seconds, it is better now but still on the slow side of
>> things.
>
> I guess you use ipv6?
>
> Kind regards,
> --Anselm
>
>



Re: [dwm] Gaps

2009-03-13 Thread Enno Boland (Gottox)
I would recommended setting sw and sx in setup() and ww and wx in
updategeom() to the disired values.

2009/3/13, Anselm R Garbe :
> 2009/3/13 anonymous :
>
> > Is it possible to add, for example, left side gap?
>
>
> Yes, have a look at tile() and change it in order to use w- instead of
>  0 as offset.
>
>  Kind regards,
>
> --Anselm
>
>


-- 
http://gnuffy.chaotika.org - Real Community Distro



Re: [dwm] suckless.org stylesheet glitch

2009-03-13 Thread Anselm R Garbe
2009/3/13 Uriel :
> I run http://cat-v.org on xen, and even really long pages like
> http://ninetimes.cat-v.org take a couple of seconds to load.
>
> Something was wrong with suckless.org, sometimes a small page could
> take ten seconds, it is better now but still on the slow side of
> things.

I guess you use ipv6?

Kind regards,
--Anselm



Re: [dwm] Wiki date format

2009-03-13 Thread Anselm R Garbe
I think the whole issue is resolved now, because the news index is
using /MM/DD now.

Kind regards,
Anselm

2009/3/13 Uriel :
> The '-' is a tr(1) call away, but I don't see the point, and using '/'
> emphasizes the fs structure and that the urls are 'hackable' (as the
> latest buzzword goes).
>
> uriel
>
> On Wed, Mar 11, 2009 at 6:34 PM,   wrote:
>> * markus schnalke  [2009-03-11 16:42]:
>>> [2009-03-11 16:10] yy 
>>> > OTOH, a
>>> > /mm/dd structure is convenient to organize months and years in a
>>> > tree structure, i.e. directories
>>>
>>> If /mm/dd depicts a path, I agree. Anyway, in this case it's the
>>> only way, as slash separates files in a path.
>>
>> One can use the standard for representation, i.e. show 2042-03-11 _and_
>> store files in 2042/03/11 ( ... as was the intention when time was invented
>> :o) ).
>> What's the problem?
>>
>> Well, this will effectively result in URLs like
>> http://foo.bar.bg/posts/2042/03/11/date-format-is-confusing.html which may
>> be a bit confusing for some people, but the context (hierarchical
>> structure) should prompt what date it is supposed to be. (if one is aware
>> of what the intention was when time was invented)
>> :o)
>>
>> --
>>  cheers
>>  stanio_



Re: [dwm] Gaps

2009-03-13 Thread Anselm R Garbe
2009/3/13 anonymous :
> Is it possible to add, for example, left side gap?

Yes, have a look at tile() and change it in order to use w- instead of
0 as offset.

Kind regards,
--Anselm



Re: [dwm] Wiki date format

2009-03-13 Thread Uriel
The '-' is a tr(1) call away, but I don't see the point, and using '/'
emphasizes the fs structure and that the urls are 'hackable' (as the
latest buzzword goes).

uriel

On Wed, Mar 11, 2009 at 6:34 PM,   wrote:
> * markus schnalke  [2009-03-11 16:42]:
>> [2009-03-11 16:10] yy 
>> > OTOH, a
>> > /mm/dd structure is convenient to organize months and years in a
>> > tree structure, i.e. directories
>>
>> If /mm/dd depicts a path, I agree. Anyway, in this case it's the
>> only way, as slash separates files in a path.
>
> One can use the standard for representation, i.e. show 2042-03-11 _and_
> store files in 2042/03/11 ( ... as was the intention when time was invented
> :o) ).
> What's the problem?
>
> Well, this will effectively result in URLs like
> http://foo.bar.bg/posts/2042/03/11/date-format-is-confusing.html which may
> be a bit confusing for some people, but the context (hierarchical
> structure) should prompt what date it is supposed to be. (if one is aware
> of what the intention was when time was invented)
> :o)
>
> --
>  cheers
>  stanio_
>
>



[dwm] Gaps

2009-03-13 Thread anonymous

Is it possible to add, for example, left side gap?
---
Professional hosting for everyone - http://www.host.ru



Re: [dwm] suckless.org stylesheet glitch

2009-03-13 Thread Uriel
I run http://cat-v.org on xen, and even really long pages like
http://ninetimes.cat-v.org take a couple of seconds to load.

Something was wrong with suckless.org, sometimes a small page could
take ten seconds, it is better now but still on the slow side of
things.

uriel

On Wed, Mar 11, 2009 at 10:30 PM, Anselm R Garbe  wrote:
> 2009/3/11 twfb :
>> On 00:59 Wed 11 Mar     , Uriel wrote:
>>> Also, www.suckless.org is *SLOW* to the point of being unusable
>>
>> Slight exaggeration perhaps... but it is a little bit slow and was
>> indeed slow even before the switch to werc. Nothing dramatic but
>> noticable slow for such a low graphic website.
>
> Don't expect too much from a xen instance. But it's more friendly to
> the environment than having a full blown dedicated server idling most
> of the time ;)
>
> Kind regards,
> --Anselm
>
>



Re: [dwm] Suckess Code Management

2009-03-13 Thread Antoni Grzymala
Alan Busby dixit (2009-03-13, 14:59):

> For all the mutt users,
> I imagine most are doing (fetchmail -> procmail -> mutt) right?

That's right.

For outgoing mail I use a postfix configuration with sender-based
routing to a number of smarthosts (one for each of my accounts) with TLS
and auth which basically simulates the behaviour of a traditional
monolithic mail client.

Best,

-- 
[a]


pgpZ2ehDXyWg4.pgp
Description: PGP signature


[dwm] minimalist bug tracker

2009-03-13 Thread pancake

Just thinking about the bug tracker tip for the GSoC..

A friend of me wrote a minimalist bug tracker for commandline called 'bug'.

 http://vicerveza.homeunix.net/~viric/soft/bug/

And some time later i just wrote a simple frontend in php:

 http://radare.org/tabs/bugs.php.txt (550LOC)

Few weeks ago another colegue which is developing a simple and secure
language for writing web pages and console applications by using templates
called 'mcms' wrote a port of the bug+bugs.php.txt in his own language in
about 320LOC. Here's the example and the source:

 http://www.yoire.com/mcms-convert/hgweb
 http://www.yoire.com/m/bug.mcms.cgi
 http://www.yoire.com/m/bug.mcms.cgi/showSource

Hope it helps to somebody :)

BTW I end up always using a single TODO and BUGS files O:)

Enjoy



Re: [dwm] Suckess Code Management

2009-03-13 Thread pmarin
To navigate between directories the internal  comands dirs, pushd,
popd, etc are very useful. Also you can do multiple tasks in the same
terminal with the job control commands.

On Fri, Mar 13, 2009 at 7:19 AM, Amit Uttamchandani  wrote:
> On Fri, 13 Mar 2009 14:59:03 +0900
> Alan Busby  wrote:
>
>> >
>> > I am astounded by how many respondents regularly use file managers!
>>
>>
>> Yeah, I'm starting to feel like I'm missing something here...
>> Do file managers have some killer feature that the shells
>> (bash/tcsh/zsh/etc) don't?
>>
>
> It seems like I'm on the other side of table here...I've been trying to
> look for a good file manager and I found TuxCmd to be the best. It's
> basically midnight commander with tabs. I guess I could be missing
> something here...
>
> So if you need to work on let's say around 5-6 source code files along
> with constant references to external files such as pdf's, etc. you have
> multiple tabs in a terminal or multiple shells open and use that to
> navigate the file system? Also if you had to copy between files between
> multiple directories...isn't there a lot of "typing" going on?
>
>



Re: [dwm] Suckess Code Management

2009-03-13 Thread Jimmy Tang
On Fri, Mar 13, 2009 at 02:59:03PM +0900, Alan Busby wrote:
>  I am astounded by how many respondents regularly use file managers!
> 
>Yeah, I'm starting to feel like I'm missing something here...
>Do file managers have some killer feature that the shells
>(bash/tcsh/zsh/etc) don't?
> 
>For all the mutt users,
>I imagine most are doing (fetchmail -> procmail -> mutt) right?
> 

yeap mutt, procmail and fetchmail for collecting my mail into one place.
also for spam i use either CRM114 (experimenting with bayesian filters)
or osbf-lua which is just amazing for spamfiltering.

>I'll also give a big thumbs up to bitlbee and rtorrent which I just ran
>across recently.

rtorrent with a good config so you can get it to load up .torrent files
from a directory is indeed handy.

-- 
Sent from my Nokia mobile phone


pgpVW23GvHQGn.pgp
Description: PGP signature


Re: [dwm] Suckess Code Management

2009-03-13 Thread David E. Thiel
On Fri, Mar 13, 2009 at 02:59:03PM +0900, Alan Busby wrote:
> >
> > I am astounded by how many respondents regularly use file managers!
> 
> 
> Yeah, I'm starting to feel like I'm missing something here...
> Do file managers have some killer feature that the shells
> (bash/tcsh/zsh/etc) don't?
> 
> For all the mutt users,
> I imagine most are doing (fetchmail -> procmail -> mutt) right?

qmail -> maildrop -> crm114 -> maildir -> mutt.

FWIW, I have some info (slightly outdated) on the software I like here:

http://redundancy.redundancy.org/software.html



Re: [dwm] Suckess Code Management

2009-03-13 Thread David E. Thiel
On Fri, Mar 13, 2009 at 07:38:24AM +0100, Martin Oppegaard wrote:
> On Thu, Mar 12, 2009 at 03:35:18PM -0400, James Turner wrote:
> > I'm also running 0.4a from packages on openbsd 4.4 without any issues. I
> > haven't seen any characters get eaten. What $TERM are you running? How
> > often do your chars get eaten? What do you mean by eaten? You type and
> > half don't ever make it to the screen?
> 
> OpenBSD version 4.4.  By eaten, I mean that it looks like I'm in replace
> mode when I type, but the line gets shorter (eaten up buy tmux) when I
> undo the changes, too!  If I can scroll down so that the changes gets out
> of the screen, the text is correct when I scroll back.
> 
> I've been setting TERM to xterm-color in .zshrc for some reason, but
> after some testing, the problem seems to have gone away when I let TERM
> get set automatically, and it gets set to screen in tmux.  Does that make
> any sense?

Try setting "set-window-option -g utf8 on" in your .tmux.conf and
starting it with "tmux -u". I had things getting gobbled all over the
place in mutt before I switched to full unicode




Re: [dwm] Suckess Code Management

2009-03-13 Thread Amit Uttamchandani
On Thu, 12 Mar 2009 14:52:26 -0300
Brendan MacDonell  wrote:

[snip]

> * Text Editor: vile. I prefer the statically compiled lexers for
> syntax highlighting as it means that I never have to contend with the
> limited context and broken highlighting caused by starting vim at a
> line in the middle of a large function. The binary is still smaller
> than vim, @ 1.4MB with all of the filters compiled in, and there's few
> configuration files to load.

I just looked at vile...very cool app. Haven't figured out all the
commands yet but I'm quite happy that it supports verilog syntax
highlighting. Can you do vertical splits or file browsing within vile?

> * TODO/Bug tracking/Notes: I keep track of my Todo list and other info
> with a 1.3KLOC (C++) utility I wrote to handle tagged notes from the
> command line. Maybe I'll get around to writing up a readme and
> releasing it soon.
> * Compilers: GCC/G++/Gambit-C (scheme).
> 

I'd very interested in this.

> Brendan MacDonell
> 

Thanks,
Amit



Re: [dwm] Suckess Code Management

2009-03-13 Thread Kai Grossjohann
On Thu, 12 Mar 2009 22:57:08 -0600
Neale Pickett  wrote:

> I am astounded by how many respondents regularly use file managers!

I couldn't live without them.  I used to use dired in Emacs, now I use
the corresponding vim functionality.

If you know what you want, then it is quicker to enter the filename
with completion, be it in bash or zsh or Emacs or vim.

But if you are not sure which files there are and which one you might
wish to operate on, it's surely nice to get a list, to be able to move
the cursor to one of them, and to hit some key to open the PDF in
Evince or the source file in the editor.

I think I want to try TuxCmd, it looks quite cool.

Kai




Re: [dwm] Suckess Code Management

2009-03-13 Thread Amit Uttamchandani
On Fri, 13 Mar 2009 15:50:14 +0900
Alan Busby  wrote:

> On Fri, Mar 13, 2009 at 3:19 PM, Amit Uttamchandani
> 
> > So if you need to work on let's say around 5-6 source code files along
> > with constant references to external files such as pdf's, etc. you have
> > multiple tabs in a terminal or multiple shells open and use that to
> > navigate the file system? Also if you had to copy between files between
> > multiple directories...isn't there a lot of "typing" going on?
> 
> 
> To answer your questions
> 
> 1. All the source files would be open in emacs, likely split screen.
> 
> 2. All pdf's would be open in different instances of xpdf in a "stack" of
> windows to the side of emacs. Same for firefox, e-mail, etc if it relates to
> coding.
> 
> 3. I usually have a couple terminals open, for any number of reasons; and
> navigate the filesystem with "cd fsc", "cd -", etc. Terminals are
> good for more than just navigation since they can be running make, gdb,
> tcpdump, git, etc...
> 
> 4. To copy files, use "cp" mixed with "ls", "find", "grep", "xargs", and
> bash commands when useful.
> Example, $find ~/music | egrep -i 'beatles|nirvana' | grep -i 'mp3$' | xargs
> -i mv -n {} ~/favorite_tunes
>

Interesting.
 
> 
> > isn't there a lot of "typing" going on?
> 
> Er, not really. How much effort would it be to find and consolidate every
> beatles and nirvana song in a huge directory structure via tuxcmd?

You're right about that. I gotta learn use xargs.

Thanks for the reply!