Re: Re[2]: [dev] suckless GUI

2019-03-24 Thread Dave Trombly



⁣Get TypeApp for Android ​

On Mar 24, 2019, 19:18, at 19:18, David Trombly  
wrote:
>
>You may want to look at Lynx
>https://lynx.browser.org/
>The original suckless browser, but be warned, it has no graphic
>capabilities yet!
>--
>Sent from myMail for Android Sunday, 24 March 2019, 07:03PM -04:00 from
> mi...@waifu.club :
>
>>On 2019-03-25 00:16, amirouche wrote:
>> Hello all,
>>
>>
>> I am looking for a graphical user interface (GUI) that will allow
>> me to avoid the browser tarpit and that is more lightweight than
>> GTK+ and Qt.
>>
>> I had a look around the internet and found out about immediate gui
>> like nuklear and dear imgui. Maybe that is what I am looking.
>>
>> I am looking for something that has at least C wrapper to be able
>> to easily create bindings for it.
>>
>> WDYT?
>>
>>True spirit of immediate mode GUI, as I understand it, is to roll
>>it on your own.
>>
>>Outside of that, I have  http://xforms-toolkit.org/ in my bookmarks,
>>but I didn't have time to tinker with it myself yet.
>>




Re: [dev] suckless GUI

2019-03-24 Thread mikan

On 2019-03-25 00:16, amirouche wrote:

Hello all,


I am looking for a graphical user interface (GUI) that will allow
me to avoid the browser tarpit and that is more lightweight than
GTK+ and Qt.

I had a look around the internet and found out about immediate gui
like nuklear and dear imgui. Maybe that is what I am looking.

I am looking for something that has at least C wrapper to be able
to easily create bindings for it.

WDYT?


True spirit of immediate mode GUI, as I understand it, is to roll
it on your own.

Outside of that, I have http://xforms-toolkit.org/ in my bookmarks,
but I didn't have time to tinker with it myself yet.



[dev] suckless GUI

2019-03-24 Thread amirouche

Hello all,


I am looking for a graphical user interface (GUI) that will allow
me to avoid the browser tarpit and that is more lightweight than
GTK+ and Qt.

I had a look around the internet and found out about immediate gui
like nuklear and dear imgui. Maybe that is what I am looking.

I am looking for something that has at least C wrapper to be able
to easily create bindings for it.

WDYT?



--
Amirouche ~ amz3 ~ https://hyperdev.fr



Re: [dev] Learn C

2019-03-24 Thread Robin Pedersen
Yo.

Maybe you wanna read this?
https://git.suckless.org/
https://9p.io/sources/plan9/sys/src/cmd/

Regards Robin.

On Sun, 24 Mar 2019 at 11:29, Thuban  wrote:
>
> Hi,
> I want to learn C. I mean, sane C.
> What i read before was based on big IDE such as codeblocks. So, I don't
> know how to write Makefiles from scratch. (just an example).
> As an example, I found gobyexample [1] great. But it's go.
> Any reading advice?
>
> Thanks.
> Regards
>
> [1] : https://gobyexample.com/
> --
> thuban
>



Re: [dev] Learn C

2019-03-24 Thread Joseph Graham
https://matt.sh/howto-c

On Sun, Mar 24, 2019 at 10:28:35AM +0100, Thuban wrote:
> Hi,
> I want to learn C. I mean, sane C.
> What i read before was based on big IDE such as codeblocks. So, I don't
> know how to write Makefiles from scratch. (just an example).
> As an example, I found gobyexample [1] great. But it's go.
> Any reading advice?
> 
> Thanks.
> Regards
> 
> [1] : https://gobyexample.com/
> -- 
> thuban
> 



Re: [dev] Learn C

2019-03-24 Thread Mattias Andrée
Hi,

I would recommend to simply to C projects. Suckless.org is great place
to find sane C code with simple Makefiles. If you already are programmer,
you should be able to learn C by just using it, no reading necessary.
This way you should get a solid understanding of the basic quite fast
and with time you will pick up one the more advanced topics.


Regards
Mattias Andrée


On Sun, 24 Mar 2019 10:28:35 +0100
Thuban  wrote:

> Hi,
> I want to learn C. I mean, sane C.
> What i read before was based on big IDE such as codeblocks. So, I don't
> know how to write Makefiles from scratch. (just an example).
> As an example, I found gobyexample [1] great. But it's go.
> Any reading advice?
> 
> Thanks.
> Regards
> 
> [1] : https://gobyexample.com/



pgpZpqL1HYl4k.pgp
Description: OpenPGP digital signature


Re: [dev] Learn C

2019-03-24 Thread Stefan Hagen

Thuban wrote:

I want to learn C.


Kernighan and Ritchie, C Programming Language, 2nd Edition


I mean, sane C.

http://suckless.org/coding_style/
http://suckless.org/philosophy/
http://www.catb.org/esr/writings/taoup/html/ch01s06.html

HTH,
Stefan



Re: [dev] Learn C

2019-03-24 Thread Ivan Tham

Hi,

K The C Programming Book Second Edition should be a nice book to
learn C.

On Sun, Mar 24, 2019 at 10:28:35AM +0100, Thuban wrote:

Hi,
I want to learn C. I mean, sane C.
What i read before was based on big IDE such as codeblocks. So, I don't
know how to write Makefiles from scratch. (just an example).
As an example, I found gobyexample [1] great. But it's go.
Any reading advice?


--
Do what you like, like what you do.  -- Pickfire



Re: [dev] HSTS issues on suckless.org

2019-03-24 Thread Quentin Rameau
> http(s)://wmii.suckless.org return a 404 for me so I don't think this
> site is online anymore.

wmii.suckless.org is not anymore.



Re: [dev] HSTS issues on suckless.org

2019-03-24 Thread Silvan Jegen
On Sat, Mar 23, 2019 at 02:41:37AM +, opal hart wrote:
> > wmii.suckless.org uses an invalid security certificate. The
> > certificate is only valid for the following names: core.suckless.org,
> > dl.suckless.org, dwm.suckless.org, ev.suckless.org, git.suckless.org,
> > gunther.suckless.org, libs.suckless.org, lists.suckless.org,
> > mx.suckless.org, oldgit.suckless.org, st.suckless.org,
> > stagit.suckless.org, suckless.org, surf.suckless.org,
> > tools.suckless.org, www.suckless.org
> 
> Quote should say it all: wmii.suckless.org is not a subdomain covered
> by the site's certificate, and HSTS makes it "impossible" to override
> or ignore this error (impossible for me, at least, since I wish to use
> only the HTTPS version of the site).

http(s)://wmii.suckless.org return a 404 for me so I don't think this
site is online anymore.


Cheers,

Silvan



[dev] Learn C

2019-03-24 Thread Thuban
Hi,
I want to learn C. I mean, sane C.
What i read before was based on big IDE such as codeblocks. So, I don't
know how to write Makefiles from scratch. (just an example).
As an example, I found gobyexample [1] great. But it's go.
Any reading advice?

Thanks.
Regards

[1] : https://gobyexample.com/
-- 
thuban



Re: [dev] [dmenu] Segfault upon input

2019-03-24 Thread Josh Hansen
I can't say for sure but it seems very likely that is the same issue.
It is occurring in XmbLookupString also and seems to have the same
behavior. Is there a fix in the works? It seems there was a bit of
disagreement as to whether XIM support was worth keeping, and people
weren't sure how to include XIM support without this segfault? I
personally have seen no need for non-ascii inputs but I'd imagine
there are many out there who like to name their scripts etc. using
their non-latin native writing system, which is the vast majority of
languages on this planet. From a international accessibility
perspective it makes perfect sense. Just one person's thoughts. But
the segfault is no fun either.

On Sat, Mar 23, 2019 at 8:42 PM congdanhqx  wrote:
>
> Hi Josh,
>
> On March 23, 2019 7:27:20 PM UTC, Josh Hansen  
> wrote:
> >Hi,
> >I'm relaying a common bug report from i3wm that appears to be a dmenu
> >issue involving a segmentation fault upon any user input. You can see
> >the reports here: https://github.com/i3/i3/issues/3619
> >
> >This occurs in dmenu 4.9. It seems that at least for some users, this
> >version gives a segmentation fault when entering any text input into
> >the dmenu input box. This impairs essentially all use of dmenu.
> >
> >Here is how I can bring about the bug:
> >
> >1. Invoke dmenu using the i3 shortcut
> >2. Type any text input key
> >3. dmenu exits immediately
> >
> >Upon further inspection, this can be shown to be a segmentation fault.
> >From the command line:
> >
> >$ gdb dmenu
> >$ (gdb) run < /dev/null
> >...
> >Program received signal SIGSEGV, Segmentation fault.
> >XmbLookupString (ic=0x0, ev=0x7fffcf50, buffer=0x7fffd010
> >, nbytes=32, keysym=0x7fffcec0,
> >status=0x7fffcdc0) at ICWrap.c:403
> >403if (ic->core.im)
> >
> >This appears to be a dmenu-specific issue as it can be reproduced
> >similarly from within a non-i3 window manager.
> >
> >My system is Fedora 29, dmenu 4.9. The error appears to have been
> >introduced upon upgrading from dmenu 4.8, before which dmenu
> >functioned properly.
>
> Is it duplicated with this report:
>
> https://lists.suckless.org/dev/1902/33245.html?
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.