Re: [dev] [surf] copying to clipboard instead of primary

2019-01-08 Thread Szpak

I'm not sure if this is related but I noticed that if I type
Ctrl-Shift-o to open the Inspector nothing happens.


Hi.

For WebInspector try 'surf -N'.

Regards,
Marcin Szpak



Re: [dev] Patch apply status overview

2019-02-01 Thread Szpak

Hi,

I'd like to show an experiment I made for automatically testing patches  
on the
wiki.  Its purpose is it to have a quick overview of broken patches on  
the wiki.
I hope this will also help the community and patch authors in fixing  
these

patches together and pushing them to the public wiki repository.

HTML view: https://gunther.suckless.org/patches/
CSV parsable list: https://gunther.suckless.org/patches/index.csv


Great work, thanks. Thanks to it I can see that my surf patch didn't pass  
your test suite. :) Will fix. :)


Regards,
s/



[dev] [dwm] new release - transition from Openbox

2019-02-04 Thread Szpak

Hi.

I've been here for a while, mostly because of surf. And in general I like  
"suckless" approach. But well, I've got a question about dwm. To make it  
short:


**I've been using Openbox for several years. Is it worth switching to  
dwm?**


I'm mostly keyboard guy so my crucial functionality is to use keyboard  
shortcuts to: run particular program, switch desktops, switch windows,  
move them, resize, resize half-screen (vertically and horizontally), 1/6  
of screen (1/2 x 1/3), and similar.


Apart from that I don't use themes, decorations, menus,  
status-and-whatever-bars, self-reorganizing windows, and so on.


The only additional window I use in Openbox is the one that shows me  
window list while I'm switching them (Meta/Win+Tab). And I need a colorful  
border around active window. I think that's it.


So, Is it worth it, and will it be harmless, or maybe even beneficial?

sZpak



Re: [dev] [dwm] new release - transition from Openbox

2019-02-05 Thread Szpak

Hi, thanks for advice.


One of the big pluses is pinning an app to a workspace. When I boot, I
get two xterm windows in workspace 1, a browser in workspace 2, and my
email client in workspace 3.


That sounds interesting. At the moment I do the same at startup with
xdotool set_desktop n
and
xdotool * windowsize *
So that way I emulate tiling WM with floating one, but still have  
possibility to move windows around.



A change in the config.h I highly recommend is moving the MODKEY from
Alt to the Windows key:

#define MODKEY Mod4Mask /* windows key */

This doesn't conflict with any apps I use, and it makes sense that the  
window manager uses the windows key


That's a reasonable choice. I actually do the same in my environment.  
W-key is probably the only way to not interact with any app. Should be  
default one in my opinion.


Anyway, I've received enough recommendations to give the DWM a try.

s/



Re: [dev] [dwm] new release - transition from Openbox

2019-02-05 Thread Szpak

Not all keyboards have a logo key, most of them have an alt key though.



Well, yes, that may be truth. I've never seen one, though (apart from  
8-bits of '80).




Re: [dev] [dwm] new release - transition from Openbox

2019-02-07 Thread Szpak

Not all keyboards have a logo key, most of them have an alt key though.


My keyboard doesn't have a win key.


I believe that. :) But it's not an argument.

I have one that even doesn't have some letters, but that doesn't mean it  
has to be supported. :)

https://duckduckgo.com/?iax=images&ia=images&q=tracer+avenger

I understand that proper keyboard support is necessary to start using  
system in the first place. But, still, I believe that nowadays keyboard  
without logo key is a marginal case (probably even in suckless community)  
- so it's not really important.


Different matter is that "typical" keyboard has already at least 8  
modifiers key (2 x shift, 2 x alt, 2 x ctrl, logo, CapsLock). Which is  
madness on its own. :)


And "suckless philosophy" doesn't really state what has to be supported  
and what hasn't (which is actually good), apart from:
"focus on simplicity, clarity and frugality. Our philosophy is about  
keeping things simple, minimal and usable."


So I guess "we" have to stick with our intuition and make some arbitrary  
decisions. :)


Alt is fine. ;-)

Cheers
s/



Re: [dev] [surf] Bug: _SURF_URI and _SURF_GO sometimes won't update

2019-02-27 Thread Szpak

Hi Suleiman,

I can't reproduce your problem just like that (google.de → search →  
redirection → copy/bookmark url). So mostly it works just fine, but  
sometimes I notice similar behavior, which is incorrect url after  
redirection (from duckduckgo in my case).


It's not very often so I don't worry much about that, but I have a feeling  
that (at least on my machine) it's related to:

1. using proxy (privoxy or squid in my case);
2. unfinished page loading, which stops at some percent before 100, like  
89% or even 40%;


The problem number 2 was already discussed here on suckless list a while  
ago but I cannot find it now. Maybe someone else can confirm that it's  
related or not.


Meanwhile try to reproduce bug without proxy (if you use any) and make  
sure that your surf sources are the latest one.


sZpak



[dev] [surf] scroll not working

2019-04-15 Thread Szpak

Is it me only or scroll stopped working after 7ea0c2f?

sZpak



Re: [dev] [surf] scroll not working

2019-04-17 Thread Szpak

Is it me only or scroll stopped working after 7ea0c2f?


Maybe something to include in the git master?


My fault; it works just fine. I was running surf in workdir but apparently  
`make install` was necessary to update web extension dir.


s/



[dev] Programming as a hobby - which language?

2019-05-06 Thread sZpak

Hi,

I prepare myself for doing programming classes/course for kids/teenagers
in a local community center. And I need your advice.

**I have to choose language/technology/environment to teach.**

My current ideas are.

For older teenagers:
* PYTHON, +pygame. (I've already did such classes in the past and It
worked pretty well.)

For younger ones:
* SCRATCH (I don't like it but maybe 7-12-year-olds do.)

Most of you have many years of programming experience and many of you
started pretty early. So I'll be very happy to hear your ideas.

But please note that it's going to be a "programming AS A HOBBY" course,  
not

"programming course for your future professional career".

sZpak



Re: [dev] Programming as a hobby - which language?

2019-05-10 Thread sZpak

Hi,

I want to thank you for all your advices. They are very valuable for me.

I asked you about programming teaching because you are programming experts  
not because you are teaching experts (some of you surely are, though). And  
I did that for a reason.


But if I misused this forum than I apologize. I won't continue the subject  
here.


Regards,

sZpak