samgerber has quit [Remote host closed the connection]
cassioscabral has quit [Quit: cassioscabral]
nonopposition has joined #ruby
Puffball has joined #ruby
pdoherty has joined #ruby
krobzaur has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
arescorpio has joined #ruby
cwong_on_irc has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
pdoherty has quit [Read error: Connection reset by peer]
Puffball has quit [Remote host closed the connection]
pdoherty has joined #ruby
hxegon is now known as hxegon_AFK
samgerber has joined #ruby
yqt has quit [Ping timeout: 245 seconds]
radgeRayden__ has quit [Read error: Connection reset by peer]
nocd has quit [Quit: nocd]
radgeRayden__ has joined #ruby
ninetysix has joined #ruby
minimalism has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
<ninetysix>
can someone help me?
braincras has quit [Quit: bye bye]
pawnbox has joined #ruby
<ninetysix>
can someone help me with gem?
<apeiros>
ninetysix: maybe. we won't know until you asked your question.
hxegon_AFK has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
<ninetysix>
good point, well when I try to install pg with 'sudo gem install pg' it fails. Im running Fedora 23 and i cant think of anything that I need
nonopposition has quit [Remote host closed the connection]
<apeiros>
ninetysix: did you read the output?
sleepee has joined #ruby
<ninetysix>
the only things that give me any hints are
<ninetysix>
ERROR: Error installing pg:
<ninetysix>
ERROR: Failed to build gem native extension.
mary5030 has joined #ruby
<apeiros>
that's the full output?
<ninetysix>
no, wasnt sure if I would get yelled at for the long paste. this is the full output
<ninetysix>
sudo gem install pg
<ninetysix>
Building native extensions. This could take a while...
<ninetysix>
ERROR: Error installing pg:
<ninetysix>
ERROR: Failed to build gem native extension.
cgfbee has quit [Remote host closed the connection]
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
lkba has quit [Remote host closed the connection]
minimalism has joined #ruby
Puffball has quit [Remote host closed the connection]
lokulin has quit [Quit: bye!]
Puffball has joined #ruby
cgfbee has joined #ruby
davedev24 has joined #ruby
<Radar>
adgtl: chruby
<adgtl>
Radar: thanks
sid` has joined #ruby
nocd has joined #ruby
Rickmasta has joined #ruby
sid` has quit [Client Quit]
darthsidious has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
last_staff has joined #ruby
<cscheib>
is there a particular reason to favor one or the other (chruby/rbenv)? I've always used rbenv, cuz that's what came installed by default with boxen on my osx box
crystalmaiden has joined #ruby
kp666 has quit [Ping timeout: 255 seconds]
Dimik has joined #ruby
paradisaeidae has quit [Ping timeout: 264 seconds]
davedev24 has quit []
fullofcaffeine has joined #ruby
jcdesimp has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 240 seconds]
jcdesimp has joined #ruby
mistermocha has quit [Remote host closed the connection]
idefine has joined #ruby
jessemcgilallen has quit [Quit: jessemcgilallen]
mistermocha has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
The_Phoenix has joined #ruby
bronson has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
startupality has quit [Quit: startupality]
fullofcaffeine has quit [Ping timeout: 276 seconds]
jcdesimp has quit [Ping timeout: 272 seconds]
idefine has quit [Ping timeout: 240 seconds]
AlphaAtom has joined #ruby
AlphaAtom has quit [Client Quit]
seitensei has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 265 seconds]
<ponga>
wth i use RVM, does it suck ?
startupality has joined #ruby
<pontiki>
if it works for you, great
<pontiki>
it's also a source of lots of newbie failure
<Radar>
ponga: I find it tries to a little too much
<Radar>
cscheib: chruby+ruby-install are the lightest
Vile` has quit [Remote host closed the connection]
tildes has quit [Ping timeout: 260 seconds]
<pontiki>
we're using ruby-install for all our projects at work now. (since they're all vagrant-based dev, we have no need for chruby)
nocd has quit [Quit: nocd]
wolffles has joined #ruby
<pontiki>
i wrote a thor script to customize and create a new rails project for them
<ponga>
i don't get it, its just package manager, innit?
<pontiki>
no
<pontiki>
rvm is a ruby *version* manager
<pontiki>
gem is the package manager
<ponga>
ok version manager, if you get right version with right gems, isn't it fine then?
ninetysix has quit [Quit: Leaving]
idefine has joined #ruby
<pontiki>
that thar "if" is a biggie
<ponga>
how difficult is get right version and gem
<pontiki>
i have no idea
<pontiki>
tell me why so many questions on it?
bkxd has joined #ruby
<ponga>
dunno i never had problem switching around
tvw has joined #ruby
<pontiki>
let me repeat: [20151221|0034.50] pontiki> if it works for you, great
<ponga>
i know, i just can't grasp in what specific situation it masses up
claw has quit [Ping timeout: 265 seconds]
<pontiki>
neither can i. yet: [20151221|0035.05] pontiki> it's also a source of lots of newbie failure
depesz has left #ruby ["WeeChat 1.4-dev"]
idefine has quit [Ping timeout: 264 seconds]
DoubleMalt has joined #ruby
Mia has quit [Read error: Connection reset by peer]
DavidDudson has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
wolffles has quit [Quit: wolffles]
moeabdol has joined #ruby
makenoise has quit []
Kn|t3 has joined #ruby
lacuna has quit [Ping timeout: 246 seconds]
IdanM has joined #ruby
moeabdol has quit [Ping timeout: 255 seconds]
mistermocha has quit [Remote host closed the connection]
claw has joined #ruby
ohaibbq has quit [Read error: No route to host]
ohaibbq has joined #ruby
nehaljwani has quit [Ping timeout: 240 seconds]
IdanM has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arooni has quit [Ping timeout: 260 seconds]
sigurding has joined #ruby
celly has quit [Remote host closed the connection]
cwong_on_irc has quit [Quit: Leaving.]
tildes has joined #ruby
celly has joined #ruby
krz has quit [Ping timeout: 272 seconds]
<adgtl>
What's the current way to do unit testing in Ruby.. I know there was Test::Unit and MiniTest
<adgtl>
Anything new that came up with Ruby 2.2.* ?
Rickmasta has joined #ruby
celly has quit [Read error: No route to host]
celly has joined #ruby
celly has quit [Read error: No route to host]
sleepee has quit [Ping timeout: 272 seconds]
celly has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
celly has quit [Read error: No route to host]
ibouvousaime has joined #ruby
celly has joined #ruby
Kn|t3 has quit [Quit: Kn|t3]
celly has quit [Read error: No route to host]
celly has joined #ruby
nehaljwani has joined #ruby
krz has joined #ruby
solars has joined #ruby
agit0 has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
celly has quit [Read error: No route to host]
celly has joined #ruby
IdanM has joined #ruby
celly has quit [Read error: No route to host]
ayonkhan has joined #ruby
celly has joined #ruby
celly has quit [Read error: No route to host]
celly has joined #ruby
iateadonut has quit [Ping timeout: 240 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
<ljarvis>
in this example a class variable would actually be fine, but I generally prefer to use class ivars instead
imajes_ has joined #ruby
<adgtl>
@ljarvis can't it be @@ instead of @ in your example?
kotk_ has joined #ruby
yaewa has joined #ruby
<adgtl>
ljarvis: okay
Junaos_ has joined #ruby
<adgtl>
I always thought use of class ivars is some kind of bug / are not allowed
TheSpect1e has joined #ruby
kitallisii has joined #ruby
Davey_ has joined #ruby
samuelkadolph_ has joined #ruby
Davey_ has quit [Changing host]
Davey_ has joined #ruby
existensil_ has joined #ruby
<ljarvis>
no it's not a bug and it's allowed, but there's some funky stuff that happens around inheritance when you use class variables
joeyjones_ has joined #ruby
cout_ has joined #ruby
Esya has joined #ruby
spectra_ has joined #ruby
plantigrade has joined #ruby
morfin60 has joined #ruby
Helheim_ has joined #ruby
yasu_ has joined #ruby
boshhead_ has joined #ruby
karapety_ has joined #ruby
Jackneill has joined #ruby
sivoais has quit [Ping timeout: 246 seconds]
Omni_ has joined #ruby
Tempesta_ has joined #ruby
zacts_ has joined #ruby
ghormoon_ has joined #ruby
lguardiola_ has joined #ruby
akkad_ has joined #ruby
peteyg has joined #ruby
spastorino_ has joined #ruby
xet7_ has joined #ruby
pskosinski_ has joined #ruby
jcdesimp has joined #ruby
thoraxe_ has joined #ruby
djellemah_ has joined #ruby
Zamerick_ has joined #ruby
OmegaA_ has joined #ruby
jayne_ has joined #ruby
gigetoo_ has joined #ruby
rtl_ has joined #ruby
_ko10 has joined #ruby
Emmanuel_Chanel_ has joined #ruby
sivoais has joined #ruby
clamstar- has joined #ruby
kadoppe_ has joined #ruby
adgtl has quit [Ping timeout: 276 seconds]
Azure|dc has joined #ruby
csaunders_ has joined #ruby
oz` has joined #ruby
miah_ has joined #ruby
FifthWall_ has joined #ruby
adgtl has joined #ruby
PlasmaStar has quit [Ping timeout: 240 seconds]
Xiti` has joined #ruby
calderonroberto has quit [Ping timeout: 250 seconds]
passcod_ has joined #ruby
adgtl has quit [Remote host closed the connection]
ndancer has joined #ruby
jcdesimp has quit [Ping timeout: 240 seconds]
AlphaAtom has joined #ruby
ndancer is now known as Guest62138
fumduq- has joined #ruby
drptbl has quit [Quit: See you later!]
yonatankoren_ has joined #ruby
ajaiswal_ has joined #ruby
<shmoon_>
I need to do a 2 way ssl auth with one of the API providers am working with, anyone can help me with it, cuz I don't understand jack about it ?
roger_g has joined #ruby
<roger_g>
why am i always banned from this channel?
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ElFerna has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
futilegames has quit [Quit: futilegames]
sivoais has quit [Ping timeout: 260 seconds]
sankaber has joined #ruby
sankaber has quit [Remote host closed the connection]
sivoais has joined #ruby
sankaber has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benhuda has joined #ruby
seitensei has joined #ruby
seitensei has joined #ruby
plantigrade has quit [Quit: WeeChat 1.0.1]
RegulationD has joined #ruby
sivoais has quit [Ping timeout: 240 seconds]
<shevy>
apeiros xmas days is normally big holidays time, you should not be blocked by workload! :D
Pupeno has quit [Remote host closed the connection]
<blub>
hi shevy
reaVer has quit [Ping timeout: 250 seconds]
seitensei has quit [Ping timeout: 272 seconds]
devoldmx has joined #ruby
cassioscabral has quit [Quit: cassioscabral]
sivoais has joined #ruby
avelldiroll has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
devoldmx has quit [Ping timeout: 246 seconds]
cassioscabral has joined #ruby
mikecmpbll has joined #ruby
jcdesimp has joined #ruby
sivoais has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 260 seconds]
sivoais has joined #ruby
mistermocha has joined #ruby
kriskropd has joined #ruby
jcdesimp has quit [Ping timeout: 255 seconds]
Ropeney has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
<shevy>
hey blubsters
sivoais has quit [Ping timeout: 244 seconds]
Ropeney has quit [Client Quit]
yos7ph has joined #ruby
nonopposition has joined #ruby
sivoais has joined #ruby
karapety_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
Pupeno has joined #ruby
monthy has joined #ruby
<SirFunk>
My mind is blown right now. I have a rails project, I bundle install. It says everything is installed. When I run rake (with or without bundle exec) it keeps complaining about missing gems, unless I manually install them (l18n, rack, tilt, etc). I'm using chruby, any ideas?
prestorium has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
<adaedra>
rbenv?
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
pawnbox has quit [Remote host closed the connection]
stamina has quit [Quit: WeeChat 1.3]
pawnbox has joined #ruby
ElFerna has joined #ruby
iateadonut has joined #ruby
beast has quit [Quit: Leaving]
nettoweb has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<adaedra>
wait, I should try to read.
iateadonut has quit [Client Quit]
yfeldblum has quit [Read error: Connection reset by peer]
yos7ph_ has joined #ruby
sivoais has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
<adaedra>
SirFunk: What do `which ruby`, `which gem`, `which bundle` and `gem env` outputs?
yfeldblum has joined #ruby
karapetyan has quit [Remote host closed the connection]
boshhead_ is now known as boshhead
karapetyan has joined #ruby
sivoais has joined #ruby
<SirFunk>
I'll gist it in a sec. I just blew away my .rubies and .gems folders and am reinstalling
anoob has joined #ruby
<adaedra>
heh.
yos7ph has quit [Ping timeout: 260 seconds]
platzhirsch has left #ruby [#ruby]
ibouvousaime has quit [Remote host closed the connection]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
ponga has quit [Quit: Connection closed for inactivity]
Snowy_ is now known as Snowy
pawnbox_ has quit [Ping timeout: 245 seconds]
scootaloo has quit [Quit: Page closed]
mary5030 has quit [Remote host closed the connection]
InvGhostt has quit [Read error: Connection reset by peer]
InvGhostt has joined #ruby
Snowy is now known as snowdrift
Ray` has quit [Remote host closed the connection]
sleepee has quit [Quit: Leaving]
sivoais has quit [Ping timeout: 272 seconds]
InvGhostt has quit [Read error: Connection reset by peer]
InvGhostt has joined #ruby
ElFerna has quit [Ping timeout: 240 seconds]
InvGhostt has quit [Max SendQ exceeded]
SleepySensei has joined #ruby
ta0 has joined #ruby
InvGhostt has joined #ruby
sivoais has joined #ruby
<ta0>
i forget who recommended codewars to me, but it has helped so much. my ruby-fu has significantly improved
<minimalism>
codewars? nanisore
naftilos76 has quit [Ping timeout: 260 seconds]
rgtk has quit [Remote host closed the connection]
adingman has joined #ruby
<adingman>
Stupid newbie error trying to read from a socket.
Spami has joined #ruby
<shevy>
ta0 was it you
<cscheib>
ta0: it's certainly useful to do some exercises there. there're also ruby koans
<ta0>
shevy: was what me?
<adingman>
Tell me why this: "if ((iv.size != 16 || ctext.size < 16)) then" is wrong?
nertzy has quit [Quit: This computer has gone to sleep]
<adingman>
because it always hits the "else" block and then prints out that iv.size is 16 and ctext.size is 160, which last I checked is greater than 16.
<ta0>
cscheib: I find the rubykoans a bit slow. the nano -> irb -> rake cycle doesnt really appeal to me so much
chth0n has joined #ruby
sivoais has quit [Ping timeout: 244 seconds]
<apeiros>
adingman: print the conditions separately and see? `p iv_size: iv.size != 16, ctext_size: ctext.size < 16` right before your if
<adingman>
puts( "IV is " + iv.size.to_s + " bytes and ctext is " + ctext.size.to_s + " bytes.\n")
<apeiros>
and 160 is greater than 16, yes, which means it is not smaller
<apeiros>
i.e. 160 < 16 # => false
<apeiros>
so if IV is 16 bytes, it's false || false, and that => false
<adingman>
And I'm testing an assignment not a comparison.
<adingman>
oops.
Kn|t3 has joined #ruby
chth0n has quit [Client Quit]
<adingman>
Works when I use ==
arup_r has quit [Remote host closed the connection]
<apeiros>
puts "IV is #{iv.size} bytes and ctext is #{ctext.size} bytes." # adingman - nicer to write & read
sivoais has joined #ruby
yardenbar has quit [Remote host closed the connection]
<apeiros>
your code does not contain an assignment?
<adingman>
apeiros, thanks.
<adingman>
the assignment is elsewhere.
<apeiros>
also puts appends a newline unless there's already one present
<adingman>
but my "if" statement was testing success of assigning "16" to string.size.
<cscheib>
ta0: may want to consider something other than nano. you won't regret learning and using vim, if you end up coding a lot. Or even emacs.
<adingman>
And thanks for the reminder about quoting conventions. New to Ruby, and I knew there had to be a cleaner way.
slash_kick is now known as slash_join
<apeiros>
adingman: btw., #{} calls to_s on the result of the expression
<apeiros>
hence "x: #{1+1}" is fine, while with "x: "+(1+1) you need the .to_s
<ta0>
i like the simplicity. emacs killed lisp for me, racket -> sbcl and emacs was such a mess that I just gave it up
reaVer has joined #ruby
<ta0>
nano is just fine
dlitvak has quit [Remote host closed the connection]
argoneus_ has quit [Changing host]
argoneus_ has joined #ruby
argoneus_ is now known as argoneus
platzhirsch has quit [Remote host closed the connection]
dlitvak has joined #ruby
<adingman>
people who use nano are tolerable as long as they turn off its stupid hard word wrap behavior that kills files.
gambl0re has joined #ruby
<blub>
slime and paredit is half the reason to use lisp.....
zdman135 has joined #ruby
<adingman>
nano itself is a matter of taste. To me, it tastes pretty bad. But as long as the junior admins don't muck anything up they can use whatever editor they like ;-)
bkxd has joined #ruby
rodfersou|lunch has quit [Quit: leaving]
<zdman135>
oh the hate towards nano, lol
rgtk has joined #ruby
raypulver has joined #ruby
<zdman135>
oh the hate towards nano, lol
benhuda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sivoais has quit [Ping timeout: 250 seconds]
<raypulver>
I am making a C extension .. I put my header files in the same folder as my source files but gem can't find them when it goes to build my gem
tvon has quit [Read error: Connection reset by peer]
maletor has quit [Client Quit]
SleepySensei has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shanemcd has joined #ruby
<havenwood>
?crosspost shibly
<ruboto>
shibly, Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
anaeem1 has joined #ruby
hxegon has joined #ruby
agent_white has joined #ruby
<havenwood>
shibly: From the console you can check `gem -v` or `Gem::VERSION` from Ruby.
nfk|laptop has quit [Ping timeout: 272 seconds]
ElFerna has joined #ruby
monthy has quit [Read error: Connection reset by peer]
c0m0 has quit [Ping timeout: 260 seconds]
<shibly>
havenwood: I ran: gem update --system , why is it taking so much time?
<agent_white>
Mornin' folks
<shibly>
agent_white: Morning
<havenwood>
shibly: Maybe it wasn't up to date and it's updating? Downloads can take a while depending on your internet speed.
<havenwood>
agent_white: good mornin'
nonopposition has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
axl_ has quit [Quit: axl_]
<havenwood>
shibly: Folk are wasting time re-answering your question in other channels... Say if you cross-post!
tvon has joined #ruby
eytanfb has quit [Remote host closed the connection]
axl_ has joined #ruby
n008f4g_ has joined #ruby
berserk_ren has joined #ruby
adgtl has quit [Remote host closed the connection]
drptbl has joined #ruby
jbrhbr has joined #ruby
cpup has joined #ruby
<havenwood>
shibly: You can see more details with the --verbose flag: gem update --verbose --system
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shibly has quit [Quit: leaving]
zdman135 has quit [Read error: Connection reset by peer]
jbrhbr1 has joined #ruby
sigurding has quit [Quit: sigurding]
jbrhbr has quit [Read error: Connection reset by peer]
nfk|laptop has joined #ruby
anaeem1 has quit [Remote host closed the connection]
bkxd has joined #ruby
SleepySensei has joined #ruby
anaeem1_ has joined #ruby
tvon has quit [Ping timeout: 240 seconds]
max--1 has joined #ruby
skade has joined #ruby
[Butch] has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
eytanfb has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
agentmeerkat has joined #ruby
pwnd_nsfw has quit [Ping timeout: 240 seconds]
anaeem1_ has quit [Ping timeout: 272 seconds]
nfk|laptop has quit [Ping timeout: 240 seconds]
max--1 has quit [Remote host closed the connection]
berserk_ren has quit [Remote host closed the connection]
karapetyan has joined #ruby
miah_ is now known as miah
akkad_ is now known as akkad
darkf has quit [Quit: Leaving]
tvon has joined #ruby
shanemcd has quit [Remote host closed the connection]
IanMalcolm has joined #ruby
tom_lowndes has quit [Ping timeout: 250 seconds]
IanMalcolm has quit [Remote host closed the connection]
IanMalcolm has joined #ruby
arooni has joined #ruby
theRoUS` has quit [Changing host]
theRoUS` has joined #ruby
cpup has quit [Ping timeout: 265 seconds]
karapetyan has quit [Ping timeout: 260 seconds]
IanMalcolm has quit [Client Quit]
cpup has joined #ruby
IanMalcolm has joined #ruby
devbug has joined #ruby
idefine_ has joined #ruby
ta has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
pwnd_nsfw has joined #ruby
theRealGent has joined #ruby
ruu_ has quit [Remote host closed the connection]
samgerber has joined #ruby
diegoviola has joined #ruby
tvon has quit [Quit: leaving]
idefine_ has quit [Ping timeout: 256 seconds]
celly has joined #ruby
duckpuppy has joined #ruby
zanzarel has joined #ruby
mesamoo has joined #ruby
jbrhbr1 has quit [Quit: Leaving.]
bronson has joined #ruby
anaeem1_ has joined #ruby
wolffles has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
[Butch] has quit [Ping timeout: 265 seconds]
theRealGent has quit [Quit: theRealGent]
edwinvdgraaf has joined #ruby
nonopposition has quit [Remote host closed the connection]
celly has quit [Ping timeout: 276 seconds]
arup_r has quit []
bMalum has joined #ruby
[Butch] has joined #ruby
nfk|laptop has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
mistnim has joined #ruby
sigurding has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.3]
przemek has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
ta has quit [Remote host closed the connection]
dmolina has quit [Quit: Leaving.]
jbrhbr has joined #ruby
idefine_ has joined #ruby
pawnbox_ has joined #ruby
eytanfb has quit [Remote host closed the connection]
rubynoobie has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
idefine_ has quit [Ping timeout: 256 seconds]
axl__ has joined #ruby
axl_ has quit [Read error: Connection reset by peer]
axl__ is now known as axl_
nfk|laptop has quit [Ping timeout: 250 seconds]
bweston92 has quit [Ping timeout: 272 seconds]
agentmeerkat has quit [Ping timeout: 256 seconds]
solocshaw has quit [Ping timeout: 260 seconds]
theRealGent has joined #ruby
treehug88 has joined #ruby
xdc has quit [Quit: WeeChat 0.3.8]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arooni has quit [Ping timeout: 240 seconds]
SHyx0rmZ has joined #ruby
AlphaAtom has joined #ruby
ruu_ has joined #ruby
AlphaAtom has quit [Client Quit]
<adingman>
Anyone know if the OpenSSL module provides a straightforward way to query the block size for a supported cipher?
solocshaw has joined #ruby
roshanavand has quit []
the_nick_me has quit [Remote host closed the connection]
<adingman>
I'm not finding it, but it seems dumb to hard code it when writing code that may use different algorithms.
<adingman>
Everything I care about today has the same block size, but...
AlphaAtom has joined #ruby
solocshaw has quit [Client Quit]
calderonroberto has joined #ruby
adgtl has joined #ruby
shanemcd has joined #ruby
solocshaw has joined #ruby
eytanfb has joined #ruby
theRoUS` is now known as theRouS
decoponyo has quit [Quit: Leaving...]
adgtl has quit [Ping timeout: 246 seconds]
solocshaw1 has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
solocshaw1 is now known as solocshaw
Uptime has quit [Quit: :}]
nateberkopec has quit [Quit: Leaving...]
<theRealGent>
Radar: I took your suggestion of using chruby.
jcdesimp has quit [Remote host closed the connection]
<theRealGent>
I have a different problem now: .rubies/ruby-2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- bundler (LoadError)
jcdesimp has joined #ruby
bkxd has joined #ruby
devbug has quit [Read error: Connection reset by peer]
<theRealGent>
Radar: and `gem list bundler` shows 1.11.2
zeroDivisible has joined #ruby
jcdesimp_ has joined #ruby
ramfjord has joined #ruby
diegoviola has quit [Ping timeout: 260 seconds]
adgtl has joined #ruby
devbug has joined #ruby
Uptime has joined #ruby
zacts has joined #ruby
<wolffles>
new to ruby, learning procs. all examples show a proc executing a puts or simple do…can someone show me a more advance exapmle of a proc?
<Papierkorb>
wolffles: what are you looking for? Use-cases?
frem has joined #ruby
<rubynoobie>
@wolffles i am new as well, what are you using to practice?
kirun has joined #ruby
<wolffles>
i suppose use cases will help as well
nettoweb has joined #ruby
<wolffles>
rubynoobie: im using books, and coding bootcamp practice problems, youtube courses, etc
jcdesimp has quit [Ping timeout: 246 seconds]
bkxd has quit [Ping timeout: 246 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
momomomomo has quit [Quit: momomomomo]
<rubynoobie>
What bootcamp practice problems?
solocshaw has joined #ruby
<mistnim>
is there any field other than webdevelopment where ruby is relevant?
<Papierkorb>
wolffles: E.g. callbacks. Or to modify behaviour of a complex class. Note that blocks can be 'caught' which gives you a Proc
<shevy>
ohhh my waffles are back
<Papierkorb>
mistnim: At work we're doing cluster management with ruby (+ docker and friends)
<havenwood>
mistnim: There are quite a few areas of use. Deployment and telephony or even defense, space and supercomputing.
<havenwood>
mistnim: It's a popular general purpose programming language.
<mistnim>
it's still completely overshadowed by python outside web fields
nonopposition has joined #ruby
<Papierkorb>
mistnim: General scripting. I have a (ruby) script which upon me pressing a key on a keyboard, it switches USB forwards for a virtual machine.
<havenwood>
theRealGent: I'm curious to sanity check what you get for `gem which bundler` and `which bundler`?
<bougyman>
mistnim: not in devops.
<Papierkorb>
mistnim: You can also say it as "It's still completely overshadowed by bash scripts outside web fields"
<bougyman>
chef/puppet dominate that field.
<wolffles>
shevy: hey yeah i decided to study a bit today
<havenwood>
mistnim: Ruby is more popular than Python for some thing and vice versa.
<theRealGent>
havenwood: they dont match!
<mistnim>
I just wish it was the most popular scripting language in general, I like ruby more than python
<wolffles>
rubynoobie: these problems are from a year ago
<rubynoobie>
@wolffles cool are you in sf?
<bougyman>
popularity is not a metric I really care about.
<havenwood>
theRealGent: and: which -a bundler
<wolffles>
rubynoobie: yea lol howd you geuss
<shevy>
wolffles best way for ruby is to just write as much ruby code as you can yourself, just start with simple things, other things such as procs etc... you can pickup as you go
<Papierkorb>
ruby makes me happy. Can't say the same about python. So ruby it is for me too ;)
<rubynoobie>
app academy is in sf lol
<havenwood>
mistnim: Any of the top ten or so languages are quite popular. I wouldn't worry about it.
<theRealGent>
havenwood: sorry, theres a new line between 2.2.2 and /bin/bundler
<mistnim>
bougyman: I do because if there is a field I'm going to be interested in the future, and there are no tools for ruby, than I will be forced to use python or something else
<Papierkorb>
wasn't ruby 9th in the most recent TIOBE index?
<rubynoobie>
@wolffles how long have you been using ruby or coding?
<wolffles>
shevy: im at the point where im writing basic games like hangman but im still getting stuck of some things.
skade has joined #ruby
<shevy>
Papierkorb yeah it kinda sits there in that 8-12 range
<theRealGent>
havenwood: what do you think?
snowdrift has joined #ruby
<wolffles>
rubynoobie: ive been on and off trying to learn enough to get into a bootcamp but all together like 4 months
ta has joined #ruby
<theRealGent>
havenwood: shouldn’t chruby symlink bundler for me?
InvGhostt has joined #ruby
diego2 has joined #ruby
momomomomo has joined #ruby
<rubynoobie>
@wolffles that bootcamp looks legit! goodluck! are you going to take the challenges soon?
nofxx has quit [Ping timeout: 255 seconds]
<havenwood>
theRealGent: chruby doesn't create symlinks but it does add RubyGems' bin/ dir to the $PATH and set $GEM_HOME and $GEM_PATH
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
codecop has joined #ruby
<wolffles>
rubynoobie: i wasnt sure so i used my roomates account he wasnt using , and they sent me some more materials saying i dont have enough experience, but its been another 2 months i might try again
<havenwood>
theRealGent: gist the exact command you're running, the full error and the which commands?
<wolffles>
rubynoobie: im not sure, ive heard you can apply for each 12 week class a few times, or that multiple tries shows dedication and gives you prestige over others. and the 1st challenge was a beginner level there are 2 more tests after that the second test they send you an intermediate problem you have a deadline to finish. 3rd test you go in so they watch you code
<havenwood>
theRealGent: I'm not familiar with logstash.
<theRealGent>
havenwood: bundler: command not found: logstash
<havenwood>
Assuming it's a gem.
karapetyan has joined #ruby
<theRealGent>
havenwood: i believe it is. There are gem files in that directory.
<rubynoobie>
@wolffles me either everyone is just a stoner xD
axl_ has quit [Quit: axl_]
JakFrist has joined #ruby
<havenwood>
theRealGent: Try?: gem install -g
<theRealGent>
havenwood: ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
InvGhostt has quit [Read error: Connection reset by peer]
<theRealGent>
Unable to resolve dependency: No match for 'logstash-devutils (~> 0.0.15, ~> 0.0.15)' on this platform. Found: java
<wolffles>
rubynoobie: haha true dat, techys are frowned upon cuz of all the gentrification lol
<theRealGent>
Ah. I forgot, I need JRuby
InvGhostt has joined #ruby
mistermocha has joined #ruby
<theRealGent>
Let’s see if that works..
rgtk has quit [Ping timeout: 246 seconds]
axl_ has joined #ruby
Lildirt has quit [Ping timeout: 272 seconds]
adgtl has quit [Remote host closed the connection]
rgtk has joined #ruby
sigurding has quit [Quit: sigurding]
ur5us has joined #ruby
* theRealGent
slams forehead into desk repeatedly
<theRealGent>
I’ve never had this bad of a ramp up time in any other language ecosystem
nateberkopec has joined #ruby
<theRealGent>
Literally even Java with Maven is better.
nettoweb has quit [Read error: Connection reset by peer]
mistermocha has quit [Remote host closed the connection]
<adaedra>
You're here to get help or just to troll...?
mistermocha has joined #ruby
nettoweb has joined #ruby
<shevy>
he wants to do "some simple development"
karapetyan has quit [Ping timeout: 240 seconds]
K1MOS has joined #ruby
gizmore has joined #ruby
nertzy has joined #ruby
<theRealGent>
This is why ruby is not succeeding in the operational/sysadmin space.
<theRealGent>
Python has much less ramp up time, and is simpler.
<Papierkorb>
theRealGent: pacman -S ruby
<Papierkorb>
theRealGent: on a proper platform, it's ONE call away
<shevy>
theRealGent nah it is simple, but you fail so that's life
<Papierkorb>
theRealGent: Don't blame ruby for your platforms faults
<eam>
Papierkorb: it's not though
<Papierkorb>
theRealGent: or your lack of understanding shells from what I reading
<havenwood>
theRealGent: I guess follow the instructions very carefully. Running something built specifically for JRuby on MRI is kinda like trying to run your Python on Node.
<eam>
ruby is a real pain to work with
<eam>
most of our ops folk are migrating over to go because the distribution story (can just copy out a single binary) is so much simpler
<eam>
python shares a lot of those drawbacks fwiw
seitensei has joined #ruby
<havenwood>
theRealGent: Also typically we'd ship a gem. I'm not familiar with Logstash though to know why it's doing that it's doing.
<eam>
but the real killer with ruby is the variability between runtime stacks -- ruby has a TON of breaking changes between versions
banister has joined #ruby
cdg has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<havenwood>
eam: Sure is easy to deploy a binary!
<eam>
that's fine for apps which bundle the interpreter and bundled gemsets with their deployments (which is the only reasonable way to approach the issue given how things are) but it's no good for "I have a tool I want to run on a machine ad-hoc)
<Papierkorb>
eam: Never had issues. YMMV. What's good for you may be bad for others. For me, Go is a language inspired by all the wrong parts of Erlangs syntax.
zanzarel has quit [Ping timeout: 250 seconds]
<havenwood>
eam: haha
<eam>
Papierkorb: hey, I dislike go too
<havenwood>
Elixir! \o/
<eam>
just reporting in from the front lines is all
<Papierkorb>
Crystal \m(
<havenwood>
theRealGent: I don't se a logstash.gemspec.
<Papierkorb>
Crystal \m/ *
n0vo has joined #ruby
dlitvak has quit [Remote host closed the connection]
<havenwood>
theRealGent: (Apps have a Gemfile.)
<n0vo>
Are .collect .each and .map all the same thing?
<havenwood>
n0vo: map and collect are
<shevy>
n0vo .map and .collect is
<Papierkorb>
n0vo: #collect and #map are, #each is not
<hxegon>
n0vo it mutates the array, map does the stuff to a new one
<havenwood>
n0vo: nope, it iterates but returns the original collection unlike map which returns a new, mapped collection
elaptics is now known as elaptics`away
<n0vo>
Ahhh
<n0vo>
Ok
<eam>
havenwood: the real story is in how linking occurs. Ruby has some of the worst linking (gem require) of any runtime
<n0vo>
Thanks
<eam>
and no way to produce a "static executable"
devoldmx has joined #ruby
<adaedra>
because it's not it's purpose?
<eam>
imagine a tool that crammed all your gems into __DATA__ or something
<Papierkorb>
eam: imagine a zip archive?
<eam>
adaedra: that's another way of saying what I'm saying: It's been designed to be bad at this
seitensei has quit [Ping timeout: 265 seconds]
<Papierkorb>
And wasn't there a gem which did that?
PedramT has joined #ruby
n008f4g_ has quit [Quit: Lost terminal]
<havenwood>
eam: Traveling Ruby is a reasonably nice way to ship a self-contained app.
<eam>
I've done it, it's a hassle
spider-mario has joined #ruby
ta0 has quit [Quit: Page closed]
<adaedra>
It would not come to my idea to do this.
<adaedra>
If I want something to be compilable to static binary, it's clear ruby would not be my choice.
bweston92 has joined #ruby
<eam>
not a static binary, but an easily distributable format
<havenwood>
eam: I build the statically linked RVM binaries on my machine so everybody thinks I broke their system when they see my home directory in the error messages. :P
<eam>
bundle is essentially static linking
<eam>
it's a copy of gems per tool
* havenwood
renames user directory to travis-ci
<eam>
havenwood: :)
adgtl has joined #ruby
ramortegui has joined #ruby
<havenwood>
*for OS X
blt has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam>
(what's also amusing, I think, is that go doesn't actually produce a static binary)
<havenwood>
speaking of... 2.2.4 came out and the fallback TravisCI binary links against libgmp causing trouble. >.>
<hxegon>
>> [1].each { |i| i += 1 } # am I being dumb or should this return [2]?
<adaedra>
hxegon: when using each, you get a reference to each of the elements turn by turn; but using = erases the reference, not the referenced object.
<shevy>
havenwood lol what's with his ear
<hxegon>
adaedra >:|
<adaedra>
hxegon: you want [1].map { |i| i + 1 }
karapetyan has joined #ruby
<hxegon>
adaedra I was trying to make an example for n0vo but use map for everything
<hxegon>
*I use
adgtl has quit [Ping timeout: 240 seconds]
symm- has joined #ruby
<adaedra>
>> [1, 2, 3].each do |n| puts i * 2 end # See full output
<ruboto>
adaedra # => undefined local variable or method `i' for main:Object (NameError) ...check link for more (https://eval.in/488753)
<adaedra>
uhuh.
<adaedra>
>> [1, 2, 3].each do |n| puts n * 2 end # See full output
hectortrope has quit [Remote host closed the connection]
<ramortegui>
thanks jbrhbr. I just try to create like a counter, like a clock.
ta_ has joined #ruby
<wolffles>
i would just turn the string into a variable right hxegon?
<ramortegui>
but I'd like to have more nested loops.
snguyen has joined #ruby
<ramortegui>
and I think that could be a better way to write it.
blackmesa has joined #ruby
hxegon_ has joined #ruby
hxegon has quit [Read error: Connection reset by peer]
<jbrhbr>
ramortegui: i think there's very few cases where having a lot of nested loop depth in one function makes sense from a factoring perspective. it probably means you need more methods
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
bkxd has joined #ruby
<ramortegui>
yes! jbrhbr. I'm trying to create a recursive function.
pawnbox has quit [Remote host closed the connection]
theRealGent has quit [Quit: theRealGent]
ta has quit [Ping timeout: 255 seconds]
momomomomo has joined #ruby
pawnbox has joined #ruby
kramsee has joined #ruby
<jbrhbr>
that's not really what i meant
theRealGent has joined #ruby
nonopposition has joined #ruby
bweston92 has joined #ruby
nfk|laptop has quit [Ping timeout: 260 seconds]
<hxegon_>
>> 'hello'.group_by(&:itself) # anyone used #itself before?
<blub>
if you want to count up a bunch of variables like that im not really sure how it could be any cleaner
<ruboto>
hxegon_ # => undefined method `group_by' for "hello":String (NoMethodError) ...check link for more (https://eval.in/488776)
symm- has quit [Quit: Leaving...]
bkxd has quit [Ping timeout: 260 seconds]
<havenwood>
hxegon_: each_char.group_by(&:itself)
<hxegon_>
>> 'hello'.chars.group_by(&:itself) # I just need to copy/paste from pry from now on :(
<atmosx>
python's syntax is awkward but from what I understood python3 is a great leap forward
<jbrhbr>
that's a big overstatement as far as syntax is concerned
<jbrhbr>
they just fixed a few inconsistencies
nertzy has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby
gusto has joined #ruby
<dorei>
how can i transform this string: "this is \"a small\" test" into this array ["this", "is
devoldmx has joined #ruby
<dorei>
how can i transform this string: "this is \"a small\" test" into this array ["this", "is", "a small", "test"] ?
<ruurd>
yes well he could have meant a big leap forward in awkwardness :-)
<j416>
dorei: String#split
idefine has quit [Remote host closed the connection]
<jbrhbr>
dorei: there's probably some kind of shell words module
<atmosx>
might be, not an expert or anything just most of my questions in #python were answerred along the lines: "in python.27 is this and python3 is this" and py3 was in every case a more reasonable (maybe by ruby standards) appraoch.
<dorei>
j416: what args should i pass to split?
<j416>
dorei: but if you need that escaping, maybe scan
<jbrhbr>
atmosx: yea i was just restricting the scope of comment to syntax only
<adaedra>
can the python discussion go into offtopic ?
jcdesimp has joined #ruby
<jbrhbr>
dorei: i think you want Shellwords#shellsplit
nertzy has quit [Quit: This computer has gone to sleep]
celly has quit [Ping timeout: 255 seconds]
codecop has quit [Remote host closed the connection]
test-123 has quit [Client Quit]
TheBloke has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
AndroidLoverInSF has quit [Quit: Leaving]
TheBloke has quit [Client Quit]
bMalum has joined #ruby
dlitvak has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
dlitvak has joined #ruby
karapetyan has joined #ruby
<zenspider>
pretty quiet here of late?
TheBloke has joined #ruby
bMalum has quit [Remote host closed the connection]
grn has quit []
ta_ has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 245 seconds]
<slash_join>
too quiet
Dimik has joined #ruby
karapetyan has quit [Ping timeout: 245 seconds]
moeabdol1 has quit [Ping timeout: 260 seconds]
Spami has joined #ruby
rodfersou|afk has quit [Quit: leaving]
IdanM has joined #ruby
Jackneill has quit [Ping timeout: 255 seconds]
test123 has joined #ruby
test123 has quit [Client Quit]
IdanM has quit [Max SendQ exceeded]
samgerber has joined #ruby
last_staff has quit [Quit: last_staff]
nfk|laptop has quit [Quit: yawn]
dr3w has quit [Quit: WeeChat 1.2]
Dimik has quit [Ping timeout: 245 seconds]
dr3w has joined #ruby
krobzaur has quit [Ping timeout: 264 seconds]
dmr8 has quit [Quit: Leaving]
Nanuq has joined #ruby
jessemcgilallen has joined #ruby
mjw56 has joined #ruby
Mazhug has quit []
minimalism has quit [Quit: minimalism]
jrcharney has joined #ruby
samgerber has quit [Ping timeout: 245 seconds]
polishdub has quit [Quit: Leaving]
pawnbox has joined #ruby
<wolffles>
how would you find out what kind of arguments a method can take using irb or pry
AlphaAtom has joined #ruby
dhollinger has quit [Quit: WeeChat 1.3]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wolffles>
for example finding argumetns to .map
<bougyman>
you can use ri for that, and you can do it from within pry
tectonic has quit []
<jrcharney>
Is it normal that after I install rbenv and ruby-build and bundler and set my global ruby version and mod my ~/.bashrc, that "whereis ruby" still shows up blank? "which ruby" doesn't, but I'm trying to install weechat-plugins and that package wants to reinstall ALL the really old ruby stuff that's in the ubuntu repo that was the reason I installed ruby via rbenv instead.
<bougyman>
did you open a new shell?
<bougyman>
stuff you change in your .bashrc doesn't take effect in the current shell unless you source it.
Coldblackice has joined #ruby
mjw56 has quit [Remote host closed the connection]
<bougyman>
. ~/.bashrc; which ruby
radgeRayden__ has quit [Ping timeout: 250 seconds]
<jrcharney>
closed the terminal I installed everything to verify what I changed then opened a new shell terminal
pawnbox has quit [Ping timeout: 245 seconds]
<hxegon_>
wolffles try show-doc Array#map in pry
<bougyman>
that may or may not load the bashrc, depends on the term
<jrcharney>
which ruby points to the shim. whereis ruby is blank
TheBloke has quit [Ping timeout: 265 seconds]
ta has joined #ruby
<bougyman>
it's also blank here. that shouldn't matter.
<bougyman>
I don't even have ubuntu's ruby installed, only my local ones.
<bougyman>
weechat-plugins is an ubuntu package, right?
<jrcharney>
Yes
<bougyman>
it's going to use the ubuntu ruby crap, then.
<bougyman>
nothing you can do about that.
<bougyman>
system ruby is for system stuff.
wolfflez has joined #ruby
wolffles has quit [Ping timeout: 240 seconds]
wolfflez is now known as wolffles
<jrcharney>
I also went to the weechat website to download their repo file (because ubuntu's version of weechat is really old), and I still got the same results
<bougyman>
yes, of course.
<bougyman>
because it still has the dpkg dependencies.
jbrhbr has quit [Quit: Leaving.]
<jrcharney>
So should I install weechat from source instead?
jessemcgilallen has quit [Quit: jessemcgilallen]
<bougyman>
that's your decision.
ta has quit [Ping timeout: 255 seconds]
<bougyman>
it's still going to have dependencies.
<dr3w>
I might have missed it, but was the original question related to `whereis`?
<jrcharney>
I could do that. I just wanted a second opinion.
<bougyman>
but if you do it locally you can point it to your ruby with configure flags, i'm sure.
<jrcharney>
dr3w: Yeah, apparent weechat-plugin wants to use ubuntu's version of ruby rather than the rbenv version I set globally
phroa has left #ruby [#ruby]
zanzarel has quit [Ping timeout: 260 seconds]
zenlot has joined #ruby
<jrcharney>
dr3w: when I type "whereis ruby" its blank, so that's kid of the issue with the weechat-plugins. It thinks it needs to install ruby again.
radgeRayden has joined #ruby
atomical has quit [Ping timeout: 256 seconds]
<shevy>
hmm
zenlot4 has quit [Ping timeout: 240 seconds]
<dr3w>
jrcharney: when I check `man whereis`, I see in the description, "The whereis utility checks the standard binary directories for the specified programs", so I wonder if that isn't just because ruby wasn't part of the standard binary dirs?
dmolina has joined #ruby
banister has joined #ruby
<jrcharney>
I do have the shims path at the beginning of the $PATH
framling has joined #ruby
<zenspider>
jrcharney: "The whereis utility checks the standard binary directories..."
eytanfb has quit [Remote host closed the connection]
howdoi has quit [Quit: Connection closed for inactivity]
<zenspider>
oops. hadn't caught up yet. sorry dr3w
andywojo has joined #ruby
Kabaka has joined #ruby
<dr3w>
jcharney: Oh, I see. so the weechat-plugin is looking for system ruby?
<jrcharney>
yep
ElFerna has quit [Ping timeout: 245 seconds]
<jrcharney>
Ruby is set globally, but if i'm missing a step I think it's that "system ruby" issue
azgil has quit [Quit: Leaving]
Azure has joined #ruby
nerium has quit [Quit: nerium]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
atomical has joined #ruby
eytanfb has joined #ruby
yfeldblum has quit [Remote host closed the connection]
banister has quit [Ping timeout: 256 seconds]
zanzarel has joined #ruby
<jrcharney>
This is starting to turn into more of a ##linux issue than a #ruby issue.
zanzarel has left #ruby [#ruby]
<jrcharney>
I compared this with my raspberry pi hacktop (raspberry pi 2 + motorola atrix lapdock + raspbian) where everything appears to b fine to my desktop (Linux Mint 17.3, x86_64) as the raspberry pi shows a list of places when I type "whereis -l". The desktop does not.
atomical has quit [Ping timeout: 246 seconds]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
dlitvak has quit [Remote host closed the connection]
mistermocha has quit [Remote host closed the connection]
millerti has joined #ruby
jrcharney has left #ruby ["taking this to ##linux"]
mistermocha has joined #ruby
bogn1 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
duderonomy has quit [Ping timeout: 246 seconds]
Trynemjoel has joined #ruby
idefine has joined #ruby
banister has joined #ruby
j2k has quit [Quit: bai]
atomical has joined #ruby
sekrit has quit [Ping timeout: 615 seconds]
jessemcgilallen has joined #ruby
futilegames has joined #ruby
futilegames has quit [Client Quit]
<zenspider>
the desktop typically doesn't have your full env loaded when it starts...
Uptime has quit [Quit: :}]
nocd has quit [Ping timeout: 272 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jayne_ is now known as jayne
Uptime has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
banister has quit [Read error: Connection reset by peer]
shanemcd has joined #ruby
SleepySensei has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jbrhbr has joined #ruby
huskynation has joined #ruby
skcin7 has joined #ruby
skcin7 has quit [Client Quit]
shanemcd has quit [Ping timeout: 265 seconds]
j2k has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
gusto has quit [Quit: Leaving]
huskynation has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
whippythellama has quit [Quit: WeeChat 1.3]
huskynation has joined #ruby
<huskynation>
Hello???
<Radar>
huskynation: it isn't working
<Radar>
please try again later
<Radar>
p.s. hello
<huskynation>
What's not working?
<havenwood>
huskynation: hi
<Radar>
huskynation: I'm guessing your excessive question marks meant that you couldn't send to the channel
<huskynation>
1st time here, still learning to navigate..
<huskynation>
I see plenty of users on the left, but nothing going on in the chatroom..can someone pls explain?
pandaant has quit [Remote host closed the connection]
samgerber has joined #ruby
<ellistaa>
i’ve heard people say that people coming from something like C end up just writing ruby like they were still writing in C. if I’m learning Java is it OK if my code looks like Ruby? https://gist.github.com/ellismarte/b7b762d36393f0f7a9eb
devoldmx has joined #ruby
n0vo has joined #ruby
n0vo has quit [Changing host]
n0vo has joined #ruby
<shevy>
ellistaa it very often has an influence in the style
tildes has joined #ruby
<shevy>
usually it goes mostly away quite quickly if you write a lot of ruby code
<zenspider>
I'm not sure what about that java feels "ruby-like" to you...
TheBloke has joined #ruby
<ellistaa>
zenspider: idk the intialize …
<zenspider>
the problem (in either direction) is that you're mismatching against common idioms and design patterns for that language
<shevy>
ellistaa the problem is that you can not map it 1:1, the extra steps you have to do in java there, you just don't have to do in ruby, so the equivalent ruby code would be shorter. that example is also rather tiny and not realistic IMO
<havenwood>
ellistaa: I hear there are *ahem* nicer languages on the JVM. ;)
<zenspider>
ellistaa: all I see is 3 lines, mismatched camel vs snake casing and bad names
<ellistaa>
shevy: k maybe ill ask later
Snowy has joined #ruby
blackmesa has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
nkwsy has joined #ruby
<ellistaa>
havenwood: scala?
<havenwood>
ellistaa: JRuby and Clojure
<hxegon>
ellistaa or clojure, or jruby
<blub>
scala is a nightmare
<hxegon>
havenwood :D
<ellistaa>
havenwood: but if i want to write android apps i have to use java yeah?