Re: [dev] Project ideas: goblin

2014-11-26 Thread Charlie
, I rarely use it because my laptop is MIPS-based with old packages, ruling out both Google's compiler and gccgo. As for Rust, I've never used it. I reckon both languages are good for servers. I'd like to see a display manager written in Go using ideas from rio and dwm. Charlie Murphy

Re: [dev] uzbl

2009-05-24 Thread Charlie Kester
On Sun 24 May 2009 at 09:11:37 PDT Leonardo Taccari wrote: I agree with you Enno, I think that uzbl can became a very interesting browser because it's trying to follow the Unix way and at the same time its rendering, thanks to Webkit, isn't bad. I haven't had a chance to try uzbl yet, but I agr

Re: [dev] 9base-3

2009-08-06 Thread Charlie Kester
On Thu 06 Aug 2009 at 13:08:06 PDT Anselm R Garbe wrote: Hi there, I revived the 9base project which was asleep for nearly 3 years som days ago and created a new version based on Russ' plan9port from 20090731. You can download it from: http://code.suckless.org/dl/tools/9base-3.tar.gz its proj

Re: [dev] Conversation with Anselm R. Garbe of suckless.org

2009-08-06 Thread Charlie Kester
On Thu 06 Aug 2009 at 16:52:39 PDT Samuel Baldwin wrote: I definitely enjoyed reading this; the principles were especially nice to have there. Yes, I agree. I hadn't seen the "Java is the COBOL of the future" quip before. Very funny -- and, I believe, something that will be proven true. I wou

Re: [dev] 9base-3

2009-08-07 Thread Charlie Kester
On Fri 07 Aug 2009 at 00:56:29 PDT Anselm R Garbe wrote: 2009/8/7 Antony Jepson : On 2009-08-06, Charlie Kester wrote: Help me understand the pro's and con's here.  Why/when should I use 9base rather than plan9port? You could do a little research here to save us all some time.  B

Re: [dev] slides with troff (was: Talk about sane web browsers)

2009-09-08 Thread Charlie Kester
On Tue 08 Sep 2009 at 10:38:26 PDT markus schnalke wrote: [2009-09-08 01:20] Uriel I have always used troff to generate really nice 4:3 landscape slides, but that is on Plan 9, I should put my macros and some examples in http://repo.cat-v.org but it really is not rocket science. Please do so

Re: [dev] Conversation with Anselm R. Garbe of suckless.org

2009-09-15 Thread Charlie Kester
On Tue 15 Sep 2009 at 12:33:22 PDT markus schnalke wrote: You have the separation in the operation system then. Single independent programs take the place of classes. You can combine them to larger programs. Interesting. I've been accustomed to looking at a dataflow diagram and seeing the bubb

Re: [dev] Conversation with Anselm R. Garbe of suckless.org

2009-09-15 Thread Charlie Kester
On Tue 15 Sep 2009 at 13:51:44 PDT Amit Uttamchandani wrote: On Tue, Sep 15, 2009 at 09:33:22PM +0200, markus schnalke wrote: You have the separation in the operation system then. Single independent programs take the place of classes. You can combine them to larger programs. Again I agree her

Re: [dev][surf] Next schedule?

2009-09-17 Thread Charlie Kester
On Thu 17 Sep 2009 at 01:54:01 PDT Jessta wrote: I tend to use tabs as a stack of temporary bookmarks, I navigate to a page and open all the links I want to see on to tabs, closed that pages and move through all the tabs, it pretty much makes the back button redundant. Mostly I'm just putting th

Re: [dev] Conversation with Anselm R. Garbe of suckless.org

2009-09-18 Thread Charlie Kester
On Fri 18 Sep 2009 at 18:33:48 PDT Pinocchio wrote: On Thu, 17 Sep 2009 22:41:16 -0700, Uriel wrote: Please, lets kill this before it even gets started, we had a huge discussion about this crap in 9fans if anyone is interested. Can you summarize why do you think it is crap, for those who are

Re: [dev] [surf] Call a script from within surf and an alternative to tabs

2009-09-23 Thread Charlie Kester
On Wed 23 Sep 2009 at 10:42:42 PDT hailukah wrote: After some tinkering I've come up with a method that works for me. It involves a single file and three commands to manipulate it. I have a file at ~/.surf/stack. I can add urls (stack), and pull from them either FILO (unstack), or FIFO (go).

Re: [dev] 10gui - interesting concepts

2009-10-21 Thread Charlie Kester
On Thu 15 Oct 2009 at 13:03:15 PDT Bobby wrote: I misread your email as meaning he never used more than two fingers. You are correct, and I agree with your comments. In addition, I think that the main hurdle in all of this is that my hands are moved away from the keyboard yet again to a different

Re: [dev] [surf] next release

2009-10-22 Thread Charlie Kester
On Thu 22 Oct 2009 at 05:20:44 PDT Dieter Plaetinck wrote: what consitutes a "session" ? it's something that is maintained serverside and the only way to "stay in it" is usually one or more of: - keeping and sending cookie data - keeping the same ip (and maybe user agent) - requesting the urls t

Re: [dev] [surf] next release

2009-10-24 Thread Charlie Kester
On Sat 24 Oct 2009 at 12:35:36 PDT Uriel wrote: writing an http client that will handle all the crap out there is *really* hard Why is this the goal? Why, when I want to browse a sane website like suckless.org, for example, should I have to use a browser containing a bunch of convoluted code

Re: [dev] Screenshot or copy of previous suckless.org website design

2009-11-05 Thread Charlie Kester
On Thu 05 Nov 2009 at 15:25:59 PST Thayer Williams wrote: It was, in my opinion, one of the best examples of a minimal yet functional website And the current site is not?

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

2009-11-15 Thread Charlie Kester
On Sun 15 Nov 2009 at 08:42:16 PST Anselm R Garbe wrote: Now Go became a target of those feature zealots to try their luck screwing it up with all the missing features they know from C++. At least that makes C less vulnerable since they can go play with something else. What I really dislike ab

Re: [dev] [OFFTOPIC] How to know the size of a process?

2010-01-24 Thread Charlie Kester
On Sun 24 Jan 2010 at 09:42:59 PST Premysl Hruby wrote: Btw, There's one issue with trying to get size of process -- shared memory. To which process should it count? And how? Or count only fraction for each of process using that shared memory ... Not easy. :-) If the shared library really is s

Re: [dev] [OFFTOPIC] How to know the size of a process?

2010-01-24 Thread Charlie Kester
On Sun 24 Jan 2010 at 13:26:56 PST Premysl Hruby wrote: On (24/01/10 13:07), Charlie Kester wrote: Date: Sun, 24 Jan 2010 13:07:14 -0800 From: Charlie Kester To: dev@suckless.org Subject: Re: [dev] [OFFTOPIC] How to know the size of a process? List-Id: dev mail list X-Mailer: Mutt 1.5.20 User

Re: [dev] saving program options

2010-01-24 Thread Charlie Kester
On Sun 24 Jan 2010 at 11:57:34 PST anonymous wrote: Where programs should store their options? Sometimes it is said that global variables are bad, but what is better? Some huge structure storing all options? Of course, they can be divided into many structures or they can be passed on a stack inst

Re: [dev] [OFFTOPIC] How to know the size of a process?

2010-01-24 Thread Charlie Kester
On Sun 24 Jan 2010 at 13:48:08 PST Charlie Kester wrote: On Sun 24 Jan 2010 at 13:26:56 PST Premysl Hruby wrote: On (24/01/10 13:07), Charlie Kester wrote: Date: Sun, 24 Jan 2010 13:07:14 -0800 From: Charlie Kester To: dev@suckless.org Subject: Re: [dev] [OFFTOPIC] How to know the size of a

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

2010-01-27 Thread Charlie Kester
On Wed 27 Jan 2010 at 06:48:22 PST Noah Birnel wrote: On Wed, Jan 27, 2010 at 07:43:22AM +, Anselm R Garbe wrote: In my observation one should stick to one platform, which is nowadays Linux+common libraries (most of the time) when packaging some source code. In >90% of all cases it will work

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

2010-02-01 Thread Charlie Kester
On Mon 01 Feb 2010 at 13:30:00 PST Uriel wrote: On Mon, Feb 1, 2010 at 2:06 PM, anonymous wrote: Having said that, in case of rfork vice versa from FreeBSD. Yes, I am talking about FreeBSD. With configure you can make your program portable between FreeBSD and Linux. Most probably other system

Re: [dev] Why use Mercurial?

2010-02-14 Thread Charlie Kester
On Sun 14 Feb 2010 at 14:48:46 PST Chris Palmer wrote: David Thiel writes: Another thing that is mindbogglingly stupid is arguing on the internet about revision control systems or programming languages. The key question this thread needs to answer is, is it stupider to argue about programming

Re: [dev] AfD discussion of dwm Wikipedia article

2010-02-24 Thread Charlie Kester
On Wed 24 Feb 2010 at 07:15:42 PST hiro wrote: It seems like this guy is just mocking wikipedia's notability guideline. After reading the discussion, I'm beginning to wonder about wikipedia's notability. If it's not mentioned on cat-v.org, it's not worth knowing about. ;) If wikipedia delet

Re: [dev] AfD discussion of dwm Wikipedia article

2010-02-25 Thread Charlie Kester
On Wed 24 Feb 2010 at 22:53:05 PST Uriel wrote: On Wed, Feb 24, 2010 at 7:08 PM, Charlie Kester wrote: On Wed 24 Feb 2010 at 07:15:42 PST hiro wrote: It seems like this guy is just mocking wikipedia's notability guideline. After reading the discussion, I'm beginning to wo

Re: [dev] GSoC 2010

2010-03-03 Thread Charlie Kester
On Wed 03 Mar 2010 at 11:17:14 PST Kurt H Maier wrote: On Wed, Mar 3, 2010 at 2:12 PM, Niki Yoshiuchi wrote: This is supposed to be a discussion on the Google Summer of Code, not a nerd fight about whether grep or awk is better, and how to manage files.  Can you guys fork your discussion? you

Re: [dev] DWM in the reddit frontpage....

2010-03-18 Thread Charlie Kester
On Wed 17 Mar 2010 at 22:46:36 PDT Uriel wrote: Just noticed that the Wikipedian bureaucratic circus has brought DWM to the reddit front page: http://www.reddit.com/r/programming/comments/bepvg/wikipedia_notability_and_open_source_software_the/ How fun... Reading the comments on reddit, I almo

Re: [dev] Fwd: Thank you for your application

2010-03-18 Thread Charlie Kester
On Thu 18 Mar 2010 at 13:37:29 PDT Premysl Hruby wrote: On (18/03/10 20:26), Martin Kopta wrote: Date: Thu, 18 Mar 2010 20:26:32 +0100 From: Martin Kopta To: dev mail list Subject: Re: [dev] Fwd: Thank you for your application List-Id: dev mail list User-Agent: Mutt/1.5.20 (2009-06-14) What

Re: [dev] [sw] Suckless web-framework

2010-04-05 Thread Charlie Kester
On Mon 05 Apr 2010 at 08:29:24 PDT Connor Lane Smith wrote: On 5 April 2010 15:13, Uriel wrote: Actually, modern browsers parse HTML much faster than XHTML (yes, I was fooled by the XML scam once too, and it was not until recently that I discovered even the myth of it making parsing of webpages

Re: [dev] [sw] Suckless web-framework

2010-04-05 Thread Charlie Kester
On Mon 05 Apr 2010 at 12:30:35 PDT Mate Nagy wrote: HTML is not XML. don't confuse them. Of course it isn't. But there are some similarities, both of them being branches on the SGML family tree.

Re: [dev] test

2010-04-13 Thread Charlie Kester
On Tue 13 Apr 2010 at 07:24:31 PDT Anselm R Garbe wrote: ignore Since I read your message and have now replied, does that count as an ignore fail?

Re: [dev] ncurses or ...

2014-02-01 Thread Charlie Kester
On Fri 31 Jan 2014 at 17:11:35 PST Nick wrote: Oh, and to come in on an earlier point that was made, TUI sucks, the only good thing about it is that TUI programs tend to have better keybindings and scriptability. My two cents for this bikeshed debate: All software sucks to some degree. The p

Re: [dev] ncurses or ...

2014-02-01 Thread Charlie Kester
On Sat 01 Feb 2014 at 11:25:24 PST Silvan Jegen wrote: On Sat, Feb 01, 2014 at 09:10:02PM +0200, Dimitris Zervas wrote: I find smart autocompletion extremely useful. It gives some basic info about the function (number of args etc.) and saves a lot of keystrokes and typos. I tend to agree. Add

Re: [dev] ncurses or ...

2014-02-02 Thread Charlie Kester
On Sun 02 Feb 2014 at 05:07:47 PST Dimitris Zervas wrote: So, what I'm telling is to write a simpler library that will support a very limited number of terms. That would make it light and suckless. Isn't most of ncurses' support for different terminals in the termcap/terminfo data (rather than

Re: [dev] Re: Article about suckless on root.cz

2014-02-17 Thread Charlie Kester
On Sun 16 Feb 2014 at 22:57:37 PST Martin Kopta wrote: I hope FRIGN, Charlie Kester and sin don't mind that I quoted them in the article. I don't mind. But the comment from me that you quoted gives the misleading impression that I'm some kind of spokesman for the suckless pr

Re: [dev] tabbed - why?

2014-02-18 Thread Charlie Kester
On Mon 17 Feb 2014 at 09:21:28 PST Calvin Morrison wrote: I'm not sure why tabbed exist when it's a window management feature. for example i3, a tiling window manager supports tabs as part of it's stacking methods. (see attachment) What's the rational reason for it to exist, other than dwm needs

Re: [dev] XML vs HTML (was: Article about suckless on root.cz)

2014-02-21 Thread Charlie Kester
On Fri 21 Feb 2014 at 13:15:24 PST Hadrian W?grzynowski wrote: Even if it would work, I think that web shouldn't be pixel-perfect, because we could just use some glorified-PDFs. It's utter nonsense that correct rendering of page is depending on some specific font and specific font size. It's utt

Re: [dev] Screencasts?

2014-03-10 Thread Charlie Kester
On Sun 09 Mar 2014 at 12:54:11 PDT Caleb Malchik wrote: I switched to Linux/cli/dwm from OS X just a few years ago, and since the switch I feel the way I do certain basic things is embarrassingly inefficient. For example, if I find an article on the web I want to come back to, I will copy the

Re: [dev] Screencasts?

2014-03-10 Thread Charlie Kester
On Mon 10 Mar 2014 at 09:29:16 PDT Charlie Kester wrote: Pay attention when things seem too slow or, in your words, feel too clunky. That's telling you there's a rough edge you need to smooth down. But once it's fixed and no longer bothering you, there's really no need t

Re: [dev] golang dwm status

2014-03-13 Thread Charlie Andrews
> var ( > cores = 1 > rxOld = 0 > ... > ) > > 3. Instead of appending to the same slice several times just use a > slice-literal like this: > > http://play.golang.org/p/U8r3Z_crOK this also decreases the amount of allocations the runtime does. > > > Cheers, > > Silvan > Other than that, looks great! -Charlie

Re: [dev] golang dwm status

2014-03-13 Thread Charlie Andrews
;, "string3", // yes you need the comma here } but again, readability is subjective, so it's up to you. -Charlie

Re: [dev] Project Oberon

2014-03-22 Thread Charlie Murphy
I've seen someone use Oberon in a virtual machine and it is a groovy OS. Sadly, I didn't see any pipes or other IPC like that, but the "toolbox" idea where you open "toolboxes" as text and then click/modify actions on them is awesome! If you replace Rio with Acme, Plan 9 behaves a lot like Oberon except it doesn't have rich text formatting. - Charlie Murphy

Re: [dev] Surf hacking. Search Engine and Homepage

2014-04-08 Thread Charlie Murphy
suckless.org I had this problem on other mailing lists. Knowing beforehand would've saved me much embarrassment in other lists. So, hopefully this helps. Good luck! -Charlie

Re: [dev] Top Posting (was: Backspace (was: st stutter and freeze ...))

2014-04-10 Thread Charlie Kester
(Oh joy, another thread about posting etiquette!) On Thu 10 Apr 2014 at 10:13:49 PDT Louis Santillan wrote: When someone invents a monitor that supports displaying content that is below the fold, first, I'll stop top posting. Displaying content below the fold is only an issue when people fail

Re: [dev] [ubase] Announcing release 0.1

2014-05-01 Thread Charlie Kester
On Thu 01 May 2014 at 08:35:17 PDT Dimitris Papastamos wrote: Greetings everyone. After 332 commits and about 9 months of development, the first release of ubase has been announced on http://suckless.org. Very cool. Now I need to get busy and scrub my scripts, getting rid of or rewriting anyt

Re: [dev] [st][patch] Allow mouse selection override using ShiftMask

2014-05-12 Thread Charlie Kester
On Mon 12 May 2014 at 07:41:49 PDT Roberto E. Vargas Caballero wrote: [1]: from dvtm(1) manpage: Copy and Paste By default dvtm captures mouse events to provide the actions listed below. Unfortunately this Why these actions should be provided by dvtm? X server supplies f

Re: [dev] [st][patch] Allow mouse selection override using ShiftMask

2014-05-14 Thread Charlie Kester
On Tue 13 May 2014 at 22:42:42 PDT Roberto E. Vargas Caballero wrote: One reason, it seems to me, is to confine the action to one dvtm/tmux pane when selecting a multiline region of text. st has no awareness that its window has been divided into more than one pane and therefore cannot wrap the se

Re: [dev] [GENERAL] License manifest

2014-05-15 Thread Charlie Murphy
Lee Fallat wrote: > I've come to adopt the NoLicenseLicense, for sole reason of > demonstrating to people that many of us code for the sake of fun. > > NoLicenseLicense.txt > There is no license attached to this software, enjoy. > > ...Yes this is a joke. If you are interested in these types of >

Re: [dev] [st] Blank lines not preserved

2014-05-21 Thread Charlie Kester
On Wed 21 May 2014 at 15:31:18 PDT Eric Pruitt wrote: I'm curious what non-st terminal emulator you use. On Urxvt, my all colors beyond #16 look the same as in Xterm without any changes to my Xresources file or the need to recompile Urxvt. Likewise for MinTTY and its parent PuTTY. You can even s

Re: [dev] [PATCH][st] Refactor the innermost loop of the xdraws function

2014-06-06 Thread Charlie Kester
On Fri 06 Jun 2014 at 13:55:25 PDT FRIGN wrote: On Fri, 06 Jun 2014 21:27:33 +0200 Christoph Lohmann <2...@r-36.net> wrote: This will introduce the notion that gotos are allowed. Won’t be applied. A refactoring without goto would be applied. What's the problem with gotos? It's some bullshit p

Re: [dev] Lightweight, non-bloated, fast image viewer?

2014-06-14 Thread Charlie Murphy
Markus Wichmann wrote: > So, having one program that reads some standardized input and displays > it on screen, while another program converts any given image file to > that standardized format may be more UNIX-like. 9front has programs like that[1]. For Linux, netpbm does the same thing[2].

Re: [dev] C coded lightweight Linux vector graphics editor

2014-06-20 Thread Charlie Murphy
Sylvain BERTRAND wrote: > Unfortunately, the C toolkits over there are turning very bad: > GTK+ and the EFL do depend on harfbuzz for their font layout > computation which is an *really* ugly c++ object-oriented > brainfuckage (uglier that the glib SDK dependencies!). I did a C > port of harfbuzz (

Re: [dev] suckless distro

2014-06-25 Thread Charlie Kester
On Wed 25 Jun 2014 at 08:39:11 PDT Sylvain BERTRAND wrote: What I mean: it's totally suckless to write more LOC if it reduces the technical cost of the overall software stack (SDKs included!). It's an old argument: cost to develop versus cost to deploy or run. The trend in mainstream software

Re: [dev] Plain text editor that sucks less - an alternative to VIM?

2014-06-29 Thread Charlie Kester
On Sun 29 Jun 2014 at 07:43:36 PDT Aapo Vienamo wrote: On Sun, Jun 29, 2014 at 03:00:32PM +0300, Dimitris Zervas wrote: 2. Fantastic syntax highlighting This may be considered harmfull in general. [0] [0] http://www.linusakesson.net/programming/syntaxhighlighting/ Thank you for this link! I

Re: [dev] Why do you use tmux/screen?

2014-06-30 Thread Charlie Kester
On Mon 30 Jun 2014 at 17:48:48 PDT Dimitris Zervas wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, After a year or so in the list, I think each and every one is using tmux or screen (I think more tmux, but do not start a war please, that's not the subject). I don't use either of

Re: [dev] Plain text editor that sucks less - an alternative to VIM?

2014-07-02 Thread Charlie Kester
On Wed 02 Jul 2014 at 04:49:23 PDT FRIGN wrote: Yes, highlighting comments makes sense, as even the article suggests, but this is not a central issue if you know how to encapsulate your comments: /* (...) (...) (...) */ is more error-prone and hard to read than /* * (...) * (...) * (...) */

Re: [dev] Plain text editor that sucks less - an alternative to VIM?

2014-07-02 Thread Charlie Kester
On Wed 02 Jul 2014 at 06:52:41 PDT Alexander S. wrote: Good sntax highlighting allows you to *ignore* syntax better, rather than focusing your attention on it. You say that like it's a good thing.

Re: [dev][libsl] Naming scheme

2014-07-07 Thread Charlie Kester
On Mon 07 Jul 2014 at 15:51:17 PDT Carlos Torres wrote: Yo, On Mon, Jul 7, 2014 at 6:29 PM, Lee Fallat wrote: AFAIK no graphical official suckless programs use libsl yet...) the way you use libsl is a bit un-orthodox. you basically check it out into your project and just use it that way. d

Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-10 Thread Charlie Kester
On Thu 10 Jul 2014 at 01:55:24 PDT Marc André Tanner wrote: I've recently been reading about Project Oberon whose text subsystem is built on piece tables. That is how I became interested and did some further investigations. The technique has been used before in a number of text editors such as Br

Re: [dev] Plain text editor that sucks less - an alternative to VIM?

2014-07-10 Thread Charlie Kester
On Sun 29 Jun 2014 at 04:24:58 PDT patrick295767 patrick295767 wrote: Hello, For many years I have been looking for a lightweight alternative to VIM. (sthg else than Emacs, elvis, nano,... and all the billion of text editor). I was reading the emailed topic "Text-only browser that sucks less"

Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-10 Thread Charlie Kester
On Thu 10 Jul 2014 at 13:29:59 PDT Evan Gates wrote: I will agree that it's super easy to implement and understand and it covers most needs. But how about search? Is it fast? What about structural regular expressions as found in sam that aren't limited to lines? Yes, one of the things I alwa

Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-10 Thread Charlie Kester
On Thu 10 Jul 2014 at 15:46:13 PDT Dimitris Papastamos wrote: On Fri, Jul 11, 2014 at 01:43:16AM +0300, Dimitris Zervas wrote: First of all, we haven't even agree in which data structure will we use. Buffer gap, piece table, or pointer array? If you want to tackle this, I'd go with whatever ap

Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-11 Thread Charlie Kester
On Fri 11 Jul 2014 at 01:48:39 PDT Maxime Coste wrote: On Thu, Jul 10, 2014 at 03:59:01PM -0700, Charlie Kester wrote: I agree. Start by identifying the editing operations that the data structure must support, no matter how it is implemented. Those operations will form the API for your data

Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-11 Thread Charlie Kester
On Fri 11 Jul 2014 at 06:06:39 PDT Charlie Kester wrote: On Fri 11 Jul 2014 at 01:48:39 PDT Maxime Coste wrote: On Thu, Jul 10, 2014 at 03:59:01PM -0700, Charlie Kester wrote: I agree. Start by identifying the editing operations that the data structure must support, no matter how it is

Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-11 Thread Charlie Kester
On Fri 11 Jul 2014 at 06:35:50 PDT Dimitris Zervas wrote: Well, it's good to have an idea of what am I going to do, after this patch set. I was thinking of a super easy implementation, nearly without a buffer. Spit the chars to the screen and replace characters on the fly. When a buffer is neede

Re: [dev] [sandy] Implement copy/paste/replace?

2014-07-14 Thread Charlie Kester
On Mon 14 Jul 2014 at 08:47:14 PDT Dimitris Zervas wrote: Hello guys, I just wanted your opinion in implementing a feature inside the code or calling it via sh. Which are the advantages for calling a script? Isn't it performance killer? The reason many editors took so many features onboard is

[dev] Looking for simple, alpha supporting image format

2014-07-14 Thread Charlie Murphy
conversion tools for other formats. Charlie Murphy [1]: http://pastebin.com/vZEcxte3

Re: [dev] Looking for simple, alpha supporting image format

2014-07-16 Thread Charlie Murphy
FRIGN wrote: > The writing-function is rather trivial. > Now, what puzzles me is why no explanation is given on how the data > itself should be stored. It says RGBA, so I suppose he meant Thanks for the feedback. The header is strict to avoid complex text handling. I have attached a script to co

Re: [dev] Looking for simple, alpha supporting image format

2014-07-16 Thread Charlie Murphy
FRIGN wrote: > Or give a hint on the format: > > img16widhei8rgba I like this. Charlie Murphy

Re: [dev] Looking for simple, alpha supporting image format

2014-07-16 Thread Charlie Murphy
t "$1" rgba:- You can exec() this and read the output. A lot of Linux programs load images with all-encompassing libraries like SDL_image or DevIL. I think that results in monolithic programs and does not fit well with the Unix philosophy. Charlie Murphy

Re: [dev] Looking for simple, alpha supporting image format

2014-07-16 Thread Charlie Murphy
Lee Fallat wrote: > ...And today I learned the beneficial gains from storing height in an > image format. So much for extreme minimalism! It's so you can allocate the buffer before reading from a pipe. Charlie Murphy

Re: [dev] Looking for simple, alpha supporting image format

2014-07-16 Thread Charlie Murphy
s arranged in height scanlines, where each pixel is > four bytes. Each byte represents red, green, blue, and alpha respectively. Much simpler and better than the original! But sadly, now the header cannot be written from a shell script. :-( Charlie Murphy

Re: [dev] Looking for simple, alpha supporting image format

2014-07-16 Thread Charlie Murphy
Charlie Murphy wrote: > Storing these images on a hard drive is a bad idea because they are > too big. IMO one shouldn't discard PNG or JPEG unless one is afraid That is, storing images in this hypothetical format is a bad idea. Charlie Murphy

Re: [dev] Looking for simple, alpha supporting image format

2014-07-16 Thread Charlie Murphy
se: * the gzip imagefile is a little bigger than the PNG. * the bzip2 imagefile is a little smaller than the PNG. Attached are the files. Charlie Murphy ��Soverworld_1.image흿�.�q��D�M��A���� #��Q\$FIlI!!*��"�`����*��|�d��t\n�"� )R�a^�{�}�Μ3s~�y��9��3g

Re: [dev] Looking for simple, alpha supporting image format

2014-07-17 Thread Charlie Murphy
FRIGN wrote: > BTW: How would we do the conversion? Write an imagemagick-coder? > If so, I really can recommend the webp.c-coder[0] for its relative > simplicity. Here's a script for turning one back into PNG. imgtopng.sh Description: Bourne shell script

Re: [dev] Looking for simple, alpha supporting image format

2014-07-17 Thread Charlie Murphy
imageRGBA (exactly 10 bytes) * img16widhei8rgba (doesn't make sense for ASCII header) * imagefile (doesn't hint about file contents) Charlie Murphy

Re: [dev] Looking for simple, alpha supporting image format

2014-07-17 Thread Charlie Murphy
Charlie Murphy wrote: > * imageRGBA (exactly 10 bytes) 9 bytes, sorry.

Re: [dev] Looking for simple, alpha supporting image format

2014-07-17 Thread Charlie Murphy
converter script (using ImageMagick) in only two minutes. I'm going to use an image format like this in a small game soon, to see how it compares to using PNG sprites. Charlie Murphy

Re: [dev] Looking for simple, alpha supporting image format

2014-07-17 Thread Charlie Murphy
. I could take a game like SuperTux and swap SDL_image with a loader for this format. Charlie Murphy

Re: [dev] Looking for simple, alpha supporting image format

2014-07-17 Thread Charlie Murphy
to bzip2. Like a compressed text file, there's nothing special about the underlying image format. Anyway, here's a viewer script in case anybody wants it. :-) Charlie Murphy viewer.sh Description: Bourne shell script

Re: [dev] Looking for simple, alpha supporting image format

2014-07-17 Thread Charlie Murphy
Evan Gates wrote: > I've attached a version that works with the waterfall.image from > earlier in the thread. (imgRGBA signature and 7 bytes for width and > height). It also: > 1) is POSIX compliant > 2) works with null bytes separating the sig, width, and height > 3) will run display serially on a

Re: [dev] Looking for simple, alpha supporting image format

2014-07-18 Thread Charlie Murphy
like having the spec inside the magic string: Bytes Description 13 ASCII string: "img13w7h7rgba" 7 Right-justified, space-padded ASCII string containing width. 7 Right-justified, space-padded ASCII string containing height. (w*h) Raw RGBA. Charlie Murphy

Re: [dev] Looking for simple, alpha supporting image format

2014-07-18 Thread Charlie Murphy
Charlie Murphy wrote: > Branding such a general format would be unjust, IMO. I like having the s/general/simple/

Re: [dev] Looking for simple, alpha supporting image format

2014-07-18 Thread Charlie Murphy
FRIGN wrote: > But it would be cool if the user wouldn't have to manage this and > instead was able to rely on any converter to take care of this. Perhaps it can have an option, like tar does? tar -cjf archive.tar.bz2 archive imagergba -j ponies.png ponies.image.b

Re: [dev] Introducing the imagefile-format

2014-07-28 Thread Charlie Murphy
file cut almost half the LOC and > dramatically improved readability. Congratulations! Charlie Murphy

Re: [dev] Introducing the imagefile-format

2014-08-08 Thread Charlie Murphy
an SDL_Surface made from an imagefile in an SDL_RWops structure. Loading bzip2 images is explained in the README. Good luck! Charlie Murphy libSDL_if-0.1.tar.bz2 Description: Binary data

Re: [dev] Introducing the imagefile-format

2014-08-08 Thread Charlie Murphy
Charlie Murphy wrote: > Here's an SDL loader for imagefile. If you are familiar with SDL_image's > syntax, you shouldn't have any problems. IF_Load_RW() has an incorrect line. , needs to be 16

Re: [dev] environment variables versus runtime configuration (rc) files versus X resources

2014-11-03 Thread Charlie Kester
On Mon 03 Nov 2014 at 12:32:25 PDT Greg Reagle wrote: I just had a thought that might be of interest to fans of the suckless philosophy. It occurred to me that environment variables can be used to configure a program, instead of programming in a parser or extension language into a program. Are

Re: [dev] environment variables versus runtime configuration (rc) files versus X resources

2014-11-04 Thread Charlie Kester
On Mon 03 Nov 2014 at 14:26:39 PDT Greg Reagle wrote: On Mon, Nov 3, 2014, at 04:11 PM, Charlie Kester wrote: Environment variables are essentially global variables, visible to every program and not just the one you want to configure. Not necessarily. If you set them in .profile or .bashrc

[dev] Does suckless need a separate list for general discussion?

2014-11-24 Thread Charlie Kester
On Mon 24 Nov 2014 at 12:47:30 PDT Calvin Morrison wrote: On 24 November 2014 at 11:42, v4hn wrote: On Sun, Nov 23, 2014 at 10:20:44PM +, Henrique Lengler wrote: > Hi, > > What is the situation of GCC, is it bloated? On Wed, Nov 19, 2014 at 10:35:52PM +, doa379 wrote: > There's an inc

Re: [dev] [sbase][patch] typedef new structs

2015-03-13 Thread Charlie Murphy
Evan Gates wrote: > typedef the new history and recurse structs as per style guide > -emg Ahh, it's less verbose. Typedef'd structs have never sent me on a header-hunt, so sticking with the style guide seems like the right thing to do. Charlie Murphy

Re: [dev] books that rock

2015-04-25 Thread Charlie Kester
On Sat 25 Apr 2015 at 01:25:50 PDT Roberto E. Vargas Caballero wrote: Hi, maybe I misunderstood this paragraph, but "The Unix Programming Environment" is _the_ book for every ongoing unix programmer. Even though it has aged over the years, it has aged well and most practices shown in the book a

Re: [dev] books that rock / algorithms design scientific publications

2015-04-25 Thread Charlie Kester
On Sat 25 Apr 2015 at 00:20:32 PDT Jakub Lach wrote: Dnia 25 kwietnia 2015 8:37 Wolfgang Corcoran-Mathe napisał(a): A short list of well-written books following the philosophy of simplicity would be a great antidote to current fashion. I'm currently searching for similar thing, though the f

Re: [dev] simple terminal : about fonts

2015-05-16 Thread Charlie Kester
On Wed 13 May 2015 at 13:20:47 PDT FRIGN wrote: "Source Code Pro:pixelsize=13:antialias=true:autohint=true"; It's one of the few fonts I know which is not ambiguous with "1", "l", "i" and "|". +1

Re: [dev] suckless shared tools

2016-02-27 Thread Charlie Kester
On Sat 27 Feb 2016 at 12:14:47 PST Marc Collin wrote: So the idea is to send patches to all arg.h files on different suckless projects when one of them is modified? Wouldn't it be easier to have a more centralized arg.h (and similar tools)? I'm not complaining, I just want to understand the idea

Re: [dev] Linux distros that don't suck too too much

2016-05-12 Thread Charlie Kester
On Wed 11 May 2016 at 17:33:41 PDT hiro wrote: let's maintain a list of of requirements a distro should fulfill. perhaps we can make a nice table afterwards and see which OS fits these requirements out of the box. i'll start with this. convince me otherwise. 1. package system: packages having fe

Re: [dev] Re: Linux distros that don't suck too too much

2016-05-12 Thread Charlie Kester
On Thu 12 May 2016 at 02:54:00 PDT Rubén Llorente wrote: I stopped caring too much about user-friendlyness long ago, because no matter what you do, lambs will always find a way to make a mess out of the easy to use software. The only way a computer-illiterate is going to be able to use a compute

Re: [dev] Linux distros that don't suck too too much

2016-05-12 Thread Charlie Kester
On Thu 12 May 2016 at 07:47:51 PDT Pickfire wrote: A ports like system won't be very helpful most of the time, what about a low end device like raspberry pi, have you ever thought of that? I don't think that buying a better computer for the sake of being more suckless is even suckless, not ever

Re: [dev] Linux distros that don't suck too too much

2016-05-12 Thread Charlie Kester
On Thu 12 May 2016 at 08:45:43 PDT hiro wrote: Package systems are both a symptom and a cause of bloat. They only exist because most software, along with its metastasizing dependencies, is a pain in the ass to compile. Actually compiling software the right way, without many dependencies is qui

Re: [dev] Linux distros that don't suck too too much

2016-05-12 Thread Charlie Kester
On Thu 12 May 2016 at 08:36:44 PDT Hans Ginzel wrote: On Thu, May 12, 2016 at 07:42:26AM -0700, Charlie Kester wrote: Package systems are both a symptom and a cause of bloat. They only exist because most software, along with its metastasizing dependencies, is a pain in the ass to compile. The

  1   2   >