logs archiveBotHelp.net / Freenode / #2f30 / 2015 / September / 1 / 1
z3bra
poptart, neat
biniar
z3bra: I like your window manager article, one suggestion maybe make smaller versions of the GIF animations
gillz
biniar: can i see?
dca7
great C wizards of #2f30, I call upon you
anyone got a neat solution for reading a file, line by line, into an array?
atmc
dca7: i think there is no "great" solution like in scripting languages
buffer the file, get the lines, alloc the array, read in the lines
or
dca7
right now, I mmap() the file, and replaceall '\n' with '\0'
basicallly making a sh*tty array
atmc
buffer the file, get the lines, alloc the lines, read the lines, make a pointer to each buffer in an array
tm512
dca7: so I have a function that does this
atmc
(while you read each line)
tm512
let me get it for you
atmc
i don't have any experience with system libraries. only c-standard libs
tm512
http://hastebin.com/raw/yijofisugo
that's not mmapping, it just loads the whole file into memory
atmc
thats basically what i proposed right?
tm512
yeah basically
atmc
looks good to me
__20h__
atmc, but it doesn't really waste any resources.
(wallpapers)
FRIGN
good morning peeps!
:D
k0ga
morning
atmc
__20h__: yea but i dont see it anyways (i don't use pure tiling so i have a wallpaper)
retard
http://osfeels.com/
Writing software can be emotionally difficult.
__20h__: do you struggle with this a lot?
openfbtd
...
nikolaosk
Greg Tarnoff
Designing with Empathy
Alex Harms Learning to Empathy
Eric Holscher Documentation as Empathy
atmc
https://marc.info/?l=openbsd-tech&m=144104398132541&w=2
retard
isn't this a terrible idea?
atmc
maybe it can be tamed? :)
dzervas
Evil_Bob: oh, right now I'm writing some PHP just for fun
and I try to go from vim to emacs & evil
Drakevr
next what, heroin ?
though probs still doing heroin whould be better than using emacs and writing php for "fun", less disastrous too
nikolaosk
they made me work with php once
I was lucky, it was fun
3k deletions, 6 insertions
I can't say they made me "write" php, lol
Drakevr
productive!
meanwhile, nikolaosk tomorrow is the start of YAPC::EU 2015
nikolaosk: had to cancel my plans and tickets, due to the situation in greece, really hope they will have proper livestreaming at least
nikolaosk
I didn't plan it
mst finished his "puppet done in prolog" project
gave the same talk a month ago, claiming he'd be shipping soon
I see he properly tagged his talk with "wtf"
Drakevr
xd
__20h__
retard, it's not feelings, it's truth.
retard
__20h__ you can't handle the truth
__20h__
retard, I don't need to. That's what we have pastors for.
onodera
Hello, does anyone here use acme on linux? Where can I acquire the source?
k0ga
onodera: plan9port
https://swtch.com/plan9port/
onodera
thanks
openfbtd
This is a valid bash script: http://ix.io/kzl
Evil_Bob
dca7: getline()
stateless
yo
henriqueleng
stateless: hi
k0ga
stateless: tu
FRIGN
gn8
Evil_Bob
lol http://www.twincities.com/statefair/ci_28734408/bill-cosby-portrait-rapeseed-pulled-from-state-fair
« prev next »