Re: [dev] rebooting the web (it was: surf rewrite for WebKit2GTK)

2014-10-28 Thread Louis Santillan
Some of the ideas you identified in "rebooting the web" were more clearly and concisely conveyed in Ian Hickson's Google+ post [0][1]. Specifically, Ian mentioned that anything that replaces the "web" will have to be radically better ("faster, easier to author in, easier to develop for, easier to m

[dev] rebooting the web (it was: surf rewrite for WebKit2GTK)

2014-10-28 Thread Daniel Camolês
2014-10-28 22:04 GMT-02:00 M Farkas-Dyck : > VM is an option, tho a less versatile one. We could use capabilities > where available and VM elsewhere. Well, that's already more than twice the complexity before it even started to be written. I researched a bit on VM's and distributed systems, and t

[dev] [PATCH] Check for presence of SHELL environment variable

2014-10-28 Thread Eric Pruitt
- POSIX states the SHELL environment variable "... shall represent a pathname of the user's preferred command language interpreter." As such, st should check for its presence when deciding what shell to use; just as HOME can be defined to override one's passwd-defined home directory, a use

Re: [dev] surf rewrite for WebKit2GTK

2014-10-28 Thread Louis Santillan
FYI, There's also quad-wheel [0] which claims ES3 compliance and based upon ANSI C. [0] https://code.google.com/p/quad-wheel/ On Sun, Oct 26, 2014 at 9:58 PM, Louis Santillan wrote: > duktape is a great find and appears quite complete. But still seems > quite large. There's also Tiny-JS [0] (

Re: [dev] surf rewrite for WebKit2GTK

2014-10-28 Thread M Farkas-Dyck
On 28/10/2014, Daniel Camolês wrote: > Capability mode would require the target operating system to have this > kind of feature. Yes. Capsicum [1] works on FreeBSD and Linux and is being ported to OpenBSD. Plan 9 already has its own security model [2]. > Given a world that have more than one o

Re: [dev] surf rewrite for WebKit2GTK

2014-10-28 Thread Daniel Camolês
2014-10-28 21:38 GMT-02:00 M Farkas-Dyck : > On 28/10/2014, Daniel Camolês wrote: >> That's interesting, but there is a problem. How do you execute >> untrusted code? Maybe some kind of virtual machine? > > Thus, or in capability mode. Capability mode would require the target operating system to

Re: [dev] tax on internet?

2014-10-28 Thread M Farkas-Dyck
On 28/10/2014, FRIGN wrote: > On Tue, 28 Oct 2014 09:58:05 -0500 > M Farkas-Dyck wrote: > >> The government is using tax to quash dissent or other behaviors it >> dislikes. This is not a broad goods+services tax, this is a tax with a >> target. > > What is the target? Jobbik? Internet service.

Re: [dev] surf rewrite for WebKit2GTK

2014-10-28 Thread M Farkas-Dyck
On 28/10/2014, Daniel Camolês wrote: > 2014-10-28 12:01 GMT-02:00 M Farkas-Dyck : >> Distribute (source or intermediate) code over 9p. Generic client is 9p >> client and (compiler or interpreter) of (source or intermediate) >> language. >> > > That's interesting, but there is a problem. How do you

Re: [dev] surf rewrite for WebKit2GTK

2014-10-28 Thread Daniel Camolês
2014-10-28 12:01 GMT-02:00 M Farkas-Dyck : > On 25/10/2014, Daniel Camolês wrote: >> But when it comes to application >> distribution. By application distribution I mean, when we want to >> develop and maintain software in a central location and enable several >> users with a generic client to use

Re: [dev] [PATCH] [st] Fix issues with wcwidth() returning -1 for unsupported unicode chars

2014-10-28 Thread Ismael Luceno
On Sat, Oct 25, 2014 at 11:15 PM, dequis wrote: <...> > My patch: > > Just wcwidth(...) -> abs(wcwidth(...)) > > In other words: if wcwidth returns -1, interpret that as a column > width of 1. It's a bit dirty and lazy, but it works wonderfully for > most characters. <...> It's better than nothin

Re: [dev] [PATCH] Replace character with U+FFFD if wcwidth() is -1

2014-10-28 Thread Silvan Jegen
On Tue, Oct 28, 2014 at 02:53:28PM +0100, Dmitrij D. Czarkoff wrote: > Silvan Jegen said: > > I do agree that this is the right approach. There is however another > > instance of a wcwidth call on line st.c:3443 that should be handled as > > well (maybe with abs in that particular case?). > > As I

Re: [dev] [PATCH] Replace character with U+FFFD if wcwidth() is -1

2014-10-28 Thread k0ga
> Silvan Jegen said: >> I do agree that this is the right approach. There is however another >> instance of a wcwidth call on line st.c:3443 that should be handled as >> well (maybe with abs in that particular case?). > > As I get it, by the time wcwidth() is called there, all codepoints libc > is

Re: [dev] tax on internet?

2014-10-28 Thread stanio
* FRIGN 2014-10-28 16:10 > I know of the high poverty in Hungary. However, if you can't afford 3 > potatoes, why do you worry about an Internet tax? wait, wait, this is misconception. we are far beyond the point that internet connection is luxury good and you only need it after you've payed all th

Re: [dev] tax on internet?

2014-10-28 Thread FRIGN
On Tue, 28 Oct 2014 09:58:05 -0500 M Farkas-Dyck wrote: > The government is using tax to quash dissent or other behaviors it > dislikes. This is not a broad goods+services tax, this is a tax with a > target. What is the target? Jobbik? > So is PRISM; they already had ECHELON. What's your argume

Re: [dev] tax on internet?

2014-10-28 Thread M Farkas-Dyck
On 28/10/2014, FRIGN wrote: > How is this threatening freedom(tm)? The government is using tax to quash dissent or other behaviors it dislikes. This is not a broad goods+services tax, this is a tax with a target. > It's just an adaptation to modern times. So is PRISM; they already had ECHELON.

Re: [dev] [PATCH] Replace character with U+FFFD if wcwidth() is -1

2014-10-28 Thread FRIGN
On Tue, 28 Oct 2014 11:11:03 -0300 dequis wrote: > In practice, this only makes things worse by not displaying characters > that are perfectly supported by fontconfig and xft, but not by libc. > But... whatever. It's your own fault when you use the broken glibc. File a bug-report and wait for th

Re: [dev] [PATCH] Replace character with U+FFFD if wcwidth() is -1

2014-10-28 Thread dequis
On 28 October 2014 08:54, Dmitrij D. Czarkoff wrote: > Helpful when new Unicode codepoints are not recognized by libc. In practice, this only makes things worse by not displaying characters that are perfectly supported by fontconfig and xft, but not by libc. But... whatever.

Re: [dev] tax on internet?

2014-10-28 Thread FRIGN
On Tue, 28 Oct 2014 11:09:59 +0100 Alexandru Salajan wrote: > bit off topic... but serious threat for freedom How is this threatening freedom(tm)? It's just an adaptation to modern times. As the government used to put taxes on newspapers and entertainment, it will sooner or later reach those are

Re: [dev] surf rewrite for WebKit2GTK

2014-10-28 Thread M Farkas-Dyck
On 25/10/2014, Daniel Camolês wrote: > But when it comes to application > distribution. By application distribution I mean, when we want to > develop and maintain software in a central location and enable several > users with a generic client to use it. Distribute (source or intermediate) code ov

Re: [dev] [PATCH] Replace character with U+FFFD if wcwidth() is -1

2014-10-28 Thread Dmitrij D. Czarkoff
Silvan Jegen said: > I do agree that this is the right approach. There is however another > instance of a wcwidth call on line st.c:3443 that should be handled as > well (maybe with abs in that particular case?). As I get it, by the time wcwidth() is called there, all codepoints libc is unaware of

Re: [dev] [PATCH] Replace character with U+FFFD if wcwidth() is -1

2014-10-28 Thread Silvan Jegen
On Tue, Oct 28, 2014 at 12:54 PM, Dmitrij D. Czarkoff wrote: > Helpful when new Unicode codepoints are not recognized by libc. I do agree that this is the right approach. There is however another instance of a wcwidth call on line st.c:3443 that should be handled as well (maybe with abs in that p

[dev] [PATCH] Replace character with U+FFFD if wcwidth() is -1

2014-10-28 Thread Dmitrij D. Czarkoff
Helpful when new Unicode codepoints are not recognized by libc. --- st.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/st.c b/st.c index 23dd7f1..ad52280 100644 --- a/st.c +++ b/st.c @@ -2576,7 +2576,10 @@ tputc(char *c, int len) { unicodep = ascii = *c;

Re: [dev] tax on internet?

2014-10-28 Thread hiro
hahaha

[dev] tax on internet?

2014-10-28 Thread Alexandru Salajan
bit off topic... but serious threat for freedom https://www.google.com/search?tbm=nws&q=internet+tax+hungary&oq=internet+tax+hungary please spread