jgnagy has quit [Remote host closed the connection]
x0f has joined #ruby
jgnagy has joined #ruby
astrobunny has joined #ruby
astrobunny has quit [Remote host closed the connection]
t-recx has joined #ruby
Kug3lis has joined #ruby
agit0 has quit [Ping timeout: 255 seconds]
steffes has joined #ruby
oliv_____ has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adgtl- has quit [Quit: bye]
Lord_of_Life has quit [Ping timeout: 258 seconds]
rgtk has joined #ruby
oliv_____ has quit [Ping timeout: 260 seconds]
hotpancakes has quit [Remote host closed the connection]
soloscshaw has quit [Ping timeout: 255 seconds]
hotpancakes has joined #ruby
dasher^0_o has quit [Ping timeout: 260 seconds]
Trpger has joined #ruby
Trpger has left #ruby [#ruby]
Lord_of_Life has joined #ruby
j2k has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
Smeldor has quit [Ping timeout: 260 seconds]
esObe_ has joined #ruby
hotpancakes has joined #ruby
adgtl has joined #ruby
esObe_ has quit [Read error: Connection reset by peer]
esObe_ has joined #ruby
anisha_ has joined #ruby
anisha has quit [Ping timeout: 255 seconds]
esObe_ has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
TinkerTyper_ has quit [Read error: Connection reset by peer]
TinkerTyper has joined #ruby
gr33n7007h has quit [Ping timeout: 258 seconds]
petruff has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 255 seconds]
rajat has joined #ruby
anisha_ has quit [Ping timeout: 255 seconds]
anisha_ has joined #ruby
brent__ has joined #ruby
rodrigovlds has joined #ruby
cam27 has joined #ruby
cam27 has quit [Client Quit]
cam27 has joined #ruby
djbkd has joined #ruby
cam27 has quit [Client Quit]
hutch34 has quit [Ping timeout: 260 seconds]
minimalism has joined #ruby
rodrigovlds has quit [Client Quit]
petruff has joined #ruby
brent__ has quit [Ping timeout: 260 seconds]
rodrigovlds has joined #ruby
rodrigovlds_ has joined #ruby
__Yiota has joined #ruby
jameser_ has joined #ruby
jameser has quit [Ping timeout: 260 seconds]
rodrigovlds has quit [Remote host closed the connection]
rajat has quit [Remote host closed the connection]
mzo has joined #ruby
polysics has joined #ruby
Qchmqs has quit [Ping timeout: 260 seconds]
mooser has joined #ruby
charliesome has joined #ruby
rodrigovlds_ has quit [Ping timeout: 240 seconds]
Aromn has joined #ruby
Aromn has left #ruby [#ruby]
rs` has joined #ruby
woodruffw has quit [Quit: And then he took off.]
mooser has quit [Ping timeout: 240 seconds]
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
rs` has quit [Client Quit]
dasher^0_o has joined #ruby
jrafanie has joined #ruby
mooser has joined #ruby
milardovich has joined #ruby
gnufied has quit [Ping timeout: 245 seconds]
houhouli_ has quit [Remote host closed the connection]
houhoulis has joined #ruby
jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mooser has quit [Ping timeout: 255 seconds]
milardovich has quit [Ping timeout: 260 seconds]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
pulkit4tech has quit [Quit: Connection closed for inactivity]
mooser has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
mooser has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Silthias has joined #ruby
olivi____ has joined #ruby
hotpancakes has joined #ruby
leafyleong has joined #ruby
Silthias1 has quit [Ping timeout: 240 seconds]
Xiti` has quit [Quit: Xiti`]
jenrzzz has quit [Ping timeout: 240 seconds]
leafyleong has quit [Client Quit]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
mooser has joined #ruby
polysics has quit [Read error: Connection reset by peer]
olivi____ has quit [Ping timeout: 258 seconds]
leafyleong has joined #ruby
hotpancakes has quit [Ping timeout: 258 seconds]
jusa has joined #ruby
aryaching has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
binaryplease has quit [Quit: binaryplease]
__Yiota has joined #ruby
hotpancakes has joined #ruby
mooser has quit [Ping timeout: 240 seconds]
j2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iloveitaly has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
<iloveitaly>
It looks like dst? doesn't respect the `offset` passed to `new` in ruby 2.4's Time implementation. I'm looking to check if a past date had dst applied. What is the best way to handle this?
leafyleong has quit [Quit: WeeChat 1.4]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpancakes has quit [Ping timeout: 240 seconds]
leafyleong has joined #ruby
dasher^0_o has quit [Ping timeout: 268 seconds]
jusa has quit [Ping timeout: 258 seconds]
esObe_ has joined #ruby
gix has quit [Quit: Client exiting]
nankyokusei has joined #ruby
vondruch_ has joined #ruby
gix has joined #ruby
milardovich has joined #ruby
steffes has quit [Remote host closed the connection]
vondruch has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ddffg has quit [Quit: Leaving]
fredolinhares has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
dc4 has joined #ruby
olivi____ has joined #ruby
dcunit3d has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
leafyleong has quit [Quit: WeeChat 1.4]
yeticry_ has quit [Ping timeout: 258 seconds]
yeticry has joined #ruby
olivi____ has quit [Ping timeout: 255 seconds]
hotpancakes has joined #ruby
petruff has quit [Quit: WeeChat 1.7]
arne__ has quit [Quit: leaving]
AlexRussia_ has quit [Quit: WeeChat 1.7]
AlexRussia has joined #ruby
petruff has joined #ruby
rgtk has quit [Ping timeout: 258 seconds]
shinnya has quit [Ping timeout: 260 seconds]
sagax has joined #ruby
rakm has joined #ruby
nankyokusei has quit [Remote host closed the connection]
nobodyzxc has joined #ruby
Xiti has joined #ruby
cfec0b8d has quit [Ping timeout: 240 seconds]
unreal has quit [Ping timeout: 255 seconds]
rakm has quit [Ping timeout: 240 seconds]
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
Guest50291 has quit [Changing host]
Guest50291 has joined #ruby
milardovich has joined #ruby
nowhereman has joined #ruby
Guest50291 is now known as bougyman
hotpancakes has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpancakes has joined #ruby
__Yiota has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
dsgsgdfg has joined #ruby
dsgsgdfg has left #ruby [#ruby]
hutch34 has joined #ruby
hotpancakes has quit [Ping timeout: 245 seconds]
buzz0763 has joined #ruby
hotpancakes has joined #ruby
nobodyzxc has quit [Quit: leaving]
hutch34 has quit [Ping timeout: 255 seconds]
nobodyzxc has joined #ruby
nobodyzxc has quit [Client Quit]
gnufied has joined #ruby
dc4 has quit [Quit: WeeChat 1.4]
ddffg has joined #ruby
bweston92 has quit [Quit: Connection closed for inactivity]
brent__ has joined #ruby
oliv_____ has joined #ruby
brent__ has quit [Ping timeout: 268 seconds]
mooser has joined #ruby
ryan_notabot has joined #ruby
ryan_notabot has quit [Read error: Connection reset by peer]
ryan_notabot has joined #ruby
oliv_____ has quit [Ping timeout: 260 seconds]
rgtk has joined #ruby
mooser has quit [Ping timeout: 255 seconds]
anisha_ has quit [Read error: Connection reset by peer]
anisha_ has joined #ruby
jusa has joined #ruby
nobodyzxc has joined #ruby
rodrigovlds has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
robert_reilly has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
hotpanca_ has joined #ruby
gnufied has quit [Ping timeout: 255 seconds]
Kug3lis_ has joined #ruby
Kug3lis has quit [Ping timeout: 260 seconds]
robert_reilly_ has joined #ruby
robert_reilly has quit [Ping timeout: 240 seconds]
robert_reilly_ is now known as robert_reilly
nankyokusei has joined #ruby
jcao219 has joined #ruby
DarkBushido has quit [Ping timeout: 252 seconds]
DarkBushido has joined #ruby
DarkBushido has joined #ruby
DarkBushido has quit [Changing host]
nankyokusei has quit []
Kug3lis_ has quit [Ping timeout: 240 seconds]
houhoulis has quit [Remote host closed the connection]
hotpancakes has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has joined #ruby
hotpanca_ has quit [Ping timeout: 260 seconds]
negatifze has quit [Remote host closed the connection]
BSaboia has joined #ruby
Ishido has joined #ruby
anisha_ has quit [Quit: Leaving]
ikoma has quit [Quit: ikoma]
Ishido has quit [Client Quit]
Ishido has joined #ruby
Cohedrin has joined #ruby
lory22 has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
<lory22>
!ciao
jamesaxl has joined #ruby
<lory22>
!lista
robert_reilly has quit [Quit: Head hit keyboard ZZZzzzZZZzzzz]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
andras has joined #ruby
jamesaxl has quit [Quit: WeeChat 1.7]
<andras>
hi everyone, when I try to upload files greater than 128 MB, I get this error: /lib/ruby/2.4.0/cgi/core.rb:646:in `initialize_query': too large multipart data. (StandardError)
<andras>
at the line in question, this stands: @@max_multipart_length= 128 * 1024 * 1024
<andras>
could you kindly help me? any idea how I can increase this limit?
__Yiota has joined #ruby
hotpancakes has quit [Ping timeout: 258 seconds]
<nofxxx>
andras, might be wrong but that's a server thing, not your client
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpancakes has joined #ruby
postmodern has joined #ruby
<andras>
checking..
bronson has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
esObe_ has quit []
<andras>
@havenwood - wow, that was the problem, it fixed for good - thanks a lot :) been searching for the answer for half a day :)
robert_reilly has joined #ruby
<andras>
so thanks again! :)
cfec0b8d has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jamesaxl has joined #ruby
jrafanie has joined #ruby
Kug3lis has quit [Ping timeout: 240 seconds]
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
Kug3lis has joined #ruby
andras has quit [Quit: Page closed]
jusa has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
robert_reilly has quit [Quit: Head hit keyboard ZZZzzzZZZzzzz]
soloscshaw has joined #ruby
hutch34 has joined #ruby
rodrigovlds has quit [Ping timeout: 240 seconds]
Kug3lis has quit [Ping timeout: 245 seconds]
alan_w has quit [Quit: WeeChat 1.4]
soloscshaw has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
robert_reilly has joined #ruby
robert_reilly has quit [Client Quit]
Kug3lis has joined #ruby
mooser has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hndk has joined #ruby
vondruch has joined #ruby
vondruch_ has quit [Quit: vondruch_]
mooser has quit [Ping timeout: 252 seconds]
blackmesa has joined #ruby
oliv_____ has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
nobodyzxc has quit [Quit: leaving]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeffreylevesque_ has joined #ruby
rgtk has quit [Ping timeout: 252 seconds]
jeffreylevesque has quit [Ping timeout: 252 seconds]
jeffreylevesque_ is now known as jeffreylevesque
xenops has joined #ruby
oliv_____ has quit [Ping timeout: 260 seconds]
rgtk has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
soloscshaw has joined #ruby
__Yiota has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
vondruch has quit [Client Quit]
vondruch has joined #ruby
catbusters has joined #ruby
hndk has quit [Remote host closed the connection]
Kug3lis has quit [Ping timeout: 258 seconds]
GodFather_ has quit [Ping timeout: 268 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgtk has quit [Ping timeout: 258 seconds]
hotpancakes has quit [Read error: Connection reset by peer]
hotpancakes has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
Kug3lis has joined #ruby
hotpancakes has quit [Remote host closed the connection]
__Yiota has joined #ruby
hotpancakes has joined #ruby
enterprisey has joined #ruby
milardovich has quit [Remote host closed the connection]
Cohedrin has joined #ruby
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
tobiasvl has quit [Ping timeout: 240 seconds]
baweaver is now known as baweaver_away
jrm has quit [Quit: ciao]
jrm has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
milardovich has quit [Remote host closed the connection]
mjora7 has joined #ruby
vondruch has quit [Client Quit]
<mjora7>
Hey, could someone give me a rundown on benefits of using Rails? I'm trying to build an entire webapp by myself and am having difficulty deciding what backend system to use (express being the only other option that I am familiar with).
vondruch has joined #ruby
hotpancakes has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
<mjora7>
I think my choice is going to be governed by whichever has the best learning materials. As of now I've been extremely confused by Express and haven't found any particularly good learning resources.
<apeiros>
mjora7: #rubyonrails is probably better for that
<mjora7>
apeiros: Thanks.
wng_z3r0 has joined #ruby
<mjora7>
apeiros: Is Ruby popularly used for stuff other than Rails? The only other application that I am aware is Ruby based is homebrew.
<apeiros>
puppet and chef see very widespread use
<havenwood>
mjora7: I really enjoy Roda, which is more equivalent to Sinatra rather than Rails. Hanami is also a new, more Rails-like option.
<havenwood>
mjora7: Yeah, Ruby is popular for all sorts of thing.
<havenwood>
things*
<elomatreb>
Metasploit is fairly important software too
hotpancakes has joined #ruby
<havenwood>
mjora7: Even things you might not expect, like aerospace and supercomputing.
<mjora7>
That's pretty cool, I had no idea! Any interesting things about the language that I might not be aware of? Like particularly good paradigms/libraries?
<wng_z3r0>
Hello, I am trying to use metaprogramming to create a few classes in a loop. But something with the lexical scoping is messing things up. My quick example is here: https://repl.it/HV4R/3
<havenwood>
mjora7: The stdlib has all sorts of gems, from DRb and its Rinda::Tuplespace for distributed Ruby, or YAML::DBM, a Berkeley DB implementation that serializes values to YAML.
<havenwood>
mjora7: Etc, etc.
hotpanca_ has joined #ruby
<wng_z3r0>
I understand that `num` has scoping issues, but thought that assigning it to a variable inside the do block would make that local to each block iteration
<havenwood>
mjora7: concurrent-ruby and nio4r are good concurrency libraries
vondruch has quit [Client Quit]
vondruch has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
<havenwood>
mjora7: Rack is the most common tool for webservers. You'll find lots of Rack webservers (like Puma, Unicorn, Passenger, Thin, etc) and Rack adapter frameworks (like Rails, Hanami, Sinatra, Roda, etc).
<Mon_Ouie>
wng_z3r0: the problem is the scoping rules for @@variables. In the block that you pass to Class.new, @@variables refer to the same variables as outside that block (i.e. Object's class variables in this case)
baweaver_away is now known as baweaver
vondruch has quit [Client Quit]
vondruch has joined #ruby
<Mon_Ouie>
You can use define_method to access local variables that were defined outside the method, or you can use class_variable_(get|set) to set the class variables for the right class
jusa has joined #ruby
nhhc has quit [Ping timeout: 255 seconds]
houhoulis has joined #ruby
<wng_z3r0>
Mon_Ouie: Thanks, working on it
hotpanca_ has quit []
<mjora7>
Interesting
<mjora7>
What are you guys personally using Ruby for?
<Mon_Ouie>
wng_z3r0: You're still using @@class_num inside the block which still refers to Object's class variable
Kug3lis has quit [Ping timeout: 240 seconds]
milardovich has quit [Remote host closed the connection]
<Mon_Ouie>
Additionally, since line 3 defines Object's @@class_num variable, all subclasses of Object, including Class0 and Class1, share the same @@class_num variable
fredolinhares has quit [Quit: WeeChat 1.6]
toretore has quit [Ping timeout: 240 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
Kug3lis has joined #ruby
enterprisey has quit [Remote host closed the connection]
ski7777 has joined #ruby
petruff has joined #ruby
bronson has joined #ruby
mist_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
t-recx has quit [Quit: t-recx]
mist_ has quit [Client Quit]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
wng_z3r0 has quit [Ping timeout: 260 seconds]
NightMonkey has joined #ruby
milardovich has joined #ruby
rodrigovlds has quit [Ping timeout: 268 seconds]
<atmosx>
Hey ppl, I'd like to create an app that keeps track of files in a filesystem, path, date, sha512 (still working on which hash is best) and I'd like to save everythin on an embedded db. I'm thinking of going with tokyo-cabinet but it's an extra dependency, is there any embedded DB I can use that is part of std lib?
<DeeJayh>
so basically I'm reinventing the wheel. however, I'd still like to know how to insert the return from a method into a string, I feel like I might run into this in the future
aryaching has quit [Ping timeout: 260 seconds]
<DeeJayh>
although I will definitely look into that logger class in the standard library
<DeeJayh>
tried googling it specifically with "method return" but all the information I find is about carriage returns
<elomatreb>
You're doing that already, the "#{some_method}" is string interpolation
hutch34 has quit [Ping timeout: 260 seconds]
<DeeJayh>
I must have a typo, thanks, I'll peel through it again
marr has quit [Ping timeout: 240 seconds]
jackrandom has quit [Remote host closed the connection]