OK, turing.

<- leave blank

Fri Aug 23 17:33:28 EDT 2019

diff -r 5d38a488ae67 sys/src/cmd/ndb/dnsquery.c
--- a/sys/src/cmd/ndb/dnsquery.c Fri Aug 02 19:06:23 2019 +0200
+++ b/sys/src/cmd/ndb/dnsquery.c Fri Aug 23 21:33:29 2019 +0200
@@ -58,7 +58,7 @@
	Biobuf in;

	Binit(&in, 0, OREAD);
- for(print("> "); lp = Brdline(&in, '\n'); print("> ")){
+ for(fprint(2, "> "); lp = Brdline(&in, '\n'); fprint(2, "> ")){
		n = Blinelen(&in) -1;
		while(isspace(lp[n]))
			lp[n--] = 0;


Fri Aug 23 17:13:22 EDT 2019
#!/bin/rc
rfork e

fn usage {
	>[2=1] echo $0 name service [proto]
	exit usage
}

if(test $#* -lt 2)
	usage
name=$1
service=$2
proto=$3
if(~ $#proto 0)
	proto='tcp'

<>[9]/net/dns {
	echo _$service._$proto.$name srv >[1=9] || exit NXDOMAIN
	syscall seek 9 0 0 >[2]/dev/null
	while(x=`{syscall -o read 9 buf 1024 |[2] grep -vs 'return 0'})
		echo $proto!$x(6)!$x(5)
}


Fri Aug 23 16:30:28 EDT 2019
#!/bin/rc
rfork e

fn usage {
	>[2=1] echo $0 dnsname service [proto]
	exit usage
}

if(test $#* -lt 2)
	usage
name=$1
service=$2
proto=$3
if(~ $#proto 0)
	proto='tcp'

<>[9]/net/dns {
	echo _$service._$proto.$name srv >[1=9] || exit NXDOMAIN
	dd -if /fd/9 -seek 0 -quiet 1
} | awk '{
	printf("%s!%s!%s\n", ENVIRON["proto"], $4, $3)
}'


Fri Aug 23 03:32:22 EDT 2019

I love picking apart some tiny piece of code at work.  You see how subtly broken
and can't help but think: "Man, how fucked up are the other million lines?!" We
all had that idea.

And when we finally get the whole job done and the system is happy, all our
friends rejoice over how wonderful the code is.  But most of them don't really
care about the big picture, but only about that little piece of code at the end
(or in the middle or at the top).  We all love it; we've seen other people do it
over and over again, and they can't find a flaw (I bet there are many in our own
teams).

How do programmers improve?  The answer is: "More", but mostly "less." That's the
first thing to remember.

We're not getting any more features and more time, so we can't do more with our
existing tools.  They're just too old to be helpful or usefull right now.  What
can we do?  Well, we're probably never going to get them, but we can keep
improving.

Fri Aug 23 03:20:23 EDT 2019
$ clang main.m -fobjc-arc -xobjective-c++ -framework Cocoa && ./a.out
2019-08-23 00:17:39.219 a.out[23054:20466589] [MyWindow init]
2019-08-23 00:17:39.645 a.out[23054:20466589] [delegate init]
2019-08-23 00:17:39.650 a.out[23054:20466589] [delegate windowShouldClose:]
(returning NO to cancel)
2019-08-23 00:17:39.839 a.out[23054:20466589] [delegate windowWillClose:]
2019-08-23 00:17:39.840 a.out[23054:20466589] [delegate dealloc]
2019-08-23 00:17:39.840 a.out[23054:20466589] [MyWindow dealloc]
2019-08-23 00:17:39.843 a.out[23054:20466589] exit process
$ uname -a
Darwin mac.local 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT
2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
$ clang --version
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


Thu Aug 22 11:43:27 EDT 2019
DMARC-Filter: OpenDMARC Filter v1.3.2 in-007.lax.mailroute.net 46DGD84YY5zThHv
Authentication-Results: mail.mailroute.net;
	dmarc=none (p=none dis=none) header.from=felloff.net
Authentication-Results: mail.mailroute.net;
	spf=pass smtp.mailfrom=cinap_lenrek@felloff.net
Authentication-Results: mail.mailroute.net; dkim=none
Date: Wed, 21 Aug 2019 19:56:08 +0200
From: cinap_lenrek@felloff.net
To: 9fans@9fans.net
Subject: [9fans] raspberry pi 4 arm64 test image
Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Sender: 9fans-bounces@9fans.net
Errors-To: 9fans-bounces@9fans.net

i'v made a sdcard image for the new raspberry pi 4
(also works on 3).

http://gabe.felloff.net/usr/cinap_lenrek/9front-7336.bb28fe19fe44.pi3.img.gz

this has support for most of the new hardware:

sdcard, ethernet and usb3.0

can someone please test this on the 2GB and 4GB
ram variants for me?

--
cinap




Thu Aug 22 10:20:01 EDT 2019
Avatar Nicolas Girard
J'aime la vie, MAIS JE VEUX MOURIR !!!!!!!!!!!!!!!!!!
par Nicolas Girard, lundi 22 octobre 2012, 12:10
Tout le monde sur ce site

Salut tout le monde.  EN particulier, salut le prof.  Je suis encore pris avec
d'horrible maux de ventre.  Je sais pas ce qui se passe avec mon dedans, mais
caliss j'en peut pu.  Chaque nuit est un cauchemar, ( et chaque soirée est un
avant-gout d'un cauchemar ) Ceci étant dit, je dois encore manquer un cours de 3D.
J'espere juste que personne pense que je m'en fou, mais je peux simplement pas
bouger, j'ai pas d'energie, et ca fais trop mal.  Merci de comprendre, et à moi le
problême de tout rattraper l matiere perdu..



Merci de votre compré.ghension professeur .





Nicolas

Wed Aug 21 14:52:00 EDT 2019
diff -r bb28fe19fe44 sys/src/cmd/cc/dcl.c
--- a/sys/src/cmd/cc/dcl.c Mon Aug 19 16:42:20 2019 +0200
+++ b/sys/src/cmd/cc/dcl.c Wed Aug 21 11:51:58 2019 -0700
@@ -346,6 +346,13 @@
		if(a->type == T)
			return Z;

+ if(a->op == OADD){
+ if(a->left->op == OADDR && a->right->op == OCONST){
+ nod = *a->left;
+ nod->left->xoffset += a->right->vconst;
+ a = &l;
+ }
+ }
		if(a->op == OCONST) {
			if(vconst(a) && t->etype == TIND && a->type &&
			a->type->etype != TIND){
				diag(a, "initialize pointer to an integer: %s",
				s->name);


Wed Aug 21 10:14:48 EDT 2019
There were a lot of great things about qmail.  I really liked the envdir and how
secure it was.  But eventually I found the attitude behind it very tiring and
switched to Postfix, which is a really great program.

Wed Aug 21 09:44:17 EDT 2019
Air Force’s 24th Special Operations Wing Signals It Wants to Expand Social Media
Operations

Tue Aug 20 22:43:10 EDT 2019
fuck off

prev | next