GinoMan2440 has quit [Remote host closed the connection]
wnd has joined #ruby
forgot has joined #ruby
Rich_Morin_ has quit [Ping timeout: 255 seconds]
forgot is now known as Guest57153
nadir has quit [Quit: Connection closed for inactivity]
mochiyoda_ has quit [Ping timeout: 245 seconds]
belmoussaoui_ is now known as belmoussaoui
Rich_Morin has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
ddffg has quit [Ping timeout: 240 seconds]
Rich_Morin has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 260 seconds]
nadir has joined #ruby
zipace has quit [Ping timeout: 255 seconds]
t-recx has quit [Quit: t-recx]
lxsameer has quit [Ping timeout: 255 seconds]
jackjackdripper1 has quit [Quit: Leaving.]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
moei has quit [Quit: Leaving...]
quobo has quit [Quit: Connection closed for inactivity]
jolamb has quit [Ping timeout: 260 seconds]
jolamb has joined #ruby
_whitelogger has joined #ruby
troys_ is now known as troys
N0ATN has quit [Quit: ZNC 1.7.x-git-775-96c92ef8 - https://znc.in]
N0ATN has joined #ruby
charliesome has joined #ruby
KeyJoo has quit [Ping timeout: 255 seconds]
cjhowe7 has joined #ruby
Bhootrk_ has joined #ruby
Bhootrk_ has quit [Max SendQ exceeded]
jgt2 has quit [Ping timeout: 260 seconds]
moei has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
belmoussaoui_ has joined #ruby
Bock has quit [Read error: Connection reset by peer]
belmoussaoui has quit [Ping timeout: 255 seconds]
bruce_lee has quit [Ping timeout: 240 seconds]
bruce_lee has joined #ruby
d^sh has quit [Ping timeout: 246 seconds]
GinoMan1423 has quit [Read error: Connection reset by peer]
d^sh has joined #ruby
kies has joined #ruby
JoshS has joined #ruby
N0ATN has quit [Read error: Connection reset by peer]
N0ATN has joined #ruby
micahjam97 has joined #ruby
N0ATN has quit [Ping timeout: 260 seconds]
Definity2 has joined #ruby
<micahjam97>
hey so I was wondering. I was playing around with .methods, 2.methods for example returns an array of symbols of the names of methods you can use on 2. It got me thinking. Lets say you had an array of symbols with method names. is there a clear way of calling that method on that object using only variables to contain the name? The only way I can come up with is eval "object.#{method}"
<lupine>
micahjam97: see `send`
<lupine>
object.send(method)
<micahjam97>
sweet. exactly what I was looking for. ruby has built in methods for everything
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
doublemalt__ has joined #ruby
cjhowe7 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
taurgal has joined #ruby
Farioko has joined #ruby
taurgal has quit [Ping timeout: 260 seconds]
roshanavand has joined #ruby
laekur has joined #ruby
laekur has quit [Quit: Peace]
taurgal has joined #ruby
cfec0b8d has quit [Remote host closed the connection]
\tau has quit [Remote host closed the connection]
minimalism has quit [Quit: minimalism]
bkxd_ has joined #ruby
<Farioko>
I'm trying to build a small rest API using sinatra and activerecord. The API is storing papers and they may contain several tags. How do I set up the relations?
quazimodo has joined #ruby
bkxd has quit [Ping timeout: 268 seconds]
lele has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
lele has joined #ruby
jusa has quit [Ping timeout: 260 seconds]
bkxd_ has quit [Ping timeout: 240 seconds]
quobo has joined #ruby
lxsameer has joined #ruby
quazimodo has quit [Read error: Connection reset by peer]
rohitpaulk has joined #ruby
bpmedley has quit [Ping timeout: 268 seconds]
rohitpaulk has quit [Ping timeout: 255 seconds]
konsolebox_ has joined #ruby
konsolebox has quit [Ping timeout: 255 seconds]
Psy-Q has quit [Ping timeout: 260 seconds]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox_ has quit [Client Quit]
Psy-Q has joined #ruby
dkam has quit [Quit: Be back later ...]
dkam has joined #ruby
fxa90id has joined #ruby
rohitpaulk has joined #ruby
fxa90id has quit [Quit: Leaving]
fxa90id has joined #ruby
mikecmpbll has joined #ruby
MichaelBurge has joined #ruby
konsolebox has joined #ruby
A124 has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
rohitpaulk has quit [Ping timeout: 260 seconds]
rohitpaulk has joined #ruby
Mia has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 268 seconds]
rohitpaulk has quit [Read error: Connection reset by peer]
jane_booty_doe has joined #ruby
jane_booty_doe has quit [Client Quit]
Sembei has quit [Read error: Connection reset by peer]
bkxd has quit [Read error: Connection reset by peer]
Sembei has joined #ruby
ddffg has joined #ruby
rohitpaulk has joined #ruby
bast has quit [Ping timeout: 246 seconds]
bkxd has joined #ruby
tomphp has joined #ruby
govg has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
jusa has joined #ruby
jusa has quit [Ping timeout: 260 seconds]
Farioko has quit [Quit: Page closed]
ShekharReddy has joined #ruby
<morfin>
Paper should has_an_belongs_to_many :tag?
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<morfin>
has_and_belongs_to_many :tag
<morfin>
so one tag can have many papers and one paper can has many tags
arquebus has joined #ruby
arquebus has quit [Client Quit]
taurgal has quit [Ping timeout: 255 seconds]
antgel has quit [Ping timeout: 255 seconds]
dn` has quit [Quit: dn`]
<zenspider>
havenwood/morfin iirc there's also a way to tell it that it is explicitly an array arg
<morfin>
ah he left
<zenspider>
morfin: that's fine. they'll be back.
<zenspider>
morfin: ah... stating it is an array means you can do --foo 1,2,3
<morfin>
hmm
<zenspider>
eg: parser.on("--list x,y,z", Array, "Example 'list' of arguments") do |list|
<zenspider>
ri OptionParser and look for Array
<zenspider>
ok... bed for me
<morfin>
is parser capable to parse syntax with = and without = for short/long syntax?
<morfin>
-u 1,33,5 or --users=1,33,5
<morfin>
that's how args usually handled in many programs
bast has joined #ruby
bast has quit [Changing host]
bast has joined #ruby
<zenspider>
morfin: please look at the doco. Try `ri OptionParser`
<morfin>
ok
pankaj has joined #ruby
cjhowe7 has joined #ruby
meshsmith has joined #ruby
stormbytes has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
cjhowe7 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 240 seconds]
mitt3ns has joined #ruby
ecuanaso has joined #ruby
agent_white has quit [Ping timeout: 255 seconds]
agent_white has joined #ruby
mitt3ns has quit [Ping timeout: 255 seconds]
belmoussaoui__ has quit [Read error: Connection reset by peer]
belmoussaoui__ has joined #ruby
jameser has joined #ruby
jameser has quit [Client Quit]
jameser has joined #ruby
jameser has quit [Client Quit]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
art-solopov has joined #ruby
cfec0b8d has joined #ruby
chalkmonster has quit [Quit: Daddy's flown, 'cross the ocean.]
laekur has joined #ruby
jane_booty_doe has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
jdawgaz has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
pankaj has quit [Quit: Leaving]
beawesomeinstead has quit [Quit: Connection closed for inactivity]
im0nde has joined #ruby
quazimodo has joined #ruby
cadillac__ has joined #ruby
ecuanaso has joined #ruby
rohitpaulk has quit [Ping timeout: 268 seconds]
laekur has quit [Quit: Leaving]
leitz has joined #ruby
antgel has joined #ruby
im0nde has quit [Ping timeout: 246 seconds]
laekur has joined #ruby
rohitpaulk has joined #ruby
Mon_Ouie has joined #ruby
MichaelBurge has quit [Remote host closed the connection]
MichaelBurge has joined #ruby
chalkmonster has joined #ruby
doublemalt_ has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 268 seconds]
im0nde has joined #ruby
doublemalt__ has quit [Ping timeout: 255 seconds]
A124 has joined #ruby
nanoz has joined #ruby
Fernando-Basso has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
mahlon has quit [Read error: Connection reset by peer]
guardianx has quit [Remote host closed the connection]
guardianxx has joined #ruby
s3nd1v0g1us has quit [Quit: tempusfugit]
bkxd has joined #ruby
konsolebox has quit [Max SendQ exceeded]
konsolebox has joined #ruby
omab has joined #ruby
cadillac__ has quit [Read error: Connection reset by peer]
bkxd has quit [Ping timeout: 245 seconds]
taurgal has joined #ruby
bkxd has joined #ruby
im0nde has quit [Ping timeout: 255 seconds]
Robtop__ has joined #ruby
guardianxx has left #ruby [#ruby]
pwnd_nsfw` has quit [Ping timeout: 258 seconds]
Alina-malina has joined #ruby
bkxd has quit [Ping timeout: 245 seconds]
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
cdg has joined #ruby
amosbird has joined #ruby
<amosbird>
hello, how can I fix this bash script using ruby? echo '{"args":["$@"], "target_arg":"", "protocol_version":1}' | socat - UNIX-CONNECT:"${socket[0]}"
<amosbird>
konsolebox: hi
<konsolebox>
amosbird: this is my quick answer: ruby -e 'printf "{\"args\":[%s], \"target_arg\":\"\", \"protocol_version\":1}", ARGV.map{ |e| e.inspect }.join(", ")' -- "$@" | socat ...
<konsolebox>
amosbird: but it can be done less hackily with JSON class
<amosbird>
konsolebox: ok, do you mean it's better using jq?
<konsolebox>
amosbird: no, JSON class of Ruby
<amosbird>
konsolebox: well, this doesn't work
<konsolebox>
amosbird: what's wrong with it?
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doublemalt_ has quit [Read error: Connection reset by peer]
DoubleMalt has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
DoubleMalt has quit [Read error: Connection reset by peer]
<amosbird>
konsolebox: well i'm not sure. The output seems fine
<amosbird>
something went wrong when piping it to the socet
<konsolebox>
amosbird: wait i'll give a JSON solution
<amosbird>
socket
<amosbird>
oh
<amosbird>
I seee
<amosbird>
i see what's wrong
<amosbird>
there is a trilling return char
<amosbird>
trailing
ShekharReddy has quit [Quit: Connection closed for inactivity]
<konsolebox>
amosbird: printf is not supposed to do that. it doesn't even to have a newline. i didn't add "\n", neither "\r"
<konsolebox>
amosbird: this is the other less hacky solution: ruby -r json -e 'printf "{\"args\":%s, \"target_arg\":\"\", \"protocol_version\":1}", JSON.generate(ARGV)' -- "$@" | ...
MichaelBurge has quit [Remote host closed the connection]
<konsolebox>
amosbird: what do you get with: `ruby -r json -e 'printf "{\"args\":%s, \"target_arg\":\"\", \"protocol_version\":1}", JSON.generate(ARGV)' -- "a b" c d | hexdump -C`?
chalkmonster has quit [Ping timeout: 260 seconds]
ncthom91 has joined #ruby
<konsolebox>
amosbird: well maybe it's good enough
<konsolebox>
amosbird: just don't use quotes or other characters that need backslash quoting
chalkmonster has joined #ruby
im0nde has joined #ruby
<amosbird>
konsolebox: .....
<amosbird>
the shell indicates that it misses a return at the end
<amosbird>
this works : ruby -r json -e 'printf "{\"args\":%s, \"target_arg\":\"\", \"protocol_version\":1}\n", JSON.generate(ARGV)' -- "a b" c d
<amosbird>
thank you
<konsolebox>
good if it does. np
<amosbird>
ok, so the ruby solution is better than bash one
<konsolebox>
the ruby solution quotes characters properly
guardianx has quit [Read error: Connection reset by peer]
guardianx has joined #ruby
gigetoo has joined #ruby
im0nde has quit [Ping timeout: 255 seconds]
guardianx has left #ruby [#ruby]
<konsolebox>
acalycine: if you're not confident about the class mentioned by the message, you can temporarily add another rescue after that rescue block (`Exception => e`) and have something like: puts "Thrown error's class was: #{e.class}, message was #{e.message}". optionally raise the exception back if you like. at least that's what i'd do.
<acalycine>
But, surely the class is "OpenURI::HTTPError"?
<acalycine>
It just doesn't seem to rescue when I try it
<konsolebox>
^ and that's the reason why i'd rescue it back
<konsolebox>
*one of the reasons
<elomatreb>
Remove the end in line 5 for your second rescue to work
amosbird has left #ruby ["WeeChat 1.8"]
<acalycine>
Ah.
<acalycine>
Why don't I need to end the begin block?
<elomatreb>
You do, after all the rescues are done
<konsolebox>
i thought that was just part of another block
<acalycine>
I removed it, and still get the error.
<elomatreb>
It *might* still work since Ruby has an implicit begin around most scopes, but still
<acalycine>
I've ended both rescue blocks.
<konsolebox>
acalycine: there's only one 'end' needed: begin ...; rescue E1 => ex; ...; rescue => E2 => ex2; ...; end
nowhere_man has joined #ruby
<acalycine>
ah
bkutil has joined #ruby
<acalycine>
Somehow I don't get the error anymore. I was inducing the error by placing too many requests to this API thing, but now I don't get it at all, and the code runs normally!
<acalycine>
I wouldn't have thought rescue would have been a work-around for rate-limiting, if it's working like that
<elomatreb>
Still, your rescue seems to me like it should have worked
<acalycine>
Hmm, I thought so.
<acalycine>
Okay, I have another question.
<acalycine>
I'm currently using "ruby -W0", but I want to put that in the script.
<acalycine>
But using the $VERBOSE global variable doesn't seem to work.
<acalycine>
`$VERBOSE = nil` should be the same as `-W0`, but it doesn't seem to work.
<elomatreb>
Settings that only affects code after it, are your warnings being printed before you set it?
<acalycine>
I'd say so. They're just weird warnings about EventManager that I don't want on the console.
<acalycine>
But even setting the global variable *before* all my requirements doesn't work.
<elomatreb>
I'm not sure how verbosity behaves wrt threading, and EventManager sounds like it may involve them
<acalycine>
` Setting this to nil disables warnings, including from Kernel#warn.`
vuoto has quit [Remote host closed the connection]
minimalism has joined #ruby
sepp2k has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
omab has quit [Ping timeout: 255 seconds]
<acalycine>
It should surpress it, elomatreb. `$VERBOSE = nil` is the same as `-W0`, so it should work.
im0nde has joined #ruby
gil_ has joined #ruby
gil_ has joined #ruby
gil_ has quit [Changing host]
govg has joined #ruby
<konsolebox>
acalycine: consider creating a script that could reproduce the issue (i.e., something that still produces a warning or any unexpected message even when $VERBOSE is set to nil), and then submit it to github.com/ruby/ruby, or maybe in ruby's mailing list. don't forget to tell the version of ruby you're using.
KeyJoo has quit [Ping timeout: 260 seconds]
<acalycine>
ah, okay
<acalycine>
perhaps i could just resolve the issue through fixing the errors given through the EventManager
<acalycine>
Even though it's not the actual EventManager gem. I'm doing `require 'em/pure_ruby'`
<acalycine>
And have just realised that I'm still getting the error.
<mathys>
what is the best application server per ruby?
codelurker has joined #ruby
rohitpaulk has quit [Ping timeout: 260 seconds]
im0nde has joined #ruby
rohitpaulk has joined #ruby
troys_ is now known as troys
rohitpaulk has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
<morfin>
i have no idea why hash can has strings and symbols but it always confusing me :(
oleo has joined #ruby
im0nde has quit [Ping timeout: 268 seconds]
GodFather_ has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
Mon_Ouie has quit [Quit: WeeChat 1.7.1]
ecuanaso has joined #ruby
meshsmith has quit [Remote host closed the connection]
<konsolebox>
mathys: declaring one would be subjective. but take a look at rails or sinatra.
GodFather has joined #ruby
<mathys>
passenger could be a good application server?
GodFather has quit [Client Quit]
GodFather has joined #ruby
spastorino has joined #ruby
jgnagy has quit [Remote host closed the connection]
<konsolebox>
i haven't heard of that yet
codelurker has quit [Quit: Leaving]
jgnagy has joined #ruby
ruurd has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cjhowe7 has joined #ruby
PaulCapestany has quit [Ping timeout: 260 seconds]
brent__ has joined #ruby
im0nde has joined #ruby
brent__ has quit [Remote host closed the connection]
qsx has left #ruby ["WeeChat 1.7.1"]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
belmoussaoui__ has quit [Read error: Connection reset by peer]
konsolebox has quit [Quit: .]
belmoussaoui__ has joined #ruby
im0nde has quit [Ping timeout: 245 seconds]
nadir has quit [Quit: Connection closed for inactivity]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
im0nde has joined #ruby
stormbytes has joined #ruby
ddffg has quit [Ping timeout: 255 seconds]
kobain has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
LastWhisper____ has joined #ruby
quobo has joined #ruby
<bkutil>
mathys: 'best' => 'it depends' :) You can try passenger, unicorn or puma - all of them are fine. Nate Berkopec discusses the servers in https://www.speedshop.co/2015/07/29/scaling-ruby-apps-to-1000-rpm.html (Connecting to your server section), from performance/robustness perspective, but he also describes the architecture nicely.
belmoussaoui__ has quit [Ping timeout: 255 seconds]
marr has quit [Ping timeout: 260 seconds]
chalkmonster has quit [Quit: Daddy's flown, 'cross the ocean.]
<mathys>
I'm getting 500 error when load the url but the static content work fine, what could be the issue?
ecuanaso has joined #ruby
ddffg has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
jgnagy has quit [Remote host closed the connection]
dviola has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
gizmore|2 has quit [Remote host closed the connection]
<havenwood>
mathys: Puma is the default. Use that until you have a reason to move off the default.
spastorino has quit []
lightstalker has quit [Remote host closed the connection]
lightstalker has joined #ruby
dar123 has joined #ruby
t-recx has joined #ruby
tomphp has quit [Ping timeout: 260 seconds]
sepp2k has quit [Read error: Connection reset by peer]
tomphp_ has joined #ruby
tomphp_ has quit [Client Quit]
ledestin has joined #ruby
cdg_ has quit [Remote host closed the connection]
marr has joined #ruby
CacoS has quit [Remote host closed the connection]
crazycoolzac has joined #ruby
<morfin>
puma use Event Machine and ActionCable use that
<morfin>
since whole server is event-drive
<morfin>
n
<morfin>
woops that's only about Rails, but i guess it's possible to implement similar thing with Sinatra/whatever
<morfin>
it seems to be an issue with implementation of API
<havenwood>
texasmynsted: Or say if you're using RVM: rvm docs generate
<havenwood>
texasmynsted: Check if you already have ri setup: ri Array
KatyJones has quit [Ping timeout: 260 seconds]
BSaboia has quit [Ping timeout: 240 seconds]
taurgal has quit [Ping timeout: 255 seconds]
<havenwood>
texasmynsted: Or there are ruby-docs packages. Anyhow, you probably already have the docs installed or it's not hard to install them.
<havenwood>
It depends on how you installed Ruby whether you already have them or need to add them.
<morfin>
eventually i will install Ruby in Msys2 )
pen has joined #ruby
<texasmynsted>
thank you
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jusa has quit [Ping timeout: 245 seconds]
herbmillerjr has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
pen has quit [Remote host closed the connection]
_sfiguser has quit [Ping timeout: 240 seconds]
matthewd has quit [Ping timeout: 260 seconds]
matthewd has joined #ruby
czerasz_ has joined #ruby
dcunit3d has quit [Read error: Connection reset by peer]
czerasz has quit [Ping timeout: 245 seconds]
dcunit3d has joined #ruby
bpmedley has joined #ruby
_sfiguser has joined #ruby
pen has joined #ruby
Asher has quit [Ping timeout: 260 seconds]
Asher has joined #ruby
herbmillerjr has joined #ruby
pen has quit [Ping timeout: 260 seconds]
matthewd has quit [Ping timeout: 260 seconds]
matthewd has joined #ruby
nyuszika7h has quit [Disconnected by services]
morfin60 has joined #ruby
herbmillerjr has quit [Remote host closed the connection]
pelegreno_____ has joined #ruby
Antiarc_ has joined #ruby
nyuszika7h_ has joined #ruby
rikai_ has joined #ruby
czerasz_ has quit [Quit: Ex-Chat]
abort_ has joined #ruby
psychicist__ has quit [Quit: Lost terminal]
diegok has joined #ruby
ij- has joined #ruby
synstack_ has joined #ruby
synstack_ has joined #ruby
synstack_ has quit [Changing host]
Kilobyte22 has joined #ruby
nchamber- has joined #ruby
benjen- has joined #ruby
nfsnobody has joined #ruby
RealMarc has joined #ruby
`derpy has joined #ruby
ledestin has quit [*.net *.split]
morfin has quit [*.net *.split]
Antiarc has quit [*.net *.split]
iomotoko has quit [*.net *.split]
spectra has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
sspreitzer has quit [*.net *.split]
bauruine_ has quit [*.net *.split]
Marc- has quit [*.net *.split]
_derpy has quit [*.net *.split]
dgs_ has quit [*.net *.split]
pelegreno____ has quit [*.net *.split]
lipoqil has quit [*.net *.split]
cstrahan has quit [*.net *.split]
diego_k has quit [*.net *.split]
Qommand0r has quit [*.net *.split]
Tony-St4rk has quit [*.net *.split]
bcavileer has quit [*.net *.split]
rfv has quit [*.net *.split]
mrsolo has quit [*.net *.split]
rikai has quit [*.net *.split]
rann has quit [*.net *.split]
pizzaops has quit [*.net *.split]
benjen has quit [*.net *.split]
abort has quit [*.net *.split]
ij has quit [*.net *.split]
gmcintire has quit [*.net *.split]
seanh has quit [*.net *.split]
Majost has quit [*.net *.split]
dman[m] has quit [*.net *.split]
M107262[m] has quit [*.net *.split]
johnson[m] has quit [*.net *.split]
intermo[m] has quit [*.net *.split]
bascht has quit [*.net *.split]
znz_jp has quit [*.net *.split]
synstack has quit [*.net *.split]
Guest37310 has quit [*.net *.split]
dunk has quit [*.net *.split]
nchambers has quit [*.net *.split]
scorphus has quit [*.net *.split]
andersh has quit [*.net *.split]
tpendragon has quit [*.net *.split]
jimeh has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
ewilliam__ has quit [*.net *.split]
deimos has quit [*.net *.split]
rrichardsr3 has quit [*.net *.split]
mattwc has quit [*.net *.split]
avdi has quit [*.net *.split]
mnemon has quit [*.net *.split]
Heero__ has quit [*.net *.split]
nebben has quit [*.net *.split]
pmarreck has quit [*.net *.split]
nfsnobody- has quit [*.net *.split]
spiette has quit [*.net *.split]
Meow-J has quit [*.net *.split]
hsiktas has quit [*.net *.split]
troter__________ has quit [*.net *.split]
petems has quit [*.net *.split]
nchamber- is now known as nchambers
workmad3 has quit [Ping timeout: 246 seconds]
spiette has joined #ruby
sspreitz has joined #ruby
rrichardsr3 has joined #ruby
rann has joined #ruby
cstrahan has joined #ruby
iomotoko has joined #ruby
lipoqil has joined #ruby
ledestin has joined #ruby
mnem has joined #ruby
dgs has joined #ruby
dman[m] has joined #ruby
Majost has joined #ruby
mrsolo has joined #ruby
seanh has joined #ruby
gmcintire has joined #ruby
intermo[m] has joined #ruby
Guest37310 has joined #ruby
bascht has joined #ruby
Tony-St4rk has joined #ruby
johnson[m] has joined #ruby
bcavileer has joined #ruby
andersh has joined #ruby
dunk has joined #ruby
M107262[m] has joined #ruby
avdi has joined #ruby
Heero__ has joined #ruby
jimeh has joined #ruby
mattwc has joined #ruby
ewilliam__ has joined #ruby
troter__________ has joined #ruby
pmarreck has joined #ruby
M107262[m] has quit [Max SendQ exceeded]
cerulean has left #ruby [#ruby]
petems has joined #ruby
mnem is now known as Guest37009
Qommand0r has joined #ruby
NightMonkey has joined #ruby
tekk has quit [Ping timeout: 240 seconds]
mkaito has quit [Ping timeout: 240 seconds]
hsiktas has joined #ruby
nebben has joined #ruby
stormbytes has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
velu_aon[m] has quit [Ping timeout: 240 seconds]
jonjits[m] has quit [Ping timeout: 240 seconds]
thulsa_legume[m] has quit [Ping timeout: 240 seconds]
jakebriggs[m] has quit [Ping timeout: 240 seconds]
voltai[m] has quit [Ping timeout: 264 seconds]
daveyboi[m] has quit [Ping timeout: 246 seconds]
Giphy[m] has quit [Ping timeout: 246 seconds]
deimos has joined #ruby
testnick[m] has quit [Ping timeout: 258 seconds]
kp666[m] has quit [Ping timeout: 258 seconds]
aviraldg has quit [Ping timeout: 255 seconds]
dman[m] has quit [Ping timeout: 272 seconds]
johnson[m] has quit [Ping timeout: 272 seconds]
intermo[m] has quit [Ping timeout: 272 seconds]
bascht has quit [Ping timeout: 272 seconds]
zeroDivisible has quit [Ping timeout: 260 seconds]
vircung has quit [Ping timeout: 260 seconds]
pizzaops has joined #ruby
Meow-J has joined #ruby
rfv has joined #ruby
el_ocho[m] has quit [Ping timeout: 264 seconds]
heftig has quit [Ping timeout: 264 seconds]
KevinMGranger has quit [Ping timeout: 240 seconds]
jinie has quit [Ping timeout: 240 seconds]
bauruine has joined #ruby
Psy-Q has quit [Ping timeout: 260 seconds]
torarne has quit [Ping timeout: 258 seconds]
Tagami[m] has quit [Ping timeout: 276 seconds]
tpendragon has joined #ruby
turt2live has quit [Ping timeout: 255 seconds]
zeroDivisible has joined #ruby
tekk has joined #ruby
ytti has quit [Ping timeout: 260 seconds]
mkaito has joined #ruby
vircung has joined #ruby
ytti has joined #ruby
jinie has joined #ruby
Psy-Q has joined #ruby
dasher00 has quit [Ping timeout: 260 seconds]
xikuukawaii has joined #ruby
ij- is now known as ij
ij has joined #ruby
ij has quit [Changing host]
ij has left #ruby ["WeeChat 1.7.1"]
<xikuukawaii>
How do I iterate a loop once every x minutes?
spectra has joined #ruby
<xikuukawaii>
Nvm just found sleep
xikuukawaii has quit [Client Quit]
stormbytes has joined #ruby
pen has joined #ruby
pen has quit [Remote host closed the connection]
dasher00 has joined #ruby
herbmillerjr has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fxa has quit [Quit: Leaving]
cfec0b8d has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
herbmillerjr has quit [Quit: Konversation terminated!]
Tagami[m] has joined #ruby
nicolai86 has quit [Remote host closed the connection]
jgt2 has quit [Ping timeout: 260 seconds]
matthewd has quit [Ping timeout: 240 seconds]
nicolai86 has joined #ruby
matthewd has joined #ruby
jane_booty_doe has quit [Quit: Leaving]
herbmillerjr has joined #ruby
nicolai86 has quit [Remote host closed the connection]
CacoS has quit [Ping timeout: 240 seconds]
kp666[m] has joined #ruby
johnson[m] has joined #ruby
intermo[m] has joined #ruby
daveyboi[m] has joined #ruby
M107262[m] has joined #ruby
bascht has joined #ruby
jonjits[m] has joined #ruby
thulsa_legume[m] has joined #ruby
dman[m] has joined #ruby
jakebriggs[m] has joined #ruby
torarne has joined #ruby
heftig has joined #ruby
aviraldg has joined #ruby
Giphy[m] has joined #ruby
turt2live has joined #ruby
voltai[m] has joined #ruby
ecuanaso has joined #ruby
KevinMGranger has joined #ruby
velu_aon[m] has joined #ruby
testnick[m] has joined #ruby
el_ocho[m] has joined #ruby
meshsmith has quit [Remote host closed the connection]
Jayson_Virissimo has quit []
nicolai86 has joined #ruby
nicolai86 has quit [Remote host closed the connection]
nicolai86 has joined #ruby
herbmillerjr has quit [Remote host closed the connection]
nowhere_man has joined #ruby
nicolai86 has quit [Remote host closed the connection]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cfec0b8d has joined #ruby
nicolai86 has joined #ruby
saltsa has quit [Ping timeout: 240 seconds]
saltsa has joined #ruby
<yorickpeterse>
konsolebox: regarding #append being silly, I think it's silly because basically every language out there already uses "push", and "push" itself should be clear enough
im0nde has quit [Quit: im0nde]
morfin60 has quit []
im0nde has joined #ruby
GodFather has joined #ruby
* apeiros
doesn't like the alias-itis ruby has
<apeiros>
it makes code actually less readable
<apeiros>
why? because it means unless you have a perfect memory of all aliases, you have to look up whether there's subtle differences…
nicolai86 has quit [Remote host closed the connection]
nicolai86 has joined #ruby
brent__ has joined #ruby
nicolai86 has quit [Remote host closed the connection]
meshsmith has joined #ruby
nicolai86 has joined #ruby
nertzy has joined #ruby
im0nde has quit [Ping timeout: 272 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
jusa has joined #ruby
nicolai86 has quit [Remote host closed the connection]
jusa has quit [Ping timeout: 255 seconds]
nertzy has quit [Quit: Leaving]
nicolai86 has joined #ruby
nyuszika7h_ is now known as nyuszika7h
nertzy has joined #ruby
im0nde has joined #ruby
jpterry_ has joined #ruby
brent__ has quit [Remote host closed the connection]
jpterry has quit [Ping timeout: 268 seconds]
jpterry_ is now known as jpterry
hogetaro has quit [Quit: Leaving...]
Bock has joined #ruby
chouhoul_ has joined #ruby
djbkd has joined #ruby
Myk267 has quit [Quit: Leaving]
Myk267 has joined #ruby
Myk267 has quit [Client Quit]
Myk267 has joined #ruby
<nofxxxx>
the coolest thing in 2.5 is reversed backtrace error... that's something that really saves time
roshanavand has quit [Quit: roshanavand]
<nofxxxx>
not to mention mental sanity
ahrs has quit [Remote host closed the connection]
<nofxxxx>
'reversed' in relation to old way... it's actually the correct way imho (only thing that was done correctly in python and not in ruby btw)
PaulCapestany has joined #ruby
ahrs has joined #ruby
<nofxxxx>
apeiros, the fun with aliases is that some will be the 'prefered' lint thing way hehe... so goes like "yeah, you could write that way, but please don't"
herbmillerjr has joined #ruby
PaulCape_ has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.8]
ecuanaso has joined #ruby
PaulCapestany has quit [Ping timeout: 260 seconds]
herbmillerjr has quit [Remote host closed the connection]
troys_ is now known as troys
KeyJoo has quit [Ping timeout: 255 seconds]
jgnagy has joined #ruby
alveric1 has joined #ruby
jgnagy has quit [Ping timeout: 272 seconds]
jgt2 has joined #ruby
herbmillerjr has joined #ruby
elcontrastador has joined #ruby
PaulCape_ has quit [Ping timeout: 272 seconds]
jpterry has quit [Ping timeout: 268 seconds]
PaulCapestany has joined #ruby
jpterry has joined #ruby
PaulCapestany has quit [Ping timeout: 258 seconds]
PaulCape_ has joined #ruby
alveric1 is now known as lordalveric
PatrikasZvaigzde has quit [Ping timeout: 240 seconds]
PatrikasZvaigzde has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
PaulCapestany has joined #ruby
PaulCape_ has quit [Ping timeout: 240 seconds]
ledestin has quit [Ping timeout: 272 seconds]
zipace has quit [Ping timeout: 268 seconds]
marr has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
_sfiguser has quit [Quit: Leaving]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
|ifei5g00d has joined #ruby
Mia has quit [Ping timeout: 255 seconds]
im0nde has quit [Ping timeout: 246 seconds]
quazimodo has joined #ruby
MichaelBurge has joined #ruby
MichaelBurge has quit [Remote host closed the connection]