Re: [dev] Introducing the imagefile-format

2014-07-28 Thread Staven
On Mon, Jul 28, 2014 at 6:55 PM, FRIGN wrote: > fread(hdr, 1, 17, fd); > width = ntohl((hdr[9] << 0) | (hdr[10] << 8) | (hdr[11] << 16) | > (hdr[12] << 24)); > height = ntohl((hdr[13] << 0) | (hdr[14] << 8) | (hdr[15] << 16) | > (hdr[16] << 24)); Isn't ntohl superfluous

Re: [dev] Introducing the imagefile-format

2014-07-28 Thread Staven
On Tue, Jul 29, 2014 at 1:59 AM, FRIGN wrote: > Be careful: the n in ntohl does not stand for native, but network. > More or less by convention, the Network Byte Order today is BE. What > ntohl makes sure is that in case we are on a LE-system, it's arranged > properly. > ntohl is only superfluous

Re: [dev] Object-Oriented C for interface safety?

2014-11-26 Thread Staven
On Wed, Nov 26, 2014 at 01:38:58PM -0800, Charles Thorley wrote: > THIS IS NOT A TROLL That's exactly what a troll would say!

Re: [dev] sbase echo.c is incorrect

2015-04-03 Thread Staven
On Fri, Apr 03, 2015 at 08:17:29AM -0300, Prog Rider wrote: > it doesnt print shit that loons like cmdline arg > This is the best bug report.

Re: [dev] slock for dual displays

2015-05-22 Thread Staven
I've had to set set the standby timeout before starting slock. This is the script I use. #! /bin/sh xset dpms 10 0 0 /usr/local/bin/slock xset s off xset -dpms

Re: [dev] Re: [hackers] [dwm] Patch to confirm Shift-Alt-Q

2015-08-08 Thread Staven
On Sat, Aug 08, 2015 at 11:16:25PM +0200, Quolick wrote: > Sometimes I made typos. "Fat finger", as they say. > It's a pity to have all windows closed just because of that. You must have some really damn fat fingers to accidentally press Mod+Shift+Q. Now, trying to close a window and accidentally

Re: [dev] Re: [hackers] [dwm] Patch to confirm Shift-Alt-Q

2015-08-09 Thread Staven
On Sun, Aug 09, 2015 at 08:32:51PM +0200, Anselm R Garbe wrote: > Or in other words, where is the mental connection between q and c? The mind is a labirynth, a puzzle. And while the paths of the brain are plainly visible, its ways deceptively apparent, its destinations are unkown. Its secret still

Re: [dev] Re: [hackers] [dwm] Patch to confirm Shift-Alt-Q

2015-08-09 Thread Staven
On Sun, Aug 09, 2015 at 09:12:25PM +0200, Quolick wrote: > It's not easy to memorize, which shortcut is for close the current window > (quit or close?) > and quit window manager (quit or close?) You know something went horribly wrong when you have to quit a window.

Re: [dev] [dmenu] Handle invalid font names

2015-10-19 Thread Staven
On Mon, Oct 19, 2015 at 12:53:50PM +0300, Ilias Tsitsimpis wrote: > so I am guessing this is a bug and not the intended behavior. > > Keep up the good work! Jeez. No need to go all sarcastic just because of one little bug.

Re: [dev] dwm: force fullscreen to tile

2015-11-20 Thread Staven
On Fri, Nov 20, 2015 at 10:47:54AM -0300, Draco Metallium(Rodrigo S. Cañibano) wrote: > Good day. > > I was wondering, is there some way to force fullscreen apps to a tile? > > For example, in i3wm I could put a youtube video in full screen, then > turn i3wm full screen off, and the video would

Re: [dev] Announcement: Backporting the fun into C

2015-11-22 Thread Staven
Too Long; Died Reading

Re: [dev] dwm: Poor performance of some games.

2015-12-03 Thread Staven
On Thu, Dec 03, 2015 at 03:32:59PM -0300, Draco Metallium(Rodrigo S. Cañibano) wrote: > It was dbus-launch all along! > > Or better the lack of it. Wait, how does launching dbus make anything run faster?

Re: [dev] How to unsubscribe

2015-12-04 Thread Staven
Do you think maybe all these people come to suckless thinking it's some kind of porn thing?

Re: [dev] Lag in when changing view to a OpenGL window

2015-12-05 Thread Staven
On Fri, Dec 04, 2015 at 08:09:58PM +0100, ACE wrote: > Maybe someone here has a recommended compositor which works well. Not running a compositor works pretty well for me. Maybe you could try that?

Re: [dev] [dwm] 6.1 release

2015-12-08 Thread Staven
On Mon, Dec 07, 2015 at 10:51:25AM -0500, Matthew of Boswell wrote: > There is no end-user support here. Most of us don't want to spend our > free time on it, and we don't want "help vampires" to feel welcome. "help vampires" nice

Re: [dev] [dwm] improved maximize patch

2015-12-30 Thread Staven
On Wed, Dec 30, 2015 at 02:41:52AM +1000, Jonathen Russell wrote: > Minor changes to this patch while applying it to latest git tonight. > > Changes: > > * change boolean values to integers > * remove redundant window size saving (resizeclient() does this already) > > jgr Wouldn't it ma

Re: [dev] Fmask [c posix]

2015-12-30 Thread Staven
> What's next? Linking interesting tweets? That can't happen, since there's no such thing.

Re: [dev] unsubscribe

2016-02-28 Thread Staven
On Sun, Feb 28, 2016 at 04:29:22PM +1300, Mytchel Hammond wrote: > unsubscribe > I don't want to. :<

Re: [dev] Re: [slock] red color on control keys?

2016-04-05 Thread Staven
On Mon, Apr 04, 2016 at 11:50:38PM -0600, Frostyfrog wrote: > So, I understand that the red background color is supposed to signify > that someone tried to log into the machine, but does it really need to > turn the screen red when I press a no-op key? I generally press the > control key to wake up

Re: [dev] [dwm] bad line in config.mk?

2016-04-08 Thread Staven
On Fri, Apr 08, 2016 at 08:07:35PM +0100, Dimitris Papastamos wrote: > On Sat, Apr 09, 2016 at 12:13:44AM +0545, Neeraj Adhikari wrote: > > Hi, > > > > I downloaded the dwm-6.1 tarball and tried to compile but it failed > > with the error message that ft2build.h was not found. When I looked at > >

Re: [dev] [question] Does bash suck?

2016-04-24 Thread Staven
On Sat, Apr 23, 2016 at 03:38:54PM +0200, Kamil Cholewiński wrote: > I don't like rc since there are two incompatible implementations, one is > the real thing and the other is actually usable for interactive use. rc is perfectly allright for interactive use, as long as you run it in a Plan9-compa

Re: [dev] opportunities for dwm docs to suck even less

2016-05-18 Thread Staven
On Tue, May 17, 2016 at 04:12:31PM -0800, Britton Kerin wrote: > The into page that did get me going was: > http://rhunter.org/blog/2012/04/17/dwm-a-tutorial-for-beginners/ I was always under the impression that dwm was simply not meant for the sort of people who don't know what a "terminal emulat

Re: [dev] pledge(2) patches

2016-06-06 Thread Staven
On Mon, Jun 06, 2016 at 02:39:04PM +0200, FRIGN wrote: > What it all brings up is the issue of IPC. Can you people suggest > your favourite approach to IPC? If not, maybe we could look into > writing a very simple library (name-suggestion "sippy" :P) which > builds on top of UDS and implements a ve

Re: [dev] libzahl paper

2016-06-13 Thread Staven
On Mon, Jun 13, 2016 at 11:32:11PM +0200, Mattias Andrée wrote: > Too energy efficient to open the PDF and > read the abstract? No worries, here it is: You're a good person.

Re: [dev] JIT & VM discussion

2016-06-18 Thread Staven
On Sat, Jun 18, 2016 at 10:33:23AM +0100, Connor Lane Smith wrote: > Hi all, > > I was wondering if others had an opinion on JIT. Suppose we don't need > anything fancy like adaptive optimisation, but just wanted to compile > a program at runtime. Why?

Re: [dev] [dwm] Avoid requesting MotionNotify events

2016-07-16 Thread Staven
On Sat, Jul 16, 2016 at 02:33:18PM +0300, Alexander Monakov wrote: > This causes lots of useless communication between the X server and dwm every > time the mouse pointer is moved, even when nothing could possibly change as > a result (e.g. if Xinerama is not compiled in, or only one monitor is >

Re: [dev] Proper window type for dwm and dmenu

2016-07-19 Thread Staven
Shadows... with a tiling window manager? How does that work?

Re: [dev] New Suckless computer language?

2016-07-23 Thread Staven
On Sun, Jul 24, 2016 at 11:18:11AM +1100, Sylvain BERTRAND wrote: > Go compiler/sdk is that c++ dependent (language and runtime) kludge which is > gcc now (go is google and gcc becoming hard dependent on a c++98 > compiler/runtime is google mistake too), and rust compiler/sdk has similar > issues.

Re: [dev][patch] Proper window type for dwm and dmenu

2016-07-24 Thread Staven
On Sun, Jul 24, 2016 at 11:10:48PM +0200, hiro wrote: > hahahahaha. shadows. > They're useful for vampire detection.

Re: [dev] Wayland vs X11

2016-08-02 Thread Staven
On Tue, Aug 02, 2016 at 06:04:20PM +0200, patrick295767 patrick295767 wrote: > Quote: > Display server expert Daniel Stone explains what is really happening Display server expert.

Re: [dev] JWM on website

2016-08-02 Thread Staven
On Tue, Aug 02, 2016 at 10:47:31PM +0200, Martin Kühne wrote: > libXmu for rounded corners. kill me

Re: [dev] Allow secure access to Web site suckless.org

2016-08-03 Thread Staven
On Wed, Aug 03, 2016 at 01:21:46PM +0200, Anselm R Garbe wrote: > Do you trust your network adapter telling you the truth? > > Nevertheless I doubt you don't use online banking and stuff like that, > hence you definitely trust some CA to some extent ;) I always wear a tinfoil hat and double up on

Re: [dev] [st] most suckless way to scroll & multiplex

2016-08-11 Thread Staven
On Thu, Aug 11, 2016 at 10:15:02PM +0100, Joseph Graham wrote: > I am accustomed to having scrolling and multiplexing (in xfce4-terminal). To > get these the suckless way should I: > a. use tmux/screen > b. use tabbed and the st scrollback patch > c. something else I'm not sure about "the suckless

Re: [dev] st lack of scrollback

2016-08-11 Thread Staven
On Thu, Aug 11, 2016 at 10:36:21AM -0800, Britton Kerin wrote: > On Thu, Aug 11, 2016 at 9:42 AM, Christoph Lohmann <2...@r-36.net> wrote: > > Greetings. > > > > On Thu, 11 Aug 2016 19:42:13 +0200 Britton Kerin > > wrote: > >> I realize it's a non-goal > > > > Then why do you send this useless ma

Re: [dev] [dwm] resize cursor

2016-08-23 Thread Staven
On Tue, Aug 23, 2016 at 01:27:23PM +0300, Cág wrote: > Since dwm resize cursor appears exclusively on the bottom right corner, I recall some people having patches that make it possible to resize from other corners. I don't know if anybody should care about that. > what about changing XC_sizing to

Re: [dev] [sbase] [paste.c] misleading indentation?

2016-09-05 Thread Staven
On Thu, Sep 01, 2016 at 11:28:03AM -0300, Marc Collin wrote: > Hey guys. > > I was warned by the compiler about a misleading indentation and I > think its right. Which compiler warns you about indentation?

Re: [dev] [sbase] [paste.c] misleading indentation?

2016-09-06 Thread Staven
On Tue, Sep 06, 2016 at 09:37:09AM +0200, Kevin Michael Frick wrote: > GCC, probably. Which sucks, but if Hitler warns you not to step of a > cliff, you don't ignore his warning because he is Hitler. I never said it's a bad thing. Please don't put words in my mouth. I only let very close friends p

Re: [dev] [announce] wjt-0.1 - slider widget

2016-12-13 Thread Staven
On Mon, Dec 12, 2016 at 07:42:15PM -0600, Ian Remmler wrote: > I recently switched to dwm, and I've been using the systray patch > because I liked having a drop down volume control. But I decided to go > patchless, so I made a slider app to provide something similar: > Hey, that's pretty neat. I

Re: [dev] [surf] Webkit2 with proxy server

2016-12-17 Thread Staven
On Sat, Dec 17, 2016 at 01:32:55PM +0100, Sylvain BERTRAND wrote: > Is there anybody who dared to think that webkit-anything or geecko-anything is > in no way suckless due to their c++ implementation? > > -- > Sylvain > I don't think anybody's ever claimed otherwise. I think the point of surf i

Re: [dev] [surf] Webkit2 with proxy server

2016-12-17 Thread Staven
On Sat, Dec 17, 2016 at 06:51:25PM +0100, Sylvain BERTRAND wrote: > I'm about to sue some french administrations over their www sites and my > french > bank www sites for their lack of interop with light www browsers. I wish you luck with that endeavor. My bank won't even let me log in if their