[dev] [PATCH] Measure the single advance width with a heuristic method

2016-03-06 Thread Ryusei Yamaguchi
This fix is needed to use dual-width fonts, which have double-width glyphs (e.g. CJK unified ideographs). Signed-off-by: Ryusei Yamaguchi --- st.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/st.c b/st.c index 0536b6f..fc49e67 100644 --- a/st.c +++ b/st.c @

Re: [dev] [bug][dwm] Fullscreen youtube after tag switch in 6.1

2016-03-06 Thread FRIGN
On Sun, 6 Mar 2016 12:13:52 -0300 Carlos Pita wrote: Hey Carlos, > 1. Open youtube in firefox (not tested with other browsers). > 2. Play some video in fullscreen mode. > 3. Switch to an *empty* tag (the problem doesn't happen if this other > tag has some client in it). > 4. Switch again to the

Re: [dev] [bug][dwm] Fullscreen youtube after tag switch in 6.1

2016-03-06 Thread Dimitris Papastamos
On Sun, Mar 06, 2016 at 01:18:57PM -0300, Carlos Pita wrote: > > Flash is very much a technical problem. Binary blob, catastrophic > > security record, X11 support is a giant hack (render a window on top of > > the page), absolutely non-portable outside of a few common > > OS+architecture combinati

Re: [dev] [bug][dwm] Fullscreen youtube after tag switch in 6.1

2016-03-06 Thread Carlos Pita
> Flash is very much a technical problem. Binary blob, catastrophic > security record, X11 support is a giant hack (render a window on top of > the page), absolutely non-portable outside of a few common > OS+architecture combinations, want me to go on? I don't care about flash at all. I just repor

Re: [dev] [bug][dwm] Fullscreen youtube after tag switch in 6.1

2016-03-06 Thread Kamil Cholewiński
On Sun, 06 Mar 2016, Carlos Pita wrote: >> > 4. Switch again to the youtube tag: flash has crashed. >> ^ >> >> You get what you deserve. > > So it's not a technical but a moral issue, sorry then, I'll ask my rabbi. Flash is very much a technical problem.

Re: [dev] [bug][dwm] Fullscreen youtube after tag switch in 6.1

2016-03-06 Thread Carlos Pita
> > 4. Switch again to the youtube tag: flash has crashed. > ^ > > You get what you deserve. So it's not a technical but a moral issue, sorry then, I'll ask my rabbi.

Re: [dev] Lessons Learned from 30 Years of MINIX

2016-03-06 Thread stanio
* Anselm R Garbe 2016-03-06 15:56 > I agree, though this is not stricly a problem with monolithic approaches > either. > In the end you have to trust the process governor to limit the > privileges of a process (or thread) to its specification/requirement. > If the governor is only one SPOF (monoli

Re: [dev] [bug][dwm] Fullscreen youtube after tag switch in 6.1

2016-03-06 Thread Kamil Cholewiński
> 4. Switch again to the youtube tag: flash has crashed. ^ You get what you deserve. Who on earth still uses flash for youtube? Less sucky alternatives: - youtube-dl - HTML5 K.

[dev] [bug][dwm] Fullscreen youtube after tag switch in 6.1

2016-03-06 Thread Carlos Pita
Steps to reproduce (tested against 6.1 master branch): 1. Open youtube in firefox (not tested with other browsers). 2. Play some video in fullscreen mode. 3. Switch to an *empty* tag (the problem doesn't happen if this other tag has some client in it). 4. Switch again to the youtube tag: flash has

Re: [dev] Lessons Learned from 30 Years of MINIX

2016-03-06 Thread Anselm R Garbe
On 6 March 2016 at 15:39, wrote: > * Anselm R Garbe 2016-03-06 14:20 >> On 6 March 2016 at 13:47, robin wrote: >> > Microkernels defenitely resonates with the unix philosophy "do one thing >> > and >> > do it well". >> > Having everything, except FUSE and such, in the kernel is doing more than

Re: [dev] Lessons Learned from 30 Years of MINIX

2016-03-06 Thread stanio
* Anselm R Garbe 2016-03-06 14:20 > On 6 March 2016 at 13:47, robin wrote: > > Microkernels defenitely resonates with the unix philosophy "do one thing and > > do it well". > > Having everything, except FUSE and such, in the kernel is doing more than > > one thing. > > IMHO the architectural deci

Re: [dev] Lessons Learned from 30 Years of MINIX

2016-03-06 Thread Anselm R Garbe
On 6 March 2016 at 13:47, robin wrote: > Microkernels defenitely resonates with the unix philosophy "do one thing and > do it well". > Having everything, except FUSE and such, in the kernel is doing more than > one thing. IMHO the architectural decision for a monolith (==static linkage) often red

Re: [dev] Lessons Learned from 30 Years of MINIX

2016-03-06 Thread robin
On Fri, Mar 04, 2016 at 11:47:48PM +0100, FRIGN wrote: > On Fri, 4 Mar 2016 14:43:40 -0500 > Greg Reagle wrote: > > > The connection to suckless is that the author has strong minimalist and > > anti-bloat tendencies. > > when did this turn into a Hacker News here? > > -- > FRIGN It seems re

[dev] [libzahl] 1.0 release

2016-03-06 Thread Mattias Andrée
Greetings everyone! I am happy to announce the first release of libzahl: version 1.0 [1]. libzahl is an integer-only bignum library. And this release contains all functions that I hope to implement in it: * Basic bitwise operations. * Basic arithmetic functions. * Modular multiplication and modu