On 4/20/21, Miles Rout wrote:
> We'd all be better off if we focused our efforts on tools to make C
> programming better. I was thinking today about how useful it would be
> to have a way to indicate that a particular variable shouldn't be able
> to impact the running time of a function for cryp
http://lmgtfy.com/?q=free+Git+hosting
On 7/22/16, Daniel V wrote:
> 2016-07-22 22:20 GMT+02:00, lukáš Hozda :
>> I am not much of a fan of VM-based languages, but sure, there is the
>> interest,
>> but let me quote Linus Torvalds:
>>
>> "Talk is cheap, show me the code"
>>
>> I can't say for sure
On 12/5/14, Brandon Mulcahy wrote:
> On Fri, Dec 05, 2014 at 10:39:49PM +, Dimitris Papastamos wrote:
>> On Fri, Dec 05, 2014 at 02:18:03PM -0800, Robert Ransom wrote:
>> > On 12/5/14, Brandon Mulcahy wrote:
>> > > -It does not handle non-ASCII UTF-8 runes
>&
, not the number of
character cells that will be used to display it on a terminal.
Robert Ransom
tatham/putty/>) uses a
small-degree B-tree (see tree234.[hc]).
Tweak (by the same author;
<http://www.chiark.greenend.org.uk/~sgtatham/tweak/>) uses a
larger-degree B-tree, with the added feature that it counts the number
of bytes under each node.
Robert Ransom
0m7.313s
> sys 0m0.579s
>
> calvin@ecoli:~/big_folder> time dc 2v1
> 687560
>
> real 0m0.138s
> user 0m0.055s
> sys 0m0.082s
>
> calvin@ecoli:~/big_folder> time ls 2v1 | wc -l
> 687560
>
> real 0m7.672s
> user 0m7.310s
> sys 0m0.580s
Um. How often are you going to use this new C program which saves
only 7.5 seconds?
Robert Ransom
ose programs would be in a library routine.
Robert Ransom
ch allows external
> differently-licensed software to be swept into sbase. It is clean code,
> which is a large part of why I am considering it.
Why not use the public-domain MD5 implementation from libtomcrypt?
Robert Ransom
et a programming language specifically
designed to process text files, especially those which contain
Unix-style tabular data formats.
On the other hand, ls is an ugly mess.
Robert Ransom
On 3/30/13, Calvin Morrison wrote:
> On 30 March 2013 22:30, Robert Ransom wrote:
>> On 3/30/13, Calvin Morrison wrote:
>>> What do you guys think of the tool? Of the code? It does one thing and
>>> one thing well.
>>
>> Or perhaps you're just learn
text
>> file.
>
> I didn't feel very good about this either.
>
> Is there a better way to read a whole line? fgets requires a length
> argument, so I suppose it's not a very good solution
getline or getdelim if you have a reasonably modern system. (Yes, GNU
introduced it, but it's useful.)
Robert Ransom
; which processes 'text
files' as specified by POSIX, your fgets buffer needs to be at least
LINE_MAX+1 bytes long to accommodate a trailing NUL.
* If LINE_MAX is large enough to be reasonable, you probably shouldn't
allocate LINE_MAX bytes on the stack. Use a heap-allocated buffer or
a static buffer.
Robert Ransom
On 3/30/13, Calvin Morrison wrote:
> Comrades,
>
> I just spend about fifteen minutes writing this little tool that I call
> print:
#!/bin/sh
sed -ne "$2"p "$1"
planning to (a) have a large enough number
of crasher bugs that they can use data-mining techniques to study
their crash reports, and (b) send all of those crash reports to a
central location where they can all be spied on at once?
Robert Ransom
ibrary modules every time it is
started.
Robert Ransom
e http://suckless.org/wiki ).
Robert Ransom
On 8/14/12, Kurt H Maier wrote:
> More distros
> should focus on using init to bring up the system and then leave
> userspace daemons to daemontools or such.
Does Plan 9 need a service supervision service (like daemontools on Unixoids)?
If it does need one, what should it look like?
complicated to work out from the function names, but it's still nice
> to have around.
You could try the Plan 9 man pages on http://man.cat-v.org/ .
Robert Ransom
http://hg.suckless.org/2wm ?
Robert Ransom
to apply the fix anyway, but thanks for replying -- I
> couldn't remember discussing such bug on the list.
I never noticed the patch on the list, but I remember hearing about
the issue on IRC.
Robert Ransom
nt distribution and xkb options here:
> with -layout "us,bg", with -layout "de,bg", -layout "us,de". Same
> behaviour. Never run myself into this before, because I hardly use
> mouse to switch tags.
This is a long-known bug, and a patch to fix it is somewhere in this
mailing list's archives. What versions of dwm are you using?
Robert Ransom
ng with Haskell?
Andrew Hills appears to be joking. dwm and dmenu certainly will not
be removed from suckless.org; st doesn't seem to be headed away from
there.
If you want to customize your window manager, choose whichever WM is
easier for you to modify. I preferred xmonad until my Haskell system
started breaking.
Robert Ransom
shouldn't be
> crammed into dwm.
Perhaps you missed the exponential blowup he suggested.
I would think you'ld *like* setting _NET_NUMBER_OF_DESKTOPS to 2^10 by
default. Most pagers should explode quite spectacularly with that
many virtual desktops.
Robert Ransom
com/
>
> Thanks! I didn't know this. I'll destroy my mirrors accordingly.
Don't! Git mirrors are useful.
Robert Ransom
signature.asc
Description: PGP signature
d to define higher level stuff
> using this approach. So the basic thing is a monospaced matrix. This
> could also be used for a terminal and of course editor...
That library already exists -- it's called ‘pdcurses’. We don't need
more curses.
Robert Ransom
mend? How'd you do it?
http://catb.org/~esr/writings/taoup/html/ch05s02.html#id2901882
Robert Ransom
signature.asc
Description: PGP signature
‘flag’ is to tell the program to not interpret
following arguments as options.
Robert Ransom
signature.asc
Description: PGP signature
number in the font table in gbdfed, but that do not
> work, so I'm asking now if I am wrong with syntax, how do I point to these
> icons that I created?
You probably won't be able to display character 0, because most C
programs use that to indicate the end of a string.
Robert Ransom
signature.asc
Description: PGP signature
.4 gmp-5.0.1
^^
Good thing, too -- that distribution is a little too minimal to be
useful without a compiler.
Robert Ransom
signature.asc
Description: PGP signature
0
> > >done &
> > >exec dwm
> >
> > This is even nicer as the original instance of .xsession is not kept
> > running.
>
> I don't understand how the while loop terminates then when dwm terminates.
xsetroot fails (and returns a non-zero exit code) when the X server
terminates or becomes inaccessible.
Robert Ransom
signature.asc
Description: PGP signature
t USE flags. I don't enjoy building packages quite that
much.
USE flags make Gentoo's package system so complex that you need CML2
(<http://catb.org/~esr/cml2/>) to build a system with it.
Unfortunately, emerge doesn't seem to come with CML2.
Robert Ransom
signature.asc
Description: PGP signature
On Sat, 5 Feb 2011 13:45:07 +0100
Szabolcs Nagy wrote:
> * Robert Ransom [2011-02-04 18:56:48 -0800]:
> > > -> GET /key#hash-of-data HTTP/1.0\r\n\r\n
> > > <- [waiting..]
> >
> > The server will never see the fragment identifier (the "#"
<http://freehaven.net/anonbib/#minion-design>,
<http://freehaven.net/anonbib/#DBLP:conf/sp/DanezisG09>, and
<http://freehaven.net/anonbib/#DiazThesis05> *at a minimum* before you
try this).
Robert Ransom
signature.asc
Description: PGP signature
think su is any better than sudo.
sudo has the advantage over su that, if you learn how to configure it
properly, you can allow certain users to run certain commands without
typing the root password.
Robert Ransom
signature.asc
Description: PGP signature
ess others need
> it now.
Congratulations! Now you have AIX *and* panes.
Robert Ransom
signature.asc
Description: PGP signature
vate
/MPlayer/ floating=on
/^ROX-Filer:/ group=0
/^chromium:/ group=0
/:Namoroka$/ group=0
/^pcmanfm:/ group=0
/^gnome-terminal:/ group=0
$
Robert Ransom
signature.asc
Description: PGP signature
On Sat, 09 Oct 2010 21:35:55 -0700
Wolf Tivy wrote:
> Ok, it works if I make the port 6667, which is also not in my /etc/services.
> Should port just be 6667 instead of mucking around with symbolic port
> resolution?
Yes.
Robert Ransom
signature.asc
Description: PGP signature
FILE NEW-FILE >PATCH-FILE
Plan 9:
$ diff -c OLD-FILE NEW-FILE >PATCH-FILE
But you should probably use Mercurial to download dwm, and record your
changes as either Mercurial commits or Mercurial Queues patches. See
<http://hgbook.red-bean.com/>.
Robert Ransom
signature.asc
Description: PGP signature
On Wed, 25 Aug 2010 22:31:58 -0400
Josh Rickmar wrote:
> Where can I get
> the dmc source again?
See <http://suckless.org/other_projects>.
Robert Ransom
signature.asc
Description: PGP signature
On Wed, 25 Aug 2010 16:35:12 +0200
pancake wrote:
> why not 'ns'? is there any other program with this name?
<http://man.cat-v.org/plan_9/1/ns>
Robert Ransom
signature.asc
Description: PGP signature
On Wed, 25 Aug 2010 03:20:55 +0400
anonymous wrote:
> In C variables can only be created in the start of block ({}
> brackets). You sometimes declare new variables anywhere like in C++.
C99 allows this.
Robert Ransom
signature.asc
Description: PGP signature
On Tue, 24 Aug 2010 20:01:10 +0400
anonymous wrote:
> Looks like it is BSD licensed but uses tdb that is GPLv3 licensed. Is
> it ok?
The ‘tdb’ library is actually LGPLed.
Robert Ransom
signature.asc
Description: PGP signature
eady been done.
<http://ftp.scsh.net/pub/scsh/contrib/markup/markup.tar.gz>
Robert Ransom
signature.asc
Description: PGP signature
AGES WHATSOEVER RESULTING
> FROM LOSS OF USE, DATA OR PROFITS …”
Hey, I didn't see *that* when I joined the list!
Robert Ransom
signature.asc
Description: PGP signature
# pacman -S moreutils
$ grep -ve 'foo.*bar' ~/.flo |sponge ~/.flo
Perhaps you need a filter-by-date-range tool.
Robert Ransom
signature.asc
Description: PGP signature
D numbers on its own.
I would prefer to see ID numbers generated by pulling enough bytes out
of /dev/urandom (10 bytes? 20? probably not more) and converting them
to base32. UUIDs are unnecessarily verbose, and depending on how they
are generated, they can leak information about the physical com
getent services irc
irc 194/tcp
Apparently 6667 is not an IANA-blessed port for IRC; thus, it is not in
the /etc/services file Arch uses.
Robert Ransom
signature.asc
Description: PGP signature
; drop the number of seconds from flo’s output, since it will always be
> 00.
Definitely. If you know you won't need a component of the format, drop
it before someone starts using it and relying on its presence.
Robert Ransom
signature.asc
Description: PGP signature
7;t.
Dan Bernstein hates BIND, too. Use the DJB license: "Public domain"
Robert Ransom
signature.asc
Description: PGP signature
Daylight Savings Time’, it might be useful to
display the timezone abbreviation along with the numerical timezone.
In regions that have ‘Summer Time’, that won't help anyone.
Robert Ransom
signature.asc
Description: PGP signature
601-derived format is
-MM-DDThh:mm:ss.f-tz:tz:tz.f (I don't think they actually
allowed seconds or fractional seconds in timezones, but some old
European timezone needs them (possibly in Finland?)).
Robert Ransom
signature.asc
Description: PGP signature
-- Andrew S. Tanenbaum
Robert Ransom
signature.asc
Description: PGP signature
event.
s/i\.e\./e.g./
<http://en.wikipedia.org/wiki/List_of_Latin_abbreviations>
Robert Ransom
signature.asc
Description: PGP signature
of the string. The time it takes to load the contents of the file
> > does not contribute significantly to this increase.
>
> You don't make sense. The second test performs the match two
> orders of magnitude more times, so it should be two orders of
> magnitude slower. It
a larger
system down.
Let's start another flame war:
I think pacman (the Arch Linux package manager) is too simple to manage
packages well. Seriously.
Robert Ransom
signature.asc
Description: PGP signature
ied pure coding.
> Sounds almost like Kant xD
*** *** *!
> >> I like Mozart and Minimalism just as much as I like Dadaism or free
> >> Jazz, even if they have different forms and subjective functions.
> > I hope you aren't suggesting that Mozart *is* minimal
to it from <http://cat-v.org/>). It
runs on Windows and Linux now, and it *will* run on sta.li someday.
Robert Ransom
signature.asc
Description: PGP signature
ve different forms and subjective functions.
I hope you aren't suggesting that Mozart *is* minimalist.
Robert Ransom
signature.asc
Description: PGP signature
orry for wasting your time. ;)
Indeed.
> (This is very philosophical for a software development mailing list.)
I thought this mailing list was *about* the philosophy of software
development.
Robert Ransom
signature.asc
Description: PGP signature
Arch wiki. It also forces users to read and
edit a few configuration files during the installation process; this is
actually a good thing, because when something breaks, you will have a
better idea of what needs to be fixed. You may want to practice in a
VM (try VirtualBox <http://virtualbox.org/> if you don't already have
one for Windows).
Robert Ransom
signature.asc
Description: PGP signature
On Sat, 7 Aug 2010 17:23:13 +0100
StephenB wrote:
> Just to make clear, this patch is an updated version of the one here:
> http://tools.suckless.org/dmenu/patches/xmms-like_pattern_matching
http://suckless.org/wiki/
Robert Ransom
signature.asc
Description: PGP signature
ter. Computing the hash function over
each N-character substring is tolerably efficient because they use a
polynomial hash function (almost, but not exactly like Mr. Todd's
example) in which one can quickly compute h(d[m:n]) from d[m], d[n],
and h(d[m-1:n-1]).)
Robert Ransom
signature.asc
Description: PGP signature
folks had needed to patch /etc/nanorc
to make it stop mangling long lines. Apparently not...
Robert Ransom
signature.asc
Description: PGP signature
On Tue, 03 Aug 2010 00:20:39 -0700
Wolf Tivy wrote:
> Excuse me while I also remove indentation from my my code.
> Would you indent your prose?
http://google.com/search?q=sense-lining
Robert Ransom
signature.asc
Description: PGP signature
7;t think it
would be useful: the ‘dup device’ (/dev/fd/#) and /proc need to be
integrated with whatever takes the place of the OS kernel.
Robert Ransom
signature.asc
Description: PGP signature
HTTP server, and I'm
sure they can be adapted to use a dumb 9P server as well.
Robert Ransom
signature.asc
Description: PGP signature
the flakiest cache on Fedora.
The simplest non-awful way to handle these cases is to run a script
when the contents of certain directories are changed. This doesn't
happen now because it requires more complexity in the package manager,
where it would need to be implemented, even though it would result in a
simpler system overall.
Robert Ransom
signature.asc
Description: PGP signature
On Thu, 15 Jul 2010 03:57:08 -0400
Kris Maglione wrote:
> On Thu, Jul 15, 2010 at 12:00:51AM -0700, Robert Ransom wrote:
> >On Linux 2.6.34.1 (and many other versions):
> >
> >$ cat /proc/loadavg
>
> What do you mean “many other versions”? /proc/loadavg is purely
>
ther versions):
$ cat /proc/loadavg
(I assume the kernel doesn't try to read and act on locale environment
variables. Yet.)
On FreeBSD 8.0-RELEASE-p? (and probably other versions), see
getloadavg(3).
Robert Ransom
signature.asc
Description: PGP signature
On Tue, 22 Jun 2010 13:04:10 +0200
Mate Nagy wrote:
> On Tue, Jun 22, 2010 at 03:46:16AM -0700, Robert Ransom wrote:
> > It was (at least in that paragraph). See my reply to your other message
> > for three examples of useful SYNTAX-RULES macros; SYNTAX-RULES cannot
> > be
On Tue, 22 Jun 2010 12:22:52 +0200
Mate Nagy wrote:
> On Tue, Jun 22, 2010 at 03:10:27AM -0700, Robert Ransom wrote:
> > Scheme *should* be used for everything because at least one good macro
> > system has been designed for it. Lisp macros can do arbitrary
> > computation
On Tue, 22 Jun 2010 12:27:10 +0200
Mate Nagy wrote:
> On Tue, Jun 22, 2010 at 12:22:52PM +0200, Mate Nagy wrote:
> > On Tue, Jun 22, 2010 at 03:10:27AM -0700, Robert Ransom wrote:
> > > Scheme *should* be used for everything because at least one good macro
> > > syst
On Mon, 21 Jun 2010 13:09:38 +0100
Anselm R Garbe wrote:
> On 21 June 2010 06:09, Robert Ransom wrote:
> > Scheme *should* be used for almost everything -- bootloaders, OS
> > kernels, hardware drivers, tiny user utilities (like (Plan 9) ls and
> > mc; Unix ls no longe
Lisp macros can do arbitrary
computation at compile-time, and the Scheme macro system required by
R6RS provides all the power of Lisp macros *and* supports a
pattern-matching macro specification syntax for simple syntactic sugar.
Robert Ransom
signature.asc
Description: PGP signature
plicitly specified physical types. For small utilities, you
would need a Scheme implementation with a small run-time library.
Long-running servers would benefit from the same compiler capabilities
that low-level programming requires, but you can usually do without
them.
Robert Ransom
signature.asc
Description: PGP signature
On Wed, 16 Jun 2010 05:26:28 +0100
Connor Lane Smith wrote:
> On 16 June 2010 00:44, Robert Ransom wrote:
> > Try
On Tue, 15 Jun 2010 12:51:01 +0100
Connor Lane Smith wrote:
> On 15 June 2010 09:58, Robert Ransom wrote:
> > - a terminal emulator written in JavaScript
> > - which produces its output by manipulating XML DOM objects
> > - which in turn cause a browser to rerun its pa
. I love dwm because of its
> simplicity, and right now I would like to have the same kind of
> simplicity in the lower layers.
Then get into the hardware business and start selling reliable hardware
with simple interfaces.
Robert Ransom
signature.asc
Description: PGP signature
which in turn cause a browser to rerun its page *layout* algorithm
- and then redraw the terminal screen
will be as snappy as xterm? Or by ‘done right’, do you mean that you
want a terminal written in Java or Google Native Client?
Where's Uriel?
Robert Ransom
signature.asc
Descr
On Tue, 15 Jun 2010 09:18:04 +0200
Gregor Best wrote:
> On Mon, Jun 14, 2010 at 11:50:40PM -0700, Robert Ransom wrote:
> > [...]
> > That > *is* somewhat unusual
> > [...]
>
> Where exactly is the difference between running
>
> DISPLAY=foo:0.0 bar
probably unusual enough that the
specification's authors won't be personally inconvenienced by breaking
that case spectacularly, and the B-A-D spec will be inflicted on the
rest of the world before anyone with a clue can stop it.
Robert Ransom
signature.asc
Description: PGP signature
On Fri, 04 Jun 2010 05:37:52 -0700 (PDT)
Peter John Hartman wrote:
> Did you ever release "dmc"? I recall a post from fall of last year... but
> can't find it under
> "code" at suckless.org.
>
> Peter
http://lolcathost.org/cgi-bin/hg/dmc/
The link
ut an update of dash to version 0.5.6
today. Test your script with that version first.
Robert Ransom
help unless you patch it.
Can you chroot?
> The only thing that came up on #suckless was LD_PRELOAD to overwrite the
> system calls... but that might take some time to do and is not a clean
> option either. But it looks interesting enough to try out some time.
>
> Any ideas?
The long-term Right Thing is probably a Makefile-to-shell-script
converter.
Robert Ransom
capture all keystrokes with a given set of modifiers
(look up GrabKey in proto.pdf in the X.org hardcopy documentation).
> Or is wmiirc+wmiiloop already a program that does exactly that
> (independantly from WMII)?
I think those only talk to WMII's 9P file server, not to the X server.
Robert Ransom
On Sun, 09 May 2010 22:37:26 -0700
"Larry Gagnon" wrote:
> > Is there an actual problem, or do you just need to run 'ooffice
> > &>/dev/null'?
>
> > Robert Ransom
>
> Robert: there is a problem. The OOImpress slide show will not work unde
ss user interface is:
* useful,
* usable,
* transparent,
* either discoverable or well-documented,
* reliable,
* as simple as possible, and no simpler, and
* customizable.
Robert Ransom
can't tell the GNOME screensaver to not blank the
screen.
Is there an actual problem, or do you just need to run 'ooffice
&>/dev/null'?
Robert Ransom
abled one thing too much on webkit before building it on LFS.
> Could it be this one ? :
>
> enable_offline_web_applications
The Fedora package leaves this enabled. I don't have the patience to
recompile WebKit with this disabled.
> Until i rebuild webkit, i use quark to serve local file.
>
> http://hg.suckless.org/quark/
Good idea.
Robert Ransom
On Mon, 3 May 2010 07:48:23 +0200
Steen Engholm wrote:
> Hi Rob .
>
> Thanks for the suggestion, but believe me I have tried this . Does
> that work for you, and if so, what platform are you using ? Do you
> have settings in gtkrc or add code to surf.c ?
>
>
>
&g
On Sun, 2 May 2010 22:24:09 +0100
Rob wrote:
> > Is it possible to view a local html file, with the markup notation
> > interpreted ?
>
> Like this?
>
> $ surf file://path/to/file.html
>
> i.e. instead of http://
>
file:///path/to/file.html (With three slashes after file:, to indicate
that t
91 matches
Mail list logo