havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Can't talk? Register/identify with Nickserv first! || Ruby 2.2.3; 2.1.7; 2.0.0-p647: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
segmond has joined #ruby
pwnd_nsfw has joined #ruby
arian0n has joined #ruby
tkuchiki has joined #ruby
craysiii has joined #ruby
amitchellbullard has joined #ruby
akahn has joined #ruby
voxxit has joined #ruby
petems has joined #ruby
spastorino has joined #ruby
culturelabs has joined #ruby
PhilK has joined #ruby
catbusters has quit [Ping timeout: 240 seconds]
jgpawletko has joined #ruby
catbusters has joined #ruby
centrx has quit [Quit: "You cannot fix a machine by just power-cycling it with no understanding of what is going wrong."]
RegulationD has joined #ruby
jmhmccr has joined #ruby
frankS2 has joined #ruby
yqt has quit [Ping timeout: 264 seconds]
twodayslate has joined #ruby
lolmaus_ has joined #ruby
zrl has joined #ruby
quazimodo has joined #ruby
prosodyC has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
bruno- has quit [Quit: Lost terminal]
machty has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
Timba-as has quit [Quit: Lingo: www.lingoirc.com]
sp4rrow_ has joined #ruby
sp4rrow has quit [Read error: Connection reset by peer]
Kamilion has joined #ruby
bruno- has joined #ruby
aaeron has quit [Quit: Leaving.]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aaeron has joined #ruby
tawaffan has joined #ruby
ericjphillips has joined #ruby
gustav_ has joined #ruby
j4cknewt has joined #ruby
nofxx has joined #ruby
Igorshp has quit [Remote host closed the connection]
dopamean_ has quit [Ping timeout: 256 seconds]
allcentury has joined #ruby
gustav_ has quit [Ping timeout: 268 seconds]
sp4rrow_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
radgeRayden has joined #ruby
Lucky__ has joined #ruby
Musashi007 has joined #ruby
yitsushi is now known as yitsushi^away
quazimodo has quit [Ping timeout: 272 seconds]
NeverDie has joined #ruby
iamninja has joined #ruby
s00pcan has quit [Ping timeout: 255 seconds]
opensource_ninja has quit [Quit: opensource_ninja]
allcentury has quit [Ping timeout: 252 seconds]
s00pcan has joined #ruby
marr has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
RobertBirnie has joined #ruby
banjara has quit [Quit: Leaving.]
swgillespie has joined #ruby
Rickmasta has joined #ruby
Yzguy has joined #ruby
iamninja has quit [Ping timeout: 246 seconds]
sp4rrow has joined #ruby
blue_deref has joined #ruby
Yzguy has quit [Client Quit]
tsujp has joined #ruby
rbennacer has quit [Remote host closed the connection]
sp4rrow has quit [Client Quit]
Laaw is now known as Laaw[WAS]
quazimodo has joined #ruby
r0bby_ has quit [Ping timeout: 240 seconds]
drewvanstone has quit [Ping timeout: 268 seconds]
scripore has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psy_ has joined #ruby
snockerton has quit [Ping timeout: 265 seconds]
duggiefresh has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has quit [Ping timeout: 265 seconds]
sp4rrow has joined #ruby
bkulbida has quit [Ping timeout: 264 seconds]
blue_deref has quit [Quit: Taking myself out of hear.]
sp4rrow has quit [Client Quit]
Pathfinder_ has quit [Ping timeout: 240 seconds]
Kitsunitchi has joined #ruby
rrichardsr3 has joined #ruby
Kallis has joined #ruby
FernandoBasso has quit [Quit: WeeChat 1.3]
Kallis has quit [Max SendQ exceeded]
duggiefresh has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
jordanm has quit [Quit: Konversation terminated!]
hydrozen has joined #ruby
Spami_ has quit [Quit: This computer has gone to sleep]
nettoweb has joined #ruby
hydrozen has quit [Client Quit]
sp4rrow has joined #ruby
stardiviner has joined #ruby
Kitsunitchi has left #ruby [#ruby]
ragingcake has joined #ruby
ragingcake has quit [Client Quit]
yfeldblum has quit [Ping timeout: 250 seconds]
apt-get has joined #ruby
pontiki has joined #ruby
apt-get has quit [Read error: Connection reset by peer]
shoutsid has quit [Ping timeout: 264 seconds]
maletor has quit []
pwnd_nsfw has quit [Ping timeout: 240 seconds]
pontiki_ has joined #ruby
pontiki has quit [Ping timeout: 250 seconds]
havenwood has joined #ruby
bb010g has joined #ruby
NeverDie has quit [Quit: http://radiux.io/]
pontiki_ is now known as pontiki
casadei has quit [Remote host closed the connection]
yfeldblum has joined #ruby
wookiehangover has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
TomyLobo has quit [Ping timeout: 255 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
redondo has quit [Ping timeout: 250 seconds]
towski__ has quit [Remote host closed the connection]
rrichard_ has joined #ruby
rrichardsr3 has quit [Read error: Connection reset by peer]
ngscheurich has joined #ruby
weemsledeux has joined #ruby
sysx1000 has quit [Ping timeout: 264 seconds]
redondo has joined #ruby
rrichard_ has quit [Read error: Connection reset by peer]
rrichardsr3 has joined #ruby
NeverDie has joined #ruby
pwnd_nsfw has joined #ruby
ebragaparah has joined #ruby
maikowblue has joined #ruby
wookiehangover has joined #ruby
rrichardsr3 has quit [Max SendQ exceeded]
rrichardsr3 has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
bricker has quit [Ping timeout: 250 seconds]
allcentury has joined #ruby
otacon- has quit [Ping timeout: 240 seconds]
devoldmx has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 264 seconds]
sameerynho has quit [Quit: Leaving]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 240 seconds]
flavouredfags has joined #ruby
bronson has quit [Remote host closed the connection]
maikowblue has quit [Quit: .]
stamina has quit [Ping timeout: 256 seconds]
Musashi007 has quit [Quit: Musashi007]
gustav_ has joined #ruby
tenderlove has quit [Quit: Leaving...]
bkulbida has joined #ruby
gustav_ has quit [Ping timeout: 264 seconds]
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tsujp has quit [Quit: tsujp is snoozing]
bluntman has quit [Ping timeout: 246 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
bluntman has joined #ruby
ddarkpassenger has joined #ruby
v4n has quit []
Rodya_ has joined #ruby
sp4rrow has joined #ruby
liquidmetal has joined #ruby
<liquidmetal> http://pastebin.com/PMwjRdir - running into errors when running rake. I'm trying to build Sass from scratch - any help would be appreciated :)
<ruboto> liquidmetal, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<helpa-bot> Hi liquidmetal. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
<helpa-bot> Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
mattprelude has quit [Ping timeout: 268 seconds]
v4n has joined #ruby
<liquidmetal> http://pastie.org/10442589 - pastie as requested
yfeldblum has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
nettoweb has quit [Ping timeout: 240 seconds]
vdamewood has joined #ruby
sp4rrow has quit [Client Quit]
tkuchiki has joined #ruby
ericjphillips has quit [Quit: Leaving.]
djbkd has quit [Quit: My people need me...]
yfeldblum has quit [Ping timeout: 240 seconds]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
nettoweb has joined #ruby
casadei has joined #ruby
polly_wog has quit [Remote host closed the connection]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
[k- has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
Swappticon has joined #ruby
unreal has quit [Remote host closed the connection]
ngscheurich has quit [Ping timeout: 250 seconds]
Swappticon has quit [Client Quit]
Swappticon has joined #ruby
Swappticon has quit [Client Quit]
Swappticon has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
A124 has quit [Read error: Connection reset by peer]
Swappticon has quit [Client Quit]
leat has quit [Ping timeout: 252 seconds]
stardiviner has quit [Ping timeout: 250 seconds]
frog0909_ has joined #ruby
<bnagy> I thought helpa got muted?
RegulationD has joined #ruby
jt__ has quit [Ping timeout: 246 seconds]
A124 has joined #ruby
frog0909 has quit [Ping timeout: 264 seconds]
Pathfinder has joined #ruby
aaeron has quit [Quit: Leaving.]
hahuang65 has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
<sivoais> show
<sivoais> oops
alakra has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
leat has joined #ruby
hahuang65 has quit [Ping timeout: 252 seconds]
tejasmanohar has joined #ruby
phutchins has quit [Ping timeout: 256 seconds]
ddarkpassenger has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flavouredfags has quit [Ping timeout: 246 seconds]
saddad has quit [Quit: WeeChat 1.4-dev]
pontiki has joined #ruby
stardiviner has joined #ruby
Feyn has joined #ruby
NeverDie has quit [Quit: http://radiux.io/]
pontiki is now known as pontiki_
bentanweihao has joined #ruby
Pathfinder has quit [Ping timeout: 244 seconds]
casadei has quit [Remote host closed the connection]
Kallis has joined #ruby
pontiki_ is now known as pontiki
Kallis has quit [Max SendQ exceeded]
Pathfinder has joined #ruby
Kallis has joined #ruby
bffff_ has joined #ruby
ddarkpassenger has joined #ruby
bronson has joined #ruby
<liquidmetal> how do I update ruby gem on ubuntu?
iamninja has joined #ruby
chipotle has quit [Quit: cheerio]
postmodern has quit [Quit: Leaving]
dorei has quit []
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdwrage has joined #ruby
sdothum has joined #ruby
JoL1hAHN has quit [Ping timeout: 264 seconds]
ebragaparah has quit [Remote host closed the connection]
iamninja has quit [Ping timeout: 255 seconds]
bronson has quit [Ping timeout: 268 seconds]
JoL1hAHN has joined #ruby
ddarkpassenger has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ddarkpassenger has joined #ruby
favadi has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
beauby has joined #ruby
xcesariox has joined #ruby
darkxploit has joined #ruby
Rickmasta has joined #ruby
brendan- has quit [Remote host closed the connection]
NeverDie has joined #ruby
karapetyan has quit [Ping timeout: 255 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
roxtrongo has joined #ruby
nisstyre has quit [Changing host]
nisstyre has joined #ruby
bruno- has joined #ruby
roxtrong_ has joined #ruby
aaeron has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ebragaparah has joined #ruby
aaeron1 has joined #ruby
<liquidmetal> Anyone? How do I go about building Sass from source?
roxtrongo has quit [Ping timeout: 264 seconds]
michael_mbp has quit [Excess Flood]
bruno- has quit [Ping timeout: 265 seconds]
Beoran has quit [Ping timeout: 265 seconds]
aaeron has quit [Ping timeout: 264 seconds]
nettoweb has quit [Ping timeout: 244 seconds]
michael_mbp has joined #ruby
mwlang has quit [Quit: mwlang]
baweaver has joined #ruby
petricore has quit [Quit: Textual IRC Client: www.textualapp.com]
darkxploit has quit [Ping timeout: 264 seconds]
r0bby_ has joined #ruby
<pontiki> do you mean compass?
<pontiki> or do you mean generating a compressed css file from a collection of .sass files?
n_blownapart has quit [Remote host closed the connection]
Xeago has joined #ruby
Beoran has joined #ruby
mrtomme has quit [Ping timeout: 264 seconds]
brendan- has joined #ruby
r0bby_ is now known as robbyoconnor
devoldmx has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
mrtomme has joined #ruby
gener1c has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
alakra has quit [Quit: WeeChat 1.0.1]
darkxploit has joined #ruby
gener1c_ has quit [Ping timeout: 240 seconds]
devoldmx has quit [Ping timeout: 250 seconds]
RobertBirnie has joined #ruby
Musashi007 has joined #ruby
braincrash has quit [Quit: bye bye]
Pathfinder has quit [Ping timeout: 246 seconds]
aaeron1 has quit [Ping timeout: 246 seconds]
bmurt has joined #ruby
rrichardsr3 has quit [Quit: The road to hell is paved with good intentions...]
braincrash has joined #ruby
redondo has quit [Ping timeout: 240 seconds]
redondo has joined #ruby
Contigi has joined #ruby
hod0r has quit [Read error: Connection reset by peer]
otacon- has joined #ruby
elton_ has quit [Read error: Connection reset by peer]
elton has joined #ruby
AccordLTN has quit [Read error: Connection reset by peer]
drewvanstone has joined #ruby
AccordLTN has joined #ruby
hod0r has joined #ruby
bentanweihao has quit [Remote host closed the connection]
banjara has joined #ruby
<Ebok> Thanks for earlier Hanmak. Seeing differing results for those methods helps to showcase that they in fact do different things. Although I'm not quite read up enough to tell why yet. I'll look into it more.
ddarkpassenger has quit [Quit: Textual IRC Client: www.textualapp.com]
otacon- has quit [Ping timeout: 240 seconds]
rrichardsr3 has joined #ruby
casadei has joined #ruby
renderfu_ has joined #ruby
drewvanstone has quit [Ping timeout: 268 seconds]
<liquidmetal> pontiki, I think compass
darkf has joined #ruby
EXID123 has joined #ruby
cantaberry has quit []
devbug has joined #ruby
renderfu_ has quit [Ping timeout: 246 seconds]
Musashi007 has quit [Quit: Musashi007]
casadei has quit [Remote host closed the connection]
EXID123 has quit [Remote host closed the connection]
chipotle has joined #ruby
EXID123 has joined #ruby
ebragaparah has quit [Remote host closed the connection]
gix has quit [Ping timeout: 265 seconds]
amclain has quit [Quit: Leaving]
EXID123 has quit [Remote host closed the connection]
EXID123 has joined #ruby
ramfjord has joined #ruby
gix has joined #ruby
EXID123 has quit [Read error: Connection reset by peer]
rrichardsr3 has quit [Quit: The road to hell is paved with good intentions...]
drewvanstone has joined #ruby
arescorpio has joined #ruby
kellabyte has joined #ruby
EXID123 has joined #ruby
<kellabyte> bundle isn't picking up a gem for some reason, $GEM_HOME doesn't match what "bundle show <package>" reports, aren't those supposed to match?
phutchins has joined #ruby
EXID123 has quit [Read error: Connection reset by peer]
EXID123 has joined #ruby
drewvanstone has quit [Ping timeout: 240 seconds]
roxtrong_ has quit [Remote host closed the connection]
EXID123 has quit [Remote host closed the connection]
icarus has quit [Ping timeout: 250 seconds]
EXID123 has joined #ruby
phutchins has quit [Ping timeout: 260 seconds]
moeabdol has quit [Ping timeout: 252 seconds]
freerobby has quit [Quit: Leaving.]
<liquidmetal> Is the #ruby channel usually this slow?
<go|dfish> liquidmetal: yes
<liquidmetal> go|dfish, where do rubyists congregate?
<Ebok> It helps when people do have questions.
SOLDIERz has joined #ruby
<Ebok> Because lots read the chatter, less respond
<liquidmetal> Ebok, suuuuure
EXID123 has quit [Remote host closed the connection]
<Ebok> I've never had a question go unheeded, but that could be luck
<go|dfish> liquidmetal: starbucks
<nofxx> liquidmetal, if you like to go fast try ##motorcycle
EXID123 has joined #ruby
<liquidmetal> go|dfish, haha
weemsledeux has joined #ruby
<liquidmetal> nofxx, try #spacex
<nofxx> liquidmetal, that's also nice. There's #ruby-offtopic too.
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
zapata has quit [Ping timeout: 240 seconds]
stardiviner has quit [Ping timeout: 272 seconds]
EXID123 has quit [Remote host closed the connection]
havenwood has joined #ruby
jgpawletko has quit [Quit: jgpawletko]
<baweaver> We pay attention
Xeago has joined #ruby
<baweaver> kellabyte: what's your setup like?
EXID123 has joined #ruby
<baweaver> RVM, RBEnv, etc
<baweaver> might be something with RVM hotwiring cd to check for a .ruby-version in certain directories or something to that note.
stardiviner has joined #ruby
Oka has quit [Quit: o/]
<havenwood> kellabyte: Are you using Bundler's --path option? How is it different?
EXID123 has quit [Remote host closed the connection]
EXID123 has joined #ruby
EXID123 has quit [Remote host closed the connection]
drewvanstone has joined #ruby
kp666 has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
aaeron has joined #ruby
EXID123 has joined #ruby
banjara has quit [Quit: Leaving.]
<kellabyte> havenwood: no not setting anything, it's weird, if I do bundle install in this project, this dependency ends up in .bundler/ instead of .rvm/ and that deps deps don't get picked up
<kellabyte> but why is this one gem going somewhere else? its weird
<kellabyte> does bundler use $GEM_ENV?
jenrzzz has joined #ruby
zapata has joined #ruby
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> kellabyte: The Bundler default is supposedly to install gems to $GEM_HOME. Or ./vendor/bundle if you use --deployoment.
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> kellabyte: If it's not a Rails app you might consider resolving your Gemfile dependencies and creating a Gemfile.lock with: gem install -g
EXID123 has quit [Remote host closed the connection]
<havenwood> kellabyte: Maybe check that no wonky settings got "remembered": bundle config
Azure|dc has joined #ruby
grekko has joined #ruby
grekko has quit [Client Quit]
luckyruby has quit [Quit: Leaving...]
EXID123 has joined #ruby
<havenwood> kellabyte: Is it a Rails app?
Laaw[WAS] is now known as Laaw
Azure has quit [Ping timeout: 240 seconds]
grekko has joined #ruby
fedexo has joined #ruby
Rodya_ has quit [Quit: Leaving...]
EXID123 has quit [Remote host closed the connection]
Kallis has quit [Read error: Connection reset by peer]
<kellabyte> havenwood: no not rails
havenwood has quit [Remote host closed the connection]
devoldmx has joined #ruby
havenwood has joined #ruby
<kellabyte> havenwood: its weird, if I do bundle show X then I cd to X and do bundle show rest-client, it comes from an entirely different place than X does
<kellabyte> you'd think both dependencies would be from the same location
bkulbida has quit [Ping timeout: 250 seconds]
<kellabyte> rest-client won't be picked up by the root application though that's using X which uses rest-client
icarus has joined #ruby
EXID123 has joined #ruby
<havenwood> kellabyte: You can just use RubyGems if you prefer. Run `gem i -g` to resolve dependencies and create a Gemfile.lock and set RUBYGEMS_GEMDEPS environment variable to the location of the Gemfile you'd like to use. Or for automatic discovery of the current dir: RUBYGEMS_GEMDEPS=~
aaeron has quit [Ping timeout: 246 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
tmtwd has joined #ruby
joufflu has joined #ruby
<havenwood> Oops, I meant: RUBYGEMS_GEMDEPS=-
aaeron has joined #ruby
<havenwood> "Use - as the path to autodetect (current and parent directories are searched)."
<havenwood> kellabyte: RubyGems has supported gem dependency resolution for a while now. Works well these days.
<kellabyte> I don't want to change how someone elses project is working
<havenwood> kellabyte: Check that you don't have per-project Bundler-remembered settings then.
<havenwood> kellabyte: You might ask the #bundler channel.
<kellabyte> but something is seriously screwy if you cd projA bundle install which installs projB into ~/.bundler but then you cd ~/.bundler/blahblah/projB and do a bundle show rest-client and its in ~/.rvm
<kellabyte> like nothing is matching or something
<kellabyte> how do per-project bundler work? does it store something in the projects directory?
<havenwood> kellabyte: Like I've mentioned, Bundler remembers settings.
<kellabyte> where does it remember settings?
tkuchiki has quit [Remote host closed the connection]
<havenwood> kellabyte: Like I suggested, check: bundle config
<kellabyte> bundle config outputs nothing
<kellabyte> cd projA bundle config nothing
youngbaks has joined #ruby
<havenwood> kellabyte: You've got bundler problems!
<kellabyte> cd projB bundle config some stuff
yitsushi^away is now known as yitsushi
bronson has joined #ruby
dopamean_ has joined #ruby
EXID123 has quit [Remote host closed the connection]
iamninja has joined #ruby
EXID123 has joined #ruby
<havenwood> kellabyte: Did that lead you to the Bundler config file with the issue?
bronson has quit [Ping timeout: 268 seconds]
iamninja has quit [Ping timeout: 252 seconds]
<kellabyte> well I'm not sure which is the issue, projA or projB
CloCkWeRX has quit [Ping timeout: 255 seconds]
<baweaver> Is it possible bundler is out of date, or the ruby version is old?
krz has joined #ruby
krz is now known as Guest45029
j4cknewt has quit [Remote host closed the connection]
sdwrage has quit [Quit: Leaving]
darkxploit has quit [Ping timeout: 255 seconds]
[k- has joined #ruby
EXID123_ has joined #ruby
bentanweihao has joined #ruby
breadmonster has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
jenrzzz has quit [Ping timeout: 256 seconds]
<breadmonster> Hey guys.
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lucky__ has joined #ruby
BTRE has joined #ruby
<havenwood> breadmonster: good evenin
jenrzzz has joined #ruby
<breadmonster> I'm trying to pick up Ruby.
<kellabyte> baweaver: I don't see why that would be putting this 1 dependency in an entirely different place?
<breadmonster> It's not easy, because my only experience has been with functional programming.
<baweaver> yeah, me either honestly.
<baweaver> trying to think of why it would and not thinking of anything
<baweaver> sorry, back and forth, tutoring another person on ruby through skype.
<kellabyte> no problem, thanks for the help, much appreciated
<kellabyte> I just wanted to write some ruby but I've spent 5 hours with bundler not resolving this dependency lol
davedev24 has quit [Remote host closed the connection]
<havenwood> kellabyte: Does it just work if you `gem i -g` and set?: RUBYGEMS_GEMDEPS=-
davedev24 has joined #ruby
youngbaks has quit [Ping timeout: 256 seconds]
yitsushi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> kellabyte: Try backing up and removing any Bundler config files if you're dead-set on using the Bundler gem.
<kellabyte> havenwood: where are bundler config files stored?
<havenwood> kellabyte: Using the latest Bundler would hopefully result in the fewest bugs.
<havenwood> kellabyte: The `bundle config` command didn't tell you?
<havenwood> kellabyte: You might ask in the #bundler channel if you haven't already.
darkxploit has joined #ruby
<kellabyte> bundle config reports nothing
davedev24 has quit [Ping timeout: 240 seconds]
<kellabyte> like absolutely nothing lol
<havenwood> kellabyte: And does that app install gems to $GEM_HOME?
ndrei has quit [Ping timeout: 264 seconds]
<kellabyte> bundler version 1.10.6
<kellabyte> yeah $GEM_HOME matches other bundle show depC
<kellabyte> but bundle show depB is in an entirely different location than depC
<kellabyte> depC works depB does not
failshell has joined #ruby
Wolland has joined #ruby
<kellabyte> maybe I should rm -rf ~/.bundler or something
<kellabyte> nuke all caches all configs? lol
allcentury has joined #ruby
<kellabyte> nope that didn't work either, it still put depB into ~/.bundler/ all by itself
<havenwood> Betcha `gem i -g` installs to $GEM_HOME. :P
<havenwood> breadmonster: Exploring in the REPL is an interesting way to learn some Ruby.
<havenwood> ?pry
<ruboto> Pry, the better IRB. Includes easy object inspection via `ls`, `history`, docs view with `?`, source view with `$` and syntax highlighting, among other features (see `help` for more). It can also be used for easy debugging by putting `binding.pry` directly in your source code. Visit https://pryrepl.org/ or get it now with: gem install pry pry-doc
allcentury has quit [Ping timeout: 264 seconds]
<havenwood> breadmonster: The irb REPl ships with Ruby but the Pry gem is an alternative REPL that is quite popular and good for exploring.
<breadmonster> havenwood: What's a gem?
<havenwood> breadmonster: It's a Ruby package. They're often just libraries but can also have executables.
<kellabyte> havenwood: I'm not sure what you mean, what do I do with gem i -g?
<havenwood> breadmonster: Ruby ships with RubyGems, which includes the `gem` executable for installing packages like: gem install roda
Xeago has joined #ruby
<havenwood> kellabyte: It's a RubyGem command. Like in a directory where there's a Gemfile: gem install -g
vjdhama has joined #ruby
<havenwood> breadmonster: You can cut a gem and push it to RubyGems to share with the world or just install it locally.
<kellabyte> havenwood: oh, that installs from the local path you mean?
<breadmonster> I know nothing of ruby.
<breadmonster> Where would be a good place to begin?
amystephen has quit [Quit: amystephen]
<havenwood> kellabyte: -g, --file [FILE] Read from a gem dependencies API file and install the listed gems
<havenwood> ?links breadmonster
karapetyan has joined #ruby
<kellabyte> oh crap, I think I found the problem
karapetyan has quit [Read error: Connection reset by peer]
<kellabyte> no clue why its a problem
Rickmasta has joined #ruby
<kellabyte> verifying..
karapetyan has joined #ruby
<havenwood> breadmonster: tryruby.org is very basic but is a fun run-through. rubykoans.com is an interesting introduction to testing in Ruby. excersim.io has fun exercises and is a good way to get peer review of basic code.
<breadmonster> havenwood: Umm, the other thing is that I don't have any OOP experience, will that hold me back?
<havenwood> breadmonster: The Well-Grounded Rubyist, Second Edition is a good book to get up to speed quickly.
Xeago has quit [Ping timeout: 240 seconds]
<havenwood> breadmonster: The Ruby object model can be a bit confusing: https://www.gliffy.com/go/publish/5152080
aaeron has quit [Ping timeout: 246 seconds]
<breadmonster> havenwood: Yeah, I don't get OOP, the only language I know is Haskell.
<breadmonster> someone told me Ruby has a really nice OOP design.
<havenwood> breadmonster: That's probably a good way to approach Ruby. :)
<breadmonster> Like, better than Java or anything else, so I should start with that.
Gnomethrower has joined #ruby
Gnomethrower has quit [Changing host]
Gnomethrower has joined #ruby
<havenwood> breadmonster: Here's a good quickref: http://www.zenspider.com/Languages/Ruby/QuickRef.html
<breadmonster> Fantastic.
<breadmonster> I'll read the Well-Grounded Rubyist.
failshell has quit []
<breadmonster> Does it assume any experience?
<nofxx> breadmonster, I second that. I could only understand java OO after coding ruby
ReK2 has quit [Ping timeout: 256 seconds]
<nofxx> that applies to every lang actually. Even those with fake OO like JS.
karapetyan has quit [Ping timeout: 246 seconds]
<havenwood> breadmonster: Its targeted at someone who knows some other language. It doesn't assume any pre-knowledge you wouldn't already have.
<nofxx> it's just clean, and very well taught
<breadmonster> Okay, fantastic, thank you so much!
Guest45029 has quit [Quit: WeeChat 1.2]
<havenwood> breadmonster: No prob, you're welcome!
krzkrz has joined #ruby
UtkarshRay has joined #ruby
vjdhama has quit [Remote host closed the connection]
tkuchiki has joined #ruby
aaeron has joined #ruby
arescorpio has quit [Quit: Leaving.]
SOLDIERz has joined #ruby
v4n has quit []
Soda has joined #ruby
dhjondoh has joined #ruby
MeMoc has quit [Quit: Connection closed for inactivity]
dionysus69 has joined #ruby
allomov has quit [Remote host closed the connection]
tjbiddle has joined #ruby
ndrei has joined #ruby
dionysus69 has quit [Client Quit]
scripore has quit [Quit: This computer has gone to sleep]
SOLDIERz has quit [Ping timeout: 272 seconds]
Anti-Pizza has joined #ruby
bw_ has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
Soda has quit [Remote host closed the connection]
banjara has joined #ruby
bentanweihao has quit [Remote host closed the connection]
PlasmaStar has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 265 seconds]
behrz has joined #ruby
codenapper has joined #ruby
aganov has joined #ruby
Macaveli has joined #ruby
drewvanstone has quit [Ping timeout: 268 seconds]
scripore has joined #ruby
rushed has quit [Quit: rushed]
dcarmich has joined #ruby
Musashi007 has joined #ruby
karapetyan has joined #ruby
roxtrongo has joined #ruby
frege has quit [Ping timeout: 246 seconds]
j4cknewt has joined #ruby
Wolland has quit [Remote host closed the connection]
mdih has quit [Ping timeout: 264 seconds]
behrz has quit [Read error: Connection reset by peer]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
behrz has joined #ruby
phutchins has joined #ruby
devoldmx has joined #ruby
aaeron has quit [Ping timeout: 246 seconds]
phutchins has quit [Ping timeout: 255 seconds]
roxtrongo has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 250 seconds]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
toretore has quit [Quit: This computer has gone to sleep]
TomyLobo has joined #ruby
QoQOoO has joined #ruby
QoQOoO has quit [Remote host closed the connection]
QoQOoO has joined #ruby
QoQOoO has quit [Client Quit]
shlomo has joined #ruby
<certainty> moin
beauby has quit [Ping timeout: 246 seconds]
tmtwd has quit [Ping timeout: 252 seconds]
<shlomo> What hash function should I use for storing passwords?
<bnagy> how long is a piece of string
<bnagy> bcrypt or scrypt, probably
<certainty> shlomo: scrypt
<havenwood> +1 bcrypt or scrypt
<havenwood> Votes thus far: scrypt: 3, bcrypt: 2, pbkdf2: 0
grekko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bnagy> hahaha
<shlomo> ok thanks all
<bnagy> I don't have a strong religious position on bcrypt vs scrypt. I use scrypt personally.
Xeago has joined #ruby
* certainty too
<certainty> though my crypto expert collegue fellow, says older and still practically unbroken is bettern, than younger and practically unbroken :)
<certainty> oh man
* certainty needs a coffee
scripore has quit [Quit: This computer has gone to sleep]
lsmola has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
<certainty> haha
<certainty> round 1 ... fight!
RegulationD has joined #ruby
<havenwood> Does NIST get a vote?: pbkdf2: 1
<bnagy> well that blog starts of with PBKDF2 sooo.....
<baweaver> >> %w(scrypt bcrypt).sample
<ruboto> baweaver # => "scrypt" (https://eval.in/439286)
<baweaver> boom
<baweaver> ship it
<havenwood> ;)
<certainty> :)
<havenwood> baweaver: Question is whether to bcrypt before scrypt or scrypt before bcyrpt. Best use both to be sure but still need a coin toss.
NeverDie has quit [Quit: http://radiux.io/]
* baweaver sighs
<baweaver> >> %w(scrypt bcrypt).shuffle
<ruboto> baweaver # => ["scrypt", "bcrypt"] (https://eval.in/439287)
<baweaver> there ya go
<bnagy> just do an AshMad and use some crazy bcrypt strength but then also use the same passwords for some dunky MD5 tokens
<havenwood> bcrypt, scrypt, bcrypt, random, scrypt, bcrypt, random
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> 0xF6, 0x00, 0xFF, random, 0x00, 0xFF, random
<baweaver> Something something security something obscurity
<noethics> lol bnagy
<noethics> you wanna go m8
<havenwood> bnagy: indeed...
<baweaver> oo, a fight?
* baweaver grabs popcorn
<certainty> something something cookies?
<havenwood> ?cookie
<ruboto> here's your cookie:
weemsledeux has joined #ruby
<baweaver> it looks like a sad 3-eyed cookie
<certainty> :)
<noethics> the point of the article is basically summarized in the second paragraph
sanjayu has joined #ruby
stan has joined #ruby
eGGsha has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
<certainty> well doesn't matter anyway since the user/customer will likely tell his password to whoever wants to know
<certainty> and chances are that it's sex, password or p4ssw0rd
<noethics> l0l bnagy that's pretty funny though, you see the author of the first comment in that SOF link you posted
<noethics> CiC is everywhere
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roxtrongo has joined #ruby
<baweaver> *cues music* Some.... where.... over the rainbow tables! Pass... words.... break.
rushed has joined #ruby
rushed has quit [Client Quit]
Pathfinder_ has joined #ruby
icarus has quit [Ping timeout: 256 seconds]
vjdhama has joined #ruby
<shevy> a singing beaver
<baweaver> Wood you believe it?
<shevy> lol
<baweaver> It's a dam good show
icarus has joined #ruby
Feyn has quit [Ping timeout: 272 seconds]
vdamewood has quit [Ping timeout: 260 seconds]
noethics has quit [Quit: Leaving]
iamninja has joined #ruby
bronson has joined #ruby
araujo_ has joined #ruby
bigkevmcd has joined #ruby
DoYouKnow has joined #ruby
emilkarl has joined #ruby
araujo has quit [Ping timeout: 268 seconds]
iamninja has quit [Ping timeout: 260 seconds]
firstdayonthejob has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
araujo_ has quit [Ping timeout: 240 seconds]
bentanweihao has joined #ruby
arup_r has joined #ruby
skade has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
armyriad has quit [Ping timeout: 250 seconds]
TomyLobo has quit [Ping timeout: 240 seconds]
armyriad has joined #ruby
Macaveli has joined #ruby
anisha has joined #ruby
bentanweihao has quit [Ping timeout: 256 seconds]
karapetyan has quit [Remote host closed the connection]
Pumukel has joined #ruby
codecop has joined #ruby
gurix has joined #ruby
bruno- has joined #ruby
timonv has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
<eam> just store the password in case you need it later
vjdhama has quit [Remote host closed the connection]
tejasmanohar has quit [Quit: tejasmanohar]
amystephen has joined #ruby
Pathfinder_ has quit [Ping timeout: 252 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iateadonut has quit [Quit: Leaving.]
amystephen has quit [Ping timeout: 256 seconds]
nfk|laptop has joined #ruby
robbyoconnor has joined #ruby
podman has quit [Quit: Connection closed for inactivity]
minimalism has quit [Quit: leaving]
psk17_ has joined #ruby
lemur has joined #ruby
j4cknewt_ has joined #ruby
darkf_ has joined #ruby
banjara has quit [Ping timeout: 240 seconds]
blackjid has quit [Ping timeout: 240 seconds]
adambeynon has quit [Ping timeout: 240 seconds]
ArchRogem has quit [Ping timeout: 240 seconds]
bf4 has quit [Ping timeout: 240 seconds]
banjara has joined #ruby
waxjar has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
Kamilion has quit [Ping timeout: 240 seconds]
j4cknewt has quit [Ping timeout: 240 seconds]
UtkarshRay has quit [Ping timeout: 240 seconds]
joufflu has quit [Ping timeout: 240 seconds]
baweaver has quit [Ping timeout: 240 seconds]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
catbusters has quit [Ping timeout: 240 seconds]
voxxit has quit [Ping timeout: 240 seconds]
segmond has quit [Ping timeout: 240 seconds]
crdpink has joined #ruby
fedexo has quit [Ping timeout: 240 seconds]
darkf has quit [Ping timeout: 240 seconds]
crdpink2 has quit [Ping timeout: 240 seconds]
wookiehangover has quit [Ping timeout: 240 seconds]
craysiii has quit [Ping timeout: 240 seconds]
cball has quit [Ping timeout: 240 seconds]
linc01n has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
soc42 has joined #ruby
favadi has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
behrz has quit [Quit: Leaving]
CrazyEddy has joined #ruby
darkf_ is now known as darkf
pontiki has quit [Ping timeout: 264 seconds]
DexterLB has quit [Ping timeout: 260 seconds]
dseitz has left #ruby ["Textual IRC Client: www.textualapp.com"]
Feyn has joined #ruby
last_staff has joined #ruby
Xeago has quit [Ping timeout: 246 seconds]
vjdhama has joined #ruby
karapetyan has joined #ruby
vjdhama has quit [Remote host closed the connection]
vjdhama has joined #ruby
Kamilion has joined #ruby
Wolland has joined #ruby
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
vjdhama has quit [Remote host closed the connection]
anisha has quit [Ping timeout: 272 seconds]
vjdhama has joined #ruby
j4cknewt_ has quit [Remote host closed the connection]
UtkarshRay has joined #ruby
cball has joined #ruby
segmond has joined #ruby
ArchRogem has joined #ruby
adambeynon has joined #ruby
pwnd_nsfw has joined #ruby
craysiii has joined #ruby
lemur has quit [Remote host closed the connection]
j4cknewt has joined #ruby
mondayrain has joined #ruby
charliesome has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
shoutsid has joined #ruby
Anti-Pizza has quit [Read error: Connection reset by peer]
tjbiddle has quit [Ping timeout: 246 seconds]
thomas is now known as evilthomas
jenrzzz has quit [Ping timeout: 240 seconds]
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
mondayrain has quit [Quit: Leaving]
bronson has joined #ruby
allomov has joined #ruby
tjbiddle has joined #ruby
astrobunny has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Feyn has quit [Ping timeout: 250 seconds]
quiez has joined #ruby
iamninja has joined #ruby
terlar has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
SOLDIERz has joined #ruby
banjara has quit [Quit: Leaving.]
nym has quit [Quit: Connection closed for inactivity]
vjdhama has quit [Ping timeout: 244 seconds]
vjdhama_ has joined #ruby
tagrudev has joined #ruby
allomov has quit [Remote host closed the connection]
howdoi has joined #ruby
shoutsid06 has joined #ruby
shoutsid has quit [Read error: Connection reset by peer]
jgt2 has joined #ruby
yfeldblum has joined #ruby
keen________ has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
anisha has joined #ruby
yfeldblum has joined #ruby
DoubleMalt has joined #ruby
keen_______ has quit [Ping timeout: 260 seconds]
slayerjain has joined #ruby
beast has joined #ruby
shoutsid has joined #ruby
theRoUS has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby
quiez has quit [Quit: leaving]
BaroMeter has joined #ruby
shoutsid06 has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
icarus has quit [Ping timeout: 252 seconds]
<[k-> haha dam
<[k-> i see what you did there
<[k-> (one hour later)
grekko has joined #ruby
Burgestrand has joined #ruby
BaroMeter has quit [Client Quit]
icarus has joined #ruby
j4cknewt has quit [Remote host closed the connection]
vjdhama_ has quit [Ping timeout: 272 seconds]
bruno- has quit [Ping timeout: 255 seconds]
leafybasil has quit [Remote host closed the connection]
devoldmx has joined #ruby
favadi has joined #ruby
leafybasil has joined #ruby
<[k-> haha wood
favadi has quit [Max SendQ exceeded]
<[k-> i see what you did there
SCHAAP137 has joined #ruby
theRoUS has joined #ruby
vjdhama has joined #ruby
Antiarc has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 264 seconds]
leafybasil has quit [Ping timeout: 268 seconds]
Antiarc has joined #ruby
vjdhama_ has joined #ruby
j4cknewt has joined #ruby
vjdhama has quit [Ping timeout: 246 seconds]
jxv has quit [Quit: Leaving]
Xeago has joined #ruby
c0m0 has joined #ruby
slucx has joined #ruby
slucx has left #ruby [#ruby]
anisha has quit [Quit: Leaving]
soc42 has quit [Remote host closed the connection]
gurix has quit [Quit: gurix]
startupality has joined #ruby
amystephen has joined #ruby
tesuji has joined #ruby
PlasmaStar has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
beast has quit [Quit: Leaving]
bb010g has quit [Quit: Connection closed for inactivity]
krisquigley has joined #ruby
gurix has joined #ruby
<arup_r> One topic I got today to discuss here - I was reading Proxy Pattern, and it seems like it basically used to implemen lazy loading like we do using ||= in Ruby. Is my understanding correct ? ( ref - http://www.tutorialspoint.com/design_pattern/proxy_pattern.htm )
Spami_ has joined #ruby
RegulationD has joined #ruby
Anti-Pizza has joined #ruby
Burgestrand has quit []
karapetyan has quit [Ping timeout: 240 seconds]
RegulationD has quit [Ping timeout: 255 seconds]
nami has quit [Quit: ZNC - http://znc.in]
\j2k has quit [Quit: bai]
Burgestrand has joined #ruby
ruurd has joined #ruby
nopc0de has joined #ruby
nami has joined #ruby
nopc0de is now known as j2k_
j2k_ is now known as nopc0de
nopc0de is now known as j2k_
ruurd has quit [Client Quit]
grekko has quit [Read error: Connection reset by peer]
Antiarc has quit [Ping timeout: 246 seconds]
tockitj has quit [Ping timeout: 264 seconds]
Antiarc has joined #ruby
TakumoKatekari is now known as Takumo
nolic has joined #ruby
Zackio has quit [Ping timeout: 244 seconds]
jayne_ is now known as jayne
stan has quit [Ping timeout: 272 seconds]
Zackio has joined #ruby
felixr has joined #ruby
Kendos-Kenlen has joined #ruby
jgt3 has joined #ruby
<certainty> arup_r: that's the specifics of the proxy given there
poguez_ has quit [Quit: Connection closed for inactivity]
<certainty> it needs not to be that way
<certainty> the point is that you have a thing that implements the same interface (or parts of it) as the real thing
<certainty> but is not the real thing
herbst has joined #ruby
breadmonster has quit [Quit: Page closed]
jgt2 has quit [Ping timeout: 240 seconds]
gustav_ has joined #ruby
casadei has joined #ruby
vjdhama_ has quit [Remote host closed the connection]
UtkarshRay has quit [Ping timeout: 240 seconds]
youngbaks has joined #ruby
reprazent has quit [Quit: Bye]
araujo has joined #ruby
<arup_r> certainty: thanks. I think i got it ..
tockitj has joined #ruby
reprazent has joined #ruby
<certainty> arup_r: of course it differs from the real thing in it's implementation. Otherwise there would be no point in having a proxy :)
<certainty> but i guess that was clear from the context
<certainty> its
bronson has joined #ruby
casadei has quit [Ping timeout: 240 seconds]
<arup_r> Basically Proxy is helping the Real one not to get get instantiated for every requests from the same client, rather re using the first created real object..
reprazent has quit [Client Quit]
dmolina has joined #ruby
gustav_ has quit [Remote host closed the connection]
ndrei has joined #ruby
<yorickpeterse> morning
quazimodo has quit [Ping timeout: 240 seconds]
vjdhama has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 255 seconds]
favadi has joined #ruby
dionysus69 has joined #ruby
favadi has quit [Max SendQ exceeded]
stan has joined #ruby
peteykun has joined #ruby
Kendos-Kenlen has quit [Quit: Konversation terminated!]
<certainty> arup_r: as i said, that's true only for that example. There are other examples where proxies do something else. But what stays the same is that they're used instead of the real thing, because they use the service of the real thing but want others to present a slightly different implementation
sanjayu has quit [Ping timeout: 256 seconds]
<certainty> in the example you linked it's the loading of the image that's expensive
marr has joined #ruby
<certainty> and a proxy is used to mitigate that
<arup_r> humm... true
voxxit has joined #ruby
CloCkWeRX has joined #ruby
<maloik> ljarvis: if someone replies to someone and says "lmao. have a word" what does that even mean?
<maloik> I'm pretty sure it's not "we need to have a chat" in this case
VeryBewitching has quit [Quit: Konversation terminated!]
<maloik> (asking cause I think it's a british thing to say?)
yitsushi has joined #ruby
CloCkWeRX has quit [Ping timeout: 255 seconds]
allomov has joined #ruby
Kendos-Kenlen has joined #ruby
<canton7> "have a word" == "have a chat", but sometimes more serious. to have a word with someone might mean telling them off
drptbl has joined #ruby
<maloik> much confuse
<maloik> thx :)
Antiarc has quit [Read error: Connection reset by peer]
drewvanstone has joined #ruby
einarj has joined #ruby
Antiarc has joined #ruby
slayerja_ has joined #ruby
Hounddog has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
slayerjain has quit [Ping timeout: 265 seconds]
drewvanstone has quit [Ping timeout: 268 seconds]
absklb has joined #ruby
<absklb> hi
arup_r has quit [Remote host closed the connection]
<absklb> there is bundler in my /usr/local/bin/bundler how do i uninstall it so that i can install one required?
pontiki has joined #ruby
yitsushi has quit [Max SendQ exceeded]
felixrsmith has joined #ruby
nofxx has quit [Ping timeout: 246 seconds]
UtkarshRay has joined #ruby
Kendos-Kenlen has quit [Quit: Konversation terminated!]
reprazent has joined #ruby
<maloik> is updating it not an option?
CloCkWeRX has joined #ruby
<maloik> otherwise, I'd look at tools like chruby, rbenv, rvm
konsolebox has joined #ruby
konsolebox has quit [Max SendQ exceeded]
devoldmx has joined #ruby
konsolebox has joined #ruby
konsolebox has quit [Max SendQ exceeded]
felixr has quit [Ping timeout: 264 seconds]
pontiki has quit [Ping timeout: 240 seconds]
Kendos-Kenlen has joined #ruby
j4cknewt has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 246 seconds]
<absklb> there are conflict of diffferent versions. how update will solve it? maloik
CloCkWeRX has quit [Ping timeout: 240 seconds]
Musashi007 has quit [Quit: Musashi007]
<maloik> you mention that you want to uninstall "it", that implies only one has been installed
<maloik> what do you mean by conflict of different versions
<maloik> either way, again, look at chruby, rbenv or rvm
favadi has joined #ruby
devbug has quit [Read error: Connection reset by peer]
<absklb> maloik: i have it in rvm also and installed by apt-get also and in local vendor/bundel lso
<absklb> maloik: how can i get rid of all and every bundler so that it will be like i never installed any ruby thing at all
decoponio has joined #ruby
Xeago has quit [Remote host closed the connection]
Igorshp has joined #ruby
Xeago has joined #ruby
Musashi007 has joined #ruby
<maloik> "gem uninstall bundler" should work
<absklb> maloik: that removed it from my ~/.rvm but its still there is bundler: /usr/local/bin/bundler
scripore has joined #ruby
<maloik> I'm honestly not all that good resolving issues like this, but if `which bundler` points you to /usr/local/bin/bundler then there's probably an issue with your $PATH
<maloik> and then you need to check out the rvm readme to get it set up the way it should be
<absklb> whereis bundler gives me this path
felixrsmith has quit [Ping timeout: 240 seconds]
<absklb> maloik: why user local bin should not be in path?
gustav_ has joined #ruby
scripore has quit [Client Quit]
<maloik> it should be, but it's supposed to use the rvm one first before looking there
<absklb> yeah
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<absklb> maloik: shall manually rm that bundler?
dhjondoh has quit [Remote host closed the connection]
<maloik> not sure, sorry
<absklb> ok
vjdhama has quit [Ping timeout: 244 seconds]
renderful has joined #ruby
vjdhama has joined #ruby
lsmola has quit [Ping timeout: 250 seconds]
arup_r has joined #ruby
dhjondoh has joined #ruby
Antiarc has quit [Ping timeout: 255 seconds]
Antiarc has joined #ruby
solocshaw has joined #ruby
Musashi007 has quit [Quit: Musashi007]
renderful has quit [Ping timeout: 250 seconds]
drptbl has joined #ruby
slayerjain has joined #ruby
<absklb> maloik: now i have onlly one bundler 1.7.10 and still my Canvas LMS script complainss that i dont have 1.7.10 and something else
<absklb> how can i chheck which version is tis gem?
<absklb> but i just did gem install bundler -v 1.7.10
slayerja_ has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
vjdhama has quit [Remote host closed the connection]
favadi has quit [Ping timeout: 255 seconds]
quazimodo has joined #ruby
TheWhip has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
ndrei has quit [Ping timeout: 240 seconds]
lsmola has joined #ruby
reprazent has quit [Quit: Bye]
ndrei has joined #ruby
icarus has quit [Quit: Lost terminal]
reprazent has joined #ruby
Burgestrand has quit []
TheWhip has quit []
TheWhip has joined #ruby
leafybasil has joined #ruby
casadei has joined #ruby
<TheWhip> Hey wattsup!!
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #ruby
bruno- has joined #ruby
<absklb> errors....
shredding has joined #ruby
Worf has joined #ruby
youngbaks has quit [Ping timeout: 272 seconds]
casadei has quit [Ping timeout: 250 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 260 seconds]
reprazent has quit [Quit: Bye]
favadi has joined #ruby
charliesome has joined #ruby
reprazent has joined #ruby
<jhass> absklb: what's the exact error message? what exact command does produce it? what's your output to gem env? put everything into a gist, help people to help you
<jhass> *of gem env
diegoviola has joined #ruby
<Worf> is this a place where someone without rubly knowledge may ask for help debugging some ruby app? :) I try to use saml auhtentication for a webservice. i identified the problem being some attributes not being matched. i think this is the file in question: https://github.com/PracticallyGreen/omniauth-saml/blob/master/lib/omniauth/strategies/saml.rb (near the end, where name, email, ... get matched). how could i dump the whole attributes structure to some
<Worf> log or so, so i see what is wrong?
emilkarl has quit [Quit: emilkarl]
<maloik> Worf: look at the remote-pry gem, and just open the pry console right where you think the problem is so you can inspect the attributes
reprazent has quit [Client Quit]
<maloik> that is, if you can reproduce the problem in development as well
<maloik> wouldnt recommend doing this in production ;)
platzhirsch has joined #ruby
reprazent has joined #ruby
dhjondoh has quit [Quit: dhjondoh]
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Worf> maloik: that sounds impressive, but i fear that is way above me
lxsameer has joined #ruby
<maloik> ...what? what part is "impressive"?
Kendos-Kenlen has quit [Quit: Konversation terminated!]
<Worf> well, the workflow you described .. pry, etc ...
tawaffan has quit [Ping timeout: 255 seconds]
<maloik> have you looked at the readme?
ramfjord has joined #ruby
drptbl has joined #ruby
tkuchiki has quit [Remote host closed the connection]
<maloik> there's nothing impressive about it... you add the gem, add `binding.remote_pry` or whatever it is to your code, then run `pry-remote` in your terminal
tkuchiki has joined #ruby
<maloik> anyway, lunch time
jas02 has joined #ruby
nfk|laptop has quit [Ping timeout: 240 seconds]
Kendos-Kenlen has joined #ruby
davedev24 has joined #ruby
devoldmx has joined #ruby
quazimodo has quit [Ping timeout: 246 seconds]
<[k-> ha! another lunchtime added to my list
<[k-> apeiros - maloik -------- adaedra
ramfjord has quit [Ping timeout: 260 seconds]
<[k-> key: one - represents 15 min
<absklb> jhass: ok
blaxter has joined #ruby
TheWhip has quit [Remote host closed the connection]
RegulationD has joined #ruby
<bougyman> anyone have a better way to get the default: stanza from http://sprunge.us/aMDN than File.read("sample.txt").match(/^default:.*\n\n/m)?
<bougyman> it's _almost_ ymlish
<bougyman> but not yml enough.
jas02 has quit [Quit: jas02]
radgeRayden has quit [Ping timeout: 244 seconds]
Antiarc has quit [Quit: No Ping reply in 180 seconds.]
RobertBirnie has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
<darix> bougyman: isnt it kinda late for you? o.O
<bougyman> darix: no, early.
Antiarc has joined #ruby
<adaedra> hi
<bougyman> 6 a.m. on the east coast.
<bougyman> hi adaedra
decoponio has quit [Ping timeout: 240 seconds]
astrobunny has quit [Remote host closed the connection]
<darix> 3ah
<darix> ah
<darix> good morning then^^
<bougyman> thanks!
allezbluez has joined #ruby
<musicmatze> Can someone of you have a quick look at https://github.com/matthiasbeyer/jekyll-toc-generator/blob/master/jekyll-toc-generator.gemspec and tell me what is wrong with my gemspec? When installing with bundler (with git: <url>) it is not available afterwards...
<musicmatze> and I don't know wgy
<musicmatze> why*
karapetyan has joined #ruby
<adaedra> what do you mean, not available?
RegulationD has quit [Ping timeout: 268 seconds]
<adaedra> do you run your things with `bundle exec`?
Xeago has quit [Remote host closed the connection]
<musicmatze> well, when browsing the vendor/bundle directory I installed it to, it is in vendor/bundle/ruby/2.2.0/bundler/gems/jekyll-toc-generator but when doing bundle exec irb and then require it I get an error because it cannot be found
<musicmatze> yes, I use bundle exec.
rodfersou has joined #ruby
TheWhip has joined #ruby
tockitj has quit [Ping timeout: 240 seconds]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
astrobunny has joined #ruby
linc01n has joined #ruby
blackjid has joined #ruby
wookiehangover has joined #ruby
waxjar has joined #ruby
bf4 has joined #ruby
astrobunny has quit [Remote host closed the connection]
rodfersou has quit [Client Quit]
<[k-> hi adaedra
<[k-> did you like the ping?
<bougyman> i feel so dirty: stanza_data = Hash[default_stanza[0].each_line.map { |n| var,val = n.split(/\s*=\s*/); [var.strip,val.strip] if val }.compact]
<bougyman> times like this i wish ruby had an embedded awk
Rickmasta has joined #ruby
rodfersou has joined #ruby
tkiel_ has joined #ruby
tkiel has quit [Ping timeout: 255 seconds]
<yorickpeterse> `awk ....`
* yorickpeterse runs
linc01n has quit [Ping timeout: 240 seconds]
waxjar has quit [Ping timeout: 240 seconds]
bf4 has quit [Ping timeout: 240 seconds]
wookiehangover has quit [Ping timeout: 240 seconds]
blackjid has quit [Ping timeout: 240 seconds]
rodfersou has quit [Client Quit]
rodfersou has joined #ruby
rodfersou has quit [Client Quit]
Voker57 has joined #ruby
TheWhip has quit [Remote host closed the connection]
darkf has quit [Read error: Connection reset by peer]
nfk|laptop has joined #ruby
darkf has joined #ruby
tkiel_ has quit [Ping timeout: 255 seconds]
allezbluez has quit [Ping timeout: 265 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
<darix> bougyman: why awk?
TheWhip has joined #ruby
<bougyman> darix: because awk is built for this.
<darix> bougyman: how would you write it in awk?
tockitj has joined #ruby
Pathfinder_ has joined #ruby
reprazent has quit [Quit: Bye]
Balzrael has joined #ruby
vjdhama has joined #ruby
codenapper has quit [Ping timeout: 240 seconds]
psycho_one has joined #ruby
codenapper has joined #ruby
reprazent has joined #ruby
<bougyman> awk '/^default:/{defstanza=1}/^$/{defstanza=0}defstanza==1{vars[$1] = $3}END{stuff with vars}'
<bougyman> they key there is the auto field splitting.
tkiel_ has joined #ruby
<bougyman> which I know ruby _can_ do.
<bougyman> but it's ugly with $F (iirc?)
bronson has joined #ruby
phutchins has joined #ruby
<darix> $IF probably
<darix> $IFS i mean
<darix> so
<bougyman> no.
<darix> no?
decoponio has joined #ruby
<bougyman> lessee
dhjondoh has joined #ruby
<darix> ah you mean ruby -a
<bougyman> I mean you can run ruby in 'awk mode'
<bougyman> yeah
<bougyman> and you get this $F array of the fields.
<darix> but the only thing is ... it does $F = $_.split
<darix> and the stuff it splits on should be set with IFS
stamina has joined #ruby
zapata has quit [Ping timeout: 240 seconds]
<darix> google IFS is useless
<darix> anyway
dhjondoh has quit [Client Quit]
<bougyman> you even get BEGIN and END blocks in ruby in that mode
<bougyman> not just field splitting
<bougyman> what's lacking, though is the pattern { action } thing that makes awk purpose built for this stuff.
phutchins has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 265 seconds]
face has quit [Ping timeout: 265 seconds]
faces has joined #ruby
Worf has left #ruby ["Konversation terminated!"]
j4cknewt has joined #ruby
roxtrongo has quit [Remote host closed the connection]
apt-get has joined #ruby
kith_ is now known as kith
tkiel_ has quit [Ping timeout: 246 seconds]
bw has joined #ruby
sanjayu has joined #ruby
herbst has quit [Remote host closed the connection]
bruno- has joined #ruby
<gregf_> arup_r: https://gist.github.com/anonymous/dd7ddb6e301ba18caa1a <= this is a kind of a proxy :/
<gregf_> oops. was wondering where my chat disappeared :/
bw is now known as bw_
dhjondoh has joined #ruby
akemrir has joined #ruby
<akemrir> hi, is there possibility to talk to hid devices from ruby?
slackbotgz has joined #ruby
dhjondoh has quit [Client Quit]
Coldblackice has quit [Ping timeout: 246 seconds]
tkiel_ has joined #ruby
<arup_r> gregf_: thanks :)
pontiki has joined #ruby
dhjondoh has joined #ruby
pandaant has joined #ruby
lolmaus_ has quit [Ping timeout: 240 seconds]
bentanweihao has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krzkrz has quit [Quit: WeeChat 1.2]
zapata has joined #ruby
apt-get has quit [Read error: No route to host]
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
apt-get has joined #ruby
apt-get has quit [Remote host closed the connection]
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
linc01n has joined #ruby
wookiehangover has joined #ruby
waxjar has joined #ruby
blackjid has joined #ruby
bf4 has joined #ruby
emilkarl has joined #ruby
arup_r has quit [Ping timeout: 250 seconds]
bentanweihao has quit [Remote host closed the connection]
jmignault has joined #ruby
bentanweihao has joined #ruby
Xeago has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
<certainty> [k-: you're counting lunchtimes?
Kendos-Kenlen has quit [Remote host closed the connection]
dhjondoh has quit [Quit: dhjondoh]
bf4 has quit [Ping timeout: 240 seconds]
skade has joined #ruby
Xeago has quit [Remote host closed the connection]
tkiel_ has quit [Read error: Connection reset by peer]
gurix has quit [Quit: gurix]
tkiel_ has joined #ruby
linc01n has quit [Ping timeout: 240 seconds]
blackjid has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
waxjar has quit [Ping timeout: 240 seconds]
wookiehangover has quit [Ping timeout: 240 seconds]
UtkarshRay has quit [Remote host closed the connection]
tvw has joined #ruby
<[k-> yes
joncol has joined #ruby
<joncol> Hi, I've created a minimal test app using Sinatra, and a Rakefile. A call to "development?" returns true. How can I change to "production" mode?
Kendos-Kenlen has joined #ruby
allezbluez has joined #ruby
Xeago has joined #ruby
allezbluez has quit [Read error: Connection reset by peer]
allezbluez has joined #ruby
phutchins has joined #ruby
allezbluez has quit [Read error: Connection reset by peer]
rodfersou has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
reprazent has quit [Quit: Bye]
<canton7> joncol, how are you starting sinatra?
tkuchiki has quit [Remote host closed the connection]
drptbl has joined #ruby
arup_r has joined #ruby
vjdhama has quit [Remote host closed the connection]
absklb has quit [Quit: WeeChat 1.1.1]
iateadonut has joined #ruby
vjdhama has joined #ruby
sdothum has joined #ruby
peteykun has quit [Ping timeout: 272 seconds]
iamninja has quit [Read error: Connection reset by peer]
jgt3 has quit [Ping timeout: 246 seconds]
Igorshp has quit [Remote host closed the connection]
drewvanstone has joined #ruby
iamninja has joined #ruby
slackbotgz has quit [Remote host closed the connection]
slackbotgz has joined #ruby
rodfersou has quit [Quit: leaving]
DexterLB has joined #ruby
rodfersou has joined #ruby
platzhirsch has quit [Ping timeout: 240 seconds]
drewvanstone has quit [Ping timeout: 268 seconds]
rodfersou has quit [Client Quit]
rodfersou has joined #ruby
reprazent has joined #ruby
slayerja_ has joined #ruby
tomphp has joined #ruby
Spami_ has quit [Quit: This computer has gone to sleep]
shlomo has quit [Quit: WeeChat 1.3]
suchness has joined #ruby
slayerjain has quit [Ping timeout: 256 seconds]
<suchness> I have a method, :restrictions, and I want to create a variable in there called :restrictions, I feel like somewhere I saw a weird variable prefix that made the difference clear, does anyone know what I am talking about?
casadei has joined #ruby
bronson has joined #ruby
<jhass> no
<suchness> I am not sure I know what I am talking about either.
freezevee has joined #ruby
<jhass> local_variable_or_method, @instance_variable, @@class_variable, $global_or_pseudo_global_variable, Constant
<jhass> :symbol, that's a value and not an identifier
TheWhip has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 252 seconds]
casadei has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
syath has joined #ruby
roxtrongo has joined #ruby
linduxed has joined #ruby
jgt3 has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
<suchness> That restrictions method returns an array, the items are stored in a database, but they have an object representation in the code. I am just wondering how to remain clear, without prepending a '_' to the restrictions variable because I think that's ugly.
felixrsmith has joined #ruby
<suchness> Additionally, :restrictions= is also a setter in the class, so this restrictions variable makes it all the more confusing.
Spami has quit [Client Quit]
encoded73 has joined #ruby
<joncol> ghr, thanks for the link
<jhass> suchness: that's a quite horrible approach tbh
quazimodo has joined #ruby
<suchness> I think so too.
gurix has joined #ruby
<suchness> But I am not really sure how to improve it.
<suchness> Actually, I am sure.
<jhass> it bursts method caches all the time
<encoded73> pat
<suchness> How do you mean?
<encoded73> part
encoded73 has left #ruby [#ruby]
<jhass> suchness: ruby caches method lookup, that is looking up on which item of the ancestor chain a method is defined
<jhass> defining a new method voids those caches
<jhass> so doing it at program runtime is a bad idea
<suchness> jhass: I am very open to improving how I am doing this. Any idea?
<jhass> can't these just go into whatever class restriction is?
<jhass> I don't know why you would define them for each instance
jmignault has quit [Remote host closed the connection]
<suchness> Well. super is essentially nothing more than a plain array.
<jhass> if you don't own the code use SimpleDelegator or some other wrapper class
TheWhip has joined #ruby
<suchness> jhass: Each object in the array is {:class => SomeRestrictionClass, :parameters => {:some => :build, :para => :meters}}
<jhass> so just push new keys?
<jhass> why do you need to define methods on them?
<jhass> or as said do a wrapper class
mary5030 has joined #ruby
<suchness> This array of restrictions lives in an "Offer" class.
nami has left #ruby ["Leaving..."]
<jhass> how does that change anything?
<suchness> I want to be able to do offer.restrictions.objects, and have each representation of a restriction object build itself based on its class.
<jhass> so do a wrapper class
moeabdol has joined #ruby
<jhass> Restrictions.new super.map {|restriction| Restriction.new(restriction) }
<suchness> Hmm
<suchness> I see what you mean.
Meow-J has quit [Quit: Connection closed for inactivity]
<suchness> The issue with that is, I don't want this to occur every time I access restrictions
Igorshp has joined #ruby
<suchness> The object representation is really only for the views, basically restrictions.objects.first.message == "You may not accept this because user3 did'
mary5030 has quit [Remote host closed the connection]
<suchness> The rest of the code relys on the raw representation with no objects.
bmurt has quit []
krisquigley has quit [Remote host closed the connection]
mary5030 has joined #ruby
devoldmx has joined #ruby
<suchness> But I see what you are getting at, I will have to look it over again and see how I can improve it with your concerns in mind.
<suchness> Thanks!
krisquigley has joined #ruby
Burgestrand has joined #ruby
mary5030_ has joined #ruby
yitsushi has joined #ruby
slackbotgz has quit [Remote host closed the connection]
joncol has quit [Quit: leaving]
<suchness> I suppose I could just write a new restriction_objects method. But it seems redundant somehow.
oddmunds1 is now known as oddmunds
mary5030 has quit [Ping timeout: 240 seconds]
UtkarshRay has joined #ruby
Timba-as has joined #ruby
<maloik> [k-: lunchtime list? wat?
krisquigley has quit [Ping timeout: 246 seconds]
<suchness> Or just create a presenter for the views...
<suchness> Bleh
Xeago has quit [Remote host closed the connection]
ldnunes has joined #ruby
gurix has quit [Quit: gurix]
Xeago has joined #ruby
bentanweihao has quit [Remote host closed the connection]
<jhass> suchness: check the presenter pattern
bentanweihao has joined #ruby
<jhass> oh, too slow :D
kraljev11 has joined #ruby
<jhass> didn't fully read up, sorry
devoldmx has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<suchness> haha, no worries!
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
<izzol> I have a simply sinatra API, so far only something like '/all' (GET) which is calling my method. I have a result in json but it's in one line. I mean there is no new line there so it's hard to see the output.
<izzol> There is a simply way to have the output with new lines?
<jhass> izzol: there are browser plugins to prettify it
<izzol> maybe I'm doing something wrong
<jhass> no, you should keep it that way, get a better viewer
<izzol> jhass: I was thinking to just use curl
lolmaus_ has joined #ruby
<jhass> pipe it to json_pp or whatever then
<jhass> or get httpie
<izzol> ok
<izzol> thanks
beauby has joined #ruby
yitsushi is now known as yitsushi^away
tomphp has quit [Client Quit]
yitsushi^away is now known as yitsushi
<izzol> works fine with JSON.pretty_generate() :-)
Anti-Pizza has left #ruby ["Leaving"]
<jhass> but don't do it
<jhass> you waste bytes
<jhass> besides the conceptual issues of caring about visual presentation in an API route, ugh
RegulationD has joined #ruby
nzst has joined #ruby
sgambino has joined #ruby
A124 has quit [Quit: '']
A124 has joined #ruby
emilkarl has quit [Quit: emilkarl]
RegulationD has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
j4cknewt has quit [Remote host closed the connection]
charliesome has quit [Client Quit]
charliesome has joined #ruby
<awk> yes?
<awk> bougyman: you called?
_el_fer_ has joined #ruby
<gregf_> and now.. we have a bot for awk :|
tkiel_ has quit [Ping timeout: 265 seconds]
arup_r has quit [Remote host closed the connection]
subshad has joined #ruby
tvw has quit []
sepp2k has joined #ruby
asxbr has joined #ruby
stamina has quit [Quit: WeeChat 1.3]
Silex^^ is now known as Silex
memnon34 has joined #ruby
atomical has joined #ruby
memnon34 has quit [Client Quit]
scripore has joined #ruby
iateadonut has quit [Quit: Leaving.]
gurix has joined #ruby
<bougyman> awk :o
Kallis has joined #ruby
gurix has quit [Client Quit]
mdih has joined #ruby
arup_r has joined #ruby
memnon34 has joined #ruby
prestorium has joined #ruby
jas02 has joined #ruby
jenrzzz has joined #ruby
arup_r_ has joined #ruby
casadei has joined #ruby
Silox| has joined #ruby
Mon_Ouie has joined #ruby
pontiki has quit [Ping timeout: 268 seconds]
vjdhama has quit [Ping timeout: 265 seconds]
syath has quit [Ping timeout: 240 seconds]
vjdhama has joined #ruby
andyrs has joined #ruby
arup_r has quit [Ping timeout: 240 seconds]
tkuchiki has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Rickmasta has joined #ruby
casadei has quit [Ping timeout: 265 seconds]
krisquigley has joined #ruby
mary5030_ has quit [Remote host closed the connection]
bkulbida has joined #ruby
Kallis has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
p0wn3d__ has joined #ruby
DrCode has joined #ruby
jcromartie has joined #ruby
darkxploit has quit [Read error: Connection reset by peer]
howdoi has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
jmignault has joined #ruby
drptbl_ has joined #ruby
mary5030 has quit [Ping timeout: 246 seconds]
Mon_Ouie has quit [Ping timeout: 240 seconds]
drptbl has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Remote host closed the connection]
ejnahc has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
ericjphillips has joined #ruby
drptbl_ has quit [Max SendQ exceeded]
startupality has joined #ruby
ejnahc has joined #ruby
drptbl has joined #ruby
phutchins has quit [Quit: WeeChat 1.1.1]
zlogan has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
michael_mbp has quit [Excess Flood]
Mon_Ouie has joined #ruby
jmignault has quit [Quit: rcirc on GNU Emacs 24.5.1]
quazimodo has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby
dstarh has joined #ruby
bazbing80 has quit [Quit: Lost terminal]
jmignault has joined #ruby
Thib has joined #ruby
aswen has joined #ruby
roxtrongo has quit [Remote host closed the connection]
michael_mbp has joined #ruby
to_json has joined #ruby
yottanami has joined #ruby
<yottanami> Here is a sample XML http://dpaste.com/0T91JYF and I need to parse it to find the result of messageId and I used this code https://gist.github.com/yottanami/d4c691fab494c6c5a61e but it can not find
<yottanami> How can I do it?
zlogan has quit [Ping timeout: 244 seconds]
treehug88 has joined #ruby
bmurt has joined #ruby
victortyau has joined #ruby
TheWhip has quit [Remote host closed the connection]
cornerma1 has joined #ruby
rocknrollmarc has joined #ruby
rocknrollmarc has quit [Client Quit]
rocknrollmarc has joined #ruby
eGGsha has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang65 has joined #ruby
syath has joined #ruby
jenrzzz has joined #ruby
Kendos-Kenlen has quit [Ping timeout: 246 seconds]
cornerman has quit [Ping timeout: 268 seconds]
zlogan has joined #ruby
cornerma1 is now known as cornerman
yitsushi is now known as yitsushi^away
yitsushi^away is now known as yitsushi
dravine has joined #ruby
Kendos-Kenlen has joined #ruby
eosinx has joined #ruby
rbennacer has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
Burgestrand has quit []
Wolland has quit [Remote host closed the connection]
yitsushi is now known as yitsushi^away
rbennacer has quit [Remote host closed the connection]
Igorshp has quit [Remote host closed the connection]
<yottanami> Is any tools to find a tag in a xml?
rbennacer has joined #ruby
yitsushi^away is now known as yitsushi
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gurix has joined #ruby
nfk|laptop has quit [Quit: yawn]
felixrsmith has quit [Quit: Konversation terminated!]
beast has joined #ruby
moeabdol has quit [Quit: WeeChat 1.3]
marr has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
bruno- has quit [Ping timeout: 250 seconds]
gurix has quit [Client Quit]
JDiPierro has joined #ruby
<arup_r_> yottanami: nokogiri gem
yitsushi is now known as yitsushi^away
jordanm has joined #ruby
startupality has quit [Quit: startupality]
<suchness> I have a a proc that accepts an argument. Is it possible to do the map(&MY_PROC) ?
<suchness> shorthand
startupality has joined #ruby
<suchness> Oh wait that calls to proc on the receiver
gusTester has joined #ruby
<jhass> yottanami: the path is soapenv:Envelope/soapenv:Body/soapenv:Fault/detail/ns1:ServiceException/messageId, properly formatting the XML would help seeing that
<jhass> yottanami: what's XML?
<yottanami> jhass, I found it tnx
<yottanami> my problem solved using message = content.find_first('//messageId')
<jhass> (the module/class)
<yottanami> I just add another /
CloCkWeRX has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
startupality has quit [Client Quit]
drptbl_ has joined #ruby
evanjs has joined #ruby
psk17_ has quit [Read error: Connection reset by peer]
arup_r_ has quit []
tomphp has joined #ruby
quazimodo has joined #ruby
ejnahc has quit [Remote host closed the connection]
tomphp has quit [Client Quit]
tomphp has joined #ruby
ejnahc has joined #ruby
whippythellama has joined #ruby
drptbl has quit [Ping timeout: 252 seconds]
gustav_ has quit [Remote host closed the connection]
yitsushi^away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgpawletko has joined #ruby
gremly has quit [Quit: WeeChat 0.3.2]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
memnon34 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
startupality has joined #ruby
charliesome has joined #ruby
<j416> if I've a gem that has rake tasks, but I need the gem to be configured before use, what would be a good way to go about it?
jgt3 has quit [Ping timeout: 240 seconds]
tomphp has quit [Client Quit]
<j416> it's merely a collection of methods on a module, the only state is configuration
`tim` has joined #ruby
<jhass> I'd still extract the task contents into classes so that they become task :foo do; FooTask.new; end,
j4cknewt has joined #ruby
<jhass> then the initialize can do MyGem.check_configured! or whatever
tomphp has joined #ruby
gizmore has joined #ruby
<j416> hm
yitsushi has joined #ruby
yitsushi has quit [Client Quit]
<JoshL> j416: Make it generate the tasks a la RSpec
<j416> JoshL: that's interesting
jmignault has quit [Quit: rcirc on GNU Emacs 24.5.1]
<j416> JoshL: will investigate
<jhass> Rake::TestTask might be worth looking into too
jmignault has joined #ruby
<eosinx> For Test/Unit assertions, do I always have to write classes?
moeabdol has joined #ruby
<jhass> minitest has a spec DSL too
jmignault has quit [Client Quit]
<eosinx> by the way, when my parent (MDArray) class doesn't have Foo.new(), how do I initialize @instance variables?
jmignault has joined #ruby
<jhass> you don't?
<jhass> I don't think I fully follow the question
j4cknewt has quit [Ping timeout: 246 seconds]
<eosinx> situation is this:
<eosinx> I'd like to define some self.methods to MDArray
slayerja_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eosinx> But initialization starts with MDMatrix.float(yaddadahaa)
<jhass> ?code
<ruboto> We can't help you without your code, please post it to https://gist.github.com
The_Phoenix has joined #ruby
Xeago has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
Rickmasta has joined #ruby
<j416> thanks jhass, JoshL. Will figure something out.
<eosinx> ruboto: oh, you're the writer of MDArray, right?
<jhass> ?ruboto
<ruboto> I'm the channel bot, linker of the rules, adept of the facts, wielder of the banhammer.
jmignault has quit [Client Quit]
<JoshL> j416: https://gist.github.com/jlindsey/b8ffbd2d899fcbe7ec9e is what a Rakefile would look like btw, if you've never used the RSpec task (or one like it) before
jmignault has joined #ruby
<j416> JoshL: thanks. Not very helpful in this case I think; I want all tasks predefined
jeaye is now known as jank
<jhass> j416: following https://github.com/bundler/bundler/blob/master/lib/bundler/gem_tasks.rb might give some inspiration too
_el_fer_ has quit [Quit: Leaving]
stamina has joined #ruby
malconis has joined #ruby
jank is now known as jeaye
<jhass> ?justabot
<ruboto> I'm just a bot. You don't need to address me.
<jhass> eosinx: why would you subclass anything?
bentanweihao has quit [Remote host closed the connection]
<j416> ty
<eosinx> jhass: I actually like to learn how to write unit tests with shoulda ...
memnon34 has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
<jhass> creating a class does not demand creating a subclass of code you're calling currently
<eosinx> no?
<jhass> just wrap it in a class
scripore has quit [Quit: This computer has gone to sleep]
CloCkWeRX has quit [Ping timeout: 246 seconds]
jgpawletko has left #ruby [#ruby]
<eosinx> but how would I test pieces and steps in the proceduer?
<jhass> by extracting them to methods on your class
memnon34 has quit [Client Quit]
vjdhama_ has joined #ruby
vjdhama has quit [Read error: Connection reset by peer]
<jhass> class PageRank; def initialize; setup_ivars; end; def pagerank; compute_a; compute_b; compute_c; return_pagerank; end; end;
bronson has joined #ruby
jgpawletko has joined #ruby
<eosinx> arr, then I don't udnerstand test-driven dev...
<jhass> also unit tests shouldn't test a particular implementation, they should test that there's a specific outcome given some input parameters
einarj has quit [Ping timeout: 250 seconds]
<eosinx> jhass: line 9 to 14 are input parameters
blaxter has quit [Quit: foo]
<eosinx> so I would put these into the unit tests, rght?
einarj has joined #ruby
jmignault has quit [Quit: day off]
<jhass> pagerank = PageRank.new(data); expect(pagerank.rank).to eq 23
<jhass> pagerank = PageRank.new(other_data); expect(pagerank.rank).to eq 42
chthon has joined #ruby
<jhass> think about the edge cases for your algorithm and 2-3 usual cases
<jhass> get verified correct results for those input parameters and write tests expecting them
vjdhama has joined #ruby
allcentury has joined #ruby
vjdhama_ has quit [Ping timeout: 246 seconds]
<eosinx> isn't it possible to solely test, say, compute_a, first?
bronson has quit [Ping timeout: 255 seconds]
<jhass> possible, yes, does it make sense if it's not part of the outcome a user of your library would care about? no
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
<jhass> the unit in unit tests is the public API of an isolated component
<eosinx> aha,
jgt3 has joined #ruby
<eosinx> I thought these tests serve to check step-by-step development of parts, like compute_a, compute_b etc.
slayerjain has joined #ruby
<jhass> "test that the class with these conditions exposes this behavior" opposed to "test that the parts of this component/system achieve X when working together" for a integration test
casadei has joined #ruby
slayerjain has quit [Max SendQ exceeded]
<jhass> yes, many people get too small units in their unit tests
lkba has joined #ruby
TheWhip has joined #ruby
vjdhama has quit [Ping timeout: 252 seconds]
<jhass> you don't care about how something is achieved, you care that it is achieved
<eosinx> I see
skade has quit [Quit: Computer has gone to sleep.]
aswen has quit [Ping timeout: 260 seconds]
vjdhama has joined #ruby
<jhass> in your tests take the perspective of the user of your library/algorithm, that is the evil user that knows your code and the code paths that lead to wrong behavior
slayerjain has joined #ruby
<jhass> make sure those code paths are hit, but don't hit them explicitly, just with what a regular user has at hand too
bigkevmcd has quit [Quit: Outta here...]
slayerjain has quit [Max SendQ exceeded]
rocknrollmarc has quit []
freerobby has joined #ruby
<eosinx> so, simply plugin a variety of input data, and pretend that the sausage machine is a black box ...
<jhass> expect { PageRank.new(-1) }.to raise_error ArgumentError, /invalid data/
<jhass> you can be very knowledgeable about those parameters, but yes
sanjayu has quit [Ping timeout: 246 seconds]
slayerjain has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nofal has joined #ruby
RobertBirnie has joined #ruby
<eosinx> okay, sounds lazy, but what the better source to the many ways to write assertions and expectations
<jhass> what you want to ensure with tests is that if you change your class, like say you find a more efficient, or cleaner code wise, way to do things, the users of your library don't have to care, they can continue using your stuff as is
nofal has left #ruby [#ruby]
<jhass> TDD simply takes that verification step to the point before you have any actual implementation
drewvanstone has joined #ruby
<jhass> basically taking the role of a user that wishes for a certain API
<eosinx> okay, same input, same output, regardless of implementation
andyrs has quit [Quit: I'm leaving now, bye.]
jcromartie has joined #ruby
CloCkWeRX has joined #ruby
<jhass> yes
akemrir has quit [Quit: WeeChat 1.3]
<shevy> I love you people!
<eosinx> sounds like reproducable science
<jhass> pretty much
tomphp has quit [Read error: Connection reset by peer]
<jhass> as said choosing inputs that are hard to handle for your algorithm is fine, you can be knowledable about that aspect in your test
tomphp has joined #ruby
sgambino has joined #ruby
<eosinx> okay, recap: line 9-14 becomes the def initialize, the rest could be wrapped in one big method, right?
kobain has joined #ruby
<jhass> that can be a start, yes
<jhass> then write tests
Burgestrand has joined #ruby
<jhass> then start rearranging the code, extracting small private methods etc
<eosinx> wait wait, what you mean?
<eosinx> by private methods
drewvanstone has quit [Ping timeout: 260 seconds]
<jhass> >> class Foo; def foo; @foo ||= compute_foo; end; private; def compute_foo; 42*23; end; end; Foo.new.foo
<ruboto> jhass # => 966 (https://eval.in/439482)
<jhass> >> class Foo; def foo; @foo ||= compute_foo; end; private; def compute_foo; 42*23; end; end; Foo.new.compute_foo
<ruboto> jhass # => private method `compute_foo' called for #<Foo:0x41e57e50> (NoMethodError) ...check link for more (https://eval.in/439483)
aswen has joined #ruby
voltalio has joined #ruby
<jhass> foo is the public interface, what you care about in your tests
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
duggiefresh has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> that doesn't mean you shouldn't keep your methods small & on the same level of abstraction
allcentury has quit [Ping timeout: 252 seconds]
ta has quit [Remote host closed the connection]
freerobby has joined #ruby
<jhass> oh btw
<jhass> >> 6.times do |i| print i; end; puts
<ruboto> jhass # => 012345 ...check link for more (https://eval.in/439484)
ndrei has joined #ruby
charliesome has joined #ruby
drptbl_ has quit [Quit: My MAC has gone to sleep. zZz..]
nfk|laptop has joined #ruby
<eosinx> you mean I should replace the counter at the bottom
<jhass> yeah, times does it for you
freerobby has quit [Client Quit]
<eosinx> okay, however the actual code will run until some measure is smaller than an epsilon number
<jhass> also consider longer variable names
<eosinx> 6.times do is just there to check whether it runs the first few meters
devoldmx has joined #ruby
<eosinx> I mean line 32 is the actual thing
rippa has joined #ruby
<eosinx> if you want to dig into the pagerank, I can give you a (free dl) chapter that explains everything
ehth77 has joined #ruby
ebragapa_ has joined #ruby
<jhass> SEO is largely clairvoyance ;P
youngbaks has joined #ruby
<eosinx> uhm I don't do that for SEO
startupality has quit [Quit: startupality]
<jhass> so it's not supposed to be Google's pagerank?
<eosinx> it actually is, but once you plugin other data than web link, it's no longer about SEO
<eosinx> or search ranks, alltogether.]
devoldmx has quit [Ping timeout: 252 seconds]
<jhass> see and I'm sure Google long changed it before any details about any version can get any sort of public
karapetyan has joined #ruby
NeverDie has joined #ruby
asxbr has quit [Ping timeout: 252 seconds]
<eosinx> this is the version from the publicished science journal article and it's been taught in CS classes
<eosinx> so I got that from the wizzards of Stanford uni
<jhass> so probably the 2004 or 2002 version ;P
stamina has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
freerobby has joined #ruby
<eosinx> that's right, it's not the complete seaarch algorithm, it's only the RANKing of results
memnon34 has joined #ruby
<jhass> yes, I'm talking only about that part
SOLDIERz has quit [Ping timeout: 256 seconds]
<eosinx> well yes, I find it academically very interesting, because there are other ways to get a rank order, too
vjdhama has quit [Ping timeout: 244 seconds]
ebragapa_ has quit [Remote host closed the connection]
<eosinx> so having two, three ways to tackle this ranking problem gives you options .. (once the code is running and tested :)
youngbaks has quit [Ping timeout: 260 seconds]
<jhass> sure
<eosinx> I haven't plowed the literature on updates and changes
vjdhama has joined #ruby
freezevee has quit [Remote host closed the connection]
<eosinx> I'm sure there were some smart folks making this algo even smarter
<eosinx> depending on the actual problem, you always need to customize parts of it, I heard some folks used it in epidemiology
dhollinger has joined #ruby
prestorium_ has joined #ruby
NeverDie has quit [Quit: http://radiux.io/]
<eosinx> and if you want to start SEO ... I guess your prob is not about knowing how the ranking wors, but getting the actual hyperlinks to you
ramfjord has quit [Ping timeout: 265 seconds]
bigkevmcd has joined #ruby
ericjphillips has quit [Quit: Leaving.]
<eosinx> jhass: okay, thanks you made my day, actually ... will write the test code later the day ... will see what happens (if MDArray doesn't break again ... )
<jhass> I just find those people thinking they know everything about it, uhm, amusing ;)
<jhass> hf
zlogan85 has joined #ruby
<eosinx> are you a regular here, then I can report back, if you're interested
zlogan has quit [Ping timeout: 272 seconds]
<jhass> kinda, not too interested on the algorithm, but if you want some codereview sure come back ;)
prestorium has quit [Ping timeout: 255 seconds]
hinbody has joined #ruby
<eosinx> you're such a good guy ... who knew the IRC is such a helpful place
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrCode has quit [Remote host closed the connection]
riotjone_ has quit [Quit: Leaving...]
vjdhama has quit [Read error: Connection reset by peer]
nfk|laptop has quit [Quit: yawn]
Igorshp has joined #ruby
vjdhama has joined #ruby
abuzze has quit [Remote host closed the connection]
_el_fer_ has joined #ruby
ebragaparah has joined #ruby
TheWhip has quit [Remote host closed the connection]
anaeem1 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
youngbaks has joined #ruby
anaeem1 has quit [Client Quit]
last_staff has quit [Quit: last_staff]
charliesome has joined #ruby
jas02 has quit [Quit: jas02]
bentanweihao has joined #ruby
dopamean_ has quit [Ping timeout: 260 seconds]
ebragaparah has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
Burgestrand has quit []
AntonioPls has joined #ruby
AntonioPls has quit [Client Quit]
bentanwe_ has joined #ruby
DrCode has joined #ruby
slayerjain has quit [Quit: Textual IRC Client: www.textualapp.com]
ehth77 has quit [Ping timeout: 240 seconds]
<izzol> ehh, I was thinking I almost done it, and now I see I need to rewrite it. :<
jobewan has joined #ruby
prestorium__ has joined #ruby
TheWhip has joined #ruby
My_Hearing has joined #ruby
pandaant has quit [Quit: Lost terminal]
bentanweihao has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
aaeron has joined #ruby
gplex has joined #ruby
Burgestrand has joined #ruby
<gplex> Inside a ruby class, self is the class... but then when we define methods inside the class why do they become instance methods and not class methods?
prestorium__ is now known as prestorium
karapetyan has quit [Remote host closed the connection]
aaeron1 has joined #ruby
<Sou|cutter> gplex: how else would you want to define instance methods?
prestorium_ has quit [Ping timeout: 240 seconds]
jobewan has quit [Ping timeout: 246 seconds]
platzhirsch has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
<gplex> Sou|cutter: Technically speaking, inside a class 'self' is the class itself so the methods defined there should be defined on self?
pandaant has joined #ruby
Mon_Ouie has quit [Ping timeout: 268 seconds]
<Burgestrand> gplex: because that's how def behaves.
<Sou|cutter> gplex: that doesn't answer my question
subshad has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Sou|cutter> it's because those method definitions need a place to go
<Burgestrand> gplex: if you change to the singleton class using "class << self" you'll get class methods instead, which again is consistent with how def behaves.
arup_r has joined #ruby
charliesome has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
<gplex> Well how does def behave then?
RegulationD has joined #ruby
<Sou|cutter> gplex: it sounds like you know how def behaves
Igorshp has quit [Remote host closed the connection]
aswen has quit [Quit: WeeChat 1.3]
<shevy> our old webchatter friend
aaeron has quit [Ping timeout: 268 seconds]
<Burgestrand> Gateway :)
<platzhirsch> woop
<Sou|cutter> but maybe you're thinking it's like calling self.def which it isn't. It's a ruby keyword with a well-defined behavior
<gplex> Sou|cutter: Yeah that was what I was thinking...how does it behave then?
<Sou|cutter> it defines an instance method on the receiver
bronson has joined #ruby
vjdhama has quit [Ping timeout: 260 seconds]
chouhoul_ has joined #ruby
<Sou|cutter> and the 'why' is something of a tautology. If that's not what it did, then how would you do that?
dmolina1 has joined #ruby
dopamean_ has joined #ruby
<gplex> Sou|cutter: But isn't the reciver self inside the class, which is the class itself?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vjdhama has joined #ruby
ebragaparah has joined #ruby
meatherly has joined #ruby
<[k-> def defines a method on the instances of the class
<Sou|cutter> defines an _instance_ method on the receiver
dopie has joined #ruby
blackmesa has joined #ruby
charliesome has joined #ruby
rethi has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
dmolina has quit [Ping timeout: 272 seconds]
ljarvis has quit [Ping timeout: 264 seconds]
<[k-> there is no class methods, those are class instance methods
<[k-> are*
ljarvis has joined #ruby
yitsushi has joined #ruby
<gplex> So def self.method inside a class defines a method inside the singleton class of the class?
rethi has joined #ruby
charliesome has quit [Client Quit]
Silox| has quit [Quit: Connection closed for inactivity]
<[k-> yes
bronson has quit [Ping timeout: 265 seconds]
yitsushi has quit [Max SendQ exceeded]
codenapper has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
code1o6 has joined #ruby
Fire1o6 has joined #ruby
Pumukel has quit [Ping timeout: 246 seconds]
drewvanstone has joined #ruby
pontiki has joined #ruby
suchness has quit [Remote host closed the connection]
pontiki has quit [Client Quit]
CloCkWeRX has quit [Ping timeout: 240 seconds]
<gplex> And when we include a module inside the class, does that define an "i class" whose methods table points to the methods table of the module?
<gregf_> [k-: isnt a class method and class instance method one and the same? o_O
rismoney1 has joined #ruby
freerobby has quit [Quit: Leaving.]
<rismoney1> I have an array of arrays: [["100", "group1"], ["200", "group1"], ["200", "group2"]] . I would like to consolidate it to [["100", "group1"], ["200", "group1,group2"]]. How can I do this?
<gregf_> [k-: cuz you're not calling the method on an instance?
jobewan has joined #ruby
<shevy> well one problem
<shevy> @@foo is called class variable right
memnon34 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<gregf_> >> class Foo; def self.bar; puts "Bar!";end;end; Foo.bar
<ruboto> gregf_ # => Bar! ...check link for more (https://eval.in/439572)
memnon34 has joined #ruby
<shevy> so we settled that class Foo; @foo = 42; end should be a class instance variable... or an instance variable residing on the class level
freerobby has joined #ruby
<gregf_> or is there a difference between Foo::bar and Foo.bar?
<shevy> but yeah I'd call the self.bar a class method
<Burgestrand> >> [["100", "group1"], ["200", "group1"], ["200", "group2"]].group_by(&:first).values
<ruboto> Burgestrand # => [[["100", "group1"]], [["200", "group1"], ["200", "group2"]]] (https://eval.in/439575)
<gplex> is a class variable same as an instance method of the class or are these two different things?
<Burgestrand> rismoney1: ^
<shevy> no Foo::bar and Foo.bar is the same, the Foo::bar() is the older way to call stuff
<gplex> an instance variable*
<Burgestrand> rismoney1: You'll have to take care of extracting the values by yourself, but that'll group your arrays by the first value.
speaking1ode has joined #ruby
karapetyan has joined #ruby
gurix has joined #ruby
<shevy> gplex how can a variable be the same as a method?
<gplex> typo, sorry.
<Burgestrand> rismoney1: You could build a hash from this instead if you'd rather have that, I guess.
kp666 has quit [Remote host closed the connection]
<gregf_> shevy: thanks
TheWhip has quit [Remote host closed the connection]
<gplex> class variable == class instance variable?
<rismoney1> Burgestrand I tried that initially, but i think i lost values due to dupe keys
Igorshp has joined #ruby
<shevy> I used to store things in CONSTANTS until I realized I could use @foo like in class Foo; @foo; end
dionysus69 has quit [Ping timeout: 240 seconds]
Kallis has joined #ruby
_el_fer_ has quit [Quit: Leaving]
Kallis has quit [Max SendQ exceeded]
jenrzzz has joined #ruby
poguez_ has joined #ruby
<Burgestrand> rismoney1: You don't do it using the solution I provided.
gplex has quit [Quit: Page closed]
<shevy> my colour-related module uses this for like Foo.disable_colours when I want output without colours (well, usually just ansi escape sequences... but you can use RGB values for kde konsole, which I like) http://shevegen.square7.ch/screenshot.png
<rismoney1> burgestrand your solution looks like it only wrapped things in another array.
Anti-Pizza has joined #ruby
<shevy> wrapped in a burger
<Burgestrand> rismoney1: Yes, grouped by your criteria.
<[k-> who called me?
<adaedra> nobody
ElvanorMoscow has joined #ruby
<[k-> apeiros: you called?
<ElvanorMoscow> Hello, I know next to nothing to Ruby. I installed gitlab accidentally while running sudo -u git -H bundle install --deployment --without development test mysql aws kerberos
<[k-> yesh, class methods and class instance methods are the same
<shevy> gregf_ called [k- in a letter of love!
<ElvanorMoscow> whereas I need mysql. How can I tell bundler to remove the information about mysql?
<ElvanorMoscow> Now it won'"t install the mysql gem
<gregf_> >> [["100", "group1"], ["200", "group1"], ["200", "group2"]].inject(Hash.new){ |h,a| h.key?(a[0]) ? h[a[0]].push(a[1]) : h[a[0]] = [a[1]];h }
<ruboto> gregf_ # => {"100"=>["group1"], "200"=>["group1", "group2"]} (https://eval.in/439580)
<gregf_> rismoney1: ^^ ;)
<Burgestrand> >> [["100", "group1"], ["200", "group1"], ["200", "group2"]].each_with_object(Hash.new { |h, k| h[k] = [] }) { |(group, value), m| m[group].push(value) }
<ruboto> Burgestrand # => {"100"=>["group1"], "200"=>["group1", "group2"]} (https://eval.in/439581)
<gregf_> shevy: heh!
<Burgestrand> There's many ways to skin a cat!
freezevee has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
<[k-> what ugly code
<yorickpeterse> STOP TYPING, I'm trying to copy text darn it
<[k-> many lines pluleaseeee
<yorickpeterse> stupid terminal IRC clients
<Burgestrand> ElvanorMoscow: open .bundle/config, remove whatever you like :)
<ElvanorMoscow> Where is stored that information?
<ElvanorMoscow> Burgestrand: thanks
<beast> [["100", "group1"], ["200", "group1"], ["200", "group2"]].group_by{|x| x[0]}.map{|a,b| b.join(',').split(',').uniq }
<[k-> type type type
<yorickpeterse> ElvanorMoscow: rm Gemfile.lock
Kallis has joined #ruby
<yorickpeterse> ElvanorMoscow: then sudo -u git -H bundle install --deployment --without development test aws kerberos
bruno- has joined #ruby
<gregf_> [k-: i'm sure that can be done in just one loop ;)
<[k-> look at beast's elegant solution
TheWhip has joined #ruby
<[k-> you all failed except him!
tagrudev has quit [Remote host closed the connection]
<gregf_> beast? you dont mean yorickpeterse surely
<rismoney1> testing ;)
<beast> the Beast has arisen...
aganov has quit [Remote host closed the connection]
<yorickpeterse> gregf_: ?
<gregf_> ah - sorry saw h?(im|er) now :/
Hounddog has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
Kallis has quit [Read error: Connection reset by peer]
<yorickpeterse> yeah you can also just type him/her, saves you the regex :P
<yorickpeterse> nerds
<gregf_> yorickpeterse: sorry, just know you 'always' write the best code. so a guess ;)
<yorickpeterse> gregf_: I have no idea what you're referring to
<gregf_> yeah, my bad. ignore me :/
<yorickpeterse> heh
Kallis has joined #ruby
jgt3 has quit [Ping timeout: 265 seconds]
mary5030 has joined #ruby
rbennacer has quit [Remote host closed the connection]
<[k-> >> [["100", "group1"], ["200", "group1"], ["200", "group2"]].map { |a| Hash[a] }.reduce { |h, o| h.merge(o) { |k, v1, v2| [v1,v2] } }
<ruboto> [k- # => /tmp/execpad-9fca2d8e3241/source-9fca2d8e3241:2: warning: wrong element type String at 0 (expected a ...check link for more (https://eval.in/439582)
<[k-> :(
<[k-> hmm, i triggered how many warnings?
<gregf_> [k-: you have let us all down :/... badly
ebragaparah has quit [Remote host closed the connection]
<Burgestrand> Ha, I like this.
<Burgestrand> [["100", "group1"], ["200", "group1"], ["200", "group2"]].reduce({}) { |m, (group, value)| m.merge(group => value) { |k, o, n| o << "," << n } }
<Burgestrand> Darn.
<Burgestrand> Must have a shovel.
<Burgestrand> >> [["100", "group1"], ["200", "group1"], ["200", "group2"]].reduce({}) { |m, (group, value)| m.merge(group => value) { |k, o, n| o << "," << n } }
<ruboto> Burgestrand # => {"100"=>"group1", "200"=>"group1,group2"} (https://eval.in/439585)
casadei has quit [Remote host closed the connection]
<Burgestrand> [k-: I like the merge-block angle. :)
speaking1ode has quit [Ping timeout: 250 seconds]
dionysus69 has joined #ruby
<beast> It is fun typing in code here, but I prefer to learn on Codewars
<shevy> I type in code everywhere
<shevy> even on my cat
<[k-> such condense
<[k-> very wow
p0wn3d__ has quit [Ping timeout: 268 seconds]
prefixed has joined #ruby
rbennacer has joined #ruby
<ElvanorMoscow> NameError: uninitialized constant Grack::Bundle
<ElvanorMoscow> I now have that
<ElvanorMoscow> any idea?
yottanami has quit [Ping timeout: 252 seconds]
ebragaparah has joined #ruby
<rismoney1> burgestrand your last one consolidates the second element exactly how i need it (though its syntactically tough to read ;)
<[k-> i triggered 16 warnings!
<[k-> beat that, shevy!
<platzhirsch> observation, people in #node.js are also very friendly, answering every question
<Sou|cutter> Burgestrand: did you ever take a look at Representable ?
<Burgestrand> rismoney1: Split it over multiple lines, use better variable names, and don't give your homework to IRC ;)
<[k-> people use h for hash, not m for map!
<rismoney1> its not my homework- its a simplified example from a more complex data set i am parsing from script output
<Burgestrand> Sou|cutter: I did! It's an order (or two) of magnitude bigger than Serial, and has a slightly different angle since it also does object -> text (JSON/XML etc), and parsing, so it's a slightly different use-case but quite similar!
babysnoop has joined #ruby
<Burgestrand> Either way, got to go, got a 6-hour drive ahead of me.
Burgestrand has quit []
vjdhama has quit [Read error: Connection reset by peer]
quazimodo has quit [Ping timeout: 246 seconds]
<Sou|cutter> every time I chat with Burgestrand he leaves! Swedes...
ebragaparah has quit [Remote host closed the connection]
yitsushi has joined #ruby
yitsushi has quit [Max SendQ exceeded]
<[k-> i call this the shevy syndrome
<[k-> somehow shevy can code on his cat too
<[k-> i wonder how he does that
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Sou|cutter> cat = computer application terminal
wildlander has joined #ruby
vjdhama has joined #ruby
prestorium has quit [Quit: Leaving]
<[k-> ohhhh
<[k-> shevy has an actual cat though
<Sou|cutter> hehe
gustav_ has joined #ruby
<[k-> the other day he tried triggering something similar to the knee-jerk effect on his cat
startupality has joined #ruby
<[k-> it didnt work though
<ElvanorMoscow> Can someone help me with NameError: uninitialized constant Grack::Bundle ?
<ElvanorMoscow> I am stucj on this
<babysnoop> hi, im looking for a secure captcha gem, i see recaptcha is by far the most popular but it requires an google account (a company i dont trust). does anyone know of any non-google thats secure yet user friendly? thank you
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
p0wn3d__ has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
psycho_one has quit [Quit: WeeChat 0.4.2]
<gregf_> ofcourse ox0dea would write it better:
<gregf_> >> t = Hash.new { |h,v| h.key?(v[0]) ? h[v[0]].push(v[1]) : h[v[0]] = [v[1]] }; [["100", "group1"], ["200", "group1"], ["200", "group2"]].each{ |v| t[v] }; p t
<ruboto> gregf_ # => {"100"=>["group1"], "200"=>["group1", "group2"]} ...check link for more (https://eval.in/439599)
<[k-> ElvanorMoscow: provide full error log
<[k-> Ox0dea wouldn't use each
<[k-> so rudimentary
jgt3 has joined #ruby
<[k-> use higher level methods like map
Anti-Pizza has left #ruby ["Leaving"]
<ElvanorMoscow> [k-:
centrx has joined #ruby
banister has quit [Read error: Connection reset by peer]
<[k-> i have no idea what command you are running, but are you sure the gitlab-shell install task is running before gitlab?
blackmesa has joined #ruby
haroldwu has quit [Remote host closed the connection]
felixr has joined #ruby
jamesaxl has joined #ruby
haroldwu has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
peteykun has joined #ruby
circ-user-w9RZD has joined #ruby
banister has joined #ruby
NeverDie has joined #ruby
michaeldeol has joined #ruby
gurix has quit [Quit: gurix]
<shevy> Sou|cutter [k- what he meant is that he showed a video of a cat where you pull on one leg, then let go, and the leg kicks the chin of the cat multiple times
yfeldblum has joined #ruby
yottanami has joined #ruby
deject3d has joined #ruby
ngscheurich has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
gurix has joined #ruby
krz has joined #ruby
prefixed has quit [Remote host closed the connection]
<[k-> no, what you described is animal cruelty
<ElvanorMoscow> [k-: what do you mean?
<ElvanorMoscow> I have to install gitlab-shell
felixr has quit [Quit: Konversation terminated!]
<ElvanorMoscow> also now I am doing sudo -u git -H bundle install --deployment --without development test postgres aws kerberos
<ElvanorMoscow> and it says Could not locate Gemfile
<ElvanorMoscow> but there is a Gemfile in the current dir
<jhass> ElvanorMoscow: looks like a gitlab bug, ensure you're on the latest version and contact their support
[Butch] has joined #ruby
aaeron1 has quit [Quit: Leaving.]
<[k-> the cat's leg is pulled down abit
<jhass> ElvanorMoscow: can the git user read that file?
gustav_ has quit [Remote host closed the connection]
cmisenas_ has joined #ruby
cmisenas_ has left #ruby [#ruby]
<[k-> and the cat's other leg involutarily rises up and hits its cheeks
tomphp has quit [Max SendQ exceeded]
<jhass> ElvanorMoscow: actually -H sets the cwd to -u's home apparently
aaeron has joined #ruby
c0m0 has quit [Ping timeout: 255 seconds]
<[k-> the cat eventually got very annoyed and tried to hit the person doing it, but it just sat there
drptbl has joined #ruby
tomphp has joined #ruby
<jhass> ?ot [k-
<ruboto> [k-, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
ducklobster has joined #ruby
<gregf_> ?ot [k-
<ruboto> [k-, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
<ElSif> ?cookie
<ruboto> here's your cookie:
<gregf_> ?*
j4cknewt has joined #ruby
yottanami has quit [Ping timeout: 240 seconds]
j4cknewt has quit [Remote host closed the connection]
babysnoop has quit [Quit: Leaving]
<[k-> your face is ot!
treehug8_ has joined #ruby
prefixed has joined #ruby
bronson has joined #ruby
youngbaks has quit [Ping timeout: 252 seconds]
gurix has quit [Ping timeout: 264 seconds]
<ElvanorMoscow> jhass: I saw the problem, indeed, git user could not read the file
treehug88 has quit [Ping timeout: 240 seconds]
<ElvanorMoscow> jhass: but for the Grack::Bundle, yes looks like a gitlab bug
<ElvanorMoscow> strange, because I am just building exactly how they say
giuseppesolinas has joined #ruby
<jhass> gitlab is a complex project build on Ruby, you're asking #php for help with wordpress ;)
<jhass> or ##c for help with Gnome
vjdhama has quit [Ping timeout: 244 seconds]
casadei has joined #ruby
dopie has quit [Quit: Leaving]
sshuff|gone is now known as sshuff
<ElvanorMoscow> jhass: yeah, I see, but at this point I am not sure if it is indeed a bug in gitlab or my lack of knowledge of Ruby causing the problem
RTG` has quit [Ping timeout: 265 seconds]
<[k-> Sou|cutter the video was shared on ot just now
vjdhama has joined #ruby
<jhass> if they require you to know the ins and outs of Ruby in order to maintain it, I'd say the bug is at very least poor documentation
rodfersou is now known as rodfersou|lunch
centrx has quit [Remote host closed the connection]
scripore has joined #ruby
I has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
I is now known as Guest4665
RTG` has joined #ruby
j4cknewt has joined #ruby
Guest4665 has quit [Client Quit]
dopie has joined #ruby
gplex has joined #ruby
dfinninger has joined #ruby
gplex has quit [Client Quit]
drptbl has quit [Ping timeout: 240 seconds]
zlogan85 has quit [Ping timeout: 255 seconds]
Musashi007 has joined #ruby
lxsameer has quit [Quit: Leaving]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ineb has quit [Remote host closed the connection]
Soda has joined #ruby
nfk has joined #ruby
michaeldeol has joined #ruby
yottanami has joined #ruby
gurix has joined #ruby
dirtyonekanobi has quit [Quit: Connection closed for inactivity]
skade has joined #ruby
maasha has joined #ruby
centrx has joined #ruby
tarpits has joined #ruby
prestorium has joined #ruby
<maasha> I am experiencing what looks like a giant memory leak in ruby 2.2.3p173 - something leaks will querying a largish Hash a lot of times.
mjuszczak has joined #ruby
rbennacer has quit [Remote host closed the connection]
<maasha> *sob*
Mattickbot has joined #ruby
marr has joined #ruby
bu7ch has joined #ruby
devoldmx has joined #ruby
Jardayn has joined #ruby
Mattickbot has quit [Client Quit]
cisco has joined #ruby
Kendos-Kenlen has quit [Ping timeout: 264 seconds]
duggiefresh has quit [Remote host closed the connection]
tarpits has quit [Changing host]
tarpits has joined #ruby
gurix has quit [Quit: gurix]
kraljev11 has quit [Ping timeout: 268 seconds]
rcvalle has joined #ruby
BaroMeter has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
Alina-malina has quit [Ping timeout: 246 seconds]
TomyLobo has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
dmolina has joined #ruby
bluOxigen has joined #ruby
vjdhama has quit [Read error: Connection reset by peer]
dfockler has joined #ruby
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dmolina1 has quit [Ping timeout: 250 seconds]
Igorshp has quit [Remote host closed the connection]
Igorshp has joined #ruby
bu7ch has quit [Quit: Quitte]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
startupality has quit [Quit: startupality]
vjdhama has joined #ruby
Igorshp has quit [Remote host closed the connection]
MVPhelp has quit [Remote host closed the connection]
bentanwe_ has quit [Remote host closed the connection]
startupality has joined #ruby
noethics has joined #ruby
bazbing80 has joined #ruby
Igorshp has joined #ruby
<nzst> Hi, does anyone know how to setup a `rackup config.ru` as a service on debian?
<jhass> 7?
MVPhelp has joined #ruby
eosinx has left #ruby [#ruby]
Igorshp has quit [Remote host closed the connection]
amclain has joined #ruby
<jhass> nzst: systemd?
casadei has quit [Remote host closed the connection]
<nzst> jhass: yes, i'm not sure how to do that
<jhass> how did you install ruby & rack?
<noethics> #debian
startupality has quit [Client Quit]
RobertBirnie has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<nzst> jhass: a global ruby and a gem install of geminabox for rack
moeabdol has quit [Read error: Connection reset by peer]
<jhass> nzst: so which rackup is /usr/local/bin/rackup ?
<jhass> do you have a Gemfile?
JDiPierro has quit [Remote host closed the connection]
<nzst> jhass: no Gemfile, this is my rackup http://hastebin.com/viriwapaba.rb
moeabdol has joined #ruby
renderful has joined #ruby
spider-mario has joined #ruby
RobertBirnie has quit [Remote host closed the connection]
bricker has joined #ruby
<jhass> nzst: could you answer my question about the location?
<jhass> which rackup returns what?
<nzst> i'm sorry, I don't follow
<jhass> run `which rackup` or `command -v rackup`
banister has quit [Read error: Connection reset by peer]
<nzst> /usr/local/bin/rackup
<jhass> great
<nzst> interesting, let me give it a go
Dreamer3 has joined #ruby
treehug8_ has quit [Quit: Textual IRC Client: www.textualapp.com]
shredding has quit [Ping timeout: 264 seconds]
momomomomo has joined #ruby
treehug88 has joined #ruby
lulzmachine has joined #ruby
maasha has quit [Quit: Page closed]
ndrei has quit [Ping timeout: 255 seconds]
rbennacer has joined #ruby
tomchapin has joined #ruby
<bazbing80> Hi, there are sgr discrepencies between terminals according to wikipedia. sgr 21 can either mean Bold: off or Underline: Double, for example. Vastly different. How can my ruby program determine what terminal it's running in so as to employ the correct SGR codes? Is ENV['TERM'] sufficient? Because that gives me 'xterm' for my gnome terminal...I was hoping for 'gnome'...or are all terminals based on xterm (such as gnome) all the same as far as sgr co
allomov has quit []
hal_9000__ has joined #ruby
darkf has quit [Quit: Leaving]
karapetyan has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
<jhass> bazbing80: ENV['TERM'] should be enough, and yes something that reports xterm should behave like it
<jhass> I think in practice it's all like xterm these days
<adaedra> You should let this task to termcaps library though
RegulationD has quit [Remote host closed the connection]
<bazbing80> jhass: thanksies
<bazbing80> adaedra: termcaps?
hal_9000_ has quit [Ping timeout: 272 seconds]
<adaedra> A system libraries that knows what terminals are able to do what and how.
<adaedra> s/ies/y/
startupality has joined #ruby
yfeldblum has joined #ruby
<nzst> jhass: I get 'unrecognized service' when trying to use that, i must have missed a step to register it
<jhass> nzst: mmh no, as long as you used the right location the filename determines it
<bazbing80> adaedra: yes im a-googling...is it not a gem?
<jhass> nzst: make sure to put it into /etc/systemd/system/
ekain has joined #ruby
<bazbing80> adaedra: or is it something lower level that needs to be installed in the OS?
<jhass> so /etc/systemd/system/foo.service is controlled via systemctl start foo for example
<adaedra> bazbing80: it's a bit of a lower level. But yeah, looking for a gem to manipulate the terminal for you can be a good idea, instead of just inputting code.
Timba-as has quit [Quit: Be back later ...]
bazbing80 has quit [Quit: leaving]
jxv has joined #ruby
bazbing80 has joined #ruby
ndrei has joined #ruby
sshuff is now known as sshuff|gone
yardenbar has quit [Ping timeout: 272 seconds]
Rollabunna has joined #ruby
bazbing80 has quit [Client Quit]
yfeldblum has quit [Read error: Connection reset by peer]
xcesariox has joined #ruby
Musashi007 has quit [Quit: Musashi007]
kidoz has quit [Quit: Ухожу я от вас]
yfeldblum has joined #ruby
<jhass> nzst: you can also describe what you did exactly, for example by pasting your terminal scrollback to a gist and I can look if I see a mistake
Jackneill has joined #ruby
<nzst> jhass: cool, thanks, here's the relevant info http://hastebin.com/uyowahugak.rb
<jhass> nzst: are you sure you're using systemd? it'd be sudo systemctl start geminabox if so
<jhass> not sudo service
stan has quit [Ping timeout: 272 seconds]
momomomomo_ has joined #ruby
j4cknewt has quit [Remote host closed the connection]
danman has quit [Quit: danman]
dmolina has quit [Quit: Leaving.]
<nzst> systemctl: command not found
<jhass> interesting that you have that directory still
momomomomo has quit [Ping timeout: 265 seconds]
momomomomo_ is now known as momomomomo
<jhass> but yeah, your debian is not configured to systemd then I guess
peteykun has quit [Quit: Leaving]
lxsameer has joined #ruby
lxsameer has joined #ruby
<nzst> ok, i'll have to dig a bit deeper than
Kallis has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 240 seconds]
Kallis has joined #ruby
n008f4g_ has joined #ruby
maletor has joined #ruby
lsmola has quit [Ping timeout: 268 seconds]
mondayrain has joined #ruby
mondayrain has quit [Read error: Connection reset by peer]
dfinninger has quit [Remote host closed the connection]
dfinninger has joined #ruby
djbkd has joined #ruby
Igorshp has joined #ruby
Kendos-Kenlen has joined #ruby
bronson has joined #ruby
codecop has joined #ruby
Igorshp has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
ruby-lang046 has joined #ruby
danieli has joined #ruby
<ruby-lang046> join
karapetyan has joined #ruby
<ruby-lang046> help
silenc3r has joined #ruby
<Papierkorb> /quit - get money
silenc3r has left #ruby ["Leaving"]
<shevy> lol
<Papierkorb> /part - find awesome people
aaeron has quit [Read error: Connection reset by peer]
<shevy> webchatter!
<shevy> hey... are these magic commands Papierkorb?
yfeldblum has quit [Ping timeout: 240 seconds]
<jhass> shevy: try'em
krisquigley has quit [Remote host closed the connection]
* adaedra has quit IRC ( - get money)
bronson has quit [Ping timeout: 240 seconds]
<ruby-lang046> quit
<ruby-lang046> quit
krisquigley has joined #ruby
beauby has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
yfeldblum has joined #ruby
<shevy> lol
<[k-> >> abort
<ruboto> [k- # => exit (SystemExit) (https://eval.in/439690)
<[k-> :o abort returns an exception!
<[k-> .
<adaedra> ruby-lang046: stuck on the IRC?
<dfockler> Is there a way to get Date.today in UTC instead of local time?
<adaedra> Date.today.utc
karapetyan has quit [Ping timeout: 268 seconds]
skweek has quit [Client Quit]
<[k-> so intuitive!
<dfockler> Undefined method unfortunately
shinnya has joined #ruby
<adaedra> Oh?
<adaedra> &ri Time#utc, DateTime#utc, Date#utc
<adaedra> Ah ok
<dfockler> You can do Time.now.utc
<adaedra> Well, you can't UTC a Date
<[k-> date is stdlib, no?
<dfockler> Hmmm maybe I can turn my Time into a Date
tomphp has joined #ruby
<[k-> &ri Set
<adaedra> All are stdlib, [k-
<[k-> hm, such surprise
aaeron has joined #ruby
Igorshp has joined #ruby
Alina-malina has joined #ruby
ruby-lang046 has quit [Ping timeout: 246 seconds]
krisquigley has quit [Ping timeout: 252 seconds]
scripore has quit [Quit: This computer has gone to sleep]
tomphp has quit [Max SendQ exceeded]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drptbl has joined #ruby
tomphp has joined #ruby
Igorshp has quit [Remote host closed the connection]
tomphp has quit [Client Quit]
nettoweb has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby
matt_1234 has joined #ruby
<dfockler> Looks like it'll be Date.parse(Time.now.utc.to_s) :P
dlando has joined #ruby
casadei has joined #ruby
decoponio has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
frmendes has joined #ruby
dionysus69 has joined #ruby
jenrzzz has joined #ruby
<adaedra> Mh
<adaedra> &ri Time#to_date
Igorshp has joined #ruby
<adaedra> Grmbl, the doc has derped
rbennacer has quit [Remote host closed the connection]
<dfockler> I must be using an old version of ruby, I think #to_date is only in ActiveSupport
ruby-lang654 has joined #ruby
<adaedra> No it's not
<adaedra> But you need to require 'date'
<dfockler> ahh thanks
lxsameer has quit [Ping timeout: 240 seconds]
tejasmanohar has joined #ruby
<dfockler> sweet!
<[k-> >> require 'date'; Date.instance_methods(false).grep /utc/
<ruboto> [k- # => [] (https://eval.in/439701)
<[k-> i don't believe there isn't any utc function!
_blizzy_ has quit [Ping timeout: 256 seconds]
<dfockler> I think they wanted to keep it cleanly a date
lxsameer has joined #ruby
decoponio has joined #ruby
<dfockler> And dates don't have timezones
<dfockler> Otherwise you should be using Time
<[k-> dates shouldnt have time then
<dfockler> or DateTime
jenrzzz has quit [Ping timeout: 246 seconds]
<adaedra> Date don't have time
tarpits_ has joined #ruby
chthon has quit [Quit: Ex-Chat]
beast has quit [Quit: Leaving]
tarpits has quit [Ping timeout: 256 seconds]
devoldmx has joined #ruby
yqt has joined #ruby
<[k-> i dont deal with time anyway
<craysiii> time deals with you
<[k-> in soviet Russia, time deals you
duggiefresh has joined #ruby
tarpits_ has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 250 seconds]
bigkevmcd has quit [Quit: Outta here...]
voltalio has joined #ruby
j4cknewt has joined #ruby
nik_-_ has joined #ruby
petricore has joined #ruby
cisco has quit [Quit: Leaving.]
devoldmx has quit [Ping timeout: 255 seconds]
duggiefr_ has joined #ruby
charliesome has joined #ruby
duggiefresh has quit [Read error: Connection reset by peer]
charliesome has quit [Client Quit]
ndrei has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
giuseppesolinas has joined #ruby
giuseppesolinas_ has joined #ruby
lolmaus_ has quit [Ping timeout: 240 seconds]
Gnomethrower has quit [Quit: Textual IRC Client: www.textualapp.com]
dfinninger has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 240 seconds]
soosfarm has quit [Quit: ZNC - http://znc.sourceforge.net]
soosfarm has joined #ruby
Macaveli has joined #ruby
jgt3 has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
Igorshp has quit [Remote host closed the connection]
Kallis has quit [Read error: Connection reset by peer]
Outlastsheep has quit [Ping timeout: 246 seconds]
deject3d has quit [Quit: Computer has gone to sleep.]
startupality has quit [Quit: startupality]
pauly_oc has joined #ruby
startupality has joined #ruby
rodfersou|lunch is now known as rodfersou
momomomomo has quit [Quit: momomomomo]
gusTester has left #ruby [#ruby]
Kallis has joined #ruby
ndrei has joined #ruby
banister has joined #ruby
dfockler has quit [Remote host closed the connection]
mjuszczak has quit []
RegulationD has joined #ruby
vjdhama_ has joined #ruby
last_staff has joined #ruby
vjdhama has quit [Ping timeout: 250 seconds]
aerozeppelin has joined #ruby
dfockler has joined #ruby
banjara has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
PhantomSpank has joined #ruby
nfk has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
circ-user-w9RZD has quit [Remote host closed the connection]
ebragaparah has joined #ruby
Musashi007 has quit [Quit: Musashi007]
ramfjord has joined #ruby
tkuchiki has joined #ruby
hanmac has joined #ruby
Timba-as has joined #ruby
UtkarshRay has quit [Ping timeout: 246 seconds]
JDiPierro has joined #ruby
SCHAAP137 has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
bf4 has joined #ruby
_blizzy_ has joined #ruby
wookiehangover has joined #ruby
waxjar has joined #ruby
<shevy> I want ruby as fast as C!
<pipework> shevy: rbx?
catbusters has joined #ruby
<pipework> Just write your program in C and expose it through ruby?
ramfjord has quit [Ping timeout: 268 seconds]
<wmoxam> shevy: Crystal
<wmoxam> ;)
tkuchiki has quit [Ping timeout: 246 seconds]
KensoDev has quit [Remote host closed the connection]
JDiPierro has quit [Ping timeout: 240 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has quit [Remote host closed the connection]
malconis has joined #ruby
<shevy> crystal needs aliases
blackjid has joined #ruby
<jhass> shevy: just write a macro that does them if you need them so badly
mary5030 has quit [Remote host closed the connection]
_blizzy_ has quit [Read error: Connection reset by peer]
<craysiii> ok im calling crystal sapphire now, alias problem solved :)
scoot has joined #ruby
chino_ has joined #ruby
<wmoxam> ;)
mary5030 has joined #ruby
jgt3 has joined #ruby
<jhass> I don't know what for, but well...
<chino_> from looking at docs for String#== http://ruby-doc.org/core-2.2.3/String.html#method-i-3D-3D it appears that .to_s should be called on the RHS then why doesn't things like "x"==:x or n=Time.now; n.to_s==n return true?
<shevy> jhass nope, won't be the same
<jhass> shevy: why not?
<shevy> jhass because then it's a modification I need to carry with in all projects distributed
otacon- has joined #ruby
<wmoxam> so?
<jhass> chino_: to_s != to_str
<shevy> wmoxam it's the same reason I don't monkey patch stuff and distribute it via gems
JDiPierro has joined #ruby
<jhass> besides
<jhass> >>> "x" === :x
<ruboto> jhass # => /tmp/execpad-dd5d31cbf3e0/source-dd5d31cbf3e0:2: syntax error, unexpected '>' ...check link for more (https://eval.in/439753)
<chino_> oh dam read it wrong
<jhass> >> "x" === :x
<ruboto> jhass # => false (https://eval.in/439754)
_blizzy_ has joined #ruby
<craysiii> who decided to call << shovel
<shevy> lol
<pipework> Maybe it's similar to 'chevron'.
<craysiii> genuinely curious
<shevy> it looks a bit like an unfinished shovel
vjdhama_ has quit [Read error: Connection reset by peer]
<shevy> should be more like <<---- or so
<prefixed> YO
<prefixed> is this valid syntax? return changed_count > 0 ? true : false
<craysiii> yes
paulcsmith has joined #ruby
<jhass> prefixed: looks like it, pointless though, > already returns true or false
<adaedra> but it's useless
mary5030 has quit [Ping timeout: 264 seconds]
<craysiii> if this was C++ you could just say return changed_count and cast as a bool :)
<chino_> what's the point of calling .to_str what does that even really do? docs says it just returns the receiver... rather confused... why #== call to_str but #eql? does not?
scoot has quit []
<prefixed> so then this
<prefixed> return changed_count > 0
<jhass> chino_: dunno, so you can do a fake string I guess. I doubt it's widely used in practice
<adaedra> prefixed: also, if it's the last line of your method, return is useless.
<craysiii> i don't think you need an explicit return
<jhass> prefixed: but yes
aaeron has quit [Quit: Leaving.]
UtkarshRay has joined #ruby
vjdhama has joined #ruby
leafybas_ has joined #ruby
bruno- has joined #ruby
bronson has joined #ruby
pandaant has quit [Remote host closed the connection]
andyrs has joined #ruby
<prefixed> adaedra i feel like we spoke about this yesterday
frmendes has quit [Quit: Textual IRC Client: www.textualapp.com]
<prefixed> isn't the whole purpose of ruby to be easier to understand?
<adaedra> wat
<prefixed> an explict return is more expressive than an implicit one
<adaedra> meh
<prefixed> hey man. it's true
<adaedra> ruby always return the last value calculated
banjara1 has joined #ruby
<craysiii> ruby implicitly returns the last line of a method / whatever
leafybasil has quit [Ping timeout: 264 seconds]
<prefixed> sure, but isn't the whole point of ruby to be expressive?
<adaedra> so you know that the last line is the result
araujo_ has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
leafybas_ has quit [Ping timeout: 268 seconds]
bruno- has quit [Ping timeout: 240 seconds]
<adaedra> `return` is here to indicate an early exit from a method
jenrzzz has joined #ruby
<dfockler> prefixed: ruby is meant to be expressive, what you are describing is explicit
bronson has quit [Ping timeout: 250 seconds]
<prefixed> lol
<prefixed> that's great
banjara has quit [Ping timeout: 246 seconds]
<dfockler> Python is a language you would probably like better if you like explicitness
<prefixed> why don't you tell me what the difference between expressiveness and explictness is
<treehug88> they're orthogonal
araujo has quit [Ping timeout: 272 seconds]
zmax has joined #ruby
<zmax> How do I download binary files using ruby?
<prefixed> this is so funny. why don't you tell me why they're orthoganl
atinjosan has joined #ruby
<eam> prefixed: type coersion is an example of explicit vs expressive
<jhass> zmax: solely for the purpose of saving them on disk? big files?
<treehug88> because they're measuring things in different dimensions - the def of orthogonal. They're independent concepts
<eam> for example, in ocaml you would have to say: 1.0 +. 1.0 -- because floating point types have their own addition operator "+." as opposed to "+" for integer numeric types
<zmax> jhass: Yeah just to save them on disk. Files of sizes ranging from 50mb to 100mb
<jhass> zmax: tbh the easiest might be to shell out to wget or curl for that
<eam> that's very explicit -- but not necessarily more expressive (measuring in terms of how easy a human can understand the program's function)
<zmax> jhass: Yeah, but I want to write a script for something...
<treehug88> zmax: I consider shelling out to a command line tool
<jhass> zmax: shell out means start from a ruby script
<eam> prefixed: expressive often means making concessions in terms of brevity, to focus more carefully on what a human needs to understand about a program
<zmax> jhass: What happens if a file is missing? Does the script break?
havenwood has joined #ruby
<jhass> zmax: wget/curl would exit nonzero I think, you could test for that
The_Phoenix has quit [Read error: Connection reset by peer]
<eam> prefixed: control over object lifecycles - having a GC - also an example of a feature that allows a focus on expressive code but is less explicit about execution behavior
_el_fer_ has joined #ruby
<eam> python is ref counted so you can be explict about when an object is freed. Not so in ruby
qpls has quit [Remote host closed the connection]
<jhass> zmax: mmh, at least wget appears to do so, for curl you could check if the file exists after it exited
<zmax> jhass: Can I not download binary files using the open method?
<jhass> zmax: you can with open-uri, it's just not wise since you'd read them into memory completely I think
hippyphysicist has joined #ruby
hippyphysicist has quit [Read error: Connection reset by peer]
ua has joined #ruby
<zmax> jhass: Do we open a file in "w" mode even for binary files?
<zmax> jhass: or is there a different mode for binary?
ua has left #ruby ["Leaving"]
scripore has joined #ruby
<jhass> depends on whether you're on windows or not. in any case using "wb" doesn't harm
yqt has quit [Ping timeout: 240 seconds]
<jhass> but you're ignoring my advice now, don't you?
<zmax> jhass: I'm on Linux.
jgt3 has quit [Ping timeout: 246 seconds]
krisquigley has joined #ruby
<shevy> long live linux!
<craysiii> hup hup!
atinjosan is now known as atin
achamian has joined #ruby
zmax has quit [Quit: Page closed]
platzhirsch has left #ruby [#ruby]
jefus has joined #ruby
jefus has left #ruby [#ruby]
jamesaxl|2 has joined #ruby
scripore has quit [Ping timeout: 244 seconds]
<eam> where did prefixed go
jas02 has joined #ruby
krisquigley has quit [Ping timeout: 265 seconds]
<prefixed> off to write code
<eam> don't you want to talk about expressive vs explicit any more?
nettoweb has quit [Ping timeout: 246 seconds]
jhn has joined #ruby
jamesaxl has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
<prefixed> nah. i decided it was orthogonal to the task at hand
vjdhama has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
<eam> bummer, super interesting subject imo
nik_-_ has quit [Quit: nik_-_]
yfeldblum has joined #ruby
vjdhama has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
<chino_> could class A::B < A; end cause some kind of circular issue or is it fine?
<prefixed> what is the point of "MatchData"
Outlastsheep has joined #ruby
<prefixed> why not convert to a string
ElvanorMoscow has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
<nzst> jhass: was chatting to you earlier about making a rack systemd service, switched over to a debian LTS instead of an ubuntu LTS and it had the proper dependencies for a systemd service. The example you provided me worked great, thanks !
<jhass> \o/
<jhass> ?try chino_
<ruboto> chino_, Why don't you try it and see for yourself?
<jhass> chino_: one thing it'll do is make A::B::B::B::B::B::B valid
<chino_> heh... yea it's one of those things that you could try and it works but you don't really know if it can lead to something strange like that
<jhass> but Object::Object::Object::Kernel::Object::Object is already valid, so...
jas02 has quit [Quit: jas02]
jenrzzz has quit [Ping timeout: 260 seconds]
<eam> prefixed: matches match more than a single string
baweaver has quit [Ping timeout: 244 seconds]
ericjphillips has joined #ruby
<prefixed> ok
slawrence00 has joined #ruby
blackmesa has joined #ruby
<eam> >> "a b c" =~ /(:?(\w+) )+/; $~.inspect
<ruboto> eam # => "#<MatchData \"a b \" 1:\"b \" 2:\"b\">" (https://eval.in/439767)
dfinninger has joined #ruby
dfockler has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
ramfjord has joined #ruby
NeverDie has quit [Quit: http://radiux.io/]
frmendes has joined #ruby
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sepp2k has quit [Quit: Leaving.]
lolmaus_ has joined #ruby
BaroMeter has quit [Quit: Leaving]
stamina has joined #ruby
dfinninger has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
maasha has joined #ruby
<maasha> There appear to be a nasty memory leak in ruby 2.2.3p173 connected to Hash/Symbols ?
tlolczyk_ has joined #ruby
last_staff has quit [Ping timeout: 240 seconds]
Jardayn_two has joined #ruby
Kallis has quit [Read error: Connection reset by peer]
Kallis has joined #ruby
banjara1 has quit [Read error: Connection reset by peer]
jhn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tlolczyk_ has quit [Max SendQ exceeded]
voltalio has joined #ruby
tlolczyk_ has joined #ruby
matt_1234 has quit [Quit: Leaving]
tlolczyk has quit [Ping timeout: 265 seconds]
banjara has joined #ruby
Jardayn has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
shortdudey123 has quit [Excess Flood]
Xeago has quit [Remote host closed the connection]
shortdudey123 has joined #ruby
fmcgeough has joined #ruby
<eam> uhhhh, `` appears to continually retry the fork/exec in a loop if it gets EAGAIN
<eam> that's almost certainly undesirable
scoot has joined #ruby
blizzy has joined #ruby
sp4rrow has joined #ruby
kjcwncsdr has joined #ruby
tlolczyk_ has quit [Ping timeout: 246 seconds]
_blizzy_ has quit [Ping timeout: 260 seconds]
rbennacer has joined #ruby
blizzy has quit [Max SendQ exceeded]
baweaver has joined #ruby
djbkd has quit [Remote host closed the connection]
lkba has quit [Remote host closed the connection]
otacon-_ has joined #ruby
momomomomo has joined #ruby
jobewan has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 252 seconds]
<shevy> eam finds the rare bugs
davedev24 has quit [Ping timeout: 240 seconds]
davedev2_ has joined #ruby
blizzy has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
sepp2k has joined #ruby
My_Hearing has quit [Quit: WeeChat 1.3]
otacon- has quit [Ping timeout: 246 seconds]
urrr has joined #ruby
dfockler has joined #ruby
amoeba has joined #ruby
vjdhama has quit [Read error: Connection reset by peer]
shadoi has joined #ruby
djbkd has joined #ruby
last_staff has joined #ruby
crunk_bear has joined #ruby
urrr has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
<hanmac> shevy: in australia "someone 'unfriending' does count as 'bullying'" http://www.telegraph.co.uk/news/worldnews/australiaandthepacific/australia/11890275/fnord.html
momomomomo_ has joined #ruby
<shevy> oh god
momomomomo has quit [Ping timeout: 272 seconds]
momomomomo_ is now known as momomomomo
dfinninger has joined #ruby
<nzst> and then you can read to the end of the article and find the title is just linkbait
<nzst> "What the Fair Work Commission did find is that a pattern of unreasonable behaviour, hostile behaviour, belittling behaviour over about a two-year period, which featured a range of different behaviours including berating, excluding and so on, constituted a workplace bullying."
jenrzzz has joined #ruby
<Alayde> Anyone got a moment to lend me a hand? Bundler is kicking my ass. I'm trying to get the master branch of the 'rspec-puppet' gem installed (rvm), and with my Gemfile as it is now I end up with "Using rspec-puppet 2.2.1.pre from https://github.com/rodjek/rspec-puppet.git (at master)" when I bundle
<shevy> nzst good point
<Alayde> however, a 'gem list | grep rspec-puppet' gives me: rspec-puppet (2.2.0)
<havenwood> Alayde: What's the exact line in your Gemfile?
<Alayde> havenwood: gem 'rspec-puppet', :git => 'https://github.com/rodjek/rspec-puppet.git', :ref => 'master'
tlolczyk_ has joined #ruby
ebragaparah has quit []
frmendes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hoylemd> hey, is literal number `0` supposed to be truthy?
dionysus69 has joined #ruby
rushed has joined #ruby
krz has quit [Quit: WeeChat 1.2]
ruby-lang654 has quit [Ping timeout: 246 seconds]
<havenwood> hoylemd: Everything but `false` and `nil` is truthy.
vjdhama has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
mosez has quit [Ping timeout: 244 seconds]
<havenwood> Alayde: That looks to be the version in the master branch: https://github.com/rodjek/rspec-puppet/blob/master/rspec-puppet.gemspec#L3
<shevy> hoylemd you can use a lot of true things in ruby!
<havenwood> >> !!0
<ruboto> havenwood # => true (https://eval.in/439780)
mosez has joined #ruby
sdothum has joined #ruby
<havenwood> >> !!nil
<ruboto> havenwood # => false (https://eval.in/439781)
<havenwood> hoylemd: ^
<hanmac> hm i dont trust true
<hanmac> >> true.untrust
<ruboto> hanmac # => true (https://eval.in/439782)
mondayrain has joined #ruby
<havenwood> hanmac: Truly untrusted that true!
<Alayde> havenwood: mayhaps I'm misunderstanding something here, but when I look at the master branch of rspec-puppet on github I see a spec directory in the root of the project but when I look at the gem on my filesystem I only see a 'bin' and 'lib
<Alayde> damn it. 'lib' directory
jenrzzz has quit [Ping timeout: 240 seconds]
hectortrope has quit [Read error: Connection reset by peer]
<Alayde> and I'm a wee bit confused why a "gem list | grep rspec-puppet" only shows 2.2.0 installed rather than 2.2.1.pre
giuseppesolinas has quit [Quit: This computer has gone to sleep]
giuseppesolinas_ has quit [Quit: This computer has gone to sleep]
tsujp has joined #ruby
sdothum has quit [Client Quit]
bronson has joined #ruby
mary5030 has joined #ruby
redondo has quit [Ping timeout: 264 seconds]
tsujp has quit [Client Quit]
hal_9000__ has quit [Quit: hal_9000__]
sdothum has joined #ruby
jfreitasdutra has joined #ruby
mjuszczak has joined #ruby
Coldblackice has joined #ruby
redondo has joined #ruby
hectortrope has joined #ruby
<hoylemd> Huh. TIL. I guess I've been spolied by eerything else :p
kraljev11 has joined #ruby
agent_meerkat has joined #ruby
Kallis has quit [Read error: Connection reset by peer]
<BraddPitt> w/ 2
<BraddPitt> sorry
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
last_staff has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 256 seconds]
blackmesa has quit [Read error: Connection reset by peer]
lxsameer has quit [Quit: Leaving]
p0wn3d__ has quit [Ping timeout: 264 seconds]
amclain_ has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
<Alayde> havenwood: I just said fuck it, removed the gemset and created another one. Things are working now. tl;dr I can't computer, apparently
Xeago has joined #ruby
<havenwood> Alayde: If turning it off and back on again doesn't work nuking it from orbit is a sure bet! ;)
freerobby1 has joined #ruby
<Alayde> Lol amen
oz` has joined #ruby
oz has quit [Read error: Connection reset by peer]
oz` is now known as oz
SirFunk has quit [Ping timeout: 240 seconds]
mac_ has joined #ruby
robbyoconnor has quit [Excess Flood]
freerobby has quit [Ping timeout: 240 seconds]
SirFunk has joined #ruby
<shevy> bundler drives people to madness!
abyss has quit [Ping timeout: 240 seconds]
r0bby_ has joined #ruby
<shevy> I am turning into centrx 2.0
blackmesa has joined #ruby
neanderslob has quit [Ping timeout: 240 seconds]
TomyLobo has quit [Disconnected by services]
sakozdqqhytuagqn has joined #ruby
sakozdqqhytuagqn is now known as bygfusgldetqkjid
bygfusgldetqkjid is now known as TomyLobo
neanderslob has joined #ruby
amclain has quit [Ping timeout: 260 seconds]
n008f4g_ has quit [Ping timeout: 255 seconds]
karapetyan has joined #ruby
abyss has joined #ruby
giuseppesolinas has joined #ruby
giuseppesolinas_ has joined #ruby
shoutsid06 has joined #ruby
<jhass> ?nope
* jhass slaps ruboto
syath_ has joined #ruby
mjuszczak has quit [Ping timeout: 264 seconds]
scripore has quit [Ping timeout: 260 seconds]
ujjain has quit [Ping timeout: 240 seconds]
Guest57947 has quit [Ping timeout: 240 seconds]
chinmay_dd has quit [Ping timeout: 240 seconds]
C0deMaver1ck has joined #ruby
scoot has quit [Remote host closed the connection]
ujjain- has joined #ruby
chinmay_dd_ has joined #ruby
ujjain- has quit [Max SendQ exceeded]
<ruboto> Nowhere on planet earth! http://i.imgur.com/8vcBhYZ.gif
<agent_meerkat> jhass.reduce(:concat)
giuseppesolinas_ has quit [Client Quit]
giuseppesolinas has quit [Client Quit]
C0deMaver1ck is now known as Guest34910
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sp4rrow has quit [Quit: Textual IRC Client: www.textualapp.com]
ujjain has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
r0bby_ has quit [Excess Flood]
swgillespie has joined #ruby
r0bby_ has joined #ruby
shoutsid has quit [Ping timeout: 240 seconds]
toretore has joined #ruby
atin has quit [Ping timeout: 240 seconds]
maletor has quit []
chinmay_dd_ is now known as chinmay_dd
karapetyan has quit [Ping timeout: 246 seconds]
syath has quit [Ping timeout: 260 seconds]
scoot has joined #ruby
jackjackdripper has joined #ruby
ericjphillips has quit [Quit: Leaving.]
devoldmx has joined #ruby
BackEndCoder has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
atin has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
mjuszczak has joined #ruby
mjuszczak has quit [Remote host closed the connection]
syath_ has quit [Quit: WeeChat 1.2]
leafybasil has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
stamina has quit [Ping timeout: 250 seconds]
vjdhama_ has joined #ruby
vjdhama has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
Rollabunna has quit [Ping timeout: 265 seconds]
Soda has quit [Remote host closed the connection]
Soda has joined #ruby
tsujp has joined #ruby
circ-user-AqHyN has joined #ruby
momomomomo has quit [Ping timeout: 240 seconds]
Jardayn_two is now known as Jardayn
NeverDie has joined #ruby
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
jenrzzz has quit [Ping timeout: 272 seconds]
nym has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
ericjphillips has joined #ruby
jackjackdripper has joined #ruby
vjdhama_ has quit [Ping timeout: 264 seconds]
ekain has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure|dc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 240 seconds]
youngbaks has joined #ruby
jas02 has joined #ruby
startupality has quit [Quit: startupality]
memnon34 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
Stalkr_ has joined #ruby
startupality has joined #ruby
jenrzzz has joined #ruby
TheWhip has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
memnon34 has joined #ruby
TheWhip has joined #ruby
cvtsx has joined #ruby
einarj has joined #ruby
startupality has quit [Client Quit]
vjdhama has joined #ruby
einarj has quit [Read error: Connection reset by peer]
einarj_ has joined #ruby
jmaya has joined #ruby
lxsameer has joined #ruby
whippythellama has quit [Ping timeout: 268 seconds]
_el_fer_ has quit [Quit: Leaving]
startupality has joined #ruby
baweaver has joined #ruby
TheWhip has quit [Ping timeout: 240 seconds]
andyrs has quit [Quit: gone to sleep. ZZZzzz…]
einarj_ has quit [Remote host closed the connection]
ItSANgo has quit [Ping timeout: 264 seconds]
chino_ has quit [Quit: Page closed]
einarj has joined #ruby
jmaya has quit [Client Quit]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
p0wn3d__ has joined #ruby
einarj has quit [Remote host closed the connection]
achamian has quit [Remote host closed the connection]
bazbing80 has joined #ruby
frmendes has joined #ruby
Pumukel has joined #ruby
Wolland has joined #ruby
atmosx_laptop has joined #ruby
<izzol> def [](name)
<bazbing80> Is there an IO version of File.new ?
<izzol> Why there is such a name in definition?
firstdayonthejob has joined #ruby
<bazbing80> *equivalent
ItSANgo_ has joined #ruby
baweaver has quit [Remote host closed the connection]
araujo_ has quit [Quit: Leaving]
<izzol> what do you mean equivalent?
<jhass> izzol: it provides foo[x]
araujo has joined #ruby
aaeron has joined #ruby
jmaya has joined #ruby
podman has joined #ruby
<izzol> jhass: but why to use it? it's just a name?
bluOxigen has quit [Ping timeout: 272 seconds]
<jhass> because it looks nice?
dorei has joined #ruby
<izzol> it looks like an array ;-)
ekain has joined #ruby
<craysiii> whats ||= called
timonv has quit [Ping timeout: 240 seconds]
<adaedra> that's the idea
<jhass> craysiii: or equals? we don't really have an official name
<adaedra> syntaxic sugar
<jhass> izzol: or a hash ;)
deject3d has joined #ruby
<adaedra> izzol: you have [] and []=, so you can create your own collection-like classes
j4cknewt has quit [Remote host closed the connection]
jmaya has quit [Client Quit]
to_json has quit [Ping timeout: 265 seconds]
<adaedra> bazbing80: What do you mean
whippythellama has joined #ruby
youngbaks has quit [Read error: Connection reset by peer]
<adaedra> What would it do
j4cknewt has joined #ruby
p0wn3d__ has quit [Ping timeout: 246 seconds]
<izzol> hmm, ok
baweaver has joined #ruby
<bazbing80> adaedra: good question, just create a file in memory, that can be appended and then created on disk with IO.write ...worth noting this is my first dabble with i/o
<bazbing80> *appended to
<jhass> bazbing80: StringIO ?
<adaedra> bazbing80: you may want to look at StringIO
Lingo has joined #ruby
<bazbing80> you two are like a hive mind...a helpful hivemind :P
<shevy> two lovers
mengu has quit [Remote host closed the connection]
<bazbing80> haha
<bazbing80> thanks
kraljev11 has quit [Quit: kraljev11]
kraljev11 has joined #ruby
platzhirsch has joined #ruby
codecop has quit [Remote host closed the connection]
centrx has quit [Quit: "You cannot fix a machine by just power-cycling it with no understanding of what is going wrong."]
BackEndCoder has joined #ruby
bronson has joined #ruby
ramfjord has joined #ruby
andyrs has joined #ruby
memnon34 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tsujp has quit [Quit: tsujp is snoozing]
atmosx_laptop is now known as atmosx
<atmosx> hello
ruurd has joined #ruby
startupality has quit [Quit: startupality]
bronson has quit [Remote host closed the connection]
bronson has joined #ruby
rbennacer has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
scoot has quit []
dfinninger has quit [Ping timeout: 244 seconds]
memnon34 has joined #ruby
youngbaks has joined #ruby
diegoviola has quit [Quit: WeeChat 1.3]
arooni has joined #ruby
arooni has quit [Max SendQ exceeded]
mooe has joined #ruby
ricer2 has joined #ruby
arooni has joined #ruby
jcromartie has joined #ruby
maletor has joined #ruby
hamilto-nyan has quit [Quit: Now that it's all over and done, now that you find, now that you're whole.]
bronson has joined #ruby
agent_meerkat has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
bronson has joined #ruby
startupality has joined #ruby
stamina has joined #ruby
Xeago has joined #ruby
vjdhama has quit [Remote host closed the connection]
avahey has joined #ruby
bronson has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
krisquigley has joined #ruby
vjdhama has joined #ruby
aaeron has quit [Quit: Leaving.]
kadoppe has quit [Ping timeout: 255 seconds]
mac_ has quit [Quit: This computer has gone to sleep]
kadoppe has joined #ruby
memnon34 has quit [Quit: Textual IRC Client: www.textualapp.com]
Coldblackice has quit [Ping timeout: 250 seconds]
Coldblackice has joined #ruby
startupality has quit [Client Quit]
kraljev11 has quit [Ping timeout: 240 seconds]
rodfersou has quit [Ping timeout: 246 seconds]
vjdhama has quit [Read error: Connection reset by peer]
krisquigley has quit [Ping timeout: 255 seconds]
crunk_bear has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vjdhama has joined #ruby
jamesaxl|2 is now known as jamesaxl
frog0909_ has quit [Ping timeout: 264 seconds]
Thib has quit [Ping timeout: 246 seconds]
dfockler has quit [Remote host closed the connection]
ruurd has quit [Quit: ZZZzzz…]
kies^ has joined #ruby
Marsupermammal has joined #ruby
scripore has joined #ruby
Wolland has quit [Remote host closed the connection]
mondayrain has quit [Ping timeout: 244 seconds]
mdih has quit [Ping timeout: 256 seconds]
Marsupermammal has quit [Client Quit]
Blankenship has quit [Quit: Out]
atin has quit [Quit: leaving]
k3asd` has joined #ruby
<shevy> yo atmosx
duggiefr_ has left #ruby [#ruby]
<craysiii> does ruby not have C style enums?
karapetyan has quit [Remote host closed the connection]
<craysiii> i guess a hash is close enough
<adaedra> Ruby uses symbols for that
youngbaks is now known as m0h4
aaeron has joined #ruby
m0h4 has quit [Quit: WeeChat 1.3]
<adaedra> Or constants, if you want it for the value
Lingo has quit [Quit: (null)]
youngbaks has joined #ruby
sharpmachine has joined #ruby
sharpmachine has quit [Remote host closed the connection]
shinnya has joined #ruby
Puffball has quit [Remote host closed the connection]
k3asd` has quit [Ping timeout: 250 seconds]
harumph has joined #ruby
k3asd` has joined #ruby
harumph has left #ruby [#ruby]
GnuYawk has joined #ruby
GnuYawk has joined #ruby
<jfreitasdutra> craysii: u can use my_enum = [:constatnt1, :constant2....] for store, and create a variable like v = :constant1
bruno- has quit [Ping timeout: 240 seconds]
<jfreitasdutra> depends of your goal
lulzmachine has quit [Quit: Connection closed for inactivity]
KensoDev has joined #ruby
Xeago has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
ericjphillips has quit [Quit: Leaving.]
youngbaks has quit [Quit: WeeChat 1.3]
apt-get has joined #ruby
crdpink2 has joined #ruby
frmendes is now known as da3mian
crdpink has quit [Ping timeout: 246 seconds]
dvlcloud has joined #ruby
jenrzzz_ has joined #ruby
aaeron has quit [Quit: Leaving.]
momomomomo has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
parduse has joined #ruby
allomov has joined #ruby
<shevy> my_enum
<shevy> will you borrow me your enum?
radgeRayden has joined #ruby
<craysiii> get your own!
<craysiii> :P
sharpmachine has joined #ruby
uri_ has joined #ruby
vjdhama has quit [Ping timeout: 256 seconds]
achamian has joined #ruby
<shevy> :(
vjdhama has joined #ruby
<shevy> what happened to share & profit!
aaeron has joined #ruby
andyrs has quit [Quit: I'm leaving now, bye.]
aaeron has quit [Client Quit]
jenrzzz_ has quit [Ping timeout: 246 seconds]
aaeron has joined #ruby
<arup_r> shevy: where is your cat ?
<atmosx> what cat
<atmosx> does shevy have a cat?
<atmosx> I bought 2 TVs today
<craysiii> why not 3
achamian has quit [Ping timeout: 252 seconds]
<arup_r> atmosx: I will buy a laptop.. but when no idea :( I am sooooooooo confused!
guacjack has joined #ruby
<atmosx> arup_r: yeah, life is a bitch.
polysics has joined #ruby
<atmosx> craysiii: I have the iPad for the bathroom and DLNA server (which doesn't stream subs though...)
<arup_r> :)
<guacjack> hey folks, just wanted to ask a question, i've joined a new job and in my team they force us to use an ubuntu vm with IntelliJ Idea to do development on, we pair program all of our tasks and using the host mac with IntelliJ is out of the question. We mainly program Ruby... is it just me or is this unreasonable? I am just asking to be able to use IntelliJ on the mac rather than the VM
UtkarshRay has quit [Quit: Leaving]
momomomomo has quit [Ping timeout: 246 seconds]
lipoqil has quit [Quit: Connection closed for inactivity]
<guacjack> This is not a business decision this is literally the other developers who are saying im going to be the odd one out if im using the mac rather than the vm
momomomomo has joined #ruby
<tangentstorm> you should definitely quit and tell them to hire me instead. :)
gener1c_ has joined #ruby
<eam> gener1c_: it's pretty normal if it mirrors your prod environment
<eam> guacjack: ^^
sharpmachine has quit [Remote host closed the connection]
<eam> do you run ubuntu in prod?
<guacjack> it seems that every other team in the business are able to use whichever IDE they like, yet in my team theyre making every dev use a VM with IntelliJ on there
gener1c has quit [Ping timeout: 256 seconds]
VeryBewitching has joined #ruby
<guacjack> im not sure, but even so, why am i not able to use Vim on the VM or sublime if i were that way inclined?
<eam> seems like it's enforced so you can pair program on a common platform? That seems a bit odd, but not completely crazy
<atmosx> guacjack: do you know the person who came up with this setup?
<arup_r> atmosx: Why ? :D
<atmosx> eam: IntelliJ? seriously?
mahlon_ is now known as mahlon
<guacjack> yeah that is the reason its enforced, no but it seems like the developer whos enforcing it now is thinking hes 'the boss' when he isnt
asxbr has joined #ruby
<eam> atmosx: intellij for ruby is kinda crazy
youngbaks has joined #ruby
<atmosx> eam: exactly
<guacjack> its enforced so we're all on a common dev environment when pairing
freerobby1 has quit [Quit: Leaving.]
<eam> atmosx: but enforcing one env for all devs + pair programming isn't crazy
<atmosx> eam: it's the IDE of choice for Java but that's about it
Pisuke has joined #ruby
maasha has quit [Ping timeout: 246 seconds]
<atmosx> guacjack: doesn't pair programming stall development?
<guacjack> all i've said is that im more comfortable with using Vim or Sublime
jenrzzz has joined #ruby
<guacjack> and the literal response i got today was 'well you'll be the odd one out and no one will want to pair with you
<shevy> arup_r she is sleeping again
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
`tim` has joined #ruby
<guacjack> as far as i know, no other team in this business has these rules enforced on them
fmcgeough has quit [Quit: fmcgeough]
MyMind has quit [Ping timeout: 250 seconds]
<atmosx> guacjack: you sure it's ruby?
<guacjack> the business is fantastic but the team im in... im not sure why im being forced to use this IDE within this VM
<guacjack> 100%
<atmosx> guacjack: sounds too much like java
<guacjack> we use sinatra
<arup_r> shevy: don't give her then milk again.
<atmosx> guacjack: are you sure the guy you talked about can tell a mouse from a computer screen, because doesn't sound like he can.
<guacjack> im considering asking if i can move teams
jobewan has joined #ruby
<atmosx> guacjack: and does inteliJ have syntax highlighting for sinatra?!
<guacjack> cause of all the other teams this doesnt seem to be the problem, and the other teams which pair, they meet a middle ground
<guacjack> and yes
<guacjack> the other teams, if one guy uses vim and one guy uses intellij, they find a common ground
<atmosx> guacjack: can you show me a screenshot?
<guacjack> not right now, not on the works pc
<atmosx> I see
<guacjack> i just came here to see really if this was normal
agent_meerkat has joined #ruby
towski_ has joined #ruby
<atmosx> on a more serious note, go with IntelliJ and get over with. The choice is stupid though, doesn't make sense.
stamina has quit [Quit: WeeChat 1.3]
bruno- has joined #ruby
<guacjack> i just feel im being frowned upon cause im a little reluctant to learn an IDE, when mu current one has been fine for me for ages
<atmosx> Since the pay you...
<atmosx> learn the IDE.
<atmosx> you might end up writing Java one day (and then start wondering what's wrong with OO programming).
<guacjack> yeh i will do, seems a bit silly that the other x amount of teams are able to use what they want and im not
krisquigley has joined #ruby
<guacjack> there must be like 10 more teams, and they use what the ywant
`tim` has quit [Ping timeout: 246 seconds]
prestorium has quit [Quit: Leaving]
<atmosx> guacjack: not a big deal, in 30 days or so you'll be fine I'm sure.
banjara has quit [Remote host closed the connection]
<guacjack> its the principle really
<guacjack> one guy thinking he's the boss
<guacjack> meh im just pissed off
blackmesa has quit [Ping timeout: 246 seconds]
nfk has joined #ruby
ruurd has joined #ruby
<workmad3> guacjack: I'd personally be heavily resistant to a to a team that attempted to force a choice of editor on me, unless it was for pretty good reasons (e.g. the command line tools for a particular build chain are stupidly complex and the IDE manages it all nicely)
aaeron has quit [Quit: Leaving.]
<workmad3> code style? fair enough. editor? GTFO
<guacjack> other teams work on the same stuff and use whatever they want
<guacjack> im not asking to change any code style, any slower output or anything just to use an Editor i wnat
<guacjack> want*
shadoi has quit [Quit: Leaving.]
<guacjack> but i am being told i'm going to be the odd one out and no one will work with me if i do so
<guacjack> so seems kinda shitty
<tangentstorm> so just work by yourself
<guacjack> but dont want to complain cause dont want to seem liek a moaner
<guacjack> i cant, the team enforces 100% pair programming
parduse has quit [Read error: Connection reset by peer]
<tangentstorm> i dunno man. this seems like a pretty minor thing to draw a line in the sand about.
<atmosx> workmad3: IMHO if the entire team uses an IDE, then you shouldn't be off-tune, for many reasons. Especially when you're the new kid on the bloc (step by step, ooh baby...)
Xeago has quit [Read error: Connection reset by peer]
<tangentstorm> you've got a job. you get to do pair programming and write ruby code. sounds pretty awesome to me.
<atmosx> +1 tangentstorm
<guacjack> we're all new though
<guacjack> but i agree
<guacjack> i am pretty lucky
<guacjack> tbh
<atmosx> You have to learn the rules of the game. And then you have to play better than anyone else. - Albert Einstein
<guacjack> so i probs shouldnt complain
<guacjack> thanks brahs
<tangentstorm> :)
krisquigley has quit [Ping timeout: 244 seconds]
RTG` has quit [Ping timeout: 240 seconds]
agent_meerkat has quit [Ping timeout: 246 seconds]
<workmad3> atmosx: editor/machine setup is something I think is personal choice that you need to customise for comfort, unless there's a truly compelling reason to go against the editor/setup that you've tuned to your needs, have spent lots and lots of hours learning and practicing in and that you don't need to think about, I'd basically ignore a mandate to use a specific IDE
parduse has joined #ruby
RTG` has joined #ruby
<guacjack> atmosx has a good point, im employed, i get to pair on everything so maybe i should just chill
<workmad3> atmosx: that's not to say you can't try to convince someone to try something else... I'd be open to discussions and suggestions to try something, especially if the person could show specific improvements in approaches to common editing tasks... but I would be heavily resistant to a top-down dictate to use it with no discussion
solocshaw has joined #ruby
Musashi007 has joined #ruby
momomomomo has quit [Quit: momomomomo]
<workmad3> admittedly, I'm the sort of oddity that has actually used vim with the eclim plugin to work on java code, rather than learn eclipse and lose vim proficiency...
<atmosx> workmad3: reverse the situation, say you're a team leader. How would you react if junior, new entry came up with a him-IDE vs your-IDE discussions after you already made clear that you need everybody on the team to use the same tool.
j4cknewt has quit [Remote host closed the connection]
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<workmad3> atmosx: I wouldn't ever dictate everyone on the team use the same tool
aaeron has joined #ruby
deject3d has quit [Quit: Computer has gone to sleep.]
sharpmachine has joined #ruby
audiodude has joined #ruby
<atmosx> workmad3: you would dictate some policies though. Because using IntelliJ sounds much like ap olicy to me.
<shevy> it makes you more intelligent! the name is a dead give away!!!
<guacjack> the thing is, this guy isnt the team leader
j4cknewt has joined #ruby
<guacjack> hes a mid level developer
<shevy> if the entire team goes to work without clothes then so should you
<craysiii> if the entire team jumps of a building would you?
<eam> generally, if you're not super happy with your team and your career trajectory you're gonna want to move
p0wn3d__ has joined #ruby
<workmad3> craysiii: probably... I work with intelligent people, they're probably jumping for a good reason
<craysiii> good answer :)
<platzhirsch> yorickpeterse: ¯\_(ツ)_/¯
<eam> this isn't exactly a field lacking an abundance of opportunity
<platzhirsch> so Ruby 3 is going to have immutable strings
<platzhirsch> ga..me changer
<workmad3> craysiii: that said, I work remotely... I may not notice them jumping, it would just go silent on the team slack channel :)
<shevy> yeah
<shevy> this will be the big split like in python \o/
<adaedra> platzhirsch: there's already immutable strings. They're giving it a short syntax.
<shevy> how short
<workmad3> "foo"
<shevy> lol
<platzhirsch> I thought they'll become immutable by default
ta has joined #ruby
<workmad3> platzhirsch: string literals will be frozen by default
<platzhirsch> yeah
<shevy> >> ?f+?o+?o
<ruboto> shevy # => "foo" (https://eval.in/439853)
Xeago has joined #ruby
<workmad3> that's different from a) introducing a new concept of immutable strings and b) all strings being immutable :)
<shevy> ice lies in the future
<platzhirsch> fair enough
<platzhirsch> Winter's coming
nzst has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
paulcsmith has joined #ruby
dfinninger has joined #ruby
apt-get has quit [Read error: No route to host]
jfreitasdutra has quit [Quit: jfreitasdutra]
blackmesa has joined #ruby
otacon- has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
dopie has joined #ruby
bmurt has quit []
apt-get has joined #ruby
<shevy> hmm
<shevy> does '# -*- immutable: string -*-' already work on 2.2.3?
otacon-_ has quit [Ping timeout: 240 seconds]
redondo has quit [Ping timeout: 265 seconds]
Xeago has quit [Remote host closed the connection]
Rodya_ has joined #ruby
yfeldblum has joined #ruby
momomomomo has joined #ruby
mwlang has joined #ruby
k3asd` has quit [Ping timeout: 260 seconds]
redondo has joined #ruby
iceyec has quit [Quit: Leaving]
aaeron has quit [Quit: Leaving.]
yfeldblum has quit [Read error: Connection reset by peer]
<shevy> platzhirsch.freeze!
yfeldblum has joined #ruby
aaeron has joined #ruby
Igorshp has joined #ruby
crdpink has joined #ruby
JDiPierro has quit [Remote host closed the connection]
crdpink2 has quit [Ping timeout: 240 seconds]
<platzhirsch> RuntimeError: can't freeze le platzhirsch.
ruurd has quit [Quit: ZZZzzz…]
guacjack has quit [Quit: WeeChat 1.2]
<platzhirsch> >> raise Interrupt
<ruboto> platzhirsch # => Interrupt (Interrupt) ...check link for more (https://eval.in/439854)
Xeago has joined #ruby
<platzhirsch> >> def x; raise Interrupt; rescue Interrupt; retry; end; x
<ruboto> platzhirsch # => (https://eval.in/439857)
dionysus69 has quit [Ping timeout: 250 seconds]
vdamewood has joined #ruby
baweaver has quit [Remote host closed the connection]
vjdhama has quit [Read error: Connection reset by peer]
vjdhama has joined #ruby
pauly_oc has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
sgambino has quit [Quit: Textual IRC Client: www.textualapp.com]
<platzhirsch> die ruboto
sanjayu has joined #ruby
dfinninger has quit []
dfockler has joined #ruby
parduse has quit []
Xeago has joined #ruby
djcp has quit [Ping timeout: 240 seconds]
p0wn3d__ has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
<shevy> lol
aaeron has quit [Quit: Leaving.]
<shevy> time for hirschboto
mdih has joined #ruby
freerobby has joined #ruby
baweaver has joined #ruby
Jackneill has quit [Ping timeout: 250 seconds]
Puffball has joined #ruby
sepp2k has quit [Quit: Leaving.]
FrankD has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
tkuchiki has joined #ruby
baweaver has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
mdih has quit [Ping timeout: 240 seconds]
Coldblackice has quit [Ping timeout: 246 seconds]
GnuYawk has quit [Ping timeout: 250 seconds]
iamninja has quit [Read error: Connection reset by peer]
paulcsmith has quit [Quit: Be back later ...]
aaeron has joined #ruby
jas02 has quit [Quit: jas02]
iamninja has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
atmosx has quit [Quit: Lost in trance]
achamian has joined #ruby
PhantomSpank has quit []
arup_r has quit [Quit: Leaving]
gurix has joined #ruby
FernandoBasso has joined #ruby
achamian has quit [Ping timeout: 250 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nyandoge has quit []
nyandoge has joined #ruby
isakovic has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
momomomomo_ has joined #ruby
isakovic has left #ruby [#ruby]
abra0 has joined #ruby
Khunthead has joined #ruby
gustav_ has joined #ruby
<Khunthead> why are there black rubyists? isn't that immoral?
abra0 has quit [Max SendQ exceeded]
abra0 has joined #ruby
<havenwood> !ban Khunthead !P racist troll
Khunthead was banned on #ruby by ChanServ [Khunthead!*@*]
Khunthead was kicked from #ruby by ChanServ [Banned: racist troll]
snockerton has joined #ruby
momomomomo has quit [Ping timeout: 260 seconds]
momomomomo_ is now known as momomomomo
workmad3 has quit [Ping timeout: 264 seconds]
decoponio has quit [Quit: Leaving...]
ngscheurich has quit [Ping timeout: 244 seconds]
youngbaks has quit [Quit: WeeChat 1.3]
karapetyan has joined #ruby
workmad3 has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aaeron has quit [Quit: Leaving.]
scripore has joined #ruby
karapetyan has quit [Ping timeout: 272 seconds]
gurix has quit [Quit: gurix]
zlogan has joined #ruby
roxtrongo has joined #ruby
meatherly has quit []
araujo_ has joined #ruby
aaeron has joined #ruby
zlogan has quit [Ping timeout: 244 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
jmaya has joined #ruby
vjdhama has quit [Read error: Connection reset by peer]
araujo has quit [Ping timeout: 246 seconds]
jmaya has quit [Client Quit]
bitri has joined #ruby
j4cknewt_ has joined #ruby
subshad has joined #ruby
bronson has joined #ruby
sanjayu has quit [Ping timeout: 244 seconds]
amoeba has quit [Quit: Leaving]
_hanz has joined #ruby
<_hanz> Is there anywhere I can find documentation for Nokogiri other than nokogiri.org?
ekain has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dopie has quit [Quit: This computer has gone to sleep]
j4cknewt has quit [Ping timeout: 264 seconds]
baweaver has joined #ruby
Lucky__ has joined #ruby
victortyau has quit [Quit: Leaving]
bronson has quit [Ping timeout: 260 seconds]
dopamean_ has quit [Ping timeout: 256 seconds]
prefixed has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )]
_hanz has quit [Quit: Page closed]
dopie has joined #ruby
apt-get has quit [Read error: Connection reset by peer]
dopamean_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<adaedra> There's the code documentation, i.e. http://www.rubydoc.info/gems/nokogiri/
apt-get has joined #ruby
<adaedra> Wait, gone already
casadei has quit [Remote host closed the connection]
jdawgaz has joined #ruby
<craysiii> XML is like violence - if it doesn’t solve your problems, you are not using enough of it.
diegoviola has joined #ruby
<craysiii> wonder how that got in there
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mondayrain has joined #ruby
n_blownapart has joined #ruby
dlando has quit [Ping timeout: 260 seconds]
allcentury has joined #ruby
uri_ has quit [Ping timeout: 265 seconds]
sepp2k has joined #ruby
stamina has joined #ruby
<dfockler> craysiii: hasn't that always been in there?
baweaver has quit [Remote host closed the connection]
deavid has quit [Ping timeout: 240 seconds]
<craysiii> thats my first time going to that page, im just surprised it IS there considering the crusades some are willing to go on regarding language
polysics has quit [Remote host closed the connection]
bkulbida has quit [Ping timeout: 264 seconds]
diego2 has joined #ruby
RegulationD has quit [Remote host closed the connection]
baweaver has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
dhollinger has quit [Quit: Leaving]
rbennacer has joined #ruby
momomomomo has quit [Ping timeout: 256 seconds]
momomomomo_ has joined #ruby
jas02 has joined #ruby
roxtrongo has quit [Remote host closed the connection]
psy_ has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
deavid has joined #ruby
diegoviola has quit [Ping timeout: 260 seconds]
diego2 is now known as diegoviola
Musashi007 has joined #ruby
kies^ has quit [Ping timeout: 240 seconds]
chipotle has quit [Read error: Connection reset by peer]
solocshaw has joined #ruby
solocshaw has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 255 seconds]
solocshaw has joined #ruby
chipotle has joined #ruby
<shevy> XML was a strong hipstermovement in the early 2000s
devoldmx has joined #ruby
<shevy> it gave rise to ingenius inventions such as this: http://ant.apache.org/ivy/history/latest-milestone/settings.html
iamninja has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
<noethics> hey
<noethics> i still use ant
<platzhirsch> Hipster movement
iamninja has joined #ruby
<shevy> Does this not leave a warm fuzzy feeling:
<shevy> <properties file="${ivy.settings.dir}/ivysettings-file.properties" />
gustav_ has quit [Remote host closed the connection]
<platzhirsch> There were no hipsters in 2000
<shevy> almost like ruby <3
<platzhirsch> s
<noethics> :3
frmendes has joined #ruby
<platzhirsch> ant? For what?
<shevy> platzhirsch yeah they had other names
<platzhirsch> XSLT was da shit!
mary5030 has quit [Remote host closed the connection]
<diegoviola> hipsters are annoying
<noethics> pretty sure everyone and their mothers switched to gradle
<shevy> I actually don't remember all the old names... how did you call those people with black clothes and heavy metal music
<noethics> nah i don't use ant, except for this old relic codebase i have to maintain
<platzhirsch> noethics: Gradle is a lot better than that deadly Maven/Ant combo
<noethics> and the build file is like 10k lines
mary5030 has joined #ruby
freezevee has quit [Remote host closed the connection]
<shevy> hehehe
<noethics> gradle is nice
<platzhirsch> shevy: Gruffti
<shevy> hah!
<platzhirsch> Grufti
<noethics> btw platzhirsch
<noethics> XSLT is super powerful
<noethics> like super duper!
<shevy> I didn't know that word was in germany as well
<noethics> i wish it was used more
<platzhirsch> noethics: it's really really fast
<platzhirsch> can support amazing data streams
baweaver has joined #ruby
segfalt has quit [Quit: segfalt]
jas02 has quit [Quit: jas02]
<noethics> i think
<noethics> you are being sarcastic
apt-get has quit [Ping timeout: 256 seconds]
<noethics> but you are able to model data to the same extent as a relational database, essentially.
<shevy> :)
startupality has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<noethics> it's perfect for schemas and porting schemaless data to various schemas
<shevy> <noethics> i still use ant
<shevy> who is sarcastic!!!
<noethics> :P
<platzhirsch> I wasn't
asxbr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> in the game wesnoth, they use XML for programming
<shevy> [if]
<noethics> that's super gangster
<shevy> they call it wesnoth WML...
craysiii has quit [Remote host closed the connection]
grotewold has joined #ruby
<noethics> i wrote a java bytecode instrumentator thingy
<noethics> it uses xml for scripting functionality
<noethics> it's so bad
<platzhirsch> still feels like JSON took it over
<noethics> (it did)
<shevy> cuz javascript conquers the world
<noethics> schemaless design is so like.. barbaric though
bruno- has quit [Ping timeout: 264 seconds]
<noethics> we need more msgpack
<platzhirsch> I am so fed up, this weekend I'll spend diving into the NodeJS stack. I really wanted to avoid that hipster scheme
* platzhirsch drinks the kool aid
<noethics> node is undeniably powerful ;/
mary5030 has quit [Ping timeout: 268 seconds]
<noethics> (for web)
startupality has quit [Client Quit]
momomomomo_ has quit [Quit: momomomomo_]
<platzhirsch> Where did Ox0dea go?
<shevy> vietnam
<platzhirsch> good
<shevy> rescuing a unicode snowman
yottanami has quit [Ping timeout: 264 seconds]
dorei has quit []
<BraddPitt> don't worry platzhirsch, I'm doing the exact same
<platzhirsch> BraddPitt: I feel suddenly better
<platzhirsch> why, what's up
bruno- has joined #ruby
drewvanstone has quit [Ping timeout: 272 seconds]
c0ncealed has quit [Quit: going dark...]
yfeldblum has quit [Ping timeout: 240 seconds]
<Papierkorb> is there a ruby equivalent to the 'file' utility?
achamian has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
<platzhirsch> file utility?
circ-user-AqHyN has quit [Remote host closed the connection]
[Butch] has quit [Quit: Linkinus - http://linkinus.com]
minimalism has joined #ruby
frmendes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devoldmx has quit [Ping timeout: 268 seconds]
<Papierkorb> platzhirsch: $ file /bin/bash # Detect what file type '/bin/bash' is
Pumukel has quit [Quit: ChatZilla 0.9.92 [Firefox 40.0.3/20150826023504]]
<platzhirsch> shell out dude
bruno- has quit [Ping timeout: 260 seconds]
<toretore> Papierkorb: the lib that file uses is called libmagic
<platzhirsch> Papierkorb: the library is called libmagic
<toretore> there's a gem
<platzhirsch> I believe this gem does it https://rubygems.org/gems/magic/versions/0.2.9
frege has joined #ruby
startupality has joined #ruby
<Papierkorb> thanks!
c0ncealed has joined #ruby
achamian has quit [Ping timeout: 256 seconds]
<platzhirsch> #ruby, solving your problems concurrently and twice
rbennacer has quit [Remote host closed the connection]
casadei has joined #ruby
allomov has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
weemsledeux has joined #ruby
scoot has joined #ruby
scoot has quit [Client Quit]
scripore has quit [Quit: This computer has gone to sleep]
apt-get has joined #ruby
segfalt has joined #ruby
eminencehc has joined #ruby
djbkd has quit [Remote host closed the connection]
Coldblackice has joined #ruby
djbkd has joined #ruby
Pathfinder_ has quit [Remote host closed the connection]
chouhoul_ has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
rbennacer has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
evanjs has quit [Remote host closed the connection]
evanjs has joined #ruby
drewvanstone has joined #ruby
FrankD has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 240 seconds]
towski_ has joined #ruby
casadei has quit [Remote host closed the connection]
evanjs has quit [Ping timeout: 244 seconds]
solars has quit [Ping timeout: 246 seconds]
arashb has joined #ruby
voltalio has joined #ruby
quazimodo has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
Voker57 has quit [Remote host closed the connection]
jdawgaz has joined #ruby
[k- has quit [Ping timeout: 250 seconds]
ndrei has quit [Ping timeout: 256 seconds]
startupality has quit [Quit: startupality]
whippythellama has quit [Quit: WeeChat 1.3]
dfockler has quit [Remote host closed the connection]
<shevy> platzhirsch, ab in den Papierkorb mit dir!
<platzhirsch> :|
<platzhirsch> shaddup Robret
<Papierkorb> >_>
mondayrain has quit [Ping timeout: 240 seconds]
bitri has quit [Read error: Connection reset by peer]
sanjayu has joined #ruby
Kallis has joined #ruby
Azure has joined #ruby
snockerton has quit [Quit: Leaving.]
grotewold has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zlast has joined #ruby
<zlast> What is the class of a Module?
<platzhirsch> >> Module.class
<ruboto> platzhirsch # => Class (https://eval.in/439875)
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
startupality has joined #ruby
tomphp has joined #ruby
audiodude has quit [Quit: Leaving]
grotewold has joined #ruby
<platzhirsch> oh indeed
sharkman has joined #ruby
<platzhirsch> :|
<zlast> so a module is an instance of Module?
sharkman has quit [Client Quit]
dopamean_ has quit [Ping timeout: 240 seconds]
Balzrael has quit [Quit: Leaving]
<zlast> Does someone know of a good tutorial for Nokogiri? The documentation on nokogiri.org sucks apparently.
eminencehc has quit [Remote host closed the connection]
<platzhirsch> try to work your way with it in pry-debugger, that helped me alot
arooni has quit [Quit: Leaving]
eminencehc has joined #ruby
dfockler has joined #ruby
stamina has quit [Ping timeout: 250 seconds]
zlast has left #ruby [#ruby]
nofxx has joined #ruby
s00pcan has quit [Quit: Lost terminal]
j4cknewt_ has quit [Remote host closed the connection]
<yorickpeterse> platzhirsch: ?
<platzhirsch> good morning jorick
j4cknewt has joined #ruby
<yorickpeterse> "jorick"
chouhoulis has quit [Remote host closed the connection]
<yorickpeterse> good morning blatzhirsch
slawrence00 has quit [Quit: Textual IRC Client: www.textualapp.com]
jobewan has quit [Quit: Leaving]
eminencehc has quit [Remote host closed the connection]
voltalio has joined #ruby
<platzhirsch> It's 00:10 in my local time
RegulationD has joined #ruby
<yorickpeterse> 01:11 here
<yorickpeterse> ?ugt
freerobby has quit [Quit: Leaving.]
eminencehc has joined #ruby
djbkd has quit [Remote host closed the connection]
<platzhirsch> wow
baweaver has quit [Remote host closed the connection]
<platzhirsch> okay then, kill all smalltalk
rcvalle has quit [Quit: rcvalle]
grotewold has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
KensoDev has quit []
<adaedra> ˢᵐᵃᶫᶫᵗᵃᶫᵏ
grotewold has joined #ruby
<shevy> :<
<shevy> who has finally written a bot that writes ruby code
RegulationD has quit [Ping timeout: 240 seconds]
apt-get has quit [Remote host closed the connection]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ddrmanxbxfr has joined #ruby
dfockler has quit [Remote host closed the connection]
baweaver has joined #ruby
jas02 has joined #ruby
startupality has quit [Quit: startupality]
djbkd has joined #ruby
slawrence00 has joined #ruby
weemsledeux has joined #ruby
ddrmanxbxfr has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
jas02 has quit [Client Quit]
Stalkr_ has quit [Quit: Leaving...]
ekain has joined #ruby
mattprelude has joined #ruby
spider-mario has quit [Ping timeout: 240 seconds]
jas02 has joined #ruby
FrankD has joined #ruby
FrankD has quit [Changing host]
FrankD has joined #ruby
Jardayn has quit [Quit: Leaving]
TheGoldenAngel has joined #ruby
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
TheGoldenAngel has left #ruby [#ruby]
achamian has joined #ruby
<platzhirsch> Try genetic algorithms
d10n-work has joined #ruby
Kendos-Kenlen has quit [Quit: Konversation terminated!]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
achamian has quit [Ping timeout: 260 seconds]
renderful has quit [Remote host closed the connection]
startupality has joined #ruby
subshad has quit [Ping timeout: 250 seconds]
skade has joined #ruby
n_blownapart has quit []
arashb has quit [Ping timeout: 264 seconds]
aerozeppelin has quit [Quit: Leaving]
havenwood has quit [Ping timeout: 246 seconds]
kjcwncsdr has quit [Remote host closed the connection]
TheGoldenAngel has joined #ruby
<TheGoldenAngel> SUBSCRIBE My Official CAM GIRL Channel with skype contact : https://www.youtube.com/channel/UCpW7RV72BJzs7OTSgBEmZCQ/videos
TheGoldenAngel has left #ruby [#ruby]
arashb has joined #ruby
rismoney1 has quit [Ping timeout: 240 seconds]
arashb has quit [Remote host closed the connection]
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> hmm
<shevy> what options do we have available to document our ruby code
<shevy> rdoc and yard only?
marr has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rismoney1 has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
da3mian has quit [Remote host closed the connection]
frmendes has joined #ruby
otacon- has quit [Ping timeout: 255 seconds]
petricore has quit [Quit: Textual IRC Client: www.textualapp.com]
icole has joined #ruby
rismoney1 has quit [Ping timeout: 246 seconds]
jas02 has quit [Quit: jas02]
wldcordeiro has quit [Ping timeout: 264 seconds]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby
skade has quit [Remote host closed the connection]
ruby-lang843 has joined #ruby
startupality has quit [Quit: startupality]
voltalio has joined #ruby
EllisTAA has joined #ruby
dopamean_ has joined #ruby
<EllisTAA> has anyone here interviewed someone for software engineer role?
bronson has joined #ruby
<BraddPitt> yes
dorei has joined #ruby
<bricker> yes
[k- has joined #ruby
voltalio has quit [Client Quit]
<EllisTAA> what is your go to technical interview question?
sharpmachine has quit []
hectortrope has quit [Remote host closed the connection]
<EllisTAA> by technical interview i mean white boarding question
<shevy> what is the purpose of a class
jenrzzz has joined #ruby
startupality has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
rismoney1 has joined #ruby