apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
sevenseacat has joined #ruby
Guest25720 has quit [Ping timeout: 250 seconds]
zotherstupidguy has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
michaeldeol has joined #ruby
arescorpio has joined #ruby
mistermocha has quit [Ping timeout: 245 seconds]
FernandoBasso has quit [Quit: leaving]
ramfjord has joined #ruby
<Radar> gem install bundler ?
RegulationD has joined #ruby
<Radar> well, gem install bundler -v '~> 1.6'
workmad3 has quit [Ping timeout: 256 seconds]
zubov has joined #ruby
shellfu_afk has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
Deele has quit [Ping timeout: 256 seconds]
Limix has quit [Quit: Limix]
revoohc has joined #ruby
neohunter has joined #ruby
Guest23606 has quit [Remote host closed the connection]
bigmac has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 272 seconds]
zzing has joined #ruby
idealexit has quit []
ujihisa has quit [Ping timeout: 264 seconds]
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
mgberlin has joined #ruby
zzing has quit [Read error: Connection reset by peer]
MatthewsFace has quit [Ping timeout: 240 seconds]
zzing has joined #ruby
charliesome has quit [Quit: zzz]
zzing_ has joined #ruby
dj_zubehoer has joined #ruby
Channel6 has quit [Quit: Leaving]
shellfu_afk has joined #ruby
zzing has quit [Read error: Connection reset by peer]
zotherstupidguy has quit [Ping timeout: 240 seconds]
zzing_ has quit [Read error: Connection reset by peer]
zzing has joined #ruby
mitchellhenke has joined #ruby
longfeet has joined #ruby
dfinninger has joined #ruby
davedev24_ has joined #ruby
mgberlin has quit [Remote host closed the connection]
davedev2_ has quit [Ping timeout: 252 seconds]
zotherstupidguy has joined #ruby
dj_zubehoer has quit [Ping timeout: 245 seconds]
j0n3 has quit [Read error: Connection reset by peer]
scripore has joined #ruby
oo_ has joined #ruby
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ismaelga has quit [Ping timeout: 250 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
keen______ has joined #ruby
plutonic has joined #ruby
Hobogrammer has quit [Read error: Connection reset by peer]
jeramy_s has joined #ruby
robbyoconnor has joined #ruby
keen_____ has quit [Ping timeout: 245 seconds]
DavidDudson has joined #ruby
vivekananda has joined #ruby
DerisiveLogic has quit [Ping timeout: 252 seconds]
havenwood has quit []
DerisiveLogic has joined #ruby
Yzguy has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
Matachines has joined #ruby
dfinninger has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
amdbcg1 has quit [Remote host closed the connection]
amdbcg has joined #ruby
DEA7TH has quit [Ping timeout: 240 seconds]
vim_shimm has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
amdbcg has quit [Ping timeout: 250 seconds]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nhhagen has joined #ruby
willharrison has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
kubunto has left #ruby [#ruby]
zubov has quit [Quit: Leaving]
zubov has joined #ruby
robustus|Off has joined #ruby
robustus|Off is now known as robustus
zotherstupidguy has quit [Ping timeout: 255 seconds]
nhhagen has quit [Ping timeout: 264 seconds]
sevenseacat has quit [Quit: Me dun like you no more.]
zotherst2pidguy has joined #ruby
sevenseacat has joined #ruby
doodlehaus has joined #ruby
mistermocha has joined #ruby
Yzguy has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
amdbcg has joined #ruby
tkuchiki has joined #ruby
NoDG3 has joined #ruby
krisquigley has joined #ruby
shellfu_afk has quit [Remote host closed the connection]
dc has quit [Remote host closed the connection]
djbkd has joined #ruby
greenbagels_ has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
<zubov> quiet tonight
<zubov> or this morning
<NoDG3> is it usually busy?
<zubov> has spurts of activity
mgberlin has joined #ruby
NoDG3_ has joined #ruby
<Radar> Sunday night in the US + EU == quiet
<dorei> is it night @ us?
<NoDG3> is there a difference between connecting to chat.freenode.net versus irc.freenode.net?
<NoDG3> its 6pm on west coast
NoDG3_ has left #ruby [#ruby]
<Radar> NoDG3: Nope.
<Radar> No difference.
greenbagels has quit [Ping timeout: 264 seconds]
MyGreenP1 has joined #ruby
krisquigley has quit [Ping timeout: 276 seconds]
bim has joined #ruby
ujihisa has joined #ruby
bim is now known as Guest92166
iteratorP has joined #ruby
<zubov> more than likely everyone is watching Game of Thrones
<sevenseacat> oh i wish it was still sunday night
nii236 has joined #ruby
<pontiki> 20:10 here in central US
<sevenseacat> no spoilers, my cable box is recording it as we speak!
<pontiki> the person you like best is killed
<zubov> I have only seen season one
<sevenseacat> pontiki: thats not a spoiler, that goes without saying
<pontiki> exactly
millerti has quit [Remote host closed the connection]
mgberlin has quit [Ping timeout: 248 seconds]
sevvie has joined #ruby
HanaNix has quit [Remote host closed the connection]
greenbagels_ has quit [Quit: Leaving]
greenbagels has joined #ruby
MatthewsFace has joined #ruby
Guest92166 has quit [Ping timeout: 245 seconds]
balazs has joined #ruby
<zubov> got my environment setup on Elementary OS. Decided to give visual ruby some time with this install
colorados has quit [Ping timeout: 246 seconds]
<a5i> does Ruby have strict comparisons?
jeramy_s has quit [Quit: Peace out!]
balazs has quit [Remote host closed the connection]
yh has quit [Ping timeout: 265 seconds]
MatthewsFace has quit [Ping timeout: 244 seconds]
balazs has joined #ruby
CloCkWeRX has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sevvie has quit [Quit: leaving]
zzing has quit [Ping timeout: 256 seconds]
<shevy> a5i it is super strict!
zzing has joined #ruby
<shevy> >> "a" == ?a
<ruboto> shevy # => true (https://eval.in/315648)
<shevy> awesome
sevvie has joined #ruby
<dorei> >> ?a
<ruboto> dorei # => "a" (https://eval.in/315649)
iotouch has joined #ruby
<shevy> zubov well in europe, people are sleeping at this time normally
<dorei> only vampires are still awake :p
amdbcg has quit [Ping timeout: 250 seconds]
tus has quit []
<a5i> hmm
<a5i> like Java has .eqauls() for strict comparisons
<a5i> and JS has ===
centrx has quit [Quit: Shutting down, Please wait...]
dj_zubehoer has joined #ruby
<dorei> >> 5 == "5"
<ruboto> dorei # => false (https://eval.in/315650)
zzing has quit [Read error: Connection reset by peer]
<shevy> .eqauls
<shevy> indeed
zzing has joined #ruby
<shevy> java is a weird language a5i
pwattste has quit [Ping timeout: 245 seconds]
<shevy> I assume most people would type .equals but now they have to relearn
<dorei> javascript is even weirder
<shevy> ruby also has === btw
<shevy> >> 1 === 1
<ruboto> shevy # => true (https://eval.in/315651)
<a5i> oh
<dorei> >> 1 === "1"
<ruboto> dorei # => false (https://eval.in/315652)
<a5i> god I love Ruby's flexxibility
<shevy> === is used in case/when menus
<shevy> so you can do stuff like /abc/ or case x; when Array
zotherst2pidguy has quit [Ping timeout: 265 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<shevy> do you know what is weird about ruby?
<dorei> a5i: i think, "by default" all ruby comparisons are strict, of course you can override this behaviour
<shevy> the feature request
<shevy> you can request new features here: https://bugs.ruby-lang.org/projects/ruby-trunk
<shevy> but the URL indicates that it is for bugs :-)
<a5i> ooo
<NoDG3> lol
<shevy> Feature: 678 open / 1901
zotherst2pidguy has joined #ruby
karstensrage has joined #ruby
zzing_ has joined #ruby
<shevy> if only I would know C, then I could process my own feature requests with patches
<karstensrage> hi is there a way to use a previously defined variable in a config.yml?
zzing has quit [Read error: Connection reset by peer]
dj_zubehoer has quit [Ping timeout: 276 seconds]
<shevy> wat
endash has quit [Quit: endash]
colorados has joined #ruby
MyGreenP1 has quit [Ping timeout: 276 seconds]
<karstensrage> so if you define url: "http://www.example.com" how do you later use that in description: "Visit us at $url"
musashi1 has joined #ruby
<shevy> this will become a hash
jonr22 has joined #ruby
<shevy> so you have it available in the yaml dataset where you did YAML.load_file()
<karstensrage> its the _config.yml in jekyll
<karstensrage> i didnt do anything
pika_pika has joined #ruby
<shevy> can you access to that yaml file from jekyll somehow?
<karstensrage> well the description is IN the yaml file
vim_shimm has quit [Ping timeout: 265 seconds]
<shevy> as said, if you load a yaml file, like the above, you have the dataset
zzing has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Joufflu has quit [Ping timeout: 245 seconds]
zzing_ has quit [Read error: Connection reset by peer]
<NoDG3> I see what you meant about the bursts of activity
mistermocha has quit [Ping timeout: 245 seconds]
<karstensrage> well im not loading any yaml file
<karstensrage> its just using it
zzing_ has joined #ruby
towski_ has quit [Remote host closed the connection]
zzing has quit [Read error: Connection reset by peer]
ujihisa has quit [Ping timeout: 252 seconds]
musashi1 has quit [Ping timeout: 245 seconds]
<shevy> karstensrage so you have no access to it
<shevy> that is not good
doodlehaus has quit [Remote host closed the connection]
<shevy> if you were to use a yaml file on your own, you can use YAML.load_file to turn it into a ruby datastructure, usually a Hash
zzing has joined #ruby
<shevy> once you have a hash, you can query the given key, in this case, 'url' I assume, to extract the value of said key
zzing_ has quit [Read error: Connection reset by peer]
sohrab has quit [Ping timeout: 264 seconds]
<shevy> require 'yaml'; DATASET = YAML.load_file('_config.yml'); def url?; DATASET['url']; end; puts "Visit us at #{url?}"
hazelux has joined #ruby
lidenskap has joined #ruby
sohrab has joined #ruby
ujihisa has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
zzing_ has joined #ruby
ag4ve_ has quit [Ping timeout: 245 seconds]
zzing has quit [Read error: Connection reset by peer]
shellfu_afk has joined #ruby
dfinninger has joined #ruby
ag4ve_ has joined #ruby
MatthewsFace has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
neohunter has quit [Quit: Linkinus - http://linkinus.com]
phutchins has quit [Ping timeout: 248 seconds]
zzing has joined #ruby
balazs has quit [Remote host closed the connection]
DerisiveLogic has quit [Ping timeout: 252 seconds]
zzing_ has quit [Read error: Connection reset by peer]
DavidDudson has joined #ruby
swgillespie has joined #ruby
dfinninger has quit [Ping timeout: 245 seconds]
zubov has quit [Quit: Leaving]
shellfu_afk has quit [Remote host closed the connection]
zzing has quit [Read error: Connection reset by peer]
zzing has joined #ruby
RegulationD has joined #ruby
lektricity has joined #ruby
nhhagen has joined #ruby
ujihisa has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
RegulationD has quit [Ping timeout: 245 seconds]
kanishka has joined #ruby
oo_ has quit [Remote host closed the connection]
jamto11 has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
kanishka has quit [Client Quit]
yfeldblum has joined #ruby
neohunter has joined #ruby
nhhagen has quit [Ping timeout: 276 seconds]
swgillespie has quit [Read error: Connection reset by peer]
dorei has quit []
musashi1 has joined #ruby
<pontiki> it's a jekyll question, not a general ruby question
allcentury has joined #ruby
prasselpikachu has quit [Ping timeout: 256 seconds]
<pontiki> i think we've sorted it, at any rate
prasselpikachu has joined #ruby
shellfu_afk has joined #ruby
chipotle has quit [Quit: cheerio]
ascarter has joined #ruby
bigmac has joined #ruby
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
DerisiveLogic has joined #ruby
musashi1 has quit [Ping timeout: 255 seconds]
ebbflowgo has joined #ruby
dj_zubehoer has joined #ruby
Joufflu has joined #ruby
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
Channel6 has joined #ruby
lidenskap has quit [Remote host closed the connection]
swgillespie has joined #ruby
MyGreenP1 has joined #ruby
dj_zubehoer has quit [Ping timeout: 256 seconds]
duncannz has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
swgillespie has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
mistermocha has joined #ruby
babykosh has quit [Quit: babykosh]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bigmac has quit [Ping timeout: 264 seconds]
bkulbida has quit [Quit: Lost terminal]
swgillespie has joined #ruby
Technodrome has joined #ruby
<Technodrome> how can i import a certain class like
<Technodrome> Mechanize::Page::Link
<Technodrome> i dont want to have to type that every time
<Technodrome> but i can’t include right because that is for modules only?
ChoiKyuSang has joined #ruby
MyGreenP1 has quit [Quit: WeeChat 1.2-dev]
swgillespie has quit [Read error: Connection reset by peer]
swgillespie has joined #ruby
Limix has joined #ruby
Limix has quit [Client Quit]
neohunter has quit [Quit: Linkinus - http://linkinus.com]
scripore has joined #ruby
zzing has quit [Read error: Connection reset by peer]
scripore has quit [Read error: Connection reset by peer]
swgillespie has quit [Client Quit]
scripore has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
xploshioon has joined #ruby
dodobrain has joined #ruby
hazelux has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
Matachines has quit [Quit: Textual IRC Client: www.textualapp.com]
x1337807x has quit [Max SendQ exceeded]
swgillespie has joined #ruby
x1337807x has joined #ruby
dfinninger has joined #ruby
musashi1 has joined #ruby
riotjones has joined #ruby
dc has joined #ruby
workmad3 has joined #ruby
krz has joined #ruby
havenwood has joined #ruby
krisquigley has joined #ruby
dfinninger has quit [Ping timeout: 255 seconds]
icebourg has joined #ruby
A205B064 has quit [Ping timeout: 252 seconds]
riotjones has quit [Ping timeout: 256 seconds]
pika_pika has quit [Ping timeout: 245 seconds]
duncannz has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
dfinninger has joined #ruby
<a5i> How do I initialize a variable without setting a value?
nhhagen has joined #ruby
mengu has joined #ruby
<sevenseacat> how can you have a variable without a value?
swgillespie has quit [Read error: Connection reset by peer]
<sevenseacat> moreso, why would you want one?
<a5i> I;m just wondering
duncannz has joined #ruby
<a5i> liek in C you can do int x;
<havenwood> >> a = a; a
<ruboto> havenwood # => nil (https://eval.in/315686)
krisquigley has quit [Ping timeout: 264 seconds]
<havenwood> a5i: just assign it to `nil`
duncannz has quit [Max SendQ exceeded]
<a5i> 0k
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<shevy> a5i nil is the default placeholder, even all $ variables "default" to it
<shevy> >> $foo
<ruboto> shevy # => nil (https://eval.in/315687)
<a5i> >> a
<ruboto> a5i # => undefined local variable or method `a' for main:Object (NameError) ...check link for more (https://eval.in/315688)
<a5i> ohhh
bruno- has quit [Ping timeout: 264 seconds]
dfinninger has quit [Remote host closed the connection]
zzing has joined #ruby
mengu has quit [Ping timeout: 255 seconds]
nhhagen has quit [Ping timeout: 276 seconds]
lidenskap has joined #ruby
icebourg has quit []
pontiki has quit [Quit: done]
mistermocha has quit [Ping timeout: 255 seconds]
hazelux has joined #ruby
braincrash has quit [Quit: bye bye]
jonr22 has quit [Ping timeout: 256 seconds]
wasamasa has quit [Ping timeout: 246 seconds]
Blue_Ice has quit [Ping timeout: 246 seconds]
Blue_Ice has joined #ruby
AlHafoudh has quit [Ping timeout: 246 seconds]
wasamasa has joined #ruby
wasamasa has joined #ruby
AlHafoudh has joined #ruby
zorak8 has joined #ruby
towski_ has joined #ruby
towski_ has quit [Remote host closed the connection]
rshetty has joined #ruby
bim has joined #ruby
bim is now known as Guest30271
braincrash has joined #ruby
mostlybadfly has joined #ruby
multi_io has quit [Ping timeout: 252 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
multi_io has joined #ruby
Guest30271 has quit [Ping timeout: 256 seconds]
arescorpio has quit [Excess Flood]
scripore has quit [Quit: This computer has gone to sleep]
rshetty has quit [Remote host closed the connection]
spsp has joined #ruby
<spsp> hi
<havenwood> hi
<spsp> i get a an array of hashes returned and want to filter them and just select the matching record out of it
<spsp> so I'm using this
<spsp> theme = themes.select {|x| x.name == theme_name }[0]
<spsp> is that a clean way to do it?
rshetty has joined #ruby
NoDG3 has quit [Remote host closed the connection]
<spsp> select always returns an array right?
<Coraline> detect might be better, it will return on the first match
swgillespie has joined #ruby
ducklobster has joined #ruby
<spsp> Coraline: Thanks, that's the one I was looking for.
<Coraline> Sure thing
swgillespie has quit [Read error: Connection reset by peer]
rshetty has quit [Remote host closed the connection]
bigmac has joined #ruby
Limix has joined #ruby
zzing has quit [Read error: Connection reset by peer]
rrichardsr3 has joined #ruby
zzing has joined #ruby
musashi1 has quit [Ping timeout: 252 seconds]
zacts has joined #ruby
icebourg has joined #ruby
doodlehaus has joined #ruby
zzing has quit [Ping timeout: 256 seconds]
zzing_ has joined #ruby
RegulationD has joined #ruby
ozialien has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
doodlehaus has quit [Ping timeout: 240 seconds]
zzing_ has quit [Max SendQ exceeded]
zzing has joined #ruby
longfeet has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 264 seconds]
mocha has quit [Read error: Connection timed out]
zacts` has joined #ruby
zacts` has quit [Remote host closed the connection]
mocha has joined #ruby
zacts has quit [Ping timeout: 240 seconds]
iamjarvo has joined #ruby
mocha is now known as Guest71671
anthony has joined #ruby
ramfjord has joined #ruby
anthony is now known as Guest77832
ramfjord has quit [Client Quit]
agent_white has joined #ruby
ponga has joined #ruby
dopie has joined #ruby
sohrab has quit [Quit: leaving]
<agent_white> Evenin'
tmoor has quit [Quit: Leaving]
bruno- has joined #ruby
kblake has joined #ruby
nhhagen has joined #ruby
lessless has joined #ruby
tkuchiki_ has joined #ruby
oo_ has quit [Remote host closed the connection]
<shevy> damn
<shevy> the evil agent is about
jack_rabbit has quit [Ping timeout: 248 seconds]
<agent_white> No, agent_black hasn't been around in awhile. If you see him you must let me know.
<agent_white> I must bring balance.
oo_ has joined #ruby
mistermocha has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
rshetty has joined #ruby
tkuchik__ has joined #ruby
tkuchiki_ has quit [Read error: Connection reset by peer]
nhhagen has quit [Ping timeout: 252 seconds]
kblake has quit [Ping timeout: 244 seconds]
konsolebox has joined #ruby
selite has joined #ruby
<selite> Hi, how can I aceess elements of yaml file that I read in ruby. Like x[name] for json file from js?
zorak8 has quit [Ping timeout: 244 seconds]
tkuchiki has quit [Ping timeout: 252 seconds]
<pipework> google
Technodrome has quit [Quit: Technodrome]
jack_rabbit has joined #ruby
yh has joined #ruby
bigmac has quit [Ping timeout: 246 seconds]
<selite> pipework: I did google it but I found nothing useful, except reading it like a regular file.
<weaksauce> selite what are you actually trying to accomplish?
www-BUKOLAY-com has quit []
Channel6 has quit [Quit: Leaving]
Technodrome has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
markholmes has joined #ruby
<weaksauce> pipework I read it as they have read it in already and want to know how to access the contents of a ruby hash from js
<selite> pipework: But I ready the file, but how can i access it like file_content[web_pages] to get the web pages from the yaml file
<pipework> weaksauce: I read that it was a file they've read in and need to use with yaml.
<weaksauce> pipework we are probably both off
<pipework> Which is pretty cool because you can always just read the documentation for hte main class that you'll read about.
ponga has quit [Quit: Leaving...]
QualityAddict has quit []
<weaksauce> actually re reading it I am off
markholmes has quit [Max SendQ exceeded]
yh has quit [Ping timeout: 255 seconds]
n008f4g_ has quit [Ping timeout: 245 seconds]
markholmes has joined #ruby
ponga has joined #ruby
ponga has quit [Client Quit]
mgberlin has joined #ruby
Limix has quit [Quit: Limix]
turtil has quit [Quit: WeeChat 1.1.1]
astrobunny has joined #ruby
Deele has joined #ruby
bigmac has joined #ruby
lukec has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Morkel has joined #ruby
mithrandeer has joined #ruby
dj_zubehoer has joined #ruby
michael_mbp has quit [Excess Flood]
ponga has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
michael_mbp has joined #ruby
dj_zubehoer has quit [Ping timeout: 276 seconds]
xploshioon has quit [Quit: Leaving]
mithrandeer has quit [Remote host closed the connection]
agent_white has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
lektricity has quit [Ping timeout: 245 seconds]
DerisiveLogic has quit [Ping timeout: 272 seconds]
A205B064 has joined #ruby
rshetty has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 245 seconds]
bigmac has quit [Ping timeout: 250 seconds]
Narzew has joined #ruby
Limix has joined #ruby
Timba-as has quit [Ping timeout: 250 seconds]
bigmac has joined #ruby
mary5030 has joined #ruby
deric_skibotn has joined #ruby
riotjones has joined #ruby
workmad3 has joined #ruby
rshetty has joined #ruby
JoshGlzBrk has joined #ruby
krisquigley has joined #ruby
lukec has quit [Quit: lukec]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
riotjones has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
tkuchiki has joined #ruby
devaraya has joined #ruby
rshetty has quit [Ping timeout: 245 seconds]
MatthewsFace has quit [Remote host closed the connection]
DavidDudson has joined #ruby
rshetty has joined #ruby
krisquigley has quit [Ping timeout: 264 seconds]
tkuchik__ has quit [Ping timeout: 252 seconds]
oo_ has quit [Remote host closed the connection]
vivekananda has quit [Quit: Leaving]
Guest71671 is now known as mocha
mocha has quit [Changing host]
mocha has joined #ruby
zacts has joined #ruby
hazelux has quit []
devaraya has quit [Quit: Bye]
devaraya has joined #ruby
ascarter has joined #ruby
ascarter has quit [Client Quit]
selite has quit [Quit: Page closed]
devaraya has quit [Remote host closed the connection]
lektricity has joined #ruby
Morkel has quit [Quit: Morkel]
nhhagen has joined #ruby
mary5030 has quit [Remote host closed the connection]
astrobunny has quit [Remote host closed the connection]
Nuck has joined #ruby
Nuck has quit [Max SendQ exceeded]
Nuck has joined #ruby
lektricity has quit [Ping timeout: 244 seconds]
timonv has joined #ruby
mgberlin has quit [Remote host closed the connection]
nhhagen has quit [Ping timeout: 245 seconds]
braincra- has joined #ruby
devaraya has joined #ruby
braincrash has quit [Ping timeout: 244 seconds]
chrissonar has joined #ruby
spider-mario has quit [Ping timeout: 255 seconds]
spider-mario has joined #ruby
astrobunny has joined #ruby
Narzew has quit [Ping timeout: 244 seconds]
bim has joined #ruby
bim is now known as Guest98787
Guest98787 has quit [Ping timeout: 272 seconds]
<shevy> pipework only if it is documented!!!
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_whitelogger has joined #ruby
<Radar> apeiros suddenly felt the urge to build ruboto because it has integration with a site that nobody uses.
<sevenseacat> Radar: it's only a new site. give it time.
<Radar> There is no reason that helpa could not have been customised to interact with that site oto.
dcarper has quit [Ping timeout: 255 seconds]
ohaibbq has quit [Quit: Leaving...]
<Radar> to have two channel bots that do the same thing is ridiculous.
a5i has quit [Quit: Connection closed for inactivity]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
endash has joined #ruby
endash has quit [Client Quit]
endash has joined #ruby
JoshGlzBrk has joined #ruby
endash has quit [Client Quit]
<sevenseacat> there's other bots here anyway :D see: DeBot
arturaz has joined #ruby
rshetty has quit [Remote host closed the connection]
<Radar> DeBot: !gems
<Radar> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣ [] 0/12
<Radar> At least DeBot DEviates from the mean
<sevenseacat> DeBot: a
<DeBot> ␣␣␣␣a␣ [] 0/12
<sevenseacat> DeBot: s
<DeBot> ␣␣␣␣a␣ [s] 1/12
<Radar> DeBot: m
<DeBot> ␣␣␣␣a␣ [sm] 2/12
<sevenseacat> DeBot: n
<DeBot> ␣␣␣␣a␣ [smn] 3/12
<Radar> DeBot: k
<DeBot> ␣␣␣␣a␣ [smnk] 4/12
<sevenseacat> DeBot: r
<DeBot> ␣␣␣␣a␣ [smnkr] 5/12
<sevenseacat> DeBot: l
<DeBot> ␣␣␣␣al [smnkr] 5/12
<Radar> DeBot: c
<DeBot> ␣␣␣␣al [smnkrc] 6/12
<Radar> DeBot: i
<DeBot> ␣␣␣␣al [smnkrci] 7/12
<sevenseacat> DeBot: b
<DeBot> ␣␣␣␣al [smnkrcib] 8/12
<sevenseacat> dafuq
<Radar> lol
<Radar> DeBot: t
<DeBot> t␣␣␣al [smnkrcib] 8/12
<sevenseacat> DeBot: d
<DeBot> t␣␣␣al [smnkrcibd] 9/12
<sevenseacat> DeBot: e
<DeBot> t␣␣␣al [smnkrcibde] 10/12
<Radar> DeBot: e
<DeBot> t␣␣␣al [smnkrcibde] 10/12
<Radar> Snap
<sevenseacat> DeBot: o
<DeBot> to␣␣al [smnkrcibde] 10/12
<Radar> DeBot: o
<DeBot> to␣␣al [smnkrcibde] 10/12
<Radar> :D
<sevenseacat> lol
<Radar> DeBot: u
<DeBot> to␣␣al [smnkrcibdeu] 11/12
<Radar> We'll we're screwed.
<wasamasa> DeBot: _
<DeBot> to_␣al [smnkrcibdeu] 11/12
<Radar> DeBot: v
<DeBot> to_gal [smnkrcibdeuv] 12/12 You lost!
<Radar> :(
<sevenseacat> lol
zacts has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<jokester> gal?? sounds yummy
workmad3 has joined #ruby
<dodobrain> lol
<dodobrain> that was sooo weird
pagios has joined #ruby
krisquigley has joined #ruby
<dodobrain> jokester, what does it do?
<jokester> yes
<jokester> it's japanese character
Nahra has quit [Remote host closed the connection]
<dodobrain> wasamasa, lol? what is it doing?
workmad3 has quit [Ping timeout: 245 seconds]
<dodobrain> maybe someone who knows japanese knows the real answer here
<wasamasa> dodobrain: it's a hash
<jokester> and the sentence itself is literally "transform to gal-ish text"
<jokester> I can read a little japanese, but "gal-ish" thing is beyond me
kyrylo has joined #ruby
<dodobrain> 'transform to gal-ish text'... what is gal-ish text ?
<sevenseacat> i can understand characters, but thats a long way from understanding japanese.
<dodobrain> some kind of weird lingo?
<sevenseacat> whats weird is that 'gal' is written in katakana
<sevenseacat> meaning its a loanword
krisquigley has quit [Ping timeout: 276 seconds]
* jokester yields
<dodobrain> jokester, o.0 what wiki did i just read? lol
Technodrome has quit [Quit: Technodrome]
spider-mario has quit [Remote host closed the connection]
rkazak has joined #ruby
riotjones has joined #ruby
spsp has quit [Quit: Lost terminal]
towski_ has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
gagrio has joined #ruby
gigetoo has quit [Ping timeout: 256 seconds]
hmnhf has joined #ruby
hmnhf has quit [Client Quit]
Technodrome has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
rshetty has joined #ruby
ujihisa has quit [Ping timeout: 265 seconds]
Joufflu has quit [Ping timeout: 245 seconds]
haxrbyte has joined #ruby
towski_ has quit [Ping timeout: 248 seconds]
haxrbyte_ has joined #ruby
haxrbyte has quit [Ping timeout: 246 seconds]
jheg has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
zerowaitstate has quit [Quit: leaving]
gmas has quit [Ping timeout: 245 seconds]
Timba-as has joined #ruby
ta has joined #ruby
lidenskap has joined #ruby
jheg has quit [Quit: jheg]
moeabdol has joined #ruby
roolo has joined #ruby
balazs_ has quit [Ping timeout: 256 seconds]
mistermocha has joined #ruby
terlar has joined #ruby
rdark has joined #ruby
terlar has quit [Client Quit]
ta has quit [Ping timeout: 246 seconds]
codefo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dodobrain has quit [Quit: bye .. o/]
lxsameer has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
oivoodoo has joined #ruby
lxsameer has joined #ruby
psy has quit [Ping timeout: 272 seconds]
lxsameer has quit [Read error: Connection reset by peer]
KrzaQ has quit [Read error: Connection reset by peer]
gauke has joined #ruby
KrzaQ has joined #ruby
dumdedum has joined #ruby
oo_ has quit [Remote host closed the connection]
kaspernj has joined #ruby
charliesome has joined #ruby
oo_ has joined #ruby
amclain has quit [Quit: Leaving]
SouL_|_ has quit [Remote host closed the connection]
oivoodoo has quit [Ping timeout: 246 seconds]
livathinos has joined #ruby
SouL_|_ has joined #ruby
mhivbl has joined #ruby
bim has joined #ruby
bim is now known as Guest34818
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
KrzaQ has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
nhhagen has joined #ruby
plutonic has joined #ruby
NivenHuH has joined #ruby
Guest34818 has quit [Ping timeout: 248 seconds]
rshetty has quit [Remote host closed the connection]
RegulationD has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
KrzaQ has joined #ruby
webguynow has quit [Ping timeout: 252 seconds]
webguynow has joined #ruby
Dakuan has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
colorisco has joined #ruby
duncannz has quit [Ping timeout: 252 seconds]
astrobunny has quit [Remote host closed the connection]
krz has quit [Read error: Connection reset by peer]
zzing has quit [Read error: Connection reset by peer]
krz has joined #ruby
apiercey has joined #ruby
edwinvdgraaf has joined #ruby
jack_rabbit has quit [Ping timeout: 250 seconds]
hanmac has quit [Ping timeout: 265 seconds]
amundj has joined #ruby
tesuji has joined #ruby
oivoodoo has joined #ruby
<apiercey> Hello, is this channel quite active?
<apeiros> apiercey: stay and judge for yourself?
<apiercey> I will :)
* sevenseacat plays hangman
<apiercey> Maybe not for long tonight, though haha. Late were I am
shoutsid has joined #ruby
kracker has left #ruby ["Leaving"]
<Kurisu> apiercey — I think everyone's asleep right now, but it's usually quite/very active. You can tell by the channel's user count :)
shoutsid has quit [Remote host closed the connection]
shoutsid has joined #ruby
<apiercey> Ah thanks! I'm new to IRC as a whole but someone online mentioned that this freenode/# ruby is a decent ruby community.
<sevenseacat> we try
mistermocha has quit [Ping timeout: 245 seconds]
CatMartyn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DEA7TH has joined #ruby
MatthewsFace has joined #ruby
Spami has joined #ruby
agent_white has quit [Quit: goodnite]
astrobunny has joined #ruby
towski_ has joined #ruby
MatthewsFace has quit [Ping timeout: 256 seconds]
jack_rabbit has joined #ruby
yh has joined #ruby
oivoodoo has quit [Ping timeout: 248 seconds]
antgel has joined #ruby
towski_ has quit [Remote host closed the connection]
doodlehaus has joined #ruby
hanmac has joined #ruby
bMalum has quit [Quit: bMalum]
Morkel has quit [Quit: Morkel]
lxsameer has joined #ruby
lxsameer has joined #ruby
Pupeno has joined #ruby
yh has quit [Ping timeout: 246 seconds]
Spami has quit [Quit: This computer has gone to sleep]
zzing has joined #ruby
<hanmac1> apeiros: "Enumerable#count_by" incoming! XD
apiercey has quit [Read error: Connection reset by peer]
<sevenseacat> oh cool
<sevenseacat> ive wanted that for ages
skippylassie has joined #ruby
doodlehaus has quit [Ping timeout: 250 seconds]
skippylassie has left #ruby [#ruby]
My_Hearing has joined #ruby
<apeiros> hanmac1: ah, good thing
<apeiros> yeah, common use case
towski_ has joined #ruby
<apeiros> even with fixnum/bignum optimization :D
coderkevin has quit [Quit: Connection closed for inactivity]
Mon_Ouie has quit [Ping timeout: 256 seconds]
ki0 has joined #ruby
jack_rabbit has quit [Ping timeout: 256 seconds]
EasyCo has quit [Quit: Connection closed for inactivity]
<adaedra> Hello
<apeiros> hi adaedra
kbarry has quit [Ping timeout: 245 seconds]
elaptics_away is now known as elaptics
zmyrgel has joined #ruby
Spami has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
anarang has joined #ruby
Asher has joined #ruby
Darkwater has left #ruby ["so much to do, so much to see"]
<apeiros> current status: compiling :<
goggy has quit [Ping timeout: 276 seconds]
granthatcher has joined #ruby
granthatcher|awa is now known as granthatcher
IronKoopa has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
<hanmac1> apeiros: hm maybe i can get nobu to implement an each_uniq(_by) methods into C too
tesuji has quit [Ping timeout: 245 seconds]
tesuji_ has joined #ruby
DavidDudson has joined #ruby
tesuji_ is now known as tesuji
BradPitt has quit [Ping timeout: 245 seconds]
Axy has quit [Ping timeout: 245 seconds]
shellfu_afk has quit [Ping timeout: 245 seconds]
ujihisa has joined #ruby
roolo has quit [Remote host closed the connection]
<wasamasa> TIL that one infects objects in ruby
<apeiros> wasamasa: you generally don't. that's lowlevel stuff ;-)
ghr has joined #ruby
workmad3 has joined #ruby
alex88 has joined #ruby
lloyd is now known as Lloyd
banister has joined #ruby
ta has joined #ruby
fabrice31 has joined #ruby
krisquigley has joined #ruby
towski_ has quit [Remote host closed the connection]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
sente has quit [Ping timeout: 244 seconds]
fabrice31 has quit [Remote host closed the connection]
drager has quit [Ping timeout: 265 seconds]
sente has joined #ruby
krisquigley has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
TheHodge has joined #ruby
zzing has quit [Read error: Connection reset by peer]
vtunka has joined #ruby
c0m0 has joined #ruby
apiercey has joined #ruby
Stalkr_ has joined #ruby
krisquigley has joined #ruby
ujihisa has quit [Ping timeout: 264 seconds]
<apeiros> ok, so in ruby 2.2.2, send(:bar) is faster than bar.call and that is faster than instance_exec(&bar)
<apeiros> where in the first example, bar is an instance method, and in the two other examples a lambda with the same body.
<ytti> by what margin
<apeiros> send 4.419M (± 4.6%) i/s - 22.126M
<apeiros> lambda 3.647M (± 3.0%) i/s - 18.269M
<apeiros> instance_exec 2.481M (± 3.5%) i/s - 12.415M
<apeiros> numbers by benchmark-ips
<Nuck> Anyone know a way to get a stack trace out of Bundler/Rubygems? I've supposedly got an error in my Gemspec but it's giving me one entirely irrelevant line from the stack trace :/
drager has joined #ruby
<apeiros> Nuck: I suggest you gist your gemspec and the full exception, even if you deem it irrelevant
mistermocha has joined #ruby
<ytti> apeiros, that is way more than i expected
Hounddog has joined #ruby
dcarmich has joined #ruby
<Nuck> I'm slowly losing my sanity to this thing
<jhass> Nuck: it's spec.add_dependency too
<jhass> and so forth
bMalum has joined #ruby
lkba_ has quit [Ping timeout: 252 seconds]
<Nuck> :| Wow what the hell
<jhass> >> gem
<ruboto> jhass # => wrong number of arguments (0 for 1+) (ArgumentError) ...check link for more (https://eval.in/315771)
<Nuck> I tweaked that straight from Bundler's code
yh has joined #ruby
<Nuck> I didn't even touch the rake and bundler lines, so color me confused as to how things got this way
bMalum has quit [Client Quit]
<Nuck> Oh well. No need questioning things when I could be fixing it
<Nuck> thanks lol
<Nuck> If only Vim highlighted the word "gem" like Gist does, wow
tvw has joined #ruby
rshetty has joined #ruby
astrobunny has quit [Remote host closed the connection]
coderhs has quit [Ping timeout: 250 seconds]
max96at has quit [Quit: Bye!]
zzing has joined #ruby
yh has quit [Ping timeout: 250 seconds]
davedev24_ has quit [Ping timeout: 250 seconds]
sevenseacat has quit [Quit: Me dun like you no more.]
afrianska has joined #ruby
davedev24_ has joined #ruby
sameerynho has joined #ruby
A205B064 has quit [Ping timeout: 252 seconds]
oivoodoo has joined #ruby
lidenskap has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
My_Hearing has quit [Ping timeout: 244 seconds]
DaniG2k has joined #ruby
AlphaAtom has joined #ruby
Cust0sL1men has joined #ruby
Igorshp has joined #ruby
astrobunny has joined #ruby
WhereIsMySpoon has quit [Disconnected by services]
dj_zubehoer has quit []
markholmes has quit [Quit: So it goes.]
Stalkr_ has quit [Quit: Leaving...]
WhereIsMySpoon_ has joined #ruby
oivoodoo has quit [Remote host closed the connection]
quimrstorres has joined #ruby
Renich has joined #ruby
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
Joufflu has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Morkel has joined #ruby
mengu has quit [Remote host closed the connection]
vtunka has quit [Quit: Leaving]
mistermocha has quit [Ping timeout: 245 seconds]
joonty has joined #ruby
parduse has quit [Ping timeout: 250 seconds]
ki0 has quit [Ping timeout: 250 seconds]
quimrstorres has joined #ruby
parduse has joined #ruby
turtil has joined #ruby
oddskill_away is now known as oddskill
elaptics is now known as elaptics_away
elaptics_away is now known as elaptics
ki0 has joined #ruby
zotherst2pidguy has quit [Ping timeout: 250 seconds]
vdamewood has joined #ruby
onlyme has joined #ruby
zotherst2pidguy has joined #ruby
Guest77832 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
gfawcettpq has quit [Ping timeout: 250 seconds]
livcd has quit [Ping timeout: 255 seconds]
livcd has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
<hanmac1> shevy: i updated https://gist.github.com/Hanmac/cb9e13ff220e4f31e13a gemtree against newest rubocop ... i may not like it but it says its "better" now ...
vtunka has joined #ruby
bim has joined #ruby
oddskill has left #ruby [#ruby]
bim is now known as Guest25567
rshetty has quit [Remote host closed the connection]
<Igorshp> Morning, i'm trying to see if a block of xml is part of a larger xml. sort of like .includes? for strings. could anyone point me in the right direction?
<hanmac1> Igorshp: Nokogiri is your friend
<Igorshp> yeah, playing around wiht it already
<Igorshp> but it's little fidly to use
rkazak has quit [Quit: Sleep.....ing....]
<jhass> hanmac1: luckily you can tell it what's better: https://gist.github.com/jhass/a5ae80d87f18e53e7b56
_KISS has joined #ruby
rshetty has joined #ruby
Guest25567 has quit [Ping timeout: 256 seconds]
lolmaus has joined #ruby
<hanmac1> jhass: my main problem i got was "Assignment Branch Condition" and "Cyclomatic complexity" ... like for the first one i mostly think its to dump to understand what "/\A#{k}(?<n>\d+)\Z/ =~ name && n.to_i.between?(3, v)" does and whines about that the Condition is to complex or something
<jhass> those are metrics for too many statements in a method, it wants you to make smaller ones, afaik
<canton7> cyclomatic complexity is the number of routes through a method iirc: i.e. how much branching/looping/jumping about is done
fabrice31 has joined #ruby
Technodrome has quit [Quit: Technodrome]
<hanmac1> canton7: have you tryed to write a case/when in ruby? it causes rubocop to go overload with cyclomatic complexity ;p
MatthewsFace has joined #ruby
Technodrome has joined #ruby
fabrice31 has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
<Nuck> rubocop complains a lot, but it means well
ArchRogem has joined #ruby
MatthewsFace has quit [Ping timeout: 244 seconds]
<Nuck> Kind of like an overbearing parent
<Nuck> You know it wants the best for your codebase, but sometimes it's just too much
<canton7> hanmac1, I haven't - sounds fun
vire has joined #ruby
<jhass> yeah, tbh I'm thinking about turning those two off
_KISS has quit [Read error: Connection reset by peer]
<Nuck> All the complexity complainers in rubocop I set to absurd (but sadly realistic) levels
<Nuck> And use CodeClimate for anything lower
<hanmac1> good that my rwx code cant be checked by rubocop otherwise it might crash because the error count is to high ;P
<Nuck> So rubocop is just an alarm for when things slip by and get *really* bad
crdpink has quit [Ping timeout: 252 seconds]
_KISS has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sigurding has quit [Quit: sigurding]
pontiki has joined #ruby
_KISS has quit [Remote host closed the connection]
bMalum has joined #ruby
_KISS has joined #ruby
iteratorP has quit [Remote host closed the connection]
yh has joined #ruby
_KISS has quit [Read error: Connection reset by peer]
ponga has joined #ruby
niKeITA has joined #ruby
ayaz has joined #ruby
onlyme has quit [Quit: Lingo: www.lingoirc.com]
_axx has joined #ruby
doodlehaus has joined #ruby
timonv has joined #ruby
CatMartyn has joined #ruby
jgoyon has joined #ruby
Morkel has quit [Quit: Morkel]
colorisco has quit [Ping timeout: 246 seconds]
bMalum has quit [Quit: bMalum]
doodlehaus has quit [Ping timeout: 256 seconds]
plashchynski has joined #ruby
iteratorP has joined #ruby
lidenskap has joined #ruby
n008f4g_ has joined #ruby
Nuck has quit [Remote host closed the connection]
astrobunny has quit []
serivich has joined #ruby
kp666 has quit [Remote host closed the connection]
lidenskap has quit [Ping timeout: 264 seconds]
zotherst2pidguy has quit [Ping timeout: 250 seconds]
vickleton has quit [Ping timeout: 272 seconds]
zotherst2pidguy has joined #ruby
workmad3 has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
JoshGlzBrk has quit [Quit: Textual IRC Client: www.textualapp.com]
decoponio has joined #ruby
zzing has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
bennysan has joined #ruby
turtil has quit [Ping timeout: 245 seconds]
n008f4g_ has quit [Ping timeout: 272 seconds]
selu has joined #ruby
oivoodoo has joined #ruby
gr33n7007h has quit [Ping timeout: 245 seconds]
mistermocha has joined #ruby
colorisco has joined #ruby
bim has joined #ruby
bim is now known as Guest37039
kapstones has joined #ruby
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
kapstones has quit [Quit: Leaving]
Technodrome has quit [Quit: Technodrome]
zzing has joined #ruby
a5i has joined #ruby
ki0 has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 248 seconds]
ki0 has joined #ruby
amdbcg has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
iteratorP has quit [Remote host closed the connection]
<hanmac1> banister: hm i think pry might need to update its slop dependency ... they are already a few versions behind it (4.1.0 vs ~> 3.4)
<ytti> i don't think that is the correct solution
michael_mbp has quit [Excess Flood]
colorisco has quit [Ping timeout: 245 seconds]
<ytti> better solution is to separate CLI and lib
<ytti> in which case pry does not have to use same slop version as you do
basiclaser has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
mengu has joined #ruby
<hanmac1> ytti: hm what would you do? i mean he should check if pry (or other parts of pry) does work with he newer version too
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
startupality has joined #ruby
<hanmac1> an separation might be useful but does not solve all the problems
<ytti> hanmac1, it definitelty won't work with slop4 without rewrite
shredding has joined #ruby
<ytti> but why would I, as pry user, care which slop version is pry using?
<hanmac1> hm ok i guessed so, but imo it be updated sooner or later
bMalum has joined #ruby
<ytti> probably, but what is the problem that needs to be solved
michael_mbp has joined #ruby
roolo has joined #ruby
Spami has joined #ruby
Rickmasta has joined #ruby
plashchynski has quit [Quit: plashchynski]
bMalum has quit [Quit: bMalum]
lordkryss has joined #ruby
zotherst2pidguy has quit [Ping timeout: 255 seconds]
plashchynski has joined #ruby
duncannz has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
tkuchiki has quit [Ping timeout: 250 seconds]
colorisco has joined #ruby
nfk has joined #ruby
fabrice31 has quit [Remote host closed the connection]
crdpink has joined #ruby
Renich has quit [Quit: leaving]
vickleton has joined #ruby
platzhirsch1 has joined #ruby
DerisiveLogic has joined #ruby
beat_ has joined #ruby
khebbie has joined #ruby
amdbcg has quit [Quit: amdbcg]
ki0 has quit [Read error: Connection reset by peer]
Spami has quit [Quit: This computer has gone to sleep]
ki0 has joined #ruby
DerisiveLogic has quit [Ping timeout: 276 seconds]
mburns is now known as mburns_
mistermocha has quit [Ping timeout: 250 seconds]
bMalum has joined #ruby
gfawcettpq has joined #ruby
joonty has quit [Quit: joonty]
DEA7TH has quit [Ping timeout: 252 seconds]
Guest37039 has quit [Remote host closed the connection]
joonty has joined #ruby
surs has joined #ruby
jgoyon has quit [Ping timeout: 246 seconds]
workmad3 has quit [Quit: leaving]
khebbie has quit [Ping timeout: 265 seconds]
dc has quit [Remote host closed the connection]
blueOxigen has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
plashchynski has quit [Quit: plashchynski]
bMalum has quit [Quit: bMalum]
ghr has quit []
ghr has joined #ruby
sevenseacat has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CloCkWeRX has quit [Ping timeout: 264 seconds]
iteratorP has joined #ruby
<adaedra> Opal seems nice
alienaut has joined #ruby
jakolehm has joined #ruby
phutchins has joined #ruby
platzhirsch1 has quit [Quit: Leaving.]
platzhirsch has joined #ruby
plashchynski has joined #ruby
RegulationD has joined #ruby
bMalum has joined #ruby
plashchynski has quit [Client Quit]
RegulationD has quit [Ping timeout: 256 seconds]
iteratorP has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 264 seconds]
rodfersou has joined #ruby
oo_ has quit [Remote host closed the connection]
ki0 has quit [Ping timeout: 264 seconds]
iterator_ has joined #ruby
shellfu_afk has joined #ruby
shellfu_afk is now known as shellfu
ki0 has joined #ruby
sigurding has quit [Quit: sigurding]
CloCkWeRX has joined #ruby
vtunka has quit [Quit: Leaving]
vtunka has joined #ruby
mburns_ is now known as mburns
Wobbley has joined #ruby
bMalum has quit [Quit: bMalum]
MatthewsFace has joined #ruby
avat has joined #ruby
DEA7TH has joined #ruby
ArchRogem has quit [Ping timeout: 248 seconds]
doodlehaus has joined #ruby
Rollabunna has joined #ruby
shoutsid has quit [Remote host closed the connection]
MatthewsFace has quit [Ping timeout: 250 seconds]
zzing has quit [Read error: Connection reset by peer]
mhivbl has quit [Ping timeout: 246 seconds]
goggy has joined #ruby
shoutsid has joined #ruby
diegoviola has joined #ruby
mithrandeer has joined #ruby
yeticry has quit [Ping timeout: 250 seconds]
gduwwi has joined #ruby
pontiki has joined #ruby
sdothum has joined #ruby
yeticry has joined #ruby
nahtnam has quit [Quit: Connection closed for inactivity]
d10n-work has joined #ruby
goggy has quit [Ping timeout: 272 seconds]
platzhirsch has quit [Quit: Leaving.]
platzhirsch1 has joined #ruby
RTG` has quit [Ping timeout: 272 seconds]
zzing has joined #ruby
granthatcher has quit [Ping timeout: 245 seconds]
allcentury has joined #ruby
granthatcher has joined #ruby
shoutsid has quit [Remote host closed the connection]
My_Hearing has joined #ruby
Rapier- has quit [Quit: (null)]
Zai00 has joined #ruby
sigurding has joined #ruby
rshetty_ has joined #ruby
shoutsid has joined #ruby
livathinos has quit [Read error: Connection reset by peer]
catphish has joined #ruby
livathinos has joined #ruby
SouL_|_ has quit [Ping timeout: 245 seconds]
Vivex has quit [Read error: Connection reset by peer]
rshetty has quit [Ping timeout: 250 seconds]
shoutsid has quit [Remote host closed the connection]
avat has quit [Ping timeout: 246 seconds]
digitalextremist has quit [Remote host closed the connection]
plutonic has quit [Quit: plutonic]
joonty has quit [Quit: joonty]
shoutsid has joined #ruby
scripore has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
vedu has joined #ruby
mistermocha has joined #ruby
mithrandeer has quit [Remote host closed the connection]
relix has joined #ruby
revoohc has quit [Quit: revoohc]
WillAmes has quit [Remote host closed the connection]
goggy has joined #ruby
rdark has quit [Ping timeout: 245 seconds]
iasoon has joined #ruby
Igorshp has quit [Remote host closed the connection]
rdark has joined #ruby
bMalum has joined #ruby
<jokke> hi
<jokke> anyone using chruby and got it setting the correct ruby version for vim?
zzing has quit [Read error: Connection reset by peer]
shoutsid has quit [Remote host closed the connection]
<jokke> i set the rubyversion to 2.2.0 and started vim, yet `:ruby print RUBY_VERSION` shows 2.2.2
diego3 has joined #ruby
diego3 has quit [Changing host]
diego3 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
diegoviola is now known as Guest80072
diego3 is now known as diegoviola
Guest80072 has quit [Ping timeout: 265 seconds]
mithrandeer has joined #ruby
Vivex has joined #ruby
zzing has joined #ruby
ebbflowgo has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Igorshp has joined #ruby
ebbflowgo has quit [Client Quit]
niKeITA has quit [Quit: ZZZzzz…]
yfeldblum has quit [Ping timeout: 245 seconds]
mengu has quit [Remote host closed the connection]
platzhirsch1 has quit [Quit: Leaving.]
platzhirsch has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
iotouch has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
mithrandeer has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 244 seconds]
iasoon has quit [Ping timeout: 252 seconds]
vt102 has joined #ruby
devaraya has quit [Ping timeout: 272 seconds]
lessless has quit [Ping timeout: 244 seconds]
WillAmes has joined #ruby
fabrice31 has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
ki0 has quit [Ping timeout: 245 seconds]
NinjaOps has joined #ruby
RTG` has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
ki0 has joined #ruby
bruno- has joined #ruby
RegulationD has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
shoutsid has joined #ruby
gagrio has quit [Ping timeout: 272 seconds]
<jokester> vim may link to its own ruby
livcd has quit [Changing host]
livcd has joined #ruby
ponga has quit [Remote host closed the connection]
zzing has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 245 seconds]
thumpba has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
exadeci has joined #ruby
jenrzzz has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Joufflu_ has joined #ruby
mistermocha has quit [Ping timeout: 245 seconds]
plashchynski has joined #ruby
Joufflu_ has quit [Read error: Connection reset by peer]
ki0_ has joined #ruby
bruno- has joined #ruby
thumpba has quit [Ping timeout: 245 seconds]
Joufflu has quit [Ping timeout: 245 seconds]
RegulationD has joined #ruby
startupality has quit [Quit: startupality]
ki0 has quit [Ping timeout: 276 seconds]
ebbflowgo has joined #ruby
Spami has joined #ruby
n008f4g_ has joined #ruby
Spami has quit [Client Quit]
ki0_ has quit [Remote host closed the connection]
pika_pika has joined #ruby
apiercey has quit [Read error: Connection reset by peer]
revoohc has joined #ruby
gagrio has joined #ruby
revoohc has quit [Client Quit]
davedev24_ has joined #ruby
renier has joined #ruby
Limix has joined #ruby
renier_ has quit [Ping timeout: 245 seconds]
zzing has joined #ruby
doodlehaus has joined #ruby
lxsameer_ has joined #ruby
ponga has joined #ruby
u- has joined #ruby
lxsameer_ has quit [Read error: Connection reset by peer]
haxrbyte_ has quit [Quit: Leaving...]
jerius has joined #ruby
ndrei has joined #ruby
Limix has quit [Quit: Limix]
doodlehaus has quit [Remote host closed the connection]
marr has joined #ruby
sameerynho has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
sigurding has quit [Quit: sigurding]
ki0 has joined #ruby
yh has quit [Ping timeout: 276 seconds]
pontiki has quit [Quit: 2 werk]
ki0 has quit [Remote host closed the connection]
ponga has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 276 seconds]
pwattste has joined #ruby
iotouch has joined #ruby
iotouch has quit [Remote host closed the connection]
allcentury has joined #ruby
coinrookie has quit [Quit: Leaving]
leex has joined #ruby
sevenseacat has quit [Quit: Me dun like you no more.]
juanpaucar has joined #ruby
plashchynski has quit [Quit: plashchynski]
sankaber has joined #ruby
joonty has joined #ruby
alienaut has quit [Ping timeout: 252 seconds]
ponga has joined #ruby
plashchynski has joined #ruby
<kq_away> What's the difference between 'or' and '||'?
juanpaucar has quit [Client Quit]
<apeiros> kq_away: in short: precedence
bradleyprice has quit [Remote host closed the connection]
roshanavand has joined #ruby
<banister> apeiros oh hey there stefan
<banister> apeiros ltns
<banister> apeiros going anywhere for summer hols?
mcpierce` is now known as mcpierce
scripore has joined #ruby
failshell has joined #ruby
iterator_ has quit [Remote host closed the connection]
juanpaucar has joined #ruby
bruno- has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
jerius has quit [Quit: /quit]
ponga has quit [Quit: Leaving...]
<kq_away> I shall learn to google before asking
<kq_away> thanks, though
sigurding has joined #ruby
jakolehm has quit []
bim has joined #ruby
bim is now known as Guest47769
haxrbyte has joined #ruby
alienaut has joined #ruby
yh has joined #ruby
<kq_away> I still don't understand what made Foo = ARGV[1] or 'bar' not work
Rapier- has joined #ruby
<kq_away> did it go (Foo = ARGV[1]) or 'bar'?
<apeiros> yes
lordkryss has quit [Quit: Connection closed for inactivity]
S0da has joined #ruby
<apeiros> Foo = ARGV[1] or abort("Must provide an argument!")
S0da has quit [Read error: Connection reset by peer]
<kq_away> okay
<kq_away> that was really unexpected though
<kq_away> I operated under impression that or and || are aliases
ebbflowgo has quit [Read error: Connection reset by peer]
haxrbyte_ has joined #ruby
S0da has joined #ruby
dcarper has joined #ruby
<apeiros> and now you learned that they aren't ;-)
S0da has quit [Read error: Connection reset by peer]
Zai00 has quit [Quit: Zai00]
<kq_away> that I did
gagrio has quit [Ping timeout: 250 seconds]
<ddv> kq_away: also read the ruby style guide
mengu has quit [Remote host closed the connection]
Pupeno has quit [Quit: Leaving...]
nszceta has joined #ruby
<jhass> kq_away: you also learned why many rubyists avoid or/and altogether ;)
mengu has joined #ruby
ki0 has joined #ruby
haxrbyte has quit [Ping timeout: 272 seconds]
MatthewsFace has joined #ruby
dblessing has joined #ruby
ki0 has quit [Remote host closed the connection]
mistermocha has joined #ruby
jamto11 has joined #ruby
S0da has joined #ruby
S0da has quit [Read error: Connection reset by peer]
DaniG2k has quit [Ping timeout: 264 seconds]
S0da has joined #ruby
S0da has quit [Read error: Connection reset by peer]
Hirzu has joined #ruby
<yh> Anyone here done any structured logging?
MatthewsFace has quit [Ping timeout: 240 seconds]
symbol has joined #ruby
huddy has joined #ruby
S0da has joined #ruby
enebo has joined #ruby
quimrstorres has joined #ruby
CloCkWeRX has joined #ruby
S0da has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
Crisix has joined #ruby
lidenskap has joined #ruby
S0da has joined #ruby
S0da has quit [Read error: Connection reset by peer]
S0da has joined #ruby
S0da has quit [Read error: Connection reset by peer]
quimrstorres has quit [Ping timeout: 265 seconds]
Zai00 has joined #ruby
niKeITA has joined #ruby
S0da has joined #ruby
oo_ has joined #ruby
S0da has quit [Read error: Connection reset by peer]
hiyosi has joined #ruby
lidenskap has quit [Ping timeout: 264 seconds]
plashchynski has quit [Quit: plashchynski]
djellemah_ has joined #ruby
S0da has joined #ruby
Guest47769 has quit [Remote host closed the connection]
plashchynski has joined #ruby
S0da has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
S0da has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
S0da has quit [Read error: Connection reset by peer]
rshetty_ has quit [Remote host closed the connection]
djellemah has quit [Ping timeout: 272 seconds]
S0da has joined #ruby
djellemah_ is now known as djellemah
bigmac has joined #ruby
giuseppesolinas has joined #ruby
S0da has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
duggiefresh has joined #ruby
S0da has joined #ruby
ItSANg___ has joined #ruby
ItSANgo has quit [Ping timeout: 245 seconds]
evanjs has joined #ruby
apoplexy has quit [Ping timeout: 244 seconds]
S0da has quit [Read error: Connection reset by peer]
DerisiveLogic has joined #ruby
revoohc has joined #ruby
doodlehaus has joined #ruby
S0da has joined #ruby
Juanchito has joined #ruby
dx7 has joined #ruby
longbow has joined #ruby
S0da has quit [Read error: Connection reset by peer]
S0da has joined #ruby
iamjarvo has joined #ruby
plashchynski has quit [Quit: plashchynski]
Channel6 has joined #ruby
S0da has quit [Read error: Connection reset by peer]
iamninja_ has quit [Read error: Connection reset by peer]
devaraya has joined #ruby
Vivex has quit [Read error: Connection reset by peer]
iamjarvo has quit [Client Quit]
plashchynski has joined #ruby
iamninja_ has joined #ruby
fryguy9 has joined #ruby
S0da has joined #ruby
S0da has quit [Read error: Connection reset by peer]
krz has quit [Quit: WeeChat 1.0.1]
jamto11 has quit [Remote host closed the connection]
S0da has joined #ruby
plashchynski has quit [Client Quit]
mistermocha has quit [Ping timeout: 245 seconds]
zzing has quit [Read error: Connection reset by peer]
plashchynski has joined #ruby
ki0 has joined #ruby
S0da has quit [Read error: Connection reset by peer]
AndroUser has joined #ruby
fabrice31 has quit [Remote host closed the connection]
jm0 has joined #ruby
jm0 has left #ruby [#ruby]
S0da has joined #ruby
oo_ has quit [Remote host closed the connection]
lavros has joined #ruby
ki0 has quit [Remote host closed the connection]
zzing has joined #ruby
mrmargolis has joined #ruby
S0da has quit [Read error: Connection reset by peer]
Hirzu has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
S0da has joined #ruby
cocotton has joined #ruby
lukec has joined #ruby
shoutsid has quit []
shoutsid has joined #ruby
fabrice31 has joined #ruby
oo_ has quit [Remote host closed the connection]
GenghisKen has quit [Ping timeout: 250 seconds]
bim has joined #ruby
S0da has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
bim is now known as Guest59248
My_Hearing has quit [Ping timeout: 252 seconds]
S0da has joined #ruby
n008f4g_ has quit [Ping timeout: 255 seconds]
Channel6 has quit [Quit: Leaving]
paulcsmith has joined #ruby
S0da has quit [Read error: Connection reset by peer]
paulcsmith has quit [Client Quit]
DaniG2k has joined #ruby
plashchynski has quit [Quit: plashchynski]
S0da has joined #ruby
<Naypalm> so say I have something someone developed 2+ years ago and stopped, what should I be doing when `bundle install` invariably explodes
S0da has quit [Read error: Connection reset by peer]
<Naypalm> fix each issue as they come up?
<Naypalm> downgrade my ruby version?
S0da has joined #ruby
paulcsmith has joined #ruby
ki0 has joined #ruby
evanjs has quit [Remote host closed the connection]
AndroUser has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
RandyT has quit [Ping timeout: 246 seconds]
<adaedra> it shouldn't blow up
<adaedra> what are the errors ?
S0da has quit [Read error: Connection reset by peer]
Parker0 has joined #ruby
beat_ has quit [Ping timeout: 264 seconds]
dorei has joined #ruby
plashchynski has joined #ruby
shoutsid has quit []
scripore has joined #ruby
shoutsid has joined #ruby
plashchynski has quit [Client Quit]
S0da has joined #ruby
plashchynski has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Parker0 has quit [Client Quit]
S0da has quit [Read error: Connection reset by peer]
S0da has joined #ruby
nettoweb has joined #ruby
S0da has quit [Read error: Connection reset by peer]
S0da has joined #ruby
last_staff has quit [Quit: last_staff]
plashchynski has quit [Quit: plashchynski]
Rickmasta has joined #ruby
S0da has quit [Read error: Connection reset by peer]
startupality has joined #ruby
S0da has joined #ruby
Deele2 has joined #ruby
<Naypalm> well yesterday I had to change like two billion things
Deele has quit [Ping timeout: 256 seconds]
shoutsid has quit [Remote host closed the connection]
<Naypalm> like a readline module that wouldn't work, turns out there was one for ruby 1.9 but then there was a -devel something else one that replaced them both
<adaedra> ah
<Naypalm> and nokogiri likes to explode
<Naypalm> it was just little consistency things here and there
S0da has quit [Read error: Connection reset by peer]
<Naypalm> I mean yeah I know wanting 2+ years gems to work with bleedin' edge ruby is asking too much
<Naypalm> I'm just going to vent about it anyway though
<Naypalm> :)
Kricir has joined #ruby
audy has quit [Remote host closed the connection]
gagrio has joined #ruby
dfinninger has joined #ruby
fabrice31 has joined #ruby
tagrudev has quit [Remote host closed the connection]
Igorshp has quit [Remote host closed the connection]
<Naypalm> and now I finally get everything bundle installed and it starts erroring when I try to do anything :(
<gregf_> er, 2 billion things... you surely wrote a brand new app in 1 day then ;)
S0da has joined #ruby
<Naypalm> I wrote billions of them gregf_!
fabrice31 has quit [Remote host closed the connection]
<gregf_> unless you broke the build a million times
<gregf_> s/m/b/
S0da has quit [Remote host closed the connection]
<Naypalm> I did dirty things
Igorshp has joined #ruby
<Naypalm> I went into Gemfile.lock and changed version numbers and changed readline things
<Naypalm> that's probably not a healthy activity
fabrice31 has joined #ruby
bMalum has quit [Quit: bMalum]
haxrr has joined #ruby
haxr has joined #ruby
michael_mbp has quit [Excess Flood]
longbow has quit [Read error: Connection reset by peer]
<Naypalm> this is probably why nothing now works!
IronKoopa has quit [Ping timeout: 256 seconds]
noname1 has joined #ruby
longbow has joined #ruby
fabrice31_ has joined #ruby
michael_mbp has joined #ruby
fabrice31 has quit [Read error: Connection reset by peer]
Beoran_ has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
chrissonar has quit [Remote host closed the connection]
CatMartyn has quit [Quit: Textual IRC Client: www.textualapp.com]
RandyT has joined #ruby
droidburgundy has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
niKeITA has quit [Quit: ZZZzzz…]
happyface has joined #ruby
lukec has quit [Quit: lukec]
iamjarvo has joined #ruby
kotk_ has joined #ruby
chinmay_dd has joined #ruby
mostlybadfly has joined #ruby
jobewan has joined #ruby
kotk has quit [Ping timeout: 240 seconds]
niKeITA has joined #ruby
jblancett has quit [Ping timeout: 240 seconds]
rgs has quit [Ping timeout: 240 seconds]
troyready has quit [Ping timeout: 240 seconds]
crazysim has quit [Ping timeout: 240 seconds]
maxmanders has quit [Ping timeout: 240 seconds]
adam12 has quit [Ping timeout: 240 seconds]
dfinninger has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
haxrr has quit [Ping timeout: 250 seconds]
haxr has quit [Ping timeout: 250 seconds]
jblancett has joined #ruby
adam| has joined #ruby
maxmanders has joined #ruby
rgs has joined #ruby
troyready has joined #ruby
crazysim has joined #ruby
longbow has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
bruno- has joined #ruby
vtunka has quit [Quit: Leaving]
aganov has quit [Remote host closed the connection]
rrichardsr3 has quit [Quit: Textual IRC Client: www.textualapp.com]
ki0 has quit [Remote host closed the connection]
Deele2 has quit [Ping timeout: 256 seconds]
Morkel has joined #ruby
ki0 has joined #ruby
starship has joined #ruby
devaraya has quit [Ping timeout: 264 seconds]
mary5030 has joined #ruby
Enki has quit [Ping timeout: 240 seconds]
sigurding has quit [Quit: sigurding]
Enki has joined #ruby
banister has quit [Remote host closed the connection]
<havenwood> Naypalm: Rails 2.3.5? Eek.
jamto11 has joined #ruby
Deele has joined #ruby
nfk has joined #ruby
<Naypalm> there is a lot of eek here
<Naypalm> I don't know ruby but I know when I'm in hell!
<jhass> 2 years? more like 6...
fmcgeough has joined #ruby
<apeiros> jhass: they might have used 2.3 when rails 3 was out
<hanmac1> apeiros: hm with the newest feature .count_by(&:itself) might be very funny ;p
S0da has joined #ruby
S0da has quit [Read error: Connection reset by peer]
<jhass> apeiros: I just invented the concept of anti-religion I think. There are thinks I do not want to believe
evanjs has joined #ruby
balazs_ has joined #ruby
<jhass> *things, even
Lloyd is now known as lloyd
lloyd is now known as Lloyd
S0da has joined #ruby
cocotton has quit [Quit: Leaving...]
hanmac1 has quit [Quit: Leaving.]
shoutsid has joined #ruby
jamto11 has quit [Ping timeout: 246 seconds]
S0da has quit [Read error: Connection reset by peer]
cocotton has joined #ruby
momomomomo has joined #ruby
devaraya has joined #ruby
catcher has joined #ruby
S0da has joined #ruby
MatthewsFace has joined #ruby
S0da has quit [Read error: Connection reset by peer]
Hirzu has joined #ruby
nettoweb has joined #ruby
cpt_yossarian has quit [Ping timeout: 256 seconds]
S0da has joined #ruby
jcp has quit [Quit: No Ping reply in 180 seconds.]
jcp has joined #ruby
ki0 has quit [Remote host closed the connection]
redlegion has joined #ruby
xtsee has quit [Ping timeout: 240 seconds]
duggiefresh has quit [Read error: Connection reset by peer]
duggiefresh has joined #ruby
S0da has quit [Read error: Connection reset by peer]
fabrice31_ has quit [Remote host closed the connection]
xtsee has joined #ruby
ujihisa has joined #ruby
Toska has joined #ruby
MatthewsFace has quit [Ping timeout: 272 seconds]
<apeiros> jhass: I'm pretty sure you're not the first ;-D
<apeiros> jhass: but that's a bit an odd topic for #ruby?
serivich has quit [Ping timeout: 244 seconds]
<jhass> business as usual you mean?
S0da has joined #ruby
Enki has quit [Ping timeout: 240 seconds]
<Toska> Does anyone here know of a gem that lets you invite people to events, accept and decline them, etc?
krz has joined #ruby
starship has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
balazs_ has quit [Ping timeout: 256 seconds]
iamninja_ has quit [Ping timeout: 240 seconds]
mengu has quit [Remote host closed the connection]
<apeiros> Toska: I don't. but your question is very weak on context.
<apeiros> anyway, ruby-toolbox.com might still help you
redlegion has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
ki0 has joined #ruby
Toska has quit []
gagrio has quit [Ping timeout: 272 seconds]
mitchellhenke has joined #ruby
codecop has joined #ruby
sigurding has joined #ruby
serard has joined #ruby
<serard> Hello
<kaspergrubbe> HI
chinmay_dd has quit [Quit: Leaving]
Guest59248 has quit [Remote host closed the connection]
DreadKnight has joined #ruby
DreadKnight has left #ruby ["#AncientBeast - Master Your Beasts ( www.AncientBeast.com )"]
<serard> Is there à way to pass env vars to a ruby program whin launching it via #!/bin/sh .sh script ? (Hope I'm clear enough ^^)
ta has quit [Ping timeout: 264 seconds]
<jhass> serard: what general way do you know to pass env vars to a ruby script?
brixen has quit [Ping timeout: 248 seconds]
sweeper has quit [Ping timeout: 244 seconds]
SouL_|_ has joined #ruby
sindork has quit [Ping timeout: 245 seconds]
Kovensky has quit [Ping timeout: 264 seconds]
<jhass> or any program
philtr has quit [Ping timeout: 256 seconds]
SirFunk has quit [Ping timeout: 252 seconds]
<adaedra> just modify the env in your shell script
<serard> MYENV=myval ruby myscript.rb
<havenwood> serard: Tried that ^ yet?
<adaedra> and does it works, serard ?
<jhass> did you try that in your shellscript?
Gnubie_ has quit [Ping timeout: 252 seconds]
<adaedra> combo x3
<apeiros> I'm not quite sure how you launch a ruby script with #!/bin/sh… do you mean you have a bash script which in turn runs ruby?
orionstein has quit [Ping timeout: 264 seconds]
<apeiros> s/bash/sh/
<adaedra> (I'd guess so)
<serard> apeiros, exactly !
<serard> oh, my bad, didn't set the env in my container call, sorry....
coderkevin has joined #ruby
dcarper has quit [Remote host closed the connection]
Enki has joined #ruby
bennysan has quit [Ping timeout: 244 seconds]
f0ster has joined #ruby
Hirzu has quit [Remote host closed the connection]
arturaz has quit [Ping timeout: 264 seconds]
rkazak has joined #ruby
dcarper has joined #ruby
balazs_ has joined #ruby
senayar has quit [Remote host closed the connection]
blackmesa has joined #ruby
jottr has joined #ruby
audy has joined #ruby
banister has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
ki0 has quit [Ping timeout: 250 seconds]
bennysan has joined #ruby
B1n4r10 has joined #ruby
chinmay_dd has joined #ruby
nhhagen has quit [Ping timeout: 245 seconds]
<catphish> i'm having trouble with ruby 1.9.3 with OpenSSL 0.9.8k, when connecting to an FTPS server with explicit FTPS, the ssl client handshake appears to be sent, but the server ignores it, as if not enough data was sent to complete the handshake, does anyone have any idea why that might be?
<catphish> connecting to the same serve with ruby 2.1.5 and OpenSSL 1.0.1f works fine
rkazak has quit [Ping timeout: 252 seconds]
ixti has joined #ruby
<catcher> How common is it for ruby / ror projects to use a template engine?
<c-c> common
serivich has joined #ruby
<catcher> c-c, would you say most use haml or slim?
momomomomo has quit [Quit: momomomomo]
tesuji has quit [Ping timeout: 276 seconds]
ndrei has quit [Ping timeout: 264 seconds]
_ixti_ has quit [Ping timeout: 256 seconds]
<c-c> no idea what most use
<ytti> haml is definitely more common than slim
<ytti> had some slim issues, google-fu failed
<ytti> for haml, it never fails
<apeiros> I'd say historically it's erb > haml > slim. new projects it's probably reversed: slim > haml > erb
<catphish> yaml is very common, iirs rails still prefers eruby/irb which means its still popular despite being (IMO) sucky
<catphish> *haml
<catphish> i haven't see much slim, but i believe that it's growing in popularity
<dorei> isn't haml only for html?
SouL_|_ has quit [Read error: Connection reset by peer]
<apeiros> dorei: yes, same for slim
<apeiros> well, might also do xml
SouL_|_ has joined #ruby
<catphish> i think it does any xml, but basically html
<dorei> so, only erb is general purpose?
<catphish> yes, erb isn't really a language, its just "run this ruby code and put the result here"
<apeiros> from those 3? yes
haxrbyte_ has quit [Remote host closed the connection]
<catphish> hence can be used for any type of output
haxrbyte has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
Dreamer3 has quit [Quit: Leaving...]
<catphish> whereas haml is a way of writing html, that integrated nicely with ruby code, i assume slim is the same though i haven't used it
Kovensky has joined #ruby
haxrbyte has quit [Remote host closed the connection]
MasterPiece has joined #ruby
haxrbyte has joined #ruby
orionstein has joined #ruby
<catphish> ultimately it comes down to preference, but most people prefer not to write html by hand now from what i've seen, i'd avoid erb for HTML though it can be useful if you have a pre-made html page and just want to put in a little bit of dynamic data
allcentury has quit [Ping timeout: 272 seconds]
SirFunk has joined #ruby
philtr has joined #ruby
brixen has joined #ruby
sindork has joined #ruby
sweeper has joined #ruby
cpt_yossarian has joined #ruby
u- has quit [Remote host closed the connection]
<catcher> Thanks for the feedback.
kbarry has joined #ruby
Gnubie_ has joined #ruby
livathinos has quit []
lidenskap has joined #ruby
afrianska has quit [Quit: Leaving]
mocha has joined #ruby
mocha is now known as Guest2867
failshell has quit [Read error: No route to host]
codecop has quit [Ping timeout: 276 seconds]
kirun has joined #ruby
bim has joined #ruby
bim is now known as Guest35429
ujihisa has quit [Ping timeout: 252 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lidenska_ has joined #ruby
lidenskap has quit [Read error: Connection reset by peer]
B1n4r10 has quit [Quit: Textual IRC Client: www.textualapp.com]
snockerton has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
woozly has joined #ruby
juanpaucar has quit [Remote host closed the connection]
dcarper has quit [Remote host closed the connection]
mleung has joined #ruby
<A124> Umm. I have a class with method "def self.clear" ... would like to alias it to "self.clean". How can I acheive so?
niKeITA has quit [Quit: ZZZzzz…]
ki0 has joined #ruby
banister has quit [Ping timeout: 248 seconds]
apoplexy has joined #ruby
sigurding has quit [Quit: sigurding]
<dorei> A124: the way I do that is something like: class X ; class << self ; alias :clean :clear; end ; end
Guest2867 has quit [Ping timeout: 240 seconds]
dfinninger has joined #ruby
evanjs_ has joined #ruby
<A124> dorei Thank you! .. I would probably note.. or at least think.. that alias_method is more flexible.
kf8a has joined #ruby
evanjs has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 265 seconds]
momomomomo has joined #ruby
selu has quit [Ping timeout: 272 seconds]
alienaut has quit [Ping timeout: 272 seconds]
gauke has quit [Ping timeout: 252 seconds]
dfinninger has quit [Ping timeout: 245 seconds]
dcarper has joined #ruby
DerisiveLogic has quit [Ping timeout: 248 seconds]
senayar has quit [Remote host closed the connection]
hobodave has joined #ruby
ki0 has quit [Remote host closed the connection]
<havenwood> A124: Depends what you mean. You can redefine #alias_method but it can't take barewords like: alias clean clear
<A124> Hmm, true.
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
konsolebox has quit [Ping timeout: 250 seconds]
evanjs_ has quit [Remote host closed the connection]
shoutsid has quit [Remote host closed the connection]
shoutsid has joined #ruby
gduwwi has quit [Remote host closed the connection]
evanjs has joined #ruby
jespada has joined #ruby
<hobodave> any contributors to fakeredis hang out in here?
symbol has quit [Quit: WeeChat 1.1]
senayar has joined #ruby
senayar has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
dfinninger has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
kf8a has quit [Ping timeout: 240 seconds]
hazelux has joined #ruby
goggy has quit [Ping timeout: 250 seconds]
cpt_yossarian has quit [Ping timeout: 264 seconds]
krz has quit [Quit: WeeChat 1.0.1]
gigetoo has joined #ruby
ki0 has joined #ruby
jmhmccr has quit [Quit: Connection closed for inactivity]
My_Hearing has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
bricker has joined #ruby
niKeITA has joined #ruby
alienaut has joined #ruby
moeabdol has quit [Ping timeout: 245 seconds]
scripore has quit [Quit: This computer has gone to sleep]
My_Hearing is now known as Mon_Ouie
Caius has quit [Ping timeout: 276 seconds]
Caius has joined #ruby
dcarper has quit [Remote host closed the connection]
ki0 has quit [Remote host closed the connection]
bennysan has quit [Ping timeout: 264 seconds]
cocotton has quit [Remote host closed the connection]
charliesome has joined #ruby
serivich has quit [Ping timeout: 240 seconds]
EminenceHC has joined #ruby
chinmay_dd has quit [Quit: Leaving]
jamto11 has joined #ruby
rshetty has joined #ruby
vt102 has quit [Remote host closed the connection]
mistermocha has joined #ruby
evanjs has quit [Remote host closed the connection]
lavros has quit [Ping timeout: 245 seconds]
RegulationD has quit [Remote host closed the connection]
Hirzu has joined #ruby
hollywood has joined #ruby
bradleyprice has joined #ruby
<EminenceHC> Say this block returns 100 records: Review.all.each do |review| How can I do something to 40 of them, and something else to 60 of them?
vire has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
DerisiveLogic has joined #ruby
<jhass> ?rails EminenceHC
<ruboto> EminenceHC, Please join #RubyOnRails for Rails questions. You need to be authenticated with NickServ, see /msg NickServ help
<EminenceHC> jhass: Sorry didnt realize it was rails specific.
<jhass> the better solution is rails specific
lavros has joined #ruby
<jhass> I think
<jhass> depends on the something I guess
jamto11 has quit [Ping timeout: 240 seconds]
bigmac has quit [Ping timeout: 252 seconds]
<EminenceHC> jhass: Updating an attribute.
existensil has quit [Ping timeout: 256 seconds]
teddyp1cker has joined #ruby
cocotton has joined #ruby
existensil has joined #ruby
cjim_ has joined #ruby
<shevy> hanmac why do you use gemtree?
<shevy> or perhaps why did you write it
<shevy> damn it... I went to bed way too early, woke up at 2:00 am and now I am getting tired again ... but if I sleep now, I get basically nothing done; I came home about an hour ago...
banister has joined #ruby
startupality has quit [Quit: startupality]
momomomomo has quit [Ping timeout: 245 seconds]
Hijiri has quit [Ping timeout: 265 seconds]
spider-mario has joined #ruby
startupality has joined #ruby
noname1 has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fuzzyhorns1 has joined #ruby
joonty has quit [Quit: joonty]
timonv has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
hazelux has quit []
tvw has quit [Remote host closed the connection]
sevvie has quit [Quit: leaving]
alex88 has quit []
CloCkWeRX has left #ruby [#ruby]
Zai00 has quit [Quit: Zai00]
gmas has joined #ruby
maletor has joined #ruby
senayar has quit []
freerobby has quit [Quit: Leaving.]
roolo has quit [Remote host closed the connection]
banister is now known as banisterfiend
startupality has quit [Quit: startupality]
freerobby has joined #ruby
wldcordeiro has joined #ruby
Timba-as has quit [Quit: Be back later ...]
scripore has joined #ruby
lidenska_ has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
sevvie has joined #ruby
rshetty has quit [Remote host closed the connection]
GaryOak_ has joined #ruby
rshetty has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
Guest35429 has quit [Remote host closed the connection]
momomomomo has joined #ruby
Dakuan has quit []
<shevy> hey jhass did you get any death threads when you suggested to deprecated #ruby-lang?
<shevy> erm
<shevy> death *threats
<jhass> not yet
Crisix has quit [Read error: No route to host]
<shevy> and *deprecate, not deprecated. I need sleep apparently :(
<shevy> awww
<GaryOak_> It seems like there aren't many people talking in there
<shevy> GaryOak_ tell them that to their faces!
<shevy> but I have reconciled with my old enemies there ever since they no longer mandated registering to chat
<GaryOak_> there's a lot of random shit in here though, but we usually stay on topic if someone asks a question
Hirzu has quit [Remote host closed the connection]
<shevy> free donuts, free love, free chat
rshetty has quit [Ping timeout: 272 seconds]
<eam> death threads would be like the Timeout module
<shevy> hey it's ruby relevant
<shevy> I am just coming home TO WRITE MORE RUBY code
devaraya has quit [Remote host closed the connection]
failshell has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
DaniG2k has quit [Quit: leaving]
<shevy> I swear
<shevy> 60% of the vim config out on the www
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> is simply copy/pasting of other people's vim config
<shevy> including their typos :D
<jhass> it's evolution, copy paste and make random edits
<shevy> it's now the third time I am reading: 'set cf " Enable error files & error jumping' (no typo there though)
<shevy> yeah
<shevy> copy paste for more power
Technodrome has quit [Quit: Technodrome]
edwinvdgraaf has quit [Ping timeout: 248 seconds]
codecop has joined #ruby
Rickmasta has joined #ruby
Rickmasta has quit [Max SendQ exceeded]
<GaryOak_> who's the ghengis khan of vim configs?
deric_skibotn has joined #ruby
<shevy> btw why aren't you a vimster jhass?
evanjs has joined #ruby
Rickmasta has joined #ruby
mikecmpbll has quit [Ping timeout: 252 seconds]
<shevy> GaryOak_ DHH?
Rickmasta has quit [Max SendQ exceeded]
Rickmasta has joined #ruby
Rickmasta has quit [Max SendQ exceeded]
Rickmasta has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ki0 has joined #ruby
icebourg has joined #ruby
mistermocha has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
<GaryOak_> Are there any language compilers written in ruby?
mistermocha has joined #ruby
granthatcher has quit []
Technodrome has joined #ruby
krisquigley has joined #ruby
Hirzu has joined #ruby
<shevy> hmmm
relix has joined #ruby
<shevy> opal?
<shevy> I think there are a few... let me think
failshell has quit [Remote host closed the connection]
<shevy> ragel-6.8/test/langtrans_ruby.txl
<ytti> if you'd have hash[42] = "moi"
<shevy> I guess ragel is written in C not ruby...
<ytti> it would be {} of Integer => String
<ytti> (or fixnum or whatever)
<shevy> >> 42.class
<ruboto> shevy # => Fixnum (https://eval.in/316027)
Daneel has joined #ruby
endash has joined #ruby
<ytti> ohh, i'm on wrong channel
<shevy> >> hash = Hash.new; hash[42] = 'moi'; hash[42]
<ruboto> shevy # => "moi" (https://eval.in/316028)
<shevy> ytti \o/
<shevy> this is the right channel!
<shevy> for everything!
<GaryOak_> haha
<shevy> I've recently read some of the blog comments about IRC being on the decline
<havenwood> GaryOak_: Crystal's compiler was written in Ruby before it was bootstrapped to Crystal.
<shevy> one argument was interesting; it said that because warez are no longer as important these days
<ytti> i was responding for question in another channel on this channel, because i'm bliind
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<shevy> and I even remember having downloaded .mp3 files... in the pre-napster days back then, I think, via directl DCC chats through mIRC \o/
<Daneel> hi there
jeromelanteri has joined #ruby
<havenwood> Daneel: hi
<shevy> ytti tell the guys to join here and learn ruby
<Daneel> i am absolutly beginer in ruby
<shevy> ytti what language is it anyway?
<havenwood> Daneel: Welcome!
<ytti> shevy, crystal :)
<shevy> ah
<shevy> that's way too close
<shevy> go use some alien language
<shevy> like python
<shevy> or php
<Daneel> it return a list of words separated by a space
<ytti> elixir and rust are my top picks right now :)
<ytti> for something new
michaeldeol has joined #ruby
<Daneel> i would like to change the space by a comma
c0m0 has quit [Ping timeout: 240 seconds]
snockerton has quit [Quit: Leaving.]
<Daneel> or better return an array in ruby point of view
snockerton has joined #ruby
allcentury has joined #ruby
krisquigley has quit [Ping timeout: 276 seconds]
n008f4g_ has joined #ruby
<Daneel> i don't know how to do this
<havenwood> Daneel: Have you ever used String#split before?
<Daneel> some one can give me some method ?
moeabdol has joined #ruby
<ytti> freenode is only irc network that i know of which is growing
<Daneel> havenwood: no
<GaryOak_> ytti: I've been trying out rust for a while
<havenwood> >> "some one can give me some method ?".split
<ruboto> havenwood # => ["some", "one", "can", "give", "me", "some", "method", "?"] (https://eval.in/316030)
<havenwood> >> "some one can give me some method ?".split.join ", "
<ruboto> havenwood # => "some, one, can, give, me, some, method, ?" (https://eval.in/316032)
<Daneel> havenwood: it looks good
<eam> havenwood just wrote a shatner-ifier
<havenwood> eam: hehe
Morkel has quit [Quit: Morkel]
rshetty has joined #ruby
<Daneel> havenwood: so in my path i have to use Facter::Core::Execution.execute("blable").split ?
spider-mario has quit [Remote host closed the connection]
Filete has joined #ruby
allcentury has quit [Ping timeout: 256 seconds]
<havenwood> Daneel: If `Facter::Core::Execution.execute("blable")` returns the String you want to split, yup.
evanjs has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 255 seconds]
mistermocha has quit []
<Daneel> havenwood: thank you
<havenwood> Daneel: you're welcome
momomomomo has quit [Quit: momomomomo]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
Ziioynx has joined #ruby
<shevy> havenwood is training the new generation
The_Phoenix has joined #ruby
<shevy> and then his kids
The_Phoenix has quit [Max SendQ exceeded]
Sirupsen has joined #ruby
The_Phoenix has joined #ruby
milesmatthias has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
nszceta has quit [Ping timeout: 250 seconds]
Hirzu has quit [Remote host closed the connection]
The_Phoenix has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
shoutsid has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
<Technodrome> the mechanize library is kinda weird
<Technodrome> some methods it returns instances of mechanize, and sometimes it just straight out returns nokogiri instances
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
<shevy> yeah
The_Phoenix has joined #ruby
last_staff has joined #ruby
<shevy> things changed when they moved from hpricot to nokogiri
failshell has joined #ruby
<shevy> I so fondly remember the good old hpricot days... and _why :(
krisquigley has joined #ruby
mikecmpbll has joined #ruby
fuzzyhorns1 has left #ruby [#ruby]
mistermocha has joined #ruby
SouL_|__ has joined #ruby
lukec has joined #ruby
<platzhirsch> .
<dudedudeman> i missed you guys over the weekend :(
<shevy> did you get drunk
<dudedudeman> me? no, that was thursday at lunchy time
<shevy> ok so YOU missed the weekend!
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<dudedudeman> meh, i was working lol
<shevy> damn, on weekends???
<dudedudeman> yes... :/
rkazak has joined #ruby
<dudedudeman> i work 2, or really, 3 jobs
thumpba has joined #ruby
<kaspergrubbe> That is not recommended
<shevy> brave man
dcarper has joined #ruby
RegulationD has joined #ruby
<dudedudeman> wont be the case all the time, definitely just a season
thumpba has quit [Remote host closed the connection]
happyface has quit [Quit: Connection closed for inactivity]
<dudedudeman> once i get a full-time job in development i'll phase one of them out
giuseppesolinas has joined #ruby
SouL_|___ has joined #ruby
<dudedudeman> then use the second job to finish paying off some debt, and then be home free
<dudedudeman> i'm 27. i got a few more years of youth left in me i think
jamto11 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
SouL_|_ has quit [Ping timeout: 256 seconds]
scripore has joined #ruby
SouL_|__ has quit [Ping timeout: 245 seconds]
yh has quit [Ping timeout: 250 seconds]
rkazak has quit [Ping timeout: 256 seconds]
<shevy> lucky you
<shevy> once you are past 30
<shevy> remember
<shevy> it's going towards 40
fryguy91 has joined #ruby
<dudedudeman> diapers and fiber
<shevy> haha
Hijiri has joined #ruby
<Technodrome> shevy: if i do search and you use an xpath string to a link or a set of links , you get an array of instances of Mechanize::Page::Link
cpt_yossarian has joined #ruby
wallerdev has joined #ruby
<Technodrome> if you do a page.at and you give it the CSS class of the link , you get the link returned as a nokogiri instance
jamto11 has quit [Ping timeout: 244 seconds]
<Technodrome> then you have to use the Link.new to make your own
psy has joined #ruby
startupality has joined #ruby
towski_ has joined #ruby
fryguy9 has quit [Ping timeout: 244 seconds]
thumpba has joined #ruby
woozly has quit []
startupality has quit [Client Quit]
thumpba_ has joined #ruby
Igorshp has quit [Remote host closed the connection]
revoohc has quit [Quit: revoohc]
jenrzzz has joined #ruby
<shevy> I get a headache from such APIs
_djbkd has joined #ruby
charliesome has joined #ruby
niKeITA has quit [Quit: ZZZzzz…]
niKeITA has joined #ruby
edwinvdgraaf has joined #ruby
balazs_ has quit [Ping timeout: 256 seconds]
bim has joined #ruby
<wasamasa> TIL that rbenv contains a single C file
<wasamasa> "Speed up `realpath()` with dynamically loaded C extension"
<jhass> shevy: my main editor is sublime, I use vim for quick edits
<wasamasa> argh
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bim is now known as Guest22781
ki0 has quit [Ping timeout: 250 seconds]
thumpba has quit [Ping timeout: 265 seconds]
<dudedudeman> no, it's ARGV
jenrzzz has quit [Ping timeout: 240 seconds]
anarang has quit [Quit: Leaving]
scripore has quit [Quit: This computer has gone to sleep]
juanpaucar has joined #ruby
scripore has joined #ruby
balazs_ has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
<dudedudeman> :P ?
zorak8 has joined #ruby
allcentury has joined #ruby
Technodrome has quit [Quit: Technodrome]
zzing has quit [Quit: Textual IRC Client: www.textualapp.com]
<cpt_yossarian> i see what you did there
Rarikon has quit [Quit: Leaving]
juanpaucar has quit [Ping timeout: 276 seconds]
niKeITA has quit [Quit: ZZZzzz…]
Xoro has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
<billy_ran_away> Can anyone help me think of a good exercise for consuming or generating an array of hashes?
ki0 has joined #ruby
zorak8 has quit [Quit: Leaving]
doodlehaus has quit [Ping timeout: 256 seconds]
dc has joined #ruby
<eam> billy_ran_away: can you give a bit more detail about your objective?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
niKeITA has joined #ruby
<billy_ran_away> eam: to demonstrate knowledge and comprehension of how to manipulate an array of hashes
dcarper has quit []
serivich has joined #ruby
edwinvdgraaf has quit [Ping timeout: 244 seconds]
ki0 has quit [Remote host closed the connection]
robustus has joined #ruby
rshetty has quit [Remote host closed the connection]
Zai00 has joined #ruby
jinie has joined #ruby
rshetty has joined #ruby
ki0 has joined #ruby
Cust0sL1men has quit [Ping timeout: 276 seconds]
krisquigley has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
sevvie has quit [Remote host closed the connection]
sevvie has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
PaulCapestany has quit [Quit: .]
jinie has quit [Remote host closed the connection]
colorados has quit [Ping timeout: 265 seconds]
<shevy> jhass ah, so vim for quickies, I see
jinie has joined #ruby
cocotton has quit [Remote host closed the connection]
Morkel has joined #ruby
<shevy> billy_ran_away why not create a hash rather than an array?
iasoon has joined #ruby
mistermo_ has joined #ruby
<eam> billy_ran_away: give someone a few pages of text from a book, ask for a per-paragraph and per-sentence word frequency count, printed in sorted order
<billy_ran_away> shevy: yea either way, just trying to create a homework exercies...
PaulCapestany has joined #ruby
<billy_ran_away> anyone know of a good api endpoint I could hit that has an array of hashes? preferably something that could be averaged or manipulated in some way?
momomomomo has joined #ruby
fabrice31 has joined #ruby
<billy_ran_away> thought about a bitcoin exchange or something but there wasn't anything that looked super great...
fabrice31 has quit [Remote host closed the connection]
<eam> billy_ran_away: just upload a static json file?
SouL_|_ has joined #ruby
rshetty has quit [Ping timeout: 264 seconds]
<billy_ran_away> today's class is loops, arrays, and hashes, just need some homework where they loop though an array of hashes, but i can't think of any pre-text for why
ki0 has quit [Ping timeout: 255 seconds]
<apeiros> billy_ran_away: parse a csv file
colorados has joined #ruby
<apeiros> returning an array with {header => value, …} hashes
<billy_ran_away> apeiros: got any interesting data to use for it?
<eam> call it a ledger for a business with product: sale
SouL_|___ has quit [Ping timeout: 252 seconds]
<eam> just make up some data
noobQ has quit [Quit: WeeChat 0.4.2]
<apeiros> billy_ran_away: I'm sure there's plenty of gov data
cocotton has joined #ruby
dksla has joined #ruby
mistermo_ has quit [Ping timeout: 246 seconds]
mistermocha has quit [Ping timeout: 272 seconds]
ki0 has joined #ruby
<billy_ran_away> yea the only problem is i have to make a rule that you can't use a csv reader, or it can basically be done for them...
<shevy> he is stealing patient data!
<shevy> John Doe:
<shevy> age: 42
iasoon has quit [Ping timeout: 272 seconds]
<shevy> also add jack the ripper there, in the case your teacher is a psycho geek
<apeiros> billy_ran_away: sure. use trivial csv, ie unquoted fields
<apeiros> where you can just split on ,
Guest22781 has quit [Remote host closed the connection]
<eam> or just free-form text from a book
<eam> and use word counts
<ReK2GnULinuX> FYI: if anyone here is into/interested in infose+ruby https://www.reddit.com/r/ruby_infosec
ezra_ is now known as ezra
tcrypt has joined #ruby
ezra has quit [Changing host]
ezra has joined #ruby
dseitz has joined #ruby
mistermocha has joined #ruby
SouL_|__ has joined #ruby
Technodrome has joined #ruby
jonatin has joined #ruby
dksla has left #ruby [#ruby]
<dudedudeman> i love that subreddit! i don't understand half the stuff in it, but i enjoy reading and learning
serivich has quit [Ping timeout: 240 seconds]
Hounddog has quit [Remote host closed the connection]
<shevy> hmm guys, if I have a dataset such as this here: http://pastie.org/pastes/10103660/text
mrmargolis has quit []
<shevy> hmmm
<shevy> I guess this is a hash, in ruby terms?
<shevy> the values are missing right now, I have to fill them up first
kaspernj has quit [Remote host closed the connection]
<momomomomo> shevy: what is the question?
hakunin has quit []
SouL_|_ has quit [Ping timeout: 250 seconds]
codecop has quit [Remote host closed the connection]
<shevy> well
<shevy> I need to have it available in ruby
<momomomomo> have what available in ruby?
<shevy> I dunno how to best store it though
SouL_|_ has joined #ruby
<momomomomo> that file?
<shevy> that table dataset
<shevy> yeah
<momomomomo> looks like an empty matrix to me
dfinninger has quit [Remote host closed the connection]
<shevy> I need to use the values and make calculations; this is a substitution matrix for estimating protein-to-protein comparisons
<shevy> :\
seal has joined #ruby
<shevy> do you know how tedious and boring it is to fill it!
pengin has quit [Remote host closed the connection]
hakunin has joined #ruby
Timba-as has joined #ruby
SouL_|__ has quit [Ping timeout: 240 seconds]
claw has joined #ruby
momomomomo_ has joined #ruby
claw___ has quit [Ping timeout: 250 seconds]
lordkryss has joined #ruby
codecop has joined #ruby
mistermocha has quit [Remote host closed the connection]
cpt_yossarian has quit [Ping timeout: 264 seconds]
milesmatthias has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo_ is now known as momomomomo
<momomomomo> >> matrix = [[1, 2, 3 ,4], [5, 6, 7, 8]]; puts matrix[0][2]
<ruboto> momomomomo # => 3 ...check link for more (https://eval.in/316039)
<momomomomo> shevy: ^
Timba-as has quit [Client Quit]
ki0 has quit [Remote host closed the connection]
ki0 has joined #ruby
iasoon has joined #ruby
mistermocha has joined #ruby
<aawe> >> (1..8).each_slice(4).to_a
<ruboto> aawe # => [[1, 2, 3, 4], [5, 6, 7, 8]] (https://eval.in/316044)
Hijiri has quit [Ping timeout: 265 seconds]
Timba-as has joined #ruby
Vivex has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
bim has joined #ruby
evanjs has joined #ruby
bim is now known as Guest49815
lidenskap has joined #ruby
Scriptonaut has joined #ruby
<Scriptonaut> does anyone know how you can run a method and supress the output?
nszceta has joined #ruby
<Scriptonaut> like def hi; puts "HELLO"; end; hi <- does nothing
<momomomomo> Scriptonaut: How to ask good questions and get great answers: http://www.mikeash.com/getting_answers.html
pengin has joined #ruby
<Scriptonaut> what was wrong with that question?
<apeiros> Scriptonaut: reassign $stderr/$stdout
relix has joined #ruby
<momomomomo> Scriptonaut: it’d be better to know the context around what you’re doing
nszceta has quit [Client Quit]
<momomomomo> rather than give an answer like that above
<momomomomo> chances are you may not actually want to do that
vt102 has joined #ruby
<Scriptonaut> I am making an api call that produces an insane amount of output
<momomomomo> Scriptonaut: take a second, read that article
<Scriptonaut> like many thousand lines worth
<momomomomo> come back and ask
ki0_ has joined #ruby
<ninjs> is there a way to check for a character in a string? ' ' space for example
<apeiros> Scriptonaut: why would an api call produce output?
<aawe> what momomomomo is trying to say is: ask about what you want to achieve, not about your current strategy for achieving it
<apeiros> Scriptonaut: are you sure you're not talking about return values?
<momomomomo> hence, read that article Scriptonaut
Hirzu has joined #ruby
hellome has quit [Remote host closed the connection]
<Scriptonaut> apeiros: ya not return values
<apeiros> Scriptonaut: then again: why'd an api call produce output?
hellome has joined #ruby
<Scriptonaut> no clue
<Scriptonaut> databasedotcom materalize method if you're curious
<apeiros> I suggest you find out
<apeiros> I'm not. you should be.
jenrzzz has joined #ruby
charliesome has joined #ruby
<aawe> Scriptonaut: do you mean that the gem you use to talk to the API logs a lot of output?
hellome has quit [Read error: Connection reset by peer]
ki0 has quit [Ping timeout: 248 seconds]
<Scriptonaut> yes
<Scriptonaut> it logs all the request/responses
<aawe> Scriptonaut: there might be a way to configure the gem to be less verbose
hellome has joined #ruby
<Scriptonaut> ah, I'll check into that
ki0_ has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
SouL_|_ has quit [Ping timeout: 264 seconds]
ProblemChild has joined #ruby
quimrstorres has quit [Remote host closed the connection]
seal has quit [Quit: Ex-Chat]
dc has quit [Remote host closed the connection]
quimrstorres has joined #ruby
bklane has joined #ruby
rgb-one has joined #ruby
Rakko has joined #ruby
marr has quit [Ping timeout: 276 seconds]
A205B064 has joined #ruby
failshell has quit [Ping timeout: 240 seconds]
Coop has joined #ruby
SouL_|_ has joined #ruby
Coop has left #ruby [#ruby]
<Rakko> I'm trying to find *official* documentation of ERB's template syntax, but I can't seem to find it in rdoc/ri. Is it just not there?
mitchellhenke has quit [Quit: Computer has gone to sleep.]
jmhmccr has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
Hirzu has quit [Ping timeout: 250 seconds]
jottr has quit [Ping timeout: 240 seconds]
<aawe> momomomomo: that does not document the syntax
<Rakko> right
<aawe> momomomomo: again, that does not document the syntax
<momomomomo> no syntax definitions though
<momomomomo> or spec
S0da has quit [Remote host closed the connection]
hobodave has quit [Quit: Computer has gone to sleep.]
<aawe> erb has <% %> and <%= %> and <%== %> and <%# %> etc
<Rakko> ok. thanks
Timba-as has quit [Quit: Be back later ...]
quimrstorres has quit [Ping timeout: 276 seconds]
bklane has quit [Ping timeout: 256 seconds]
gr33n7007h has joined #ruby
<Rakko> oh! so ERB isn't the same as eruby
lavros has quit [Quit: leaving]
thomcom has joined #ruby
ProblemChild has left #ruby [#ruby]
bklane has joined #ruby
cocotton has quit [Remote host closed the connection]
elaptics is now known as elaptics_away
<dudedudeman> no, ERB is a templating language that allows you to embed ruby code in to HTML
Timba-as has joined #ruby
<dudedudeman> so instead of index.html, you use index.erb and the browser will render that as html with ruby passed in to it
<aawe> what
<aawe> browsers know nothing about erb
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<dudedudeman> i didn't say they did
<dudedudeman> just that the browser will render the page as html with ruby passed in to it
Lloyd is now known as lloyd
Guest49815 has quit [Remote host closed the connection]
<Rakko> yes, I know that
platzhirsch has left #ruby [#ruby]
<dudedudeman> wait
<dudedudeman> i'm looking at this now....
<dudedudeman> and, i was confused
<dudedudeman> but according to the wiki gods, erb is an "implementation of eRuby written purely in the Ruby programming language and included in the Ruby standard library"
cocotton has joined #ruby
Hijiri has joined #ruby
Hirzu has joined #ruby
soulcake has quit [Quit: Quack.]
<dorei> >> require 'erb' ; @name = joe ; ERB.new("hello, my name is <%= @name %>").result(binding)
<ruboto> dorei # => undefined local variable or method `joe' for main:Object (NameError) ...check link for more (https://eval.in/316058)
<dorei> >> require 'erb' ; @name = 'joe' ; ERB.new("hello, my name is <%= @name %>").result(binding)
<ruboto> dorei # => "hello, my name is joe" (https://eval.in/316059)
bklane_ has joined #ruby
soulcake has joined #ruby
<audy> ooh a robot
last_staff has quit [Ping timeout: 272 seconds]
bklane has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
momomomomo_ has joined #ruby
momomomomo has quit [Ping timeout: 264 seconds]
momomomomo_ is now known as momomomomo
StephenOTT has joined #ruby
jonatin has quit [Quit: Textual IRC Client: www.textualapp.com]
vim_shimm has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nhhagen has joined #ruby
jonatin has joined #ruby
mistermocha has quit [Remote host closed the connection]
x1337807x has joined #ruby
dfinninger has joined #ruby
willharrison has joined #ruby
<shevy> nah audy dudedudeman is not a robot
<dudedudeman> i foten feel like one
<dudedudeman> often?
cjim_ has quit [Quit: (null)]
<audy> >> class Robot; end; class DudeDudeMan < Robot; end; DudeDudeMan.new.is_a? Robot
<ruboto> audy # => true (https://eval.in/316060)
<dudedudeman> dammit
* dudedudeman bee boop?
* havenwood beep bop boop
shoutsid has joined #ruby
<Technodrome> shevy: i get a headache too, i just don’t get why they are not consistent sometimes wen it make so much sense, unless there is some very good reasons
cjim_ has joined #ruby
cjim_ has quit [Client Quit]
thomcom has quit [Quit: Textual IRC Client: www.textualapp.com]
frem has joined #ruby
cjim_ has joined #ruby
bklane_ has quit [Read error: Connection reset by peer]
bklane has joined #ruby
dc has joined #ruby
dumdedum has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Quit: Lost terminal]
cocotton has quit [Remote host closed the connection]
mengu__ has joined #ruby
<weaksauce> shevy is that translation data symmetric?
cocotton has joined #ruby
banister has joined #ruby
<shevy> weaksauce hmmm not sure; I finished typing in the stuff, this is what I ended up with now:
mistermocha has joined #ruby
krnlsndrs has quit [Read error: Connection reset by peer]
mengu__ has quit [Remote host closed the connection]
<weaksauce> looks like it yeah
yh has joined #ruby
<weaksauce> but that's a hash of hashes sure.
jenrzzz has joined #ruby
<shevy> hmm
milesmatthias has joined #ruby
<shevy> would you store this as a table, and parse it; or store it directly in a hash?
<weaksauce> table in the database?
<weaksauce> probably not unless you needed to do some joins with it
krisquigley has joined #ruby
postmodern has joined #ruby
kadoppe has quit [Ping timeout: 252 seconds]
mitchellhenke has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
spyderman4g63 has joined #ruby
yxhuvud has quit [Read error: Connection reset by peer]
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
pen has quit [Remote host closed the connection]
kadoppe has joined #ruby
Joufflu has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
bklane has quit [Ping timeout: 250 seconds]
evanjs has quit [Remote host closed the connection]
Megtastique has joined #ruby
bklane has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krisquigley has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
DerisiveLogic has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alienaut has quit [Ping timeout: 245 seconds]
VBlizzard is now known as _blizzy_
Rickmasta has joined #ruby
iasoon has quit [Ping timeout: 256 seconds]
zacts has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
jottr has joined #ruby
Rakko has left #ruby ["Bye"]
lolmaus has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
niKeITA has quit [Quit: ZZZzzz…]
sankaber has joined #ruby
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
momomomomo has quit [Ping timeout: 240 seconds]
pengin has quit [Remote host closed the connection]
failshell has joined #ruby
dc has quit []
jolg42 has joined #ruby
yxhuvud has joined #ruby
doodlehaus has joined #ruby
sargas has joined #ruby
dc has joined #ruby
failshell has quit [Read error: No route to host]
StephenOTT has left #ruby [#ruby]
failshell has joined #ruby
jheg has joined #ruby
ki0 has joined #ruby
momomomomo has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
sigurding has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
sts has left #ruby [#ruby]
jenrzzz has joined #ruby
pengin has joined #ruby
hollywood has quit [Quit: Leaving]
danman has joined #ruby
<shevy> nono just for ruby
<shevy> adding a database is overkill
iasoon has joined #ruby
Vols has joined #ruby
SouL_|__ has joined #ruby
spyderman4g63 has quit [Read error: Connection reset by peer]
spyderman4g63 has joined #ruby
nfk|laptop has joined #ruby
anaeem1 has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bklane has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 255 seconds]
ki0 has quit [Ping timeout: 264 seconds]
DerisiveLogic has joined #ruby
wallerdev has quit [Quit: wallerdev]
SouL_|_ has quit [Ping timeout: 245 seconds]
apoplexy has quit [Read error: Connection reset by peer]
EminenceHC has quit [Remote host closed the connection]
bklane has joined #ruby
jamto11 has joined #ruby
n008f4g_ has joined #ruby
stef204 has joined #ruby
vim_shimm has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
juanpaucar has joined #ruby
Hirzu has quit [Ping timeout: 256 seconds]
Hirzu has joined #ruby
basiclaser has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
Hirzu has quit [Remote host closed the connection]
arrnas has joined #ruby
jamto11 has quit [Ping timeout: 245 seconds]
bklane has quit [Read error: Connection reset by peer]
dfinninger has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 245 seconds]
juanpaucar has quit [Ping timeout: 250 seconds]
teddyp1cker has quit [Remote host closed the connection]
zorak8 has joined #ruby
dfinninger has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
lolmaus has joined #ruby
<wasamasa> you mean, a rdbms
<wasamasa> since strictly speaking, a fucking json dump is a database
gfawcettpq has quit [Ping timeout: 256 seconds]
marr has joined #ruby
yqt has joined #ruby
bklane has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<shevy> I don't use json
pengin has quit [Remote host closed the connection]
iamjarvo has joined #ruby
phutchins has quit [Ping timeout: 256 seconds]
<eam> shevy: why not
iamjarvo_ has joined #ruby
iamjarvo_ has quit [Max SendQ exceeded]
iamjarvo_ has joined #ruby
<rom1504> because he likes yaml ofc
<shevy> eam dunno, I always used yaml sort of and kind of got used to it
vickleton has quit [Read error: Connection reset by peer]
<shevy> I remember a long time ago, fowl/fowlmouth having used .ini format files
<shevy> [header]
<shevy> bla
<GaryOak_> Too many tabs in Yaml
<shevy> [another_header]
<ytti> i use json for m2m
<shevy> he ended up with #nim as former ruby hacker :)
<ytti> yaml for humans
vickleton has joined #ruby
<ytti> TOML is ini-style, rust uses it for their package manager
<rom1504> when you have a simple standard like json, what do you do ? invent a new language with the same purpose but with a far more complicated syntax of course
mengu__ has joined #ruby
vickleton has quit [Read error: Connection reset by peer]
Hijiri has quit [Ping timeout: 264 seconds]
vickleton has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
dc has quit []
cpt_yossarian has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<ytti> there are plenty of serialization formats predating json
jottr has joined #ruby
<ytti> i think fragmentation encourages innovation and progress
<eam> yaml is a mess, toml is ugly
<eam> json is unfortuante too but at least it's not quite so large
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bim has joined #ruby
<havenwood> Shell not Ruby... but you can install Ruby with it so here's a script to automate pkgsrc package manager installation on OS X: https://gist.github.com/havenwood/d25276ec38fc6ac03685
<eam> thinking about serialization formats just makes me grumpy
<ytti> yet there is IJSON variant, as JSON is too ambiguous :)
bim is now known as Guest45720
<GaryOak_> there's stuff like MessagePack
<eam> json's biggest problem is no binary strings
<ytti> rfc749, very recent
<ytti> uhh
<ytti> rfc7493
Kricir has quit [Remote host closed the connection]
lidenskap has quit [Remote host closed the connection]
<eam> looks like ijson has the same problem
<ytti> yes, it's not more than json
<ytti> it's less than json
<rom1504> you can store stuff in a binary format if you like
<ytti> it's simplified and ambiguities removed
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ytti> all ijson is also json
<ytti> but not all json are ijson
<rom1504> that means ijson is more complicated to check/parse
<ytti> it means you can make more assumptions about it
Vols has quit [Ping timeout: 245 seconds]
<ytti> and need less complexity
<rom1504> why json works : it's implemented in most languages, and if not, you can make a parser in a few lines
<ytti> i think you are thoroughly misunderstanding ijson
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rom1504> I don't know ijson ;)
<GaryOak_> and it mimics the style of the webs dynamic languages syntax for hashes and arrays
<rom1504> "but not all json are ijson" => ijson is more complicated to check
sohrab has joined #ruby
<havenwood> Ruby object notation is nice.
pwattste has quit [Remote host closed the connection]
<eam> rom1504: that's correct, it forces an early failure rather than produce ambiguity
<eam> usually that's a good thing
<ytti> i would personally find it much easier to parse IJSON than JSON
relix has joined #ruby
<ytti> because it's more strict, which means i can make more assumptions and write less code
<eam> I don't see any changes which would make parsing simplified, the constraints seem to relate to data and datastructure limits
ki0 has joined #ruby
<ytti> i can rely it's utf8
pengin has joined #ruby
<eam> ytti: json already is utf8
<ytti> it's not mandatory
<eam> pretty sure it is? checking
<dorei> u can always uuencode :p
<eam> oh, json is either utf8, 16 or 32
<ytti> i don't have to be prepared to handle arbitrarily large numbers
<ytti> i can just put number in fixed size integer
<ytti> and not worry about it
<havenwood> Not lispy enough. Let's use EDN.
S0da has joined #ruby
sigurding has quit [Quit: sigurding]
oo_ has joined #ruby
evanjs has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
zoo-zed has joined #ruby
Guest45720 has quit [Remote host closed the connection]
SouL_|_ has joined #ruby
zorak8 has joined #ruby
adamjleonard has joined #ruby
relix has quit [Read error: Connection reset by peer]
relix has joined #ruby
kirun has quit [Quit: Client exiting]
SouL_|__ has quit [Ping timeout: 265 seconds]
mwlang has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
iamjarvo has joined #ruby
momomomomo has quit [Read error: Connection reset by peer]
moeabdol has quit [Ping timeout: 246 seconds]
<mwlang> I want to break up a large monolithic ruby file into several files organized by class names of the objects in the file. I am wondering what the best way to do the requires. I’ll likely organize the model classes similar to Rails’ models into two or three sub-folders, but I wasn’t sure if I could somehow do an auto-load approach without having to name everything explicitly with a require.
<mwlang> anyway, what are some suggested gems out there that I can steal the playbook from that do project file organization and autoload extremely well?
<dorei> mwlang: something like this: Dir[File.join(File.dirname(__FILE__), '..', 'models', '*.rb')].each { |f| puts f;require f } might help
<pipework> mwlang: I make files require their dependencies.
hanmac has quit [Ping timeout: 265 seconds]
<havenwood> mwlang: Have the file structure mirror the namespace.
<mwlang> dorei: I’ve done that before. Just seems a little hacky.
allcentury has quit [Ping timeout: 250 seconds]
ki0 has quit [Remote host closed the connection]
<mwlang> havenwood: that’s what I’m after…mirroring the namespace with sub-folders..but I wasn’t sure the best way to load all the parts up.
bklane has quit [Ping timeout: 256 seconds]
<mwlang> one of my concerns is I do have a Base class that a bunch of models inherit from, so that base.rb definitely has to get loaded before the first model that uses it.
momomomomo has joined #ruby
<havenwood> mwlang: Like pipework said, have the files require their deps.
lolmaus has quit [Quit: Konversation terminated!]
bruno- has joined #ruby
wldcordeiro has quit [Ping timeout: 250 seconds]
bklane has joined #ruby
Ellis has joined #ruby
<Ellis> how do i return the value of an instance variable after creating an instance of a class?
<havenwood> Ellis: As the instance of the class by way of a method it exposes.
<havenwood> Ellis: s/As/Ask
<havenwood> Ellis: So like an attr_reader is the simplest.
milesmatthias has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 250 seconds]
<Ellis> woo! thanks havenwood, i appreciate it
aswen has joined #ruby
bklane has quit [Read error: Connection reset by peer]
aswen has quit [Client Quit]
<catcher> What's used more commonly, procs or lambdas?
fryguy9 has joined #ruby
<pipework> yes
<GaryOak_> perfect
hanmac has joined #ruby
<GaryOak_> I've seen more proc examples
<catcher> I see what their differences are, but when those don't matter, what's used more?
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<pipework> catcher: People like the dashrocket.
<pipework> I prefer proc to dashrocket myself.
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
<catcher> I haven't seen dashrockets for blocks yet, I'm sure I will soon
fryguy91 has quit [Ping timeout: 248 seconds]
aswen has joined #ruby
_honning_ has joined #ruby
bklane has joined #ruby
allcentury has joined #ruby
lidenskap has joined #ruby
bklane has quit [Client Quit]
momomomomo_ has joined #ruby
_djbkd has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
momomomomo has quit [Ping timeout: 256 seconds]
momomomomo_ is now known as momomomomo
timonv has joined #ruby
anaeem1 has quit [Remote host closed the connection]
evanjs has quit [Remote host closed the connection]
nfk|laptop has quit [Ping timeout: 255 seconds]
milesmatthias has joined #ruby
ki0 has joined #ruby
zzing has joined #ruby
NinjaOps has quit [Quit: Konversation terminated!]
jolg42 has quit [Quit: ZZZzzz…]
spider-mario has joined #ruby
Vols has joined #ruby
pengin has quit [Remote host closed the connection]
vim_shimm has joined #ruby
bootstrappm has joined #ruby
allcentury has quit [Ping timeout: 240 seconds]
Morkel has quit [Quit: Morkel]
towler has joined #ruby
Pumukel has joined #ruby
ki0 has quit [Client Quit]
edwinvdgraaf has quit [Remote host closed the connection]
mwlang has quit [Quit: mwlang]
edwinvdgraaf has joined #ruby
jamto11 has joined #ruby
aswen has quit [Quit: WeeChat 1.0.1]
sargas has quit [Remote host closed the connection]
sargas has joined #ruby
sargas has quit [Max SendQ exceeded]
Hijiri has joined #ruby
sargas has joined #ruby
hdkwkd has joined #ruby
cefkamcau has joined #ruby
<ninjs> I really want to like python more (it runs on more things, it has a bunch more libraries for standard computing stuff) but I just can't. I always keep deferring to Ruby. Ruby is too good
<GaryOak_> ninjs: I feel the same way
JDiPierro has joined #ruby
<ninjs> GaryOak_: It's just so much more natural to me. Writing ruby I don't even have to think about it. Python on the other hand...
jolg42 has joined #ruby
jamto11 has quit [Ping timeout: 276 seconds]
zzing has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
zzing has joined #ruby
techietrash has joined #ruby
<bootstrappm> it makes me sad that the python DevOps tools are considered better than the Ruby ones
<bootstrappm> I wanna be able to use Ruby in my whole stack
yh has quit [Ping timeout: 272 seconds]
zachrab has joined #ruby
nszceta has joined #ruby
<ninjs> I think python scripts seem to work with less errors on a PC, not sure why. The python way is just more PC friendly. but in a linux/unix environment, Ruby has been king for all of my devops stuff
edwinvdgraaf has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjs2600 has joined #ruby
jheg has quit [Ping timeout: 245 seconds]
eshiffob has quit [Ping timeout: 264 seconds]
pengin has joined #ruby
failshell has joined #ruby
<hdkwkd> I think the differences between python and ruby are not very deep
edwinvdgraaf has joined #ruby
jheg has joined #ruby
<ytti> if pc means windows, ruby definitely isn't too strong there
zzing has quit [Read error: Connection reset by peer]
<Hijiri> are you including PC linux/unix with PC?
<Hijiri> nevermind, ytti beat me
scripore has quit [Quit: This computer has gone to sleep]
konsolebox has joined #ruby
<ninjs> yeah that's what I meant by PC. Windows
<ytti> i've had my first windows desktop for 6months or so now
<ytti> it makes me misarable
<ytti> i don't say windows is worse, it's just not what i'm used to
<ninjs> for instance, my python script that renames folders works flawlessly on mac and windows. My ruby script works great on mac, not on windows. Working on the same directory
<ytti> but i've let myself understand windows is big deal for game devels
<Hijiri> if you adopt stallmanism you will have no trouble saying that windows is worse
<ninjs> ytti: it is, unless you consider the fact that 'gaming' branches to a huge mobile gaming market now, which is almost solely done in xcode on macs
yh has joined #ruby
<ninjs> except for android stuff I guess... but the real money is in iOS anyways
relix has joined #ruby
<Hijiri> year of the linux desktop!
JDiPierro has quit [Read error: Connection reset by peer]
hectortrope has joined #ruby
<ninjs> That's what I've done at home. Built a super beefy desktop that runs windows for games and linux for everything else
bim has joined #ruby
nfk|laptop has joined #ruby
JDiPierro has joined #ruby
bim is now known as Guest76159
Zai00 has quit [Quit: Zai00]
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moeabdol has joined #ruby
<GaryOak_> you can almost 'almost' use linux for your gaming machine now
_djbkd has joined #ruby
<Hijiri> I don't play much that requires windows
<GaryOak_> I don't understand the whole Microsoft stack of products
<Hijiri> there are some japanese lewdgames that try to play video though, and that always crashes wine
vt102 has quit [Remote host closed the connection]
Senjai has joined #ruby
Senjai has quit [Changing host]
momomomomo_ has joined #ruby
krisquigley has joined #ruby
<diegoviola> Hijiri: file a bug report?
<diegoviola> or try wine-staging
gigetoo has quit [Ping timeout: 276 seconds]
momomomomo has quit [Ping timeout: 265 seconds]
momomomomo_ is now known as momomomomo
allcentury has joined #ruby
hdkwkd has left #ruby [#ruby]
<Hijiri> maybe I will
<Hijiri> not right now though, I'm in a public place
bruno- has joined #ruby
<Hijiri> whoa
<Hijiri> bleeding edge
mtakkman has joined #ruby
<Hijiri> pulseaudio driver means wine won't steal my audio if I use PA for stuff?
<diegoviola> pulseaudio driver means wine will use be able to use pulseaudio
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<diegoviola> so you don't have to redirect alsa to pulse
<Hijiri> thanks diegoviola
<diegoviola> it's beyond me why wine devs don't add pulse support to wine yet
<diegoviola> I refuse to use wine without pulse support
krisquigley has quit [Ping timeout: 250 seconds]
JDiPierro has quit [Ping timeout: 256 seconds]
<jhass> it's been ages since I needed wine
codecop has quit [Remote host closed the connection]
<diegoviola> I don't game anymore so I don't need wine
yh has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 250 seconds]
kostitas has joined #ruby
yh has joined #ruby
<bricker> what
* bricker reads history
<bricker> oh
RegulationD has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
kostitas has left #ruby [#ruby]
<GaryOak_> games that have in-app purchases are better off providing as many platforms as possible, which also encourages new tech to be built for those platforms
postmodern has quit [Quit: Leaving]
anthony_ has joined #ruby
sfate has joined #ruby
sfate has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
<catcher> Is linux generally the preferred OS for ruby dev?
duderonomy has joined #ruby
<GaryOak_> I think unix in general
<GaryOak_> there aren't that many differences between linux and mac
<havenwood> catcher: A BSD or GNU/Linux of some flavor, generally.
<catcher> havenwood, nice. More common than mac you think?
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> catcher: Lots of OS X and some FreeBSD, OpenBSD and NetBSD too. I was counting OS X as a BSD since it is.
<catcher> fair enough
zachrab has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
JDiPierro has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
zachrab has joined #ruby
lolmaus has joined #ruby
shredding has quit [Ping timeout: 244 seconds]
teddyp1cker has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
zzing has joined #ruby
mitchellhenke has joined #ruby
zachrab has quit [Ping timeout: 240 seconds]
failshell has quit [Ping timeout: 245 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
qhartman has quit [Quit: Ex-Chat]
x1337807x has quit [Ping timeout: 265 seconds]
failshell has joined #ruby
evanjs has joined #ruby
roolo has joined #ruby
decoponio has quit [Quit: Leaving...]
zzing has quit [Ping timeout: 256 seconds]
zzing has joined #ruby
prphp has joined #ruby
Ellis has quit [Quit: Ellis]
parduse has quit [Ping timeout: 248 seconds]
zzing has quit [Read error: Connection reset by peer]
zzing has joined #ruby
phutchins has joined #ruby
RegulationD has joined #ruby
yfeldblum has joined #ruby
parduse has joined #ruby
juanpaucar has joined #ruby
giuseppesolinas has quit [Quit: Leaving]
prphp has quit [Client Quit]
timonv has quit [Ping timeout: 256 seconds]
Hirzu has joined #ruby
danman has quit [Quit: danman]
momomomomo has quit [Ping timeout: 255 seconds]
duncannz has joined #ruby
momomomomo has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
<Naypalm> so right I have this 45 year old filthy rails app that won't run and 1/50000 of the gems in its Gemfile have been updated in the past century
<Naypalm> what's the best course of action of redeploying this
NivenHuH has quit [Quit: Textual IRC Client: www.textualapp.com]
<Naypalm> from Heroku and their magical woo-wee cloud solution?
Rapier- has quit [Quit: (null)]
zzing has quit [Read error: Connection reset by peer]
spyderman4g63 has quit [Remote host closed the connection]
<Naypalm> haven't been updated*
juanpaucar has quit [Ping timeout: 245 seconds]
zzing has joined #ruby
spyderman4g63 has joined #ruby
iamninja_ has joined #ruby
<Naypalm> at the moment I'm thinking a nuclear bomb would do the trick
avleen has joined #ruby
Powf has joined #ruby
scripore has joined #ruby
<Powf> Hi, is there a way to force print or puts in an erb file please ? <%= is not working well for me because I am doing <%= Object.print %> which is using puts
hiyosi has joined #ruby
<jhass> Naypalm: we may be able to help with concrete issues (and #RubyOnRails even more so), but you won't get anything useful in the vague
jheg has quit [Quit: jheg]
<avleen> hey folks, i've got a real weird one here: https://gist.github.com/avleen/51d15d8d327787d0e7ab array.each -> if -> if I'm updating a variable (@mac_address), if i do it inside an if, which is inside another if, which is inside an Array.each, the variable is never updated in the global scope.
Hirzu has quit [Ping timeout: 255 seconds]
<jhass> Powf: <%= foo %> or <%= foo.inspect %>, depending on what you want
<avleen> if i update it one level up inside the first if, then it is updated
<Naypalm> yeah I know, it's just *sigh*
<avleen> anyone seen that before?
<Naypalm> let me see
JDiPierro has quit [Ping timeout: 252 seconds]
JDiPierro has joined #ruby
yh has quit [Ping timeout: 265 seconds]
<jhass> Naypalm: you get the output of the puts though?
chipotle has joined #ruby
<jhass> er avleen ^, sorry
vim_shimm has quit [Ping timeout: 256 seconds]
<avleen> jhass: totally
SouL_|__ has joined #ruby
<Naypalm> the "puts"?
<avleen> jhass: the puts works fine, and can correctly print the value
edwinvdgraaf has joined #ruby
loechel has joined #ruby
loechel has quit [Client Quit]
<Naypalm> I think this is more RoR based so I might migrate my questions to there
<jhass> avleen: is that intended to be a find last algorithm, not find any or find first?
<Powf> jhass: No, I already have a specific function that prints what I want (MyObject.print does exactly my need). I need to call it in the erb file but the erb file overwrite my behavior
gusrub has joined #ruby
<avleen> jhass: it'll only ever find one or none, but yeah find last. i've tested it a few other ways to make sure @mac_address isn't getting set back to nil later or something, and that's definitely not happening
JDiPierro has quit [Remote host closed the connection]
<jhass> Powf: you can't redirect stdout to an erb file in a sane manner, rewrite your method to return the string
jamto11 has joined #ruby
Pumukel has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
<jhass> avleen: try using .find then
yh has joined #ruby
<jhass> @mac_address eths.find {|iface| ...
SouL_|_ has quit [Ping timeout: 246 seconds]
<avleen> jhass: lemme give that a shot
<jhass> er, @mac_address = eths.find {|iface|
<avleen> good call
<Shidash_> Hi- I'm getting a weird warning I've never seen before when I try to build a gem- "WARNING: lib/extract_set_terms.rb is not world-readable"
<Shidash_> What does world-readable here mean? I can't seem to find any explanation of this anywhere
<Shidash_> and the permissions look the same as on the files for any other gems I've made
cjim_ has quit [Quit: (null)]
<jhass> Shidash_: o+r
adamjleonard has quit [Quit: Leaving...]
Juanchito has quit [Quit: Connection closed for inactivity]
shevy has quit [Ping timeout: 252 seconds]
platzhirsch has joined #ruby
<platzhirsch> How's everyone
<avleen> jhass: looks like .find isn't in 2.0, so that'll break when i upgrade ruby. any idea for a method that is more future proof? :)
<jhass> what? what kind of object is eths?
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> it's there since ever afaik
<avleen> oh, the 2.0 docs for Array didn't show it
<gr33n7007h> 20>> [].methods.grep /find/
<ruboto> gr33n7007h # => [:find_index, :find, :find_all] (https://eval.in/316121)
<avleen> OH, it's in the Enumerable docs i bet
<avleen> n/m!
jamto11 has quit [Ping timeout: 240 seconds]
* avleen mad
momomomomo has quit [Ping timeout: 264 seconds]
MatthewsFace has quit [Remote host closed the connection]
<Shidash_> jhass: hm, I'm still getting that same warning after running chmod o+r on all the files and directories involved
<jhass> Shidash_: you're on newest RubyGems?
<Shidash_> jhass: yeah
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
_honning_ has quit [Ping timeout: 252 seconds]
<Shidash_> oh hm maybe not. Now it's telling me a different latest version is the latest version. Will try updating again
allcentury has quit [Ping timeout: 246 seconds]
<jhass> so a+r actually
thomcom has joined #ruby
adamjleonard has joined #ruby
<Shidash_> jhass: yup, it's a+r
<Shidash_> thanks
<jhass> let's see what ruby thinks it is then, ruby -e "p File.stat('lib/extract_set_terms.rb').mode"
MatthewsFace has joined #ruby
usandfriends has joined #ruby
bobbrez has quit [Ping timeout: 244 seconds]
<usandfriends> Does ThreadGroup automatically remove Thread's that have been killed/ended?
zzing has quit [Read error: Connection reset by peer]
<usandfriends> /joined?
mengu__ has quit [Remote host closed the connection]
<Shidash_> jhass: 33188
zorak8 has quit [Quit: Leaving]
lxsameer has joined #ruby
Guest76159 has quit [Remote host closed the connection]
cjim_ has joined #ruby
bim has joined #ruby
<jhass> weird, it should run into that condition then
x1337807x has joined #ruby
chinmay_dd has joined #ruby
yh has quit [Ping timeout: 245 seconds]
<jhass> can you check that file in your local install?
<jhass> (the one I linked)
bim is now known as Guest97738
Tuxero has quit [Read error: Connection reset by peer]
Guest97738 has quit [Remote host closed the connection]
musashi1 has joined #ruby
DrCode has quit [Ping timeout: 244 seconds]
<Shidash_> jhass: sure, will check. Also I can't actually use the gem- I get this error when I try to use it (but any other gem works) https://gist.github.com/Shidash/97a36f465c77b4f2b958
<jhass> Shidash_: not enough information
<jhass> share the .gem or something
Timba-as_ has joined #ruby
duggiefresh has quit []
<jhass> your file is named term_extractor.rb, not termextractor.rb
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
turtil has joined #ruby
<Shidash_> ah, that explains it. I just renamed some of the files
<Shidash_> thanks
roolo_ has joined #ruby
<havenwood> usandfriends: do you know how to check in irb/pry?
bruno- has joined #ruby
yh has joined #ruby
chinmay_dd has quit [Quit: Leaving]
Timba-as has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
Tuxero has joined #ruby
aevitas has joined #ruby
DrCode has joined #ruby
roolo has quit [Ping timeout: 264 seconds]
moeabdol has quit [Read error: Connection reset by peer]
chipotle has quit [Quit: cheerio]
aevitas has quit [Client Quit]
kyrylo has quit [Ping timeout: 264 seconds]
nhhagen has quit []
Igorshp has joined #ruby
moeabdol has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<usandfriends> havenwood: Yes. Just tested, looks like ThreadGroup automatically removes threads when they end/die.
<usandfriends> Thanks.
blackmesa has joined #ruby
<havenwood> usandfriends: yup! and automatically adds threads they spawn too.
yh has quit [Ping timeout: 264 seconds]
_djbkd has quit [Read error: Connection reset by peer]
cocotton has quit [Remote host closed the connection]
jolg42 has quit [Quit: ZZZzzz…]
<dudedudeman> can i cross post something here from a question i have over in #sinatra?
<havenwood> >> group = ThreadGroup.new; group.add a = Thread.new { Thread.new { Thread.stop } && Thread.stop }; sleep 0.1; group.list
<ruboto> havenwood # => (https://eval.in/316125)
edwinvdgraaf has joined #ruby
<havenwood> dudedudeman: yeah, just say so in both channels if you crosspost, which you already did here
_djbkd has joined #ruby
duncannz has quit [Remote host closed the connection]
aevitas has joined #ruby
<dudedudeman> cool
yh has joined #ruby
segv is now known as batm
aevitas has quit [Client Quit]
senayar has joined #ruby
senayar has joined #ruby
aevitas has joined #ruby
cjim_ has quit [Quit: (null)]
ndrei has quit [Ping timeout: 276 seconds]
bradleyprice has quit []
aevitas has quit [Client Quit]
<dudedudeman> i have 4 get requests that i'm trying to pass
aevitas has joined #ruby
<jhass> ?gist-usage dudedudeman
<ruboto> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
aevitas has quit [Client Quit]
<dudedudeman> the first 13 lines pass correctly
Zai00 has joined #ruby
cjim_ has joined #ruby
moted has joined #ruby
vdamewood has joined #ruby
<dudedudeman> what i'm trying to do, is pass my params back in on line 20 so i can make a thing/new page here
ndrei has joined #ruby
aevitas has joined #ruby
<dudedudeman> i currently can get /monitors/:tag/calibrations to work
aevitas has quit [Client Quit]
<dudedudeman> what i want, is a /monitors/:tag/calibrations/new page
aevitas has joined #ruby
aevitas has quit [Client Quit]
aevitas has joined #ruby
mtakkman has quit [Ping timeout: 250 seconds]
shoutsid has quit [Remote host closed the connection]
lordkryss has quit [Quit: Connection closed for inactivity]
Igorshp has quit [Remote host closed the connection]
zachrab has joined #ruby
rodfersou has quit [Quit: leaving]
cocotton has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<dudedudeman> i know i can add a ?tag=abcdef to the end of a calibrations/new route, but that doesn't help solve the issue of how to call which ever tag is stored in params[:tag]?
<dudedudeman> my console output gives me this: "GET /monitors//calibrations/new HTTP/1.1" 404 400 0.0026
<dudedudeman> so it's routing, just skipping over the :tag param that i want to pass in to it
mary5030 has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
arrnas has quit [Remote host closed the connection]
<jhass> does params["tag"] work?
<dudedudeman> it does in my first route
<dudedudeman> oh, you mean not :
<havenwood> Well, it's 4/20, so Happy Spring Equinox to all!
catcher has quit [Ping timeout: 250 seconds]
<dudedudeman> where would you recommend placing that, jhass
<dudedudeman> ?
<jhass> ?
<adaedra> ?
<dudedudeman> to try it
<jhass> well, what options do you see?
<adaedra> havenwood: it’s 20/4 é_è
<havenwood> Or if you prefer, Happy Setting Orange, this fine 37th day of Discord.
<jhass> isn't it hitlers birthday or something?
<adaedra> ó_ò
julskds has joined #ruby
zzing has joined #ruby
<dudedudeman> as i look at it(in reference to my gist), i could place it in my redirect on line 16, or i could place it after my call to calibrations/new on line 15?
DEA7TH has quit [Ping timeout: 245 seconds]
<Scriptonaut> 4/20 here involves a bunch of the ganja stores giving out free samples
<jhass> dudedudeman: huh? I'd like how you place in line 15 :P
cocotton has quit [Remote host closed the connection]
jenrzzz has joined #ruby
<jhass> *like to see
<Scriptonaut> no hitler stuff
rgb-one has quit [Ping timeout: 240 seconds]
<dudedudeman> ah, you're right. i wouldn't that wouldn't be string interpolation. sorry.. lol
<bricker> #NoHitlerStuff
<dudedudeman> what i mean, is in my .erb template, where i call a href on that calibrations/new
SouL_|__ has quit [Remote host closed the connection]
julskds has left #ruby [#ruby]
<Scriptonaut> huehue
<avleen> jhass: thanks for the tip earlier. .find worked like a charm.
pika_pika has quit [Ping timeout: 245 seconds]
<jhass> avleen: yw
avleen has left #ruby ["WeeChat 1.0.1"]
<jhass> dudedudeman: now that's a quite different question
zachrab has quit []
<jhass> dudedudeman: why would you ever call that route if all it does is redirectß
<jhass> ?
<jhass> I thought you're providing stuff to legacy clients there
evanjs has quit [Remote host closed the connection]
rgb-one has joined #ruby
<dudedudeman> i do that because you can't do string interpolation on an a href? as far as i understood
<jhass> sure you can
<GaryOak_> Does ruby's case, have the ability to fall through to the next case?
<jhass> dudedudeman: erb doesn't call _at all_ where you insert a <%=
<bricker> GaryOak_: sadly, no, ruby's implicit return also means implicit break
<jhass> er, doesn't care
<dudedudeman> oh my god.... is that what i've been sitting here missing
<bricker> GaryOak_: HOWEVER, ruby does let you specify multiple conditions for a single case block: `case String, Array `
<GaryOak_> bricker: so the best I can do is a bunch of if statements?
<jhass> dudedudeman: erb is just fancy way to build a string, it doesn't even know you're building HTML
<bricker> GaryOak_: Closest you'll get is to use the multi-condition case as I said above
adamjleonard has quit [Quit: Leaving...]
<GaryOak_> I'm building a custom sql query builder that can check if a value is set and add it to a query
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Client Quit]
Rickmasta has joined #ruby
cjim_ has quit [Quit: (null)]
<dudedudeman> jhass: if i'm using this to call my route: <a href="/calibrations/new">Add Calibration</a>, where would <%= %> fit in that/
<dudedudeman> ?
<dudedudeman> i tried putting it inbtween calibration and new, but that didn't work
Mon_Ouie has quit [Ping timeout: 276 seconds]
bluOxigen has quit [Ping timeout: 265 seconds]
<jhass> dudedudeman: <a href="/monitors/<%= tag %>/calibrations/new">Add Calibration</a>
Mon_Ouie has joined #ruby
<jhass> replace tag with whatever you get the tag from
ghr has quit [Ping timeout: 244 seconds]
failshell has quit [Remote host closed the connection]
DerisiveLogic has quit [Remote host closed the connection]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ellis has joined #ruby
anthony_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
DerisiveLogic has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
scripore has quit [Quit: This computer has gone to sleep]
adamjleonard has joined #ruby
usandfriends has left #ruby ["Client Quit"]
anthony_ has joined #ruby
<dudedudeman> jhass, i can replace it with where i'm getting the tag from, but it's still doing the same thing
failshell has joined #ruby
<adaedra> why do I feel like the same discussion is taking place in two different channels
<dudedudeman> two different people are helping me?
<jhass> sigh, he doesn't transfer help?
<dudedudeman> sorry if that's frowned upon. :/
<jhass> it's not, but you need to inform both channels of the state
gigetoo has joined #ruby
<jhass> so we don't duplicate effort
nszceta has quit [Quit: Textual IRC Client: www.textualapp.com]
zoo-zed has quit [Quit: Textual IRC Client: www.textualapp.com]
jamto11 has joined #ruby
<dudedudeman> my apologies, then
<dudedudeman> i did let both channels know i cross posted, didn't know i needed to invite individual members to only one
<jhass> I don't think that's what I said
<adaedra> well, it’s nice to let people know someone else is on the issue and helped you, so we don’t try to re-do the same thing
MatthewsFace has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
<jhass> not only that it's happening, you should inform both channels of provided suggestions and their outcome
xploshioon has joined #ruby
<adaedra> because some of messages Rennex and pangur looks like jhass after a quick read
edwinvdg_ has joined #ruby
<dudedudeman> you are correct
_djbkd has quit [Remote host closed the connection]
<bricker> I think the cross-over between #RoR and #ruby of people who can actually help is about 90%, cross-posting for help is usually pointless
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
plutonic has joined #ruby
<bricker> RoR has more traffic just because there are more questions
<adaedra> bricker: in RoR case, we usually redirect them to #RubyOnRails here.
_djbkd has joined #ruby
<adaedra> so the problem doesn’t exist.
<bricker> adaedra: that too
<adaedra> #sinatra, on the other hand...
MatthewsFace has joined #ruby
<dudedudeman> well, now i'm just frustrated that i messed up here so i'm useless at this point trying to figure out my problem
Ellis has quit [Quit: Ellis]
<adaedra> no, continue
jamto11 has quit [Ping timeout: 264 seconds]
<adaedra> just, if something progresses thanks to one channel, says so in the other one
<adaedra> like you just did
edwinvdgraaf has quit [Ping timeout: 256 seconds]
<dudedudeman> roger. i'll def remember that
Zai00 has quit [Quit: Zai00]
edwinvdg_ has quit [Client Quit]
<dudedudeman> and thank you
csmb has left #ruby ["Leaving..."]
<dudedudeman> so from what i gather, this is incorrect
<dudedudeman> redirect "/monitors/#{params[:tag]}/calibrations/new"
<dudedudeman> but, passing params["tag"] would be a better option
<adaedra> (I’ll need a moment to backlog all that)
<dudedudeman> ok
charliesome has quit [Read error: Connection reset by peer]
charliesome_ has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
failshell has quit [Remote host closed the connection]
MatthewsFace has quit [Ping timeout: 248 seconds]
<jhass> dudedudeman: no, I think you just incorrectly described your issue, we're past that aren't we? You don't need the additional routes at all
edwinvdgraaf has joined #ruby
<dudedudeman> i'd agree, i'm not wanting to add additional routes, but it seems that one of my routes is wrong?
_djbkd has quit [Read error: Connection reset by peer]
DerisiveLogic has quit [Remote host closed the connection]
<jhass> you do know that we don't see your screen?
_djbkd has joined #ruby
<dudedudeman> yes i do know that.
<dudedudeman> what else can i gist for you
krisquigley has joined #ruby
mwlang has joined #ruby
<jhass> start by properly describing your issues, if you use "X is wrong" and "X doesn't work", you're doing it wrong
<jhass> 1) assumption 2) steps you took to verify your assumption 3) actual behavior
riotjone_ has joined #ruby
<adaedra> standard format: This is my code, I want it to do this, It does this. (Replace this by concrete, reproductible samples)
fryguy9 has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
bim has joined #ruby
<mwlang> I’m working on setting up specs for my project. This project is processing about 500mb of data each time the scripts run for it, so I want to be sure the PORO’s are being released/garbage collected at the end of each section. How can I be sure the objects are getting GC’d (other than just watching memory consumption via top, etc. in the OS?
Zai00 has joined #ruby
bim is now known as Guest91497
<mwlang> for those curious, its using the Ox gem and the SaxParser to process large XML files.
<adaedra> mwlang: I don’t think GC is predictable
<adaedra> supposed to be*
<mwlang> adaedra: aren’t there techniques for peeking into the GC and or doing a manual flush and then checking things?
<adaedra> you can look into the GC object
<adaedra> >> GC
<ruboto> adaedra # => GC (https://eval.in/316130)
<jhass> you can influence it but you can't completely control it
krisquigley has quit [Ping timeout: 256 seconds]
riotjones has quit [Ping timeout: 264 seconds]
<adaedra> dudedudeman: you’re trying to generate a href from a url param?
<jhass> influence point 1) environment variables starting with GC_ 2) GC object to disable/enable it and trigger a manual run
<jhass> a manual run is just that, it won't free as much as possible
ghr has quit [Read error: Connection reset by peer]
vim_shimm has joined #ruby
<mwlang> jhass: as long as I can confirm that memory isn’t being held indefinitely, that’s all I need to check.
<jhass> well, you can also check GC.stats
ghr has joined #ruby
<jhass> >> GC.statss
<ruboto> jhass # => undefined method `statss' for GC:Module (NoMethodError) ...check link for more (https://eval.in/316131)
<jhass> >> GC.stats
juanpablo_ has joined #ruby
<ruboto> jhass # => undefined method `stats' for GC:Module (NoMethodError) ...check link for more (https://eval.in/316132)
<jhass> heh
<jhass> or whatever it was
<mwlang> basically, if I load 1,000 Products and I trigger a clean up and see that < 1,000 items are there, I’m golden.
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<dudedudeman> adaedra: possible? at this point i don't care if it's a button or a link or whatever, i just need to get to my '/new' page
<jhass> >> GC.stat
<ruboto> jhass # => {:count=>5, :heap_allocated_pages=>35, :heap_sorted_length=>36, :heap_allocatable_pages=>0, :heap_av ...check link for more (https://eval.in/316133)
Rollabunna has quit [Remote host closed the connection]
<mwlang> jhass: bingo
Rollabunna has joined #ruby
<adaedra> dudedudeman: so what’s your problem with "/monitors/#{params[:tag]}/calibrations/new" ?
<adaedra> just put some erb code that outputs that
MatthewsFace has joined #ruby
<jhass> dudedudeman: <a href="/monitors/<%= tag %>/calibrations/new">Add Calibration</a> # what's wrong with that?
<adaedra> (it’s late, my backlogging capacity is down actually, sorry)
Guest91497 has quit [Ping timeout: 250 seconds]
a5i has quit [Quit: Connection closed for inactivity]
<dudedudeman> adaedra: no worries. when i first posted my issue here, my output console is showing /monitors//calibrations/new. it's skpping over where i want to put the params entirely
FernandoBasso has joined #ruby
<dudedudeman> jhass: what's wrong with that, is me. i'm sure i'm not using that correctly
<adaedra> what do you mean, not using that correctly
<adaedra> it doesn’t work?
<adaedra> what does it displays?
<jhass> dudedudeman: since I don't want to guess how you get the tag, you need to replace it
Zai00 has quit [Quit: Zai00]
ghr has quit [Ping timeout: 240 seconds]
<dudedudeman> i'm getting it like so: @tag = DreamColorMonitor.find_by_tag(params[:tag])
<havenwood> mwlang: Nice GC changes in 2.2 as well: https://engineering.heroku.com/blogs/2015-02-04-incremental-gc
thomcom has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> if you did that, back to our base 3: what did you replace it with (your assumption), how did you verify your assumption (looking at the generated source, just clikcing on it?), what's the actual behavior
mjs2600 has quit [Quit: Connection closed for inactivity]
paulcsmith has quit [Quit: Be back later ...]
<mwlang> havenwood: thanks for that link. Good coverage of GC in general.
<dudedudeman> my apologies for not seeming to grasp this, guys
adamjleonard has quit [Quit: Leaving...]
Nuck has joined #ruby
<jhass> don't apologize, provide more info
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<dudedudeman> ok
<dudedudeman> jere
roolo_ has quit [Remote host closed the connection]
<dudedudeman> here is a gist of my routes, https://gist.github.com/anonymous/900d0df4dbb1f4481eb3
Nuck has quit [Ping timeout: 240 seconds]
<dudedudeman> and i'm attempting to call from my erb template based on what you mentioned, jhass: <a href="/monitors/<%= @tag %>/calibrations/new">Add Calibration</a>
hannahkoala has joined #ruby
<havenwood> dudedudeman: name the gist filename with a .rb extension
roolo has joined #ruby
<jhass> 1 & 2
<jhass> 3: actual output
scripore has joined #ruby
moeabdol has quit [Ping timeout: 255 seconds]
<jhass> it's not that hard
<dudedudeman> 1 & 2 what?
hannahkoala has quit [Read error: Connection reset by peer]
hannahkoala has joined #ruby
<adaedra> and I suppose you’re trying to get this displayed from the calibrations.erb file ?
<jhass> you provided your assumption, you still refuse to provide actual behavior
teddyp1cker has joined #ruby
<dudedudeman> on that gist, lines 1-12 show up correctly in my browser as i want them to
<jhass> all we know so far is that "it doesn't work"
<adaedra> ok, time to go to sleep for me, see ya all
zzing has quit [Read error: Connection reset by peer]
<dudedudeman> i guess what's frustrating here, jhass, is that i feel my code is my actual behavior. i'm trying to write out in code what i want to do
AlphaAtom has quit [Ping timeout: 255 seconds]
<jhass> I think I bail out of this, somebody else can try to get any kind of useful information out of this guy
roolo has quit [Ping timeout: 250 seconds]
dfinninger has quit [Remote host closed the connection]
<Rennex> heh, you guys
Filete has joined #ruby
juanpaucar has joined #ruby
Nuck has joined #ruby
<Rennex> looks a bit like you get yourselves frustrated a bit too... you're hung up some 1-2-3 process but not saying what exactly you want to know (even if it'd be nice to not have to ask) :P
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby
teddyp1cker has quit [Ping timeout: 264 seconds]
<dudedudeman> i'd agree to that. lol. i do realize there are rules to a chat like this, but i joined like, a week ago? i'm still working on navigating all of them.
<dudedudeman> but it's not just rules for this chat, there are rules to properly asking a question so that one is not wasting someone's time who is willing to help out
<dudedudeman> which i believe is what jhass is frustrated about
startupality has joined #ruby
noname1 has joined #ruby
juanpaucar has quit [Ping timeout: 256 seconds]
phutchins has quit [Read error: No route to host]
doodlehaus has joined #ruby
<jhass> your code is your assumption, it should do something, you observe it and it doesn't do what you assumed, which leads you to saying "it doesn't work". What you observe there is the actual behavior. You share your conclusion of the actual behavior ("it doesn't work"), but not the actual behavior (the output of your program in most cases)
DerisiveLogic has joined #ruby
<dudedudeman> i did share my output, jhass, a couple times. i says this: "GET /monitors//calibrations/new HTTP/1.1" 404 400 0.0022
<dudedudeman> unless i'm royally f*cking up what i'm thinking my output is
danzilio has joined #ruby
<dudedudeman> but when i run my code, click my links, that's what shows up. that exact 'error'
<dudedudeman> in my console
<jhass> that's actually input, in this case affected by previous output
<Rennex> ...
danzilio has quit [Max SendQ exceeded]
<jhass> your output would be the generated HTML in this case
<Rennex> dudedudeman: so, add a p(params) before that redirect "/monitors/#{params[:tag]}/calibrations/new", and see what it prints to console?
doodlehaus has quit [Remote host closed the connection]
danzilio has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
zzing has joined #ruby
<Rennex> jhass: semantics which are at best tangential to the problem
<jhass> Rennex: he only does that redirect because he can't believe that you can use erb tags inside an a's href
<dudedudeman> please don't make assumptions about me like that, jhass
zorak8 has joined #ruby
<jhass> 23:50 <dudedudeman> i do that because you can't do string interpolation on an a href? as far as i understood
gusrub has quit [Quit: Leaving]
ghr has joined #ruby
<dudedudeman> and then you told me differently, and then i realized my mistake, and moved on
Deele has quit [Ping timeout: 256 seconds]
<jhass> then why do we still bother with the redirect?
<Rennex> i like to think that the first objective is to make things work, and only second to make it good if the author has the time and enough knowledge of ruby.. :)
<dudedudeman> because i'm not quick enough to rewrite what i'm attempting to do. i know the redirect works in the first place. i have one of them working. the other is not working, that is the one i'm coming to you guys with issues about. why try to fix something that isn't broken?(yet..)
paulcsmith has joined #ruby
<jhass> share your current code (including the view), you mentioned you set @tag, none of the code you shared does so
<dudedudeman> i have your notes about what you said about erb tags inside of a href, and when i get my issue worked out, i was actually planning on going back and refactoring all of this
<dudedudeman> do you want my entire github to the project?
<jhass> why not
milesmatthias has quit [Remote host closed the connection]
<dudedudeman> ok, i'll push my latest and share
vdamewood has joined #ruby
<dudedudeman> also, Rennex, when i do p(params) i get a {} after that redirect
milesmatthias has joined #ruby
zzing has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 255 seconds]
konsolebox has quit [Ping timeout: 256 seconds]
<GaryOak_> What's a dreamcolor?
<Rennex> dudedudeman: even when you get that route with a query string, like "/calibrations/new?tag=abc123" ?
realinam has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
<dudedudeman> GaryOak_: it's a type of monitor made by HP used for color accurate display
milesmatthias has quit [Ping timeout: 264 seconds]
<dudedudeman> i'm in charge of calibrating them at work(i do not have a full-time dev job) and i'm working on building an app that will let me keep track of them online
<dudedudeman> Rennex: i did that earlier, and while it does pass in the tag to the position i want, it still gives me an error and wont display my erb file
<dudedudeman> an html error, not an input from my console, as i learned from jhass
iceden has quit [Read error: Connection reset by peer]
<dudedudeman> now, when i look at my console, it does have a has of {"tag"=>"abc123"} from the p(params)
xploshioon has quit [Quit: Leaving]
<Rennex> ok. so what's the html error? like sinatra's own debugging page?
<dudedudeman> yes.
<jhass> let's shortcut this: http://paste.mrzyx.de/pqxxjokak
MasterPiece has quit [Remote host closed the connection]
hannahkoala has quit []
jamto11 has joined #ruby
crdpink2 has joined #ruby
Lissie has joined #ruby
<dudedudeman> good lord, 12 people have looked at that
crdpink has quit [Ping timeout: 245 seconds]
Technodrome has quit [Quit: Technodrome]
<jhass> welcome to IRC, where only 10% of the active people ever speak ;)
predator117 has joined #ruby
<Rennex> looks good to me
<dudedudeman> thank you for tackling this with me, jhass. this paste, i'm assuming the red is something you want me to get rid of?
<jhass> yes, it's a diff
Technodrome has joined #ruby
<dudedudeman> please pardon my ignorance, but what is a diff
TheNet has joined #ruby
<jhass> in your repo, run git show for example
Lissie has quit [Client Quit]
<dudedudeman> ahhhh. ok
<TheNet> I accidentally deleted my global gemset, how can I get it back? (RVM)
jamto11 has quit [Ping timeout: 256 seconds]
predator217 has quit [Ping timeout: 245 seconds]
paulcsmith has quit [Quit: Be back later ...]
paulcsmith has joined #ruby
juanpablo_ has quit [Quit: (null)]
vim_shimm has quit [Ping timeout: 252 seconds]
mostlybadfly has joined #ruby
<ramfjord> yeah dudedudeman, the reason that I looked at it without commenting is that I realized there were 10 pages of backstory after looking
juanpablo_ has joined #ruby
<ramfjord> hehe
juanpablo_ has quit [Client Quit]
<ramfjord> TheNet: you're not using bundler?
<dudedudeman> oh, here on the channel? yeah... sorry. :( :(
juanpablo_ has joined #ruby
RegulationD has quit [Remote host closed the connection]
crdpink has joined #ruby
<TheNet> ramfjord: I don't even have bundler installed anymore
Billias has quit [Ping timeout: 256 seconds]
crdpink2 has quit [Ping timeout: 245 seconds]
<ramfjord> if you were using it before, than at least the versions are saved in your Gemfile.lock
kblake has joined #ruby
<ramfjord> did you delete it with rm -r, or with gem uninstall?
bricker has quit [Ping timeout: 264 seconds]
<ramfjord> and what is in your $GEM_HOME?
jobewan has quit [Quit: Leaving]
<TheNet> ramfjord: I did rvm gemset empty default
Synthead has quit [Read error: Connection reset by peer]
<TheNet> ramfjord: I didn't realize that would delete global gems too
kbarry has quit [Ping timeout: 255 seconds]
failshell has joined #ruby
QKO_ has quit [Ping timeout: 264 seconds]
<ramfjord> TheNet: try #rvm - they are extremely helpful. I would definitely tell them the exact command you used (rvm gemset empty default)
<dudedudeman> jhass: thsi is great. this makes so much more sense
<TheNet> ramfjord: alright thanks
<jhass> I know
paulcsmith has quit [Ping timeout: 265 seconds]
<dudedudeman> when i click on the add calibration link, it still throws an error on me though
zzing has joined #ruby
<dudedudeman> it does show me that it's passing in whatever tag number i've clicked on though
startupality has quit [Quit: startupality]
techietrash has quit [Quit: Bye! <(^_^<)]
doodlehaus has joined #ruby
juanpablo_ has quit [Ping timeout: 272 seconds]
lidenskap has quit [Remote host closed the connection]
<Rennex> and what is the error
doodlehaus has quit [Remote host closed the connection]
pika_pika has joined #ruby
davedev24_ has quit [Remote host closed the connection]
<dudedudeman> Request Verb GET
<dudedudeman> Request Path /monitors/123456/calibrations/new
<dudedudeman> Parameters
<dudedudeman> sorry, didn't realize that would break it up in to three lines
nfk|laptop has quit [Quit: yawn]
nfk has quit [Remote host closed the connection]
<dudedudeman> it throws a 404 and 407 http error?
aevitas has quit []
lidenskap has joined #ruby
failshell has quit [Ping timeout: 276 seconds]
<Rennex> you have a `get 'monitors/:tag/calibrations/new' do`
icebourg has quit []
_djbkd has quit [Read error: Connection reset by peer]
<Rennex> that's missing a slash from before monitors :P
<dudedudeman> ... can i swear in here?
_djbkd has joined #ruby
<Rennex> i dunno, i don't mind ;)
<dudedudeman> fuck me.
* dudedudeman is fucked
iceden has joined #ruby
bim has joined #ruby
<dudedudeman> well, fixing that brings about another error
<dudedudeman> this time i get an actual error page
bim is now known as Guest1505
Timba-as_ has quit [Quit: Be back later ...]
Billias has joined #ruby
<dudedudeman> undefined method 'get'
<dudedudeman> i'm googling that now
<Rennex> dudedudeman: you get that if you try to put a route definition inside another
<dudedudeman> a route definition inside another
<Rennex> like get "/foo" { get "/bar" ... }
<dudedudeman> oh!
<dudedudeman> i see that
snockerton has quit [Quit: Leaving.]
Guest1505 has quit [Ping timeout: 240 seconds]
<dudedudeman> inside that get request, i had @tag = DreamColorMonitor.get(params[:tag])
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Rennex> ah, yes
<dudedudeman> i didn't think about that possibly messing with my http get request
iasoon has quit [Ping timeout: 245 seconds]
<Rennex> it wouldn't, if that class actually defined a get() method
TheNet has quit [Quit: leaving]
serivich has joined #ruby
<dudedudeman> making the appropriate instance variables for erb as directed by jhass, adding in a freaking / where i didn't realize i was missing one, and then the get thing you just described... well, that made it work!
<Rennex> finally :)
<dudedudeman> :-!
failshell has joined #ruby
<dudedudeman> jhass: thank you.
<dudedudeman> you too, Rennex
doodlehaus has joined #ruby
<Rennex> no prob
<dudedudeman> i'm going to go re-think a few things and write down what i've learned
doodlehaus has quit [Remote host closed the connection]
vickleton has quit [Ping timeout: 255 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
bricker has joined #ruby
a5i has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
edwinvdgraaf has quit [Ping timeout: 252 seconds]
vdamewood has quit [Quit: Computer has gone to sleep.]
hiyosi has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
tjbiddle has joined #ruby
iasoon has joined #ruby
VBlizzard has joined #ruby
_blizzy_ has quit [Disconnected by services]
VBlizzard is now known as _blizzy_
failshell has quit []
scripore has quit [Quit: This computer has gone to sleep]
_honning_ has joined #ruby
evanjs has joined #ruby
steffes has joined #ruby
QKO has joined #ruby
Ellis has joined #ruby
zorak8 has quit [Quit: Leaving]
Ellis has quit [Client Quit]
blackmesa has quit [Ping timeout: 276 seconds]
DerisiveLogic has quit [Ping timeout: 276 seconds]
kblake has quit [Read error: Connection reset by peer]
scripore has joined #ruby
chipotle has joined #ruby
Vols has quit [Ping timeout: 245 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has quit [Max SendQ exceeded]
kblake has joined #ruby
f3ttX] has joined #ruby
chipotle has joined #ruby
dodobrain has joined #ruby
Vivex_ has joined #ruby
neohunter has joined #ruby
doodlehaus has joined #ruby
zzing has quit [Read error: Connection reset by peer]
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 245 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
doodlehaus has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
Vivex has quit [Ping timeout: 255 seconds]
Ellis has joined #ruby
doodlehaus has joined #ruby
ZeroPivot has joined #ruby
roshanavand has quit [Remote host closed the connection]
kblake_ has joined #ruby
kblake has quit [Read error: Connection reset by peer]
DerisiveLogic has joined #ruby
Vols has joined #ruby
Vivex_ has quit [Ping timeout: 272 seconds]