<universa1>
with 2 million draws, the shares are even up to 0.11x
catphish has joined #ruby
hotpancakes has joined #ruby
tvw has joined #ruby
roamingdog has quit [Ping timeout: 276 seconds]
<normie1>
ljarvis no but 30%, think im going to go with .shuffle.first on my array, seems more reliable
<canton7>
normie1, bear in mind, a human's perception of what "random" is can be quite wrong. real randomness "feels" less random than we expect
<ljarvis>
normie1: .sample
<ljarvis>
yeah, true randomness from human perspective is incredibly tough
<canton7>
people who make media players have to come up with their own "random" algorithms for shuffle play, which is far from random. Otherwise people complain that it's not random enough
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
skade_ has quit [Ping timeout: 276 seconds]
toretore has joined #ruby
dcunit3d has quit [Ping timeout: 268 seconds]
tomphp has joined #ruby
romank has joined #ruby
tomphp has quit [Client Quit]
MrBusiness has quit [Ping timeout: 264 seconds]
auzty has quit [Quit: Leaving]
Robtop__ has joined #ruby
ferr has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 260 seconds]
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
pwnd_nsfw` has joined #ruby
Psycho_Valker has quit [Ping timeout: 240 seconds]
BTRE has quit [Ping timeout: 260 seconds]
yogg-saron has joined #ruby
Robtop__ has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby
jusa has joined #ruby
cfec0b8d has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
skade_ has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
pandaant has joined #ruby
tomphp has quit [Client Quit]
t-recx has joined #ruby
tomphp has joined #ruby
Psycho_Valker has joined #ruby
tomphp has quit [Client Quit]
bsartek has quit [Quit: This computer has gone to sleep]
jameser has quit [Ping timeout: 255 seconds]
Silox| has joined #ruby
Seenox has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 276 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
bsartek has joined #ruby
tvw has joined #ruby
hotpancakes has joined #ruby
bash has joined #ruby
tomphp has joined #ruby
bash has quit [Client Quit]
tomphp has quit [Client Quit]
BSAlb has joined #ruby
BSaboia has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
aupadhye has joined #ruby
andikr has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 258 seconds]
mim1k has quit [Read error: Connection reset by peer]
jackrandom has joined #ruby
tomphp has joined #ruby
Mia has quit [Read error: Connection reset by peer]
patarr has joined #ruby
pmyjavec has joined #ruby
flying has quit [Read error: Connection reset by peer]
flying has joined #ruby
brent__ has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
brent__ has quit [Ping timeout: 260 seconds]
<pmyjavec>
Hey all, if I make my own collection using Enumerable, I end up with a problem, that is methods such as #select, return an object of a different class! So if my colleciton has a custom to_h method set, for example, it's no longer available.
<pmyjavec>
How do others work around this?
DuivesteijnM has joined #ruby
bataii has joined #ruby
nowhereman has joined #ruby
jhass has quit [Ping timeout: 264 seconds]
jhass has joined #ruby
Rutix has quit [Ping timeout: 240 seconds]
petruff1 has joined #ruby
millerti has joined #ruby
dcunit3d has joined #ruby
andikr has joined #ruby
mim1k has joined #ruby
dcunit3d has quit [Ping timeout: 260 seconds]
rgr has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
bernd27 has joined #ruby
jackrandom has quit [Ping timeout: 240 seconds]
bsartek has quit [Quit: This computer has gone to sleep]
truenito has joined #ruby
ldnunes has joined #ruby
guardianx has joined #ruby
hotpancakes has joined #ruby
oleo has joined #ruby
gizmore|2 is now known as gizmore
JeanCarloMachado has joined #ruby
truenito has quit [Remote host closed the connection]
my123 has joined #ruby
my123 has joined #ruby
guardianx has quit [Remote host closed the connection]
guardianx has joined #ruby
my123_ has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Ping timeout: 276 seconds]
guardianx has quit [Remote host closed the connection]
guardianx has joined #ruby
blackwind_123 has joined #ruby
GinoMan has joined #ruby
User458764 has joined #ruby
endemic has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
neminis has joined #ruby
guardianx has quit [Read error: Connection reset by peer]
jusa has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
ferr has quit [Ping timeout: 260 seconds]
guardianx has joined #ruby
jusa has quit [Ping timeout: 276 seconds]
mim1k has joined #ruby
watersoul_ has quit [Remote host closed the connection]
watersoul has joined #ruby
DuivesteijnM has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Beams has joined #ruby
pmyjavec has quit [Quit: leaving]
jrm has quit [Read error: Connection reset by peer]
jrm has joined #ruby
sepp2k has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
Guest96 has quit [Remote host closed the connection]
conta has quit [Read error: Connection reset by peer]
cfec0b8d has quit [Remote host closed the connection]
conta has joined #ruby
Guest96_ has joined #ruby
ski7777 has joined #ruby
cagomez has joined #ruby
bsartek has joined #ruby
rwb has quit [Ping timeout: 240 seconds]
gnufied has joined #ruby
BTRE has joined #ruby
cagomez has quit [Ping timeout: 260 seconds]
ferr has joined #ruby
cfec0b8d has joined #ruby
<neminis>
hello, is there a good way to open an interpreter (pry or irb) every time ruby catches an exception, to assist in debugging?
mim1k has quit [Ping timeout: 255 seconds]
<ljarvis>
neminis: binding.pry if you're using pry
GodFather__ has joined #ruby
hotpancakes has joined #ruby
dcunit3d has joined #ruby
flying has quit []
<ljarvis>
you can also use IRB.start, but if you want it to be contextual you'll need to do some configuring
<ljarvis>
so if you have pry, go for that
gnufied has quit [Quit: Leaving]
<al2o3-cr>
binding.irb too
roamingdog has joined #ruby
<ljarvis>
wat
<al2o3-cr>
it's true
DuivesteijnM has joined #ruby
<ljarvis>
that's Ruby 2.4 only?
<al2o3-cr>
ljarvis: ah, yes, it might be
<ljarvis>
still, til
hotpancakes has quit [Ping timeout: 246 seconds]
dcunit3d has quit [Ping timeout: 260 seconds]
<ljarvis>
still haven't moved from 2.3 on anything myself
<charliesome>
i think maybe the bot needs to be updated too
ben______ has quit [Remote host closed the connection]
GinoMan has quit [Quit: Leaving]
insanedreamer has joined #ruby
hotpancakes has joined #ruby
GinoMan has joined #ruby
andikr has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
last_staff has quit [Quit: *poof* (until later)]
duckpupp1 has joined #ruby
insanedreamer has left #ruby [#ruby]
Seenox has joined #ruby
patarr has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
patarr has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
<uZiel>
hello
<gizmore>
hi
tomphp has joined #ruby
<uZiel>
I was running a rails server in a VM, then I suspended the vm. Now after unpausing it, the console is gone
<uZiel>
how do I connect back to it?
tomphp has quit [Client Quit]
u0_a170 has joined #ruby
guardianx has joined #ruby
tomphp has joined #ruby
__Yiota has joined #ruby
tomphp has quit [Client Quit]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DuivesteijnM_ has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
cdg has joined #ruby
GodFather__ has quit [Ping timeout: 240 seconds]
DuivesteijnM has quit [Ping timeout: 260 seconds]
<Zarthus>
?rails
<ruby[bot]>
Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
bash has joined #ruby
milardovich has quit [Remote host closed the connection]
ben_____ has joined #ruby
bash has quit [Client Quit]
p0p0pr37 has quit [Remote host closed the connection]
anisha has quit [Read error: Connection reset by peer]
brent__ has joined #ruby
<uZiel>
sure, thanks :)
anisha has joined #ruby
p0p0pr37 has joined #ruby
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Changing host]
uZiel has left #ruby [#ruby]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ben_____ has quit [Ping timeout: 276 seconds]
tomphp has joined #ruby
Ellimist has quit [Ping timeout: 260 seconds]
pandaant has quit [Remote host closed the connection]
<u0_a170>
hey anyone knows a community with ruby modules for hacking
pandaant has joined #ruby
brent__ has quit [Ping timeout: 276 seconds]
<gizmore>
u0_a170: metasploit?
<u0_a170>
yea or just tools
ben_____ has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramortegui has joined #ruby
roamingdog has quit [Remote host closed the connection]
DLSteve has joined #ruby
roamingdog has joined #ruby
DLSteve has quit [Client Quit]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
DLSteve has joined #ruby
<dminuoso>
u0_a170: If you ask for "tools for hacking", you have absolutely nothing in common with the culture behind it, nor do you have any necessary creativity necessary for hacking, and nor do you have even barely the skillset available to do anything of the sorts.
<dminuoso>
What you may be looking for is a "bundle for script kiddies that executes prepared attacks on the click of a button"
<dminuoso>
Try putting that into google.
guardianx has quit [Ping timeout: 240 seconds]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
dionysus70 is now known as dionysus69
guardianx has joined #ruby
millerti has joined #ruby
dlitvak has joined #ruby
milardovich has joined #ruby
outreachdan has quit [Ping timeout: 255 seconds]
milardovich has quit [Client Quit]
Psycho_Valker has quit [Ping timeout: 240 seconds]
Psycho_Valker has joined #ruby
dionysus69 has quit [Ping timeout: 258 seconds]
jaruga has quit [Quit: jaruga]
jaruga has joined #ruby
<kke_>
a custom terminal protocol over websockets. a ruby cli to open a terminal over that protocol. how would you handle the later part? somehow reading keypresses and printing whatever comes through the websockets seems wrong. i suppsoe there must be some way, for example by creating some fancy socket thing that handles the connection + protocol and then redirect local stdin/stdout to that instead of reading keypresses in ruby
Ellimist has joined #ruby
__Yiota has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
Lavan has quit [Ping timeout: 260 seconds]
<kke_>
i have a hunch that the regular telnet/ssh programs are not doing some "until STDIN.eof? { tcp.send(STDIN.getch) }" kind of loop
hotpanca_ has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpancakes has quit [Ping timeout: 245 seconds]
__Yiota has joined #ruby
hotpancakes has joined #ruby
patarr has joined #ruby
hotpanca_ has quit [Read error: Connection reset by peer]
apparition has joined #ruby
ben_____ has quit [Remote host closed the connection]
Guest96_ has quit [Ping timeout: 268 seconds]
<kke_>
yes i think IO.copy_stream is the answer
patarr has quit [Ping timeout: 260 seconds]
guardianx has quit [Remote host closed the connection]
<kke_>
IO.copy_stream stdin, socket in one thread and IO.copy_stream socket, stdout in the other (or some IO.readpartial loop)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 240 seconds]
lacuna has joined #ruby
ResidentBiscuit has quit [Ping timeout: 268 seconds]
jrafanie has joined #ruby
guardianx has joined #ruby
Silox| has quit [Quit: Connection closed for inactivity]
guardianx has left #ruby [#ruby]
skweek has joined #ruby
pupsicle has quit [Remote host closed the connection]
<thesubr00t>
I think there is some case missing, example for example when rider is delivering multiple orders, how to calculate the route time correctly
dcunit3d has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
u0_a170 has quit [Read error: Connection reset by peer]
Silthias has joined #ruby
roonsauce has joined #ruby
yeticry_ has joined #ruby
u0_a170 has joined #ruby
sunya7a has joined #ruby
polysics has quit [Remote host closed the connection]
dcunit3d has quit [Ping timeout: 276 seconds]
yeticry has quit [Ping timeout: 246 seconds]
polysics has joined #ruby
ben_____ has joined #ruby
polishdub has joined #ruby
yeticry_ has quit [Remote host closed the connection]
cfec0b8d has quit [Remote host closed the connection]
yeticry has joined #ruby
polysics has quit [Ping timeout: 240 seconds]
Ellimist has quit [Remote host closed the connection]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
jdawgaz has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgr_ has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has joined #ruby
guardianx has joined #ruby
__Yiota has joined #ruby
jusa has quit [Ping timeout: 260 seconds]
guardianx has quit [Remote host closed the connection]
<ljarvis>
thesubr00t: That's a lot of code to expect someone to go through and fix for you. I would recommend trying to reproduce a small example that people could help with
rgr has quit [Ping timeout: 260 seconds]
<hxegon>
^
<thesubr00t>
ljarvis, Ok
ResidentBiscuit has quit [Ping timeout: 255 seconds]
neminis has quit [Quit: Lost terminal]
apparition has joined #ruby
mark_66 has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 276 seconds]
rkazak has quit [Quit: Sleep.....ing....]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
mark_66 has joined #ruby
<paulgafton>
Hi. I am developing a small job which communicates to a rest-ish backend and makes quite a lot of requests. The backend has kerberos/spnengo authentication, which is supported by httpi. But, at that amount of requests, httpi seems to slowly fill up all the memory available until the process gets killed. rest_client for example, works fine but I didn't figure out how to do the authentication. Any advice?
antgel has joined #ruby
haylon has joined #ruby
<dminuoso>
paulgafton: Are you implying there is a memory leak, or do the requests accumulate faster than they can be served?
Ellimist has joined #ruby
rippa has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
sp4rrow has joined #ruby
ledestin has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
tvw has quit [Read error: Connection reset by peer]
<paulgafton>
dminuoso: I don't know why, but it seems that replacing my endpoint with something rate-limited as google.com doesn't have the same problem
<dminuoso>
paulgafton: That is not an answer to my question.
polysics has joined #ruby
<paulgafton>
dminuoso: I know. but based on that observation i'd say it's not a memory leak (at most a lazy GC). Also, I wouldn't say it's too many requests accumulated since I'm doing the same thing with the rate-limited endpoint and it works.
<dminuoso>
paulgafton: I'd say run it through ruby-prof
<dminuoso>
paulgafton: Without knowing the cause of this issue it's really tough to give any advice.
__Yiota has quit [Ping timeout: 246 seconds]
cschneid_ has joined #ruby
<dminuoso>
paulgafton: If the communication works without TLS, try also sniffing the communication. Perhaps there may be a clue.
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<paulgafton>
dminuoso: i'm gonna try a ruby-prof to see what i can find out
pupsicle has quit [Remote host closed the connection]
ltem has joined #ruby
<dminuoso>
paulgafton: More manual methods such as ObjectSpace.trace_object_allocations_start exist too.
antgel has quit [Ping timeout: 240 seconds]
ozcanesen has joined #ruby
<paulgafton>
dminuoso: do you know by any chance other libraries that provide spnengo authentication that I can try?
<dminuoso>
No. I am not familiar with that service at all.
<dminuoso>
Other than it having to do with Kerberos.
conta has quit [Ping timeout: 240 seconds]
skweek has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
pupsicle has joined #ruby
hotpanca_ has joined #ruby
t-recx has quit [Quit: t-recx]
blackwind_123 has quit [Ping timeout: 264 seconds]
Psycho_Valker has quit [Ping timeout: 258 seconds]
SeanPan has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
Silox| has joined #ruby
iliketurtles has joined #ruby
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
antgel has joined #ruby
nobitano_ has joined #ruby
nicesignal has quit [Remote host closed the connection]
elsevero has quit [Quit: elsevero]
ResidentBiscuit has joined #ruby
nicesignal has joined #ruby
u0_a170 has quit [Ping timeout: 260 seconds]
javierbuilder has joined #ruby
<javierbuilder>
hi friends i need understand this error .. sprockets:filenotfound couldn't find file 'components' with type 'application/javascript'
HoierM has quit [Ping timeout: 240 seconds]
<starmix>
what's wrong with that error? It sounds pretty explicit to me?
nobitanobi has quit [Ping timeout: 260 seconds]
polysics has quit [Remote host closed the connection]
ih8d0g has joined #ruby
SeanPan has left #ruby ["Leaving"]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polysics has joined #ruby
rails4444 has joined #ruby
perniciouscaffei has joined #ruby
User458764 has joined #ruby
skweek has joined #ruby
HoierM has joined #ruby
roonsauc_ has joined #ruby
guardianx has joined #ruby
polysics has quit [Ping timeout: 255 seconds]
iliketurtles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guardianx has quit [Remote host closed the connection]
brent__ has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
ih8d0g has quit [Remote host closed the connection]
ih8d0g has joined #ruby
hotpancakes has joined #ruby
marr has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
hotpanca_ has joined #ruby
ih8d0g has quit [Remote host closed the connection]
roonsauce has quit [Ping timeout: 255 seconds]
ih8d0g has joined #ruby
guardianx has joined #ruby
guardianx has quit [Remote host closed the connection]
hotpanca_ has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
hotpancakes has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
hotpanca_ has joined #ruby
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
hotpanca_ has quit [Remote host closed the connection]
lacuna has quit [Ping timeout: 245 seconds]
hotpancakes has joined #ruby
ferr has quit [Quit: WeeChat 1.7]
guardianx has joined #ruby
matti has quit [Quit: Reconnecting]
matti has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
tlaxkit has joined #ruby
guardianx has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 258 seconds]
guardianx has joined #ruby
ResidentBiscuit has quit [Read error: Connection reset by peer]
[Butch] has joined #ruby
jrafanie has joined #ruby
<brent__>
Workin on some refactoring, I have a couple model classes w/ some duplicate code that I was extracting into a module
hotpancakes has joined #ruby
<brent__>
part of that is other included modules, as they both include like 9 of the same modules
<brent__>
how do I go about inlcuding those modules inside this shared module I'm about to make?
<brent__>
that will then be included in the 2 classes
aufi has quit [Quit: Leaving]
u0_a170 has joined #ruby
ResidentBiscuit has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ih8d0g has left #ruby ["Leaving"]
<havenwood>
>> module X; def ok; :ok end end; module Y; include X end; class Z; include Y end; Z.new.ok # brent__
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kobain has joined #ruby
mikecmpbll has quit [Ping timeout: 260 seconds]
outreachdan has joined #ruby
guardianx has quit [Remote host closed the connection]
__Yiota has joined #ruby
guardianx has joined #ruby
outreachdan has quit [Client Quit]
guardianx has quit [Remote host closed the connection]
polysics has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mark_66 has quit [Remote host closed the connection]
howdoi has quit [Quit: Connection closed for inactivity]
bernd9000 has joined #ruby
__Yiota has joined #ruby
bernd27 has quit [Ping timeout: 276 seconds]
guardianx has joined #ruby
roamingdog has joined #ruby
djbkd has quit [Remote host closed the connection]
guardianx has quit [Remote host closed the connection]
nobitanobi has joined #ruby
<javierbuilder>
Ellimist: thanks i dont understand the error, but i fixed i create the folder components adn files.. and fixed but have other messages.. Sass::SyntaxError at /users/sign_in File to import not found or unreadable: bootstrap-sprockets.
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
jaruga has quit [Quit: jaruga]
lxsameer has quit [Quit: WeeChat 1.7]
roamingdog has quit [Ping timeout: 240 seconds]
ben_____ has quit [Remote host closed the connection]
aryaching has joined #ruby
thesubr00t has quit [Quit: Ex-Chat]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
javierbuilder has quit [Ping timeout: 255 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
jamesaxl has joined #ruby
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rwb has quit [Ping timeout: 240 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kies has quit [Ping timeout: 240 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rwb has joined #ruby
u0_a170 has quit [Ping timeout: 264 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpanca_ has joined #ruby
jgnagy has joined #ruby
guardianx has joined #ruby
nhhc has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
dmtd has joined #ruby
hotpancakes has joined #ruby
Silthias has left #ruby [#ruby]
chouhoulis has quit [Remote host closed the connection]
jrafanie has joined #ruby
__Yiota has joined #ruby
tercenya has quit [Remote host closed the connection]
bernd9000 has quit [Quit: Leaving]
tercenya has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
jackrandom has joined #ruby
guardianx has quit [Remote host closed the connection]
javierbuilder has joined #ruby
kies has joined #ruby
guardianx has joined #ruby
cdg has joined #ruby
bernd27 has joined #ruby
guardianx has quit [Remote host closed the connection]
Psycho_Valker has joined #ruby
petruff has quit [Ping timeout: 276 seconds]
millerti has joined #ruby
javierbuilder has quit [Quit: Leaving.]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcao219 has joined #ruby
duderonomy has quit [Ping timeout: 258 seconds]
petruff has joined #ruby
username1 has joined #ruby
__Yiota has joined #ruby
<username1>
is there a way to tell which level of an iteration a stacktrace was raised on?
romank has quit [Ping timeout: 260 seconds]
<username1>
the stacktrace just says "block (2 levels)"
renchan has quit [Quit: Leaving...]
marxarelli is now known as marxarelli|afk
<username1>
but is there a way to tell which level the error was raised on (e.g. which item of the iteration the error was raised?)
skweek has quit [Ping timeout: 276 seconds]
romank has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
User458764 has joined #ruby
hobodave has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
hobodave has quit [Client Quit]
marxarelli|afk is now known as marxarelli
Silox| has quit [Quit: Connection closed for inactivity]
GinoMan has quit [Ping timeout: 260 seconds]
u0_a170 has joined #ruby
<toretore>
username1: `p theObject` in each iteration; the last output before the raise is the one
<baweaver>
?pry
<ruby[bot]>
Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
esObe_ has quit [Remote host closed the connection]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
skade_ has joined #ruby
skweek has joined #ruby
GinoMan has joined #ruby
esObe_ has joined #ruby
SeepingN has joined #ruby
hotpancakes has quit []
esObe_ has quit [Ping timeout: 264 seconds]
bsartek has quit [Quit: This computer has gone to sleep]
Ellimist has quit [Ping timeout: 246 seconds]
enterprisey has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmes1 has joined #ruby
cdg_ has joined #ruby
Psycho_Valker has quit [Ping timeout: 240 seconds]
Cohedrin has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
araujo has quit [Quit: Leaving]
MrBusiness has joined #ruby
blackmes1 has quit [Ping timeout: 276 seconds]
JoshS has quit [Ping timeout: 240 seconds]
vuoto has joined #ruby
ozzloy_ is now known as ozzloy
u0_a170 has quit [Ping timeout: 260 seconds]
ozzloy has quit [Changing host]
ozzloy has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
PatriqueEtoile2 has joined #ruby
cfec0b8d has joined #ruby
Ksawerek has quit [Ping timeout: 260 seconds]
postmodern has joined #ruby
romank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ellimist has joined #ruby
blackmes1 has joined #ruby
__Yiota has joined #ruby
ben_____ has joined #ruby
Garo_ has left #ruby [#ruby]
Ellimist has quit [Ping timeout: 258 seconds]
Ellimist has joined #ruby
gaucheph has joined #ruby
u0_a170 has joined #ruby
elsevero has joined #ruby
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
jcao219 has quit [Ping timeout: 255 seconds]
ozcanesen has joined #ruby
chouhoulis has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
eblip has quit [Quit: WeeChat 1.4]
Bock has quit [Remote host closed the connection]
lxsameer has joined #ruby
duderonomy has joined #ruby
rkellermeyer has joined #ruby
petruff has quit [Ping timeout: 255 seconds]
cdg_ has quit [Remote host closed the connection]
rakm has joined #ruby
chouhoulis has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
esObe_ has joined #ruby
Xiti` has joined #ruby
jhack_ has joined #ruby
lektrik has quit [Remote host closed the connection]
jrafanie_ has joined #ruby
lektrik has joined #ruby
patarr has joined #ruby
jrafanie has quit [Ping timeout: 240 seconds]
jusa has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
jhack has quit [Ping timeout: 240 seconds]
__Yiota has quit [Ping timeout: 240 seconds]
u0_a170 has quit [Quit: leaving]
esObe_ has quit [Ping timeout: 276 seconds]
Tralin has joined #ruby
patarr has quit [Ping timeout: 267 seconds]
dionysus69 has joined #ruby
patarr has joined #ruby
Ellimist has quit [Read error: Connection reset by peer]
Ellimist has joined #ruby
blackmesa has joined #ruby
vuoto has joined #ruby
blackmes1 has quit [Read error: Connection reset by peer]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
bsartek has joined #ruby
jackrandom has quit [Remote host closed the connection]
bernd27 has quit [Remote host closed the connection]
jackrandom has joined #ruby
Burgestrand has joined #ruby
guacamol1 has joined #ruby
guacamol1 has quit [Client Quit]
nobodyzxc has quit [Quit: leaving]
guacamole has quit [Quit: Lost terminal]
roonsauc_ has quit [Remote host closed the connection]
guacamole has joined #ruby
roonsauce has joined #ruby
maattdd has joined #ruby
_pfharlock has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
roonsauce has quit [Ping timeout: 246 seconds]
dcunit3d has quit [Ping timeout: 258 seconds]
sp4rrow has joined #ruby
mim1k has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
ResidentBiscuit has quit [Read error: Connection reset by peer]
patarr has joined #ruby
ResidentBiscuit has joined #ruby
roonsauce has joined #ruby
y2mq37 has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
blipz is now known as blipz3
blipz3 is now known as blipz
yolobob has joined #ruby
<jolamb>
so I have some instance methods that are tightly coupled to one another but which aren't used by the other methods in a class. I could extract them into a module and then include that module in my class, but that seems like bad programming
<jolamb>
That is, it seems bad because these methods *do* call other instance methods in the class.
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
<jolamb>
It seems like bad locality of reference if the module calls a bunch of methods that are defined in some other class, maybe even in some other file. Is there a better way to encapsulate these, or at least a way to make it clear where these mystery instance methods might be coming from?
yolobob has quit [Client Quit]
skade_ has quit [Ping timeout: 240 seconds]
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
bernd27 has joined #ruby
jackrandom has quit [Remote host closed the connection]
bernd27 has quit [Remote host closed the connection]
skade_ has joined #ruby
jackrandom has joined #ruby
<al2o3-cr>
lets start including classes :{
<al2o3-cr>
>> require 'fiddle'; include Fiddle; module X end; class Y def y() 42 end end; Pointer[dlwrap Y][0,12] = Pointer[dlwrap X][0,12]; include Y; y
<hxegon>
jolamb: Is this strictly a refactor, or can you make API changes?
<jolamb>
I am the customer, so I can make API changes
tlaxkit has quit [Quit: tlaxkit]
<hxegon>
fucking... helper classes
<jolamb>
hxegon: I know
chouhoulis has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
<hxegon>
Have you thought about adding those as class methods on Trello::Card?
<jolamb>
hxegon: you mean monkeypatching it? I'd rather not
<hxegon>
you could refine it, which is an order of magnitude less awful IMO
dcunit3d has joined #ruby
<jolamb>
If I were to go down that rode, I'd extend Trello::Card instead
<jolamb>
s/rode/road/
bunniez has joined #ruby
<jolamb>
hxegon: googling "ruby refine"
<hxegon>
jolamb: it's basically a scoped monkey patch
<jolamb>
hxegon: I see. That's pretty cool
skade_ has quit [Ping timeout: 240 seconds]
<hxegon>
jolamb: I'd say refining is probably the way to go here, but there are layers here that are going to take a minute to pick through
cdg has joined #ruby
<bunniez>
hello, i am a ruby noob, can someone help me? i just installed RVM on linux, i installed ruby 2.4.1 and also set it to default, but after restarting my terminal window, when i run "ruby -v" it gives me "ruby 2.1.5", but then when i run "rvm list", it lists only 2.4.0 and 2.4.1, and has 2.4.1 indicated as both current and default. but then i run "ruby -v" again and it still says "2.1.5"..... what gives? i want to use 2.4.1.
<jolamb>
I'd still rather subclass it so that it's evident to the next poor soul that we're not using the "pure" ruby-trello API
<hxegon>
jolamb: when you use refinements you have to make a statement in any class/module that uses them, so it's pretty clear in practice
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkellermeyer has quit [Ping timeout: 276 seconds]
<ytti>
*? was new to me
<ytti>
i don't really understand the fsck is going on
roamingdog has joined #ruby
<ytti>
seems nasty
<hxegon>
jolamb: that code needs some generous use of reduce to get rid of all that "tmp = []; foo.each do |f|; tmp << f" and "tmp[f] = bar" nastiness
<bunniez>
cseder: oh, thank you very much for that input. does this mean i need to add something to my $PATH variable? how do i do this?
<hxegon>
and filter
<hxegon>
them ifs tho
<bunniez>
sorry, i am very noob.
<cseder>
bunniez did you get it to run?
<jolamb>
hxegon: yup
<jolamb>
hxegon: I never knew the term "cyclomatic complexity" until I started working on this code. :)
<cseder>
bunniez if you do `which ruby`
<al2o3-cr>
bunniez: "bash -l; ruby -v"
<hxegon>
jolamb: how much refactoring in ruby experience do you have? If you want to psych yourself up I have a fantastic Sandi Metz talk I could dig up
brent__ has quit [Remote host closed the connection]
Psycho_Valker has joined #ruby
<jolamb>
hxegon: I've got a decent amount, but I wouldn't characterize all the experience as "good"
<cseder>
bunniez it should show ~/.rvm/rubies/ruby_version_here/bin/ruby
<jolamb>
at least not in terms of the eventual output :)
Psycho_Valker has quit [Client Quit]
<bunniez>
cseder: if i do `which ruby`, it says: /usr/bin/ruby
<cseder>
bunniez try: rvm use ruby-2.4.1
<al2o3-cr>
bunniez: $SHELL -l
<bunniez>
cseder, when i did that, it said: RVM is not a function, selecting rubies with 'rvm use ...' will not work.
<bunniez>
Sometimes it is required to use `/bin/bash --login` as the command.
<bunniez>
You need to change your terminal emulator preferences to allow login shell.
<bunniez>
oh wow
mim1k has quit [Ping timeout: 255 seconds]
<bunniez>
i guess i will read these instructions for "gnome terminal"?
<cseder>
oh... I use zsh on a mac, so here stuff just works. ;)
patarr has joined #ruby
nhhc has joined #ruby
rkellermeyer has joined #ruby
<al2o3-cr>
rvm sucks
<hxegon>
jolamb: good luck, let me know if you have any more questions. I love refactoring code like that, wierdly.
skweek has joined #ruby
<al2o3-cr>
big donkey dick
<jolamb>
hxegon: will do, thanks
<hxegon>
I'd have to agree. Use rbenv or chruby if at all possible bunniez
<hxegon>
np jolamb
<cseder>
bunniez didn't think it was so hard getting ruby installed and running with RVM, so sorry, I just do rvm install ruby-2.4.1 in zsh shell, and it takes a while to compile and then use the 'rvm use' command
<cseder>
bunniez get a mac! (kidding)
<bunniez>
all: it's ok, after reading those instructions it turns out all i had to do was check a box in the preferences of my terminal. now everything works perfectly :)
<bunniez>
all: thank you very much for your help!
mim1k has joined #ruby
<bunniez>
cseder: i am usually a mac fangirl too, but this is for work and our dev team has agreed on a certain env/stack. ;)
<cseder>
bunniez yay! good work. Now start using zsh for the ultimate shell environment! :)
<cseder>
bunniez I hear you
<bunniez>
cseder: oyah? i've always used bash but i will look into that
<droptone>
Question: if I want to print all the values in a string through interpolation, what's the best way to do this?
<droptone>
Sorry, not a string, in a hash
<droptone>
For example, myhash = { "bob" => "jim" }, puts "Hello, this is my hash: #{my_hash}"
<droptone>
When I do that, it just prints the hex value of the hash in ram I believe, such as 0x0000000dbd1ac0
<droptone>
And not the values within the hash
<bunniez>
cseder: very cool. thanks for that
<baweaver>
droptone: do you want just the values?
<hxegon>
>> p "foo: #{{foo: 'bar'}}" # droptone
<ruby[bot]>
hxegon: # => "foo: {:foo=>\"bar\"}" ...check link for more (https://eval.in/786682)
<cseder>
bunniez no problem! Have a blast learning zsh, it's sweet
<droptone>
Yes, and it appears I'm wrong, if I just try puts "#{my_hash}" in irb it works, it appears it's because I'm using ActiveRecord in this non-rails project
<droptone>
It's printing the active record hex value instead of the values within the hash
<droptone>
Or the AR record, so scratch that, apologies.
<droptone>
Different issue.
hndk has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
lubekpl has joined #ruby
rkellermeyer has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
boombox_ has quit [Remote host closed the connection]
unshadow has quit [Quit: leaving]
dionysus69 has joined #ruby
Komic has joined #ruby
<Komic>
hi there
<Komic>
i'm having what is probably a really dumb problem
<droptone>
Looks like with an AR record you can just .inspect it in a string interpolation and it'll print the values
<Komic>
bundler is trying to install cld2 but fails https://ghostbin.com/paste/ptwh4 apparently my version of gcc is too recent or something
chouhoulis has quit [Remote host closed the connection]
<Komic>
<Komic> bundler is trying to install cld2 but fails https://ghostbin.com/paste/ptwh4 apparently my version of gcc is too recent or something
<Komic>
<Komic> but no luck
<Komic>
<Komic> then start bundle again
<Komic>
<Komic> i've been trying "bundle config build.cld2 --with-cflags="-Wno-narrowing""
<Komic>
<Komic> not sure how to deal with this
<Komic>
bump~
linetrace has quit [Ping timeout: 240 seconds]
exchgr has joined #ruby
linetrace has joined #ruby
arooni_team_b is now known as arooni
BSab has joined #ruby
BSAlb has quit [Ping timeout: 240 seconds]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
slash_nick has joined #ruby
<cseder>
If you are new to Ruby and want to understand one of the most important part of the language (blocks) spend $25 on this Pragmatic Programmers video course: https://pragmaticstudio.com/ruby-blocks
Eiam has joined #ruby
xco has joined #ruby
<xco>
just to be sure are these two the same? this “r = $1.to_sym” and “Regexp.last_match(1).to_sym”
enterprisey has quit [Ping timeout: 246 seconds]
BSaboia has joined #ruby
GinoMan2440 has joined #ruby
BSab has quit [Ping timeout: 268 seconds]
y2mq37 has quit [Read error: Connection reset by peer]
Pumukel has quit [Remote host closed the connection]
y2mq37 has joined #ruby
Pumukel has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
rwb has joined #ruby
GinoMan2440 has quit [Client Quit]
Burgestrand has quit [Quit: Closing time!]
Pumukel has quit [Ping timeout: 255 seconds]
sepp2k has quit [Ping timeout: 255 seconds]
fusta has joined #ruby
lagweezle_away is now known as lagweezle
droptone_ has quit [Ping timeout: 268 seconds]
jusa has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
mjora7 has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
BSaboia has joined #ruby
romank has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
droptone has joined #ruby
preyalone has joined #ruby
roonsauce has quit [Remote host closed the connection]
rizonz has joined #ruby
<rizonz>
hi guys, is this valid code ? if ! ($k =~ /^MOD::/ ) {
<baweaver>
Does it work?
<rizonz>
so if $k does not start with MOD::
<baweaver>
(It's not by the way)
<rizonz>
baweaver: I get some weird error which does not comes from this line
<baweaver>
Ruby doesn't use braces like that
hays_ has joined #ruby
gaucheph has quit [Quit: Zzzz...]
<rizonz>
baweaver: yeah I'm doing it in puppet, but the manifest not the template
<baweaver>
but you really need to learn Ruby first for some of this
<baweaver>
parens aren't necessary either there, and the ! could be $k !~ /^MOD::/
<rizonz>
baweaver: yeah tried that as well
<rizonz>
but was not sure if I used the braces
<baweaver>
?gist
<ruby[bot]>
https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<baweaver>
Use that to show the script and the error
slash_nick has quit [Quit: blorp]
ledestin has joined #ruby
<rizonz>
baweaver: yeah checking out first
<rizonz>
will do
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
nhhc has quit [Remote host closed the connection]
ben_____ has quit [Remote host closed the connection]
ben_____ has joined #ruby
bweston92 has quit [Quit: Connection closed for inactivity]
skade_ has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Quit: dionysus69]
ben_____ has quit [Ping timeout: 240 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roonsauce has joined #ruby
roonsauce has quit [Remote host closed the connection]
tercenya has quit [Remote host closed the connection]
roonsauce has joined #ruby
tercenya has joined #ruby
TomyLobo2 has joined #ruby
Azure|dc has joined #ruby
canton7 has quit [Ping timeout: 246 seconds]
[spoiler] has quit [Ping timeout: 240 seconds]
tekacs has quit [Ping timeout: 255 seconds]
rwb1 has joined #ruby
Lyfe_ has joined #ruby
roonsauce has quit [Ping timeout: 246 seconds]
rprimus has quit [Ping timeout: 240 seconds]
preyalone_ has joined #ruby
Takumo has quit [Ping timeout: 246 seconds]
skade_ has joined #ruby
kaspergr1bbe has quit [Ping timeout: 268 seconds]
Drakevr has quit [Ping timeout: 240 seconds]
mahlon_ has joined #ruby
pifon_ has joined #ruby
camilasann has joined #ruby
ammar has quit [Ping timeout: 240 seconds]
majoh has quit [Ping timeout: 264 seconds]
Subfusc has quit [Ping timeout: 264 seconds]
Rush_ has joined #ruby
lucas has quit [Ping timeout: 260 seconds]
<SegFaultAX>
rizonz: You should never expect that valid Puppet will be valid Ruby
<SegFaultAX>
The puppet syntax is only vaguely similar to Ruby, but in most circumstances it is syntactically and semantically different.
soahccc_ has joined #ruby
zenspider_ has joined #ruby
claw_ has joined #ruby
tekacs has joined #ruby
lagweezle is now known as lagweezle_away
russt_ has joined #ruby
spk_ has joined #ruby
Marc- has joined #ruby
z4phod_ has joined #ruby
Evesy_ has joined #ruby
gigetoo_ has joined #ruby
TvL2386_ has joined #ruby
unixabg_ has joined #ruby
[spoiler] has joined #ruby
tekacs is now known as Guest1916
ablackack_ has joined #ruby
milardovich has joined #ruby
Hobbyboy|BNC has joined #ruby
DenSchub_ has joined #ruby
unsymbol_ has joined #ruby
fnux_ has joined #ruby
patarr has joined #ruby
canton7 has joined #ruby
lele` has joined #ruby
furkanusta has joined #ruby
kies^ has joined #ruby
j416_ has joined #ruby
Drakevr has joined #ruby
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
crayfishx_ has joined #ruby
heftig1 has joined #ruby
rwb has quit [Ping timeout: 240 seconds]
unsymbol has quit [Ping timeout: 240 seconds]
rrichardsr3 has quit [Ping timeout: 240 seconds]
Evesy has quit [Ping timeout: 240 seconds]
gmcintire has quit [Ping timeout: 240 seconds]
podman has quit [Ping timeout: 240 seconds]
HashNuke has quit [Ping timeout: 240 seconds]
russt has quit [Ping timeout: 240 seconds]
preyalone has quit [Read error: Connection reset by peer]
spk has quit [Ping timeout: 240 seconds]
crayfishx has quit [Ping timeout: 240 seconds]
pifon has quit [Write error: Connection reset by peer]
lele has quit [Ping timeout: 240 seconds]
Hobbyboy has quit [Ping timeout: 240 seconds]
j416 has quit [Ping timeout: 240 seconds]
ablackack has quit [Ping timeout: 240 seconds]
DenSchub has quit [Ping timeout: 240 seconds]
fusta has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Ping timeout: 240 seconds]
mahlon has quit [Ping timeout: 240 seconds]
xenops has quit [Ping timeout: 240 seconds]
soahccc has quit [Ping timeout: 240 seconds]
mattwc has quit [Ping timeout: 240 seconds]
RealMarc has quit [Ping timeout: 240 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
zenspider has quit [Ping timeout: 240 seconds]
TvL2386 has quit [Ping timeout: 240 seconds]
z4phod has quit [Ping timeout: 240 seconds]
kies has quit [Ping timeout: 240 seconds]
Sammichmaker has quit [Ping timeout: 240 seconds]
claw has quit [Ping timeout: 240 seconds]
lightstalker has quit [Ping timeout: 240 seconds]
Azure has quit [Ping timeout: 240 seconds]
Rush has quit [Ping timeout: 240 seconds]
Lyfe has quit [Ping timeout: 240 seconds]
infernix has quit [Ping timeout: 240 seconds]
heftig has quit [Ping timeout: 240 seconds]
fnux has quit [Ping timeout: 240 seconds]
unixabg has quit [Ping timeout: 240 seconds]
Iacobus has quit [Ping timeout: 240 seconds]
camilasan has quit [Ping timeout: 240 seconds]
TomyLobo has quit [Ping timeout: 240 seconds]
heyimwill has quit [Ping timeout: 240 seconds]
krasnus has quit [Ping timeout: 240 seconds]
cs_0x6373 has quit [Ping timeout: 240 seconds]
rwb1 is now known as rwb
fnux_ is now known as fnux
Hobbyboy|BNC is now known as Hobbyboy
spk_ is now known as spk
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
j416_ is now known as j416
gigetoo_ is now known as gigetoo
lightstalker has joined #ruby
pifon_ is now known as pifon
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
majoh has joined #ruby
JeanCarloMachado has joined #ruby
xenops has joined #ruby
milardovich has quit [Remote host closed the connection]
dionysus69 has joined #ruby
Subfusc has joined #ruby
preyalone_ is now known as preyalone
blackwind_123 has joined #ruby
krasnus has joined #ruby
lucas has joined #ruby
kaspergrubbe has joined #ruby
rprimus has joined #ruby
rprimus is now known as Guest88277
ammar has joined #ruby
infernix has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
polishdub has quit [Quit: kill -9]
patarr has quit [Ping timeout: 276 seconds]
patarr has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hndk has quit [Quit: Leaving]
patarr has quit [Ping timeout: 264 seconds]
skade_ has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
heyimwill has joined #ruby
marxarelli is now known as marxarelli|afk
<patarr>
Is there something like delete_if that returns the values deleted?
GodFather__ has quit [Ping timeout: 240 seconds]
cs_0x6373 has joined #ruby
_main_ has joined #ruby
milardovich has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
__main__ has quit [Read error: Connection reset by peer]
herbmillerjr has joined #ruby
latemus has joined #ruby
__main__ has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
cdg has quit [Remote host closed the connection]
__main__ has joined #ruby
ddffg has quit [Ping timeout: 240 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<rizonz>
SegFaultAX: I wasn't expecting, tho their erbs are quite ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
romank has quit [Read error: Connection reset by peer]
haylon has joined #ruby
haylon_ has quit [Quit: haylon_]
Mia has quit [Read error: Connection reset by peer]
Ellimist has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
romank has joined #ruby
maattdd has quit [Read error: Connection reset by peer]
maattdd has joined #ruby
latemus has quit [Quit: Lost terminal]
stee_3 has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
dcunit3d has quit [Ping timeout: 276 seconds]
nertzy has joined #ruby
alveric2 has joined #ruby
stee_3__ has joined #ruby
latemus has joined #ruby
stee_3_ has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
alveric1 has quit [Ping timeout: 240 seconds]
dcunit3d has joined #ruby
JeanCarloMachado has joined #ruby
stee_3 has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 240 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
Cohedrin has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
Cohedrin has joined #ruby
esObe_ has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
JeanCarloMachado has joined #ruby
millerti has joined #ruby
__Yiota has joined #ruby
romank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marxarelli|afk is now known as marxarelli
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bitcycle has joined #ruby
<bitcycle>
Hey all. Can someone tell me how one distributes data files with a gem? e.g. I've got a standard XML template file that I would like to distribute with my gem. Where do I put it?
<xco>
will i be right in thinking this “%Q{one\ntwo\n#{ 1 + 2 }}” is the same as “%{one\ntwo\n#{ 1 + 2 }}” ?
gaucheph has joined #ruby
hays_ has quit [Remote host closed the connection]
lektrik has quit [Quit: Leaving]
skade_ has joined #ruby
brent__ has quit [Remote host closed the connection]