havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.2, 2.3.5 & 2.2.8: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
jrabe has quit [Quit: Scheduled maintenance]
madprops has joined #ruby
<madprops> hi
<madprops> someone is having some problem with parsing some javascript files' ` (template tags) with rake
<madprops> is that a common problem? would simply upgrading to a new rake fix it?
workmad3 has joined #ruby
jrabe has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
chocoelho has joined #ruby
jottr has quit [Quit: WeeChat 1.9.1]
mtkd has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
guardianx has quit []
ramfjord has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
<apeiros> madprops: why'd you parse javascript files with rake?
<apeiros> rake runs ruby scripts, not javascript
<madprops> apeiros, im not really sure. But someone is having trouble with it for some reason "msg.js uses the \` character, which does not work too well with
<madprops> diaspora’s rake. "
mtkd has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> madprops: well, without more information, this makes no sense.
PaulCapestany has quit [Quit: .]
<dminuoso> apeiros: You should get some sleep.
<dminuoso> It's late in Switzerland.
JinJin has joined #ruby
cdg has joined #ruby
<apeiros> dminuoso: very much unlike your country? :-p
<dminuoso> ;-)
GodFather has joined #ruby
blackmesa1 has joined #ruby
cschneid_ has joined #ruby
<JinJin> does anyone here have experience with TCP connections? I have a server that accepts connections using accept. I can write to sockets when I call TCPSocket.new(), but when I try to write to a socket that I've accepted, it doesn't work. Is this behavior expected?
<apeiros> define "doesn't work"
cdg has quit [Ping timeout: 248 seconds]
PaulCapestany has joined #ruby
<JinJin> as in the other socket does not receive anything
cagomez has quit [Remote host closed the connection]
<apeiros> ?code JinJin
<ruby[bot]> JinJin: We can't help you without your code, please post it to https://gist.github.com
cagomez has joined #ruby
<JinJin> its pretty long but alright
cagomez has quit [Remote host closed the connection]
<apeiros> well, make a simple reproducible example from it
<dminuoso> JinJin: And let this be the last day you have heard about $ and global variables.
<dminuoso> Feel free to forget they existed.
<JinJin> ok thanks
<JinJin> If I have a = TCPServer.new someportnumber. And I receive a socket for instance: socket = a.accept. Can I write to it? As in socket.write(...)
cschneid_ has quit [Ping timeout: 248 seconds]
<dminuoso> JinJin: Make a testcase.
<JinJin> I've been doing so with my code, I can only receive or establish connections. I can't write to clients that I've accepted
cagomez has joined #ruby
<JinJin> Unless the behavior is unexpected, then I assume I'm doing something wrong
<dminuoso> apeiros: do we have a testcase factoid?
<apeiros> moment, busy right now
ta__ has quit [Ping timeout: 276 seconds]
GodFather has quit [Ping timeout: 250 seconds]
c0ncealed has quit [Remote host closed the connection]
c0ncealed has joined #ruby
shinnya has quit [Quit: ZNC - http://znc.in]
shinnya has joined #ruby
<apeiros> dminuoso: a list of all factoids is live on the ruby-community.com website
<apeiros> JinJin: yes, you can write to a socket you created with a_tcp_server.accept
<JinJin> oh
<JinJin> ok thanks. For whatever reason I can't
<apeiros> as for your code sample - yeah, no. not gonna read that much code. write a simple tcpserver, go from there.
<apeiros> or isolate your problem before
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> and +1 re globals
PaulCapestany has quit [Read error: Connection reset by peer]
<JinJin> Thanks though!
PaulCapestany has joined #ruby
hanmac has quit [Ping timeout: 276 seconds]
troys_ has quit [Ping timeout: 240 seconds]
ogres has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
orbyt_ has joined #ruby
GodFather has joined #ruby
chocoelho has quit [Ping timeout: 240 seconds]
Sembei has quit [Quit: WeeChat 2.1-dev]
PaulCapestany has quit [Quit: .]
<apeiros> JinJin: I partially read your code. I don't see your code to create a socket actually being called.
<apeiros> also I don't see you writing to a socket accepted by the server except for when you receive data on it before
<apeiros> IMO make sure your assumptions are actually correct. that you do actually create a socket, that the server actually accepts a connection, that you actually write from the client side, etc.
HoloIRCUser has quit [Read error: Connection reset by peer]
<JinJin> yea, i saved my output to a file
guardianx has joined #ruby
shinnya has quit [Ping timeout: 248 seconds]
<JinJin> apeiros: In my code on line 319, i accept incoming connections and save them on line 368. But in line 405 when I write, nodes I've accepted don't receive anything
<JinJin> I'll just paste my output below that
mtkd has quit [Ping timeout: 240 seconds]
nadir has quit [Quit: Connection closed for inactivity]
hanmac has joined #ruby
PaulCapestany has joined #ruby
TomyLobo has quit [Ping timeout: 246 seconds]
dviola has joined #ruby
selim has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
<apeiros> JinJin: try `Thread.abort_on_exception = true` at the start of your code
<apeiros> I wouldn't be surprised if one of your threads just silently crashes.
<JinJin> apeiros: Thanks, will try that!
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
selim has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gnufied has quit [Remote host closed the connection]
GodFather has quit [Client Quit]
GodFather has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
BTRE has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
BTRE has quit [Client Quit]
kirun_ has quit [Quit: Konversation terminated!]
GodFather has quit [Remote host closed the connection]
eckhardt has joined #ruby
GodFather has joined #ruby
milardov_ has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
pilne has joined #ruby
csk157 has quit [Ping timeout: 248 seconds]
jackjackdripper has joined #ruby
milardov_ has quit [Ping timeout: 260 seconds]
techn1cs has joined #ruby
techn1cs has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
Dimik has quit [Ping timeout: 250 seconds]
orbyt_ has joined #ruby
nexustrap has quit [Quit: nexustrap]
ixti has quit [Quit: WeeChat 2.0]
jackjackdripper has quit [Ping timeout: 260 seconds]
cagomez has quit [Remote host closed the connection]
guardianx has quit []
cdg has joined #ruby
cschneid_ has joined #ruby
nexustrap has joined #ruby
madprops has left #ruby ["Leaving"]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 240 seconds]
nexustrap has quit [Client Quit]
eightlimbed has joined #ruby
marr has quit [Ping timeout: 268 seconds]
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
psmolen has quit [Ping timeout: 255 seconds]
psmolen has joined #ruby
Technodrome has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
cschneid_ has quit [Ping timeout: 240 seconds]
iMadper has quit [Read error: Connection reset by peer]
iMadper` has joined #ruby
nunchuck has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
chocoelho has joined #ruby
John____ has quit [Remote host closed the connection]
workmad3 has joined #ruby
dviola has quit [Quit: WeeChat 2.0]
workmad3 has quit [Ping timeout: 248 seconds]
mjolnird has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jnyw has quit [Quit: WeeChat 2.0]
milardovich has joined #ruby
chocoelho has quit [Ping timeout: 240 seconds]
Dimik has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
cognoscente has joined #ruby
jtdoncas has quit [Changing host]
jtdoncas has joined #ruby
dviola has joined #ruby
mjolnird has quit [Remote host closed the connection]
cognoscente has quit [Ping timeout: 260 seconds]
crova has quit [Remote host closed the connection]
mson has joined #ruby
blackmesa1 has quit [Ping timeout: 250 seconds]
Asher has quit [Ping timeout: 248 seconds]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
gizmore|2 has joined #ruby
jxv has joined #ruby
Asher has joined #ruby
gizmore has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d10n-work has quit [Quit: Connection closed for inactivity]
elphe has quit [Ping timeout: 268 seconds]
jxv has quit [Quit: zzz…]
d^sh has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has quit [Changing host]
Sammichmaker has joined #ruby
jxv has joined #ruby
phenom has joined #ruby
elphe has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
ta_ has joined #ruby
mohabaks has joined #ruby
phenom has quit [Max SendQ exceeded]
milardovich has joined #ruby
BTRE has joined #ruby
phenom has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
jxv has quit [Quit: string on the can snapped off]
bkxd has joined #ruby
bkxd_ has joined #ruby
chocoelho has joined #ruby
eightlimbed has quit [Ping timeout: 248 seconds]
milardovich has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 268 seconds]
bkxd_ has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
nadir has joined #ruby
bkxd has quit [Client Quit]
Technodrome has joined #ruby
BuildTheRobots has joined #ruby
<BuildTheRobots> good evening people. If i have an array including a negative number, how can I have a.max do the sensible thing (in this case return +7, not -10 as the largest number)
<BuildTheRobots> a=[1,7,-10]; puts a.max
<BuildTheRobots> oh, ok, a.values.max, ok, i'm an idiot :)
mohabaks has quit [Ping timeout: 248 seconds]
kfpratt has joined #ruby
shinnya has joined #ruby
RougeT430 has quit [Ping timeout: 276 seconds]
pilne has quit [Quit: Quitting!]
NeverTired has joined #ruby
nofxx_ has joined #ruby
nofxx has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
milardovich has joined #ruby
Sammichmaker has quit [Quit: Leaving]
bmurt has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
AJA4350 has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
phenom is now known as DanielShaver
jenrzzz has quit [Ping timeout: 248 seconds]
chocoelho has quit [Quit: chocoelho]
cadillac_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jnix has quit [Changing host]
jnix has joined #ruby
cadillac_ has joined #ruby
workmad3 has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
milardovich has quit [Remote host closed the connection]
jnyw has joined #ruby
bkxd has joined #ruby
cdg has joined #ruby
hanmac1 has joined #ruby
hanmac has quit [Ping timeout: 246 seconds]
cschneid_ has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 255 seconds]
kfpratt has quit []
cschneid_ has joined #ruby
<baweaver> BuildTheRobots: as is that'd return 7
<baweaver> >> [1,7,-10].max
<ruby[bot]> baweaver: # => 7 (https://eval.in/915681)
<baweaver> unless you threw it through abs or something
skweek has quit [Ping timeout: 248 seconds]
<baweaver> >> [1,7,-10].max_by(&:abs)
<ruby[bot]> baweaver: # => -10 (https://eval.in/915682)
elphe has quit [Ping timeout: 268 seconds]
<BuildTheRobots> baweaver, i might have messed up my example, in fact i did, these are values in a hash, not an array
<baweaver> aha
<baweaver> that would indeed complicate matters
<BuildTheRobots> my apologies
<baweaver> remember that Hashes give two arguments to those functions
<BuildTheRobots> though i think hash.values.max did do the "correct" thing
<BuildTheRobots> or did what I expected, rather....
<baweaver> >> h = {a: 10, b: 4}; [h.max { |k,v| v}, h.max { |k,v| k }]
<ruby[bot]> baweaver: # => undefined method `>' for [:a, 10]:Array (NoMethodError) ...check link for more (https://eval.in/915684)
<BuildTheRobots> hashes give two arguments? for max_by? apologies, i've only been using ruby for a few days o.0
<baweaver> >> h = {a: 10, b: 4}; [h.max { |(k,v)| v}, h.max { |(k,v)| k }]
<ruby[bot]> baweaver: # => comparison of Symbol with 0 failed (ArgumentError) ...check link for more (https://eval.in/915685)
<baweaver> hehe, fine
<BuildTheRobots> stupid demogods ;)
<baweaver> &ri Enumerable
<baweaver> that's your best friend
<baweaver> also see the channel topic
<baweaver> I hid a book list up there a while back
<BuildTheRobots> ah ace, thanks you.
cschneid_ has quit [Ping timeout: 248 seconds]
<BuildTheRobots> for contect, i got about 5 steps into a codeweavers learning ruby course and then got distracted actually tring to use it... so I'm kinda blundering forward solving adventofcode problems without yet understanding objects o.0
cschneid_ has joined #ruby
milardovich has joined #ruby
elphe has joined #ruby
cschneid_ has quit [Ping timeout: 248 seconds]
fyrril has quit [Read error: Connection reset by peer]
jxv has joined #ruby
oetjenj has joined #ruby
dreamthese has quit [Remote host closed the connection]
eightlimbed has joined #ruby
dreamthese has joined #ruby
guardianx has joined #ruby
mohabaks has joined #ruby
mohabaks has quit [Client Quit]
mohabaks has joined #ruby
cognoscente has joined #ruby
eightlimbed has quit [Ping timeout: 248 seconds]
eightlimbed has joined #ruby
enterprisey has quit [Quit: Leaving]
cognoscente has quit [Ping timeout: 240 seconds]
eightlimbed has quit [Ping timeout: 248 seconds]
eightlimbed has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
<baweaver> BuildTheRobots: well feel free to ask whatever
<baweaver> First time coding or have you tried a few languages before?
mson has quit [Quit: Connection closed for inactivity]
milardovich has quit [Remote host closed the connection]
<BuildTheRobots> i do bits of ops, so previously have been hacking scripts in perl, but i'm the first to point out i'm not a dev. A friend is using RoR so it seemed like a good excuse to learn ruby. so far i'm quite enjoying it
d_kam has quit [Quit: Lingo: www.lingoirc.com]
Andrevan has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
<BuildTheRobots> not sure if you've seen http://adventofcode.com/2017 or not. last year I found it substantially harder compared to this year armed with nothing but a third of a ruby tutorial ;)
elphe has quit [Ping timeout: 248 seconds]
eightlimbed has quit [Ping timeout: 248 seconds]
DTZUZO has joined #ruby
jhill_ has joined #ruby
Technodrome has quit [*.net *.split]
Asher has quit [*.net *.split]
orbyt_ has quit [*.net *.split]
iMadper` has quit [*.net *.split]
selim has quit [*.net *.split]
tcopeland has quit [*.net *.split]
spectrum has quit [*.net *.split]
yokel has quit [*.net *.split]
minimalism has quit [*.net *.split]
Eiam has quit [*.net *.split]
lucas has quit [*.net *.split]
NL3limin4t0r has quit [*.net *.split]
chmurifree has quit [*.net *.split]
Xeago has quit [*.net *.split]
n13z has quit [*.net *.split]
href has quit [*.net *.split]
adaedra has quit [*.net *.split]
hahuang65 has quit [*.net *.split]
MrBismuth has quit [*.net *.split]
Authenticator has quit [*.net *.split]
utkarsh_ has quit [*.net *.split]
dhollinger has quit [*.net *.split]
MrSparkle has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
Lyubo1 has quit [*.net *.split]
cpallares has quit [*.net *.split]
fullstack has quit [*.net *.split]
segy has quit [*.net *.split]
vircung has quit [*.net *.split]
Caius has quit [*.net *.split]
ar has quit [*.net *.split]
mikeiniowa has quit [*.net *.split]
irick has quit [*.net *.split]
ged has quit [*.net *.split]
Dark_Arc has quit [*.net *.split]
Guest29916 has quit [*.net *.split]
marienz has quit [*.net *.split]
guardian has quit [*.net *.split]
dtcristo has quit [*.net *.split]
zalipuha[m] has quit [*.net *.split]
zack6849 has quit [*.net *.split]
voxxit has quit [*.net *.split]
jxv has quit [*.net *.split]
NeverTired has quit [*.net *.split]
jrabe has quit [*.net *.split]
bradleyprice has quit [*.net *.split]
postmodern has quit [*.net *.split]
zapata has quit [*.net *.split]
scott4000 has quit [*.net *.split]
DarkBushido has quit [*.net *.split]
cschneid has quit [*.net *.split]
jtperreault has quit [*.net *.split]
larissa has quit [*.net *.split]
G has quit [*.net *.split]
kent\n has quit [*.net *.split]
caw__ has quit [*.net *.split]
wsmoak has quit [*.net *.split]
justizin has quit [*.net *.split]
peteretep has quit [*.net *.split]
russt has quit [*.net *.split]
endemic has quit [*.net *.split]
thinkpad has quit [*.net *.split]
swgillespie has quit [*.net *.split]
swat2 has quit [*.net *.split]
infernix has quit [*.net *.split]
kapowaz has quit [*.net *.split]
ewilliam has quit [*.net *.split]
pwillard has quit [*.net *.split]
darthThorik has quit [*.net *.split]
ablackack_ has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
mitchellvanw has quit [*.net *.split]
inukshuk has quit [*.net *.split]
mcr1 has quit [*.net *.split]
ineb has quit [*.net *.split]
celine_ has quit [*.net *.split]
Qommand0r has quit [*.net *.split]
Jicemo_ has quit [*.net *.split]
cajone has quit [*.net *.split]
aef_ has quit [*.net *.split]
twe4ked has quit [*.net *.split]
__main__ has quit [*.net *.split]
tuelz has quit [*.net *.split]
j00n has quit [*.net *.split]
hanmac1 has quit [*.net *.split]
cpruitt has quit [*.net *.split]
oleo has quit [*.net *.split]
sonOfRa has quit [*.net *.split]
rann has quit [*.net *.split]
dman[m] has quit [*.net *.split]
watzon has quit [*.net *.split]
velu_aon[m] has quit [*.net *.split]
nuck has quit [*.net *.split]
jnix has quit [*.net *.split]
kernelPaniq has quit [*.net *.split]
gigetoo has quit [*.net *.split]
Flonk has quit [*.net *.split]
harmaahylje has quit [*.net *.split]
ghormoon has quit [*.net *.split]
Biohazard has quit [*.net *.split]
eb0t has quit [*.net *.split]
lxsameer has quit [*.net *.split]
Cyrus has quit [*.net *.split]
drbrain has quit [*.net *.split]
LoRez has quit [*.net *.split]
rcs has quit [*.net *.split]
WhereIsMySpoon has quit [*.net *.split]
tris has quit [*.net *.split]
Prira has quit [*.net *.split]
devn has quit [*.net *.split]
Vashy has quit [*.net *.split]
ElderFain has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
KramerC has quit [*.net *.split]
mjuhl has quit [*.net *.split]
oblique has quit [*.net *.split]
pocketprotector has quit [*.net *.split]
joes has quit [*.net *.split]
mclee has quit [*.net *.split]
dyyylan has quit [*.net *.split]
zachary12 has quit [*.net *.split]
tsul has quit [*.net *.split]
Sou|cuttr has quit [*.net *.split]
bayed has quit [*.net *.split]
Koshian has quit [*.net *.split]
webhat has quit [*.net *.split]
M107262[m] has quit [*.net *.split]
turt2live has quit [*.net *.split]
Guest77835 has quit [*.net *.split]
Takumo has quit [*.net *.split]
jxf has quit [*.net *.split]
vqrs has quit [*.net *.split]
ahrs has quit [*.net *.split]
dcluna has quit [*.net *.split]
ShekharReddy has quit [*.net *.split]
nyuszika7h has quit [*.net *.split]
uptime has quit [*.net *.split]
jhill has quit [*.net *.split]
Meow-J has quit [*.net *.split]
Guest9063 has quit [*.net *.split]
justache has quit [*.net *.split]
beccamorgan has quit [*.net *.split]
dupondje has quit [*.net *.split]
quiller has quit [*.net *.split]
Zarthus has quit [*.net *.split]
nausea- has quit [*.net *.split]
bathtub_shark has quit [*.net *.split]
gil_ has quit [*.net *.split]
bronson_ has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
naquad has quit [*.net *.split]
hinbody has quit [*.net *.split]
reu has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
Guest32854 has quit [*.net *.split]
pppktz has quit [*.net *.split]
levifig has quit [*.net *.split]
bkxd has quit [*.net *.split]
bmurt has quit [*.net *.split]
DanielShaver has quit [*.net *.split]
dviola has quit [*.net *.split]
brucebag has quit [*.net *.split]
rupam123456 has quit [*.net *.split]
c0ncealed has quit [*.net *.split]
oz has quit [*.net *.split]
sagax has quit [*.net *.split]
dinfuehr has quit [*.net *.split]
techn1cs has quit [*.net *.split]
moei has quit [*.net *.split]
konsolebox has quit [*.net *.split]
mattp_ has quit [*.net *.split]
wnd has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
Norm has quit [*.net *.split]
QualityAddict has quit [*.net *.split]
jsaak has quit [*.net *.split]
z3uS has quit [*.net *.split]
flori has quit [*.net *.split]
edwardly has quit [*.net *.split]
ltp has quit [*.net *.split]
seitensei has quit [*.net *.split]
chrisarcand has quit [*.net *.split]
fmccann has quit [*.net *.split]
ikopico has quit [*.net *.split]
nathani has quit [*.net *.split]
personofinterest has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
teej has quit [Max SendQ exceeded]
justache_ has joined #ruby
Meow-J_ has joined #ruby
yokel has joined #ruby
jonjits[m] has quit [Ping timeout: 252 seconds]
aagdbl[m] has quit [Ping timeout: 243 seconds]
shinnya has quit [Ping timeout: 240 seconds]
kua[m] has quit [Ping timeout: 245 seconds]
KevinMGranger has quit [Ping timeout: 245 seconds]
haylon has quit [Ping timeout: 245 seconds]
lasenna[m] has quit [Ping timeout: 257 seconds]
aviraldg has quit [Ping timeout: 257 seconds]
Tagami[m] has quit [Ping timeout: 257 seconds]
Hanma[m] has quit [Ping timeout: 250 seconds]
erciccione_[m] has quit [Ping timeout: 250 seconds]
torarne has quit [Ping timeout: 252 seconds]
yana[m] has quit [Ping timeout: 240 seconds]
kculpis has quit [Remote host closed the connection]
NeverTired has joined #ruby
itmerc[m] has quit [Ping timeout: 251 seconds]
gokul_mr[m] has quit [Ping timeout: 252 seconds]
Matt[m]2 has quit [Ping timeout: 264 seconds]
astronavt[m] has quit [Ping timeout: 264 seconds]
bokayio has quit [Ping timeout: 240 seconds]
oz has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
Giphy[m] has quit [Ping timeout: 276 seconds]
d^sh has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
DanielShaver has joined #ruby
techn1cs has joined #ruby
bmurt has joined #ruby
lele has joined #ruby
quiller has joined #ruby
c0ncealed has joined #ruby
Kilo`byte has joined #ruby
ahrs has joined #ruby
rupam123456 has joined #ruby
gil_ has joined #ruby
dcluna has joined #ruby
konsolebox has joined #ruby
beccamorgan has joined #ruby
Liothen has joined #ruby
ShekharReddy has joined #ruby
sagax has joined #ruby
jxf has joined #ruby
BackEndCoder has joined #ruby
naquad has joined #ruby
yosafbridge has joined #ruby
Takumo has joined #ruby
pppktz has joined #ruby
hinbody has joined #ruby
vqrs has joined #ruby
bathtub_shark has joined #ruby
dupondje has joined #ruby
Guest77835 has joined #ruby
balo has joined #ruby
reu has joined #ruby
Guest32854 has joined #ruby
wnd has joined #ruby
Zarthus has joined #ruby
CrazyEddy has joined #ruby
m4rCsi has joined #ruby
levifig has joined #ruby
brucebag has joined #ruby
uptime has joined #ruby
mattp_ has joined #ruby
nausea- has joined #ruby
bronson_ has joined #ruby
Guest9063 has joined #ruby
veloutin has joined #ruby
pabs has joined #ruby
surrounder has joined #ruby
chaos95 has joined #ruby
nikkyjr has joined #ruby
jaredrhine has joined #ruby
TvL2386 has joined #ruby
rgs has joined #ruby
spider-mario has joined #ruby
bokayio has joined #ruby
Guest9063 has quit [Max SendQ exceeded]
ShekharReddy has quit [Max SendQ exceeded]
uptime has quit [Max SendQ exceeded]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<BuildTheRobots> hmm, is there a fuzzy equivalent of include? eg so it returns true: a=["foobar"]; a.include? 'foo'
jhill_ has quit [Changing host]
Meow-J_ has joined #ruby
jhill_ has joined #ruby
Meow-J_ has quit [Changing host]
NeverTired has joined #ruby
justache_ has joined #ruby
justache_ has quit [Changing host]
NeverTired has quit [Changing host]
Guest9063 has joined #ruby
Guest9063 has quit [Changing host]
Guest9063 has joined #ruby
<baweaver> BuildTheRobots: ever used regex?
ShekharReddy has joined #ruby
oz is now known as Guest50598
zack6849 has joined #ruby
voxxit has joined #ruby
voxxit has quit [Max SendQ exceeded]
<BuildTheRobots> baweaver: i have, but only with strings
mohabaks has quit [Remote host closed the connection]
BTRE has joined #ruby
pragmatism has joined #ruby
yxhuvud has joined #ruby
dminuoso has joined #ruby
ta_ has joined #ruby
chromis has joined #ruby
nchambers has joined #ruby
psmolen has joined #ruby
|ifei5g00d has joined #ruby
mbr has joined #ruby
esObe has joined #ruby
Barrt has joined #ruby
Jello_Raptor has joined #ruby
nowhere_man has joined #ruby
armando has joined #ruby
miah has joined #ruby
brainslug has joined #ruby
reaVer has joined #ruby
hxegon has joined #ruby
NicolasHov has joined #ruby
fmccann has joined #ruby
iamayam has joined #ruby
chrisarcand has joined #ruby
Nilium has joined #ruby
personofinterest has joined #ruby
PaulePanter has joined #ruby
erlend has joined #ruby
chihhsin has joined #ruby
redondos has joined #ruby
musl_ has joined #ruby
jolamb has joined #ruby
llua has joined #ruby
ryotarai has joined #ruby
Keltia has joined #ruby
nathani has joined #ruby
modin has joined #ruby
kke has joined #ruby
justinmrkva has joined #ruby
ikopico has joined #ruby
seitensei has joined #ruby
exchgr has joined #ruby
g3funk has joined #ruby
jpterry has joined #ruby
jnix has joined #ruby
cpruitt has joined #ruby
drbrain has joined #ruby
oleo has joined #ruby
rcs has joined #ruby
KramerC has joined #ruby
joes has joined #ruby
Prira has joined #ruby
WhereIsMySpoon has joined #ruby
lxsameer has joined #ruby
Biohazard has joined #ruby
ElderFain has joined #ruby
teej has joined #ruby
Gnubie_ has joined #ruby
tris has joined #ruby
ghormoon has joined #ruby
Flonk has joined #ruby
Cyrus has joined #ruby
Vashy has joined #ruby
devn has joined #ruby
sonOfRa has joined #ruby
oblique has joined #ruby
hanmac1 has joined #ruby
harmaahylje has joined #ruby
mjuhl has joined #ruby
gigetoo has joined #ruby
LoRez has joined #ruby
nuck has joined #ruby
kernelPaniq has joined #ruby
rann has joined #ruby
dyyylan has joined #ruby
mclee has joined #ruby
tsul has joined #ruby
zachary12 has joined #ruby
Koshian has joined #ruby
Sou|cuttr has joined #ruby
webhat has joined #ruby
bayed has joined #ruby
pocketprotector has joined #ruby
<baweaver> The top functions you want to know by heart in Ruby for Enumerable are: map, select, find, and reduce
teej has quit [Changing host]
teej has joined #ruby
ghormoon has quit [Max SendQ exceeded]
teej has quit [Max SendQ exceeded]
ghormoon has joined #ruby
d^sh has joined #ruby
dinfuehr has joined #ruby
Technodrome has joined #ruby
selim has joined #ruby
adaedra has joined #ruby
Eiam has joined #ruby
ar has joined #ruby
n13z has joined #ruby
iMadper` has joined #ruby
SCHAAP137 has joined #ruby
orbyt_ has joined #ruby
NL3limin4t0r has joined #ruby
tcopeland has joined #ruby
chmurifree has joined #ruby
href has joined #ruby
Xeago has joined #ruby
mikeiniowa has joined #ruby
hahuang65 has joined #ruby
Dark_Arc has joined #ruby
MrSparkle has joined #ruby
segy has joined #ruby
djbkd has joined #ruby
Guest29916 has joined #ruby
minimalism has joined #ruby
cpallares has joined #ruby
irick has joined #ruby
Caius has joined #ruby
Asher has joined #ruby
vircung has joined #ruby
MrBismuth has joined #ruby
Authenticator has joined #ruby
guardian has joined #ruby
ged has joined #ruby
ByronJohnson has joined #ruby
dhollinger has joined #ruby
Lyubo1 has joined #ruby
spectrum has joined #ruby
utkarsh_ has joined #ruby
moei has joined #ruby
marienz has joined #ruby
lucas has joined #ruby
fullstack has joined #ruby
<baweaver> select is the one you'd normally want to use, but it turns out there's another one that's even more applicable in this specific case
<baweaver> amusingly named grep
segy has quit [Max SendQ exceeded]
MrBismuth has quit [Max SendQ exceeded]
SCHAAP137 has quit [Max SendQ exceeded]
moei has quit [Max SendQ exceeded]
c0ncealed has quit [Ping timeout: 260 seconds]
<baweaver> >> %w(foo bar foobar).grep(/foo/)
<ruby[bot]> baweaver: # => ["foo", "foobar"] (https://eval.in/915694)
JinJin has quit [Quit: Page closed]
voxxit has joined #ruby
cadillac_ has joined #ruby
VladGh has joined #ruby
Emmanuel_Chanel has joined #ruby
Dimik has joined #ruby
Mia has joined #ruby
shinnya has joined #ruby
vee__ has joined #ruby
reber has joined #ruby
nertzy has joined #ruby
mniip has joined #ruby
Tharbakim has joined #ruby
Norm has joined #ruby
gizmore|2 has joined #ruby
hurricanehrndz has joined #ruby
jsaak has joined #ruby
QualityAddict has joined #ruby
faces has joined #ruby
aspiers has joined #ruby
eb0t has joined #ruby
Fraeon has joined #ruby
waveprop has joined #ruby
dreamthese has joined #ruby
flori has joined #ruby
TheBrayn has joined #ruby
`derpy has joined #ruby
perry has joined #ruby
z3uS has joined #ruby
kenichi_ has joined #ruby
pecan has joined #ruby
syndikate has joined #ruby
ltp has joined #ruby
shortdudey123 has joined #ruby
coderphive has joined #ruby
CBebop has joined #ruby
cout has joined #ruby
knight- has joined #ruby
planigan has joined #ruby
edwardly has joined #ruby
moei has joined #ruby
uptime has joined #ruby
edwardly has quit [Max SendQ exceeded]
Mia has quit [Max SendQ exceeded]
QualityAddict has quit [Max SendQ exceeded]
eb0t has quit [Max SendQ exceeded]
segy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
<baweaver> man that was a nasty netsplit
teej has joined #ruby
heinrich5991 has joined #ruby
MrBismuth has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
QualityAddict has joined #ruby
eblip has joined #ruby
SCHAPiE has joined #ruby
c0ncealed has joined #ruby
eckhardt has joined #ruby
nyuszika7h_ has joined #ruby
roger_rabbit has joined #ruby
eightlimbed has joined #ruby
bunnypuncher has joined #ruby
yokel has quit [Changing host]
yokel has joined #ruby
justache_ has quit []
justache has joined #ruby
<BuildTheRobots> ah, grp would probably be easier
<BuildTheRobots> i'm using a regex or trying to, but having issues using a variable _between_ the slashes, so as part of the match condition
<BuildTheRobots> is that actually possible? values.find {|e| /VARIABLE/ =~ e}
<baweaver> grep takes a string
<BuildTheRobots> i have the same problems using grep, can't use a vaeriable as the match term
<baweaver> (or really anything that responds to ===)
<baweaver> Give that a read
elphe has joined #ruby
<BuildTheRobots> hmm, same problem. so how do I use dynamic data as the match term in a regx?
<baweaver> interpolation also works with regex
jxv has joined #ruby
<BuildTheRobots> how does that work?
<baweaver> >> a = 'foo'; %w(foobarbaz barbaz foobar).grep(/#{a}bar/)
<ruby[bot]> baweaver: # => ["foobarbaz", "foobar"] (https://eval.in/915721)
<baweaver> same as with a string
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
<BuildTheRobots> f = 'foo'; b = 'boo'; print success if %w(foobar).grep(/#{f}/)
elphe has quit [Ping timeout: 250 seconds]
<BuildTheRobots> >> f = 'foo'; b = 'boo'; print success if %w(foobar).grep(/#{f}/)
<ruby[bot]> BuildTheRobots: # => undefined local variable or method `success' for main:Object (NameError) ...check link for more (https://eval.in/915725)
<BuildTheRobots> >> f = 'foo'; b = 'boo'; print "success" if %w(foobar).grep(/#{f}/)
<ruby[bot]> BuildTheRobots: # => successnil (https://eval.in/915726)
<BuildTheRobots> >> f = 'foo'; b = 'boo'; print "success" if %w(foobar).grep(/#{b}/)
<ruby[bot]> BuildTheRobots: # => successnil (https://eval.in/915727)
<BuildTheRobots> b should not print success, (the second attempt) the string boo does not apear
bunnypuncher has quit [Remote host closed the connection]
milardovich has joined #ruby
eightlimbed has quit [Ping timeout: 250 seconds]
<BuildTheRobots> >> f = 'foo'; b = 'boo'; print "success" if %w(foobar).grep(/foo/)
<ruby[bot]> BuildTheRobots: # => successnil (https://eval.in/915728)
<BuildTheRobots> >> f = 'foo'; b = 'boo'; print "success" if %w(foobar).grep(/boo/)
<ruby[bot]> BuildTheRobots: # => successnil (https://eval.in/915729)
bunnypuncher has joined #ruby
<BuildTheRobots> ok, so at the end of all that, i think i learn that i can't use a regex match in an if statement
<BuildTheRobots> so going back to the start, how can i do an `if (fuzzymatch variable against array == success) do something
<BuildTheRobots> `
bunnypuncher has left #ruby [#ruby]
milardovich has quit [Ping timeout: 276 seconds]
elphe has joined #ruby
peteretep has joined #ruby
justizin has joined #ruby
bradleyprice has joined #ruby
postmodern has joined #ruby
thinkpad has joined #ruby
swat2 has joined #ruby
jtperreault has joined #ruby
endemic has joined #ruby
mcr1 has joined #ruby
ineb has joined #ruby
mitchellvanw has joined #ruby
swgillespie has joined #ruby
kapowaz has joined #ruby
jrabe has joined #ruby
kent\n has joined #ruby
infernix has joined #ruby
scott4000 has joined #ruby
darthThorik has joined #ruby
Jicemo_ has joined #ruby
Qommand0r has joined #ruby
twe4ked has joined #ruby
__main__ has joined #ruby
zapata has joined #ruby
G has joined #ruby
inukshuk has joined #ruby
j00n has joined #ruby
caw__ has joined #ruby
ewilliam has joined #ruby
wsmoak has joined #ruby
tuelz has joined #ruby
ablackack_ has joined #ruby
cajone has joined #ruby
aef_ has joined #ruby
pwillard has joined #ruby
russt has joined #ruby
celine_ has joined #ruby
Kuukunen has joined #ruby
cschneid has joined #ruby
larissa has joined #ruby
DarkBushido has joined #ruby
Kuukunen has quit [Max SendQ exceeded]
pwillard has quit [Max SendQ exceeded]
thinkpad has quit [Max SendQ exceeded]
jrabe has quit [Max SendQ exceeded]
jrabe` has joined #ruby
Kuukunen has joined #ruby
cschneid_ has joined #ruby
pwillard has joined #ruby
bkxd_ has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
jrabe` is now known as jrabe
bokayio has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 260 seconds]
bokayio has joined #ruby
dinfuehr has joined #ruby
eightlimbed has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
RickHull has joined #ruby
<RickHull> what's a good approach for converting yaml into a class? or alternatively converting a class definition to yaml? just constants/data
<baweaver> serialization basically
<RickHull> yeah
<baweaver> to_yml / to_yaml
<baweaver> just take the attributes
<baweaver> then shove them back into an initializer
<baweaver> if it takes kwargs problem solved
<RickHull> so I have Agent < Career. i want to put Agent: as a top level key in careers.yaml
<baweaver> just symbolize keys on parsing
<baweaver> case statements work great for forks
<baweaver> case type when agent ...
eightlimbed has quit [Ping timeout: 246 seconds]
<RickHull> noteworthy: i literally want to serialize the class, not an instance
<RickHull> no ivars. just dealing what is now implemented as class constants
<RickHull> well, I don't care about serialization. but i want to declare different careers in YAML rather than ruby classes
<baweaver> so basically template assembly?
<RickHull> and I'm ok if the ruby behavior diverges from the current class-based thing
<RickHull> as long as it is faithful to the domain
<baweaver> Honestly just represent what makes it unique in the yaml
<RickHull> yeah, i've factored that out -- the declarative data stuff
<RickHull> into class constants
<RickHull> i'm wondering about e.g. define_class and proceeding to klass.const_set
<RickHull> or if i want to just make all this stuff ivars on the Career class
<RickHull> (doubtful)
<baweaver> ever consider you might be wanting too much magic?
<RickHull> always
<RickHull> but the answer is no here :)
<baweaver> Start with the stupidest thing that works first.
<RickHull> agreed, done
<RickHull> i've factored this out to be ready for YAMLizing
<baweaver> you can also cheat and just make rails-like scaffold generators
<RickHull> just some data/config maps that distinguish different careers
<RickHull> so right now, Agent < Career. but I could ostensibly do: agent = Career.new(stuff: that, used: to, be: class, constants: etc)
<RickHull> the thing is, i am already using the instance layer for state
<RickHull> so -- Agent is properly a subclass, not an instance of Career
<RickHull> in this current approach which is useful
<baweaver> so just inherit and have it define the unique traits
<RickHull> yeah, I guess define_class (or whatever) and klass.const_set
<RickHull> generate the class at yaml load time
<RickHull> is there an analog to define_method or just Class.new?
<RickHull> man, where did leitz go
<RickHull> I want to show this off :)
<RickHull> looks like Class.new is the right approach
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Andrevan has quit [Quit: WeeChat 2.0]
workmad3 has joined #ruby
Technodrome has joined #ruby
LocaMocha has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
guardianx has quit []
ozcanesen has joined #ruby
KeyJoo has joined #ruby
plexigras has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd_ has quit [Ping timeout: 246 seconds]
danielpclark has joined #ruby
bkxd has joined #ruby
cdg has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
velu_aon[m] has joined #ruby
Dimik has quit [Ping timeout: 248 seconds]
cognoscente has joined #ruby
ozcanesen has quit [Ping timeout: 240 seconds]
cognoscente has quit [Ping timeout: 255 seconds]
astronavt has joined #ruby
hahuang65 has quit [Read error: Connection reset by peer]
plexigras has quit [Quit: WeeChat 1.9.1]
hahuang65 has joined #ruby
astronavt has quit [Quit: Leaving...]
astronavt has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
bkxd_ has joined #ruby
Technodrome has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
bkxd_ has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
sepp2k has joined #ruby
jamesaxl has joined #ruby
elphe has joined #ruby
govg has joined #ruby
quobo has joined #ruby
psmolen has quit [Ping timeout: 240 seconds]
psmolen has joined #ruby
Guest77835 is now known as ndrst
ndrst has quit [Changing host]
ndrst has joined #ruby
psmolen has quit [Ping timeout: 276 seconds]
Xiti` has joined #ruby
rippa has joined #ruby
Xiti has quit [Ping timeout: 268 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #ruby
yosafbridge has quit [Quit: Leaving]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uptime has quit [Max SendQ exceeded]
govg has quit [Ping timeout: 246 seconds]
uptime has joined #ruby
govg has joined #ruby
danielpclark has quit [Quit: Leaving]
yosafbridge has joined #ruby
Technodrome has joined #ruby
bkxd has quit []
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
mson has joined #ruby
InfinityFye has joined #ruby
dman[m] has joined #ruby
claudiuinberlin has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
InfinityFye has left #ruby [#ruby]
mtkd has joined #ruby
aagdbl[m] has joined #ruby
lasenna[m] has joined #ruby
Technodrome has joined #ruby
Xiti has joined #ruby
Xiti` has quit [Ping timeout: 246 seconds]
plexigras has joined #ruby
m27frogy has joined #ruby
elphe has quit [Ping timeout: 255 seconds]
elphe has joined #ruby
Matt[m]2 has joined #ruby
vichib has joined #ruby
govg has quit [Quit: Lost terminal]
orbyt_ has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt_ has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
apparition has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
TinkerTyper has quit [Read error: Connection reset by peer]
TinkerTyper has joined #ruby
cognoscente has joined #ruby
ozcanesen has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cognoscente has quit [Ping timeout: 250 seconds]
Technodrome has joined #ruby
alfiemax has joined #ruby
hurricanehrndz has quit [Quit: Goodbye]
aagdbl[m] has quit [Remote host closed the connection]
velu_aon[m] has quit [Remote host closed the connection]
lasenna[m] has quit [Remote host closed the connection]
dman[m] has quit [Read error: Connection reset by peer]
Matt[m]2 has quit [Remote host closed the connection]
stealth[] has joined #ruby
simonizor has joined #ruby
bokayio has quit [Ping timeout: 240 seconds]
bokayio has joined #ruby
DanielShaver has quit [Ping timeout: 260 seconds]
uZiel has joined #ruby
Tagami[m] has joined #ruby
hurricanehrndz has joined #ruby
phenom has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
ldepandis has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
ShalokShalom has joined #ruby
ShalokShalom has quit [Remote host closed the connection]
Tagami[m] has quit [Remote host closed the connection]
simonizor has quit [Read error: Connection reset by peer]
guille-moe has joined #ruby
bokayio has quit [Ping timeout: 240 seconds]
bokayio has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
marr has joined #ruby
Tagami[m] has joined #ruby
guille-moe has quit [Ping timeout: 248 seconds]
elphe has joined #ruby
djbkd has quit [Ping timeout: 248 seconds]
nahra has quit [Remote host closed the connection]
nahra has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
astronavt has quit [Remote host closed the connection]
jxv has quit [Quit: zzz…]
blackmesa1 has joined #ruby
vivsoni_ has joined #ruby
<vivsoni_> hi
quobo has joined #ruby
milardovich has joined #ruby
elphe has quit [Ping timeout: 255 seconds]
aviraldg has joined #ruby
jonjits[m] has joined #ruby
Giphy[m] has joined #ruby
Hanma[m] has joined #ruby
yana[m] has joined #ruby
M107262[m] has joined #ruby
torarne has joined #ruby
lasenna[m] has joined #ruby
watzon has joined #ruby
erciccione_[m] has joined #ruby
simonizor has joined #ruby
zalipuha[m] has joined #ruby
dtcristo has joined #ruby
dman[m] has joined #ruby
turt2live has joined #ruby
astronavt[m] has joined #ruby
haylon has joined #ruby
KevinMGranger has joined #ruby
aagdbl[m] has joined #ruby
kua[m] has joined #ruby
gokul_mr[m] has joined #ruby
itmerc[m] has joined #ruby
Matt[m]2 has joined #ruby
velu_aon[m] has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has quit [Quit: WeeChat 1.9.1]
guille-moe has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
alex`` has joined #ruby
GodFather has joined #ruby
vivsoni_ has quit [Quit: Leaving]
workmad3 has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
blackmesa1 has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
minimalism has quit [Quit: minimalism]
Technodrome has joined #ruby
ozcanesen has quit [Quit: ozcanesen]
tomphp has joined #ruby
guille-moe has quit [Ping timeout: 268 seconds]
RougeT430 has joined #ruby
cdg has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
NeverTired has quit [Quit: Connection closed for inactivity]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uZiel has quit [Ping timeout: 248 seconds]
cognoscente has joined #ruby
cognoscente has quit [Ping timeout: 248 seconds]
mson has quit [Quit: Connection closed for inactivity]
elphe has joined #ruby
elphe has quit [Ping timeout: 248 seconds]
TomyLobo has joined #ruby
RougeT430 has quit [Ping timeout: 260 seconds]
hfp_work has quit [Quit: bye]
clemens3 has joined #ruby
hfp_work has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apparition has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
RougeT430 has joined #ruby
JustASlacker has joined #ruby
postmodern has quit [Quit: Leaving]
naprimer has quit [Ping timeout: 240 seconds]
naprimer has joined #ruby
Puffball has quit [Remote host closed the connection]
yeticry_ has joined #ruby
Puffball has joined #ruby
yeticry has quit [Ping timeout: 276 seconds]
guille-moe has joined #ruby
tomphp has joined #ruby
cdg has joined #ruby
sameerynho has joined #ruby
despai has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
cschneid_ has joined #ruby
jnyw has quit [Quit: WeeChat 2.0]
cognoscente has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
cognoscente has quit [Ping timeout: 268 seconds]
RougeT430 has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
huyderman has quit [Ping timeout: 250 seconds]
marr has quit [Ping timeout: 248 seconds]
blackmesa1 has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
d_kam has joined #ruby
guille-moe has joined #ruby
despai has quit [Quit: ...]
nyuszika7h_ is now known as nyuszika7h
workmad3 has quit [Ping timeout: 248 seconds]
guille-moe has quit [Ping timeout: 248 seconds]
Sammichmaker has joined #ruby
mikecmpbll has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
elphe has quit [Ping timeout: 255 seconds]
elphe has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
AJA4350 has joined #ruby
alex`` has quit [Quit: WeeChat 1.9.1]
alex`` has joined #ruby
apparition has joined #ruby
guille-moe has joined #ruby
tomphp has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
guille-moe has joined #ruby
dionysus69 has joined #ruby
porfavordama has joined #ruby
<porfavordama> hello everyone,
<porfavordama> Why I can't use the "match?" method on a string ?
<dminuoso> porfavordama: Because having too many methods doing the exact same thing is bad.
<Papierkorb> porfavordama: String#match? is a 2.4.0+ feature
<dminuoso> What would .match? do?
<porfavordama> dminuoso: but on the docs website that's what is shown . I was confused
<dminuoso> What website?
<dminuoso> porfavordama: Which documentation tells you that this would be valid?
<Papierkorb> [13:41] <Papierkorb> porfavordama: String#match? is a 2.4.0+ feature
<Papierkorb> > Ruby (ruby 2.3.3)
<Papierkorb> Thus not available there.
<porfavordama> Papierkorb: Oh then the version I am using is also old
<Papierkorb> yes
<porfavordama> dminuoso: it is on ruby-doc.org
<dminuoso> porfavordama: Please give me a link.
<porfavordama> Papierkorb: Thanks! I will try to update and retry :)
<porfavordama> dminuoso: just a second
<dminuoso> Huh. So this is a 2.4 feature :)
<dminuoso> Nevermind.
<Papierkorb> porfavordama: If you can, upgrade to 2.4 - If you can't, if all you need is String#match?, it's easy to implement it yourself. I'm sure there's also a backport gem which does stuff like this, but can't remember its name.
<porfavordama> Papierkorb: Yes, all I am looking for is to match a certain pattern from a text. :) If I can't upgrade then I will figure out somehow. Thank you for the help :)
guille-moe has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has joined #ruby
blackmesa1 has quit [Ping timeout: 255 seconds]
alfiemax has quit [Remote host closed the connection]
<apeiros> porfavordama: you can also just use =~ like everybody else
<apeiros> >> if "string" =~ /in/ then "yes" else "no" end
<ruby[bot]> apeiros: # => "yes" (https://eval.in/915810)
<porfavordama> apeiros: Oh, right! I was just thinking to deep haha. Thank you. :)
bkxd has quit [Ping timeout: 248 seconds]
pskosinski_ has quit [Changing host]
pskosinski_ has joined #ruby
pskosinski_ has joined #ruby
pskosinski_ is now known as pskosinski
bkxd has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
bkxd has quit [Client Quit]
tomphp has joined #ruby
DTZUZO has joined #ruby
<Papierkorb> porfavordama: While I like match? more simply because it's a method, the only semantic difference between match? and match/=~ is that match? doesn't set the $~ and $1,$2,.. fake globals
<Papierkorb> And match? returns truthy instead of the regex match
DTZUZO has quit [Client Quit]
drcode has joined #ruby
drcode has quit [Remote host closed the connection]
<porfavordama> Papierkorb: Yes, I just needed the truthy. So, also include? could be the answer.
<apeiros> s/because it's a method/because it's a named method/
<apeiros> since =~ is a method too
<Papierkorb> porfavordama: #include? only works for strings. If that's good enough for you, it's what I'd use
drcode has joined #ruby
leitz has joined #ruby
blackmesa1 has joined #ruby
<porfavordama> Papierkorb: Yes, it is enough for now. I just fancied using match? haha.
uZiel has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
Axy has quit [Ping timeout: 240 seconds]
uZiel has quit [Ping timeout: 248 seconds]
d_kam has quit [Quit: Be back later ...]
AJA4350 has quit [Ping timeout: 248 seconds]
AJA4351 has joined #ruby
AJA4351 is now known as AJA4350
kitsunenokenja has joined #ruby
Sammichmaker has quit [Ping timeout: 248 seconds]
vee__ has quit [Ping timeout: 248 seconds]
zautomata has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest53825 has quit [Ping timeout: 250 seconds]
zautomata has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 260 seconds]
halt has joined #ruby
halt is now known as Guest19799
d_kam has joined #ruby
uZiel has joined #ruby
miskatonic has joined #ruby
AJA4350 has joined #ruby
blackmesa1 has quit [Ping timeout: 258 seconds]
d_kam has quit [Ping timeout: 260 seconds]
AJA4350 has quit [Client Quit]
alfiemax has joined #ruby
vee__ has joined #ruby
ramfjord has joined #ruby
zautomata has joined #ruby
csk157 has joined #ruby
alfiemax has quit [Ping timeout: 255 seconds]
silvermine has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
AJA4350 has joined #ruby
d_kam has joined #ruby
csk157 has quit [Ping timeout: 248 seconds]
blackmesa1 has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JustASlacker has quit [Ping timeout: 248 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d_kam has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RickHull has quit [Ping timeout: 260 seconds]
d_kam has joined #ruby
miskatonic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
workmad3 has joined #ruby
cschneid_ has joined #ruby
miskatonic has joined #ruby
alfiemax has joined #ruby
d_kam has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 268 seconds]
nadir has joined #ruby
blackmesa1 has quit [Ping timeout: 255 seconds]
zautomata has quit [Ping timeout: 260 seconds]
mahlon has quit [Ping timeout: 240 seconds]
mahlon has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
d_kam has joined #ruby
d_kam has quit [Client Quit]
d_kam has joined #ruby
csk157 has joined #ruby
cadillac_ has joined #ruby
guille-moe has joined #ruby
aScottishBoat has joined #ruby
csk157 has quit [Ping timeout: 240 seconds]
guille-moe has quit [Ping timeout: 240 seconds]
aScottishBoat has quit [Read error: Connection reset by peer]
csk157 has joined #ruby
banisterfiend has joined #ruby
p0p0pr37 has quit [Remote host closed the connection]
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Changing host]
p0p0pr37 has joined #ruby
qqmash has joined #ruby
p0p0pr37 has quit [Remote host closed the connection]
qqmash has quit [Max SendQ exceeded]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nexustrap has joined #ruby
d_kam has quit [Quit: Be back later ...]
d_kam has joined #ruby
sailfin has joined #ruby
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Read error: Connection reset by peer]
p0p0pr37 has joined #ruby
sailfin has quit [Client Quit]
shinnya has quit [Ping timeout: 248 seconds]
sailfin has joined #ruby
mikeiniowa has quit [Remote host closed the connection]
miskatonic has quit [Remote host closed the connection]
mikeiniowa has joined #ruby
cpruitt has quit [Quit: cpruitt]
tsglove has quit [Remote host closed the connection]
tsglove has joined #ruby
claudiuinberlin has joined #ruby
zautomata has joined #ruby
DLSteve has joined #ruby
Derperpe- has quit [Quit: Peace out]
Derperperd has joined #ruby
skweek has joined #ruby
kozrar has quit [Quit: Leaving]
Derperperd has quit [Changing host]
Derperperd has joined #ruby
alfiemax has joined #ruby
uZiel has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 255 seconds]
banisterfiend has joined #ruby
uZiel has joined #ruby
d_kam has quit [Quit: Be back later ...]
d_kam has joined #ruby
sameerynho has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 240 seconds]
quobo has joined #ruby
Ltem has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
miskatonic has joined #ruby
d_kam has quit [Quit: Be back later ...]
d_kam has joined #ruby
alex`` has quit [Quit: WeeChat 1.9.1]
alex`` has joined #ruby
nofxx__ has joined #ruby
nofxx_ has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
spectrum has quit [Ping timeout: 248 seconds]
cschneid_ has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
jxv has joined #ruby
milardovich has joined #ruby
iMadper` has quit [Ping timeout: 248 seconds]
iMadper` has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
tomphp has joined #ruby
d_kam has quit [Quit: Be back later ...]
d_kam has joined #ruby
sepp2k1 has joined #ruby
workmad3 has joined #ruby
sepp2k has quit [Ping timeout: 246 seconds]
Barrt has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamarun has joined #ruby
elphe has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 268 seconds]
d_kam has quit [Quit: Be back later ...]
d_kam has joined #ruby
hanmac1 has left #ruby [#ruby]
mtkd has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 268 seconds]
blackmesa1 has joined #ruby
mtkd has joined #ruby
Barrt has joined #ruby
sepp2k1 has quit [Ping timeout: 248 seconds]
astronavt has joined #ruby
sepp2k has joined #ruby
JustASlacker has joined #ruby
miskatonic has quit [Remote host closed the connection]
apparition has quit [Quit: Bye]
csk157 has quit [Ping timeout: 240 seconds]
<leitz> "Free at last! Free at last! Thank God almighty I am free at last!"
<leitz> I've been wanting to read Russ Olsen's "Design Patterns in Ruby" for over a year.
<leitz> It came in the mail Tuesday but I couldn't open it until the class I'm in was done. Which it now is.
tomphp has joined #ruby
<leitz> I thihnk my brain will melt but the book should help me with my Character Generator.
marr has joined #ruby
<dminuoso> Your class bans you from reading books until they're on topic?
plexigras has quit [Ping timeout: 240 seconds]
csk157 has joined #ruby
<leitz> I have two brain cells; couldn't do the class justice and work on Ruby.
<leitz> Except where I used Ruby to solve MongoDB questions....
<leitz> Personal limitation.
NeverTired has joined #ruby
<dminuoso> Ah.
nowhere_man has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
chocoelho has joined #ruby
RougeT430 has joined #ruby
rainmaker has joined #ruby
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
d_kam has quit [Ping timeout: 268 seconds]
duderonomy has quit [Ping timeout: 250 seconds]
Keat has joined #ruby
dinfuehr has quit [Ping timeout: 276 seconds]
dinfuehr_ has joined #ruby
rainmaker has quit [Read error: Connection reset by peer]
rainmaker has joined #ruby
chocoelho has quit [Ping timeout: 250 seconds]
konsolebox has quit [Ping timeout: 260 seconds]
Technodrome has joined #ruby
_whitelogger has joined #ruby
iamarun has quit [Remote host closed the connection]
RougeT430 has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
ur5us has joined #ruby
duderonomy has joined #ruby
alfiemax has joined #ruby
elphe has quit [Ping timeout: 260 seconds]
AJA4350 has quit [Ping timeout: 248 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
chocoelho has joined #ruby
nexustrap has quit [Quit: nexustrap]
despai has joined #ruby
lurkingninja has quit [Ping timeout: 250 seconds]
rainmaker has left #ruby ["The Lounge - https://thelounge.github.io"]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 240 seconds]
goyox86 has joined #ruby
unreal has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
jxv has quit [Quit: zzz…]
ramfjord has joined #ruby
tomphp has joined #ruby
jxv has joined #ruby
BigRonnieRon has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
sameerynho has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
csk157 has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
dionysus69 has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
Yzguy has joined #ruby
workmad3 has joined #ruby
djbkd has joined #ruby
wilbert has joined #ruby
sailfin has quit [Ping timeout: 240 seconds]
guille-moe has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
wilbert has quit [Ping timeout: 268 seconds]
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
ur5us has quit [Remote host closed the connection]
cschneid_ has quit [Remote host closed the connection]
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
dviola has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
tsglove has quit [Remote host closed the connection]
alfiemax has joined #ruby
tsglove has joined #ruby
tsglove has quit [Max SendQ exceeded]
Xiti has joined #ruby
sailfin has joined #ruby
rabajaj has joined #ruby
rabajaj has quit [Remote host closed the connection]
RougeT430 has joined #ruby
tomphp has joined #ruby
xsdg has quit [Ping timeout: 250 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nchambers has quit [Quit: So long and thanks for all the fish!]
nchambers has joined #ruby
Emmanuel_Chanel has quit [Read error: No route to host]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
RougeT430 has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
Emmanuel_Chanel has joined #ruby
alex`` has quit [Quit: WeeChat 1.9.1]
blackmesa1 has quit [Ping timeout: 258 seconds]
sepp2k has quit [Read error: Connection reset by peer]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
silvermine has quit [Quit: WeeChat 2.0-dev]
alfiemax has joined #ruby
tomphp has joined #ruby
Yzguy has quit [Quit: Zzz...]
ramfjord has joined #ruby
KeyJoo has quit [Ping timeout: 246 seconds]
impermanence has joined #ruby
KeyJoo has joined #ruby
Yzguy has joined #ruby
SuperLag has joined #ruby
<impermanence> is there a typical way to dir structure src and tests? src/ test/ or...?
cajone has left #ruby [#ruby]
ramfjord has quit [Ping timeout: 255 seconds]
chocoelho has quit [Ping timeout: 240 seconds]
cajone has joined #ruby
<leitz> impermanence, I tend to look at how gems are laid out. There's a command to build the tree but I can't remember it.
<impermanence> good call
elphe has joined #ruby
pilne has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
keyjoo_ has joined #ruby
KeyJoo has quit [Ping timeout: 255 seconds]
orbyt_ has joined #ruby
elphe has quit [Ping timeout: 248 seconds]
Xiti has quit [Ping timeout: 250 seconds]
blackmesa1 has joined #ruby
cognoscente has joined #ruby
<dminuoso> impermanence: Whatever floats your boat really.
<dminuoso> Do what makes sense for you.
<impermanence> dminuoso: kk
<dminuoso> I've seen so many different layouts, and I had never problem navigating "strange" and "new" concepts each time.
<impermanence> leitz: thanx
<impermanence> dminuoso: true dat. I mean, like, java has some norms'n'forms so...sjust curious.
<dminuoso> impermanence: I found that adhering to specific layouts can be constraining. In our react app for example it took a bit of experimentation what works for us because all the "popular" schemes just felt wrong/
<impermanence> dminuoso: makes sense to me :)
<dminuoso> impermanence: Even in our rails app I started breaking common convention because the traditional rails way feels wrong for us.
Keat has left #ruby [#ruby]
cognoscente has quit [Ping timeout: 240 seconds]
<dminuoso> (We are trying to port our react structure to rails)
<impermanence> dminuoso: ah, I see.
<leitz> dminuoso, I think the key is "feels wrong". As a newbie I prefer to stick with the standard. Later, maybe, I'll have enough experience to break the rule when it is good to.
Akispolton has joined #ruby
<dminuoso> Emphasis on "for us" even. It's really subjective.
Akispolton has quit [Client Quit]
<dminuoso> leitz: I agree. I didn't consider it with Rails until we demystified Rails. Now we just treat it as a ruby application.
AJA4350 has quit [Remote host closed the connection]
<dminuoso> But that process took time. :)
<impermanence> as a newbie I like, tooootally just ask on irc ;)
AJA4350 has joined #ruby
<dminuoso> impermanence: What kind of application are you writing?
<dminuoso> It might be useful to look at similar projects and orient yourself using their structure to get started.
mtkd has joined #ruby
<impermanence> dminuoso: a process monitor that reads from /proc/ and writes to ncurses or something similar.
nowhere_man has quit [Ping timeout: 248 seconds]
<leitz> Cool.
* leitz likes system tools.
<impermanence> yeah and this morning I was all like...wait...maybe I just have a test dir, lib dir, bin dir, etc...but didn't know if there were forms
cschneid_ has joined #ruby
<impermanence> *should have a test dir, etc.
Dark_Arc has quit [Quit: ZNC 1.6.5 - http://znc.in]
armyriad has quit [Quit: Leaving]
Dark_Arc has joined #ruby
<impermanence> So far I copied from the link that leitz posted: lib/ bin/ test/
<dminuoso> impermanence: ^- that is the common form.
goyox86 has quit [Quit: goyox86]
<dminuoso> impermanence: also note if you are using `rspec` then test/ is usually called spec/
sammi`_ has quit [Quit: Lost terminal]
<impermanence> dminuoso: hm. I was putting my minitests in there...I'm...new to ruby testing, lol
<leitz> Ah, cool. Make a tmp directroy somewhere and then cd there. run : gem unpack json
<dminuoso> impermanence: Honestly its also fine to mix tests with your code.
nowhere_man has joined #ruby
<leitz> It unpacks the gem into the directory. You can see how it's done by others. json is an example.
<dminuoso> impermanence: We do that in our react app.
<impermanence> oh okay, right on
<dminuoso> impermanence: With unit testing it makes sense that if you have some api.js that you should also have an api.test.js :-)
<dminuoso> and it makes absolute sense they should be sitting next to each other. it also makes things like relative file access more sensible..
<dminuoso> Never worked with minitest, but rspec should be riggable for this.
sammi` has joined #ruby
mson has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
<impermanence> dminuoso: I'm new to minitest too but spec functionality makes up about a third of its purpose
armyriad has joined #ruby
<impermanence> minitest: unit, spec, mock, benchmark
<leitz> Stepping back a second, why are you using Ruby for this?
<dminuoso> impermanence: rspec is just a name, it has it all. Anyway, not trying to swing you over - it's just that I cant speak for minitest =)
<impermanence> leitz: I'm a total ruby newb, but I find that when I write actual applications it makes me better, thas all. I am beginning to know *nix fairly well and I was recently looking at process mon tools so I figured I'd just write my own. nuffin special.
<leitz> impermanence, do you know other coding languages?
Dark_Arc has quit [Quit: ZNC 1.6.5 - http://znc.in]
<impermanence> leitz: not really
<impermanence> certainly nothing with an SE competency
<leitz> Okay, let me make a recommendation. I have learned the basics of a few languages.
Dark_Arc has joined #ruby
<leitz> Ruby is, for me, the most fun. It calls me to code. I can do more in bash and some with PHP, Python, or even a little C or Go. However, Ruby is the only one that really encourages me to code.
<leitz> As a newbie, I recommend staying with the "standard". At least for a while. People like dminuoso know a heck of a lot more Ruby than I do, and they can step outside the standards when it's best for them.
cdg has joined #ruby
Guest19799 has quit [Quit: ZNC 1.6.5 - http://znc.in]
<leitz> Learn the rules, then you'll see where bending them is best.
<impermanence> leitz: that's the plan
<leitz> And welcome to Ruby!
<dminuoso> Works like a charm with no custom things. :)
minimalism has joined #ruby
uZiel has quit [Remote host closed the connection]
<dminuoso> Well, you just set a teeny tiny setting in your .rspec and thats it.
<leitz> The spec.helper confused me when I started with rspec. Never really got it then wandered away for a bit. Using test/unit
halt has joined #ruby
<leitz> Will get back into rspec and cucumber when I relearn the basics.
halt is now known as Guest24060
<dminuoso> leitz: the name is just terrible.
<leitz> Working on design patterns at the moment.
<leitz> dminuoso, ?
<dminuoso> leitz: spec_helper.rb is just the initialization file. `rspec_config.rb` would have been better
<dminuoso> Or something along those lines.
<dminuoso> Especially in rails when you also have a rails_helper.rb its even more confusing..
<dminuoso> Which sadly it shouldn't have to be.
<leitz> Ah.
JustASlacker has quit [Ping timeout: 240 seconds]
impermanence has quit [Remote host closed the connection]
alfiemax has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chocoelho has joined #ruby
chocoelho has quit [Client Quit]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
despai has quit [Quit: ...]
Dimik has joined #ruby
tomphp has joined #ruby
jackjackdripper has joined #ruby
sailfin has quit [Quit: WeeChat 2.0]
ur5us has joined #ruby
DTZUZO has joined #ruby
* leitz 's one non-ill brain cell is on Design Patterns.
<leitz> Acutally, I think I need to figure out how to make it a gem. That will push me to standardize a bit more.
<dminuoso> I wanted to push out my first gem last week.. but then I went to haskell.. :(
j00n has quit [Remote host closed the connection]
<leitz> So far Ruby does what I enjoy doing, as long as I figure out how to do it.
<leitz> Need to change the name of my project though, as it is no longer correct.
elphe has joined #ruby
<leitz> And figure out the scope, that's always an issue. :(
<leitz> Or scopes. This the the rabbit trail I usually get lost in.
Xiti has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
elphe has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 268 seconds]
despai has joined #ruby
alfiemax has joined #ruby
uZiel has joined #ruby
jxv has quit [Quit: string on the can snapped off]
drcode_ has joined #ruby
drcode has quit [Ping timeout: 248 seconds]
marr has quit [Remote host closed the connection]
BigRonnieRon has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
RougeT430 has joined #ruby
miskatonic has joined #ruby
spectrum has joined #ruby
miskatonic has quit [Remote host closed the connection]
miskatonic has joined #ruby
DTZUZO has joined #ruby
elisaado has quit [Quit: WeeChat 1.9.1]
BigRonnieRon has joined #ruby
AJA4350 has quit [Remote host closed the connection]
AJA4350 has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
despai has quit [Quit: ...]
elphe has quit [Ping timeout: 255 seconds]
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
porfavordama has quit [Ping timeout: 260 seconds]
goyox86 has joined #ruby
RougeT430 has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
DTZUZO has quit [Ping timeout: 248 seconds]
milardovich has quit [Remote host closed the connection]
jeffci has joined #ruby
herbmillerjr has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
BigRonnieRon has quit [Quit: Textual IRC Client: www.textualapp.com]
goyox86 has quit [Quit: goyox86]
elphe has joined #ruby
goyox86 has joined #ruby
xsdg has joined #ruby
cschneid_ has joined #ruby
exhiled has joined #ruby
jeffci has quit [Quit: Lost terminal]
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
cpruitt has joined #ruby
rivalomega has joined #ruby
marr has joined #ruby
goyox86 has quit [Quit: goyox86]
Yzguy has quit [Quit: Zzz...]
bkxd has joined #ruby
cpruitt has quit [Quit: cpruitt]
workmad3 has quit [Ping timeout: 248 seconds]
blackmesa has joined #ruby
blackmesa1 has quit [Ping timeout: 276 seconds]
goyox86 has joined #ruby
goepsilongo has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Quentinius has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
bkxd_ has joined #ruby
Quentinius has quit [Client Quit]
blackmesa1 has joined #ruby
vee__ has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 255 seconds]
cadillac_ has quit [Ping timeout: 248 seconds]
CrazyEddy has quit [Remote host closed the connection]
cadillac_ has joined #ruby
vee__ has joined #ruby
daemonwrangler has quit [Quit: ZNC 1.6.5 - http://znc.in]
daemonwrangler has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goyox86 has quit [Quit: goyox86]
milardovich has quit [Remote host closed the connection]
NeverTired is now known as pifon
milardovich has joined #ruby
RougeT430 has joined #ruby
milardovich has quit [Remote host closed the connection]
keyjoo_ has quit [Ping timeout: 248 seconds]
bkxd_ has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
tomphp has joined #ruby
guardianx has joined #ruby
alfiemax has quit [Remote host closed the connection]
selim has quit [Ping timeout: 248 seconds]
selim has joined #ruby
reber has quit [Remote host closed the connection]
c0ncealed has quit [Remote host closed the connection]
rivalomega has quit [Remote host closed the connection]
despai has joined #ruby
Ltem has quit [Quit: Leaving]
c0ncealed has joined #ruby
rivalomega has joined #ruby
DTZUZO has joined #ruby
JustASlacker has joined #ruby
rivalomega has quit [Ping timeout: 268 seconds]
elphe has quit [Ping timeout: 246 seconds]
guille-moe has quit [Ping timeout: 240 seconds]
christiandsg has joined #ruby
drowze has joined #ruby
RougeT430 has quit [Ping timeout: 268 seconds]
vee__ has quit [Ping timeout: 248 seconds]
bazzy has left #ruby [#ruby]
nowhere_man has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
uZiel has quit [Ping timeout: 248 seconds]
nowhere_man has joined #ruby
alfiemax has joined #ruby
miskatonic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 248 seconds]
tomphp has joined #ruby
tomphp has quit [Read error: Connection reset by peer]
blackmesa1 has quit [Quit: WeeChat 2.0]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
despai has quit [Quit: ...]
elphe has joined #ruby
vee__ has joined #ruby
stealth[] has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
christiandsg has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
elphe has quit [Ping timeout: 260 seconds]
ResidentBiscuit has quit [Client Quit]
ResidentBiscuit has joined #ruby
guille-moe has joined #ruby
zautomata has quit [Ping timeout: 240 seconds]
spider-mario has quit [Remote host closed the connection]
workmad3 has joined #ruby
spider-mario has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
alex`` has joined #ruby
goyox86 has joined #ruby
bkxd_ has joined #ruby
Dimik has quit [Ping timeout: 246 seconds]
|ifei5g00d has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 268 seconds]
guille-moe has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
|ifei5g00d has joined #ruby
zautomata has joined #ruby
elphe has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
goyox86 has quit [Quit: goyox86]
goyox86 has joined #ruby