d10n-work has quit [Quit: Connection closed for inactivity]
tvw has quit [Ping timeout: 246 seconds]
imode has joined #ruby
bronson has joined #ruby
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 240 seconds]
d^sh has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
jinie has quit [Ping timeout: 248 seconds]
mim1k has joined #ruby
alnewkirk has joined #ruby
jinie has joined #ruby
agent_white has quit [Quit: bbl]
mim1k has quit [Ping timeout: 248 seconds]
alnewkirk has quit [Ping timeout: 240 seconds]
mson has quit [Quit: Connection closed for inactivity]
cschneid_ has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CrazyEddy has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
megamos has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
gusrub has quit []
cschneid_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
mson has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
_whitelogger has joined #ruby
eckhardt has joined #ruby
cdg has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
enterprisey has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
RickHull has joined #ruby
bronson has joined #ruby
orbyt_ has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby
workmad3 has joined #ruby
kapil___ has joined #ruby
ledestin has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
<RickHull>
is there any good integration for rocco with github's gh-pages feature?
<RickHull>
specifically, I want to run rocco on e.g. master branch. this drops an .html file on the filesystem. ideally, it would go to the gh-pages branch and be easily published and go live
<RickHull>
i can't think of a good way for e.g. a rake task to operate on/within the master branch, and yet have an output of that rake task make changes on the gh-pages branch
cdg has joined #ruby
uZiel has joined #ruby
<RickHull>
you could do it with `git merge` I suppose, but it's kinda weird since gh-pages isn't *really* a branch off master
<elomatreb>
Operate on master, move the result out of the way, checkout gh-pages, commit, checkout master again? Hacky though
<RickHull>
yeah, that's basically what i'm doing now. looking to unhack it :)
<RickHull>
it's especially gnarly because any automation tricks (e.g. Rakefile) get blown away by switching branches
<RickHull>
it seems like there should be a really slick way to do this
<RickHull>
if not, i'll probably just delete the gh-pages branch and send rocco's output directly to my username.github.io repo
<elomatreb>
I think that's better IMO, mixing branches that actually don't have anything directly to do with a software into the repo seems like bad practice to me
<RickHull>
yep, gh-pages is kind of the real hack
<RickHull>
rtomayko pls halp
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
<RickHull>
ah, it looks like I can/should publish from master
uZiel has quit [Ping timeout: 248 seconds]
jamesaxl has quit [Ping timeout: 255 seconds]
gix has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
<RickHull>
I think that's a relatively newer feature; either you publish everything under master, or everything under master's docs/ subdir
shinnya has quit [Ping timeout: 255 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kn-928 has quit [Ping timeout: 255 seconds]
gix has joined #ruby
cagmz has joined #ruby
dviola has joined #ruby
cagmz_ has joined #ruby
cagmz has quit [Ping timeout: 240 seconds]
mjolnird has joined #ruby
bronson has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cadillac_ has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
bronson has quit [Ping timeout: 258 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
kn-928 has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
guardianx has joined #ruby
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
mim1k has joined #ruby
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
__Yiota has joined #ruby
eckhardt has joined #ruby
alnewkirk has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
Apocalypse has quit [Remote host closed the connection]
kn-928 has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
mim1k has quit [Ping timeout: 255 seconds]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
alnewkirk has quit [Ping timeout: 260 seconds]
eckhardt has joined #ruby
cdg has quit [Remote host closed the connection]
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
alnewkirk has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
alnewkirk has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
Apocalypse has joined #ruby
ledestin has joined #ruby
apparition has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
lacour has quit [Quit: Leaving]
ramfjord has joined #ruby
AxelAlex has quit [Quit: AxelAlex]
pilne has quit [Quit: Quitting!]
mjolnird has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 248 seconds]
apparition has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
bronson has joined #ruby
guardianx has quit []
rexb0t has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Remote host closed the connection]
mson has quit [Quit: Connection closed for inactivity]
<matthewd>
?best impermanence
<ruby[bot]>
impermanence: "better" and "best" depend entirely on your context. Try to describe what quality would make one thing better than the other.
bronson has joined #ruby
<RickHull>
fastest, least resource consumption
<impermanence>
matthewd: fair enough
<RickHull>
golfiest too
eckhardt has joined #ruby
Guest97372 has joined #ruby
megamosaren has joined #ruby
megamosaren has quit [Client Quit]
postmodern has quit [Quit: Leaving]
eckhardt has quit [Client Quit]
bronson has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
RickHull has quit [Quit: Page closed]
_sfiguser has joined #ruby
yaewa has joined #ruby
blackmesa has joined #ruby
moei has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
raynold has quit [Quit: Connection closed for inactivity]
thejamespinto has quit [Ping timeout: 260 seconds]
A124 has quit [Read error: Connection reset by peer]
mjolnird has quit [Ping timeout: 246 seconds]
A124 has joined #ruby
megamos has quit [Ping timeout: 240 seconds]
nahra has quit [Remote host closed the connection]
bronson has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
dionysus69 has quit [Quit: dionysus69]
elementaru has joined #ruby
dionysus69 has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
DTZUZO has quit [Ping timeout: 248 seconds]
amigoo1123 has joined #ruby
consti has joined #ruby
cschneid_ has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
conta has quit [Ping timeout: 258 seconds]
nickjj_ is now known as nickjj
Injecti0n has joined #ruby
<Injecti0n>
hi
<al2o3-cr>
o/
alex`` has quit [Quit: WeeChat 1.9.1]
amigoo1123 has quit [Quit: Page closed]
alex`` has joined #ruby
tmm88 has joined #ruby
alex`` has quit [Client Quit]
alex`` has joined #ruby
<morfin>
if binary file has some structure is not it better to mmap it?
<morfin>
as example i has some TOC in the beginning of file and then N blocks(every block could have different size) i can mmap, read TOC and then access any block i need
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
tsglove has quit [Ping timeout: 255 seconds]
alex`` has quit [Quit: WeeChat 1.9.1]
cschneid_ has joined #ruby
bronson has joined #ruby
alex`` has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
Injecti0n has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 248 seconds]
kies has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
Ltem has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
tmm88 has quit [Quit: Lost terminal]
consti has quit [Quit: consti]
kies has joined #ruby
InfinityFye has joined #ruby
blackmesa has joined #ruby
apparition has joined #ruby
minimalism has quit [Quit: minimalism]
charliesome has joined #ruby
cschneid_ has joined #ruby
jamesaxl has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
InfinityFye has quit [Ping timeout: 240 seconds]
InfinityFye has joined #ruby
bronson has joined #ruby
alfiemax has joined #ruby
sepp2k has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
dionysus70 has joined #ruby
cschneid_ has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
dionysus70 is now known as dionysus69
cschneid_ has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
millerti has quit [Ping timeout: 240 seconds]
charliesome has quit [Client Quit]
gizmore has joined #ruby
jinie has quit [Ping timeout: 240 seconds]
jinie has joined #ruby
adam12 has left #ruby ["Leaving..."]
impermanence has joined #ruby
impermanence has quit [Client Quit]
ShalokShalom_ has joined #ruby
John__ has joined #ruby
John__ has quit [Read error: Connection reset by peer]
ShalokShalom has quit [Ping timeout: 240 seconds]
John__ has joined #ruby
ta has quit [Remote host closed the connection]
mjolnird has joined #ruby
rhyselsmore has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
cschneid_ has joined #ruby
bronson has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
nofxx has quit [Ping timeout: 255 seconds]
bronson has quit [Ping timeout: 248 seconds]
nofxx has joined #ruby
InfinityFye has quit [Quit: Leaving]
tristanp has joined #ruby
thinkpad has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
sepp2k1 has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
marcux has quit [Ping timeout: 255 seconds]
sepp2k has quit [Ping timeout: 240 seconds]
bruno-_ has quit [Ping timeout: 248 seconds]
ShalokShalom_ is now known as ShalokShalom
cschneid_ has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
fmcgeough has joined #ruby
marcux has joined #ruby
marcux has quit [Remote host closed the connection]
marcux has joined #ruby
edward_ has quit [Ping timeout: 246 seconds]
marcux has quit [Client Quit]
bruno- has joined #ruby
thejamespinto has joined #ruby
thejamespinto has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 240 seconds]
edward_ has joined #ruby
bruno- has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
bronson has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
jnj has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
<jnj>
Hey guys I'm having issues install ffi. I did just get a brand new laptop and I'm running linux mint, so I think I may be missing some basic stuff that I need.
<jnj>
I keep on getting an error saying "unable to make makefiles", but I already have gcc installed
edward_ has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
<jhass>
jnj: it should print you somewhere the path to mkmf.log, check it
<jhass>
(or gist it if it says nothing to you)
tamouse__ has joined #ruby
soc42 has joined #ruby
<jnj>
jhass: nice timing, I was just looking at it. At the top I have "package configuration for libffi is not found"
skweek has joined #ruby
<jhass>
do you have the libffi-dev package installed?
bruno- has joined #ruby
<jnj>
jhass: Nope, installing it now!
coderphive has joined #ruby
<jnj>
jhas
<jnj>
jhass: Now when trying out sudo gem install ffi I get the error: No such file or directory - getcwd
bruno- has quit [Read error: Connection reset by peer]
<jhass>
huh, did you manage to delete the folder your shell is in or something? :D
<jnj>
jhass: Nope haha
techn1cs has joined #ruby
<jnj>
jhass: Should I just rm the ffi folder and try gem install again?
<jnj>
I just want jekyll to work :`(
<jhass>
what ffi folder? :o
jrafanie has joined #ruby
<jnj>
the one here: /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/
<jhass>
could you gist the entire output of what you're doing?
troulouliou_div2 has joined #ruby
bruno- has joined #ruby
<jnj>
Sure!
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bruno- has quit [Read error: Connection reset by peer]
<jnj>
Do you know the right dir for me to install zlib? Does /usr/local/zlib work/
<jnj>
?
<jhass>
huh
<jhass>
it really really should be a package
<jhass>
maybe they finally fixed the name and it's libz-dev now?
* jhass
doesn't really use debian based systems anymore
<jnj>
jhass: Ayy that works. And what systems do you use now?
<jhass>
arch :)
<jnj>
jhass: Dude, I was literally about to guess that haha.
<jhass>
:P
<jnj>
how awesome is it? What machine do you program on?
alex`` has quit [Quit: WeeChat 1.9.1]
bruno- has joined #ruby
<jhass>
well this kind of stuff is largely personal preference, but it's incredibly stable for my type of usage, I even run it on all my personal servers by now
<jhass>
for work I have a mac but everything else is mac
<jhass>
is *arch, sigh
<jhass>
the main advantage I see is that the packaging system is so easy to learn, I never have to do that terrible sudo make install from that "tutorial" you linked anymore :P
bruno- has quit [Read error: Connection reset by peer]
<jnj>
Ahh, so pacman is that good?
<jhass>
let's say that simple ;)
<jnj>
I recently bought a used thinkpad t530 and I love it. I got it for $425 it has 8gb ram, ssd, and an i7 quadcore processor - things a beast!
alex`` has joined #ruby
cschneid_ has joined #ruby
<jnj>
jhass: I've thought about learning arch in the future, that level of configuration is sort of what I really like
shinnya has quit [Ping timeout: 255 seconds]
<jnj>
My love of configuration is what makes me use emacs
<jhass>
yeah, definitely worth if you want to understand the linux stack/know how your system comes together without going all LFS
<jhass>
if you just want it for the package manager and maybe the rolling release though go with antergos
bruno- has joined #ruby
reaVer has quit [Ping timeout: 248 seconds]
chopin has quit [Remote host closed the connection]
<jnj>
jhass: i tried out antergos before, I thought it was alright
cschneid_ has quit [Ping timeout: 246 seconds]
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
Devalo has joined #ruby
cagmz has joined #ruby
reaVer has joined #ruby
<cagmz>
what's the difference between these 2 Ruby methods? I don't understand why you would make this change. https://hastebin.com/tisapukoju.rb
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
<matthewd>
cagmz: They behave differently (on the second+ call) if get_bar returns nil or false
<cagmz>
matthewd, so in `foo`, `get_bar()` may return nil and assign it to @bar? where as in `other_foo`, once we get a non-nil value from `get_bar()` and assign it to `@bar`, we "protect it" by returning early if it is defined?
dionysus69 has quit [Remote host closed the connection]
<cagmz>
actually, that still doesn't make sense. in `foo`, we can get a non-nil value from `get_bar()` and on the second call, @bar would not be redefined by `get_bar()`
<matthewd>
Why not?
dionysus69 has joined #ruby
<cagmz>
because it is already defined? I thought ||= only redefines a variable if the variable is falsey
nahra has joined #ruby
bronson has joined #ruby
<cagmz>
on the first call to `foo`, `@bar` can be assigned a non-nil value by `get_bar()`. then on the second call, since `@bar` is already defined, `get_bar()` would not be called again. as far as I understand, anyways
<matthewd>
Sure. *If* get_bar returns a truthy value.
workmad3 has joined #ruby
snickers has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
snickers has quit [Client Quit]
workmad3 has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
__Yiota has joined #ruby
reaVer has quit [Ping timeout: 260 seconds]
skweek has quit [Ping timeout: 260 seconds]
mjolnird has quit [Quit: Leaving]
reaVer has joined #ruby
chopin has joined #ruby
Devalo has joined #ruby
rfoust has joined #ruby
thejamespinto has joined #ruby
blackmesa has joined #ruby
reaVer has quit [Ping timeout: 260 seconds]
__Yiota has quit [Max SendQ exceeded]
__Yiota has joined #ruby
Devalo has quit [Ping timeout: 255 seconds]
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
nofxx has joined #ruby
tenakoe has quit [Ping timeout: 255 seconds]
Devalo has quit [Ping timeout: 240 seconds]
Paraxial has quit [Ping timeout: 260 seconds]
impermanence has joined #ruby
pilne has quit [Quit: Quitting!]
lacour has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
<impermanence>
I have a one-liner that is returning a value that is double-quoted. I'm trying to then pass this value to a hash, but it doesn't correctly access the hash I suppose to the double quotes around my value. Where am I going wrong here?
guille-moe has joined #ruby
<impermanence>
*because of the double quotes, that should have read
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Paraxial has joined #ruby
<impermanence>
k, well change my hash keys to double-quoted instead of single has done the trick so far...
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
troulouliou_div2 has joined #ruby
reaVer has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
mson has quit [Quit: Connection closed for inactivity]