<adam12>
Na_Klar: merges stdout and stderr vs keeping them separate.
<adam12>
err
<adam12>
popen2 is stdin/stdout, popen3 is stdin, stdout, stderr
<adam12>
popen2e is stdout+stderr,stdin.
<Na_Klar>
ahh, okay then. my fault.
phenom has joined #ruby
<Na_Klar>
(don't see why you'd want to merge in/out though xD)
drusepth has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
bonhoeffer has joined #ruby
ChmEarl has quit [Quit: Leaving]
jetchisel has joined #ruby
phenom has quit [Quit: See ya! Wouldn't want to blah blah..]
phenom has joined #ruby
phenom has quit [Client Quit]
jenrzzz has joined #ruby
phenom has joined #ruby
roshanavand has quit [Ping timeout: 252 seconds]
Na_Klar has quit [Quit: Leaving.]
dpl has joined #ruby
explorie1 has quit [Ping timeout: 252 seconds]
TCZ has quit [Quit: oh eh ah]
MalkbabY has joined #ruby
MalkbabY_ has quit [Ping timeout: 265 seconds]
Rounin has quit [Ping timeout: 240 seconds]
explorier has joined #ruby
gix has quit [Ping timeout: 252 seconds]
tim_ has joined #ruby
bonhoeffer has quit [Ping timeout: 268 seconds]
alexherbo26 has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo26 is now known as alexherbo2
jenrzzz has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 252 seconds]
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
dpl has quit [Ping timeout: 268 seconds]
cow[moo] has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
alexherbo2 has joined #ruby
explorier has quit [Ping timeout: 240 seconds]
tim_ has quit [Ping timeout: 265 seconds]
explorier has joined #ruby
Technodrome has joined #ruby
explorier has quit [Ping timeout: 252 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
baojg has quit [Remote host closed the connection]
coniptor has joined #ruby
baojg has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
explorier has joined #ruby
explorier has quit [Ping timeout: 268 seconds]
robotbee has quit [Ping timeout: 252 seconds]
explorier has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
explorier has quit [Ping timeout: 246 seconds]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
drusepth has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
robotbee has joined #ruby
patr0clus has quit [Ping timeout: 240 seconds]
robotbee has quit [Ping timeout: 246 seconds]
drusepth has quit [Ping timeout: 252 seconds]
baojg has quit [Remote host closed the connection]
jetchisel has quit [Ping timeout: 258 seconds]
baojg has joined #ruby
jetchisel has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cuerbot has joined #ruby
Technodrome has joined #ruby
elcuervo has quit [Ping timeout: 252 seconds]
jetchisel has quit [Ping timeout: 268 seconds]
m27frogy has quit [Ping timeout: 265 seconds]
jetchisel has joined #ruby
drusepth has joined #ruby
mwlang has quit [Ping timeout: 246 seconds]
mwlang has joined #ruby
howdoi has joined #ruby
Vaevictus has joined #ruby
jetchisel has quit [Ping timeout: 240 seconds]
robotbee has joined #ruby
Vaevictu1 has quit [Ping timeout: 268 seconds]
Furai has quit [Quit: WeeChat 3.1]
Furai has joined #ruby
MalkbabY_ has joined #ruby
MalkbabY has quit [Ping timeout: 252 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deimos_ has quit [Quit: leaving]
cd has quit [Quit: cd]
CrazyEddy has quit [Ping timeout: 252 seconds]
explorier has joined #ruby
blackmesa1 has joined #ruby
blackmesa1 has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
deimos_ has joined #ruby
CrazyEddy has joined #ruby
ur5us_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
dinfuehr_ has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
explorier has quit [Ping timeout: 246 seconds]
nofxx_ has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
nofxx__ has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ruby
jenrzzz has joined #ruby
jla has joined #ruby
dinfuehr has quit [Ping timeout: 252 seconds]
dinfuehr has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Technodrome has joined #ruby
drusepth has quit [Ping timeout: 240 seconds]
explorier has joined #ruby
neshpion has quit [Quit: neshpion]
dinfuehr has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ruby
coniptor has quit [Ping timeout: 246 seconds]
robotbee has quit [Ping timeout: 252 seconds]
explorie1 has joined #ruby
explorier has quit [Ping timeout: 240 seconds]
pwnd_ has quit [Quit: Ping timeout (120 seconds)]
pwnd_ has joined #ruby
jla has quit [Ping timeout: 246 seconds]
cliluw has quit [Ping timeout: 265 seconds]
jonathan_ has joined #ruby
jonathanclarke has joined #ruby
vondruch has joined #ruby
jonathan_ is now known as jonathanclarkekt
jonathanclarke has quit [Client Quit]
jonathanclarkekt has quit [Client Quit]
jonathan_ has joined #ruby
jonathan_ is now known as jonathanclarkekt
cliluw has joined #ruby
mwlang has quit [Quit: mwlang]
teclator has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wallacer has quit [Ping timeout: 250 seconds]
Rounin has joined #ruby
xMopx has quit [Ping timeout: 245 seconds]
andremedeiros has quit [Read error: Connection reset by peer]
andremedeiros has joined #ruby
wallacer has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
jenrzzz has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
dpl has joined #ruby
jla has joined #ruby
CrazyEddy has quit [Ping timeout: 260 seconds]
wallacer has quit [Ping timeout: 258 seconds]
wallacer has joined #ruby
explorie1 has quit [Ping timeout: 260 seconds]
gearnode has joined #ruby
Rudd0 has quit [Ping timeout: 240 seconds]
_aeris_ has quit [Ping timeout: 265 seconds]
xMopx has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
redhands has quit [Ping timeout: 240 seconds]
Kuukunen has joined #ruby
shtirlic has quit [Ping timeout: 260 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
ur5us_ has joined #ruby
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #ruby
wallacer has quit [Quit: wallace dozed off]
wallacer has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
MalkbabY has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
MalkbabY_ has quit [Ping timeout: 265 seconds]
AndreYuhai has joined #ruby
TrufflePump has quit [Read error: Connection reset by peer]
TrufflePump has joined #ruby
alexherbo2 has joined #ruby
Technodrome has joined #ruby
vondruch has quit [Quit: vondruch]
jla has quit [Ping timeout: 260 seconds]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
vasanth has joined #ruby
jenrzzz has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RougeR has joined #ruby
schwegler[m] has joined #ruby
drusepth has joined #ruby
ur5us_ has quit [Ping timeout: 258 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
phredus has quit [Remote host closed the connection]
jla has joined #ruby
hiroaki_ has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
infernixx has quit [Ping timeout: 260 seconds]
hiroaki_ has joined #ruby
poguez_ has joined #ruby
blackmesa has quit [Quit: WeeChat 3.1]
Rudd0 has joined #ruby
zapata has quit [Ping timeout: 258 seconds]
zapata has joined #ruby
<AndreYuhai>
I am using Rails 6.1.3.1 and inside the create method of my controller I respond to format.js, and my view is create.js.coffee
_aeris_ has joined #ruby
jenrzzz has joined #ruby
<AndreYuhai>
However that doesn't work
<AndreYuhai>
In the logs it says that No template found for LineItemsController#create, rendering head :no_content
<AndreYuhai>
However if I change the view file to be create.js.erb instead then it works
jetchisel has joined #ruby
<AndreYuhai>
Why doesn't the one with coffee extension work?
<AndreYuhai>
Hmm with Rails 6, Rails no longer supports coffee script I guess.
AndreYuhai has quit [Ping timeout: 252 seconds]
vasanth has quit [Ping timeout: 260 seconds]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
AndreYuhai has joined #ruby
vasanth has joined #ruby
xf3rno has joined #ruby
vasanth has quit [Ping timeout: 240 seconds]
StarOnD has joined #ruby
AndreYuhai has quit [Quit: Lost terminal]
m27frogy has joined #ruby
jla has quit [Ping timeout: 240 seconds]
vasanth has joined #ruby
vasanth has quit [Ping timeout: 240 seconds]
xf3rno has quit [Ping timeout: 246 seconds]
xf3rno has joined #ruby
kristian_on_linu has joined #ruby
<xf3rno>
kristian_on_linu: sick name
<kristian_on_linu>
ty
<kristian_on_linu>
I'm saving up money for the final X
jonathanclarkekt has quit [Ping timeout: 240 seconds]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
postmodern has quit [Quit: Leaving]
xf3rno has quit [Ping timeout: 252 seconds]
vasanth has joined #ruby
jla has joined #ruby
<nakilon>
try mac
vasanth has quit [Ping timeout: 265 seconds]
al2o3-cr has joined #ruby
jonathanclarkekt has joined #ruby
xf3rno has joined #ruby
vasanth has joined #ruby
xf3rno has quit [Ping timeout: 240 seconds]
vasanth has quit [Ping timeout: 268 seconds]
vasanth has joined #ruby
DTZUZU has quit [Ping timeout: 252 seconds]
vasanth has quit [Ping timeout: 240 seconds]
infernix has joined #ruby
DTZUZU has joined #ruby
StarOnD has quit [Ping timeout: 240 seconds]
DTZUZU has quit [Ping timeout: 240 seconds]
DTZUZU has joined #ruby
infernix has quit [Read error: Connection reset by peer]
infernixx has joined #ruby
infernixx is now known as infernix
stryek has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZU has quit [Ping timeout: 252 seconds]
DTZUZU has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
DTZUZU_ has joined #ruby
DTZUZU has quit [Ping timeout: 240 seconds]
vasanth has joined #ruby
vasanth has quit [Ping timeout: 265 seconds]
AndreYuhai has joined #ruby
mwlang has joined #ruby
mwlang has quit [Client Quit]
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Quit: WeeChat 3.1]
vondruch has joined #ruby
MalkbabY_ has joined #ruby
MalkbabY has quit [Ping timeout: 268 seconds]
Emmanuel_Chanel has joined #ruby
howdoi has joined #ruby
linoge has joined #ruby
explorier has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
cd has joined #ruby
mozzarella has quit [Remote host closed the connection]
mozzarella has joined #ruby
redhands has joined #ruby
alexherbo2 has joined #ruby
explorier has quit [Ping timeout: 265 seconds]
pwnd_7 has joined #ruby
pwnd_ has quit [Read error: Connection reset by peer]
pwnd_7 is now known as pwnd_
kristian_on_linu has quit [Remote host closed the connection]
akem has joined #ruby
kalib has joined #ruby
<kalib>
Hi everyone... I am facing an issue with my code and I believe it is something wrong with my regex here: service_name = json_or_acl['principal'].match(/CN=([^.]*)/)[1]. -> This is matching Item.LinkCoupons but it's not matching Item.LinkCoupons.Matchup for example. Any clue?
MalkbabY_ is now known as MalkbabY
alexherbo29 has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo29 is now known as alexherbo2
evdubs_ has joined #ruby
evdubs has quit [Ping timeout: 240 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 240 seconds]
Fire-Dragon-DoL has joined #ruby
<rapha>
evening all
<rapha>
what is the "\x" in a string that looks like "\x01\\\x01c\x01Z\x01\xA7"?
Fire-Dragon-DoL- has joined #ruby
<rapha>
or rather, how do you programatically recognize a string as having one of these? because #match /\x/ doesn't do it
Fire-Dragon-DoL has quit [Ping timeout: 260 seconds]
<nakilon>
it has 1 and A7 hex values as bytes in it
<rapha>
hmm
<rapha>
so it's like \u but differetn
<rapha>
how do you unicode-decode something like this? with Encoding::Converter somehow?
Fire-Dragon-DoL- has quit [Ping timeout: 260 seconds]
kalib has quit [Quit: Connection closed]
<rapha>
okay, found out about "\x01\\\x01c\x01Z\x01\xA7".unpack("H*"), but "\x01\\\x01c\x01Z\x01\xA7".unpack("H*").pack("U*") is not how this goes :-(
Fire-Dragon-DoL has joined #ruby
<rapha>
oooh you have to know what the encoding is!
akem has quit [Ping timeout: 240 seconds]
jimms has joined #ruby
Technodrome has joined #ruby
<rapha>
wth
<rapha>
why is "\xBD".to_i == 0? ... 0xBD isn't 0
<rapha>
ah, "\xBD".unpack('H*')[0].to_i(16)
<rapha>
but
<rapha>
that's not exactly a unicode code point
<rapha>
argl
AndreYuhai has quit [Quit: leaving]
<rapha>
ooooooooooh \u is 21 bits and \x is 8 bits only ... so at this point perhaps i don't have a clue how many of those constitute one character?
<rapha>
er, s/21/16/
<rapha>
\x01\xBD == \u01BD doesn't seem to be true either :(
ChmEarl has joined #ruby
<havenwood>
rapha: "\xBD".bytes
<nakilon>
it's because not "\x is \u but different" but the vice versa
<nakilon>
unicode is just too complex
<nakilon>
essentially unicode is about the symbols people would like to see while \x is about the real bytes
Fire-Dragon-DoL has quit [Ping timeout: 260 seconds]
<havenwood>
rapha: unpack1('H*').hex
Fire-Dragon-DoL has joined #ruby
Fire-Dragon-DoL has quit [Ping timeout: 240 seconds]
jla has quit [Ping timeout: 260 seconds]
znz_jp has quit [Remote host closed the connection]
znz_jp has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
Guest48 has joined #ruby
icarus has joined #ruby
<Guest48>
Hi, I currently have an array which I am concatenating like so: myArray.join("\n"). Is there a way to prefix a string to each value of the array?
<Guest48>
however your solution looks more elegant
<havenwood>
Guest48: I like yours, actually. :)
<Guest48>
thanks :D
robotbee has joined #ruby
vondruch has quit [Read error: Connection reset by peer]
explorier has joined #ruby
alexherbo2 has joined #ruby
moldorcoder7 has joined #ruby
moldorcoder7 has quit [Remote host closed the connection]
dpl has quit [Ping timeout: 240 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
moldorcoder7 has joined #ruby
fuzzy_logic has joined #ruby
fuzzy_logic has quit [Read error: Connection reset by peer]
robotbee has quit [Changing host]
robotbee has joined #ruby
fuzzy_logic has joined #ruby
fuzzy_logic has quit [Client Quit]
icarus has quit [Quit: Lost terminal]
alexherbo24 has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo24 is now known as alexherbo2
BTRE has quit [Ping timeout: 240 seconds]
jla has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
BTRE has joined #ruby
gix has joined #ruby
neshpion has joined #ruby
moldorcoder7 has quit [Quit: %bye mirc%]
Guest48 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MalkbabY_ has joined #ruby
explorier has quit [Ping timeout: 246 seconds]
explorier has joined #ruby
jla has quit [Ping timeout: 240 seconds]
MalkbabY has quit [Ping timeout: 252 seconds]
Fire-Dragon-DoL has joined #ruby
explorier has quit [Ping timeout: 240 seconds]
explorier has joined #ruby
Guest48 has joined #ruby
TomyWork has joined #ruby
Guest48 has quit [Client Quit]
explorier has quit [Ping timeout: 265 seconds]
explorier has joined #ruby
Vaevictu1 has joined #ruby
Vaevictus has quit [Ping timeout: 252 seconds]
shtirlic has joined #ruby
postmodern has joined #ruby
explorier has quit [Ping timeout: 240 seconds]
akem has joined #ruby
dpl has joined #ruby
explorier has joined #ruby
TomyWork has quit [Remote host closed the connection]
<rapha>
thank you havenwood!
jimms has quit [Quit: Leaving]
lockweel has joined #ruby
robotbee has quit [Remote host closed the connection]
neshpion has quit [Ping timeout: 240 seconds]
neshpion has joined #ruby
shtirlic has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
legahc has quit [Quit: %bye%]
legahc has joined #ruby
alexherbo20 has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo20 is now known as alexherbo2
reaVer has quit [Remote host closed the connection]
reaVer has joined #ruby
shtirlic has joined #ruby
ur5us_ has joined #ruby
akem has quit [Ping timeout: 240 seconds]
RougeR has quit [Remote host closed the connection]
fandre1986 has joined #ruby
lockweel has quit [Quit: Leaving]
istrasci has joined #ruby
dpl_ has joined #ruby
<istrasci>
Is it not possible to define operators that begin with the '=' sign? I wanted to make an operator like '=:=' for my class.
dpl has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
shtirlic has quit [Ping timeout: 240 seconds]
<drusepth>
istrasci: you can technically define them with define_method and call them from a reference (e.g. op = method("=:=")), but i think you're gonna run into problems with the syntax parser otherwise since = is typically a post-name token