baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ https://irclog.whitequark.org/ruby/
davedev2_ has joined #ruby
finisherr has quit [Quit: finisherr]
borodin has quit [Ping timeout: 244 seconds]
davedev24 has quit [Ping timeout: 258 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
postmodern has joined #ruby
dminuoso has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
crdpink has quit [Ping timeout: 250 seconds]
nitric has quit [Ping timeout: 252 seconds]
crdpink has joined #ruby
LoneHermit has joined #ruby
LoneHermit has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
marr has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
stamina has quit [Ping timeout: 252 seconds]
moon_ has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
byteflame has quit [Ping timeout: 258 seconds]
haraigoshi has quit [Ping timeout: 258 seconds]
SteenJobs has quit [Quit: SteenJobs]
Pumukel has quit [Ping timeout: 260 seconds]
SteenJobs has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
der-landgraf has quit [Quit: WeeChat 1.5]
bruce_lee has quit [Remote host closed the connection]
SteenJobs has quit [Client Quit]
mrBen2k2k2k has quit [Max SendQ exceeded]
SteenJobs has joined #ruby
Pumukel has joined #ruby
gnufied has quit [Quit: Leaving]
flashpoint9 has quit [Remote host closed the connection]
SteenJobs has quit [Client Quit]
the_rhizo3 has quit [Ping timeout: 244 seconds]
der-landgraf has joined #ruby
cdg has quit [Remote host closed the connection]
Xiti has quit [Quit: Xiti]
tekneek has joined #ruby
RedNifre has quit [Read error: Connection reset by peer]
mrBen2k2k2k has joined #ruby
cdg has joined #ruby
RedNifre has joined #ruby
symm- has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
redpants has quit [Ping timeout: 244 seconds]
cdg has quit [Ping timeout: 244 seconds]
Ebok has joined #ruby
moonythedwarf_ has joined #ruby
rajdesai has joined #ruby
SteenJobs has joined #ruby
Pumukel has joined #ruby
tekneek has quit [Ping timeout: 250 seconds]
swills has joined #ruby
replay has quit []
moon_ has quit [Ping timeout: 265 seconds]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agent_white has quit [Quit: brb]
arescorpio has joined #ruby
SteenJobs has quit [Client Quit]
rajdesai has quit [Remote host closed the connection]
SteenJobs has joined #ruby
rajdesai has joined #ruby
Xiti has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
rajdesai has quit [Remote host closed the connection]
rajdesai has joined #ruby
snguyen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SteenJobs has quit [Quit: SteenJobs]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 276 seconds]
cibs has quit [Ping timeout: 240 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
m3_del has joined #ruby
der-landgraf has quit [Quit: WeeChat 1.5]
dviola has quit [Quit: WeeChat 1.5]
moonythedwarf_ has quit [Ping timeout: 250 seconds]
chestnutpie has joined #ruby
cibs has joined #ruby
raeoks has joined #ruby
saneax is now known as saneax-_-|AFK
dfockler has joined #ruby
lel has quit [Read error: Connection reset by peer]
Drumphet has joined #ruby
Azure has quit [Ping timeout: 250 seconds]
solocshaw has joined #ruby
shinnya has quit [Ping timeout: 276 seconds]
Azure has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
hahuang61 has joined #ruby
dikaio has joined #ruby
A_Drone has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
<zenspider> rawr
A_Drone has quit [Remote host closed the connection]
dminuoso has joined #ruby
Drumphet has quit [Ping timeout: 244 seconds]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rajdesai has quit [Remote host closed the connection]
mrBen2k2k2k has joined #ruby
giz|work|2 has joined #ruby
ta_ has joined #ruby
elifoster has joined #ruby
dminuoso has quit [Ping timeout: 258 seconds]
Ropeney has joined #ruby
<dfockler> Anyone doing any Ruby projects?
blackmesa has joined #ruby
A_Drone has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
nando293921 has quit [Ping timeout: 258 seconds]
millerti has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
beilabs has joined #ruby
Pumukel has joined #ruby
jottr_ has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
jottr has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has joined #ruby
xall has quit [Ping timeout: 264 seconds]
korben has left #ruby [#ruby]
jottr_ has quit [Quit: WeeChat 1.5]
flashpoint9 has joined #ruby
meth has quit [Quit: Leaving]
moparisthebest has joined #ruby
mixtli has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
malconis has quit [Client Quit]
karmatr0n has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Ping timeout: 250 seconds]
dikaio has joined #ruby
SteenJobs has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
s2013 has quit [Quit: Textual IRC Client: www.textualapp.com]
dfockler has quit [Ping timeout: 258 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
gizmore has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
mrBen2k2k2k has quit [Max SendQ exceeded]
beilabs_ has joined #ruby
danman has quit [Quit: danman]
jackjackdripper has quit [Quit: Leaving.]
smathy is now known as smathy_afk
cibs has quit [Ping timeout: 240 seconds]
tdy has quit [Quit: tdy]
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
beilabs has quit [Ping timeout: 265 seconds]
cibs has joined #ruby
tectonic has joined #ruby
nankyokusei has joined #ruby
vagrant_ has joined #ruby
giz|work|2 has quit [Ping timeout: 265 seconds]
Azure has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 240 seconds]
mrBen2k2k2k has joined #ruby
mixtli has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
dhollinger has joined #ruby
eizua has joined #ruby
Drumphet has joined #ruby
A_Drone has quit [Remote host closed the connection]
etehtsea has joined #ruby
millerti has joined #ruby
RegulationD has joined #ruby
Weavel has quit [Quit: Never put off till tomorrow, what you can do the day after tomorrow]
blackgoat has quit [Ping timeout: 258 seconds]
A_Drone has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
Drumphet has quit [Ping timeout: 244 seconds]
dminuoso has joined #ruby
coolboy has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
youch has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
maloik has quit [Remote host closed the connection]
youch has quit [Client Quit]
maloik has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eizua has quit [Quit: Leaving]
youch has joined #ruby
nando293921 has joined #ruby
blackmesa has joined #ruby
tdy has joined #ruby
tdy1 has joined #ruby
Amaterasu has quit [Quit: Leaving]
jazzonmym11nd has joined #ruby
tdy has quit [Ping timeout: 250 seconds]
Drumphet has joined #ruby
beilabs_ has quit [Remote host closed the connection]
DoubleMalt has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
LoneHerm_ has joined #ruby
Drumphet has quit [Ping timeout: 260 seconds]
mrBen2k2k2k has quit [Max SendQ exceeded]
gnufied has joined #ruby
LoneHerm_ has quit [Ping timeout: 264 seconds]
GodFather has quit [Ping timeout: 276 seconds]
giz|work|2 has joined #ruby
mrBen2k2k2k has joined #ruby
youch has quit [Quit: WeeChat 0.4.2]
DoubleMalt has joined #ruby
saneax-_-|AFK is now known as saneax
xall has joined #ruby
karmatr0n has joined #ruby
rajdesai has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
xall has quit [Ping timeout: 258 seconds]
smbenfield has joined #ruby
giz|work|2 has quit [Ping timeout: 250 seconds]
redpants has joined #ruby
ta_ has joined #ruby
tectonic has quit [Ping timeout: 258 seconds]
A_Drone has joined #ruby
tectonic has joined #ruby
hahuang61 has joined #ruby
smbenfield has quit [Quit: Leaving]
astrobun_ has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
deciball is now known as raz
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
mixtli has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
dminuoso has joined #ruby
blackwind_123 has quit [Ping timeout: 244 seconds]
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
fly5566 has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
pwnd_nsfw has joined #ruby
blackwind_123 has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
m3_del has quit [Remote host closed the connection]
m3_del has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
m3_del has quit [Remote host closed the connection]
mrBen2k2k2k has quit [Max SendQ exceeded]
Fezzler has joined #ruby
whippythellama has joined #ruby
davedev2_ has quit []
finisherr has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
c0mrad3 has quit [Quit: Connection closed for inactivity]
etehtsea has quit [Quit: Computer has gone to sleep.]
VladGh has quit [Ping timeout: 240 seconds]
whathappens has joined #ruby
blackmesa has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
mrBen2k2k2k has joined #ruby
whathappens has quit [Ping timeout: 265 seconds]
VladGh has joined #ruby
LoneHermit has joined #ruby
flashpoint9 has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
rajdesai has quit [Remote host closed the connection]
rajdesai has joined #ruby
whippythellama has quit [Quit: WeeChat 1.2]
kp666 has joined #ruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHermit has quit [Ping timeout: 244 seconds]
etehtsea has joined #ruby
saneax is now known as saneax-_-|AFK
onlylove has joined #ruby
rajdesai has quit [Ping timeout: 250 seconds]
alfiemax has joined #ruby
Pumukel has joined #ruby
der-landgraf has joined #ruby
kang00 has joined #ruby
<kang00> Any one using gimp or imagemagick?
gizmore has quit [Ping timeout: 258 seconds]
gizless has joined #ruby
gix has quit [Ping timeout: 252 seconds]
contradictioned has quit [Ping timeout: 260 seconds]
Mia has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 258 seconds]
m3_del has joined #ruby
dardak has joined #ruby
chestnutpie has quit [Ping timeout: 276 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
der-landgraf has quit [Quit: WeeChat 1.5]
gix has joined #ruby
beilabs has joined #ruby
nankyokusei has joined #ruby
m3_del has quit [Ping timeout: 252 seconds]
Vile` has quit [Ping timeout: 244 seconds]
contradictioned has joined #ruby
DoubleMalt has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 258 seconds]
<dardak> Hi
spudowiar has quit [Read error: Connection reset by peer]
spudowiar1 has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
spudowiar1 is now known as spudowiar
jackjackdripper has joined #ruby
<havenwood> hi
SteenJobs has quit [Quit: SteenJobs]
SteenJobs has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
qguv has quit [Quit: bye]
tmtwd_ has joined #ruby
onlylove has quit [Quit: ChatZilla 0.9.92 [Firefox 45.3.0/20160725105554]]
qguv has joined #ruby
A_Drone has quit [Remote host closed the connection]
l4v2 has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
alfiemax has quit [Ping timeout: 252 seconds]
Coldblackice has joined #ruby
AndrewIsHere has joined #ruby
jeanlinu_ has joined #ruby
gizless has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
davedev24 has joined #ruby
arescorpio has quit [Quit: Leaving.]
Cohedrin has joined #ruby
jeanlinux has joined #ruby
davedev24 has quit [Client Quit]
SteenJobs has quit [Quit: peaceee]
dminuoso has joined #ruby
millerti has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
dardak has left #ruby [#ruby]
DoubleMalt has joined #ruby
jeanlinu_ has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
jrafanie has quit [Ping timeout: 244 seconds]
beilabs has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
craigp has quit [Ping timeout: 265 seconds]
mrBen2k2k2k has joined #ruby
m3_del has joined #ruby
dminuoso has quit [Ping timeout: 252 seconds]
redpants has quit [Ping timeout: 244 seconds]
jeanlinu_ has quit [Ping timeout: 240 seconds]
dhollinger has quit [Quit: WeeChat 1.5]
rkazak has joined #ruby
spudowiar has quit [Quit: Leaving.]
rajdesai has joined #ruby
leea has joined #ruby
dhollinger has joined #ruby
Fezzler has quit [Quit: Leaving]
MrBusiness3 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
astrobun_ has quit [Remote host closed the connection]
MrBusiness2 has quit [Ping timeout: 250 seconds]
Drumphet has joined #ruby
contradictioned has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
contradictioned has joined #ruby
calmchaos has joined #ruby
Vlat- has joined #ruby
blackmesa has joined #ruby
tectonic has quit []
Drumphet has quit [Ping timeout: 265 seconds]
MrBusiness3 has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
m3_del has quit [Ping timeout: 276 seconds]
LoneHermit has joined #ruby
rajdesai has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
saneax-_-|AFK is now known as saneax
contradictioned has quit [Ping timeout: 260 seconds]
LoneHermit has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
youch has joined #ruby
A_Drone has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dikaio has joined #ruby
Vlat- has left #ruby [#ruby]
Pumukel has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
kp666 has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
blackgoat has joined #ruby
jenrzzz has joined #ruby
AndrewIsHere has quit []
rajdesai has joined #ruby
djbkd has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
axsuul has joined #ruby
ta_ has joined #ruby
quesker_ has joined #ruby
craysiii_ has joined #ruby
gnufied has quit [Ping timeout: 258 seconds]
mrBen2k2k2k has quit [Max SendQ exceeded]
ta_ has quit [Ping timeout: 260 seconds]
quesker has quit [Ping timeout: 276 seconds]
craysiii has quit [Ping timeout: 276 seconds]
giz|work|2 has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
m3_del has joined #ruby
etehtsea has joined #ruby
rkazak has joined #ruby
giz|work|2 has quit [Ping timeout: 252 seconds]
exchgr has quit [Ping timeout: 264 seconds]
astrobun_ has joined #ruby
giz|work|2 has joined #ruby
hahuang61 has joined #ruby
alfiemax has joined #ruby
dminuoso has joined #ruby
speakingcode has joined #ruby
Pumukel has joined #ruby
mrBen2k2k2k has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
youch has quit [Quit: WeeChat 0.4.2]
hahuang61 has quit [Ping timeout: 260 seconds]
jrafanie has joined #ruby
aufi has joined #ruby
contradictioned has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
craigp has joined #ruby
Pumukel has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
rkazak has quit [Quit: Sleep.....ing....]
Ebok has quit [Ping timeout: 276 seconds]
m3_del has quit [Ping timeout: 265 seconds]
nando293921 has quit [Read error: Connection reset by peer]
Hyuk has joined #ruby
BTRE has quit [Ping timeout: 240 seconds]
malconis has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
malconis has quit [Client Quit]
nando293921 has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
araujo_ has quit [Quit: Leaving]
A_Drone has quit [Remote host closed the connection]
kang00 has left #ruby ["AndroIRC"]
giz|work|2 has quit [Ping timeout: 265 seconds]
A_Drone has joined #ruby
Pupp3tm4st3r has joined #ruby
speakingcode has quit [Ping timeout: 244 seconds]
Hyuk has quit [Ping timeout: 252 seconds]
yardenbar has joined #ruby
tmtwd_ has quit [Ping timeout: 252 seconds]
raeoks has joined #ruby
conta has joined #ruby
raeoks has quit [Client Quit]
blackmesa has joined #ruby
blaxter has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
giz|work|2 has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
blaxter has quit [Client Quit]
karmatr0n has joined #ruby
anisha has joined #ruby
dreamyspell has joined #ruby
m3_del has joined #ruby
caral has joined #ruby
caral has quit [Client Quit]
Cohedrin_ has joined #ruby
Cohedrin has quit [Ping timeout: 260 seconds]
raeoks has joined #ruby
Blue_Ice_ has quit [Ping timeout: 276 seconds]
Blue_Ice has quit [Ping timeout: 276 seconds]
mrBen2k2k2k has quit [Max SendQ exceeded]
calmchaos has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
nankyokusei has joined #ruby
<agent_white> \o
lightheaded has quit [Remote host closed the connection]
edwardly has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 258 seconds]
dminuoso has joined #ruby
edwardly has joined #ruby
agit0 has quit [Ping timeout: 250 seconds]
edwardly has quit [Changing host]
edwardly has joined #ruby
A_Drone has quit [Remote host closed the connection]
ICantCook has joined #ruby
teclator has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karmatr0n has quit [Read error: No route to host]
solocshaw has quit [Ping timeout: 240 seconds]
m3_del has quit [Ping timeout: 258 seconds]
tvw has joined #ruby
dikaio has joined #ruby
ruby-lang947 has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
<ruby-lang947> Hi there! I want to use get the current date, including hour. In IRB I use Time.now and get the desired format (i.e. 2016-08-19 09:00:25 +0300), but when running that method in a Sinatra script only returns the "2016-08-19". How might I be able to get the full date? || also, what is the best time function in Ruby for storage?
TheWhip has joined #ruby
<dminuoso> ruby-lang947: What you see is just an inspect representation.
<dminuoso> ruby-lang947: Time.now will give you the exact time regardless.
<ruby-lang947> but I send the value returned by Time.now to my Sqlite database, and the hour part doesn't show there as well.
<ruby-lang947> it's stored in "Y-M-D" format.
mrBen2k2k2k has joined #ruby
<dminuoso> How do you "send the value" to your sqlite database?
<ruby-lang947> using ActiveRecord, simply:
peteykun has joined #ruby
<ruby-lang947> Object.save(:timestamp => Time.now)
<dminuoso> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<ruby-lang947> no, I use Sinatra.
<dminuoso> ruby-lang947: It's an ActiveRecord question, it's best asked there.
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> Regardless of whether you actually use rails or not.
<ruby-lang947> I see, but for the record
<ruby-lang947> what might cause this issue?
<dminuoso> Just don't mention the "sinatra" part and make it look like a AR question. :)
<ruby-lang947> haha
rajdesai has quit [Remote host closed the connection]
A_Drone has joined #ruby
solars has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
goeast has joined #ruby
lightheaded has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
amclain has quit [Quit: Leaving]
mihael_k33hl has joined #ruby
<ICantCook> ruby-lang947: Time.now.iso8601
<ruby-lang947> NoMethodError: undefined method `iso8601' for 2016-08-19 09:20:01 +0300:Time from (irb):1 from /usr/bin/irb:11:in `<main>'
hutch34 has joined #ruby
<ICantCook> wow
<ICantCook> what is: Time.now.class ?
<mihael_k33hl> I'm a bit new to ruby and its documentation, and I was looking into File Modes, and it says that in File::EXCL, it creates an error/exception but it doesn't explicitly say what error it would create so I could 'rescue' or catch it.
<mihael_k33hl> File Constants*
dikaio has joined #ruby
dikaio has quit [Client Quit]
Macaveli has joined #ruby
m3_del has joined #ruby
<ICantCook> ah, @ruby-lang947: you need to:
<ICantCook> require 'time'
dminuoso has quit [Ping timeout: 276 seconds]
jrafanie_ has joined #ruby
klaas has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
<ruby-lang947> I see. I'll try that.
etehtsea has quit [Quit: Computer has gone to sleep.]
conta1 has joined #ruby
z3uS has joined #ruby
jrafanie has quit [Ping timeout: 276 seconds]
firstdayonthejob has joined #ruby
dminuoso has joined #ruby
craysiii_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHermit has joined #ruby
blackmesa has joined #ruby
last_staff has joined #ruby
flashpoint9 has joined #ruby
aganov has joined #ruby
haraigoshi has joined #ruby
firstdayonthejob has quit [Ping timeout: 276 seconds]
<mihael_k33hl> Is there any documentation stating what exception errors methods are throwing?
A_Drone has quit [Remote host closed the connection]
Coldblackice has quit [Ping timeout: 258 seconds]
zotherstupidguy has quit [Quit: WeeChat 1.5]
Coldblackice has joined #ruby
A_Drone has joined #ruby
giz|work|2 has quit [Ping timeout: 258 seconds]
<mihael_k33hl> Like when calling the File.open(filename, ::File::CREAT | ::File::EXCL) {} What error or exception does ::File::EXCL throw? I can't seem to find any documentation of it. I can try running it but it's a bit frustrating doing that step on every step of the way.
Guest28131 has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
LoneHermit has quit [Ping timeout: 276 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
swills has quit [Ping timeout: 244 seconds]
mtotheg has joined #ruby
nando293921 has quit [Ping timeout: 250 seconds]
romen has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
m3_del has quit [Ping timeout: 240 seconds]
Immune has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 252 seconds]
<eam> mihael_k33hl: most of them mirror the underlying unix api
<eam> ruby docs are kinda bleh, you could try reading the source
<mihael_k33hl> eam: what do you mean by source?
A_Drone has quit [Remote host closed the connection]
<romen> Hi! I'm trying to extend Ruby with a wrapper to a C crypto library. I need to handle BIGNUMs to mantain their multiprecision nature, but all the docs I find seem to hint that every NUM2*() func will just try to map to the larger C fixed variable type. Is there another way to access the underlying binary words? (How about the underlying 62 bit per-word and FIXNUM-flags?)
A_Drone has joined #ruby
<romen> (this is where I'm reading about the internal mp representation: http://patshaughnessy.net/2014/1/9/how-big-is-a-bignum )
bocaneri has joined #ruby
<dminuoso> romen: Are you trying to access the interal objects data from C or Rubyland?
mrBen2k2k2k has quit [Max SendQ exceeded]
ferr has joined #ruby
jgt1 has joined #ruby
pandaant has joined #ruby
<romen> dminuoso: I need to read and modify the rubyland BIGNUM from C (so that I can pass it to the C function of the library I'm wrapping)
TPug has joined #ruby
<dminuoso> romen: Alright, so what exactly is your question?
<romen> (the library expect the mp integer as an array of 64-bits words)
dhollinger has joined #ruby
jgt has quit [Ping timeout: 250 seconds]
<dminuoso> romen: Are you wondering about how to access the internal data, or the format?
<romen> dminuoso: I'm trying to find a way to access the binary words; the docs only speak of the NUM2*() functions, but it looks like they just try to cast down to a C integer variable of the appropriate size which is not what I want, as I will handle integers with more than 256bit representation
<dminuoso> I still don't exactly understand what your problem is.
<romen> dminuoso: how to access the data? what is the used format? are there defined macros/functions that are already taking care of LSB/MSB ordering and flags-stripping?
depesz has left #ruby ["WeeChat 1.5-dev"]
Silthias has joined #ruby
<dminuoso> romen: bignum is one of the few places I have avoided like the pest. Sad reality is the only documentation you have is the soure, luke.
<romen> dminuoso: (I only have this old blog post as reference, but cannot find official doc about this stuff!)
agit0 has joined #ruby
<romen> ok, thanks!
goeast has quit [Ping timeout: 240 seconds]
<dminuoso> romen: Look at rb_uint2big in bignum.c
<dminuoso> romen: That should be a good starting point.
Silthias1 has joined #ruby
zotherstupidguy has joined #ruby
<romen> this is already a good hint! thanks dminuoso !
TPug has quit [Read error: Connection reset by peer]
Fly77 has joined #ruby
tomphp has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
Silthias1 has quit [Client Quit]
Drumphet has joined #ruby
etehtsea has joined #ruby
symm- has joined #ruby
hahuang61 has joined #ruby
Madplatypus has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
Silthias has joined #ruby
Drumphet has quit [Ping timeout: 250 seconds]
gigetoo has quit [Ping timeout: 264 seconds]
swills has joined #ruby
mrBen2k2k2k has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
m3_del has joined #ruby
A_Drone has quit [Remote host closed the connection]
rkazak has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
TomyWork has joined #ruby
submitnine has joined #ruby
Immune has joined #ruby
<mihael_k33hl> I'm looking at a code snipper, and I"m trying to figure out where in the docs do it say that this is the specific Error/Exception that this particular method throws. http://pastebin.com/t9pZz4D9
<ruby[bot]> mihael_k33hl: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/36a8008a6fdcaa26ef2f923fc6823047
<ruby[bot]> mihael_k33hl: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
dminuoso has quit [Remote host closed the connection]
TheWhip_ has joined #ruby
Pumukel has joined #ruby
TheWhip has quit [Ping timeout: 244 seconds]
ec0 has quit [Ping timeout: 250 seconds]
the_rhizo3 has joined #ruby
ICantCook has quit [Quit: bye]
rajdesai has joined #ruby
Pumukel has quit [Ping timeout: 258 seconds]
agent_white has quit [Quit: xoxo]
claudiuinberlin has joined #ruby
Pumukel has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
KaliLinuxGR has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
djbkd has quit [Quit: My people need me...]
Coldblackice has quit [Ping timeout: 265 seconds]
etehtsea has joined #ruby
A_Drone has joined #ruby
lightheaded has quit [Remote host closed the connection]
m3_del has quit [Ping timeout: 258 seconds]
lightheaded has joined #ruby
goeast has joined #ruby
lheaded has joined #ruby
lightheaded has quit [Read error: Connection reset by peer]
zotherstupidguy has quit [Quit: WeeChat 1.5]
yardenbar has quit [Ping timeout: 244 seconds]
LoneHerm_ has joined #ruby
Pumukel has joined #ruby
howdoi has joined #ruby
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
peteykun has quit [Quit: Leaving]
axsuul has joined #ruby
blackmesa has joined #ruby
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrgrieve1 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
A_Drone has quit [Remote host closed the connection]
Pumukel has joined #ruby
dminuoso has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
tomphp has joined #ruby
gigetoo has joined #ruby
l4v2 has quit [Quit: l4v2]
Pumukel has quit [Ping timeout: 260 seconds]
Immune has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
ycakar has joined #ruby
nankyokusei has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
DoubleMalt has joined #ruby
tvw has quit [Remote host closed the connection]
beilabs has quit [Read error: Connection reset by peer]
beilabs has joined #ruby
ec0 has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
mrBen2k2k2k has quit [Max SendQ exceeded]
karmatr0n has joined #ruby
m3_del has joined #ruby
Pumukel has joined #ruby
DaniG2k has joined #ruby
karmatr0n has quit [Read error: No route to host]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
A_Drone has joined #ruby
hammond is now known as meatsmoker
A_Drone has quit [Remote host closed the connection]
Burgestrand has joined #ruby
A_Drone has joined #ruby
Pumukel has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
Pumukel has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
elifoster has quit [Quit: sleep]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheWhip_ has quit [Remote host closed the connection]
jaruga___ has joined #ruby
tomphp has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
vuoto has quit [Remote host closed the connection]
ec0 has quit [Ping timeout: 258 seconds]
mixtli has quit [Ping timeout: 258 seconds]
pwnd_nsfw` has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
mtotheg has quit [Quit: leaving]
CloCkWeRX has quit [Ping timeout: 258 seconds]
pwnd_nsfw has quit [Ping timeout: 250 seconds]
TheWhip has joined #ruby
rsampaio_ has joined #ruby
vuoto has joined #ruby
blackmesa has joined #ruby
flying has joined #ruby
mrBen2k2k2k has joined #ruby
m3_del has quit [Ping timeout: 244 seconds]
vuoto has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
vuoto has joined #ruby
vagrant_ has quit [Quit: Lost terminal]
postmodern has quit [Quit: Leaving]
mark_66 has joined #ruby
goeast has quit [Ping timeout: 258 seconds]
goeast has joined #ruby
submitnine has quit [Ping timeout: 250 seconds]
A_Drone has joined #ruby
rajdesai has quit [Remote host closed the connection]
ta__ has joined #ruby
submitnine has joined #ruby
kang00 has joined #ruby
rajdesai has joined #ruby
rajdesai has quit [Remote host closed the connection]
rajdesai_ has joined #ruby
goeast has quit [Quit: ChatZilla 0.9.92 [Firefox 47.0/20160604131506]]
A_Drone has quit [Ping timeout: 244 seconds]
astrobun_ has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 260 seconds]
<DaniG2k> hello folks
<dminuoso> Hello folk.
<DaniG2k> @_@
ta__ has quit [Ping timeout: 264 seconds]
A_Drone has joined #ruby
romen has quit [Quit: Page closed]
<dminuoso> DaniG2k: SyntaxError: (irb):1: `@' without identifiers is not allowed as an instance variable name
<dminuoso> Try again.
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
kang00 has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
kang00 has joined #ruby
agit0 has quit [Ping timeout: 276 seconds]
Pumukel has joined #ruby
giz|work|2 has joined #ruby
workmad3 has joined #ruby
flashpoint9 has joined #ruby
rsampaio_ has quit [Ping timeout: 258 seconds]
etehtsea has joined #ruby
aryaching has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
giz|work|2 has quit [Ping timeout: 258 seconds]
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Ping timeout: 250 seconds]
iahbxx has joined #ruby
beilabs_ has joined #ruby
elaptics has joined #ruby
m3_del has joined #ruby
finisherr has quit [Read error: Connection reset by peer]
beilabs has quit [Ping timeout: 265 seconds]
teclator has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 244 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
finisherr has joined #ruby
finisherr has quit [Client Quit]
mihael_k33hl has quit [Quit: Page closed]
mim1k has joined #ruby
Pupp3tm4st3r has quit [Quit: Leaving...]
weckl has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
Sembei has quit [Max SendQ exceeded]
exchgr has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
Sembei has joined #ruby
cd-rum_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
m3_del has quit [Ping timeout: 244 seconds]
hahuang61 has joined #ruby
last_staff has quit [Ping timeout: 240 seconds]
antipsychiatry- has joined #ruby
<antipsychiatry-> Hello
<antipsychiatry-> Please visit
teclator has joined #ruby
last_staff has joined #ruby
iahbxx has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 250 seconds]
antipsychiatry- has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
submitnine has quit [Ping timeout: 258 seconds]
crissae_ has quit [Quit: Leaving]
<dminuoso> jhass: ^- cleanup crew please
submitnine has joined #ruby
lheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
A_Drone has quit [Remote host closed the connection]
leitz has joined #ruby
<jhass> !spam antipsychiatry-
ycakar has left #ruby ["Leaving"]
<jhass> dminuoso: thanks
Weavel has joined #ruby
senayar has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
rajdesai_ has quit [Remote host closed the connection]
lightheaded has quit [Remote host closed the connection]
jenrzzz has joined #ruby
rajdesai has joined #ruby
lightheaded has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
blackmesa has joined #ruby
rajdesai has quit [Ping timeout: 250 seconds]
mrBen2k2k2k has joined #ruby
lightheaded has quit [Ping timeout: 258 seconds]
jaruga___ has quit [Ping timeout: 244 seconds]
pokalyis has joined #ruby
vuoto_ has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto_ has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
m3_del has joined #ruby
Fly77 has quit [Remote host closed the connection]
ikbenhet has joined #ruby
<zenspider> I've never understood the anti-psychiatry kooks...
catphish has joined #ruby
<catphish> is there a call on IO to see how many bytes are available for reading?
blackmesa has quit [Ping timeout: 258 seconds]
DaniG2k has quit [Quit: leaving]
bronson has quit [Ping timeout: 240 seconds]
marr has joined #ruby
<catphish> ah, got it, nread()
<catphish> shame there's no nwrite :(
<zenspider> catphish: that's not exactly the number of bytes available...
Pumukel has joined #ruby
<catphish> it's not? "Returns number of bytes that can be read without blocking" in any case i believe that's what i want
<zenspider> ... without blocking
phrozen77_ has quit [Ping timeout: 258 seconds]
<catphish> indeed, why would it block it more was available?
toretore has joined #ruby
<catphish> basically i have an input socket and an output socket, and i'd like to copy as much as possible from one to the other without blocking
<zenspider> how do you know if more is available? what if you're reading from a socket?
spudowiar has joined #ruby
<catphish> i am reading from a socket, thats the point
<dminuoso> catphish: Possibly because a portion might be cached, or perhaps available in a buffer in a socket?
nikivi has joined #ruby
ikbenhet has quit [Quit: Textual IRC Client: www.textualapp.com]
<catphish> sadly there's no nwrite, or i could just copy the lesser of nread and nwrite
<zenspider> what would nwrite do?
<dminuoso> catphish: for writing you can just use write_nonblock anyway.
<catphish> zenspider: would tell me how many bytes can be written without blocking
<dminuoso> catphish: as many as you want.
Coldblackice has joined #ruby
<dminuoso> catphish: with write its in _your_ control.
<catphish> dminuoso: really? i dont see how that's possible, but i'll consider it
mim1k has quit [Ping timeout: 250 seconds]
<zenspider> I think you would be fine with read_nonblock and write_nonblock and you need not use nread... if you need more sophistication you can use IO.select
phrozen77 has joined #ruby
<dminuoso> catphish: you can write as many bytes nonblocking as you want with write_nonblock
<dminuoso> catphish: The problem in the other way is just that you might try to read more than is currently available. Writing doesn't have that problem - just think about it.
<catphish> i am thinking about it, and i don't see how the write buffer can be unlimited
<zenspider> nwrite doesn't make sense
Pumukel has quit [Ping timeout: 240 seconds]
<catphish> if it was, there'd be no need for write_nonblock
<dminuoso> catphish: if it doesnt fit you get EWOULDBLOCK/EAGAIN
<catphish> exactly!
<catphish> then i'm left with data i've read but can't write, which is what i'm trying to avoid
mim1k has joined #ruby
Ishido has joined #ruby
<zenspider> have you even read the documentation on write_nonblock?
<zenspider> it's pretty clear
Pumukel has joined #ruby
haraigoshi has quit [Ping timeout: 260 seconds]
<catphish> as far as i can tell, it writes as much data as it can
nankyokusei has joined #ruby
<catphish> then returns immediately having written some or all of the data
<zenspider> so... that's a no?
colegatron has joined #ruby
<catphish> what am i misunderstanding?
<dminuoso> catphish: It's not how you deal with sockets.
<zenspider> ... the reading part, apparently
* zenspider goes back to porting benchmark-ips to racket
<dminuoso> catphish: What you are looking for is something like ioctl/FIONWRITE
<dminuoso> But I think its poor style.
<catphish> yes, FIONWRITE is what i want
<catphish> ie "nwrite"
* zenspider sighs
m3_del has quit [Ping timeout: 276 seconds]
<catphish> i've read its "poor style" but without any particular reasoning why
Pumukel has quit [Ping timeout: 260 seconds]
<catphish> i guess usually one uses a userspace buffer, i might end up going that way, i just hoped i could simplify by using "nread" and "nwrite"
alfiemax has joined #ruby
lightheaded has joined #ruby
ec0 has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
<catphish> zenspider: please stop being offensive and actually explain what you think i'm misunderstanding
<dminuoso> catphish: Basically you should not care at all.
<dminuoso> catphish: Either the call succeeds if there is one byte available in the send buffer, its completely full, or an error occured.
<catphish> basically i want to avoid reading data i then can't write, the problem with write_nonblock is that afaik it can do a partial write
<catphish> meaning i've read some data but only written part of it
<zenspider> catphish: I already did. you don't bother to understand or read, so why should I type at you more? dminuoso is ALSO explaining this. seems like a waste of time to me
<dminuoso> catphish: Read the documentation on write_nonblock again.
<dminuoso> Or any POSIX manual.
lightheaded has quit [Remote host closed the connection]
<catphish> dminuoso: ok
M-manveru has quit [Remote host closed the connection]
M-mistake has quit [Remote host closed the connection]
M-shine has quit [Remote host closed the connection]
<catphish> the ruby manual says explicitly "Note that this doesn’t guarantee to write all data in string. The length written is reported as result and it should be checked later." that was my concern
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
<catphish> so again, i believe i understand it, and believe i am likely to end up in a situation where i've read more data than i can write, but i guess i'm missing something since you both think i'm wrong here
<leitz> If a class has a public method defiend with "def my_method", and called by another method in that class. That works. Trying to figure out the syntax for calling the method from outside of the class.
smooooy has joined #ruby
<dminuoso> leitz: You call it on objects of that class.
<catphish> leitz: assuming it's an instance method, you would normally call it on an instance of the class
roubix has quit [Ping timeout: 276 seconds]
<dminuoso> catphish: In a nutshell you just have a loop, and write() to your file descriptor, skipping by the amount of bytes written in each pass - until you have nothing more to write.
<dminuoso> Does that make sense?
<zenspider> leitz: just like you call a method on a string: `"blah".chars`... you call a instance method on an instance of that class (or subclass)
gab_ has joined #ruby
nikivi has quit [Max SendQ exceeded]
<dminuoso> catphish: The special case where you would get EWOULDBLOCK you can handle by waiting for a short bit - or just trying again.
<catphish> dminuoso: that makes perfect sense, just means i have to read data without knowing i can write it, and store it in a userspace buffer and wait until the write socket is available again
<zenspider> leitz: you might want to try going through something like the ruby koans or some other tutorial
<dminuoso> catphish: No you dont wait until the write socket is available again.
<leitz> I figure it's one of those simple things I'm just forgetting.
<dminuoso> catphish: If you want to wait, you might as well use blocking IO
<dminuoso> The entire point of non blocking IO is that you don't want to wait if it cant be completed.
<catphish> dminuoso: i'm pretty sure you do, otherwise you just keep blindly doing writes that are never going to success
lightheaded has joined #ruby
<dminuoso> catphish: You just need a single byte for write to succeed.
<zenspider> leitz: are you Leam? you're on ruby-talk, yes?
A_Drone has joined #ruby
<leitz> zenspider, yes. I looked for this question before and my mailer can't find the old conversation.
jackjackdripper has joined #ruby
<dminuoso> catphish: What possible scenario do you have, where you cannot expect the output buffer to have a single byte available over an extended period of time?
M-shine has joined #ruby
<catphish> sure, so what i will do if i run into a write_nonblock what writes less data than i have, i will remove the read socket from my epoll, put the write socket in the epoll instead, then carry on when it becomes writable
Pumukel has joined #ruby
<dminuoso> catphish: It sounds to me like you are trying to do blocking reads/writes using non-blocking read/writes.
<zenspider> so in that case you'd do something like char = Character.new, and then could access char.species
<leitz> In essence trying to make a method useable as a class and instance method. Per the Culttt URL
A_Drone has quit [Remote host closed the connection]
<catphish> dminuoso: not at all, i'm doing event driven writes
<catphish> not really the same as blocking
<zenspider> leitz: that usually doesn't work too well
<zenspider> sometimes it makes sense, but often not
<dminuoso> leitz: Burn the following into your mind: Methods in Ruby always belong to a class.
<catphish> anyway, that's all fine, just means i need to maintain a userland buffer, was hoping to avoid that, but its not a big problem
<dminuoso> leitz: Once you grasp that, it should become clear why what you are tryiing to do does not make much sense.
<leitz> zenspider, what I'm trying to do with this is use lower overhead. I need to create a list of dozens of first names, but not the entire Character object.
<zenspider> leitz: why do you care? have you measured it? is it a significant problem? Chances are: no and no
<zenspider> dozens? that's nothing
<dminuoso> leitz: Also: By chosing ruby you have already signed the "I give up significant performance for an elegant and expressive language" contract. Don't start with premature optimization now too.
<zenspider> >> t0 = Time.now; 1_000_000.times { rand(1_000_000).to_s 36 }; Time.now - t0
<ruby[bot]> zenspider: # => 0.499501426 (https://eval.in/625701)
<tildes> leitz: maybe you need a service object to generate first names? doesn't sound like the class dedicated to characters should also create name lists
nocco has joined #ruby
<zenspider> that's a million (shitty) random strings in < 0.5 seconds
etehtsea has quit [Quit: Computer has gone to sleep.]
<tildes> leitz: some object oriented programming reading / videos / tutorials / whatnots could help with figuring out how to organize code
ta__ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
vuoto has quit [Remote host closed the connection]
<leitz> yup to all the above. I am learning OOP. Just pulled the name genearation out of a module into its own class. However, it just returns a full name; first and last.
vuoto has joined #ruby
Pumukel has joined #ruby
<leitz> Which may be a design problem. :)
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dipnlik has joined #ruby
<tildes> leitz: you can always share the code, how you use it, what you expected it to do, and the error / behaviour you get instead
<dminuoso> leitz: It's simple: If you have a class variant, i.e. state that you need to preserve throughout the lifetime of your object - make it a class.
mrBen2k2k2k has quit [Max SendQ exceeded]
<tildes> leitz: also, what kind of resources you are using to learn OOP / Ruby / programming?
<dminuoso> If not, use a moduel.
Sashimi has joined #ruby
<leitz> tildes, the gist was what I'm working on now, and it has the link to the actual method call.
A_Drone has joined #ruby
<tildes> leitz: and where is Name?
ta__ has quit [Ping timeout: 264 seconds]
stamina has joined #ruby
<leitz> dminuoso, working on that as well. The Name class does nothing but provide a full name. Now I need to break up the first and last names.
<tildes> leitz: and what does your code return?
Pumukel has quit [Ping timeout: 260 seconds]
<leitz> The current tests run from those bits that call Name, except for what's at: https://gist.github.com/LeamHall/ebd8fbe1b026ebf186a5c76cb263cbdc
nocco has quit []
gab_ has quit [Ping timeout: 264 seconds]
vuoto_ has joined #ruby
m3_del has joined #ruby
bkxd has joined #ruby
<leitz> So I can split name and take the 0 element and get a bunch of first names. What I really want, besides better code, is better coding skills. Having the reinforcement of Class vs Instance methods, when my brain is stuck on that issue, helps.
vuoto__ has joined #ruby
<leitz> tildes, also, on your resources question, the humorous answer is "most of the books". Reading is easier than understanding. :)
jaruga___ has joined #ruby
ec0 has quit [Ping timeout: 250 seconds]
<tildes> leitz: it's not a very accurate answer :)
jaruga___ has quit [Client Quit]
vuoto_ has quit [Read error: Connection reset by peer]
vuoto__ has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
jaruga___ has joined #ruby
<tildes> leitz: sometimes it's helpful to focus on a limited number of resources, those that serve your current situation best
vuoto has joined #ruby
zenspider_ has joined #ruby
jgt2 has joined #ruby
<tildes> leitz: and yes, learning takes time
zenspider has quit [Read error: Connection reset by peer]
<leitz> tildes, understood. I'm currently using the Pickaxe book and the Ruby Way. Have read Practical Object Oriented Design, which is what's inspiring me to change my code. I'm also using Text Processing with Ruby as that's one of my big targets.
bruce_lee has joined #ruby
<leitz> In this case, Name is now a class instead of a few methods in CharacterTools. The next step is to build a test file with names, one per line. Then I can make Name check for SQLite and the names.db. If not found, Name defaults to the test lists of names.
jgt1 has quit [Ping timeout: 276 seconds]
orangey_ has joined #ruby
<leitz> The goal is to minimize the add ons someone needs to run the program. And to learn.
orangey has quit [Ping timeout: 276 seconds]
lightheaded has quit [Remote host closed the connection]
Burgestrand has joined #ruby
lightheaded has joined #ruby
faces has joined #ruby
face has quit [Ping timeout: 276 seconds]
bokayio has quit [Ping timeout: 276 seconds]
nikivi has joined #ruby
brianpWins_ has joined #ruby
TinkerTyper has quit [Ping timeout: 276 seconds]
brianpWins has quit [Read error: Connection reset by peer]
brianpWins_ is now known as brianpWins
<leitz> Okay, got it working by making a Name.new and taking the first name. https://gist.github.com/LeamHall/ebd8fbe1b026ebf186a5c76cb263cbdc
wnd has quit [Read error: Connection reset by peer]
wnd has joined #ruby
tvw has joined #ruby
nikivi has quit [Client Quit]
Burgestrand has quit [Client Quit]
<tildes> leitz: great, congrats. if you want, I can take a look at the code base later and maybe give some tips / thoughts
TinkerTyper has joined #ruby
bokayio has joined #ruby
lizard2010 has quit [Remote host closed the connection]
<leitz> Name used instance methods to isolate the behavior, which is the normal use. However, a Class method could be useful as well.
lizard2010 has joined #ruby
nikivi has joined #ruby
<leitz> tildes, thanks! There's a bit of cruft I'm cleaning out of the files, ignore anything that starts with a lowercase character except the tests.
lightheaded has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
giz|work|2 has joined #ruby
nikivi has quit [Client Quit]
<leitz> I'll write up the usage and put it in the README. The cose is at https://github.com/LeamHall/CT_Character_Generator
nikivi has joined #ruby
nikivi has quit [Client Quit]
lightheaded has joined #ruby
flashpoint9 has joined #ruby
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
blackmesa has joined #ruby
Sashimi has quit [Ping timeout: 240 seconds]
giz|work|2 has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 258 seconds]
A_Drone has quit [Remote host closed the connection]
mrBen2k2k2k has joined #ruby
A_Drone has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
zacts has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
Sashimi has joined #ruby
lightheaded has quit [Ping timeout: 265 seconds]
beilabs has joined #ruby
submitnine has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 258 seconds]
etehtsea has joined #ruby
beilabs_ has quit [Ping timeout: 252 seconds]
m3_del has quit [Ping timeout: 244 seconds]
A_Drone has quit [Ping timeout: 250 seconds]
<leitz> tildes, forgot to mention "Build Awesome command line applications with Ruby"
Ch4mp has joined #ruby
Pumukel has joined #ruby
Burgestrand has joined #ruby
A_Drone has joined #ruby
<Ch4mp> why it print only the last line regardless of number
<Ch4mp> the battle continues, has more than 50 HP and fires back! DMG taken: 6
<Ch4mp> the battle continues, has more than 50 HP and fires back! DMG taken: 85
<Ch4mp> it doesnt matter which number
<Ch4mp> it prints the last statement
<tildes> leitz: out of your reading list I only know the Metz book, which I did like, and have read twice
the_rhizo3 has quit [Ping timeout: 244 seconds]
yuki_is_bored has joined #ruby
karmatr0n has joined #ruby
<tildes> leitz: Black - The Well-Grounded Rubyist is a good one
Pumukel has quit [Ping timeout: 244 seconds]
sdothum has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
<Ch4mp> nobody can help me? so many people here
<jhass> Ch4mp: have some patience, 4 minutes is nothing on IRC
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ch4mp> well it's an easy code :)
<jhass> so
<dminuoso> Ch4mp: case does not work the way you think it does.
Pumukel has joined #ruby
<jhass> ^
<dminuoso> Ch4mp: Use if/elsif/else
<leitz> tildes, I think that's on my list to get. However, I'm also trying to read some of the ones I have already. :)
<jhass> Ch4mp: well we should also fix your understanding of case, what do you think it does?
<tildes> leitz: yup, and you've got a few there already :D
<Ch4mp> if there are more "ifs"
<Ch4mp> better to use case
<leitz> tildes, the Metz book is great, but I'm at the very beginning of being able to understand it. By the way, there's another half dozen or so unlisted books on the shelf. Just Ruby specific. More on better coding in general.
<leitz> Amazon likes me....
<Ch4mp> but its the same as if .. isnt?
<jhass> no
<catphish> Ch4mp: that's only true in specific cases when you are doing lots of ==
<catphish> case doesn't do the same as "if"
siovene has quit [Quit: Connection closed for inactivity]
<catphish> look at some examples of how case is used
<catphish> and you will probably see your mistake
karmatr0n has quit [Ping timeout: 244 seconds]
<tildes> leitz: more practical experience and time will help with the Metz book methinks
<jhass> Ch4mp: case A; when B; when C; end is the same as if B === A; elsif C === A; end
<Ch4mp> oh now it works!
<tildes> leitz: one quick way to improve your code is to start using rubocop
<Ch4mp> yay
<catphish> Ch4mp: also, you're treating dmg as if its HP ;)
<dminuoso> leitz: If your book was written by Metz, chances are you got ripped off.
<Ch4mp> yeha il study more about it
<dminuoso> :o)
<jhass> so rewriting your case statement, you have if (dmg < 30) === dmg; elsif (dmg == 0) === dmg; else; end
<Ch4mp> thanks
Ch4mp has quit []
Vile` has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
A_Drone has quit [Remote host closed the connection]
Burgestrand has joined #ruby
xrlabs has joined #ruby
A_Drone has joined #ruby
<leitz> Not sure why the cost has gone up. Or if I did pay that much?!?!
<dminuoso> leitz: Oh. I actually thought you meant "Matz" nevermind. :)
<leitz> Hehe...understood. I do have the O'Reilly Matz book, but it's a bit dense for me.
pandaant has quit [Ping timeout: 250 seconds]
<leitz> Thomas' "Programming Ruby" is much better.
mooru has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
gnufied has joined #ruby
lightheaded has joined #ruby
<catphish> there's no way to actively delete an object in ruby right? you just discard all its references?
pandaant has joined #ruby
Sashimi has quit [Quit: Textual IRC Client: www.textualapp.com]
vuoto has quit [Remote host closed the connection]
<jhass> yes
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Pumukel has joined #ruby
mixtli has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang61 has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
Fernando-Basso has joined #ruby
pokalyis has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
constantinexvi has quit [Ping timeout: 276 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
mixtli has quit [Ping timeout: 258 seconds]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
constantinexvi has joined #ruby
m3_del has joined #ruby
pokalyis has joined #ruby
c355e3b has joined #ruby
A_Drone has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
submitnine has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
nikivi has joined #ruby
dinoangelov has joined #ruby
A_Drone has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 258 seconds]
submitnine has quit [Ping timeout: 258 seconds]
GodFather has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
submitnine has joined #ruby
Pumukel has joined #ruby
bokayio has quit [Ping timeout: 276 seconds]
pokalyis has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
pokalyis has joined #ruby
yardenbar has joined #ruby
lightheaded has quit [Remote host closed the connection]
Pumukel has joined #ruby
bokayio has joined #ruby
lightheaded has joined #ruby
nikivi has quit [Quit: irc]
lheaded has joined #ruby
lightheaded has quit [Read error: Connection reset by peer]
A_Drone has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
hanmac has joined #ruby
genpaku has quit [Ping timeout: 258 seconds]
yokel has quit [Ping timeout: 264 seconds]
mark_66 has quit [Read error: Connection reset by peer]
mark_661 has joined #ruby
genpaku has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
yokel has joined #ruby
blackgoat has joined #ruby
brianpWins has quit [Ping timeout: 244 seconds]
A_Drone has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
flashpoint9 has joined #ruby
Coldblackice has quit [Ping timeout: 258 seconds]
m3_del has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
blackmesa has joined #ruby
nikivi has joined #ruby
rodfersou has quit [Ping timeout: 276 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
indistylo has joined #ruby
edwardly has quit [Max SendQ exceeded]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Pumukel has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
flashpoint9 has joined #ruby
rodfersou has joined #ruby
<catphish> nice error from google's webservers! <title>Error 404 (Not Found)!!1</title>
<catphish> oops wrong channel
Pumukel has quit [Ping timeout: 260 seconds]
karmatr0n has joined #ruby
nankyokusei has joined #ruby
IanMalcolm has joined #ruby
IanMalcolm has quit [Max SendQ exceeded]
karmatr0n has quit [Ping timeout: 244 seconds]
dipnlik has quit [Quit: dipnlik]
allcentury has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
mrBen2k2k2k has joined #ruby
Pumukel has joined #ruby
vdamewood has joined #ruby
ta__ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
ta_ has quit [Remote host closed the connection]
synthroid has joined #ruby
ta__ has quit [Ping timeout: 244 seconds]
beilabs_ has joined #ruby
m3_del has joined #ruby
<leitz> Do you normally put your rdoc generated docs in your remote DVCS repo?
cbetta has quit [Quit: Connection closed for inactivity]
tvw has quit [Remote host closed the connection]
<leitz> No big deal, it just make my project report as 93.5% HTML. Since my repos are part of my resume, I don't want to be catagorized as a web frontender.
swills has quit [Read error: Connection reset by peer]
DoubleMalt has quit [Remote host closed the connection]
swills has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
catphish has left #ruby ["Leaving"]
Pumukel has joined #ruby
beilabs has quit [Ping timeout: 276 seconds]
submitnine has quit [Ping timeout: 258 seconds]
Guest0 has joined #ruby
kang00 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
Pumukel has quit [Ping timeout: 260 seconds]
jeanlinux has joined #ruby
Weavel has quit [Ping timeout: 258 seconds]
<toretore> leitz: no
claudiuinberlin has joined #ruby
alfiemax has quit [Ping timeout: 252 seconds]
zacsek has joined #ruby
Guest0 has left #ruby ["Textual IRC Client: www.textualapp.com"]
claudiuinberlin has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
tvw has joined #ruby
IanMalcolm has joined #ruby
swills has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
dipnlik has joined #ruby
TheWhip_ has joined #ruby
urbanmonk has joined #ruby
submitnine has joined #ruby
giz|work|2 has joined #ruby
tsia has joined #ruby
TheWhip has quit [Ping timeout: 244 seconds]
tyang has joined #ruby
last_staff has quit [Quit: last_staff]
KaliLinuxGR has quit [Ping timeout: 258 seconds]
M-manveru has joined #ruby
M-mistake has joined #ruby
gnufied has quit [Quit: Leaving]
Pumukel has joined #ruby
ddffg has joined #ruby
m3_del has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
solocshaw has joined #ruby
AlexJakeGreen has joined #ruby
tectonic has joined #ruby
yardenbar has quit [Ping timeout: 265 seconds]
whippythellama has joined #ruby
smooooy has quit [Remote host closed the connection]
blackmesa has joined #ruby
airdisa has joined #ruby
smooooy has joined #ruby
solocshaw has quit [Ping timeout: 244 seconds]
zacts has quit [Quit: WeeChat 1.5]
DoubleMalt has joined #ruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has quit [Ping timeout: 252 seconds]
mrBen2k2k2k has quit [Max SendQ exceeded]
karmatr0n has joined #ruby
gnufied has joined #ruby
malconis has joined #ruby
Vile` has quit [Ping timeout: 244 seconds]
<team2016> how long it takes time to learn ruby?
jeanlinux has quit [Remote host closed the connection]
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ljarvis> uh
<ljarvis> how long do you have?
c0mrad3 has joined #ruby
<ljarvis> that really depends on lots and lots of factors
karmatr0n has quit [Ping timeout: 265 seconds]
mikepjb has joined #ruby
jeanlinux has joined #ruby
jeanlinu_ has joined #ruby
jeanlinux has quit [Read error: Connection reset by peer]
<Zarthus> you never stop learning ruby
jeanlinux has joined #ruby
<Zarthus> 10 years in and you still learn new stuff
m3_del has joined #ruby
jeanlinu_ has quit [Read error: No route to host]
pokalyis has quit [Read error: Connection reset by peer]
danman has joined #ruby
jhack has quit []
claudiuinberlin has joined #ruby
pokalyis has joined #ruby
nikivi has quit [Quit: zzz]
jeanlinux has quit [Ping timeout: 276 seconds]
ramortegui has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
reednj_ has quit [Quit: WeeChat 1.5]
tectonic has quit []
AnoHito has quit [Quit: Leaving]
hahuang61 has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
eljimmy has quit [Quit: This computer has gone to sleep]
cdg has joined #ruby
reednj has joined #ruby
the_rhizo3 has joined #ruby
tk__ has joined #ruby
dminuoso_ has joined #ruby
jenrzzz has joined #ruby
submitnine has quit [Ping timeout: 258 seconds]
funburn has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
submitnine has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
<funburn> I’m having a weird issue with the pg gem. Even if I explicitly close connections, the database reports them as being open https://gist.github.com/mtuckerb/1983ab3d057f6a890ce6d8a381269a7b
Mon_Ouie has joined #ruby
<leitz> team2016, Ruby is fairly easy to get started with. The more you want to do the more you learn. As a scripting language there's a pretty fast feedback loop and you can test commands in irb.
rippa has joined #ruby
Pumukel has joined #ruby
millerti has joined #ruby
siovene has joined #ruby
<team2016> leitz: thanks anyway what i can do with ruby?
flashpoint9 has quit [Remote host closed the connection]
whippythellama has quit [Quit: WeeChat 1.2]
jenrzzz has quit [Ping timeout: 260 seconds]
paatalaBhairavi has joined #ruby
flashpoint9 has joined #ruby
swills has joined #ruby
<ljarvis> team2016: you should do your research
<ljarvis> as anyone would with any language
<team2016> ljarvis: what you mean?
Pumukel has quit [Ping timeout: 260 seconds]
ChiefAlexander has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
lheaded has quit [Remote host closed the connection]
vuoto has quit [Ping timeout: 244 seconds]
lightheaded has joined #ruby
OTORelic has joined #ruby
kobain has joined #ruby
vuoto has joined #ruby
<ddffg> A new pilot program inside Amazon is creating technical teams consisting entirely of part-time employees — including managers — in the the company’s latest attempt to compete for tech talent and build a reputation as a flexible place to work.
ChiefAlexander has quit [Ping timeout: 265 seconds]
redpants has joined #ruby
ChiefAlexander has joined #ruby
pokalyis has quit [Read error: Connection reset by peer]
<leitz> team2016, quite a bit. Not as much OS level stuff but very good for a wide variety of tasks. I'm mangling XML and creating a character generator for a game. Figure out what you'd like to do with code and go try stuff. Ruby has strengths and challenges, but you really want to code in a language you enjoy.
<leitz> The more you enjoy it the more you'll code, and thus the better you will become.
<leitz> Sadly, work calls...
Pumukel has joined #ruby
aupadhye has joined #ruby
pokalyis has joined #ruby
leitz has quit [Quit: Nappy time]
lightheaded has quit [Ping timeout: 265 seconds]
<team2016> ok thanks leitz
<team2016> but guy is gone
vdamewood has quit [Quit: Life beckons.]
<team2016> lol
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
moeabdol has joined #ruby
m3_del has quit [Ping timeout: 265 seconds]
tsia has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel has quit [Ping timeout: 250 seconds]
karmatr0n has joined #ruby
mrBen2k2k2k has joined #ruby
dminuoso_ has quit [Ping timeout: 258 seconds]
csk has joined #ruby
Drumphet has joined #ruby
nikivi has joined #ruby
beilabs_ has quit [Remote host closed the connection]
zacts has joined #ruby
dminuoso has joined #ruby
eljimmy has joined #ruby
nikivi has quit [Client Quit]
flashpoint9 has joined #ruby
nikivi has joined #ruby
nikivi has quit [Remote host closed the connection]
catphish has joined #ruby
johnmilton has quit [Remote host closed the connection]
<catphish> would anyone be able to explain what i did wrong here? i copied an example of how to use connect_nonblock but it raises an exception saying it would block: http://paste.codebasehq.com/pastes/ev46hembv6xlv861tf
polysics has joined #ruby
<catphish> oh, actually, i didn't copy the example, the example catches the exception i'm receiving
TheWhip_ has quit [Remote host closed the connection]
<catphish> the error is intentional, never mind :)
ChiefAlexander has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
moeabdol has quit [Ping timeout: 265 seconds]
allcentury has quit [Ping timeout: 250 seconds]
ChiefAlexander has joined #ruby
failshell has joined #ruby
catphish has left #ruby ["Leaving"]
Burgestrand has joined #ruby
spudowiar has quit [Quit: gtg :)]
LoneHerm_ has quit [Ping timeout: 252 seconds]
davedev24 has joined #ruby
blackmesa has joined #ruby
mooru has joined #ruby
lightheaded has joined #ruby
saneax is now known as saneax-_-|AFK
Pumukel has joined #ruby
moeabdol has joined #ruby
paatalaBhairavi has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
etehtsea has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
johnmilton has joined #ruby
allcentury has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
saneax-_-|AFK is now known as saneax
Drumphet has quit [Ping timeout: 276 seconds]
m3_del has joined #ruby
Drumphet has joined #ruby
Fernando-Basso has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 265 seconds]
<mikepjb> ls
mikepjb has left #ruby [#ruby]
mrBen2k2k2k has quit [Max SendQ exceeded]
<Drumphet> heh
youch has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
moeabdol has quit [Ping timeout: 258 seconds]
tubbo has joined #ruby
Pumukel has joined #ruby
anisha has quit [Quit: Leaving]
etehtsea has quit [Quit: Computer has gone to sleep.]
blackmesa has joined #ruby
reednj has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
Pumukel has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
redpants has quit [Ping timeout: 265 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
Weavel has joined #ruby
TheWhip has joined #ruby
whathappens has quit [Ping timeout: 250 seconds]
l4v2 has joined #ruby
Pumukel has joined #ruby
coolboy has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
etehtsea has joined #ruby
Mon_Ouie has quit [Ping timeout: 258 seconds]
Drumphet has quit [Ping timeout: 244 seconds]
ruby-lang510 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
ruby-lang510 has quit [Client Quit]
freeman1337 has joined #ruby
agent_white has joined #ruby
karmatr0n has quit [Read error: Connection reset by peer]
jeanlinux has joined #ruby
sepp2k has joined #ruby
Pumukel has joined #ruby
bonhoeffer has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
failshell has quit []
craigp has quit [Ping timeout: 258 seconds]
<agent_white> Mornin'
shinnya has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
funburn has quit [Quit: funburn]
Pumukel has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
Drumphet has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
polysics has quit []
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crystal77 has joined #ruby
dminuoso has joined #ruby
alfiemax has joined #ruby
Pumukel has joined #ruby
skakri has left #ruby ["WeeChat 1.5"]
youch has quit [Quit: WeeChat 1.5]
youch has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bonhoeffer> i'm swapping out rvm for rbenv -- but after rvm implode the ruby version for rvm is still not getting loaded -- any options?
blackmesa has quit [Ping timeout: 264 seconds]
<bonhoeffer> ruby -v shows ruby 2.0.0p481 -- but i just installed 2.3.1
<bougyman> installed how?
blackmesa has joined #ruby
<bonhoeffer> rbenv install 2.3.1
etehtsea has quit [Read error: Connection reset by peer]
Xiti has quit [Quit: Xiti]
Pumukel has quit [Ping timeout: 260 seconds]
Xiti has joined #ruby
senayar has quit []
cibs has quit [Ping timeout: 240 seconds]
<bonhoeffer> a terminal restart fixed the error but not my ruby -v problem
cibs has joined #ruby
<bougyman> rbenv local 2.3.1
tsia has joined #ruby
polishdub has joined #ruby
rodfersou is now known as rodfersou|lunch
<bougyman> echo $PATH
<bougyman> is ~/.rbenv in it?
<bonhoeffer> ah
<bonhoeffer> no
zacts has quit [Quit: WeeChat 1.5]
Pumukel has joined #ruby
mrBen2k2k2k has joined #ruby
Xiti has quit [Ping timeout: 276 seconds]
s2013 has joined #ruby
qguv has quit [Quit: bye]
aganov has quit [Quit: Leaving]
<bonhoeffer> have it in the path, but doesn't work still
qguv has joined #ruby
ChiefAlexander has joined #ruby
flak has joined #ruby
<bonhoeffer> of course -- my .rbenv doesn't have bin
<bonhoeffer> just shims and versions
nando293921 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
conta1 has quit [Ping timeout: 258 seconds]
nando293921 has quit [Client Quit]
reednj has joined #ruby
rippa has quit [Ping timeout: 244 seconds]
<bonhoeffer> working -- thanks bougyman
Pumukel has joined #ruby
nando293921 has joined #ruby
Mon_Ouie has joined #ruby
nando293921 has quit [Client Quit]
nando293921 has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
tdy1 has quit [Ping timeout: 240 seconds]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
reednj has quit [Ping timeout: 258 seconds]
The_Phoenix has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
etehtsea has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
nando294021 has joined #ruby
nando293921 has quit [Read error: Connection reset by peer]
tk__ has quit [Quit: ばいばい]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
saneax is now known as saneax-_-|AFK
alfiemax has joined #ruby
tdy1 has joined #ruby
The_Phoenix has joined #ruby
<bonhoeffer> is selenium-webdriver still the recommended way to test headless web apps?
dminuoso has quit [Remote host closed the connection]
<bonhoeffer> i'm actually planning to automate a boring process on the web that i do
The_Phoenix has quit [Max SendQ exceeded]
nando294021 has quit [Client Quit]
The_Phoenix has joined #ruby
hahuang61 has joined #ruby
nando293921 has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
The_Phoenix has quit [Max SendQ exceeded]
mixtli has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
The_Phoenix has joined #ruby
davedev2_ has joined #ruby
Pumukel has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
davedev24 has quit [Ping timeout: 265 seconds]
TomyWork has quit [Ping timeout: 276 seconds]
davedev2_ has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
The_Phoenix has joined #ruby
giz|work|2 has quit [Ping timeout: 265 seconds]
The_Phoenix has quit [Max SendQ exceeded]
haraigoshi has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
mixtli has quit [Ping timeout: 244 seconds]
submitnine has quit [Ping timeout: 250 seconds]
IanMalcolm has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ryan_ has joined #ruby
colegatron has quit [Quit: Leaving]
Pumukel has quit [Ping timeout: 260 seconds]
zacts has joined #ruby
[Butch] has joined #ruby
Burgestrand has joined #ruby
submitnine has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dikaio has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
funburn has joined #ruby
funburn has quit [Client Quit]
Pumukel has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
jeanlinux has quit [Ping timeout: 250 seconds]
Gronekmaster has joined #ruby
phredus has quit [Remote host closed the connection]
alfiemax has quit [Read error: Connection reset by peer]
malconis has quit [Remote host closed the connection]
alfiemax has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has joined #ruby
submitnine has quit [Read error: Connection reset by peer]
mixtli has joined #ruby
Weavel has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 276 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
Pumukel has joined #ruby
spudowiar has joined #ruby
eljimmy has joined #ruby
crystal77 has joined #ruby
Silthias has quit [Ping timeout: 258 seconds]
ta_ has joined #ruby
Silthias has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
Drumphet has quit [Ping timeout: 265 seconds]
TheWhip has quit [Remote host closed the connection]
malconis has quit [Remote host closed the connection]
IanMalcolm has joined #ruby
m3_del has quit [Ping timeout: 250 seconds]
malconis has joined #ruby
mooru has quit [Quit: Textual IRC Client: www.textualapp.com]
ta_ has quit [Ping timeout: 244 seconds]
csk has quit [Ping timeout: 244 seconds]
dardak has joined #ruby
Pumukel has joined #ruby
LuckyABA has joined #ruby
Immune has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
mixtli has quit [Ping timeout: 264 seconds]
amclain has joined #ruby
Silthias1 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
jhack has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
smooooy has quit [Quit: ragequit]
async_prince has quit [Ping timeout: 240 seconds]
dipnlik has quit [Quit: dipnlik]
bkxd has quit [Ping timeout: 240 seconds]
pandaant has quit [Remote host closed the connection]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
mixtli has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
bmurt has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
smathy has joined #ruby
rkazak has joined #ruby
<Gronekmaster> hi guys
aazsdk has quit [Remote host closed the connection]
Pumukel has joined #ruby
vuoto has quit [Remote host closed the connection]
<Gronekmaster> I want to learn ruby - any course better than codecademy? I was writing in C++ and Java before
<dardak> hi
jgnagy has joined #ruby
<dardak> Me too
hk238 has joined #ruby
hutch34 has joined #ruby
rodfersou|lunch is now known as rodfersou
bmurt has joined #ruby
xlegoman has joined #ruby
nando294021 has joined #ruby
nando293921 has quit [Read error: Connection reset by peer]
mustmodify has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
<mustmodify> out of curiosity, why is the syntax -> (param) { } rather than -> {|param| } ?
rkazak has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bmurt has quit [Ping timeout: 250 seconds]
aazsdk has joined #ruby
mrgrieve1 has quit [Ping timeout: 264 seconds]
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
speakingcode has joined #ruby
bonhoeffer has quit [Ping timeout: 264 seconds]
huyderman has quit [Ping timeout: 252 seconds]
nando294021 has quit [Client Quit]
mrBen2k2k2k has joined #ruby
nando293921 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
Fernando-Basso has joined #ruby
tdy1 is now known as tdy
flashpoint9 has joined #ruby
Ropeney has joined #ruby
tsia has quit [Quit: tsia]
Pumukel has quit [Ping timeout: 264 seconds]
AlexJakeGreen has quit [Remote host closed the connection]
Guest38 has joined #ruby
jenrzzz has joined #ruby
dminuoso has joined #ruby
indistylo has quit [Remote host closed the connection]
bronson has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
aazsdk_ has joined #ruby
aazsdk has quit [Ping timeout: 265 seconds]
aazsdk_ is now known as aazsdk
nando294021 has joined #ruby
Drumphet has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
huyderman has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
blackmesa has joined #ruby
Pumukel has joined #ruby
<chrisseaton> I've been looking at #allocate today - I think that Class#new ignores any monkey patching when it calls #allocate - does this mean it's always usless to define your own #allocate, as #new will never call it?
the_rhizo3 has quit [Ping timeout: 244 seconds]
pokalyis has quit [Ping timeout: 244 seconds]
the_rhizo3 has joined #ruby
nando294021 has quit [Client Quit]
<mustmodify> What do your tests say?
nando293921 has joined #ruby
rbr has quit [Disconnected by services]
stamina has quit [Ping timeout: 276 seconds]
rbr has joined #ruby
nitric has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
dminuoso_ has joined #ruby
<chrisseaton> That if you define your own #allocate, it will be ignored by Class#new and it will call the original one for the built class immediately prior in your class hierarchy
RegulationD has quit [Remote host closed the connection]
Pumukel has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
harai has joined #ruby
<dardak> can some one explain me this:
<dardak> @bins << (1..9).sort_by{ rand }
<chrisseaton> I had thought that the whole point of #allocate was so that you could override it and implement for example free-list allocation
<chrisseaton> dardak: do you want the whole thing explained from scratch or some particular part of it
speakingcode has quit [Ping timeout: 244 seconds]
<dardak> no
<dardak> just get to know
<dardak> why to use binary operator
haraigoshi has quit [Ping timeout: 276 seconds]
<chrisseaton> do you mean <<? That's another way to write push
async_prince has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
<dardak> so will be the same with "="
Robtop__ has joined #ruby
<dminuoso> chrisseaton, I think your findings are correct. A while ago I tried implementing some nasty hacks trying to coerce a Module into a Class. What you just described sounds familiar.
claudiuinberlin has quit []
<dardak> I mean
dipnlik has joined #ruby
<dardak> with ".push"
<chrisseaton> dardak: no, this pushes an item onto the end of the array, = assigns the variable to the randomised array
Pumukel has quit [Ping timeout: 264 seconds]
<dardak> Ah ok
<dardak> thx
<dminuoso> chrisseaton, dardak: note that push accepts multiple arguments, while << only accepts one. So there is a small difference. :)
<chrisseaton> yes, and you can model multiple arguments with multiple <<, like array << 1 << 2 << 3
jhack has quit [Quit: jhack]
<dminuoso> Yeah but you can't do arr.<<(1,2)
IanMalcolm has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
speakingcode has joined #ruby
eljimmy has joined #ruby
<dardak> Thx so much guys!
eljimmy has quit [Max SendQ exceeded]
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
symm- has joined #ruby
eljimmy has joined #ruby
ctp has joined #ruby
banisterfiend has quit [Remote host closed the connection]
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
m3_del has joined #ruby
fullstack has quit [Changing host]
fullstack has joined #ruby
teclator has quit [Remote host closed the connection]
weckl has quit [Remote host closed the connection]
axsuul has joined #ruby
LoneHermit has joined #ruby
speaking1ode has joined #ruby
centrx has joined #ruby
Pumukel has joined #ruby
reednj has joined #ruby
flashpoint9 has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
speakingcode has quit [Ping timeout: 240 seconds]
jackjackdripper1 has joined #ruby
Lord_of_Life has quit [Excess Flood]
LoneHermit has quit [Ping timeout: 252 seconds]
Lord_of_Life has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
dikaio has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
reednj has quit [Ping timeout: 276 seconds]
marxarelli has joined #ruby
Pumukel has joined #ruby
<foxxx0> i have an array of hashes looking like these: https://paste.foxxx0.de/o6ge4x/ and i want to calculate a hash with all the quota_ attributes summed together for each attribute
<foxxx0> having trouble finding an elegant solution
<dminuoso> foxxx0, use Enumarable#reduce
Kruppe has quit [Quit: ZNC - http://znc.in]
whathappens has joined #ruby
<foxxx0> so just iterate over all the keys, skip unless ^quota_ and then use map + reduce on the array?
<dminuoso> reduce already iterates for you.
<foxxx0> oh
craysiii has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
Kruppe has joined #ruby
moeabdol has joined #ruby
<foxxx0> hm
<dminuoso> foxxx0, array.inject(0) { |total_count, hash| total_count + hash.reduce(0) { |m, (k, v)| m + v } }
<dminuoso> Something like this I suppose.
<dminuoso> Also dont mix inject/reduce - use one and stick with it :P
<dminuoso> Wait silly me.
synthroid has quit []
<foxxx0> your suggestion doesn't look very elegant to me :D
<dminuoso> array.map(&:values).inject(0, :+\)
<dminuoso> array.map(&:values).inject(0, :+)
<dminuoso> That
<dminuoso> Enjoy
<dminuoso> Gotta run
<Mon_Ouie> That would be flat_map
arthurl has joined #ruby
<arthurl> hi guys- ruby newbie here- where would i find the code associated with a db:setup rake task in a codebase?
<foxxx0> so array.flat_map { |e| e.reduce(0, :+) }?
<spudowiar> Rakefile
<ljarvis> foxxx0: that probably doesn't work, does it
hahuang61 has joined #ruby
<foxxx0> nope
<foxxx0> can't think straight today
<foxxx0> that's why i came here :D
dminuoso__ has joined #ruby
<Mon_Ouie> No, flat_map(&:values) instead of map(&:values) (otherwise that code concatenates arrays of values instead of adding them up)
<dminuoso__> Ah right
<dminuoso__> Well close enough for a cookie at least Mon_Ouie?
Pumukel has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
<foxxx0> mh, now it complains about those string attributes
Cohedrin has joined #ruby
<foxxx0> can i somehow extract only the quota_ attributes?
<arthurl> spudowiar Drumphet thanks- so this is what i see in the Rakefile https://gist.github.com/alyssenko/93107af07514a97398afecd5da4fdda9
<ljarvis> of course
<arthurl> so i guess i should be looking at load_tasks in the code
<ljarvis> but this isn't going to be the simple one-liner you want
<foxxx0> mhm
<spudowiar> arthurl: I also guess that :) hehe
<ljarvis> i'd probably have a separate method that counts quota attributes on a given hash, then you can reduce easily
<Drumphet> arthurl: no.. well, sort of.
<arthurl> although there doesn't appear to be a definition for that
<arthurl> anywhere in the codebase
<Drumphet> load_tasks is part of rails as well
ddffg has quit [Ping timeout: 264 seconds]
<arthurl> ahh
<Drumphet> rails is a evil monkey patching thing is you're a ruby purist..
<Drumphet> suggest searching here for anything you can't find "locally": https://github.com/rails/rails
<arthurl> i see- thank you
mustmodify has left #ruby [#ruby]
hahuang61 has quit [Ping timeout: 250 seconds]
<arthurl> so in my lib/tasks i don't see a setup.rake file
<arthurl> basically i'm trying to see what code gets run when one does a rake db:setup with this codebase
<ljarvis> foxxx0: you could probably do something like: items.each_with_object({}) { |i, h| h[i[:id]] = i.values_at(*i.keys.grep(/^quota/)).reduce(0, :+) }
Pumukel has quit [Ping timeout: 260 seconds]
<havenwood> foxxx0: or: items.reduce { |merged_hash, hash| merged_hash.merge(hash) { |k, v1, v2| v1 + v2 if k.to_s.start_with? 'quota' } }
<havenwood> dunno what you want to do with non-quota keys
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
freeman1337 has quit [Ping timeout: 240 seconds]
ChiefAlexander has quit [Remote host closed the connection]
<foxxx0> i don't need them right now, so i can just throw them away
<Drumphet> arthurl: I already gave you a link to the code that gets run
<Drumphet> arthurl: it's in databases.rake
<arthurl> Drumphet right- so i see task setup: ["db:schema:load_if_ruby", "db:structure:load_if_sql", :seed]
<foxxx0> havenwood: your reduce line looks fine and does the trick
<Drumphet> arthurl: now you need to find those tasks.. and so on
tristanp has quit []
<Drumphet> arthurl: enjoy the rails rabbit hole of abstractions all the way down
karmatr0n has joined #ruby
Fernando-Basso has quit [Ping timeout: 260 seconds]
<arthurl> haha yeah seriously...
giz|work has joined #ruby
<arthurl> as a devops guy with mostly c# experience in terms of developing, rails is going to take some getting used to
tristanp has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
m3_del has quit [Ping timeout: 276 seconds]
<arthurl> Drumphet so i think i'm looking for db/structure.sql
<Drumphet> db/schema.rb maybe?
jaruga___ has quit [Quit: jaruga___]
binaryplease1 has joined #ruby
giz|work has quit [Ping timeout: 250 seconds]
IanMalcolm has joined #ruby
IanMalcolm has quit [Max SendQ exceeded]
IanMalcolm has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
binaryplease has quit [Ping timeout: 265 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
<darix> arthurl: db/schema.rb is generated normally. db/migrations/ or so for the steps
<darix> but normally all you want is rake db:migrate
Pumukel has joined #ruby
tomphp has joined #ruby
<arthurl> darix thanks- but what do you mean by 'want'
<arthurl> so the reason i'm looking into this is because it seems a table wasn't created
<arthurl> when the inital db:setup task was ran
<arthurl> even though i see the table clearly definied
<arthurl> in the structure.sql file
<darix> arthurl: db:migrate
<darix> try that
<arthurl> darix is that safe though?
hk238 has joined #ruby
jeanlinux has joined #ruby
<arthurl> i do see a decent amount of migrate tasks defined in the db/migrate folder
Pumukel has quit [Ping timeout: 264 seconds]
<arthurl> my understanding is that it will try to run any migrations that haven't been run yet correct?
<darix> arthurl: yes. it will know what is applied already
blackmesa has joined #ruby
<darix> arthurl: you can look at the 2 tables: schema_migration_details and schema_migrations
Fernando-Basso has joined #ruby
binaryplease1 is now known as binaryplease
<darix> arthurl: but in doubt: make a backup :)
<arthurl> darix thank you- and yes that's good advice wrt the backup :)
claudiuinberlin has joined #ruby
Silthias1 has quit [Quit: Leaving.]
l4v2 has quit [Quit: l4v2]
smathy has quit [Quit: Textual IRC Client: www.textualapp.com]
ta_ has joined #ruby
dminuoso_ has quit [Ping timeout: 276 seconds]
TheWhip has joined #ruby
firstdayonthejob has joined #ruby
<arthurl> so the migrate tasks fails because the table that doesn't seem to be created by the db:setup tasks doesn't exists: https://gist.github.com/alyssenko/90120b27d3eaf285d6730a8c794157bb
alfiemax has quit [Ping timeout: 244 seconds]
<arthurl> trying to understand what might cause that table to not be created when the setup task was ran
blackmesa has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
rajdesai has joined #ruby
elifoster has joined #ruby
solars has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 258 seconds]
danman has quit [Quit: danman]
ta_ has quit [Ping timeout: 265 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
pokalyis has joined #ruby
mark_661 has quit [Remote host closed the connection]
Pumukel has joined #ruby
aazsdk_ has joined #ruby
blackmesa has joined #ruby
rajdesai has quit [Remote host closed the connection]
tomphp has joined #ruby
aazsdk has quit [Ping timeout: 260 seconds]
aazsdk_ is now known as aazsdk
trinaldi has joined #ruby
mixtli has quit [Ping timeout: 240 seconds]
<trinaldi> I'm trying to access a value inside a parameters in rails. Like params['file']['tempfile'], but this method is not working. Any ideas?
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
nando293921 has quit [Quit: Lost terminal]
TPug has joined #ruby
<Drumphet> arthurl: at the end of the day migrations are just code.. as such, they're prone to human error
LoneHerm_ has joined #ruby
<Drumphet> arthurl: migrations can stop working over time and not be reverse compatible... or simply never have worked
elephants has joined #ruby
<Drumphet> arthurl: if you got a db dump from a co-worker then it's possible your migrations table isn't up to date or some such
kyleolivo has joined #ruby
<Drumphet> arthurl: or that early migrations made assumptions ie. from people having db dumps
<Drumphet> arthurl: TLDR; migrations suck
m3_del has joined #ruby
mixtli has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
<arthurl> Drumphet are there shops that choose not to work with migrations? if so what are some alternative approaches
<trinaldi> erm.. better yet, how can I save a ActionDispatch::Http::UploadedFile as a blob?
<Drumphet> arthurl: new employee's get db dumps. :)
diegoviola has joined #ruby
<hightower> Hey folks, what's the right way for a Ruby program (on Linux, if it matters) to determine its memory usage?
LoneHerm_ has quit [Ping timeout: 252 seconds]
replay has joined #ruby
<Drumphet> arthurl: migrations CAN not suck.. if they're written right
<Drumphet> arthurl: $ ls -l db/migrate/ | wc -l # 792
<Drumphet> our migrations absolutely will not run from scratch.. period
<Drumphet> it's on the todo list ;)
<Drumphet> this app has been around since rails 2 though
hutch34 has quit [Ping timeout: 258 seconds]
<adam12> hightower: If you're only targetting ruby, I think everybody just reaches into `/proc/$$` to figure it out...
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adam12> hightower: s/ruby/linux
Akuma has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
nando293921 has joined #ruby
<hightower> adam12, yes, right, though I'd prefer to avoit opening /proc for that, but yeah, that's probably most convenient/simple
nando293921 has quit [Client Quit]
reednj has joined #ruby
nando293921 has joined #ruby
<adam12> hightower: Maybe there is a way to use some of the new Ruby profiling code to ask it how much memory it thinks it's using..
Pumukel has quit [Ping timeout: 264 seconds]
<hightower> adam12, the GC.* stuff? Good hint, I see more methods there than there used to be
<adam12> hightower: also, this: https://github.com/schneems/get_process_mem
beilabs has joined #ruby
jenrzzz has joined #ruby
<hightower> adam12, the get_process_mem dude reads from /proc, but certainly great to have the code done, instead of having to ponder about it
<hightower> thanks++
<adam12> Yeah - I'm exploring this in another language right now and for Linux impl, I'm reading from proc :( I am not sure if there is another way.
<team2016> where i can start ruby?
ag4ve has joined #ruby
<adam12> hightower: you could also look into one of the process managers that tracks memory and sees if there is a better way they've found - bluepill, god, etc.
<hightower> team2016, run 'irb'
reednj has quit [Ping timeout: 265 seconds]
nando294021 has joined #ruby
<team2016> hightower: what you mean?
nando293921 has quit [Read error: Connection reset by peer]
<ag4ve> how do I get ruby (not sure what exactly) to use an international repo instead of rubygems?
jhack has joined #ruby
<ag4ve> I'm trying to use chef-sugar, I've modified the url in Gemfile to our internal server and it's still trying to hit rubygems
Pumukel has joined #ruby
bonhoeffer has joined #ruby
<adam12> ag4ve: You have your own gem server? like geminabox?
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
<ag4ve> Sonatype Nexus
<adam12> ag4ve: On the line of your `gem` call, pass it a different source.
<adam12> or if you have multiple, pass it in a block.
craigp has joined #ruby
zapata has joined #ruby
<ag4ve> Gemfile needs a gem line instead of source?
TPug has quit [Quit: Textual IRC Client: www.textualapp.com]
<adam12> ag4ve: Can you gist your Gemfile?
karmatr0n has quit [Ping timeout: 258 seconds]
rbr has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
bonhoeffer has quit [Ping timeout: 264 seconds]
<youch> team2016 you can start an interactive ruby prompt by running irb from the command line
<team2016> irb
xxninjabunnyxx has quit [Ping timeout: 250 seconds]
GodFather has quit [Ping timeout: 240 seconds]
Drumphet has quit [Ping timeout: 265 seconds]
<youch> team2016: from your shell's commandline, im guessing your shell is bash. not here
m3_del has quit [Ping timeout: 265 seconds]
craigp has quit [Ping timeout: 250 seconds]
<team2016> ok thanks youch anyway python vs ruby, what most people use between both?
aryaching has quit []
aryaching has joined #ruby
tomphp has joined #ruby
<youch> team2016: python is probably used more commercially for a wide range of applications, but its really up to your personal prefernce on which language you like more
snguyen has joined #ruby
nando294021 has quit [Quit: Lost terminal]
nankyokusei has quit [Ping timeout: 276 seconds]
nando293921 has joined #ruby
<team2016> ok thanks youch
<youch> you can find endless threads on that question with a cursory google search, and none of them will really give you an answer as to which is better
Akuma has quit [Quit: So long sukkas!]
aryaching has quit [Remote host closed the connection]
<ag4ve> I haven't (don't intend to do much modification) to that repo since this is nothing I'd commit upstream and I'd like it to be easy to merge in updates, so other than changing the source, that's what I've got
chris349 has joined #ruby
Pumukel has joined #ruby
Amaterasu has joined #ruby
Drumphet has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
jhack has quit [Quit: jhack]
claudiuinberlin has quit [Remote host closed the connection]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jhack has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
xxninjabunnyxx has joined #ruby
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
rippa has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
craysiii has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
nando293921 has quit [Quit: Lost terminal]
Pumukel has quit [Ping timeout: 264 seconds]
symm- has quit [Quit: Leaving...]
ec0 has joined #ruby
mordocai has joined #ruby
zacsek has quit [Ping timeout: 250 seconds]
nando293921 has joined #ruby
<mordocai> Cross post from #rubyonrails, but long story short: What profilers do you use to track down ruby level(so not database/io) performance issues? Can you point to an up to date guide o using it with rails?
<mordocai> s/guide o/guide to/
BTRE has joined #ruby
nando294021 has joined #ruby
nando293921 has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
gnufied has quit [Quit: Leaving]
hutch34 has joined #ruby
alfiemax has joined #ruby
m3_del has joined #ruby
cdg has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
bonhoeffer has joined #ruby
<mordocai> baweaver: Ah yeah, I actually already own that but forgot (I bought it before it was technically out). Thanks for the reminder
l4v2 has joined #ruby
bocaneri has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
<bonhoeffer> i'm trying to work with an object: session = Capybara::Session.new(:selenium) and want to have a block work in this scope, what is the best construct to avoid prefixing everything with session?
jeanlinux has quit [Ping timeout: 252 seconds]
craysiii has joined #ruby
hahuang61 has joined #ruby
gnufied has joined #ruby
jeanlinux has joined #ruby
AndrewIsHere has joined #ruby
centrx has quit []
last_staff has joined #ruby
claudiuinberlin has joined #ruby
nando294021 has quit [Quit: Lost terminal]
craigp has joined #ruby
AnoHito has joined #ruby
ngscheurich has joined #ruby
ixti has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
<bonhoeffer> do i really need to type session so often in this code: https://gist.github.com/tbbooher/2810cbc1eb23b579cd023222b91ebf68
mooru has joined #ruby
m3_del has quit [Ping timeout: 260 seconds]
<toretore> what's wrong with it? that's what you named the variable
jenrzzz has joined #ruby
<Papierkorb> bonhoeffer: you could use #instance_exec
<bonhoeffer> thanks, will check it out
ngscheurich has quit [Quit: WeeChat 1.2]
<toretore> "Everyday I strive to input, process and share information"
reednj has joined #ruby
rbr has joined #ruby
flying has quit []
<bonhoeffer> Papierkorb: i'm not getting how instance_exec solves this
<Papierkorb> what have you tried?
eljimmy has quit [Quit: This computer has gone to sleep]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
hahuang61 has quit [Ping timeout: 252 seconds]
last_staff has joined #ruby
reednj has quit [Ping timeout: 258 seconds]
nando293921 has joined #ruby
<bonhoeffer> Papierkorb: good question. i looked through some examples, and it seems a means to execute parameters on an object
<bonhoeffer> but not a means to change the default scope
<Papierkorb> >> a = "hello"; a.instance_exec{ upcase! }; a
<ruby[bot]> Papierkorb: # => "HELLO" (https://eval.in/626040)
<Papierkorb> bonhoeffer: Does that make it a bit clearer? ^
pokalyis has quit [Read error: Connection reset by peer]
<Papierkorb> bonhoeffer: instance_exec changes `self` for the duration of the block to whatever you have called it on
<bonhoeffer> thanks
spudowiar has quit [Quit: Leaving.]
pokalyis has joined #ruby
johnmilton has quit [Remote host closed the connection]
aryaching has joined #ruby
todd_dsm_wk has quit [Quit: Leaving]
last_staff has quit [Quit: last_staff]
moeabdol has quit [Ping timeout: 276 seconds]
miqlas-H has joined #ruby
dipnlik has quit [Quit: dipnlik]
lenwood has joined #ruby
whathappens has quit [Remote host closed the connection]
claudiuinberlin has quit [Remote host closed the connection]
aazsdk_ has joined #ruby
workmad3 has joined #ruby
whathappens has joined #ruby
rajdesai has joined #ruby
rbr has quit [Ping timeout: 276 seconds]
aazsdk has quit [Ping timeout: 265 seconds]
aazsdk_ is now known as aazsdk
the_rhizo3 has quit [Ping timeout: 244 seconds]
vuoto has joined #ruby
diegoviola is now known as dviola
PlasmaStar has joined #ruby
rbr has joined #ruby
Pumukel has joined #ruby
whathappens has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
johnmilton has joined #ruby
LoneHermit has quit [Remote host closed the connection]
LoneHermit has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
smathy has joined #ruby
the_rhizo3 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
millerti has joined #ruby
m3_del has joined #ruby
Pumukel has joined #ruby
AndyBotwin has quit [Ping timeout: 250 seconds]
AndyBotwin has joined #ruby
giz|work has joined #ruby
team2016 has quit [Quit: team2016]
Dimik has joined #ruby
<jackjackdripper> can anybody suggest a good algorithm book or site for ruby that I can study?
dfinninger has joined #ruby
bad_ip has quit [Quit: Some people just want to watch the world burn.]
bad_ip has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
giz|work has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
rajdesai has quit [Remote host closed the connection]
aufi has quit [Remote host closed the connection]
aupadhye has quit [Ping timeout: 264 seconds]
rajdesai has joined #ruby
SeepingN has joined #ruby
The_Phoenix has joined #ruby
Madplatypus has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
conah has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
dminuoso__ has quit [Read error: Connection refused]
The_Phoenix has joined #ruby
Pumukel has joined #ruby
OTORelic has quit [Ping timeout: 258 seconds]
The_Phoenix has quit [Max SendQ exceeded]
karmatr0n has joined #ruby
dfinninger has quit []
moon_ has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has quit [Read error: Connection reset by peer]
The_Phoenix has joined #ruby
m3_del has quit [Ping timeout: 258 seconds]
ruby-lang947 has quit [Ping timeout: 264 seconds]
The_Phoenix has quit [Max SendQ exceeded]
claudiuinberlin has joined #ruby
pokalyis has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
Pumukel has quit [Ping timeout: 258 seconds]
The_Phoenix has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
The_Phoenix has quit [Max SendQ exceeded]
Pumukel has joined #ruby
dikaio has joined #ruby
bonhoeffer has quit [Ping timeout: 264 seconds]
miqlas-H has joined #ruby
ddffg has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
phredus_ has quit [Read error: No route to host]
Dimik has quit []
phredus has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
lel has joined #ruby
bmurt has joined #ruby
blackwind_123 has quit [Ping timeout: 276 seconds]
<dardak> hi guys
Dimik has joined #ruby
<dardak> I have this:
<dardak> 10.step(70,10) do |x|
<dardak> bins << (x..x+9).sort_by{ rand }
<dardak> end
dminuoso has joined #ruby
<dardak> I want to shrink the result of the array to a lenght of 3
<dardak> can be done in the same line of code?
async_prince has quit [Quit: WeeChat 1.5]
l4v2 has quit [Quit: l4v2]
meth has joined #ruby
Pumukel has joined #ruby
<SeepingN> .first(3)
meth has quit [Max SendQ exceeded]
<dardak> so ...{ rand }.first(3) ?
<havenwood> >> 10.step(70, 10).lazy.map { |n| [*n..n+9].shuffle }.first 3
<ruby[bot]> havenwood: # => [[14, 12, 10, 13, 15, 19, 11, 16, 17, 18], [22, 21, 28, 20, 23, 26, 24, 25, 27, 29], [32, 34, 39, 37 ...check link for more (https://eval.in/626049)
dinoangelov has quit [Quit: (null)]
tvw has quit [Remote host closed the connection]
<havenwood> dardak: you can lazily just map the first 3 ^ (then the others don't have to be calculated)
[Butch] has quit [Ping timeout: 252 seconds]
dminuoso_ has joined #ruby
<dardak> in random order?
howdoi has quit [Quit: Connection closed for inactivity]
<dardak> ahh ok
<dardak> I got it!!
<dardak> thx!
<havenwood> dardak: yeah, unrelated but shuffle will get you random order - you're welcome!
kiba_ has joined #ruby
<kiba_> hello
zeroDi has joined #ruby
stamina has joined #ruby
<kiba_> recommended webcrawling library?
[Butch] has joined #ruby
<dminuoso> kiba_, depends on what you are trying to do. mechanize gives a low level touch, but capybara gives everything including JavaScript.
Pumukel has quit [Ping timeout: 264 seconds]
<dminuoso> kiba_, an alternate solution would be to drive your browser through Watir.
<kiba_> dminuoso: I am trying to download a forum thread, index it for the meta data, and then graph data such as posts per day.
<havenwood> kiba_: say more about what you're doing?
<kiba_> I just did.
reednj has joined #ruby
<dminuoso> kiba_, do you have the need for any JavaScript interaction?
<dminuoso> If not, I recommend plain mechanize.
sergio_101 has joined #ruby
<kiba_> Not at this time. I don't believe so.
<kiba_> spidr seems cool, but it's also less popular
Diogo has joined #ruby
last_staff has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
phredus_ has joined #ruby
phredus has quit [Read error: Connection reset by peer]
m3_del has joined #ruby
reednj has quit [Ping timeout: 265 seconds]
kami__ has joined #ruby
Drumphet has quit [Ping timeout: 252 seconds]
swills has quit [Ping timeout: 260 seconds]
<kiba_> I am going with mechanize.
phredus_ has quit [Read error: Connection reset by peer]
<zenspider_> mechanize is a sane choice. there's a spider in the examples dir
spacemud has quit [Ping timeout: 244 seconds]
phredus has joined #ruby
Amaterasu has quit [Ping timeout: 244 seconds]
Drumphet has joined #ruby
nankyokusei has joined #ruby
spacemud has joined #ruby
<kiba_> I only plan to download a thread
kyleolivo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AndrewIsHere has quit [Remote host closed the connection]
<kiba_> on a forum somewhere.
Fernando-Basso has quit [Quit: Leaving]
kyleolivo has joined #ruby
phredus has quit [Read error: Connection reset by peer]
phredus has joined #ruby
karmatr0n has quit [Ping timeout: 264 seconds]
kyleolivo has quit [Client Quit]
conah has left #ruby ["Leaving"]
beilabs has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 276 seconds]
trinaldi has quit [Quit: WeeChat 1.6-dev]
conah has joined #ruby
mooru has quit [Ping timeout: 276 seconds]
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
axsuul has joined #ruby
m3_del has quit [Ping timeout: 244 seconds]
<kiba_> twenty minutes into a project, I barely got started on writing some code.
jenrzzz_ has joined #ruby
Gronekmaster has quit [Ping timeout: 265 seconds]
leea has joined #ruby
lenwood has quit [Ping timeout: 264 seconds]
nikivi has joined #ruby
AndrewIsHere has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<kiba_> Oh well. Twenty minutes isn't a long time, and it's pretty expected that I will spend a lot of time reading documentation when trying to do unfamiliar things.
whathappens has joined #ruby
phredus has quit [Ping timeout: 240 seconds]
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
meth has joined #ruby
cdg has joined #ruby
eljimmy has joined #ruby
leea has quit [Read error: Connection reset by peer]
blackgoat has joined #ruby
vuoto has quit [Remote host closed the connection]
moos3 has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
mixtli has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
kyleolivo has joined #ruby
kyleolivo has quit [Client Quit]
antgel has joined #ruby
Pumukel has joined #ruby
dmr8 has joined #ruby
blackmesa has joined #ruby
mrBen2k2k2k has joined #ruby
millerti has quit [Ping timeout: 260 seconds]
miqlas-H has joined #ruby
Pumukel has quit [Ping timeout: 244 seconds]
doublemalt_ has joined #ruby
Pumukel has joined #ruby
dmr8 has quit [Read error: Connection reset by peer]
miqlas-H has quit [Client Quit]
dmr8 has joined #ruby
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoubleMalt has quit [Ping timeout: 252 seconds]
m3_del has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
nikivi has quit [Quit: irc]
kiba_ is now known as kiba_test
JeanCarloMachado has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hutch34 has quit [Quit: WeeChat 1.5]
whathappens has quit [Remote host closed the connection]
sumobob has joined #ruby
m3_del has quit [Ping timeout: 250 seconds]
whathappens has joined #ruby
cyphase has quit [Ping timeout: 276 seconds]
AlphaAtom has joined #ruby
AlphaAtom has quit [Client Quit]
definiv has joined #ruby
cyphase has joined #ruby
mrBen2k2k2k has quit [Max SendQ exceeded]
IanMalcolm has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
reednj has joined #ruby
oncall-pokemon has joined #ruby
OTORelic has joined #ruby
elifoster has quit [Quit: out]
reednj has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 264 seconds]
OTORelic has quit [Ping timeout: 250 seconds]
l4v2 has joined #ruby
definiv has quit [Quit: Out]
davedev24 has quit [Remote host closed the connection]
swills has joined #ruby
preyalone has joined #ruby
definiv has joined #ruby
rajdesai has quit [Remote host closed the connection]
kiba_test is now known as kira
cyphase has quit [Ping timeout: 276 seconds]
jeanlinux has quit [Remote host closed the connection]
kyleolivo has joined #ruby
jeanlinux has joined #ruby
rajdesai has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
definiv has quit [Client Quit]
flashpoint9 has joined #ruby
Pumukel has joined #ruby
cyphase has joined #ruby
ta_ has joined #ruby
rajdesai has quit [Ping timeout: 276 seconds]
Drumphet has quit [Ping timeout: 260 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
rajdesai has joined #ruby
sergio_101 has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel has quit [Ping timeout: 250 seconds]
ta_ has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
goldenapple has joined #ruby
Cohedrin has quit [Ping timeout: 250 seconds]
giz|work has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
whathappens has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 260 seconds]
mixtli has joined #ruby
jenrzzz_ has quit [Ping timeout: 244 seconds]
giz|work has quit [Ping timeout: 276 seconds]
harai has quit [Ping timeout: 258 seconds]
mixtli has quit [Ping timeout: 252 seconds]
ldnunes has quit [Quit: Leaving]
moon_ has quit [Ping timeout: 240 seconds]
tummy has joined #ruby
rajdesai has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
Cohedrin_ has joined #ruby
Cohedrin has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby
kira is now known as kira_away
tomphp has joined #ruby
enterprisey has joined #ruby
enterprisey has quit [Remote host closed the connection]
AlexRussia has joined #ruby
symm- has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
jhack has quit [Quit: jhack]
LuckyABA has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
<zenspider_> I wish that Float.ceil and Float.floor took an arg like Float.round did. :(
Fire-Dragon-DoL has quit [Quit: Quit]
moon_ has joined #ruby
swills has quit [Ping timeout: 258 seconds]
Fire-Dragon-DoL has joined #ruby
<zenspider_> >> 0.66.round(1)
zenspider_ is now known as zenspider
zenspider has quit [Changing host]
zenspider has joined #ruby
<zenspider> >> 0.66.round(1)
<ruby[bot]> zenspider: # => 0.7 (https://eval.in/626082)
<zenspider> >> 0.66.floor(1)
<ruby[bot]> zenspider: # => wrong number of arguments (given 1, expected 0) (ArgumentError) ...check link for more (https://eval.in/626083)
<zenspider> :(
chestnutpie has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
gnufied has quit [Ping timeout: 250 seconds]
Fire-Dragon-DoL has quit [Client Quit]
<SeepingN> 0.66.floor.round(1)
Pumukel has joined #ruby
Fire-Dragon-DoL has joined #ruby
snguyen has quit [Quit: Textual IRC Client: www.textualapp.com]
Coldblackice has joined #ruby
jazzonmym11nd has quit [Read error: Connection reset by peer]
jazzonmym11nd has joined #ruby
<zenspider> ummm... no
<zenspider> ?
Pumukel has quit [Ping timeout: 264 seconds]
djbkd has quit [Quit: My people need me...]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zenspider> >> class Float; def floor_ n=0; (self * 10**n).floor.to_f / 10**n; end; end; 0.66.floor_ 1
<ruby[bot]> zenspider: # => 0.6 (https://eval.in/626084)
jenrzzz has joined #ruby
reednj has joined #ruby
cd-rum has joined #ruby
svf has joined #ruby
svf has quit [Client Quit]
Azure has joined #ruby
Pumukel has joined #ruby
OTORelic has joined #ruby
moeabdol has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
reednj has quit [Ping timeout: 244 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
gnufied has joined #ruby
gnufied has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 250 seconds]
neanderslob has joined #ruby
_ko1 has quit [Ping timeout: 250 seconds]
cyphase has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
OTORelic has quit [Ping timeout: 250 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
mixtli has joined #ruby
nankyokusei has joined #ruby
JeanCarloMachado has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
cyphase has joined #ruby
anuxivm has joined #ruby
<arthurl> hi guys- quick question- if i have an app that uses asset pipeline- do i have to do a rake assets:precompile every time i push out new code?
dminuoso has quit [Read error: Connection reset by peer]
<zenspider> !rails
<zenspider> grrr... stupid bot
<arthurl> lol
<zenspider> arthurl: please take that to #rubyonrails
<matthewd> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
cd-rum_ has joined #ruby
Pumukel has joined #ruby
<arthurl> zenspider got it- thanks
spacemud has quit [Ping timeout: 258 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
<zenspider> !dumb
<zenspider> ?dumb
<ruby[bot]> zenspider: I don't know anything about dumb
youch has quit [Quit: WeeChat 1.5]
cd-rum has quit [Ping timeout: 276 seconds]
spacemud has joined #ruby
rodfersou has quit [Quit: leaving]
dminuoso_ has quit [Ping timeout: 244 seconds]
agent_white has quit [Quit: leaving]
moon_ has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 276 seconds]
andersoldahl has joined #ruby
Pumukel has joined #ruby
elephants has quit [Quit: Leaving...]
mixtli has quit [Ping timeout: 244 seconds]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
mixtli has joined #ruby
neanderslob has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
chris349 has quit [Ping timeout: 258 seconds]
postmodern has joined #ruby
lel has quit [Remote host closed the connection]
_ko1 has joined #ruby
neanderslob has joined #ruby
neanderslob_ has joined #ruby
neanderslob has quit [Disconnected by services]
whathappens has quit [Remote host closed the connection]
Pumukel has joined #ruby
neanderslob has joined #ruby
whathappens has joined #ruby
neanderslob has quit [Max SendQ exceeded]
tummy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mixtli has quit [Ping timeout: 276 seconds]
kira_away is now known as kira
andersoldahl has quit [Quit: My Mac has gone to sleep.]
_ko1 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 240 seconds]
AndrewIsHere has quit [Read error: Connection reset by peer]
AndrewIsHere has joined #ruby
moon_ has joined #ruby
firstdayonthejob has quit [Ping timeout: 265 seconds]
neanderslob_ has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
_ko1 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
_ko1 has quit [Client Quit]
phredus has joined #ruby
whathappens has quit [Quit: Leaving...]
_ko1 has joined #ruby
speaking1ode has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
harai has joined #ruby
bkxd has joined #ruby
der-landgraf has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
tummy has joined #ruby
workmad3 has quit [Ping timeout: 258 seconds]
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
Emmanuel_Chanel has joined #ruby
dardak has left #ruby [#ruby]
Immune_ has joined #ruby
TheWhip has quit [Remote host closed the connection]
Immune has quit [Ping timeout: 240 seconds]
stamina has quit [Ping timeout: 260 seconds]
dmr8 has quit [Quit: Leaving]
Pumukel has joined #ruby
RedNifre_ has joined #ruby
polishdub has quit [Quit: Leaving]
mixtli has joined #ruby
slackbotgz has joined #ruby
RedNifre has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
reednj has joined #ruby
TheWhip has joined #ruby
Pumukel has joined #ruby
ta_ has joined #ruby
Coldblackice has quit [Ping timeout: 240 seconds]
tummy has quit [Quit: Textual IRC Client: www.textualapp.com]
OTORelic has joined #ruby
reednj has quit [Ping timeout: 244 seconds]
TheWhip has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 258 seconds]
OTORelic has quit [Ping timeout: 264 seconds]
[Butch] has quit [Quit: I'm out . . .]
blackmesa has quit [Ping timeout: 265 seconds]
saneax-_-|AFK is now known as saneax
slappy16 has quit [Quit: Leaving.]
dminuoso has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel has joined #ruby
KINGSABRI_ has joined #ruby
phredus has quit [Remote host closed the connection]
mixtli has quit [Ping timeout: 244 seconds]
phredus has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
KINGSABRI_ has quit [Client Quit]
KINGSABRI has joined #ruby
airdisa has quit []
preyalone has quit [Quit: Connection closed for inactivity]
dminuoso has quit [Ping timeout: 252 seconds]
arthurl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RedNifre has joined #ruby
TheWhip has joined #ruby
claudiuinberlin has joined #ruby
RedNifre_ has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
coolboy has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
giz|work has joined #ruby
jackjackdripper has quit [Ping timeout: 252 seconds]
bedouin has quit [Ping timeout: 244 seconds]
mchelen2 has quit [Ping timeout: 244 seconds]
twodayslate has quit [Ping timeout: 244 seconds]
TheWhip has quit [Ping timeout: 265 seconds]
zero7 has quit [Ping timeout: 276 seconds]
imanc has quit [Ping timeout: 276 seconds]
joaomdmoura__ has quit [Ping timeout: 276 seconds]
im0b has quit [Ping timeout: 264 seconds]
AndyWojo has quit [Ping timeout: 250 seconds]
machty has quit [Ping timeout: 258 seconds]
GodFather has joined #ruby
Derperperd has joined #ruby
Lloyd has quit [Ping timeout: 244 seconds]
shelling__ has quit [Ping timeout: 244 seconds]
mixtli has joined #ruby
mrBen2k2k2k has joined #ruby
giz|work has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
imanc has joined #ruby
im0b has joined #ruby
ryanlntn has joined #ruby
harai has quit [Ping timeout: 260 seconds]
shelling__ has joined #ruby
Lloyd has joined #ruby
ryanlntn has left #ruby [#ruby]
joaomdmoura__ has joined #ruby
karmatr0n has joined #ruby
aidalgol has joined #ruby
airdisa has joined #ruby
harai has joined #ruby
slackbotgz has quit [Remote host closed the connection]
bedouin has joined #ruby
zero7 has joined #ruby
twodayslate has joined #ruby
mchelen2 has joined #ruby
sp_ has joined #ruby
AndyWojo has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
moeabdol has quit [Ping timeout: 276 seconds]
machty has joined #ruby
Diogo has quit [Quit: Connection closed for inactivity]
sp_ has quit [Client Quit]
jackjackdripper has quit [Quit: Leaving.]
sp_ has joined #ruby
dipnlik has joined #ruby
Pumukel has joined #ruby
dsea has joined #ruby
reednj has joined #ruby
LoneHermit has quit [Remote host closed the connection]
moeabdol has joined #ruby
LoneHerm_ has joined #ruby
hahuang61 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
The_Phoenix has joined #ruby
ag4ve has quit [Ping timeout: 258 seconds]
hahuang65 has quit [Quit: WeeChat 1.5]
moeabdol has quit [Ping timeout: 252 seconds]
spudowiar has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
Azure has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
last_staff has quit [Quit: last_staff]
Pumukel has joined #ruby
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dipnlik has quit [Quit: dipnlik]
claudiuinberlin has quit []
jenrzzz has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 258 seconds]
mixtli has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
mixtli has joined #ruby
sp_ has quit [Ping timeout: 276 seconds]
reednj has quit [Quit: WeeChat 1.5]
karmatr0n has quit [Ping timeout: 276 seconds]
mrBen2k2k2k has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
reednj has joined #ruby
karmatr0n has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
jeanlinux has joined #ruby
LoneHermit has joined #ruby
ixti has joined #ruby
spudowiar has quit [Quit: Leaving.]
blackmesa has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
reednj is now known as reednj_
reednj_ is now known as reednj
reednj is now known as e2021
spudowiar has joined #ruby
nankyokusei has joined #ruby
Didac has quit [Ping timeout: 258 seconds]
claw has quit [Ping timeout: 265 seconds]
Derperperd has quit [Quit: Derperperd]
airdisa has quit []
Drumphet has joined #ruby
e2021 has quit [Quit: WeeChat 1.5]
reednj_ has joined #ruby
Pumukel has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
Derperperd has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]