logs archiveBotHelp.net / Freenode / #2f30 / 2015 / August / 3 / 6
Ypnose
any news about dsp? Long time I didn't talk to him
stateless
Ypnose, he is on holidays in greece
Ypnose
oh nice
I remember when we talk about the Legion
good old time
talked*
stateless
legion of doom? :P
Ypnose
hehe, no dude. :) The "Legion √Čtrang√®re"!
stateless
:P
atmc
i just deployed an android app. written in python. which autowraps java classes.
somehow this amazes and disgusts me.
k0ga
which wrap C structs
:P
atmc
basically, yes
stateless: what's privsep? :D
oh mandoc pdf is there
:)
retard
privilege separation
i wanted to make something for android, but i found no way of building android software sanely
atmc
retard: there is a way.
retard
please share
atmc
https://github.com/kivy/buildozer
retard
i write in c though :X
atmc
then do it. convert with Cython and include the main call
:)
but don't expect apis to work :D
retard
jesus fu*k hwat
no
that's disgusting
you are a sick individual
Ypnose
stateless: when install ubase-box, I guess su can't be used because ubase-box is 755
should be probably changed
stateless
k0ga, http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/wall.c
k0ga
stateless: ??
stateless
err wrong file
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V6/usr/source/s1/dump.c
check the dump() function
interesting indentation style :P
have never seen it before
k0ga
stateless: we don't have wall in sbase neither in ubase
we should add it
(it is very easy)
stateless
yeah
atmc
that function definitions?!
stateless
atmc, old style
check the for/if combination
I was waiting for a semicolon after the for
was like where the fu*k is it
lol
k0ga
stateless: Ken Thompson uses this style in kencc all the time
stateless
so he wrote dump.c :P
atmc
stateless: Oo
i've never seen this function definitions
k0ga
you can see things like:
stateless
atmc, they are pre-ansi
k0ga
if (cond1)
if (cond2)
atmc
ah ok
k0ga
if (cond3) {
....
}
tm512
that basically works as if (cond1 || cond2 || cond3)
k0ga
where the statement of the first if is the second if
stateless
yeah
tm512
er
k0ga
if (cond1 && cond2 && cond3)
tm512
or maybe &&
atmc
https://github.com/brynet/file/blob/master/magic-load.c
tm512
I think I've used or seen that before
atmc
dat filename though..
k0ga
stateless: what is dump?
stateless
k0ga, dump/restore
for backing up on tapes? :P
like tar but knows about the underlying fs
atmc, you haven't seen anything yet, one moment
atmc
i look at scheme code when i want to see ponies
stateless
atmc, http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh/cmd.c
bourne loved algol, so he used macros to define IF LOCAL ELSE THEN SWITCH etc.
this is c
:P
atmc
DAFUQ
WHO LOVES ALGOL GOOD GOD
i had to read algol and fortran code for a specific numerical algorithm
i wanted to run
away
far
away
stateless
lol
atmc, just watched the talk he gave at bsdcan
atmc
me2
stateless
and he talked about functions in c not returning anything
atmc
where is the macro file?
stateless
void funcs did not exist then, so he went to ritchie and complained that he doesn't want to type return 0 if there's really nothing to return
a few days later ritchie came back and said, if we make void funcs in C then I can skip one instruction in the return path
lol
so he put it in
atmc
yea :D
stateless
atmc, some header probably
haven't found it yet :P
atmc
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh/defs.h
« prev 1 2 3 4 5 6 7 8 next »