logs archiveBotHelp.net / Freenode / #2f30 / 2015 / September / 7 / 2
k0ga
every possible terminal had a unique position in utmp
so was not needed blocking
pty broke this design ...
stateless
yeah
FRIGN
okay, so can we close this topic? :p
k0ga
yeah
it is needed a suckless terminfo/curses project ;)
but I'm too busy
FRIGN
yo k0ga, we already talked about this
don't stack yourself with too much work, or you end up _never_ finishing one single project
I'd really love to see scc to be a C90 or C99 compiler
k0ga
I think scc is more interesting for us that reimplement curses
FRIGN
yes
openfbtd
Wow, a suckless compiler?
FRIGN
openfbtd: http://git.suckless.org/scc ;)
k0ga is the man! :D
openfbtd
Sweet
FRIGN
yeah
openfbtd
>Roberto E. Vargas Caballero
Is that your actual given name, k0ga?
FRIGN
lol, nobody offends Roberto, openfbtd
bi**h
openfbtd
I'm not dissing it, quite the opposite
That is an awesome name :D
FRIGN
get off our el PatrĂ³n
or you will face consequences
k0ga
yeah
it is
openfbtd
Why do people have such cool names
k0ga
it is a very long name, even for spanish meassures ^^!
openfbtd
Well, I go by Jack L. Frost these days, but it's unimaginative :)
k0ga
the full name is: Roberto Enrique Vargas Caballero
in Spain we have two surnames
and in my case, I have two names
FRIGN
lol
cool
:D
yo
k0ga
uhmmm,
do you know what is the result of -1u < 0?
FRIGN
no, but it should be equivalent to 1u > 0 :P
k0ga
it was a surprise for me
the - is the unary operator, so it is apply the - operator to 1, which generates (unsigned) -1, or in another word 0xFFFFFFFFu
Evil_Bob
dafuq
dami0
>FFFFFFFFu
i laughed (internally) quite hard
Evil_Bob
thats what she said
atmc
k0ga: sure its 0 :D
its like max u
its common to use things like 'unsigned short a = -1' to initialize with 0xFFFF
at least for me when i'm flipping bits around
stateless
atmc, no it wasn't the point
sure that makes sense
atmc
you mean that it should init 1u and negate that?
stateless
yes that's what wasn't clear
k0ga
the point was the u
at the beginning I thought that it will be an unsigned, but the - should convert ito int
s/ito/it/ to/
but no
1u is an unsigned constant
you apply - to this unsigned constant, and the result is an unsigned
there is no cast to a different type in any moment
so (unsigned) something < 0 is always false
Evil_Bob
FRIGN: wow, just saw this https://www.youtube.com/embed/Ctuhg8ym-Hk?wmode=opaque 3:14, looks very nice
gothic 2 graphics mod
FRIGN
Evil_Bob: wow!
Evil_Bob
i didnt even knew they were working on this :)
very cool
https://www.youtube.com/watch?v=hwzU8wICVuA
stateless
Evil_Bob, very nice
henriqueleng
Openbsd average cpu usage: http://sprunge.us/bEYh
stateless
what is "average cpu usage"?
k0ga
$((lines + 1)) is a bashism
henriqueleng
k0ga: working on posix
stateless
expr!
:P
k0ga
uhmmm, it is true, they added it to POSIX
fu*k POSIX!!!!
henriqueleng
well its working, I'm new on shel programming
k0ga: Is it bad?
stateless
so it averages the cpu load across the N cores?
henriqueleng
stateless: yeah
stateless
by inverting idle time
and then averaging
ok :)
henriqueleng
stateless: I wanna print into a status bar, so wouldn't be cool to print eight values
stateless
yeah
you could probably use bc
henriqueleng
thinking about
stateless
for more accurate results
I usually look at load average
I always have systat open somewhere
retard
floartan pong
stateless
:>
Evil_Bob
hide your kittens, its the meowpolice
neeasade
Evil_Bob: is your nick a runescape reference
stateless
yo
neeasade, no he really is an evil bob
neeasade
stateless: I see
« prev 1 2 3 4 next »