logs archiveBotHelp.net / Freenode / #2f30 / 2015 / August / 3 / 2
tm512
then just understand the scope
and realize that you'll be tethered to maintaining this as long as you use it
you won't really be able to stop, unless you just want to be running out of date software
kori
again, that's not a problem :P
stateless
yo
kori
hi stateless
stateless
sup
Evil_Bob
FRIGN: hmm looks good(tm), lemme test it
FRIGN
yoo
Evil_Bob
btw we should really force emg to write sed.1 etc
FRIGN
Evil_Bob: He had a deadline
Evil_Bob
so sbase 0.1 can be released soon-ish
FRIGN
until start of August
It's over now
Evil_Bob
ah ok i did not know that
FRIGN
that's why I pinged him
stateless
FRIGN, ah btw
I also have BitchX and irssi on hydra
FRIGN
I hate irssi
stateless
if you want to use until we fix hysteria
FRIGN
:/
stateless
or debug it
kori
FOUND IT
Evil_Bob
we should really enforce documentation for any new tools aswell
kori
https://www.youtube.com/watch?v=RQujga4KSk8
check it out, guys
FRIGN
stateless: It's fine, I'll just use HexChat for the time being
stateless
FRIGN, well BitchX then, real elite cowboy
ok
kori
I suggested this idea to one of the dudes in my team once
he was looking for a project to make
so he did it
and it's cool af
FRIGN
stateless: I wrote a small patch for sort(1)
wanna take a look?
http://frign.de/patches/sbase/0001-Use-queue.h-macros-in-sort-1.patch
It's just for queue.h
should not take long to review
stateless
ah nice
:)
tm512
I'm assuming I'll just have a linked list of free pages
stateless
FRIGN, does it preserve the order of the items in the list? i.e. is insert_tail the right call?
I think it is, if so looks good
yeah original code added at the tail
cool
can u push it?
Evil_Bob
kori: it uses fuse :|
kori
Evil_Bob: 9p
FRIGN
stateless: yeah, I'll push it
I tested it with -k1,1 -k2,2 ...
kori
it uses fuse because of 9p
FRIGN
and changed the order, compared to GNU sort
then using -u-flag as well
all the same :)
Evil_Bob
kori: reminds me of wmii
stateless
FRIGN, looks good yeah
FRIGN
:D
Evil_Bob
:)
stateless
- res = x < y ? -1 : x > y;
+ res = (x < y) ? (-1) : (x > y);
this wasn't necessary but ok
i avoid parens with ternary operator because precedence is obvious
? and : stand out
Evil_Bob
yea
stateless
but ok wtv we can leave it in
tm512
latter seems marginally more readable
Evil_Bob
also you added if (res), is it an optimization?
shouldnt it be if (res > 0) (untested)
stateless
Evil_Bob, what do you mean?
the set of possible values is -1, 0, 1 for res
don't remember the code that follows but maybe neg, 0, pos would also be an option, will have to check
(in which case it becomes x - y)
Evil_Bob
ugh nvm it was just a quick brainfart :)
it is identical, the old code had res == 0 in the for loop as condition check
stateless
:)
tm512
stateless: how'd you like kilimanjaro darkjazz ensemble?
stateless
was that the album u posted the other day?
tm512
yeah
stateless
it was pretty good yeah
tm512
I guess "darkjazz" is just a combination of jazz and dark ambient
kori
tm512: do you have a last.fm
tm512
but it seems to work pretty well
kori: not that I use
kori
:/
can you post the list of the artists you listen to
tm512
not practically
kori
ls ~/music | sprunge?
tm512
there's a lot of stuff there that I don't listen to anymore as well
https://www.youtube.com/watch?v=f7wkRET0hbo
I saw those guys live last week
kori
that's fine
tm512
my ~/music folder is a mess that's never been organized and has been around since I was running windows 5 and a half years ago
I don't really feel like posting it :p
kori
just do it
FRIGN
stateless: Evil_Bob: another sort(1) commit upcoming
parse_keydef() is not really necessary
Evil_Bob
i think for addkeydef i'd prefer if it returns a new struct keydef *kd;
newkeydef(...)
and then just TAILQ_INSERT_TAIL(&kdhead, ...);
FRIGN
Evil_Bob: I'll do the parsing inside addkeydef
« prev 1 2 3 4 5 6 7 8 next »