Re: [dev] Let's talk about Go, baby

2019-01-26 Thread Ciprian Dorin Craciun
On Sun, Jan 27, 2019 at 3:57 AM Anselm Garbe wrote: > I > wouldn't recommend the cgo approach at all ;) I came to that > conclusion almost 10 years ago already, when some people started > writing WMs with Xlib in Go (cgo'ed xlib.go or whatever it was called > at the time) and realized that it suc

Re: [dev] Let's talk about Go, baby

2019-01-26 Thread sylvain . bertrand
Hi, Guys, why bothering with an obvious troll fed on google go propaganda??? come on... -- Sylvain

Re: [dev] Let's talk about Go, baby

2019-01-26 Thread Anselm Garbe
Hi Ciprian, On Sat, 26 Jan 2019 at 13:35, Ciprian Dorin Craciun wrote: > * I would skip C if it doesn't require too much OS-related > interaction; in fact if I do need OS interaction, Rust is a better > alternative than Go, due to Go's goroutine runtime which, as a > previous poster noticed, doe

[dev] a new suckless scheme interpreter

2019-01-26 Thread rain1
Here is a pretty complete and working scheme interpreter in 1600 lines of C. It was used to bootstrap a full scheme compiler. To use it in applications would probably require some extra hacking but that's what keeps it from getting bloated https://github.com/rain-1/single_cream/

Re: [dev] Let's talk about Go, baby

2019-01-26 Thread Ciprian Dorin Craciun
On Sat, Jan 26, 2019 at 9:46 PM Anselm Garbe wrote: > > What are your concerns about Rust? > > The language itself is certainly better than C++ or Java and avoided > many mistakes (like exceptions and going to far with OO). On the other > hand the typesystem isn't great and much more complex than

Re: [dev] surf

2019-01-26 Thread Igor Rubel
Yeah, that is the problem. Thanks! Unfortunately, it seems that XQuartz doesn't support Retina displays properly. > On 26. Jan 2019, at 21:08, Greg Reagle wrote: > > On Sat, Jan 26, 2019, at 15:58, Igor Rubel wrote: >> I've just installed surf using MacPorts. >> >>> surf https://www.apple.com/

Re: [dev] surf

2019-01-26 Thread Greg Reagle
On Sat, Jan 26, 2019, at 15:58, Igor Rubel wrote: > I've just installed surf using MacPorts. > > > surf https://www.apple.com/ > > Can't open default display > > How can one solve that? Hi. My guess, and it is just a wild guess because I don't even own an Apple/Mac (although I have used them a

Re: [dev] surf

2019-01-26 Thread Ben Woolley
Do you have an X server running? Like xquartz? Run it from a terminal inside the environment of an X server. Ben > On Jan 26, 2019, at 12:50 PM, Igor Rubel wrote: > > Hello! > > I've just installed surf using MacPorts. > >> surf https://www.apple.com/ >> Can't open default display > > How

[dev] surf

2019-01-26 Thread Igor Rubel
Hello! I've just installed surf using MacPorts. > surf https://www.apple.com/ > Can't open default display How can one solve that? Regards, I. Rubel

Re: [dev] Let's talk about Go, baby

2019-01-26 Thread Anselm Garbe
On Sat, 26 Jan 2019 at 06:27, Siraaj Khandkar wrote: > On Jan 25, 2019, at 20:18, Anselm Garbe wrote: > > C89 (or C99) clearly remains the preferred language for suckless > > software. However, when forced into typical day job developments to > > fund your well being, golang might actually be the

Re: [dev] Let's talk about Go, baby

2019-01-26 Thread Anselm Garbe
On Sat, 26 Jan 2019 at 03:55, Cág wrote: > Anselm Garbe wrote: > > However, when forced into typical day job developments to > > fund your well being, golang might actually be the sanest option on > > the table -- in order to avoid worse options such as Rust, Java, > > Kotlin, Scala, Ruby, C#, Swi

[dev] [dmenu] [patch] Use slow path if stdin is a tty

2019-01-26 Thread dok
Hi, This is a simple patch to prevent from being locked by having dmenu waiting on fgets to read from a tty with the keyboard already grabbed. cheers >From d579ee3221be1bd3fb5c1cf9c9bf55a2da68882c Mon Sep 17 00:00:00 2001 From: dok Date: Sat, 26 Jan 2019 15:49:15 +0100 Subject: [PATCH] Use slo

Re: [dev] Let's talk about Go, baby

2019-01-26 Thread Siraaj Khandkar
On Jan 25, 2019, at 20:18, Anselm Garbe wrote: > >> On Fri, 25 Jan 2019 at 09:54, Nick wrote: >> Anybody else enjoying Go? Or hating it? Have I become lazy and >> trendy in my middle age? > > Nice try. > > C89 (or C99) clearly remains the preferred language for suckless > software. However, wh

Re: [dev] Let's talk about Go, baby

2019-01-26 Thread Cág
Anselm Garbe wrote: However, when forced into typical day job developments to fund your well being, golang might actually be the sanest option on the table -- in order to avoid worse options such as Rust, Java, Kotlin, Scala, Ruby, C#, Swift etc. Implying C is such an obscure language that can