Re: [dev] [surf] unveil

2019-05-04 Thread Thomas Levine
Please send your port/patch. Maybe I will try it. On Sat, May 4, 2019, at 12:04, Thuban wrote: > Hi, > Is there any OpenBSD user who have already unveiled surf? > > I'm trying to, but I keep having an error about "Can't open display". > -- > thuban > >

Re: [dev] Open Source DIY ethics

2018-12-22 Thread Thomas Levine
I find the article and the subsequent comments from Jan and Sylvain to be very accurate. They have led me to remark that "do-it-yourself" describes my software interests better than "open source" or "free software" does. I am mostly interested in software that works as I want it to. Consequently,

Re: [dev] securiy guidance

2018-03-05 Thread Thomas Levine
Dashamir corrected some errors in my prior message. I have forwarded his corrections, as he is not on this mailing list. --- Forwarded Message Date:Tue, 06 Mar 2018 03:53:31 +0100 From:Dashamir Hoxha <dashoho...@gmail.com> To: Thomas Levine <_...@thomaslevine.com>

Re: [dev] securiy guidance

2018-03-05 Thread Thomas Levine
If you copy (vendor) an encryption/decryption algorithm into your source code, then you are relying on more than libc. So perhaps you could expand your dependencies to libraries with acceptable licensing or to libraries that are widely available. For example, OpenBSD 6.2 provides blowfish. Also,

Re: [dev] Writing subtitles for videos

2017-10-24 Thread Thomas Levine
WebVTT format is more complex than I would like and also not fully implemented on any browsers, as far as I can tell, so I use a small subset that is very simple. The following section is most of the parsing of my bespoke formats for timings and texts. It references lots of other functions in

Re: [dev] Writing subtitles for videos

2017-10-24 Thread Thomas Levine
I settled on the following mpv configuration. https://thomaslevine.com/scm/langrompiloj/artifact/6a086022d93af1a1 https://thomaslevine.com/scm/langrompiloj/artifact/161b62d352fec4f7 This produces a file like the one below, which I edit until the subtitles are acceptably timed. Each line marks the

Re: [dev] Writing subtitles for videos

2017-08-31 Thread Thomas Levine
As Felix pointed out (and I had not previously realized), the subtitles depend mostly on the audio, and the video can largely be ignored. I thus think it has relatively little to do with blind. I had looked at mpv and came upon the annoyingly close but still unhelpful watch-later feature. I

[dev] Writing subtitles for videos

2017-08-31 Thread Thomas Levine
I want to write some subtitles for some videos. I found several subtitle editors through web searches, and their documentation doesn't make them look very good. What's more, I haven't managed to install any of them properly, which is both inconvenient and further indicative of suck. I think that

[dev] Linking a directory tree of configuration files

2017-08-31 Thread Thomas Levine
Having trouble installing rcm on some computers, I came up with the following alternative a couple weeks ago. I have been pleased. https://thomaslevine.com/scm/lntree/ https://thomaslevine.com/scm/lntree/uv/lntree-0.1.tar.gz Here is an example of where I have used it to compose configurations.

Re: [dev] announcing edit-pipe

2017-08-27 Thread Thomas Levine
I suppose I could have just logged in to my HP-UX computer to confirm. So now I do that. It indeed has an incompatible version of mktemp that happens to be even worse than the option that I proposed; here is the relevant section of the man page. The name generated by mktemp is the concatenation

Re: [dev] announcing edit-pipe

2017-08-27 Thread Thomas Levine
> > * mktemp is not portable; you could use something like the date and > > process identifier ($$) to create a portable temporary file. > > (I am actually still curious as to whether there is a reasonable > > portable approach that is less sloppy than this.) > > I'm not sure the best way

Re: [dev] announcing edit-pipe

2017-08-27 Thread Thomas Levine
I had not been aware of vipe; thank you for sending this! Removing the perl dependency is worthwhile, even if it does not reduce RAM usage. (And I don't know what affects the RAM usage in this case.) Regarding the portability of your version, * mktemp is not portable; you could use something

Re: [dev] st, spurious character in paste?

2017-08-23 Thread Thomas Levine
And even if that isn't the issue, I think find your process to be faster if you bind a key in vim to "xclip -o". On Wed, Aug 23, 2017, at 06:04, David Phillips wrote: > Sounds to me like you are accidentally rolling your scroll wheel. > > Thanks > David >

Re: [dev] Cataloging of contacts

2016-12-24 Thread Thomas Levine
I wound up with this. https://pypi.python.org/pypi/bguo Each contact is a single file, like this one, http://src.thomaslevine.com/bguo/artifact/f24d0f9bdbf3f76e and they must all be in the same directory, like this one. http://src.thomaslevine.com/bguo/dir?ci=tip=example/orig.bguo This is the

[dev] Cataloging of contacts

2016-11-09 Thread Thomas Levine
I want to keep track of some information about people, and I have an idea of what I want the user interface to be like. Perhaps is there already something close to what I want? I want to record the following information about each contact. * Name * Phone number * Email address * Postal address

[dev] [ii] Reconnect

2016-10-13 Thread Thomas Levine
I start ii and chat for a while. Then I lose my internet connection for a few hours. What is a good way to have ii automatically connect when I get my internet connection back? I guess I have determine whether ii has disconnected and whether I now have an internet connection. I don't know how to

[dev] Simple shell with completion

2016-10-12 Thread Thomas Levine
For my login shell, I want a sh-compatible shell with the ability to specify complex completions. As far as I can tell, ksh only supports completions by command and filename. I want to do things like this, in tcsh. complete {folder,refile,scan,show,next,prev} \ 'C@+*@`folders -fast -recurse

Re: [dev] containers opinion

2016-09-23 Thread Thomas Levine
My personal view is that separate users are enough software separation for everything that I have ever wanted to do. Dunno about the party line though. On Fri, Sep 23, 2016, at 05:19 PM, stephen Turner wrote: > whats the suckless view of containers and why? what about a > containerized init

Re: [dev] Shell style guide

2016-09-06 Thread Thomas Levine
#!/usr/bin/env bash is necessary if you are using bash. But don't use bash. Here are some useful references on sh. http://pubs.opengroup.org/onlinepubs/9699919799/utilities/contents.html http://blackskyresearch.net/shelltables.txt http://blackskyresearch.net/try.sh.txt Adherence to standards and

[dev] Testing suckless programs

2016-04-28 Thread Thomas Levine
Hi, I originally came across suckless about six years ago when I was looking at IRC clients and thus discovered ii. Since then I have periodically updated myself on suckless happenings and have always held the software in high regard. But I had never thought to contribute anything because I have