NRK wrote:
> I won't comment on the other languages mentioned because my view on
> nearly all of them is negative. But most of my "safety and ease of use"
> with C I've been able to solve by just building better "primitives"
> instead of changing language - which comes with significant cost such
Greg,
thanks. i've looked at Lua, but not much.
but, i do very much like Javascript (in spite of the name) + typescript
(in spite of the lineage).
if you know those two, i'd find a two cents/sentence thumbs up/down
interesting.
cheers, Greg
Greg Reagle wrote:
> This took me a long time to do. I made any key that has a function in
> less that is also available in w3m have the same key in w3m (2nd
> paragraph), with a few exceptions, that are in my 1st paragraph. I am
> posting this here for feedback, suggestions, improvements,
Greg,
thanks for this!
for some personal tastes/usage cases, this, using pandoc's `-t`
option, might be minor-ly simpler:
man --local-file --pager 'less -ir' \
<(pandoc --standalone -t man \
2015.31233.Arab-Geographers-Knowledge-Of-Southern-India.epub) |
less
and,
:)
+1 on undo. (but, i'm an emacs user, not likely to ever be part of your
customer base... :)
> I meant `ntohs`... and this further proves your point.
> Thank you for your insight & for the article.
+1 !
40+ years ago (working on the Illiac-IV!), i blew up at a co-worker,
accused him of being a thief, etc. i was livid.
my boss, whom i respected a lot, called me in and basically said, "You
don't have to like so-and-so. But, here at work, I expect you to treat
him with respect."
i changed my
[other] Greg,
sorry, this is maybe too philosophical. but, reading your thoughts,
what strikes me is, from the 1980s/90s (by [another] Greg[or] Kiczales)
a model of things (software modules, say, or programs, or computing
systems), where each "thing" has two sorts of interfaces: a *using*
Hiltjo,
looks nice.
here's my mini-effort; the jsonifycsv bit.
https://sr.ht/~minshall/csvedepli/
at the least, i should cross-advertise.
cheers, Greg
Tom,
> The main "problem" here is that ranlib(1) isn't a standardized tool, so there
> is no guarantee on what its behaviour will be or whether it exists at all.
> We assume it's there because it always has been or GNU and LLVM include it.
an option might be to wait until the bug report comes in
Robert,
i wonder if this SO exchange might be familiar:
https://unix.stackexchange.com/questions/368803/bash-seems-to-be-in-special-mode
i just ran into something similar, where typing into the shell gave odd
characters (or, the "(arg: 1)" prompt). in this case, for *me*, (*)
Robert,
i know you found a way of fixing your problem. but, actually, when you
say "UTF-8 doesn't work", what does that mean? what symptoms were you
seeing? (i don't think i saw it described in the e-mail exchanges.)
cheers, Greg
Greg and N, thanks. in fact, adding focusonclick, i no longer see the
problem (well, so far, but long enough to make me think it is resolved).
cheers, Greg
Quentin,
> Command: 9#4
> This goes to column 5 of line 10, in vis.
and, for some reason, "normal" people think "we" are strange... :)
hi. i'm using dwm v6.2 under Arch linux. my own source build. i'm
using the "taggrid" patch. my laptop has a touch pad.
when i am in monocle mode (which i mostly am), every now and then when i
type a key, i end up in a situation where the application hasn't changed
(i.e., is what is showing
Ismael,
> A simple way to deal with the problem is to make an extra commit
> (outside the main branch) per release to hold these files and tag it
> as the release, that makes it trivial for websites like github to make
> proper release tarballs.
ah. thanks!
cheers, Greg
Ismael,
> These errors mean the named auxiliary build scripts (needed for
> portability) are not present and must be provided...
thank you for your explanation. i have wondered.
> Technically, it's wrong to ask users to run autoreconf, projects must
> provide release tarballs with the
Michael,
> You might like se[1]. It's a screen-oriented version of ed. It can be
> helpful for certain editing tasks where visual feedback is wanted.
> ...
> 1: https://github.com/screen-editor/se/
very nice. thanks for the pointer!
cheers, Greg
i think it was a Rob Pike paper, maybe Usenix, probably in the 1990s.
the idea, iirc, is that you can always pipe the output of cat(1) into
od(1), or into any other program you wanted, so keep cat simple. good
paper (but, sometimes i do `cat -v`).
Martin,
there is much wisdom in what you write. and, the text you cited (i
summarize as "write once, throw it away; write it again another day") is
also very powerful. the problem, ultimately, is understanding what the
problem to be solved actually is, wrestling with that problem until you
caóc,
> Yes, sir, and I think it was GNU who came up with this (see getopt(3) of
> glibc). Guideline 10 of the Utility Conventions[0] states that "--"
> marks the end of options.
>
> [0]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html
yeah, i think gnu came up with,
Cág,
> Slightly off-topic and moderately unpopular: find(1) doesn't quite well
> fit into the Unix userland. It starts with the syntax: multiletter
> options (POSIX calls them operands though), the $program $option(s)
> $file(s) order (compare the find's "do where what" vs natural -- like
>
i agree. just run windows.
Laslo,
thank you very much.
> I'm just glad that I, as a numerical mathematician, don't have to use
> MATLAB anymore. I initiated and finalized that the current lecture on
> numerical mathematics here in Cologne, which I co-supervise, is using
> Julia for the first time (instead of MATLAB), and
Anders Damsgaard,
> However, I would *never* consider Julia a viable alternative to C/FORTRAN
> tasks, including numerical simulations and massively parallel deployment
> on HPC systems.
i'm ignorant, but curious. a friend who does high performance computing
is a fan of Julia, and in the past
fwiw, i think Ada sat (sits) on the "Pascal" side of the "C | Pascal"
divide.
that probably explains a lot of the subsequent history of who used it,
who didn't, etc.
just for completeness, below is a bash script that uses lsw recursively
to walk the tree. it's a bit overkill (feeling guilty for having missed
the hackathon?). "once a Fortran programmer..."
#!/usr/bin/env bash
# this script walks the tree of known X windows on the system and
# prints out
s...@mailless.org wrote:
> or use lsw for a specific window:
>
> lsw | grep "some webpage title" | cut -f1 -d' ' | xargs xprop -id | grep PID
ah, thanks.
btw, i ran into a bug in, i assume, lsw.
bash minshall-apollo: {1339} lsw 0x164
Segmentation fault (core dumped)
at the time,
oes anyone know why that is?
cheers, Greg Minshall
hi. i had to make the below change to allow C-+ (which, on my
keyboard, at least, requires a shift) to zoom. (seems like this
*shouldn't* be needed, but...)
cheers, Greg
diff --git a/config.def.h b/config.def.h
index fec6916..d0c6b7c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -133,6
hi. i tend to live in a clipboard'y world (emacs 25, etc.). it's nice
for me, but i have the problem that surf's C-y copies to the primary
selection rather than the clipboard and so i always have to stand on my
head to get it in the clipboard. (i don't use a mouse for pasting.)
here is a patch
hi, all. thanks again for dwm, surf, both of which i use a lot.
i had a few newbie questions.
1. when people make changes to their, e.g., config.def.h, how do they
deal with that w.r.t. git (branches, etc.)? i'd like to be able to use
git to track, but integrate my changes (without the danger
Alexander Krotov wrote:
> suckless wiki is a git repository
> Also https://github.com/jceb/dwm-clean-patches
cool -- thanks!
hi. sorry if this is a FAQ. (though i've been following the list a
while, so, if so, it isn't *that* F of AQ.)
i would find it convenient if all the patches for, e.g., dwm, and/or
files, for surf, say, were in a git repository (either for dwm,
respectively surf, says).
would that make sense?
Hadrien,
> Gentoo is indeed your best bet. Portage is pretty complex, though. Then you
> have the old school distros like Crux/Sourcemage, but they're less active.
> Really, USE flags are amazing.
thanks. i'll give it a try.
cheers, Greg
Cág,
> Okay, try re-installing webkit, both -dev and
> the package. I'm not really sure what's the
> problem.
no change, sigh. i guess i'll just leave this "open" for the time
being.
> By the way, if you are an ex-BSD user, you may
> want to try Alpine[1]. Stripped; elegant package
>
hi, Hiro,
sorry for some cluelessness on my part (i'm really an ex-BSD guy, so
part of my problem is not having any clue about linux; also, i'm a
gray-haired guy, so even multi-threading is sort of "after my time").
if you've patience, a few follow up questions:
> reinstall your system (yes,
remaining unknowns.)
cheers, Greg Minshall
# surf version
VERSION = 0.7
# Customize below to fit your system
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
GTKINC = `pkg-config --cflags gtk+-2.0 webkit-1.0`
GTKLIB = `pkg-config -
Hiro, thanks for the reply.
> try compiling your system without dbus.
> then, add a gdb backtrace.
i'm not sure how to interpret the first line. if it means compile Linux
without dbus, i'm afraid i don't know how to do that. (but, with hints
and some time, could possibly figure it out; i'm
.
cheers, Greg Minshall
bash minshall-apollo: {998} surf bit.ly/MoesE-Books
** (surf:19102): WARNING **: Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
provided by any .service files
(surf:19102): Gdk-CRITICAL
Joshua, Carlos,
thanks very much.
> If you hover your mouse on a link, it sets the window title to the link
> target. If you use dwm it shows right on the top of your screen.
ah. make sense. otoh, i use ratpoison, which doesn't typically show
the window title.
> You can look for patches
expertly, but some sort of add-on to allow this (these)
didn't pop out at me. did i miss something? if not, how hard would it
be to add?
cheers, Greg Minshall
ps -- if it matters, i'm running on Lubuntu.
43 matches
Mail list logo