Re: [dev] [sbase] shell scripts

2013-07-07 Thread Joseph Xu
Is this a matter of efficiency alone? The C implementation is straightforward and short. It doesn't get simpler if you wrote it in a higher level language. Your shell script is IMO much harder to understand.

Re: [dev] [st] windows port?

2013-04-11 Thread Joseph Xu
On Thu, Apr 11, 2013 at 10:59 AM, Max DeLiso maxdel...@gmail.com wrote: A) That's stupid B) Therefore OP must be stupid. I don't think you're stupid, because the few times I've had to use cmd.exe, I've thought about this myself. But I do think it's a waste of time. How much do you use the

Re: [dev] [st] New feature idea

2013-04-08 Thread Joseph Xu
On Sun, Apr 7, 2013 at 4:55 AM, Silvan Jegen s.je...@gmail.com wrote: Sorry to revive this older discussion but I finally found that one graphical shell implemented in Webkit that your idea reminded me of. I thought you might be interested in reading about it (if you haven't already).

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-23 Thread Joseph Xu
On 1/23/11, Anselm R Garbe garb...@gmail.com wrote: On 22 January 2011 20:41, Joseph Xu joseph...@gmail.com wrote: Here's a little data just to ground things a bit: $ time dash -c '' real0m0.001s user0m0.000s sys 0m0.000s $ time rc -c '' real0m0.002s user0m0.000s

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-22 Thread Joseph Xu
Here's a little data just to ground things a bit: $ time dash -c '' real0m0.001s user0m0.000s sys 0m0.000s $ time rc -c '' real0m0.002s user0m0.000s sys 0m0.000s $ time bash -c '' real0m0.007s user0m0.003s sys 0m0.000s $ time python -c '' real

Re: [dev] Re: sta.li progress

2010-12-20 Thread Joseph Xu
Are there any instructions on how to use this libc with gcc? On Mon, Dec 20, 2010 at 2:14 PM, hiro 23h...@googlemail.com wrote: We don't compile stuff anymore since we have discovered the rc shell :D On 10/27/10, finkler fink...@officinamentis.org wrote: On 10/28/10 01:16, Jacob Todd wrote:

Re: [dev] [st] Fixed -e with support for spaces

2010-11-26 Thread Joseph Xu
Josh and I were discussing this over IRC. Here's an alternative patch I came up with. It relies on the shell that executes st to parse the arguments, so you can't run a command like st -e touch arst, you have to run st -e touch arst. This also means you can't have any st arguments after the -e

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

2010-08-22 Thread Joseph Xu
On 8/22/2010 12:47 PM, David J Patrick wrote: On 10-08-22 12:37 PM, Alexander Teinum wrote: 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

[dev] off topic - awk versions performance comparison

2010-08-11 Thread Joseph Xu
Hi everyone, I was playing around with awk and ran into some surprising data for the function match(s, r), which returns the position of the first match of regular expression r in string s. Here's the test I ran: $ yes | head -1 | tr -d '\n' /tmp/big $ yes | head -100 | tr -d '\n'

Re: [dev] curses samterm

2010-08-03 Thread Joseph Xu
On 8/3/2010 12:41 AM, Wolf Tivy wrote: I find it useful to be able to edit files using my regular editor after I break X, or if I don't feel like starting it up. X doesn't break that often for me. I like curses stuff even in X because it is nice to open up an editor and have it tempoarily

Re: [dev] curses samterm

2010-08-02 Thread Joseph Xu
Under what circumstance would you not be able to run sam's gui and have to resort to a curses interface? sam already provides a way to connect the gui to a remote host via ssh to edit files over a slow connection. I've even done this with an old Windows port of sam running locally and a remote

Re: [dev] curses samterm

2010-08-02 Thread Joseph Xu
On 8/2/2010 6:15 PM, Wolf Tivy wrote: I noticed there is a project for a samterm on the project ideas page. Has anyone started on this? It seems like a really good idea. I guess ideally it would be usable without X (in text mode) but would still keep the nice view and selection interface.

Re: [dev] merp is a loneliness mitigation device written in python and Tk

2010-07-14 Thread Joseph Xu
On Tue, Jul 13, 2010 at 1:33 PM, Uriel ur...@berlinblue.org wrote: The ircfs site t is up now: http://www.ueber.net/code/r/ircfs ircfs is great, and its gui is great too, and mjl is a great hacker. Thanks for linking this. And does the world really need yet another python irc client? And

Re: [dev] merp is a loneliness mitigation device written in python and Tk

2010-07-13 Thread Joseph Xu
On Mon, Jul 12, 2010 at 1:46 PM, Ethan Grammatikidis eeke...@fastmail.fm wrote: On 12 Jul 2010, at 13:50, Ethan Grammatikidis wrote: On 12 Jul 2010, at 03:33, Joseph Xu wrote: Hi: I switched my main computer to Windows XP a while ago to play some games, and was frustrated with the lack

Re: [dev] merp is a loneliness mitigation device written in python and Tk

2010-07-13 Thread Joseph Xu
On Tue, Jul 13, 2010 at 11:48 AM, Ethan Grammatikidis eeke...@fastmail.fm wrote: On 13 Jul 2010, at 14:09, Joseph Xu wrote: Hi Ethan: Thanks for checking out the software. Sounds like Tk is not as cross-platform as it claims. I don't have access to a mac right now, but I'll look

[dev] merp is a loneliness mitigation device written in python and Tk

2010-07-11 Thread Joseph Xu
Hi: I switched my main computer to Windows XP a while ago to play some games, and was frustrated with the lack of simple usable IRC clients (among other applications). So I decided to write my own. Since I didn't want to mess with Visual Studio and complicated GUI toolkits, I decided to

Re: [dev] Presentation slides software

2010-06-29 Thread Joseph Xu
On 6/29/2010 7:42 AM, Nick wrote: On Tue, Jun 29, 2010 at 12:34:52PM +0200, Uriel wrote: I'm looking for a minimally sane way to generate presentation slides, ideally using something similar to markdown and capable of generating decent-looking html (and hopefully) pdf. S5 looks quite decent.

Re: [dev] [OFFTOPIC] Recommended meta-build system

2010-02-01 Thread Joseph Xu
On Tue, Feb 02, 2010 at 12:09:28AM +0100, Nicolai Waniek wrote: On 02/01/2010 10:25 PM, Uriel wrote: If you define your personal identity based on the colors of your fucking window manager I feel sorry for your pathetic worthless life. This is not the first time that you confuse cause and

[dev] include files should never include include files?

2010-01-16 Thread Joseph Xu
A little off topic maybe, hope I'll be forgiven ... I'm reading Rob Pike's C programming style guide (http://www.quut.com/c/pikestyle.html), and the last rule says: -- Simple rule: include files should never include include

Re: [dev] [wmii] Firefox new windows

2009-11-23 Thread Joseph Xu
On Mon, Nov 23, 2009 at 09:11:50AM -0800, Suraj Kurapati wrote: On Mon, Nov 23, 2009 at 8:58 AM, Yannic Haupenthal you might use        /Firefox.*/ - sel # and/or        /Shiretoko.*/ - sel in your tagrules. Awesome! This is the best solution. :-) Please disregard my other email

Re: [dev] a suckless computer algebra system

2009-11-19 Thread Joseph Xu
On Thu, Nov 19, 2009 at 02:23:35PM -0600, A.J. Gardner wrote: I'm interested in math and CASs, but my opinions on available software are ill-formed and mostly ignorant. Does anyone else here have an interest in this topic, broadly speaking? If so, do you have any preferences for one package