houhoulis has quit [Remote host closed the connection]
crankharder has joined #ruby
vonfry has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
sgen has quit [Ping timeout: 252 seconds]
emilford has quit [Ping timeout: 244 seconds]
emilford has joined #ruby
bjpenn has quit [Ping timeout: 268 seconds]
vonfry has quit [Quit: WeeChat 2.4]
papillon has joined #ruby
crankharder has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
rippa has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
<leftylink>
mjacob: I couldn't think of a way to do that, since the docs say that `using` activates a refinement for a lexical scope. unless the entire project is contained within one file, but that probably was not intended by the question
vonfry has joined #ruby
crankharder has joined #ruby
gix- has quit [Ping timeout: 255 seconds]
mroutis has joined #ruby
vonfry has left #ruby ["WeeChat 2.4"]
<mroutis>
howdy, fellas; I was looking for a ruby gem that I can include to my rails app to show the loading time and queries of each view (it is similar to "peek" but a more old)
crankharder has quit [Ping timeout: 255 seconds]
jmcgnh_ is now known as jmcgnh
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
crankharder has joined #ruby
schleppel has joined #ruby
crankharder has quit [Ping timeout: 255 seconds]
emilford has quit [Ping timeout: 240 seconds]
mroutis has quit [Quit: leaving]
emilford has joined #ruby
crankharder has joined #ruby
tdy1 has quit [Remote host closed the connection]
renich has quit [Remote host closed the connection]
<elcontrastador>
Is there a pure ruby to modify file mtimes in the past (not using a system call)? I develop on a mac and deploy on both mac and linux. Need something more portable than using the system's 'touch', for instance
platinum50 has joined #ruby
evdubs_ has quit [Remote host closed the connection]
evdubs has joined #ruby
<elcontrastador>
Ignore....touch options are similar enough between macos and linux.
segy has quit [Ping timeout: 255 seconds]
segy has joined #ruby
emilford has quit [Ping timeout: 255 seconds]
emilford has joined #ruby
SuperL4g has quit [Ping timeout: 240 seconds]
SuperLag has joined #ruby
Dbugger has joined #ruby
hightower3 has joined #ruby
emilford has quit [Ping timeout: 245 seconds]
tdy has joined #ruby
emilford has joined #ruby
emilford has quit [Ping timeout: 250 seconds]
emilford has joined #ruby
kapil____ has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
emilford has quit [Ping timeout: 252 seconds]
emilford has joined #ruby
spacesuitdiver has joined #ruby
sauvin has joined #ruby
<woodruffw>
elcontrastador: File#utime is probably the right way to do this
postmodern has quit [Remote host closed the connection]
conta has quit [Remote host closed the connection]
clemens3 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stooj has quit [Ping timeout: 264 seconds]
crankharder has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
tau has joined #ruby
crankharder has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4350 has joined #ruby
stooj has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
govg has joined #ruby
stooj has quit [Ping timeout: 252 seconds]
mikecmpbll has joined #ruby
sylario has joined #ruby
stooj has joined #ruby
crankharder has joined #ruby
akem has quit [Ping timeout: 268 seconds]
stooj has quit [Ping timeout: 255 seconds]
lucasb has joined #ruby
ravenousmoose has joined #ruby
akem has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
conta has joined #ruby
laaron has quit [Remote host closed the connection]
conta has quit [Ping timeout: 250 seconds]
stooj has joined #ruby
crankharder has joined #ruby
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has quit [Ping timeout: 240 seconds]
stooj has quit [Ping timeout: 250 seconds]
laaron has joined #ruby
ravenousmoose has joined #ruby
conta has joined #ruby
stooj has joined #ruby
stooj has quit [Ping timeout: 245 seconds]
crankharder has joined #ruby
conta has quit [Quit: conta]
jinie has joined #ruby
stooj has joined #ruby
crankharder has quit [Ping timeout: 255 seconds]
tiogrand_ has joined #ruby
stooj has quit [Ping timeout: 245 seconds]
JoL1hAHN has quit [Ping timeout: 252 seconds]
JoL1hAHN has joined #ruby
mikecmpbll has joined #ruby
conta has joined #ruby
stooj has joined #ruby
ellcs1 has joined #ruby
crankharder has joined #ruby
za1b1tsu has joined #ruby
cd has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
cisco has joined #ruby
crankharder has joined #ruby
conta has quit [Quit: conta]
crankharder has quit [Ping timeout: 252 seconds]
PasNox has quit [Remote host closed the connection]
PasNox has joined #ruby
crankharder has joined #ruby
ellcs1 has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 245 seconds]
tiogrand_ has quit [Ping timeout: 252 seconds]
crankharder has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 240 seconds]
ryouba has quit [Quit: WeeChat 1.6]
Swyper has joined #ruby
Dbugger has joined #ruby
schleppel has quit [Read error: Connection reset by peer]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4351 has joined #ruby
schleppel has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
cd has quit [Quit: cd]
schleppel has quit [Read error: Connection reset by peer]
crankharder has joined #ruby
apparition has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
schleppel has joined #ruby
hiroaki has joined #ruby
Swyper has quit [Remote host closed the connection]
Devalo has joined #ruby
Swyper has joined #ruby
crankharder has joined #ruby
millerti has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
reaVer has joined #ruby
nakuku has joined #ruby
<nakuku>
Hello, is it possible to overload `do`? MyModule do ... end
<nakuku>
I want to create such DSL that i don't have to do Router.new do ... end. Instead Router do ... end.
<nakuku>
I know that it's quite kinky but im just playing with code basically
crankharder has joined #ruby
sgen has joined #ruby
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
jammanbo has joined #ruby
Yxhuvud has joined #ruby
revirt has joined #ruby
<jammanbo>
Just looking at ObjectSpace.count_objects in an MRI Rails app. I realise it's MRI specific and also a "how long is a piece of string" kind of question, but does a T_CLASS count of 15297 seem alarmingly high?
crankharder has quit [Ping timeout: 245 seconds]
<havenwood>
nakuku: Yes, you can define a #Router method that takes a block.
<havenwood>
nakuku: (Similar to how #Integer, #String, etc work)
<revirt>
havenwood, Which is... the first piece of how to define a function?????? Right or left?
ubuntuisloved has joined #ruby
jcarl43 has joined #ruby
<nakuku>
havenwood: Holly hell! <3
<revirt>
Yeah yeah. I might do it.
<revirt>
Sheesh.
<revirt>
There's no more apocolypto.
<revirt>
Ouh.
Devalo has quit [Remote host closed the connection]
<revirt>
Forward of reverse?
<havenwood>
revirt: I think your markov chain poem is a better fit for #ruby-offtopic.
<revirt>
Carry first the message to fix /me up.
<havenwood>
?offtopic revirt
<ruby[bot]>
revirt: this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
<revirt>
There's no such channel.
<revirt>
That's just the bot.
<revirt>
So I'm ready.
<revirt>
Hey havenwood. Where'd you get those shades?
<revirt>
Cool looking.
<revirt>
Bah a.
<revirt>
abcdefghijklmnopqrstuvwxyz123456789.
<havenwood>
!kick revirt with a tip of the shades
revirt was kicked from #ruby by ruby[bot] [with a tip of the shades]
crankharder has joined #ruby
iNs has quit [Remote host closed the connection]
nowhere_man has joined #ruby
iNs has joined #ruby
<havenwood>
jammanbo: no, that doesn't seem alarming for a Rails app
<havenwood>
jammanbo: a random sample: :T_CLASS => 13945
crankharder has quit [Ping timeout: 245 seconds]
<jammanbo>
havenwood: Thanks. Was worried I was dynamically creating classes or something stupide.
mangold has quit [Ping timeout: 252 seconds]
sgen has quit [Read error: Connection reset by peer]
sgen has joined #ruby
emilford has quit [Ping timeout: 245 seconds]
emilford has joined #ruby
crankharder has joined #ruby
Swyper has joined #ruby
cd has quit [Quit: cd]
Fernando-Basso has joined #ruby
conta has joined #ruby
jcarl43 has quit [Ping timeout: 268 seconds]
jcarl43 has joined #ruby
DaRock has quit [Ping timeout: 245 seconds]
mangold has joined #ruby
conta has quit [Ping timeout: 244 seconds]
crankharder has quit [Ping timeout: 246 seconds]
sgen has quit [Ping timeout: 252 seconds]
juiko has joined #ruby
crankharder has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 255 seconds]
planigan has quit [Read error: Connection reset by peer]
sgen has joined #ruby
xrexeon has joined #ruby
juiko has quit [Ping timeout: 268 seconds]
jammanbo has quit [Quit: Page closed]
nakuku has quit [Remote host closed the connection]
shansen has quit [Quit: ZNC 1.7.2+deb1+bionic0 - https://znc.in]
mangold has quit [Quit: This computer has gone to sleep]
Swyper has quit [Remote host closed the connection]
cd has joined #ruby
dviola has joined #ruby
tau has quit [Remote host closed the connection]
daemonwrangler has quit [Quit: ZNC 1.6.5 - http://znc.in]
crankharder has joined #ruby
Swyper has joined #ruby
daemonwrangler has joined #ruby
houhoulis has joined #ruby
cyberarm_ has quit [Read error: Connection reset by peer]
cyberarm has joined #ruby
crankharder has quit [Ping timeout: 252 seconds]
alem0lars has joined #ruby
akem__ has joined #ruby
syndikate has quit [Quit: M'Kay]
akem has quit [Ping timeout: 252 seconds]
Devalo has joined #ruby
planigan has joined #ruby
millerti has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Remote host closed the connection]
planigan has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
aqd has quit [Ping timeout: 255 seconds]
tdy has joined #ruby
crankharder has joined #ruby
tdy1 has joined #ruby
apparition has quit [Quit: Bye]
Devalo has quit [Remote host closed the connection]
nwradio has quit [Quit: Ping timeout (120 seconds)]
nwradio has joined #ruby
nowhere_man has quit [Ping timeout: 258 seconds]
nowhereman has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
crankharder has quit [Ping timeout: 250 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
nowhereman has quit [Remote host closed the connection]
aither has joined #ruby
Swyper has quit [Remote host closed the connection]
nowhere_man has joined #ruby
syndikate has joined #ruby
alem0lars has quit [Ping timeout: 244 seconds]
tdy1 is now known as tdy
schleppel has quit [Read error: Connection reset by peer]
schleppel has joined #ruby
Devalo has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
crankharder has joined #ruby
tdy1 has joined #ruby
cyberarm has quit [Read error: Connection reset by peer]
cyberarm_ has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
reber has joined #ruby
crankharder has quit [Ping timeout: 255 seconds]
Swyper has joined #ruby
AJA4351 has joined #ruby
hightower3 has quit [Changing host]
hightower3 has joined #ruby
Swyper has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
sgen has quit [Ping timeout: 252 seconds]
stan_ has quit [Remote host closed the connection]
aqd has joined #ruby
stan has joined #ruby
Swyper has joined #ruby
AndreYuhai has joined #ruby
crankharder has joined #ruby
sgen has joined #ruby
planigan has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
planigan has quit [Read error: Connection reset by peer]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 252 seconds]
v01d4lph4 has joined #ruby
Swyper has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
tau has joined #ruby
cd has quit [Quit: cd]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
planigan has joined #ruby
Swyper has joined #ruby
zachk has joined #ruby
zachk has quit [Read error: Connection reset by peer]
zachk has joined #ruby
zachk has quit [Changing host]
zachk has joined #ruby
crankharder has joined #ruby
rindolf has joined #ruby
<rindolf>
hi all
crankharder has quit [Ping timeout: 240 seconds]
ravenousmoose has joined #ruby
orbyt_ has joined #ruby
ubuntuisloved has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zachk has quit [Quit: Leaving]
crankharder has joined #ruby
dviola has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
crankharder has quit [Ping timeout: 255 seconds]
Devalo has joined #ruby
hightower3 has quit [Ping timeout: 255 seconds]
hcshcshcshcshcs has quit []
<AndreYuhai>
Hey there, is there any way to open a CSV file and then just fill in the necessary cells? For example the cell at 4th row and 6th column.
hightower2 has joined #ruby
<AndreYuhai>
So far I have been reading the CSV file and then changing whatever I want and then writing the whole file back.
<rindolf>
AndreYuhai: hi
<rindolf>
AndreYuhai: is the data the same size in bytes?
alem0lars has joined #ruby
<AndreYuhai>
rindolf: The data to be inserted?
<AndreYuhai>
rindolf: if yes, sometimes the cells are empty so it wouldn't be the same size. The cell to be inserted with the new value can be either empty or there may be another value.