<davidw>
Be curious if the code in my last comment reliably crashes for you guys too
beegrrl has quit [Quit: beegrrl]
beegrrl has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beegrrl has quit [Quit: beegrrl]
entel has joined #ruby
avery has joined #ruby
alfiemax has joined #ruby
avery is now known as beegrrl
brool has quit [Ping timeout: 252 seconds]
nowhereFast has quit [Ping timeout: 240 seconds]
nowhereFast has joined #ruby
nowhereFast has quit [Client Quit]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beegrrl has quit [Remote host closed the connection]
DaRock has quit [Ping timeout: 276 seconds]
imtravis has joined #ruby
Esa_ has quit [Ping timeout: 265 seconds]
imtravis has quit [Ping timeout: 240 seconds]
bambanx has quit [Quit: Leaving]
cd has quit [Quit: cd]
imtravis has joined #ruby
chalkmonster has joined #ruby
vondruch has quit [Remote host closed the connection]
vondruch has joined #ruby
bambanx has joined #ruby
imtravis has quit [Ping timeout: 240 seconds]
dellavg has joined #ruby
imtravis has joined #ruby
roadt_ has quit [Ping timeout: 240 seconds]
roadt_ has joined #ruby
dellavg has quit [Ping timeout: 265 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
jenrzzz has joined #ruby
dionysus69 has joined #ruby
orbyt_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
roadt_ has quit [Ping timeout: 265 seconds]
roadt_ has joined #ruby
roadt_ has quit [Ping timeout: 240 seconds]
roadt_ has joined #ruby
Intelo has quit [Ping timeout: 268 seconds]
Intelo has joined #ruby
jenrzzz has joined #ruby
Jonopoly has joined #ruby
<Jonopoly>
is there any plugins for clean ruby code?
<Jonopoly>
i.e for java i use sonarcube which 'cleans' code to remove some small mistakes
<baweaver>
Rubocoop mostly.
<baweaver>
Brakeman for security on the rails side of things
jenrzzz has quit [Ping timeout: 265 seconds]
<Jonopoly>
alright, thanks
<Jonopoly>
Just using basic ruby atm not rails
<Jonopoly>
got to do two 'small' little projects
suukim has joined #ruby
Technodrome has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RiPuk_ has joined #ruby
RiPuk has quit [Ping timeout: 240 seconds]
schne1der has joined #ruby
jenrzzz has joined #ruby
titanbiscuit has quit [Read error: Connection reset by peer]
titanbiscuit has joined #ruby
ravenousmoose has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
ravenousmoose has quit [Ping timeout: 252 seconds]
schne1der has quit [Ping timeout: 240 seconds]
davidw has quit [Remote host closed the connection]
znz_jp has quit [Remote host closed the connection]
Jonopoly has quit [Quit: WeeChat 2.5]
znz_jp has joined #ruby
evdubs has quit [Quit: Leaving]
Intelo has quit [Ping timeout: 240 seconds]
baojg has joined #ruby
evdubs has joined #ruby
Furai has quit [Quit: WeeChat 2.6]
Furai has joined #ruby
Intelo has joined #ruby
davidw has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
infinityfye has joined #ruby
al2o3-cr has quit [Remote host closed the connection]
gr33n7007h has joined #ruby
Intelo has quit [Ping timeout: 268 seconds]
ravenousmoose has joined #ruby
sauvin has joined #ruby
DaRock has joined #ruby
bambanx has quit [Quit: Leaving]
harai has quit [Quit: harai]
jenrzzz has quit [Ping timeout: 245 seconds]
phaul_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tankf33der>
maybe somebody wants create gem for monocypher ?
quintasan has quit [Quit: quintasan]
quintasan has joined #ruby
quintasan has quit [Changing host]
quintasan has joined #ruby
phaul_ has quit [Ping timeout: 240 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chalkmonster has joined #ruby
jud has quit [Quit: Leaving]
imtravis has quit [Ping timeout: 268 seconds]
Ducky has joined #ruby
Ducky is now known as Navred
davidw has quit [Ping timeout: 276 seconds]
<Navred>
Hello friends !
Intelo has joined #ruby
ta has quit [Quit: WeeChat 2.5]
ta has joined #ruby
schne1der has joined #ruby
<Navred>
Just learnt about TempFile & promises in ruby, quite in love with the simplicity of both of them
mn3m has joined #ruby
guardian has quit [Ping timeout: 276 seconds]
guardian has joined #ruby
<phaul>
promises ?
ravenousmoose has quit [Ping timeout: 252 seconds]
gr33n7007h has quit [Quit: WeeChat 2.6]
Navred has quit [Ping timeout: 246 seconds]
al2o3-cr has joined #ruby
fig-le-deunch has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
sandstrom has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
mozzarella has quit [Ping timeout: 240 seconds]
Mrgoose845701915 has quit [Ping timeout: 265 seconds]
envex has quit []
DaRock has quit [Read error: Connection reset by peer]
ravenousmoose has joined #ruby
ravenousmoose has quit [Client Quit]
DaRock has joined #ruby
bitwinery has quit [Quit: Leaving]
mozzarella has joined #ruby
fig-le-deunch has quit [Quit: Konversation terminated!]
Esa_ has joined #ruby
yann-kaelig has joined #ruby
lineus has quit [Ping timeout: 276 seconds]
GodFather has quit [Ping timeout: 246 seconds]
al2o3-cr has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
queip has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
foxxx0 has quit [Quit: foxxx0]
Ai9zO5AP has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Jonopoly has joined #ruby
foxxx0 has joined #ruby
phaul_ has joined #ruby
infinityfye has quit [Quit: Leaving]
lxsameer has joined #ruby
queip has joined #ruby
Dbugger has joined #ruby
Dbugger has quit [Remote host closed the connection]
fig-le-deunch has joined #ruby
DaRock has quit [Ping timeout: 240 seconds]
Ducky has joined #ruby
Ducky is now known as Navred
imtravis has joined #ruby
fig-le-deunch has quit [Read error: Connection reset by peer]
Navred has quit [Remote host closed the connection]
Ducky has joined #ruby
Ducky is now known as Navred
fig-le-deunch has joined #ruby
infinityfye has joined #ruby
imtravis has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
dionysus69 has joined #ruby
jenrzzz has joined #ruby
fig-le-deunch has quit [Quit: Konversation terminated!]
chalkmonster has joined #ruby
mpp has joined #ruby
<mpp>
hello friends , is there some chef wizard ? ;)
<mpp>
I installed ohai-ec2-tags plugin, and from command line "ohai ec2/tags" gives me json with data
<mpp>
however calling it from chef ends with null
<mpp>
I tried to debug it using puts node['ec2'].inspect and ther is no tags at all
<mpp>
when I used to node['ec2']['tags'].inspec get nothing
<mpp>
pebkac ? or bug
queip has quit [Ping timeout: 240 seconds]
roadt_ has quit [Ping timeout: 246 seconds]
roadt_ has joined #ruby
queip has joined #ruby
dionysus69 has quit [Quit: dionysus69]
alfiemax has quit [Remote host closed the connection]
NL3limin4t0r_afk is now known as NL3limin4t0r
lineus has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
akemhp_ has joined #ruby
akemhp_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
Swyper has quit [Ping timeout: 240 seconds]
akemhp has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
SanguineAnomaly has quit [Ping timeout: 265 seconds]
imtravis has joined #ruby
AJA4350 has joined #ruby
SanguineAnomaly has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul_ has quit [Ping timeout: 252 seconds]
skx86 has quit [Quit: Connection closed for inactivity]
imtravis has quit [Ping timeout: 240 seconds]
imtravis has joined #ruby
jenrzzz has joined #ruby
DaRock has joined #ruby
alfiemax has joined #ruby
phaul_ has joined #ruby
phaul_ has quit [Ping timeout: 240 seconds]
Swyper has joined #ruby
Inline has quit [Quit: Leaving]
alfiemax has quit [Remote host closed the connection]
imtravis has quit [Ping timeout: 250 seconds]
infinityfye has quit [Read error: Connection reset by peer]
Inline has joined #ruby
Swyper has quit [Remote host closed the connection]
infinityfye has joined #ruby
Swyper has joined #ruby
<Swyper>
hi
<Swyper>
how could u justify using an array over a hashmap in ruby
<Swyper>
i pree much messed up and used an array over a hashmap when I shoulden't have and refactoring the code will take a while xdD
phaul_ has joined #ruby
retux has joined #ruby
erfrgrdgt has joined #ruby
<erfrgrdgt>
hi
<retux>
Hi, I'm not very familiar with Ruby but would like to provide a binding for my C/C++ library. I'm creating a Ruby package using CMake/Ruby Gem. Using Docker, I cross compile this package for several platforms and Ruby version. I now want to publish these packages. However, I don't know whether and how Ruby Gems support multi-platform releases (similar to Python's whl package). Does anyone has experience with this kind of releases?
<erfrgrdgt>
Which is better Laravel or Ruby on Rails ?
jenrzzz has quit [Ping timeout: 268 seconds]
GodFather has joined #ruby
<retux>
erfrgrdgt: I guess this depends on your use case and preferences. From my experience, different frameworks have different pros and cons. If you have experience with Ruby, go with Rails. If you prefer PHP, stick to Laravel.
lineus has quit [*.net *.split]
mpp has quit [*.net *.split]
baojg has quit [*.net *.split]
bvdw has quit [*.net *.split]
schne1der has quit [*.net *.split]
titanbiscuit has quit [*.net *.split]
Furai has quit [*.net *.split]
entel has quit [*.net *.split]
brendan- has quit [*.net *.split]
gbristol has quit [*.net *.split]
jweiss has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
paraxial has quit [*.net *.split]
jmcgnh has quit [*.net *.split]
hiroaki has quit [*.net *.split]
tsrt^ has quit [*.net *.split]
axsuul has quit [*.net *.split]
ExoUNX has quit [*.net *.split]
Cyrus has quit [*.net *.split]
mjacob has quit [*.net *.split]
bhaak has quit [*.net *.split]
IGnorAND has quit [*.net *.split]
mkroman has quit [*.net *.split]
dostoyevsky has quit [*.net *.split]
chunkypuffs has quit [*.net *.split]
bougyman has quit [*.net *.split]
tjbp has quit [*.net *.split]
dan64 has quit [*.net *.split]
universa1 has quit [*.net *.split]
spectra has quit [*.net *.split]
Spitfire has quit [*.net *.split]
Caius has quit [*.net *.split]
lucas has quit [*.net *.split]
Skarlso has quit [*.net *.split]
balo has quit [*.net *.split]
JoL1hAHN has quit [*.net *.split]
fmccann has quit [*.net *.split]
afisher has quit [*.net *.split]
megeve has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
lightstalker has quit [*.net *.split]
ccooke has quit [*.net *.split]
m17 has quit [*.net *.split]
jrhorn424 has quit [*.net *.split]
Hobbyboy has quit [*.net *.split]
gorsuch has quit [*.net *.split]
Scient has quit [*.net *.split]
eldritch has quit [*.net *.split]
Caerus has quit [*.net *.split]
snapcase has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
cjohnson has quit [*.net *.split]
RushPL has quit [*.net *.split]
wmoxam has quit [*.net *.split]
agrecascino has quit [*.net *.split]
miah has quit [*.net *.split]
Raboo has quit [*.net *.split]
lypsis has quit [*.net *.split]
Nilium has quit [*.net *.split]
justache has quit [*.net *.split]
linuxdaemon has quit [*.net *.split]
llua has quit [*.net *.split]
jhill has quit [*.net *.split]
lipoqil has quit [*.net *.split]
goez has quit [*.net *.split]
KnownSyntax has quit [*.net *.split]
Argorok has quit [*.net *.split]
mkaito_ has quit [*.net *.split]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
lineus has joined #ruby
Kuukunen has joined #ruby
titanbiscuit has joined #ruby
baojg has joined #ruby
ExoUNX has joined #ruby
hiroaki has joined #ruby
axsuul has joined #ruby
gbristol has joined #ruby
mjacob has joined #ruby
Cyrus has joined #ruby
bhaak has joined #ruby
IGnorAND has joined #ruby
dostoyevsky has joined #ruby
mkroman has joined #ruby
bougyman has joined #ruby
chunkypuffs has joined #ruby
justache has joined #ruby
tjbp has joined #ruby
universa1 has joined #ruby
dan64 has joined #ruby
Spitfire has joined #ruby
spectra has joined #ruby
Skarlso has joined #ruby
Caius has joined #ruby
balo has joined #ruby
lucas has joined #ruby
fmccann has joined #ruby
JoL1hAHN has joined #ruby
megeve has joined #ruby
afisher has joined #ruby
gorsuch has joined #ruby
jrhorn424 has joined #ruby
m17 has joined #ruby
Scient has joined #ruby
Hobbyboy has joined #ruby
Caerus has joined #ruby
eldritch has joined #ruby
cjohnson has joined #ruby
snapcase has joined #ruby
RushPL has joined #ruby
nemesit|znc has joined #ruby
agrecascino has joined #ruby
wmoxam has joined #ruby
Nilium has joined #ruby
Raboo has joined #ruby
miah has joined #ruby
lypsis has joined #ruby
linuxdaemon has joined #ruby
llua has joined #ruby
jhill has joined #ruby
goez has joined #ruby
lipoqil has joined #ruby
bvdw has joined #ruby
schne1der has joined #ruby
mpp has joined #ruby
brendan- has joined #ruby
KnownSyntax has joined #ruby
Furai has joined #ruby
entel has joined #ruby
paraxial has joined #ruby
jweiss has joined #ruby
jmcgnh has joined #ruby
Fire-Dragon-DoL has joined #ruby
ccooke has joined #ruby
lightstalker has joined #ruby
mkaito_ has joined #ruby
Argorok has joined #ruby
woodruffw has quit [Ping timeout: 240 seconds]
megeve has quit [Max SendQ exceeded]
jhill has quit [Max SendQ exceeded]
justache has quit [Max SendQ exceeded]
dostoyevsky has quit [Max SendQ exceeded]
KnownSyntax has quit [Max SendQ exceeded]
dostoyevsky has joined #ruby
shanks8080 has quit [Ping timeout: 240 seconds]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
funnel has quit [Ping timeout: 240 seconds]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
shanks8080 has joined #ruby
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
funnel has joined #ruby
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
woodruffw has joined #ruby
woodruffw has quit [Changing host]
woodruffw has joined #ruby
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
KnownSyntax has joined #ruby
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
megeve has joined #ruby
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tpanarch1st_ has joined #ruby
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
phaul_ has quit [Ping timeout: 265 seconds]
justache has joined #ruby
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
jhill has joined #ruby
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
lucasb has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
rwb has quit [Ping timeout: 240 seconds]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #ruby
tsrt^ has quit [Max SendQ exceeded]
phaul_ has joined #ruby
jenrzzz has joined #ruby
<Navred>
Have any of you already use Memoizable module ? I'm curious about its uses cases
ElFerna has joined #ruby
queip has quit [Ping timeout: 265 seconds]
Swyper has quit [Remote host closed the connection]
suukim has quit [Quit: Konversation terminated!]
queip has joined #ruby
imtravis has joined #ruby
EmLOveAnh has joined #ruby
sphex has quit [Ping timeout: 268 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
jenrzzz has quit [Ping timeout: 268 seconds]
queip has quit [Ping timeout: 245 seconds]
imtravis has quit [Ping timeout: 265 seconds]
sandstrom has joined #ruby
AJA4350 has quit [Quit: AJA4350]
queip has joined #ruby
<erfrgrdgt>
retux thanks
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
witlesswonder has quit [Quit: Leaving]
erfrgrdgt has quit [Quit: Leaving]
jcalla has joined #ruby
schne1der has quit [Ping timeout: 276 seconds]
ElFerna has quit [Ping timeout: 245 seconds]
Rapture has joined #ruby
<Navred>
Anyone going to the ruby conf in paris the Feb 20th ?
queip has quit [Ping timeout: 245 seconds]
queip has joined #ruby
jenrzzz has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
phaul_ has quit [Ping timeout: 268 seconds]
Nicmavr has joined #ruby
poontangmessiah has joined #ruby
imtravis has joined #ruby
phaul_ has joined #ruby
poontangmessiah has quit [Read error: Connection reset by peer]
poontangmessiah has joined #ruby
queip has quit [Ping timeout: 240 seconds]
DaRock has quit [Ping timeout: 265 seconds]
retux has quit [Quit: Leaving]
queip has joined #ruby
infinityfye has quit [Quit: Leaving]
schne1der has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
brool has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
Technodrome has joined #ruby
skx86 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
poontangmessiah has quit [Read error: Connection reset by peer]
poontangmessiah has joined #ruby
GodFather has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
poontangmessiah has quit [Ping timeout: 240 seconds]
MrCrackPot has quit [Remote host closed the connection]
MrCrackPotBob has joined #ruby
phaul_ has quit [Ping timeout: 245 seconds]
SeepingN has joined #ruby
rippa has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
exchgr has joined #ruby
exchgr has left #ruby [#ruby]
guardian has quit [Ping timeout: 252 seconds]
ElFerna has joined #ruby
spacesuitdiver has joined #ruby
phaul_ has joined #ruby
jcalla has quit [Ping timeout: 268 seconds]
ElFerna has quit [Ping timeout: 276 seconds]
guardian has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
davidw has joined #ruby
laif has joined #ruby
greengriminal has joined #ruby
laif_ has joined #ruby
laif has quit [Ping timeout: 276 seconds]
jcalla has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
ohmyfromage has joined #ruby
poontangmessiah has joined #ruby
<ohmyfromage>
when I use the ruby map shorthand, e.g. `["11", "21", "5"].map(&:to_i)`, is the `&` just syntactic sugar or does it do some operation to the `:to_i` symbol?
greengriminal has quit [Quit: Leaving]
<ohmyfromage>
i'm guessing syntactic sugar since `&:to_i` doesn't do anything in irb
<havenwood>
ohmyfromage: It's syntactic sugar that calls #to_proc on :to_i and then passes that proc as the block argument.
laif_ has quit [Read error: Connection reset by peer]
laif_ has joined #ruby
sagax has quit [Remote host closed the connection]
ellcs has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
laif__ has joined #ruby
<tankf33der>
trying compile and check ruby on solaris sparc
<bougyman>
that's still a thing?
gix has joined #ruby
<tankf33der>
i fin fun. usefull to check on different endianess platform
<tankf33der>
fin -> want
laif_ has quit [Ping timeout: 265 seconds]
<tankf33der>
i will report.
EmLOveAnh has left #ruby [#ruby]
laif_ has joined #ruby
<adam12>
davidw: I had to slightly modify your example but I _think_ it crashes on my machine? last line is `[BUG]` anyways.
davidw has quit [Ping timeout: 265 seconds]
<adam12>
davidw: Actually, it's sporatic. Multiple runs are fine, and now I just got [BUG] + segf and a partial backtrace.
<adam12>
And no core...
lalitmee has joined #ruby
laif__ has quit [Ping timeout: 268 seconds]
kyrylo has joined #ruby
yokel has quit [Ping timeout: 268 seconds]
lalitmee has quit [Client Quit]
lalitmee has joined #ruby
lalitmee has quit [Client Quit]
lalitmee has joined #ruby
laif_ has quit [Quit: Leaving]
yokel has joined #ruby
lalitmee has quit [Client Quit]
lalitmee has joined #ruby
brendan- has quit [Ping timeout: 276 seconds]
brendan- has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.5]
Intelo has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
lalitmee has quit [Quit: Leaving]
Intelo has quit [Ping timeout: 245 seconds]
jcalla has quit [Ping timeout: 265 seconds]
phaul_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
akemhp has joined #ruby
sputnik13 has joined #ruby
orbyt_ has joined #ruby
jcalla has joined #ruby
sandstrom has quit [Ping timeout: 276 seconds]
poontangmessiah has joined #ruby
sandstrom has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Navred has quit [Remote host closed the connection]
ellcs has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 265 seconds]
sphex has joined #ruby
alfiemax has joined #ruby
Intelo has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
sphex has quit [Ping timeout: 265 seconds]
sphex has joined #ruby
gtwatt[m] has quit [Remote host closed the connection]
danielk43[m] has quit [Remote host closed the connection]
sepp2k has quit [Remote host closed the connection]
aecepoglu[m] has quit [Write error: Connection reset by peer]
someGmrGrl[m] has quit [Remote host closed the connection]
iotatron[m] has quit [Read error: Connection reset by peer]
dmitrycy[m] has quit [Remote host closed the connection]
qbrd[m] has quit [Remote host closed the connection]
f440[m] has quit [Read error: Connection reset by peer]
Hanma[m] has quit [Remote host closed the connection]
execat[m] has quit [Write error: Connection reset by peer]
linuus[m] has quit [Write error: Connection reset by peer]
Corey[m] has quit [Write error: Connection reset by peer]
samdixon[m] has quit [Write error: Connection reset by peer]
kp666[m] has quit [Remote host closed the connection]
kodcx[m] has quit [Remote host closed the connection]
otaznik[m] has quit [Remote host closed the connection]
Hanspolo[m] has quit [Remote host closed the connection]
kira_rose[m] has quit [Remote host closed the connection]
turt2live has quit [Write error: Connection reset by peer]
Xiti has joined #ruby
Yxhuvud has quit [Remote host closed the connection]
sputnik13 has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
Yxhuvud has joined #ruby
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Intelo>
havenwood, Weired issue. app.stage.site.com sends cookies fine to nbk.stage.site.com with Rails.application.config.session_store :redis_store, key: '_nwa_session', domain: :all, tld_length: 5. But on production, app.site.com doest not sends cookies to nbk.site.com. Any ideas why?
<Swyper>
anyone to use the bot call up docs for .all?
<havenwood>
swyper: Or do you prefer?: @dishes.select { |dish| (dish.ingredients - herbs).empty? }
<Swyper>
I like @dishes.select { |dish| (dish.ingredients - herbs).empty? } more :P
<Swyper>
seems easier to understand when my interview is in half an hour lol
<havenwood>
swyper: From your command line: ri "all?"
<Swyper>
;o that is so cool
<havenwood>
?pry swyper
<ruby[bot]>
swyper: Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
<Swyper>
I use byebug atm but have used pry before
<Swyper>
is one superior to the other
<havenwood>
swyper: You can use the two together with pry-byebug gem.
<havenwood>
Swyper: Yeah, that's a common type of interview escalation - change the problem in a way that makes you re-approach.
<Swyper>
im so mad at myself lol if I got this last problem I woulda had the job
jenrzzz_ has quit [Ping timeout: 252 seconds]
<Swyper>
how would you have solved their variation, or what is one of the way to do it?
<phaul>
it's still slightly under specced. But I guess part of it is to raise questions about ambiguity
<phaul>
like is [1,1,1,2
<phaul>
] - [1,2] = [1] ?
<phaul>
or [1,1]
<Swyper>
[1,1]
<havenwood>
Swyper: Show a few examples of input a, b and result c?
<havenwood>
(It's best to show those examples as tests!)
<havenwood>
But just data works. :)
<Swyper>
I guess a way to summarize it is each element should have a one-to-one mapping with a matching element, so subtracting be an element only removes one instance of the other element
<Swyper>
if that helps?
<phaul>
I would create a hash from arrays, where elem is mapped to the count in array. Then I would walk the first hash doing a minus with the second hash per element count. drop if goes below 0 otherwise produce an array of the elem n - m times (n-m being the count difference)
<Swyper>
fair
<Swyper>
anyways to do it in a cool one liner like: #dishes_with_ingredients = @current_dishes.select { |dish| (dish.ingredients - list_of_ingredients_for_search).empty? }
<havenwood>
In Ruby 2.7: [1,1,2].tally #=> {1=>2, 2=>1}
<Swyper>
and then how would you subtract the two hashes
<Swyper>
so if the user searches by say "salt,salt,fish" and the ingredients required to make the dish "fish" are "salt,fish" it should not return fish as an item which can be cooked given the ingredients
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jcalla has quit [Quit: Leaving]
BrianWGray has joined #ruby
Emmanuel_Chanel has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
Intelo has quit [Ping timeout: 240 seconds]
rwb has joined #ruby
<Xeago>
wut
<leftylink>
that doesn't seem to have anything to do with subtracting two arrays
<leftylink>
you had a question about subtracting two hashes. you might thnk that you can use Hash#merge, but you actually can't, because it will do the wrong thing for `[1] - [3]`
<leftylink>
so you have to just use Enumerable#to_h on the left hash.
<Swyper>
the ingredients are stored in a hash
<leftylink>
you might think "can I use Hash#transform_values" instead?
<leftylink>
er
<Swyper>
sorry, the ingredients are being stored in an array
<leftylink>
quote wrong place
<leftylink>
you might think "can I use Hash#transform_values instead?"
<leftylink>
and the answer is no, because you also need the key, since you're doing a lookup in the other hash
<leftylink>
therefore, Enumerable#to_h
<leftylink>
wishing luck
<phaul>
was this cookpad btw?
<leftylink>
oh hold on. it's not necessary to subtract two hashes and get a hash. all you want is, given two `Hash[K, Int]`, whether all counts in left are smaller than the corresponding count in right
<leftylink>
the result doesn't need to be a hash, only a boolean
<leftylink>
I would also mention that from time to time, a thing I think about is "if the data is stored in a way that makes it difficult to perform the operations required of it, maybe store it in a different way"
poontangmessiah_ has quit [Ping timeout: 246 seconds]
<Swyper>
fair
<Swyper>
so use a hasset
<Swyper>
**hashset
<leftylink>
a reminder to all contestants that sets do not hold duplicate elemtns.
<Swyper>
what happens if you try to put in a duplicate element?
Emmanuel_Chanel has joined #ruby
Swyper_ has joined #ruby
Swyper_ has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
davor has quit [Ping timeout: 246 seconds]
davor_ has joined #ruby
davor_ is now known as davor
sameerynho has quit [Ping timeout: 276 seconds]
skx86 has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4350 has joined #ruby
AJA4351 has quit [Ping timeout: 252 seconds]
AJA4350 has quit [Ping timeout: 246 seconds]
Swyper has joined #ruby
Swyper has quit [Client Quit]
ravenousmoose has joined #ruby
AJA4350 has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has quit [Ping timeout: 252 seconds]
AJA4351 has joined #ruby
schne1der has quit [Ping timeout: 276 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has quit [Ping timeout: 268 seconds]
chunkypuffs has quit [Remote host closed the connection]
AJA4351 has quit [Ping timeout: 245 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
imtravis has quit [Ping timeout: 245 seconds]
sagax has joined #ruby
AJA4350 has joined #ruby
baojg has quit [Remote host closed the connection]