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.

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

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

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

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

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

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

Re: [dev] s - suckless shell

2016-08-13 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

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

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

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

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

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 <eric.pru...@gmail.com> wrote: > >> On Sat, Jul 02, 2016 at 0

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 <eric.pru...@gmail.com> 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 auth

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 <d...@frign.de> wrote: > > On Fri, 1 Jul 2016 14:49:34 -0700 > Ben Woolley <tauto...@gmail.com> wrote: > > Hey Ben, > >> Late reply to this, but I favor the git branch approach as you suggest. >> It is al

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

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

Re: [dev] Different versions of suckless libutf

2016-06-01 Thread Ben Woolley
> On Jun 1, 2016, at 10:43 AM, Kamil Cholewiński <harry6...@gmail.com> wrote: > >> On Wed, 01 Jun 2016, Ben Woolley <tauto...@gmail.com> wrote: >> That is the reason why I am erring on the side of 5% this time. > > The 95% use case here is handli

Re: [dev] Different versions of suckless libutf

2016-06-01 Thread Ben Woolley
> On Jun 1, 2016, at 9:12 AM, Kamil Cholewiński <harry6...@gmail.com> wrote: > >> On Wed, 01 Jun 2016, Ben Woolley <tauto...@gmail.com> wrote: >> I see two things to do: >> 1. There could be a new name for the transformation that stands apart >> f

Re: [dev] Different versions of suckless libutf

2016-06-01 Thread Ben Woolley
>> On Jun 1, 2016, at 1:51 AM, Connor Lane Smith <c...@lubutu.com> wrote: >> >> On 1 June 2016 at 07:42, Ben Woolley <tauto...@gmail.com> wrote: >> I am pretty sure you are aware of this already, but the UTF-8 RFC >> defines Unicode quirks as pa

Re: [dev] Different versions of suckless libutf

2016-06-01 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

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

2016-05-13 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 >>

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

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

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

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

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,

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

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

Re: [dev] Font edition tooling

2015-12-24 Thread Ben Woolley
> On Dec 24, 2015, at 1:14 PM, mpu <quen...@c9x.me> wrote: > > Ben Woolley <tauto...@gmail.com> 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 ma

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

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

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 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

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 markus.te...@stusta.mhn.de 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

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

2015-03-24 Thread Ben Woolley
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 data 0002-Wizard-style-download-prompt.patch

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

2015-01-28 Thread Ben Woolley
, with profiling mitigation) Greetings. On Sat, 24 Jan 2015 08:49:50 +0100 Ben Woolley tauto...@gmail.com wrote: Hi all, I have attached an update. Thanks for your hard work. I appreciate it. I read some papers on the profiling issue, and most seem to say that lowering the diversity is the key

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

[dev] disk cache patch

2015-01-07 Thread Ben Woolley
99b2620525722c687e7bb45b679053908419a46e Mon Sep 17 00:00:00 2001 From: Ben Woolley tauto...@gmail.com 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(+), 1 deletion(-) diff --git

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

2015-01-07 Thread Ben Woolley
people what a *complete* solution looks like. Thank you, Ben Woolley From 0dbf5e54fc4b7e720564cca07868840c8b4ecdb8 Mon Sep 17 00:00:00 2001 From: Ben Woolley tauto...@gmail.com Date: Wed, 7 Jan 2015 17:01:32 -0800 Subject: [PATCH 5/5] same-origin policy --- config.def.h | 6

[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: Ben

[dev] security issue running surf from home folder

2015-01-07 Thread Ben Woolley
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 tauto...@gmail.com Date: Wed, 7 Jan 2015 10:13:26 -0800 Subject: [PATCH] Add