Re: [dev] sbase - seq.c: help wanted

2012-04-17 Thread Dmitry Maluka
On 04/17/2012 01:15 AM, Connor Lane Smith wrote: > I'm confused about why we need to use a regular expression here. We > can do this with a few loops and some ifs. Using regexes in seq(1) > really, really concerns me. A note on this from Rob Pike's blog: http://commandcenter.blogspot.com/2011/08/r

[dev] [sic] 2 patches

2011-03-05 Thread Dmitry Maluka
1. Change default port from "ircd" to "6667" to not rely on /etc/services. 2. Add util.c prerequisite for sic.o in Makefile. diff -r 904b7747c223 -r 3cdf71a37e17 sic.c --- a/sic.c Fri Aug 06 09:52:12 2010 +0100 +++ b/sic.c Sat Mar 05 21:49:13 2011 +0200 @@ -9,7 +9,7 @@ #include static

Re: [dev] dmenu patch to return all matching items (for a new dmenu-powered music player interface)

2010-11-11 Thread Dmitry Maluka
C++ish declarations should be removed. Patch attached. On Thu, Nov 11, 2010 at 11:41:58AM +, Connor Lane Smith wrote: > Hey, > > On 11 November 2010 05:25, Dan Brown wrote: > > Why is this patch of interest? I call it "filtermode" because it uses > > dmenu to generate a list of matches, with

Re: [dev] Suckless design in Games

2010-08-09 Thread Dmitry Maluka
On Mon, Aug 09, 2010 at 10:14:02PM -0400, Sean Howard wrote: > It depends on the game. Most games want an Object Oriented Language, > simply because the OO design is the best for something dealing with > the manipulation of objects. The problem is the lack of a good OO > language. I don't really kn

Re: [dev] Convert Suckless Projects Documentation to a More Simple Language

2010-06-17 Thread Dmitry Maluka
On Thu, Jun 17, 2010 at 05:27:39AM -0400, Kris Maglione wrote: > English really isn't much more than bastardized Germanic with quite a > lot of words stolen from Norman French, anyway. A bit like C++ to C, > really. German is overcomplicated too, try Swedish.

Re: [dev] Suckless operating system

2010-06-15 Thread Dmitry Maluka
On Tue, Jun 15, 2010 at 02:21:12PM +0100, Ethan Grammatikidis wrote: > On w3.org by contrast the page on the cgi standard has nothing but > dead links and references to an obsolete web server. I was searching > for the CGI standard the other day, and couldn't find it _anywhere_. It's here, btw: ht

Re: Re: [dev] Fwd: OT:GUI wireless connections management?

2010-05-30 Thread Dmitry Maluka
On Sun, May 30, 2010 at 09:59:02PM +0200, Antoni Grzymala wrote: > May I suggest, that it would much simpler for the world to actually fix > a few libs in a few conservative OS'es? > > There's nothing that makes the notion of one-byte-per-character somewhat > universal. Just an arbitrary desision

Re: Re: [dev] Fwd: OT:GUI wireless connections management?

2010-05-30 Thread Dmitry Maluka
On Sun, May 30, 2010 at 07:29:34PM +0100, Anselm R Garbe wrote: > For my German conversations I'm in favor to rewrite German umlauts > like so: ae/Ae oe/Oe ue/Ue and sz and be still UTF8 compliant, > regardless the platform in use. > > I understand that for cyrillic this would be a problem though.

Re: [dev] dmenu_path rewrite in C

2010-05-19 Thread Dmitry Maluka
On Wed, May 19, 2010 at 01:31:03PM +, Connor Lane Smith wrote: > On 19/05/2010, Dmitry Maluka wrote: > > That's OK inside a single project. But you wrote: > > > > "When it comes to code style questions, it is very likely that > > individual programmers wi

Re: [dev] dmenu_path rewrite in C

2010-05-19 Thread Dmitry Maluka
On Wed, May 19, 2010 at 01:46:18PM +0100, Anselm R Garbe wrote: > On 19 May 2010 13:38, Dmitry Maluka wrote: > > On Wed, May 19, 2010 at 02:10:41PM +0200, Marvin Vek wrote: > >> Don't see it as a limitation, getting a uniform look isn't that much > >>

Re: [dev] dmenu_path rewrite in C

2010-05-19 Thread Dmitry Maluka
On Wed, May 19, 2010 at 12:45:42PM +, Connor Lane Smith wrote: > You might say that different styles are equal in their readability > (though I personally think K&R trumps), but do we really have to learn > a hundred different dialects? If we use similar styles it makes it a > lot easier to con

Re: [dev] dmenu_path rewrite in C

2010-05-19 Thread Dmitry Maluka
On Wed, May 19, 2010 at 02:10:41PM +0200, Marvin Vek wrote: > Don't see it as a limitation, getting a uniform look isn't that much > work and doesn't create confusion for programmers. But it creates a feeling of the Third Reich. We're not industrial monkeys, are we? Formal things like indentation

Re: [dev] dmenu_path rewrite in C

2010-05-19 Thread Dmitry Maluka
On Wed, May 19, 2010 at 01:24:46PM +0200, pancake wrote: > 2) > syntax is not following the suckless style, I would prefer to have all source > files in suckless following the same rules. To me it's a silly limitation. The style is clean and uniform across the program, that's all what's needed.

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Dmitry Maluka
On Fri, May 14, 2010 at 10:53:05PM +0200, mobi phil wrote: > > Yeah, it's easy. Keeping simple is hard. > Well, how many time do you preach this sentence one day? Why do you > think that other people would be so idiot, that would not know such an > obvious think? Sorry but you look like an idiot.

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-14 Thread Dmitry Maluka
Yes another sucking bloated program. On Fri, May 14, 2010 at 07:21:18PM +0200, mobi phil wrote: > When you are looking some functions or some patters you use grep, > isn't it? Each time you do grep, the file is loaded into memory, you > do the next grep again, etc. No. It's piped into grep. Pipe

Re: [dev] Suckless BT client(s)?

2010-05-04 Thread Dmitry Maluka
Try btpd, a daemon + CLI.

Re: [dev] Re: stali and OpenBSD userland etc.

2010-04-18 Thread Dmitry Maluka
On Sun, Apr 18, 2010 at 08:16:37PM +0200, finkler wrote: > While I agree with usability over standard fetishism, it isn't really > the case that many Linux desktops are POSIX compliant. A little off-topic, but I wish to remind that, generally, standards compatibility pursuing is not necessarily fe

[dev] [sic] Segfault

2010-03-20 Thread Dmitry Maluka
sic segfaults when USER environment variable is not set (so getenv("USER") returns NULL): $ unset USER $ sic

Re: [dev] HG and python

2010-03-16 Thread Dmitry Maluka
On Mon, Mar 15, 2010 at 02:41:30AM +0100, Sylvain BERTRAND wrote: > > >Lua is suckless, seriously. Just look at it. > > I know lua's code is suckless (unfortunately BSD-LIKE). But coding using lua > is not. From there, lua won't reach heaven. I haven't dug much into Lua source code, it seems to

Re: [dev] HG and python

2010-03-11 Thread Dmitry Maluka
On Wed, Mar 10, 2010 at 08:15:04PM +0100, Sylvain BERTRAND wrote: > > In heaven there is no GNU. > > Neither perl/python/ruby/lua/squirel/scheme/C++/java/C#. > :) Lua is suckless, seriously. Just look at it.

Re: [dev] Re: Simple port scanner again (was: GSoC 2010)

2010-03-06 Thread Dmitry Maluka
On Sat, Mar 06, 2010 at 01:50:39PM +0300, anonymous wrote: > On Thu, Mar 04, 2010 at 11:17:08PM +0200, Dmitry Maluka wrote: > > What is the profit from this abstraction? You call remove_scanned() > > which moves host from host queue to scanned queue; output() takes hosts > > f

Re: [dev] Re: Simple port scanner again (was: GSoC 2010)

2010-03-04 Thread Dmitry Maluka
On Thu, Mar 04, 2010 at 11:00:05PM +0300, anonymous wrote: > On Thu, Mar 04, 2010 at 08:14:17PM +0200, Dmitry Maluka wrote: > > Maybe I miss something, but why not just output results as far as hosts > > are scanned? Output isn't that slow to use threads. > > The

Re: [dev] Re: Simple port scanner again (was: GSoC 2010)

2010-03-04 Thread Dmitry Maluka
On Thu, Mar 04, 2010 at 03:33:53PM +0300, anonymous wrote: > On Wed, Mar 03, 2010 at 03:25:38PM -0600, eze.program...@gmail.com wrote: > > I think this is a good project idea, and it would prove more than useful > > also im looking forward to the simple port scanner, these project ideas > > have ca

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

2010-02-01 Thread Dmitry Maluka
On Mon, Feb 01, 2010 at 09:48:37AM +, Anselm R Garbe wrote: > IMHO such a package manager is not needed, all we need are static > executables of each tool what I try to achieve with static linux. Only > exception are config files for daemons and tools, however this is all > achievable using git

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

2010-02-01 Thread Dmitry Maluka
On Sun, Jan 31, 2010 at 11:00:58PM +0100, Uriel wrote: > There are retarded standards for all kinds of crap, too bad that there > are thousands of standards and nobody follows them anyway. > > It is simple, the system user knows much better where shit is than the > developer can dream knowing, if t

Re: [dev] SHCMD(cmd): this may be a stupid question, but...

2010-01-06 Thread Dmitry Maluka
It just launches shell: "/bin/sh -c $CMD" where $CMD is your command string. Shell parses this string and launches all specified commands, with possible substitution, redirection, pipelining etc.

Re: [dev] [DWM] suggestion for dwm

2010-01-03 Thread Dmitry Maluka
On Sun, Jan 03, 2010 at 09:51:15PM +0100, Antoni Grzymala wrote: > Peter John Hartman dixit (2010-01-03, 13:51): > > The tray “protocol” itself is a totally borken idea of the useless WIMP > paradigm. A workaround for a workaround. Makes even less sense in the > tagged dwm environment. > > As to

Re: [dev] simple portscanner

2010-01-03 Thread Dmitry Maluka
Looks simple and clean. Makefile should contain uninstall rule: diff -r 24c81cd5e477 makefile --- a/makefile Sun Jan 03 15:37:05 2010 +0300 +++ b/makefile Sun Jan 03 19:45:35 2010 +0200 @@ -15,6 +15,9 @@ install: $(PROG) cp $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG) +uninstall: +

Re: [dev] [OT]: Lisp

2009-11-13 Thread Dmitry Maluka
> I don't see the point of writing complex macros to subdue a language to > my taste, when I could just as easily use another language. Why not try Lisp as another language? Macros are not necessarily kludges (though C macros are). They are a tool for code simplification and decomposition. Anothe

Re: [dev] [OT] [OT]: Go programming language

2009-11-13 Thread Dmitry Maluka
On Fri, Nov 13, 2009 at 03:47:46AM +, Aled Gest wrote: > I totally agree that the C pre-processor sucks. It's ill thought out > and needs replacing. Any proposals? > However, going back to what you were saying about > you being able to subdue Lisp's syntax with macros, any language that > req

Re: [dev] [OT]: Go programming language

2009-11-12 Thread Dmitry Maluka
On Fri, Nov 13, 2009 at 06:16:00AM +1100, Jessta wrote: > Lisp has the 'everything is a list' problem and there is lots of > behaviour that doesn't fit well in to this. Consistancy can make > things intuitive, but you shouldn't sacrifice intuitiveness for > consistancy. Lisp does not have this pro

Re: [dev] [OT]: Go programming language

2009-11-12 Thread Dmitry Maluka
On Thu, Nov 12, 2009 at 03:32:37PM +, Aled Gest wrote: > Not really. I don't like having forced polish notation for everything, > if I did I'd just write everything in ASM. You have no clue what Lisp is. It's a meta-language. See below. > Well you've failed in that attempt. I just don't see a

[dev] Gmane mentioning at suckless.org

2009-11-10 Thread Dmitry Maluka
Hi all! We probably should mention newly created gmane.comp.misc.suckless newsgroup at http://suckless.org/community.

Re: [dev] Thanks for your anwsers and how do you want your text editor ?

2009-09-24 Thread Dmitry Maluka
On Thu, Sep 24, 2009 at 10:01:38AM +1000, Jessta wrote: > On 24/09/2009, QUINTIN Guillaume wrote: > > Does YALSE have to support > > > > => a plugin system ? extensions ? scripting language (LUA ?) ? (so one > > can embed a terminal within YALSE) > > No, it's a text editor. It edits text. It's e

Re: [dev] Gmane newsgroup for the new mailing list

2009-07-25 Thread Dmitry Maluka
>From instruction on importing archives into Gmane (http://gmane.org/import.php): > Archives to be imported can be in one of two formats: Either a tar > file of a one-message-per-file directory, where the files have names > that increase numerically, or a Unix mbox file. No other formats are > acc

Re: [dev] Gmane newsgroup for the new mailing list

2009-07-25 Thread Dmitry Maluka
On Sat, Jul 25, 2009 at 07:57:38AM -0700, Thayer Williams wrote: > That seems the most logical way to go, though I don't know why we'd > keep the dwm archives and not the wmii archives--though I never > subscribed to the latter so maybe I'm missing something. It seems that old wmii newsgroup at G

[dev] Gmane newsgroup for the new mailing list

2009-07-25 Thread Dmitry Maluka
Hello! Since merging dwm and wmii lists were merged into this list, Gmane newsgroups are somewhat broken. Here is my conversation with Wolfgang Schnerring, one of Gmane admins, from gmane.discuss group. > From: Dmitry Maluka gmail.com> > Subject: Newsgroup for dev suckless.org >