no AI. There's just someone else's work.
Stop calling generative text and image programs AI. It's inaccurate and
insulting. They are just the evolution of corporate creative theft that's been
going on as long as media corporations have existed.
-Olaf.
--
___ Olaf &
to have any obvious way to describe function return
> types that aren't textually entirely before the function name, that is,
> which don't fit the textual paradigm $RETURNTYPE $FUNCTIONNAME($ARGS).
With this rephrasing it should fit better.
-Olaf.
--
___ Olaf 'Rhialto' Se
> reproducer:
If you want to have continuing (non-restarting) numbering for multiple
input files, one could use "cat file1 file2 | cat -n".
-Olaf.
--
___ Olaf 'Rhialto' Seibert
\X/ There is no AI. There is just someone else's work.
tional APIs for the Base
Specifications Issue 8, Part 1 & 2".
-Olaf.
--
___ Olaf 'Rhialto' Seibert
\X/ There is no AI. There is just someone else's work. --I. Rose
signature.asc
Description: PGP signature
ystem.html and it
seems entirely silent on the matter. How does this mean that system(3)
is allowed to fail in this situation? Since the state is not mentioned
as a special case, I expect that it is supposed to work.
-Olaf.
--
___ Olaf 'Rhialto' Seibert
\X/
are any), would this have unexpected
other effects?
- Does POSIX say something somewhere that blocks this way out?
I didn't research those questions yet.
-Olaf.
--
___ Olaf 'Rhialto' Seibert
\X/ There is no AI. There is just someone else's work. --I. Rose
signature.asc
Description: PGP signature
er. But never use errno values as an
> exit parameter.
There is which defines "Exit status codes for system
programs." EX_DATAERR could be appropriate for an invalid config file.
-Olaf.
--
___ Olaf 'Rhialto' Seibert
\X/ There is no AI. T
on
-Olaf.
--
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/ have kids to make his activity cost neutral." -The BOFHfalu.nl@rhialto
signature.asc
Description: PGP signature
credits is a bit like a serial killer paying someone else to
\X/ have kids to make his activity cost neutral." -The BOFHfalu.nl@rhialto
signature.asc
Description: PGP signature
; equally on Linux, MacOS and
NetBSD:
$ printf "1\n2\n3\n" | ( head -1; head -1; cat )
1
$
-Olaf.
--
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/ have kids to make his activity cost neutral." -The BOFHfalu.nl@rhialto
signature.asc
Description: PGP signature
d by mutex. The pthread_cond_timedwait() function behaves
-Olaf.
--
___ Q: "What's an anagram of Banach-Tarski?" -- Olaf "Rhialto" Seibert
\X/ A: "Banach-Tarski Banach-Tarski." -- rhialto at falu dot nl
signature.asc
Description: PGP signature
it a bit right again.
Final result is at
https://gitlab.com/Rhialto/macro11/-/blob/master/parse.c#L386.
-Olaf.
--
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___ Anyone who is capable of getting themselves made President should on
\X/ no account be allowed to do the job.
assembler, in particular the part where a 64 bit PDP-11 floating point
number is constructed. These have 1 sign bit, 8 exponent bit, and 55
(56) mantissa bits (if you count the implict 1 at the start).
See
https://gitlab.com/Rhialto/macro11/-/blob/issue-5-floating-point-literals/parse.c#L380
I
dn't always work.
-Olaf.
--
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___ Anyone who is capable of getting themselves made President should on
\X/ no account be allowed to do the job. --Douglas Adams, "THGTTG"
signature.asc
Description: PGP signature
gt; have this for code editors?
I have seen an editor (I think it was google's Android development
environment) that even went so far as to recognize some particular
boilerplate Java code fragments, and abbreviated them. You could unfold
them if you wanted though.
I wasn't sure if I
if's test to the enclosing if's, I can go either way on whether I'd
> prefer braces or no braces around the inner if.
I agree with the proposal at the start of the thread and I also agree
with this. I guess that some languages have a special 'elif' or 'elseif'
On Mon 29 Jun 2020 at 11:49:03 -0700, Tom Spindler (moof) wrote:
> What do the non-en languages do?
In Dutch one often sees ma di wo do vr za zo.
-Olaf.
--
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___ Anyone who is capable of getting themselves made President should on
\X
fsck-times of /. I don't want the
ever-changing /usr/pkg on there. I suppose that if I'll ever be forced
to have /usr on /, I'd separate out /usr/pkg.
-Olaf.
--
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___ Anyone who is capable of getting themselves made
or light background, it adjusts its
colour scheme. See :help 'bg'
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- "What good is a Ring of Power
\X/ rhialto/at/falu.nl -- if you're unable...to Speak." - Agent Elrond
signature.asc
Description: PGP signature
o look at the resulting memory buffer, so fflush() is probably
called more often. That makes this a weak argument as well.
> If there are any arguments, one way or the other, I would be happy
> to pass them along.
I think my reasoning above goes in the direction that fflush(NULL)
*should* also
eparetely.
Trying to build putty-0.70 on NetBSD 8, it fails:
gmake[1]: Entering directory '/home/rhialto/tmp/putty-0.70'
depbase=`echo unix/uxpgnt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I././ -I./charset/ -I./windows/ -I./unix/
-I/usr/pkg/i
e the same thing (telnet> mode ? suggests
that)
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- "What good is a Ring of Power
\X/ rhialto/at/falu.nl -- if you're unable...to Speak." - Agent Elrond
signature.asc
Description: PGP signature
This is an interesting unexpected case:
X=/ cd $X
cd's to $HOME, not to / ...
This really violates the POLA, I'd say...
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- "What good is a Ring of Power
\X/ rhialto/at/falu.nl -- if you're unable...to Speak.&q
ve shells.
from
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_01
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- "What good is a Ring of Power
\X/ rhialto/at/falu.nl -- if you're unable...to Speak." - Agent Elrond
signature.asc
Description: PGP signature
On Sun 25 Nov 2018 at 22:15:57 +0100, Rhialto wrote:
> Actually, I would expect X to remain unset (or set as it was before) on
> the next line. Just like it works with
>
> X=1 /some/external/command
>
> And that is what bash seems to do. Our /bin/{,k}sh however do set X
h to make sure that "X=1 :"
has no noticeable effect on X in the next line, whether shell or
environment variable.
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- "What good is a Ring of Power
\X/ rhialto/at/falu.nl -- if you're unable...to Speak." - Agent Elrond
signature.asc
Description: PGP signature
ypedef __uint32_t uint32_t;
#define uint32_tuint32_t
#endif
Recursive macro definitions are not supposed to be re-expanded, so this
would work as a guard but still leave uint32_t in source code unchanged.
> -uwe
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- "What good is
-
___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly.
signature.asc
Description: PGP signature
this, I see a whole bunch of problems in the pkg_chk
> script that ought to be fixed, but none of them are related to this particular
> issue.
You mean "need to be fixed in the script" or "need to be fixed in sh"?
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- Waylan
ript, due to its
use of $() to catch results from functions)
Maybe the redirection isn't reset in some cases?
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly.
signature.asc
Description: PGP signature
xit
+ rm -f /tmp/pkg_chk.ZdTWWv/tmp
+ rmdir /tmp/pkg_chk.ZdTWWv
+ exit
cvs/pkgsrc$ echo $?
0
cvs/pkgsrc$
Here you see the echo at the end of function pkgdirs_from_conf(),
echoing a list of packages. Then the line
(984) PKGDIRLIST="$(pkgdirs_from_conf $PKGCHK_CONF $PKGDIRLIST)"
assigns an empty string to PKGDIRLIST...
And then it has no work to do and proceeds to a regular exit.
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly.
signature.asc
Description: PGP signature
(using default)
Variable: AWK = /usr/bin/awk
Variable: GREP = /usr/bin/grep
Variable: GZCAT = /usr/bin/gzcat
Variable: GZIP_CMD = /usr/bin/gzip -nf -9
Variable: ID = /usr/bin/id
Variable: PACKAGES = /mnt/vol1/rhialto/cvs/pkgsrc/packages
Variable: PKGCHK_CONF =
Variable: PKGCHK_NOTAGS =
Variab
others
> don't have to re-do this in the future.
It seems linux cp -lr also links files it would not be able to read:
rhialto:~/tmp$ cp -lr dir1 dir1a
rhialto:~/tmp$ l -R dir1
dir1:
total 12
drwxrwxr-x 3 rhialto rhialto 4096 Jul 18 21:13 ./
drwxrwxr-x 5 rhialto rhialto 4096 Jul 18 21:13 ..
On Mon 25 Jun 2018 at 01:58:25 +0700, Robert Elz wrote:
> Date:Sun, 24 Jun 2018 19:09:58 +0200
> From: Rhialto
> Message-ID: <20180624170958.gj8...@falu.nl>
>
> | Are we to assume that NetBSD's sh(1) manual page is correct?
>
> We
lexi-
cally between the pair.
You would think that at the time the "- ] blurb" was added, it was
supposedly because the code had changed and it was now true, but
apparently not. But it would seem to indicate that it was meant to be
true.
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly.
signature.asc
Description: PGP signature
version.
I tried it on a Linux bash with valgrind, and this reported an "Invalid
free() / delete / delete[] / realloc()". But it still did this when I
removed the "unset -f fn" so it is unrelated.
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- Wayland: Those who don
/pkg/bin/clang -fsanitize=address -o
CMakeFiles/cmTC_8691b.dir/testCCompiler.c.o -c
/home/rhialto/bzr/ctwm/build/CMakeFiles/CMakeTmp/testCCompiler.c
clang-3.8: error: unsupported option '-fsanitize=address' for target
'x86_64-unknown-netbsd7.0'
I was trying asan, s
.
There was earlier mention of a sysctl knob (default safe) to do this.
I read that as being system-global, but it could also be per-process.
Possibly gdb could know about it or at least tell the user about it.
An entry in /proc could be relevant as well.
> christos
-Olaf.
--
___ Olaf
write
> hostname-proctitle-10 (this is an old solution too; trn does it).
Also, for foo it is much easier to check that process 10 is itself
(getpid(2)) than that process 10 merely exists (how? some weird exception
to how kill(2) does its work perhaps, but which is totally unintuitive).
-Olaf.
39 matches
Mail list logo