Re: [dev] flash fullscreen issue (dwm-5.7.2)

2009-12-07 Thread Sean Howard
Used to have this issue back when I was using flash. The problem is kinda weird.

The site is designed such that when the window doesn't have focus, it closes. 
Therefore, you need to continue to give the Window focus. Since dwn gives focus 
in a sane way (to the mouse, and keeps focus on the old window), you need to do 
some magic, or uberfast mousing to make it work. I don't know a better way of 
fixing it.

--Sean

Somebody claiming to be Alex Matviychuk wrote:
> I have been getting this behavior for a while too, both in Firefox and
> Chromium, using DWM 5.7.2.
> 
> On Tue, Dec 8, 2009 at 5:39 AM, Alexandr Krylovskiy  wrote:
> > ??Fullscreen mode with flash applications (youtube, for example) doesn't
> > work properly neither in tiled nor in floating mode.
> > ??Fullscreen window closes immediately after opening.
> >
> > --
> > wbr, Alexandr Krylovskiy
> > Tver State University IC dep
> > mailto: w...@tversu.ru
> >
> >
> 



Re: [dev] Suckless design in Games

2010-08-09 Thread Sean Howard
I do not believe there's a suckless games library. The world of game coding is 
a different animal, and the libraries do what they say, we hope, and so we use 
them.

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 know 
Go that well, but feel C and Go are bad places to start for game design.

--Sean

Somebody claiming to be Matthew Bauer wrote:
> What game libraries are suckless? (SDL, OpenGL)
> 
> What programming language is best for games? (C, Python, or Go)
> 



Re: [dev] [dmenu] Patch for XDG Base Directory specification of dmenu_path

2011-01-04 Thread Sean Howard
You do both. Ideally you SSH into a machine running a NFS mounted home
directory on your own notebook. Of course, in that case, you're likely
not running dmenu, or even X.
Or that's my experience, at least.

On 4 January 2011 09:11, Anselm R Garbe  wrote:
> On 4 January 2011 14:56, Gregor Best  wrote:
>> On Tue, Jan 04, 2011 at 02:24:05PM +0100, Anselm R Garbe wrote:
>>> [...]
>>> Also I believe that nfs mounted $HOME dirs are not that widespread
>>> anymore and those who use this still should be able to change a flag
>>> in config.mk.
>>> [...]
>>
>> Practically every university uses network mounted home directories. Here
>> at UPB we have AFS homes and two variants of NFS homes and at Cologne
>> University it's the same.
>
> I thought the times of computer pools are past and todays students
> have all their own notebook.
> But anyways, students should be able to set a flag properly ;)
>
> Cheers,
> Anselm
>
>



Re: [dev] dwm battery level alarm system

2011-01-27 Thread Sean Howard
I'd just get the current life of the battery (as you would normally
pipe it to xsetroot, using acpi or whatnot), then, if you want a popup
window, check the state everytime you update the rootname, and pipe
something to Zenity if it is at 10% or less. If it is at 0% run 'zzz'
(or however you suspend on Linux).

Sorry for the lack of real information, on a Windows box at work.

--Sean



Re: [dev] what program to create custom menus

2011-01-28 Thread Sean Howard
I would likely use dmenu.

Same way you'd use it for playlists or such.

--Sean

On 28 January 2011 10:41, pancake  wrote:
> I would probably use cat (1) it's available in most distributions nowadays.
>
> On 01/28/11 16:22, Michael wrote:
>>
>> Hello.
>>
>> What program do you recommend to create a pop-up menu with a list of my
>> favorite applications in wmii?
>>
>> I mean: I hit MOD1+SHIFT+P and menu pops up with a list of categories
>> like: multimedia, internet. When I choose (with arrow keys) internet then
>> sub menu pops up with a list of applications like: firefox, thunderbird.
>> When I choose one of them (with enter key) then it gets executed.
>>
>> I'm looking for something simple, small and minimalistic. And please, no
>> 9p! Any suggestions please? (yes, I love the mod+p but I need something more
>> visual as well)
>>
>> Michael
>>
>
>
>



Re: [dev] what program to create custom menus

2011-01-28 Thread Sean Howard
That was what I was looking for!

ratmen is pretty good at this. Likely more visual than dmenu, although
basically the same thing.

http://www.update.uu.se/~zrajm/programs/

--Sean

On 28 January 2011 11:24, Julien Jehannet  wrote:
>> * Michael  [28-janv.-2011 16:26]:
>> Hello.
>>
>> What program do you recommend to create a pop-up menu with a list of
>> my favorite applications in wmii?
>>
>> I mean: I hit MOD1+SHIFT+P and menu pops up with a list of categories
>> like: multimedia, internet. When I choose (with arrow keys) internet
>> then sub menu pops up with a list of applications like: firefox,
>> thunderbird. When I choose one of them (with enter key) then it gets
>> executed.
>
> Have you tried dzen2 ?
> http://dzen.geekmode.org/dwiki/lib/exe/fetch.php?media=dzen:dzen_menu_shot.png
>
> I found a tutorial here:
> https://bbs.archlinux.org/viewtopic.php?pid=390680
>
> Nevertheless, I'm not sure you can easily navigate from keyboard easily.
> But give it a try and let us know :-)
> --
> N e  h u m a n u s  c r e d e
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk1C7akACgkQCZrUxmqgUydC7QCfXIDv5aCliNd68iEjBg0EB0bn
> BIwAoIHt8aDtITyd6mkzKkKTuZ55ll0D
> =EmVf
> -END PGP SIGNATURE-
>
>



Re: [dev] which minimal os

2011-02-11 Thread Sean Howard
I use OpenBSD. It can grow quickly if you want it to, and it can be
run on a VAX if you want it to.

What performance need do you have that makes OpenBSD not worth it?

When I am going to be throwing a system together without OpenBSD then
I tend to use Debian.

--Sean

On 11 February 2011 13:34, Benoit Chesneau  wrote:
> Hi all,
>
> I've started these days to use wmii on ubuntu, previously I was using
> cwm on openbsd,but for some technical reason (smp, & performance need)
> I need to choose another OS. I would like to use this weekend to
> rethink my system and remove most of the tools i don't need but I'm
> undecided. What would you choose for a really minimal OS?
>
> In my min come netbsd, debian, minimal ubuntu, freebsd? I'm curious to
> know what you are using?
>
> - benoît
>
>



Re: [dev] Not Using a Window Manager?

2011-03-02 Thread Sean Howard
It (might be) ideal software for text modification and regex.

Ideal software doesn't do everything. In fact, it is often suboptimal
software that does everything.

On 2 March 2011 12:48, hiro <23h...@googlemail.com> wrote:
> Do you want to tell me that sed, awk and cat is "ideal software"?
>
> sed is not ideal software for listening to music, is it?
>
> On 3/2/11, Rob  wrote:
>> On 2 March 2011 15:11, hiro <23h...@googlemail.com> wrote:
>>> On 3/2/11, Anselm R Garbe  wrote:
 I'm saying that ideal software is barely configurable.
>>>
>>> Ideal for what purpose?
>>> "Barely" anything doesn't carry information if you put it in context
>>> with "ideal".
>>> You should have said: Ideal software doesn't suck.
>>
>> Does your $HOME have a .sedrc? How about .awkrc? .catrc, maybe?
>> Exactly.
>>
>>
>
>



Re: [dev] [wmii] running script on 'desktop'?

2011-03-22 Thread Sean Howard
What do you mean by this?

If Conky outputs as text, you can send it's output to a constantly
updating xrootconsole (sorta hackish and not very pretty, and likely
you need to install xrootconsole) (printing out_to_console=yes and
out_to_x=no). I don't use the program myself, but I think I can see
what it does.

If something outputs to the root window of the X display, it will do
what you want.

I personally use "mpc|xrootconsole" inside my dwm loop (it's not
great, and it's not pretty, but it does the job).

You might simply want to put "watch ps -aux|xrootconsole" as a script
running in the background to keep a constantly updated mpd readout
available.

So - the answer is - yes, you can, although more information would help a lot.



On 22 March 2011 09:18, Benjamin Cathey  wrote:
> Just curious if it is possible to run a script on the background image (sort
> of conky-ish)?  I'm thinking not due to the nature of wmii, however I
> thought it couldn't hurt to ask.
>
> Thanks
>
> Benjamin
>
>



Re: [dev] [wmii] running script on 'desktop'?

2011-03-22 Thread Sean Howard
http://sourceforge.net/projects/xrootconsole/ - I don't know if it's
packaged in arch. I personally use the OpenBSD package, but that has
little bearing on any Linux I know.

The "root window" is a window, however, it is currently likely being
take up by your background.

On 22 March 2011 10:44, Benjamin Cathey  wrote:
> Hey again
>
> Well in wmii, I use terminator set to transparent so that my background
> image shows through (set using 'feh' in my wmiirc).  I was wondering if
> there was a way to have a script running and have the output display over
> the background displayed by feh and under the terminator window (or any
> other window really).
>
> I did not think this would be possible as it seems that all programs running
> need a 'window'.
>
> I looked for xrootconsole using yaourt (arch linux) and didn't find any
> matches.
>
> Thanks
>
> B
>
> On 03/22/2011 10:39 AM, Sean Howard wrote:
>>
>> What do you mean by this?
>>
>> If Conky outputs as text, you can send it's output to a constantly
>> updating xrootconsole (sorta hackish and not very pretty, and likely
>> you need to install xrootconsole) (printing out_to_console=yes and
>> out_to_x=no). I don't use the program myself, but I think I can see
>> what it does.
>>
>> If something outputs to the root window of the X display, it will do
>> what you want.
>>
>> I personally use "mpc|xrootconsole" inside my dwm loop (it's not
>> great, and it's not pretty, but it does the job).
>>
>> You might simply want to put "watch ps -aux|xrootconsole" as a script
>> running in the background to keep a constantly updated mpd readout
>> available.
>>
>> So - the answer is - yes, you can, although more information would help a
>> lot.
>>
>>
>>
>> On 22 March 2011 09:18, Benjamin Cathey
>>  wrote:
>>>
>>> Just curious if it is possible to run a script on the background image
>>> (sort
>>> of conky-ish)?  I'm thinking not due to the nature of wmii, however I
>>> thought it couldn't hurt to ask.
>>>
>>> Thanks
>>>
>>> Benjamin
>>>
>>>
>>
>
>



Re: [dev] [wmii] running script on 'desktop'?

2011-03-22 Thread Sean Howard
Ah - sorry. Reread the wmiirc. It uses xsetroot to set the background.
Therefore running a program in the root window (examples:
xrootconsole, xmoon, xpenguins, or xfireworks) will happen over top of
that.

On 22 March 2011 11:08, Sean Howard  wrote:
> http://sourceforge.net/projects/xrootconsole/ - I don't know if it's
> packaged in arch. I personally use the OpenBSD package, but that has
> little bearing on any Linux I know.
>
> The "root window" is a window, however, it is currently likely being
> take up by your background.
>
> On 22 March 2011 10:44, Benjamin Cathey  wrote:
>> Hey again
>>
>> Well in wmii, I use terminator set to transparent so that my background
>> image shows through (set using 'feh' in my wmiirc).  I was wondering if
>> there was a way to have a script running and have the output display over
>> the background displayed by feh and under the terminator window (or any
>> other window really).
>>
>> I did not think this would be possible as it seems that all programs running
>> need a 'window'.
>>
>> I looked for xrootconsole using yaourt (arch linux) and didn't find any
>> matches.
>>
>> Thanks
>>
>> B
>>
>> On 03/22/2011 10:39 AM, Sean Howard wrote:
>>>
>>> What do you mean by this?
>>>
>>> If Conky outputs as text, you can send it's output to a constantly
>>> updating xrootconsole (sorta hackish and not very pretty, and likely
>>> you need to install xrootconsole) (printing out_to_console=yes and
>>> out_to_x=no). I don't use the program myself, but I think I can see
>>> what it does.
>>>
>>> If something outputs to the root window of the X display, it will do
>>> what you want.
>>>
>>> I personally use "mpc|xrootconsole" inside my dwm loop (it's not
>>> great, and it's not pretty, but it does the job).
>>>
>>> You might simply want to put "watch ps -aux|xrootconsole" as a script
>>> running in the background to keep a constantly updated mpd readout
>>> available.
>>>
>>> So - the answer is - yes, you can, although more information would help a
>>> lot.
>>>
>>>
>>>
>>> On 22 March 2011 09:18, Benjamin Cathey
>>>  wrote:
>>>>
>>>> Just curious if it is possible to run a script on the background image
>>>> (sort
>>>> of conky-ish)?  I'm thinking not due to the nature of wmii, however I
>>>> thought it couldn't hurt to ask.
>>>>
>>>> Thanks
>>>>
>>>> Benjamin
>>>>
>>>>
>>>
>>
>>
>



Re: [dev] dwm taskbar config

2011-03-23 Thread Sean Howard
Firstly: you are not closing one of the three nested loops.
Secondly: You don't need that many loops, just one infinite loop
should be fine. Also, that "&" makes it so it both runs dwm AND
continues the loop, this is a good thing.
Thirdly:: calling dwm is not a good idea inside any of the loops
Fourthly: It's not crazy important (I think) but use exec, and
/usr/bin should be in your path so you don't need the /usr/bin (again,
not important)
Fifthly: If you want the script to show a relatively accurate time,
use a 2s sleep as opposed to a 55s sleep. Mostly so your clock stays
up to date (although consume MANY more resources)

Likely you want:
while true
do
xsetroot -name "$(date +"%a, %b %d %Y | %H:%M")"
sleep 2s
done &
exec dwm

If you want it to have a clock AND show harddrive space in use use:
while true
do
xsetroot -name "$(date +"%a, %b %d %Y | %H:%M") $(du -h /)"
sleep 2s
done &
exec dwm


On 23 March 2011 16:08, Le Tian  wrote:
> ok, now I tried to make .xinitrc file in my home/me dir, and added these
> lines:
>
> while true
> do
>
> while true
> do
>
> while true
> do
> xsetroot -name "$(date +"%a, %b %d %Y | %H:%M")"
> sleep 55s
> done &
>
> /usr/bin/dwm
> done
>
>
> but it doesn't work. When I start dwm, I get clean screen without anything,
> so I deleted it.
> I'm sorry, but I not that sophisticated in proper scripting, can someone
> tell me how to do it properly(I'm running SUSE 11.4). Should I create
> .xinitrc or should I make .dwmrc or else?
>
>



Re: [dev] dwm taskbar config

2011-03-23 Thread Sean Howard
My apologies. I am at work, no chance to look at my own .xinitrc but I
was under the impression I did use exec dwm.

Perhaps I don't and am just a bit addled.

On 23 March 2011 16:37, Henri Ducrocq  wrote:
> Doing exec won't allow for execution of the loop since dwm is going to
> replace the shell process.
>
> On Mar 23, 2011 8:35 PM, "Le Tian"  wrote:
>> Yeah, your variant is better, but why should I make exec dwm? when I log
>> in
>> via kde login manager?( I edited sysconfig, so my default wm is dwm)
>> That is, when I see a login prompt I enter password and start dwm as
>> default. When I make .xinitrc, dwm do not start, I can see only desktop
>> empty screen.
>> WHy is this happening I don't know.
>



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

2011-03-29 Thread Sean Howard
On 29 March 2011 12:47, Christoph Lohmann <2...@r-36.net> wrote:
> Hello,
>
> pancake wrote:
>>
>> *Bruce Leidl (@bleidl )*
>> 26/03/11 19:41 
>> Dude patiently tries to explain to #Archlinux
>>  why no authentication for
>> packages is a huge problem. Ban hammer.
>> bit.ly/hSZUR3
>> 
>
> I'm sorry to inform you, that the Twitter culture of temporary
> interesting short text highlights is seen as a disgrace of Inter-
> net culture. Please stop posting HTML emails, any kind of Twitter
> messages and replace your mobile phone with something sane. I am
> willing to take your iPhone into custody and never return it
> again.
>
>
> Sincerely,
>
> Christoph Lohmann
>
>

While I agree HTML emails are terrible. While I feel link shorteners
are terrible. I think that the proper solution would be to provide a
link to the blog, and a source (if you must), since this is
information that the *nix community should know, and while this is the
improper distrobution platform, the proper one is not going to
authorize use by this information.

But yeah - email is text, keep it that way. Then ignore the vitriol.



Re: [dev] hgweb typically sucks

2011-04-01 Thread Sean Howard
Firefox reads it just fine. I get the .c in the browser.

What web browser are you using?

(I typically use a combination of xxxterm, lynx, and firefox. I am at
work though, so only Firefox is available).

Also - the point of a web browser is to read the web - if you want it
to dump everything raw to your screen - how do you want to to behave
on an mp3 link, or a .zip link?

--Sean

On 31 March 2011 21:23, Ethan Grammatikidis  wrote:
> Looking at the list of "other projects" on suckless.org some catch my eye,
> so I click on them & get taken to a hgweb site. Okay, no problem so far, so
> I click on a file, micy's micy.c for example. Between the syntax
> highlighting and the crazy two-tone background my old eyes can't read it so
> I click raw... and I'm not allowed to view it in my browser!
>
> I have to download the file and then resort to some other program to find
> and read the thing, which is not the point of using a browser in the first
> place. Who wants to save a single file from a project anyway, and if they do
> what browser doesn't have a perfectly good "save as" option anyway?
>
> I like to browse these things occasionally to get a bit of a deeper idea of
> what they do in case I want them in the future, but I'm not going to bother
> with a whole hg clone into some temp dir just to get enough info on
> something to make it stick in my memory.
>
>



Re: [dev] hgweb typically sucks

2011-04-01 Thread Sean Howard
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13)
Gecko/20101203 Firefox/3.6.13 (Yah, work restrictions suck more.)

However, my Firefox which is the standard packaged with OpenBSD 4.8
does the same thing.

I'd maybe check file associations

--Sean

On 1 April 2011 10:00, Ethan Grammatikidis  wrote:
>
> On 1 Apr 2011, at 2:15 pm, Sean Howard wrote:
>
>> Firefox reads it just fine. I get the .c in the browser.
>>
>> What web browser are you using?
>
> Firefox...
>
> Version 3.6.3 to be exact, packaged by Slackware. What version are you
> using, and what OS or distro?
>
>>
>> Also - the point of a web browser is to read the web - if you want it
>> to dump everything raw to your screen - how do you want to to behave
>> on an mp3 link, or a .zip link?
>
> I've used browsers which did dump everything inline in the dim and distant
> past and while annoying it wasn't _this_ annoying, lol. I'd be fine with the
> browser just figuring out if it could display something without depending
> too much on content-type or content-disposition but this is just wierd.
>
>



Re: [dev] Microsoft considers harmful...

2011-06-17 Thread Sean Howard
The base problem is simple:
The Web is a hammer. It's a nice pretty hammer, but there's a lot of things 
that aren't nails.

Somebody claiming to be Mate Nagy wrote:
> On Fri, Jun 17, 2011 at 01:55:37PM -0400, Bryan Bennett wrote:
> > Let's face it - the web is no longer focused on Gopher-like information
> > presentation and gathering any longer. Live with it.
> 
> The Chrome browser source code is 155MB without libraries.
> 
> Its you and similar people who made the web to be like this. And you
> seem to like it. With no irony.
> 
> Incidentally, the last version of the Web that was any good, and the
> purpose and function of web pages that are still usable to some degree
> in this day and age, is still the same - Gopher-like information
> presentation and gathering.
> 
> The bastardization that began with HTTP 1.1, HTML 4.0 and CSS ruined the
> web, and the resulting mess will be unfixable until our civilization is
> wiped from the face of the earth. The only hope for a bright future in
> IT is swift death.
> 
> In short, GTFO.
> 
> With friendship,
>  Mate
> 
> PS.  gopher owns
> 



Re: [dev] aijuboard

2015-04-30 Thread Sean Howard
!_/

Sent from my BlackBerry 10 smartphone on the TELUS network.
‎

Re: [dev] Suckless Desktop Environment

2011-11-07 Thread Sean Howard
are good? The maintainer/editor of TheDailyWTF for example 
claims he is purely a Windows hacker, wrote a filesystem for a joke, but never 
even entered Linux, much less suckless. Is that not the kind of audience we 
want to engage? People who see the problem, but not the solution?

I see Suckless as attempting to maintain the idea of Computer Programming as 
craft, a work of a pure mind, and not as simply hacking out letters and symbols 
until it compiles. Is that idea not a good one?

--Sean Howard



Re: [dev] Suckless Desktop Environment

2011-11-08 Thread Sean Howard
Somebody signing messages as Petr Sabata wrote:
> On Mon, Nov 07, 2011 at 03:13:35PM -0500, Sean Howard wrote:
> > Suckless, as an organization currently has a lot of tools, I personally use 
> > very few of them.
> > dwm - I use this every day, and I twitch when I need to use a computer 
> > without it. I also twitch when I need to use a computer without *my* 
> > config.h.
> > wmii - We've killed this one
> > st - I am an xterm user. I've never tried to compile st. I may use it if I 
> > feel a need for a change, part of the problem is my ~/bin folder is full of 
> > scripts I use and love, and I'd have to do a s/xterm/st/g for all of them.
> > wmi - nope
> > surf - it is quite nice. Not quite what I want, and therefore don't use it. 
> > I use one of the major players in the "some glue over webkit and X" 
> > arguement, but only after... three months... of experimentation did I 
> > arrive there.
> > 9base - don't feel the need, OpenBSD provides
> > dmenu - one of the coolest tools, honestly, it's so cool, I think this is 
> > my second-favourite suckless tool.
> > stali - I use OpenBSD - so, no.
> 
> Don't forget about slock and sselp.
> 
> -- Petr

I intentionally avoided most of the tools section. Simply due to space. I added 
dmenu and 9base as they seem important as things that a) I have used, and b) 
things that would be put into a toolchain




Re: Regarding "dogma" words [Was: Re: Regarding "make"-systems [Was: Re: [dev] Build system: redo]]

2012-08-10 Thread Sean Howard
Obviousness varies by experience and research.
On 2012-08-10 2:27 PM, "Anselm R Garbe"  wrote:

> On 10 August 2012 16:32, Ciprian Dorin Craciun
>  wrote:
> > On Fri, Aug 10, 2012 at 5:06 PM, hiro <23h...@gmail.com> wrote:
> >> people like inventing words. so what?
> >
> > I'm not against inventing words... On the contrary a language must
> evolve...
> >
> >
> > But I'm against using a quasi meaningless word as an answer
> > without also providing a meaningful or coherent argument sustaining
> > it. Thus just to keep in the context of "suckless", if someone says:
> >   >> Project blah is not "suckless".
> > I just ignore that statement on the basis of trolling...
> >
> > But if on the contrary he says:
> >   >> Project blah is not "suckless" because << insert at least an
> > intent to explain why >>.
> >
> > Then I agree to the usage of the word, and I don't count it as
> dogmatism.
>
> If something is obvious there is no need for a "because".
>
> -Anselm
>
>


Re: [dev] [ANN] CGD - Ultra-minimalist HTTP and FastCGI wrapper for CGI programs.

2012-09-21 Thread Sean Howard
On Sep 19, 2012 10:51 AM, "Stephen Paul Weber" 
wrote:
>
> Somebody claiming to be Uriel wrote:
>>
>> Sadly not all servers speak CGI this days, most notably nginx, and
>> others often have broken CGI support.
>
>
> Oh?  I guess I just never tried CGI with nginx.
>
>

Don't you remember when I was hating on nginx for not running CGI?
> --
> Stephen Paul Weber, @singpolyma
> See  for how I prefer to be contacted
> edition right joseph