jhass changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.2.3; 2.1.7; 2.0.0-p647: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
jbrhbr1 has joined #ruby
kmckelvi1 has joined #ruby
<norc> Ox0dea: I dont know what you mean. Why would you expected many \xFF there?
jbrhbr has quit [Ping timeout: 272 seconds]
<Ox0dea> norc: Because that's what a bunch of 1s look like at the byte level?
trwyth has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
<Ox0dea> norc: https://repl.it/B41z/1
pandaant has joined #ruby
<Ox0dea> I don't grok why the data should change format in the transition from static array to heap-allocated.
devoldmx has quit [Ping timeout: 256 seconds]
jgt has quit [Ping timeout: 272 seconds]
<Ox0dea> The BDIGIT data, to clarify.
<norc> Ox0dea: well, guess we have to figure out the section that writes that
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea> Myep, seems this isn't nearly as straightforward as it might've been.
<Ox0dea> Fuggit, 192 bits should be enough for anybody.
<norc> The access to the array is.
toretore has quit [Ping timeout: 250 seconds]
<norc> Which is what you initially complained about. ;-)
Tempesta has joined #ruby
kmckelvi1 has quit [Ping timeout: 256 seconds]
<norc> Ox0dea: Look for rb_integer_pack in bignum.c
<norc> And look at how super ugly that thing is.
<Ox0dea> > How to reliably twiddle heap values?
InvGhost has quit [Ping timeout: 264 seconds]
<Ox0dea> That was my initial question.
<norc> Ox0dea: Reliable? Are you on an analog processor?
<norc> Or dont you trust the implementation of Fiddle? :-)
<Ox0dea> "Across machines" felt sufficiently implied.
<Ox0dea> Your confusion has been duly noted.
<norc> Ahh.
<norc> Well, Fiddle offers you the sizes and alignment sizes for most types, which makes it possible to reconstruct any macro level conditionals.
TheSpectre has joined #ruby
<norc> And it offers you an easy way to specify offsets to navigate through structs
<norc> Ox0dea: http://ruby-doc.org/stdlib-2.2.3/libdoc/fiddle/rdoc/Fiddle.html all the constants basically.
<norc> Gives you enough information to remain portable.
Wompy has joined #ruby
<norc> Ox0dea: Also, reliable has a different connotation to me ever since I got involved with PDH/SDH technology.
<norc> :-)
<norc> That is just me.
<Ox0dea> Fair.
<Ox0dea> Why the patronization a
<Ox0dea> about the constants?
DeXterbed has quit [Ping timeout: 250 seconds]
<norc> What do you mean
workmad3 has quit [Ping timeout: 240 seconds]
<Ox0dea> Well, I mean, you just linked me to Fiddle's documentation...
<norc> You make a fair point.
RegulationD has quit [Remote host closed the connection]
ornerymoose has joined #ruby
Wompy has quit [Client Quit]
<Ox0dea> I'm genuinely interested in why you did so.
shock_one has joined #ruby
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<norc> Ox0dea: I am really unsure. Sleep deprived after 3 days of being hammered with obscure TelCo technologies, being a idiot and a dick.Take a pick. :-)
shock_one has quit [Ping timeout: 256 seconds]
ss_much has joined #ruby
<Ox0dea> norc: In any case, https://eval.in/483957 seems to plainly demonstrate that something is quite amiss; `bytes` changes every run, which makes no sense if this is in fact the proper way to access `bn.as.heap`.
<Ox0dea> That code is intended to be run on your 64-bit system, mind. 'Q*' + 32-bit didn't go so well.
<norc> Ox0dea: I told you, it is a pointer. You need to deference it with #ptr
<Ox0dea> Thanks for the segfault?
snockerton has quit [Quit: Leaving.]
<norc> Wrong offset
<norc> You are missing the size
<norc> Err sry
atomical_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> Ooh, this looks promising.
<norc> Indeed
<Ox0dea> Danke.
<norc> As long as you forget about the incident before its all good
<Ox0dea> No permanently hard feelings. :P
<norc> Just for a while, I see. :P
CloCkWeRX has left #ruby [#ruby]
minimalism has quit [Remote host closed the connection]
ethe has quit [Quit: *.net *.split]
f00bar-32 has joined #ruby
stannard has quit [Remote host closed the connection]
<hxegon> I feel like I'm considering the builder pattern for the wrong case. Different distributor CSVs sort of conforming to a format, that needs to be converted to a different format. Any recommendations?
_SenpaiSilver_ has quit [Quit: Leaving]
ornerymoose has quit [Quit: ornerymoose]
<Ox0dea> hxegon: Forgive my not using fancy terminology, but it sounds like you want a pipeline. https://github.com/thbar/kiba
SenpaiSilver has joined #ruby
<hxegon> Ox0dea: only reason I'm using those terms is that they are the only ones I know :'(, just starting my OOP design journey
blackms has joined #ruby
f00bar-32 has quit [Ping timeout: 240 seconds]
<ljarvis> jhass: yeah i saw that (pry/slop) it's a bit of a shame for me but helpful for pry/people on old software
mary5030 has joined #ruby
Spami_ has quit [Quit: This computer has gone to sleep]
<Ox0dea> Unless you can convince me that's not the function I need to understand and port to Fiddle, I reckon this project has reached its terminus.
<norc> Ox0dea: That's Ruby for you. 300 lines of pure magic without any comment.
<norc> I recommend you require 'unicorn/dust' and pray really hard.
wildlander has quit [Quit: Saliendo]
<Ox0dea> It felt like we were so close too. :<
<norc> Wait!
<norc> We could still be.
<Ox0dea> You gonna do what I think you're gonna do? :)
DLSteve has joined #ruby
<norc> That depends. What are you thinking?
<Ox0dea> Fiddle::Function.
<norc> No. Better yet.
<norc> Well. Yes.
<norc> :D
<Ox0dea> Heh.
<norc> Just need to find an exported entry point.
<norc> Man I really need call graphs for this.
<Ox0dea> How to specify a *BDIGIT parameter?
<norc> VOIDP.
<norc> Pointer is pointer.
<Ox0dea> Not always.
<norc> In C always.
cdg has quit [Remote host closed the connection]
<Ox0dea> There's definitely something a
<Ox0dea> about older architectures having different pointer sizes.
Nahra``` has joined #ruby
mary5030 has quit [Remote host closed the connection]
<Ox0dea> But it's 2015.
Mon_Ouie has quit [Quit: WeeChat 1.3]
aspire has joined #ruby
<Ox0dea> I suppose the sizes thereof don't really matter to Fiddle::Function.
ttilley has quit [Quit: Linkinus - http://linkinus.com]
<norc> Ox0dea: Well okay I kinda lied. I mean yeah pointers could vary.
<norc> But those are exotic cases
Wsewolod has joined #ruby
Spami has joined #ruby
<Ox0dea> Well, BDIGIT is conditionally defined, and there's no reliable way to get at that information from Fiddle, as you earlier lamented.
felltir has quit [Remote host closed the connection]
<norc> " A pointer to void shall have the same representation and alignment requirements as a pointer to a character type" from n1256
<norc> So that is the only guarantee we have, but realistically you can assume pointers to all types to be of equal size.
<Ox0dea> Yep.
<norc> The issue will be finding an exported function suitable for dlsym
jbrhbr1 has quit [Quit: Leaving.]
<Ox0dea> Why is Bignum optimized so hard?
<norc> Ox0dea: You can load rb_integer_pack
<norc> Which should be enough actually.
reaVer has quit [Remote host closed the connection]
<norc> Also. This has got to be the first function in ruby trunk with actual documentation
jbrhbr has joined #ruby
<norc> On what it does, parameters - everything.
marr has quit [Ping timeout: 250 seconds]
<Ox0dea> norc: Well, but, the plan is to implement Bignum#[]=, and preferably without just having it be a wrapper around, say, Bignum#replace.
s00pcan has quit [Ping timeout: 250 seconds]
<Ox0dea> I'd like to figure out how to update a Bignum at the byte level.
<norc> Do you care about performance?
alamages has joined #ruby
<Ox0dea> Ish.
<Ox0dea> That's what spurred the idea, at any rate.
<norc> Otherwise I would have said just load rb_integer_pack/unpack and do it string wise in Ruby.
<norc> But yeah.
alamages has left #ruby ["Leaving"]
cwong_on_irc has quit [Quit: Leaving.]
<Ox0dea> > i noticed that Bignum like others are fixed, so thats not so easily possible ...
<Ox0dea> He was half-right. ;)
dlitvak has joined #ruby
<Ox0dea> Really, though, 6277101735386680763835789423207666416102355444464034512896 is a pretty hefty figure.
desmondhume has quit [Remote host closed the connection]
<Ox0dea> Err, make that a 5 on the end.
reaVer has joined #ruby
<norc> With a 5 on the end its not that pretty hefty anymore though.
<Ox0dea> inorite?
davedev24 has joined #ruby
<norc> What you could do - and this would be performance wise pretty fast because it just ends up longjmping without any stack unwinding - is raise an exception and tell the user to use Haskell already.
<Ox0dea> Heh.
pandaant has quit [Remote host closed the connection]
<Ox0dea> >> WrongLanguageError = Errno::EDOOFUS
<ruboto> Ox0dea # => Errno::NOERROR (https://eval.in/483965)
<Ox0dea> You tell 'im, ruboto.
charliesome has quit [Ping timeout: 272 seconds]
<norc> But really, ever since I figured out how exceptions are implemented, I stopped worrying about performance
<norc> Like you do when you do any kind of C++ development.
davedev2_ has quit [Ping timeout: 240 seconds]
dlitvak_ has joined #ruby
rdavila has joined #ruby
The_Phoenix has joined #ruby
<Ox0dea> I get that Bignum's complicated encoding is in the interest of speedier operations, but it's still a little much.
yfeldblum has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 250 seconds]
sucks has quit [Ping timeout: 256 seconds]
<Ox0dea> norc: I'd be interested in a tl;dr on that score.
yfeldblum has joined #ruby
<Ox0dea> Is longjmp() categorically the slowest function in libc?
sucks has joined #ruby
sucks has quit [Read error: Connection reset by peer]
kies has joined #ruby
The_Phoenix has quit [Ping timeout: 272 seconds]
dlitvak_ has quit [Ping timeout: 272 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
ElFerna has joined #ruby
BTRE has quit [Quit: Leaving]
kmckelvi1 has joined #ruby
somedude has quit [Quit: Page closed]
Spami has quit [Quit: This computer has gone to sleep]
lacuna has quit []
hxegon has quit [Quit: Leaving]
shanemcd has joined #ruby
ElFerna has quit [Client Quit]
<shevy> hmmm
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dlitvak has joined #ruby
BTRE has joined #ruby
s00pcan has joined #ruby
dlitvak_ has joined #ruby
ta has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shanemcd has quit [Ping timeout: 256 seconds]
axl_ has joined #ruby
RegulationD has joined #ruby
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak has quit [Ping timeout: 240 seconds]
shock_one has joined #ruby
rdavila has joined #ruby
pietr0 has quit [Quit: pietr0]
shanemcd has joined #ruby
ta has quit [Ping timeout: 256 seconds]
axl_ has quit [Ping timeout: 240 seconds]
axl_ has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
stannard has joined #ruby
casadei has joined #ruby
dlitvak_ has quit [Remote host closed the connection]
shock_one has quit [Ping timeout: 272 seconds]
atomical has joined #ruby
shanemcd has quit [Ping timeout: 256 seconds]
AndroidLoverInSF has quit [Quit: This computer has gone to sleep]
s00pcan has quit [Remote host closed the connection]
casadei has quit [Ping timeout: 256 seconds]
s00pcan has joined #ruby
kmckelvi1 has quit [Ping timeout: 272 seconds]
TheBloke- has joined #ruby
troys has joined #ruby
InvGhost has joined #ruby
mclong has joined #ruby
TheBloke has quit [Ping timeout: 260 seconds]
atomical_ has joined #ruby
_stu_ has quit [Quit: _stu_]
al2o3-cr has joined #ruby
TheBloke- is now known as TheBloke
f00bar-32 has joined #ruby
axl_ has quit [Quit: axl_]
Cantaberry has quit [Ping timeout: 260 seconds]
baweaver has joined #ruby
s00pcan has quit [Remote host closed the connection]
mclong has quit [Ping timeout: 250 seconds]
s00pcan has joined #ruby
atomical has quit [Ping timeout: 272 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
howdoico1 has joined #ruby
nocd has joined #ruby
atomical has joined #ruby
f00bar-32 has quit [Ping timeout: 272 seconds]
baweaver has quit [Ping timeout: 250 seconds]
duncannz has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
atomical_ has quit [Ping timeout: 240 seconds]
ibouvousaime has quit [Ping timeout: 256 seconds]
DeafieGamer is now known as DeafGamer
chipotle has joined #ruby
crazydiamond has joined #ruby
troys has quit [Quit: Bye]
podman has quit [Quit: Connection closed for inactivity]
favadi has joined #ruby
Aasha has joined #ruby
InvGhost has quit [Ping timeout: 264 seconds]
nanoz has joined #ruby
Wsewolod has quit [Ping timeout: 250 seconds]
davedev24 has quit []
devbug has quit [Ping timeout: 256 seconds]
sucks has joined #ruby
Tomii has joined #ruby
shanemcd has joined #ruby
dorei has quit []
kmckelvi1 has joined #ruby
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
saneax is now known as saneax_AFK
shanemcd has quit [Ping timeout: 256 seconds]
nerium has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nerium> I’m trying to implement an interface that looks like this. https://gist.github.com/oleander/aa48167bfc5268a347bc
<nerium> The problem is that config is bind to the Base class and not the inherited one. How would I fix this?
nocd has quit [Ping timeout: 272 seconds]
DLSteve has joined #ruby
<jhass> nerium: you learned why @@vars are evil :P
<nerium> jhass: Any other solution?
<jhass> let me think
bronson has joined #ruby
DLSteve has quit [Client Quit]
bronson has quit [Remote host closed the connection]
Beverage has joined #ruby
bronson has joined #ruby
kmckelvi1 has quit [Ping timeout: 250 seconds]
n_blownapart has quit []
favadi has joined #ruby
Ox0dea has quit [Read error: Connection reset by peer]
_stu_ has joined #ruby
<jhass> nerium: you should be able to do the following: def self.config(&block); if block_given?; @config = Config.new; @config.instance_exec(&block); else; @config; end; end;
<jhass> nerium: since This' singleton class will inherit the method from Base's singleton class, the instance variable will live in This' singleton class
<jhass> or That's respectively
n_blownapart has joined #ruby
Aasha has quit [Ping timeout: 250 seconds]
jbrhbr has quit [Quit: Leaving.]
JDiPierro has joined #ruby
<jhass> nerium: and then you can have the instance level def config; self.class.config; end; if you want
jbrhbr has joined #ruby
<nerium> jhass: Hmm, I just get a blank object back
<jhass> nerium: see my last comment
<jhass> def config; self.class.config
n_blownapart has quit [Remote host closed the connection]
JDiPierro has quit [Ping timeout: 240 seconds]
<nerium> jhass: aha, thanks
bronson has quit [Remote host closed the connection]
dlitvak has joined #ruby
ta has joined #ruby
dlitvak has quit [Remote host closed the connection]
shock_one has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta has quit [Ping timeout: 240 seconds]
rdavila has joined #ruby
psy has quit [Ping timeout: 240 seconds]
shock_one has quit [Ping timeout: 250 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
replay has quit []
Aasha has joined #ruby
ascarter has joined #ruby
nfk|laptop has quit [Quit: yawn]
yqt has quit [Ping timeout: 250 seconds]
Beverage has quit [Ping timeout: 250 seconds]
Tomii has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
the7ak3 has joined #ruby
<the7ak3> Hi there. Can anyone help a rails noob out with a before_action question please? :D
QORRiE has quit [Remote host closed the connection]
zeroDivisible has quit [Quit: WeeChat 1.3]
<jhass> ?rails
<ruboto> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
sucks has quit [Ping timeout: 272 seconds]
<the7ak3> i did that, it says i am still not voiced ruboto
<jhass> the7ak3: no, you're not identified with NickServ yet
<the7ak3> ah, i probably have to confirm the email adress
<the7ak3> thx guys, varified now :)
<the7ak3> verified*
sucks has joined #ruby
baweaver has joined #ruby
howdoico1 has quit [Read error: Connection reset by peer]
_stu_ has quit [Quit: _stu_]
favadi has joined #ruby
scripore has joined #ruby
baweaver has quit [Ping timeout: 256 seconds]
JDiPierro has joined #ruby
hxegon has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
safe has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
scripore has quit [Quit: Leaving]
baroquebobcat has quit [Read error: Connection reset by peer]
skcin7 has joined #ruby
dstarh has joined #ruby
daivyk has quit [Quit: ZZZzzz…]
baroquebobcat has joined #ruby
govg has joined #ruby
casadei has joined #ruby
shanemcd has joined #ruby
nanoz has quit [Ping timeout: 272 seconds]
dlitvak has joined #ruby
dlitvak has quit [Remote host closed the connection]
skweek has joined #ruby
nettoweb has joined #ruby
text1 has joined #ruby
safe has quit [Ping timeout: 240 seconds]
rgrmatt has joined #ruby
juddey has quit [Ping timeout: 272 seconds]
symm- has quit [Quit: Leaving...]
kmckelvi1 has joined #ruby
skweek has quit [Ping timeout: 256 seconds]
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shanemcd has quit [Ping timeout: 256 seconds]
juddey has joined #ruby
tildes has joined #ruby
dfinninger has joined #ruby
jbrhbr has quit [Ping timeout: 240 seconds]
kmckelvi1 has quit [Ping timeout: 250 seconds]
<al2o3-cr> little pigs have big ears
<jhass> al2o3-cr: gimme some of that alcohol too
baroquebobcat has quit [Read error: Connection reset by peer]
someonesusernmae has quit [Remote host closed the connection]
<al2o3-cr> jhass: you couldn't hack the shit i drink
baroquebobcat has joined #ruby
rgrmatt has quit [Remote host closed the connection]
<jhass> or maybe I already did and that made you so drunk you didn't even notice?
colleenm_ has quit []
<al2o3-cr> keep thinking cocker
juddey has quit [Ping timeout: 240 seconds]
BTRE has quit [Quit: Leaving]
pdoherty has quit [Ping timeout: 272 seconds]
Rickmasta has joined #ruby
vikas027 has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
<al2o3-cr> i am the lonely operator (band abreast)
<jhass> al2o3-cr: #ruby-offtopic
Rodya_ has quit [Remote host closed the connection]
_stu_ has joined #ruby
f00bar-32 has joined #ruby
casadei has quit [Remote host closed the connection]
waka has joined #ruby
stannard has quit [Remote host closed the connection]
elton has joined #ruby
shock_one has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
cwong_on_irc has joined #ruby
Wsewolod has joined #ruby
Aasha has quit [Ping timeout: 240 seconds]
f00bar-32 has quit [Ping timeout: 272 seconds]
shock_one has quit [Ping timeout: 240 seconds]
Wsewolod has quit [Ping timeout: 240 seconds]
shanemcd has joined #ruby
devbug has joined #ruby
f00bar-32 has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
Wsewolod has joined #ruby
shanemcd has quit [Ping timeout: 256 seconds]
baweaver has joined #ruby
f00bar-32 has quit [Ping timeout: 256 seconds]
kalopsian has quit [Ping timeout: 250 seconds]
atomical_ has joined #ruby
baweaver has quit [Ping timeout: 256 seconds]
atomical has quit [Ping timeout: 256 seconds]
Grey_H has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Eiam has quit [Read error: Connection reset by peer]
beast has joined #ruby
akem has quit [Remote host closed the connection]
c355E3B has quit [Quit: Connection closed for inactivity]
atomical_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zarubin has joined #ruby
bronson has joined #ruby
zarubin has quit [Ping timeout: 250 seconds]
_stu_ has quit [Quit: _stu_]
stannard has joined #ruby
elton has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
Rodya_ has joined #ruby
agent_white has quit [Quit: bbl]
kmckelvi1 has joined #ruby
devoldmx has joined #ruby
dlitvak has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
kmckelvi1 has quit [Ping timeout: 272 seconds]
akem has joined #ruby
braincrash has quit [Quit: bye bye]
minimalism has joined #ruby
yfeldblum has joined #ruby
kalopsian has joined #ruby
jgt1 has quit [Ping timeout: 250 seconds]
devbug_ has joined #ruby
devbug has quit [Ping timeout: 250 seconds]
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
s00pcan has quit [Remote host closed the connection]
rakm has joined #ruby
s00pcan has joined #ruby
braincrash has joined #ruby
ta has joined #ruby
dfinninger has quit [Remote host closed the connection]
the7ak3 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
dlitvak has quit [Ping timeout: 256 seconds]
jhn has joined #ruby
shock_one has joined #ruby
ta has quit [Ping timeout: 250 seconds]
ledestin has joined #ruby
AnoHito has joined #ruby
shock_one has quit [Ping timeout: 250 seconds]
haxrbyte has joined #ruby
gix has quit [Ping timeout: 272 seconds]
dlitvak has joined #ruby
diegoviola has joined #ruby
akem has quit [Remote host closed the connection]
gix has joined #ruby
jackcom has left #ruby [#ruby]
chipotle_ has joined #ruby
govg has quit [Ping timeout: 240 seconds]
atumzin has quit [Read error: Connection reset by peer]
chipotle has quit [Ping timeout: 250 seconds]
spt0 has quit [Ping timeout: 260 seconds]
nanoz has joined #ruby
diego1 has joined #ruby
_stu_ has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diegoviola is now known as Guest42312
diego1 is now known as diegoviola
Guest42312 has quit [Ping timeout: 256 seconds]
houhoulis has joined #ruby
devoldmx has joined #ruby
Ox0dea has joined #ruby
JDiPierro has quit [Remote host closed the connection]
zarubin has joined #ruby
diegoviola has quit [Read error: Connection reset by peer]
haxrbyte has quit [Remote host closed the connection]
zarubin has quit [Ping timeout: 256 seconds]
Cantaberry has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
skweek has joined #ruby
shanemcd has joined #ruby
elton has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
chipotle_ has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
shanemcd has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Quit: Leaving...]
bronson has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
kalopsian has quit [Quit: leaving]
wolffles has joined #ruby
hololeap has quit [Ping timeout: 240 seconds]
<wolffles> hey
<wolffles> im new to ruby and having trouble turning a string into an array
<al2o3-cr> wolffles: explain?
kmckelvi1 has joined #ruby
<wolffles> string = “this is a test” need to turn it into [“this”, “is”, “a”, “test”]
nertzy has joined #ruby
<al2o3-cr> >> "this is a string".split
<ruboto> al2o3-cr # => ["this", "is", "a", "string"] (https://eval.in/483996)
<al2o3-cr> ^wolffles:
<wolffles> thanks
stannard has quit [Remote host closed the connection]
kmckelvi1 has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
<al2o3-cr> wolffles: you come from python?
yfeldblum has joined #ruby
skweek has quit [Ping timeout: 256 seconds]
<wolffles> no prior experience, im teaching myself ruby to get into a code bootcamp
<wolffles> i dont really consider html and css coding lol
<al2o3-cr> wolffles: practice makes perfect :)
jgt1 has joined #ruby
<wolffles> yeah ive read 2 books now and doing some EASY level problems … cant even get it
<al2o3-cr> wolffles: just ask here dude!
<al2o3-cr> if your not certain on anything
bronson has joined #ruby
darkf has joined #ruby
kobain has quit [Ping timeout: 240 seconds]
jgt1 has quit [Ping timeout: 272 seconds]
<wolffles> al203-cr: just curious how did you learn ruby?
colegatron has quit [Ping timeout: 240 seconds]
<al2o3-cr> wolffles: a load of patients ;)
<al2o3-cr> used to be a doctor
shock_one has joined #ruby
<wolffles> thats a big change
nertzy has quit [Quit: This computer has gone to sleep]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<al2o3-cr> wolffles: doctor of hard knocks
<al2o3-cr> lol
elton has quit [Ping timeout: 240 seconds]
<wolffles> how do you know when you can create a variable using | pipes | ?
<wolffles> example: my_array.each do |word|
<wolffles> longest_word = word if longest_word.length < word.length
dlitvak has quit [Remote host closed the connection]
shock_one has quit [Ping timeout: 256 seconds]
bronson has quit [Remote host closed the connection]
_stu_ has quit [Quit: _stu_]
<al2o3-cr> wolffles: you know a generic for loop?
nanoz has quit [Ping timeout: 240 seconds]
<wolffles> probably not
<al2o3-cr> wolffles: view this https://www.youtube.com/watch?v=VBC-G6hahWA
nettoweb has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
baweaver has joined #ruby
<wolffles> wow that was really helpful got my answer in the first min lol
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
Rodya_ has quit [Quit: Leaving...]
colegatron has joined #ruby
Rickmasta has joined #ruby
vikas027 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 240 seconds]
dopieee has quit [Quit: Leaving]
djbkd has joined #ruby
<al2o3-cr> >> !!(:Ruby == :RubyAwesomeness).class
<ruboto> al2o3-cr # => true (https://eval.in/484014)
nocd has joined #ruby
<al2o3-cr> Must be eurt
<Ox0dea> Such convoluted.
<al2o3-cr> Shit. I thought I got away
<Ox0dea> >> @Ruby == $upercool
<ruboto> Ox0dea # => true (https://eval.in/484015)
minimalism has quit [Quit: leaving]
<al2o3-cr> >> @a == @b
<ruboto> al2o3-cr # => true (https://eval.in/484016)
<al2o3-cr> Ox0dea: whaddayno
<Ox0dea> I'm pronouncing that "wuh-day-no".
<al2o3-cr> hell yeah
<al2o3-cr> Ox0dea: what - do - you - know
<Ox0dea> "Whaddya know", for future reference.
<Ox0dea> Precision matters.
<al2o3-cr> Ox0dea: not in my book cocker
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
hololeap has joined #ruby
beast has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 256 seconds]
<al2o3-cr> Go duck a summy
DavidDudson has joined #ruby
JakFrist has joined #ruby
<wolffles> ?
<al2o3-cr> wolffles: savoury duck, owd jk :)
arooni has quit [Ping timeout: 250 seconds]
kmckelvi1 has joined #ruby
tenderlove has joined #ruby
tenderlove has joined #ruby
<Ox0dea> wolffles: So, what's a block?
kmckelvi1 has quit [Ping timeout: 240 seconds]
<wolffles> a nameless function
<Ox0dea> Negative.
<al2o3-cr> X
<wolffles> :[
<wolffles> what is it?
yashinbasement has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Contigi has joined #ruby
tenderlove has quit [Ping timeout: 250 seconds]
noobie123556 has joined #ruby
<noobie123556> hey, I have a Node script running at the same time as a Ruby script, what's the most efficient way to pass json/yaml from one to the other?
calderonroberto has joined #ruby
<Ox0dea> noobie123556: Have them write and read to and from the same resource.
<Ox0dea> wolffles: Blocks are *essentially* anonymous functions, with the crucial stipulation that they may only occur as the final argument of a method call.
devbug_ has quit [Ping timeout: 250 seconds]
S01780 has quit [Quit: Connection closed for inactivity]
hxegon has quit [Ping timeout: 250 seconds]
tildes has quit [Ping timeout: 256 seconds]
ta has joined #ruby
shock_one has joined #ruby
<wolffles> im re watching the video you showed me, blocks and procs sound the same
<Ox0dea> They're very similar.
<Ox0dea> Interchangeable, even, but still slightly different.
<Ox0dea> There is, for instance, no Block class, and you cannot pass more than one block to a method; neither statement is true for Procs.
<Ox0dea> Those're about the only distinctions of note.
DavidDudson has quit [Ping timeout: 240 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nocd has quit [Ping timeout: 256 seconds]
shock_one has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
ta has quit [Ping timeout: 250 seconds]
jhn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 256 seconds]
<wolffles> im to tired to make sense of any of this lol
Bloomer has joined #ruby
calderonroberto has quit [Ping timeout: 264 seconds]
favadi has joined #ruby
beast has joined #ruby
jgt1 has joined #ruby
passerine has joined #ruby
text1 has quit [Quit: Leaving]
claw has quit [Ping timeout: 256 seconds]
JakFrist has quit [Quit: Textual IRC Client: www.textualapp.com]
noobie123556 has quit [Ping timeout: 252 seconds]
jgt1 has quit [Ping timeout: 240 seconds]
saneax_AFK is now known as saneax
DavidDudson has joined #ruby
juddey has joined #ruby
saneax is now known as saneax_AFK
howdoico1 has joined #ruby
trwyth has quit [Ping timeout: 272 seconds]
aspire has quit [Quit: Leaving]
devbug has joined #ruby
kmckelvi1 has joined #ruby
claw has joined #ruby
DavidDudson has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
<diegoviola> Rails helpers are just modules, does it make sense to make a helper method private?
<diegoviola> rails auto includes those helpers in controllers, right?
Wsewolod has quit [Ping timeout: 250 seconds]
kmckelvi1 has quit [Ping timeout: 256 seconds]
ibouvousaime has joined #ruby
saddad has joined #ruby
User458764 has joined #ruby
jgt1 has joined #ruby
ledestin has joined #ruby
ledestin has quit [Client Quit]
whippythellama has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
trwyth has joined #ruby
vikas027 has joined #ruby
Cohedrin has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
shock_one has joined #ruby
ItSANg___ has joined #ruby
elton has joined #ruby
vikas027 has quit [Client Quit]
ItSANgo has quit [Ping timeout: 250 seconds]
chipotle has quit [Quit: cheerio]
setient has joined #ruby
epitron has quit [Ping timeout: 240 seconds]
epitron has joined #ruby
ta has joined #ruby
codeurge has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
saddad has quit [Quit: WeeChat 1.4-dev]
<diegoviola> what methods should I make private or protected? I'm confused
favadi has joined #ruby
elton has quit [Ping timeout: 250 seconds]
hololeap has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
DavidDudson has joined #ruby
ta has quit [Ping timeout: 250 seconds]
DavidDudson has quit [Max SendQ exceeded]
DavidDudson has joined #ruby
baweaver has joined #ruby
shinenelson has quit [Quit: Connection closed for inactivity]
wolffles has quit [Quit: wolffles]
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whippythellama has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
favadi has joined #ruby
inteq has joined #ruby
Cantaberry has quit [Ping timeout: 260 seconds]
ibouvousaime has quit [Ping timeout: 272 seconds]
calderonroberto has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
brendan- has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoviola is now known as Guest19999
diego1 is now known as diegoviola
Guest19999 has quit [Ping timeout: 272 seconds]
Meow-J has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
favadi has joined #ruby
DavidDudson has quit [Read error: Connection reset by peer]
DavidDudson has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
rdavila has joined #ruby
nanoz has joined #ruby
ta has joined #ruby
sucks has quit [Remote host closed the connection]
diego1 has joined #ruby
nerium has quit [Quit: nerium]
DavidDudson has quit [Read error: Connection reset by peer]
trwyth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DavidDudson has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
speakingcode has quit [Ping timeout: 256 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
howdoico1 has quit [Ping timeout: 272 seconds]
DavidDudson has quit [Read error: Connection reset by peer]
DavidDud_ has joined #ruby
kmckelvi1 has joined #ruby
speakingcode has joined #ruby
AnoHito_ has joined #ruby
DavidDud_ has quit [Read error: Connection reset by peer]
DavidDudson has joined #ruby
diego1 has joined #ruby
yfeldblum has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
kmckelvi1 has quit [Ping timeout: 250 seconds]
AnoHito has quit [Ping timeout: 264 seconds]
diegoviola has quit [Ping timeout: 272 seconds]
DavidDud_ has joined #ruby
DavidDudson has quit [Read error: Connection reset by peer]
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diego1 is now known as diegoviola
waka has quit [Remote host closed the connection]
BTRE has joined #ruby
nXqd has joined #ruby
htmldrum has joined #ruby
diegoviola has quit [Ping timeout: 272 seconds]
houhoulis has quit [Remote host closed the connection]
DavidDud_ has quit [Read error: Connection reset by peer]
waka has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elton has joined #ruby
govg has joined #ruby
nXqd has quit [Quit: leaving]
nXqd has joined #ruby
bnagy has quit [Ping timeout: 245 seconds]
bnagy has joined #ruby
DavidDudson has joined #ruby
rippa has joined #ruby
yfeldblum has quit [Remote host closed the connection]
iateadonut has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
bronson has joined #ruby
elton has quit [Ping timeout: 272 seconds]
triangles has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
blackgoat has quit [Ping timeout: 250 seconds]
nXqd has quit [Quit: leaving]
shock_one has quit [Remote host closed the connection]
ledestin has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DavidDudson has quit [Ping timeout: 256 seconds]
CloCkWeRX has joined #ruby
spider-mario has joined #ruby
<TomyLobo> has anyone ever used ruby on cygwin? i'm having trouble building ffi since there's no ruby.h. any idea which package that might be in? there's no ruby-dev or ruby-devel or anything and i cant find a feature to search by file name. https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ruby%5C.h&arch=x86_64 maybe this, but that doesnt seem right
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
berserk_ren has joined #ruby
charliesome has joined #ruby
TomPeed has joined #ruby
ledestin has joined #ruby
Liam` has quit [Quit: http://bouncer.ml]
ledestin has quit [Client Quit]
citrusfizz has quit [Read error: Connection reset by peer]
citrusfizz_ has joined #ruby
citrusfizz_ is now known as citrusfizz
codeurge has joined #ruby
baweaver has joined #ruby
htmldrum has quit [Ping timeout: 256 seconds]
Coldblackice has quit [Ping timeout: 272 seconds]
skade has joined #ruby
calderonroberto has quit [Ping timeout: 240 seconds]
jbrhbr has joined #ruby
polysics has joined #ruby
Tempesta has quit [Ping timeout: 256 seconds]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Grey_H has quit [Ping timeout: 256 seconds]
diegoviola has quit [Ping timeout: 250 seconds]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
firstdayonthejob has joined #ruby
kmckelvi1 has joined #ruby
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
lele has quit [Ping timeout: 264 seconds]
DavidDudson has joined #ruby
DavidDudson has quit [Max SendQ exceeded]
DavidDudson has joined #ruby
kmckelvi1 has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
diegoviola has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
kmckelvi1 has joined #ruby
crystalmaiden has quit [Ping timeout: 256 seconds]
lele has joined #ruby
passerine has left #ruby [#ruby]
BaroMeter has joined #ruby
Coldblackice has joined #ruby
elton has joined #ruby
elaptics`away has joined #ruby
Cohedrin has joined #ruby
<TomyLobo> I'm trying to install the nokogiri gem on cygwin. I get "Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options." Here's what's in that file: https://gist.github.com/TomyLobo/cb78eeeb54a2298fd36f#file-mkmf-log-L52-L56
<TomyLobo> as you can see, It links these libraries: -lruby220 -lpthread -lgmp -ldl -lcrypt
wildlander has joined #ruby
wildlander has quit [Max SendQ exceeded]
<TomyLobo> no iconv and still it expects to find iconv symbols. What's broken here?
wildlander has joined #ruby
wildlander has quit [Max SendQ exceeded]
jackcom has joined #ruby
elton has quit [Ping timeout: 256 seconds]
wildlander has joined #ruby
jackcom has left #ruby [#ruby]
Cohedrin has quit [Client Quit]
agit0 has joined #ruby
Coldblackice has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
CloCkWeRX has quit [Ping timeout: 272 seconds]
lele has quit [Ping timeout: 240 seconds]
tildes has joined #ruby
thejamespinto has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
lele has joined #ruby
brt has joined #ruby
SCHAAP137 has joined #ruby
diegoviola has quit [Ping timeout: 250 seconds]
shock_one has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
psy_ has joined #ruby
diego1 is now known as diegoviola
f00bar-32 has joined #ruby
Meow-J has quit [Quit: Connection closed for inactivity]
polysics has quit []
AnoHito has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TomyLobo> oh, now i get it
<TomyLobo> it tries with and without -liconv
AnoHito_ has quit [Ping timeout: 250 seconds]
shock_one has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
edwinvdgraaf has joined #ruby
CloCkWeRX has joined #ruby
cornerma1 has joined #ruby
nanoz has quit [Quit: <3]
diegoviola has quit [Ping timeout: 240 seconds]
zanzarel has joined #ruby
<TomyLobo> ok i needed a cygwin bsdtar
<TomyLobo> if you ever try this, export a PATH that doesnt include any mingw or msys[git] stuff
cornerman has quit [Ping timeout: 256 seconds]
cornerma1 is now known as cornerman
jbrhbr has quit [Quit: Leaving.]
charliesome has joined #ruby
amclain has quit [Quit: Leaving]
Jackneill has joined #ruby
iateadonut has joined #ruby
last_staff has joined #ruby
triangles2 has joined #ruby
flak has joined #ruby
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
stannard has joined #ruby
devoldmx_ has joined #ruby
bMalum_ has joined #ruby
citrusfizz_ has joined #ruby
yfeldblu_ has joined #ruby
hakunin_ has joined #ruby
blub` has joined #ruby
jevs_ has joined #ruby
TomyLobo has quit [Disconnected by services]
bxoixkfaugegxlhw has joined #ruby
bxoixkfaugegxlhw is now known as zljlskiwfoluddxp
zljlskiwfoluddxp is now known as TomyLobo
benlakey_ has joined #ruby
_Suntzu has joined #ruby
NeverDie_ has joined #ruby
avdi_ has joined #ruby
_joes___ has joined #ruby
moeabdol2 has joined #ruby
PhilK_ has joined #ruby
tildes_ has joined #ruby
cbednarski_ has joined #ruby
HashNuke_ has joined #ruby
mg^^ has joined #ruby
aibot_ has joined #ruby
juddey_ has joined #ruby
voker57_ has joined #ruby
jxf_ has joined #ruby
axisys_ has joined #ruby
cornerma1 has joined #ruby
devyn_ has joined #ruby
hackeron_ has joined #ruby
A124 has quit [Disconnected by services]
A124 has joined #ruby
raddazong has joined #ruby
jjwright has joined #ruby
joevandy1 has joined #ruby
grilled-cheese_ has joined #ruby
G_ has joined #ruby
thomasfedb_ has joined #ruby
fumduq- has joined #ruby
stannard has quit [Ping timeout: 256 seconds]
crankhar1er has joined #ruby
d0nn1e_ has joined #ruby
ghoti_ has joined #ruby
heidar_ has joined #ruby
adam^ has joined #ruby
xdc has joined #ruby
kmckelvin has joined #ruby
diegoviola has joined #ruby
bweston92- has joined #ruby
vondruch_ has joined #ruby
leat1 has joined #ruby
bahar_ has joined #ruby
NeverDie has quit [Read error: Connection reset by peer]
lancetw has quit [Ping timeout: 240 seconds]
cbednarski has quit [Ping timeout: 240 seconds]
heidar has quit [Ping timeout: 240 seconds]
M-Kodo has quit [Ping timeout: 240 seconds]
PhilK has quit [Ping timeout: 240 seconds]
DeafGamer has quit [Ping timeout: 240 seconds]
bahar has quit [Ping timeout: 240 seconds]
WizJin has quit [Ping timeout: 240 seconds]
moei has quit [Ping timeout: 240 seconds]
gnarf has quit [Ping timeout: 240 seconds]
callumacrae has quit [Ping timeout: 240 seconds]
PlasmaStar has quit [Ping timeout: 240 seconds]
thejoecarroll has quit [Ping timeout: 240 seconds]
fumduq has quit [Ping timeout: 240 seconds]
NET||abuse has quit [Ping timeout: 240 seconds]
Shidash has quit [Ping timeout: 240 seconds]
bMalum has quit [Ping timeout: 240 seconds]
HashNuke has quit [Ping timeout: 240 seconds]
cornerman has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
Suntzu has quit [Ping timeout: 240 seconds]
hohenfall has quit [Ping timeout: 240 seconds]
jevs has quit [Ping timeout: 240 seconds]
hackeron has quit [Ping timeout: 240 seconds]
lele has quit [Ping timeout: 240 seconds]
peteyg has quit [Ping timeout: 240 seconds]
mozzarella has quit [Ping timeout: 240 seconds]
jxf has quit [Ping timeout: 240 seconds]
jschmid has quit [Ping timeout: 240 seconds]
twistedpixels has quit [Ping timeout: 240 seconds]
avdi has quit [Ping timeout: 240 seconds]
yorickpeterse has quit [Ping timeout: 240 seconds]
_joes__ has quit [Ping timeout: 240 seconds]
G has quit [Ping timeout: 240 seconds]
blub has quit [Ping timeout: 240 seconds]
DanKnox[away] has quit [Ping timeout: 240 seconds]
leat has quit [Ping timeout: 240 seconds]
linduxed has quit [Ping timeout: 240 seconds]
zapata has quit [Ping timeout: 240 seconds]
benlakey has quit [Ping timeout: 240 seconds]
citrusfizz has quit [Ping timeout: 240 seconds]
triangles has quit [Ping timeout: 240 seconds]
whippythellama has quit [Ping timeout: 240 seconds]
epitron has quit [Ping timeout: 240 seconds]
juddey has quit [Ping timeout: 240 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
joast has quit [Ping timeout: 240 seconds]
matp has quit [Ping timeout: 240 seconds]
djellemah has quit [Ping timeout: 240 seconds]
d0nn1e has quit [Ping timeout: 240 seconds]
Voker57 has quit [Ping timeout: 240 seconds]
ByronJohnson has quit [Ping timeout: 240 seconds]
adam_ has quit [Ping timeout: 240 seconds]
KnownSyntax_ has quit [Ping timeout: 240 seconds]
madhatter has quit [Ping timeout: 240 seconds]
Guest41064 has quit [Ping timeout: 240 seconds]
epochwolf has quit [Ping timeout: 240 seconds]
boxofrox has quit [Ping timeout: 240 seconds]
Evan_ has quit [Ping timeout: 240 seconds]
bweston92 has quit [Ping timeout: 240 seconds]
grilled-cheese has quit [Ping timeout: 240 seconds]
thomasfedb has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 240 seconds]
BTRE has quit [Ping timeout: 240 seconds]
beast has quit [Ping timeout: 240 seconds]
Ox0dea has quit [Ping timeout: 240 seconds]
crazydiamond has quit [Ping timeout: 240 seconds]
woodruffw has quit [Ping timeout: 240 seconds]
vondruch has quit [Ping timeout: 240 seconds]
axisys has quit [Ping timeout: 240 seconds]
icbm has quit [Ping timeout: 240 seconds]
mg^ has quit [Ping timeout: 240 seconds]
kalz has quit [Ping timeout: 240 seconds]
kalzz has quit [Ping timeout: 240 seconds]
hakunin has quit [Ping timeout: 240 seconds]
programmerq has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
ByronJohnson has joined #ruby
devyn has quit [Ping timeout: 240 seconds]
tildes has quit [Ping timeout: 240 seconds]
charliesome has quit [Ping timeout: 240 seconds]
kmckelvi1 has quit [Ping timeout: 240 seconds]
sepp2k has quit [Ping timeout: 240 seconds]
speakingcode has quit [Ping timeout: 240 seconds]
moeabdol1 has quit [Ping timeout: 240 seconds]
gregf has quit [Ping timeout: 240 seconds]
aibot has quit [Ping timeout: 240 seconds]
joevandyk has quit [Ping timeout: 240 seconds]
ghoti has quit [Ping timeout: 240 seconds]
jjwright_ has quit [Remote host closed the connection]
crankharder has quit [Remote host closed the connection]
dstarh has quit [Ping timeout: 240 seconds]
speakingcode has joined #ruby
moei has joined #ruby
NET||abuse has joined #ruby
peteyg has joined #ruby
Evan_ has joined #ruby
ByronJohnson has joined #ruby
beast_ has joined #ruby
grilled-cheese_ is now known as grilled-cheese
ByronJohnson has quit [Changing host]
thejoecarroll_ has joined #ruby
yorickpeterse has joined #ruby
crazydiamond_ has joined #ruby
_Suntzu is now known as Suntzu
citrusfizz_ is now known as citrusfizz
charliesome has joined #ruby
cbednarski_ is now known as cbednarski
jevs_ is now known as jevs
PhilK_ is now known as PhilK
djellemah has joined #ruby
bMalum_ is now known as bMalum
cornerma1 is now known as cornerman
Ox0dea has joined #ruby
benlakey_ is now known as benlakey
boxofrox has joined #ruby
f00bar-32 has quit [Ping timeout: 256 seconds]
M-Kodo has joined #ruby
epochwolf has joined #ruby
gnarf_ has joined #ruby
codecop has joined #ruby
DanKnox[away] has joined #ruby
HashNuke_ is now known as HashNuke
crazydiamond_ has quit [Max SendQ exceeded]
ndancer has joined #ruby
programmerq has joined #ruby
PlasmaStar has joined #ruby
ndancer is now known as Guest98078
lele has joined #ruby
jxf_ is now known as jxf
avdi_ is now known as avdi
bestie has quit [Ping timeout: 245 seconds]
callumacrae has joined #ruby
Rutix has quit [Remote host closed the connection]
twistedpixels has joined #ruby
twistedpixels has quit [Changing host]
twistedpixels has joined #ruby
kies has quit [Ping timeout: 256 seconds]
frankS2 has quit [Ping timeout: 245 seconds]
linduxed has joined #ruby
sami has quit [Ping timeout: 260 seconds]
charliesome_ has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
WizJin has joined #ruby
ByronJoh1son has joined #ruby
sami has joined #ruby
evan- has joined #ruby
Bugboy1028 has joined #ruby
User4587_ has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
speaking1ode has joined #ruby
NET||abu- has joined #ruby
bestie has joined #ruby
mozzarella has joined #ruby
User458764 has quit [Ping timeout: 240 seconds]
Evan_ has quit [Ping timeout: 240 seconds]
speakingcode has quit [Ping timeout: 240 seconds]
NET||abuse has quit [Ping timeout: 240 seconds]
mozzarella has quit [Ping timeout: 240 seconds]
peteyg has quit [Ping timeout: 240 seconds]
moei has quit [Ping timeout: 240 seconds]
ByronJohnson has quit [Ping timeout: 240 seconds]
Symbiosisz has quit [Ping timeout: 240 seconds]
charliesome has quit [Ping timeout: 240 seconds]
moei has joined #ruby
epitron has joined #ruby
epitron has quit [Changing host]
epitron has joined #ruby
matp has joined #ruby
Symbiosisz has joined #ruby
iateadonut has quit [Ping timeout: 272 seconds]
mozzarella has joined #ruby
frankS2 has joined #ruby
BaroMeter has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
jschmid has joined #ruby
Shidash has joined #ruby
hohenfall has joined #ruby
peteyg has joined #ruby
whippythellama has joined #ruby
Tempesta has joined #ruby
al2o3-cr has joined #ruby
BTRE has joined #ruby
lancetw has joined #ruby
elton has joined #ruby
kalzz has joined #ruby
kalz has joined #ruby
beast_ has quit [Remote host closed the connection]
bronson has joined #ruby
elton has quit [Ping timeout: 240 seconds]
woodruffw has joined #ruby
solars has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BaroMeter has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
Shidash has quit [Ping timeout: 264 seconds]
devoldmx_ has quit [Remote host closed the connection]
gregf has joined #ruby
x0f has quit [Ping timeout: 264 seconds]
iamdevnul has quit [Ping timeout: 264 seconds]
iamdevnul_ has joined #ruby
DH__ has joined #ruby
DH__ has left #ruby [#ruby]
workmad3 has joined #ruby
GBrawl has joined #ruby
yqt has joined #ruby
x0f has joined #ruby
_joes___ has quit [Ping timeout: 264 seconds]
Shidash has joined #ruby
User4587_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
benlakey has quit [Read error: Network is unreachable]
iamdevnul_ has quit [Read error: Connection reset by peer]
benlakey has joined #ruby
iamdevnul_ has joined #ruby
_joes___ has joined #ruby
devoldmx has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
gaiada has joined #ruby
shock_one has joined #ruby
User458764 has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
cwong_on_irc has quit [Quit: Leaving.]
<TomyLobo> undefined method `remove_namespaces' for #<Nokogiri::XML::Document:0x0000060036a528>
<`derpy> No results found
<TomyLobo> hnnng, it's an '!' method
shock_one has quit [Ping timeout: 240 seconds]
G_ is now known as G
yashinbasement has quit [Quit: Leaving]
InvGhost has joined #ruby
<norc> TomyLobo: Next time instead of "it doesnt work" a gist of your code would be more helpful.
<norc> Together with what you expected to happen, and a full stack trace ;-)
<TomyLobo> i dont think that would have helped more than the error message in this case
skmp has quit [Ping timeout: 264 seconds]
blackgoat has joined #ruby
skmp has joined #ruby
skade has joined #ruby
<norc> TomyLobo: In this instance you may be right, but you could not have known that in advance
<norc> Im just saying for the next time - providing as much information as you can reduces questions we have to ask you. ;-)
<zanzarel> Hi everyone!
<shevy> hi lanzarel
<TomyLobo> norc, well this seemed like something that would be obvious to people who use nokogiri on a regular basis (i.e. not me)
<norc> TomyLobo: Possibly. But in order to know that we have to see your code.
<norc> Whether the method was wrongly namd, or you had the wrong receiver - who knows.
<TomyLobo> both name and the type of the receiver are in the error message
<norc> Except we dont know how that relates to your code.
<norc> Hence the stack trace
<TomyLobo> anyway, PRing that '!' into the tutorial
baweaver has joined #ruby
decoponio has joined #ruby
toretore has joined #ruby
BSaboia has joined #ruby
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
f00bar-32 has joined #ruby
desmondhume has joined #ruby
GBrawl has quit [Quit: (null)]
desmondhume has quit [Client Quit]
baweaver has quit [Ping timeout: 250 seconds]
<TomyLobo> https://github.com/sparklemotion/nokogiri.org-tutorials/pull/43 there we go, hope they'll fix it
sepp2k1 has joined #ruby
<shevy> was this you Ox0dea
yqt has quit [Ping timeout: 256 seconds]
sepp2k has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
brt has quit [Ping timeout: 256 seconds]
c355E3B has joined #ruby
govg has quit [Ping timeout: 256 seconds]
colegatron has quit [Ping timeout: 250 seconds]
nateberkope has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
BaroMeter has quit [Ping timeout: 250 seconds]
zapata has joined #ruby
govg has joined #ruby
elton has joined #ruby
ethe has joined #ruby
CloCkWeRX has quit [Ping timeout: 256 seconds]
berserk_ren has quit [Ping timeout: 272 seconds]
elton has quit [Ping timeout: 264 seconds]
rodfersou has joined #ruby
colegatron has joined #ruby
BaroMeter has joined #ruby
sadewi has joined #ruby
sadewi has left #ruby [#ruby]
kp666 has joined #ruby
zanzarel has quit [Quit: Leaving.]
zanzarel has joined #ruby
<norc> shevy: Honestly that is really a boring one
<Papierkorb> Is there a list somewhere for GUI toolkits for use with ruby? Bindings are fine too
<Papierkorb> Doesn't even have to be super pretty, so Gtk is also ok ..
blackms has quit [Remote host closed the connection]
<shevy> norc it looks like an ascii guy
<shevy> you coul embed a whole ascii game in these!
<shevy> Papierkorb we have.. ruby-gnome, ruby-kde (sorta), wxruby aka hanmac ... we have shoes-variants... we used to have fxruby ... hmm ... I think I forgot one or two... does not jruby also have some swing or something, I forgot the name
devbug_ has joined #ruby
<Papierkorb> is ruby-kde outdated, or why 'sorta'?
devoldmx has joined #ruby
<shevy> Papierkorb dunno, I think there were a few different competing implementations, #qtruby here on freenode was managed by rdale for instance
<shevy> I don't know how complete the bindings are
<Papierkorb> shevy: it's for a small'ish tool. As long it has buttons, text inputs outputs and context menus I should be fine
<shevy> and in order to compare ruby-gnome, which is also not fully complete for all gnome things, one would have to compare ruby-qt with ruby-kde. no idea how complete ruby-kde is
<shevy> yeah that will work
<djellemah> ruby-gtk and qtbindings will both be sufficient. Biggest difference is if you need a grid - ruby-gtk doesn't support custom models for that afaik.
devbug has quit [Ping timeout: 264 seconds]
CloCkWeRX has joined #ruby
<Papierkorb> djellemah: 'qtbindings' is Qt4.8 (sadly), but I did Qt for years so I'm more or less a home game for me :)
<Papierkorb> it's *
<shevy> you want qt5?
devoldmx has quit [Ping timeout: 272 seconds]
<Papierkorb> If possible, sure
<Papierkorb> ruby-kde hasn't seen a change for 4 years, at least for the github I found
* djellemah once again, notices time marching on...
quaristice has joined #ruby
rdark has joined #ruby
brendan- has joined #ruby
zanzarel has quit [Ping timeout: 264 seconds]
<Papierkorb> qtbindings seems to just-work. Thanks shevy, djellemah !
<shevy> yeah that ruby-kde is probably abandoned
<Papierkorb> Oh have you heard that IBM released their (internal?) ruby VM with JIT and whizzles?
kp666 has quit [Ping timeout: 250 seconds]
wmdrossard has joined #ruby
<chrisseaton> Yeah looks interesting doesn't it?
<Papierkorb> wasn't able to really comprehend it at 2am on a mobile phone. can't even find it now
yfeldblu_ has quit [Ping timeout: 264 seconds]
<Papierkorb> but if that magically makes MRI really fast, then bring it on!
<chrisseaton> the actual docker image is on DockerHub
<chrisseaton> it doesn't look very fast at the moment, but maybe it will be in the future
<Papierkorb> > The OMR [is] to develop reusable and easily consumable core components for building all kinds of language runtimes, from Java to Ruby to Smalltalk and beyond.
<Papierkorb> No one ever told them about LLVM?
<chrisseaton> Papierkorb: LLVM is demonstrably not easy to use in dynamic languages - Rubinius tried and I think it didn't go well
<chrisseaton> you need a whole system of speculation, profiling and deoptimisation above LLVM for it to work well, and that's what a JVM does really well
<Papierkorb> Yeah, albeit the JVM is statically typed ..
<Papierkorb> Although, if everything is an object, and you always use dynamic-lookup calls .. then it you get JRuby I guess? No idea how that works
<chrisseaton> Papierkorb: Java is statically typed, but the JVM internals are actually designed for just the kind of type speculation needed for Ruby
<chrisseaton> Papierkorb: a Java call to an interface is very much like a Ruby method call, and can be optimised in the same way
puria has quit [Ping timeout: 256 seconds]
moeabdol2 has quit [Ping timeout: 272 seconds]
tildes_ has quit [Ping timeout: 256 seconds]
blub` is now known as blub
baweaver has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
favadi has joined #ruby
baweaver has quit [Ping timeout: 264 seconds]
maia_ has joined #ruby
maia_ has left #ruby [#ruby]
ht__ has joined #ruby
puria has joined #ruby
FooMunki has joined #ruby
f00bar-32 has quit [Ping timeout: 272 seconds]
BaroMeter has quit [Quit: Leaving]
skade has quit [Quit: Computer has gone to sleep.]
kobain has joined #ruby
skade has joined #ruby
null3 has quit [Ping timeout: 245 seconds]
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kmckelvin has quit [Ping timeout: 256 seconds]
elton has joined #ruby
kmckelvin has joined #ruby
<shevy> Papierkorb, when you are done with your GUI, are you able to publish it?
nfk|laptop has joined #ruby
yfeldblum has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
elton has quit [Ping timeout: 264 seconds]
BSaboia has quit [Ping timeout: 256 seconds]
ht__ has quit [Quit: Konversation terminated!]
shock_one has joined #ruby
kmckelvin has quit [Ping timeout: 256 seconds]
prateekp has joined #ruby
<prateekp> hello,
pandaant has joined #ruby
ht__ has joined #ruby
Ishido has joined #ruby
<prateekp> is it possible that on my machine a gem is getting successfully built
<prateekp> but on other's machine(using rbenv), its giving some loaderror on requiring the gem
<prateekp> i am using rbenv ruby
<prateekp> the gem is native extension
<jhass> yes
kmckelvin has joined #ruby
shock_one has quit [Ping timeout: 256 seconds]
<prateekp> jhass: any reason for that ?
<jhass> plentiful
<jhass> too many to list them out into the blue
<prateekp> ohh
<prateekp> related to mkmf ?
<jhass> too
<shevy> if it is a loaderror then the gem was not installed
<prateekp> yeah its a loaderror
tildes has joined #ruby
<prateekp> native extension dint get installed
<shevy> do you know why the native extension did not build?
<prateekp> no do not know
<prateekp> while using rvm, its getting built
<shevy> you have to find out the error
<prateekp> ohh, can it be related to the version error?
<prateekp> i mean rbenv ruby version
sdothum has joined #ruby
<jhass> that too
<shevy> I failed to install v8eval too
<shevy> it uses cmake; error I have is c++: error: unrecognized command line option '-Wshorten-64-to-32'
<jhass> prateekp: ^ this is the kind of information we would need
<prateekp> ohh
<jhass> you probably ignored a lot of output during gem install
<prateekp> so u mean its related to c++ error
<shevy> I think that is the first time I am seeing a cmake-using gem by the way... I am so used to Makefile that this confused me for a moment
<prateekp> cmake-using gem ???
<prateekp> what does that mean ?
favadi has joined #ruby
<shevy> typically "make" is used to compile/install things at the least in the old days
<shevy> cmake is slightly different, newer for instance https://cmake.org/
radgeRayden has quit [Ping timeout: 272 seconds]
<shevy> I dunno, did this get used on your system?
<prateekp> i am able to use it on my system
<prateekp> with rvm ruby 2.2.0
<shevy> hmm there also is a build.sh file
<prateekp> ?
<shevy> ya
<prateekp> shevy: whats ur cmake version
<prateekp> mine is 3.3.2
<prateekp> error I have is c++: error: unrecognized command line option '-Wshorten-64-to-32'
<prateekp> you are getting this error
<shevy> yeah
<prateekp> this is rather related to source error right ?
<shevy> I have cmake version 3.4.1
<shevy> CMakeLists.txt: -Wshorten-64-to-32
<shevy> dunno why the author wants this
<jhass> prateekp: did you confirm you're getting this error too on the machine where it doesn't work or are we just wasting time here?
<prateekp> ohh i need to confirm, but on my machine i am not getting this error
<prateekp> could you shevy raise an issue related to that error ??
<prateekp> it would be helpful
<jhass> prateekp: we can't debug the issue if you don't have access to the machine where it's happening
<jhass> send somebody that has access instead
<prateekp> hmm i understand but as as hevy said the error is related to some cmake error
bMalum has quit [Quit: bMalum]
<prateekp> because on my machine (mcosx) its getting installed and working perfectly. And i will be checking on linux
<apeiros> "native gem x builds fine on my machine" is a useless information prateekp
<jhass> we didn't confirm yet that "the error" is the same error you're getting
<shevy> prateekp I don't know the gem enough to really judge what the author is doing. What I know is that it does not work on my system, most other native gems that I use on my system do work so I assume that the author might have done something wrong
nocd has joined #ruby
<prateekp> and by wrong u mean on ruby side of the code or c++ side of the code
<apeiros> we can can safely assume that any published gem builds fine on *some* machine. so that's not useful information to solve the problem of it *not building fine* on a *different* machine.
<shevy> prateekp it tries to compile something, so of course this is the c++ code that failed; you need to find out why it fails, just download the .gem manually if you can't find it, it is in the cache/ directory; you can unpack it, then try to install it, that is what I usually do when a gem fails to install
myztic has left #ruby [#ruby]
bMalum has joined #ruby
<prateekp> hmm shevy i agree.
<prateekp> but sad part for now i dont have access to that failing machine
puria has quit [Ping timeout: 272 seconds]
<prateekp> on my machine its getting built
<shevy> yeah you hit a dead end
ht__ has quit [Quit: Konversation terminated!]
<prateekp> whats ur ruby version by the way shevy?
<shevy> ruby 2.2.3p173 (2015-08-18 revision 51636)
<shevy> I am just waiting for xmas
CloCkWeRX has left #ruby [#ruby]
<prateekp> why does on installing through the command `gem install mygem` does not throw errors which came while unable to install native extension successfully
<prateekp> in ur case as well shevy, u installed from source right ?
<prateekp> and then you found an error
<shevy> gem install will always download the .gem unless it already is installed
<shevy> and since it is a gem that requires native extensions, you have to compile it. in principle, after it compiled, you could just upload the compiled stuff to any remote machine
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<prateekp> hmm right
<prateekp> but on that native extension failing to successfully getting installed, it should say that your gem dint get installed
ht__ has joined #ruby
<prateekp> isnt it?
favadi has joined #ruby
<shevy> for instance the gtk2 bindings for ruby reside in SITE_RUBY dir, 2.2.0, arch, the file gtk2.so
<shevy> of course it says so
FernandoBasso has joined #ruby
<shevy> but I get more information when I do it manually
bMalum has quit [Quit: bMalum]
<shevy> this is moot though since without access you can't solve your problem
<prateekp> hmm right
ibouvousaime has joined #ruby
nfk|laptop has quit [Ping timeout: 272 seconds]
bMalum has joined #ruby
<prateekp> you checked manually by doing a running extconf.rb ?
<prateekp> just asking
<prateekp> shevy^
<shevy> no
<prateekp> then?
xet7 has quit [Quit: Leaving]
<shevy> there is no extconf.rb at the base dir of the gem
dlitvak has joined #ruby
<shevy> the three directories it had were ruby/ src/ and CMakeFiles/
<shevy> which is rather atypical altogether
zarubin has joined #ruby
<prateekp> there is one inside ruby/ext/extconf.rb
<shevy> since there was a cmakefile I did "cmake ."
<shevy> nope there is not
quaristice has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> as I said before, download the .gem, extract it, have a look
spt0 has joined #ruby
<shevy> https://rubygems.org/gems/v8eval there is a download link
spt0 has quit [Max SendQ exceeded]
spt0 has joined #ruby
<shevy> v8eval-0.2.1/ruby/ext/ has only one entry, which is a directory called v8eval/ so your path mentioned above ruby/ext/extconf.rb is not part of the gem. I have no idea how you came to this conclusion anyway
<prateekp> but if its not there how am i getting it installed
radgeRayden has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
<shevy> ???
<prateekp> sorry, path is v8eval-0.2.1/ruby/ext/v8eval/extconf.rb
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> k
<prateekp> i mistyped it
ethe has quit [Quit: *.net *.splot]
<shevy> I'll not run this though
<prateekp> hehe
<shevy> Cloning into 'depot_tools'...
<shevy> it wants to fetch some weird addons
<prateekp> haha yeah it takes time
<shevy> are you sure that the author is competent?
<prateekp> i think so
<prateekp> but cmake is failing as you said
Rickmasta has joined #ruby
<shevy> the gem seems not old, 2 months
<shevy> give the project a while
Biohazard has quit [Ping timeout: 260 seconds]
<prateekp> hmm yeah
ht__ has joined #ruby
zarubin has quit [Ping timeout: 240 seconds]
xet7 has joined #ruby
ElFerna has joined #ruby
Biohazard has joined #ruby
<prateekp> i think this is something related on the cmake side, because on my machine cmake . throws no error
f00bar-32 has joined #ruby
<shevy> perhaps it compiles for you
dlitvak_ has joined #ruby
BSaboia has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
greister has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
greister has quit [Client Quit]
f00bar-32 has quit [Ping timeout: 264 seconds]
quaristice has joined #ruby
greister has joined #ruby
quaristice has quit [Read error: Connection reset by peer]
greister has quit [Client Quit]
greister has joined #ruby
azgil has left #ruby ["Leaving"]
dlitvak has joined #ruby
daivyk has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
OrbitalKitten has joined #ruby
agit0 has joined #ruby
agit0 has quit [Client Quit]
ElFerna has quit [Quit: WeeChat 1.3]
dlitvak_ has quit [Ping timeout: 264 seconds]
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
favadi has joined #ruby
<Papierkorb> shevy: it's a tool to control a running QEMU instance through its RPC interface to add/remove USB devices (mainly). So it's more of a hack-it-till-it-works and I won't really invest time in testing it. but sure, I could shove it onto my github. Can't tell you any estimate though.
ht__ has quit [Client Quit]
ht__ has joined #ruby
ht__ has quit [Client Quit]
ht__ has joined #ruby
devoldmx has joined #ruby
ElFerna has joined #ruby
ethe has joined #ruby
berserk_ren has joined #ruby
f00bar-32 has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jgt1 has quit [Ping timeout: 256 seconds]
berserk_ren has quit [Ping timeout: 240 seconds]
ElFerna has quit [Quit: WeeChat 1.3]
ElFerna has joined #ruby
dviola has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
shanemcd has joined #ruby
tenderlove has joined #ruby
houhoulis has joined #ruby
kirun has joined #ruby
Mia has quit [Read error: Connection reset by peer]
DeXterbed has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
shanemcd has quit [Remote host closed the connection]
shanemcd has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
psy_ has quit [Read error: No route to host]
ht__ has quit [Client Quit]
f00bar-32 has quit [Ping timeout: 240 seconds]
tenderlove has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
ht__ has joined #ruby
edwinvdgraaf has quit [Ping timeout: 256 seconds]
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nfk|laptop has joined #ruby
favadi has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
baweaver has quit [Ping timeout: 250 seconds]
ElFerna has quit [Ping timeout: 256 seconds]
vdamewood has joined #ruby
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
InvGhost has quit [Ping timeout: 250 seconds]
rgrmatt has joined #ruby
psy_ has joined #ruby
SuperTux88 has quit [Ping timeout: 264 seconds]
Kuukunen has quit [Ping timeout: 245 seconds]
zly has quit [Ping timeout: 264 seconds]
phrozen77 has quit [Ping timeout: 264 seconds]
davedev24 has joined #ruby
rgrmatt has quit [Ping timeout: 240 seconds]
shock_one has joined #ruby
dlitvak_ has joined #ruby
dviola has quit [Quit: WeeChat 1.3]
stannard has joined #ruby
dlitvak__ has joined #ruby
hinbody has quit [Ping timeout: 245 seconds]
dlitvak has quit [Ping timeout: 272 seconds]
shock_one has quit [Ping timeout: 250 seconds]
<shevy> we need ruby skynet
hinbody has joined #ruby
elton has joined #ruby
dlitvak_ has quit [Ping timeout: 264 seconds]
OrbitalKitten has joined #ruby
stannard has quit [Ping timeout: 264 seconds]
imperator has joined #ruby
shanemcd has quit [Remote host closed the connection]
shanemcd has joined #ruby
puria has joined #ruby
bronson has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
elton has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 264 seconds]
lurch_ has quit [Quit: lurch_]
nocd has quit [Quit: nocd]
dt__ has joined #ruby
blackgoat has quit [Quit: WeeChat 1.3]
<dt__> Not able to start sidekiq
<dt__> getiing an error message
<dt__> init: sidekiq (0) main process (4372) terminated with status 1
<dt__> have added the sidekiq.conf and worker.conf filw
<dt__> *file
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ElFerna has joined #ruby
ht__ has joined #ruby
rodfersou has quit [Remote host closed the connection]
jgt1 has joined #ruby
phrozen77 has joined #ruby
f00bar-32 has joined #ruby
ht__ has quit [Client Quit]
last_staff has quit [Remote host closed the connection]
shanemcd has quit [Remote host closed the connection]
shanemcd has joined #ruby
Kuukunen has joined #ruby
zly has joined #ruby
edwinvdgraaf has joined #ruby
jgt1 has quit [Ping timeout: 250 seconds]
InvGhost has joined #ruby
bMalum has quit [Quit: bMalum]
SuperTux88 has joined #ruby
ElFerna has quit [Quit: WeeChat 1.3]
phrozen77 has quit [Ping timeout: 240 seconds]
Zamerick has joined #ruby
gummybehr has joined #ruby
nertzy has joined #ruby
<Papierkorb> shevy: https://gist.github.com/Papierkorb/1d543bd8934d79378b1d Uses the qtbindings and libusb gems to show a list of all USB devices of your system
iateadonut has joined #ruby
vdamewood has quit [Quit: Life beckons.]
<jhass> dt__: full output & log -> gist
ht__ has joined #ruby
atumzin has joined #ruby
phrozen77 has joined #ruby
gizmore has joined #ruby
voodo has joined #ruby
dlitvak__ has quit [Ping timeout: 240 seconds]
berserk_ren has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
NeverDie_ has quit [Quit: http://radiux.io/]
hxegon has joined #ruby
rgrmatt has joined #ruby
pdoherty has joined #ruby
dlitvak has joined #ruby
f00bar-32 has quit [Ping timeout: 272 seconds]
gummybehr_p has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gummybehr has quit [Ping timeout: 272 seconds]
OrbitalKitten has joined #ruby
aryaching has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
<imperator> >> 2 + 2
<ruboto> imperator # => 4 (https://eval.in/484126)
<blub> o_o
ht__ has joined #ruby
<imperator> >> ∑ [1,2,3]
<ruboto> imperator # => undefined method `∑' for main:Object (NoMethodError) ...check link for more (https://eval.in/484127)
FernandoBasso has quit [Quit: Leaving]
<imperator> ruboto, gem install notation
puria has quit [Ping timeout: 250 seconds]
elton has joined #ruby
dt__ has quit [Ping timeout: 252 seconds]
gluec_ has joined #ruby
<imperator> ruboto, ?gem
<imperator> huh
GlueC has quit [Ping timeout: 246 seconds]
puria has joined #ruby
rgrmatt has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
dlitvak has quit [Remote host closed the connection]
<apeiros> imperator: it'd be ?gem, but I don't think we've got a factoid
<imperator> ok
elton has quit [Ping timeout: 256 seconds]
<apeiros> and:
<apeiros> >> def ∑(*s); s.inject(:+); end; ∑ 1,2,3
<ruboto> apeiros # => 6 (https://eval.in/484129)
<apeiros> because!
<imperator> apeiros, gem install notation :)
<apeiros> gem help install
<imperator> oh, yours is even craftier
aspire has joined #ruby
<apeiros> >> def ∑(from, to); (from..to).inject(:+); end; ∑(1,3) { |x| x }
<ruboto> apeiros # => 6 (https://eval.in/484130)
<imperator> well, i'll just argue that i'm supporting 1.8 ;)
<imperator> yeah, that's it
<apeiros> zombinator?
<jhass> >> def ∑(*s, &block); s.map(&block).inject(:+); end; ∑(1,2,3) {|n| n**2 }
<ruboto> jhass # => 14 (https://eval.in/484131)
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
<imperator> >> def ∏(*a); a.inject(:*); end; ∏ 2,3,4
<ruboto> imperator # => 24 (https://eval.in/484132)
<adaedra> You're going to do the whole greek alphabet?
<shevy> Papierkorb hehe you even use $app :)
<apeiros> jhass: I think mathematical ∑ is with x from/to
<jhass> it's all sort of things
<apeiros> (or actually any named param)
<imperator> adaedra, be cool if you could do all the math symbols, but ruby won't parse them as RHS arguments
<imperator> least, not last time i checked
<jhass> you can't really map it to a single function
nerium has joined #ruby
Wsewolod has joined #ruby
joaovitor has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
tenderlove has joined #ruby
joaovitor has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
devoldmx has joined #ruby
s00pcan has quit [Remote host closed the connection]
<imperator> >> class Array; def ∩ (array); self - array; end; end; [1,2,3] ∩ [2,3,4]
<ruboto> imperator # => /tmp/execpad-a46d75bf3058/source-a46d75bf3058:2: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/484133)
s00pcan has joined #ruby
jgt1 has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ethe has quit [Quit: *.net *.splot]
<imperator> wah
OrbitalKitten has joined #ruby
hobodave has joined #ruby
OrbitalKitten has quit [Client Quit]
gummybehr_p has quit [Ping timeout: 240 seconds]
<adaedra> >> class Array; def ∩ (array); self - array; end; end; [1,2,3].∩ [2,3,4]
<ruboto> adaedra # => [1] (https://eval.in/484134)
wildlander has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 256 seconds]
<adaedra> that's not really it, isn't it?
tenderlove has quit [Ping timeout: 272 seconds]
<imperator> probably not, i was lazy
jawa_ has joined #ruby
jgt1 has quit [Ping timeout: 272 seconds]
ht__ has quit [Quit: Konversation terminated!]
nertzy has quit [Quit: This computer has gone to sleep]
shanemcd has quit [Remote host closed the connection]
ethe has joined #ruby
prateekp has quit [Ping timeout: 252 seconds]
<imperator> welp, guess i'll just have to modify the parser
nocd has joined #ruby
Suntzu has quit [Ping timeout: 272 seconds]
ht__ has joined #ruby
ht__ has quit [Client Quit]
ht__ has joined #ruby
dlitvak has joined #ruby
minimalism has joined #ruby
sumark has quit [Remote host closed the connection]
sumark has joined #ruby
zeroDivisible has joined #ruby
symm- has joined #ruby
ht__ has quit [Client Quit]
ElFerna has joined #ruby
<shevy> imperator are you still using ruby on windows by the way?
<imperator> not in actual production, but i still maintain the libs for people
shanemcd has joined #ruby
ht__ has joined #ruby
baweaver has joined #ruby
kmckelvin has quit [Ping timeout: 256 seconds]
nateberkopec has quit [Quit: Leaving...]
mokha has joined #ruby
<shevy> :)
ht__ has quit [Client Quit]
shanemcd has quit [Remote host closed the connection]
minimalism has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
kies has joined #ruby
shock_one has joined #ruby
ht__ has joined #ruby
<shevy> hmm .. in ruby, suppose you have a file called foobar.rb and this has some options such as --help now a user may invoke a non-existing option such as --gummybears, what is the proper ruby way to deal with that?
nocd has left #ruby [#ruby]
wildlander has joined #ruby
codeurge has joined #ruby
zly has quit [Changing host]
zly has joined #ruby
dionysus69 has joined #ruby
RobertBirnie has joined #ruby
ht__ has quit [Client Quit]
ht__ has joined #ruby
voodo has quit [Quit: Leaving...]
ornerymoose has joined #ruby
ht__ has quit [Client Quit]
<imperator> typically you would use an option parser of some sort, and let the user know that was an invalid option
ht__ has joined #ruby
kp666 has joined #ruby
kp666 has quit [Max SendQ exceeded]
<shevy> should the main program continue, and just report that it is unknown, or should it fail?
sepp2k1 has quit [Read error: Connection reset by peer]
kp666 has joined #ruby
minimalism has joined #ruby
HANJIN has joined #ruby
f00bar-32 has joined #ruby
printf has joined #ruby
gaiada has quit [Ping timeout: 250 seconds]
mooru has joined #ruby
<HANJIN> i have an error from the exam code about thread, here the code https://gist.github.com/OLouis/9d188e0dd05ea2ff11eb
dlitvak has quit [Remote host closed the connection]
<havenwood> HANJIN: Does what the error says make sense?
f00bar-32 has quit [Ping timeout: 250 seconds]
elton has joined #ruby
<HANJIN> havenwood: the error says ‘target thread must not be current thread’
darkxploit has quit [Ping timeout: 256 seconds]
<havenwood> >> Thread.list.first == Thread.current
<ruboto> havenwood # => true (https://eval.in/484136)
akem has joined #ruby
ethe has quit [Read error: Connection reset by peer]
skade has joined #ruby
chipotle has joined #ruby
<HANJIN> havenwood: then, shoud i have to use join method except Thread.list.first?
jhn has joined #ruby
<havenwood> HANJIN: Maybe keep a list of Threads that you create and only join those?
ht__ has quit [Quit: Konversation terminated!]
<havenwood> HANJIN: Or yeah, if you'd like to try removing the current Thread to explore: Thread.list - [Thread.current]
bronson has joined #ruby
<havenwood> >> Thread.list - [Thread.current]
<ruboto> havenwood # => [] (https://eval.in/484137)
<imperator> shevy, i would say fail
<havenwood> shevy: Implement --gummybears, of course!
<adaedra> shevy: non-existing option usually means the usage is printed before quitting with an error status.
tenderlove has joined #ruby
user1138 has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 250 seconds]
user1138 has joined #ruby
<shevy> ok
user1138 has quit [Remote host closed the connection]
sucks has joined #ruby
<shevy> havenwood yeah in this case though, I don't have support for the gummybears! but I realized that in one program, I was simply ignoring invalid input, and thought that this was not so good, thanks for the replies
user1138 has joined #ruby
dlitvak has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
darkxploit has joined #ruby
tenderlove has quit [Ping timeout: 240 seconds]
dlitvak has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
<HANJIN> havenwood: thank you, still i can’t solve this problem, at lease, now i knew why this error occurred. :)) for now i’ll try to solve this problem
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> HANJIN: Yell if you get stuck!
kmckelvin has joined #ruby
zeroDivisible has quit [Client Quit]
rdark has quit [Ping timeout: 256 seconds]
zeroDivisible has joined #ruby
chipotle has quit [Quit: cheerio]
RobertBirnie has joined #ruby
NeverDie has joined #ruby
chipotle has joined #ruby
RobertBirnie has quit [Client Quit]
OrbitalKitten has joined #ruby
OrbitalKitten has quit [Client Quit]
mgorbach has quit [Ping timeout: 272 seconds]
dlitvak has joined #ruby
imperator has quit [Quit: Leaving]
mgorbach has joined #ruby
citrusfizz has quit [Remote host closed the connection]
dlitvak has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
dlitvak has joined #ruby
lubarch has joined #ruby
lubarch has quit [Changing host]
lubarch has joined #ruby
phantummm has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
greg has joined #ruby
_stu_ has joined #ruby
nfk|laptop has quit [Quit: yawn]
ornerymoose has quit [Quit: ornerymoose]
RaceCondition has joined #ruby
<RaceCondition> can I suppress some rubocop warnings/errors from the .rb source?
<hxegon> RaceCondition: # rubocop:disable RuleName
dlitvak has quit [Remote host closed the connection]
<RaceCondition> hxegon, exactly what I wanted...
<RaceCondition> can I also use rule number?
<hxegon> RaceCondition: although I can't get that to work personally
<hxegon> RaceCondition: not sure
lubarch has quit [Quit: leaving]
greg has quit [Quit: Leaving]
<hxegon> there is more info on the readme for rubocop
dlitvak has joined #ruby
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
dionysus69 has quit [Quit: dionysus69]
hobodave has quit [Quit: Computer has gone to sleep.]
ElFerna has quit [Ping timeout: 256 seconds]
dlitvak has quit [Remote host closed the connection]
Vitor_ has joined #ruby
goodcodeguy has joined #ruby
colegatron has quit [Ping timeout: 264 seconds]
agit0 has joined #ruby
goodcodeguy has quit [Client Quit]
goodcodeguy has joined #ruby
joast has joined #ruby
Vitor_ has quit [Ping timeout: 240 seconds]
ornerymoose has joined #ruby
radgeRayden_ has joined #ruby
nerium has quit [Quit: nerium]
radgeRayden has quit [Ping timeout: 250 seconds]
griffindy has joined #ruby
rgrmatt has joined #ruby
mooru has quit [Quit: Textual IRC Client: www.textualapp.com]
_whitelogger has joined #ruby
elton has quit [Ping timeout: 256 seconds]
cwong_on_irc has joined #ruby
jmcc_____ has joined #ruby
bttf_ has joined #ruby
contradictioned_ has joined #ruby
aphprentice_ has joined #ruby
golgaroth_ has joined #ruby
heftig_ has joined #ruby
arian0n has quit [Ping timeout: 260 seconds]
tvl has joined #ruby
ohcibi_ has joined #ruby
Ikzi has joined #ruby
chandlerbing_ has joined #ruby
avdi_ has joined #ruby
iooner- has joined #ruby
hinbody_ has joined #ruby
yosafbridge` has joined #ruby
pandaant_ has joined #ruby
mrsolo_ has joined #ruby
prosody_ has joined #ruby
huddy_ has joined #ruby
borkdude_ has joined #ruby
HashNuke_ has joined #ruby
im0b_ has joined #ruby
Guest4184___ has joined #ruby
Suntzu has joined #ruby
mjc__ has joined #ruby
G_ has joined #ruby
atumzin has quit [Read error: Connection reset by peer]
dr_Poggs has joined #ruby
hinbody has quit [Disconnected by services]
camilasann has joined #ruby
hinbody_ is now known as hinbody
skmp_ has joined #ruby
ELCALOR_ has joined #ruby
PhilK_ has joined #ruby
jtdowney_ has joined #ruby
DoYouKnow_ has joined #ruby
iamdevnul__ has joined #ruby
atumzin has joined #ruby
colstrom_ has joined #ruby
Mekkis_ has joined #ruby
catbusters_ has joined #ruby
pipecloud has joined #ruby
machty_ has joined #ruby
Hobbyboy|BNC has joined #ruby
tenderlove has quit [Ping timeout: 272 seconds]
countryHick_ has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
Downtime has joined #ruby
minimali1m has joined #ruby
yo61_ has joined #ruby
<Fire-Dragon-DoL> any alternative to thor? I'm about to burn that gem
sfr^^ has joined #ruby
jsrn_ has joined #ruby
TheTFEF has joined #ruby
[BNC]BLuEGoD has joined #ruby
bougyman_ has joined #ruby
cbeer has joined #ruby
schaary_ has joined #ruby
minimalism has quit [Disconnected by services]
hollywood has joined #ruby
soahccc_ has joined #ruby
minimali1m is now known as minimalism
tejasmanohar_ has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
rgrmatt has quit [*.net *.split]
joast has quit [*.net *.split]
aspire has quit [*.net *.split]
Zamerick has quit [*.net *.split]
zly has quit [*.net *.split]
kirun has quit [*.net *.split]
houhoulis has quit [*.net *.split]
greister has quit [*.net *.split]
daivyk has quit [*.net *.split]
ibouvousaime has quit [*.net *.split]
tildes has quit [*.net *.split]
Ishido has quit [*.net *.split]
pandaant has quit [*.net *.split]
c355E3B has quit [*.net *.split]
skmp has quit [*.net *.split]
iamdevnul_ has quit [*.net *.split]
hohenfall has quit [*.net *.split]
kalz has quit [*.net *.split]
kalzz has quit [*.net *.split]
jschmid has quit [*.net *.split]
WizJin has quit [*.net *.split]
G has quit [*.net *.split]
jxf has quit [*.net *.split]
HashNuke has quit [*.net *.split]
PhilK has quit [*.net *.split]
avdi has quit [*.net *.split]
ta has quit [*.net *.split]
threh has quit [*.net *.split]
hahuang65 has quit [*.net *.split]
Hien has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
null__ has quit [*.net *.split]
jordanm has quit [*.net *.split]
huddy has quit [*.net *.split]
tonini has quit [*.net *.split]
jhill has quit [*.net *.split]
sfr^ has quit [*.net *.split]
halfdan has quit [*.net *.split]
braderhart has quit [*.net *.split]
mjc_ has quit [*.net *.split]
tejasmanohar has quit [*.net *.split]
mroth has quit [*.net *.split]
chandlerbing has quit [*.net *.split]
Didac has quit [*.net *.split]
pipework has quit [*.net *.split]
TDJACR has quit [*.net *.split]
johnny56 has quit [*.net *.split]
cookiez has quit [*.net *.split]
Ikri has quit [*.net *.split]
lacrosse has quit [*.net *.split]
Trieste has quit [*.net *.split]
jtdowney has quit [*.net *.split]
soahccc has quit [*.net *.split]
Hobbyboy has quit [*.net *.split]
colstrom has quit [*.net *.split]
crayfishx has quit [*.net *.split]
artmann has quit [*.net *.split]
Uptime has quit [*.net *.split]
camilasan has quit [*.net *.split]
joaomdmoura_ has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
heyimwill has quit [*.net *.split]
krasnus has quit [*.net *.split]
aphprentice has quit [*.net *.split]
Fluent_ has quit [*.net *.split]
sorah has quit [*.net *.split]
heftig has quit [*.net *.split]
contradictioned has quit [*.net *.split]
drPoggs has quit [*.net *.split]
bttf has quit [*.net *.split]
jmcc____ has quit [*.net *.split]
ramblinpeck has quit [*.net *.split]
golgaroth has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
rfv has quit [*.net *.split]
charles81 has quit [*.net *.split]
Guest4184__ has quit [*.net *.split]
jlyndon has quit [*.net *.split]
ELCALOR has quit [*.net *.split]
schaary has quit [*.net *.split]
DoYouKnow has quit [*.net *.split]
Lloyd has quit [*.net *.split]
countryHick has quit [*.net *.split]
prosody has quit [*.net *.split]
mrsolo has quit [*.net *.split]
bove has quit [*.net *.split]
yo61 has quit [*.net *.split]
machty has quit [*.net *.split]
im0b has quit [*.net *.split]
mighty_gorilla has quit [*.net *.split]
Mekkis has quit [*.net *.split]
Elysia has quit [*.net *.split]
Nanuq has quit [*.net *.split]
borkdude has quit [*.net *.split]
bauruine has quit [*.net *.split]
BLuEGoD has quit [*.net *.split]
jokke has quit [*.net *.split]
LoganG has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
jsrn has quit [*.net *.split]
bougyman has quit [*.net *.split]
jhass has quit [*.net *.split]
Nightmare has quit [*.net *.split]
saneax_AFK has quit [*.net *.split]
iooner has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
guest192123 has quit [*.net *.split]
ohcibi has quit [*.net *.split]
_whitelogger_ has quit [*.net *.split]
Kamilion has quit [*.net *.split]
dellavg has quit [*.net *.split]
gremax has quit [*.net *.split]
catbusters has quit [*.net *.split]
ruurd has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
shanemcd has joined #ruby
Hobbyboy|BNC is now known as Hobbyboy
LoganG_ is now known as LoganG
tvl is now known as tobiasvl
amitchellbullard has joined #ruby
pipecloud is now known as pipework
user1138 has quit [Remote host closed the connection]
c355E3B_ has joined #ruby
<shevy> Fire-Dragon-DoL hehe
cbeer has left #ruby ["Quit"]
amitchellbullard has quit [Changing host]
amitchellbullard has joined #ruby
<shevy> Fire-Dragon-DoL that's how I feel about the stdlib option parser!
zly has joined #ruby
skmp_ is now known as skmp
devoldmx has joined #ruby
user1138 has joined #ruby
cwong_on_irc has quit [Quit: Leaving.]
Kamilion has joined #ruby
null__ has joined #ruby
null__ has quit [Changing host]
null__ has joined #ruby
<shevy> we have slop... we also have some other newer gem I think... but I forgot the name
<Fire-Dragon-DoL> shevy: class Whatever::Foo#foo ends up having command whatever:foo:foo, can't find a way to have whatever:foo -.-
<shevy> Fire-Dragon-DoL what exactly are your requirements?
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kalzz has joined #ruby
aspire has joined #ruby
jbrhbr has joined #ruby
<Fire-Dragon-DoL> shevy: thor was fine if it had some proper documentation but it doesn't. I want plain old ruby classes, bind a command to a method in one of those classes and option parsing was fine like thor, so nothing special...
tonini_ is now known as tonini
PhilK_ is now known as PhilK
<Fire-Dragon-DoL> can't believe it's that hard
huddy_ is now known as huddy
jxf_ is now known as jxf
schaary_ is now known as schaary
mjc__ is now known as mjc_
greister has joined #ruby
halfdan_ is now known as halfdan
kirun has joined #ruby
HashNuke_ is now known as HashNuke
Ishido has joined #ruby
countryHick_ is now known as countryHick
bougyman_ is now known as bougyman
avdi_ is now known as avdi
cjk101010 has joined #ruby
lxsameer has quit [Ping timeout: 250 seconds]
colstrom_ is now known as colstrom
jhill_ is now known as jhill
charles81_ is now known as charles81
tejasmanohar_ is now known as tejasmanohar
aphprentice_ is now known as aphprentice
mrsolo_ is now known as mrsolo
ramblinpeck_ is now known as ramblinpeck
Fluent has joined #ruby
saneax_AFK has joined #ruby
saneax_AFK is now known as saneax
golgaroth_ is now known as golgaroth
bauruine has joined #ruby
bove_ is now known as bove
jschmid has joined #ruby
im0b_ is now known as im0b
ethe has joined #ruby
jhass has joined #ruby
saneax is now known as Guest69113
Trieste has joined #ruby
Elysia has joined #ruby
bttf_ is now known as bttf
rfv_ is now known as rfv
jgt1 has joined #ruby
threh has joined #ruby
thesheff17 has joined #ruby
yo61_ is now known as yo61
ELCALOR_ is now known as ELCALOR
kalz has joined #ruby
dellavg has joined #ruby
ElFerna has joined #ruby
jokke has joined #ruby
ibouvousaime has joined #ruby
WizJin has joined #ruby
crayfishx has joined #ruby
hohenfall has joined #ruby
griffindy has quit [Quit: Textual IRC Client: www.textualapp.com]
prosody_ is now known as prosody
gremax has joined #ruby
codeurge has joined #ruby
TheTFEF is now known as Nightmare
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
machty_ is now known as machty
sorah has joined #ruby
jgt1 has quit [Ping timeout: 240 seconds]
lacrosse has joined #ruby
mrtomme has quit [Ping timeout: 246 seconds]
braderhart has joined #ruby
Lloyd has joined #ruby
Guest85414______ has joined #ruby
Didac has joined #ruby
mrtomme has joined #ruby
mroth has joined #ruby
baweaver has joined #ruby
TDJACR has joined #ruby
nateberkopec has joined #ruby
pandaant_ has quit [Remote host closed the connection]
jlyndon has joined #ruby
krobzaur has joined #ruby
nateberkopec has quit [Client Quit]
nonjs has joined #ruby
<nonjs> non native english speaker here, What exactly we call a software which developed with out considering too many use cases? like it works well if it meets all required conditions
johnny56 has joined #ruby
cookiez has joined #ruby
johnny56 has quit [Max SendQ exceeded]
Hien has joined #ruby
ruurd has joined #ruby
baweaver has quit [Ping timeout: 272 seconds]
ruurd is now known as Guest5103
johnny56 has joined #ruby
<jhass> not sure there's a canonical term for that
<hxegon> prototype kind of fits
<jhass> "not bloated"?
<Fire-Dragon-DoL> prototype fits I believe
<jhass> dunno, a prototype doesn't have all of the desired features yet IMO
<hxegon> eh, it is by definition the first or preliminary in a series, but it gets some of it across
krasnus has joined #ruby
c355E3B_ has quit []
c355E3B_ has joined #ruby
nibbo has joined #ruby
shock_one has quit [Remote host closed the connection]
shock_one has joined #ruby
n008f4g_ has joined #ruby
<nonjs> not that word, or may a software without enough foundation? without following best practices?
Nanuq has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.3]
<blub> whats the opposite of robust
<nickjj> mvp?
<havenwood> tsubor
kies has quit [Ping timeout: 256 seconds]
<havenwood> blub: fragile
govg has quit [Ping timeout: 272 seconds]
rakm has joined #ruby
c355E3B_ is now known as c355e3b
c355e3b has quit []
BSaboia has quit [Read error: Connection reset by peer]
c355e3b has joined #ruby
govg has joined #ruby
snguyen has joined #ruby
nibbo has quit [Ping timeout: 272 seconds]
n008f4g_ has quit [Ping timeout: 240 seconds]
zast has joined #ruby
joast has joined #ruby
lxsameer has joined #ruby
kobain has quit [Ping timeout: 240 seconds]
lxsameer has quit [Changing host]
lxsameer has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nonjs> blub: not exactly, may be a software with too much duct tapes? the phrase is quite common.
rakm has quit [Client Quit]
sepp2k has joined #ruby
jgt1 has joined #ruby
tomphp has joined #ruby
Mon_Ouie has joined #ruby
mokha has quit [Ping timeout: 252 seconds]
dlitvak has joined #ruby
Coldblackice has joined #ruby
rippa has joined #ruby
<hxegon> nonjs: cludge?
<hxegon> or kludge
RegulationD has joined #ruby
<jhass> nonjs: what's your native language and which term would you use there?
<blub> a kludge is much more localised
guest192123 has joined #ruby
Yzguy has joined #ruby
nibbo has joined #ruby
yardenbar has quit [Ping timeout: 256 seconds]
tildes_ has quit [Ping timeout: 256 seconds]
tenderlove has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
cdg has joined #ruby
nibbo has quit [Remote host closed the connection]
<havenwood> blub: Are you trying to say a thing is incomplete or brittle or something else?
al2o3-cr has joined #ruby
shock_one has quit [Remote host closed the connection]
<blub> i was just trying to figure out nonjs' word
<havenwood> blub: Aha!
FernandoBasso has joined #ruby
<havenwood> I totally missed the context. Time for coffee!
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tildes has joined #ruby
goodcodeguy has joined #ruby
<havenwood> nonjs: Maybe myopic and brittle.
<havenwood> And incomplete. :P
tenderlove has quit [Ping timeout: 240 seconds]
<hxegon> schwifty?
shock_one has joined #ruby
elton has joined #ruby
<nonjs> didn't got the word I'm looking, but learned many new words :)
<havenwood> nonjs: What word would it be in your native lang?
User458764 has quit [Ping timeout: 256 seconds]
<Ox0dea> nonjs: Spaghetti? Hodgepodge?
rakm has joined #ruby
User458764 has joined #ruby
<Ox0dea> Rube Goldberg machine?
heyimwill has joined #ruby
dlitvak has quit [Remote host closed the connection]
<nonjs> havenwood: we usually use something like "paper castle" in my native language, but there was picture of house which demonstrate this software development problem, with small foundation, un expected extenstion from the middle and all, and there was word/phrase with that image
elton has quit [Ping timeout: 240 seconds]
<hxegon> nonjs: house of cards is the english equivalent
<havenwood> Aye, a house of cards.
dlitvak has joined #ruby
<hxegon> you breathe wrong near it and the whole thing comes down, YOU HEAR THAT SECOND GRADE TEACHER, YOU FREAK
jgt1 has quit [Ping timeout: 240 seconds]
<havenwood> straw house
kalopsian has joined #ruby
<nonjs> I guess that's the word I'm looking, thanks a lot blub, hxegon, havenwood and evryone :)
symm- has quit [Ping timeout: 256 seconds]
dlitvak has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 272 seconds]
thejamespinto has joined #ruby
arian0n has joined #ruby
berserk_ren has quit [Remote host closed the connection]
nibbo has joined #ruby
arup_r has joined #ruby
dlitvak has joined #ruby
pdoherty has quit [Ping timeout: 240 seconds]
<shevy> blub helped!
* shevy upvotes blub
jhn has quit [Quit: Textual IRC Client: www.textualapp.com]
<blub> hi shevy
<Ox0dea> hi blub
<blub> hi ox0dea
aryaching has quit [Ping timeout: 256 seconds]
DeXterbed has quit [Ping timeout: 240 seconds]
jbrhbr has quit [Quit: Leaving.]
tildes has quit [Ping timeout: 272 seconds]
kalopsian has quit [Quit: leaving]
grayjedi has joined #ruby
elton has joined #ruby
ibouvousaime has quit [Ping timeout: 256 seconds]
ElFerna has quit [Ping timeout: 256 seconds]
dlitvak has quit [Ping timeout: 240 seconds]
RegulationD has joined #ruby
ta_ has quit [Remote host closed the connection]
puria has quit [Remote host closed the connection]
baroquebobcat has quit [Read error: Connection reset by peer]
ta has joined #ruby
lapide_viridi has joined #ruby
f00bar-32 has joined #ruby
fexilal has joined #ruby
nonjs has quit [Quit: Page closed]
<fexilal> j #rubyonrails
baroquebobcat has joined #ruby
ibouvousaime has joined #ruby
<shevy> don't!
<shevy> it's evil there
ElFerna has joined #ruby
<fexilal> but they are so nice in there
symm- has joined #ruby
Downtime is now known as Uptime
s00pcan has quit [Remote host closed the connection]
dlitvak has joined #ruby
s00pcan has joined #ruby
elton has quit []
calderonroberto has joined #ruby
s00pcan has quit [Remote host closed the connection]
voodo has joined #ruby
s00pcan has joined #ruby
ta has quit [Remote host closed the connection]
HANJIN has left #ruby [#ruby]
nibbo has quit [Ping timeout: 272 seconds]
calderonroberto has quit [Quit: Leaving]
nibbo has joined #ruby
calderonroberto has joined #ruby
Jardayn has joined #ruby
DoYouKnow_ has quit []
trwyth has joined #ruby
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
User458764 has joined #ruby
phantummm has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
DoYouKnow has joined #ruby
nibbo has quit [Ping timeout: 250 seconds]
joneshf-laptop has quit [Remote host closed the connection]
snguyen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snguyen has joined #ruby
snguyen has quit [Client Quit]
joneshf-laptop has joined #ruby
tenderlove has joined #ruby
kadoppe has quit [Ping timeout: 256 seconds]
kies has joined #ruby
azgil has joined #ruby
kadoppe has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Vitor has joined #ruby
arooni has joined #ruby
goodcodeguy has joined #ruby
Vitor has quit [Ping timeout: 272 seconds]
nerium has joined #ruby
rgrmatt has joined #ruby
_stu_ has quit [Quit: _stu_]
tenderlove has quit [Ping timeout: 256 seconds]
s00pcan has quit [Ping timeout: 240 seconds]
devoldmx has quit [Remote host closed the connection]
govg has quit [Ping timeout: 256 seconds]
s00pcan has joined #ruby
govg has joined #ruby
nfk|laptop has joined #ruby
trwyth has quit [Read error: Connection reset by peer]
User458764 has quit [Ping timeout: 240 seconds]
psy_ has quit [Remote host closed the connection]
rgrmatt has quit [Ping timeout: 256 seconds]
kies has quit [Ping timeout: 256 seconds]
voodo is now known as voodo|away
codeurge has joined #ruby
ElFerna has quit [Ping timeout: 250 seconds]
txdv_ has joined #ruby
bronson has joined #ruby
User458764 has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.3]
nibbo has joined #ruby
al2o3-cr has joined #ruby
al2o3-cr has quit [Client Quit]
ElFerna has joined #ruby
al2o3-cr has joined #ruby
kirun has quit [Quit: Client exiting]
freerobby has joined #ruby
Oli has joined #ruby
Oli is now known as Guest66119
agit0 has quit [Quit: zzzZZZ….]
whippythellama has quit [Ping timeout: 272 seconds]
bronson has quit [Ping timeout: 256 seconds]
<moss> hoi
kies has joined #ruby
<Ox0dea> Ahoy!
houhouli_ has quit []
_stu_ has joined #ruby
baweaver has joined #ruby
dlitvak has quit [Remote host closed the connection]
DLSteve has joined #ruby
agent_white has joined #ruby
karidoe has joined #ruby
ta has joined #ruby
Yzguy has quit [Quit: Textual IRC Client: www.textualapp.com]
voodo|away is now known as voodo
<shevy> hey Ox0dea do you think I can do this in ruby too? a coloured-readline variant that is https://upload.wikimedia.org/wikipedia/commons/a/a8/Friendlyinteractiveshell.png
<Ox0dea> Of course.
<txdv_> time
<txdv_> shevy we miss yo
<Ox0dea> shevy: You've already played around with readline completion, no?
iateadonut has quit [Ping timeout: 240 seconds]
<Ox0dea> Incorporating color wouldn't be terribly difficult.
<Ox0dea> You'd have to maintain separate strings so that the ANSI escapes wouldn't mess with the completions, I suppose.
<shevy> Ox0dea yeah but not with colour-on-completion so far, only with regular readline completions
<shevy> the fish shell has crazy colour highlighting
<Ox0dea> Too much, I reckon.
<shevy> haha yeah
<Ox0dea> A shell is the last place I want to eat an "angry fruit salad".
ss_much has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
djbkd has joined #ruby
trwyth has joined #ruby
nibbo has quit [Ping timeout: 256 seconds]
matp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
kies has quit [Ping timeout: 272 seconds]
The_Phoenix has quit [Quit: Leaving.]
<shevy> coloured disco prompt man!
myztic_ has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
matp has joined #ruby
freerobby has quit [Quit: Leaving.]
trwyth has quit [Ping timeout: 272 seconds]
houhoulis has joined #ruby
nibbo has joined #ruby
grayjedi has quit [Quit: WeeChat 1.3]
shanemcd has quit [Remote host closed the connection]
atomical has joined #ruby
Wsewolod has quit [Ping timeout: 250 seconds]
myztic_ is now known as myztic
voodo is now known as voodo|away
Bloomer has quit [Remote host closed the connection]
kies has joined #ruby
grayjedi has joined #ruby
ta has quit [Remote host closed the connection]
shock_one has quit [Remote host closed the connection]
<Ox0dea> Hey, a new face at the top of the nicklist. What's up, [BNC]BLuEGoD?
nibbo has quit [Ping timeout: 272 seconds]
Wsewolod has joined #ruby
<adaedra> [ace] is still on top.
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
s2013 has quit [Ping timeout: 256 seconds]
<c355e3b> Got to get your non printable ascii chars to top that
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> adaedra: [ace] is at the *very* top.
shanemcd has joined #ruby
<adaedra> like no one ever was.
<Ox0dea> If we were to divide the nicklist into, say, top, middle, and bottom, [BNC]BLuEGoD is most certainly "at the top".
QualityAddict has quit []
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<txdv_> at the top, not the top
ornerymoose has joined #ruby
shanemcd has quit [Ping timeout: 256 seconds]
whippythellama has joined #ruby
User458764 has joined #ruby
nibbo has joined #ruby
chipotle has quit [Quit: cheerio]
kies has quit [Ping timeout: 240 seconds]
tenderlo_ has joined #ruby
sucks has quit [Quit: No Ping reply in 180 seconds.]
darkf has quit [Quit: Leaving]
rgrmatt has joined #ruby
devoldmx has joined #ruby
sucks has joined #ruby
tenderlo_ has quit [Ping timeout: 272 seconds]
FernandoBasso has quit [Ping timeout: 256 seconds]
Shapeshifter has joined #ruby
f00bar-32 has quit [Ping timeout: 256 seconds]
<jhass> Ox0dea: top, middle, bottom = nicklist # are you sure?
juddey_ has quit [Ping timeout: 256 seconds]
devoldmx has quit [Read error: No route to host]
<Ox0dea> jhass: top, middle, bottom = nicklist.each_slice(nicklist.size / 3) # I'm sure.
<jhass> so much noise
devoldmx has joined #ruby
<jhass> I find mine much cleaner!
rgrmatt has quit [Ping timeout: 250 seconds]
<Ox0dea> You'll have to take that up with core.
<Shapeshifter> Hi. How can I define a method to pass to sort? i.e. instead of doing .sort { |a, b| ... } I want to do sort(my_function) and specify my_function(a,b) somewhere.
nerium has quit [Quit: nerium]
kobain has joined #ruby
_stu_ has quit [Quit: _stu_]
freerobby has joined #ruby
nerium has joined #ruby
<jhass> .sort(&method(:there_are_no_functions_so_this_is_a_method)) # though what does it do? Sure you don't want sort_by?
devoldmx has quit [Remote host closed the connection]
brt has joined #ruby
skade has joined #ruby
<jhass> or SORTER = -> a, b { a <=> b }; .sort(&SORTER)
dorei has joined #ruby
<Ox0dea> Shapeshifter: I'm pretty sure you do want #sort_by, but you won't be able to use jhass's &method(:foo) recommendation without defining your custom sort method to take an Array instead of two individual elements.
<jhass> uh, duh
shock_one has joined #ruby
<Ox0dea> Still, it'd be neat if there were a way to splat that.
chipotle has joined #ruby
kies has joined #ruby
<Shapeshifter> Thanks. It's a bit daft, really, I have this domain object that doesn't support an ordering, and I want to order specific instances. There are only 4 instances and I need to sort them in a view so I didn't think it was reasonable to make it comparable etc.
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brt has quit [Ping timeout: 272 seconds]
skweek has joined #ruby
baroquebobcat has quit [Read error: Connection reset by peer]
nwhirschfeld has quit [Remote host closed the connection]
<Ox0dea> Shapeshifter: https://eval.in/484179
<user1138> how many hours of studying would it take to be able to code in ruby?
baroquebobcat has joined #ruby
<Ox0dea> 4.
<Shapeshifter> Ox0dea: well yeah but I'm not sorting them by name alphabetically. Nor by any other alphabetical or numerical order. I need a specific order.
<adaedra> between 1 and 8275983465723469823905837028956438754.7
<Ox0dea> Shapeshifter: Name was just an example?
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> It's just a method like any other in that demonstration.
shock_one has quit [Remote host closed the connection]
<Shapeshifter> Ox0dea: what if I want these to be sorted specifically like ["Carol", "Bob", "Alice"]
<Shapeshifter> Ox0dea: and assume that sometimes one of them could be missing
<Ox0dea> I don't follow.
<Shapeshifter> but if "bob" is there, it should come after "carol" and before "alice"
nwhirschfeld has joined #ruby
kies has quit [Ping timeout: 240 seconds]
User458764 has quit [Ping timeout: 250 seconds]
dionysus69 has joined #ruby
<Shapeshifter> as in "Alice" > "Bob" > "Carol" that's the ordering I want
<Shapeshifter> What do I do?
<Ox0dea> >> ["Carol", "Bob", "Alice"].sort # Shapeshifter
<ruboto> Ox0dea # => ["Alice", "Bob", "Carol"] (https://eval.in/484180)
<jhass> user1138: 1-256 hours, depends on you
<Ox0dea> Shapeshifter: I'm not sure you properly understand sorting. Why should some element's absence affect the order of the others?
howdoico1 has joined #ruby
<Shapeshifter> Ox0dea: no... It's so trivial it's hard to explain :D
agit0 has joined #ruby
agit0 has quit [Client Quit]
rgrmatt has joined #ruby
User458764 has joined #ruby
<Ox0dea> Shapeshifter: Are you sure you need to bother with extracting this out to a method? `foo.sort_by { |x| x.some_property }` is probably what you want.
kobain has quit [Ping timeout: 240 seconds]
goodcodeguy has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
Zamerick_ has quit [Ping timeout: 240 seconds]
AndroidLoverInSF has joined #ruby
rakm has quit [Quit: Textual IRC Client: www.textualapp.com]
howdoico1 has quit [Ping timeout: 240 seconds]
agit0 has joined #ruby
yasu___ is now known as yasu
slact has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0a1/20151114030404]]
agent_white has quit [Ping timeout: 240 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Shapeshifter> Ox0dea: but how can I define a specific ordering like that. I mean, this just sorts alphabetically. I want to give possible instances (names) a specific order.
karidoe has quit [Remote host closed the connection]
falkhan has joined #ruby
bigmac has joined #ruby
kies has joined #ruby
<user1138> jhass, whats the best resource for someone wanting to learn ruby with no programming experience?
agit0 has quit [Client Quit]
<jhass> user1138: Chris Pine's Learn to program
<hxegon> Shapeshifter: Like define that x goes before y goes before z, not because of a specific property of x y or z?
<user1138> what about khan academy?
<jhass> user1138: it shows the syntax and structures but not the mindset
<Shapeshifter> Ox0dea: https://eval.in/484183
<Shapeshifter> Ox0dea: my desired order would be ["Alice", "Carol", "Bob", "Jim"] but it's not working like that
rgrmatt has quit [Remote host closed the connection]
falkhan has quit [Quit: Leaving]
<Ox0dea> Shapeshifter: I still don't get it. :<
Mon_Ouie has quit [Ping timeout: 256 seconds]
<Shapeshifter> Ox0dea: The people array contains 4 instances. Of those instances (could be any number), some need to be in a specific place (i.e. before others)
<jhass> Shapeshifter: a.name
<Shapeshifter> those that need to be before/after each other are listed in order
<Shapeshifter> jhass: no that would be alphabetically again
<jhass> no
<jhass> order[a.name]
<Shapeshifter> jhass: ah yes
<Shapeshifter> https://eval.in/484184 still not working though
<jhass> derp
<jhass> you got symbol keys
<Ox0dea> >> {'Alice': 1}.keys[0].class # Shapeshifter
<ruboto> Ox0dea # => Symbol (https://eval.in/484187)
yqt has joined #ruby
<Ox0dea> s/-1/Float::INFINITY/ maybe.
dlitvak has joined #ruby
<Shapeshifter> jhass: oh.
<Shapeshifter> jhass: thanks!
zarubin has joined #ruby
cdg has quit [Remote host closed the connection]
hxegon has quit [Read error: Connection reset by peer]
f00bar-32 has joined #ruby
zarubin has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
zarubin has quit [Remote host closed the connection]
rgrmatt has joined #ruby
zarubin has joined #ruby
hxegon has joined #ruby
duncannz has joined #ruby
DavidDudson has joined #ruby
nerium has quit [Quit: nerium]
grayjedi has quit [Quit: WeeChat 1.3]
nateberkopec has joined #ruby
Rickmasta has joined #ruby
zarubin has quit [Ping timeout: 240 seconds]
Asher has quit [Quit: Leaving.]
edwardly has quit [Ping timeout: 246 seconds]
nateberkopec has quit [Client Quit]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
Asher has joined #ruby
brt has joined #ruby
nateberkopec has joined #ruby
keys has joined #ruby
howdoi has joined #ruby
codecop has quit [Remote host closed the connection]
zarubin has joined #ruby
zarubin has quit [Remote host closed the connection]
cdg has joined #ruby
yfeldblum has joined #ruby
krobzaur has quit [Ping timeout: 250 seconds]
cdg has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
AndroidLoverInSF has quit [Quit: Leaving]
armyriad has quit [Ping timeout: 256 seconds]
armyriad has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
cwong_on_irc has joined #ruby
user1138 has quit [Quit: Leaving]
cwong_on_irc has quit [Max SendQ exceeded]
cwong_on_irc has joined #ruby
brt has quit [Ping timeout: 240 seconds]
armyriad has quit [Max SendQ exceeded]
armyriad has joined #ruby
BTRE has quit [Quit: Leaving]
thejamespinto has quit [Remote host closed the connection]
arup_r has quit []
bronson has joined #ruby
Spami has joined #ruby
ta has joined #ruby
keys has quit [Quit: Lost terminal]
yeticry has quit [Read error: Connection reset by peer]
Ketchy has joined #ruby
yeticry has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
whippythellama has quit [Ping timeout: 240 seconds]
Spami has quit [Quit: Leaving]
moeabdol2 has joined #ruby
dlitvak has joined #ruby
user083 has joined #ruby
gvaughn has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
FernandoBasso has joined #ruby
Wsewolod has quit [Ping timeout: 240 seconds]
lapide_viridi has quit [Read error: Connection reset by peer]
kies has quit [Ping timeout: 250 seconds]
ta has quit [Ping timeout: 256 seconds]
toretore has quit [Ping timeout: 250 seconds]
nateberkopec has quit [Quit: Leaving...]
agit0 has joined #ruby
The_Phoenix has joined #ruby
shock_one has joined #ruby
agit0 has quit [Client Quit]
The_Phoenix has quit [Read error: Connection reset by peer]
ornerymoose has quit [Quit: ornerymoose]
toretore has joined #ruby
rgrmatt has quit [Remote host closed the connection]
reaVer has quit [Remote host closed the connection]
zarubin has joined #ruby
shock_one has quit [Ping timeout: 250 seconds]
user1138 has joined #ruby
reaVer has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
rgrmatt has joined #ruby
thejamespinto has joined #ruby
chipotle has quit [Quit: cheerio]
akem has quit [Remote host closed the connection]
InvGhost has quit [Ping timeout: 240 seconds]
calderonroberto has quit [Ping timeout: 240 seconds]
whippythellama has joined #ruby
weemsledeux has joined #ruby
rgrmatt has quit [Ping timeout: 256 seconds]
Jackneill has quit [Ping timeout: 250 seconds]
thejamespinto has quit [Ping timeout: 250 seconds]
_stu_ has joined #ruby
n_blownapart has joined #ruby
tenderlove has joined #ruby
moeabdol2 has quit [Quit: WeeChat 1.3]
Pisuke has quit [Quit: WeeChat 1.4-dev]
ruurd has joined #ruby
krobzaur has joined #ruby
ruurd has quit [Client Quit]
Platonides has joined #ruby
<Platonides> hello all
tenderlove has quit [Ping timeout: 240 seconds]
<Platonides> I'm trying to do a bundle install
<Platonides> which requires eventmachine (1.0.3)
<Platonides> however, eventmachine 1.0.3 fails to compile
<adaedra> what's the error?
<Platonides> (1.0.8 compiles fine, but that's not the one it needs)
<Platonides> em.cpp:574:37: error: ‘rb_thread_select not declared
<c355e3b> Feels like a ruby version issue?
<Platonides> I have no idea, I'm using ruby 2.2.3p173 (2015-08-18 revision 51636)
kies has joined #ruby
minimalism has quit [Quit: leaving]
<Platonides> is there a way to make it find 1.0.8 when it's looking fo 1.0.3 ?
<Ox0dea> Platonides: Modify the Gemfile?
<apeiros> Platonides: bundle update eventmachine
<Ox0dea> Or that.
<apeiros> and if that doesn't help, what Ox0dea just said
<apeiros> (it won't help if the Gemfile specifically requires 1.0.3)
<Ox0dea> Platonides: Do you mind saying which project?
<Ox0dea> It's unlikely to be the case that the dependency on 1.0.3 is a hard one.
<Platonides> thanks :)
trwyth has joined #ruby
InvGhost has joined #ruby
armyriad has quit [Ping timeout: 256 seconds]
firstdayonthejob has joined #ruby
<Platonides> I'm trying to build https://git.wikimedia.org/summary/?r=wikimedia/TransparencyReport.git
Guest5103 is now known as ruurd
<Platonides> but eventmachine is not listed in the Gemfile
<Platonides> it's probably a dependency of middleman
minimalism has joined #ruby
zerowaitstate has joined #ruby
<c355e3b> Hmm it should be
<c355e3b> If you grep event machine should show up
<apeiros> it can be a dependency of a listed gem
<apeiros> see Gemfile.lock
agit0 has joined #ruby
ruby-lang013 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
zarubin has quit [Remote host closed the connection]
zarubin has joined #ruby
<Platonides> it does appear in the Gemfile.lock
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FernandoBasso has quit [Quit: Leaving]
<c355e3b> Platonides: remove the live reload gem from the
<c355e3b> Gemfile
<c355e3b> Then try
zarubin has quit [Remote host closed the connection]
<Platonides> it's not using eventmachine now
juddey has joined #ruby
<c355e3b> Yeah looks like the live reload plugin form middleman wanted it
<c355e3b> So if you want that back you should update it
akem has joined #ruby
ruid has joined #ruby
ruid has quit [Changing host]
ruid has joined #ruby
tenderlove has joined #ruby
minimalism has quit [Quit: leaving]
ruby-lang013 has quit [Ping timeout: 252 seconds]
zly has quit [Changing host]
zly has joined #ruby
whippythellama has quit [Quit: WeeChat 1.3]
zarubin has joined #ruby
zarubin has quit [Remote host closed the connection]
tenderlove has quit [Ping timeout: 256 seconds]
renderf__ has joined #ruby
trwyth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Wsewolod has joined #ruby
renderfu_ has quit [Ping timeout: 250 seconds]
moeabdol has joined #ruby
minimalism has joined #ruby
codeurge has quit [Quit: Textual IRC Client: www.textualapp.com]
Cohedrin has joined #ruby
<Diabolik> what would be the regex matcher for a phone number
<Diabolik> so for exampel
<Diabolik> (123) 456-7890
<havenwood> Diabolik: Always in that format?
<Diabolik> yes
ruid has quit [Ping timeout: 256 seconds]
<Diabolik> including the space after first 3 numbers
freerobby has quit [Quit: Leaving.]
ta has joined #ruby
* Platonides remembers Diabolik that many people don't have phone numbers with such format
<Diabolik> thanks Platonides its for specific use casd
<Diabolik> e
<jhass> Diabolik: rubular.com
<havenwood> Diabolik: So open parens, three digits, close parens, a space, three digits, a dash and four digits? Escape everything! Do you know how to digits? Or multiple digits?
<Diabolik> what do you mean how to digits?
<Platonides> I hope so, but I have seen a good number of X-Y problems :)
<havenwood> Diabolik: See Rubular ^
n_blownapart has quit [Remote host closed the connection]
<havenwood> Diabolik: "Any digit"
<jhass> Diabolik: show us your attempt
<havenwood> Diabolik: escape the parens and dash with \ (backslashes)
<Diabolik> i started with (/\d[0-9]\)*\z/)
<jhass> havenwood: no need to escape the dash in that context
<havenwood> jhass: ah, right
<jhass> Diabolik: \d is equal to [0-9]
<Platonides> this would work: /^\([0-9]{3}\) [0-9]{3}-[0-9]{4}$/
<Platonides> \d is already a number
<havenwood> Platonides: From the docs: /\d/ - A digit character ([0-9])
<Platonides> you were matching two digits inside the parents
<jhass> Platonides: \A & \z if you want to anchor to start & end of string
ta has quit [Ping timeout: 240 seconds]
<Platonides> jhass: good point
<Platonides> this would faile with multiline
<havenwood> (Different than `/[[:digit:]]/ `.)
<havenwood> " For instance, /\d/ matches only the ASCII decimal digits (0-9); whereas /[[:digit:]]/ matches any character in the Unicode Nd category."
<Ox0dea> >> 0x0dea.chr(Encoding::UTF_8).match /[[:digit:]]/
<havenwood> Diabolik: Speaking of the docs! It's worth giving them a couple reads: http://ruby-doc.org/core/Regexp.html
<ruboto> Ox0dea # => #<MatchData "෪"> (https://eval.in/484211)
<Diabolik> thanks havenwood
<Platonides> havenwood: not all regex flavors support \d, while all support [0-9]
<Diabolik> it's not working but hmm
<Diabolik> il figure it out
<havenwood> Platonides: #ruby
krobzaur has quit [Ping timeout: 256 seconds]
<Ox0dea> Platonides: 2015
<havenwood> Platonides: :P
* apeiros for some reason prefers the \p classes over the [[::]] classes
<apeiros> i.e. \p{digit}
underplank has joined #ruby
* Platonides just explains the choice, \d is obviously fine for a ruby regex
myztic has quit [Ping timeout: 256 seconds]
<apeiros> Platonides: uh, I think even oracle's regex engine supports \d, and that is so far my standard for "worst possible regex engine"
<adaedra> [[:\p{digit}:]]
<jhass> mh, are there actually equivalent \p's for all [[::]]'s?
<Ox0dea> Should be.
<apeiros> I wish \p understood set semantics
<apeiros> \p{Digits & Otherthing}
<underplank> Hi all. Is there a way with optparse to have dynamic parameters? I basically want to convert say “—bar baz —foo bar” into {“bar”: “baz”, “foo”, “bar”}
<underplank> so I can then pass that into an erb template to render?
<apeiros> same for |, - and ^
<underplank> Also if there is a better way to do this, let me know. just starting at ruby
myztic has joined #ruby
<Ox0dea> >> '-foo bar -baz quux'.scan(/-(\w+) (\w+)/).to_h # underplank
<ruboto> Ox0dea # => {"foo"=>"bar", "baz"=>"quux"} (https://eval.in/484212)
<Ox0dea> But probably don't actually do that.
skweek has quit [Ping timeout: 250 seconds]
<jhass> Ox0dea: ARGV
<Ox0dea> jhass: ?
<jhass> asking about optparse, they don't have them as single string I bet
<Ox0dea> ruboto doesn't accept command-line arguments.
<jhass> still, ARGV isn't a single string
<underplank> yeah I mean I guess I can just use ARGV, but was hoping to be able to use something a little more robust
<Ox0dea> underplank: But you're not doing something robust?
<Ox0dea> By "dynamic", you seem to have meant "free-form".
agit0 has quit [Ping timeout: 240 seconds]
krobzaur has joined #ruby
<underplank> Ox0dea: Yes, But free form arguments is quite different than “not-robust”
<Ox0dea> I disagree.
<Ox0dea> The two seem to me to be diametrically opposed.
<underplank> Ahh well I guess that depends on the use case. And I think you have probably made some assumptions about my use case that isnt correct.
<Ox0dea> Whose fault do you reckon that might be?
<havenwood> underplank: Maybe you'd like looking at this gem: https://github.com/janlelis/rationalist#readme
<Ox0dea> underplank: If you've got *only* argument-value pairs in ARGV, `ARGV.each_slice(2).to_h` should get you most of the way there.
<havenwood> ruby example/parse.rb -a beep -b boop #=> {:_=>[], :a=>"beep", :b=>"boop"}
zerowaitstate has quit [Quit: leaving]
stevednd has joined #ruby
<underplank> thanks havenwood and Ox0dea i’ll have a look at both of those.
brt has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
n_blownapart has joined #ruby
kiez0rd has joined #ruby
tenderlove has joined #ruby
<Diabolik> what is the smartest way to approach something like this?
f00bar-32 has quit [Ping timeout: 240 seconds]
kies has quit [Ping timeout: 250 seconds]
zarubin has joined #ruby
colegatron has quit [Ping timeout: 250 seconds]
stevenxl has joined #ruby
<Ox0dea> >> srand 42; rand 100 # Diabolik
<ruboto> Ox0dea # => 51 (https://eval.in/484218)
<stevenxl> Hey guys - what is the implication that all symbols are stored in a symbol table?
<Ox0dea> >> srand 42; rand 100 # Diabolik
<ruboto> Ox0dea # => 51 (https://eval.in/484219)
<stevenxl> All names I mean.
<stevenxl> It must be done for a reason.
<Ox0dea> stevenxl: How do you mean?
<Diabolik> how can i do this other than guesswork
<Ox0dea> Diabolik: I just showed you.
<jhass> Diabolik: you want to learn about seed values for PRNGs
<stevenxl> Ox0dea: Why does the Ruby interpreter store all names within a symbol table? For example. If I type :abc into an Ruby REPL, it will add that symbol into a an array that I can access via Symbol.all_symbols.
bahar_ has quit [Ping timeout: 250 seconds]
<stevenxl> And it does this for all "names" - I can type in name = "Steven" and that table will now contain the symbol :name.
<stevenxl> I'm interested in what the point of doing all of that is.
<Ox0dea> stevenxl: It's essentially just an implementation detail.
_stu_ has quit [Quit: _stu_]
sucks has quit [Ping timeout: 256 seconds]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Diabolik> Ox0dea I don't understand
n_blownapart has quit []
<Ox0dea> Diabolik: Which number would you like me to make `rand 100` generate?
<shevy> 42
<Diabolik> within that kata i can only edit guess
<Diabolik> i think
n_blownapart has joined #ruby
<jhass> Diabolik: did you research the terms I've given you yet?
<Diabolik> yeah
<blub> does ruby have uninterned symbols
<Diabolik> im reading atm
<jhass> Diabolik: what did you learn?
<Ox0dea> blub: No.
zarubin has quit [Ping timeout: 272 seconds]
<Diabolik> The PRNG-generated sequence is not truly random, because it is completely determined by a relatively small set of initial values, called the PRNG's seed (which may include truly random values)
<jhass> That's a nice copy paste
bahar has joined #ruby
<Ox0dea> >> srand 18; rand 100 # shevy
<ruboto> Ox0dea # => 42 (https://eval.in/484222)
<havenwood> Diabolik: gem install pry pry-doc && pry # then try entering `? rand` or `? srand`
<Ox0dea> Diabolik: shevy asked me to make it spit out 42, and I did so. Was it magic?
<Diabolik> no
<Ox0dea> You are allowed to edit more than `guess`.
<Ox0dea> The point of the exercise is to teach you about seeding a PRNG.
<shevy> blub hmm I thought that symbols don't need to be stored anywhere
fexilal has quit [Ping timeout: 240 seconds]
felixal has joined #ruby
sucks has joined #ruby
rgrmatt has joined #ruby
<Ox0dea> stevenxl: Symbol.all_symbols isn't an Array that gets appended to; it's a convenience that walks the internal table to find all the Symbols each time you call it.
skweek has joined #ruby
<Ox0dea> That assignment creates a Symbol is, again, an implementation detail.
printf has quit [Ping timeout: 250 seconds]
n_blownapart has quit []
<underplank> stevenxl: I imagine the reason it keeps it in a symbol table is because each symbol is a reference to something. And if in a few lines you go to reference that again, it needs somewhere to look it up, to see what you are trying to reference
colegatron has joined #ruby
lxsameer has quit [Quit: Leaving]
TomyLobo has quit [Ping timeout: 256 seconds]
nateberkopec has joined #ruby
printf has joined #ruby
printf has quit [Disconnected by services]
kaka__ has joined #ruby
jottr has joined #ruby
bronson has joined #ruby
charliesome has joined #ruby
metredigm has joined #ruby
DavidDudson has joined #ruby
spider-mario has quit [Remote host closed the connection]
kiez0rd has quit [Ping timeout: 256 seconds]
<metredigm> when running `gem install em-websocket`, i get a ton of gcc multiple definition errors when it tries to link ruby_http_parser.so; this is running on a 32bit machine with gem version 2.5.0 and gcc version 5.3.0
solars has quit [Ping timeout: 272 seconds]
bronson has quit [Ping timeout: 256 seconds]
grilled-cheese has quit [Ping timeout: 256 seconds]
SCHAAP137 has quit [Remote host closed the connection]
thejamespinto has joined #ruby
SCHAAP137 has joined #ruby
weemsledeux has joined #ruby
<underplank> Is there a way to work out which configuration file irb is using when it starts? I’ve created an ~/.irbrc file but it doesnt look like its using it. (OSX btw)
thejamespinto has quit [Ping timeout: 240 seconds]
grilled-cheese has joined #ruby
iateadonut has joined #ruby
jottr has quit [Quit: WeeChat 1.3]
tenderlove has quit [Remote host closed the connection]
rgrmatt has quit [Remote host closed the connection]