Re: [dev] TDD

2013-10-22 Thread Pierre Chapuis
sense? TDD no, unit testing yes. If you want test helpers, look at these ones: https://github.com/silentbicycle/greatest https://github.com/kr/ct You can also just use assertions. -- Pierre Chapuis

Re: [dev] Re: [suckless] Migration to git

2012-11-26 Thread Pierre Chapuis
s.com/pub/git.from.bottom.up.pdf -- Pierre Chapuis

Re: [dev] uriel is gone

2012-10-14 Thread Pierre Chapuis
> Sorry to have to let you guys know, uriel passed away peacefully a > couple days ago. We'll miss him. Uriel always lives. That is one of its properties/laws of Uriel. -- http://uriel.cat-v.org/quotes -- Pierre Chapuis

Re: [dev] Introducing SLUT (Suckless Linux Using a Tablet)

2012-05-09 Thread Pierre Chapuis
On 2012-05-09 15:40, Peter Hartman wrote: On Wed, May 9, 2012 at 9:38 AM, Pierre Chapuis wrote: You should change the name before Internet drama occurs. Don't tell me there's a SLUT.exe that is in competition for the name! Not my point. I meant it could be seen as offensive by s

Re: [dev] Introducing SLUT (Suckless Linux Using a Tablet)

2012-05-09 Thread Pierre Chapuis
You should change the name before Internet drama occurs. -- Pierre 'catwell' Chapuis

Re: [dev] Suckless OS (was About escape sequences and stuff)

2012-02-12 Thread Pierre Chapuis
On 2012-02-11 22:35, Bjartur Thorlacius wrote: All the real fun seems to happen in L4 And Minix3. Microkernels will win, eventually... -- Pierre Chapuis

Re: [dev] FOSDEM

2012-01-30 Thread Pierre Chapuis
Me too.

Re: [dev] [dwm] 2000 SLOC

2011-11-03 Thread Pierre Chapuis
On 03.11.2011 09:42, Hadrian Węgrzynowski wrote: We would need something more like Markdown web or gopher... We want content! Presentation could be only client's issue. If somebody likes Apple look then every site could look like one. If one likes plain text look then every site could look like

[dev] Bloat

2011-10-31 Thread Pierre Chapuis
touch command under OS X Lion (44,016 bytes). Source: http://prog21.dadgum.com/116.html -- Pierre Chapuis

Re: [dev] Linux sucks!

2011-10-27 Thread Pierre Chapuis
"And here are the super fancy slides in OpenOffice format." Stopped here. This guy is not qualified to rant.

Re: [dev] Introducing SEE, the Simple Executing Engine

2011-10-24 Thread Pierre Chapuis
On 24.10.2011 00:10, pancake wrote: Use sloccount. It doesnt matters how do you indent with this tool.. Well, some syntaxes are not handled at all like if().. And if()\n.. But you get proper loccount Thanks for the info. I've used sloccount before but never tried to understand how it computes i

Re: [dev] Introducing SEE, the Simple Executing Engine

2011-10-23 Thread Pierre Chapuis
It's a detail, but shouldn't simple_interrupter.c be called simple_interpreter.c instead? Otherwise, I haven't spent so much time looking at it but the code looks pretty readable. The number of LOCs is artificially high because of the C coding style, but the complexity is low.

Re: [dev] Introducing SEE, the Simple Executing Engine

2011-10-23 Thread Pierre Chapuis
On 23.10.2011 12:20, Pierre Chapuis wrote: Precision: breaks *on a 64 bits machine* (gc_header_t is a pointer so gc_header_s is 8 bytes larger than GC_HEADER_SPACE). OK, apparently just setting GC_HEADER_SPACE to 24 makes it build and run simple tests. Sorry for the noise.

Re: [dev] Introducing SEE, the Simple Executing Engine

2011-10-23 Thread Pierre Chapuis
On 23.10.2011 12:08, Pierre Chapuis wrote: On 22.10.2011 20:54, Rob wrote: It's a similar compile time check similar to what dwm uses, in this case, it checks if gc_header_s is the same size as GC_HEADER_SPACE. OK, makes sense. But the build breaks because of this, which is understan

Re: [dev] Introducing SEE, the Simple Executing Engine

2011-10-23 Thread Pierre Chapuis
On 22.10.2011 20:54, Rob wrote: It's a similar compile time check similar to what dwm uses, in this case, it checks if gc_header_s is the same size as GC_HEADER_SPACE. OK, makes sense. But the build breaks because of this, which is understandable since gc_header_s is defined like this: str

Re: [dev] Introducing SEE, the Simple Executing Engine

2011-10-22 Thread Pierre Chapuis
On 22.10.2011 15:47, Xinhao.Yuan wrote: http://github.com/xinhaoyuan/see Looks interesting, but what the hell is that? static char __sa[sizeof(gc_header_s) == GC_HEADER_SPACE ? 0 : -1];

[dev] Simple made Easy (Rich Hickey at StrangeLoop)

2011-10-21 Thread Pierre Chapuis
http://www.infoq.com/presentations/Simple-Made-Easy Excellent talk with a good take at the difficult problem of trying to define simplicity (in software).

Re: [dev] Re: Most suckless multi-language VM

2011-10-03 Thread Pierre Chapuis
On Mon, 3 Oct 2011 18:44:23 +0200, pancake wrote: http://en.m.wikipedia.org/wiki/One_instruction_set_computer Nice, I didn't know that. As for what I was looking for I guess I will evaluate the possibilities to implement something else on top of some version of the Lua VM for now.

[dev] Most suckless multi-language VM

2011-10-03 Thread Pierre Chapuis
I am wondering what the simplest multi-language VM is. Obviously the CLR and JVM are not candidates. Parrot is interesting but is bloated too. The Lua VM is simple but too tied to the language. I have found about the Dis VM [1]. It looks interesting, does anybody here still use it? Otherwise, G

[dev] How to program independent games

2011-08-11 Thread Pierre Chapuis
Interesting (imo) talk about simplicity in programming: http://the-witness.net/news/2011/06/how-to-program-independent-games/ The speaker is Jonathan Blow who, among other things, made Braid. -- Pierre 'catwell' Chapuis

Re: [dev] Suckless Smartphone?

2011-06-07 Thread Pierre Chapuis
On Mon, 6 Jun 2011 18:16:22 +0100, garbeam wrote: On 6 June 2011 17:45, Dieter Plaetinck wrote: non-electronic books suck because you can't easily search in, or copypaste from them. Let's talk again in 40 years if you can still read your ebooks by then :) I stay loyal to real books. I'd b

Re: [dev] Suckless Smartphone?

2011-06-06 Thread Pierre Chapuis
On Sun, 5 Jun 2011 19:38:13 +0200, hiro wrote: I'd get a palm pre for about EUR 100. Same here, that's my next phone. It will replace my LG GW620 with Android 1.5... -- Pierre 'catwell' Chapuis

Re: [dev] Distribution

2011-06-05 Thread Pierre Chapuis
On Fri, 3 Jun 2011 17:01:54 +0100, garbeam wrote: On 3 June 2011 12:41, Sir Cyrus wrote: What's the most suckless Linux distribution? http://bellard.org/jslinux/ So the most suckless Linux is a Linux that requires a bloated Javascript VM to run? -- catwell

Re: [dev] sbase

2011-05-24 Thread Pierre Chapuis
On Tue, 24 May 2011 13:12:39 +0200, Anselm R Garbe wrote: I don't understand why so few people on this list are interested in Minix3. ~5k LOC for a POSIX-compatible kernel that can run most of the software you need on a Unix box sounds nice to me. I'm secretly very fond of Minix. I remember ge

Re: [dev] sbase

2011-05-24 Thread Pierre Chapuis
On Mon, 23 May 2011 11:05:55 +0100, Connor Lane Smith wrote: So where does this fit in? Okay, this is basically my computing tactic: simplifying my operating system to the point where I can actually understand what on Earth is going on. When I use a system like Ubuntu and Gnome, when shit breaks

Re: [dev] Suckless UML

2011-05-12 Thread Pierre Chapuis
On Thu, 12 May 2011 15:57:13 +0200, Nicolai Waniek wrote: On 05/12/2011 03:51 PM, Nicolai Waniek wrote: I still have to find any sane mathematical notation for parallelism in programming languages though... Of course CSP goes in this direction, but as soon as your language is not based on CSP

Re: [dev] [ANN] sabotage 2011-04-30, a musl+busybox based distribution

2011-05-06 Thread Pierre Chapuis
On Wed, 4 May 2011 21:30:28 +0200, Uriel wrote: In any case, Go's own DNS resolver is still there, and for example on ARM by default it still bypasses the libc for everything. Not for long. http://code.google.com/p/go/issues/detail?id=1166 -- Pierre 'catwell' Chapuis

Re: [dev] @bleidl, 26/03/11 19:41

2011-03-29 Thread Pierre Chapuis
On Tue, 29 Mar 2011 18:35:05 +0200, pancake wrote: BRUCE LEIDL () 26/03/11 19:41 [1] Dude patiently tries to explain to #Archlinux [2] why no authentication for packages is a huge problem. Ban hammer. bit.ly/hSZUR3 [3] http://www.toofishes.net/blog/real-story-behind-arch-linux-package-signing/

Re: [dev] which minimal os

2011-02-14 Thread Pierre Chapuis
Gentoo was good enough in 2005. Since drobbins left it's a mess. One more proof that "democracy" makes software development inefficient... -- catwell

Re: [dev] which minimal os

2011-02-12 Thread Pierre Chapuis
On Sat, 12 Feb 2011 09:06:38 +0100, Benoit Chesneau wrote: Archlinux could be good, I used it in the past, but for sure I'm not sure I want to use it again. Mostly due to some members of the french community though. So it may be a bad reason .. Yep, bad reason :) Just stick mostly with the E

Re: [dev] surf recompile

2010-10-09 Thread Pierre Chapuis
On Sat, 09 Oct 2010 09:44:31 +0400, Ramil Farkhshatov wrote: Mitchell Church wrote: 1. Download package from AUR. It consists of PKGBUILD and config.def.h 2. Edit config.def.h 3. Run makepkg -g >> PKGBUILD to update config.def.h checksum. 4. Run makepkg to build package. Yep, that's the w

Re: [dev] [OT] What's wrong with C++?

2010-09-10 Thread Pierre Chapuis
>Could you elaborate in detail, what exactly are your problems with C++? >Thanks. :) You should read http://suckless.org/devel/style_guide. Moreover the C++ standard is so bloated that to my knowledge no compiler ever implemented it completely (Can I haz importz?? 'cause code doesn't belong in

Re: [dev] fossil scm

2010-08-10 Thread Pierre Chapuis
On Tue, 10 Aug 2010 15:49:16 +0200, pancake wrote: > I think fossil is far more smart than mercurial (no python), and can be > a good alternative. It > is not suckless, but gets closer to it :) I have tried it because it is what Zed Shaw uses for Mongrel2. Apparently its creator is that of SQLi

Re: [dev] surf 0.4 tries to free an invalid pointer

2010-06-05 Thread Pierre Chapuis
On Wed, 2 Jun 2010 17:15:05 -0400, Kris Maglione wrote: > Ah, you're on Arch, then. They broke valgrind on gilbc 2.12/x86_64. > You'll need to grab valgrind-svn from AUR. Here's the report with valgrind-svn. -- catwell[18:11 VA|catwell] valgrind surf ==11539== Memcheck, a memory error detector

Re: [dev] surf 0.4 tries to free an invalid pointer

2010-06-02 Thread Pierre Chapuis
On Tue, 1 Jun 2010 17:13:18 -0400, Kris Maglione wrote: > On Tue, Jun 01, 2010 at 10:56:34PM +0200, Pierre Chapuis wrote: >>I installed surf 0.4 on Arch Linux and it crashed when I tried to click >>on a link to a binary file (actually to its own archive on suckless' >>

[dev] surf 0.4 tries to free an invalid pointer

2010-06-01 Thread Pierre Chapuis
I installed surf 0.4 on Arch Linux and it crashed when I tried to click on a link to a binary file (actually to its own archive on suckless' website). Downloading with the right click menu works fine. I have copied its output below. The crash looks linked to Java. *** glibc detected *** sur

Re: [dev] [surf] projects with the same name

2010-01-27 Thread Pierre Chapuis
Le Wed, 27 Jan 2010 12:48:29 +0100, Moritz Wilhelmy a écrit : > I guess the easiest attempt for distributions to distribute suckless code is > not distributing it at all. > People using suckless software are usually capable of configuring it by > themselves, > which means they have to edit the s

Re: [dev] [surf] projects with the same name

2010-01-27 Thread Pierre Chapuis
Le Wed, 27 Jan 2010 11:40:08 +0100, "Enno Boland (Gottox)" a écrit : > - surf.sourceforge.net Surf is indeed the standard name for functions that plot shaded surfaces in visualisation software (think Matlab). > In my opinion the name "surf" is just made for a project like this. > And I want to

Re: [dev] [surf] some potential bugs and some user questions

2009-12-14 Thread Pierre Chapuis
More information: - the segfault described in my previous mail is still present in hg (revision 170); - surf actually prints out error messages when trying to access linuxmail.org, and this might be a problem with my own setup: sh: /usr/lib/nspluginwrapper/i386/linux/npviewer: No such file

Re: [dev] [surf] some potential bugs and some user questions

2009-12-14 Thread Pierre Chapuis
Le Mon, 14 Dec 2009 11:41:18 -0500, G David Modica a écrit : > On 04:56 Mon 14 Dec , Jorge Vargas wrote: > > > > 1- for some reason surf stalls for a couple of seconds on a new page, > > I just hit ctrl-g suckless.org and it stalled for 11sec! with > > a [0%] indicator then loaded the page