Re: [dev] Let's talk about Go, baby

2019-01-25 Thread Bobby Powers
It can/does? CGO_ENABLED=0 gives you statically linked binaries that don't reference or use libc at all. yours, Bobby

Re: [dev] Coding style: why /* */ and not //?

2018-12-26 Thread Bobby Powers
On Wed, Dec 26, 2018 at 10:44 AM wrote: > Preprocessor. I guess having 2 ways to define comments is not significant, > then better stick to one and the historical one. Better than one way is zero ways -- comments are not semantically significant, so rather than argue about which standards-defined

Re: [dev] Xorg implementations

2017-07-03 Thread Bobby Powers
Sylvain Bertrand wrote: > For c++ retards and sub-humans Delete your account.

Re: [dev] Interesting Web Browser Decoupling Concept

2017-06-12 Thread Bobby Powers
Rendov Norra wrote: > Yes, remote arbitrary code execution is already the norm. And if you > ask me, is precisely the reason Web browsers suck as much as they do. > Maybe it could be done well, but you'll have to forgive me, I've been > burned too many times. Fun fact, arbitrary code execution is

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Bobby Powers
it card processing for you, so that you don't have to deal with the hassles of securing and documenting your handling of credit card info. > Thanks for feedback I appreciate it. Of course, best of luck :) yours, Bobby

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Bobby Powers
on their own, and expect them to correctly (and without error) copy/paste the correct amount from the order confirmation into a bank transfer form. If you suggest writing a script to automate this: it is suck to suggest customers write software to uniquely interact with your web site. yours, Bobby

Re: [dev] Suckless e-comerce script proposal

2016-09-22 Thread Bobby Powers
't suck, even if that means you have some amount of (hidden to the user) internal implementation complexity. I don't care that YOUR life sucks less, I want you to help me make my life suck less. Besides, if you expect users to fill out an identical form for each item they want, and initiate a wire transfer on their own, you are going to go out of business. yours, Bobby

Re: [dev] "Note On Webkit Versions"

2016-05-02 Thread Bobby Powers
ou would expect to add seatbelts to C or assembly and not increase _eiter_ the language _or_ implementation complexity. yours, Bobby

Re: [dev] bluetooth without Python

2015-07-13 Thread Bobby Powers
package - that pulls in DBus + Glib. Not sure. My own limited experience is that bluez has an alright API for traditional bluetooth devices, but is sort of crap when it comes to Bluetooth LE. hope that helps. yours, Bobby

Re: [dev] [sbase] Anoncoreutils

2015-04-03 Thread Bobby Powers
or anything else you would like to point out about this tarball you're asking people to download and investigate? yours, Bobby

Re: [dev] Suckless web rendering engine

2015-02-15 Thread Bobby Powers
Marc Collin wrote: > Are there any plans for this? Have you tried Google Chrome?

Re: [dev] Project ideas: goblin

2014-11-25 Thread Bobby Powers
small size. I don't see any wins in rewriting these in Go. Go: https://github.com/bpowers/psm C: https://github.com/bpowers/psm2 yours, Bobby

Re: [dev] [sbase] style

2014-11-17 Thread Bobby Powers
7;s for cleanup when there is local state or allocations to roll back are a godsend - otherwise use an early return. Everything else I agree with well enough. yours, Bobby

Re: [dev] c++-style comments [was fsbm]

2014-11-06 Thread Bobby Powers
t of except and even though in that statement > Moreover, if you write multiline-comments and use {/*, */} while at the > same time using {//} for one-liners can really disrupt code consistency, > and in the end make code harder to maintain and augment. I happily concede this, and would have no trouble writing /**/ comments in suckless software. yours, Bobby

[dev] c++-style comments [was fsbm]

2014-11-06 Thread Bobby Powers
ike it is for compatibility when st and dwm require C99 anyway. An internet search did not turn up much, apologies if I've missed an obvious link or previous discussion. yours, Bobby

Re: [dev] reboot, arrow in the knee because of the GNU GPL???

2014-06-27 Thread Bobby Powers
Hello, Sylvain wrote: > As I was asked off-list, please, keep this thread shut down. I think these are appropriate: http://38.media.tumblr.com/tumblr_m51pu9IEYc1qzm5y8o14_r1_250.gif http://38.media.tumblr.com/tumblr_m51pu9IEYc1qzm5y8o1_250.gif yours, Bobby

Re: [dev] harfbuzz

2014-06-20 Thread Bobby Powers
ting my head > against a wall. This sounds interesting, but I couldn't find anything in the harfbuzz mailing list archives about a race condition. Do you have links to the email thread? yours, Bobby

[dev] suck-less XML parsing

2014-06-05 Thread Bobby Powers
. yours, Bobby

Re: [dev] What is bad with Python

2014-03-04 Thread Bobby Powers
Hello, Strake wrote: > * Member selection is in some cases cumbersome, in which it would not > be in C, which is related to ¬(variant types) Can you explain more what you mean? yours, Bobby

Re: [dev] [sbase] [patch] Add strlcpy()/strlcat() + refactor recurse()

2014-01-30 Thread Bobby Powers
Hi, sin wrote: > Please pull again from tip. It should work now. Almost. It compiles after applying the attached patch. yours, Bobby 0001-util-undef-strl-cat-cpy-in-their-.c-files.patch Description: Binary data

Re: [dev] [sbase] [patch] Add strlcpy()/strlcat() + refactor recurse()

2014-01-30 Thread Bobby Powers
Hello, sin wrote: > This is in preparation to moving tar(1) over to recurse() > instead of ftw(). On MacOS 10.9, strlcat and strncat are defined as macros, and adding them to sbase breaks the builds. I'm not sure what the easy/nice solution is. Error is below. yours Bobby ~~

Re: [dev] swc: A small Wayland compositor

2014-01-23 Thread Bobby Powers
th this in the next few days. yours, Bobby

Re: swc library to implement dwm under Wayland (was Re: [dev] gtk3 support for surf?)

2014-01-14 Thread Bobby Powers
nd wasting your time. How is this different from the tinyx project you mentioned? Ah, right, you like tinyx. yours, Bobby

Re: [dev] gtk3 support for surf?

2014-01-10 Thread Bobby Powers
Hello, Christoph Lohmann wrote: > Are there any arguments against switching to GTK3? Otherwise I will > switch surf to GTK3 using the smootscrolling patch. GTK3's Windows support is pretty new and not as well tested. yours in sarcasm, Bobby

Re: [dev][announce] Optimizing C compiler & c++ compiler/runtime

2013-12-20 Thread Bobby Powers
Hello, I'm surprised no one has mentioned the Plan 9 C compiler. There seems to be a copy here: https://code.google.com/p/ken-cc/ , it is also built as part of the Go build process. And I'm sure it is available elsewhere. Is there something glaring I am missing? yours, Bobby

Re: [dev] Optimizing C compiler & c++ compiler/runtime

2013-12-20 Thread Bobby Powers
Sylvain BERTRAND wrote: > Since its 4.8 version, gcc cannot bootstrap with a C > compiler/minimal runtime, it needs a c++ compiler and runtime. > Making gcc 4.7 series the last "clean" gcc. I think it is amusing that you think that gcc 4.7 is clean and good, because it is written in C. From my un

Re: [dev] alternatives to find for querying the filesystem

2013-12-12 Thread Bobby Powers
owers@fina ~]$ find --version | head -1 find (GNU findutils) 4.5.11 The find -regex is consistently about 10% faster. Not much, but also not > 2x slower like you see on OSX. yours, Bobby

Re: [dev][announce] slm - music curation

2013-12-02 Thread Bobby Powers
the file, so I'm really only checking for the magic numbers I need. yours, Bobby

Re: [dev][announce] slm - music curation

2013-11-29 Thread Bobby Powers
Hi, Chris Down wrote: > The file's magic number? Duh, of course. Why didn't I think of that... Implemented. I've also added an option for hardlinks, -h, and fixed a few small problems. yours, Bobby

Re: [dev][announce] slm - music curation

2013-11-28 Thread Bobby Powers
nd if a server gives you a HTTP header, but if it is a static file on disk, I don't think it is guaranteed to have a mime type as an xattr. Is there a standard way to store/determine mime type? yours, Bobby

Re: [dev][announce] slm - music curation

2013-11-28 Thread Bobby Powers
Hello! Roberto E. Vargas Caballero wrote: > why no a option for hardlinks? Initially because I didn't want to explain to people that the music directory and the farm/db directory had to be on the same partition. An option makes sense, but should it be compile time or runtime? yours, Bobby

Re: [dev][announce] slm - music curation

2013-11-28 Thread Bobby Powers
ture, so that personal patches that make additional DB directories are easier to carry. yours, Bobby

Re: [dev][announce] slm - music curation

2013-11-28 Thread Bobby Powers
g to look into albumartist, I find this bothersome too. Thanks, Bobby

[dev][announce] slm - music curation

2013-11-27 Thread Bobby Powers
DIR}/albums/The Album/1_The Title.mp3" -> $HOME/Music/somesong.mp3 Where FARM_DIR is defined in config.h. Comments on this approach & the code are very welcome: https://github.com/bpowers/slm yours, Bobby

Re: [dev] [slock] [patch] Set errno to 0 before getpwuid() and check it afterwards

2013-11-16 Thread Bobby Powers
Hello, sin wrote: > Just a small fix. Looks good to me. yours, Bobby

Re: [dev] Suckless remote shell?

2013-11-04 Thread Bobby Powers
o not wish unix userspace to be replaced with a unix userspace written in Go? yours, Bobby

Re: [dev] Some thoughts about XML

2013-10-24 Thread Bobby Powers
2013/10/24, Alexander S. : > Personally, I'm okay with XML, and feel like Archangel Uriel, may he > rest in peace, was slightly exaggerating. XSLT may be horrid, though, > and XML is maybe *too* verbose, but the idea of having a structure as > a building block is totally okay with me. There is expa

Re: [dev] Some thoughts about XML

2013-10-18 Thread Bobby Powers
On Fri, Oct 18, 2013 at 3:09 PM, Szymon Olewniczak wrote: > I've started this topic becouse I'm woriking in a small family firm and > we have decided that we need an new application to managing complaints, > documentation, and several other things of our clients (I don't want to > go into detail).

Re: [dev] music db editor

2013-10-16 Thread Bobby Powers
to give one, since I know where to find my > stuff... > > Also, where's the code? I'd be interested to try stuff out, especially 3 > figure > SLOC projects as it's tradition in this part of the net... I'm going to work on this later this week, I'll post something with hopefully minimal suck then. yours, Bobby

Re: [dev] I got a fever, and the only prescription ...

2013-10-16 Thread Bobby Powers
On Wed, Oct 16, 2013 at 5:41 AM, Nick wrote: > At the risk of being forever shunned, I actually quite like what I > hear about kdbus. It sounds like a *way* better way of doing what > the dbus people have done so awfully - and very much not just a > "throw it in the kernel 'cos that's faster appro

Re: [dev] music db editor

2013-10-12 Thread Bobby Powers
I started on a project a while ago that may be a helpful starting point. It is a daemon written in C that watches a directory with inotify ("~/Music" by default), tracks metadata about music files in a sqlite3 database, and responds to HTTP queries about artists and authors with JSON. It fits my

Re: [dev] [PATCH] st: Use ascent + descent for font height to avoid clipping underscores.

2013-03-10 Thread Bobby Powers
Thanks William, I will do that in the future. On Sun, Mar 10, 2013 at 4:52 PM, William Giokas <1007...@gmail.com> wrote: > On Sun, Mar 10, 2013 at 04:28:37PM -0400, Bobby Powers wrote: > > ha, sounds reasonable :) thanks Christoph! > > > > > > On Sun, M

Re: [dev] [PATCH] st: Use ascent + descent for font height to avoid clipping underscores.

2013-03-10 Thread Bobby Powers
ha, sounds reasonable :) thanks Christoph! On Sun, Mar 10, 2013 at 4:17 PM, Christoph Lohmann <2...@r-36.net> wrote: > Greetings. > > On Sun, 10 Mar 2013 21:17:38 +0100 Bobby Powers > wrote: > > Has an issue with st where the _'s were being overwritten when text o

[dev] [PATCH] st: Use ascent + descent for font height to avoid clipping underscores.

2013-03-10 Thread Bobby Powers
My preferred font: "Monospace:pixelsize=15:antialias=true:autohint=false:hintstyle=hintfull" Has an issue with st where the _'s were being overwritten when text on the next line was drawn. This didn't happen in gnome-terminal, which uses pango for its font rendering. Pango's Xft backend uses

Re: [dev] Re: [ANN] wmii 3.9.1 released

2010-06-08 Thread Bobby
On Jun 9, 2010 12:07 AM, "Suraj Kurapati" wrote: On Tue, Jun 8, 2010 at 10:49 AM, David Engster wrote: > wmiir read /event | a... What's the purpose of awk here? I see the same result both with and without awk in Arch Linux with awk = GNU Awk 3.1.8. # i=0; wmiir read /event | while read; do i=

Re: [dev] 10gui - interesting concepts

2009-10-21 Thread Bobby
ouchpad is removed. I would rather stick to dwm. On 10/21/09, Charlie Kester wrote: > On Thu 15 Oct 2009 at 13:03:15 PDT Bobby wrote: >>I misread your email as meaning he never used more than two fingers. >>You are correct, and I agree with your comments. In addition, I think >

Re: [dev] 10gui - interesting concepts

2009-10-15 Thread Bobby
, another new paradigm to learn, and no added benefits over existing tiling window managers. Cool idea, but lacks any serious application in my opinion. On 10/15/09, Jessta wrote: > On 16/10/2009, Bobby wrote: >> I believe that later in the video he does use three and four finger &g

Re: [dev] 10gui - interesting concepts

2009-10-15 Thread Bobby
I believe that later in the video he does use three and four finger gestures. On 10/15/09, Jessta wrote: > The interface supports the use of 10 fingers, and he talks about the > "bandwidth" of using 10 fingers as better than using a single mouse > pointer. > But then he goes on to only use anythi

Re: [dev] surf: web browser on archlinux

2009-07-03 Thread Bobby
I could see this very useful in web design. I would like to embed this in an Emacs buffer or window and then render a page on my local server. I could then make some simple Emacs-like shortcut wrappers so that I could refresh surf without switching windows. I could even implement some of the bookma