edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
ryanwinchester is now known as ryanw|away
x86-__ has joined #ruby
aupadhye has joined #ruby
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nanoz has joined #ruby
hayden_ has quit [Quit: Connection closed for inactivity]
kies^ has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
kirun has quit [Quit: Client exiting]
kirillzh has joined #ruby
jottr has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
Oog_ has joined #ruby
aupadhye has joined #ruby
aupadhye has quit [Client Quit]
kmckelvin has quit [Ping timeout: 264 seconds]
aupadhye has joined #ruby
lapide_viridi has quit [Quit: Leaving]
kmckelvin has joined #ruby
Azure has joined #ruby
ur5us has joined #ruby
Limix has quit [Quit: Limix]
karapetyan has joined #ruby
rubywarrior has joined #ruby
kmckelvin has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 250 seconds]
andrew_ has quit [Remote host closed the connection]
andrew has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
PlasmaStar has quit [Ping timeout: 260 seconds]
Limix has joined #ruby
Sucks has joined #ruby
ur5us has quit [Ping timeout: 272 seconds]
Jardayn has quit [Quit: Leaving]
Limix has quit [Client Quit]
beast has joined #ruby
stannard has joined #ruby
mistermocha has joined #ruby
ico has quit [Remote host closed the connection]
PlasmaStar has joined #ruby
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ebok has joined #ruby
stannard has quit [Ping timeout: 276 seconds]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TomyLobo has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Ping timeout: 248 seconds]
Limix has joined #ruby
avahey has joined #ruby
FooMunki has quit [Quit: FooMunki]
marr has quit [Remote host closed the connection]
johnmilton has quit [Ping timeout: 240 seconds]
johnmilton has joined #ruby
ElFerna_ has quit [Ping timeout: 260 seconds]
weemsledeux has joined #ruby
becker_11 has joined #ruby
<becker_11>
Hi, I'm very new to ruby and am trying to install a gem on macosx 10.11 but I'm encountering a write permisisions error which seems to be caused by changes to osx between this version and the last.
<becker_11>
I'd very much appreciate some insight into how ppl are resolving this issue?
Youngmathimus0 has quit [Ping timeout: 276 seconds]
sneakerhax has quit [Quit: back later]
<eam>
becker_11: you'll probably want to share the details of the error
<becker_11>
ERROR: While executing gem ... (Gem::FilePermissionError)
<becker_11>
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
kmckelvin has joined #ruby
Oog_ has quit []
podman has quit [Quit: Connection closed for inactivity]
<becker_11>
From searching online it appears to be related to System Integrity Protection which is a new thing in 10.11
<Ebok>
I've been able to write gems just fine in 10.11
duckpuppy has joined #ruby
<Ebok>
I realize that's not overly helpful to you
idefine has joined #ruby
<Ebok>
Just that it suggests it might be an edge case.
<becker_11>
Ebok: I get the same issues with Homebrew and have to run sudo chown every damn time I do anything
<Ebok>
Well yeah, I suspect they're all the exact same issue
<Ebok>
You or your current account isnt listed as the admin for those files.
<eam>
becker_11: you can set GEM_HOME to tell ruby to install gems somewhere else
<eam>
the path /Library is a system path, which will require root
<becker_11>
Ebok: stackover flow just mentioned giving up on the system ruby and installing a seperate instance with rbenv
<Ebok>
hm.
<eam>
yeah, going the way of a ruby manager is probably ideal
<eam>
or you can bundle
<eam>
bundler is a nice way to have different gemsets per application
rubywarrior has quit [Quit: rubywarrior]
floror has quit [Quit: floror]
<becker_11>
Normally I'd jump at the chance to install something from scratch but today is literaly the first time I've ever looked at Ruby so I have no idea what I'm doing
idefine has quit [Remote host closed the connection]
<eam>
(and then make sure to set GEM_HOME=$HOME/.gems always afterwards)
ryanw|away is now known as ryanwinchester
pandaant has quit [Remote host closed the connection]
<becker_11>
okay, trying it
Limix has quit [Quit: Limix]
<becker_11>
yep worked a treat
n00bdev has joined #ruby
<Ebok>
Actually I might as well ask. I've been playing around with my home setup, which up to now has been basically vanilla. And I've been installing gems as needed per instance of console that I ned it on. I haven't actually every change any default setting for my console, its display, or preloaded (or always loaded gems). The question: Does anyone here recommend certain changes that might be cool to look over? Things that you find make your life
<Ebok>
easier? Or simple know where I can get some solid instructions about how to setup these defaults myself.
<eam>
becker_11: put export GEM_HOME=$HOME/.gems in your .bashrc now
duckpuppy has quit [Ping timeout: 248 seconds]
rubywarrior has joined #ruby
<eam>
so it'll always be set
<eam>
becker_11: this is a hack - later, swap it out for rbenv
<eam>
that'll basically do what this does, but a whole lot more too
<becker_11>
eam: will do
mistermocha has quit []
<becker_11>
I found a install guide online but it's for installing ruby on rails with rbenv is that a different kind of ruby?
agent_white has quit [Ping timeout: 240 seconds]
<eam>
rbenv is a framework for managing multiple versions of ruby installed into your home directory
<eam>
it lets you have full control over what's going on, as well as not depending on system thing (which need sudo to modify)
<Ebok>
It'll work. You can always choose to stop when you get to rails. I'd just make sure you're getting the latest versions of them.
<rikai>
It's only somewhat tedious because i did a lot of output formatting that took quite a while to get it the way i liked it.
wwwbukolaycom has joined #ruby
aibot has quit [Remote host closed the connection]
dexter-tzu has joined #ruby
aibot has joined #ruby
sandstrom has joined #ruby
yfeldblu_ has joined #ruby
n00bdev has joined #ruby
benlieb has quit [Quit: benlieb]
becker_12 has quit [Ping timeout: 250 seconds]
dexter-tzu has quit [Ping timeout: 264 seconds]
beast has joined #ruby
becker_12 has joined #ruby
n00bdev has quit [Ping timeout: 240 seconds]
ysz has joined #ruby
infra-re_ has quit [Remote host closed the connection]
infra-red has joined #ruby
einarj has joined #ruby
edwinvdgraaf has joined #ruby
infra-re_ has joined #ruby
flughafen_ has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
jmdade has joined #ruby
infra-red has quit [Ping timeout: 240 seconds]
einarj has quit [Ping timeout: 240 seconds]
PlasmaStar has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
saneax_AFK is now known as saneax
infra-re_ has quit [Remote host closed the connection]
joonty1 has joined #ruby
kriskropd has quit [Ping timeout: 250 seconds]
LoneHerm_ has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
bronson has joined #ruby
blackmesa has joined #ruby
darkf has quit [Quit: Leaving]
al2o3-cr has joined #ruby
infra-red has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 256 seconds]
infra-red has quit [Client Quit]
OnePunchMan has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
DmitryBochkarev has joined #ruby
askhat has joined #ruby
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duckpuppy has joined #ruby
joonty1 has quit [Ping timeout: 272 seconds]
duckpuppy has quit [Ping timeout: 264 seconds]
nfk has joined #ruby
mdw has joined #ruby
chouhoulis has quit [Remote host closed the connection]
trinaldi has joined #ruby
ysz has quit [Quit: This computer has gone to sleep]
SCHAAP137 has joined #ruby
baweaver has quit [Remote host closed the connection]
saneax is now known as saneax_AFK
dexter-tzu has joined #ruby
pihpah has joined #ruby
nunchuck has quit [Ping timeout: 260 seconds]
n00bdev has joined #ruby
armyriad has quit [Ping timeout: 276 seconds]
armyriad has joined #ruby
n00bdev has quit [Ping timeout: 240 seconds]
grn has quit []
dexter-tzu has quit [Ping timeout: 240 seconds]
veleno has quit [Quit: veleno]
pandaant has joined #ruby
root1 has joined #ruby
root1 has left #ruby [#ruby]
h99h9h88 has joined #ruby
jottr has joined #ruby
nfk has quit [Ping timeout: 240 seconds]
veleno has joined #ruby
tatsuo has quit [Remote host closed the connection]
h99h9h88 has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
dionysus69 has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
RegulationD has quit [Ping timeout: 240 seconds]
tatsuo has joined #ruby
BTRE has quit [Ping timeout: 240 seconds]
bluOxigen_ has joined #ruby
bluOxigen has quit [Ping timeout: 248 seconds]
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
arup_r has joined #ruby
fantazo has joined #ruby
duckpuppy has joined #ruby
sauvin has joined #ruby
TomPeed has joined #ruby
veleno has quit [Quit: veleno]
duckpuppy has quit [Ping timeout: 272 seconds]
Xeago has joined #ruby
BTRE has joined #ruby
beast has quit [Quit: Leaving]
TomPeed has quit [Ping timeout: 272 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
LoneHermit has joined #ruby
nodejunkie has joined #ruby
chouhoulis has joined #ruby
astrofog has joined #ruby
m8 has joined #ruby
LoneHermit has quit [Ping timeout: 264 seconds]
codecop has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
n00bdev has joined #ruby
sandstrom has joined #ruby
rik_ has joined #ruby
sdothum has joined #ruby
n00bdev has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Ping timeout: 252 seconds]
mickey_mouse has quit [Ping timeout: 240 seconds]
nodejunkie has quit [Ping timeout: 252 seconds]
mickey_mouse has joined #ruby
sepp2k has joined #ruby
Ebok has joined #ruby
dagda1_ has joined #ruby
theRealAlexz has quit [Ping timeout: 260 seconds]
theRealAlexz has joined #ruby
kriskropd has joined #ruby
TomyLobo has joined #ruby
ferr has joined #ruby
floror has quit [Quit: floror]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
framling has quit [Ping timeout: 264 seconds]
Majornikku has joined #ruby
<Majornikku>
Evening!
mdw has quit [Quit: Sleeping Zzzzz]
dlitvak has joined #ruby
x86-__ has quit [Read error: Connection reset by peer]
BaroMeter has joined #ruby
sshuriu has joined #ruby
<Majornikku>
sorry to trouble you fine folks, I am new to ruby (learning by fire lol) I am for my first project tackling a auto script its basically gonna grab info from a site (requires HTTPS and auth.) parses it for redundant info and then pastes it on the screen and then throws it in a chat. I am having issue figuring out the authentication part, after 3 hours of kncoking my head into my monitor i've decided to ask for an assist.
BaroMeter has quit [Client Quit]
shuriu has quit [Ping timeout: 252 seconds]
<Majornikku>
Here is the Gist link. i had it to a point where i would get an "response_authenticate" message but sadly affter googling and doing research i have sadly likely done more harm than good. :( https://gist.github.com/anonymous/fc2bf9448e3cceb99aca
dlitvak_ has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
askhat has quit [Read error: Connection reset by peer]
askhat_ has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
ohaibbq has joined #ruby
ponga has joined #ruby
rikkipitt has joined #ruby
<shevy>
dataset.rb:1737: warning: instance variable @invalid_keys not initialized
<shevy>
I am using a check such as: if instance_variable_get '@invalid_keys'
<shevy>
is there a way to not trigger the warning?
sandstrom has joined #ruby
duckpuppy has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
symm- has quit [Ping timeout: 250 seconds]
<yorickpeterse>
shevy: set the ivar to nil in #initialize
<shevy>
ah
<yorickpeterse>
the warning is quite silly really
<shevy>
interesting that fixed it, thanks yorickpeterse
zeroDivisible has quit [Quit: WeeChat 1.3]
symm- has joined #ruby
graffix222 has quit [Read error: Connection reset by peer]
patchedmonkey has joined #ruby
graffix222 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
<shevy>
Majornikku you can save gists via a trailing .rb by the way, then you get colour highlighting for free on your code-specific gists. On the topic itself I know nothing about authentication; I am also not sure if anyone else can infer from the gist alone what the problem is unless they also already went through authentication, which I would assume that the people on #rubyonrails may know more about than the #r
<shevy>
uby folks
chouhoulis has quit [Ping timeout: 252 seconds]
<rikai>
There we go, rewrote it all from scrach. :)
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrofog has quit [Quit: Quite]
patchedmonkey has joined #ruby
n00bdev has joined #ruby
<aep>
how do i parse this date correctly? Date.strptime("09-FEB-16", '%d-%^b-%y')
baweaver has quit [Ping timeout: 256 seconds]
<Majornikku>
I see. Thanks for the tip! Ill wait on it unless anyone else has any ideas or tips? Ill just hang here and learn something and then sleep on it and give it another shot :).
<shevy>
aep hmm I get invalid date
<aep>
yeah me too
<aep>
but i dont understand why
<shevy>
I guess the date must be valid, so either it must be FEB or 16 ...
<ilhami>
I just need to find a nice project to work on man. :/
saneax_AFK is now known as saneax
cajone has quit [Ping timeout: 248 seconds]
LoneHermit has quit [Ping timeout: 260 seconds]
mondok has quit [Read error: Connection reset by peer]
<platzhirsch>
Let's say I have a class Transaction with an attribute amount and child (another transaction). How can I neatly sum up all amounts without using a while loop
<platzhirsch>
Yeah I see your point in delegating it to a class method making it recursive there
atomical has joined #ruby
jxs_ has quit [Remote host closed the connection]
<jhass>
the obvious limitation is the stacksize
<platzhirsch>
that's what reduces the complexity the most I guess I was just interested in doing that loop with a functional-like method, but maybe that's pointless :)
n00bdev has quit [Ping timeout: 252 seconds]
nullguru has joined #ruby
dlitvak_ has quit [Ping timeout: 260 seconds]
nullguru has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
ysz has quit [Quit: This computer has gone to sleep]
ferr has quit [Ping timeout: 252 seconds]
pandaant has quit [Remote host closed the connection]
Xeago has joined #ruby
<platzhirsch>
something like transaction.unfold(&:parent) is what I am looking for I guess
<jhass>
which would just hide your loop but be implemented the same way
<platzhirsch>
exactly.. yeah
<platzhirsch>
booo
<platzhirsch>
no silver bullet
ysz has joined #ruby
karapetyan has joined #ruby
dlitvak has joined #ruby
Jackneill has joined #ruby
domgetter has joined #ruby
<platzhirsch>
man, how do I start my blog post now. I have to reference Haskell I guess
ljames has quit []
<shevy>
reference something to monads, such as the detection and experimental confirmation of the existance of gravitation waves
<platzhirsch>
Well, your parents implementation basically showed how pointless it is and that the whole thing should be delegated this way
pickandmix has joined #ruby
mrfooo has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
troulouliou_dev has joined #ruby
dlitvak has quit [Ping timeout: 252 seconds]
ysz has quit [Quit: This computer has gone to sleep]
<ilhami>
shevy, give me some resources man.. what book should I read?
ferr has joined #ruby
<shevy>
ilhami you wanted to learn ruby in 2014 and you did not start back then so it will be futile now, the train has rolled away already, it is too late
scripore has quit [Quit: This computer has gone to sleep]
<ilhami>
why is it too late?
<pushcx>
platzhirsch: can a child transaction have a child transaction?
<domgetter>
You only need to define #each to "implement" Enumerable
<platzhirsch>
domgetter: kind of yeah, so it continues
adgtl has joined #ruby
adgtl has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
TomyLobo has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 256 seconds]
<ilhami>
I am trying codeacademy.
askhat has quit [Read error: Connection reset by peer]
askhat_ has joined #ruby
godzillaenlacasa has joined #ruby
<platzhirsch>
So, that's the best I could think of sum = lambda { |t| t ? t.amount + sum.call(t.parent) : 0 }
<platzhirsch>
Lambda to the rescue
<platzhirsch>
but that's more of a party trick
<platzhirsch>
and my colleagues would kill me if I would use something like that over let's say what jhass proposed
sgambino has joined #ruby
<pushcx>
platzhirsch: transactionss.flat_map { |t| transactions << t.parent if t; t }.uniq.compact.inject(0) { |total, t| total + t.amount }
davedev24 has quit [Remote host closed the connection]
<pushcx>
(assuming transactions is an array with child transactions... and you don't care about anyone ever understanding it)
<platzhirsch>
yeah…
sandstrom has joined #ruby
fantazo has quit [Ping timeout: 240 seconds]
<platzhirsch>
How should we name this? Travering your objects in the most obfuscated way?
<platzhirsch>
Traversing the functional way?
<pushcx>
traversing your objects when you have to half-ass it because you can't express them monoidally?
ferr has quit [Ping timeout: 256 seconds]
duckpuppy has joined #ruby
<ilhami>
Ruby is easy :D I already learned it
sandstrom has quit [Quit: My computer has gone to sleep.]
aryaching has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 250 seconds]
<ilhami>
first lesson done
<platzhirsch>
Also what's annoying about my lambda, stack size will bite me here too
<pushcx>
platzhirsch: how deeply do you expect to nest transactions?
adgtl has joined #ruby
<platzhirsch>
very deeply, liek 23m nested transactions
troulouliou_dev has joined #ruby
<platzhirsch>
No, you're right. It's usually not a problem
<platzhirsch>
but I am just looking at concepts really
<domgetter>
platzhirsch: May I ask why you're deciding this abstraction over another? Perhaps a transaction not knowing anything about parents or children would be more suitable?
<platzhirsch>
yeah
Xeago has quit [Remote host closed the connection]
<domgetter>
Cause I mean, traditionally, a list of transactions forms a ledger, and those transactions are in (hopefully) chronological order, but that order isn't imposed by transaction-linking
<ilhami>
=begin What's up Shevy? =end
<domgetter>
but far be it from me to speculate your use case or needs in general
quakephil has joined #ruby
chouhoulis has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
andrewvos has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<pushcx>
It says 'ary', but really, it'll work on any collection that exposes `.each`
<pushcx>
platzhirsch: Fun little puzzle, thanks for sharing it. :)
platzhirsch has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 260 seconds]
akem has quit [Remote host closed the connection]
domgetter has quit []
flughafen_ has quit [Ping timeout: 240 seconds]
tatsuo has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
<pushcx>
There's one of my favorite recursion tricks in there, btw. By making the test amounts powers of two, I get more info out of failures because every response is unique. First run I got 12 and it obviously meant I hadn't recursed up the parent chain...
n00bdev has joined #ruby
adgtl_ has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
adgtl has quit [Read error: No route to host]
edwinvdgraaf has joined #ruby
johnmilton has quit [Ping timeout: 272 seconds]
<shevy>
ilhami great, you discovered how to add comments
n00bdev has quit [Ping timeout: 240 seconds]
<ilhami>
hahahaha
<ilhami>
hey that's a step in the right direction. :P don't be so negative
DmitryBochkarev has joined #ruby
patchedmonkey has joined #ruby
<ilhami>
it reminds me of Python :D
<ilhami>
but I like it.
scripore has quit [Quit: This computer has gone to sleep]
<jhass>
well, that comment style is actually discouraged by most people
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
<ilhami>
what should I use instead?
<ilhami>
I meant the language in general reminds me of python
<ilhami>
not the comments lol
<ilhami>
I hate $this
<ilhami>
:D
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pushcx>
I bet CodeAcademy will teach you more comments in a later lesson.
ferr has joined #ruby
karapetyan has joined #ruby
<ilhami>
and also no semicolons is nice :D
Ebok has joined #ruby
<shevy>
perhaps you can even embed a whole program in the comments subsection :D
blackmesa has quit [Ping timeout: 240 seconds]
<shevy>
you can put arbitrary stuff after __END__
tatsuo has joined #ruby
<jhass>
do you also know how to read that stuff then?
<ilhami>
jhass, I am still at unit 1 lol
<ilhami>
I am learning about prompting the user now
<ilhami>
you use gets
johnmilton has joined #ruby
<shevy>
now you know how to obtain user input
<ilhami>
yeah.
<jhass>
I'm rather asking shevy since they mentioned __END__
karapetyan has quit [Remote host closed the connection]
<shevy>
yeah
<ilhami>
oh sorry :D
mdw has quit [Quit: Sleeping Zzzzz]
dmolina has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
RegulationD has joined #ruby
sgambino has joined #ruby
postmodern has quit [Quit: Leaving]
dmolina has quit [Client Quit]
flughafen_ has joined #ruby
askhat_ has quit [Read error: Connection reset by peer]
askhat has joined #ruby
iooner has quit [Ping timeout: 252 seconds]
mondok has quit [Ping timeout: 250 seconds]
<ilhami>
I will go rest a bit and start again later.
Sucks has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
iooner has joined #ruby
rikkipitt has quit [Remote host closed the connection]
dexter-tzu has quit [Ping timeout: 240 seconds]
txd has quit [Quit: leaving]
karapetyan has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
andrewvos has quit [Ping timeout: 272 seconds]
DChapman has joined #ruby
sepp2k has quit [Ping timeout: 248 seconds]
davedev24 has joined #ruby
tk__ has quit [Quit: ばいばい]
mary5030 has quit [Remote host closed the connection]
nettoweb has joined #ruby
karapetyan has quit [Remote host closed the connection]
silicio has joined #ruby
intrigueD has quit [Remote host closed the connection]
davedev24 has quit [Ping timeout: 260 seconds]
duckpuppy has joined #ruby
rikkipitt has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacstewart has joined #ruby
duckpuppy has quit [Ping timeout: 252 seconds]
Majornikku has quit [Ping timeout: 252 seconds]
_ht has quit [Ping timeout: 264 seconds]
_ht has joined #ruby
p1k has quit [Ping timeout: 248 seconds]
edwinvdgraaf has joined #ruby
Xeago has joined #ruby
sepp2k has joined #ruby
Kalem has joined #ruby
johnmilton has quit [Remote host closed the connection]
chouhoulis has joined #ruby
_ht has quit [Read error: Connection reset by peer]
johnmilton has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
_ht has joined #ruby
Xeago has quit [Ping timeout: 248 seconds]
william3 has joined #ruby
andrewvos has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
<Ox0dea>
rikai: Is it better than before? :)
n00bdev has joined #ruby
gregf has joined #ruby
adgtl_ has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 272 seconds]
zacstewart has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
silicio has quit [Remote host closed the connection]
_ht has quit [Ping timeout: 252 seconds]
_ht has joined #ruby
n00bdev has quit [Ping timeout: 240 seconds]
PlasmaStar has quit [Ping timeout: 260 seconds]
idefine has joined #ruby
pickandmix has quit [Quit: WeeChat 1.4]
pickandmix has joined #ruby
PlasmaStar has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
Terens has joined #ruby
<Terens>
hello
DmitryBochkarev has joined #ruby
<Terens>
Is there a tool that converts html to pdf but with page / orientation for each page / size etc ?
<Terens>
I dont know how convertapi.com for example manages to convert even ms word files perfectly and in open source world there is nothing at all
_ht has quit [Ping timeout: 256 seconds]
godzillaenlacasa has quit [Quit: ZZZZZ....]
dlitvak has joined #ruby
arlek has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
h99h9h88 has joined #ruby
_ht has joined #ruby
B1n4r10 has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
h99h9h88 has quit [Ping timeout: 240 seconds]
x77686d has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
Kallis has joined #ruby
andrewvos has quit [Ping timeout: 276 seconds]
tenderlove has joined #ruby
glcx has joined #ruby
arthropododo has joined #ruby
rik_ has quit [Quit: rik_]
scripore has joined #ruby
scripore has quit [Max SendQ exceeded]
scripore has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
alexherbo2 has quit [Quit: WeeChat 1.4]
glcx has quit [Quit: Quitte]
glcx has joined #ruby
bronson has joined #ruby
kirun has joined #ruby
tatsuo has quit [Remote host closed the connection]
_ht has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
_ht has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
rikkipitt has quit [Remote host closed the connection]
mdw has joined #ruby
duckpuppy has quit [Ping timeout: 256 seconds]
rikkipitt has joined #ruby
thomasfedb has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
sondr3 has joined #ruby
glcx has quit [Quit: Quitte]
intrigueD has joined #ruby
OnePunchMan has quit [Quit: Connection closed for inactivity]
thomasfedb has joined #ruby
thomasfedb has quit [Changing host]
thomasfedb has joined #ruby
flughafen_ has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby
flughafen_ has joined #ruby
Sembei has joined #ruby
davedev24 has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
n00bdev has joined #ruby
<shevy>
Terens I have not found a good solution myself. I usually end up using wkhtmltopdf - the net result is not overly beautiful but it sorta works
karapetyan has quit [Remote host closed the connection]
kirillzh has joined #ruby
rsc___ has joined #ruby
n00bdev has quit [Ping timeout: 250 seconds]
Timberwo|f has joined #ruby
lxsameer has quit [Quit: Leaving]
johnmilton has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
andrewvos has joined #ruby
benlieb has quit [Quit: benlieb]
chouhoulis has joined #ruby
betafive has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 256 seconds]
Oog_ has joined #ruby
william3 has joined #ruby
n00bdev has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
floror has quit [Quit: floror]
whiteline has quit [Ping timeout: 245 seconds]
rsc___ has quit [Quit: rsc___]
dongiedong has joined #ruby
baweaver has quit [Ping timeout: 240 seconds]
B1n4r10 has joined #ruby
william3 has quit [Remote host closed the connection]
pawnbox has joined #ruby
<shevy>
if I have a module Foo; class Bar, and I want to make Bar become available on the toplevel namespace, I can do: Object.const_set 'Bar', Foo::Bar
antgel has quit [Ping timeout: 250 seconds]
<shevy>
which works. but is there another way to achieve the same?
rubywarrior has quit [Quit: rubywarrior]
<adaedra>
include Foo
william3 has joined #ruby
<adaedra>
Bar = Foo::Bar
<shevy>
ah yes that is simpler
<adaedra>
(if you don't want to bring all Foo)
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby
n00bdev has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
B1n4r10 has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
rubywarrior has joined #ruby
weemsledeux has joined #ruby
antgel has joined #ruby
speakingcode has quit [Ping timeout: 240 seconds]
yatish27 has quit [Ping timeout: 250 seconds]
DEA7TH has quit [Quit: DEA7TH]
volty has joined #ruby
ysz has quit [Quit: This computer has gone to sleep]
kam270 has quit [Ping timeout: 264 seconds]
yatish27 has joined #ruby
speakingcode has joined #ruby
Timberwo|f has quit [Quit: Sleep.]
h99h9h88 has joined #ruby
adgtl_ has quit [Remote host closed the connection]
beawesomeinstead has quit [Ping timeout: 252 seconds]
amclain has joined #ruby
blackmesa has joined #ruby
rubywarrior has quit [Quit: rubywarrior]
rkazak has joined #ruby
beawesomeinstead has joined #ruby
chouhoulis has joined #ruby
rubywarrior has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
tectonic has joined #ruby
h99h9h88 has quit [Ping timeout: 256 seconds]
becker_12 has quit [Ping timeout: 252 seconds]
rbennace_ has quit [Remote host closed the connection]
camillo has joined #ruby
atomical has quit [Ping timeout: 252 seconds]
rbennacer has joined #ruby
andrewvos has quit [Ping timeout: 250 seconds]
theastrowolfe has quit [Ping timeout: 250 seconds]
johnmilton has quit [Quit: Namaste]
antgel has quit [Ping timeout: 248 seconds]
sol_ has quit [Ping timeout: 240 seconds]
camillo is now known as sol_
askhat has quit [Client Quit]
atomical has joined #ruby
askhat has joined #ruby
atmosx has joined #ruby
gizmore has joined #ruby
antgel has joined #ruby
rbennacer has quit [Ping timeout: 248 seconds]
sts__ is now known as sts
zeroDivisible has joined #ruby
becker_12 has joined #ruby
ysz has joined #ruby
shredding has quit [Ping timeout: 248 seconds]
ysz has quit [Client Quit]
arlek has joined #ruby
karapetyan has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
malconis has joined #ruby
volty has quit [Quit: Konversation terminated!]
fantazo has joined #ruby
karapetyan has quit [Ping timeout: 272 seconds]
m8 has quit [Quit: Sto andando via]
darkf has joined #ruby
arlek has quit [Ping timeout: 276 seconds]
<tectonic>
Does anyone know why Foreman always sets it's own $PORT variable and ignores anything set in the .env file?
RegulationD has joined #ruby
karapetyan has joined #ruby
<jhass>
because it's "opinionated"
RegulationD has quit [Ping timeout: 256 seconds]
rubywarrior has quit [Quit: rubywarrior]
karapetyan has quit [Client Quit]
duckpuppy has joined #ruby
rubywarrior has joined #ruby
<tectonic>
so i'm learning
johnmilton has joined #ruby
<atmosx>
tectonic: are you using foreman with heroku/puma or standalone?
Oog_ has quit []
<Ox0dea>
Docker, looks like.
zast has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
<kaleido>
docker is awesome
rubywarrior has quit [Client Quit]
duckpuppy has quit [Ping timeout: 240 seconds]
<Ox0dea>
But fragmentation fosters evolution!
johnmilton has quit [Client Quit]
<shevy>
evolution fosters extinction!
karapetyan has joined #ruby
rubywarrior has joined #ruby
<Ox0dea>
Extinction fosters a regression to the mean!
<kaleido>
if i develop a mutant ability i hope its being able to do whatever i want
dlitvak has quit [Ping timeout: 240 seconds]
yatish27 has quit [Ping timeout: 250 seconds]
rubywarrior has quit [Client Quit]
johnmilton has joined #ruby
<Ox0dea>
The universe just wants to implode. Hydrogen be like, "Well, shit, here we go again."
mdw has joined #ruby
wanderer has quit [Changing host]
wanderer has joined #ruby
rubywarrior has joined #ruby
Xeago has joined #ruby
n00bdev has joined #ruby
<tectonic>
atmosx: both. docker, heroku, and command line, it's an OSS application
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
boshhead has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
Lildirt has quit [Ping timeout: 272 seconds]
kingsler has joined #ruby
rubywarrior has quit [Client Quit]
HammyJammy has quit [Read error: Connection reset by peer]
TDJACR has quit [Ping timeout: 240 seconds]
danielpk has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
Lildirt has joined #ruby
nunchuck has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
rubywarrior has joined #ruby
Channel6 has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
ruby-lang435 has joined #ruby
rubywarrior has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
TDJACR has joined #ruby
amclain has quit [Quit: Leaving]
askhat has quit [Read error: Connection reset by peer]
Ebok has quit [Quit: This computer has gone to sleep]
askhat has joined #ruby
rubywarrior has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kith has quit [Quit: kith]
rubywarrior has quit [Client Quit]
aphprentice has quit [Quit: Connection closed for inactivity]
sankaber has joined #ruby
pickandmix has quit [Quit: WeeChat 1.4]
rubywarrior has joined #ruby
intrigueD has quit [Remote host closed the connection]
dopamean1 has joined #ruby
pickandmix has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
danielpk has quit [Quit: danielpk]
rubywarrior has quit [Client Quit]
fedexo has joined #ruby
B1n4r10 has joined #ruby
dopamean_ has quit [Ping timeout: 264 seconds]
mondok has joined #ruby
rubywarrior has joined #ruby
weemsledeux has joined #ruby
Jackneill has quit [Quit: Leaving]
tectonic has quit [Ping timeout: 260 seconds]
Spleeze has quit [Ping timeout: 250 seconds]
agentmeerkat has quit [Ping timeout: 240 seconds]
dseitz has joined #ruby
DEA7TH has joined #ruby
tectonic has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
gregf has joined #ruby
<hays>
what is the most appropriate way to have class definitions/implementations in separate files?
<hays>
put them in lib/ and then require them in some main file?
duckpuppy has joined #ruby
<tectonic>
sure
Spleeze has joined #ruby
aryaching has quit []
amoeba has quit [Quit: Leaving]
ferr has joined #ruby
h99h9h88 has joined #ruby
B1n4r10 has quit [Ping timeout: 248 seconds]
B1n4r10 has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
Channel6 has quit [Quit: Leaving]
Youngmathimus0 has joined #ruby
h99h9h88 has quit [Remote host closed the connection]
djellemah_ has joined #ruby
dlitvak has quit [Ping timeout: 264 seconds]
centrx has joined #ruby
blackmesa has joined #ruby
dlitvak has joined #ruby
ruby-lang435 has quit [Ping timeout: 252 seconds]
dlitvak has quit [Ping timeout: 252 seconds]
pickandmix has quit [Quit: WeeChat 1.4]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby
crime has quit [Ping timeout: 252 seconds]
dongiedong is now known as dongie`aw
zacstewart has quit [Ping timeout: 260 seconds]
einarj has joined #ruby
x77686d has quit [Quit: x77686d]
becker_12 has quit [Ping timeout: 248 seconds]
yatish27 has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
Aviio has joined #ruby
platzhirsch has left #ruby [#ruby]
floror has joined #ruby
doublemalt_ has joined #ruby
x77686d has joined #ruby
x77686d has quit [Client Quit]
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
doublemalt__ has quit [Ping timeout: 264 seconds]
ellistaa has joined #ruby
<ellistaa>
if someone says ‘namespace it’ does that mean just put it in a modele or class?
binaryplease has joined #ruby
<ellistaa>
module
bluOxigen has quit [Ping timeout: 256 seconds]
dlitvak has joined #ruby
<centrx>
ellistaa, module
<ellistaa>
centrx: why not class also
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ellistaa>
wikipedia says ‘A namespace in computer science (sometimes also called a name scope), is an abstract container or environment created to hold a logical grouping of unique identifiers or symbols (i.e. names). An identifier defined in a namespace is associated only with that namespace.'
jsaak has joined #ruby
djellemah_ has quit [Quit: Leaving]
<centrx>
A class is a module with additional functionality that is not needed for a namespace
<jhass>
ellistaa: don't use a class if you don't need to instantiate it
<ellistaa>
centrx: got it. thanks you
<ellistaa>
jhass: got it. we never instantiate a module do we? we just use it ..?
Ebok has joined #ruby
<centrx>
or it uses us
<ellistaa>
oh!!!
<jhass>
>> module Foo; end; Foo.new
<ruby[bot]>
jhass: # => undefined method `new' for Foo:Module (NoMethodError) ...check link for more (https://eval.in/518337)
<jhass>
you can't instantiate a module
<ellistaa>
jhass: cool thanks
william3 has quit [Remote host closed the connection]
rubywarrior has quit [Quit: rubywarrior]
ocbtec has quit [Quit: leaving]
sneakerhax has joined #ruby
moeabdol2 has joined #ruby
veleno has quit [Ping timeout: 276 seconds]
moeabdol1 has quit [Ping timeout: 240 seconds]
dlitvak has quit [Remote host closed the connection]
Kallis has quit [Read error: Connection reset by peer]
malconis has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has quit [Remote host closed the connection]
infernix has quit [Ping timeout: 256 seconds]
<Ox0dea>
ellistaa: You might have "initialize" and "instantiate" conflated.
malconis has quit [Remote host closed the connection]
<Ox0dea>
Initialization is the main ingredient of instantiation, to be sure, but they are slightly different things.
<ellistaa>
Ox0dea: thanks
idefine has joined #ruby
<ellistaa>
Ox0dea: i started reading that book about computation that you recommended. dense shit
<Ox0dea>
Er, SICP or Tom Stuart's one?
<ellistaa>
tom stuarts
<Ox0dea>
Hm... I guess "dense" fits. :P
s2013 has joined #ruby
<ellistaa>
lol
<Ox0dea>
It's pretty good. Please don't inherit from Struct, though.
karapetyan has joined #ruby
zenlot1 is now known as zenlot
baweaver has joined #ruby
nettoweb has joined #ruby
william3 has joined #ruby
nettoweb has quit [Client Quit]
nunchuck has quit [Ping timeout: 260 seconds]
malconis has joined #ruby
azure32 has joined #ruby
infernix has joined #ruby
kingsler has quit [Quit: This computer has gone to sleep]
karapetyan has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
Bloomer has quit []
william3 has quit [Ping timeout: 240 seconds]
kingsler has joined #ruby
<apeiros>
Ox0dea: hm? why? because passing a block to Struct.new is better?
duckpuppy has joined #ruby
<jhass>
because it doesn't create a unused intermediate class
<apeiros>
so ^ then?
<jhass>
oh, sounded a bit sarcastic :)
konsolebox has quit [Remote host closed the connection]
idefine has quit [Ping timeout: 240 seconds]
<apeiros>
I should -c so we can use colors to indicate sarcasm :)
<baweaver>
safer to assume it for Ox0dea, and puns from me
azure32 has quit [Ping timeout: 256 seconds]
LoneHerm_ has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
there's rubygems-update which is a gem that installs rubygems
gizmore has quit [Ping timeout: 248 seconds]
<kireevco>
If you look at it, gem dependency is an indirect way of installing gems via rubygem
<kireevco>
Incapacitation of some sort
<Ox0dea>
Jeweler is dead and RubyGems isn't a gem (anymore).
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
<Ox0dea>
Anyway, I mistook kireevco's intent; I thought they were trying to bash the ecosystem.
<Ox0dea>
I got a "look at all these gems I didn't ask for" kind of vibe.
pawnbox has joined #ruby
sneakers has joined #ruby
sneakerhax has quit [Ping timeout: 252 seconds]
nunchuck has quit []
nunchuck has joined #ruby
wolffles has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- is now known as robholymm
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nunchuck has left #ruby [#ruby]
nettoweb has joined #ruby
user083 has quit [Ping timeout: 240 seconds]
gizmore has joined #ruby
dexter-tzu has joined #ruby
binaryplease has quit [Ping timeout: 260 seconds]
robholymm is now known as symm-
gizless has quit [Ping timeout: 240 seconds]
binaryplease has joined #ruby
al2o3-cr has quit [Ping timeout: 272 seconds]
gizmore has quit [Ping timeout: 276 seconds]
rubywarrior has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oivoodoo has joined #ruby
<shevy>
one gem to bind them
<Ox0dea>
ActiveSupport.
hinbody has quit [Ping timeout: 250 seconds]
dongie`aw has quit []
mfb2 has joined #ruby
ellistaa has quit [Quit: ellistaa]
LoneHerm_ has joined #ruby
ellistaa has joined #ruby
yatish27 has joined #ruby
nunchuck has joined #ruby
Xeago has joined #ruby
mfb2 has quit [Remote host closed the connection]
jottr has joined #ruby
pawnbox has joined #ruby
DChapman has quit [Remote host closed the connection]
Averna has joined #ruby
<apeiros>
Ox0dea: you're longing for ActiveGem, I know it
<shevy>
ActiveSleep
rakm has joined #ruby
zacstewart has joined #ruby
ilhami has quit [Quit: Leaving]
rubywarrior has quit [Quit: rubywarrior]
dlitvak has joined #ruby
yatish27 has quit [Ping timeout: 260 seconds]
<Ox0dea>
apeiros: What would ActiveGem do?
<apeiros>
provide you with talking material, for whichever reason :D
<shevy>
lol
Xeago has quit [Ping timeout: 272 seconds]
<Ox0dea>
shevy: Could you explain the joke?
dlitvak_ has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
Averna has quit [Ping timeout: 276 seconds]
[gmi] has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
dlitvak has quit [Ping timeout: 248 seconds]
nodejunkie has joined #ruby
sergey_makagon has joined #ruby
<shevy>
Ox0dea jokes must never be explained!
<wolffles>
im having trouble finding a method that i can use to compare 2 consecuitive values and return it only if all the pairs match
<shevy>
waffles! you are back
Averna has joined #ruby
<Ox0dea>
wolffles: #each_cons!
<jhass>
each_cons.all? specifically
zenlot1 has joined #ruby
duckpuppy has joined #ruby
<Ox0dea>
It'd be nice if #each_cons used 2 as the default.
sandstrom has joined #ruby
<jhass>
indeed
zenlot has quit [Ping timeout: 240 seconds]
mkosaki_ has quit [Quit: Leaving...]
postmodern has joined #ruby
[gmi] has quit [Quit: Leaving]
<Ox0dea>
wolffles: On second thought, you probably want #each_slice.
kaleido has quit [Changing host]
kaleido has joined #ruby
arlek has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
eugenn has joined #ruby
mdw has joined #ruby
<wolffles>
nah each_cons is what i need
<wolffles>
{|x| x< ?}
sneakerhax has joined #ruby
sergey_makagon has quit [Remote host closed the connection]
<wolffles>
how do i compare the two
Lildirt has quit [Ping timeout: 240 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
<Ox0dea>
wolffles: But you said you want to return whether all the pairs match?
sergey_makagon has joined #ruby
oivoodoo has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
sneakers has quit [Ping timeout: 248 seconds]
oivoodoo has joined #ruby
<Ox0dea>
`foo.each_cons(2).all? { |a, b| a == b }` is just `foo.uniq.size == 1`.
Ebok has joined #ruby
veleno has joined #ruby
<wolffles>
so ary.each_cons(2) { #check if x < y}.all? true
nunchuck has quit []
hinbody has joined #ruby
<wolffles>
thats what im trying to do :D
<jhass>
could be interesting to benchmark against ary.sort == ary
solocshaw has joined #ruby
<wolffles>
oh no i got it
<wolffles>
ary.each_cons(2).all?{|a.b| a < b }
sergey_makagon has quit [Ping timeout: 252 seconds]
nofxx has quit [Ping timeout: 250 seconds]
<Ox0dea>
Are you writing Bubble sort? :P
rizenine has joined #ruby
camilasan has joined #ruby
whiteline has joined #ruby
<wolffles>
its called ordered vowels
Jardayn has joined #ruby
Sucks has quit [Ping timeout: 240 seconds]
Sucks has joined #ruby
hinbody has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
floror has quit [Quit: floror]
pickandmix has quit [Ping timeout: 252 seconds]
<Ox0dea>
Like "facetious" and "fragmentitious"?
nunchuck has joined #ruby
zacstewart has quit [Ping timeout: 252 seconds]
camilasan has quit [Ping timeout: 272 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
<wolffles>
yes those pass :P
kaynw80 has joined #ruby
zacstewart has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
graphettion has joined #ruby
<shevy>
factecious is a difficult word
dlitvak_ has quit [Ping timeout: 272 seconds]
antgel has quit [Ping timeout: 272 seconds]
<Ox0dea>
wolffles: What about "cats"?
arlek has quit [Ping timeout: 256 seconds]
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
x77686d has joined #ruby
<wolffles>
end
<wolffles>
oops
Spami has joined #ruby
zacstewart has quit [Ping timeout: 272 seconds]
hinbody has joined #ruby
ElFerna_ has joined #ruby
kaynw80 has left #ruby [#ruby]
arescorpio has joined #ruby
camilasan has joined #ruby
oivoodoo has quit [Remote host closed the connection]
pandaant has quit [Quit: Lost terminal]
centrx has quit [Quit: If you meet the Buddha on the road, kill him.]
pandaant has joined #ruby
ellistaa has quit [Quit: ellistaa]
ellistaa has joined #ruby
nunchuck has quit []
ellistaa has quit [Client Quit]
al2o3-cr has quit [Quit: WeeChat 1.4]
al2o3-cr has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Lildirt has joined #ruby
yatish27 has joined #ruby
zast has quit [Remote host closed the connection]
rubywarrior has joined #ruby
<al2o3-cr>
ruby is not diamond thee cheeky bitch
hinbody has quit [Ping timeout: 240 seconds]
akem has quit [Ping timeout: 272 seconds]
vikaton has joined #ruby
sneakerhax has quit [Ping timeout: 256 seconds]
<al2o3-cr>
you get what you're given, you slag bag
PedramT has joined #ruby
<al2o3-cr>
open your twat, let's a smell you dirty fucking whore
<Ox0dea>
Too much.
ellistaa has joined #ruby
<wolffles>
what
oivoodoo has joined #ruby
<Ox0dea>
He gets like this sometimes.
<Ox0dea>
Pretty swell chap when he's stable.
<wolffles>
lol
hinbody has joined #ruby
<shevy>
drugs on the weekend
pawnbox has joined #ruby
user083 has joined #ruby
runciter has joined #ruby
<al2o3-cr>
what bitch she is fuccckkkkkk
yqfvwal has left #ruby ["Leaving"]
<Aviio>
well the channel is certainly lively tonight
<akkad>
yes
<akkad>
I divorced my wife, named ruby too
<akkad>
nice to see a support channel for it
PedramT has quit [Ping timeout: 248 seconds]
<runciter>
on unix systems, ruby spawns a 'ruby-timer-thr' to handle signals, but inspecting the main thread's (and any non-timer-thread's) blocked signals shows that they don't block any signals. how does ruby ensure that signals are delivered only to the timer thread, or am i misunderstanding the design?
jmdade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ellistaa has quit [Ping timeout: 240 seconds]
<akkad>
unix signals are not very thread aware.
pawnbox has quit [Ping timeout: 256 seconds]
<runciter>
akkad: the kernel will deliver signals to an arbitrary thread, yes. so some environments use a dedicated signal handling thread. the technique involves setting the process' signal mask to block all signals, then unsetting that mask in the signal handling thread with pthread_sigmask
nettoweb has joined #ruby
<akkad>
by kernel, you mean linux right?
askhat has quit [Read error: Connection reset by peer]
x77686d has quit [Quit: x77686d]
<apeiros>
!mute al2o3-cr language
<runciter>
akkad: it's defined in POSIX or SUSv3
x77686d has joined #ruby
<runciter>
akkad: so this also happens in say, freebsd
askhat has joined #ruby
oivoodoo has quit []
<runciter>
akkad: ruby appears to use a dedicated signal handling thread, but the other threads don't block any signals. that means the kernel could deliver the signal to any thread, including the main thread
<akkad>
ahh true
<akkad>
well not if green threads
<akkad>
strike that
JEG2 has joined #ruby
<akkad>
just diving back into ruby after a couple of years off. trying to find a good refresher like the old koans
JEG2 has left #ruby [#ruby]
reactor16 has joined #ruby
<reactor16>
anyone play with railgun/metasploit ?
duckpuppy has joined #ruby
<shevy>
ack metasploit again
<reactor16>
no one there
zacstewart has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
elifoster has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
gregf has quit [Quit: WeeChat 1.4]
nunchuck has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
firstdayonthejob has quit [Ping timeout: 276 seconds]