logs archiveBotHelp.net / Freenode / #2f30 / 2015 / July / 22 / 1
__20h__
FRIGN, yes, the portage code does express a big complexity. Maybe it's too much for you.
k0ga
what do you expect if you write something like:
int m[4/0];
?
the output of gcc is:
/tmp/f.c:2:8: warning: division by zero [-Wdiv-by-zero]
/tmp/f.c:2:5: error: variably modified m at file scope
__20h__
k0ga, that's what I expect.
k0ga
__20h__: and, if you do it inside of a function:
/tmp/f.c: In function main:
/tmp/f.c:3:8: warning: division by zero [-Wdiv-by-zero]
there is no error
I don't know what code is generated, but it must fail for sure
$ ./a.out
Floating point exception (core dumped)
and the output of cc1:
/tmp/f.c:3: warning: division by 0
/tmp/f.c:3: error: constant expression required
__20h__
k0ga, the first one is not logic, but the second one is the freedom of C.
k0ga, well, you just divide by zero and the CPU will throw an interrupt.
k0ga
I think in this case is because gcc is trying to convert m into a VLA
even when you use std=c89
FRIGN
YO MR. WHITE, I DID IT!
__20h__ stop trolling man :P The portage code is such a mess that only around 4 people contribute to it.
__20h__
FRIGN, code describes a logic. Maybe it's too much for you.
stateless
Evil_Bob, my /etc/doas.conf
permit nopass keepenv { PKG_PATH } :wheel
done :)
when it matures a bit, we can include it in morpheus base
FRIGN
hey stateless
https://www.youtube.com/watch?v=zj2Zf9tlg2Y
:
:P
yo
Evil_Bob
stateless: very nice, yea :D
stateless: i got my SSD, backing up my ports and src now, reinstalling BSD soon
FRIGN
Evil_Boon: hm
Evil_Bob
Boon? :o
FRIGN
:P
Evil_Coon
Haha
Evil_Bob
FRIGN: https://www.youtube.com/watch?v=8yis7GzlXNM
FRIGN
Evil_Bob: I could watch these rap battles all day
Evil_Bob: https://www.youtube.com/watch?v=7ZsKqbt3gQ0 This is one of my favourites
Evil_Bob
lol
FRIGN: its kinda funny they are just 2 guys usually, quite good at the costumes etc :)
FRIGN
yes
Evil_Bob: Another one of my favs: https://www.youtube.com/watch?v=zn7-fVtT16k
Evil_Bob
brb
k0ga
ey FRIGN how was your exam?
(it was today, wasn't it?
do you want to see a flame war?
FRIGN
k0ga: it was great, thanks for asking :)
will get results this evening
sure, show me the flamewar ^^
k0ga
suckless channel
FRIGN
oh yeah
I'm supporting you, comrade
k0ga: ^ :)
k0ga
thanks!
:)
I already had this discussion with __20h__ once
__20h__: do you remember it?
Evil_Bob
i think we should fix the warnings, but thats just my opinion maaan :)
k0ga
Evil_Bob: goto suckless ;)
I will admit the parentheses in the aasignation, but for sure I am not going to write the patch :P
gillz
I am going to bring back the goto
Evil_Bob
k0ga: ok i might write it, first reinstalling my laptop though :)
LitoII
Imperative programming rulz!
__20h__
k0ga, pancake is adding JSON support to projects and used node.js.
Instead of writing a good tool to disassemble binaries, which was the main intention of radare.
k0ga, which discussion do you mean? You were writing much gibberish on #suckless.
dusty`
hi
__20h__
dusty`, hi dirty.
dusty`
:)
Evil_Bob
FRIGN: hnnng, installed SSD in laptop and reinstalled OpenBSD (5.7 atm)
super fast now (ofcourse)
FRIGN
cool
Evil_Bob
with the previous drive a find /usr/ports -type f would take like 2 minutes :)
now it takes 2 seconds
will recompile -current soon, curious how fast it will be :D
biniar
Evil_Bob: Nice :)
stateless
lolo nice :)
Evil_Bob, how are you going to build -current from 5.7 exactly? :P
biniar
ooooh
by formatting everything
stateless
yeah :P
biniar
and using a snapshot
atmc
or just updating to a snapshot?
biniar
access denied
dusty`
is there a project to replace gdb debugger?
Evil_Bob
stateless: ohshi- yea, hmm previously i copied the snapshot kernel i think
dusty`
gdb is 100% fu*king terrible
Evil_Bob
dusty`: the other day gdb segfaulted on me :)
stateless
atmc, you can't
Evil_Bob
dusty`: gdb -c gdb.core gdb
dusty`
haha
stateless
at least it won't always work
dusty`
the GUI always breaks for me, i can't get work done with it
atmc
stateless: bat wai
« prev 1 2 3 next »