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

Re: [dev] surf+tabbed and session management

2017-04-15 Thread Ben Woolley
Hi, I went a bit further. Each window/tab should be locked to an origin, and it should have an origin-private browser profile, and process isolation. I already produced a proof of concept using surf for webkit1, but webkit2 doesn't have the necessary navigation hooks in its API. https://github.co

Re: [dev] [announce] ff2sixel: view farbfeld images in terminal

2017-03-20 Thread Ben Woolley
Hi Alexander, > On Mar 20, 2017, at 5:01 PM, Alexander Krotov wrote: > > In my case I have a remote system with lots of data that I want to > explore interactively without copying it to my local machine. While > I can display numerical figures in my terminal, I can't display > plots. It is a l

Re: [dev] seif opinions?

2016-09-25 Thread Ben Woolley
> On Sep 25, 2016, at 9:29 AM, Nick Warne wrote: > > On Sun, 25 Sep 2016 09:23:11 -0700 > Louis Santillan wrote: > > >> infrastructure player (like a bank {PayPal}... > > Paypal isn't a bank. > It operates multiple banks. It depends on the legal definition of where it is operating. It eve

Re: [dev] containers opinion

2016-09-23 Thread Ben Woolley
> On Sep 23, 2016, at 12:18 PM, hiro <23h...@gmail.com> wrote: > > containers are there to emulate static linking or the common portable > windows programs in the form of a single .exe > > there is no security benefit of running more people's software on your > computer. > I am reminded of th

Re: [dev] suckless debugger?

2016-08-31 Thread Ben Woolley
> On Aug 31, 2016, at 3:07 PM, Ali H. Fardan wrote: > > u...@netbeisser.de wrote: >> do you know of a suckless linux debugger? what is an alternative to ptrace? > > I use throw a bunch of puts()s around the code to see when it crashes > (or misbehaves), and printf()s to print variables value wh

Re: [dev] s - suckless shell

2016-08-13 Thread Ben Woolley
> On Aug 13, 2016, at 9:26 AM, Wolfgang Corcoran-Mathe > wrote: > > Hi rain1, > > Quoth ra...@openmailbox.org: >> GNU Bash is 138227 lines of code. I wrote a simpler shell* in 800 lines: >> https://notabug.org/rain1/s/ >> >> *It is not a true POSIX shell. You can't run existing scripts with

Re: [dev] s - suckless shell

2016-08-13 Thread Ben Woolley
> On Aug 13, 2016, at 4:31 AM, Connor Lane Smith wrote: > > IO redirection being done by separate programs, though, seems like a > wrong decision. Streaming the data through a separate process is > considerably less efficient than just setting a file descriptor to an > open file, and not always

Re: [dev] s - suckless shell

2016-08-12 Thread Ben Woolley
> On Aug 12, 2016, at 2:41 PM, ra...@openmailbox.org wrote: > > Hello! > > GNU Bash is 138227 lines of code. I wrote a simpler shell* in 800 lines: > https://notabug.org/rain1/s/ > > *It is not a true POSIX shell. You can't run existing scripts with it. It's > technically just a command inte

Re: [dev] What do you guys think about competitive programming?

2016-08-12 Thread Ben Woolley
> On Aug 12, 2016, at 1:13 PM, Mattias Andrée wrote: > > On Fri, 12 Aug 2016 22:05:26 +0200 > Martin Kühne wrote: > >> On Fri, Aug 12, 2016 at 9:58 PM, Mattias Andrée >> wrote: >>> Programming contests can be fun, but it depends on the >>> competition, some barely have a focus on programming

Re: [dev][patch] Proper window type for dwm and dmenu

2016-07-24 Thread Ben Woolley
Don't be discouraged by the other replies. I have been caught off guard by a dmenu of my own use being a bit too subtle for me to notice, and a shadow would have made it more clear that a new object needs attention. Not sure why anyone would complain about a UI advancement that is both trivial a

Re: [dev] new pre-patched version of dwm available

2016-07-24 Thread Ben Woolley
I think Jan provided insight through experience. That is basically the opposite of stupid. > On Jul 24, 2016, at 2:09 PM, hiro <23h...@gmail.com> wrote: > > perhaps you want too many stupid things. >

Re: [dev] new pre-patched version of dwm available

2016-07-24 Thread Ben Woolley
I think it is natural for related changes to be consolidated over time. Think of punctuated equilibrium. Maybe after it is clear that some patches just go well together, fitting a related niche, they could be consolidated to make maintenance easier. > On Jul 24, 2016, at 12:51 PM, Jan Christo

Re: [dev] [scc] typeof is a gcc keyword

2016-07-05 Thread Ben Woolley
> On Jul 5, 2016, at 11:31 AM, Marc Collin wrote: > > I did some tests with 8cc (because it's easier to build than scc for me). > My results are that the binaries aren't identical. > Here's a script so you can try to reproduce it. > > #!/bin/sh > mkdir test_comp > cd test_comp > git clone http

Re: [dev] which versions are dwm patches intended to apply to cleanly?

2016-07-02 Thread Ben Woolley
> On Jul 2, 2016, at 1:40 PM, Eric Pruitt wrote: > >> On Sat, Jul 02, 2016 at 01:19:45PM -0700, Ben Woolley wrote: >> My main issue with having to search patches only is that it is far easier on >> a remote headless server to install git than a web browser, > >

Re: [dev] which versions are dwm patches intended to apply to cleanly?

2016-07-02 Thread Ben Woolley
r just use a web browser because one is server use and one is desktop/laptop use. Definitely want to keep the patch and tarball view of things for package managers, too. > On Jul 2, 2016, at 10:12 AM, Eric Pruitt wrote: > >> On Sat, Jul 02, 2016 at 09:13:05AM -0700, Ben Woolley

Re: [dev] which versions are dwm patches intended to apply to cleanly?

2016-07-02 Thread Ben Woolley
> On Jul 2, 2016, at 10:12 AM, Eric Pruitt wrote: > >> On Sat, Jul 02, 2016 at 09:13:05AM -0700, Ben Woolley wrote: >> For releases, you could expose patches for only the branches ahead of the >> release, and that might encourage authors to maintain their branch

Re: [dev] which versions are dwm patches intended to apply to cleanly?

2016-07-02 Thread Ben Woolley
> On Jul 1, 2016, at 8:39 PM, FRIGN wrote: > > On Fri, 1 Jul 2016 14:49:34 -0700 > Ben Woolley wrote: > > Hey Ben, > >> Late reply to this, but I favor the git branch approach as you suggest. >> It is already a dependency, so why not use it for its intended

Re: [dev] which versions are dwm patches intended to apply to cleanly?

2016-07-01 Thread Ben Woolley
Late reply to this, but I favor the git branch approach as you suggest. It is already a dependency, so why not use it for its intended purpose? The great thing about a branch is that it is easy to use the version the patch is for, and update as desired. The tools to manage the use cases around

Re: [dev] JIT & VM discussion

2016-06-18 Thread Ben Woolley
If you don't want to use Lua, what about doing something more like CGI? Then you can just call the configuration program with what you want a dynamic answer for. You could then have a simple awk script parse your config file and answer queries to the host program. I suggest this because I have

Re: [dev] pledge(2) patches

2016-06-05 Thread Ben Woolley
> On Jun 5, 2016, at 1:31 PM, FRIGN wrote: > > On Sun, 5 Jun 2016 13:11:15 -0700 > Ben Woolley wrote: > > Hey Ben, > >> Regarding #2, the usage stats of openbsd should be joined with the >> usage stats of st. I don't know the answer, but I am guessing

Re: [dev] pledge(2) patches

2016-06-05 Thread Ben Woolley
> On Jun 5, 2016, at 11:59 AM, FRIGN wrote: > > On Fri, 03 Jun 2016 19:46:18 +0200 > Christoph Lohmann <2...@r-36.net> wrote: > > Hey Christoph, > >> Adding sloc will never get you security. > > This is right in many cases, but for pledge(1) it makes sense, > however, there are 2 reasons why

Re: [dev] Different versions of suckless libutf

2016-06-01 Thread Ben Woolley
> On Jun 1, 2016, at 10:43 AM, Kamil Cholewiński wrote: > >> On Wed, 01 Jun 2016, Ben Woolley wrote: >> That is the reason why I am erring on the side of 5% this time. > > The 95% use case here is handling UTF8-encoded Unicode text. Secure by > default should be

Re: [dev] Different versions of suckless libutf

2016-06-01 Thread Ben Woolley
> On Jun 1, 2016, at 9:12 AM, Kamil Cholewiński wrote: > >> On Wed, 01 Jun 2016, Ben Woolley wrote: >> I see two things to do: >> 1. There could be a new name for the transformation that stands apart >> from UTF-8, which has now been changed from that original

Re: [dev] Different versions of suckless libutf

2016-06-01 Thread Ben Woolley
>> On Jun 1, 2016, at 1:51 AM, Connor Lane Smith wrote: >> >> On 1 June 2016 at 07:42, Ben Woolley wrote: >> I am pretty sure you are aware of this already, but the UTF-8 RFC >> defines Unicode quirks as part of the UTF-8 definition. Even the title >> is &q

Re: [dev] Different versions of suckless libutf

2016-05-31 Thread Ben Woolley
> On May 31, 2016, at 11:33 AM, Connor Lane Smith wrote: > >> On 31 May 2016 at 18:43, FRIGN wrote: >> as a quick note, the sbase libutf is probably the most feature-rich one. >> The version by cls suffers from multiple issues, even though it might >> be the most recent. > > Strictly speaking

Re: [dev] Re: Linux distros that don't suck too too much

2016-05-12 Thread Ben Woolley
> On May 12, 2016, at 10:36 PM, Anselm R Garbe wrote: > >> On 13 May 2016 at 01:31, Jason Young wrote: >> suckless is about *simplicity*. Simplicity != easy to use. Simplicity >> means, basically, there's fewer parts to break, and there *being* fewer >> parts, it's easier to see *where* it brea

Re: [dev] Re: Linux distros that don't suck too too much

2016-05-12 Thread Ben Woolley
The word "properly" presumes a purpose/end/effect. Billions of people use computers for their own purposes. If you are going to be making an argument about how people should be using their computers, you need to explain what purpose you are using, and why it doesn't satisfy the purpose. > On M

Re: [dev] "Note On Webkit Versions"

2016-04-29 Thread Ben Woolley
Sent from my iPhone > On Apr 29, 2016, at 4:24 PM, Sylvain BERTRAND > wrote: > > The main issue is java/ecma script on the "www DOM" (Document Object Model): > Between noscript www browser code requirements and script-able www browser > code > requirements, there is an abyss in size and comp

Re: [dev] "Note On Webkit Versions"

2016-04-29 Thread Ben Woolley
> On Apr 29, 2016, at 1:25 PM, Kamil Cholewiński wrote: > >> On Fri, 29 Apr 2016, Christoph Lohmann <2...@r-36.net> wrote: >> Greetings. >> >>> On Fri, 29 Apr 2016 17:58:08 +0200 Jochen Sprickerhof >>> wrote: >>> Hi, >>> >>> just saw this commit: >>> >>> http://git.suckless.org/sites/commit

Re: [dev] [stali] make install fails on kbd

2016-04-17 Thread Ben Woolley
Double check for rm commands. :) > On Apr 17, 2016, at 11:30 AM, Marc Collin wrote: > > Good idea? > for i in *; do sed -i 's/anselm/$USER/g' "$i"; done > > >> On Sun, Apr 17, 2016 at 2:12 PM, Mitt Green wrote: >> I also found hardcode references to Anselm's >> home folder in other Makefiles,

Re: [dev] svmidi - a simple virtual midi keyboard (WIP)

2016-04-06 Thread Ben Woolley
This is totally up my alley, but it could be a couple months before I could get to it. > On Apr 5, 2016, at 4:45 PM, Henrique N. Lengler > wrote: > > Hey, > > In my vacation I programmed a simple virtual midi keyboard, > as a alternative to programs like VMPK, wich only supports > ALSA, an

Re: [dev] another text user interface for sam

2016-03-03 Thread Ben Woolley
> On Mar 3, 2016, at 11:00 AM, k...@shike2.com wrote: > > >> Yeah, I'd really like to get rid of boost, and possibly migrate to a >> lighter regex lib. The problem is that no currently available libs match >> the required feature set: > > Write it. it is not so somplex to write a regex library.

Re: [dev] [ANNOUNCE] slock-1.3

2016-02-14 Thread Ben Woolley
Did somebody say Kickstarter? Sent from my iPhone > On Feb 14, 2016, at 12:59 PM, v4hn wrote: > > get yourself a wooden box and lock your > workstation in in when you leave the room

Re: [dev] [farbfeld] version 1 release

2016-01-06 Thread Ben Woolley
I know the proposal is "modest", but the timing can be represented in file names that are microseconds from start, with an optional dash followed by the microsecond to jump to (for looping). The main issue with this is that all file names would need to be read to project the effective time wit

Re: [dev] Font edition tooling

2015-12-24 Thread Ben Woolley
> On Dec 24, 2015, at 1:14 PM, mpu wrote: > > Ben Woolley wrote: >> I made two fonts from nothing in a couple hours [...] > > Cool! I found it pretty addictive too :). > >> Basically, what I am trying to do is make a font that >> is 7px high and 6px

Re: [dev] Font edition tooling

2015-12-23 Thread Ben Woolley
Sent from my iPhone > On Dec 23, 2015, at 1:03 PM, mpu wrote: > > quen...@c9x.me (mpu) wrote: >> Hi folks, >> >> I wrote some tools to design bitmap fonts. Maybe you'll >> be interested. >> >> http://github.com/mpu/fnt/ > > I feel bad that this whole discussion ended up being about > lega

Re: [dev] Font edition tooling

2015-12-22 Thread Ben Woolley
What licenses are the tools and the font? There doesn't seem to be a copyright statement or license anywhere. Maybe I am missing something obvious... Looks very interesting. I had an idea for a bitmap font yesterday, so it is perfect timing. I have some additional tools in mind, but I would like

Re: [dev] [surf] Firefox's tracking protection

2015-07-06 Thread Ben Woolley
Hi Pickfire, No, nothing like that. Surf's code is small and simple enough that even a novice C programmer could add such a feature. It is trivial to filter content in surf at the code level. 99% of it would be configuration. I encourage you to try to implement the feature. Surf is minimal enough

Re: [dev] [surf] [patch] 13 patches from my Universal Same-Origin Policy branch

2015-03-29 Thread Ben Woolley
Hi noname, On 3/29/15, non...@inventati.org wrote: > On Sun, Mar 29, 2015 at 09:58:42PM +0200, Markus Teich wrote: >> even then you are still in the anonymity set of „Hey look, that guy want's >> to be >> anonymous, let's focus our effort on him!“. > > Think again. Advertisers focus on people who

Re: [dev] [surf] [patch] 13 patches from my Universal Same-Origin Policy branch

2015-03-29 Thread Ben Woolley
Yes, Dmitrij, that is a fair point, but another fair point is this: if anyone has the ability to affect browser standards, it would be a browser vendor, even a small one. Consider the great effect that Opera has had on web standards. The smaller vendors are often the ones that lead on the more int

Re: [dev] [surf] [patch] 13 patches from my Universal Same-Origin Policy branch

2015-03-28 Thread Ben Woolley
Hi Markus, Thanks again for the reply. On 3/28/15, Markus Teich wrote: > Heyho Ben, > > tauto...@gmail.com wrote: >> That is a very good point. The reason why I wanted to try this approach >> is >> because, even with being in a very large anonymous set in HTTP headers, >> the IP >> address netwo

[dev] [surf] [patch] 13 patches from my Universal Same-Origin Policy branch

2015-03-24 Thread Ben Woolley
plement the origin comparisons and the random entropy are a bit sucky, but they are isolated, and can be improved by anyone. I just wanted to get something out the door there. Thank you for your valuable time, Ben Woolley 0001-Add-prompt-argument-to-SETPROP-for-dmenu-wizards.patch Description: Binary d

Re: [dev] surf vertical and horizontal same-origin policy patch (updated, with profiling mitigation)

2015-01-28 Thread Ben Woolley
re transparent approach. > > Thanks again for the feedback, > ‎ > Ben > Original Message > From: Christoph Lohmann > Sent: Friday, January 23, 2015 11:57 PM > To: dev mail list > Reply To: dev mail list > Subject: Re: [dev] surf vertical and horizontal same-origin policy pa

Re: [dev] surf alternatives for Adblock Plus, Privacy Badger, Self-Destructing Cookies, BetterPrivacy

2015-01-26 Thread Ben Woolley
Hi Greg, Please review my work with surf on origin isolation to satisfy the same-origin policy. It doesn't block ads, but it prevents tracking by storing all cookies and cache per first-party origin website. The latest patch also adds some noise to headers to interfere with browser profiling. It

Re: [dev] surf vertical and horizontal same-origin policy patch (updated, with profiling mitigation)

2015-01-23 Thread Ben Woolley
Hi all, I have attached an update. 1. It is against the latest master. 2. It includes an originprompt.html and an originprompt-nojs.html that works properly when javascript is disabled. 3. The Web Storage database has been moved into the per-origin folder, even though it is probably already compl

[dev] surf trivial bugs patch

2015-01-07 Thread Ben Woolley
Just a couple minor things I found while working on other things. The geolocation state was being lost on new windows. There was a newline being passed in the embed argument, but it didn't seem to break anything. From b52d38fbb70425d59126a8bd64db42be1eb9ace4 Mon Sep 17 00:00:00 2001 From

[dev] surf vertical and horizontal same-origin policy patch

2015-01-07 Thread Ben Woolley
nd hopefully the community can work toward a standard *without* the tracking loopholes, by showing people what a *complete* solution looks like. Thank you, Ben Woolley From 0dbf5e54fc4b7e720564cca07868840c8b4ecdb8 Mon Sep 17 00:00:00 2001 From: Ben Woolley Date: Wed, 7 Jan 2015 17:01:32 -0800 Subjec

[dev] disk cache patch

2015-01-07 Thread Ben Woolley
e sessions. Thanks, Ben From 99b2620525722c687e7bb45b679053908419a46e Mon Sep 17 00:00:00 2001 From: Ben Woolley Date: Wed, 7 Jan 2015 14:37:59 -0800 Subject: [PATCH] support for disk cache --- config.def.h | 3 +++ surf.c | 30 +- 2 files changed, 32 insertions(+

[dev] security issue running surf from home folder

2015-01-07 Thread Ben Woolley
has fixed the one case I ran into. I grouped these patches together because they all relate to issues with the download mechanism. Other, unrelated patches are coming. Thank you, Ben From 5a0eccaf232a5123a56f2425fd9abb2699b3b77e Mon Sep 17 00:00:00 2001 From: Ben Woolley Date: Wed, 7 Jan 2015