sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
OffTheRails has quit [Ping timeout: 255 seconds]
fly2web has joined #ruby
<fly2web>
hello
pzula has quit [Ping timeout: 255 seconds]
b00stfr3ak has quit [Ping timeout: 256 seconds]
oso96_2000 is now known as oso|away
Takle has joined #ruby
rubytor has quit [Ping timeout: 240 seconds]
WormDrink has quit [Ping timeout: 272 seconds]
b00stfr3ak has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sepp2k1 has joined #ruby
<coldkey21>
hello
<coldkey21>
how are you?
Petru has quit [Quit: Leaving]
Takle has quit [Ping timeout: 260 seconds]
IteratorP has joined #ruby
phoo1234567 has quit [Quit: Leaving]
enebo has joined #ruby
<fly2web>
hello
sepp2k has quit [Ping timeout: 245 seconds]
<fly2web>
i must create github account?
yeticry has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
wald0_ has quit [Ping timeout: 264 seconds]
yeticry has joined #ruby
<FifthWall>
Depends, what are you trying to do?
<fly2web>
i don’t know what to do now.
<fly2web>
FifthWall:
tkuchiki has quit [Ping timeout: 260 seconds]
<fly2web>
i just want know ruby module.
testcore has quit [Quit: BitchX: it does a body good]
WormDrink has joined #ruby
<FifthWall>
If you are just looking for a ruby module then no you don't need a github account.
<FifthWall>
gem*
enebo has quit [Quit: enebo]
<fly2web>
oh
<fly2web>
yesterday, ruby man said to me ‘i must know github to know ruby module’.
fly2web has left #ruby [#ruby]
fly2web has joined #ruby
<FifthWall>
Well, knowing git helps. Knowing your way around the site helps. But you don't actually need an account.
jamto11 has joined #ruby
<FifthWall>
Unless you're publishing your own gem, in which case it's still not a requirement but it is recomended.
bmurt has quit []
rubytor has joined #ruby
<fly2web>
what is gem?
centrx has joined #ruby
<centrx>
Troll alert
vt102 has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
fabrice31 has joined #ruby
<fly2web>
:(
Pizza has joined #ruby
<FifthWall>
:c
<Pizza>
hi ruby people!
ra4king has joined #ruby
Lightsword has quit [Quit: Lightsword]
yokel has joined #ruby
<fly2web>
i want eat piza
robbyoconnor has quit [Excess Flood]
<Pizza>
pizza is me
<centrx>
A match made in heaven
robbyoconnor has joined #ruby
<Pizza>
what sort of ide's or editors does the ruby community use?
<fly2web>
i use eclipse
<fly2web>
that is good
<centrx>
vim
<Pizza>
woah. eclipse for ruby? mind = blown
<Pizza>
vim, that's pretty sweet.
<centrx>
Pizza, fly2web is trolling, I wouldn't listen to him
davedev24_ has quit []
<fly2web>
but eclipse for ruby is good
<Pizza>
uh, kinda. i actually am interested in learing what the "standard" tooling set up is for ruby.
<wallerdev>
i use textmate
<wallerdev>
textmate + terminal lol
<Pizza>
or if a consensus on the tooling has even been made.
<FifthWall>
Vim + Tmux for me.
<fly2web>
eclipse have automatic complement , but vim don’t have it
<centrx>
Pizza, Many different tools are used
jamto11 has quit [Ping timeout: 260 seconds]
<centrx>
Pizza, Ruby does not have as much need for IDE as other kinds of languages, like Java
OffTheRails has joined #ruby
<Pizza>
Would you say there is no conensus on tooling for ruby? pretty much the opposite of C# where *everyone* uses the same IDE?
keen____ has quit [Ping timeout: 245 seconds]
melik__ has joined #ruby
<wallerdev>
vim has ctags
<FifthWall>
Yeah, that sounds fair.
rubytor has quit [Ping timeout: 264 seconds]
<wallerdev>
yes nothing like c#
<wallerdev>
c# is full of boilerplate code
<wallerdev>
and has static typing
fabrice31 has quit [Ping timeout: 245 seconds]
<wallerdev>
so definitely need an IDE
<Pizza>
oh yeah. I use C# for my job, put prefer dynamic languages like ruby and lisp.
<wallerdev>
i used c# for a long time
<wallerdev>
doing javascript work now tho
<Pizza>
i am one of the few C# developers in the world who doesn't use Visual STudio.
<FifthWall>
vim, emacs, and sublime are usually what I see when people ask this sort of question
<wallerdev>
what do you use?
mikepack has joined #ruby
<wallerdev>
VS is like the holy grail for .NET programming
<Pizza>
I use Emacs + Omnisharp for C#.
choke has quit [Quit: Leaving]
<centrx>
Pizza, I would say thin but featureful text editors like Textmate and Sublime Text, and standard Unix editors like vim and emacs, are the most common.
<Pizza>
oh great.
pzula has joined #ruby
<Pizza>
does ruby have an interactive environement? I'm very new to ruby.
<FifthWall>
irb
tuxninja has joined #ruby
<wallerdev>
yeah a lot of people coming to ruby from languages like java or c# cling to their IDEs
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<centrx>
Pizza, irb is the standard included REPL. pry is a more feature-filled popular one.
tkuchiki has joined #ruby
<wallerdev>
are you on windows?
<Pizza>
sweet. If ruby has an interactive environement then i'm good2go.
<Pizza>
yes
<wallerdev>
:(
<Pizza>
windows here
<wallerdev>
good luck
<wallerdev>
hope you like the windows command prompt lol
bridge has joined #ruby
<Pizza>
I don't really use windows event though I'm on windows. Everything is done through emacs as an interface layer.
quantsini_ is now known as quantsini
<Pizza>
Emacs is my OS. Windows/linux/mac is just an implementation detail.
<wallerdev>
some gems might not compile on windows, so be careful with gems with native extensions
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
<Pizza>
hmm. ruby is not very portable? or is it just some ruby code hooks into native programs?
<centrx>
Is Ruby on Windows still extremely slow?
<centrx>
Windows is not very portable
britneywright has joined #ruby
<centrx>
Pizza, Any Linux, Unix, or OS X works well
mikepack has quit [Ping timeout: 264 seconds]
<Pizza>
if the issue is merely hookin then it's not an issue (for me).
<wallerdev>
you can build native libs with cygwin etc usually
opus has quit []
ahmeni has joined #ruby
tuxninja has quit [Ping timeout: 264 seconds]
<wallerdev>
but a lot of ruby code assumes a linux/unix system
thumpba has joined #ruby
<wallerdev>
since thats what its mostly run on
<ahmeni>
Has anyone done a ruby deployment where they package the entire ruby binary itself along with the gems?
<wallerdev>
depends what kind of delpoyment you mean
<fly2web>
pizza use eclipse
<Pizza>
hmmm. no matter. I'm going to dive into ruby regardless of i'ts windows support.
<wallerdev>
but people do similar things with rvm etc and bundler
sambao21 has quit [Ping timeout: 250 seconds]
<Pizza>
fly2web. Emacs is so far surpassing eclipse it is not even funny.
ddv has quit [Ping timeout: 260 seconds]
<wallerdev>
eclipse is so java
zz_karupa is now known as karupa
<Pizza>
I have a full true IDE that surpases visual studio in it's C# intellisense. All within emacs. Eclipse is a dead duck.
rubytor has joined #ruby
echooo has joined #ruby
<ahmeni>
yeah I'm currently doing the gem packaging with gem install --deployment --path, but I don't want the deployed box to have to pull in external deps via rvm
<Pizza>
I can swithc between thousands of atcive buffers with a mere thought in emacs.
<ahmeni>
Our build server is all rvm stuff so my next path was going to see if I can just package the ruby out of the ~/.rvm but wanted to see if there were alternatives
<Pizza>
I can liberarte algorthims that emerge out of active data with emacs.
ddv has joined #ruby
<wallerdev>
ahmeni: might want to look at bundle package
<wallerdev>
looks at your gemfile and puts all the gems in vendor somethin
<ahmeni>
yeah that's just gems, i'm already doing that and its working okay
thumpba has quit [Ping timeout: 240 seconds]
b00stfr3ak has quit [Ping timeout: 260 seconds]
<wallerdev>
well you cant really just include ruby unless the ruby build would be the same, youd have to compile it on the machine right?
Zebroid has joined #ruby
<ahmeni>
it would be compiled on the build servers, which are the same RHEL 5 base as the staging and production environments
nanoyak has quit [Quit: Computer has gone to sleep.]
<wallerdev>
cylofe: what OS are you on
<cylofe>
wallerdev: ubuntu
<wallerdev>
ah
b00stfr3ak has joined #ruby
<wallerdev>
probably feels more native there since linux has no ui standards
ixti has quit [Quit: WeeChat 0.4.3]
<wallerdev>
lol
b00stfr3ak has quit [Read error: Connection reset by peer]
jamto11 has joined #ruby
thams has quit [Quit: thams]
fgo has quit [Ping timeout: 256 seconds]
thams has joined #ruby
freerobby has joined #ruby
pzula has quit [Ping timeout: 264 seconds]
<cylofe>
hahaha... I had to customize a lot of shortcuts for it because it wasn't build with commonly known shortcut keys but other than that it was fine :)
enebo has joined #ruby
wjimenez_5271_ has quit [Remote host closed the connection]
sambao21 has joined #ruby
wjimenez5271 has joined #ruby
lw has joined #ruby
<wallerdev>
yeah i use a similar program (basically all their IDEs use the same shell) for javascript
<wallerdev>
they basically disregard every mac shortcut besides copy and paste lol
<wallerdev>
and java never feels native :(
opus has joined #ruby
PanPan has joined #ruby
rubytor has quit [Ping timeout: 240 seconds]
alexju has quit [Ping timeout: 260 seconds]
tylerkern has joined #ruby
sambao21 has quit [Client Quit]
jamto11 has quit [Ping timeout: 256 seconds]
toastynerd has quit [Remote host closed the connection]
alexju has joined #ruby
NinoScript has joined #ruby
mr_snowf1ake has joined #ruby
NinoScript has quit [Client Quit]
aspires has quit []
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
echooo has joined #ruby
mikesplain has joined #ruby
jshultz has quit [Quit: Connection closed for inactivity]
mikesplain has quit [Client Quit]
Channel6 has joined #ruby
gigetoo has quit [Remote host closed the connection]
_reset has joined #ruby
NinoScript has joined #ruby
_reset has quit [Client Quit]
mikesplain has joined #ruby
macclearich__ has quit [Quit: Computer has gone to sleep.]
sevenseacat has joined #ruby
macclearich__ has joined #ruby
wald0 has joined #ruby
reset has quit [Ping timeout: 255 seconds]
Hobogrammer has quit [Ping timeout: 250 seconds]
amclain has joined #ruby
blr has joined #ruby
macclearich__ has quit [Ping timeout: 264 seconds]
milky has joined #ruby
wald0 has quit [Ping timeout: 245 seconds]
toastynerd has joined #ruby
toastynerd has quit [Remote host closed the connection]
x1337807x has joined #ruby
<blr>
hi there, attempting to bundle install cucumber-nagios from github, having specified gem 'cucumber-nagios', :git => '<github...>' installs all of the dependencies, except cucumber-nagios itself.
Zebroid has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
Xuerian has quit [Quit: No Ping reply in 180 seconds.]
claw has joined #ruby
Zebroid has joined #ruby
robustus has quit [Ping timeout: 250 seconds]
claw___ has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 245 seconds]
opus has quit []
Zebroid has quit [Remote host closed the connection]
Xuerian has joined #ruby
robustus has joined #ruby
d4nk has joined #ruby
arya_ has quit [Ping timeout: 250 seconds]
kireevco has quit [Remote host closed the connection]
Azure has quit [Remote host closed the connection]
thumpba has joined #ruby
northfurr has quit [Quit: northfurr]
claw has quit [Remote host closed the connection]
jamto11 has joined #ruby
sixxy has quit [Quit: Leaving]
maestrojed has joined #ruby
claw_ has joined #ruby
claw_ has quit [Remote host closed the connection]
centipedefarmer has quit [Remote host closed the connection]
Lewix has joined #ruby
kireevco1 has joined #ruby
centipedefarmer has joined #ruby
davedev24_ has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
centipedefarmer has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
claw_ has joined #ruby
claw_ has quit [Remote host closed the connection]
centipedefarmer has quit [Read error: Connection reset by peer]
thams has quit [Quit: thams]
centipedefarmer has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
Azure has joined #ruby
blr has left #ruby [#ruby]
kireevco1 has quit [Client Quit]
Sirupsen has joined #ruby
claw_ has joined #ruby
claw_ has quit [Remote host closed the connection]
claw_ has joined #ruby
butblack has quit [Quit: butblack]
crazydiamond has joined #ruby
hamakn has quit [Remote host closed the connection]
centipedefarmer has joined #ruby
opus has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
melik__ has quit [Quit: Computer has gone to sleep.]
_5kg has quit [Ping timeout: 240 seconds]
Akagi201 has joined #ruby
arya_ has joined #ruby
melik__ has joined #ruby
MartinCleaver has quit [Quit: MartinCleaver]
centipedefarmer has joined #ruby
fgo has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
claw_ has quit [Remote host closed the connection]
lw has quit [Quit: s]
maestrojed has quit [Quit: Computer has gone to sleep.]
centipedefarmer has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
centiped_ has joined #ruby
centiped_ has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
_5kg has joined #ruby
aspires has joined #ruby
claw_ has joined #ruby
melik__ has quit [Ping timeout: 255 seconds]
centipedefarmer has quit [Read error: Connection reset by peer]
mikesplain has quit []
fgo has quit [Ping timeout: 255 seconds]
centipedefarmer has joined #ruby
GriffinHeart has joined #ruby
Hobogrammer has joined #ruby
enebo has quit [Quit: enebo]
centipedefarmer has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
wallerdev has quit [Quit: wallerdev]
claw_ has quit [Remote host closed the connection]
mikesplain has joined #ruby
diegoviola has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
tokik has joined #ruby
claw_ has joined #ruby
melik__ has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
b00stfr3ak has joined #ruby
zz_jrhorn424 is now known as jrhorn424
centipedefarmer has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
IceDragon has joined #ruby
hamakn has joined #ruby
centipedefarmer has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
centipedefarmer has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
centipedefarmer has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
toastynerd has joined #ruby
claw_ has quit [Remote host closed the connection]
centipedefarmer has joined #ruby
centipedefarmer has quit [Read error: Connection reset by peer]
claw_ has joined #ruby
fabrice31 has joined #ruby
brianherman has joined #ruby
claw__ has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claw_ has quit [Remote host closed the connection]
baweaver has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
claw__ has quit [Remote host closed the connection]
newUser1234 has quit [Quit: Leaving...]
newUser1234 has joined #ruby
yetanoth1rdave has quit [Ping timeout: 240 seconds]
newUser1234 has quit [Client Quit]
newUser1234 has joined #ruby
<theharshest>
can anyone tell me how to resolve version dependency conflicts like "Gem::ConflictError: Unable to activate mida-0.3.8, because nokogiri-1.4.7 conflicts with nokogiri (>= 1.5)" in pry?
<theharshest>
havenwood, suggestions please
freerobby has joined #ruby
claw__ has joined #ruby
claw__ has quit [Remote host closed the connection]
SloggerKhan has quit [Ping timeout: 264 seconds]
<centrx>
theharshest, Why are you using nokogiri-1.4.7 ?
aspires has quit []
<sevenseacat>
upgrade nokogiri
<centrx>
1.4.7 July 1, 2011 (199 KB)
<centrx>
Your version is officially three years old
claw__ has joined #ruby
kachi8 has joined #ruby
jvargas has joined #ruby
<jvargas>
hi there. i'm a but confused about how to tell 'bundle' to use my ruby 1.9.3 version instead of 1.8
<OffTheRails>
have `ruby "1.9.3"` at top of Gemfile
<jvargas>
by default it uses ruby 1.9.3, but I do have installed 1.9.3 too. Have any idea how to tell bundle to run with ruby 1.9.3? I need this because a gem requires this ruby version.
Sleepee has joined #ruby
larissa has quit [Quit: Leaving]
SloggerKhan has joined #ruby
toastynerd has quit [Remote host closed the connection]
<havenwood>
theharshest: as they said, i'd expect nokogiri 1.5+ to work: gem update nokogiri
toastynerd has joined #ruby
<theharshest>
centrx, svenseacat - thanks, but now when I require "mida", then do require "opengraph", I get "Gem::ConflictError: Unable to activate opengraph-0.0.4, because nokogiri-1.6.3.1 conflicts with nokogiri (~> 1.4.0"
<havenwood>
jvargas: So you're using 1.8 but need to use 1.9 for a gem?
toastynerd has quit [Read error: Connection reset by peer]
<havenwood>
jvargas: What os/distro?
<theharshest>
havenwood: I get this error when I require "mida" and "opengraph"
<havenwood>
jvargas: How'd you install Ruby?
<jvargas>
OffTheRails: Just did, but it still uses 1.8.7, this is the error:
toastynerd has joined #ruby
<jvargas>
"Your Ruby version is 1.8.7, but your Gemfile specified 1.9.3"
<havenwood>
theharshest: Using Bundler?
<OffTheRails>
how about using rvm or rbenv?
<jvargas>
havenwood: ubuntu 12.04, via apt-get
<OffTheRails>
add .ruby-version to your directory
<OffTheRails>
no, screw apt-get
<havenwood>
jvargas: Use update-alternatives to select the Ruby and Gem you want.
<OffTheRails>
uninstall, install rvm or rbenv
<theharshest>
havenwood: no, I'm not sure if it works with pry
deric_skibotn has quit [Ping timeout: 255 seconds]
<OffTheRails>
echo "ruby-1.9.3" > .ruby-gemset
<OffTheRails>
ugh...
<OffTheRails>
echo "ruby-1.9.3" > .ruby-version
<havenwood>
jvargas: update-alternatives works fine to switch between the apt packaged Rubies, or you can install and swap between Rubies with ruby-install/chruby, RVM or ruby-build/rbenv.
wjimenez5271 has quit [Remote host closed the connection]
mikepack has joined #ruby
claw__ has quit [Remote host closed the connection]
<havenwood>
jvargas: Or just remove 1.8 from your system. :P
SloggerKhan has quit [Ping timeout: 240 seconds]
dseitz has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<havenwood>
jvargas: If you go the update-alternatives route, make sure to `sudo gem install bundler` on 1.9.
<jvargas>
havenwood: okay, just ran update-alternatives. But it displayed 1.9.1, not 1.9.3, and somehow /usr/bin/ruby1.9.3 is a symlink to /usr/bin/ruby1.9.1
claw__ has joined #ruby
Zenigor has quit [Remote host closed the connection]
<havenwood>
jvargas: Debian, bless them, call 1.9.3 by the ABI number 1.9.1.
tjr9898 has joined #ruby
Zenigor has joined #ruby
<benzrf>
mfw
<havenwood>
jvargas: That's 1.9.3, no worry.
<benzrf>
havenwood: why is that anyway
proxie has quit [Ping timeout: 250 seconds]
<sevenseacat>
and this is why we dont use apt packages for ruby
<havenwood>
benzrf: 1.9.1 was never a stable release, historical stuff I guess, but a source of mass ongoing confusion. >.>
mercwithamouth has quit [Ping timeout: 245 seconds]
<havenwood>
sevenseacat: hehe
<jvargas>
havenwood: bundler continues trying to use 1.8.7, but ruby -.version displays: ruby 1.9.3p0
SloggerKhan has joined #ruby
<havenwood>
jvargas: Did you install bundler on 1.9.3?
<benzrf>
[one of the creators of haskell once lamented that they shouldve renamed monads "warm, fuzzy things" so that people wouldnt get so intimidated]
<benzrf>
>A Warm, fuzzy thing is a type constructor with two operations, implementing a standard interface and following a few simple rules.
<benzrf>
>The Warm, fuzzy thing type class tells you the interface (what operations you've got, and their types), the Warm, fuzzy thing laws tell you what all types implementing that interface should have in common.
Bosox20051 has quit [Read error: Connection reset by peer]
<benzrf>
northfurr: i usually use single quote for predefined or magic strings
claw__ has quit [Remote host closed the connection]
<benzrf>
northfurr: basically, strings that are closer to symbols i usually go with singles
<pontiki>
there's a school of thought that says to use double quotes because you *might* later stick in some interpolation and forget to change them
<pontiki>
i call hogwash on that
zenojis has joined #ruby
OffTheRails has quit [Ping timeout: 240 seconds]
<northfurr>
i’m just in the habit of using double quotes D:
<pontiki>
plain strings get single quotes, complex strings get double
<pontiki>
some get %q and %Q, too, depending
fabrice31 has quit [Ping timeout: 255 seconds]
alexju has quit [Ping timeout: 272 seconds]
<pontiki>
it's ok, northfurr, it's somewhat a matter of taste / preference / imprinting
arya_ has quit [Ping timeout: 250 seconds]
<pontiki>
your code would *really* have to be near an edge if the difference in performace between them became important
njection_ has joined #ruby
claw___ has quit [Remote host closed the connection]
darkxploit has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamto11 has quit [Remote host closed the connection]
end_guy has quit [Remote host closed the connection]
claw___ has joined #ruby
alexju has joined #ruby
jvargas has quit [Quit: leaving]
nanoyak has joined #ruby
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
mikepack has joined #ruby
freerobby has quit [Quit: Leaving.]
AlSquire has joined #ruby
end_guy has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ari-_-e has quit [Ping timeout: 250 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has quit [Ping timeout: 272 seconds]
beneggett has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subtwo has joined #ruby
RandyT has quit [Ping timeout: 250 seconds]
darkxploit has quit [Ping timeout: 240 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
codabrink has quit [Ping timeout: 256 seconds]
claw___ has quit [Remote host closed the connection]
subtwo has quit [Ping timeout: 260 seconds]
dvb_ua has quit [Ping timeout: 264 seconds]
claw___ has joined #ruby
shevy has quit [Ping timeout: 240 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ari-_-e has joined #ruby
claw___ has quit [Remote host closed the connection]
claw___ has joined #ruby
opus has quit []
zkay11 has left #ruby [#ruby]
nanoyak has quit [Quit: Computer has gone to sleep.]
skysploit has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
s2013 has joined #ruby
claw___ has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
dayepa has quit [Quit: dayepa]
claw___ has joined #ruby
michaeldeol has joined #ruby
melik__ has quit [Quit: Computer has gone to sleep.]
melik__ has joined #ruby
dvb_ua has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shevy has joined #ruby
melik__ has quit [Ping timeout: 264 seconds]
claw has joined #ruby
claw___ has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 255 seconds]
mikepack has joined #ruby
claw has quit [Remote host closed the connection]
dayepa has joined #ruby
claw has joined #ruby
hakunin has quit []
kireevco has joined #ruby
jobewan has joined #ruby
agrinb has joined #ruby
s2013 has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
kireevco has quit [Client Quit]
mikepack has quit [Ping timeout: 240 seconds]
theharshest has joined #ruby
fgo has joined #ruby
wjimenez_5271_ has joined #ruby
pu22l3r has quit [Remote host closed the connection]
claw has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 264 seconds]
claw has joined #ruby
dbasch has joined #ruby
bradleyprice has quit [Remote host closed the connection]
davispuh has quit [Remote host closed the connection]
ssyrain has joined #ruby
bradleyprice has joined #ruby
narcan has joined #ruby
arya_ has joined #ruby
claw has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 260 seconds]
whyy has joined #ruby
mikepack has joined #ruby
claw has joined #ruby
kireevco has joined #ruby
nanoyak has joined #ruby
bradleyprice has quit [Ping timeout: 240 seconds]
claw has quit [Remote host closed the connection]
claw has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
claw has quit [Remote host closed the connection]
Guest29840 has quit [Read error: Connection reset by peer]
<robscormack>
if you find yourself struggling with code quality, try using rubocop to check guidelines
claw has joined #ruby
EvanR_ has joined #ruby
vsoftoiletpaper has quit []
claw has quit [Remote host closed the connection]
duncannz has joined #ruby
claw has joined #ruby
fly2web has left #ruby [#ruby]
timonv_ has quit [Ping timeout: 264 seconds]
kireevco has quit [Quit: Leaving.]
osvimer has joined #ruby
heftig has quit [Ping timeout: 250 seconds]
claw has quit [Remote host closed the connection]
ssyrain has quit [Remote host closed the connection]
asmodlol has joined #ruby
arup_r has joined #ruby
robscormack has quit [Quit: Leaving]
weems|nix has quit [Ping timeout: 255 seconds]
Duckily has quit [Quit: Duckily]
robscormack has joined #ruby
claw has joined #ruby
LexicalScope has quit [Read error: Connection reset by peer]
osvimer has quit [Quit: leaving]
benzrf is now known as benzrf|offline
claw has quit [Remote host closed the connection]
claw has joined #ruby
kireevco has joined #ruby
northfurr has quit [Quit: northfurr]
subtwo has joined #ruby
s2013 has quit [Ping timeout: 260 seconds]
claw has quit [Remote host closed the connection]
claw has joined #ruby
subtwo has quit [Ping timeout: 264 seconds]
krz has joined #ruby
timonv_ has joined #ruby
osvimer has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<chipotle>
anyone here read the new edition of the well grounded rubyist?
tobago has joined #ruby
<chipotle>
i'm learning ruby, i finished learn to program with chris pine, will this be a good book to go into next to learn how to make ruby programs?
<chipotle>
or is there a better way? i want to start building webapps in ruby rather than php (drupal)...
<chipotle>
so RoR or sinatra, i guess?
mary5030 has quit [Ping timeout: 256 seconds]
mikepack has quit [Ping timeout: 250 seconds]
sprihodko has joined #ruby
alexju has quit [Remote host closed the connection]
alexju has joined #ruby
aganov has joined #ruby
theharshest has quit [Quit: This computer has gone to sleep]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arup_r>
Hi All. I have one question.
yfeldblum has joined #ruby
Sauvin has joined #ruby
kireevco has quit [Quit: Leaving.]
theharshest has joined #ruby
<arup_r>
Suppose I want to define a method, which happens to be as *begin*. But there is a keyword of the same name exist. Should I give it a name as __begin__ or _begin ?
<arup_r>
Which convention should I follow ?
<davidcelis>
name it `start` instead
alexju has quit [Ping timeout: 255 seconds]
<jle`>
i want to name a function `if`
<sevenseacat>
+1 davidcelis
<arup_r>
Is _begin or __begin__ not good convention ?
<davidcelis>
jle`: no
<jle`>
:P
<davidcelis>
arup_r: if i saw a method called _begin or __begin__ i would think it had something to do with the keyword begin and that strange metaprogramming was going on.
<mozzarella>
smells python in here
apeiros has joined #ruby
<davidcelis>
__begin__ i would think was some sort of Ruby keyword like __dir__ or __FILE__
dawkirst has joined #ruby
<davidcelis>
_begin would make me think that it's a hidden method i shouldn't look at
<Hanmac>
PS: you can name a method "begin" but you need self.begin to call it
<davidcelis>
best just to come up with a different word.
theharshest has quit [Client Quit]
<eam>
@if = $begin = lambda {}
tylerkern has joined #ruby
<mozzarella>
>> def test wut; 'hiphip' end; test wut
<arup_r>
davidcelis: What is *hidden* method in Ruby ? I am aware of *private* methods only.
<eam>
oh now why not
codabrink has joined #ruby
<davidcelis>
arup_r: i just used hidden as an intention from the author. it's a convention used for "this is an under the hood thing, you don't need to look at this" methods
dbasch has quit [Quit: dbasch]
<eam>
>> def test wut; % real whitespace end; test wut
<arup_r>
sevenseacat: If there is really a situation, what will be your choice ? That's my question.
<sevenseacat>
my choice would be to rename the method
<sevenseacat>
i have never once used send to cover clashing method names
kristofers has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
<kristofers>
Hey could anyone tell me the equivalent of this in php : if entry[0...minlen] != prefix[0...minlen]
<davidcelis>
arup_r: her suggestion is the same as mine; come up with a different word that is as descriptive but doesn't clash with a built-in ruby keyword
<davidcelis>
why not something like `start`?
fabrice31 has joined #ruby
<eam>
or initialize
<davidcelis>
...
<davidcelis>
not really helpful :P
<eam>
:)
yeticry has joined #ruby
<arup_r>
eam: I will give you Ruby hero prize next year. Lollz
fgo has joined #ruby
<arup_r>
davidcelis: Who is her ? :)
<davidcelis>
the other person suggesting the same thing i am. sevenseacat.
relix has joined #ruby
aagdbl has joined #ruby
<arup_r>
Ok.. I was not aware of that. You people are so rude <joking>
kyb3r_ has joined #ruby
<davidcelis>
i don't think anybody's really been rude
yfeldblum has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
<chipotle>
anyone here read the new edition of the well grounded rubyist? it covers ruby 2.1
<chipotle>
i'm learning ruby, i finished learn to program with chris pine, will this be a good book to go into next to learn how to make ruby programs?
<chipotle>
or is there a better way? i want to start building webapps in ruby rather than php (drupal)...
osvimer has quit [Remote host closed the connection]
<chipotle>
so RoR or sinatra is what i have to learn once i learn ruby?
fgo has quit [Ping timeout: 260 seconds]
tagrudev has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
timonv_ has quit [Remote host closed the connection]
Arkaniad has joined #ruby
timonv_ has joined #ruby
lkb has quit [Ping timeout: 264 seconds]
starkhallo has quit [Ping timeout: 255 seconds]
amclain has quit [Quit: Leaving]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
<arup_r>
sevenseacat: Thanks
tylerkern has joined #ruby
<sevenseacat>
arup_r: youre welcome
qpok_ is now known as qpok
timonv_ has quit [Ping timeout: 250 seconds]
msch has quit [Ping timeout: 240 seconds]
vcoinminer____ has quit [Ping timeout: 240 seconds]
bcavileer___ has quit [Ping timeout: 240 seconds]
ceej has quit [Ping timeout: 240 seconds]
skmp has quit [Read error: Connection reset by peer]
maZtah has quit [Ping timeout: 272 seconds]
jeregrine has quit [Ping timeout: 240 seconds]
ssut has quit [Read error: Connection reset by peer]
antonishen has quit [Read error: Connection reset by peer]
Tranquility has quit [Read error: Connection reset by peer]
Jam___ has quit [Ping timeout: 250 seconds]
rfv has quit [Read error: Connection reset by peer]
adambeynon has quit [Read error: Connection reset by peer]
jam__ has quit [Ping timeout: 240 seconds]
Scorchin has quit [Ping timeout: 240 seconds]
mikepack has quit [Ping timeout: 256 seconds]
tiagonobre has quit [Ping timeout: 272 seconds]
halfdan has quit [Ping timeout: 260 seconds]
zzak__ has quit [Ping timeout: 272 seconds]
tadejm has quit [Ping timeout: 272 seconds]
mercwithamouth has quit [Ping timeout: 250 seconds]
bedouin has quit [Ping timeout: 260 seconds]
schaary has quit [Read error: Connection reset by peer]
bjeanes has quit [Ping timeout: 240 seconds]
callenb has quit [Ping timeout: 240 seconds]
alem0lars has joined #ruby
codabrink has quit [Ping timeout: 255 seconds]
skmp has joined #ruby
vcoinminer____ has joined #ruby
ssut has joined #ruby
asmodlol has quit [Quit: Leaving]
antonishen has joined #ruby
msch has joined #ruby
charles81____ has quit [Ping timeout: 240 seconds]
Tranquility_ has joined #ruby
rfv has joined #ruby
adambeynon has joined #ruby
ceej has joined #ruby
maZtah has joined #ruby
dmin7b5 has quit [Ping timeout: 264 seconds]
lkb has joined #ruby
bcavileer___ has joined #ruby
AlSquirrel has joined #ruby
djbkd has quit [Remote host closed the connection]
aagdbl has quit [Quit: This computer has gone to sleep]
jeregrine has joined #ruby
WORLDCUPdan has joined #ruby
Scorchin has joined #ruby
jam__ has joined #ruby
tiagonobre has joined #ruby
Jam___ has joined #ruby
schaary|afk has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
zzak___ has joined #ruby
AlSquire has quit [Ping timeout: 240 seconds]
tadejm has joined #ruby
belozi has joined #ruby
bedouin has joined #ruby
bjeanes has joined #ruby
Ilyas has joined #ruby
<belozi>
Can anyone here help me with carrierwave?
<dopiee>
happy to hear you are at least going to live :)
<belozi>
It's in the images folder in my app/assets
<sevenseacat>
so not in the fallback folder?
<belozi>
I guess that I should make folder called fallback and copy the image in there?
<belozi>
no
linojon has quit [Quit: linojon]
IteratorP has quit [Remote host closed the connection]
Ilyas has quit [Ping timeout: 255 seconds]
havenwood has quit [Remote host closed the connection]
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has joined #ruby
alem0lars has quit [Quit: alem0lars]
IteratorP has joined #ruby
<belozi>
Ok, that didn't work either
olivier_bK has joined #ruby
Lolo has joined #ruby
kiri has joined #ruby
Lolo has left #ruby [#ruby]
<belozi>
Sweet! I got it to work
<belozi>
Turns out, I don't need to make a folder called "assets!"
<sevenseacat>
woo!
<belozi>
Thanks, guys!
<sevenseacat>
o.O
fgo has quit [Ping timeout: 240 seconds]
_tpavel has joined #ruby
<robscormack>
that's an error in my code, I assume.
<robscormack>
fixing it :X
<robscormack>
sevenseacat what happened?
<sevenseacat>
no, im pretty sure belozi just doesnt know what hes doing
tectonic has quit []
<robscormack>
it's right, afaik the fallback image doesn't need to be in app/assets.
<sevenseacat>
it doesnt, but then you dont need the asset pipeline asset_path helpers
havenwood has joined #ruby
<robscormack>
ok, now I'm confused, wrote this piece of code in 1776 during the declaration of independence of the U.S.
arya_ has quit [Ping timeout: 240 seconds]
heftig has quit [Quit: Quitting]
mikepack has joined #ruby
wjimenez5271 has joined #ruby
heftig has joined #ruby
bradleyprice has joined #ruby
ndrei has quit [Ping timeout: 256 seconds]
<belozi>
That's nice seveneacat.
beneggett has joined #ruby
GriffinHeart has quit [Read error: Connection reset by peer]
<belozi>
This is the first time that I've user carrier wave
GriffinHeart has joined #ruby
roolo has quit [Quit: Leaving...]
mikepack has quit [Ping timeout: 255 seconds]
wjimenez5271 has quit [Ping timeout: 240 seconds]
mark06 has joined #ruby
subtwo has joined #ruby
timfoo has quit [Ping timeout: 244 seconds]
timfoo has joined #ruby
aagdbl has joined #ruby
mark06 has left #ruby [#ruby]
narcan has quit [Ping timeout: 260 seconds]
kachi8 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Xeago has joined #ruby
<mozzarella>
does ruby have a call operator?
banjara has joined #ruby
banjara has quit [Changing host]
banjara has joined #ruby
<robscormack>
yeah, sure, call 1-800-USE-RUBY...
realityloop has joined #ruby
<robscormack>
ok, now on the serious one: yep, it does.
subtwo has quit [Ping timeout: 264 seconds]
memph1s has joined #ruby
<realityloop>
Could someone please help me to get therubyracer installed? I'm currently getting errors when trying.. http://privatepaste.com/5ab5bf0dbe
yfeldblu_ has joined #ruby
<mozzarella>
realityloop: install v8
<robscormack>
realityloop gem install libv8
<realityloop>
mozzarella: v8 was installed earlier..
<realityloop>
mozzarella: but trying again anyway
<realityloop>
and it errored again
<robscormack>
realityloop what OS?
<realityloop>
mozzarella: uninstalling both and trying again
<realityloop>
Debian Wheezy
<robscormack>
then uninstall v8 and install therubyracer plain simple.
<robscormack>
gem uninstall v8
<realityloop>
robscormack: doing that now
<robscormack>
sorry, libv8
yfeldblum has quit [Ping timeout: 264 seconds]
dangerousdave has joined #ruby
<mozzarella>
therubyracer pulls libv8 as a dependency I think
<realityloop>
mozzarella: I blieve it's supposed to
melik__ has joined #ruby
<robscormack>
since libv8 is just a C library, having it installed prior to installing therubyracer causes conflicts
<realityloop>
robscormack: so remove and then just install therubyracer?
<realityloop>
remove libv8 I mean
<robscormack>
yes sir
<realityloop>
robscormack: it build succesfully after uninstalling libv8 and therubyracer and then installing libv8 and therubyracer
little_fu has joined #ruby
<robscormack>
that's not what I was meant but cool!
<realityloop>
robscormack: I'm trying to run bundle install after removing them both again
blackgoat has quit [Quit: reboot]
freggles has quit [Read error: Connection reset by peer]
xuitlacoche has joined #ruby
<mozzarella>
robscormack: how do you define the call operator?
charliesome has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<realityloop>
^ if you want to see the excat commands
melik__ has joined #ruby
<realityloop>
in step 2
<robscormack>
you're not using a Ruby version manager
<realityloop>
robscormack: didn't think so
andrewlio has joined #ruby
<robscormack>
well, you installed Ruby as the root user
<robscormack>
then the gems are installed as the root user, but you're sudoing to the git user.
<realityloop>
so I should redo ruby install that as the git user??
<robscormack>
no, there's an easier way
<robscormack>
hold on, lemme find it for you
<realityloop>
robscormack: thanks
kiri has joined #ruby
<robscormack>
or instead of sudo -u git, you can use sudo -u root for everything saying "bundle install"
dc__ has joined #ruby
<robscormack>
gosh I hate gitlab.
supermarkettoday has joined #ruby
supermarkettoday has quit [Remote host closed the connection]
Takle has joined #ruby
zdevdusty has quit [Remote host closed the connection]
dc_ has quit [Ping timeout: 260 seconds]
zdevdusty has joined #ruby
ramfjord has joined #ruby
<realityloop>
robscormack: I have a love/hate relationship with it
doev has joined #ruby
<robscormack>
realityloop once you installed it, it's perfect. the painful thing is installing it.
<realityloop>
robscormack: well this is an update
<sevenseacat>
i think gitlab is awesome
<realityloop>
between major versions tho
<robscormack>
sevenseacat I agree. it's just that installing/updating is painful if you're drunk.
<sevenseacat>
ah ive never had to do that, im just a user :P
<realityloop>
robscormack: and sometimes when your sober too
claymore has joined #ruby
<realityloop>
argh.. it's failing even as root now
<robscormack>
realityloop I never had to do that. I don't define myself as a developer having problems with drinking but as a drunk having problems with development.
<belozi>
This doesn't work either: <%= image_tag @user.pic %>
ndrei has joined #ruby
claymore has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
subtwo has joined #ruby
<robscormack>
what does it throw?
pvb has joined #ruby
<belozi>
The same thing as the pic before
<belozi>
I think it's an issue with where the default image is located
<sevenseacat>
its not going near the default URL
opus has joined #ruby
<belozi>
The pic that I uploaded works fine
<belozi>
It's just the route for the fallback folder that's the problem, I think
<sevenseacat>
ten bucks says you uploaded an image, and then removed the image from the server, and expected rails to somehow know this
subtwo has quit [Ping timeout: 250 seconds]
<sevenseacat>
rails knows you uploaded a file, and the path to that file when it saved it
<sevenseacat>
again, its not looking for the fallback at all
<belozi>
yep, there was a temp folder for the previous image that I deleted
<robscormack>
belozi, don't delete images by yourself, let carrierwave do it 4u
<sevenseacat>
if you delete the image manually, you need to tell your model that it no longer has an image
supermarkettoday has quit [Remote host closed the connection]
<belozi>
I rolled back a migration, because I put a default image in the migration
<sevenseacat>
otherwise it will try to render the image you saved
razum2um has quit [Ping timeout: 245 seconds]
<sevenseacat>
even though it doesnt exist
Darryl has joined #ruby
jmbrown412 has quit [Ping timeout: 255 seconds]
<belozi>
I saved the first image under the first user, and uploaded another image. That one is working. It's the default image that's the problem, though. So how do I tell the model that I deleted an image?
<ptrrr>
I though Array#map only called the block with one parameter
<arup_r>
How are you ?
Pharaoh2 has quit [Ping timeout: 264 seconds]
<arup_r>
ptrrr: nums.drop(1) gives you [2,3]
<arup_r>
and then
<jhass>
ptrrr: that's right, and that one parameter is an array. Block parameters automatically decompose arrays
whyy has quit [Read error: Connection reset by peer]
<amisha>
shevy, okay
<arup_r>
you did [1,2,3].zip([2,3])
<ptrrr>
they do! awesome
n3byt3 has joined #ruby
<ptrrr>
thanks jhass
n3byt3 has quit [Remote host closed the connection]
wjimenez5271 has quit [Ping timeout: 255 seconds]
whyy has joined #ruby
<jhass>
ptrrr: you can even get fancier, like |foo, (bar, *baz)| to decompose nested structures
<arup_r>
ptrrr: You got the answer of yours?
<ptrrr>
jhass: I went with |(x1, x2)| initially, but that’s overkill then
<ptrrr>
arup_r: yup
<ptrrr>
thanks anyway
jottr has joined #ruby
<arup_r>
cool
<arup_r>
shevy is busy now-a-days
chrishough has joined #ruby
wald0 has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
<belozi>
I can see that I will be spending all of my programming time tomorrow working with carrierwave. How complicated is using carrierwave n comparison to other gems like Mandrill?
Zebroid has joined #ruby
subtwo has joined #ruby
amacou has joined #ruby
<arup_r>
belozi: There can be an explosion.. Be careful.. ;)
Zebroid has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
banister has joined #ruby
wald0 has joined #ruby
Pharaoh2_ has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
<shevy>
arup_r I had to leave here for a while :P
<arup_r>
:(
<arup_r>
We need you..
WORLDCUPdan is now known as halfdan
Slavox|AFK is now known as Slavox
DaniG2k has joined #ruby
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
wald0 has quit [Ping timeout: 245 seconds]
Pharaoh2_ has quit [Ping timeout: 250 seconds]
dangerousdave has quit []
alexju has joined #ruby
<shevy>
I won't live forever man
wald0 has joined #ruby
<belozi>
Where are you guys from?
claw_ has joined #ruby
roolo has quit [Quit: Leaving...]
<arup_r>
shevy: Great!
<arup_r>
belozi: I am from Moon.. came here to drink some water
wald0 has quit [Ping timeout: 272 seconds]
<arup_r>
belozi: There is no water
<belozi>
lol!
LadyRainicorn has quit [Ping timeout: 255 seconds]
claw has quit [Ping timeout: 255 seconds]
arup_r has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 272 seconds]
Trynemjoel has quit [Ping timeout: 245 seconds]
fly2web has joined #ruby
<fly2web>
Hello
<jhass>
hi
<fly2web>
:)
<belozi>
hey
<fly2web>
oh yes
<fly2web>
my popularity is flowed.
LadyRainicorn has joined #ruby
<fly2web>
overflow
arup_r has joined #ruby
phoo1234567 has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
<fly2web>
hello everyone
<fly2web>
every ruby programmar
fgo has joined #ruby
<tobiasvl>
yes hello
<fly2web>
oh
<fly2web>
very nice
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Joulse has quit [Quit: Joulse]
wald0 has joined #ruby
Perceptes has joined #ruby
fmendez has joined #ruby
whyy has quit [Remote host closed the connection]
Trynemjoel has joined #ruby
Gx4 has quit [Quit: Išeinu]
fgo has quit [Ping timeout: 260 seconds]
jds has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
wald0 has quit [Ping timeout: 250 seconds]
mattmcclure has quit [Quit: Connection closed for inactivity]
lkba has joined #ruby
tatsuya_o has joined #ruby
tokik has quit [Ping timeout: 240 seconds]
<fly2web>
? are simply constant names that you don’t have to predeclare and that are guaranteed to be unique. <—— what is ?
<fly2web>
what is ‘?’?
<canton7>
context?
narcan has joined #ruby
<fly2web>
hahaha
<fly2web>
no
<fly2web>
canton7:
<canton7>
no, as in, where did you get that quote from?
phutchins has joined #ruby
<fly2web>
i got it from ‘programing Ruby 1.9 & 2.0'
<fly2web>
you don’t know it?
<canton7>
I don't recognise that quote by heart, no
<canton7>
I'm wondering whether it's a character encoding issue or something :P
<fly2web>
???? are simply constant names that you don’t have to predeclare and that are guaranteed to be unique.
<fly2web>
do you know ????
<canton7>
apparently the original text has 'Symbols' there
<workmad3>
fly2web: are you talking about symbols?
<fly2web>
yes great
<fly2web>
workmad3:
<canton7>
not sure what effed up copy you're reading :P
<jhass>
fly2web: what's your IRC clients encoding set to?
<canton7>
ooh it was a test of sorts
<czaks>
utf-8
<canton7>
that wasn't clear ;)
<workmad3>
^^
roolo has joined #ruby
<czaks>
jhass:
<fly2web>
:)
wald0 has joined #ruby
<workmad3>
fly2web: your intention there was as clear as my coffee ;)
<canton7>
random test phrased as a genuine problem!
<fly2web>
thanks workmad3
northfurr has joined #ruby
<belozi>
Does anyone do anything with ruby besides build web apps?
Panicky has joined #ruby
bridge has quit [Ping timeout: 272 seconds]
wald0 has quit [Ping timeout: 250 seconds]
<canton7>
random little cli apps
timonv_ has quit [Remote host closed the connection]
<canton7>
data manipulating
wald0 has joined #ruby
ALVAN has quit [Read error: Connection reset by peer]
RioS2 has joined #ruby
subtwo has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
kiri has quit [Ping timeout: 240 seconds]
tokik has joined #ruby
lkb has joined #ruby
zdevdusty has joined #ruby
germanstudent_ has quit [Quit: raus]
germanstudent has joined #ruby
mehlah has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
ARM9 has joined #ruby
JohnFord has joined #ruby
wald0 has quit [Ping timeout: 260 seconds]
subtwo has quit [Ping timeout: 272 seconds]
<belozi>
So I'm building an app that will help walk elementary school and middle school students through a project where they find a problem and build a solution to the problem. The project will last about a month. Does anyone want to take a shot at how they would go about modelling something like that?
MCDev has quit [Ping timeout: 250 seconds]
wald0 has joined #ruby
zdevdusty has quit [Ping timeout: 240 seconds]
IteratorP has quit [Remote host closed the connection]
<ARM9>
why are you building it already if you don't even have a design document
Xeago has quit [Remote host closed the connection]
<belozi>
I'm not, I'm thinking about how I would model it, I just set up the users and authentication stuff so far.
Xeago has joined #ruby
<belozi>
I haven't built the working parts yet.
wald0 has quit [Ping timeout: 255 seconds]
<belozi>
I want them to submit problems, vote on them, submit solutions, vote on them so that they can pick a problem and the best way to solve it. Then I want to be able to keep a record of what gets done daily, and generate a final report at the end.
<pontiki>
belozi: i'd not think about modeling, but about the tasks the kids would be doing on the site
<canton7>
use-cases!
<pontiki>
use cases! use cases! use cases!
<pontiki>
:D
<ARM9>
developers developers developers
Xeago has quit [Ping timeout: 245 seconds]
<pontiki>
location! location! location! ..wait..
Pharaoh2 has joined #ruby
<jhass>
all your "solutions" require own thinking! :(
<pontiki>
all your solutions belong to us!
<belozi>
lol...I was just curious about how hard this would be for a newbie.
<pontiki>
what's your ultimate goal?
<pontiki>
for this project i mean, not death
ixti has joined #ruby
<ARM9>
to get with their moms
<belozi>
I'm building an app to help out a non-profit.
whyy has joined #ruby
<belozi>
I won't have any contact with the kids...or their moms. :(
Pharaoh2 has quit [Ping timeout: 256 seconds]
<pontiki>
do you have kids in that age range?
<jhass>
start with some mockups, define some usecases, build a UI prototype
<pontiki>
^
<jhass>
don't start with the backend logic, it'll come naturally
<jhass>
(for such a small project)
ndrei has quit [Ping timeout: 255 seconds]
<pontiki>
or if it doesn't, that probably means you have the front end wrong...
<belozi>
ok
<jhass>
you don't even have to settle on a server side technology yet
ndrei has joined #ruby
<pontiki>
s'truth, there might not *be* one
<pontiki>
(but there probably is)
amisha has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
ItSAN____ has quit [Quit: Leaving...]
northfurr has quit [Quit: northfurr]
duncannz has quit [Ping timeout: 264 seconds]
crudson has quit [Ping timeout: 260 seconds]
kiri has joined #ruby
kiri_ has joined #ruby
kiri_ has quit [Remote host closed the connection]
ptrrr has quit [Quit: ptrrr]
alem0lars has joined #ruby
banister has joined #ruby
gervx has joined #ruby
<gervx>
chunky bacon!
<wasamasa>
omnom
Sirupsen has joined #ruby
chrishough_ has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Joulse has joined #ruby
chrishough has quit [Ping timeout: 260 seconds]
chrishough_ is now known as chrishough
LadyRainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
mercwithamouth has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
narcan has joined #ruby
timonv_ has joined #ruby
CorpusCallosum has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
arup_r has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
arup_r has joined #ruby
lethan has quit []
<fly2web>
If i read ‘Programming ruby 1.9&2.0’ then i m good at ruby.
<pontiki>
no
fgo has joined #ruby
<phutchins>
lol
<fly2web>
why? pontiki
<pontiki>
you will never be good at anything if all you do is read, except reading
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<fly2web>
why? pontiki
<pontiki>
asked and answered
mostlybadfly has joined #ruby
chrishough has quit [Quit: chrishough]
<apeiros>
fly2web: I read a book about judo. am I good at judo now?
MCDev has joined #ruby
<wasamasa>
there's no divine IRC punishment for being stupid, right
<pontiki>
well, yes there is, wasamasa
<fly2web>
yes you can apeiros
<ddv>
doesn't matter what you do you will never be as good as ddv
dblessing has joined #ruby
<fly2web>
i want hack bank system by ruby. is it possible?
ptrrr has joined #ruby
hamakn has quit [Remote host closed the connection]
<pontiki>
no
<fly2web>
why? pontiki
arup_r has quit [Ping timeout: 272 seconds]
<pontiki>
why do you think?
<pontiki>
you tell me
<ddv>
lol
<fly2web>
i want be rich with hacking bank system.
malditogeek has quit [Quit: Leaving.]
<pontiki>
tell why it's not possible
<apeiros>
fly2web: that's cool. it takes me ~6-8h to read a book. so in just about 2 weeks I can become a good martial artist in 14 arts!
fgo has quit [Ping timeout: 245 seconds]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros>
why on earth do people spend years in dojos training? just read a book.
<tobiasvl>
"I know kung fu"
<belozi>
I've read "The Book of Ruby," most of "Beginning Ruby: From Novice to Professional," done the Ruby track on codeacademy twice, and completed the "Michael Hartl Rails Tutorial" 3 times...I am not and expert. (._. )
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki>
tobiasvl: i know kung fu and you're no kung fu
<fly2web>
ok
<pontiki>
it takes 10,000 hours of practice (not reading) to become world class
jonahR has joined #ruby
Morkel has joined #ruby
<fly2web>
then we cooperate each other, then we can hack world bank?
<pontiki>
reading is a prerequisite to acquiring knowledge
<ddv>
lol
<pontiki>
but it is not that actual acquisition of a skill
<fly2web>
we are more than 800
calleerlandsson1 has left #ruby ["WeeChat 0.3.8"]
jeregrine has quit [Read error: Connection reset by peer]
<pontiki>
you will never be enough
britneywright has joined #ruby
<pontiki>
even if you had 8 billion
<ptrrr>
what if you’re 10,000 people practicing? is one hour per person enough in that case?
yfeldblum has joined #ruby
<pontiki>
lol
<ptrrr>
teamwork!
alexju has quit [Remote host closed the connection]
<workmad3>
ptrrr: sure... in the same way that 9 women can have a baby in a month!
<pontiki>
what do you get when you put 2 programmers together?
<pontiki>
paired programming
<workmad3>
pontiki: at least 4 opinions...
ItSANgo has joined #ruby
<pontiki>
what do you get when you put 3 programmers together?
jeregrine has joined #ruby
realityloop has left #ruby ["Leaving..."]
alexju has joined #ruby
<pontiki>
incompatible forks
abuzze has joined #ruby
<fly2web>
how about doing ruby annoymous with having #ruby’s power?
Sgeo has quit [Read error: Connection reset by peer]
<pontiki>
then you have github
<pontiki>
this has been so fun aiding your masturbation
<pontiki>
but i feel all sticky now
<gervx>
it's all fun and games until your code is gone
jottr has joined #ruby
<workmad3>
gervx: and then it's still fun and games as you play 'pin the blame on the rookie'
<gervx>
the only problem if the rookie is you
<pontiki>
belozi: i'm glad you're starting off on a real project
<gervx>
or management decides that force push is a good idea because we need that feature now in production
<fly2web>
who teach me ruby, then i will give him or her $1,000,000 after 20 years
yfeldblum has quit [Ping timeout: 255 seconds]
<pontiki>
you could be like the bartender and give it to them
alexju has quit [Ping timeout: 245 seconds]
<gervx>
fly2web so do you start paying now, like a loan?
<fly2web>
start paying after 20 years $100 per month.
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<fly2web>
if you die, then i will not give you anymore.
<pontiki>
if you pay $1,000,000 in $100/month increments, how many years will that be?
<gervx>
I believe at that rate your grandchildren would pay my grandchildren
<pontiki>
write some ruby to solve that problem, fly2web
<fly2web>
just use calculator. pontiki
<tobiasvl>
fly2web: do you know ruby
<pontiki>
no, i want to see if you can do it
<fly2web>
a little.
<fly2web>
tobiasvl:
<workmad3>
fly2web: irb *is* my calculator :P
jcromartie has joined #ruby
<fly2web>
who can teach me ruby?
<workmad3>
and $100/month will get you to $1000000 after a mere 4 centuries...
<workmad3>
fly2web: google can :P
lukeshu has quit [Ping timeout: 256 seconds]
<pontiki>
you can't teach someone who will not learn
<tobiasvl>
fly2web: you can teach it to yourself
<jhass>
workmad3: oh, that's how they make all that money!
<workmad3>
pontiki: or, as my new t-shirt says, 'I can explain it to you, but I can't understand it for you'
<tobiasvl>
fly2web: you can learn it at college
<apeiros>
what will 100$ be worth in 20y?
<pontiki>
oh, great t-shirt, workmad3
<fly2web>
there is no subject of ruby in university
<gervx>
ur in a wrong uni then
<pontiki>
no, that actually is right
<workmad3>
autodidactic is not a dirty word... although the education system would have you believe otherwise
<apeiros>
40% inflation in the last 20y…
<apeiros>
assuming it stays the same, it'd only be ~63$
jerius has joined #ruby
<pontiki>
you could get a cup of coffee!
<fly2web>
there will be possibility of deflation.
<gervx>
so ur looking like 700-800 years of payback
<apeiros>
over 40y, it'd be ~21$
<pontiki>
still waiting on that code, fly2web
<apeiros>
over 100y: ~4$
<jhass>
assuming anybody still wants $ then
<workmad3>
fly2web: lets just say, if you found someone stupid enough to take you up on your '$1,000,000 in 20 years' offer, they're not likely to be a good teacher :P
jerius has quit [Client Quit]
<gervx>
workmad3: unless it's a lawyer that knows ruby
consti has joined #ruby
consti has quit [Max SendQ exceeded]
tokik has quit [Ping timeout: 240 seconds]
<fly2web>
:)
<pontiki>
workmad3: that entirely depends on the lessons they're teaching
<fly2web>
but i want know ruby well.
<pontiki>
demonstrate you can learn anything
<gervx>
well everyone has dreams
<gervx>
I want to be nr 1 in Tennis
<pontiki>
right now, there's nothing i've seen that would make it worth my time
<tobiasvl>
I want to be nr 1 in chess
ldnunes has joined #ruby
<gervx>
I have a chess set from marble
<pontiki>
but there has been quite a *lot* that shows me it would be a completely frustrating and pointless experience
malcolmva has quit [Ping timeout: 256 seconds]
<workmad3>
tobiasvl: becoming #1 in chess is easy... just scoop your brain out with a melon-baller and replace it with deep-blue
kyb3r_ has quit [Quit: Leaving]
<pontiki>
and yet, i'm still giving you chances, and actually hoping you'll take one
<gervx>
workmad3: what about tennis ?
subtwo has joined #ruby
ARM9 has quit [Ping timeout: 264 seconds]
<workmad3>
gervx: no idea :P
<workmad3>
gervx: I think there may only be the hard way there
<pontiki>
fly2web: tell me why i should keep giving you chances?
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fly2web>
pontiki: because i study hard ruby.
<lfox>
how has this guy not been banned yet?
<workmad3>
pontiki: because you have an irrational, unjustified amount of probability assigned to 'hope in humanity' in your utility function?
<fly2web>
oh
<fly2web>
:(
<fly2web>
joking is necessary during studying ruby.
<pontiki>
fly2web: you haven't yet shown anything
<fly2web>
just studying ruby is not efficient
<shevy>
lfox I dunno but I got kicked from the channel when I shut him down before
<pontiki>
fly2web: i am *still* waiting on the code to solve the problem i posed
<pontiki>
workmad3: i do
<fly2web>
i give it yesterday.
<fly2web>
already.
<shevy>
lol
<pontiki>
i just *asked* it
<pontiki>
how could you give any code yesterday to a problem i posed about 20 minutes ago?
<workmad3>
pontiki: there you go, fly2web has already created a time machine... he must be worth educating in the ways of ruby!
dblessing has quit [Quit: dblessing]
<shevy>
he can travel in time perhaps
<pontiki>
we all travel in time
amystephen has joined #ruby
subtwo has quit [Ping timeout: 240 seconds]
<fly2web>
pontiki: i will give you my product again?
<gervx>
pontiki > uuh if you use python you can fly too!
JohnFord has joined #ruby
mr-foobar has quit [Read error: Connection reset by peer]
<pontiki>
fly2web: no
<fly2web>
why?
<pontiki>
this problem:
mr-foobar has joined #ruby
<pontiki>
[20140729|0701.19] < pontiki> if you pay $1,000,000 in $100/month increments, how many years will that be?
<pontiki>
[20140729|0701.25] < gervx> I believe at that rate your grandchildren would pay my grandchildren
<pontiki>
[20140729|0701.35] < pontiki> write some ruby to solve that problem, fly2web
mercwithamouth has quit [Ping timeout: 240 seconds]
realityloop has joined #ruby
<fly2web>
are you terrible teacher?
<shevy>
lol
<fly2web>
pontiki:
phinfonet has joined #ruby
<pontiki>
yes
<gervx>
it's an easy problem
<pontiki>
what's your point?
<shevy>
he has been born as a troll
<gervx>
I can give you a harder one if you want
<workmad3>
gervx: that's what he/she said!
<realityloop>
robscormack: nodejs worked instead of using therubyracer.. cheers
<tobiasvl>
>> 1_000_000 / 100 / 12
<robscormack>
i knew it
<Mon_Robot>
tobiasvl: Something went wrong when trying to evaluate your code.
<tobiasvl>
Mon_Robot: oh no
<workmad3>
tobiasvl: ok... I fail today... I somehow decided there were 24 months in a year...
<gervx>
you have underscores in your million
jhass is now known as jhass|off
<workmad3>
gervx: that's valid
<fly2web>
oh this channel is very clouded.
<fly2web>
we must study with calm.
realityloop has left #ruby ["Leaving..."]
timonv_ has quit [Remote host closed the connection]
<pontiki>
lol
<pontiki>
you're proposing you can actually study on IRC?
<fly2web>
i m study on ruby.
<pontiki>
or do you have some glamourous notion this is a collegial study group?
ARM9 has joined #ruby
<pontiki>
not if you're talking on IRC you're not
<gervx>
pontiki > which college do you belong to ?
<workmad3>
pontiki: tbh, given my experiences of 'studying' at uni, this *could* be a study group :P
<pontiki>
Hard Knocks U. gervx
txdv has joined #ruby
<pontiki>
workmad3: then lets just hit the bars
bmurt has joined #ruby
<fly2web>
it’s secret, but i you want know that. i will say it to you.
<workmad3>
pontiki: all it lacks is excessive alcohol... but for all I know, shevy could be in an alcohol-induced coma right now :)
<shevy>
nah, it is too hot for that
<toretore>
fly2web: tell me tell me
<pontiki>
what is this "it" you refer to, fly2web
JohnFord has quit [Ping timeout: 256 seconds]
Sirupsen has joined #ruby
supermarkettoday has joined #ruby
<workmad3>
pontiki: his solution to basic division!
<fly2web>
i m in harvard university in USA
<gervx>
it's a bit early for beer, but I'm in
Zenigor has joined #ruby
<shevy>
you are in korea
<pontiki>
prove it, fly2web
<fly2web>
how?
<fly2web>
pontiki:
<wasamasa>
take a selfie
<shevy>
he'll pick anyone from the www wasamasa
<pontiki>
i want to see a picture of you taken with a clock in harvard square in 10 minutes
hpoydar has quit []
<workmad3>
fly2web: you could start by constructing sentences that approximate English...
<wasamasa>
^
jottr has quit [Ping timeout: 255 seconds]
<fly2web>
oh it is impossible. just believe me.
<wasamasa>
we no speak engrish in #ruby
<shevy>
fly2web, what does "hana" mean
<workmad3>
wasamasa: I spaek england reet good
<jeaye>
fly2web: i am harvard in study ruby too
supermarkettoday has quit [Remote host closed the connection]
<tobiasvl>
this channel is beyond saving
<jeaye>
where are you
<shevy>
hahaha
<pontiki>
can we go back to haskell?
<wasamasa>
tobiasvl: I'm pretty shocked he hasn't been kickbanned yet
<txdv>
I need the html_safe function of rails in a non rails app, what do I have to include to get it? do you guys maybe know some libraries which provide similar functionality? I specifically need to convert ü into a utf8 char
<ARM9>
go back to haskhell
<shevy>
now rails leaks into ruby
<fly2web>
wasamasa: i m kind and i m study hard ruby.
<toretore>
txdv: so you want the opposite
<workmad3>
txdv: .html_safe doesn't do any conversion
ki0 has quit [Remote host closed the connection]
northfurr has joined #ruby
<jeaye>
fly2web: me too we can meet here harvard
<workmad3>
txdv: all .html_safe does is mark a string as not-needing html escapes in a rails safe-buffer when outputting to the rendered page
Lwhite has joined #ruby
<fly2web>
we must study ruby hard. so from now, we don’t say anymore.
<jeaye>
i m kind
malcolmva has joined #ruby
ki0 has joined #ruby
<toretore>
fly2web: jeaye is at your location, he could meet you and be your teacher
<pontiki>
ah well, back on ignore
<jeaye>
yes i teach twice so far
<fly2web>
jeaye: but i have no time to mee you.
<workmad3>
txdv: and ü is an html escape code that gets rendered in the browser into a specific character...
saarinen has joined #ruby
<tobiasvl>
the problem with ignoring him is that nobody else ignores him so their replies still flood the chan
<jeaye>
so busy being study yes?
<jeaye>
fly2web:
<fly2web>
i don’t need your help jeaye. just i will do it myself.
<txdv>
is there a lib which converts a string containing ü into utf-8 u umlauts?
<wasamasa>
txdv: let's search for html decoding
Lwhite has quit [Read error: Connection reset by peer]
<jeaye>
ok study go on. fly2web. maybe i see at hardvard in class
<workmad3>
tobiasvl: I just /ignored him... had enough of poking the troll for now :)
<txdv>
thanks, needed the keywords to search for
<wasamasa>
txdv: yeah, knowing the right words helps tremendously
<shevy>
workmad3 I'll keep you informed what he is doing
<toretore>
i want be your teacher
<fly2web>
but i m real harvard student. i swear.
<toretore>
fly2web:
<workmad3>
shevy: if I want to know that, I'll read the chan-log :P
supermarkettoday has joined #ruby
<jeaye>
me also fly2web three years now
<shevy>
fly2web in which korean town were you born?
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3>
for now... lunch :)
<wasamasa>
starcraft county
<wasamasa>
huehuehue
<toretore>
i teach many times already fly2web
<ARM9>
tarsonis
<fly2web>
oh yes.
noop has joined #ruby
<fly2web>
:)
jhass|off is now known as jhass
<jeaye>
toretore: i teach him you do not
<jeaye>
i also am harvard.not you
<toretore>
no i teach!!!
<toretore>
fly2web:
<ARM9>
how do england language
<jeaye>
fly2web:
<toretore>
i have teach for many years
<ARM9>
what many people speak english do?
<fly2web>
people are jealous of my harvard university.
<toretore>
i have professionel teach ruby
<shevy>
the channel intelligence decreases once fly2web starts to troll
<jeaye>
i study very long to teach so long after harvard
JoshGlzB_ has quit [Ping timeout: 250 seconds]
<ARM9>
our collective iq dropped by an order of magnitude
ki0 has quit [Ping timeout: 260 seconds]
<ARM9>
please stop talking fly2web
<shevy>
toretore, you actually fit right into fly2web and jeaye now
<txdv>
why is everyone mad about ruby on rails questions here?
<fly2web>
ok i see.
<jeaye>
txdv: rails is good
<shevy>
txdv they have their own channel
<toretore>
this is not #rubyonrails chanel
<jeaye>
i learn rails in school
<toretore>
txdv:
<tobiasvl>
txdv: not everyone, but #RubyOnRails is a better channel for it (people here aren't guaranteed to know rails)
<txdv>
htmlentities wasnt even rails :/
<jeaye>
fly2web:
<jeaye>
toretore:
<jeaye>
ok
<toretore>
what you say
<toretore>
jeaye:
<shevy>
lol
rails426 has joined #ruby
<jeaye>
we teach together same time
<shevy>
if I ever need anti-troll fighters, I'm going to hire toretore cuz he is the man
<toretore>
ok
<toretore>
jeaye:
<toretore>
super teach
<fly2web>
Left_Turn is my harvard friend. he will demonstrate it.
spastorino has joined #ruby
<jeaye>
we see demonstration
<jeaye>
fly2web:
<fly2web>
so don’t doubt me.
<toretore>
i not doubt you
<jeaye>
no doubt
<jeaye>
fly2web:
<fly2web>
yes why? jeaye
<toretore>
you say profesional ruby learner and i believe
<jeaye>
harvard
<toretore>
fly2web:
DaniG2k has quit [Ping timeout: 245 seconds]
<fly2web>
yes
<shevy>
man
jamto11 has joined #ruby
<shevy>
it's as if you broke down their synapses
<fly2web>
Left_Turn is my harvard university friend.
<jeaye>
mine too
<jeaye>
we can meet
<jeaye>
fly2web:
<shevy>
I hate Left_Turn
<jeaye>
i teach good
<wasamasa>
who is that even
<fly2web>
he will be in #python.
<jeaye>
when
<shevy>
:\
<jeaye>
fly2web:
<fly2web>
yes jeaye
<jeaye>
ok
<Hanmac>
jeaye: question: you said you learn Rails at school, do you learn Ruby before, paralell or do you learn Rails without Ruby?
<fly2web>
:(
<toretore>
so now you want make elite hacker group?
<toretore>
fly2web: jeaye:
jcromartie has joined #ruby
<jeaye>
rails not ruby
<jeaye>
no ruby
<jeaye>
Hanmac:
wald0 has joined #ruby
<jeaye>
no. windows only
<jeaye>
toretore:
<shevy>
he does not know ruby and he does not know rails, plus jeaye = fly2web
<jeaye>
yes
<jeaye>
no
<jeaye>
shevy:
tkuchiki has quit [Remote host closed the connection]
<Hanmac>
hm imo then the school does it wrong, imo you should learn a bit Ruby before, before you even touch rails
<shevy>
fly2web so in which channels are you banned?
tkuchiki has joined #ruby
<jeaye>
#ruby
<fly2web>
oh i visited ruby and python only.
<toretore>
but this takes too long time
<toretore>
Hanmac:
<jeaye>
Hanmac:
<shevy>
Hanmac:
<jeaye>
ok
<toretore>
yes
<shevy>
no
<toretore>
ok
<ARM9>
maybe
<jeaye>
fly2web: yes?
<toretore>
you want starrt hacker group?
<toretore>
fly2web:
<toretore>
jeaye:
<fly2web>
is here IT ceo?
<toretore>
yes
<toretore>
fly2web:
<toretore>
i am
<wasamasa>
apeiros: please make this stop
<fly2web>
i want get a job. toretore
<fly2web>
you can hire me to your corporation?
<Hanmac>
toretore: IF the school does try to teach Rails before Ruby then you gain noobs like that, they think they know everything about ruby because they learned a bit Rails ... and then they wonder why a specifc rails method does not exist in Ruby or why HashWithShittyAccess is not the default Hash class
<toretore>
ok but only junior position
<toretore>
fly2web:
<fly2web>
you can hire me to your company toretore
<fly2web>
ok i see.
<toretore>
only junior
<fly2web>
i will demonstrate my skill. toretore
<shevy>
make it an unpaid internship
<shevy>
Hanmac: he was never at a school that taught rails
<toretore>
stay calm ok
<toretore>
Hanmac:
<shevy>
lol
<fly2web>
ok just give me 6 eating 2 in morning, 2 in afternoon, 2 in evening.
<toretore>
everybody is friends here
<toretore>
Hanmac:
<toretore>
nobody make bad time
<toretore>
:)
<fly2web>
i will go your country, send me money for airplane.
<fly2web>
toretore:
<Hanmac>
i am clam, i only hate it when a school does produce noobs on purpose ...
<toretore>
i live in cambridge
<toretore>
fly2web:
tkuchiki has quit [Ping timeout: 256 seconds]
supermarkettoday has quit [Remote host closed the connection]
<shevy>
fly2web please stay in Pusan
<toretore>
masacuset
<toretore>
cambrige masechuset
<fly2web>
i don’t know Pusan, i just know LA, and sanfransisco.
<workmad3>
Hanmac: that's not true across the board... I learned rails first :P
<shevy>
workmad3 has a big brain
<workmad3>
shevy: well... yeah :P
<toretore>
you come visit me
<toretore>
fly2web:
<toretore>
for job
<jeaye>
Well, anyway, that was fun.
Zenigor has quit [Read error: Connection reset by peer]
<toretore>
ok?
<fly2web>
ok thanks toretore, but i have no money for airline fee.
<shevy>
good
Zenigor has joined #ruby
<shevy>
stay in korea
<fly2web>
toretore: you can send money?
<toretore>
no airplane only bus
<toretore>
fly2web:
<fly2web>
cambrideg is in england?
<toretore>
is in masachusat cambrige
<jeaye>
No, East Mexico.
<shevy>
please don't pull him closer to europe
<toretore>
massechust
britneywright has joined #ruby
<toretore>
like harvard
<jeaye>
war chester
<jeaye>
near mass
<fly2web>
macho man?
<shevy>
war jester
<shevy>
nacho man
<fly2web>
toretore: give me your company site.
CodeLicker has joined #ruby
<fly2web>
then i will start now.
zkay11 has joined #ruby
<mostlybadfly>
Hola
<toretore>
you take bus 204 to perl stret
<toretore>
fly2web:
<toretore>
i will meet you
<fly2web>
yes give me your company site.
<toretore>
no sory its bus 47
<toretore>
i made mistake
pacMakaveli has joined #ruby
<fly2web>
are you fruad on me?
<jeaye>
do not trust
<jeaye>
fly2web:
<fly2web>
toretore:
<jeaye>
he fraud twice!
<fly2web>
i know it jeaye
<jeaye>
fly2web:
<mostlybadfly>
What is going on here
<fly2web>
thanks jeaye my harvard friend.
<jeaye>
take bus 70 instead
<fly2web>
:)
<jeaye>
good friend
<ARM9>
mostlybadfly run
wald0 has quit [Ping timeout: 255 seconds]
<fly2web>
you will go to jail toretore
<jeaye>
again
<jeaye>
toretore:
<mostlybadfly>
Don't we have ops in here?
<Mon_Ouie>
Okay so…
fly2web was kicked from #ruby by Mon_Ouie [Stop trolling]
jeaye was kicked from #ruby by Mon_Ouie [Stop feeding the troll]
shevy was kicked from #ruby by Mon_Ouie [ditto]
jeaye has joined #ruby
malditogeek has joined #ruby
<jeaye>
Ok. :)
DivineEntity has quit [Quit: leaving]
<toretore>
lol
<Mon_Ouie>
And some for toretore
<jeaye>
Yeah, kick toretore.
<mostlybadfly>
Shevy didn't do anything lol
<toretore>
don't you dare!
Takle has joined #ruby
<jeaye>
toretore: hahaha
<jeaye>
Ok, back to work.
tjr9898 has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
kaspertidemann has joined #ruby
fgo has joined #ruby
arup_r has joined #ruby
jeaye was kicked from #ruby by apeiros [does it need an explanation?]
jeaye has joined #ruby
shevy has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
jamto11 has quit [Remote host closed the connection]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
subtwo has quit [Ping timeout: 264 seconds]
duggiefresh has joined #ruby
saarinen has quit [Quit: saarinen]
whyy has joined #ruby
sambao21 has joined #ruby
jottr has joined #ruby
tvw has joined #ruby
simoz1111116 has joined #ruby
obs has quit [Read error: No route to host]
parduse has quit []
sambao21 has quit [Client Quit]
<wasamasa>
I wonder whether he made it match the python version as much as possible and therefore ended up with that style
gogohome has joined #ruby
parduse has joined #ruby
fgo has joined #ruby
timonv_ has joined #ruby
whyy has quit [Ping timeout: 260 seconds]
<jhass>
I think he's just not really a ruby coder and just translated the code examples from his other books
dvb_ua has quit [Ping timeout: 245 seconds]
<Perceptes>
he was a ruby programmer before he was a python programmer
<ARM9>
they're both shitty
<ARM9>
ruby less so because it has less insane rules
<mostlybadfly>
Yeah I remember seeing it is mostly a translation
<shevy>
yeah makes sense, less brain work to do
_tpavel has joined #ruby
<shevy>
it's so annoying to have to switch between english and german all the time too
<jeaye>
Quite certain it aims for a 1:1 translation between languages, which is just not something that idioms really allow.
<ari-_-e>
ARM9: what insane rules?
<ARM9>
all
<ari-_-e>
"all"?
DaniG2k has joined #ruby
_maes_ has joined #ruby
DylanJ has joined #ruby
peta_ has joined #ruby
charliesome has joined #ruby
<ARM9>
using indentation that break between text editors, allowing both tabs and spaces
<ARM9>
and nitpicky stuff like self. hell
<ari-_-e>
what breaks between text editors?
<ari-_-e>
it's not python's fault if you can't write your whitespace properly
<ARM9>
the indentation
<ARM9>
everyone and their grandma uses their own settings
<ARM9>
it is pythons fault for allowing every goddamn combination on earth
<ari-_-e>
that is the stupidest criticism of python I have ever heard
<ARM9>
you're bound to run into someone elses code using 2 or 4 or 8 spaces or tabs
peta_ has quit [Remote host closed the connection]
Channel6 has joined #ruby
<ari-_-e>
none of that is python's fault or unique to python
<ari-_-e>
try again
chth0n has joined #ruby
<ARM9>
it is entierly pythons fault
<ARM9>
have you not used the language?
<ari-_-e>
I have
jprovazn has quit [Quit: Leaving]
<shevy>
tabs are rather rare to see being used in ruby
jottr has quit [Ping timeout: 250 seconds]
<shevy>
I feel that a parser that chokes over indent alone as syntactical rules is stupider than a parser that won't require proper indent before it can run and evaluate the given code
Deele has quit [Ping timeout: 260 seconds]
peta_ has joined #ruby
<centrx>
Also, Python is dying
jprovazn has joined #ruby
<ARM9>
well that's python for you
<ARM9>
because fuck logic
<shevy>
why don't we have hybrid parsers that can work with both?
<toretore>
it's not python's fault that indentation is broken, but it would be helpful if there was a rule or at least a convention for how to indent
MartinCleaver has joined #ruby
kh019267 has joined #ruby
jespada has joined #ruby
<ari-_-e>
toretore: there is
<shevy>
don't they have a PEP for that?
<jeaye>
centrx: In favor of?
<ari-_-e>
yes
<ARM9>
it's indirectly pythons fault for not imposing tighter restrictions on indentation
<Mon_Ouie>
And I mean… ruby allows you to even write unindented codes. How is Python worse?
<shevy>
jeaye javascript
<jeaye>
shevy: hm?
<ARM9>
tabs
<shevy>
jeaye you asked in favor of :)
<jeaye>
shevy: Ah, right. I don't see how that could work...
kh019267 has quit [Client Quit]
<jeaye>
JS doesn't have nearly as many applications outside of web.
<shevy>
simply by how many people use something
<shevy>
yeah but you didn't have like web apps 10 years ago either
<jeaye>
JS also doesn't have the library/community support outside the web.
beef-wellington has joined #ruby
<centrx>
Python 3 is nearly unused. Python 2 is obsolete.
kh019267 has joined #ruby
Lewix has joined #ruby
<toretore>
centrx: i doubt anyone who likes python cares
<ari-_-e>
centrx: and where does that ridiculous claim come from?
<toretore>
just like i didn't care when ruby was obscure
<jeaye>
Don't get me wrong, I wouldn't use Python if someone paid me (people have offered). I don't see how JS is any more robust though; Python seems pretty stable from my viewpoint.
<ari-_-e>
the thing about python 3 is mostly true though
parduse has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
<centrx>
The Python 3 fiasco shows the developers are foolish, like some of the design decisions in the language.
<shevy>
python 3 is the future, how can you be against the future ari-_-e
parduse has joined #ruby
parduse is now known as Guest33042
<ari-_-e>
shevy: I never said I was, just that it was mostly unused
<ari-_-e>
centrx: you're skills of logical deduction are mind boggling
<centrx>
Thanks
<ari-_-e>
that wasn't a compliment
<centrx>
Then don't say it
<shevy>
haha
<bhaak>
python 3 is present, ruby 3 is the future!
<txdv>
if it is 2015, then my desktop is from the future
Takle has joined #ruby
Joulse has quit [Quit: Joulse]
Deele has quit [Ping timeout: 255 seconds]
arup_r has quit [Ping timeout: 256 seconds]
gogohome has left #ruby [#ruby]
aagdbl has quit [Quit: This computer has gone to sleep]
fly2web has joined #ruby
Mongey has joined #ruby
djcp has left #ruby [#ruby]
Atttwww has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
heftig has joined #ruby
emerson_ has joined #ruby
Deele has joined #ruby
<fly2web>
from now, i will study ruby, so i can’t say any more.
linojon has joined #ruby
s2013 has joined #ruby
Spleeze has quit [Ping timeout: 245 seconds]
Joulse has joined #ruby
GeekOnCoffee has quit [Ping timeout: 240 seconds]
Panicky has quit [Ping timeout: 255 seconds]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
peta_ has quit [Quit: peta_]
mary5030 has joined #ruby
GeekOnCoffee has joined #ruby
ph8 has quit [Changing host]
ph8 has joined #ruby
fgo has quit [Remote host closed the connection]
pandaant has quit [Remote host closed the connection]
fgo has joined #ruby
Veidit has joined #ruby
ffranz has joined #ruby
<Veidit>
Good evning
<shevy>
why is fly2web allowed to continue writing stuff but if I reply to him I get kicked
<fly2web>
:( why you make trap on me?
<fly2web>
i will just study ruby.
<fly2web>
don’t call me. shevy
<ARM9>
because you're not actually mentally challanged, evidently.
o0oo0o has quit [Remote host closed the connection]
DrCode has quit [Remote host closed the connection]
<ARM9>
s/ange/enge/
<shevy>
let's see if whoever replies to him will get kicked or not
beneggett has joined #ruby
jmbrown412 has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 272 seconds]
o0oo0o has joined #ruby
DrCode has joined #ruby
jmbrown412 has joined #ruby
momomomomo has joined #ruby
tokik has joined #ruby
<Veidit>
I am using rest-client and I am trying to use cacert.pem with a get request, but I can't get it to work: RestClient::Request.execute(:url => 'https://connect.writehat.com', :method => :get, :verify_ssl => true, :ssl_ca_file => "./cacert.pem") but when I use openssl to verify with the cacert it works great, what can I have missed? yes cacert.pem is in the same path as the script.
Lewix has quit [Remote host closed the connection]
emerson_ has quit [Remote host closed the connection]
Lewix has joined #ruby
<jhass>
what error message do you get?
arup_r has joined #ruby
<Veidit>
jhass: /Users/john/.rbenv/versions/2.0.0-p481/lib/ruby/gems/2.0.0/gems/rest-client-1.7.2/lib/restclient/request.rb:445:in `rescue in transmit': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (RestClient::SSLCertificateNotVerified)
larissa has quit [Ping timeout: 240 seconds]
SilkFox has joined #ruby
amargherio has joined #ruby
beef-wellington has quit [Ping timeout: 264 seconds]
razum2um has quit [Read error: Connection reset by peer]
jmbrown412 has quit [Ping timeout: 260 seconds]
razum2um1 has joined #ruby
<jhass>
looks like a comodo cert, why do you even need to specify a CA bundle?
arup_r has quit [Remote host closed the connection]
yekta has joined #ruby
arup_r has joined #ruby
startupality has joined #ruby
subtwo has joined #ruby
Lewix has quit [Ping timeout: 264 seconds]
<Veidit>
jhass: When verifying the chain with openssl it works when I specify the ca-file
<startupality>
Hello… I have pry (actually pry-plus…) in gemfile but it is not automatically required in my code, how can i achieve this? (so I do not have to do require “pry” each time I want to do binding.pry…)
s2013 has quit [Ping timeout: 250 seconds]
<jhass>
Veidit: I get a 403 with RestClient without specifying a bundle, so that's beyond the SSL-Handshake
<jhass>
startupality: add pry to your Gemfile
FenixFyreX has joined #ruby
<jhass>
or (a bit hacky) require: 'pry' to the pry-plus line
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<startupality>
jhass: what do you mean?
<jhass>
with the first or with the second?
MartinCleaver has quit [Quit: MartinCleaver]
<startupality>
with the second
<Veidit>
jhass: Whwn running openssl s_client -connect connect.writehat.com:443 -showcerts I get: verify error:num=19:self signed certificate in certificate chain
Sirupsen has joined #ruby
arup_r has quit [Ping timeout: 255 seconds]
<FenixFyreX>
I recently built a ruby c extension, but when I try and load the so into ruby it throws an error that the procedure entry point fclose() could not be found. Anyone know what could cause this?
<startupality>
and for the first, i have another project where only pry-plus is in gemfile and it automatically works :)
<FenixFyreX>
I don't think the number of pages in a book has anything to do with how well a programming language works
lw has joined #ruby
<wmoxam>
FenixFyreX: ;-)
<fly2web>
hey wmoxam, i read it already. haha
<wmoxam>
...
<gervx>
FenixFyreX: unless the book is recursive
<FenixFyreX>
haha
<jhass>
fly2web: so what real life problems of yours did you already simplify/solve with ruby?
baweaver has joined #ruby
<shevy>
why are you guys allowed to discuss with fly2web but I got kicked?
<Veidit>
jhass: Damn it, haha
<jhass>
shevy: because we know when to stop
<fly2web>
shevy: is child?
<shevy>
jhass ok stop
<fly2web>
too childish
JohnBat26 has joined #ruby
yfeldblum has joined #ruby
<centrx>
shevy, I think it is because you told him to "die"
<jhass>
fly2web: care to answer my question?
wpp has quit []
<shevy>
centrx not the second time, both apeiros and Mon_Ouie kicked me
<Veidit>
Uwindow 4
<Veidit>
haha
alem0lars has joined #ruby
<centrx>
shevy, oh, you have a prestigious history
<fly2web>
jhass: i study for metasploit.
rails426 has joined #ruby
starkhallo has joined #ruby
<centrx>
fly2web wants to become an elite hacker
<gervx>
elite ruby
<centrx>
*1337
<ARM9>
real hackors use ruby
<wasamasa>
jhass: hacking
<wasamasa>
jhass: he wants to haxx banks
<fly2web>
but i want have expriment that i master it properly with webscraping.
<wasamasa>
jhass: and pay us millions
<ARM9>
because a ruby run everywhere
<ARM9>
even phone run ruby
<shevy>
I'm gonna watch how you guys get kicked
s2013 has joined #ruby
pu22l3r has joined #ruby
spider-mario has joined #ruby
<jhass>
fly2web: you won't find much support for questions around that here, like there's #rubyonrails for Rails, join #metasploit for that framework
rails426 is now known as wpp
wpp has quit [Client Quit]
<fly2web>
868page is too many.
<fly2web>
:(
<gervx>
learn speed reading
wpp has joined #ruby
<fly2web>
how? gervx
<FenixFyreX>
Can anyone help me with my issue on my C extension? I wrote a Ruby binding for gorilla-audio, but I'm not sure what's happening that would cause fclose() to be excluded from the library I've built...
<apeiros>
oh dear…I'm away for 2h and this happens :)
<baweaver>
To answer the question, they can and often do learn Python. As much as either side hates it, they're effectively siblings on the language tree
<gervx>
apeiros: yes don't go away
<wasamasa>
apeiros: time to wield your staff
dru has joined #ruby
<gervx>
and a hat
dru is now known as drusepth
<apeiros>
wasamasa: but people call me power tripping dictator when I do…
<jhass>
and you... don't love that? :o
<baweaver>
Python is the OCD one who wants everything done one way and in order
<wasamasa>
apeiros: not like that will ever go away :P
rayners has joined #ruby
<gervx>
apeiros: you should not wear a hat like that then
<apeiros>
jhass: I didn't say I cared :o)
<baweaver>
Ruby is the more mellow one that does whatever it wants whenever it wants
<wasamasa>
baweaver: and ruby is the one obsessed with beauty and magic?
<baweaver>
so naturally they clash a bit
<baweaver>
rails is the magic, they freaking hid hogwarts somewhere in that thing.
centipedefarmer has joined #ruby
<gervx>
same can be said about mongodb
<apeiros>
given how I lean towards OCD myself, it's actually interesting that I far prefer ruby…
<baweaver>
It has a magic tendency to lose bitcoins ;)
<apeiros>
doesn't it also have a random tendency to not save?
<baweaver>
I don't like how restrictive it feels, which is why I use Ruby
<baweaver>
bingo, hence bitcoin joke
<gervx>
you need a messaging service not to loose bitcoins
pzula has quit [Ping timeout: 272 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
vsoftoiletpaper has joined #ruby
larissa has quit [Quit: Leaving]
fgo has joined #ruby
jamto11 has joined #ruby
mikepack has joined #ruby
mikesplain has joined #ruby
DaniG2k has quit [Quit: leaving]
alem0lars has quit [Quit: alem0lars]
larissa has joined #ruby
timonv_ has quit [Remote host closed the connection]
doev has joined #ruby
jprovazn has quit [Quit: Leaving]
fgo has quit [Ping timeout: 240 seconds]
jamto11 has quit [Ping timeout: 240 seconds]
simoz1111116 has quit [Ping timeout: 260 seconds]
zB0hs has joined #ruby
Arkaniad has joined #ruby
terrellt has joined #ruby
Panicky has joined #ruby
<gervx>
ok im off have a nice day
saarinen has joined #ruby
<gervx>
work ended -> mtb wroom wroom
ascarter has joined #ruby
gervx has quit [Quit: Leaving]
Arkaniad has quit [Max SendQ exceeded]
snath has quit [Ping timeout: 264 seconds]
Arkaniad has joined #ruby
karupa is now known as zz_karupa
bal has quit [Quit: bal]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lethan has joined #ruby
<baweaver>
still got 7 hours over here.
<canton7>
1.5.... can't wait
<seph429>
6 and then i'm on vacation for 5 days!
mikesplain has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
Arkaniad has quit [Max SendQ exceeded]
_tpavel has quit [Quit: Leaving]
<baweaver>
3 mode days until I'm off to San Francisco
<baweaver>
more*
Arkaniad has joined #ruby
momomomomo has joined #ruby
<seph429>
ah san francisco, home of traffic
<apeiros>
2 more workdays, then 3 day week-end
mlohstroh has joined #ruby
<baweaver>
home of fun stuff to work on, new employment.
amargherio has quit [Ping timeout: 255 seconds]
MickeyO has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
Arkaniad has quit [Max SendQ exceeded]
Macaveli has quit [Ping timeout: 256 seconds]
Arkaniad has joined #ruby
yekta has joined #ruby
johnmolina has joined #ruby
treehug88 has quit []
Arkaniad has quit [Max SendQ exceeded]
centipedefarmer has quit [Remote host closed the connection]
asmodlol has joined #ruby
subtwo has joined #ruby
Morkel has quit [Quit: Morkel]
Arkaniad has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
fly2web: Then send an email or postcard to the book author and ask for a digital copy.
<momomomomo>
havenwood: I did download stuff when I was little that I've since paid for :p
Arkaniad has joined #ruby
<Karunamon>
i've got a function that does stuff, invokes rspec, and does other stuff. Problem is that rspec is run out of order. So it goes: stuff, invocation, more stuff - but the invocation happens after everything else
kristofers has joined #ruby
<fly2web>
i m not good at writing english. havenwood you can do it instead of me?
<momomomomo>
Karunamon: If you want tests to run in order, run them in the same scope
s2013 has quit [Ping timeout: 250 seconds]
<fly2web>
the book is in torrent? havenwood ?
<momomomomo>
fly2web: just do what you will but pay it back to the author when you can -
rurban has joined #ruby
<fly2web>
oh good world momomomomo
<Karunamon>
Oh man, that's going to make this function a mess
jmbrown412 has joined #ruby
<fly2web>
:)
sandeepdb has quit [Quit: Leaving]
<kristofers>
Anyone kind enough to help me :) ?
<momomomomo>
convert ruby to php? loooooooooooooooooooool
<wasamasa>
kristofers: why would you want to do that
<wasamasa>
kristofers: the other way around maybe
<havenwood>
kristofers: Could help you refactor the Ruby... but convert to PHP, no. :P
michaeldeol has joined #ruby
<kristofers>
-.-
<Karunamon>
the PHP folks might be able to help you out more there
<momomomomo>
^
<kristofers>
How ? lol
abuzze has joined #ruby
<Karunamon>
unless your ruby is doing something really off the wall
<momomomomo>
they care about php
<kristofers>
well you care about ruby :)
<kristofers>
help me decifer your code
<Karunamon>
your function looks pretty simple, just ask the PHP guys to work through the logic.
<Karunamon>
<< - doesn't know PHP
<havenwood>
kristofers: what part can we shine some light on?
momomomomo has quit [Quit: momomomomo]
<kristofers>
entry[..] entry[...]
marr has quit [Ping timeout: 240 seconds]
<kristofers>
i read on that just not sure how that converts to php
centipedefarmer has joined #ruby
pietr0 has joined #ruby
LiohAu has quit [Quit: LiohAu]
alex88 has quit [Quit: Leaving...]
jay___ has joined #ruby
<apeiros>
fly2web: how many more books are you going to ask about?
<godd2>
kristofers: dunno how it works in PHP, but I suspect that ! $start doesn't do the same thing that !start does. could be wrong, depends on how PHP deals with falsy stuff
supermarkettoday has joined #ruby
<fly2web>
apeiros: till fiting to me.
startupality has quit [Ping timeout: 255 seconds]
supermarkettoday has quit [Remote host closed the connection]
<fly2web>
till finding book fitted to me.
zB0hs has quit [Ping timeout: 250 seconds]
tokik has quit [Ping timeout: 255 seconds]
bricker has joined #ruby
Wolland has joined #ruby
<wasamasa>
apeiros: until the entire channel dies down when he's not speaking
<havenwood>
kristofers: the two dot .. is inclusive range and three dot ... is exclusive range. note they use both.
<wasamasa>
apeiros: you must do something about it
dawkirst has quit [Remote host closed the connection]
OffTheRails has joined #ruby
mercwithamouth has joined #ruby
<kristofers>
yes i saw, i was reading about that, just not sure what i can do to do the same in php
Pharaoh2 has quit [Remote host closed the connection]
<havenwood>
kristofers: but ##php channel makes more sense to this, since the Ruby is already written
arup_r1 has joined #ruby
<havenwood>
for this*, gosh, i'm losing my ability to speak English
subtwo has joined #ruby
Pharaoh2 has joined #ruby
IceDragon has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
brianherman has joined #ruby
freerobby has joined #ruby
<wasamasa>
it's all fly2web's fault
arup_r has quit [Ping timeout: 256 seconds]
<Karunamon>
Hm, question. Is there a sensical way to pass a variable or some random object into rspec?
<fly2web>
now i think that rubymonk.com is good
<Karunamon>
that gets picked up by the test? I'm thinking of dumping a hash to yaml and then picking it back up in the test
<godd2>
Karunamon why not invoke the code which constructs the object in the test?
User458764 has joined #ruby
<Karunamon>
because the object is constructed by another piece of the program (I'm kind of misusing rspec here - it's validating a rather large suite of user input)
emerson_ has joined #ruby
saarinen has joined #ruby
<ptrrr>
ok guys
<godd2>
I would Marshal it then
AlexBlom has joined #ruby
<ptrrr>
I’m having problems with refinements in instance_eval
<godd2>
Karunamon you can use Marshal to dump the object and load it back later whenever you want
subtwo has quit [Ping timeout: 255 seconds]
User458764 has quit [Client Quit]
mike32 has joined #ruby
<havenwood>
frankS2: looks like you accidentally nested your `def bark` and `def id` inside your `def initialize`.
spider-mario has quit [Remote host closed the connection]
<godd2>
Yaml is another way of doing that, yes
pacMakaveli has quit [Remote host closed the connection]
<havenwood>
frankS2: `end` your `def initialize` before you define other methods
<Karunamon>
godd2: Right, I get that, but what I mean is that's not different from the way I was thinking about doing it already. Writing another rb file and using the --include option on rspec
Arkaniad has quit [Ping timeout: 255 seconds]
MatthewsFace has joined #ruby
<Karunamon>
that just seems really roundabout is all. I wondered if there's a better way
s2013 has joined #ruby
<godd2>
don't abuse rspec in the first place ;)
<Karunamon>
Heh, fair enough.
<frankS2>
havenwood: DOH! thanks! :D
wallerdev has joined #ruby
<godd2>
Karunamon: you can use before(:each) in your describe to set up whatever parts you need
<Karunamon>
godd2: Also right, but I still have to pass in a known filename or something (can't just use Tempfile)
tier_ has joined #ruby
Haki has joined #ruby
<godd2>
If the class you're requiring in rspec is requiring the files anyway, you shouldn't have anything to worry about
<godd2>
But then, I don't know how complex your code is
Haki has left #ruby [#ruby]
mikepack_ has joined #ruby
dbasch has joined #ruby
Butcho has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Butcho has joined #ruby
<havenwood>
Karunamon: Doesn't make sense to me either to do this here. But generally you'd serialize with YAML, JSON, Marshal or MsgPack then communicate via a file, Unix socket, Redis, whatev. If you need transactions, YAML::Store for YAML or PStore for Marshal are in the stdlib. Or get fancy with DRb, DCell or one of the message queues.
<havenwood>
Karunamon: But yeah, shouldn't need any of that ^.
tier has quit [Ping timeout: 245 seconds]
wjimenez5271 has joined #ruby
momomomomo has joined #ruby
noop has quit [Ping timeout: 260 seconds]
noop has joined #ruby
arya_ has quit [Quit: sayonara^_^]
<Karunamon>
I can't actually pastebin this (i'd love to), but the short version is that a large hash (about a good two screens full) is constructed based on user input. Rspec presents the results really nicely (and makes further tests dead simple to write), which is why I'm using that.
kh019267 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has quit [Ping timeout: 255 seconds]
lxsameer has quit [Ping timeout: 245 seconds]
<Karunamon>
and I continue or stop based on if the tests passed or not
GeekOnCoffee has quit [Ping timeout: 240 seconds]
arup_r1 has quit [Quit: Leaving.]
Joulse has quit [Quit: Joulse]
arup_r has joined #ruby
Arkaniad has joined #ruby
<godd2>
sounds like a catch 22. on the one hand, you should refactor that class. on the other, you want tests to make sure you're refactoring is going well
<Karunamon>
I /was/ doing this with another function, and just passing the hash into the function that calls rspec, problem there is that calling it doesn't block waiting for rspec to finish.
<Karunamon>
the program just happily continues on its way
tier_ has quit [Remote host closed the connection]
chth0n has quit [Ping timeout: 255 seconds]
tier has joined #ruby
GeekOnCoffee has joined #ruby
<fly2web>
rubymonk is nice. first i think that rubymonk is not good, but my mind is changed now.
gunner990 has joined #ruby
<gunner990>
How do you quit irb if you set quit and exit to variables
<jhass>
Ctrl+D
wjimenez_5271_ has joined #ruby
<godd2>
Ctrl+Pause/Break
<gunner990>
Thanks :)
Pharaoh2 has joined #ruby
j_mcnall_ has joined #ruby
<Karunamon>
and this function was coincidentally in the file that contains the tests. Made for a very convenient setup :P
Arkaniad has quit [Ping timeout: 255 seconds]
CaptainJet has joined #ruby
j_mcnall_ has quit [Client Quit]
jshultz has joined #ruby
mikecmpbll has quit [Ping timeout: 256 seconds]
alem0lars has joined #ruby
fly2web has quit [Quit: fly2web]
j_mcnally has joined #ruby
robbyoconnor has quit [Ping timeout: 264 seconds]
shredding has quit [Quit: shredding]
JBreit has quit [Read error: Connection reset by peer]
klaut has quit [Remote host closed the connection]
wjimenez5271 has quit [Ping timeout: 256 seconds]
beneggett has quit [Read error: Connection reset by peer]
klaut has joined #ruby
beneggett has joined #ruby
mikecmpbll has joined #ruby
Bira_ has joined #ruby
mark_locklear has quit [Ping timeout: 255 seconds]
Takle has quit [Remote host closed the connection]
<ptrrr>
“However, when main.using is invoked in a string given as the first argument of Kernel#eval, Kernel#instance_eval, or Module#module_eval, the end of the scope is the end of the string."
failshel_ has joined #ruby
<ptrrr>
I think that implies that it should be possible in instance_eval as well? confused.
<havenwood>
pepijndevos: or just use system Ruby ;P
<shevy>
I think there is add_dev_dep or something
danman has quit [Quit: danman]
lkb has quit [Quit: Wychodzi]
patrick99e99 has quit [Remote host closed the connection]
<havenwood>
pepijndevos: Or, if you only want to use a single Ruby, another nice way is to just ruby-install to /usr/local/.
tobago has quit [Remote host closed the connection]
amacou has quit [Remote host closed the connection]
slash_nick has joined #ruby
patrick99e99 has joined #ruby
<havenwood>
pepijndevos: but brew Ruby without PATH set up won't work for gems
<pepijndevos>
havenwood, I have this in my profile 1 export PATH="$(brew --prefix)/bin:$(brew --prefix ruby)/bin:$PATH";
<pepijndevos>
so that should be good
<havenwood>
pepijndevos: that should do the trick. make sure it's sourced?
RandyT has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
jaequery has quit [Ping timeout: 245 seconds]
Bira_ has quit [Ping timeout: 245 seconds]
<pepijndevos>
havenwood, but still ruby is looking in the wrong place.
fgo has joined #ruby
<pepijndevos>
it's sourced. for sure.
Wolland has quit [Remote host closed the connection]
<havenwood>
pepijndevos: which ruby
<havenwood>
pepijndevos: or: command -v ruby
<pepijndevos>
2.1.2
<havenwood>
path?
Wolland has joined #ruby
chipotle_ has joined #ruby
<pepijndevos>
/usr/local/opt/ruby/bin/ruby
nanoyak has joined #ruby
<havenwood>
pepijndevos: which gem
amisha has quit [Ping timeout: 255 seconds]
<pepijndevos>
nokogiri
amisha has joined #ruby
rebelshrug has joined #ruby
<havenwood>
pepijndevos: i mean?: command -v gem
danijoo has quit [Read error: Connection reset by peer]
renderfu_ has quit [Remote host closed the connection]
reset has joined #ruby
* pepijndevos
v
<pepijndevos>
/usr/local/opt/ruby/bin/gem
danijoo has joined #ruby
renderful has joined #ruby
renderful has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 272 seconds]
renderful has joined #ruby
ramfjord has joined #ruby
<havenwood>
pepijndevos: command -v nokogiri
bwilson has joined #ruby
<pepijndevos>
/usr/local/opt/ruby/bin/nokogiri
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rebelshrug has quit [Client Quit]
fgo has quit [Ping timeout: 240 seconds]
terrellt has quit [Remote host closed the connection]
Bira has joined #ruby
Wolland has quit [Ping timeout: 255 seconds]
<havenwood>
pepijndevos: looks good to me on first glance
terrellt has joined #ruby
<pepijndevos>
right. except it's not.
lkba has quit [Ping timeout: 240 seconds]
chrishough has quit [Quit: chrishough]
<shevy>
hehe
mehlah has joined #ruby
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
<pepijndevos>
everything in the error refers to the prefix or the cellar, except that one libruby /usr/local/Cellar/ruby/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': dlopen(/usr/local/Cellar/ruby/2.1.2/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-13/2.1.0/nokogiri-1.6.3.1/nokogiri/nokogiri.bundle, 9): Library not loaded: /usr/local/lib/libruby.2.1.0.dylib (LoadError)
relix has quit [Remote host closed the connection]
chipotle_ has quit [Read error: Connection reset by peer]
renderful has quit [Remote host closed the connection]
jcromartie has joined #ruby
tier has quit [Ping timeout: 272 seconds]
<arup_r>
Can any one help me, by giving the link of ternary operator how it is coded in C ?
<arup_r>
in Ruby parser
amisha has quit [Ping timeout: 256 seconds]
go|dfish has joined #ruby
s2013 has quit [Ping timeout: 250 seconds]
<arup_r>
I am trying to search it in Github, but not getting it there
deric_skibotn has quit [Read error: Connection reset by peer]
<Mon_Ouie>
It's buried somewhere in parse.y… probably not very interesting to look at.
<arup_r>
Yes.. I am going through it... not able to locate it
amisha has joined #ruby
deric_skibotn has joined #ruby
<arup_r>
I would like to check the Grammer
gnarld_ is now known as nug
mercwithamouth has joined #ruby
centrx has joined #ruby
yfeldblum has joined #ruby
ctp has joined #ruby
chrishough has joined #ruby
subtwo has joined #ruby
phinfonet has quit [Ping timeout: 240 seconds]
kaspertidemann has quit []
sambao21 has quit [Ping timeout: 260 seconds]
<arup_r>
The thing is x.nil? ? meth1 12 : meth 23, 34 is parsed incorrectly.. The reason is obvious.. I need to use *paren*
* centrx
agrees
<arup_r>
But I wanted to check how the corresponding grammar is written there..
phinfonet has joined #ruby
narendraj9 has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
tier_ has quit [Remote host closed the connection]
subtwo has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
mikepack has quit [Remote host closed the connection]
ValicekB has quit [Ping timeout: 250 seconds]
dawkirst has joined #ruby
yxhuvud has quit [Remote host closed the connection]
ctp_ has joined #ruby
yfeldblu_ has joined #ruby
amisha has quit [Ping timeout: 245 seconds]
jmbrown412 has joined #ruby
ctp has quit [Ping timeout: 250 seconds]
ndrei has quit [Ping timeout: 240 seconds]
godd2 has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Remote host closed the connection]
dbasch has joined #ruby
tjr9898 has joined #ruby
yxhuvud has joined #ruby
Sauvin has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 240 seconds]
lethan has quit []
Kricir has joined #ruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
mary5030 has quit [Ping timeout: 245 seconds]
mikesplain has joined #ruby
MartinCleaver has joined #ruby
tjr9898 has quit [Ping timeout: 245 seconds]
mary5030 has joined #ruby
tjr9898 has joined #ruby
endash has quit [Ping timeout: 260 seconds]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
theharshest has quit [Quit: This computer has gone to sleep]
livingstn has joined #ruby
b00stfr3ak has quit [Read error: Connection reset by peer]
crazydiamond has quit [Remote host closed the connection]
<livingstn>
Totally new to ruby/bundler. If I want to make modifications to a bundle and test it without having to push it to a remote repo, where would I do that? I can't seem to find where the downloaded source code is.
beneggett has quit [Read error: Connection reset by peer]
<mechanicalduck_>
hi
<mechanicalduck_>
So I am using guard and I find it very useful.
beneggett has joined #ruby
<mechanicalduck_>
But guard doesn't seem to work on a samba/cifs mount.
<mechanicalduck_>
It doesn't detect changes.
groovehunter has quit [Quit: Page closed]
Sirupsen has joined #ruby
<mechanicalduck_>
When I change the file on the windows computer it detects it.
<mechanicalduck_>
Correction: It detects it _not_.
<centrx>
livingstn, I think of a "bundle" as a set of gems specified in the Gemfile, but it sounds like you are talking about changing source code?
ValicekB has joined #ruby
<livingstn>
centrx well, this is something installed via bundler that doesn't have a gem (so installed from github)
tjr9898 has quit [Ping timeout: 240 seconds]
<livingstn>
I'd like to modify that repo's code.
kiki_lamb has quit [Quit: leaving]
yacks has quit [Ping timeout: 250 seconds]
b00stfr3ak has joined #ruby
kiki_lamb has joined #ruby
<centrx>
mechanicalduck_, guard may be using Linux's inotify feature. There might be other ways that guard can detect changes, a setting or a plugin.
FifthWall has quit [Ping timeout: 250 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tier has joined #ruby
peeja has quit [Ping timeout: 255 seconds]
jlovick has joined #ruby
claw__ has joined #ruby
theharshest has joined #ruby
michaeldeol has joined #ruby
yeltzooo has quit [Ping timeout: 260 seconds]
<jbwiv>
Pizza: and if you're looking for the IDE experience, RubyMine from intellij is decent
<centrx>
livingstn, On my system they are in /var/lib/gems, however
maxmanders has quit [Max SendQ exceeded]
jumblemuddle has quit [Ping timeout: 245 seconds]
<livingstn>
centrx I'd like to modify it locally to test out my changes before pushing it up to my forked repo.
<centrx>
livingstn, However, better practice may be to fork the source code on github and make your change there.
SirCmpwn has quit [Ping timeout: 240 seconds]
utkarsh_ has quit [Quit: No Ping reply in 180 seconds.]
<centrx>
I see okay that covers my suggestion
<livingstn>
centrx Yeah, it's just a pain to keep having to push it up to test.
mjulian has quit [Remote host closed the connection]
mjulian has joined #ruby
mjulian has joined #ruby
mjulian has quit [Changing host]
utkarsh_ has joined #ruby
<livingstn>
Ideally i'd like to test locally, push to fork, then create a PR
<mechanicalduck_>
centrx: So when I get inotify running on cifs/smbfs, guard should also work, alright.
verto has quit [Ping timeout: 240 seconds]
danshultz has quit [Ping timeout: 250 seconds]
binaryhat has quit [Remote host closed the connection]
xaxisx has quit [Quit: xaxisx]
yeltzooo has joined #ruby
clamstar has quit [Ping timeout: 264 seconds]
claw_ has quit [Remote host closed the connection]
Muz has quit [Ping timeout: 250 seconds]
GGMethos has quit [Ping timeout: 250 seconds]
claymore has quit [Read error: Connection reset by peer]
<centrx>
livingstn, On my system the repo-downloaded "gems" are in /var/lib/gems/2.1.0/bundler/gems, while the normal gems are in /var/lib/gems/2.1.0/gems
dfedde has quit [Ping timeout: 250 seconds]
binaryhat has joined #ruby
ptierno has quit [Remote host closed the connection]
<centrx>
livingstn, Use the locate program to find anything on your system quickly
jumblemuddle has joined #ruby
verto has joined #ruby
melik__ has joined #ruby
claymore has joined #ruby
gzl has quit [Remote host closed the connection]
<centrx>
mechanicalduck_, Right, or some other mechanism that Samba or Guard might use instead of inotify
dfedde has joined #ruby
camt has quit [Ping timeout: 264 seconds]
lxsameer has quit [Quit: Leaving]
sambao21 has quit [Quit: Computer has gone to sleep.]
<mechanicalduck_>
centrx: Can I set up a different one?
<mechanicalduck_>
centrx: It is for a mounted samba (windows) share.
gzl has joined #ruby
gzl has joined #ruby
gzl has quit [Changing host]
<centrx>
mechanicalduck_, Set up a different what?
Zamerick has joined #ruby
camt has joined #ruby
maxmanders has joined #ruby
xxneolithicxx has joined #ruby
<xxneolithicxx>
hi all
xaxisx has joined #ruby
momomomomo has joined #ruby
xaxisx has quit [Client Quit]
<xxneolithicxx>
anyone know if XMLRPC is thread safe
Davey has quit [Ping timeout: 264 seconds]
<mechanicalduck_>
centrx: notification mechanism
<mechanicalduck_>
centrx: Preferably not something where guard actively polls on all files.
s2013 has joined #ruby
bruno- has joined #ruby
<livingstn>
centrx Found it. Thanks!
hypnosb has quit [Ping timeout: 250 seconds]
<centrx>
mechanicalduck_, It is possible that is the only way to do it with samba. Everything has to go through the filesystem first.
<mechanicalduck_>
centrx: ah
ndrei has joined #ruby
hypnosb has joined #ruby
Davey has joined #ruby
s2013_ has quit [Ping timeout: 250 seconds]
FifthWall has joined #ruby
bluehavana has joined #ruby
Muz has joined #ruby
clamstar has joined #ruby
peeja has joined #ruby
SirCmpwn has joined #ruby
arya_ has quit [Ping timeout: 240 seconds]
eeezkil has quit [Read error: Connection reset by peer]
tjr9898 has joined #ruby
danshultz has joined #ruby
thumpba has quit [Remote host closed the connection]
GGMethos has joined #ruby
<pontiki>
mechanicalduck_: the samba thing seems sufficiently narrow that you might want to report it to guard's developers, if you haven't already
<mechanicalduck_>
pontiki: I will report it on their github project.
fgo has joined #ruby
<shevy>
github made the world a better place
gunner990 has quit [Read error: Connection reset by peer]
<onewheelskyward>
Indeed.
rp__ has quit [Ping timeout: 250 seconds]
ptierno has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
tylerkern has quit [Read error: Connection reset by peer]
SouL_ has quit [Remote host closed the connection]
tylerkern has joined #ruby
mikesplain has quit [Ping timeout: 264 seconds]
fgo has quit [Ping timeout: 245 seconds]
sixxy has quit [Quit: Leaving]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
vsoftoiletpaper has quit []
djbkd has quit [Remote host closed the connection]
Bumptious has joined #ruby
verto has quit [Ping timeout: 245 seconds]
tylerkern has quit [Client Quit]
<mechanicalduck_>
yes
yeltzooo has quit [Ping timeout: 245 seconds]
kirun has joined #ruby
jumblemuddle has quit [Ping timeout: 250 seconds]
darkxploit has joined #ruby
bmurt has quit []
rp__ has joined #ruby
slash_nick has quit [Ping timeout: 240 seconds]
thumpba has joined #ruby
thumpba has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
okinomo has quit [Ping timeout: 255 seconds]
claymore has quit [Ping timeout: 245 seconds]
xaxisx has joined #ruby
thumpba has joined #ruby
xaxisx has quit [Client Quit]
Zenigor has joined #ruby
lxsameer has joined #ruby
shredding has joined #ruby
jumblemuddle has joined #ruby
okinomo has joined #ruby
verto has joined #ruby
xaxisx has joined #ruby
namxam has quit [Remote host closed the connection]
yeltzooo has joined #ruby
tylerkern has joined #ruby
claymore has joined #ruby
robbyoconnor has joined #ruby
txdv has quit [Read error: Connection reset by peer]
ctp has joined #ruby
failshell has quit [Remote host closed the connection]
txdv has joined #ruby
chrishough has quit [Quit: chrishough]
<sjouke>
how do you generate a date like this: Mon, 28 Jul 2014 18:08:38 UTC +00:00
peeja has quit [Ping timeout: 272 seconds]
failshell has joined #ruby
thumpba has quit [Ping timeout: 240 seconds]
Zenigor has quit [Ping timeout: 250 seconds]
<pontiki>
that's a standard format, i think? but you can also use the variables in strftime
Bumptious has quit [Remote host closed the connection]
peeja has joined #ruby
Jon30 has joined #ruby
fabrice31 has joined #ruby
<centrx>
sjouke, There are a set of pre-made standard formats, they have methods on Time or DateTime.
chipotle has quit [Quit: cya]
Bumptious has joined #ruby
<pontiki>
maybe not a standard, i don't think any show both the time zone code and the offset
slash_nick has joined #ruby
<centrx>
sjouke, Otherwise, as the great pontiki said, use strftime
echevemaster has quit [Remote host closed the connection]
ctp_ has quit [Ping timeout: 245 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claw__ has quit [Ping timeout: 240 seconds]
Zenigor has joined #ruby
claw___ has joined #ruby
JoshGlzBrk has joined #ruby
b00stfr3ak has quit [Ping timeout: 250 seconds]
<sjouke>
DateTime.new is cose: Mon, 01 Jan -4712 00:00:00 +0000
dbasch has quit [Quit: dbasch]
<sjouke>
wish it would generate a proper year
<jhass>
sjouke: that's just it's .inspect, not the value itself
jmbrown412 has quit [Remote host closed the connection]
Bumptious has quit [Read error: No route to host]
<sjouke>
DateTime.now
<sjouke>
that works
<jhass>
*its
<sjouke>
thank you very much centrx, pontiki, jhass!
<jhass>
I wouldn't rely on the .inspect
jmbrown412 has joined #ruby
<jhass>
craft a format string for .strftime
Bumptious has joined #ruby
luckyruby has joined #ruby
failshell has quit [Ping timeout: 272 seconds]
b00stfr3ak has joined #ruby
AlexBlom has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
kiri has quit [Ping timeout: 250 seconds]
<pontiki>
huh
<pontiki>
>> Time.new
<Mon_Robot>
pontiki: Something went wrong when trying to evaluate your code.
<pontiki>
fascinating
fabrice31 has quit [Ping timeout: 250 seconds]
<pontiki>
>> require 'time'; Time.new
<Mon_Robot>
pontiki: Something went wrong when trying to evaluate your code.
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<Wolland>
>> Time.class
<Mon_Robot>
Wolland: Something went wrong when trying to evaluate your code.
JohnBat26 has quit [Ping timeout: 255 seconds]
NinoScript has quit [Ping timeout: 250 seconds]
<pontiki>
Time.new gives the current time, just like Time.now. but Date.today and DateTime.new don't.
<pontiki>
oops
failshell has joined #ruby
<pontiki>
i mean Date.new and DateTime.new
jmbrown412 has quit [Ping timeout: 250 seconds]
ssvo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
Morkel has joined #ruby
<sjouke>
gotta run
sjouke has quit [Quit: leaving]
raul782 has joined #ruby
opus has quit []
toastynerd has quit [Remote host closed the connection]
claymore has quit [Ping timeout: 240 seconds]
NinoScript has joined #ruby
failshel_ has joined #ruby
failshell has quit [Ping timeout: 240 seconds]
<mechanicalduck_>
Interesting.
<mechanicalduck_>
Guard got a subproject 'Listen' which supports samba shares notifications well.
<beryllium>
for the project I'm doing it on, I wouldn't call it large-scale - it's just one site - the issue that it needs to be crawled on a regular schedule (and the dom needs to be harvested for data)
carth3l has quit [Quit: carth3l]
NinoScript has joined #ruby
<momomomomo>
nutch is great for that :p
linojon has quit [Quit: linojon]
ubernil has joined #ruby
<beryllium>
and it's a government site. heh.
<momomomomo>
I continuously crawl a set of sites using nutch and my selenium plugin; works fine
rimenes has joined #ruby
Nahra has quit [Remote host closed the connection]
axl_ has joined #ruby
<ericwood>
there's also mechanize for scraping, I heard good things
<thetabyte>
Heh, good point. If I want each Sidekiq job (Sidekiq jobs run in parallel) to be able to make HTTP requests, what should I do?
<momomomomo>
ericwood: the tools we're talking about are on completely different levels
<beryllium>
I recongnize aaronp's avatar. hah
<momomomomo>
that said, if you have a small amount to do, I've used things like anemone etc
elaptics is now known as elaptics`away
<slash_nick>
thetabyte: nothing stopping you... is there a certain order the requests need to fire in?
<ericwood>
momomomomo: yeah I give up, this is beyond the shit I've done :P
<slash_nick>
because if it's some serial process, then asynchronous is not going to be a good solution
<thetabyte>
slash_nick: well, there is something stopping me from using Net:HTTP — it's not thread safe
<ericwood>
the readme should have all the info you need!
<the8thbit|work>
the ubuntu repos are always out of date D<
<ericwood>
yeah...
<ericwood>
if you're doing much serious ruby dev these tools are very helpful
lmickh has quit [Remote host closed the connection]
<the8thbit|work>
Ive never written ruby before, but my boss asked me to write a plugin for openproject
deric_skibotn has joined #ruby
Sgeo has joined #ruby
jottr has joined #ruby
<ericwood>
the8thbit|work: if you're having trouble with ruby-install, postmodern is in this channel!
fgo has joined #ruby
mikesplain has joined #ruby
<the8thbit|work>
Im more of a modernist
ValicekB has quit [Ping timeout: 260 seconds]
<ericwood>
haha
<the8thbit|work>
ruby-install seems to be working great so far though :)
<ericwood>
awesome!
<ericwood>
i recommend that in conjunction with chruby
<ericwood>
so ruby-install installs the ruby versions, and chruby will let you switch between them easily
<the8thbit|work>
Ah, I see
<ericwood>
you can create a .rubyversion file in your project, and whenever you're in that project dir you'll have the correct ruby version set up!
<the8thbit|work>
hm
<ericwood>
it's easy to get going!
sethen has quit [Ping timeout: 240 seconds]
<the8thbit|work>
github should have a package manager
fgo has quit [Ping timeout: 250 seconds]
<ericwood>
it does, it's called git :D
<the8thbit|work>
haha
mikesplain has quit [Ping timeout: 240 seconds]
<ericwood>
honestly if you're on a mac homebrew is amazing, it's kinda like that
yfeldblum has joined #ruby
fantazo has joined #ruby
pzula has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ericwood>
it uses github for managing installation formulas; things are almost always up to date
<ericwood>
for example, pianobar (a CLI pandora player) broke and the fix wasn't in master yet, but homebrew's formular for it got updated to use the PR that fixed the problem
<ericwood>
that blew me away! fixed within an hour
mlohstroh has quit [Quit: Leaving...]
<the8thbit|work>
I meant a package that would allow devs to create an install file with instructions for building from source, search the github database, and autoupdate your installs when the dev pushes to the branch you installed from
<the8thbit|work>
by instructions, I mean the code that would then be executed by the manager itself
<ericwood>
that's basically homebrew to some extent
<the8thbit|work>
so all you'd have to do is type github install package
<the8thbit|work>
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
<the8thbit|work>
hmmmm
melik__ has quit [Ping timeout: 272 seconds]
wald0 has joined #ruby
b00stfr3ak has joined #ruby
asdasdasdasss has joined #ruby
djbkd has quit [Remote host closed the connection]
codeurge has joined #ruby
<mostlybadfly>
random question but does anyone have a general idea how much paid apprentiships actually pay?
<mr_snowf1ake>
apprentiships?
<mostlybadfly>
i guess it would depend on the company
<mr_snowf1ake>
yeah, it would probably vary greatly...
bruno- has quit [Ping timeout: 256 seconds]
<mostlybadfly>
yeah so they take on people with less programming experience to a decent amount of experience and put them in an apprenticeship program under a mentor, under the assumption that they would become a normal developer at some point
fantazo has joined #ruby
<mostlybadfly>
yeah i wish there were general ranges or ideas, i want to work towards a career change but considered that as an option to mitigate potential pay cuts
djbkd has joined #ruby
<mostlybadfly>
i guess i could always apply to places and see what they say heh
fly2web has joined #ruby
kaspertidemann has quit []
wald0 has quit [Ping timeout: 264 seconds]
fgo has joined #ruby
asdasdasdasss has quit [Ping timeout: 250 seconds]
slyv has joined #ruby
mikesplain has joined #ruby
blackmesa has quit [Quit: WeeChat 0.4.3]
danijoo has quit [Read error: Connection reset by peer]
MCDev has joined #ruby
danijoo has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
alexju has quit [Ping timeout: 260 seconds]
bruno- has joined #ruby
testcore has quit [Quit: [BX] Everybody was Kung Fu fighting!]
mikesplain has quit [Ping timeout: 272 seconds]
<shevy>
the8thbit|work come on man, use the source
grzywacz has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
<the8thbit|work>
shevy: I already made ruby 2.1.1, that wasn't the problem
<the8thbit|work>
it was I hadn't installed it
alexju has joined #ruby
<the8thbit|work>
I got RVM working though
ghostmoth has joined #ruby
<shevy>
cool
<shevy>
so you are a problem solver
slyv has quit [Quit: My Computer has gone to sleep. ZZZzzz…]
kireevco has quit [Quit: Leaving.]
<shevy>
that means you have the teeth to bite through the cheese
maletor has quit [Read error: Connection reset by peer]
Bira has quit [Remote host closed the connection]
thetabyte has quit [Quit: Leaving.]
bruno- has quit [Ping timeout: 245 seconds]
Bira has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
MatthewsFace has quit [Ping timeout: 272 seconds]
pzula has quit [Ping timeout: 264 seconds]
<lidaaa>
shevy, where i am from cheese is very soft