havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.3; 2.2.6; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
<jtdoncas> b0nn: good to hear. are you getting twitter data properly flowing?
eb0t has quit [Quit: WeeChat 1.4]
eb0t has joined #ruby
rdavila has quit [Read error: Connection reset by peer]
ruid has joined #ruby
<b0nn> yes and no
<montanonic> So, it's often a good idea to hide stateful components from the users of your API via private methods. But, of course, in Ruby you can still access these variables with things like instance_eval; I believe this to be a good thing. That said, JavaScript style, it seems like we can create truly private vars
<b0nn> I made the mistake of having a single connection for each search
<montanonic> x = proc { y = 0; proc { y += 1 } }
<montanonic> z = x.()
rdavila has joined #ruby
<b0nn> I have to reeningeer it such that only one connection is used, and I sort the searches out serverside
<montanonic> And now `z` is a counter, but we can't access its state. My question is: is there any way (without going into C/low-level) to look at the `y` variable within `z`?
<montanonic> Otherwise, it's interesting to me that there's a way within Ruby to force actually private data, via nested closures.
tectonic has quit []
<lupine> eval ?
<montanonic> how would I use it? I haven't really used `eval` in Ruby, nor learned much about it (fairly new to the language)
<lupine> montanonic: x.().binding.eval("y")
<lupine> sorry :D
<montanonic> lupine: Ahhh! Perfect. Glad to know that's possible
<montanonic> thank you!
<lupine> one option if you're paranoid is process isolatio
<lupine> you really can't trust ruby to do things here
<montanonic> yeah I'm not actually using any of this, just exploring the bounds of the language
x0f has joined #ruby
<montanonic> thanks for your help
eb0t has quit [Quit: WeeChat 1.4]
ruid has quit [Quit: Leaving]
allcentury has joined #ruby
<al2o3-cr> montanonic: you can also access it using z.binding.local_variable_get 'y'
<montanonic> al2o3-cr: great! thank you too
eb0t has joined #ruby
eb0t has quit [Changing host]
eb0t has joined #ruby
scorphus has joined #ruby
ascarter has joined #ruby
charliesome has joined #ruby
jnj has joined #ruby
Sammichmaker has quit [Quit: Leaving]
<jnj> Could anyone help me with a regular expression? I want to split the string "0 I 4 <7, 8> <4, 5>" by spaces, but ignore the spaces within brackets, so I want the output to be: ["0", "I", "4", "<7, 8>", "<4, 5>"]
<apeiros> jnj: .scan(/<[^>]*>|\S/)
<domgetter> jnj can bracketed items have bracketed items inside them?
j416 has quit [Ping timeout: 260 seconds]
<jnj> domgetter: Nah, but lines will always be looking like number, letter, number, then pairs of numbers in brackets
AnoHito has quit [Quit: Leaving]
<jnj> apeiros: Thanks! What changes would I need to make to prevent a number from being split, so in another example "0 I 4325 <7, 8> <4, 5>" it'd be [0, I, 4325, <7, 8>, <4, 5>]
<apeiros> oh, the \S misses a + after it
<jnj> apeiros: that was exactly it!
<jnj> Thank you so much
paradisaeidae has quit [Quit: ChatZilla 0.9.93 [Firefox 50.0.2/20161129173726]]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
konsolebox has quit [Quit: Leaving]
blaxter has joined #ruby
blaxter has quit [Client Quit]
Channel6 has joined #ruby
x77686d has quit [Quit: x77686d]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rdavila has quit [Quit: Textual IRC Client: www.textualapp.com]
raul782 has joined #ruby
User458764 has joined #ruby
LoneHermit has joined #ruby
raul782 has quit [Ping timeout: 240 seconds]
vikaton has joined #ruby
_sfiguser has quit [Quit: Leaving]
blackbom1 has joined #ruby
charliesome has joined #ruby
SpiffTR has joined #ruby
blackbombay has quit [Ping timeout: 258 seconds]
j416 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
SpiffTR has quit [Ping timeout: 256 seconds]
_ZerGabriel_ has quit []
AnoHito has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
minimalism has quit [Quit: minimalism]
cluckmaster is now known as mindblownmitnigg
mindblownmitnigg is now known as blowfish
blowfish is now known as aphex
minimalism has joined #ruby
aphex is now known as kambuchakingpin
kambuchakingpin has left #ruby [#ruby]
f4 has quit [Quit: Ухожу я от вас]
kambuchakingpin has joined #ruby
r3vDev has joined #ruby
marr has quit [Ping timeout: 250 seconds]
zeroDi has quit [Quit: WeeChat 1.6]
cibs has quit [Ping timeout: 268 seconds]
LoneHermit has quit [Remote host closed the connection]
beilabs has joined #ruby
LoneHerm_ has joined #ruby
cibs has joined #ruby
ascarter has joined #ruby
enterprisey has quit [Remote host closed the connection]
hahuang62 has joined #ruby
LoneHerm_ has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
hahuang61 has quit [Ping timeout: 245 seconds]
hahuang65 has quit [Ping timeout: 260 seconds]
allcentury has quit [Ping timeout: 260 seconds]
ascarter has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
nankyokusei has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
d0nn1e has quit [Ping timeout: 268 seconds]
d0nn1e has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
chrisja has quit [Quit: leaving]
heftig has quit [Quit: heftig]
hahuang65 has joined #ruby
heftig has joined #ruby
antoniobeyah has joined #ruby
heftig has quit [Client Quit]
heftig has joined #ruby
ozzloy has quit [Ping timeout: 260 seconds]
ozzloy has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
tvw has quit []
jackjackdripper has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
tvw has joined #ruby
M-mistake has quit [Read error: Connection reset by peer]
guanjian[m] has quit [Read error: Connection reset by peer]
drorp24[m] has quit [Read error: Connection reset by peer]
M-shine has quit [Read error: Connection reset by peer]
Michael5[m] has quit [Read error: Connection reset by peer]
Luca[m] has quit [Read error: Connection reset by peer]
fladson[m] has quit [Write error: Connection reset by peer]
cpfeilschifter[m has quit [Read error: Connection reset by peer]
h42r62[m] has quit [Read error: Connection reset by peer]
davix[matrix] has quit [Read error: Connection reset by peer]
bascht has quit [Write error: Connection reset by peer]
tobyn[m] has quit [Write error: Connection reset by peer]
meaggan[m] has quit [Write error: Connection reset by peer]
n[m] has quit [Write error: Connection reset by peer]
philidor[m] has quit [Write error: Connection reset by peer]
kineticrootkit[m has quit [Write error: Connection reset by peer]
serah[m] has quit [Write error: Connection reset by peer]
vma[m] has quit [Read error: Connection reset by peer]
eliotk[m] has quit [Write error: Connection reset by peer]
fjj[m] has quit [Read error: Connection reset by peer]
jomakasi[m] has quit [Write error: Connection reset by peer]
coreyja[m] has quit [Write error: Connection reset by peer]
riotgsmport[m] has quit [Write error: Connection reset by peer]
daveyboi[m] has quit [Write error: Connection reset by peer]
velu_aon[m] has quit [Write error: Connection reset by peer]
laithshadeed[m] has quit [Write error: Connection reset by peer]
Donalmartin[m] has quit [Write error: Connection reset by peer]
M-manveru has quit [Write error: Connection reset by peer]
Giphy[m] has quit [Write error: Connection reset by peer]
SpiffTR has joined #ruby
jeffaustin81 has joined #ruby
tvw has quit [Client Quit]
enterprisey has joined #ruby
jaguarmagenta has joined #ruby
ghostlight has quit [Ping timeout: 245 seconds]
SpiffTR has quit [Ping timeout: 250 seconds]
Ferdroid has left #ruby [#ruby]
raul782 has joined #ruby
dmarr has quit [Quit: Goodbye]
ghostlight has joined #ruby
dmarr_ has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
postmodern has joined #ruby
sneakerhax has joined #ruby
montanonic has quit [Ping timeout: 258 seconds]
raul782 has quit [Remote host closed the connection]
harai has quit [Ping timeout: 246 seconds]
tvw has joined #ruby
beilabs has quit [Remote host closed the connection]
drorp24[m] has joined #ruby
LoneHermit has joined #ruby
tvw has quit []
Madplatypus has joined #ruby
LoneHermit has quit [Ping timeout: 250 seconds]
dmarr_ has quit [Quit: Goodbye]
NightMonkey has quit [Quit: ZNC - http://znc.in]
dmarr has joined #ruby
jomakasi[m] has joined #ruby
Luca[m] has joined #ruby
davix[matrix] has joined #ruby
kineticrootkit[m has joined #ruby
coreyja[m] has joined #ruby
tobyn[m] has joined #ruby
fjj[m] has joined #ruby
laithshadeed[m] has joined #ruby
meaggan[m] has joined #ruby
Michael5[m] has joined #ruby
eliotk[m] has joined #ruby
riotgsmport[m] has joined #ruby
bascht has joined #ruby
daveyboi[m] has joined #ruby
n[m] has joined #ruby
M-shine has joined #ruby
guanjian[m] has joined #ruby
M-manveru has joined #ruby
Giphy[m] has joined #ruby
M-mistake has joined #ruby
philidor[m] has joined #ruby
velu_aon[m] has joined #ruby
cpfeilschifter[m has joined #ruby
serah[m] has joined #ruby
Donalmartin[m] has joined #ruby
h42r62[m] has joined #ruby
vma[m] has joined #ruby
fladson[m] has joined #ruby
Rodya_ has quit [Remote host closed the connection]
threh has quit [Ping timeout: 256 seconds]
dnicole has joined #ruby
threh has joined #ruby
baweaver_away is now known as baweaver
antoniobeyah has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
SpiffTR has joined #ruby
robh71_ has quit []
robh71 has joined #ruby
tmtwd has joined #ruby
_djbkd has joined #ruby
SpiffTR has quit [Ping timeout: 240 seconds]
JoshS has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
optiz0r has quit [Ping timeout: 244 seconds]
r3vDev has quit [Quit: Leaving.]
r3vDev has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
libastral has quit [Ping timeout: 260 seconds]
libastral has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
_djbkd has quit [Ping timeout: 250 seconds]
raul782 has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
tmtwd has quit [Quit: Leaving]
cdg has quit [Ping timeout: 240 seconds]
raul782 has quit [Ping timeout: 265 seconds]
rorop has joined #ruby
<rorop> do people still use rvm?
blackwind_123 has quit [Ping timeout: 268 seconds]
rorop is now known as imightbestupid12
larissa has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
riskish has joined #ruby
larissa has joined #ruby
jeyraof has joined #ruby
nhhc has joined #ruby
LoneHerm_ has quit [Ping timeout: 244 seconds]
edwardly has quit [Ping timeout: 244 seconds]
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
arescorpio has quit [Quit: Leaving.]
ruby-lang815 has joined #ruby
nankyokusei has joined #ruby
<ruby-lang815> im wondering if anyone has found a workaround for this for windows 7 https://github.com/rubygems/rubygems/issues/1050
rory has quit [Excess Flood]
rory has joined #ruby
<ruby-lang815> i cant seem to update or change anything as i cant connect i understand it was discontinued support for sslv3 due to poodle etc but still cant get a connection to rubygems
<ruby-lang815> incase anyone is wondering
ruby-lang815 has quit [Client Quit]
morphism has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
r3vDev has quit [Quit: Leaving.]
r3vDev has joined #ruby
A_Drone has joined #ruby
Dimik has joined #ruby
edwardly has quit [Ping timeout: 256 seconds]
chiru has quit [Ping timeout: 268 seconds]
cibs has quit [Ping timeout: 268 seconds]
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
cibs has joined #ruby
minimalism has quit [Quit: minimalism]
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
minimalism has joined #ruby
Dimik has quit [Client Quit]
Dimik has joined #ruby
jgnagy has quit [Remote host closed the connection]
chiru has joined #ruby
astrobunny has joined #ruby
Sthebig has left #ruby [#ruby]
LoneHerm_ has joined #ruby
hanmac has quit [Ping timeout: 258 seconds]
howdoi has joined #ruby
SpiffTR has joined #ruby
raul782 has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
postmodern has quit [Quit: Leaving]
postmodern has joined #ruby
digitalfiz has quit []
SpiffTR has quit [Ping timeout: 268 seconds]
jackjackdripper has joined #ruby
hanmac has joined #ruby
<b0nn> I have a series of these https://bpaste.net/show/6d525a921e28 and I want to parse them
<b0nn> If I use JSON.parse I get /usr/lib/ruby/2.3.0/json/common.rb:156:in `parse': 784: unexpected token at ...
dviola has quit [Quit: WeeChat 1.6]
jnj has quit [Ping timeout: 250 seconds]
<b0nn> is there a Quick and Dirty way to put that string into a hash?
<b0nn> just eval?
gix has quit [Ping timeout: 268 seconds]
jtdoncas has quit [Ping timeout: 268 seconds]
<ropeney> b0nn, you could be more specific what its complaining about because it __should__ work
pilne has quit [Quit: Quitting!]
jtdoncas has joined #ruby
<b0nn> this is what I have https://bpaste.net/show/105fb7d7f107
gix has joined #ruby
<nfsnobody-> hey all, I've built a systemd definition for a ruby script I wrote but it seems like it's failing to find a required gem... /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- active_record (LoadError)
<nfsnobody-> in the definition file I specify a username/group of a user who has RVM and the relevant gems installed
zukin has joined #ruby
<nfsnobody-> I also threw a ENVIRONMENT into the systemd file to see if it'd help, no help unfortunately :( - Environment="GEM_HOME=//usr/local/rvm/gems/ruby-2.2.4:/usr/local/rvm/gems/ruby-2.2.4@global"
<nfsnobody-> I feel like it's some sort of an environment issue, given if I run the script as the user directly under bash, it loads without issue
<ropeney> b0nn, it works for me
<b0nn> Ropeney: thanks, it must be something else in the code
raul782 has quit [Read error: Connection reset by peer]
<b0nn> nfsnobody-: how do you 'activate' the rvm?
beilabs has joined #ruby
Ademan has quit [Ping timeout: 260 seconds]
<nfsnobody-> b0nn: I've just run rvm use 2.2 in the past under that user
edwardly has quit [Ping timeout: 250 seconds]
Ademan has joined #ruby
<b0nn> Ropeney: this is the line 64 that the error reports : STDERR.puts JSON.parse(chunk)
<ropeney> try run my file
<b0nn> huh
jnj has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
<ropeney> the gist I made, put in in a file and run it
<b0nn> oh
Yzguy has joined #ruby
<ropeney> yes
<ropeney> I can't see code how you're calling it
<b0nn> Ropeney: this is the line 64 that the error reports : STDERR.puts JSON.parse(chunk)
chiru has quit [Ping timeout: 268 seconds]
<ropeney> you're going to have to show more code
raul782 has joined #ruby
Guest43 has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
<nfsnobody-> ok so I forced the RVM binary into the StartExec... now I get this
<nfsnobody-> ->> /usr/local/rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- sinatra (LoadError)
<nfsnobody-> so it appears that the RVM ruby can
<nfsnobody-> 't get sinatra, but that's a loaded gem there...
<ropeney> b0nn, can you `p chunks' and add result as comment?
yskapell has quit [Quit: Lost terminal]
<b0nn> Ropeney: not sure what you mean
<b0nn> line 63?
<ropeney> yes
<b0nn> ok
LoneHerm_ has quit [Ping timeout: 260 seconds]
imightbestupid12 has quit [Quit: Page closed]
<nfsnobody-> I just had it run "gem env" and it shows paths that include the gems already...
raul782 has quit [Read error: Connection reset by peer]
edwardly has quit [Ping timeout: 245 seconds]
enterprisey has quit [Ping timeout: 245 seconds]
<nfsnobody-> RUBY VERSION: 2.0.0 (2014-11-13 patchlevel 598) [x86_64-linux]
<b0nn> nfsnobody-: https://github.com/sinatra/sinatra/issues/227 might be helpful?
<nfsnobody-> hmm, I get that when I have this line ExecStart=/usr/local/rvm/rubies/ruby-2.2.4/bin/gem env
<nfsnobody-> and when I run directly, I get RUBY VERSION: 2.2.4 (2015-12-16 patchlevel 230) [x86_64-linux]
<nfsnobody-> thanks b0nn, I'll have a look
<nfsnobody-> [root@srv-01 system]# gem list | grep sinatra
<nfsnobody-> sinatra (1.4.7)
<nfsnobody-> ruby: No such file or directory -- sinatra (LoadError)
<nfsnobody-> [root@srv-01 system]# ruby -S sinatra
<nfsnobody-> well that's bizarre
chouhoulis has quit [Remote host closed the connection]
<nfsnobody-> [root@srv-01 system]# which ruby
<nfsnobody-> [root@srv-01 system]# which gem
<nfsnobody-> err
<nfsnobody-> [root@srv-01 system]# which ruby
<nfsnobody-> > /usr/local/rvm/rubies/ruby-2.2.4/bin/gem
<nfsnobody-> [root@srv-01 system]# which gem
<nfsnobody-> > /usr/local/rvm/rubies/ruby-2.2.4/bin/ruby
<ropeney> b0nn, thats got more data at the end of that hash then you originally said
<ropeney> which is invalid json
<b0nn> I've pasted everything that's come up
<ropeney> yeah, your `chunk` variable has more data in it if you scroll to end
<ropeney> which is invalid
<b0nn> I suspect that the chunk is only a partial amount of data
zukin has quit [Ping timeout: 246 seconds]
_crdpink has left #ruby ["Konversation terminated!"]
<ropeney> do `JSON.parse(chunk.split('\r\n').first)`
<ropeney> b0nn ``JSON.parse(chunk.split("\r\n").first)` sorry, use double quotes
<b0nn> ok, yeah I do out of habit
<ropeney> all work?
<b0nn> will take a moment
zukin has joined #ruby
<b0nn> yes and no?
PaulCapestany has quit [Quit: .]
zukin has quit [Client Quit]
jnj has quit [Quit: Leaving]
<ropeney> please paste with code
PaulCapestany has joined #ruby
<b0nn> it's the same code
<ropeney> then you should add the split
<b0nn> except the changes you asked
<b0nn> STDERR.puts JSON.parse(chunk.split("\r\n"))
<b0nn> oh .first
<ropeney> :)
enterprisey has joined #ruby
raul782 has joined #ruby
x77686d has joined #ruby
nfsnobody- has quit [Changing host]
nfsnobody- has joined #ruby
nfsnobody- is now known as nfsnobody
SpiffTR has joined #ruby
x77686d has quit [Client Quit]
jaguarmagenta has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<ropeney> b0nn, so a second set of data has screwed up
<ropeney> check it and go through it :)
<b0nn> The problem is the same
jeffaustin81 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ropeney> looks like the first one has outputed the correct json?
sdothum has joined #ruby
<b0nn> looks like data is coming through corrupted
<ropeney> yes
r3vDev has quit [Ping timeout: 260 seconds]
<b0nn> looks like it's not at a predictablepoint
<nfsnobody> ok, worked it out
SpiffTR has quit [Ping timeout: 260 seconds]
<nfsnobody> for future reference: rvm @global do gem install <gems here>
<nfsnobody> fucked if I know how systemd actually finds the environment variables, but it does find them if you do that
<b0nn> nfsnobody: nice :)
<b0nn> So, the question remains the same
<b0nn> how to handle broken data with JSON.parse
Klumben has quit [Ping timeout: 260 seconds]
xall has joined #ruby
raul782 has quit [Read error: Connection reset by peer]
<b0nn> regexp to the rescue :)
Klumben has joined #ruby
jaguarmagenta has joined #ruby
Emmanuel_Chanel has joined #ruby
pawnbox has joined #ruby
Klumben has quit [Ping timeout: 260 seconds]
enterprisey has quit [Read error: Connection reset by peer]
raul782 has joined #ruby
Channel6 has quit [Quit: Leaving]
etehtsea has joined #ruby
pawnbox has quit [Remote host closed the connection]
<b0nn> This is what some of the data looks like if I put a set of hashes between each \r\n
<b0nn> It's broken A LOT
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
riskish has joined #ruby
JoshS has joined #ruby
Klumben has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
robh71 has left #ruby [#ruby]
Guest43 has quit [Ping timeout: 240 seconds]
saneax-_-|AFK is now known as saneax
LoneHermit has joined #ruby
pawnbox has joined #ruby
raul782 has quit [Remote host closed the connection]
edwardly has joined #ruby
edwardly has quit [Max SendQ exceeded]
nankyokusei has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
LoneHermit has quit [Ping timeout: 260 seconds]
tdump has joined #ruby
<tdump> I was wondering what is preferable or conventional way to approach a problem. If I want to make a change to an array should I use map and a method, or each and a !method?
nankyokusei has quit [Ping timeout: 258 seconds]
<tdump> nobody?
<tdump> ..Bueller........Bueller....
<adam12> Likely map
<adam12> (imho)
<tdump> adam12: is that because the expectation is that map modifies in place? what's your reasoning? Thanks by the way.
<adam12> tdump: I'd rather not start mutating data in place. IIRC there is possible issues with thread safety.
<adam12> But I don't remember for sure now, tbh.
<tdump> oh. maybe i misunderstood map. i thought it did modify in place. i'll take another look at it. i guess it could just return the new array instead of the source array. thanks again
<adam12> It returns a new array.
raldu has quit [Ping timeout: 240 seconds]
<adam12> I don't believe it modifies in place...
raldu has joined #ruby
jgnagy has joined #ruby
<tdump> adam12: you are correct. I just looked it up.
raul782 has joined #ruby
jgnagy has quit [Ping timeout: 250 seconds]
SuperLag has quit [Quit: leaving]
SuperLag has joined #ruby
Kilo`byte has quit [Ping timeout: 248 seconds]
SpiffTR has joined #ruby
Mr_Pancake has quit [Ping timeout: 248 seconds]
Mr_Pancake has joined #ruby
Kilo`byte has joined #ruby
<al2o3-cr> tdump: .map! does
<tdump> al2o3-cr: You are also correct. The stack overflow post I looked up made that distinction as well. Thank you for trying to clarify.
raul782 has quit [Remote host closed the connection]
djbkd_ has joined #ruby
SpiffTR has quit [Ping timeout: 265 seconds]
<al2o3-cr> tdump: preferably, read the docs :)
<tdump> al2o3-cr: i might give that a shot ;-)
jeyraof has quit [Quit: This computer has gone to sleep]
<al2o3-cr> &ri Array#map Array#map!
<al2o3-cr> ^ tdump
matp_ is now known as matp
adavia has quit [Ping timeout: 250 seconds]
jeyraof has joined #ruby
xall has quit [Ping timeout: 244 seconds]
tpendragon has quit [Ping timeout: 240 seconds]
montanonic has joined #ruby
r3vDev has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xberg has joined #ruby
<baweaver> TIL you can space delimit those queries. Handy. Danke al2o3-cr
<al2o3-cr> baweaver: upto 3 i think
<baweaver> In any case, handy.
blackbom1 has quit [Ping timeout: 268 seconds]
warrshrike has joined #ruby
charliesome has joined #ruby
<warrshrike> How can I parse the following string with a regular expression to get: node id, java type and name, EnclClass, EnclMethod, sFlowType, kind, vertID, calls array, fields array. the last three may or may not be present in the string
<warrshrike> [Node Id: 25322], [Java Type & Name: java.lang.String @$r1], [EnclClass: com.umeng.common.a], [EnclMethod: void c(java.lang.String,java.lang.String)], [SflowType: @Readonly, @Safe], [Kind: local]\n---- Vertex id: 25322 \n---- The calls array: 24480 \n---- The fields array: \n---- The edge info: local\n"
<warrshrike> and the edge info too*. I need that too. it may or may not be present.
xrlk has quit [Ping timeout: 240 seconds]
SuperLag has quit [Quit: Ugh. Spammer fools. :(]
Xiti has quit [Quit: Xiti]
coreyja[m] has quit [Ping timeout: 240 seconds]
guanjian[m] has quit [Ping timeout: 240 seconds]
Luca[m] has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
Canucktux has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
Donalmartin[m] has quit [Ping timeout: 246 seconds]
daveyboi[m] has quit [Ping timeout: 246 seconds]
M-shine has quit [Ping timeout: 246 seconds]
M-mistake has quit [Ping timeout: 240 seconds]
h42r62[m] has quit [Ping timeout: 245 seconds]
cpfeilschifter[m has quit [Ping timeout: 245 seconds]
riotgsmport[m] has quit [Ping timeout: 245 seconds]
laithshadeed[m] has quit [Ping timeout: 245 seconds]
<al2o3-cr> ?gist warrshrike
drorp24[m] has quit [Ping timeout: 245 seconds]
<ruby[bot]> warrshrike: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
fladson[m] has quit [Ping timeout: 250 seconds]
serah[m] has quit [Ping timeout: 250 seconds]
fjj[m] has quit [Ping timeout: 250 seconds]
n[m] has quit [Ping timeout: 250 seconds]
davix[matrix] has quit [Ping timeout: 250 seconds]
M-manveru has quit [Ping timeout: 250 seconds]
bascht has quit [Ping timeout: 250 seconds]
Giphy[m] has quit [Ping timeout: 260 seconds]
Michael5[m] has quit [Ping timeout: 258 seconds]
jomakasi[m] has quit [Ping timeout: 258 seconds]
eliotk[m] has quit [Ping timeout: 258 seconds]
vma[m] has quit [Ping timeout: 260 seconds]
tobyn[m] has quit [Ping timeout: 260 seconds]
meaggan[m] has quit [Ping timeout: 260 seconds]
philidor[m] has quit [Ping timeout: 260 seconds]
velu_aon[m] has quit [Ping timeout: 260 seconds]
kineticrootkit[m has quit [Ping timeout: 260 seconds]
<warrshrike> al2o3-cr: Apologies.
fridim_ has joined #ruby
Vile` has quit [Ping timeout: 244 seconds]
<al2o3-cr> warrshrike: no worries, but that is incredibly hard to read on irc
<warrshrike> This is what I need to parse. Its all one string and I've written what I need to extract
<tdump> al2o3-cr: bookmarked!
<al2o3-cr> tdump: np :)
LoneHerm_ has joined #ruby
ghostlight has quit [Ping timeout: 248 seconds]
nhhc has quit [Quit: Leaving]
fridim_ has quit [Ping timeout: 260 seconds]
haraoka has joined #ruby
ghostlight has joined #ruby
lxsameer has joined #ruby
<domgetter> Is Ruby homoiconic?
User458764 has joined #ruby
<warrshrike> al2o3-cr: any ideas?
LoneHerm_ has quit [Ping timeout: 260 seconds]
<warrshrike> I'snt scan for multiple matches? wouldnt match be better?
<djellemah> domgetter: no
<domgetter> djellemah Are there any resources I can read that would bring me to the same conclusion?
<djellemah> warrshrike: you could write a regex for match, but my guess is it'd be big and hard to debug
<warrshrike> djellemah: so whats your recommendation? old fashioned stuff with int indexes?
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
cibs has quit [Ping timeout: 268 seconds]
cibs has joined #ruby
threh has quit [Quit: 'Til next time]
Tempesta has quit [Read error: Connection reset by peer]
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zotherstupidguy has joined #ruby
Keltia_ has joined #ruby
greenhat- has joined #ruby
matp has quit [Read error: Connection reset by peer]
arthurnn_ has joined #ruby
ta_ has quit [Remote host closed the connection]
matp_ has joined #ruby
<zotherstupidguy> is there a hook method for const_set?
marens_ has joined #ruby
Rutix`away has joined #ruby
Rutix`away has joined #ruby
Rutix`away has quit [Changing host]
<djellemah> domgetter: the most concise answer I can think of is that eval takes a string, not an ast representation. But you could also look at things like https://github.com/whitequark/parser
silverdu1t has joined #ruby
grug_ has joined #ruby
WhiteKIB- has joined #ruby
tsou has quit [Ping timeout: 268 seconds]
vadviktor_ has joined #ruby
chrisarc1nd has joined #ruby
bgray_ has joined #ruby
Alina-malina_ has joined #ruby
Toledo has joined #ruby
spidermario has joined #ruby
jeyraof_ has joined #ruby
<djellemah> warrshrike: instantiate a scanner and call it repeatedly with patterns that should match. Then switch when you get a nil return. ¯\_(ツ)_/¯ it's not a clean problem.
guardian` has joined #ruby
Keltia has quit [Read error: Connection reset by peer]
grug has quit [Ping timeout: 260 seconds]
silverdust has quit [Ping timeout: 260 seconds]
hightower2 has quit [Ping timeout: 260 seconds]
xcesariox has joined #ruby
matp_ is now known as matp
<warrshrike> this gives me the first match but not the second. how do I ignore all intermediate characters?
<warrshrike> matchdata = str.match(/Node Id: ([^]]*)] Java Type & Name: ([^]]*)]/)
tsou has joined #ruby
SpiffTR has joined #ruby
apeiros_ has joined #ruby
<al2o3-cr> warrshrike: str.gsub(/\s+/, '').gsub('----', '],[').split('],[').map { |l| l.split(':')[1] }
<al2o3-cr> but mine is just s**t :P
Alina-malina has quit [Ping timeout: 244 seconds]
aep has quit [Ping timeout: 244 seconds]
arthurnn has quit [Ping timeout: 244 seconds]
WhiteKIBA has quit [Ping timeout: 244 seconds]
apeiros has quit [Ping timeout: 244 seconds]
guardian has quit [Ping timeout: 244 seconds]
greenhat_ has quit [Ping timeout: 244 seconds]
bodie_ has quit [Ping timeout: 244 seconds]
marens has quit [Remote host closed the connection]
scorphus has quit [Ping timeout: 244 seconds]
Rutix has quit [Ping timeout: 244 seconds]
spider-mario has quit [Ping timeout: 244 seconds]
croberts has quit [Ping timeout: 244 seconds]
chrisarcand has quit [Ping timeout: 244 seconds]
bgray has quit [Ping timeout: 244 seconds]
vadviktor has quit [Ping timeout: 244 seconds]
Disavowed has quit [Ping timeout: 244 seconds]
obiwahn has quit [Ping timeout: 244 seconds]
cgfbee has quit [Ping timeout: 244 seconds]
arthurnn_ is now known as arthurnn
aep_ has joined #ruby
jeyraof has quit [Ping timeout: 256 seconds]
Disavowed has joined #ruby
blackbom1 has joined #ruby
<warrshrike> al2o3-cr: wow cant believe that actually worked
bodie_ has joined #ruby
<al2o3-cr> warrshrike: don't use that i was joking, i'm not to fluent with regex
<warrshrike> my last 4 variables have extra '\\n' attached though
<warrshrike> lol it DOES work
hightower2 has joined #ruby
ghostlight has quit [Ping timeout: 256 seconds]
hostess has quit [Ping timeout: 252 seconds]
cgfbee has joined #ruby
kies has quit [Ping timeout: 265 seconds]
<al2o3-cr> warrshrike: where is this string coming from?
LiquidInsect has quit [Ping timeout: 256 seconds]
LiquidInsect has joined #ruby
<warrshrike> its a program analysis tool finding leaks in android bitcode
kies has joined #ruby
hostess has joined #ruby
SpiffTR has quit [Ping timeout: 260 seconds]
raul782 has joined #ruby
<al2o3-cr> oh, thought it was something to do with android, wasn't sure though
<warrshrike> yep you're right
obiwahn has joined #ruby
ghostlight has joined #ruby
<djellemah> al2o3-cr: That's a nice simplification of the problem ;-)
d^sh has joined #ruby
<al2o3-cr> heh, i should really book up on my regex-fu
raul782 has quit [Ping timeout: 244 seconds]
konsolebox has joined #ruby
<dminuoso> zotherstupidguy: I just checked, there is not. set_trace_func would be your only bet.
blackbom1 has quit [Ping timeout: 260 seconds]
* djellemah needs to book up on decomplexificationalism :-o
d^sh has quit [Ping timeout: 260 seconds]
blackbom1 has joined #ruby
d^sh has joined #ruby
<zotherstupidguy> dminuoso thanks for checking, i was hoping for somthing beter than set_trace_func :)
<al2o3-cr> zotherstupidguy: you could do something like this as dminuoso said
<al2o3-cr> >> tp = TracePoint.trace(:c_call) { |tp| if tp.method_id == :const_set then puts "constant set" end }; Object.const_set(:Foo, ?x)
<ruby[bot]> al2o3-cr: # => constant set ...check link for more (https://eval.in/690987)
<al2o3-cr> or something like that
XV8 has quit [Quit: Textual IRC Client: www.textualapp.com]
<zotherstupidguy> al2o3-cr yup i was checkin TracePoint http://ruby-doc.org/core-2.3.3/TracePoint.html
blackbom1 has quit [Ping timeout: 258 seconds]
aganov has joined #ruby
<al2o3-cr> it's cool, i like it :P
lxsameer has quit [Read error: Connection reset by peer]
<zotherstupidguy> i like all ruby :D
<al2o3-cr> me too :)
<warrshrike> it works
<warrshrike> but how can i combine it into a single one line regex?
d^sh has quit [Quit: ZNC 1.6.1 - http://znc.in]
muelleme has joined #ruby
lxsameer has joined #ruby
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SpiffTR has joined #ruby
fridim_ has joined #ruby
dionysus69 has joined #ruby
conta has joined #ruby
<herwin> you could even use match[0] and match[1]
<manveru> .scan(/\[(.+?)\s*:\s*(.+?)\]/).to_h
domgetter has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Alina-malina_ has quit [Changing host]
Alina-malina_ has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<warrshrike> herwin: your solution seems to print out the same string on irb...
moei has quit [Read error: Connection reset by peer]
<warrshrike> manveru: works perfect. how would i include the last 4 thingies too? vertex id, calls array fields array and edge info
moei has joined #ruby
minimalism has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
harfangk has joined #ruby
SpiffTR has quit [Ping timeout: 250 seconds]
guardian` is now known as guardian
jphase has quit [Read error: No route to host]
minimalism has joined #ruby
jphase has joined #ruby
<manveru> i'd probably do two
grug_ is now known as grug
nowhereman has quit [Ping timeout: 244 seconds]
jgnagy has joined #ruby
djellemah_ has joined #ruby
codfection has joined #ruby
A_Drone has quit [Remote host closed the connection]
fenre has joined #ruby
<warrshrike> two parses?
<warrshrike> okay that makes sense i guess those are different enough
<warrshrike> il take a stab at it then show you
xall has joined #ruby
beilabs has quit [Ping timeout: 260 seconds]
SpiffTR has joined #ruby
andikr has joined #ruby
fenre has quit [Client Quit]
jgnagy has quit [Ping timeout: 246 seconds]
muelleme has quit [Ping timeout: 250 seconds]
<manveru> s.split("\n----")[1..-1].map{|l| l.strip.split(/\s*:\s*/, 2) }.to_h
<manveru> maybe like this
<warrshrike> nah that returns empty string
<warrshrike> i tried this but it bring lots of extra stuff at the end str.scan(/\----(.+?)\s*:\s*(.+?)\ \n----/).to_h
terens has joined #ruby
<nchambers> If I have an array of members, and I'm traversing over them in a for loop, is there a way to get 3 members at a time? so for example if the array was [1,2,3,4,5,6,7,8,9], the first iteration I would get 1,2,3.
<al2o3-cr> nchambers: each_slice
vikaton has quit [Quit: Connection closed for inactivity]
xcesariox has quit [Ping timeout: 258 seconds]
<nchambers> al2o3-cr, thanks thats perfect
SpiffTR has quit [Ping timeout: 250 seconds]
<al2o3-cr> happy days :)
CloCkWeRX has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 250 seconds]
fenre has joined #ruby
djellemah has quit [Ping timeout: 240 seconds]
djellemah_ has quit [Ping timeout: 260 seconds]
<manveru> warrshrike: i guess the question is what you want the value of the fields array to be :)
<warrshrike> it worked now :). i had to do \\n instead of \n
<manveru> if you use string literals like '\n' then it won't be a newline
<manveru> so you need \\n to match a literal \n
Dimik has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
CloCkWeRX has joined #ruby
<tdump> regex is dope
last_staff has joined #ruby
drorp24[m] has joined #ruby
riotgsmport[m] has joined #ruby
Donalmartin[m] has joined #ruby
philidor[m] has joined #ruby
Michael5[m] has joined #ruby
serah[m] has joined #ruby
Luca[m] has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
n[m] has joined #ruby
h42r62[m] has joined #ruby
davix[matrix] has joined #ruby
fladson[m] has joined #ruby
claudiuinberlin has joined #ruby
omphe has joined #ruby
Luna_Moonfang has quit [Quit: WeeChat 1.6]
pawnbox has quit [Remote host closed the connection]
Luna_Moonfang has joined #ruby
nowhereman has joined #ruby
SesMan has joined #ruby
Snickers has joined #ruby
Luca[m] has quit [Ping timeout: 240 seconds]
n[m] has quit [Ping timeout: 245 seconds]
Synthead has quit [Ping timeout: 256 seconds]
h42r62[m] has quit [Ping timeout: 246 seconds]
philidor[m] has quit [Ping timeout: 246 seconds]
Donalmartin[m] has quit [Ping timeout: 250 seconds]
Michael5[m] has quit [Ping timeout: 250 seconds]
serah[m] has quit [Ping timeout: 260 seconds]
davix[matrix] has quit [Ping timeout: 260 seconds]
riotgsmport[m] has quit [Ping timeout: 260 seconds]
fladson[m] has quit [Ping timeout: 258 seconds]
drorp24[m] has quit [Ping timeout: 258 seconds]
mim1k|work has joined #ruby
biberu has joined #ruby
jtdoncas has quit [Ping timeout: 244 seconds]
niranjan has joined #ruby
djellemah has joined #ruby
djellemah_ has joined #ruby
<niranjan> Hi there, I am very new to Ruby programming ,and i tried to use File.Join("ABC","DEF") to create a dir structure ABC/DEF. It doesnt give me error or it works.
<niranjan> what could be wrong there, Btw i am using Ruby 2.3.3 on Ubuntu
SpiffTR has joined #ruby
cgfbee has quit [Excess Flood]
etehtsea has quit [Ping timeout: 260 seconds]
Morrolan has quit [Ping timeout: 244 seconds]
Morrolan has joined #ruby
optiz0r has joined #ruby
<herwin> use join with a lowercase "j"
Synthead has joined #ruby
<niranjan> sorry, i used with lowercase only,but typed it wrong here herwin
beilabs has joined #ruby
postmodern has joined #ruby
<djellemah_> niranjan: that just creates the string for the file name. Look at Dir.mkdir
postmodern has quit [Client Quit]
LoneHerm_ has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.6]
cgfbee has joined #ruby
postmodern has joined #ruby
djbkd_ has quit []
<niranjan> ohh, join just creates string but not dir?
<niranjan> i used require utilis for mkdir ,that worked
SpiffTR has quit [Ping timeout: 265 seconds]
antoniobeyah has quit [Quit: antoniobeyah]
<dminuoso> niranjan: Correct. Refer to the documentation
PaulePanter has quit [Ping timeout: 244 seconds]
<dminuoso> &ri File#join niranjan
<_derpy> No results
etehtsea has joined #ruby
<dminuoso> &ri File.join niranjan
<niranjan> thanks dminuoso and _derpy
oivoodoo has joined #ruby
eb0t has quit [Quit: WeeChat 1.4]
mikecmpbll has joined #ruby
PaulePanter has joined #ruby
kies has quit [Ping timeout: 250 seconds]
LoneHerm_ has quit [Ping timeout: 260 seconds]
jackjackdripper has quit [Quit: Leaving.]
inukshuk has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
mikeiniowa has quit [Ping timeout: 244 seconds]
kies has joined #ruby
ltd has quit [Ping timeout: 250 seconds]
ltd has joined #ruby
inukshuk has joined #ruby
h1fuelcell has joined #ruby
vondruch has joined #ruby
Yzguy has quit [Quit: Cya]
last_staff is now known as last_staff123
chouhoulis has quit [Ping timeout: 250 seconds]
Silthias has joined #ruby
etehtsea has quit [Ping timeout: 256 seconds]
octobyte has joined #ruby
octobyte has left #ruby [#ruby]
Snickers has quit [Ping timeout: 248 seconds]
<manveru> doesn't "/" work on all platforms these days?
eggshke has joined #ruby
h1fuelce_ has joined #ruby
maattdd has joined #ruby
toretore has joined #ruby
h1fuelcell has quit [Ping timeout: 260 seconds]
poikon has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
poikon has joined #ruby
charliesome has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
etehtsea_ has joined #ruby
etehtsea_ is now known as etehtsea
the_drow has joined #ruby
last_staff123 is now known as last_staff
raul782 has joined #ruby
b0g has quit [Ping timeout: 244 seconds]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b0g has joined #ruby
blaxter has joined #ruby
Bish has quit [Ping timeout: 260 seconds]
Bish has joined #ruby
raul782 has quit [Ping timeout: 268 seconds]
jsrn_ has joined #ruby
xberg_ has joined #ruby
h1fuelce_ has quit [Ping timeout: 250 seconds]
shortdudey123 has quit [Ping timeout: 244 seconds]
h1fuelcell has joined #ruby
ishe_ua has joined #ruby
xberg has quit [Ping timeout: 250 seconds]
Synthead has quit [Ping timeout: 256 seconds]
shortdudey123 has joined #ruby
jaruga___ has joined #ruby
Synthead has joined #ruby
sarbs has quit [Ping timeout: 250 seconds]
toretore has quit [Ping timeout: 260 seconds]
toretore has joined #ruby
mark_66 has joined #ruby
sarbs has joined #ruby
elaptics has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
haraoka has quit [Ping timeout: 244 seconds]
salut has joined #ruby
lenwood has joined #ruby
mikecmpb_ has joined #ruby
harfangk has quit [Remote host closed the connection]
harfangk has joined #ruby
mikecmpbll has quit [Ping timeout: 260 seconds]
xberg_ has quit [Remote host closed the connection]
xberg has joined #ruby
xberg_ has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
xberg has quit [Read error: Connection reset by peer]
SesMan has joined #ruby
LoneHermit has joined #ruby
giraffe has quit [Quit: ZNC - http://znc.in]
h1fuelcell has joined #ruby
nankyokusei has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
astrobunny has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
postmodern has joined #ruby
minimalism has quit [Ping timeout: 244 seconds]
<nchambers> is there a ruby equivalent to pythons: for count, item in enumerate(some_list): ...
drorp24[m] has joined #ruby
<al2o3-cr> nchambers: each_with_index
<nchambers> thanks again!
<al2o3-cr> np
giraffe has joined #ruby
NeverTired has quit [Quit: Connection closed for inactivity]
nankyokusei has quit [Ping timeout: 258 seconds]
tpendragon has joined #ruby
<dminuoso> al2o3-cr: each.with_index
tomphp has joined #ruby
<dminuoso> (It's the slightly more elegant solution, since it's univerally applicable to any Enumerator)
<dminuoso> ^- nchambers
<al2o3-cr> dminuoso: i only use that way when i want my indices to start at something different then 0
djellemah_ has quit [Ping timeout: 250 seconds]
<al2o3-cr> so like each.with_index(1)
ferr1 has joined #ruby
<dminuoso> al2o3-cr: I meant it's universally useful even when you do each_slice.with_index or maybe map.with_index
warrshrike has quit [Ping timeout: 260 seconds]
<al2o3-cr> dminuoso: oh, yeah sure!
<dminuoso> al2o3-cr: You don't have a "special method" to do the job and need to remember "each_with_index". So I would use each.with_index for consistencies sake. :)
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
<al2o3-cr> dminuoso: i see where your coming from ;)
ishe_ua has quit [Ping timeout: 260 seconds]
Beams has joined #ruby
<al2o3-cr> dminuoso: same with with_object too?
nadir has quit [Quit: Connection closed for inactivity]
jaguarmagenta has quit [Remote host closed the connection]
bayed has joined #ruby
<nchambers> thanks guys
<nchambers> I got that working but now theres a bug in my program :/
rodfersou has joined #ruby
<al2o3-cr> nchambers: you do know the variables are in reverse order
<nchambers> what do you mean?
<al2o3-cr> [1,2,3].each.with_index { |item, count| ... }
<nchambers> would yield 3 2 1?
<al2o3-cr> nchambers: forget that, what's your bug?
<nchambers> not sure yet
<nchambers> still looking into ti
<al2o3-cr> oh, ok
gregf_ has joined #ruby
<nchambers> its day 4 of aoc, if that means anything
<al2o3-cr> oh, yeah, forgot all about that i've not done day 4 yet :P
* al2o3-cr goes off to accomplish day 4 :P
fenre has quit [Remote host closed the connection]
<al2o3-cr> my mistake day 5
<nchambers> I'm at a loss. if you want to take a look heres my script/input http://sprunge.us/YgdQ http://sprunge.us/ObBP
jeyraof_ has quit [Quit: Leaving]
jeyraof has joined #ruby
jomakasi[m] has joined #ruby
davix[matrix] has joined #ruby
Luca[m] has joined #ruby
tobyn[m] has joined #ruby
kineticrootkit[m has joined #ruby
coreyja[m] has joined #ruby
<manveru> how do i use patchelf to fix a dynamically linked executable that uses /lib/ld-linux.so.2 ?
eliotk[m] has joined #ruby
meaggan[m] has joined #ruby
Michael5[m] has joined #ruby
fjj[m] has joined #ruby
laithshadeed[m] has joined #ruby
n[m] has joined #ruby
M-shine has joined #ruby
daveyboi[m] has joined #ruby
riotgsmport[m] has joined #ruby
bascht has joined #ruby
Giphy[m] has joined #ruby
M-mistake has joined #ruby
guanjian[m] has joined #ruby
M-manveru has joined #ruby
cpfeilschifter[m has joined #ruby
velu_aon[m] has joined #ruby
philidor[m] has joined #ruby
Donalmartin[m] has joined #ruby
serah[m] has joined #ruby
h42r62[m] has joined #ruby
vma[m] has joined #ruby
fladson[m] has joined #ruby
xberg_ has quit [Remote host closed the connection]
tdump has quit [Quit: Leaving...]
h1fuelcell has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
lee-jon has joined #ruby
h1fuelcell has quit [Ping timeout: 258 seconds]
yardenbar has joined #ruby
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
<al2o3-cr> wow, this day 5 is super hard :p
blaxter has quit [Quit: foo]
pawnbox has joined #ruby
william3 has joined #ruby
h1fuelcell has joined #ruby
tsou has quit [Ping timeout: 258 seconds]
blackbom1 has joined #ruby
jshjsh has joined #ruby
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
Lildirt has quit [Ping timeout: 244 seconds]
User458764 has joined #ruby
b0nn has quit [Ping timeout: 244 seconds]
pantic has joined #ruby
omphe has joined #ruby
b0nn has joined #ruby
Synthead has quit [Ping timeout: 256 seconds]
ozzloy has quit [Ping timeout: 260 seconds]
Lildirt has joined #ruby
postmodern has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
blackbom1 has quit [Ping timeout: 265 seconds]
Synthead has joined #ruby
<pantic> Hi
ozzloy has joined #ruby
sarbs has quit [Ping timeout: 250 seconds]
WhiteKIB- is now known as WhiteKIBA
LoneHermit has joined #ruby
pawnbox has quit [Remote host closed the connection]
savage has joined #ruby
william3 has joined #ruby
Lildirt has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
ozzloy has quit [Ping timeout: 250 seconds]
jeyraof has quit [Quit: This computer has gone to sleep]
kares_ has quit [Ping timeout: 260 seconds]
skweek has quit [Ping timeout: 256 seconds]
kares has joined #ruby
ishe_ua has joined #ruby
LoneHermit has quit [Ping timeout: 260 seconds]
Bish has quit [Ping timeout: 258 seconds]
sarbs has joined #ruby
h1fuelce_ has joined #ruby
emilkarl has joined #ruby
Bish has joined #ruby
Azure has quit [Read error: Connection reset by peer]
jaruga___ has quit [Ping timeout: 240 seconds]
h1fuelcell has quit [Ping timeout: 265 seconds]
Lildirt has joined #ruby
ozzloy has joined #ruby
workmad3 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
govg has quit [Ping timeout: 265 seconds]
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r3vDev has quit [Ping timeout: 248 seconds]
silverdu1t is now known as silverdust
r3vDev has joined #ruby
silverdust is now known as Guest57621
morphism has quit [Ping timeout: 260 seconds]
Guest57621 is now known as silverdust
silverdust has quit [Changing host]
silverdust has joined #ruby
ldnunes has joined #ruby
SpiffTR has joined #ruby
rodfersou has quit [Ping timeout: 260 seconds]
govg has joined #ruby
SpiffTR has quit [Ping timeout: 260 seconds]
r3vDev has quit [Ping timeout: 245 seconds]
william3 has quit [Remote host closed the connection]
User458764 has joined #ruby
rodfersou has joined #ruby
eb0t has joined #ruby
r3vDev has joined #ruby
<Bish> can somebody explain to me the difference between thread variables and fiber variables?
<Bish> i wanted to use [] on Thread.current, but it says that is a fiber variable
blackbom1 has joined #ruby
nowhereman has quit [Ping timeout: 256 seconds]
eb0t has quit [Client Quit]
eb0t has joined #ruby
<Bish> is it simply wrong, or is it something i didn't get, that it doesn't matter, because every thread has it's own fiber locals
nowhereman has joined #ruby
<Bish> as far as i understand that.. Thread.current[] should not be available when notin a fiber
pawnbox has quit [Remote host closed the connection]
montanonic has quit [Ping timeout: 258 seconds]
<toretore> you're always in a fiber, as you're always in a thread
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<toretore> what exactly are you having problems with?
<toretore> the fact that it says "Thread#[] contains fiber-local variables"?
<Bish> well i wan't to know if that code i posted is "false"
<Bish> since it's using fiber locals
charliesome has joined #ruby
<Bish> and you're "always in a fiber"? how does that make sense, i mean fibers have that small stack and stuff
<toretore> what do you mean false? it uses thread locals
<Bish> doesn
<Bish> well, it uses fiber locals, according to the doc
<Bish> since it uses []
<toretore> what doc?
<Bish> Thread#[]
<toretore> link pls
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
deadnull has joined #ruby
<Bish> (current thread’s root fiber if not explicitly inside a Fiber), well okay, didn't see that
<toretore> fiber-local == thread-local, for all intents and purposes
pawnbox has joined #ruby
<Bish> well, then why they make a difference in the doc, i kinda doubt that
<toretore> fibers represent a narrower scope, thus by definition if it's fiber-local it's thread-local
lee-jon has quit [Quit: lee-jon]
<toretore> the fact that Thread#[] uses fiber-local is.. weird, but it has no impact on its intended usage
<Bish> well, if you use fibers in threads it does
<toretore> no
omphe has joined #ruby
<toretore> well,
beilabs has quit [Remote host closed the connection]
<toretore> shit, yeah it does
<Bish> sure it does, if you change one of those inside a fiber it won't make it outside
<toretore> that's stupid
<Bish> but my question is answered, thank you
beilabs has joined #ruby
<Bish> in that particular code, it doesn't matter if he uses thread locals or fiber locals, since it will just use the thread root fiber scope
<Bish> the more you know
nowhereman has quit [Ping timeout: 260 seconds]
bturker has joined #ruby
* Bish wants to see ruby3
<Bish> this guard-stuff looked scary and weird
xall has quit [Ping timeout: 256 seconds]
beilabs_ has joined #ruby
beilabs has quit [Ping timeout: 248 seconds]
aryaching has joined #ruby
skweek has joined #ruby
pawnbox has quit [Remote host closed the connection]
<toretore> ok so you can use thread_variable_(get|set) to get actual thread-local vars
<Bish> yup i know, i was just confused that this code might be "wrong"
<Bish> and it still might be, but doesn't matter since no fibers are used
beilabs has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
beilabs has joined #ruby
sebatbg has joined #ruby
beilabs_ has quit [Remote host closed the connection]
psychicist__ has joined #ruby
fridim_ has quit [Ping timeout: 258 seconds]
vadviktor_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
vadviktor has joined #ruby
nocco has joined #ruby
sebatbg has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.40/20160118183504]]
LoneHerm_ has joined #ruby
nankyokusei has joined #ruby
eb0t has quit [Quit: WeeChat 1.4]
LoneHerm_ has quit [Ping timeout: 258 seconds]
eb0t has joined #ruby
yeticry has quit [Ping timeout: 245 seconds]
bturker has quit [Ping timeout: 256 seconds]
nankyokusei has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
yeticry has joined #ruby
eb0t has quit [Client Quit]
f4 has joined #ruby
koooge has quit [Quit: Leaving...]
lizard2010 has joined #ruby
zotherstupidguy has quit [Ping timeout: 246 seconds]
lizard2010 has quit [Client Quit]
zotherstupidguy has joined #ruby
GodFather has joined #ruby
xall has joined #ruby
eb0t has joined #ruby
jaguarmagenta has joined #ruby
axisys has quit [Quit: leaving]
axisys has joined #ruby
xall has quit [Ping timeout: 265 seconds]
eb0t has quit [Client Quit]
jaguarmagenta has quit [Ping timeout: 265 seconds]
SpiffTR has joined #ruby
eb0t has joined #ruby
eb0t has quit [Client Quit]
ruby309 has joined #ruby
<ruby309> cowboy: hellou
ldnunes has quit [Ping timeout: 245 seconds]
eb0t has joined #ruby
nowhereman has joined #ruby
sparch_ has joined #ruby
sparch_ has quit [Changing host]
sparch_ has joined #ruby
william3 has joined #ruby
r3vDev has quit [Ping timeout: 268 seconds]
lizard2010 has joined #ruby
lizard2010 has quit [Read error: Connection reset by peer]
nadir has joined #ruby
govg has quit [Ping timeout: 260 seconds]
dcluna has joined #ruby
eb0t has quit [Quit: WeeChat 1.4]
skweek has quit [Ping timeout: 245 seconds]
william3 has quit [Remote host closed the connection]
ropeney has joined #ruby
bturker has joined #ruby
lee-jon has joined #ruby
montanonic has joined #ruby
lenwood has quit [Ping timeout: 246 seconds]
ldnunes has joined #ruby
braincrash has joined #ruby
c355e3b has joined #ruby
aryaching has quit [Ping timeout: 265 seconds]
aryaching has joined #ruby
niranjan has quit [Ping timeout: 260 seconds]
f4 has quit [Remote host closed the connection]
ferr1 has quit [Quit: WeeChat 1.6]
ascarter has joined #ruby
tectonic has joined #ruby
lenwood has joined #ruby
SpiffTR has quit [Ping timeout: 248 seconds]
Alina-malina_ is now known as Alina-malina
raul782 has joined #ruby
al2o3-cr has quit [Ping timeout: 256 seconds]
raul782 has quit [Remote host closed the connection]
rapha has quit [Quit: WeeChat 1.6]
raul782 has joined #ruby
LoneHermit has joined #ruby
beawesomeinstead has quit []
tk__ has joined #ruby
jz has joined #ruby
jz is now known as Guest896
beawesomeinstead has joined #ruby
Guest896 has quit [Max SendQ exceeded]
johnzorn- has joined #ruby
johnzorn- has quit [Max SendQ exceeded]
LoneHermit has quit [Ping timeout: 246 seconds]
johnzorn- has joined #ruby
tectonic has quit []
brendan- has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
nettoweb has joined #ruby
johnzorn- has quit [Max SendQ exceeded]
johnzorn has quit [Ping timeout: 250 seconds]
nowhereman has quit [Remote host closed the connection]
nowhereman has joined #ruby
chouhoulis has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Bish> is there something cooler than gserver if i want to write tcp server from scratch?
<Bish> and no eventmachine please
fmcgeough has joined #ruby
johnzorn has joined #ruby
sdothum has joined #ruby
johnzorn has quit [Max SendQ exceeded]
johnzorn has joined #ruby
johnzorn has quit [Max SendQ exceeded]
SpiffTR has joined #ruby
braincrash has quit [Ping timeout: 250 seconds]
rwb has quit [Ping timeout: 268 seconds]
johnzorn has joined #ruby
x77686d has joined #ruby
johnzorn has quit [Max SendQ exceeded]
AlbertTing has joined #ruby
johnzorn has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
johnzorn has quit [Max SendQ exceeded]
fergal has joined #ruby
<fergal> hi guys, is it possible for a class definition to contain an instance of itself?
destructure has joined #ruby
destructure has quit [Changing host]
destructure has joined #ruby
aryaching has quit [Ping timeout: 268 seconds]
xrlk has joined #ruby
h1fuelce_ has quit [Remote host closed the connection]
emilkarl has quit [Read error: Connection reset by peer]
lee-jon has quit [Quit: lee-jon]
emilkarl has joined #ruby
synthroid has joined #ruby
<toretore> fergal: elaborate
<matthewd> Bish: nio4r is handy if you want an evented IO model without EM.. but it's a layer below what gserver does; I don't know of any direct equivalent
<Bish> matthewd: looking into it
<Bish> right now i found my way back to celluloid
<Bish> but i am unsure if i want that
tvw has joined #ruby
<fergal> toretore: so i have a class thats basically a hash for storing configuration key/values. i want to have another hash that mimicks the same structure as the options hash, with the same keys, but the values will be the source of the configuration value. so say my config hash looks like { “log” => “debug” }, the source hash will look like { “log” => “command line parameter” } - in my application, config values can be set in a bunch of different ways
<fergal> env vars, config files, command line flags etc, so i want to keep track of where each config parameter comes from
pawnbox has quit [Remote host closed the connection]
psychicist__ has quit [Ping timeout: 240 seconds]
<Bish> what about cool.io is that fancy?
<fergal> it seems to me that the nicest way to do this is for my config hash to contain an instance of the same class, called source hash, and when the config hash gets updated, i can update the source hash at the same time
allcentury has joined #ruby
<toretore> cool.io is deprecated
<toretore> fergal: do you have any code to gist?
<fergal> the other approach would be to instantiate the source hash at the same level as the config hash, and update the source hash as and when i update the config hash
<emilkarl> it is possible to do (1..10).each but is it possible to do the other way around (10..1).each?
johnmilton has joined #ruby
<herwin> 10.downto(1).each
<emilkarl> Ty!
<emilkarl> herwin
william3 has joined #ruby
<kke> can you think of some nice way to safely eval / perform calculations? such as: val = "(5+7)/2"; val = eval(val) .. perhaps a regex that validates the string is just plain simple math? :)
lxsameer has quit [Quit: WeeChat 1.6]
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
<kke> coming to think of it i just want +,-,*,/ and ().. so i can do something like "if var =~ /\A[+-*\0-9]+\z/"
<kke> i doubt anyone's going to hack that.
ruby309 has quit [Ping timeout: 260 seconds]
tyang has joined #ruby
<Bish> hm i am not getting forward with my decision
<Bish> celluloid seems buggy, cool.io is deprecated nio stuff seems "too low"
william3 has quit [Remote host closed the connection]
Vile` has joined #ruby
<Bish> please help me deciding :(
<Bish> do i write it completely from scratch?
tyang has quit [Read error: Connection reset by peer]
william3 has joined #ruby
<kke> celluloid is pretty popular, can't be too buggy
aryaching has joined #ruby
<Bish> well, i just started a project of them, and it answers me with a stack trace
xberg has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Bish> the smtp-server to be exact
SpiffTR has quit [Ping timeout: 268 seconds]
<toretore> Bish: what exactly are your goals?
<Bish> i want to write a mini smtp server, which has a lot of more capabilities then the existing once
tyang has joined #ruby
kworker has quit [Remote host closed the connection]
<toretore> define capabilities
jtdoncas has joined #ruby
<Bish> well, the existing ones like mini-smtp-server can like.. accept a single ail
<Bish> without authentication and such, and are poorly written
<Bish> i want one with supports starttls, ssl, and accepts authentication of every form
<Bish> since i was unable to find one, i was about to write one myself
<toretore> what are the use cases?
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
raul782 has quit [Read error: Connection reset by peer]
raul782 has joined #ruby
centrx has joined #ruby
Bish_ has joined #ruby
<Bish_> sorry, i just disconnected, did someone answer?
<toretore> what are the use cases?
jtdoncas has quit [Ping timeout: 260 seconds]
Bish has quit [Ping timeout: 244 seconds]
<Bish_> authenticated user sends mail, i want to do some checks on hhat mail and reroute it
<toretore> no, i mean how will it be used?
<Bish_> well, as proxy before a "real" postfix server
<toretore> is it meant to be a library, an executable?
<Bish_> i just don't to fuck around with postfix code
<Bish_> executable
<toretore> ok, so then you have 3 main choices: TCPServer, EventMachine or Celluloid
<Bish_> eventmachine is out, i don't like it, celluloid has a smtp server which is buggy(as it seems)
<Bish_> tcpserver alone would be a lot of work
<toretore> because?
<Bish_> well, because i would have to write it from scratch
<toretore> let's be clear: you are going to have to write your own smtp server
<toretore> you're not going to extend an existing one
<Bish_> yeah, as it seems
<Bish_> then i will do it with threading and tcpserver
<herwin> can't postfix just call an external script and perform something according to the result of that script?
<herwin> I know exim can
<Bish_> i will have to consult a database with existing models
psychicist__ has joined #ruby
<Bish_> my mental health is not ready to do that with postfix configuration
PaulCapestany has quit [Quit: .]
<herwin> I don't think writing you own smtp server is good for your mental health either
<toretore> probably not
<Bish_> well, that smtp server is just so i can accept mails
<Bish_> it's not supposed to communicate with other email servers,
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
centrx has quit []
Cra2yZer0 has joined #ruby
Vile` has quit [Ping timeout: 260 seconds]
Cra2yZer0 has quit [Client Quit]
william3 has quit [Remote host closed the connection]
nankyokusei has joined #ruby
AlbertTing has quit [Quit: AlbertTing]
allcentury has quit [Ping timeout: 260 seconds]
AlbertTing has joined #ruby
flying has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
AlbertTing has quit [Client Quit]
AlbertTing has joined #ruby
claudiuinberlin has joined #ruby
AlbertTing has quit [Client Quit]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
raul782 has quit [Read error: Connection reset by peer]
raul782 has joined #ruby
rwb has joined #ruby
gnufied has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
claudiuinberlin has quit [Ping timeout: 260 seconds]
atmosx has joined #ruby
josealobato has joined #ruby
krsh has joined #ruby
SpiffTR has joined #ruby
xall has joined #ruby
william3 has joined #ruby
josealobato has quit [Client Quit]
pantic has quit [Ping timeout: 265 seconds]
SpiffTR has quit [Ping timeout: 268 seconds]
jaguarmagenta has joined #ruby
<Bish_> how stupid is a hashmap full of procs instead of methods, is there something bad about that?
<Bish_> in case i write a statemachine with a set of handlers
<Bish_> or is it equivalent
<manveru> basically same as a class and using send
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
<Bish_> but i could use scoping with this approach
anuxivm has joined #ruby
<manveru> well, except with send you at least get nice backtraces
h1fuelcell has joined #ruby
jaguarmagenta has quit [Ping timeout: 256 seconds]
eggshke has quit []
r3vDev has joined #ruby
<manveru> not sure why you think you can't do scoping with methods :)
<matthewd> I really think you're overestimating the difficulty of configuring Postfix, and wildly underestimating the difficulty of writing a mail server :/
xall has quit [Read error: Connection reset by peer]
<Bish_> i've done all that before, so trust me on that one ;) but thanks for the advice
<Bish_> i know this is hell
<toretore> Bish_: instead of being so specific, just say: give me an object that responds to x and returns y
<toretore> which also describes "responds to [symbol], then call" i guess, but it's simpler
<Bish_> i know this is hell
<Bish_> whopsie, sorry.
<manveru> well, i'd just write the proxy using the builtin sockets and a bit of IO.select and see how it goes :)
_ZerGabriel_ has joined #ruby
SpiffTR has joined #ruby
<Bish_> well it's not really a proxy, this thing is supposed to receive a mail and look what it can do with it
xall has joined #ruby
claudiuinberlin has joined #ruby
<Bish_> is it possible to manipulate pre-defined locals for a method?
h1fuelcell has quit [Ping timeout: 265 seconds]
<Bish_> tl;dr can i manipulate local variables programmaticially?
<toretore> that is not a question you should be asking
<Bish_> just interested
<manveru> >> class X; name = "someone"; define_method(:shout){ puts "hi i'm #{name}" }; end; X.new.shout
<ruby[bot]> manveru: # => hi i'm someone ...check link for more (https://eval.in/691250)
rwb has quit [Ping timeout: 248 seconds]
<manveru> like that?
<manveru> if you mean local variables from outside scopes
<manveru> though you'd usually use constants for that
rodfersou is now known as rodfersou|lunch
<toretore> Bish_: then you have to be more specific
<Bish_> im really confused by now :D this writing a server in ruby thingie fucks me up
<Bish_> :D
sepp2k has joined #ruby
<manveru> just write it in elixir then ;)
<Bish_> manveru: did you just tell me to fuck myself?
deadnull has quit [Quit: Bye]
krsh has quit [Quit: krsh]
<manveru> no idea how you'd interpret it that way, but whatever language makes you happy
<Bish_> i was relating to this one :D sorry for the language
<Bish_> this always makes me laugh
<Bish_> ruby is the best language, imho
claudiuinberlin has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 248 seconds]
<Bish_> toretore: basicially i want the connection to have a state, i don't know quite how i would do that
<Bish_> i could wrap a single connection into an object.. that would abstract it
oivoodoo has quit [Remote host closed the connection]
<Bish_> but i am unsure if i want that
<manveru> any reason you dislike EM?
oivoodoo has joined #ruby
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
<Bish_> i can't really put it into words, but i don't feel EM uses the capabilities ruby offers
<Bish_> just looks like wrapped C-code
<manveru> well... it _is_ wrapped C code
skweek has joined #ruby
<manveru> but so is IO
<Bish_> yeah and ruby is strong when you barely program and just configure stuff with weird DSLs
<Bish_> that's basicially my goal
<toretore> Bish_: then you should be asking about that instead of how to manipulate local variables
ta_ has quit [Remote host closed the connection]
<manveru> ah, i see where our viewpoints diverge now :)
<Bish_> toretore: metaprogramming is also the strength of ruby
<Bish_> so if ruby can do that it's good to know :)
<Bish_> but it really looks ugly, after looking into few threads of stackoverflow
lee-jon has joined #ruby
<toretore> metaprogramming is a code smell
josealobato has joined #ruby
<Bish_> then why do you like ruby?
hightower2 has quit [Ping timeout: 250 seconds]
<herwin> there is more to ruby than just metaprogramming
hightower2 has joined #ruby
<toretore> the way you're asking questions suggests to me that you are just lacking knowledge, so my suggestion is that you read up on the various things you're trying to work with
cdg has joined #ruby
<Bish_> well, but i think the poor ruby speed is because of features like that
oivoodoo has quit [Ping timeout: 265 seconds]
<Bish_> toretore: i've done enough to know what i am doing thanks
<Bish_> so i think ruby is a poor choice if you don't use it's main features
rfoust has joined #ruby
SpiffTR has quit [Ping timeout: 244 seconds]
tuxaddicted has joined #ruby
cdg has quit [Read error: Connection reset by peer]
tehcraig has joined #ruby
montanonic has quit [Ping timeout: 256 seconds]
cdg has joined #ruby
x77686d has quit [Quit: x77686d]
aryaching has quit [Ping timeout: 248 seconds]
rfoust has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
Saladus has joined #ruby
ramortegui has joined #ruby
emilkarl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LoneHerm_ has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
mikeiniowa has joined #ruby
bmurt has joined #ruby
<Bish_> >> proc { test = 3; proc { puts test }.call}.call
Bish_ is now known as Bish
<Bish> >> proc { test = 3; proc { puts test }.call}.call
<ruby[bot]> Bish: # => 3 ...check link for more (https://eval.in/691257)
<Bish> can i do that with methods?
<Bish> this clojure stuff, or does it always have to be connected conexttually in sourcecode?
<toretore> you are still asking the wrong questions
<Bish> toretore: opinion
<Bish> and the chances are high that i do not even use that, but i want to know
rwb has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
beilabs_ has joined #ruby
allcentury has joined #ruby
Saladus has quit [Remote host closed the connection]
emilkarl has joined #ruby
nikivi has joined #ruby
tk__ has quit [Quit: ばいばい]
Saladus has joined #ruby
zapata has joined #ruby
jsrn_ has quit [Read error: Connection reset by peer]
jhack has joined #ruby
beilabs has quit [Ping timeout: 256 seconds]
rwb has quit [Client Quit]
adavia has joined #ruby
jhack has quit [Client Quit]
rwb has joined #ruby
jhack has joined #ruby
workmad3 has joined #ruby
jaguarmagenta has joined #ruby
yardenbar has quit [Ping timeout: 268 seconds]
Saladus has quit [Quit: Leaving]
Saladus has joined #ruby
ropeney has joined #ruby
<Bish> is using the EM-mailserver fine with you guys, or still to wacky?
lee-jon has quit [Quit: lee-jon]
nowhereman has quit [Remote host closed the connection]
nowhereman has joined #ruby
saslam has joined #ruby
<josealobato> what do I need to require to use the sh command? i require rake on IRB and it works but my script it does not. Any idea?
<dminuoso> josealobato: What sh command are you talking about
<dminuoso> Please gist a testcase
lee-jon has joined #ruby
<josealobato> to execute bash commands e.g.
<josealobato> sh('ls')
<dminuoso> josealobato: https://i.stack.imgur.com/1Vuvp.png
<dminuoso> josealobato: A lot of these are builtin and do not require any requries.
DLSteve has joined #ruby
<josealobato> yes I was using %x but i did not find a good way to get the result and error.
SpiffTR has joined #ruby
<dminuoso> josealobato: Follow the flowchart. :)
<josealobato> I have seen in ruby doc that sh works better
Emmanuel_Chanel has joined #ruby
<dminuoso> josealobato: Where?
failshell has joined #ruby
<josealobato> from 1.9 I know
<dminuoso> josealobato: Looks like it was removed. I can't recall the details.
<dminuoso> josealobato: The flowchart lists all up-to-date methods. If you have trouble with any of these, please give us a) the code you have, b) what behavior you expect and c) what behavior you got instead.
GodFather has quit [Ping timeout: 240 seconds]
<josealobato> but the funny thing is that in irb it works
dviola has joined #ruby
<dminuoso> josealobato: use method(:sh).owner and tell me what you get
b0g is now known as bh
bh is now known as b0g
cdg_ has joined #ruby
b0g has quit [Changing host]
b0g has joined #ruby
Keltia_ is now known as Keltia
jhack has quit [Quit: jhack]
<failshell> im using this code, but im getting a 401, any idea why it's not authenticating? https://gist.github.com/ls-jftheroux/d5e8207cffbb71126eeee08431d2326d the user/pass are valid, i can POST with curl
Keltia has quit [Changing host]
Keltia has joined #ruby
cdg has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has quit [Client Quit]
<josealobato> #<Method: Object(Rake::FileUtilsExt)#sh>
<dminuoso> josealobato: There you go. It's apparently a Rake extension.
s1kx has joined #ruby
jaruga___ has joined #ruby
<dminuoso> Which apparently got included into main's singleton class.
<dminuoso> josealobato: Just use the methods from the flowchart.
xall has quit [Read error: Connection reset by peer]
<josealobato> Oh! so I may use Rake::sh?
SpiffTR has quit [Ping timeout: 258 seconds]
<josealobato> indeed, that woks.
<dminuoso> josealobato: No.. just use %x{} ...
<dminuoso> josealobato: But do what you please.
GodFather has joined #ruby
nowhereman has quit [Remote host closed the connection]
<josealobato> thanks. By the way I use it to run an Applescript and get better diagnostic on the result. Thanks dminuoso
nowhereman has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
terens has quit [Ping timeout: 250 seconds]
<toretore> failshell: what is the curl equivalent that works?
xall has joined #ruby
yardenbar has joined #ruby
fmcgeough has quit [Ping timeout: 248 seconds]
jwinder has joined #ruby
jwinder has quit [Remote host closed the connection]
<failshell> toretore: curl -X POST -u "user:password" -i http://1.2.3.4:7180/api/v14/users/ -H "content-type:application/json" -d '{ "items": [ { "name": "joe", "password": "test", "roles": ["ROLE_USER"] } ] }'
tax has joined #ruby
cibs has joined #ruby
jhack has joined #ruby
william3 has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
yardenbar has quit [Remote host closed the connection]
Saladus has quit [Remote host closed the connection]
<toretore> failshell: it's because you're using initialize_http_header
<toretore> use request[key] = value
skweek has quit [Ping timeout: 240 seconds]
jaguarmagenta has quit [Remote host closed the connection]
Saladus has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
buglessdr has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
<failshell> toretore: wow ok that fixed it. what does it do differently?
<toretore> you're not supposed to use initialize_http_header
x77686d has joined #ruby
<toretore> as its name suggests, it's for initializing the header values, meaning it will reset anything that was there before
<failshell> i thought it initialized only that given header
<failshell> ok well, thanks :)
SpiffTR has joined #ruby
jrafanie has joined #ruby
<toretore> i don't know why it isn't private, maybe there is a use case i can't think of
h1fuelcell has joined #ruby
patarr has joined #ruby
fmcgeough has joined #ruby
hahuang65 has quit [Ping timeout: 245 seconds]
oivoodoo has joined #ruby
SpiffTR has quit [Ping timeout: 258 seconds]
rwb has quit [Ping timeout: 250 seconds]
h1fuelcell has quit [Ping timeout: 244 seconds]
william3 has joined #ruby
nocco has quit [Remote host closed the connection]
User458764 has joined #ruby
h1fuelcell has joined #ruby
terens has joined #ruby
oivoodoo has quit [Ping timeout: 260 seconds]
terens has quit [Remote host closed the connection]
tvw has quit []
babblebre has joined #ruby
nocco has joined #ruby
polishdub has joined #ruby
johnzorn has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 260 seconds]
beilabs_ has quit [Remote host closed the connection]
hahuang65 has joined #ruby
beilabs has joined #ruby
rippa has joined #ruby
johnzorn has quit [Max SendQ exceeded]
marr has joined #ruby
johnzorn has joined #ruby
andikr has quit [Remote host closed the connection]
<emilkarl> Is it possible to extend Numeric and be able to set self? I would like clamp! to set foo to max when doing foo.clamp!(5,10) instead of returning it
claudiuinberlin has joined #ruby
<dminuoso> emilkarl: ?try
<dminuoso> emilkarl: !try
<dminuoso> !try emilkarl
<dminuoso> ?try emilkarl
<ruby[bot]> emilkarl: Why don't you try it and see for yourself?
<dminuoso> emilkarl: Also note that operator precedence would like to have a word with you.
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<dminuoso> ast>> self < min ? min : self > max ? max : self
<ruby[bot]> dminuoso: I have parsed your code, the result is at https://eval.in/691289
<dminuoso> Is that what you intended?
beilabs has quit [Ping timeout: 268 seconds]
jhack has quit [Quit: jhack]
<dminuoso> (My point being that this calls for at least one set of parens for clarity)
antoniobeyah has joined #ruby
antoniobeyah has quit [Client Quit]
<toretore> emilkarl: Numerics are immutable (meaning, no)
<emilkarl> ah ok
<emilkarl> ty toretore
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
chouhoulis has joined #ruby
josealobato has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nocco has quit [Remote host closed the connection]
saneax is now known as saneax-_-|AFK
johnzorn has quit [Max SendQ exceeded]
ishe_ua has quit [Remote host closed the connection]
Cra2yZer0 has joined #ruby
johnzorn has joined #ruby
govg has joined #ruby
<Cra2yZer0> hello everyone!
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Cra2yZer0> who can tell me what does '::new' mean in the ruby manual
<Cra2yZer0> and '#=='
<toretore> are you asking about the difference between :: and #?
<Cra2yZer0> yes
<canton7> Cra2yZer0, '#stuff' is an instance method. '::stuff' is a class method
<TheBrayn> I think the whole # is unclear
<Cra2yZer0> oh , i see
<Cra2yZer0> i get it
<canton7> so 'foo = Foo::new (or Foo.new, more idiomatically). foo == bar'
<toretore> # is not valid syntax, it's just used to say "this is an instance method"
<toretore> you should use . for class methods instead of ::, reserving the latter for constants only
aganov has quit [Remote host closed the connection]
<dminuoso> TheBrayn: # is actually quite clear. :: is just very unclear.
<toretore> Foo::SubClass; Foo::CONSTANT; Foo.class_method; Foo#instance_method
xberg has quit [Remote host closed the connection]
LoneHermit has joined #ruby
<toretore> sorry, NamespacedClass, not SubClass
nocco has joined #ruby
<dminuoso> toretore: Foo::SubClass is also just a case of Foo::Constant. ;-)
bmurt has joined #ruby
jhack has joined #ruby
<dminuoso> toretore: Same thing. A "namespaced class" in there is just a constant.
<dminuoso> Foo::Bar is just a constant - whatever that constant is, whether its a fixnum or a class.
CloCkWeRX has quit [Quit: Leaving.]
blackbom1 has quit [Ping timeout: 258 seconds]
LoneHermit has quit [Ping timeout: 246 seconds]
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rodfersou|lunch is now known as rodfersou
Salih has joined #ruby
xberg has joined #ruby
johnzorn has quit [Quit: Ciao]
johnzorn has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
<Bish> quit
Bish has quit [Quit: leaving]
pantic has joined #ruby
xberg has quit [Remote host closed the connection]
blackjid has joined #ruby
terens has joined #ruby
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
Emmanuel_Chanel has joined #ruby
omphe has joined #ruby
nankyokusei has joined #ruby
lenwood has quit [Ping timeout: 246 seconds]
millerti has joined #ruby
rwb has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
nocco has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kobain has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
Saladus has quit [Quit: Leaving]
codfection has quit [Remote host closed the connection]
digitalfiz has joined #ruby
johnzorn has quit [Quit: Ciao]
nocco has joined #ruby
johnzorn has joined #ruby
tax has quit [Ping timeout: 240 seconds]
beilabs has joined #ruby
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
antoniobeyah has joined #ruby
* Cra2yZer0 hello
* Cra2yZer0 quit
braincrash has quit [Ping timeout: 248 seconds]
Cra2yZer0 is now known as hahahaha
x77686d has quit [Quit: x77686d]
jrafanie has joined #ruby
terens has quit [Ping timeout: 258 seconds]
rikkipitt has joined #ruby
hahahaha has left #ruby [#ruby]
johnzorn has quit [Quit: Ciao]
SpiffTR has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ruby
mark_66 has quit [Remote host closed the connection]
tdy has joined #ruby
d0nn1e has joined #ruby
flashpoint9 has joined #ruby
blackbom1 has joined #ruby
SpiffTR has quit [Ping timeout: 268 seconds]
savage is now known as ButtMuffler
hahahaha has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
hahahaha has left #ruby [#ruby]
elaptics has quit [Quit: Textual IRC Client: www.textualapp.com]
vondruch has quit [Quit: vondruch]
nowhereman has quit [Remote host closed the connection]
lee-jon has quit [Quit: lee-jon]
nowhereman has joined #ruby
antoniobeyah has joined #ruby
lee-jon has joined #ruby
Devalo has joined #ruby
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Madplatypus has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
byte512 has joined #ruby
raul782 has quit [Remote host closed the connection]
brent__ has joined #ruby
flashpoint9 has quit [Ping timeout: 240 seconds]
rikkipit_ has joined #ruby
[Butch] has joined #ruby
Cyrus has joined #ruby
blackwind_123 has joined #ruby
andikr has joined #ruby
conta has quit [Ping timeout: 256 seconds]
fergal has quit [Quit: fergal]
rikkipitt has quit [Ping timeout: 260 seconds]
<zotherstupidguy> why (1...10) === 5
<zotherstupidguy> equals `true`
<zotherstupidguy> ?
<elomatreb> `===` does loose (case) equality, and since 5 is in the range 1...10, it returns true
<elomatreb> You probably want `==`
<zotherstupidguy> okay
antoniobeyah has quit [Quit: antoniobeyah]
<zotherstupidguy> thnx
<adaedra> you should not have to use === ever
Devalo has quit [Remote host closed the connection]
antoniobeyah has joined #ruby
<byte512> adaedra: why? it's just an `.include?` no?
<adaedra> it depends on the type on the left
<elomatreb> === does scary amounts of magic, depending on what is being compared
m1911 has joined #ruby
<adaedra> === is the “magic” between case, and in most cases there's a named method which does it too and is much clearer
<byte512> ha, interesting, didn't know case was using ===
<adaedra> elomatreb: there's no real magic behind ===, it's a method like any other
<elomatreb> And doesn't silently do something different if your types mismatch, === will happily accept nil too
<elomatreb> adaedra: I know how it works, but doing so dramatically different things depending on type counts as magic in my opinion
<byte512> hum, ok
<adaedra> you should see a lot of magic then.
enterprisey has joined #ruby
emilkarl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elomatreb> adaedra: What would you call this behaviour then?
LoneHermit has joined #ruby
<adaedra> object-oriented programming
m1911 has quit [Client Quit]
m1911 has joined #ruby
xall has quit [Read error: Connection reset by peer]
<elomatreb> adaedra: I am not talking about the implementation here, what I would call magic is the concept of an operator that "does what you mean, not what you say"
vuoto has quit [Remote host closed the connection]
lenwood has joined #ruby
tdy has quit [Read error: Connection reset by peer]
codfection has joined #ruby
m1911 has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 260 seconds]
_ZerGabriel_ has quit []
shinnya has joined #ruby
blackjid has quit [Ping timeout: 258 seconds]
SpiffTR has joined #ruby
xall has joined #ruby
tpendragon has quit [Ping timeout: 258 seconds]
roger_rabbit has quit [Changing host]
roger_rabbit has joined #ruby
Macrobiotic has joined #ruby
flashpoint9 has joined #ruby
<baweaver> I use === fairly frequently in library functions.
hutch34 has joined #ruby
tdy has joined #ruby
jgnagy has joined #ruby
xall has quit [Ping timeout: 250 seconds]
raul782 has joined #ruby
giraffe has quit [Quit: ZNC - http://znc.in]
raul782 has quit [Remote host closed the connection]
tyang_ has joined #ruby
nocco has quit []
dnicole has quit [Remote host closed the connection]
TomyWork has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anuxivm has quit [Remote host closed the connection]
beilabs has quit [Remote host closed the connection]
cschneid_ has joined #ruby
anuxivm has joined #ruby
tyang has quit [Ping timeout: 260 seconds]
etehtsea has joined #ruby
vondruch has joined #ruby
giraffe has joined #ruby
jaguarmagenta has joined #ruby
jackjackdripper has joined #ruby
tpendragon has joined #ruby
marxarelli has joined #ruby
troulouliou_div2 has joined #ruby
LoneHermit has joined #ruby
LoneHermit has quit [Remote host closed the connection]
jackjackdripper has quit [Read error: Connection reset by peer]
x77686d has joined #ruby
jaguarmagenta has quit [Ping timeout: 268 seconds]
jackjackdripper has joined #ruby
william3 has quit [Remote host closed the connection]
x77686d has quit [Client Quit]
nikivi has quit [Read error: Connection reset by peer]
lenwood has quit [Ping timeout: 246 seconds]
x77686d has joined #ruby
r3vDev has quit [Ping timeout: 268 seconds]
oivoodoo has joined #ruby
czerasz has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby
x77686d has quit [Client Quit]
cibs has joined #ruby
cpruitt has joined #ruby
rodferso1 has joined #ruby
<tehcraig> i think rubocop defaults to dislike for === for the above reasons
amclain has joined #ruby
railssmith has quit [Ping timeout: 248 seconds]
rodfersou has quit [Ping timeout: 260 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enterprisey has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oivoodoo has quit [Ping timeout: 268 seconds]
jhack has quit [Ping timeout: 260 seconds]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
raul782 has joined #ruby
b0nn has quit [Quit: leaving]
x77686d has joined #ruby
User458764 has joined #ruby
SuperLag has joined #ruby
b0nn has joined #ruby
<brent__> antoniobeyah: hi, you around. had a follow up s3 question
<antoniobeyah> brent__: sure, shoot
nikivi has joined #ruby
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
x77686d has quit [Client Quit]
jhack has joined #ruby
xall has joined #ruby
ascarter has quit [Client Quit]
<brent__> so i did get the basic functionality set up, and I can display PDFs inside an <embed> tag in my react frontend, however it's a bit ugly, and am trying to treat it more like images with an <a> wrapping to to the actual pdf link. I was looking at a couple react-components on NPM and when I try to use them, i get a CORS error, that doesn't happen when just
<brent__> accessing the url's in the embed tag
lenwood has joined #ruby
<brent__> i did add this to my aws cors config
<ruby[bot]> brent__: we in #ruby do not like irccloud.com, I reposted your paste to gist for you: https://gist.github.com/f7fd0a479e536d3b97b90cf80b7b89b3
<ruby[bot]> brent__: irccloud.com has no syntax highlighting, distracting formatting and loads slowly for most.
ascarter has joined #ruby
jtdoncas has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yeticry has quit [Ping timeout: 248 seconds]
ButtMuffler is now known as SkrubLord
bovis has joined #ruby
yeticry has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
lenwood has quit [Ping timeout: 260 seconds]
raul782 has quit [Remote host closed the connection]
jtdoncas has quit [Ping timeout: 244 seconds]
skweek has joined #ruby
rikkipit_ has quit [Ping timeout: 260 seconds]
<antoniobeyah> brent__: what is the cors failure? it should tell you the method and uir
<antoniobeyah> uri
josealobato has joined #ruby
<antoniobeyah> without that its hard to say
saslam has quit [Ping timeout: 268 seconds]
pawnbox has joined #ruby
<brent__> XMLHttpRequest cannot load https://brent-pdfs.s3-us-west-1.amazonaws.com/file/pdf/c0cd57ef-008f-45d4-ab87-c0e3cc36a931.pdf. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.
marr has quit [Ping timeout: 250 seconds]
<antoniobeyah> try adding OPTIONS to the allowed methods
tvw has joined #ruby
<brent__> it seems to have resolved itself on its own, kind of. Now it loads and only error i get is 'Refused to get unsafe header "Accept-Ranges"'
<brent__> I just added <Expose Header>Accept-Ranges</ExposeHeader>, to my aws config
<brent__> see if that does it
braincrash has joined #ruby
loincloth has joined #ruby
anhnhoktvn has joined #ruby
claudiuinberlin has quit []
bmurt has joined #ruby
<antoniobeyah> try to see if the request is returning any caching headers as well
<antoniobeyah> i think the default is to not do it, but double check
banisterfiend has joined #ruby
<antoniobeyah> for the OPTIONS request
SpiffTR has quit [Ping timeout: 245 seconds]
yeticry has quit [Ping timeout: 258 seconds]
TomyWork has quit [Remote host closed the connection]
yeticry has joined #ruby
brendan- has joined #ruby
TomyWork has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
raul782 has joined #ruby
Saladus has joined #ruby
nankyokusei has joined #ruby
tummy has quit [Remote host closed the connection]
nowhereman has quit [Ping timeout: 240 seconds]
raul782 has quit [Remote host closed the connection]
harai has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
tummy has joined #ruby
tax has joined #ruby
czerasz has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 256 seconds]
antoniobeyah has joined #ruby
<brent__> Access-Control-Allow-Methods:GET, POST, PUT / Access-Control-Allow-Origin:* / Access-Control-Expose-Headers:Accept-Ranges, Content-Range, Content-Encoding, Content-Length
xrlk has quit [Ping timeout: 265 seconds]
allcentury has quit [Ping timeout: 248 seconds]
<brent__> interesting, so it's requesting 3 files, the first file has the 'Acess-Control-Expose-Headers' like i pasted above, but the 2nd/3rd do not
josealobato has quit [Quit: Textual IRC Client: www.textualapp.com]
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 258 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
deadnull has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 245 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
senayar has quit []
conta has joined #ruby
rikkipitt has joined #ruby
Tharbakim has quit [Read error: Connection reset by peer]
Tharbakim has joined #ruby
tau has quit [Remote host closed the connection]
whathappens has joined #ruby
Emmanuel_Chanel has joined #ruby
lxsameer has joined #ruby
sparch_ has quit [Ping timeout: 246 seconds]
cippaciong has joined #ruby
SkrubLord is now known as savage
conta has quit [Ping timeout: 256 seconds]
tau has joined #ruby
andikr has quit [Remote host closed the connection]
dasher00 has quit [Quit: Leaving]
LoneHerm_ has joined #ruby
maattdd has quit [Ping timeout: 248 seconds]
dasher00 has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
pilne has joined #ruby
jackjackdripper1 has joined #ruby
konsolebox has quit [Ping timeout: 248 seconds]
tau has quit [Remote host closed the connection]
jackjackdripper has quit [Read error: Connection reset by peer]
muelleme has joined #ruby
dklima has joined #ruby
rikkipitt has quit [Quit: Leaving...]
Rodya_ has joined #ruby
SpiffTR has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
h1fuelcell has quit [Remote host closed the connection]
chouhoul_ has joined #ruby
tau has joined #ruby
cibs has joined #ruby
synthroi_ has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mrgoose has quit [Ping timeout: 260 seconds]
whathappens has quit [Remote host closed the connection]
ascarter has joined #ruby
GodFather has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
chouhoul_ has quit [Ping timeout: 240 seconds]
synthroid has quit [Ping timeout: 265 seconds]
Dimik has joined #ruby
Rodya_ has quit [Ping timeout: 258 seconds]
apeiros_ is now known as apeiros
x77686d has joined #ruby
bmurt has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
flying has quit [Ping timeout: 240 seconds]
yeticry has quit [Ping timeout: 268 seconds]
konsolebox has joined #ruby
lxsameer has quit [Ping timeout: 256 seconds]
yeticry has joined #ruby
tyang__ has joined #ruby
skweek has joined #ruby
SpiffTR has quit [Ping timeout: 245 seconds]
last_staff has joined #ruby
_djbkd has joined #ruby
tyang_ has quit [Ping timeout: 260 seconds]
SpiffTR has joined #ruby
splud has joined #ruby
spidermario is now known as spider-mario
howdoi has quit [Quit: Connection closed for inactivity]
TomyWork has quit [Ping timeout: 256 seconds]
whathappens has joined #ruby
Mrgoose has joined #ruby
Salih has quit [Quit: Leaving]
Beams has quit [Quit: .]
JoshS has quit [Quit: Leaving]
jhack has quit [Ping timeout: 258 seconds]
firstdayonthejob has joined #ruby
x77686d has quit [Quit: x77686d]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dklima is now known as sparch_
LoneHerm_ has quit [Ping timeout: 248 seconds]
sparch_ has quit [Changing host]
sparch_ has joined #ruby
bmurt has joined #ruby
lxsameer has joined #ruby
x77686d has joined #ruby
allcentury has joined #ruby
sparch_ has quit [Quit: Leaving]
sparch_ has joined #ruby
sparch_ has quit [Client Quit]
sparch_ has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
x77686d has quit [Client Quit]
sparch_ has quit [Client Quit]
allcentury has quit [Ping timeout: 246 seconds]
dklima has joined #ruby
deadnull has quit [Quit: Bye]
SpiffTR has quit [Ping timeout: 258 seconds]
dklima has left #ruby [#ruby]
x77686d has joined #ruby
x77686d has quit [Client Quit]
skweek has quit [Ping timeout: 260 seconds]
claudiuinberlin has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has joined #ruby
lxsameer has quit [Quit: WeeChat 1.6]
rfoust has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
nadir has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
x77686d has joined #ruby
raul782 has joined #ruby
fmcgeough has joined #ruby
chouhoulis has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
nadir has joined #ruby
d5sx43 has joined #ruby
jhack has joined #ruby
x77686d has quit [Client Quit]
banisterfiend has quit [Ping timeout: 260 seconds]
lee-jon has quit [Quit: lee-jon]
renderfu_ has joined #ruby
raul782 has quit [Ping timeout: 246 seconds]
jhack has quit [Ping timeout: 245 seconds]
muelleme has quit [Ping timeout: 268 seconds]
d5sx43 has quit [Quit: Leaving...]
ineb has quit [Remote host closed the connection]
benlieb has joined #ruby
xall has quit [Ping timeout: 246 seconds]
josealobato has joined #ruby
<josealobato> It looks like rubyCocoa is not maintained, right? any alternative?
firstdayonthejob has quit [Ping timeout: 250 seconds]
jaguarmagenta has joined #ruby
dnicole has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
babblebre has joined #ruby
jtdoncas has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xall has joined #ruby
minimalism has joined #ruby
jeffaustin81 has joined #ruby
ineb has joined #ruby
jaguarmagenta has quit [Ping timeout: 265 seconds]
jaruga___ has quit [Quit: jaruga___]
jhack has joined #ruby
Saladus has quit [Remote host closed the connection]
<miah> josealobato: rubymotion or shoes?
antoniobeyah has joined #ruby
nettoweb has joined #ruby
synthroi_ has quit [Remote host closed the connection]
rwb has quit [Ping timeout: 245 seconds]
minimalism has quit [Quit: minimalism]
ascarter has joined #ruby
marr has joined #ruby
tyang_ has joined #ruby
jhack has quit [Ping timeout: 256 seconds]
tyang_ has quit [Client Quit]
tyang has joined #ruby
adavia has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
TomyLobo has joined #ruby
tyang__ has quit [Ping timeout: 260 seconds]
jhack has joined #ruby
Rodya_ has joined #ruby
firstdayonthejob has joined #ruby
bmurt has quit [Ping timeout: 248 seconds]
anuxivm has quit [Quit: ¡Saliendo!]
nettoweb has quit [Read error: Connection reset by peer]
pantic has quit [Remote host closed the connection]
nettoweb has joined #ruby
emilford has joined #ruby
emilford has quit [Client Quit]
Rodya_ has quit [Ping timeout: 245 seconds]
_djbkd has quit [Remote host closed the connection]
ddffg has joined #ruby
jackjackdripper has joined #ruby
_djbkd has joined #ruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
jackjackdripper1 has quit [Ping timeout: 250 seconds]
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
biox has quit [Quit: brb servers are ded]
biox has joined #ruby
biox has quit [Client Quit]
troulouliou_div2 has joined #ruby
nettoweb has quit [Read error: Connection reset by peer]
nowhereman has joined #ruby
biox has joined #ruby
Devalo has joined #ruby
chouhoul_ has joined #ruby
mim1k|wo1k has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
p0p0pr37_ has joined #ruby
jphase_ has joined #ruby
SpiffTR has joined #ruby
josealobato has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
statelesscode_ has joined #ruby
iMadper` has joined #ruby
skweek has joined #ruby
jtdoncas_ has joined #ruby
jphase has quit [Disconnected by services]
jphase_ is now known as jphase
lipoqil_ has joined #ruby
xall_ has joined #ruby
marens has joined #ruby
gmci_ has joined #ruby
jcp___ has joined #ruby
Iacobus__ has joined #ruby
Marsjan has joined #ruby
swills_ has joined #ruby
Jonah11_ has joined #ruby
rikai_ has joined #ruby
Toledo_ has joined #ruby
xall has quit [Ping timeout: 265 seconds]
saslam has joined #ruby
chrisarcand has joined #ruby
hostess_ has joined #ruby
ironcame1 has joined #ruby
Devalo has quit [Remote host closed the connection]
charles81_ has joined #ruby
LoneHermit has joined #ruby
SuperLag_ has joined #ruby
axisys_ has joined #ruby
b0nn__ has joined #ruby
lucas_ has joined #ruby
Devalo has joined #ruby
Ademan_ has joined #ruby
cdg_ has quit [Ping timeout: 256 seconds]
znz_jp0 has joined #ruby
muelleme has joined #ruby
jtdoncas_ has quit [Ping timeout: 250 seconds]
rfv_ has joined #ruby
raul782 has joined #ruby
deimos_ has joined #ruby
xall_ has quit [Read error: Connection reset by peer]
codepete_ has joined #ruby
ewilliam__ has joined #ruby
nebg_ has joined #ruby
epochwolf|2 has joined #ruby
gf3_ has joined #ruby
alphor_ has joined #ruby
_chazu has joined #ruby
SpiffTR has quit [Ping timeout: 250 seconds]
LoneHermit has quit [Ping timeout: 258 seconds]
SegFaultAX_ has joined #ruby
Devalo has quit [Ping timeout: 260 seconds]
chouhoulis has quit [*.net *.split]
SuperLag has quit [*.net *.split]
b0nn has quit [*.net *.split]
Cyrus has quit [*.net *.split]
s1kx has quit [*.net *.split]
tax has quit [*.net *.split]
axisys has quit [*.net *.split]
fladson[m] has quit [*.net *.split]
riotgsmport[m] has quit [*.net *.split]
mim1k|work has quit [*.net *.split]
hostess has quit [*.net *.split]
Toledo has quit [*.net *.split]
chrisarc1nd has quit [*.net *.split]
marens_ has quit [*.net *.split]
Ademan has quit [*.net *.split]
p0p0pr37 has quit [*.net *.split]
rikai has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
marsjaninzmarsa has quit [*.net *.split]
znz_jp has quit [*.net *.split]
codepete has quit [*.net *.split]
ewilliam_ has quit [*.net *.split]
rfv has quit [*.net *.split]
charles81 has quit [*.net *.split]
deimos has quit [*.net *.split]
lipoqil has quit [*.net *.split]
lucas has quit [*.net *.split]
iMadper has quit [*.net *.split]
statelesscode has quit [*.net *.split]
nebg has quit [*.net *.split]
sorah___ has quit [*.net *.split]
epochwolf has quit [*.net *.split]
gmci has quit [*.net *.split]
alphor has quit [*.net *.split]
ironcamel has quit [*.net *.split]
chazu has quit [*.net *.split]
swills has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
julian__ has quit [*.net *.split]
LBRapid has quit [*.net *.split]
gf3 has quit [*.net *.split]
TheBrayn has quit [*.net *.split]
Iacobus_ has quit [*.net *.split]
SJr has quit [*.net *.split]
catbusters has quit [*.net *.split]
go|dfish has quit [*.net *.split]
spiette has quit [*.net *.split]
jcp__ has quit [*.net *.split]
bkutil has quit [*.net *.split]
snapcase has quit [*.net *.split]
epochwolf|2 is now known as epochwolf
Marsjan is now known as marsjaninzmarsa
SegFaultAX_ is now known as SegFaultAX
skweek has quit [Ping timeout: 260 seconds]
statelesscode_ is now known as statelesscode
gf3_ is now known as gf3
p0p0pr37_ is now known as p0p0pr37
synthroid has joined #ruby
xall_ has joined #ruby
codepete_ is now known as codepete
SJr has joined #ruby
Jonah11__ has joined #ruby
julian_ has joined #ruby
BackEndCoder_ has joined #ruby
gmci_ is now known as gmci
lipoqil_ is now known as lipoqil
catbusters has joined #ruby
firstdayonthejob has quit [Ping timeout: 256 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
josealobato has joined #ruby
davidmichaelkarr has quit [Ping timeout: 245 seconds]
LBRapid has joined #ruby
Jackneill has joined #ruby
Jonah11_ has quit [Ping timeout: 250 seconds]
rfv_ is now known as rfv
Jonah11__ has quit [Client Quit]
b0nn__ has quit [Quit: leaving]
tyang_ has joined #ruby
davidmichaelkarr has joined #ruby
fenre has joined #ruby
c-c has quit [Ping timeout: 252 seconds]
b0nn has joined #ruby
Cyrus has joined #ruby
s1kx has joined #ruby
ghostlight has quit [Ping timeout: 268 seconds]
Cyrus is now known as Guest49009
zeroDi has joined #ruby
c-c has joined #ruby
go|dfish has joined #ruby
Devalo has joined #ruby
c-c is now known as Guest88798
fladson[m] has joined #ruby
riotgsmport[m] has joined #ruby
sorah___ has joined #ruby
TheBrayn has joined #ruby
tyang has quit [Ping timeout: 260 seconds]
deimos_ is now known as deimos
nankyokusei has joined #ruby
spiette has joined #ruby
jenrzzz has joined #ruby
Rodya_ has joined #ruby
raul782 has quit [Remote host closed the connection]
SpiffTR has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
conta has quit [Quit: conta]
conta has joined #ruby
claudiuinberlin has joined #ruby
Devalo has quit [Remote host closed the connection]
banisterfiend has joined #ruby
nankyokusei has quit [Ping timeout: 245 seconds]
Devalo has joined #ruby
SeepingN has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
muelleme has quit [Ping timeout: 265 seconds]
synthroi_ has joined #ruby
<patarr> Anyone here use lograge? Is it possible to send hashes or parameters to the logger instead of just a string?
Devalo has quit [Ping timeout: 260 seconds]
firstdayonthejob has joined #ruby
synthroid has quit [Ping timeout: 256 seconds]
alphor_ is now known as alphor
conta has quit [Quit: conta]
marxarelli is now known as marxarelli|afk
edwardly has quit [Max SendQ exceeded]
william3 has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
ghostlight has joined #ruby
mikecmpb_ is now known as mikecmpbll
troulouliou_div2 has quit [Quit: Leaving]
symm- has joined #ruby
hfp_work has quit [Quit: bye]
Madplatypus has quit [Quit: Connection closed for inactivity]
xall_ has quit [Read error: Connection reset by peer]
xall_ has joined #ruby
johnmilton has quit [Quit: Namaste]
postmodern has joined #ruby
hfp_work has joined #ruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
muelleme has joined #ruby
xall_ has quit [Client Quit]
rodferso1 has quit [Quit: leaving]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
SpiffTR has quit [Ping timeout: 246 seconds]
gigetoo has quit [Ping timeout: 265 seconds]
yokel has joined #ruby
ta_ has joined #ruby
kireevco has joined #ruby
devster31 has quit [Quit: cya]
devster31 has joined #ruby
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
Fridtjof has quit [Ping timeout: 260 seconds]
gigetoo has joined #ruby
benlieb has left #ruby [#ruby]
ironcame1 is now known as ironcamel
rbraaf has joined #ruby
yokel has quit [Ping timeout: 244 seconds]
Fridtjof has joined #ruby
rbraaf has quit [Client Quit]
petraa has joined #ruby
yokel has joined #ruby
yokel has quit [Changing host]
yokel has joined #ruby
_djbkd has quit [Remote host closed the connection]
tax has joined #ruby
_djbkd has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
jhack has quit [Ping timeout: 246 seconds]
_djbkd has joined #ruby
tehcraig has quit [Quit: bye]
yeticry has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Quit: Leaving...]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
zeroDi has quit [Quit: WeeChat 1.6]
jhack has joined #ruby
yeticry has joined #ruby
william3 has quit [Remote host closed the connection]
yokel has quit [Ping timeout: 268 seconds]
johnmilton has joined #ruby
william3 has joined #ruby
william3 has quit [Remote host closed the connection]
yokel has joined #ruby
william3 has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
allcentury has joined #ruby
firstdayonthejob has quit [Ping timeout: 248 seconds]
jhack has quit [Ping timeout: 258 seconds]
whathappens has quit [Remote host closed the connection]
jhack has joined #ruby
whathappens has joined #ruby
muelleme has quit [Ping timeout: 260 seconds]
yokel has quit [Read error: Connection reset by peer]
yokel_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
nowhereman has quit [Ping timeout: 250 seconds]
ta_ has quit [Remote host closed the connection]
whathappens has quit [Ping timeout: 248 seconds]
whathappens has joined #ruby
adavia has joined #ruby
ta_ has joined #ruby
rwb has joined #ruby
marxarelli|afk is now known as marxarelli
psychicist__ has quit [Ping timeout: 258 seconds]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
firstdayonthejob has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
fenre has quit [Ping timeout: 260 seconds]
ascarter has joined #ruby
whathappens has joined #ruby
dasher00 has quit [Quit: Leaving]
symm-_ has joined #ruby
dasher00 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
symm- has quit [Ping timeout: 268 seconds]
ta_ has quit [Remote host closed the connection]
axisys_ has quit [Quit: leaving]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
xrlk has joined #ruby
raul782 has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
axisys has joined #ruby
brendan- has joined #ruby
mrmortondk has joined #ruby
jhack has quit [Quit: jhack]
raul782 has quit [Ping timeout: 245 seconds]
konsolebox has quit [Quit: Leaving]
jhack has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
x77686d has joined #ruby
digitalfiz has quit [Quit: Updating details, brb]
benlieb has joined #ruby
digitalfiz has joined #ruby
matp has quit [Read error: Connection reset by peer]
matp_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 258 seconds]
jackjackdripper1 has joined #ruby
whathappens has quit [Ping timeout: 260 seconds]
jaguarmagenta has joined #ruby
sylario has quit []
pawnbox has joined #ruby
savage has quit [Quit: Connection closed for inactivity]
jackjackdripper has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
rwb has quit [Ping timeout: 245 seconds]
jonjoe_ has joined #ruby
petraa has quit []
bgray_ is now known as bgray
jaguarmagenta has quit [Ping timeout: 260 seconds]
xberg has joined #ruby
mrmortondk has quit [Quit: Textual IRC Client: www.textualapp.com]
anhnhoktvn has quit [Read error: No route to host]
yeticry has quit [Ping timeout: 265 seconds]
loc22 has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hostess_ is now known as hostess
johnmilton has quit [Ping timeout: 250 seconds]
yeticry has joined #ruby
pawnbox has joined #ruby
AlexRussia has joined #ruby
xberg has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
gigetoo has quit [Ping timeout: 250 seconds]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
h42r62[m] has quit [Ping timeout: 250 seconds]
tobyn[m] has quit [Ping timeout: 250 seconds]
daveyboi[m] has quit [Ping timeout: 250 seconds]
bascht has quit [Ping timeout: 250 seconds]
Luca[m] has quit [Ping timeout: 250 seconds]
M-mistake has quit [Ping timeout: 250 seconds]
laithshadeed[m] has quit [Ping timeout: 246 seconds]
meaggan[m] has quit [Ping timeout: 246 seconds]
davix[matrix] has quit [Ping timeout: 246 seconds]
riotgsmport[m] has quit [Ping timeout: 245 seconds]
fladson[m] has quit [Ping timeout: 245 seconds]
Michael5[m] has quit [Ping timeout: 245 seconds]
velu_aon[m] has quit [Ping timeout: 245 seconds]
kineticrootkit[m has quit [Ping timeout: 245 seconds]
Donalmartin[m] has quit [Ping timeout: 260 seconds]
n[m] has quit [Ping timeout: 260 seconds]
philidor[m] has quit [Ping timeout: 260 seconds]
cpfeilschifter[m has quit [Ping timeout: 258 seconds]
jomakasi[m] has quit [Ping timeout: 258 seconds]
eliotk[m] has quit [Ping timeout: 258 seconds]
serah[m] has quit [Ping timeout: 260 seconds]
coreyja[m] has quit [Ping timeout: 260 seconds]
fjj[m] has quit [Ping timeout: 260 seconds]
M-manveru has quit [Ping timeout: 260 seconds]
axyjo has joined #ruby
ta_ has joined #ruby
benlieb has quit [Quit: benlieb]
jeffaustin81 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gigetoo has joined #ruby
symm- has joined #ruby
symm-_ has quit [Ping timeout: 250 seconds]
ghostlight has quit [Ping timeout: 250 seconds]
vma[m] has quit [Ping timeout: 246 seconds]
last_staff has quit [Quit: *poof*]
ghostlight has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
kireevco has quit []
[Butch] has quit [Quit: I'm out . . .]
cdg has joined #ruby
davidt has joined #ruby
czerasz has joined #ruby
Giphy[m] has quit [Read error: Connection reset by peer]
drorp24[m] has quit [Read error: Connection reset by peer]
guanjian[m] has quit [Write error: Connection reset by peer]
M-shine has quit [Write error: Connection reset by peer]
AdamMeghji__ has quit []
muelleme has joined #ruby
centrx has joined #ruby
tyang__ has joined #ruby
LoneHerm_ has joined #ruby
saslam has quit [Quit: Leaving]
ta_ has quit [Remote host closed the connection]
saslam has joined #ruby
saslam has quit [Client Quit]
tyang_ has quit [Ping timeout: 260 seconds]
LoneHerm_ has quit [Ping timeout: 260 seconds]
tyang__ has quit [Ping timeout: 260 seconds]
antoniobeyah has quit [Quit: antoniobeyah]
saslam has joined #ruby
SpiffTR has joined #ruby
jonjoe_ has quit [Remote host closed the connection]
jhack has quit [Ping timeout: 250 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eclm has quit [Quit: WeeChat 1.4]
muelleme has quit [Ping timeout: 245 seconds]
synthroid has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
byte512 has quit [Ping timeout: 250 seconds]
xesus has joined #ruby
william3 has quit [Remote host closed the connection]
libastral has quit [Quit: ZNC - http://znc.in]
synthroi_ has quit [Ping timeout: 258 seconds]
byte512 has joined #ruby
nankyokusei has joined #ruby
libastral has joined #ruby
jhack has joined #ruby
SpiffTR has quit [Ping timeout: 268 seconds]
nankyokusei has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
antoniobeyah has joined #ruby
claudiuinberlin has joined #ruby
cpruitt has quit [Quit: cpruitt]
saslam has quit [Ping timeout: 248 seconds]
whathappens has joined #ruby
terens_ has joined #ruby
nettoweb has joined #ruby
whathappens has quit [Ping timeout: 260 seconds]
terens_ has quit [Ping timeout: 260 seconds]
byte512 has quit [Ping timeout: 246 seconds]
watersoul has quit [Read error: Connection reset by peer]
drorp24[m] has joined #ruby
watersoul has joined #ruby
vqrs has quit [Quit: ZNC 1.6.1 - http://znc.in]
symm- has quit [Ping timeout: 260 seconds]
Madplatypus has joined #ruby
NeverTired has joined #ruby
symm- has joined #ruby
ta_ has joined #ruby
biberu has quit []
montanonic has joined #ruby
threh has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
minimalism has joined #ruby
cpruitt has joined #ruby
loc22 has quit [Quit: Lingo: www.lingoirc.com]
blackwind_123 has quit [Ping timeout: 258 seconds]
xrlk has quit [Ping timeout: 250 seconds]
newbie|2 has joined #ruby
<newbie|2> I'm getting this error
<newbie|2> Unable to download data from https://rubygems.org/ - SSL_connect retur
<newbie|2> tps://api.rubygems.org/specs.4.8.gz)
<newbie|2> d=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
blackwind_123 has joined #ruby
definity_ has joined #ruby
NeverTired has quit []
<antoniobeyah> either that or you are behind an ssl intercept proxy
NeverTired has joined #ruby
<antoniobeyah> if thats the case get assistance from a coworker
dnicole has quit [Remote host closed the connection]
<havenwood> newbie|2: What version of Ruby? What operating system?
marr has quit [Ping timeout: 250 seconds]
<newbie|2> windows
<newbie|2> latest
<newbie|2> idk
gigetoo has joined #ruby
<newbie|2> I just want to install one gem for now can I do this like this gem install gemfile.gem ?
raul782 has joined #ruby
<antoniobeyah> newbie|2: did the link I provide not work?
solocshaw has joined #ruby
dasher00 has quit [Read error: Connection reset by peer]
ddffg has quit [Quit: Leaving]
fmcgeough has quit [Quit: fmcgeough]
claudiuinberlin has quit []
bturker has quit [Ping timeout: 256 seconds]
jonjoe has joined #ruby
jenrzzz has joined #ruby
gloscombe has joined #ruby
PaulePanter has quit [Ping timeout: 248 seconds]
Mia has quit [Read error: Connection reset by peer]
dnicole has joined #ruby
raul782 has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
PaulePanter has joined #ruby
whathappens has joined #ruby
elbo22 has joined #ruby
jonjoe has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
snapcase has joined #ruby
bkutil has joined #ruby
newbie|2 has quit [Read error: Connection reset by peer]
libastral has quit [Quit: ZNC - http://znc.in]
libastral has joined #ruby
LoneHerm_ has quit [Ping timeout: 258 seconds]
ramortegui has quit [Quit: Ex-Chat]
josealobato has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
ascarter has quit [Client Quit]
dasher00 has joined #ruby
josealobato has joined #ruby
vqrs has joined #ruby
josealobato has quit [Client Quit]
ascarter has joined #ruby
jomakasi[m] has joined #ruby
Luca[m] has joined #ruby
tobyn[m] has joined #ruby
davix[matrix] has joined #ruby
kineticrootkit[m has joined #ruby
coreyja[m] has joined #ruby
Michael5[m] has joined #ruby
laithshadeed[m] has joined #ruby
eliotk[m] has joined #ruby
meaggan[m] has joined #ruby
riotgsmport[m] has joined #ruby
fjj[m] has joined #ruby
n[m] has joined #ruby
daveyboi[m] has joined #ruby
Donalmartin[m] has joined #ruby
bascht has joined #ruby
M-shine has joined #ruby
M-mistake has joined #ruby
guanjian[m] has joined #ruby
Giphy[m] has joined #ruby
serah[m] has joined #ruby
velu_aon[m] has joined #ruby
cpfeilschifter[m has joined #ruby
philidor[m] has joined #ruby
h42r62[m] has joined #ruby
M-manveru has joined #ruby
vma[m] has joined #ruby
nowhereman has joined #ruby
fladson[m] has joined #ruby
hplar has quit [Quit: WeeChat 0.3.2]
hplar has joined #ruby
definity_ has quit [Ping timeout: 260 seconds]
SpiffTR has joined #ruby
firstdayonthejob has quit [Ping timeout: 256 seconds]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
solocshaw has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
<havenwood> Download `https://rubygems.org/gems/rubygems-update-2.6.8.gem` then install it with `gem install --local C:\PATH_TO_DOWNLODED_FILE\rubygems-update-2.6.8.gem` and run `update_rubygems`.
ta_ has quit [Remote host closed the connection]
GodFather has joined #ruby
polishdub has quit [Quit: Leaving]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb1 has joined #ruby
nowhereman has quit [Ping timeout: 260 seconds]
GodFather has quit [Client Quit]
SpiffTR has quit [Ping timeout: 245 seconds]
synthroid has quit []
GodFather has joined #ruby
tenderlove has joined #ruby
ascarter has joined #ruby
dcluna has quit [Ping timeout: 260 seconds]
nettoweb has quit [Ping timeout: 246 seconds]
Jackneill has quit [Remote host closed the connection]
toretore has quit [Ping timeout: 246 seconds]
jaguarmagenta has joined #ruby
<nchambers> so I know ruby strings have an each_byte method to iterate over it, but just out of curiosity, why is it not just called each?
firstdayonthejob has joined #ruby
<rykou> nchambers: isn't each byte different from just each
<rykou> I guess you would rather want each_char
millerti has joined #ruby
<apeiros> nchambers: what should each iterate over? bytes? chars? lines? something else?
<baweaver> ^
<apeiros> String used to have #each and it was scrapped for the above reason
<baweaver> each is vague in that case
adavia has quit [Ping timeout: 248 seconds]
<baweaver> for enumerable types? definitely clear
jaguarmagenta has quit [Ping timeout: 250 seconds]
<apeiros> we now have explicit each_* methods like each_byte, each_codepoint, each_char and each_line
antoniobeyah has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ResidentBiscuit has quit [Quit: Critical Miss]
cevett has joined #ruby
ta_ has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arescorpio has joined #ruby
ascarter has joined #ruby
allcentury has quit [Ping timeout: 245 seconds]
ascarter has quit [Client Quit]
Gravious has joined #ruby
ascarter has joined #ruby
ta_ has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
marr has joined #ruby
<Gravious> this is a lovely language
<Gravious> that's all, i just needed to say it
<centrx> >> true
<ruby[bot]> centrx: # => true (https://eval.in/691504)
ta_ has joined #ruby
tvw has quit []
eclm has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
nowhereman has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Remote host closed the connection]
ascarter has joined #ruby
flashpoint9 has joined #ruby
ascarter has quit [Client Quit]
whathappens has quit [Quit: Leaving...]
ascarter has joined #ruby
flashpoint9 has quit [Ping timeout: 258 seconds]
Jesuspiece has joined #ruby
nowhereman has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
patarr has quit [Ping timeout: 246 seconds]
centrx has quit []
JoshS has joined #ruby
raul782 has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
DacHoliday has joined #ruby
strass_ has joined #ruby
<strass_> I'm having trouble installing ruby/rails using rvm
<strass_> I'm on debian and gem install nokogiri won't work
adavia has joined #ruby
<strass_> I've tried updating every library I can find that's related to nokogiri
ramfjord has joined #ruby
<DacHoliday> Date.parse("2016-W53", true, Date::JULIAN)
<DacHoliday> shows wrong monday date?
LoneHermit has joined #ruby
<strass_> I seem to be able to install using sudo gem install but I odnt think you're supposed tod o that
<DacHoliday> should never do sudo, but make sure your gem path 'gem env' is included in your bashrc PATH=
Macrobiotic has quit [Quit: Connection closed for inactivity]
<strass_> I think it's an open SSL error?
<strass_> /home/strass/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- openssl (LoadError)
<strass_> I have openSSL installed...
firstdayonthejob has quit [Ping timeout: 250 seconds]
raul782 has quit [Ping timeout: 268 seconds]
_crdpink has joined #ruby
LoneHermit has quit [Ping timeout: 248 seconds]
SpiffTR has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
_crdpink is now known as crdprink
firstdayonthejob has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tyang has joined #ruby
crdprink has quit [Client Quit]
ascarter has joined #ruby
ascarter has quit [Client Quit]
rfoust has joined #ruby
vikaton has joined #ruby
SpiffTR has quit [Ping timeout: 260 seconds]
yeticry has quit [Ping timeout: 248 seconds]
ascarter has joined #ruby
firstdayonthejob has quit [Ping timeout: 260 seconds]
_crdpink has joined #ruby
_crdpink has left #ruby [#ruby]
TomyLobo has quit [Ping timeout: 250 seconds]
yeticry has joined #ruby
nankyokusei has joined #ruby
ascarter has quit [Client Quit]
ascarter has joined #ruby
tdy has quit [Ping timeout: 256 seconds]
ascarter has quit [Client Quit]
<brent__> antoniobeyah: just finishing up this project, and just wanted to clarify if I was understanding somethign correctly
<DacHoliday> /quit
nankyokusei has quit [Ping timeout: 250 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DacHoliday has left #ruby [#ruby]
<brent__> i'm storing the 'public_url' in my db, if I wanted to delete it the file from my db, as well as s3, do i just us an ajax call to that public_url w/ a delete method?
marxarelli is now known as marxarelli|afk
Gadgetoid has quit [Ping timeout: 250 seconds]
ascarter has joined #ruby
rwb has joined #ruby
<baweaver> I'd do it on the backend in the controller action if I were you
marxarelli|afk is now known as marxarelli
<baweaver> the frontend shouldn't have direct access to delete from S3
<baweaver> otherwise users can do some very mean things
ascarter has quit [Client Quit]
mochiyoda has joined #ruby
ascarter has joined #ruby
cschneid_ has quit [Remote host closed the connection]
<brent__> this look about right?
rfoust has quit [Remote host closed the connection]
tax has quit [Read error: Connection reset by peer]
rwb has quit [Ping timeout: 260 seconds]
Gadgetoid has joined #ruby
rwb has joined #ruby
koooge has joined #ruby
<baweaver> Try it out.
strass_ has quit [Quit: Leaving]
jhack has quit [Ping timeout: 258 seconds]
flashpoint9 has joined #ruby
bairyn is now known as ByronJohnson
rfoust has joined #ruby
renderfu_ has quit [Remote host closed the connection]