mitt3ns has quit [Remote host closed the connection]
cfec0b8d has joined #ruby
jordanm has joined #ruby
nowhere_man has joined #ruby
wnd has joined #ruby
Rush__ has joined #ruby
Antiarc_ has joined #ruby
jtd_ has joined #ruby
justinmcp_ has joined #ruby
Rush__ is now known as Guest54664
ytti_ has joined #ruby
reaVer has joined #ruby
oleo has quit [Excess Flood]
cjohnson_ has joined #ruby
olblak_ has joined #ruby
xsdg_ has quit [Write error: Connection reset by peer]
xsdg has joined #ruby
olblak has quit [Write error: Broken pipe]
ec\ has joined #ruby
_br___ has joined #ruby
DefV has joined #ruby
ccooke has joined #ruby
spiette has quit [Excess Flood]
sunya7a has quit [Remote host closed the connection]
Keltia_ has joined #ruby
abort_ has joined #ruby
sunya7a has joined #ruby
ghoti_ has joined #ruby
nishiki_ has joined #ruby
helpa-bot has joined #ruby
ByronJoh1son has joined #ruby
c-c has joined #ruby
jsaak_ has joined #ruby
pleiosau1 has joined #ruby
ltp_ has joined #ruby
lucas_ has joined #ruby
t-recx_ has joined #ruby
karlding_ has joined #ruby
G has joined #ruby
marcellu1 has joined #ruby
Pisuke has quit [Excess Flood]
silverdust has quit [Write error: Broken pipe]
stryek has quit [Write error: Broken pipe]
marcellus has quit [Write error: Broken pipe]
volix has quit [Write error: Broken pipe]
abort has quit [Write error: Broken pipe]
DefV_ has quit [Write error: Broken pipe]
ytti has quit [Write error: Broken pipe]
sagax has quit [Write error: Broken pipe]
MrBusiness has quit [Excess Flood]
DEac- has quit [Write error: Broken pipe]
Raboo has quit [Write error: Broken pipe]
sebd has quit [Write error: Broken pipe]
ccooke_ has quit [Write error: Broken pipe]
Xiti has quit [Excess Flood]
sunrunner20 has quit [Excess Flood]
valentin has quit [Remote host closed the connection]
cgfbee has quit [Excess Flood]
claw has quit [Quit: No Ping reply in 180 seconds.]
badeball_ has joined #ruby
ByronJohnson has quit [Remote host closed the connection]
ptx0 has quit [Read error: Connection reset by peer]
Raboo_ has joined #ruby
ericmath1son has joined #ruby
DEac-_ has joined #ruby
silverdust has joined #ruby
ozzloy_ has joined #ruby
sts_ has joined #ruby
yeticry_ has joined #ruby
Raboo_ is now known as Raboo
sami_ has joined #ruby
mcfiredr1ll has joined #ruby
volix_ has joined #ruby
diego2 has joined #ruby
stryek_ has joined #ruby
Lyfe_ has joined #ruby
majuscul1 has joined #ruby
dreamthese has joined #ruby
c-c is now known as Guest60457
darix- has joined #ruby
ineb1 has joined #ruby
eam_ has joined #ruby
chaos95 has joined #ruby
ogotai_ has joined #ruby
Roa_ has joined #ruby
jrmhurs102 has joined #ruby
administ1aitor has joined #ruby
kaspergr1bbe has joined #ruby
mikee_ has joined #ruby
gse_ has joined #ruby
jenrzzz_ has joined #ruby
gigetoo_ has joined #ruby
claw has joined #ruby
Freijo has joined #ruby
alamar has joined #ruby
Xiti has joined #ruby
slima_ has joined #ruby
thoraxe has joined #ruby
raddazong has joined #ruby
wkoszek_ has joined #ruby
TvL2386_ has joined #ruby
ihme-TTilus has joined #ruby
silverdust is now known as Guest10318
devyn has joined #ruby
sami_ is now known as Guest48984
dioxylin_ has joined #ruby
willymox_ has joined #ruby
gaurav__ has joined #ruby
freeze_ has joined #ruby
pabs_ has joined #ruby
rgs_ has joined #ruby
genpaku_ has joined #ruby
Kuukunen- has joined #ruby
ltd_ has joined #ruby
ironcame1 has joined #ruby
uxp_ has joined #ruby
Bish_ has joined #ruby
Drakevr_ has joined #ruby
chihhsin_ has joined #ruby
Prira has joined #ruby
alamar is now known as Guest38752
gloscombe has joined #ruby
planigan_ has joined #ruby
MrBusiness has joined #ruby
daivyk has quit [Excess Flood]
birdyond1ugs has quit [Write error: Broken pipe]
Bish has quit [Write error: Broken pipe]
ltd has quit [Write error: Broken pipe]
administraitor has quit [Write error: Broken pipe]
govg has quit [Write error: Broken pipe]
genpaku has quit [Write error: Connection reset by peer]
t-recx has quit [Write error: Broken pipe]
_br__ has quit [Write error: Broken pipe]
mesamoo has quit [Write error: Broken pipe]
watersoul has quit [Write error: Connection reset by peer]
Phanes has quit [Excess Flood]
DenSchub has quit [Excess Flood]
xzhao has quit [Quit: No Ping reply in 180 seconds.]
Guest22648 has quit [Remote host closed the connection]
Rush has quit [Quit: No Ping reply in 180 seconds.]
ec\_ has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
async_pr1 has quit [Remote host closed the connection]
unreal_ has quit [Read error: Connection reset by peer]
KrzaQ has quit [Excess Flood]
Lyfe has quit [Write error: Broken pipe]
genpaku_ is now known as genpaku
watersoul_ has joined #ruby
govg_ has joined #ruby
async_prince has joined #ruby
Phanes has joined #ruby
Phanes has joined #ruby
Phanes has quit [Changing host]
KrzaQ has joined #ruby
ericmathison has quit [Write error: Broken pipe]
Antiarc has quit [Write error: Broken pipe]
havenwood has quit [Excess Flood]
bpmedley has quit [Excess Flood]
ivanf has quit [Excess Flood]
chihhsin has quit [Remote host closed the connection]
ammar has quit [Remote host closed the connection]
electrostat has quit [Excess Flood]
sts has quit [Write error: Broken pipe]
nicesignal has quit [Write error: Broken pipe]
ozzloy has quit [Write error: Broken pipe]
G_ has quit [Write error: Broken pipe]
nishiki has quit [Write error: Broken pipe]
chamunks has quit [Excess Flood]
nebiros has quit [Excess Flood]
DenSchub has joined #ruby
Guest40896 has quit [Remote host closed the connection]
freeze has quit [Remote host closed the connection]
pabs has quit [Remote host closed the connection]
darix has quit [Remote host closed the connection]
pskosinski has joined #ruby
sunrunner20 has joined #ruby
darix- is now known as darix
havenn has joined #ruby
havenn has joined #ruby
chamunks has joined #ruby
electrostat has joined #ruby
shaman42 has quit [Write error: Broken pipe]
gaurav has quit [Write error: Broken pipe]
jericon_ has quit [Write error: Broken pipe]
lucas has quit [Write error: Broken pipe]
madhatter has quit [Write error: Broken pipe]
willymox has quit [Write error: Broken pipe]
Fraeon has quit [Write error: Broken pipe]
rgs has quit [Write error: Broken pipe]
thoraxe_ has quit [Write error: Broken pipe]
sunya7a_ has quit [Write error: Broken pipe]
ironcamel has quit [Write error: Broken pipe]
c-c_ has quit [Write error: Broken pipe]
yeticry has quit [Write error: Broken pipe]
helpa has quit [Write error: Broken pipe]
matled has quit [Write error: Broken pipe]
cjohnson has quit [Write error: Broken pipe]
ghoti has quit [Write error: Broken pipe]
Kuukunen has quit [Write error: Broken pipe]
justinmcp has quit [Write error: Broken pipe]
woodruffw has quit [Excess Flood]
giraffe has quit [Excess Flood]
ivanf- has joined #ruby
Karunamon has quit [Quit: Later!]
matled- is now known as matled
Truenigma has quit [Remote host closed the connection]
seggy has quit [Remote host closed the connection]
ineb has quit [Remote host closed the connection]
ejnahc has quit [Remote host closed the connection]
duper has quit [Remote host closed the connection]
balo has quit [Remote host closed the connection]
tobiasvl has quit [Write error: Broken pipe]
ogotai has quit [Write error: Broken pipe]
sami has quit [Write error: Broken pipe]
dioxylin has quit [Write error: Broken pipe]
yokel has quit [Write error: Connection reset by peer]
jsaak has quit [Write error: Broken pipe]
bw\ has quit [Write error: Broken pipe]
karlding has quit [Write error: Broken pipe]
jtd has quit [Write error: Broken pipe]
MissionCritical has quit [Excess Flood]
Guest11871 has quit [Quit: No Ping reply in 180 seconds.]
ltp has quit [Remote host closed the connection]
jrmhurst92 has quit [Remote host closed the connection]
uxp has quit [Remote host closed the connection]
connor_goodwolf has quit [Remote host closed the connection]
slima has quit [Remote host closed the connection]
pskosinski is now known as Guest99499
jpterry_ has joined #ruby
birdyondrugs has joined #ruby
cyphase has quit [Excess Flood]
nacsurte has quit [Write error: Broken pipe]
Keltia has quit [Write error: Broken pipe]
daed has quit [Write error: Broken pipe]
wkoszek has quit [Write error: Broken pipe]
Roa has quit [Write error: Broken pipe]
TvL2386 has quit [Write error: Broken pipe]
gigetoo has quit [Write error: Connection reset by peer]
badeball has quit [Write error: Broken pipe]
reaVer_ has quit [Write error: Broken pipe]
vondruch has quit [Write error: Broken pipe]
xzhao has joined #ruby
gigetoo_ is now known as gigetoo
havenn is now known as havenwood
segy has quit [Excess Flood]
rt has quit [Excess Flood]
gsingh93 has quit [Excess Flood]
genta has quit [Write error: Broken pipe]
chaos95_ has quit [Write error: Broken pipe]
mikee has quit [Write error: Broken pipe]
alnewkir1 has quit [Write error: Broken pipe]
kke_ has quit [Write error: Broken pipe]
xychix has quit [Write error: Broken pipe]
akkad has quit [Excess Flood]
tris- has joined #ruby
Prira_ has quit [Remote host closed the connection]
spheric has quit [Max SendQ exceeded]
jenrzzz has quit [Remote host closed the connection]
Sp4rKy has quit [Remote host closed the connection]
Drakevr has quit [Remote host closed the connection]
eam has quit [Remote host closed the connection]
umaaji has joined #ruby
lagweezle_away has quit [Remote host closed the connection]
segy has joined #ruby
tris has quit [Excess Flood]
tomphp has quit [Excess Flood]
cyphase has joined #ruby
dviola has quit [Remote host closed the connection]
SuperLag has quit [Remote host closed the connection]
Rabbit_ has quit [Remote host closed the connection]
woodruffw has joined #ruby
pleiosaur has quit [Remote host closed the connection]
woodruffw has joined #ruby
bhaak has quit [Remote host closed the connection]
gse has quit [Remote host closed the connection]
majuscule has quit [Remote host closed the connection]
woodruffw has quit [Changing host]
Guest1272 has quit [Remote host closed the connection]
ichthys has quit [Read error: Connection reset by peer]
mnemon has quit [Remote host closed the connection]
wopi has quit [Remote host closed the connection]
planigan has quit [Read error: Connection reset by peer]
gsingh93 has joined #ruby
ptx0 has joined #ruby
helpa-bot has quit [Remote host closed the connection]
vondruch_ has quit [Changing host]
vondruch_ has joined #ruby
Guest99499 has joined #ruby
Guest99499 has quit [Changing host]
giraffe has joined #ruby
helpa has joined #ruby
Pisuke has joined #ruby
scorphus has quit [Remote host closed the connection]
helpa has quit [*.net *.split]
giraffe has quit [*.net *.split]
pale3 has quit [*.net *.split]
bokayio has quit [*.net *.split]
edwardly has quit [*.net *.split]
harfangk has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
ta_ has quit [*.net *.split]
GorillaApe has quit [*.net *.split]
stan has quit [*.net *.split]
perry has quit [*.net *.split]
ahuman has quit [*.net *.split]
lupine has quit [*.net *.split]
TheBrayn has quit [*.net *.split]
tomaw has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
TTilus has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
mcfiredrill has quit [*.net *.split]
chmuri has quit [*.net *.split]
isene has quit [*.net *.split]
solos has quit [*.net *.split]
vdl has quit [*.net *.split]
bier has quit [*.net *.split]
dikaio has quit [*.net *.split]
tolvstaa has quit [*.net *.split]
friday has quit [*.net *.split]
Koshian has quit [*.net *.split]
linduxed has quit [*.net *.split]
lupine has joined #ruby
bier has joined #ruby
ta_ has joined #ruby
vdl has joined #ruby
jpterry has quit [Ping timeout: 260 seconds]
jpterry_ is now known as jpterry
akkad has joined #ruby
tris- is now known as tris
d^sh has quit [Ping timeout: 244 seconds]
solos has joined #ruby
balo has joined #ruby
rt has joined #ruby
giraffe has joined #ruby
nacsurte has joined #ruby
bw\ has joined #ruby
SuperLag has joined #ruby
shaman42 has joined #ruby
Rabbit_ has joined #ruby
jericon has joined #ruby
gusrub has quit [Remote host closed the connection]
ejnahc has joined #ruby
duderonomy has joined #ruby
d^sh has joined #ruby
friday has joined #ruby
wopi has joined #ruby
yokel has joined #ruby
MrSparkle has joined #ruby
midacts has joined #ruby
perry has joined #ruby
perry has joined #ruby
perry has quit [Changing host]
lagweezle_away has joined #ruby
devyn_ has quit [Ping timeout: 260 seconds]
kke has joined #ruby
unreal_ has joined #ruby
bhaak has joined #ruby
Sp4rKy has joined #ruby
connor_goodwolf has joined #ruby
daed has joined #ruby
Guest56691 has quit [Remote host closed the connection]
marr has quit [Ping timeout: 260 seconds]
Sp4rKy is now known as Guest70041
duper has joined #ruby
Danny has joined #ruby
dh64 has joined #ruby
sebd has joined #ruby
nebiros has joined #ruby
nebiros has joined #ruby
nebiros has quit [Changing host]
nebiros has joined #ruby
nebiros has quit [Changing host]
chrisgopher has joined #ruby
ammar has joined #ruby
Danny is now known as Guest41289
hightower2 has quit [Ping timeout: 258 seconds]
rprimus has joined #ruby
rprimus is now known as Guest28650
helpa has joined #ruby
yosafbridge has quit [Quit: Leaving]
tolvstaa has joined #ruby
Koshian has joined #ruby
bokayio has joined #ruby
edwardly has joined #ruby
chmuri has joined #ruby
isene has joined #ruby
ahuman has joined #ruby
harfangk has joined #ruby
PaulCapestany has joined #ruby
7JTABFHXU has joined #ruby
xMopxShell has joined #ruby
stan has joined #ruby
mnemon has joined #ruby
xychix has joined #ruby
7JTABFHXU has quit [Read error: Connection reset by peer]
tomaw has joined #ruby
Guest41289 has quit [Ping timeout: 268 seconds]
stan is now known as Guest30004
mnemon is now known as Guest16226
bokayio has quit [Ping timeout: 240 seconds]
bokayio has joined #ruby
mikecmpb_ has joined #ruby
MissionCritical has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
diego2 is now known as dviola
mikecmpbll has quit [Ping timeout: 276 seconds]
jphase has quit [Remote host closed the connection]
yosafbridge has joined #ruby
chrisgopher has quit []
cgfbee has joined #ruby
Boyeto has joined #ruby
skweek has joined #ruby
t-recx_ is now known as t-recx
bsamorim has joined #ruby
nacsurte has quit [Ping timeout: 255 seconds]
s1kx has joined #ruby
pale3 has joined #ruby
ascarter has joined #ruby
linduxed has joined #ruby
TheBrayn has joined #ruby
t-recx has quit [Quit: t-recx]
Roa_ has quit [Quit: leaving]
jphase has joined #ruby
kobain has joined #ruby
cschneid_ has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
Fernando-Basso has quit [Quit: WeeChat 1.8]
w0b has quit [Quit: -a- Connection Timed Out]
w0b has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
sunrunner20 has quit [Quit: So Long and Thanks for All the fish]
sunrunner20 has joined #ruby
jphase has quit [Remote host closed the connection]
ketan has joined #ruby
Vingador has quit [Ping timeout: 240 seconds]
lxsameer has quit [Quit: WeeChat 1.7]
jphase has joined #ruby
Vingador has joined #ruby
ketan has quit [Ping timeout: 246 seconds]
Vingador_ has joined #ruby
MrBusiness has quit [Ping timeout: 240 seconds]
Vingador has quit [Ping timeout: 268 seconds]
gloscombe has quit [Quit: WeeChat 1.7.1]
jenrzzz_ has quit [Ping timeout: 258 seconds]
nofxxxx has quit [Read error: Connection reset by peer]
Vingador_ has quit [Remote host closed the connection]
nofxx has joined #ruby
<ule>
foo = my_instance.my_field || ''
<ule>
do you know another way of doing this?
<ule>
the problem is that I have 10 of these inside a hash so my Rubocop is complaining about a Cyclomatic complexity for my_field is too high
<ule>
ops not my field, for the method
snowcrshd has joined #ruby
jottr_ has quit [Ping timeout: 260 seconds]
<elomatreb>
ule: I'd probably just disable the cyclomatic complexity lint (either just for that method with a comment or for the whole project because it's honestly more trouble than it's worth)
<ule>
:/
<ule>
how about if I do something like.. loop_trough_all_my_attributes, if nil assign '' ?
snowcrshd has quit [Remote host closed the connection]
<ule>
elomatreb: this rubocop metric is so boring
<elomatreb>
Are you sure you need to assign always the same default like that? Hash#fetch supports setting a default
kasisnu has joined #ruby
<ule>
So.. if the field I'm assigning is nil, it should always be '' (empty string)
<elomatreb>
That one along with the one about method source length are probably the most-disabled Rubocop lints
<ule>
oh.. maybe I can loop over the hash after assign everything
<ule>
elomatreb: lol yeah
Danny has joined #ruby
Danny is now known as Guest17087
apparition has joined #ruby
bsamorim has quit [Remote host closed the connection]
snowcrshd has joined #ruby
xerx has joined #ruby
bmurt_ has joined #ruby
mim1k has joined #ruby
snowcrshd has quit [Ping timeout: 268 seconds]
mim1k has quit [Ping timeout: 240 seconds]
<ule>
fixer here by the way
<ule>
*fixed.. I removed the assignment inside the hash and looping trhough all them assigning to '' if nil
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mia has quit [Ping timeout: 240 seconds]
eightlimbed has joined #ruby
solos has quit [Ping timeout: 255 seconds]
kies has quit [Ping timeout: 240 seconds]
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 255 seconds]
solos has joined #ruby
charliesome has joined #ruby
nofxx has quit [Remote host closed the connection]
Guest17087 has quit []
nofxx has joined #ruby
bmurt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx has quit [Ping timeout: 268 seconds]
jameser has joined #ruby
d^sh has quit [Ping timeout: 260 seconds]
d^sh has joined #ruby
nofxx has joined #ruby
amclain has quit [Quit: Leaving]
jenrzzz has joined #ruby
uZiel has joined #ruby
duper has quit [Read error: Connection reset by peer]
duper has joined #ruby
unsymbol_ has quit [Ping timeout: 255 seconds]
johnzorn has quit [Ping timeout: 255 seconds]
unsymbol has joined #ruby
Vingador has joined #ruby
Vingador has quit [Remote host closed the connection]
johnzorn has joined #ruby
creature has joined #ruby
creature has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
ByronJoh1son is now known as ByronJohnson
dikaio has joined #ruby
gusrub has joined #ruby
Danny has joined #ruby
Danny is now known as Guest78236
mikeiniowa has joined #ruby
arescorpio has quit [Quit: Leaving.]
gusrub has quit [Ping timeout: 268 seconds]
uZiel has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
sagax has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
dyyylan has quit [Ping timeout: 260 seconds]
[^^Cu3Vo^^] has joined #ruby
nacsurte has joined #ruby
[^^Cu3Vo^^] has left #ruby [#ruby]
dyyylan has joined #ruby
uZiel has joined #ruby
jshjsh has quit [Ping timeout: 260 seconds]
nacsurte has quit [Ping timeout: 268 seconds]
Vingador has joined #ruby
hutch34 has joined #ruby
ivanf- is now known as ivanf
ivanf has joined #ruby
ivanf has quit [Changing host]
boombox_ has joined #ruby
rkazak has joined #ruby
rkazak has quit [Client Quit]
Vingador has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
ap4y has joined #ruby
ap4y has left #ruby [#ruby]
ap4y has joined #ruby
Guest78236 has quit [Remote host closed the connection]
hkdsun has quit [Ping timeout: 246 seconds]
hkdsun has joined #ruby
moei has joined #ruby
moei has quit [Client Quit]
ketan has joined #ruby
Aeyris has quit []
ketan has quit [Ping timeout: 240 seconds]
Aeyris_ has joined #ruby
Aeyris_ is now known as Aeyris
cfec0b8d has quit [Ping timeout: 240 seconds]
cfec0b8d has joined #ruby
eightlimbed has quit [Ping timeout: 260 seconds]
kies has joined #ruby
s1kx has quit [Quit: s1kx]
FastJack has quit [Read error: Connection reset by peer]
FastJack has joined #ruby
astrobunny has joined #ruby
eightlimbed has joined #ruby
w0b has quit [Quit: AndroidIrc Disconnecting]
enterprisey has quit [Remote host closed the connection]
type01 has joined #ruby
jenrzzz has joined #ruby
cdg has quit [Remote host closed the connection]
fieldpeter has joined #ruby
Hunter1 has quit [Remote host closed the connection]
Hunter1 has joined #ruby
patarr has joined #ruby
astrobunny has quit [Remote host closed the connection]
mim1k has joined #ruby
jordanm has quit [Quit: Konversation terminated!]
agent_white has joined #ruby
jordanm has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
astrobunny has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
astrobunny has quit [Remote host closed the connection]
<fieldpeter>
Dear all. Windows user :( . I have a short script to parse and read very large (typically 200Meg) files in a proprietary format and convert them into a wav. It works when the files are on a physical local drive, but when they are on a windows network share mounted locally, Ruby throws an error I can;t really make sense of.
<zenspider>
fieldpeter: samples*2.to_i is the exact same as samples*2
solocshaw has joined #ruby
<zenspider>
you probably want samples.to_i*2
Lee__ has joined #ruby
bmurt_ has quit [Client Quit]
eightlimbs has quit [Ping timeout: 268 seconds]
dviola has quit [Changing host]
dviola has joined #ruby
eightlimbs has joined #ruby
mim1k has joined #ruby
kasisnu_ has quit [Remote host closed the connection]
Lee__ has quit [Ping timeout: 268 seconds]
agent_white has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 260 seconds]
eightlimbs has quit [Ping timeout: 260 seconds]
<fieldpeter>
zenspider: Apologies for the crappy formatting indeed (and crappy code altogether).
<zenspider>
no worries. just take the changes above step by step and understand them
nacsurte has joined #ruby
<fieldpeter>
thx I get your changes for the Binary string construction
<zenspider>
cool
nacsurte has quit [Ping timeout: 240 seconds]
astrobunny has joined #ruby
<fieldpeter>
still same behavior though :(
shortdudey123 has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 268 seconds]
<fieldpeter>
Note that I am working now on a openVPN tunnel between my machine and the windows share, with a crappy latency. But still, when I rdp to a machine on the same subnet (and GB network) than the windows share I have the same error :(
xall has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zenspider>
fieldpeter: did you address the int problems?
<fieldpeter>
zenspider: I did your change aka to_i before times2. but I don;t think it as a 'problem'
<zenspider>
it's a problem if you inadvertently pass floats to an arg expecting ints and they aren't the values you think they are
<zenspider>
it might not be your current problem, but it's a problem
ketan has joined #ruby
boombox_ has quit [Remote host closed the connection]
<zenspider>
fieldpeter: that's called "cargo culting". you don't understand the problem so you're flailing for anything that _might_ work without understanding the solutions either.
ascarter has joined #ruby
<zenspider>
you made that string (myBinary)... you alone should know if it needs to be strip'ed or chomp'ed
ketan has quit [Ping timeout: 240 seconds]
cgfbee has quit [Remote host closed the connection]
<zenspider>
it could be that (for whatever reason) the network mounts don't like / convert forward slashes...
<zenspider>
I'd make a 3 line script on the side that just takes your fully built string and tries to read it. or even see if File.exist? on the path
<zenspider>
bypass all your other BS and isolate the problem
<fieldpeter>
zenspider: File.exist? sounds good thx a lot
shortdudey123 has joined #ruby
hutch34 has joined #ruby
JoshS has joined #ruby
solocshaw has quit [Ping timeout: 246 seconds]
ascarter has quit [Read error: Connection reset by peer]
pizzapy has joined #ruby
Bhootrk_ has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
uZiel has joined #ruby
cgfbee has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ascarter has joined #ruby
ignarps has quit [Ping timeout: 246 seconds]
ascarter has quit [Client Quit]
Bock has joined #ruby
ignarps has joined #ruby
kobain has quit [Read error: Connection reset by peer]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MarkBilk_ has joined #ruby
ketan has quit [Ping timeout: 246 seconds]
sysvalve has joined #ruby
MarkBilk__ has quit [Ping timeout: 258 seconds]
milardovich has joined #ruby
tenderlo_ has joined #ruby
nhhc has joined #ruby
jamesaxl has joined #ruby
TomyWork has joined #ruby
antgel has joined #ruby
ohjn__ has quit [Read error: Connection reset by peer]
[ohjn] has joined #ruby
hutch34 has joined #ruby
nobitanobi has joined #ruby
djbkd has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
tvl has joined #ruby
tvl is now known as tobiasvl
biberu has joined #ruby
[ohjn] has quit [Read error: Connection reset by peer]
[ohjn] has joined #ruby
vondruch_ is now known as vondruch
guardian has quit [Ping timeout: 240 seconds]
jaruga_________ has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
guardian has joined #ruby
patarr has joined #ruby
yeticry_ has quit [Ping timeout: 240 seconds]
snowcrshd has joined #ruby
yeticry has joined #ruby
ryzokuken_ has joined #ruby
aswen has joined #ruby
djbkd has quit []
aswen has quit [Client Quit]
duderono_ has joined #ruby
aswen has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
duderonomy has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
snowcrshd has quit [Ping timeout: 260 seconds]
Paradox has quit [Read error: Connection reset by peer]
aufi has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Boyeto has quit [Quit: Leaving]
Burgestrand has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nacsurte has joined #ruby
Mortomes|Work_ has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
Gabemo has quit [Ping timeout: 255 seconds]
Sammichmaker has joined #ruby
nacsurte has quit [Ping timeout: 240 seconds]
Silthias has joined #ruby
Paradox has joined #ruby
bvcosta has joined #ruby
tenderlo_ has quit [Remote host closed the connection]
charliesome has joined #ruby
tenderlove has joined #ruby
nishiki_ is now known as nishiki
tenderlove has quit [Ping timeout: 260 seconds]
roshanavand has quit [Remote host closed the connection]
mim1k has joined #ruby
ur5us has joined #ruby
<fieldpeter>
zenspider: I don't know what exactly - but it is related to the Windows share not letting the binread happen when it takes too long. Trying with different file sizes and different network config versus local, it works for smaller files but start occuring after a certain size point :(.
<dionysus69>
can anyone help me figure out how I could play in real time with this? like instead of generating a wav file, I want to play when I run ruby file.rb
mim1k has quit [Ping timeout: 246 seconds]
kenichi has quit [Ping timeout: 240 seconds]
Beams has joined #ruby
jtd has joined #ruby
edgr has joined #ruby
kenichi has joined #ruby
ewilliam____ has joined #ruby
jphase has quit [Remote host closed the connection]
mim1k has joined #ruby
Beams_ has joined #ruby
dragoonis has joined #ruby
Beams has quit [Ping timeout: 268 seconds]
ndrei has quit [Quit: leaving]
ndrei has joined #ruby
im0nde has joined #ruby
ndrei has quit [Client Quit]
dragoonis has quit [Changing host]
dragoonis has joined #ruby
ndrei has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
marr has joined #ruby
drptbl has joined #ruby
xall has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
ferr has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
bast has quit [Ping timeout: 246 seconds]
bast has joined #ruby
bast has quit [Changing host]
bast has joined #ruby
RazorX has quit [Ping timeout: 255 seconds]
RazorX has joined #ruby
xerx has quit [Ping timeout: 260 seconds]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
bvcosta has quit [Remote host closed the connection]
nacsurte has joined #ruby
bvcosta has joined #ruby
tau has quit [Quit: cd /bed]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
milardovich has quit [Ping timeout: 276 seconds]
snowcrshd has joined #ruby
nacsurte has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
bvcosta has quit [Ping timeout: 268 seconds]
Pumukel has quit [Ping timeout: 255 seconds]
xerx has joined #ruby
lizard2010 has joined #ruby
lizard2010 has quit [Client Quit]
jenrzzz has quit [Ping timeout: 258 seconds]
ketan has joined #ruby
mathys has joined #ruby
Hunter1 has quit [Remote host closed the connection]
Hunter1 has joined #ruby
ketan has quit [Ping timeout: 260 seconds]
Dimik has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
mathys has quit [Quit: Leaving]
bvcosta has joined #ruby
_joes____ has quit [Quit: Connection closed for inactivity]
nhhc has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
psychicist__ has joined #ruby
hutch34 has joined #ruby
jaruga_________ has quit [Quit: jaruga_________]
hutch34 has quit [Ping timeout: 240 seconds]
zapata has quit [Quit: WeeChat 1.8]
olspookishmagus has quit [Quit: All for nothing]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patarr has joined #ruby
charliesome has joined #ruby
ndrst has quit [Remote host closed the connection]
ndrst has joined #ruby
mathys has joined #ruby
ndrst is now known as Guest53600
Guest53600 is now known as ndrst_
patarr has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Remote host closed the connection]
TomyWork has quit [Remote host closed the connection]
nacsurte has joined #ruby
ogotai_ is now known as ogotai
mathys has quit [Quit: Leaving]
nacsurte has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 240 seconds]
snowcrshd has quit [Remote host closed the connection]
ryzokuken__ has joined #ruby
zapata has joined #ruby
ryzokuken_ has quit [Ping timeout: 260 seconds]
olspookishmagus has joined #ruby
tau has joined #ruby
zapata has quit [Quit: WeeChat 1.8]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
ryzokuken__ has quit [Remote host closed the connection]
jameser has quit [Client Quit]
ryzokuken__ has joined #ruby
ndrst_ is now known as ndrst
ndrst has quit [Changing host]
ndrst has joined #ruby
postmodern_ has quit [Quit: Leaving]
anisha has quit [Ping timeout: 260 seconds]
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ketan has joined #ruby
roshanavand has joined #ruby
sonOfRa has quit [Ping timeout: 255 seconds]
anisha has joined #ruby
futilegames has joined #ruby
futilegames has left #ruby [#ruby]
zapata has joined #ruby
sonOfRa has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
cschneid_ has joined #ruby
GodFather has joined #ruby
milardovich has joined #ruby
mim1k has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
nadir has quit [Quit: Connection closed for inactivity]
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
hightower2 has joined #ruby
ryzokuken_ has joined #ruby
ketan has quit [Remote host closed the connection]
ketan has joined #ruby
ryzokuken__ has quit [Ping timeout: 260 seconds]
patarr has joined #ruby
Pumukel has joined #ruby
ketan has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
Pumukel has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 240 seconds]
tau has left #ruby [#ruby]
Kug3lis has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
swemoney has joined #ruby
<darix>
dionysus69: gstreamer maybe?
mim1k has quit [Read error: Connection reset by peer]
<swemoney>
Can anyone help me find a ruby way of taking an array like ["key_name_1", "val_1", "key_name_2", "val_2", "key_name_3", "val_3"] and turning it into a hash?
<swemoney>
Perfect! I knew there had to be a bunch of ways. Thanks!
nacsurte has joined #ruby
mim1k has joined #ruby
<dminuoso>
tobiasvl: what's that flatten doing there?
<dminuoso>
ljarvis: Please apply your club to tobiasvl's forehead.
<tobiasvl>
I CAN TAKE IT
* ljarvis
smash
nacsurte has quit [Ping timeout: 260 seconds]
roshanavand has quit [Quit: roshanavand]
<ljarvis>
Hash[*x] is prolly much faster though
milardovich has quit []
<ljarvis>
ruby[bot] needs some sort of benchmarking feature. bm `foo` `bar`
heliumk has joined #ruby
<dminuoso>
ljarvis: idk whether ruby likes passing a gajillion parameters to a method
<ljarvis>
hmm true
milardovich has joined #ruby
<ljarvis>
so, maybe faster depending on the size of the input. That's boring
bvcosta has quit [Remote host closed the connection]
heliumk has quit [Client Quit]
r3zn0v has joined #ruby
ur5us has quit [Remote host closed the connection]
Kug3lis has quit [Ping timeout: 240 seconds]
sondr3_ has joined #ruby
sondr3 has quit [Ping timeout: 255 seconds]
roshanavand has joined #ruby
sondr3 has joined #ruby
milardovich has quit [Remote host closed the connection]
sondr3_ has quit [Ping timeout: 240 seconds]
bmurt_ has joined #ruby
milardovich has joined #ruby
ur5us has joined #ruby
mim1k has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
bmurt_ has quit [Ping timeout: 268 seconds]
ur5us has quit [Ping timeout: 260 seconds]
Kug3lis has joined #ruby
umaaji has quit [Quit: Leaving...]
r3zn0v has quit [Ping timeout: 240 seconds]
cfec0b8d has quit [Quit: Leaving]
mikecmpbll has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
bvcosta has joined #ruby
Kug3lis has quit [Read error: No route to host]
roshanavand has quit [Quit: roshanavand]
sondr3_ has joined #ruby
hutch34 has joined #ruby
sondr3 has quit [Ping timeout: 255 seconds]
swemoney has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has joined #ruby
Guest70041 is now known as Sp4rKy
Sp4rKy has quit [Changing host]
Sp4rKy has joined #ruby
snowcrshd has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
<slima_>
Hello I need puts some data to the variable and compare it with a File but I can't define variable 'tmp' and puts data to it. tmp.puts <<-EOF foo bar EOF ; undefined local variable or method `tmp' How to define 'tmp'?
<ineb1>
puts is not used to assign something to a variable
<ineb1>
puts is only for program output
volix_ is now known as volix
volix has quit [Changing host]
volix has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has joined #ruby
<slima_>
oh, so tmp = <<-EOF is right direction?
slima_ is now known as slima
slima has quit [Changing host]
slima has joined #ruby
<dminuoso>
slima: Yes.
Fernando-Basso has joined #ruby
<dminuoso>
slima: The <<- is part of the heredoc syntax.
sepp2k has joined #ruby
stephenh has quit [Ping timeout: 240 seconds]
stephenh has joined #ruby
xall has quit [Ping timeout: 246 seconds]
nobitanobi has joined #ruby
bvcosta has quit [Remote host closed the connection]
bvcosta has joined #ruby
nobitanobi has quit [Ping timeout: 260 seconds]
bvcosta has quit [Ping timeout: 240 seconds]
nacsurte has joined #ruby
moei has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
fxa90id has joined #ruby
fxa90id has joined #ruby
fxa90id has quit [Changing host]
ocn has joined #ruby
mim1k has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nacsurte has quit [Ping timeout: 260 seconds]
Kug3lis has joined #ruby
astrobunny has quit [Ping timeout: 255 seconds]
roshanavand has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
ocn has left #ruby [#ruby]
ldnunes has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
VladGh has quit [Remote host closed the connection]
VladGh has joined #ruby
TvL2386_ is now known as TvL2386
ketan has joined #ruby
mim1k has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
zapata has quit [Ping timeout: 246 seconds]
nobitanobi has joined #ruby
Mortomes|Work_ has quit [Ping timeout: 260 seconds]
ketan has quit [Remote host closed the connection]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ketan has joined #ruby
bvcosta has joined #ruby
ketan has quit [Remote host closed the connection]
ketan has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
bvcosta has quit [Ping timeout: 259 seconds]
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
roshanavand has quit [Quit: roshanavand]
Hunter1 has quit []
xall has joined #ruby
ketan has quit [Remote host closed the connection]
ketan has joined #ruby
xall has quit [Client Quit]
ketan has quit [Remote host closed the connection]
ketan has joined #ruby
psychicist__ has quit [Quit: Lost terminal]
belmoussaoui has joined #ruby
auzty has quit [Quit: Leaving]
jottr_ has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
ascarter has joined #ruby
dropsh0t has joined #ruby
cyphase has quit [Ping timeout: 258 seconds]
hogetaro has quit [Quit: Leaving...]
ketan has quit [Remote host closed the connection]
ketan has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
Kug3lis has joined #ruby
cyphase has joined #ruby
simmaniac has joined #ruby
sysvalve has quit [Ping timeout: 246 seconds]
synthroid has joined #ruby
jaruga_________ has joined #ruby
nacsurte has joined #ruby
ascarter_ has joined #ruby
ascarter has quit [Ping timeout: 246 seconds]
_joes_____ has joined #ruby
nacsurte has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
jottr_ has quit [Quit: WeeChat 1.8]
ltem has joined #ruby
Burgestrand has quit [Quit: Closing time!]
ryzokuken_ has quit [Read error: Connection reset by peer]
Burgestrand has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
hutch34 has joined #ruby
mim1k has joined #ruby
cadillac__ has joined #ruby
ben_ has joined #ruby
ben_ is now known as Guest47278
ur5us has joined #ruby
Mon_Ouie has joined #ruby
ryzokuken_ has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xRob_ has quit [Remote host closed the connection]
jphase has joined #ruby
bvcosta has joined #ruby
Exagone313 has quit [Quit: see ya!]
al2o3-cr has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
ben__ has quit [Ping timeout: 255 seconds]
cadillac__ is now known as cadillac_
ur5us has quit [Ping timeout: 268 seconds]
bvcosta has quit [Ping timeout: 255 seconds]
Beams_ has quit [Ping timeout: 258 seconds]
Raboo has quit [Ping timeout: 276 seconds]
Raboo has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Kug3lis has joined #ruby
bvcosta has joined #ruby
swills has joined #ruby
Beams has joined #ruby
Burgestrand has quit [Quit: Closing time!]
jphase has quit [Ping timeout: 276 seconds]
jphase has joined #ruby
mniip has quit [Quit: This page is intentionally left blank.]
Burgestrand has joined #ruby
jrafanie has joined #ruby
ascarter_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cadillac_ has quit [Remote host closed the connection]
cadillac_ has joined #ruby
Guest10318 is now known as silverdust
silverdust has quit [Changing host]
silverdust has joined #ruby
Cork has quit [Ping timeout: 260 seconds]
mathys has joined #ruby
sagax has quit [Ping timeout: 260 seconds]
Burgestrand has quit [Quit: Closing time!]
DLSteve has joined #ruby
Burgestrand has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
snowcrshd has quit [Remote host closed the connection]
snowcrshd has joined #ruby
cadillac__ has joined #ruby
ta_ has joined #ruby
Cork has joined #ruby
user has quit [Ping timeout: 255 seconds]
snowcrshd has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Closing time!]
cadillac_ has quit [Ping timeout: 258 seconds]
Burgestrand has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
synthroi_ has joined #ruby
nanoz has joined #ruby
oleo has joined #ruby
Pumukel has joined #ruby
AgentVenom has joined #ruby
synthroid has quit [Ping timeout: 246 seconds]
cdg has joined #ruby
nacsurte has joined #ruby
Vingador has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
Burgestrand has quit [Quit: Closing time!]
snowcrshd has joined #ruby
Burgestrand has joined #ruby
nacsurte has quit [Ping timeout: 268 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
omab has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cadillac__ has quit [Ping timeout: 240 seconds]
__Yiota has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
Burgestrand has quit [Quit: Closing time!]
Lyfe_ is now known as Lyfe
Burgestrand has joined #ruby
P1ro has joined #ruby
xRob_ has joined #ruby
<xRob_>
Hello, I'm new to programming.
<xRob_>
Does Ruby only work in Japan?
<tobiasvl>
no
<xRob_>
kk, and do you recommend 'The Well-Grounded Rubyist?'
<dropsh0t>
xRob_, lol
mim1k has quit [Ping timeout: 268 seconds]
pecpec has joined #ruby
Serpent7776 has joined #ruby
<dminuoso>
xRob_: It's a good book.
<dminuoso>
xRob_: It's well received, widely recommended.
<xRob_>
dminuoso: Cool, let's do it then.
im0nde has quit [Quit: im0nde]
Burgestrand has quit [Quit: Closing time!]
KeyJoo has joined #ruby
Burgestrand has joined #ruby
ryzokuken_ has quit [Quit: Leaving]
Freijo has quit [Ping timeout: 240 seconds]
cdg has quit [Remote host closed the connection]
ryzokuken has joined #ruby
ryzokuken has quit [Max SendQ exceeded]
ryzokuken has joined #ruby
Fraeon has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has quit [Read error: Connection reset by peer]
cadillac__ has joined #ruby
snowcrsh_ has joined #ruby
omab has quit [Ping timeout: 255 seconds]
Burgestrand has quit [Quit: Closing time!]
GodFather has joined #ruby
jphase is now known as jphase2
aswen has quit [Quit: WeeChat 1.6]
Burgestrand has joined #ruby
jphase2 has left #ruby [#ruby]
snowcrshd has quit [Ping timeout: 260 seconds]
snowcrsh_ has quit [Remote host closed the connection]
hobodave has joined #ruby
<xRob_>
is Ruby 2.1.0 too outdated? Apparently "The current stable version is 2.4.1"
<dminuoso>
xRob_: Yes.
kobain has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jordanm has quit [Quit: Konversation terminated!]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xRob_>
dropsh0t: Cool. I've upgraded my computer accordingly, but the book I'm reading is 2.1.0
<elomatreb>
The changes aren't that major, although I think 2.2 did some stuff with keyword arguments and e.g. 2.4 deprecated the different Integer constants
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dropsh0t>
The book should still be fine.
igniting has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
<xRob_>
elomatreb: "deprecated the different Integer constants" means what exactly? How big of an integer can I store?
ResidentBiscuit has joined #ruby
<elomatreb>
Nothing in the behavior changed, it's just that Ruby doesn't differentiate between Fixnum (regular machine integers) and Bignums anymore
<elomatreb>
You can still store pretty much anything
xzhao has quit [Remote host closed the connection]
Burgestrand has quit [Quit: Closing time!]
nacsurte has quit [Ping timeout: 240 seconds]
<xRob_>
Okay, I'm assuming Fixnum was stored as bits and Bignum was an instance of a class?
Burgestrand has joined #ruby
<elomatreb>
Both are instances of a class, it's an implementation thing. Ruby automatically created software-handled big integers when a regular integer would overflow
<xRob_>
I just started programming btw guys, but I'm an engineer (believe it or not) so I'm pretty hip to it, I guess
<xRob_>
elomatreb: ahh kk
<elomatreb>
And since it's an implementation thing and varied between platforms and completely transparent to the programmer the two classes were unified into Integer in 2.4
__Yiota has quit [Ping timeout: 246 seconds]
rippa has joined #ruby
milardovich has quit [Remote host closed the connection]
ta_ has joined #ruby
<xRob_>
Reasonable.
enterprisey has joined #ruby
milardovich has joined #ruby
patarr has joined #ruby
cam27 has quit [Quit: cam27]
railswebdev has joined #ruby
jrafanie has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
xzhao has joined #ruby
cdg has joined #ruby
cschneid_ has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
ur5us has joined #ruby
synthroi_ has quit [Remote host closed the connection]
dionysus69 has quit [Remote host closed the connection]
synthroi_ has quit [Remote host closed the connection]
synthroid has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
cagmz has joined #ruby
dionysus69 has joined #ruby
amclain has joined #ruby
<Chef3000>
I'm trying to clean my /etc/yum.repos.d folder. It should only have my rhl7.repo or rel7.repo file. If the redhat.repo file is there it should be deleted. I am using FileUtils.rm(Dir.glob('/etc/yum.repos.d/[^(oel|rhl)]*')) sometimes it works and sometimes I just get => [] back
<Chef3000>
How can I troubleshoot why I get -> [] back when /etc/yum.repos.d has redhat.repo and rhl7.repo in it?
pecpec has quit [Ping timeout: 246 seconds]
<Chef3000>
using ruby 2.4.1p111
nacsurte has joined #ruby
synthroid has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
<manveru>
Chef3000: i don't think that's a valid glob man
<Mrgoose>
Anyone know how to convert an ip string to bytes in ruby?
jaruga_________ has quit [Quit: jaruga_________]
<manveru>
and [^(oel|rhl)] means find any characters that are not one of "()|oelrhl"
<manveru>
(if it was regex)
marxarelli has joined #ruby
<Chef3000>
actually it does https://ruby-doc.org/core-1.9.3/Dir.html [set] Matches any one character in set. Behaves exactly like character sets in Regexp, including set negation ([^a-z]).
<eam>
Mrgoose: not sure if there's an easy method, but pack() will give you network byte ordering once you convert it to an integer
<manveru>
you want something more like Dir['/etc/yum.repos.d/*'] - Dir['/etc/yum.repos.d/{oel,rhl}*']
nitric has joined #ruby
<manveru>
Chef3000: Dir.glob does not take regular expressions, it uses glob syntax
Renich_ has quit [Remote host closed the connection]
omab has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
<Mrgoose>
yea that gives me a byte array. Basically what im trying to do is use grpc in ruby to send bytes . When i do `.bytes` the grpc errors with `Invalid type Array to assign to submessage field.`
hobodave has quit [Quit: Computer has gone to sleep.]
<havenwood>
Mrgoose: I don't quite follow.
zautomata has quit [Ping timeout: 240 seconds]
ocn has joined #ruby
ocn has left #ruby [#ruby]
cam27 has joined #ruby
JoshS has quit [Ping timeout: 260 seconds]
hobodave has joined #ruby
selu has joined #ruby
<eam>
Mrgoose: what's the difference between bytes and a byte string?
bkxd has joined #ruby
bkxd_ has joined #ruby
kies has joined #ruby
<Mrgoose>
not sure, but google protobufs doesn't seem to like it hmm
Renich has joined #ruby
dragoonis has quit [Quit: This computer has gone to sleep]
theunraveler has joined #ruby
<eam>
you ought to be able to convert between String and Array easily
selu has quit [Client Quit]
<Mrgoose>
yea, i can convert it to byte array but it doesn't like that either
<Mrgoose>
`Invalid type Array to assign to submessage field.`
<eam>
it sounds like it doesn't want an array
<eam>
and it sounds like you've passed it an array in both cases
nowhere_man has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marlinc has joined #ruby
zautomata has joined #ruby
nobitanobi has quit [Remote host closed the connection]
machinewar has joined #ruby
hahuang65 has joined #ruby
__Yiota has joined #ruby
matugm has joined #ruby
bkxd_ has quit [Ping timeout: 255 seconds]
bkxd has quit [Ping timeout: 255 seconds]
joonty has joined #ruby
joonty has quit [Remote host closed the connection]
dviola has joined #ruby
snowcrshd has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
dragoonis has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
GodFather has quit [Ping timeout: 260 seconds]
ferr has quit [Quit: WeeChat 1.8]
kobain has quit [Ping timeout: 255 seconds]
duderonomy has joined #ruby
Eiam has joined #ruby
belmoussaoui has quit [Ping timeout: 258 seconds]
dennisvennink has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Danny_ has joined #ruby
ascarter has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
antgel has quit [Ping timeout: 246 seconds]
aagdbl has quit [Quit: This computer has gone to sleep]
Danny_ has quit [Remote host closed the connection]
zautomata has quit [Ping timeout: 255 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has joined #ruby
Gabemo has joined #ruby
gusrub has quit [Remote host closed the connection]
<dennisvennink>
Is it possible to embed rake as a library?
dragoonis has quit [Quit: Leaving]
Danny_ has joined #ruby
<apeiros>
dennisvennink: what do you mean by that?
ascarter has joined #ruby
<dennisvennink>
apeiros: Using the rake API in an app without the use of a Rakefile.
<apeiros>
that should certainly be possible
shinnya has quit [Ping timeout: 240 seconds]
dh64 has quit [Quit: Konversation terminated!]
zautomata has joined #ruby
bvcosta has quit [Remote host closed the connection]
bvcosta has joined #ruby
chrisgopher has joined #ruby
swills has quit [Quit: Leaving]
uZiel has joined #ruby
ruby725 has joined #ruby
<ruby725>
hey hey awesome people
<apeiros>
hi ruby725
<chrisgopher>
o/
<ruby725>
Can anyone in here help out a ruby newb?
<apeiros>
ruby725: maybe?
centrx has joined #ruby
<ruby725>
I need help with carrierwave
<apeiros>
that's probably more a problem for over in #rubyonrails
<ruby725>
copy that
<apeiros>
but don't make them pull your problem out of your nose either. it's a bit annoying tbh.
<apeiros>
just go in, say hello, state your problem. that'll be fine for most people :)
ruby725 has quit [Client Quit]
cschneid_ has quit [Remote host closed the connection]
zautomata1 has joined #ruby
bvcosta has quit [Remote host closed the connection]
bvcosta has joined #ruby
sepp2k has quit [Ping timeout: 260 seconds]
Bock has quit [Ping timeout: 260 seconds]
zautomata has quit [Ping timeout: 255 seconds]
mikecmpbll has joined #ruby
cfec0b8d has joined #ruby
benlieb has quit [Remote host closed the connection]
benlieb has joined #ruby
bvcosta has quit [Ping timeout: 255 seconds]
watersoul_ has quit [Read error: Connection reset by peer]
watersoul has joined #ruby
chrisgopher has quit []
<patarr>
Is there a way to marshal a FFI pointer object?
gusrub has joined #ruby
<apeiros>
that makes no sense?
<apeiros>
a pointer is a memory address, which will be useless in another process (which is *usually* what marshal is there for)
benlieb has left #ruby [#ruby]
zautomata1 has quit [Ping timeout: 255 seconds]
gusrub has quit [Remote host closed the connection]
cam27 has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
<patarr>
That's what I was thinking as well, but I was hoping the pointer would be dereferenced
<patarr>
But you would need to know the size and type of what its pointing to, which doesnt seem to be in an FFI pointer...
enterprisey has quit [Remote host closed the connection]
cam27 has joined #ruby
antgel has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brent__ has joined #ruby
ketan has joined #ruby
gusrub has joined #ruby
lagweezle_away is now known as lagweezle
xRob_ has quit []
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eam>
apeiros: I worked on a product once which passed function pointers over the network to peers -- it depended on running the exact same binary on all nodes and deterministic linking and loading
<eam>
so, you know, it can be done
mrconfused has joined #ruby
Silthias1 has joined #ruby
<patarr>
Sounds like something that would break with ASLR
<eam>
indeed
<apeiros>
eam: sure. but you need to account for quite a lot.
<eam>
also, it didn't need marshalling ;)
<patarr>
I think we can all agree that pretty much everything is _possible_, but perhaps not practical.
<eam>
I mean, it was practical I suppose. We're talking about a big production service
<patarr>
The best serialization format there is! Send the bits down the byte, read the bits into a buffer, and cast it! Doesn't get much faster than that :D
<eam>
ran for maybe a decade
Silthias has quit [Ping timeout: 258 seconds]
<eam>
when x86_64 came about folks added a lookup table
<eam>
patarr: yeah this was absolutely a case of over the top optimization
mim1k has joined #ruby
<eam>
save the cost of indirection
ketan has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
Morrolan has quit [Quit: Goodbye]
milardovich has joined #ruby
Morrolan has joined #ruby
gusrub has quit []
moneylotion has joined #ruby
gusrub has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
jamesaxl has quit [Ping timeout: 255 seconds]
jamesaxl has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Ping timeout: 255 seconds]
brent__ has quit [Ping timeout: 255 seconds]
mtkd has quit [Ping timeout: 258 seconds]
milardovich has quit [Remote host closed the connection]
ascarter has joined #ruby
milardovich has joined #ruby
mtkd has joined #ruby
Silthias has joined #ruby
Silthias1 has quit [Ping timeout: 260 seconds]
ForeignBiscuit has joined #ruby
cschneid_ has joined #ruby
hobodave has joined #ruby
milardov_ has joined #ruby
SeepingN has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
mrconfused has quit [Ping timeout: 258 seconds]
ResidentBiscuit has quit [Ping timeout: 255 seconds]
cam27 has quit [Read error: Connection reset by peer]
uZiel has quit [Ping timeout: 248 seconds]
mrconfused has joined #ruby
cam27 has joined #ruby
__Yiota has joined #ruby
tweezer has joined #ruby
antgel has quit [Ping timeout: 268 seconds]
tweezer has quit [Client Quit]
ghoti_ is now known as ghoti
cadillac__ has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
milardov_ has quit [Remote host closed the connection]
milardovich has joined #ruby
hobodave has joined #ruby
planigan_ is now known as planigan
kobain has joined #ruby
dionysus70 has joined #ruby
Danny_ has quit [Remote host closed the connection]
dh64 has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
tycoon177 has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
dionysus70 is now known as dionysus69
s1kx has quit [Quit: s1kx]
<tycoon177>
is anyone here familiar with rubycas-server? i am having an issue when it redirects me. it mangles any query strings that are present and causes my application to 404 upon redirect/sign-in
cfec0b8d has quit [Remote host closed the connection]
mrconfused has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
mrconfused has joined #ruby
gusrub has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ineb1 has quit [Quit: WeeChat 1.8]
eightlimbed has joined #ruby
hxegon has joined #ruby
milardovich has joined #ruby
__Yiota has joined #ruby
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Remote host closed the connection]
ForeignBiscuit is now known as ResidentBiscuit
milardovich has joined #ruby
Papierkorb has joined #ruby
GodFather has joined #ruby
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
milardov_ has joined #ruby
dviola has quit [Quit: WeeChat 1.8]
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
karlding_ is now known as karlding
dviola has joined #ruby
Cohedrin_ has joined #ruby
hxegon has quit [Ping timeout: 260 seconds]
hxegon has joined #ruby
biberu has quit []
milardov_ has quit [Remote host closed the connection]
milardovich has joined #ruby
centrx has quit []
ur5us has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 268 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
Danny_ has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 260 seconds]
shinnya has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
__Yiota has joined #ruby
marr has joined #ruby
Uranio has joined #ruby
brent__ has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.8]
im0nde has joined #ruby
Uranio has left #ruby [#ruby]
cam27 has quit [Read error: Connection reset by peer]
cam27 has joined #ruby
hxegon has quit [Ping timeout: 240 seconds]
Guest99499 has quit [Changing host]
Guest99499 has joined #ruby
Guest99499 has joined #ruby
Guest99499 is now known as pskosinski
marxarelli is now known as marxarelli|afk
xall has joined #ruby
muelleme_ has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
MrBusiness has joined #ruby
lxsameer has joined #ruby
zenguy_pc has quit [Ping timeout: 246 seconds]
xall has quit [Quit: xall]
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
zenguy_pc has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
arup_r has joined #ruby
dviola has quit [Quit: WeeChat 1.8]
ResidentBiscuit has quit [Ping timeout: 240 seconds]