apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
julianalucena has joined #ruby
Guest54088 has quit [Changing host]
Guest54088 has joined #ruby
Guest54088 is now known as _veer
mklappstuhl has quit [Remote host closed the connection]
nezumi has joined #ruby
bigoldrock has quit [Ping timeout: 256 seconds]
thams has joined #ruby
realDAB has quit [Quit: realDAB]
brotatos has left #ruby ["WeeChat 0.4.1"]
ravster has quit [Quit: Leaving.]
johnnyfuchs has quit [Remote host closed the connection]
jarin has joined #ruby
hanmac1 has joined #ruby
kevinykchan has quit [Ping timeout: 246 seconds]
lindenle has quit [Ping timeout: 246 seconds]
seich- has quit [Ping timeout: 264 seconds]
fenicks has quit [Remote host closed the connection]
thams has quit [Quit: thams]
wallerdev has joined #ruby
pitzips has quit [Ping timeout: 268 seconds]
iliketurtles has quit [Quit: zzzzz…..]
hanmac1 has quit [Ping timeout: 248 seconds]
sailias has joined #ruby
i_s has quit [Remote host closed the connection]
v0n has joined #ruby
rodacato has quit [Remote host closed the connection]
rodacato has joined #ruby
felixjet_ has quit [Read error: Connection reset by peer]
renderful has quit [Remote host closed the connection]
tomzx_mac has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
burlyscudd has joined #ruby
AkashicLegend has joined #ruby
wsterling has joined #ruby
rodacato has quit [Ping timeout: 268 seconds]
Columcille has quit [Ping timeout: 256 seconds]
AndChat| has joined #ruby
GMFlash has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
randomau_ has joined #ruby
chrisja has quit [Quit: leaving]
tylersmith has quit [Remote host closed the connection]
seich- has joined #ruby
brennanMKE has joined #ruby
wsterling has quit [Ping timeout: 240 seconds]
Banistergalaxy has quit [Ping timeout: 276 seconds]
randomau_ has quit [Read error: Operation timed out]
ravster has joined #ruby
randomautomator has quit [Ping timeout: 276 seconds]
lucianosousa has joined #ruby
Guest17299 has quit [Read error: Connection reset by peer]
lucianosousa has quit [Client Quit]
saarinen has quit [Quit: saarinen]
bcave has joined #ruby
Soopaman has joined #ruby
bcave is now known as Guest51107
superscott[8] has joined #ruby
jlast has quit [Remote host closed the connection]
<Soopaman> hola, is this the correct channel to ask about broken gem builds?
Arya_ has joined #ruby
DonRichie has quit [Ping timeout: 264 seconds]
brennanMKE has quit [Read error: Connection reset by peer]
ewnd9 has joined #ruby
brennanMKE has joined #ruby
DonRichie has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
hemanth has joined #ruby
rupee has joined #ruby
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
Mr_Pepper has joined #ruby
<superscott[8]> Soopaman: just ask the question :D
yshh has quit [Remote host closed the connection]
michaeldeol has quit [Remote host closed the connection]
fschuindt has joined #ruby
mansi has quit [Remote host closed the connection]
enebo has joined #ruby
roger_rabbit has quit [Ping timeout: 260 seconds]
mansi has joined #ruby
mootpointer has joined #ruby
Columcille has joined #ruby
roger_rabbit has joined #ruby
Arya_ has quit [Quit: Arya_]
devoldmx has joined #ruby
hogeo has joined #ruby
michaeldeol has joined #ruby
freeayu has joined #ruby
mansi has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
renderful has joined #ruby
fomatin has joined #ruby
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
fomatin has quit [Client Quit]
byprdct has joined #ruby
ewnd9 has quit [Ping timeout: 245 seconds]
mikeg has quit [Remote host closed the connection]
jonathanwallace has quit [Quit: WeeChat 0.4.0]
jonathanwallace has joined #ruby
burlyscudd has quit [Quit: Leaving.]
smathieu has quit [Remote host closed the connection]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
Tricon has joined #ruby
Mr_Pepper has quit []
jonathanwallace has quit [Client Quit]
Myconix has joined #ruby
mrsolo has quit [Quit: Leaving]
tkuchiki has joined #ruby
mary5030 has joined #ruby
thepumpk_ has joined #ruby
yshh has joined #ruby
thepumpkin has quit [Ping timeout: 264 seconds]
DanKnox_away is now known as DanKnox
ssvo has quit [Ping timeout: 276 seconds]
hemanth has quit [Quit: This computer has gone to sleep]
fredjean has joined #ruby
enebo has quit [Quit: enebo]
flashuni has joined #ruby
jonathanwallace has joined #ruby
Marsthemanwithth has quit [Ping timeout: 264 seconds]
tobyo1 has quit [Ping timeout: 246 seconds]
jonathanwallace has quit [Client Quit]
smathieu has joined #ruby
jonathanwallace has joined #ruby
obs has quit [Quit: Konversation terminated!]
thepumpkin has joined #ruby
banghous_ has joined #ruby
fredjean has quit [Client Quit]
banghouse has quit [Read error: Connection reset by peer]
thepumpk_ has quit [Ping timeout: 256 seconds]
banghous_ is now known as banghouse
npulse has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Anarch has quit [Ping timeout: 264 seconds]
ZOGM_ has joined #ruby
Vivekananda has joined #ruby
Spooner has quit [Remote host closed the connection]
ckrailo has quit [Quit: Computer has gone to sleep.]
charliesome has joined #ruby
ckrailo has joined #ruby
keen____ has quit [Ping timeout: 240 seconds]
ZOGM has quit [Ping timeout: 248 seconds]
hanmac1 has joined #ruby
thepumpk_ has joined #ruby
mary5030 has quit [Remote host closed the connection]
thepumpkin has quit [Ping timeout: 246 seconds]
Ripp__ has joined #ruby
gildo has joined #ruby
cj3kim has quit [Remote host closed the connection]
hanmac1 has quit [Ping timeout: 256 seconds]
i_s has joined #ruby
brennanMKE has quit [Remote host closed the connection]
{Neurotic] is now known as [Neurotic]
julianalucena has quit [Remote host closed the connection]
tommyvyo has joined #ruby
burlyscudd has joined #ruby
popl has joined #ruby
x1337807x has quit [Ping timeout: 256 seconds]
ExxKA has quit [Ping timeout: 246 seconds]
michaeldeol has quit [Remote host closed the connection]
ckrailo has quit [Quit: Computer has gone to sleep.]
michaeldeol has joined #ruby
i_s has quit [Ping timeout: 276 seconds]
adeponte has quit [Remote host closed the connection]
johnnyfuchs has joined #ruby
fredjean has joined #ruby
AkashicLegend has quit [Quit: AkashicLegend]
fredjean has quit [Client Quit]
guiocavalca_off has quit []
dhruvasagar has joined #ruby
npulse has quit [Ping timeout: 276 seconds]
nari has joined #ruby
cortexman has quit [Quit: Leaving.]
mbreedlove has quit [Quit: Konversation terminated!]
it_tard has quit [Read error: Connection reset by peer]
romdi`` has quit [Ping timeout: 246 seconds]
johnnyfuchs has quit [Remote host closed the connection]
RORgasm has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby
fredjean has joined #ruby
Ripp__ has quit [Quit: This computer has gone to sleep]
Nisstyre-laptop is now known as nisstyre
sam113101 is now known as sam113101_afk
angusigu1ss has joined #ruby
sam113101_afk is now known as sam113101
RORgasm has joined #ruby
JZTech101 has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC]
angusiguess has quit [Ping timeout: 246 seconds]
heftig has quit [Ping timeout: 264 seconds]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
RORgasm has quit [Remote host closed the connection]
sevenseacat has joined #ruby
nisstyre has quit [Quit: Leaving]
Domon has joined #ruby
ravster has quit [Quit: Leaving.]
tylersmith has joined #ruby
freeayu has quit [Ping timeout: 264 seconds]
freeayu has joined #ruby
Notte has quit [Remote host closed the connection]
lurid has left #ruby [#ruby]
Guest51107 has quit [Read error: Connection reset by peer]
Solnse has quit [Quit: Leaving.]
bcave has joined #ruby
bcave is now known as Guest59949
hamakn has joined #ruby
tylersmith has quit [Ping timeout: 248 seconds]
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
ilyam has quit [Quit: ilyam]
dayepa has quit [Quit: dayepa]
dayepa has joined #ruby
felixjet has joined #ruby
superscott[8] has quit [Quit: superscott[8]]
seich- has quit [Ping timeout: 245 seconds]
cj3kim has joined #ruby
amacgregor_ has joined #ruby
amacgregor has quit [Ping timeout: 240 seconds]
grumpwork has joined #ruby
iliketurtles has joined #ruby
mansi has quit [Remote host closed the connection]
i_s has joined #ruby
JimmyNeutron has joined #ruby
monika1 has joined #ruby
iliketurtles has quit [Client Quit]
tgunr has joined #ruby
ZOGM_ has quit [Remote host closed the connection]
rickmasta has joined #ruby
<monika1> hello
freeayu has quit [Ping timeout: 268 seconds]
freeayu__ has joined #ruby
monika1 has left #ruby [#ruby]
ZOGM has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
mocfive__ has quit [Remote host closed the connection]
SirFunk_ has quit [Ping timeout: 245 seconds]
Myconix has quit [Ping timeout: 245 seconds]
<Soopaman> superscott[8]: heheh, k
<Soopaman> for the life of me I can't get the nfc gem to build
<Soopaman> I have to proper version of libnfc on my machine (osx mountain lion), but for whatever reason the ./configure won't find it
jonahR has joined #ruby
ilyam has joined #ruby
justsee has left #ruby [#ruby]
Marsthemanwithth has joined #ruby
SirFunk has joined #ruby
kofno has joined #ruby
nitish has joined #ruby
nitish has quit [Changing host]
nitish has joined #ruby
ZOGM_ has joined #ruby
smathieu has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
GeissT has joined #ruby
gks has joined #ruby
ZOGM has quit [Ping timeout: 245 seconds]
kaspergrubbe has joined #ruby
<gks> Hey guys. I have a small app i'm writing that uses ERB to generate some html files, however, whenever I am running into a problem with it I'm not able to figure out how to obtain any error messages for why it failed. Does anyone have any sugestions for this?
Marsthemanwithth has quit [Ping timeout: 264 seconds]
i_s has quit [Remote host closed the connection]
radic_ has quit [Ping timeout: 246 seconds]
vikhyat has quit [Remote host closed the connection]
hanmac2 has joined #ruby
kaspergrubbe has quit [Ping timeout: 264 seconds]
zachrab_ has joined #ruby
DanKnox is now known as DanKnox_away
rodacato has joined #ruby
hanmac2 has quit [Ping timeout: 256 seconds]
marcdel has joined #ruby
rickruby has joined #ruby
k0rupted has joined #ruby
robustus has quit [Ping timeout: 248 seconds]
spap has joined #ruby
gildo has quit [Ping timeout: 264 seconds]
robustus has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
radic_ has joined #ruby
gks has quit [Quit: Linkinus - http://linkinus.com]
obs has joined #ruby
error404 has joined #ruby
DonRichie has joined #ruby
fess has joined #ruby
error404 has quit [Read error: Operation timed out]
DonRichie has quit [Read error: Connection reset by peer]
cha1tanya has joined #ruby
seich- has joined #ruby
spap has left #ruby [#ruby]
JimmyNeutron has quit [Quit: Leaving]
jmeeuwen_ has joined #ruby
burlyscudd has quit [Quit: Leaving.]
jmeeuwen has quit [Read error: Connection reset by peer]
jmeeuwen_ is now known as jmeeuwen
rickmasta has quit [Quit: Leaving...]
northelks has quit [Ping timeout: 256 seconds]
Schmidt has quit [Ping timeout: 264 seconds]
brennanMKE has joined #ruby
zachrab_ has quit [Remote host closed the connection]
krainboltgreene has joined #ruby
Davey has joined #ruby
Schmidt has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
adeponte has joined #ruby
wsterling has joined #ruby
Vivekananda has quit [Ping timeout: 256 seconds]
Davey has quit [Client Quit]
_maes_ has joined #ruby
Soopaman has quit [Quit: Leaving.]
io_syl has quit [Ping timeout: 245 seconds]
inomataj has joined #ruby
adeponte has quit [Ping timeout: 240 seconds]
fschuindt has quit [Quit: Computer has gone to sleep.]
smathieu has joined #ruby
wesside has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
Ripp__ has joined #ruby
ZOGM_ has quit [Read error: Connection timed out]
anonymuse has joined #ruby
fridim__ has joined #ruby
Zespre has quit [Quit: leaving]
Zespre has joined #ruby
mary5030 has joined #ruby
baroquebobcat has joined #ruby
fschuindt has joined #ruby
doomio has joined #ruby
<doomio> s ^ A ? p $ ~ G l X k & F ' Y . c } B O = B ! > # . q Y / , , i # Q 6 & c c O " C / V c | e F
<doomio> M J N
<doomio> u 2 t h C " _ J 2 I ` h g f E / I C \ ? z ` t ~ m l e | e w ) Y p + I k l } v ` . " b k N R M P _
<doomio> * : S h f # d < c M m | J G P d d Y 3 T ~ # $ j G ~ B ( ~ > ( < / X @ e - = V H M + i
<doomio> l | Y )
<doomio> q - l L
<doomio> b R b | I u ? V - a U i v j & > y > , y u o > R + ) e t / r s / _ t n o $ # P o X ? S W + ` ^ Q " U
<doomio> W @ W
<doomio> J R & = + M I | i R H / t ^ ' z A E ^ A I w j ^ & ' " x ~ , u B P ] ? p 4 k p X C D Q B \ B
<doomio> p z
<doomio> 0 { P J V B p \ , o l ' L S K $ u % V 3 @ f R f ~ x z ? [ " ) O y F ^ D f Z d N ) | , J > ~ X v p
<doomio> I Y c = `
<doomio> | f 9 . s > w [ R R u / A x t ' " h C E w 1 F c / T [ < } P ` 6 w Y R D u ( o = " L ^ L L / J 9 D
<doomio> $ . @ ~
<doomio> s D x S . Y p 7 ^ / f j \ v s D { G j U N [ N * % Q _ a ! l w i s # ' U y O ; y n ' _ P E = K B z
<Nilium> ...
<doomio> K | 0
<doomio> M a b B Q U P : Z L 2 w K y s t l W o g P n e b > 0 N m z u O R l T ! Y s + J , - + } * 2 e L
<doomio> z V L u u
<doomio> z > D ! i x ? : = k d < % Q f l | w j & # # x o c a $ } I | L } * N < ) 6 ( & / > t g *
<doomio> 3 x y
<doomio> s n e ~ G I E G = ) D F E o X | \ Z 8 ) \ T % V N U ; v Q n D 5 L K r & R x \ L & c g G _
<doomio> I Z p
<Nilium> Needs more ascii art.
<doomio> c ? w ~ Z # n o z l { * % ~ Z d ` 5 p - } u / m d 8 = g " [ s V : h ~ x t { ' o e y 9 e Z ` ; - D # m
<doomio> - { z
<doomio> E s d p x T 1 M F } / ` X ` w / L ` G , a + > o h F = j C ^ V 1 f c 7 % Q T p I t 9 f z * 0
<doomio> t F g ; >
<doomio> S C Q 1 T - F S ' g i ? * / f u / ( N o a J 7 C i 6 , j i " x G o > ~ - % a V A i M * ` ' \ p \ | f n
<doomio> N b Q y
<doomio> ' l @ ; E \ l X N w ^ # a % ) C i b g y g - ] V u L X * a b Q V L z Q ~ H ^ Z v " l R A S + . I
<doomio> S T + k
<doomio> n * ) V f z c d y p / z c s Q [ ^ q P U I J w } X B D : / k , & { X X w } R B u ) ] [ , _ F i D V !
<zendeavor> it's clever enough to be slow on purpose and avoid autokick
<doomio> | H @ &
<doomio> } y $ ! U + ! x _ j h S Y k k | p - ' w l z f ) \ R + n t | s h \ K K % G & . S ~ 3 9 ? # e M | M
<popl> oh jeez
<doomio> I M ^ # ~
<Radar> oh ffs.
<doomio> # 5 7 ? t - r i = m P O / 5 D ) 8 x V d T r ` v N a j } r ] J T K G P " C Q * ' 4 _ . u @ ( *
<doomio> w * = U
<popl> where are the ops?
<doomio> } V , . O 8 y @ t S x ? z v q b < ~ l D 8 + < P U E e I 3 { n K ' v # R y s z M w r P ( ] 9 5 ? 5
<doomio> A 4 ' C f
<pontiki> oh crikey can we get a ban?
<doomio> t u > z X c d a l C * c . b Z 1 p d X , @ ? b Z k V I n q r m a " @ d V ; X g Q b i _ ~ < ] z ,
<doomio> 8 - , + q
<doomio> ' V I ; & U \ i Q r A A # Z [ R 7 [ ) \ I " ) r . z & e ] Y r " ] K : f x f o J M ` W p C H 6 L o
<doomio> J w ] X
<popl> apeiros:
<doomio> ) K . ] } d 2 p a . k 2 f / X B E @ ; [ A , y # - m } g : F h : f T o m - 3 " L } Q * O s J
<pontiki> meanwhile, ignored
<doomio> v 0 u
<doomio> t } q ] : F / o D ^ x J + { . E c I L V ! % O m / o o [ N c y ^ K - r A ? 1 m . a 0 % " ; M b p
<doomio> ! r l - S w
<doomio> J ^ d U . h U / t 4 J " L " y A s n E " B z . n c $ > ) < a # P B k ( N G L S G | W z f $ H 0 z O
<doomio> c h P n
<doomio> o V z k > U Z g Z < , : : ? > ( j O X $ y a ] d . | ' g Y z N w a t x U l C W ; z + f 6 ; } - k {
<doomio> f z { o
<doomio> A { P o w f = Y d M > a W ` P 1 W P a 7 h C e P Z > b e $ T / v " m d , @ / @ j t < ~ & , d e @ ! A
<doomio> " Q M
<doomio> i [ " G ` P , ' k G v ^ 6 e ] g f % J q Y Z F 8 s x b e j & K ' d l h $ Z ( K t D w _ ^ K s K
<doomio> 8 : G Z M
<doomio> " : B < T / J X $ t l g H O j \ ] F Y T Y : p ^ C m W f ) _ 5 / f _ I , 0 _ J R } n Q ? @ . d 0 { v Y
<doomio> _ ) K o
<popl> we need some active ops in here man. this is sort of ridiculous.
<doomio> r : e > ~ O ! : I C P 9 X G - ! " X Y f I C i q ` & F ] B ? D T e [ F ) o C b Q b 5 u , B
<doomio> t , ~ q N
<doomio> B Q % < x } , K x W @ Z # l T t g t T i x - . p \ { [ [ N C B { & T I ! # r u O x E g ; ^ c ,
<doomio> = ( w 1
<doomio> w & V 7 b ? } Y 7 N Y L I 7 Z / R 1 ~ h 5 & ) u e 8 i e - 6 v . = ? ? W b { g v H ; _ s w a > '
<doomio> P ^ p \
<doomio> $ p ^ / K p \ t z ; q 1 c l $ . g I . Y R / F & Q ^ ! < g 2 H A * f ^ w A L L 2 & ] ! (
<doomio> B \ $ "
<doomio> H & ; + E g c P O a l k E ^ % L k k } b : * J . U B ; ( y ' u J : ; A Y c _ q ( E W w ^ * P H K m $
<doomio> p r R e
<doomio> ; W A d 9 W < w C B l g _ Q J F Q i % I = % ! _ R 8 b x * - E D ] c F r $ b o 3 B C + 9 z S D " N @
<doomio> ` P ] i
<doomio> h 0 H i < v P { i R # S A G K * ; ; p D j % v \ Z < L < ( _ V o f g " C - : w t . t Y B P =
<doomio> z d k #
<doomio> K d ` x B c x [ ( X n u W D P g s ; U j [ 6 | s | g q @ g w V b D } H W K S [ | * I W p F c D A H
<doomio> E Q 0 ?
<doomio> R e W X & c B # 1 X i E } g , s z Z W z z O ] { ; < v , = L 7 C z | . > _ / p { W 8 @ - O C G H S # $
<doomio> \ %
<doomio> $ & L c " Z F l ] _ C * B O ) O ^ # R i 0 # = X K k [ ` Z i G 2 . T \ J s t v m [ $ ` D ( G
<doomio> d = v > u
<doomio> a ! . h = A 8 - e , { \ h e n u w r C T E i 4 | ] C B 6 ; w @ U | u > : K m T r 2 ` R ; - 7 % ~
<doomio> w A n z $
<doomio> $ L e d < b ( ! O E z > v h " o W b $ S G o . x H ` z / / 1 l W ) 4 L o y u p S J ! S l z
<doomio> u 7 n ,
<Kelet> use ignore command, ez
<doomio> - W # E s S % l + H , K a E w l r _ F W P F v E K } 5 = 2 f = j s t * D J ? w s p g M b ^ " h T
<doomio> J : $
<doomio> / d x O S 9 R O 5 V b < % U * c q W H J z 1 $ I m [ H % _ H ; z _ & ] _ k > # d G ( \ s a F H
<doomio> & \ :
<doomio> F u : w % W # S 8 Q r H } [ : P G , G ( H S R E ( G c X s v c p ' R { v b I V P > F - : X Q ~
<popl> that's not the point Kelet
<doomio> # . P <
<doomio> % r C E H & \ I X v ] c V s O Z m L P U m , Z * Z ^ 9 S s e Z ( b h > F o ' J < + A d K d J ]
<doomio> \ ] , &
<doomio> . ^ > C A y $ F A & = + t m 8 p p p r Z j L d D E R P z K I H Z p { [ u { ^ x ^ ] e Y O ~ E J o L
<doomio> p E
<doomio> m G - ~ ( 6 K & # C S U . $ & u " $ | { v M v C C ` k . { d & x \ P ? C 9 I C I > | p B n ] u M (
<doomio> p e I > A
<doomio> Y g b ; I z 2 ^ 9 Q l H h ; ) } E - h . r r O & 4 j # C O ! ] y 3 | * G R + x Q Q _ 3 A # ~ A
baroquebobcat has quit [Quit: baroquebobcat]
<doomio> # < n c c
<doomio> z + \ s n t u l t C D b S b [ q Z , l q K A } : W U O A K j p = ? % ) . d m 3 b ~ u + % <
<doomio> s . G
sevenseacat has quit [Quit: Leaving.]
<doomio> d , H P ( \ : ) d 9 L n r { y < T * W k K K d E Z | ! Z ^ , * | s 0 v q 6 ^ 0 = > + @ : w \
<doomio> @ b ) K
<doomio> x 5 V y b { ' = ~ t J p & @ ) 5 | r x T x 3 R Y [ n o R w v 0 O _ f L u T ! w k / ~ G o 6 _
<doomio> k S ! b y
<doomio> [ \ r * ^ Q b 4 > y F D ~ o @ 5 I l 2 % ; z q E < k & T ; z P ) f # : ` j F ) S e = / o ~ v A T a
<doomio> j Z c
<doomio> . A ] 1 : Y } h # I w \ l u W " S M D k S 6 - Y Z D q g % z , , c A U { ) u > [ @ ^ ] " } + D /
<doomio> { u ` X
<doomio> + R Z r K ~ n S % p s Y u q f x L T 4 Y B * d } ; M J ? 8 6 H D h e F Q - o H $ S & # H o
<doomio> D 0 +
<doomio> : , ? z N m j A T j ' I W C I ; U { } K d n l ? i j p " : g ` q H k S M x r a $ % + ^ ; T o S H z e
<doomio> X i a
<doomio> ^ G M ~ t - o R V X r _ ; " ] ( v z = Q Y - ^ ' w o B ) H ] ) O ) O % ? t 0 i E K ( [ $ 1 D 4 m f / t m
<doomio> } A *
<doomio> - w ? . P & Q & " r P w X { l M Y f * p X w M | % ) C = F i H f s t ] Z + L f $ ' ` U n ; a { " @ S
<doomio> 8 y D *
<doomio> ) Y y Y F G w b u T W A z I c ^ P b P l ` E # v X ! . U K \ ` : Z ? W ! ` N @ j } i ^ G c e T y
<doomio> ;
<doomio> [ S ! [ A r m w z E / } G ^ . ( E L z @ t | * C d J . . H R x C , f h Q i D p \ ' U z u S t ) V ^ 5 o
<pontiki> zero ops :)
<doomio> ] ~ w
<doomio> Y C H \ S p . f @ Z B ' x C f q Q x b L g , p O s l @ . / # % [ Q _ = F c h " > N u h t # P . K 6 f d
<doomio> b l w
<doomio> l ^ x ( l % q s T = l ? X / ` @ ] F _ C < J ] V { * 8 T i a A C 1 \ | h 3 J < . i i 7 < t M ! X (
<doomio> p # ? ;
<doomio> - @ # [ ( ' h ( R a x p + ^ Z $ n o z o > c H . s $ q W u [ I G e # Y ( X C w t ' ] = _ 6 E \ p
<doomio> 3 C ( u z
<doomio> - ` - l ? { ) & ` c p \ _ { " ` l o ^ X B r , X H q C M u w W n b > Y l Z K A r $ P c I _ D
<doomio> o ? ^ w
<doomio> , i G P k z _ 4 E * Z A z , g h / $ p b _ j \ X ] [ i - Y W & U W P S U j K x O h Q ` L / c : m T $ ,
<doomio> ' ? )
<doomio> K z ~ : - & k ^ j , ( p m { X I ) 2 | & z < 9 ? O r Q d g ] m w V : l { ( : ] P ~ D E a ? u A T
<doomio> x ` ? J
<doomio> : v 6 j 6 : " - } ] [ } . * c & 2 r k ? % o g @ ( C n . E W J F # ! i ^ v } U K t = \ f & b y
<doomio> U ! Y
<doomio> I r ? R N f } E q 4 a T 6 . ~ H I s $ B o U . # M $ > , _ S I = E > p 0 @ [ % { v D $ R B u Y B I P
<doomio> 1 g l ' /
<doomio> v P s $ b d d O M ; * p ' s P U B J u G z K Q U ^ { + : K a o c @ ` P M < 8 ] g < l * ( O $ n o
<doomio> J ~ Z
<doomio> ) % ' ' : { S R > 2 y D I g J r M w - , } N = r ( = ! } - J } | ? g m : a ^ + + X R D & ! W $
<doomio> T 7
<doomio> H @ e = C h ] < O x [ q e F } X e / / e / j D i j * & j o N e M ~ 8 ! ) & n W $ 4 Y H b ? \ v l L ~ %
<doomio> C O ^ y
<doomio> ' 5 Y . ? * k T K x & g o H . / L n p < R t M N j f 7 q Y ] - b _ > , A P t R > H E ^ z T F I U y \
<doomio> y p { ; _
<doomio> k f n = & e b . x L S H $ H v H e ; x \ - l = s ) # . + x T n x + ) i 9 x M b @ ? P B f C
<doomio> g e & c '
<doomio> } J Q g \ F D e ` Z G R - } ~ V f Y ( ] w G S P e ) V " M F u t r \ F / j # H ( " v r V k { ^ c H
<doomio> O T
<doomio> ( ^ K O e q j j ; > N k ( ) t D % V @ B i j M g ? Z C ; N G + A f T t y K L } , - G d > ` - ' 6
<doomio> ? n }
<doomio> H R v - ^ " x s ? n q % Z b t . A 9 g W ~ J c & U | w ] Y ^ D Q = D M % a 1 } j o Q K a ! p /
inomataj has quit [Remote host closed the connection]
<doomio> # a = p
<doomio> # Q g ' A G r c { [ O f O , M S l / \ t O b O o \ 2 w i ~ A e U } G t } \ L o { D B $ . m \ m b * \
<doomio> 4 s
<doomio> H , j I M : , 2 K # ! x h u H O x x ] x L { d C s r p U # d ` t s < m c X . L " + $ - L x v z ] h S
<doomio> B \ J e
<doomio> C ; / x R / Z P @ r G ] ; % p F T F . ] C j & f v - H : D L < K . i + 4 F { a 7 [ } c ! q
<doomio> Y c '
<doomio> a u u y h . \ o J ^ Y ) h b z ! _ v # Z L { D P J < Y d z } . [ t * | s Q , \ ) | C I - ` n r F
<doomio> _
<doomio> { V | y t = ` g _ ] B 0 @ " C O j | ~ [ < [ L u f p l } t c @ ` N Z * u S n D / l K { i w : w ( U
<doomio> w %
<doomio> O < % A } r - Y L x _ : ; Q ? p 7 * w ' @ @ { R * = } F I O = J ( E { l ) ` ] s 5 [ 7 m f x a ~
<doomio> s % D
<doomio> . ^ @ 0 \ m n R W Y u w Z @ c U z \ p [ p y \ p O y = @ 5 v / S J M # N = " ' > u e > < Z R k v
<doomio> 6 } C N K
<doomio> j h D e v x _ M U ( { \ D n ` k f r C v O T # j > Z > # ~ ^ g X _ m H Q d P q R i i | $ Y g d 3 = E x
<doomio> Z F Y [
<doomio> ] m N + m G M I x = ~ ] q # R a r , | o } . F u e \ : n w | . Q i | y n F > d F _ u Q S [ H :
<doomio> n U C
<doomio> * % P V Y r C \ l f n ` k ~ B > @ ` _ Z " ? a p H c M [ n } + q y k O I Z O T K r z $ 9 ; 5 [
<doomio> 7 d t
<doomio> . > \ = % x K x j . p < 9 y B { * q ) / ? 3 % - ? 4 & k V K v a 7 z | B o & _ N } u f Z f V ( , 6 v :
sevenseacat has joined #ruby
<doomio> ^ z ` j "
<doomio> 2 E w U h F [ ~ [ U ) q Y x . s j b { = ` B z X x L 4 X p _ ; ] 9 R * ( I a { H } ] / z = V $ _
<doomio> 7 ~ K y
<doomio> . N & + z ` b @ % 1 R e y p d ~ > * P , ~ H q t q p : K } G , F p > = : ? U + B j [ O j l
<doomio> ( < o ; .
<doomio> F * $ s D $ " \ m K - q X O ; Z _ T B ~ \ B J N S $ N o 2 | @ / ? * H z t A z n K c , $ z / } ) J "
<doomio> = e ^
<doomio> b E K ~ G [ ! ^ i @ I | x y v ) r c - X j ~ [ R Z s f { C ^ N $ j } j + J X / ] ' C , f & ? b s / <
<doomio> A s b < g
<doomio> d r ) ~ p 1 } s B u # : ' L > O # - j p $ V : S { = f = @ j v # ` r m ! / ; b z t [ = . ( E n [ l Y
<doomio> F | ; ~
<doomio> H - ; P - ~ n - ] w K - k ~ i e / " } ) _ u 4 ( c 7 N \ D [ ) 0 C " s Y z K 6 z ! s ' U b X
<doomio> f 3 h W
<doomio> U @ 2 O ! K l a i Y Q ` W : Y & j p i P r * | | n N ) ? W " r 4 ^ N o ` 2 G $ ; z ! < % D
slightair has left #ruby [#ruby]
<doomio> u n K
<doomio> 0 . M ( I S % z x t ^ J / K B G , b c l O - W ) P b a _ \ > 8 t Y O K b \ + . a % q W A D ; @
<doomio> c o % ,
<doomio> h k K { [ e k / O f J b \ B ) s h Q < & - ; i t h | H | F s 4 h f V W i J 0 U k s / ) i v N . > } v
<doomio> E 1 N
<doomio> g + ; & B B L U b : E r F F p $ | G d # % \ l . } T r g _ $ D + X P M N F | ( \ ( t u [ L O k % l H
<doomio> ` n 4
<doomio> l , e q . Y V k a + < F P / | T s ^ : t } m | j ; = U " i N z % P R | 0 5 T { ~ ` O c b V *
<doomio> J T _ Y G
<doomio> G 7 $ Y ? H q b e 2 W B ^ > + ' E # > ! " O T v # C F > w 0 J r y K J $ w m < g K g m 4 l | <
<doomio> J Z f }
<doomio> G Y B d h 7 R F S Z | H C H E ^ a : 9 E K D s = q ^ E { e O - a x * B b X e ~ y q U ] J A Z | {
<popl> the channel founder fucked off like 10 years ago
<doomio> g Q X { '
<doomio> - ; ` O ; Z q N T " { . V < ] $ " - f o / t c : C @ ! Y U n N j - I W ! ` h o ! = * ? < N f u s w @
<doomio> + J t i
<doomio> K V g H d h k % ' C z / Q 3 . , y k G t / B ~ o Y i S _ < h I i c V I b k Y v = i * I X e v | J
<doomio> ( > v
<popl> that's pretty lame
<doomio> H , ~ g w { U I p g ? N ! 8 q o # L _ \ M & ) t W P } h N n ( ) f { | B d Z 1 X ) 9 N % ) < _ o
<doomio> F . : '
<Rylai> popl: lol, really?
<doomio> ! g F ^ ? G H B { ? % ' { O i 9 . i T D ' | l _ q l Q Z ^ l ) a k G = ( N % C i z O / p - E { .
<doomio> v J x p h
<doomio> j ( I x } U E d + K ; ! m u $ & $ Z ] \ u | , i k V c c E Z w q " X \ \ f 3 < O u ) S [ C u V / 0 j W
<doomio> + s O
<doomio> 0 { F 5 Y o B c h t 6 I ~ Z X i o ` ^ E = K Q A G m I g O = [ q X h y O @ . L % Z / Z b p W v % g 2
<doomio> t M g ; #
<bnagy> apeiros has ops
<doomio> . g v ^ f a t j N k ; K ] | { U F " ? K u & ' { x ? { z > | [ 2 L + 3 o ' i Z p ' G m & X z 6
<doomio> a Y h ~
<doomio> = % Y g A R W A ? F O , Z A o W ] S [ @ M ! . n b 4 j Z D + * v { j _ r X e T @ V E ! G ( H
<doomio> U P / t j
<bnagy> but it's early there
<popl> he can't grant ops
<doomio> Q O - ' H j j " s Z ( a s g i w y X W f C ) [ J L ( f p 8 [ < 1 | q V d = z + N , m / U # V - U R
<doomio> ; B 1
<doomio> # } ' Z O 4 / = t = d ~ ` ? V ! ? " . x # ; [ x g m . q t ~ z ` d W R [ { B O Y / W e w t ~ E S $
<doomio> + V R l
<popl> I mean he can't change the access list
<doomio> B S m i A . ^ < } c K < P $ { r - / p Y = [ 2 ! O @ U | S * W ^ [ * 5 ^ $ X a n % W u g 5 d f *
EvilAww has joined #ruby
<doomio> ( . . D
c[_] has joined #ruby
<doomio> a * b 1 > M [ O 9 ( c a O ) + v * b e A G ' K u t H n ~ G n f G / E ; = Q ` s [ " ; m t o =
<doomio> V S A J d o
<doomio> ) - _ c c B ' x o p P . N b i ` h " = + k " 4 W ( P % X $ K R g & # D = " E y 8 z v p ) G " K a . %
c[_] has left #ruby [#ruby]
<doomio> V Z c
cj3kim has joined #ruby
<doomio> o : G C U @ % # s $ 1 ^ E N Q S 3 n L [ . k u : ( R C ^ q # M } C & + M x o r y q < o U > G = H # F
<doomio> e ] s ^
<doomio> U > $ y S " R ^ w r x n = % ` F $ e n f i [ ? X ' & s ( + b M = t b & ! X y a S T e 8 8 @ :
ZOGM has joined #ruby
<doomio> + " B
doomio has quit [Remote host closed the connection]
<popl> the only one who can change the access list is fflush
<popl> nickserv says fflush hasn't been on the network in over 10 years
adeponte has joined #ruby
dbRenaud has joined #ruby
<xybre> fuck
mahmoudimus has quit [Quit: Computer has gone to sleep.]
cj3kim has quit [Read error: Connection reset by peer]
<xybre> Oh, no, its only been 22 weeks
thepumpkin has joined #ruby
<xybre> They jsut haven't used that particular nick
<popl> crap, sorry, was reading the wrong info
havenwood has quit [Remote host closed the connection]
johnkary has joined #ruby
kofno has quit [Remote host closed the connection]
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
<xybre> Yeah, happened to me a couple days ago wit ha different channel/nick :)
<popl> it's sort of nice to give your trusted ops +r though
axeman- has joined #ruby
thepumpk_ has quit [Ping timeout: 248 seconds]
rickmasta has joined #ruby
horrification12 has quit [Quit: horrification12]
krzkrz has joined #ruby
mary5030 has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
<xybre> Yeah, just went through this with ##music, founder is/was MIA, and none of the ops had +f or +r.
mary5030 has joined #ruby
periaortic50 has joined #ruby
krz has quit [Read error: Connection reset by peer]
zomgbie has quit [Ping timeout: 240 seconds]
ZOGM has quit [Ping timeout: 246 seconds]
Soopaman has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
RichardBaker has joined #ruby
mootpointer has quit [Quit: Computer has gone to sleep.]
<joelteon> what's up with spam here
<matti> LOL
<matti> What is this? ;]
hanmac2 has joined #ruby
<matti> Secret message from aliens?
<matti> ;]
<matti> You can ask on #freenode for one of the staffers to kill 'em.
ssvo has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
butblack has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
sayan has joined #ruby
rickmasta has quit [Quit: Leaving...]
io_syl has joined #ruby
dmiller has joined #ruby
rodacato has quit [Remote host closed the connection]
<Soopaman> is there a manual way to configure, compile an install gem's?
<Soopaman> the configure script is unable to find a lib that I can confirm is installed
<matti> Error?
<bnagy> Soopaman: you can run extconf etc manually
<bnagy> easiest test is to find the configure failure and try a dummy C prog that imports that lib
<Soopaman> trying to "gem install nfc" and it is unable to find nfc_connect() and errors out
hanmac2 has quit [Ping timeout: 246 seconds]
<pontiki> matti: fanmail from some flounder
<matti> pontiki: A love letter, I see!
<matti> ;]
<Soopaman> bnagy: it's my first go around with ruby/gem, would you mind elaborating on that
<bnagy> I'm not an expert on C gems, I mainly use FFI now, but I have fixed my share of screwups
<bnagy> it's always path screwups
<bnagy> like.. every time, even when it can't possibly be
<bnagy> except when it's missing a -dev lib
<bnagy> anyway, best way to start is to get the full error output and gist or pastie or something
<bnagy> then people can poke it
anonymuse has quit [Remote host closed the connection]
<Soopaman> k
anonymuse has joined #ruby
<pontiki> is the gem on github?
adeponte has quit [Remote host closed the connection]
Gooder has joined #ruby
DanKnox_away is now known as DanKnox
<matti> Soopaman: Can you paste error?
anonymuse has quit [Ping timeout: 256 seconds]
rupee has quit [Quit: Leaving]
<Soopaman> retinaBookPro:~ digital$ sudo gem install nfc
<Soopaman> Building native extensions. This could take a while...
<Soopaman> ERROR: Error installing nfc:
<Soopaman> ERROR: Failed to build gem native extension.
<Soopaman> /Users/digital/.rbenv/versions/1.9.3-p327/bin/ruby extconf.rb
<Soopaman> extconf.rb:7: Use RbConfig instead of obsolete and deprecated Config.
<Soopaman> checking for nfc/nfc.h... yes
<Soopaman> checking for nfc_connect() in -lnfc... no
<Soopaman> libnfc is missing. please install libnfc: http://libnfc.org/
<Soopaman> *** extconf.rb failed ***
<bnagy> AUGH
<popl> dude
<pontiki> is your error anything like: https://github.com/tenderlove/nfc/issues/1
<Soopaman> oops
<pontiki> maybe this then: https://github.com/tenderlove/nfc/pull/3
dhruvasagar has quit [Ping timeout: 276 seconds]
<Soopaman> ahhh, that seems relevant, lemme ln
<bnagy> I think it's actually #2
<pontiki> it's still an open PR
<bnagy> yeah or 3, same issue
<bnagy> I think you're hosed
<pontiki> well, both?
<bnagy> try and find an old lib
<pontiki> you can pull the patches
<pontiki> maybe?
thepumpk_ has joined #ruby
<pontiki> kinda weird those are open PRs
<pontiki> #2 does offer how to get older versions via brew
bluOxigen has joined #ruby
<pontiki> but no followup if that works
syed_ has joined #ruby
syed_ has left #ruby [#ruby]
<pontiki> or try one of the forks
Sirupsen has joined #ruby
<Soopaman> one of the forks?
zachrab_ has joined #ruby
thepumpkin has quit [Ping timeout: 264 seconds]
<pontiki> there are 16 forks of tenderlove's repo
<pontiki> i am not chasing them down to find out which ones might work
cj3kim has joined #ruby
<Soopaman> ohhh i see what you're saying
<zachrab_> who here has a personal site?
<zachrab_> like an about myself for a developer?
<sevenseacat> not me
RORgasm has joined #ruby
<zachrab_> haha touche
<zachrab_> anyone?
<popl> zachrab_: why?
<zachrab_> popl: i wanna build my one and was curios how someone built theirs
zomgbie has joined #ruby
<zachrab_> i dont wanna use rails to build a simple static one page site
<sevenseacat> so dont
<zachrab_> so what should i use?
<sevenseacat> built it in html, or use jekyll, or use sinatra, or use.... whatever you need for whatever you want ti do
<sevenseacat> *to do
<zachrab_> i was wondering if theres a good tool to build a simple static page site
<matti> Soopaman: What OS do you have?
fschuindt has quit [Ping timeout: 245 seconds]
shadoi1 has quit [Read error: Connection reset by peer]
shadoi has joined #ruby
<pontiki> your bog standard html editor should do it
<pontiki> s/html/text/
sayan has quit [Quit: Leaving]
<pontiki> zachrab_: you want a one-page personal site?
<zachrab_> pontiki: yes
sayan has joined #ruby
<Soopaman> matti, i'm on osx mountian lion
<pontiki> so, yeah, just write it
<pontiki> i was playing around writing a one-page resume site
<zachrab_> pontiki: ok but is there a tool/framework i can use
<pontiki> using my resume data that's in yaml
RORgasm has quit [Ping timeout: 245 seconds]
<bnagy> why would you have a static page as an about-me?
rickmasta has joined #ruby
<zachrab_> pontiki: ok
<pontiki> well, if you aren't that great at UI design, i'd suggest going for twitter bootstrap
<bnagy> like.. about me 'I say I can build websites but it turns out I can't'
wesside has quit [Quit: Computer has gone to sleep.]
<zachrab_> bnagy: very funny
<matti> Soopaman: Oh.
<zachrab_> im not ui savvy
<zachrab_> thats the problem
<zachrab_> i need something pretty
cj3kim has quit [Read error: Connection reset by peer]
<bnagy> sorry, but imho that just sounds stupid
smathieu_ has joined #ruby
<bnagy> you're a developer not a shoe model
<pontiki> zachrab_: so this is a B.S.J. site i scratched together: https://github.com/tamouse/tamara-temple-resume
cj3kim has joined #ruby
<pontiki> nothing fancy, in fact it had way lots more than in needed starting out
<pontiki> there is currently no reason i *need* the sinatra app, but it's populating an ERB file with YAML data
<pontiki> but that could be statified
<zachrab_> i see
<pontiki> and it's all bog standard twitter bootstrap
jarin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
smathieu_ has quit [Ping timeout: 264 seconds]
zomgbie has quit [Ping timeout: 240 seconds]
Senjai has joined #ruby
alienaut has quit [Read error: Connection reset by peer]
alienaut has joined #ruby
rickmasta has quit [Quit: Leaving...]
corehook has joined #ruby
rickmasta has joined #ruby
<matti> Soopaman: This nfc gem does not build at all for me.
<matti> Soopaman: Compilation fails with multiple errors form gcc.
adeponte has joined #ruby
Fezzler has joined #ruby
TonyMergue has quit [Read error: Connection reset by peer]
<Soopaman> matti: which os are you/
aqil has joined #ruby
sleetdrop has joined #ruby
mootpointer has joined #ruby
Fezzler has quit [Client Quit]
sleetdrop has quit [Client Quit]
darknyan has quit [Remote host closed the connection]
sleetdrop has joined #ruby
sleetdrop has quit [Max SendQ exceeded]
adeponte has quit [Ping timeout: 248 seconds]
sleetdrop has joined #ruby
sleetdrop has quit [Max SendQ exceeded]
<matti> Soopaman: In this case Ubuntu 12.04 VM
sleetdrop has joined #ruby
sleetdrop has quit [Client Quit]
<matti> Soopaman: I'd imagine older version of libnfc might work.
QKO has quit [Ping timeout: 264 seconds]
sleetdrop has joined #ruby
darknyan has joined #ruby
QKO has joined #ruby
<Soopaman> ouch
<Soopaman> k
hamakn has quit [Read error: Connection reset by peer]
<matti> I am building libnfc-1.6.0-rc1
hamakn has joined #ruby
<Soopaman> it's wierd, i can actually get libnfc/1.7.0-rc6 working
<Soopaman> just can't get the gem to build
havenwood has joined #ruby
Zespre has quit [Quit: leaving]
<matti> You haven't read the paste correctly ;p
<matti> I have no problem with libnfc ;p
<matti> Gem does not build.
Zespre has joined #ruby
Zespre has quit [Client Quit]
<matti> 1.6.0rc1-0 does not cut it
baroquebobcat has quit [Quit: baroquebobcat]
tomzx_mac has quit [Ping timeout: 246 seconds]
<Soopaman> oh :P
Zespre has joined #ruby
Zespre has quit [Client Quit]
<matti> ;d
<Soopaman> matti pointed out the filename changes
Zespre has joined #ruby
<matti> Successfully installed nfc-2.1.0
<Soopaman> just not familiar enough with gem/rails to figure out how the hell to arrange/compile anything
<Soopaman> magic!
<matti> No.
<matti> Grab libnfc 1.5.1
<matti> There is a severe API change 1.5.1 -> 1.6.0
<pontiki> you can specify the github repo in Gemfile, obv
<pontiki> but you might want to clone it and install it locally
<matti> ?
cyong has joined #ruby
<matti> Someone should take all of this forks and fix up this as one PR to him.
<Soopaman> heh, wow
<matti> Not sure how severe are differencies 1.5.x to >= 1.6.x
rickmasta has quit [Quit: Leaving...]
serp` has joined #ruby
Marsthemanwithth has joined #ruby
Domon has quit [Remote host closed the connection]
<Nilium> Alrighty, got simple image loading working
Domon has joined #ruby
<Nilium> And without needing to install DevIL or what have you.
Es0teric has quit [Quit: Computer has gone to sleep.]
<matti> Soopaman: Good luck ;s
<matti> ;]
saarinen has joined #ruby
hanmac2 has joined #ruby
<Soopaman> lol, gotta love I picked something simple to cut my teeth with
<matti> Hm?
<matti> What do you mean? ;]
amh345 has quit [Quit: amh345]
<Soopaman> sorry, canadianism, sarcastically saying I picked an easy project to learn with
<matti> Soopaman: Should be easy to fix.
<Nilium> Well at least you haven't said anything as hideous as "knock on wood"
<matti> Soopaman: tenderlove's code is nice and clean.
<Soopaman> Nilium: lol, I use "God Willing" nowadays :P
<Nilium> Unfortunately, people in Idaho really, really like knocking on wood.
<matti> ?
clov3r has quit [Read error: Connection reset by peer]
cj3kim has quit [Read error: Connection reset by peer]
<Soopaman> ugh
<Soopaman> checking for pkg-config... no
<Soopaman> configure: error: pkg-config not found.
<pontiki> i heard a song recently about never having had to knock on wood
<Soopaman> how does this all of a sudden happen/
flashuni has quit [Read error: Connection reset by peer]
<pontiki> was p. cute song :)
cj3kim has joined #ruby
<sevenseacat> is a good song.
hanmac2 has quit [Ping timeout: 256 seconds]
twoism has quit [Remote host closed the connection]
adkron has joined #ruby
DanKnox is now known as DanKnox_away
twoism has joined #ruby
adeponte has joined #ruby
anildigital_away is now known as anildigital
max_ has joined #ruby
hypomodern has joined #ruby
jmimi has joined #ruby
Guest59949 has quit [Read error: Connection reset by peer]
graydot has joined #ruby
bcave has joined #ruby
michaeldeol has quit [Remote host closed the connection]
bcave is now known as Guest81226
twoism has quit [Ping timeout: 264 seconds]
axeman- has quit [Remote host closed the connection]
huoxito has quit [Quit: Leaving]
anildigital is now known as anildigital_away
anildigital_away is now known as anildigital
Ripp__ has quit [Quit: This computer has gone to sleep]
QKO has quit [Ping timeout: 256 seconds]
johnnyfuchs has joined #ruby
adeponte has quit [Ping timeout: 246 seconds]
anildigital is now known as anildigital_away
amacgregor has joined #ruby
QKO has joined #ruby
anildigital_away is now known as anildigital
sleetdrop has quit [Quit: Computer has gone to sleep.]
adeponte has joined #ruby
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
amacgregor__ has joined #ruby
amacgregor_ has quit [Ping timeout: 240 seconds]
Domon has quit [Remote host closed the connection]
DanKnox_away is now known as DanKnox
DanKnox is now known as DanKnox_away
amacgregor has quit [Ping timeout: 240 seconds]
freeayu__ has quit [Ping timeout: 256 seconds]
wesside has joined #ruby
zomgbie has joined #ruby
d3 has joined #ruby
smathieu_ has joined #ruby
freeayu__ has joined #ruby
serp` has quit [Quit: serp`]
jarin has joined #ruby
lady_lancer has joined #ruby
smathieu_ has quit [Ping timeout: 248 seconds]
johnkary has quit [Quit: @johnkary]
jdguingao has quit [Quit: Leaving]
<lady_lancer> Hi , has anyone used em-ftpd and em-ftpd-fsd before as gems
<lady_lancer> I am trying to use them to set up ftp server
<lady_lancer> but I am recieving an error
nayfun has joined #ruby
zomgbie has quit [Ping timeout: 246 seconds]
<lady_lancer> >>>>>/home/user/.rvm/gems/ruby-1.9.3-p448/gems/eventmachine-1.0.3/lib/eventmachine.rb:526:in `start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError)
<eval-in> lady_lancer => /tmp/execpad-3a2361d8df5f/source-3a2361d8df5f:2: syntax error, unexpected >> ... (https://eval.in/38728)
<bnagy> try changing your port to one that's over 1024, or run it as root
<bnagy> imho just run it on a high port is best
<lady_lancer> I am running it as root user
byprdct has joined #ruby
Columcille has quit [Ping timeout: 276 seconds]
<bnagy> then is the port in use?
<lady_lancer> how do we change the port :S
<lady_lancer> ive tried changing it using the config file
mary5030 has quit [Remote host closed the connection]
<bnagy> no idea, it will be in the docs I'd imagine
thams has joined #ruby
hypomodern has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
enebo has joined #ruby
serp` has joined #ruby
serp` has quit [Client Quit]
shadoi has quit [Ping timeout: 248 seconds]
<lady_lancer> shouldn't ftp servers use port 21...its showing no errors on port 3000
enebo has quit [Client Quit]
<bnagy> port 21 is standard, yeah, but it's a priv port
<bnagy> if you were definitely running it as root, then probably it's in use already
phracker has quit [Excess Flood]
cads has joined #ruby
<bnagy> you could try netstat -l | grep ftp or something
darknyan has left #ruby ["Leaving"]
baroquebobcat has joined #ruby
<bnagy> depending on os etc
<lady_lancer> its linux
<bnagy> that, then
<popl> lady_lancer: what doest he documentation say?
aryatosh has joined #ruby
<zachrab_> anyone contribute to rubygems?
<popl> zachrab_: yes. somebody, somewhere.
cha1tanya has quit [Read error: Operation timed out]
ntus1017 has joined #ruby
<zachrab_> i am attempting to contribute and was wondering if anyone had insight
mootpointer has quit [Quit: Computer has gone to sleep.]
<popl> then ask that. :)
<popl> say what you mean dude
cj3kim has quit [Read error: Connection reset by peer]
<lady_lancer> it just says that I need to create a config file with an example given on the github page....https://github.com/yob/em-ftpd
PCChris has joined #ruby
<lady_lancer> I am using the same example , just that I have to change the port to 3000 in the config file
cj3kim has joined #ruby
<bnagy> if 3000 works and 21 doesn't, then either you didn't have the root privs you thought you had, or that port is in use
<bnagy> which is pretty much what the original error told you
<popl> it's not actively maintained? that's dubious.
<havenwood> zachrab: Whatcha looking to do?
axeman- has joined #ruby
<lady_lancer> I am using my administrator account for sure...I am not sure if the port 21 is being used...I have not many programs installed and I am not running any other servers too :S
<popl> lady_lancer: do you know how to check if port 21 is in use?
<havenwood> zachrab: Add a something you need, add a feature that's already statys-accepted, improve documentation?
<lady_lancer> I am afraid No popl
timonv has joined #ruby
<popl> lady_lancer: then why are you administering an ftp server?
Pandee has quit [Read error: Connection reset by peer]
<bnagy> lady_lancer: administrator account is not usually the same as root
Pandee has joined #ruby
<bnagy> lady_lancer: and I told you how to check, above - netstat -l | grep ftp - if it shows any listening ports then it's in use
<popl> lady_lancer: is this on an internal network?
<popl> lady_lancer: will it be facing the internet?
<lady_lancer> bnagy: it doesn't show anything
<popl> then you're probably not running it as root
<popl> :)
<bnagy> ok, then probably you just weren't actually running it as root
<lady_lancer> hmmm...I am actually using a linux virtual machine
Al_ has joined #ruby
<lady_lancer> new to linux
<bnagy> try running sudo <whatever command you are presently trying>
nayfun has left #ruby [#ruby]
lutfidemirci has joined #ruby
<popl> this sounds all kinds of secure
<bnagy> inorite?
<lady_lancer> popl: it says command not found
<popl> lady_lancer: you need to learn how to use linux
<popl> lady_lancer: there's no way around that
<bnagy> bwahahah ok, you've got some RVM magic path screwup, which is 'normal'
<bnagy> honestly, just run it on a high port, it will save all kinds of pain
lutfidemirci has quit [Remote host closed the connection]
<popl> lady_lancer is using rvm too?
<lady_lancer> yes I have rvm
<bnagy> based on the error, yeah
<popl> oh boy
<zachrab_> havenwood: whats the best for real-time logging just puts statements?
<havenwood> zachrab: Other than Issue tickets, #rubygems can be a good place to get feedback.
<popl> lady_lancer: rvm is a complicated mess and tends to trip up newbies.
<havenwood> zachrab: Real-time logging?
<lady_lancer> hmmm...ok
<popl> lady_lancer: you didn't answer any of my earlier questions.
<havenwood> RVM does some neat stuff, but chruby is my cup of tea.
<bnagy> rbenv 4 lyf yo
wsterling has quit [Remote host closed the connection]
<sevenseacat> \o/ chruby
<popl> system ruby ftw
<zachrab_> havenwood: logging
<popl> WHAT
<lady_lancer> yes I am using rvm popl
sayan has quit [Ping timeout: 268 seconds]
phracker has joined #ruby
<popl> nevermind
<popl> good luck
<havenwood> zachrab: The standard library has Logger: http://www.ruby-doc.org/stdlib-2.0/libdoc/logger/rdoc/Logger.html
<lady_lancer> Thanks popl
<bnagy> not to be a unix-ass about it, but logging should always be done to stderr not stdout
benweint has joined #ruby
<bnagy> which means warn not puts, or $stderr.puts (ew)
<popl> nothing unix-ass about that
Deele has joined #ruby
<popl> stderr exists for a reason
<lady_lancer> can u tell me a command which lets me check if the ftp server is running successfully
<bnagy> lady_lancer: try and connect to it with a client, or try netstat -l | grep 3000
<popl> lady_lancer: That's a Linux question. You should ask in the channel for your particular Linux distribution.
<havenwood> abort and warn seem to get under-used a bit
<bnagy> fwiw I have never much liked Logger
mary5030 has joined #ruby
<lady_lancer> bnagy: Thanks
<bnagy> but I guess I have very very simple logging needs and I don't like namespace pollution
<popl> lady_lancer: hey, is this a personal project or is it for your company?
hanmac2 has joined #ruby
<lady_lancer> I am actually doing this for learning purpose popl
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lady_lancer> Thanks for your help
tonini has joined #ruby
AkashicLegend has joined #ruby
<popl> but you said before you had to develop a backend for an ftp server
ntus1017 has quit [Remote host closed the connection]
<popl> so is this for a class?
<popl> lady_lancer: ^
fridim__ has quit [Ping timeout: 264 seconds]
hanmac2 has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dmiller has quit [Remote host closed the connection]
atmosx has joined #ruby
myth17 has joined #ruby
myth17 has quit [Changing host]
myth17 has joined #ruby
kevinykchan has joined #ruby
nitish has quit [Ping timeout: 264 seconds]
goshakkk has joined #ruby
Marsthemanwithth has quit [Ping timeout: 245 seconds]
sayan has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
timonv has quit [Remote host closed the connection]
dayepa has quit [Ping timeout: 240 seconds]
<pontiki> for testing port connections and stuff, netcat is your tools of choice
jonahR has quit [Quit: jonahR]
sailias has quit [Ping timeout: 276 seconds]
RORgasm_ has joined #ruby
<atmosx> I use telnet and nmap usually
sayan has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby
lele has joined #ruby
lady_lancer has quit [Ping timeout: 250 seconds]
tagrudev has joined #ruby
atyz has quit [Quit: Leaving...]
chinkung has joined #ruby
ffio has joined #ruby
kung has quit [Ping timeout: 246 seconds]
Domon has joined #ruby
renderful has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 256 seconds]
v0n has quit [Ping timeout: 264 seconds]
RORgasm_ has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby
lady_lancer has joined #ruby
Marsthemanwithth has joined #ruby
wallerdev has quit [Quit: wallerdev]
lutfidemirci has joined #ruby
michaeldeol has quit [Ping timeout: 245 seconds]
dayepa has joined #ruby
vlad_starkov has joined #ruby
krainbol_ has joined #ruby
benweint has quit [Quit: Computer has gone to sleep.]
lutfidemirci has quit [Remote host closed the connection]
Alina-malina has quit [Quit: Leaving]
smathieu has joined #ruby
zomgbie has joined #ruby
krainboltgreene has quit [Ping timeout: 248 seconds]
Al_ has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
Al_ has joined #ruby
smathieu has quit [Ping timeout: 264 seconds]
r0bglees0n has quit [Ping timeout: 245 seconds]
zomgbie has quit [Ping timeout: 246 seconds]
druonysus has joined #ruby
benweint has joined #ruby
druonysus has quit [Client Quit]
druonysus has joined #ruby
druonysus has joined #ruby
druonysus has quit [Changing host]
dhruvasagar has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
butblack has quit [Quit: butblack]
dhruvasagar has joined #ruby
lady_lancer has quit [Quit: Page closed]
ayaz has joined #ruby
Gooder` has joined #ruby
aryatosh has quit [Ping timeout: 246 seconds]
apeiros has quit [Remote host closed the connection]
tkuchiki_ has joined #ruby
ntus1017 has joined #ruby
thatRD_ has joined #ruby
lady_lancer has joined #ruby
ssvo has quit [Ping timeout: 268 seconds]
Voodoofish4301 has joined #ruby
Fuzai_ has joined #ruby
Coolhand_ has joined #ruby
Spaceghost|work has joined #ruby
amacgregor has joined #ruby
vlad_starkov has joined #ruby
ejnahc_ has joined #ruby
Nahra_ has joined #ruby
amacgregor__ has quit [Ping timeout: 246 seconds]
io_syl has quit [Quit: io_syl]
brisbin_ has joined #ruby
aryatosh has joined #ruby
noxgirl has joined #ruby
ChristianS has quit [Excess Flood]
kevinykc_ has joined #ruby
ChristianS has joined #ruby
atno__ has joined #ruby
Gooder has quit [Read error: Connection reset by peer]
Voodoofish430 has quit [Read error: Connection reset by peer]
tkuchiki has quit [Read error: Connection reset by peer]
thatRD has quit [Read error: Connection reset by peer]
cam`_ has quit [Ping timeout: 276 seconds]
grumpwork has quit [Read error: Connection reset by peer]
Fuzai has quit [Quit: No Ping reply in 180 seconds.]
GeekOnCoffee has quit [Ping timeout: 276 seconds]
coaster has quit [Ping timeout: 276 seconds]
Coolhand has quit [Quit: No Ping reply in 180 seconds.]
kevinykchan has quit [Ping timeout: 276 seconds]
thatRD_ is now known as thatRD
autumn has quit [Ping timeout: 276 seconds]
ejnahc has quit [Remote host closed the connection]
atno has quit [Ping timeout: 276 seconds]
Nahra has quit [Remote host closed the connection]
brisbin has quit [Remote host closed the connection]
coaster has joined #ruby
Tarential has quit [Ping timeout: 276 seconds]
GeekOnCoffee has joined #ruby
coaster has quit [Changing host]
coaster has joined #ruby
Tarential has joined #ruby
ananthakumaran has joined #ruby
benweint has quit [Quit: Computer has gone to sleep.]
codecop has joined #ruby
aryatosh has quit [Ping timeout: 246 seconds]
krzkrz has quit [Quit: krzkrz]
krz has joined #ruby
tatsuya_o has joined #ruby
cha1tanya has joined #ruby
dankest has quit [Quit: dankest]
kaspergrubbe has joined #ruby
tommyvyo has quit [Quit:]
cyong has quit [Quit: Leaving.]
LMolr has joined #ruby
Columcille has joined #ruby
sayan has joined #ruby
aryatosh has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
zachrab_ has quit [Remote host closed the connection]
amacgregor_ has joined #ruby
hanmac3 has joined #ruby
kaspergrubbe has quit [Ping timeout: 268 seconds]
marcgg has quit [Read error: Connection reset by peer]
dash_ has joined #ruby
marcgg_ has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
Al_ has quit [Quit: Al_]
vlad_starkov has quit [Remote host closed the connection]
Zespre has quit [Quit: leaving]
dayepa has quit [Ping timeout: 256 seconds]
Zespre has joined #ruby
pranny has joined #ruby
hanmac3 has quit [Ping timeout: 240 seconds]
Zespre is now known as chihhsin
wsterling has joined #ruby
aqil has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
baroquebobcat has quit [Quit: baroquebobcat]
chihhsin has quit [Client Quit]
Zespre has joined #ruby
GeissT_ has joined #ruby
GeissT_ has quit [Client Quit]
zachrab_ has joined #ruby
cads2 has quit [Quit: Leaving]
druonysus has quit [Ping timeout: 256 seconds]
wsterling has quit [Ping timeout: 245 seconds]
GeissT has quit [Ping timeout: 245 seconds]
tommyvyo has joined #ruby
noop has joined #ruby
Anarch has joined #ruby
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
johnnyfuchs has quit [Remote host closed the connection]
spider-mario has joined #ruby
beardog108 has joined #ruby
<beardog108> Hello
Zespre has quit [Quit: leaving]
Zespre has joined #ruby
coaster has quit [Ping timeout: 276 seconds]
coaster has joined #ruby
coaster has quit [Changing host]
coaster has joined #ruby
beardog108 has quit [Client Quit]
Zespre has quit [Client Quit]
krainbol_ has quit [Ping timeout: 245 seconds]
tkuchiki_ has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
Zespre has joined #ruby
Ripp__ has joined #ruby
andikr has joined #ruby
saarinen has quit [Quit: saarinen]
spectre1 has joined #ruby
aganov has joined #ruby
rickmasta has joined #ruby
atyz has joined #ruby
zomgbie has joined #ruby
thams has quit [Quit: thams]
spider-mario has quit [Read error: Operation timed out]
zachrab_ has quit [Remote host closed the connection]
max_ has quit [Ping timeout: 245 seconds]
avril14th has joined #ruby
ebanoid has joined #ruby
smathieu_ has joined #ruby
tommyvyo has quit [Quit:]
JohnBat26 has joined #ruby
atyz has quit [Ping timeout: 268 seconds]
aryatosh has quit [Ping timeout: 246 seconds]
smathieu_ has quit [Ping timeout: 264 seconds]
oceabreeze has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
teddyp1cker has joined #ruby
Guest6754 has quit [Read error: Operation timed out]
zomgbie has quit [Ping timeout: 268 seconds]
digifiv5e has joined #ruby
renderful has joined #ruby
digifiv5e is now known as Guest28043
druonysus has joined #ruby
jprovazn has joined #ruby
aryatosh has joined #ruby
ndrei has quit [Quit: Lost terminal]
goodgame has joined #ruby
filipe_ has joined #ruby
Domon has quit [Remote host closed the connection]
renderful has quit [Ping timeout: 248 seconds]
himsin has joined #ruby
aryatosh has quit [Ping timeout: 245 seconds]
_Andres has joined #ruby
workmad3 has joined #ruby
kaspergrubbe has joined #ruby
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
ndrei has joined #ruby
mklappstuhl has joined #ruby
renderful has joined #ruby
dayepa has joined #ruby
aryatosh has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
krzkrz has joined #ruby
krz has quit [Read error: Connection reset by peer]
JohnBat26 has quit [Remote host closed the connection]
eldariof has quit [Ping timeout: 260 seconds]
Kar- has joined #ruby
richiebkr has joined #ruby
druonysus has quit [Ping timeout: 264 seconds]
Heero has quit [Quit: Leaving]
RichardBaker has quit [Ping timeout: 245 seconds]
richiebkr is now known as RichardBaker
thepumpkin has joined #ruby
druonysus has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
<avril14th> hello, if I write some_func.each do {}
tatsuya_o has joined #ruby
<avril14th> will some_func be called once or at each iteration?
lady_lancer has quit [Quit: Page closed]
thepumpk_ has quit [Ping timeout: 240 seconds]
buibex has joined #ruby
kiri has quit [Ping timeout: 276 seconds]
<Kelet> >> def hello; puts "hello"; [1,2,3]; end; hello.each {}
<eval-in> Kelet => hello ... (https://eval.in/38733)
<Kelet> avril14th, That answer your question?
kaspergrubbe has quit [Remote host closed the connection]
<avril14th> Kelet: if does, thanks
<avril14th> -if + it
kiri has joined #ruby
druonysus has quit [Ping timeout: 268 seconds]
DrForr_ is now known as DrForr
hanmac has joined #ruby
heftig has joined #ruby
hanmac2 has joined #ruby
lemonsparrow has quit [Quit: Page closed]
hanmac has quit [Read error: Connection reset by peer]
buibex has quit [Ping timeout: 256 seconds]
havenwood has quit [Remote host closed the connection]
Domon has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
gstamp has quit [Quit: Computer has gone to sleep.]
adeponte has joined #ruby
apeiros has joined #ruby
krzkrz has quit [Quit: krzkrz]
marcgg_ has quit [Ping timeout: 276 seconds]
threesome has joined #ruby
goleldar has quit [Ping timeout: 245 seconds]
krz has joined #ruby
senayar has joined #ruby
ammar has joined #ruby
<ammar> Hi
<ammar> how can i find duplicate key values from a array of hashes
mahmoudimus has joined #ruby
<bnagy> duplicate keys can't exist
<bnagy> duplicate values maybe h.values - h.values.uniq
adeponte has quit [Ping timeout: 264 seconds]
<bnagy> ah shit no - doesn't work like that :(
horrror has joined #ruby
<horrror> hey guys, simple question - what's a =|| 'something'
Al_ has joined #ruby
Ripp__ has quit [Quit: Leaving]
bondar has joined #ruby
<bnagy> a = a || something
bondar has quit [Excess Flood]
<sevenseacat> =|| doesnt exist
<sevenseacat> ||= does
<horrror> ||=
<bnagy> so assign something to a unless a has a value already
<horrror> cool
<bnagy> mostly used with @a
RORgasm_ has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
krainboltgreene has joined #ruby
<ammar> tobiasvl, thanks for the link
<ammar> however, i would like to count those duplicate values
maz-dev has joined #ruby
zomgbie has joined #ruby
<Nilium> Anyone know of a way to indicate to rdoc that a verbatim block is not ruby source?
Domon has quit [Remote host closed the connection]
<Nilium> That is, it is verbatim, but should not be highlighted as though it were ruby.
maxmanders has joined #ruby
g4_ has left #ruby [#ruby]
<tobiasvl> ammar: just stick a counting variable in there somewhere? that shouldn't be hard
diegoviola has joined #ruby
krz has quit [Quit: krz]
obs_ has joined #ruby
RORgasm_ has quit [Ping timeout: 268 seconds]
ejnahc_ has quit [Remote host closed the connection]
renderful has quit [Remote host closed the connection]
ejnahc has joined #ruby
Shirakawasuna has joined #ruby
krz has joined #ruby
atyz has joined #ruby
aryatosh has quit []
tommyvyo has joined #ruby
smathieu has joined #ruby
Arya_ has joined #ruby
<bnagy> I really can't think of a very good way to get just dups from an Array :(
<bnagy> >> a=[1,2,3,4,4,5,6,6,6];Hash[a.group_by {|e| e}.map {|k,v| next if v.size ==1;[k,v.size]}]
<eval-in> bnagy => /tmp/execpad-c87f6b5b4421/source-c87f6b5b4421:2: warning: wrong element type nil at 0 (expected array) ... (https://eval.in/38734)
<bnagy> 2.0? weird
<bnagy> 19>> a=[1,2,3,4,4,5,6,6,6];Hash[a.group_by {|e| e}.map {|k,v| next if v.size ==1;[k,v.size]}]
<eval-in> bnagy => {4=>2, 6=>3} (https://eval.in/38735)
<intuxicated> i'm trying to install rails , i got this https://dpaste.de/0rfGH/
<bnagy> intuxicated: try #rubyonrails
Coffers has joined #ruby
<intuxicated> ok ok
himsin has quit [Quit: himsin]
Marsthemanwithth has quit [Ping timeout: 264 seconds]
atyz has quit [Ping timeout: 240 seconds]
dEPy has joined #ruby
Zespre has quit [Quit: leaving]
Arya_ has quit [Ping timeout: 246 seconds]
tommyvyo has quit [Client Quit]
smathieu has quit [Ping timeout: 264 seconds]
<ammar> bangy, i am creating a gist
tommyvyo has joined #ruby
zomgbie has quit [Ping timeout: 245 seconds]
<ammar> to better present my problem
<ammar> be right back
krainboltgreene has quit [Ping timeout: 246 seconds]
<tobiasvl> i thought bnagy's solution was very nice
<tobiasvl> why doesn't it work in 2.0 though?
bluOxigen has quit [Ping timeout: 246 seconds]
<Nilium> Now why the hell is rdoc removing /* from a verbatim text block
marcgg has joined #ruby
Zespre has joined #ruby
JohnBat26 has joined #ruby
JohnBat26 has quit [Client Quit]
Zespre has quit [Client Quit]
Xeago has joined #ruby
txdv_ has quit [Ping timeout: 245 seconds]
<horrror> what's var with $ prefix?
<hoelzro> global
alup has joined #ruby
marcgg_ has joined #ruby
tommyvyo has quit [Quit:]
Arya_ has joined #ruby
krainboltgreene has joined #ruby
marcgg has quit [Ping timeout: 264 seconds]
cam`_ has joined #ruby
<pontiki> hmm
<bnagy> >> a=[1,2,3,4,4,5,6,6,6];Hash[a.group_by {|e| e}.map {|k,v|[k,v.size]}].reject {|k,v| v==1}
<eval-in> bnagy => {4=>2, 6=>3} (https://eval.in/38736)
<pontiki> actually, i think your original will work if you compact after the map
ChristianS has quit [Excess Flood]
marcgg has joined #ruby
ChristianS has joined #ruby
<bnagy> yeah I just didn't like the compact, I have that one in my irb history as well
<pontiki> :)
niceguyjames has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
<pontiki> isn't it basically doing the same thing?
krainboltgreene has quit [Ping timeout: 256 seconds]
ffio has joined #ruby
joonty has quit [Quit: WeeChat 0.4.1]
marcgg_ has quit [Ping timeout: 264 seconds]
joonty has joined #ruby
troessner has joined #ruby
buzzybron has joined #ruby
bamdad has joined #ruby
buibex has joined #ruby
joshmyers has joined #ruby
Nenor has joined #ruby
lutfidemirci has joined #ruby
<joshmyers> Morning guys, am trying to implement faraday timeouts in this bit of code:
blaxter_ has joined #ruby
elaptics`away is now known as elaptics
lutfidemirci has quit [Remote host closed the connection]
<joshmyers> can I just builder.timeout 5 ?
<joshmyers> or something like builder.request { :timeout => 5 } ?
marcgg_ has joined #ruby
kaspergrubbe has joined #ruby
marcgg has quit [Read error: No route to host]
ilyam has quit [Quit: ilyam]
ffio has quit [Quit: WeeChat 0.4.1]
afd__ has quit [Ping timeout: 246 seconds]
myth17 has quit [Remote host closed the connection]
marcgg has joined #ruby
Guest81226 has quit [Ping timeout: 245 seconds]
niceguyjames has quit [Quit: Computer has gone to sleep.]
chihhsin_ has joined #ruby
oktapodi has joined #ruby
bcave has joined #ruby
marcgg_ has quit [Ping timeout: 245 seconds]
bcave is now known as Guest20808
forced_request has joined #ruby
Zai00 has joined #ruby
mneorr has joined #ruby
seriously_random has joined #ruby
AkashicLegend has quit [Quit: AkashicLegend]
<ammar> bnagy
<seriously_random> How to write "P".eql?("R") || "P".eql?("S") || "P".eql?("P") shorter?
marcgg_ has joined #ruby
yourmysin has quit [Ping timeout: 260 seconds]
ilyam has joined #ruby
arturaz has joined #ruby
<tobiasvl> seriously_random: do you have to use eql?
<apeiros> %w[R S P].any? { |value| "P".eql?(value) }
<seriously_random> tobiasvl, I think not.
<tobiasvl> or just:
<tobiasvl> >> %w[R S P].include? "P"
<eval-in> tobiasvl => true (https://eval.in/38738)
chihhsin_ is now known as chihhsin
<apeiros> or: %w[R S P].to_set.include?("P")
<tobiasvl> if you don't need eql?
<apeiros> if == is fine, then what tobiasvl said
AndChat| has quit [Ping timeout: 248 seconds]
Banistergalaxy has joined #ruby
afd__ has joined #ruby
marcgg has quit [Ping timeout: 245 seconds]
arturaz has quit [Remote host closed the connection]
arturaz has joined #ruby
arturaz has quit [Remote host closed the connection]
adkron_ has joined #ruby
awarner has joined #ruby
<joshmyers> anyone able to help me adding a faraday timeout to this bit of code? https://gist.github.com/joshmyers/35487f7291b1c1c7cb30
d45h has joined #ruby
<joshmyers> apeiros: ? :D
patronus has joined #ruby
grumpwork has joined #ruby
richiebkr has joined #ruby
<apeiros> joshmyers: hm?
diegoviola has quit [Quit: WeeChat 0.4.1]
niceguyjames has joined #ruby
marr has joined #ruby
arturaz has joined #ruby
spacebug2 has joined #ruby
norm_ has joined #ruby
<joshmyers> apeiros: trying to do something like: http://stackoverflow.com/questions/8098584/faraday-timeout
joshu has joined #ruby
phite has joined #ruby
lutfidemirci has joined #ruby
Jb____ has joined #ruby
<apeiros> joshmyers: ah, you ask me specifically for help with your problem. sorry, to large. I'm at work.
hamed_r has joined #ruby
oktapodi_ has joined #ruby
<joshmyers> ah
timonv has joined #ruby
<joshmyers> ok
enhance_ has joined #ruby
<joshmyers> thanks anyway :)
buzzybron1 has joined #ruby
phreax_ has joined #ruby
brisbin has joined #ruby
sirecote_ has joined #ruby
mosez_ has joined #ruby
Zelest_ has joined #ruby
k0rupted_ has joined #ruby
sami_ has joined #ruby
pontiki_ has joined #ruby
joschi_ has joined #ruby
renderful has joined #ruby
filipe__ has joined #ruby
kiri_ has joined #ruby
1JTAADTRY has quit [Ping timeout: 240 seconds]
dash_ has quit [Ping timeout: 240 seconds]
sirecote has quit [Ping timeout: 240 seconds]
sirecote_ is now known as sirecote
oktapodi has quit [Ping timeout: 240 seconds]
buzzybron has quit [Ping timeout: 240 seconds]
emptynine has quit [Ping timeout: 240 seconds]
TomRone has quit [Ping timeout: 240 seconds]
Jb_ has quit [Ping timeout: 240 seconds]
dobry-den has quit [Ping timeout: 240 seconds]
diegok has quit [Ping timeout: 240 seconds]
uxp has quit [Ping timeout: 240 seconds]
mosez has quit [Ping timeout: 240 seconds]
MarcWeber has quit [Ping timeout: 240 seconds]
joonty has quit [Ping timeout: 240 seconds]
brisbin_ has quit [Ping timeout: 240 seconds]
_maes_ has quit [Ping timeout: 240 seconds]
k0rupted has quit [Ping timeout: 240 seconds]
awarner_ has quit [Ping timeout: 240 seconds]
neektza1 has quit [Ping timeout: 240 seconds]
joshu_ has quit [Ping timeout: 240 seconds]
spacebug1 has quit [Ping timeout: 240 seconds]
norm has quit [Ping timeout: 240 seconds]
davidcelis has quit [Ping timeout: 240 seconds]
zz_michael_mbp has quit [Ping timeout: 240 seconds]
norm_ is now known as norm
tehlers has quit [Ping timeout: 240 seconds]
enhance has quit [Ping timeout: 240 seconds]
Shirakawasuna has quit [Ping timeout: 240 seconds]
RichardBaker has quit [Ping timeout: 240 seconds]
filipe_ has quit [Ping timeout: 240 seconds]
kiri has quit [Ping timeout: 240 seconds]
noop has quit [Ping timeout: 240 seconds]
Spaceghost|work has quit [Ping timeout: 240 seconds]
adkron has quit [Ping timeout: 240 seconds]
richiebkr is now known as RichardBaker
yfeldblum has quit [Ping timeout: 240 seconds]
echevemaster has quit [Ping timeout: 240 seconds]
pontiki has quit [Ping timeout: 240 seconds]
[Neurotic] has quit [Ping timeout: 240 seconds]
dormiens has quit [Ping timeout: 240 seconds]
jolleyjoe has quit [Ping timeout: 240 seconds]
shaman42_ has quit [Ping timeout: 240 seconds]
phreax has quit [Ping timeout: 240 seconds]
Zelest has quit [Ping timeout: 240 seconds]
patronus_ has quit [Ping timeout: 240 seconds]
sami has quit [Ping timeout: 240 seconds]
joschi has quit [Ping timeout: 240 seconds]
echevemaster_ has joined #ruby
TomRone has joined #ruby
TomRone has quit [Changing host]
TomRone has joined #ruby
diegok has joined #ruby
MarcWeber has joined #ruby
Shirakawasuna has joined #ruby
lutfidemirci has quit [Write error: Broken pipe]
shaman42 has joined #ruby
davidcelis has joined #ruby
neektza1 has joined #ruby
tehlers has joined #ruby
jolleyjoe has joined #ruby
noop has joined #ruby
joonty has joined #ruby
ntzrmtthihu777 has joined #ruby
zz_michael_mbp has joined #ruby
dobry-den has joined #ruby
yfeldblum has joined #ruby
zz_michael_mbp is now known as michael_mbp
<ntzrmtthihu777> hello, anyone here use eclipse for jruby+java developement? Have a question of opinion; which would be the better eclipse plugin for that, Aptana Studio or Aptana RadRails?
dormiens has joined #ruby
emptynine has joined #ruby
Domon has joined #ruby
ghr has joined #ruby
uxp has joined #ruby
jmimi has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby
CubicE has joined #ruby
mercwithamouth has joined #ruby
atyz has joined #ruby
smathieu has joined #ruby
tommyvyo has joined #ruby
Arya_ has quit [Ping timeout: 256 seconds]
atyz has quit [Ping timeout: 276 seconds]
jmimi has joined #ruby
rickmasta has quit [Quit: Leaving...]
lkba has quit [Ping timeout: 246 seconds]
smathieu has quit [Ping timeout: 276 seconds]
freeayu has joined #ruby
mklappstuhl has joined #ruby
diegoviola has joined #ruby
freeayu__ has quit [Ping timeout: 248 seconds]
AlSquire has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
fixl has joined #ruby
anay has joined #ruby
freeayu has joined #ruby
krainboltgreene has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
mikecmpbll has joined #ruby
<Nilium> Alright, stb_image bindings done.
Skaflem has joined #ruby
thepumpk_ has joined #ruby
maetthew has joined #ruby
atno__ is now known as atno
alem0lars has joined #ruby
pedda has joined #ruby
alem0lars has quit [Client Quit]
lutfidemirci has joined #ruby
tvw has joined #ruby
thepumpkin has quit [Ping timeout: 248 seconds]
gregorg has quit [Read error: Operation timed out]
popl has quit [Quit: We must make an idol of our fear, and call it God.]
gregorg has joined #ruby
gregorg has joined #ruby
gregorg has quit [Changing host]
tagrudev has quit [Remote host closed the connection]
atmosx has quit [Quit: And so the story goes…]
DonRichie has quit [Ping timeout: 276 seconds]
james_woods is now known as iBot_23
atmosx has joined #ruby
BizarreCake has joined #ruby
tkuchiki has quit [Remote host closed the connection]
sevenseacat has left #ruby [#ruby]
aaronmcadam has joined #ruby
trepidaciousMBR has joined #ruby
<jlebrech> i have a pkcs12 file from google and i can extract the private key, how do I use that private key to make a https request? there's plenty of info on using pem files though
niklasb has joined #ruby
tkuchiki has joined #ruby
goodgame has left #ruby ["Quitte"]
TonyMergue has joined #ruby
niceguyjames has joined #ruby
goshakkk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<atmosx> Hello, what does scaffolding mean in the context of programming?
ephemerian has joined #ruby
obs has quit [Remote host closed the connection]
vikhyat has joined #ruby
\du has joined #ruby
<\du> morning
ilyam has quit [Quit: ilyam]
<apeiros> atmosx: it means that you have a script which generates code files for you
<apeiros> e.g. in rails you can do `rails scaffold foo` and it'll generate the controllers, models and views for you
oktapodi_ has quit [Remote host closed the connection]
<atmosx> apeiros: thanks
krainboltgreene has quit [Ping timeout: 246 seconds]
yourmysin has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
* hanmac2 uses C-macros to generate code
<Nilium> You sure like saying that..
Marsthemanwithth has joined #ruby
gyre007 has joined #ruby
tonini has quit [Remote host closed the connection]
forced_request has quit [Ping timeout: 268 seconds]
mneorr_ has joined #ruby
lutfidemirci has quit [Remote host closed the connection]
Anarch has quit [Ping timeout: 264 seconds]
mneorr has quit [Ping timeout: 264 seconds]
Marsthemanwithth has quit [Ping timeout: 264 seconds]
ntus1017 has quit [Remote host closed the connection]
nerdman has joined #ruby
vivek` has joined #ruby
zomgbie has joined #ruby
pwnfactory has joined #ruby
<Xeago> jlebrech: my experience with pkcs12 is a mess
<Xeago> I would convert it into other keyformats
<jlebrech> i'm struggling with it
<Xeago> (pem is most likely your best bet)
<jlebrech> how do you convert to a pem?
blackmesa has joined #ruby
juo100 has joined #ruby
<Xeago> -in pkcs12 -out pem
zomgbie has quit [Read error: Connection reset by peer]
Soopaman has quit [Quit: Leaving.]
<atmosx> everyone says pkcs12 is a mess since I can remember myself bumping into it, just for configurations. Weird no one came up with a better solution, probably it's hard to understand/work with.
Guest20808 is now known as bcave
poikon has joined #ruby
vikhyat has quit [Remote host closed the connection]
yacks has joined #ruby
bluOxigen has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
Xeago has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
RORgasm has joined #ruby
vikhyat has joined #ruby
Lewix has quit []
buibex has quit [Ping timeout: 264 seconds]
nari has quit [Ping timeout: 245 seconds]
_br_ has joined #ruby
zmike123 has joined #ruby
buibex has joined #ruby
rdark has joined #ruby
<joonty> charliesome: apeiros told me that you wrote the cinch bot for eval.in. Is the code publicly viewable?
krainboltgreene has joined #ruby
RORgasm has quit [Ping timeout: 240 seconds]
horrror has quit [Quit: horrror]
nitish has joined #ruby
atyz has joined #ruby
yacks has quit [Quit: Leaving]
smathieu has joined #ruby
Hien has quit [Quit: leaving]
Hien has joined #ruby
joschi_ is now known as joschi
nomenkun has joined #ruby
atyz has quit [Ping timeout: 260 seconds]
goshakkk has joined #ruby
mneorr has joined #ruby
lkba has joined #ruby
smathieu has quit [Ping timeout: 256 seconds]
Spooner has joined #ruby
BRMatt has joined #ruby
<seriously_random> I think I don't understand include? method: http://pastebin.com/VnnEr7tY
LMolr has quit [Ping timeout: 264 seconds]
<bnagy> you just need to invoke it twice
<bnagy> include?(blah) && include?(bloo)
viszu has joined #ruby
<bnagy> otherwise you're saying does it include?(true) cause 'A' && 'P' is true
tk has joined #ruby
mneorr_ has quit [Ping timeout: 264 seconds]
jibi has joined #ruby
tk is now known as Guest82329
<seriously_random> bnagy, ok
mklappstuhl has quit [Remote host closed the connection]
Shirakawasuna has quit [Ping timeout: 240 seconds]
kaspernj has joined #ruby
kaspernj has left #ruby [#ruby]
\du has quit [Read error: Operation timed out]
<joonty> seriously_random: you could also do `test.all? { |t| ax.include? t[1] }`
<joonty> to check that all the elements in test are included in ax
<joonty> helpful if there are going to be more than two elements in `test`
renderful has quit [Remote host closed the connection]
amacgregor_ has quit [Ping timeout: 246 seconds]
renderful has joined #ruby
blaxter_ is now known as blaxter
Bish has quit [Ping timeout: 260 seconds]
buibex has quit [Ping timeout: 248 seconds]
vikhyat has quit [Remote host closed the connection]
renderful has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 276 seconds]
gildo has joined #ruby
ammar has left #ruby ["Leaving"]
teddyp1cker has quit [Remote host closed the connection]
goshakkk has quit [Quit: Textual IRC Client: www.textualapp.com]
niceguyjames has joined #ruby
vikhyat has joined #ruby
vikhyat has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
cool_ has joined #ruby
<cool_> how to hide transaction variables in return url using paypal
zomgbie has joined #ruby
fermion has joined #ruby
<atmosx> cool_: join #rubyonrails
Liothen has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
zomgbie has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
intuxicated has quit [Read error: Connection reset by peer]
k0rupted_ has quit [Quit: Ex-Chat]
niceguyjames has quit [Quit: Computer has gone to sleep.]
ananthakumaran1 has joined #ruby
maetthew has quit [Quit: maetthew]
Myrth has quit [Ping timeout: 246 seconds]
diegoviola has quit [Ping timeout: 264 seconds]
ananthakumaran has quit [Ping timeout: 276 seconds]
<seriously_random> how to convert an array like this: [1, 2, 3, 4] --> [[1, 2], [3, 4]]
dhruvasagar has quit [Ping timeout: 276 seconds]
d45h has quit [Ping timeout: 256 seconds]
dash_ has joined #ruby
<hanmac2> >> [1, 2, 3, 4].each_slice(2).to_a
<eval-in> hanmac2 => [[1, 2], [3, 4]] (https://eval.in/38740)
love_color_text has joined #ruby
dhruvasagar has joined #ruby
huttan has quit [Ping timeout: 240 seconds]
Bish has joined #ruby
deadalus has quit [Read error: Operation timed out]
<cool_> how to hide transaction variables in return url using paypal
thepumpk_ has quit [Remote host closed the connection]
Myrth has joined #ruby
<ccooke> cool_: you'll need to be a bit more specific, there. How are you contacting paypal, and how are these variables being revealed?
<ccooke> (The most obvious answer is "Don't print them")
Mathieu has joined #ruby
huttan has joined #ruby
zomgbie has joined #ruby
krainboltgreene has quit [Ping timeout: 276 seconds]
<cool_> transaction id is displaying in the return url(displayed at address bar),so i need to hide the transaction
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
Myrth has quit [Ping timeout: 268 seconds]
guiocavalca_off has joined #ruby
[Neurotic] has joined #ruby
hamed_r has quit [Quit: Ex-Chat]
dhruvasagar has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby
ismlages has joined #ruby
Domon has quit [Remote host closed the connection]
seich- has quit [Ping timeout: 264 seconds]
ntus1017 has joined #ruby
amacgregor has joined #ruby
<hanmac2> cool_ you didnt answer the question if you use rails or not
<cool_> ccooke: i need to store the transaction id in my db for the further verfication
<ccooke> cool_: and by return url, you mean the url that paypal uses to return the user to you
<ccooke> ?
<cool_> yes
saintcajetan has quit [Read error: Connection reset by peer]
seich- has joined #ruby
deadalus has joined #ruby
Domon has joined #ruby
nari has joined #ruby
tkachevskiy has joined #ruby
krainboltgreene has joined #ruby
Arya_ has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
bamdad has quit [Quit: bamdad]
guiocavalca_off has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
guiocavalca_off has joined #ruby
tkachevskiy has left #ruby [#ruby]
zomgbie has quit [Read error: Connection reset by peer]
RonScagz has joined #ruby
guiocavalca_off has quit [Read error: Connection reset by peer]
guiocavalca_off has joined #ruby
<cool_> ccooke: by using the transaction id i need to develop the logic,but the problem is when the user changes the transaction id he will get the benifits
<cool_> ccooke :so i need to check weather it is coming from paypal
<ccooke> so, what you're saying is:
<ccooke> 1) A user clicks something on the paypal site.
<ccooke> 2) This redirects the user to your site, with the transaction ID in the URL
Arya_ has quit []
PCChris has quit [Ping timeout: 245 seconds]
<ccooke> Right?
<cool_> ccooke: no,in my site return url
<ccooke> and what does "return url" mean in this context?
Arya_ has joined #ruby
<ccooke> return from what?
<ccooke> Who generates the return url, what is it returning from, where does it return to?
<cool_> ccooke: yes 2 one has done,but i need to hide transaction id in return url
himsin has joined #ruby
ramblex has joined #ruby
<ccooke> cool_: ... I don't understand you at all.
<ccooke> cool_: your previous comment is unparsable, sorry
Gooder` has quit [Remote host closed the connection]
ananthakumaran1 has quit [Read error: Connection timed out]
ananthakumaran has joined #ruby
shaunbaker has joined #ruby
<joonty> SyntaxError: unexpected grammar
Domon has quit [Remote host closed the connection]
renderful has joined #ruby
Domon has joined #ruby
guiocavalca_off has quit [Read error: Connection reset by peer]
kofno has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
guiocavalca_off has joined #ruby
shaunbak_ has joined #ruby
Domon has quit [Remote host closed the connection]
krainboltgreene has quit [Ping timeout: 256 seconds]
<cool_> ccooke: after successfull payment user is returning into my website because i set AUTO RETURN is on in my merchant account with out clicking anything. but the return url is coming with trasactin id in address bar. {<input type="hidden" name="return" value="http://localhost:3000/payment/callback">}
dhruvasagar has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
bamdad has joined #ruby
shaunbaker has quit [Ping timeout: 245 seconds]
hanmac2 has quit [Quit: Leaving.]
pygospa has quit [Ping timeout: 246 seconds]
<joonty> cool_: I don't think people can do anything with the transaction ID anyway. They can just get it from their own order history
<joonty> cool_: PayPal wouldn't expose data that could cause security problems
<ccooke> indeed
Neomex has joined #ruby
<ccooke> and you're fundamentally asking "How can I change the way Paypal defines their service". To which the answer is probably no, and certainly not related to Ruby ;-)
Neomex has quit [Client Quit]
<cool_> joonty: can't we hide the transaction id anyway
pygospa has joined #ruby
<ccooke> cool_: not from a user, no
<joonty> cool_: you could redirect immediately if you like
<ccooke> cool_: fundamentally, the transaction ID has to pass from Amazon to you. The only way it can do that is via the user's browser.
<joonty> store the get parameter in the session then redirect to another url
<ccooke> There are ways that the transaction ID could be less obvious - if you can get Paypal to do a POST
<ccooke> (Why did I say Amazon? Oh yes, because I'm buying stuff in another window)
dhruvasagar has quit [Ping timeout: 268 seconds]
hanmac1 has joined #ruby
<joonty> ccooke: hope it's something cool
dhruvasagar has joined #ruby
<ccooke> joonty: Some kit for larping this weekend. So: It depends on your definition of cool :-)
* joonty googles larping
<Maior> ccooke: I thought I recognised that nick
diegoviola has joined #ruby
<joonty> ccooke: ah gotcha
<ccooke> Maior: *grin*
TonyMergue has quit [Ping timeout: 256 seconds]
Fuzai_ has quit [Ping timeout: 256 seconds]
<ccooke> Maior: you may or you may not, but I don't recognise yours.
niceguyjames has joined #ruby
TonyMergue has joined #ruby
<buzzybron1> ok this is a silly question, i have a class named Beta, creating a Charlie class in it's init, and er... problem is, i need some of my Beta variables in Charlie when i call Charlie's methods, do i dump the whole Beta object to charlie's methods?
niceguyjames has quit [Client Quit]
shaunbak_ has quit [Remote host closed the connection]
pwnfactory has quit [Quit: Leaving]
<ccooke> buzzybron1: can you pastebin a minimal example?
<joonty> buzzybron1: sounds tightly coupled. Could you pass the beta instance to the charlie instance?
<hanmac1> buzzybron1 yes you can store the entire beta object into an charlie object, even if the charlie object is in the beta object … it does even works with marshaling
<cool_> ccooke and joonty thanks both of you it is working...rockss
<ccooke> cool_: glad to hear it
<joonty> cool_: awesome
emergion has joined #ruby
realDAB has joined #ruby
LucidDreamZzZ has quit [Remote host closed the connection]
sth has joined #ruby
<ccooke> buzzybron1: don't think of it as dumping the object, think of it as creating a reference to the object within the Charlie class
<sth> Hey guys, I'm trying to build 1.8.7 on OS X 10.8, but I get a rb_gc segfault
<sth> I'm compiling with gcc-4.2
zomgbie has joined #ruby
<hanmac1> sth first your gcc is massive outdated, try to get an newer one, second ruby1.8.7 dies and will not get any support, use ruby2.0 or newer
zomgbie has quit [Client Quit]
<sth> dropping 1.8.7 isn't an option and running with a non-llvm gcc on OS X was accepted
<atmosx> I use ruby1.9 in the server :-/
<atmosx> or was "on the server"
<atmosx> anyway
<atmosx> God bless rvmrcs
<halfie> ruby's GC seems to be reading from unallocated memory locations. is this normal? http://fpaste.org/27440/13746643/
hamed_r has joined #ruby
<halfie> (v = *x;) <=== de-referencing x is not OK
guiocavalca_off has quit [Remote host closed the connection]
smathieu has joined #ruby
<hanmac1> halfie: you get "VALUE" wrong … VALUE itself is an pointer type
vadviktor_ has joined #ruby
bhaak has joined #ruby
<halfie> hanmac1, I see. I am getting "AddressSanitizer: stack-buffer-underflow on address 0x7fff78b6b8c0"
<halfie> READ of size 8 at 0x7fff78b6b8c0 thread T0
<halfie> and those addresses resolve to "v = *x;" line
rshetty has joined #ruby
Zelest_ is now known as Zelest
<hanmac1> hm ok that should not happening … maybe you can make a bugticket on https://bugs.ruby-lang.org/ and post how you get the error
<halfie> hanmac1, I am using Clang 's / GCC's address sanitizer feature which is a strict bound checking compilation feature.
<halfie> not sure if this is an actual bug in ruby
krandi has joined #ruby
andikr has quit [Ping timeout: 248 seconds]
<hanmac1> halfie: hm what is your GCC version? maybe you need newer ones?
<halfie> hanmac1, I am running the latest, GCC 4.8.1 on Fedora 19.
shaunbaker has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
<hanmac1> hm ok and ruby is also an newer (2.*) version? … you can still publish the result of the address sanitizer on the bug ticker, maybe there are other hidden bugs
<halfie> hanmac1, I will try building the latest commit from git / hg repo
chase-work has joined #ruby
<hanmac1> like i said, it might be still good if you post your results
<halfie> will do.
tkuchiki has quit [Remote host closed the connection]
atno has quit [Ping timeout: 246 seconds]
shaunbaker has quit [Remote host closed the connection]
tkuchiki has joined #ruby
Arya_ has quit [Ping timeout: 248 seconds]
Arya_ has joined #ruby
ntus1017 has quit [Remote host closed the connection]
shaunbaker has joined #ruby
thinkiny has joined #ruby
<thinkiny> /join #go
ZOGM has joined #ruby
thinkiny has quit [Quit: Leaving]
Mathieu has quit [Quit: Mathieu]
Arya_ has quit [Ping timeout: 276 seconds]
ZOGM_ has joined #ruby
shaunbak_ has joined #ruby
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bcave has quit [Ping timeout: 245 seconds]
thinkiny has joined #ruby
bcave has joined #ruby
bcave is now known as Guest45795
LucidDreamZzZ has joined #ruby
ewag has joined #ruby
shaunbaker has quit [Ping timeout: 264 seconds]
ZOGM has quit [Ping timeout: 246 seconds]
RORgasm has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
buibex has joined #ruby
eka has joined #ruby
Arya_ has joined #ruby
Notte_ has joined #ruby
RORgasm has quit [Ping timeout: 276 seconds]
tacos1de has joined #ruby
<halfie> hanmac1, hope I have given the required details.
<seriously_random> how to convert array `[[8, 5]]` into `[8, 5]`?
atyz has joined #ruby
osvico has quit [Ping timeout: 264 seconds]
ldnunes has joined #ruby
<seriously_random> oops, it's array.flatten. never mind!
deadalus has quit [Ping timeout: 245 seconds]
yshh has quit [Remote host closed the connection]
braincrash has joined #ruby
sth has left #ruby ["WeeChat 0.4.0"]
mneorr has quit [Remote host closed the connection]
atyz has quit [Ping timeout: 240 seconds]
krandi has quit [Quit: No Ping reply in 180 seconds.]
andikr has joined #ruby
scrapcode has joined #ruby
<scrapcode> Does anyone know if there is a buddhism channel of any type? I'm on IRSSI and /list is just ridiculous
realDAB has quit [Quit: realDAB]
<Olipro> scrapcode: use alis
<Olipro> /msg alis help
LucidDreamZzZz has joined #ruby
deadalus has joined #ruby
guiocavalca_off has joined #ruby
<scrapcode> Olipro: Perfect. Thanks a ton.
jibi has quit [Quit: .]
LucidDreamZzZ has quit [Ping timeout: 240 seconds]
cool_ has quit [Quit: Page closed]
ananthakumaran has quit [Read error: Connection timed out]
Nenor has quit [Quit: Nenor]
ananthakumaran has joined #ruby
Senjai has quit [Ping timeout: 264 seconds]
atyz has joined #ruby
scrapcode has quit [Quit: leaving]
anonymuse has joined #ruby
wallerdev has joined #ruby
Notte_ has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 240 seconds]
bamdad has quit [Quit: bamdad]
guiocavalca_off is now known as guiocavalcanti
nerdman has quit [Quit: leaving]
ffio has joined #ruby
juo100 has quit [Quit: juo100]
atno has joined #ruby
bamdad has joined #ruby
mikecmpbll has joined #ruby
mengu has joined #ruby
Anarch has joined #ruby
realDAB has joined #ruby
eaWPq4nU has joined #ruby
nanoxd has joined #ruby
Nakilon has quit [Ping timeout: 246 seconds]
anildigital is now known as anildigital_away
LucidDreamZzZ has joined #ruby
LucidDreamZzZz has quit [Ping timeout: 240 seconds]
niceguyjames has joined #ruby
vikhyat has joined #ruby
eaWPq4nU has quit [Ping timeout: 240 seconds]
thepumpkin has joined #ruby
LucidDreamZzZz has joined #ruby
Nenor has joined #ruby
theRoUS has joined #ruby
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
LucidDreamZzZ has quit [Ping timeout: 240 seconds]
Nilium has quit [Ping timeout: 246 seconds]
ntus1017 has joined #ruby
smathieu has joined #ruby
wallerdev has quit [Quit: wallerdev]
Arya_ has quit []
smathieu has quit [Ping timeout: 276 seconds]
enebo has joined #ruby
Nilium has joined #ruby
Arya_ has joined #ruby
I99Mhz has joined #ruby
ybart has joined #ruby
vivek` has quit [Quit: Lost terminal]
WarChief has joined #ruby
renderful has quit [Remote host closed the connection]
enebo has quit [Client Quit]
yshh has joined #ruby
YaNakilon has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
thepumpkin has quit [Remote host closed the connection]
blackmesa has joined #ruby
ananthakumaran has quit [Read error: Connection timed out]
ananthakumaran has joined #ruby
sqd has joined #ruby
dhruvasagar has quit [Ping timeout: 268 seconds]
nezumi has quit [Ping timeout: 264 seconds]
mmitchell has joined #ruby
yacks has joined #ruby
niklasb has quit [Ping timeout: 248 seconds]
alyi has joined #ruby
mikecmpbll has quit [Quit: Computer has gone to sleep.]
Arya_ has quit [Ping timeout: 256 seconds]
Nenor has quit [Quit: Nenor]
ffio has quit [Quit: WeeChat 0.4.1]
realDAB has quit [Quit: realDAB]
ffio_ has joined #ruby
joshmyers has quit [Remote host closed the connection]
krainboltgreene has joined #ruby
anay has quit [Remote host closed the connection]
fbernier_ is now known as fbernier
TonyMergue1 has joined #ruby
Arya_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
TonyMergue has quit [Ping timeout: 240 seconds]
diegoviola has quit [Ping timeout: 268 seconds]
thepumpkin has joined #ruby
anay has joined #ruby
ffio has joined #ruby
mikecmpbll has joined #ruby
graydot has quit [Quit: graydot]
cj3kim has quit [Remote host closed the connection]
corehook has quit [Ping timeout: 246 seconds]
devoldmx3 has joined #ruby
krainboltgreene has quit [Ping timeout: 246 seconds]
hemanth_ has joined #ruby
pranny has quit [Quit: Leaving.]
nitish has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 264 seconds]
atyz has quit [Quit: Leaving...]
anay has quit [Remote host closed the connection]
mmitchell has quit [Remote host closed the connection]
wallerdev has joined #ruby
Azure has quit [Ping timeout: 248 seconds]
ryannielson has joined #ruby
<bamdad> can I require a ruby file in ERB ?
juo100 has joined #ruby
Azure has joined #ruby
gyre007 has quit [Remote host closed the connection]
niklasb has joined #ruby
marvelous has joined #ruby
RonScagz has quit [Quit: Linkinus - http://linkinus.com]
freeayu has quit [Ping timeout: 246 seconds]
marvelous has left #ruby [#ruby]
xcthulhu has quit [Quit: xcthulhu]
nkts has quit [Quit: -]
kmcd has joined #ruby
<apeiros> bamdad: <% require 'file' %>
goodgame has joined #ruby
anay has joined #ruby
diegoviola has joined #ruby
<apeiros> but it's a smell
<apeiros> you shouldn't execute business code in your template.
<hanmac1> bamdad "yes you can" ;P
atyz has joined #ruby
<bamdad> apeiros: I know, i'm trying to get rid of puppet from my code base
<apeiros> oh, right. I retract my answer. what hanmac1 said :)
<bamdad> Thanks :)
Skaflem has left #ruby ["Leaving"]
krz has quit [Quit: krz]
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
<hanmac1> he asked not "how" he can require an ruby file with ERB, he asked only "if" he can ;P
devoldmx3 has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
freeayu has joined #ruby
juo100 has quit [Quit: juo100]
ffio has quit [Quit: WeeChat 0.4.1]
anay has quit [Remote host closed the connection]
ntus1017 has quit [Remote host closed the connection]
fgo has joined #ruby
realDAB has joined #ruby
tacos1de has quit [Remote host closed the connection]
tacos1de has joined #ruby
hemanth_ has quit [Quit: This computer has gone to sleep]
anay has joined #ruby
kmcd has quit [Quit: kmcd]
cj3kim has joined #ruby
tommyvyo has quit [Quit:]
theRoUS has quit [Ping timeout: 248 seconds]
zets has quit []
grumpwork has quit [Remote host closed the connection]
anay has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
mark_locklear has joined #ruby
JZTech101 has joined #ruby
d3 has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
geekbri has joined #ruby
hellyeah has joined #ruby
devoldmx has joined #ruby
<hellyeah> do you guys support ruby on rails
buibex has quit [Remote host closed the connection]
<GeekOnCoffee> hellyeah: you'll get a better response in #rubyonrails
<hellyeah> hmm
Uranio has joined #ruby
<hellyeah> ithanks for heads up
p0wn3d has joined #ruby
breakingthings has joined #ruby
himsin has quit [Quit: himsin]
Khazix has joined #ruby
<Khazix> I'm getting started with Ruby, should I use rails or sinatra?
Maior has left #ruby [#ruby]
<hellyeah> do i need to learn ruby before ruby on rails
<hellyeah> you guys have any idea about that?
<joonty> Khazix: there's probably more help available around rails
renderful has joined #ruby
lkba has joined #ruby
<joonty> hellyeah: technically not, but I did and I found it very useful to do it that way round
devoldmx has quit [Read error: Connection reset by peer]
xcthulhu has joined #ruby
juo100 has joined #ruby
tkuchiki has joined #ruby
<tobiasvl> i'd suggest sinatra
<tobiasvl> you'll learn more ruby that way
<tobiasvl> ruby on rails is its own beast
<tobiasvl> and very complex
burlyscudd has joined #ruby
<tobiasvl> sinatra is awesome and simple
<brisbin> apeiros: map, etc are implemented as recursion, not loops. you can think of them as loops if you want i guess
renderful has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
<hellyeah> ruby on rails is so complex hmm
huoxito has joined #ruby
<apeiros> brisbin: and how does the recursion know when to stop?
<brisbin> a terminating case (empty list in case of map)
ffio_ has quit [Ping timeout: 245 seconds]
anay has joined #ruby
<apeiros> brisbin: and this is not a conditional how?
<hanmac1> hm no (2-3ı) is complex
<brisbin> f [] = []; f (x:xs) = f x : f xs
anay has quit [Remote host closed the connection]
yano has joined #ruby
<brisbin> apeiros: valid point i guess
<apeiros> yay! I win! ;-)
<brisbin> my only point was if is a smell
<brisbin> pattern matching is better
<apeiros> well, but pattern matching is just moving the conditional into something somebody wrote already
<apeiros> i.e., that's what I tried to exemplify by "I use Array#include?, so I don't iterate over the array" - well sure, you don't, but you use something in its place which "does it for you"
thinkiny has quit [Quit: Leaving]
yfeldblum has quit [Read error: Connection reset by peer]
jerius has joined #ruby
<brisbin> makes sense, but pattern matching is declarative while if is a branching of control flow
<hanmac1> apeiros: "Ruby - where the code does it for you"
Dreamer3 has quit [Quit: Leaving...]
<brisbin> so i think there's a value difference there
<apeiros> but I think I understand what you mean. explicitly using an `if` yourself is a smell. the constructs which do decisions might be implemented in whatever way, i.e., that part is an implementation detail and not your code
trepidaciousMBR has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby
guiocavalcanti has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
gyre007 has joined #ruby
kjeldahl has joined #ruby
yfeldblum has joined #ruby
gyre007 has quit [Remote host closed the connection]
gyre007 has joined #ruby
<kjeldahl> I'm struggling with a very slow proxy which make the automated download tasks that rake does time out. Anybody know of a simple way to tell rake to give download tasks a little more time to complete?
AkashicLegend has joined #ruby
<brisbin> i didn't know rake had a timeout
<brisbin> are you sure that's not net/http timing out?
yfeldblum has quit [Read error: Connection reset by peer]
rshetty has quit [Quit: Sleeping]
<kjeldahl> That could be (I have no idea what rake is using internally). Any way to either set timeout options for that module, OR tell rake to use something else to download (curl, wget etc)?
yfeldblum has joined #ruby
smathieu has joined #ruby
xcv has quit [Remote host closed the connection]
<brisbin> kjeldahl: first, use --trace to get the real error see if it's net/http
anay has joined #ruby
<brisbin> if it is you can adjust the timeout on that (google knows how, i don't)
xcv has joined #ruby
<kjeldahl> brisbin: Well, it posts a "Timeout:Error" in the console already, but sure, I'll give it a try.
<kjeldahl> *Timeout::Error
<brisbin> --trace should tell you who raised that, which is the thing you need to tell to back off
<kjeldahl> Thanks, giving it a try now.
<kjeldahl> Is URI.download some standard lib in Ruby?
thepumpkin has quit [Remote host closed the connection]
thams has joined #ruby
snearch has joined #ruby
xcv_ has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
chase-work has quit [Quit: Textual IRC Client: www.textualapp.com]
anonymuse has quit [Remote host closed the connection]
vikhyat has quit [Remote host closed the connection]
wmoxam has joined #ruby
YaNakilon has quit [Ping timeout: 246 seconds]
gyre008 has joined #ruby
<kjeldahl> No, it's not. Sry.
mneorr has joined #ruby
xcv has quit [Ping timeout: 268 seconds]
tomzx_mac has joined #ruby
cj3kim has quit [Remote host closed the connection]
vikhyat has joined #ruby
YaNakilon has joined #ruby
pentameter has joined #ruby
Neomex has joined #ruby
gyre007 has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
<kjeldahl> I think it's using Net::HTTP::Get (from reading the scripts). Anyway to pass timeout options (preferrably from outside env or similar)?
hemanth_ has joined #ruby
burlyscudd has quit [Quit: Leaving.]
yfeldblum has joined #ruby
xAFIBx has joined #ruby
npulse has joined #ruby
<kjeldahl> Found workaround here: http://userprimary.net/posts/2008/04/13/setting-a-longer-timeout-for-nethttp-requests-in-ruby/ A bit sad having to change source code to increase it, but at least it works.
AkashicLegend has quit [Quit: AkashicLegend]
tommyvyo has joined #ruby
Rix has quit [Ping timeout: 240 seconds]
Michael__ has joined #ruby
kevinfagan_ is now known as kevinfagan
thepumpkin has joined #ruby
RORgasm has joined #ruby
fredjean has quit [Ping timeout: 264 seconds]
brennanMKE has joined #ruby
filipe__ has quit [Read error: Operation timed out]
monkegjinni has joined #ruby
devoldmx has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
hemanth_ is now known as hemanth
hamakn has quit [Remote host closed the connection]
krz has quit [Quit: krz]
RORgasm has quit [Ping timeout: 268 seconds]
hamakn has joined #ruby
Neomex has quit [Quit: Neomex]
yfeldblum has quit [Read error: Connection reset by peer]
niklasb has quit [Ping timeout: 256 seconds]
realDAB has quit [Quit: realDAB]
cmarques has joined #ruby
codecop has quit [Read error: Connection reset by peer]
hamakn has quit [Ping timeout: 276 seconds]
kaspergrubbe has quit [Remote host closed the connection]
burlyscudd has joined #ruby
ryannielson has quit [Quit: ryannielson]
Xeago has joined #ruby
cantonic has joined #ruby
ryan2 has joined #ruby
Anarch has quit [Ping timeout: 246 seconds]
rickruby has quit [Remote host closed the connection]
ryan2 has left #ruby ["WeeChat 0.3.7"]
sambao21 has quit [Quit: Computer has gone to sleep.]
devoldmx3 has joined #ruby
kaspergrubbe has joined #ruby
freerobby has joined #ruby
filipe__ has joined #ruby
tvw has quit []
buibex has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
RORgasm has joined #ruby
cj3kim has joined #ruby
AkashicLegend has joined #ruby
jprovazn has quit [Quit: Leaving]
devoldmx has quit [Ping timeout: 256 seconds]
xjunior has joined #ruby
fbernier has quit [Ping timeout: 245 seconds]
pranny has joined #ruby
dash_ has quit [Ping timeout: 268 seconds]
hasrb has joined #ruby
niklasb has joined #ruby
mmitchell has joined #ruby
maz-dev has quit [Ping timeout: 246 seconds]
krainboltgreene has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
pranny1 has joined #ruby
anay has quit [Remote host closed the connection]
shaunbak_ has quit [Remote host closed the connection]
dash_ has joined #ruby
havenwood has joined #ruby
sambao21 has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
acrussell has joined #ruby
brbcoding has joined #ruby
cj3kim has quit [Ping timeout: 276 seconds]
mansi has joined #ruby
Pandee has quit [Ping timeout: 264 seconds]
pranny has quit [Ping timeout: 245 seconds]
failshell has joined #ruby
freerobby has quit [Quit: Leaving.]
johnnyfuchs has joined #ruby
buzzybron1 has left #ruby [#ruby]
gyre008 has quit [Remote host closed the connection]
freerobby has joined #ruby
gyre007 has joined #ruby
havenwood has quit [Ping timeout: 256 seconds]
elux has joined #ruby
sambao21 has quit [Client Quit]
sailias has joined #ruby
fernandoaleman has joined #ruby
thams has quit [Quit: thams]
v0n has joined #ruby
marcdel has joined #ruby
anonymuse has joined #ruby
hanmac1 has quit [Quit: Leaving.]
I99Mhz has quit [Quit: Saindo]
hanmac1 has joined #ruby
pskosinski has joined #ruby
DonRichie has joined #ruby
vikhyat has quit [Remote host closed the connection]
realDAB has joined #ruby
tomzx_mac has quit [Read error: Operation timed out]
smathieu has joined #ruby
jlast has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
renderful has joined #ruby
cr3 has joined #ruby
thepumpkin has quit [Remote host closed the connection]
pranny1 has quit [Read error: Connection reset by peer]
thepumpkin has joined #ruby
<cr3> hi folks, is there a way to exec multiple commands with net::ssh within the same session? for example, if I cd into a directory and then list, it should return the content of that directory
rodacato has joined #ruby
<cr3> apeiros: ^^^ if you have a moment, I'd really like to follow up on yesterday and have a peak at your code that can run multiple commands with net::ssh.
andikr has quit [Remote host closed the connection]
hamakn has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
trepidaciousMBR has joined #ruby
bamdad has quit [Quit: bamdad]
vlad_starkov has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
renderful has quit [Ping timeout: 264 seconds]
jarin has quit [Ping timeout: 256 seconds]
devoldmx has joined #ruby
hamakn has quit [Remote host closed the connection]
trepidaciousMBR has quit [Client Quit]
shaunbak_ has joined #ruby
grumpwork has joined #ruby
sambao21 has joined #ruby
bamdad has joined #ruby
michael_mbp is now known as zz_michael_mbp
trepidaciousMBR has joined #ruby
kobain has joined #ruby
kobain has quit [Client Quit]
jlebrech has quit [Quit: Ex-Chat]
anildigital_away is now known as anildigital
snearch has quit [Quit: Verlassend]
jlebrech has joined #ruby
deadalus has quit [Excess Flood]
superdealloc has joined #ruby
xAFIBx has quit [Quit: Want to be different? Try HydraIRC -> http://www.hydrairc.com <-]
asteve has joined #ruby
kobain has joined #ruby
dhruvasagar has joined #ruby
lightguard_jp has joined #ruby
<lightguard_jp> Am I missing something? status.rubygems.org is all green, but I can't push a new gem
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
atmosx has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
asteve has quit [Client Quit]
MrThePlague has joined #ruby
buibex has quit [Remote host closed the connection]
jerius_ has joined #ruby
deadalus has joined #ruby
mary5030 has joined #ruby
asteve has joined #ruby
hogeo has quit [Remote host closed the connection]
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
burlyscudd has quit [Quit: Leaving.]
jprovazn has joined #ruby
kpshek has joined #ruby
maz-dev has joined #ruby
niceguyjames has joined #ruby
jmimi has quit [Ping timeout: 264 seconds]
jerius has quit [Ping timeout: 246 seconds]
himsin has joined #ruby
anildigital is now known as anildigital_away
enebo has joined #ruby
brisbin has quit [Read error: Connection reset by peer]
hellyeah has quit [Ping timeout: 246 seconds]
brisbin has joined #ruby
mneorr has quit [Remote host closed the connection]
krainboltgreene has quit [Ping timeout: 256 seconds]
baroquebobcat has joined #ruby
filipe__ has quit [Remote host closed the connection]
trepidaciousMBR_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
tommyvyo has quit [Quit:]
Domon has joined #ruby
trepidaciousMBR has quit [Ping timeout: 264 seconds]
trepidaciousMBR_ is now known as trepidaciousMBR
love_color_text has quit [Read error: Connection reset by peer]
love_color_text has joined #ruby
allaire has joined #ruby
sambao21 has joined #ruby
krainboltgreene has joined #ruby
ebanoid has quit [Quit: brbomgwtfbbq]
alyi has quit [Ping timeout: 240 seconds]
allaire has quit [Remote host closed the connection]
allaire has joined #ruby
alyi has joined #ruby
realDAB has quit [Quit: realDAB]
ananthakumaran has joined #ruby
noop has quit [Ping timeout: 246 seconds]
<apeiros> cr3: at work atm, sorry
jalcine has joined #ruby
Arya_ has quit []
AkashicLegend has quit [Quit: AkashicLegend]
baroquebobcat has quit [Quit: baroquebobcat]
marcgg_ has quit [Read error: No route to host]
hamed_r has quit [Quit: Ex-Chat]
fgo has quit [Remote host closed the connection]
sambao21 has quit [Remote host closed the connection]
xcthulhu has quit [Quit: xcthulhu]
rh1n0 has joined #ruby
tobyo1 has joined #ruby
Cyrus has quit [Quit: Cyrus.sleep()]
sambao21 has joined #ruby
himsin has quit [Quit: himsin]
marcgg has joined #ruby
lupine has quit [Read error: Connection reset by peer]
jmimi has joined #ruby
arturaz has quit [Ping timeout: 245 seconds]
_maes_ has joined #ruby
alex__c2022 has joined #ruby
BillCriswell has joined #ruby
hamakn has joined #ruby
r0bglees0n has joined #ruby
mikecmpbll has joined #ruby
realDAB has joined #ruby
anildigital_away is now known as anildigital
<cr3> apeiros: no worries, I found a workaround so it's mostly outof curiosity now
avril14th has quit [Quit: RoRrrrrr says the dinosoRrrrr]
ffranz has joined #ruby
marcgg_ has joined #ruby
lightguard_jp has left #ruby ["WeeChat 0.4.1"]
krainboltgreene has quit [Ping timeout: 256 seconds]
jerius has joined #ruby
jerius_ has quit [Ping timeout: 248 seconds]
marcgg has quit [Ping timeout: 256 seconds]
cha1tanya has quit [Ping timeout: 248 seconds]
seriously_random has quit [Quit: Leaving]
fredjean has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
seich- has quit [Ping timeout: 245 seconds]
deadalus has quit [Ping timeout: 264 seconds]
marcgg has joined #ruby
aramus_ has joined #ruby
hamakn has quit [Ping timeout: 264 seconds]
anildigital is now known as anildigital_away
ldnunes has quit [Ping timeout: 246 seconds]
<aramus_> Hello, I call a ruby script within using system, how would I catch whether the script exits with a code of 0 or 1?
maz-dev has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.1]
randomautomator has joined #ruby
devoldmx has joined #ruby
marcgg_ has quit [Ping timeout: 260 seconds]
chinkung has quit [Read error: Connection reset by peer]
anonymuse has quit [Remote host closed the connection]
chinkung has joined #ruby
anonymuse has joined #ruby
Soopaman has joined #ruby
Catbuntu has joined #ruby
oktapodi has joined #ruby
<hoelzro> aramus_: check $?
rshetty has joined #ruby
<aramus_> what is $?
<hanmac1> its magic
monkegjinni has quit [Read error: Connection reset by peer]
<aramus_> I love magic.
<TheBlackMan> Cow.new.milk.drink <- magic
airlok has joined #ruby
sayan has quit [Ping timeout: 256 seconds]
<hoelzro> it's a special variable
<aramus_> No, really, what is $? googling "ruby $" yields nothing so far.
<hoelzro> containing the exit status of the last child to exit
burlyscudd has joined #ruby
anonymus_ has joined #ruby
<hoelzro> ugh
<hoelzro> that page isn't helpful
Guest82329 has quit [Quit: ばいばい]
<waxjar> http://rubydoc.org/stdlib/core/Kernel#%60-instance_method
nitish has joined #ruby
nitish has joined #ruby
nitish has quit [Changing host]
anonymuse has quit [Read error: Connection reset by peer]
<aramus_> Oh, so $?.exitstatus looks like exactly what I need, thanks.
axl_ has joined #ruby
xcthulhu has joined #ruby
<aramus_> By the way, to end a program pre-maturely without errors, is proper ruby philosophy to use exit 0?
<hoelzro> I don't see why not
michaeldeol has joined #ruby
<zendeavor> strange question
<aramus_> Well, in Unix 0 is a correct exit, maybe ruby has a different way of doing things.
<aramus_> Thanks though for the help.
Es0teric has joined #ruby
mklappstuhl has joined #ruby
pitzips has joined #ruby
Michael__ has quit [Read error: Connection reset by peer]
michaeldeol has quit [Remote host closed the connection]
deadalus has joined #ruby
ldnunes has joined #ruby
Michael__ has joined #ruby
Rix has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
Spami has joined #ruby
danbeck has joined #ruby
guiocavalcanti has joined #ruby
guiocavalcanti has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
guiocavalcanti has joined #ruby
krainboltgreene has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
Marsthemanwithth has joined #ruby
Arya_ has joined #ruby
graydot has joined #ruby
freeayu has quit [Remote host closed the connection]
intuxicated has joined #ruby
Neomex has joined #ruby
smathieu has quit [Ping timeout: 264 seconds]
cortexman has joined #ruby
zachrab_ has joined #ruby
deadalus has quit [Ping timeout: 268 seconds]
michaeldeol has joined #ruby
cj3kim has joined #ruby
lupine has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
Marsthemanwithth has quit [Ping timeout: 256 seconds]
anildigital_away is now known as anildigital_
rshetty has quit [Ping timeout: 256 seconds]
devoldmx has joined #ruby
hamakn has joined #ruby
davedev24 has joined #ruby
jorge_ has joined #ruby
allaire has quit [Quit: allaire]
guiocavalcanti has quit [Remote host closed the connection]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
guiocavalcanti has joined #ruby
aganov has quit [Remote host closed the connection]
rupertl has joined #ruby
baroquebobcat has joined #ruby
zachrab_ has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 256 seconds]
pandawarrior has joined #ruby
ExxKA has joined #ruby
threesome has quit [Ping timeout: 246 seconds]
Neomex has quit [Quit: Neomex]
bklane has joined #ruby
jorge_ has quit [Ping timeout: 276 seconds]
devoldmx has quit [Read error: Connection reset by peer]
guiocavalcanti has quit [Ping timeout: 264 seconds]
clov3r has joined #ruby
alyi has quit [Remote host closed the connection]
bklane has quit [Remote host closed the connection]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DestinyAwaits has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Davey has joined #ruby
rshetty has joined #ruby
devoldmx has joined #ruby
sheeny has joined #ruby
<jlebrech> i'm stuck creating a helper spec. does anyone have an example?
<sheeny> jlebrech: depends what i needs to do really
aramus_ has left #ruby [#ruby]
<jlebrech> sheeny: test methods
angusiguess has joined #ruby
DestinyAwaits has quit [Read error: Connection reset by peer]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
madumo has joined #ruby
<jlebrech> thanks
<sheeny> jlebrech: np
S0da has joined #ruby
hasrb has quit [Remote host closed the connection]
<jlebrech> sheeny: this is mine https://gist.github.com/jlebrech/6071738
angusigu1ss has quit [Ping timeout: 248 seconds]
adambeynon has joined #ruby
<sheeny> jlebrech: looking at it, you just need to put helper. before the methods
Catbuntu is now known as LexieGrey
<sheeny> Could anyone explain if there is a difference in MD5 generation between ruby versions?
ckrailo has joined #ruby
DonRichie has quit [Quit: Verlassend]
burlyscudd has quit [Quit: Leaving.]
love_color_text has quit [Read error: Connection reset by peer]
cortexman has quit [Quit: Leaving.]
havenwood has joined #ruby
sheeny has quit [Quit: Page closed]
bigoldrock has joined #ruby
deadalus has joined #ruby
v0n has quit [Quit: WeeChat 0.4.1]
v0n has joined #ruby
paolooo has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
seich- has joined #ruby
guiocavalcanti has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
clov3r has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
rshetty has quit [Ping timeout: 268 seconds]
ephemerian has quit [Quit: Leaving.]
RichardBaker has quit [Quit: RichardBaker]
rshetty has joined #ruby
realDAB has quit [Quit: realDAB]
superdealloc has quit [Quit: superdealloc]
guiocavalcanti has quit [Remote host closed the connection]
cha1tanya has joined #ruby
realDAB has joined #ruby
guiocavalcanti has joined #ruby
guiocavalcanti has quit [Read error: Connection reset by peer]
bigoldrock has quit [Ping timeout: 248 seconds]
hogeo has joined #ruby
clov3r_ has joined #ruby
guiocavalcanti has joined #ruby
anildigital_ is now known as anildigital
paolooo has quit [Ping timeout: 250 seconds]
codecop has joined #ruby
simon_ has quit [Ping timeout: 245 seconds]
mklappstuhl has joined #ruby
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dhruvasagar has quit [Ping timeout: 276 seconds]
pandawarrior has left #ruby [#ruby]
DestinyAwaits has joined #ruby
i_s has joined #ruby
i_s has quit [Remote host closed the connection]
i_s has joined #ruby
Neomex has joined #ruby
DestinyAwaits has quit [Read error: Connection reset by peer]
Neomex has quit [Client Quit]
dgx has joined #ruby
geggam has joined #ruby
burlyscudd has joined #ruby
ssvo has joined #ruby
seich- has quit [Ping timeout: 264 seconds]
pydave6367 has joined #ruby
s00pcan has quit [Quit: Lost terminal]
devoldmx has quit [Read error: Connection reset by peer]
pydave6367 has left #ruby [#ruby]
deadalus has quit [Ping timeout: 240 seconds]
alup has quit [Quit: Leaving]
sailias1 has joined #ruby
<stairmast0r> i don't quite get what a "rails app" is.
<stairmast0r> Next, let’s create a new host config file at /etc/nginx/conf.d/my_app.conf for our rails app, paste following:
sailias has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
<stairmast0r> why would an nginx upstream server be "for a rails app"?
<stairmast0r> wouldn't it just be your ruby server, eg. puma/passenger/thin ?
mklappstuhl has quit [Remote host closed the connection]
zomgbie has joined #ruby
wsterling has joined #ruby
anay has joined #ruby
<hanmac1> stairmast0r: #rubyonrails
nitish has quit [Remote host closed the connection]
nari has quit [Ping timeout: 256 seconds]
DestinyAwaits has joined #ruby
alexwh has quit [Read error: Operation timed out]
alexwh has joined #ruby
phasma has quit [Quit: Connection closed for inactivity]
terrellt has quit [Ping timeout: 276 seconds]
DestinyAwaits has quit [Max SendQ exceeded]
DestinyAwaits has joined #ruby
guiocava_ has joined #ruby
<stairmast0r> hanmac1: i don't want rails though, i want to use sinatra
<stairmast0r> i also have no idea what i'm doing. ruby is completely new to me
bigoldrock has joined #ruby
npulse has quit [Quit: Lost terminal]
fernandoaleman has left #ruby [#ruby]
dgx has quit [Quit: Leaving]
saarinen has joined #ruby
<hanmac1> i only wanted to point you out that you are asking rails questions in an non-rails channel … for sample the knowledge i have about rails is far less than zero
<TheBlackMan> you don't need web server to use sinatra
<TheBlackMan> stairmast0r: follow http://www.sinatrarb.com/
airlok has quit [Remote host closed the connection]
guiocavalcanti has quit [Ping timeout: 264 seconds]
<stairmast0r> TheBlackMan: i want to use sinatra on my website
<stairmast0r> in place of a bunch of PHP crap
<Xeago> stairmast0r: depending on the usecase it might still be smart to use an nginx upstream
Michael__ has quit [Remote host closed the connection]
<Xeago> you can have it act as a loadbalancer between multiple sinatra apps running
<stairmast0r> i am using an nginx upstream, but i don't know what the socket should be a socket to
<stairmast0r> Xeago: what is an app?!
<stairmast0r> i come from .html and .php
<Xeago> let me first explain to you what an upstream is
airlok has joined #ruby
Michae___ has joined #ruby
<Xeago> an upstream is a location where the nginx should get the response from
airlok has quit [Remote host closed the connection]
angusiguess has quit [Quit: leaving]
senayar has quit [Remote host closed the connection]
<Xeago> e.g. user => web => your server => nginx => someotherstuffrubyhere
<stairmast0r> Xeago: i know what an upstream is as well
deadalus has joined #ruby
<Xeago> you can have multiple upstreams to allow multiple requests to be served
threesome has joined #ruby
<stairmast0r> server unix:///var/run/______.pid
<Xeago> an 'app' in what you are looking for in the word, is an http service
<mikecmpbll> stairmast0r: a web app is just a website with dynamic content.
seich- has joined #ruby
<stairmast0r> mikecmpbll: so i need to define an upstream for every single website?
cortexman has joined #ruby
QKO has quit [Read error: Operation timed out]
<mikecmpbll> yes.
<Xeago> stairmast0r: depends on how you want to host your rubies
<Xeago> there is also passenger
devoldmx has joined #ruby
<mikecmpbll> how many websites are you planning on having? :s
<stairmast0r> passenger requires that i install apache
<stairmast0r> mikecmpbll: more than one
<mikecmpbll> well it's not really a problem is it.
<sam113101> you can use nginx
<Xeago> stairmast0r: passenger also works on nginx so I am told
<stairmast0r> mikecmpbll: even if i have only one, it bothers me that it would be designed like this
<sam113101> yes, I use it with nginx
<stairmast0r> sam113101: i am using nginx
tylersmith has joined #ruby
<stairmast0r> Xeago: it does work on nginx but it pulls apache as a dependency
<Xeago> doubt it..
nomenkun has quit [Remote host closed the connection]
<sam113101> how are you installing it?
<Xeago> stairmast0r: you want to decouple your webserver from your application server
<mikecmpbll> requests handled by nginx need to know where to go somehow.
<mikecmpbll> ...
<Xeago> as they have different scaling requirements
polokov has joined #ruby
<Xeago> and they can serve a subset of requests
<stairmast0r> ;call emerge -pvD passenger
RichardBaker has joined #ruby
<Xeago> as in, static files
<polokov> stairmast0r: These are the packages that would be merged, in order:, Calculating dependencies ... done!, [ebuild N ] virtual/ruby-ssl-1:ruby19 RUBY_TARGETS="(ruby19)" 0 kB, [ebuild N ] dev-ruby/rack-1.4.5:1.4 USE="-doc {-test}" RUBY_TARGETS="ruby19 -jruby (-ree18) -ruby18" 476 kB, [ebuild N ] dev-ruby/daemon_controller-1.1.1 USE="{-test}" RUBY_TARGETS="ruby19 (-ree18) -ruby18" 24 (4 more messages)
<stairmast0r> ;more
<polokov> stairmast0r: kB, [ebuild N ] dev-libs/apr-1.4.5:1 USE="urandom uuid -doc -older-kernels-compatibility -static-libs" 738 kB, [ebuild N ] dev-libs/libev-4.11-r1 USE="-static-libs" 474 kB, [ebuild NS ] sys-devel/automake-1.11.6:1.11 [1.10.3:1.10, 1.12.6:1.12] 1,068 kB, [ebuild N ] dev-libs/apr-util-1.3.12:1 USE="berkdb gdbm -doc -freetds -ldap -mysql -odbc -postgres -sqlite (3 more messages)
<stairmast0r> ;more
<polokov> stairmast0r: -static-libs" 594 kB, [ebuild N ] app-admin/apache-tools-2.2.25 USE="ssl" 5,396 kB, [ebuild N ] www-servers/apache-2.2.25:2 USE="ssl -debug -doc -ldap (-selinux) -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache (2 more messages)
tommyvyo has joined #ruby
<stairmast0r> tell me that doesn't pull apache
Arya_ has quit []
<Xeago> where does that information come from?
<stairmast0r> `emerge passenger` on my server
dankest has joined #ruby
<Xeago> try an authoritative source instead of package systems
<polokov> Title: Download - Phusion Passenger (at www.phusionpassenger.com)
<Xeago> you can even use it standalone
<stairmast0r> why can't i use puma
<stairmast0r> ?
<Xeago> don't know?
<Xeago> feel free to use it
<Xeago> with passenger the configuration is more php-like
<Xeago> as in it runs in the web-server
<stairmast0r> i just don't want to have a separate upstream for each website. that's all.
smathieu_ has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
<Xeago> I really do not see what problem you are facing
Nenor has joined #ruby
<Xeago> do you know why you want to decouple the web-server from the app-server?
QKO has joined #ruby
<polokov> Title: Twan Wolthof (at blog.xeago.nl)
pranny has joined #ruby
<Xeago> polokov: mind disabling that bot
<Veejay> Hello everyone, I am looking to achieve the following: only insert an object in an array of similar objects if the object doesn
<Veejay> Sorry
<stairmast0r> ;part
polokov has left #ruby ["stairmast0r"]
hasrb has joined #ruby
Michae___ has quit [Remote host closed the connection]
tommyvyo has quit [Client Quit]
<Veejay> Doesn't already exists in the array. With the following catch: The "already exists" in this case is the result of calling a method on the object and verifying that there is no object in the array that would return the same value for the same method
saintcajetan has joined #ruby
<mikecmpbll> stairmast0r: i really don't get how you envisage it ought to be done
<Veejay> i.e. widgets << widget unless widgets.map{|w| w.id.to_s }.include?(widget.id.to_s)
<Xeago> Veejay: Array#any{|o| o.method}
<stairmast0r> mikecmpbll: with PHP you don't need an "app" for every website
<mikecmpbll> how do you do it in php?
<stairmast0r> mikecmpbll: you have a single upstream for PHP-FPM and it executes all your PHP code
<Xeago> he probably uses virtualhosts
<Veejay> Xeago: That's nice, is there a way to have that combined with the include somehow?
<stairmast0r> yes i do
Michae___ has joined #ruby
<Veejay> I can make do though, just wondering
<Xeago> Veejay: bit busy, didn't read your code
<Veejay> Xeago: no worries
<Veejay> Thanks
<mikecmpbll> i'm not really a brain on networking stuff so i don't know the terms upstream etc but
sayan has joined #ruby
<Xeago> but that gives a boolean whether any object in that array satisfies the condition you can specify
smathieu_ has quit [Ping timeout: 248 seconds]
Vivekananda has joined #ruby
mklappstuhl has joined #ruby
anildigital is now known as anildigital_away
<Xeago> stairmast0r: but that doesn't give you multiple sites
<mikecmpbll> meh, i don't get this.
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
<Xeago> me neither
<Xeago> maybe he is looking for mounting apps in rack
vikhyat has joined #ruby
<mikecmpbll> you just define a server block in nginx conf for each app
dirtyzero has quit [Remote host closed the connection]
rshetty has quit [Ping timeout: 248 seconds]
WarChief is now known as TheKurgan
ayonix has quit [Quit: No Ping reply in 180 seconds.]
love_color_text has joined #ruby
contradictioned has quit [Quit: No Ping reply in 180 seconds.]
cj3kim has joined #ruby
<stairmast0r> mikecmpbll: please stop saying app.....
<mikecmpbll> i thought upstream stuff was for server clustering
AndChat| has joined #ruby
<havenwood> humperdink!
<mikecmpbll> website then.
<Xeago> mikecmpbll: it is yes!
sayan has quit [Max SendQ exceeded]
<Xeago> or a reverse proxy..
<mikecmpbll> he has multiple servers?
S0da has quit [Remote host closed the connection]
<stairmast0r> i have one server
<stairmast0r> nginx
<stairmast0r> with vhosts for a few domains
cj3kim has quit [Read error: Connection reset by peer]
<mikecmpbll> that's exactly what you do in ruby
rshetty has joined #ruby
<stairmast0r> i would like to stop using the abomination that is PHP and replace it with a decent langauge like ruby
<mikecmpbll> they're not called vhosts in nginx
<stairmast0r> but i would like to define a single upstream server in nginx that is "ruby".
sayan has joined #ruby
<stairmast0r> i know
dhruvasagar has joined #ruby
<mikecmpbll> they're called server blocks, vhosts is an apache thing
mahmoudimus has quit [Quit: Computer has gone to sleep.]
contradictioned has joined #ruby
<stairmast0r> then i would like to include that upstream in all my "server blocks"
<mikecmpbll> what do you mean by upstream server?
ewnd9 has joined #ruby
sr78ger has joined #ruby
zzz has joined #ruby
<stairmast0r> mikecmpbll: in nginx
<stairmast0r> mikecmpbll: "upstream nameHere { server unix:///var/run/socket.sock; }"
Banistergalaxy has quit [Ping timeout: 276 seconds]
<stairmast0r> normally that would have been php-fpm.sock
<mikecmpbll> what does that do? (bearing in mind this is #ruby not #nginx)
<stairmast0r> and then i use that upstream in all my websites for php
<stairmast0r> mikecmpbll: well you were correcting me on what an nginx vhost is called...
<mikecmpbll> yes, doesn't mean i know everything
<stairmast0r> mikecmpbll: you've also been telling me that i have to have a separate upstream for every "app"
<stairmast0r> now you're saying you don't know what an upstream is
<mikecmpbll> exactly.
<mikecmpbll> chill out mister, only trying to help
<zzz> Hi, i' ve a string ending with similar characters (e. g. 'string???'. How can i write a function which would simply delete these trailing characters? Since i' m not familiar with ruby at all, if You can give me some links, that' d be good as well.
ntus1017 has joined #ruby
<stairmast0r> mikecmpbll: i'm sorry
<mikecmpbll> you've had a confrontational attitude since you started asking the question
cha1tanya has quit [Read error: Connection reset by peer]
cha1tanya_ has joined #ruby
gildo has quit [Ping timeout: 245 seconds]
pranny has left #ruby [#ruby]
<stairmast0r> i'm just a bit..flustered..or something
<mikecmpbll> if you want help on using nginx with ruby apps, on one web server then I can help you
<mikecmpbll> i've never used nginx upstream in my life and I run a web server running ~10 websites
<stairmast0r> mikecmpbll: then how do you use ruby on them?
<stairmast0r> proxy_pass?
<mikecmpbll> let me gist my config
paolooo has joined #ruby
brunoro__ has joined #ruby
xjunior has quit [Read error: Connection reset by peer]
Tomasso has joined #ruby
<havenwood> stairmast0r: serve each Ruby webapp on its own socket/port and yeah, proxy_pass to em
apeiros has joined #ruby
obs_ has quit [Quit: Konversation terminated!]
thams has joined #ruby
cha1tanya_ is now known as cha1tanya
<mikecmpbll> meh, i won't gist it because it's got all my shit in, but for each new rails app i just add a new server block, the `root` directive points to my app's public/ directory
cha1tanya has quit [Changing host]
cha1tanya has joined #ruby
<mikecmpbll> i use passenger.
<havenwood> stairmast0r: Nginx just used as a reverse proxy. I use Unicorn.
<stairmast0r> does ruby not work in the slightest bit like php-fpm?
sayan has quit [Read error: Connection reset by peer]
<mikecmpbll> stairmast0r: from what you've explain of it, no.
vlad_starkov has joined #ruby
poga has joined #ruby
Solnse has joined #ruby
<Tomasso> i declared an object @myobject = {} , then i did load 'myfile.rb' that has @myobject[:hello] = {:bla => "bye" } , I get method [] undefined for nil:NilClass .. is there some way to include the second definition using the first one? so i dont get the error?
airlok has joined #ruby
<mikecmpbll> gotta go bbl.
m8 has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<stairmast0r> php-fpm == same proxy_pass for every server block, code inside a .php file wrapped in <?php ?> will be executed before displaying the page.
<stairmast0r> that's it.
<stairmast0r> no "apps"
timonv has quit [Remote host closed the connection]
<stairmast0r> just a way to include server-side code in a normal html page
<havenwood> stairmast0r: There are many ways to do it, but the common pattern is to use Rack. You pick a Rack framework like Rails or a Rack DSL like Sinatra. They have Rack as a dependency. Then a Rack web server, like Unicorn, Passenger, Puma, or Thin serves up that app on the socket or port of your choosing.
<havenwood> stairmast0r: Nginx is simple a reverse proxy to the Ruby web server.
nitish has joined #ruby
<havenwood> s/simple/simply
Notte has joined #ruby
burlyscudd has quit [Quit: Leaving.]
vlad_sta_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
ewnd9 has quit [Ping timeout: 264 seconds]
<stairmast0r> oh god...
xcthulhu has quit [Quit: xcthulhu]
Senjai has joined #ruby
xjunior has joined #ruby
hogeo has quit [Remote host closed the connection]
contradictioned has quit [Ping timeout: 248 seconds]
xjunior has quit [Client Quit]
sr78ger has quit [Quit: Qui]
<havenwood> stairmast0r: Have you tried out Sinatra? That might help give you a feel for what a Rack-based solution feels like.
<havenwood> stairmast0r: http://www.sinatrarb.com
tommyvyo has joined #ruby
xjunior has joined #ruby
<havenwood> It is a minimalist DSL on top of Rack. You don't have to know about Rack or Rack web servers to use it.
saarinen has quit [Quit: saarinen]
smathieu has joined #ruby
kaspergrubbe has quit [Ping timeout: 245 seconds]
brunoro__ has quit [Ping timeout: 261 seconds]
sailias1 has quit [Ping timeout: 276 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
ewnd9 has joined #ruby
<havenwood> stairmast0r: So for the Sinatra homepage example, you'd just `proxy_pass http://localhost:4567`.
BlueShark has joined #ruby
<stairmast0r> do i need puma for it?
<havenwood> stairmast0r: If you don't explicitly select a web server, Sinatra tries to select the best option for you.
<havenwood> stairmast0r: You don't need Puma. It is a nice option though.
tommyvyo has quit [Client Quit]
<stairmast0r> havenwood: s/do i need/does sinatra take the place of
<stairmast0r> so.. nginx -> puma -> sinatra?
<havenwood> stairmast0r: yup
QKO has quit [Ping timeout: 264 seconds]
Senjai has quit [Ping timeout: 248 seconds]
<havenwood> stairmast0r: nginx is *just* a reverse proxy, puma is serving up your Rack app, Sinatra is a DSL to make it nicer than writing a straight Rack app.
ndrei has joined #ruby
<stairmast0r> ..where does the html come in?
<havenwood> stairmast0r: Sinatra has been widely copied by other languages (some nice names like Scalatra), but the basic idea is instead of arranging your app as files in directories you setup routes and views.
QKO has joined #ruby
<Eiam> padrino
<stairmast0r> oh dear
<havenwood> stairmast0r: Take a look at Sinatra readme. It is a great way of doing things.
<zzz> -quit
zzz has quit [Quit: [BX] Everybody was Kung Fu fighting!]
<havenwood> zzz: waaaait
<Veejay> Are each_pair and each twins?
<Veejay> Or is there a subtlety I'm overseeing?
Al_ has quit [Quit: Al_]
<Eiam> Veejay: looks the same to me..
<Eiam> (when called on a hash)
eldariof has joined #ruby
<Veejay> Same here, it looks like an alias
<Eiam> Veejay: maybe some history, each_pair existed before each would auto expand to two parameters or what not
blaxter has quit [Quit: foo]
<Eiam> (pure speculation )
<stairmast0r> i'm tempted to go back to php
<Eiam> don't.. lol
<Veejay> PHP is at version 6, Ruby is only at version 2. I won't lie, it looks like it would offer more. Definitely tempting
<havenwood> stairmast0r: Take half an hour to learn Sinatra. Try actually setting up a few GET request routes and corresponding views/ for them.
<stairmast0r> or even Wt
<sam113101> is sinatra always a good fit?
jonahR has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
woolite64__ is now known as woolite64
airlok has quit [Remote host closed the connection]
<Eiam> Veejay: lol
<Veejay> Is "Is X always a good fit" a yes/no question to begin with? :)
<Eiam> sam113101: I used to use Rails, I moved to sinatra
<Eiam> then I moved "up" to Padrino
<Veejay> Unless we're talking OJ's glove
<Eiam> as I've better understood what sorts of things I want to do, I've changed my tools to better suite those goals.
<havenwood> sam113101: If what you want is a static site, maybe look at Jekyll. A blog, maybe octopress. A small web app or api, sinatra. A more involved web app framework, padrino or rails.
LexieGrey has quit [Read error: Connection reset by peer]
juo100 has quit [Quit: juo100]
<Eiam> Rails was too much for what I wanted, and wasn't exactly what I was really after. Sinatra was almost just right, but not quite enough
Catbuntu has joined #ruby
<Eiam> I'm working with Padrino now and pretty happy so far
<havenwood> sam113101: Something closer to the metal, scorched, or go all the way and straight rack.
rodacato has quit [Remote host closed the connection]
sailias has joined #ruby
denysonique has joined #ruby
<havenwood> Eiam: Padrino with ActiveRecord, or what for ORM?
lewis_ has joined #ruby
lewis_ is now known as Lewix
Lewix has quit [Changing host]
Lewix has joined #ruby
pkrnj has joined #ruby
<denysonique> Quickest way to parse a url, modify a param and return the url back?
mklappstuhl has quit [Remote host closed the connection]
<Eiam> havenwood: using data mapper right now
<Eiam> with redis + pgsql
<denysonique> havenwood: DataMapper is nice
asobrasil has joined #ruby
<havenwood> nice
burlyscudd has joined #ruby
<havenwood> Ruby Object Mapper (Datamapper 2) is looking pretty neat! https://github.com/rom-rb
<sam113101> I see
<havenwood> rom-vagrant uses ruby-install and chruby \o/
<Eiam> varnish sitting in front of it
realDAB has quit [Quit: realDAB]
<havenwood> http://rom-rb.org
yfeldblum has joined #ruby
mercwithamouth has joined #ruby
ybart has quit [Quit: ybart]
<havenwood> I'm really curious to see what rom will look like in action.
m8 has quit [Quit: Sto andando via]
cj3kim has joined #ruby
ravster has joined #ruby
sailias has quit [Ping timeout: 246 seconds]
dankest has quit [Quit: Peace]
devoldmx has joined #ruby
mahmoudimus has joined #ruby
poga has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 276 seconds]
RichardBaker has quit [Quit: RichardBaker]
marvelous has joined #ruby
goodgame has quit [Ping timeout: 256 seconds]
ldnunes has quit [Ping timeout: 248 seconds]
RichardBaker has joined #ruby
Nenor has quit [Quit: Nenor]
sayan has joined #ruby
pinage404 is now known as zz_pinage404
ExxKA has quit [Quit: This computer has gone to sleep]
RichardBaker has quit [Client Quit]
love_color_text has quit [Remote host closed the connection]
axeman- has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 264 seconds]
spider-mario has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
DanKnox_away is now known as DanKnox
Arya_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
troessner has quit [Ping timeout: 246 seconds]
marvelous has left #ruby [#ruby]
tkuchiki has joined #ruby
Michae___ has quit [Remote host closed the connection]
realDAB has joined #ruby
bamdad has quit [Quit: bamdad]
Michael__ has joined #ruby
randomau_ has joined #ruby
Spooner has quit [Remote host closed the connection]
Guest76733 has quit [Ping timeout: 268 seconds]
clov3r_ has quit [Remote host closed the connection]
Michae___ has joined #ruby
Michael__ has quit [Read error: Connection reset by peer]
chrisja has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
goleldar has joined #ruby
conceal_rs_____0 has quit [Ping timeout: 256 seconds]
burlyscudd has quit [Quit: Leaving.]
anay has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 240 seconds]
conceal_rs_____0 has joined #ruby
randomautomator has quit [Ping timeout: 268 seconds]
soukihei has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
alex__c2022 has joined #ruby
thams has quit [Quit: thams]
v0n has joined #ruby
vlad_starkov has joined #ruby
mityaz has joined #ruby
Jalada has quit [Ping timeout: 248 seconds]
ldnunes has joined #ruby
brunoro__ has joined #ruby
<Eiam> is there a way when you are inside an enumerables block to get the enumberables next value?
<Eiam> prior to the next iteration of course
vlad_sta_ has quit [Ping timeout: 240 seconds]
anildigital_away is now known as anildigital
<apeiros> Eiam: no
rdark has quit [Quit: leaving]
<apeiros> Enumerator has #peek
zmike123 has quit [Ping timeout: 246 seconds]
sheeny has joined #ruby
sheeny has quit [Client Quit]
airlok has joined #ruby
Xeago has quit [Remote host closed the connection]
Guest45795 has quit [Quit: ChatZilla 0.9.87-6.1450hg.fc18 [XULRunner 22.0/20130621124208]]
<Eiam> okay, so each_with_index and just look myself
rshetty has quit [Ping timeout: 246 seconds]
oktapodi_ has joined #ruby
joelteon has quit [Quit: bye]
cortexman has quit [Quit: Leaving.]
Zai00 has quit [Quit: Zai00]
twoism has joined #ruby
gemmy has joined #ruby
oktapodi has quit [Ping timeout: 246 seconds]
allaire has joined #ruby
cha1tanya has quit [Excess Flood]
maxmanders has quit [Quit: Computer has gone to sleep.]
cha1tanya has joined #ruby
cha1tanya has quit [Changing host]
cha1tanya has joined #ruby
marvelous has joined #ruby
thams has joined #ruby
saarinen has joined #ruby
joelteon has joined #ruby
maxmanders has joined #ruby
marvelous has quit [Client Quit]
jocke_pirat has joined #ruby
DestinyAwaits has quit [Quit: Leaving]
jonahR has quit [Quit: jonahR]
nkts has joined #ruby
airlok has quit [Ping timeout: 248 seconds]
virt|a has quit []
realDAB has quit [Quit: realDAB]
burlyscudd has joined #ruby
goshakkk has joined #ruby
blitz has joined #ruby
adeponte has joined #ruby
pranny has joined #ruby
Michae___ has quit [Remote host closed the connection]
tatsuya_o has quit [Ping timeout: 264 seconds]
babykosh has joined #ruby
zmike123 has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
devoldmx has quit [Read error: Connection reset by peer]
pkrnj has quit [Read error: Operation timed out]
Michael__ has joined #ruby
v0n has quit [Quit: WeeChat 0.4.1]
Trynemjoel has quit [Ping timeout: 245 seconds]
sr78ger has joined #ruby
ner0x has joined #ruby
barraponto has joined #ruby
graydot has quit [Quit: graydot]
v0n has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
pkrnj has joined #ruby
vlad_starkov has joined #ruby
Tomasso has quit [Quit: Page closed]
brunoro__ has quit [Ping timeout: 240 seconds]
mrsolo has joined #ruby
sailias has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
ramblex has quit [Remote host closed the connection]
Michael__ has quit [Remote host closed the connection]
thams has quit [Quit: thams]
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Davey has joined #ruby
Trynemjoel has joined #ruby
jlast has quit [Remote host closed the connection]
ZOGM_ has quit [Remote host closed the connection]
ewnd9 has quit [Ping timeout: 240 seconds]
ntus1017 has quit [Remote host closed the connection]
ZOGM has joined #ruby
kaspergrubbe has joined #ruby
Astralum has quit [Ping timeout: 276 seconds]
allaire has quit [Quit: allaire]
brandon__ has joined #ruby
devoldmx has joined #ruby
thepumpkin has quit [Remote host closed the connection]
Arya_ has quit []
pranny has quit [Quit: Leaving.]
darkc0met has quit [Ping timeout: 248 seconds]
Marsthemanwithth has joined #ruby
joesavage has joined #ruby
burlyscudd has quit [Quit: Leaving.]
pkrnj has quit [Quit: Computer has gone to sleep.]
kaspergrubbe has quit [Ping timeout: 276 seconds]
<joesavage> I'm running 'curl' in a Ruby script to grab a page then using Nokogiri::HTML to parse that page -- both as my local user and via a cron job, the curl grabs the page correctly, but under my cron job the Nokogiri::HTML magically changes the page into some totally different page -- anyone got any troubleshooting advice for me?
yshh has quit [Remote host closed the connection]
poikon has quit [Ping timeout: 246 seconds]
fernandoaleman has joined #ruby
<brisbin> everything works when not run via cron?
deeepblue has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
fernandoaleman has left #ruby [#ruby]
deeepblue has joined #ruby
burlyscudd has joined #ruby
<joesavage> Everything works perfectly when not run via cron, and the 'curl' gets the absolute correct data via cron, but the Nokogiri::HTML seems to change the page, it's really very strange
axeman- has joined #ruby
allaire has joined #ruby
<brisbin> have your script dump output of `whoami` and `env` both in and out of cron. compare.
platzhirsch has joined #ruby
ilyam has joined #ruby
atmosx has quit [Quit: And so the story goes…]
saarinen has quit [Quit: saarinen]
burlyscudd has quit [Client Quit]
pkrnj has joined #ruby
Newbcake has joined #ruby
<joesavage> Will try that in a sec -- I can re-create the issue by going in as my local user and then running "env -i /bin/bash --noprofile --norc", loading up my Ruby environment, and then running the script (it has the same problem as the cron job)
brunoro__ has joined #ruby
<joesavage> brisbin: Does this mean anything to you? (whoami followed by env) http://pastebin.com/9609bZ6b
yshh has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
saarinen has joined #ruby
<brisbin> LC_ALL may effect the behavior of nokogiri
Arya_ has joined #ruby
<joesavage> Right
<brisbin> try setting LC_ALL to en_GB.UTF-8 explicitly in the script then run it in cron
<graft> okay, if i do case blah, how do i say 'when > 1000'?
zeropx has joined #ruby
<graft> i can do 'when 1000...100000'
<graft> but can i do a range to infinity?
<blitz> and beyond
<brisbin> i think FixNum has a MAX_INT constant or something, but i would just do case; x > 1000; end
<graft> yeah but that so ugly
<graft> i mean i might as well write if statements
<brisbin> then maybe you can restructure your code to remove the case
<joesavage> brisbin: I'm getting "bash: warning: setlocale: LC_ALL: cannot change locale (enGB.UTF-8): No such file or directory" -- I know this isn't a bash channel, but any idea?
cj3kim has joined #ruby
<graft> dammit stack overflow is floundering
<zendeavor> locale-gen
<brisbin> ohai zendeavor
<zendeavor> sup brisbin
sambao21 has joined #ruby
<zendeavor> i'm new here, wut do
<brisbin> it's pretty quiet, i just started idling here today
<zendeavor> oh i've been here longer than that
<zendeavor> #winning
ldnunes has quit [Ping timeout: 256 seconds]
PhatBaja has joined #ruby
<brisbin> graft: end_GB.UTF-8
michaeldeol has quit [Remote host closed the connection]
<brisbin> sorry, en_GB.UTF-8 ugh
<brisbin> you missed the _
<zendeavor> this is how i learned bash: /j #bash; /me wait();
<zendeavor> now i'm trying it for ruby.
<brisbin> run, i should hang out in #bash that'd be a funtime
<brisbin> s/run/fun/
<zendeavor> it's not a funtime
brunoro__ has quit [Ping timeout: 240 seconds]
<joesavage> brisbin: I think the locale actually did it -- thanks!
<zendeavor> brainmelting
Newbcake is now known as NealJ
<brisbin> joesavage: cool, np
cortexman has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
sambao21 has quit [Ping timeout: 264 seconds]
<zendeavor> the only reason #bash is cool is because of us regulars but none of us really get along either
interactionjaxsn has quit [Remote host closed the connection]
kevinykc_ has quit [Quit: Computer has gone to sleep.]
interactionjaxsn has joined #ruby
elaptics is now known as elaptics`away
dclist has joined #ruby
swordsmanz is now known as swordsneedsleep
michaeldeol has joined #ruby
joesavage has quit [Quit: Page closed]
poga has joined #ruby
baordog has joined #ruby
cantonic has quit [Quit: cantonic]
darkc0met has joined #ruby
oktapodi has joined #ruby
Michae___ has joined #ruby
jprovazn has quit [Quit: Odcházím]
thetristan has joined #ruby
<havenwood> #zsh or #bash, cagefight!
wsterling has quit [Read error: Connection reset by peer]
cha1tanya has quit [Quit: cha1tanya]
wsterling has joined #ruby
<zendeavor> #zsh deserves the stupid questions it gets
<brisbin> i've made the move to zsh for day to day but still script in bash
<zendeavor> i was using zsh for a year or so
interactionjaxsn has quit [Ping timeout: 268 seconds]
oktapodi_ has quit [Ping timeout: 264 seconds]
<zendeavor> i like it interactively
<zendeavor> and i just imploded rvm
<zendeavor> feels good man
sambao21 has joined #ruby
zomgbie has quit [Ping timeout: 268 seconds]
Ortuna has joined #ruby
Ortuna has quit [Client Quit]
Ortuna has joined #ruby
ffio has joined #ruby
realDAB has joined #ruby
<havenwood> zendeavor: What will you use in its place?
acrussell has left #ruby [#ruby]
shadoi has joined #ruby
mansi has quit [Remote host closed the connection]
swordsneedsleep has quit [Ping timeout: 268 seconds]
v0n has quit [Read error: Operation timed out]
<zendeavor> i'm gonna try out chruby and pals
<brisbin> chruby is where it's at
<havenwood> \o/
Arya_ has quit []
Arya_ has joined #ruby
interactionjaxsn has joined #ruby
<zendeavor> brisbin: your post on it comes up as 4th result in my google
<brisbin> wow, that's awesome
S0da has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
ldnunes has joined #ruby
<zendeavor> it may have something to do with google+
babykosh has quit [Quit: babykosh]
<dclist> What does rvm do when it installs?
<dclist> What changes does it make?
<brisbin> when it installs, not much
clov3r has joined #ruby
Astralum has joined #ruby
<zendeavor> it does mash some stuff into your .bash_profile or .bashrc
<brisbin> oh it writes that in automatically?
<zendeavor> i'm pretty sure it did.
brennanMKE has quit [Remote host closed the connection]
thetristan has left #ruby [#ruby]
trepidaciousMBR has quit [Quit: trepidaciousMBR]
babykosh has joined #ruby
<zendeavor> yup
<zendeavor> it's in my .zprofile which i haven't touched in months
<havenwood> dclist: RVM actually has a new chruby-integration mode where you use `mrvm` which only installs Rubies then defers to chruby: https://rvm.io/workflow/chruby
blackmesa has quit [Remote host closed the connection]
<havenwood> With chruby i've compiled from source, used ruby-build and my new fav ruby-install, but yet to try mrvm.
gyre007 has quit [Ping timeout: 264 seconds]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ChristianS has quit [Excess Flood]
<zendeavor> i prefer the little modular pieces of a whole workflow
anay has joined #ruby
<zendeavor> chruby + ruby-install
<denysonique> method = lambda { first.to_s }
<denysonique> How can I execute lambda on some_hash?
<havenwood> zendeavor: yup, agreed! :)
<denysonique> I would like to send first.to_s to some_hash
<brisbin> method.call(object)
ChristianS has joined #ruby
maxmanders has joined #ruby
<zendeavor> you should probably pick a better name than 'method'
<brisbin> but method should = lambda { |o| o.first.to_s }
<brisbin> or ->(o) { o.first.to_s }
phasma has joined #ruby
<apeiros> denysonique: instance_eval
tatsuya_o has joined #ruby
<denysonique> zendeavor: that was just an example
S0da has quit [Ping timeout: 257 seconds]
airlok has joined #ruby
<zendeavor> -> is my favourite because cryptic.
ffio has quit [Quit: WeeChat 0.4.1]
<zendeavor> looks like haskell.
<brisbin> it's trying so hard to be haskell and still gets it uglier
<zendeavor> =\
<zendeavor> brisbin: still use arch?
<brisbin> always
<spider-mario> zendeavor : perl6 has adopted that syntax as well
<denysonique> I am porting my library from CoffeeScript, I used -> there to ;>
<spider-mario> without the parenthesis, though
<denysonique> too*
<zendeavor> that's all well and good
<spider-mario> and for uses a lambda
<spider-mario> so the resulting syntax is:
<spider-mario> for @list -> $x {...}
<zendeavor> brisbin: i packaged up shellcheck in the aur, if you ever wanna run it over your shell scripts
<spider-mario> (but there are other syntaxes for lambda)
baordog_ has joined #ruby
<zendeavor> it's vidar holen's shell script static analysis tool, written in haskell with parsec3
<zendeavor> is kinda awesome.
bricker`LA has joined #ruby
<zendeavor> spider-mario: looks like perl to me. except all the context breaks my head
davedev24 has quit [Remote host closed the connection]
sepp2k has joined #ruby
Catbuntu has quit [Quit: Leaving]
workmad3 has joined #ruby
<zendeavor> -> is already a thing in perl for object stuff
S0da has joined #ruby
<spider-mario> not anymore
<spider-mario> (I mean not in Perl6)
<zendeavor> well i'm not up to speed on perl6
<havenwood> `mrvm install maglev` is installing ruby-2.0.0-p247 >.>
<spider-mario> perl6 uses .
<zendeavor> they have dot operator now?
<brisbin> zendeavor: cool, i'll look into it
<spider-mario> yes
<denysonique> hmm
<zendeavor> brisbin: don't let it hurt your feelings though
<brisbin> i'm sure i'll ace whatever test it does ;)
baordog has quit [Ping timeout: 276 seconds]
<zendeavor> 4sur.
<denysonique> is it possible to just use -> { first.to_s }
<denysonique> somehow
baordog_ is now known as baordog
<denysonique> without the lambda args
<zendeavor> you have to pass something in...
<havenwood> ha, it has ruby-head as a maglev-head dependency :O
<hanmac1> >> 4 . to_s
<eval-in> hanmac1 => "4" (https://eval.in/38814)
<zendeavor> a function with no arguments isn't much of a function
<denysonique> yes, but thats part of the DSL I am creating
<havenwood> but does indeed work ;)
<denysonique> it needs to be neat and clean
<zendeavor> how strange
alex__c2022 has joined #ruby
anay has quit [Remote host closed the connection]
jocke_pirat has quit [Ping timeout: 240 seconds]
airlok has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
<havenwood> oh, a nice thing that mrvm can do that the others can't (ruby-install doesn't get it till v3.0) is install Ruby from precompiled binaries.
maxmanders has quit [Quit: Computer has gone to sleep.]
<havenwood> Any OS X users, try out Tokaido! (First prerelease is out.): https://github.com/tokaido/tokaidoapp/releases
<brisbin> denysonique: instance_eval(&method)
<brisbin> that will set self to the object and first will use implicit self
Appineer has joined #ruby
vlad_starkov has joined #ruby
amacgregor_ has joined #ruby
<brisbin> i prefer to pass explicit args, even in DSLs (by yielding a builder object)
amacgregor has quit [Read error: Connection reset by peer]
staafl has joined #ruby
Nenor has joined #ruby
Appineer has left #ruby [#ruby]
krawchyk has joined #ruby
oktapodi has quit [Remote host closed the connection]
bamdad has joined #ruby
<apeiros> denysonique: is it possible to just use -> { first.to_s }
<apeiros> denysonique: I already told you: instance_eval
blackmesa has joined #ruby
<apeiros> should read the replies you get when you ask…
Eldariof-ru has joined #ruby
fuhgeddaboudit has joined #ruby
jblack has joined #ruby
BlakeRG has joined #ruby
eldariof has quit [Ping timeout: 246 seconds]
Neomex has joined #ruby
Neomex has quit [Client Quit]
Dreamer3 has joined #ruby
lacko has joined #ruby
<lacko> hi, do you k
<lacko> fuck :D
<lacko> hi i gots a problem
<lacko> i have a function that returns an array
<apeiros> method
<onewheelskyward> Well, we don't know yet, do we? :)
<lacko> and i need to save each element into a hash
maxmanders has joined #ruby
<hanmac1> lacko you are maybe looking for #group_by ?
<lacko> is something like this possible? hash[:key1,:key2,:key3]=themethod
<hanmac1> lacko hm you are looking for Hash#merge!
<apeiros> lacko: keys.zip(themethod) { |k,v| hash[k] = v }
zomgbie has joined #ruby
maxmanders has quit [Client Quit]
<lacko> oh ok thanks for help
<hanmac1> or hash.merge!(Hash[keys.zip(themethod)])
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
michaeldeol has quit [Remote host closed the connection]
nomenkun has joined #ruby
zeromodulus has joined #ruby
bluOxigen has joined #ruby
teddyp1cker has joined #ruby
SHyx0rmZ has joined #ruby
guiocava_ is now known as guiocavalcanti
spectre1 has quit [Quit: Leaving.]
cr3 has left #ruby [#ruby]
v0n has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
burlyscudd has joined #ruby
axeman- has quit [Remote host closed the connection]
sr78ger has quit [Quit: Qui]
airlok has joined #ruby
zz_michael_mbp is now known as michael_mbp
atno has joined #ruby
Kar- has quit [Remote host closed the connection]
hanmac1 has quit [Quit: Leaving.]
postmodern has joined #ruby
jlast has joined #ruby
tatsuya_o has quit [Read error: Connection reset by peer]
RonScagz has joined #ruby
asteve has joined #ruby
tatsuya_o has joined #ruby
airlok has quit [Ping timeout: 276 seconds]
jalcine has quit [Excess Flood]
SHyx0rmZ has quit [Ping timeout: 240 seconds]
jalcine has joined #ruby
SHyx0rmZ has joined #ruby
nbouscal has joined #ruby
burlyscudd has quit [Quit: Leaving.]
kaspergrubbe has joined #ruby
cj3kim has joined #ruby
saarinen has quit [Quit: saarinen]
cj3kim_ has joined #ruby
ehaliewicz has joined #ruby
mary5030 has quit [Ping timeout: 268 seconds]
kseifried has joined #ruby
ffio has joined #ruby
RonScagz has quit [Quit: Linkinus - http://linkinus.com]
kseifried has left #ruby [#ruby]
sambao21 has quit [Quit: Computer has gone to sleep.]
BizarreCake has quit [Ping timeout: 256 seconds]
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
Lewix has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
sayan has quit [Ping timeout: 257 seconds]
myth17 has joined #ruby
michaeldeol has joined #ruby
cj3kim has quit [Ping timeout: 259 seconds]
freerobby has joined #ruby
nitish has quit [Ping timeout: 268 seconds]
rismoney has quit [Disconnected by services]
tommyvyo has joined #ruby
jduan1981 has joined #ruby
jduan1981 has quit [Client Quit]
CXEMA has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
myth17 has quit [Remote host closed the connection]
michael_mbp is now known as zz_michael_mbp
devoldmx has quit [Ping timeout: 264 seconds]
Xiti has quit []
tommyvyo has quit [Quit:]
realDAB has quit [Quit: realDAB]
Xiti has joined #ruby
mary5030 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
timonv has joined #ruby
xcthulhu has joined #ruby
freerobby has joined #ruby
poga has quit [Remote host closed the connection]
cnrk has joined #ruby
jalcine has quit [Excess Flood]
<babykosh> simple array question….
cnrk has quit [Remote host closed the connection]
<babykosh> I want to know the number of "+" in a given array...
<babykosh> ["1","1","3","3","3","+","+","+","+"]
cnrk has joined #ruby
<apeiros> babykosh: see Array#count
ffio has quit [Quit: WeeChat 0.4.1]
zomgbie has quit [Read error: Connection reset by peer]
<babykosh> got it
anildigital is now known as anildigital_away
Pandee has joined #ruby
jonathanwallace has joined #ruby
jalcine has joined #ruby
anildigital_away is now known as anildigital
sr78ger has joined #ruby
fenicks has joined #ruby
zeromodulus has quit [Remote host closed the connection]
gildo has joined #ruby
brennanMKE has joined #ruby
theRoUS has quit [Ping timeout: 276 seconds]
devoldmx has joined #ruby
eetfunk has joined #ruby
darrik has quit [Read error: Connection reset by peer]
jalcine has quit [Excess Flood]
davedev24 has joined #ruby
mengu has quit [Quit: Leaving]
RonScagz has joined #ruby
Catbuntu has joined #ruby
rickruby has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
brennanMKE has quit [Ping timeout: 260 seconds]
LucidDreamZzZz has quit [Remote host closed the connection]
ilyam has quit [Quit: ilyam]
darrik has joined #ruby
LucidDreamZzZz has joined #ruby
cjs226 has joined #ruby
Mon_Ouie has quit [Read error: Operation timed out]
devoldmx has quit [Ping timeout: 260 seconds]
gazarsgo has joined #ruby
sambao21 has joined #ruby
cnrk_ has joined #ruby
<gazarsgo> how can i debug/troubleshoot passenger queues building up ? :)
ldnunes has quit [Read error: Connection reset by peer]
<apeiros> you buy enterprise version and get their support?
<gazarsgo> QQ
<stairmast0r> lmao
ldnunes has joined #ruby
s00pcan has joined #ruby
tommyvyo has joined #ruby
soukihei has joined #ruby
paolooo has quit [Quit: Page closed]
cnrk has quit [Ping timeout: 264 seconds]
cnrk_ is now known as cnrk
rickruby has quit [Remote host closed the connection]
<wmoxam> gazarsgo: usually that's a case of having more requests than your instances can service
RichardBaker has joined #ruby
devoldmx has joined #ruby
is0m0rph has joined #ruby
<gazarsgo> wmoxam: it is a transitory spike across my cluster, spikes >100 on one webserver but not all of them
<wmoxam> ie: you have 6 instances and get 4 req/sec, but it takes you on average 2sec per request
<wmoxam> gazarsgo: you have several physical servers?
<gazarsgo> let's say 4 instances ~20 req/sec, avg response time ~130ms
saarinen has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
is0m0rph has left #ruby [#ruby]
freerobby has quit [Read error: Connection reset by peer]
freerobby1 has joined #ruby
joelteon has quit [Quit: bye]
havenwood has quit [Remote host closed the connection]
ddv has quit [Changing host]
ddv has joined #ruby
fenicks has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
joelteon has joined #ruby
reactormonk has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 240 seconds]
RonScagz has quit [Quit: Linkinus - http://linkinus.com]
<platzhirsch> Dones anyone know a library to measure the execution time of a code snippet and calculate the rest of the time based on the remaining size of the problem?
sepp2k has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby
jocke_pirat has joined #ruby
tommyvyo has quit [Quit:]
xcthulhu has quit [Quit: xcthulhu]
<waxjar> is that even possible?
<onewheelskyward> new relic.
axl_ has quit [Ping timeout: 256 seconds]
<onewheelskyward> There's some ruby perf stuff but I haven't used it yet.
axl_ has joined #ruby
brbcoding has quit []
cantonic has joined #ruby
ilyam has joined #ruby
alex__c2022 has quit [Ping timeout: 264 seconds]
mklappstuhl has joined #ruby
ZOGM_ has joined #ruby
<axl_> i tried [^(byword)], but that didn't work
Mon_Ouie has joined #ruby
Kruppe has joined #ruby
fenicks has joined #ruby
JZTech101 has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC]
sr78ger has quit [Quit: Qui]
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
jonahR has joined #ruby
ZOGM has quit [Ping timeout: 268 seconds]
JZTech101 has joined #ruby
hanmac2 has joined #ruby
timonv has quit [Remote host closed the connection]
alvaro_o has joined #ruby
timonv has joined #ruby
cnrk has quit [Quit: cnrk]
anildigital is now known as anildigital_away
ffio has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
realDAB has joined #ruby
havenwood has joined #ruby
Catbuntu has quit [Quit: MYNAMEISLEXIEILUFGREYSANATOMYANDILIKEONEDIRECTION]
smathieu has quit [Remote host closed the connection]
<apeiros> axl_: was that a question?
saarinen has quit [Quit: saarinen]
<axl_> how can i write a ruby regular expression that matches everything except a word that i give ? i tried [^(byword)], but that didn't work
<apeiros> you can't really negate words in a regex
<apeiros> and [] is a character class. it matches a single character
<onewheelskyward> string.gsub "notthis", ""
<apeiros> you can possibly use negative look-arounds, but even then you have to know what you really want
zmike123 has quit [Quit: ~]
eetfunk has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has joined #ruby
<apeiros> e.g. /\A(?!someword).*\z/ should match any string except "someword"
seich- has quit [Ping timeout: 245 seconds]
<apeiros> however, it will match "xsomeword", or "somewordx"
sailias has quit [Ping timeout: 246 seconds]
mklappstuhl has joined #ruby
kirun has joined #ruby
<onewheelskyward> you can't \b that?
Zai00 has joined #ruby
Uranio has quit [Quit: while you reading this, a kitty dies]
yalue has quit [Quit: Leaving]
<apeiros> onewheelskyward: as said, it depends on what exactly you really want
<apeiros> but negating words is not easy in regexen.
<onewheelskyward> Naturally. :)
dash_ has quit [Ping timeout: 268 seconds]
PhatBaja has quit [Quit: Leaving.]
bmsatierf has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
<bmsatierf> Is there a way to set header on a GET request on 1.9.3? I couldn't find anything on docs. I found for 2.0 (http://www.ruby-doc.org/stdlib-2.0/libdoc/net/http/rdoc/Net/HTTP.html#label-Setting+Headers), but I can't use 2.0 right now.
freerobby1 has quit [Quit: Leaving.]
lacko has quit [Quit: Lost terminal]
babykosh has quit [Quit: babykosh]
jbpros has joined #ruby
<mahmoudimus> I have a closure I created dynamically by using define_method on an object in Ruby and I want to copy it to another class. Should I keep a memo on the other class and just copy each of these closures that I created to the other class or is there a better way to do this?
PhatBaja has joined #ruby
Arya_ has quit []
Czupa has joined #ruby
smathieu has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
hanmac2 has quit [Ping timeout: 264 seconds]
Zai00 has quit [Quit: Zai00]
xcthulhu has joined #ruby
<onewheelskyward> bmsatierf I don't know about the stock ruby get but I've been using httparty with great success. https://github.com/jnunemaker/httparty
<gazarsgo> httparty is literally the worst http client library ever :)
<gazarsgo> but it may be the best ruby has in its ecosystem ...
fredjean has quit [Quit: Computer has gone to sleep.]
<gazarsgo> i would check out curb first
burlyscudd has joined #ruby
bamdad has quit [Quit: bamdad]
ndrei has joined #ruby
<onewheelskyward> curb?
<gazarsgo> it's a wrapper around libcurl
allaire has quit [Quit: allaire]
joelteon has quit [Quit: bye]
Arya_ has joined #ruby
<waxjar> bmsatierf: have you tried if it works? stdlib has a pretty stable API
<bmsatierf> waxjar: tried what? I've tried the sample for ruby 2.0, which worked, but I couldn't run the same code on 1.9.3
mklappstuhl has quit [Remote host closed the connection]
joelteon has joined #ruby
<havenwood> Really nice grid comparison nahi did of Ruby HTTP clients: http://goo.gl/m6RASQ
<havenwood> gazarsgo: What don't you like about HTTParty?
bricker`1A has joined #ruby
jalcine has joined #ruby
mklappstuhl has joined #ruby
<havenwood> mechanize and httpclient are nice
<platzhirsch> Does end - start result in seconds if end and start are Time objects in the Ruby standard library? That's what I have tried out and the doc reads like this in a similar way just find it confusing
bricker`LA has quit [Ping timeout: 256 seconds]
<gazarsgo> havenwood: nothing specific really. just a lot of bad edge case handling in a large rails project
<havenwood> ah
fredjean has joined #ruby
<gazarsgo> i guess it depends what you're using your http lib for also
<bmsatierf> waxjar: interesting, let me test! thanks
ldnunes has quit [Ping timeout: 264 seconds]
devoldmx3 has joined #ruby
jonahR has quit [Quit: jonahR]
shosti has joined #ruby
echevemaster_ has quit [Quit: Leaving]
mark_locklear has quit [Ping timeout: 240 seconds]
echevemaster has joined #ruby
echevemaster has joined #ruby
mercwithamouth has quit [Ping timeout: 268 seconds]
mklappst_ has joined #ruby
freerobby has joined #ruby
<bmsatierf> waxjar: worked like a charm! Thanks!
mklappstuhl has quit [Ping timeout: 276 seconds]
devoldmx has quit [Ping timeout: 256 seconds]
Squarepy has joined #ruby
ephemerian has joined #ruby
ldnunes has joined #ruby
brisbin has quit [Quit: leaving]
CXEMA has quit [Quit: WeeChat 0.4.1]
brisbin has joined #ruby
Arya_ has quit [Ping timeout: 276 seconds]
geekbri has quit [Remote host closed the connection]
amacgregor_ has quit [Ping timeout: 276 seconds]
Arya_ has joined #ruby
xcv_ has quit [Remote host closed the connection]
malkomalko has joined #ruby
xcv has joined #ruby
brisbin has quit [Quit: WeeChat 0.4.1]
brisbin has joined #ruby
bmsatierf has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
platzhirsch has left #ruby [#ruby]
freerobby has quit [Quit: Leaving.]
cj3kim has joined #ruby
alex__c2022 has joined #ruby
mityaz has quit [Quit: See ya!]
xcthulhu has quit [Quit: xcthulhu]
soukihei has quit [Ping timeout: 256 seconds]
jonahR has joined #ruby
mercwithamouth has joined #ruby
brennanMKE has joined #ruby
hamakn has quit [Remote host closed the connection]
Zai00 has joined #ruby
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
byprdct has joined #ruby
greywolf` has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
nathancahill has joined #ruby
<Eiam> no complaints with httparty here
<Eiam> but I don't use it for anything particularly complicated
greywolf` has quit [Read error: Connection reset by peer]
<Eiam> fan of curb however, but I needed it for the kerberos bindings
AndChat| has quit [Ping timeout: 264 seconds]
teddyp1cker has quit [Remote host closed the connection]
rupee has joined #ruby
teddyp1cker has joined #ruby
kpshek has quit []
bamdad has joined #ruby
Banistergalaxy has joined #ruby
jgood has joined #ruby
p0wn3d has quit [Remote host closed the connection]
<jgood> Hey all, i'm accessing the registry and want to pull the 64 bit programs, but all i can get are the 32 bit. Here is the descriptive part of my call: Win32::Registry::HKEY_LOCAL_MACHINE.open('Software\Microsoft\Windows\CurrentVersion\Uninstall')
<jgood> Any ideas how i can get the 64 bit programs?
bamdad has quit [Client Quit]
teddyp1cker has quit [Ping timeout: 264 seconds]
asteve has quit [Quit: Textual IRC Client: www.textualapp.com]
bamdad has joined #ruby
nisstyre has joined #ruby
Banistergalaxy has quit [Ping timeout: 268 seconds]
asteve has joined #ruby
bamdad has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
Arya_ has quit [Ping timeout: 264 seconds]
breakingthings has quit [Quit: breakingthings]
ner0x has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
io_syl has joined #ruby
PhatBaja has quit [Quit: Leaving.]
PhatBaja has joined #ruby
vlad_starkov has joined #ruby
airlok has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
sambao21 has joined #ruby
devoldmx has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
freerobby has quit [Read error: Connection reset by peer]
pskosinski has joined #ruby
soukihei has joined #ruby
hanmac2 has joined #ruby
BlakeRG has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
stairmast0r has quit [Ping timeout: 268 seconds]
twoism has quit [Remote host closed the connection]
sambao21 has quit [Client Quit]
Michae___ has quit [Remote host closed the connection]
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
interactionjaxsn has joined #ruby
shosti has quit [Ping timeout: 268 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
Guest93132 has quit [Changing host]
Guest93132 has joined #ruby
Zai00 has quit [Quit: Zai00]
RubNoob has joined #ruby
Guest93132 is now known as Catie
twoism has joined #ruby
sqd has quit [Quit: sqd]
hanmac2 has quit [Ping timeout: 264 seconds]
jalcine has quit [Excess Flood]
smathieu_ has joined #ruby
interactionjaxsn has quit [Ping timeout: 240 seconds]
kofno has quit [Remote host closed the connection]
bricker`1A has quit [Quit: leaving]
krawchyk has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 246 seconds]
smathieu has quit [Ping timeout: 268 seconds]
xcthulhu has joined #ruby
sambao21 has joined #ruby
ldnunes has quit [Quit: Leaving]
devoldmx has joined #ruby
xcthulhu has quit [Client Quit]
xcthulhu has joined #ruby
spider-mario has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
atmosx has joined #ruby
aedorn has quit [Quit: Leaving]
wmoxam has quit [Ping timeout: 240 seconds]
thatRD has quit [Ping timeout: 256 seconds]
elux has quit [Quit: Bye!]
havenwood has joined #ruby
thatRD has joined #ruby
thatRD has quit [Client Quit]
grumpwork has quit [Remote host closed the connection]
deception has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
Czupa has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
Spooner has joined #ruby
kofno has joined #ruby
Al_ has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
seich- has joined #ruby
goshakkk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deception has quit [Client Quit]
kirun has quit [Quit: Client exiting]
Zeeraw has joined #ruby
i_s has joined #ruby
wsterling has quit [Remote host closed the connection]
S0da has quit [Read error: Connection reset by peer]
MrThePlague has quit [Remote host closed the connection]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ehc has joined #ruby
Al_ has quit [Read error: Connection reset by peer]
wsterling has joined #ruby
osvico has joined #ruby
Al_ has joined #ruby
gchristensen has joined #ruby
<gchristensen> Hi, using unicorn + rack, is there a way to get the full URL? I'm seeing the URI be http://127.0.0.1:8080/foo in rackup, but /foo in unicorn. I'd like the behavior to be identical.
mercwithamouth has quit [Ping timeout: 264 seconds]
Banistergalaxy has joined #ruby
<onewheelskyward> When you say 'in unicorn', what do you mean?
smathieu_ has quit [Remote host closed the connection]
smathieu has joined #ruby
butblack has joined #ruby
<onewheelskyward> For instance, in my sinatra app when I call request.url, I get the fully qualified version.
<gchristensen> onewheelskyward: aye, from within a rack middleware
butblack has left #ruby [#ruby]
<gchristensen> I'm looking at ENV['REQUEST_URI']
sam113101 is now known as sam113101_afk
<onewheelskyward> hmm.
atno has quit [Remote host closed the connection]
amacgregor has joined #ruby
sam113101_afk is now known as sam113101
terrellt has joined #ruby
fridim_ has joined #ruby
<gchristensen> I could technically compose the full url off of HTTP_HOST, rack.url_scheme, and friends but I'd rather avoid that.
<atmosx> unicorn is a rack middleware
kofno has quit [Remote host closed the connection]
<atmosx> unicorn, thin, foreman, you name it
<gchristensen> okay, that is fine, but it is altering the full URL, when I'd rather it not, or, I'd like an alternative way to get the complete URL.
realDAB has quit [Quit: realDAB]
<atmosx> gchristensen: can you show the 2 examples, how is the url and how you want it to be?
<onewheelskyward> Strange description. "Tries to return a remake of the original request URL as a string."
<gchristensen> atmosx: sure - one moment.
ndrei has quit [Ping timeout: 240 seconds]
dEPy has quit [Remote host closed the connection]
BillCriswell has quit [Remote host closed the connection]
splittingred has joined #ruby
<gchristensen> atmosx: https://gist.github.com/grahamc/9fe15cba3916a14734e6 here is the output from rackup and unicorn, I'd prefer it always be the rackup version.
popl has joined #ruby
ehc has quit [Quit: ehc]
<atmosx> gchristensen: what about REQUEST_PATH?
Squarepy has quit [Quit: Leaving]
JZTech101 has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC]
jonahR has quit [Quit: jonahR]
xcv has quit [Ping timeout: 240 seconds]
<atmosx> tried out, I don't use unicorn like that so I don't know, you can try #sinatra also. I'm off to bed
<atmosx> good luck
failshell has quit [Ping timeout: 264 seconds]
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<gchristensen> thank you atmo... :)
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
cmarques has quit [Ping timeout: 268 seconds]
mercwithamouth has joined #ruby
Kruppe has quit [Ping timeout: 256 seconds]
Nenor has quit [Quit: Nenor]
freerobby has quit [Quit: Leaving.]
jbpros has quit [Quit: jbpros]
huttan has quit [Ping timeout: 264 seconds]
ehc has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
guiocavalcanti has joined #ruby
superscott[8] has joined #ruby
<superscott[8]> can i do a case statement and have 'when condition_1 && condition_2' ?
codingclouds has joined #ruby
Lewix has joined #ruby
mmitchell has quit [Ping timeout: 245 seconds]
cj3kim has quit [Remote host closed the connection]
zodiak has joined #ruby
Discordian93 has joined #ruby
S0da has joined #ruby
codingclouds has left #ruby [#ruby]
<Discordian93> can someone give me a little help with regexps in ruby? I need to assign a string variable to itself but without punctuation, I know the regexp to use is /[a-z]/ but I can't figure out what to call on the variable to assign it to that
workmad3 has quit [Ping timeout: 268 seconds]
optimusprimem has quit [Ping timeout: 245 seconds]
codingclouds has joined #ruby
guiocavalcanti has quit [Ping timeout: 248 seconds]
hamakn has joined #ruby
<Spooner> Discordian93, You probably want str.gsub! /[^a-z]/, ''
<heftig> Discordian93: str = str.tr 'a-z', ''
<Lewix> gsub /[^a-z]/, ""
<heftig> er
<heftig> Discordian93: str = str.tr '^a-z', ''
<popl> Spooner: what about uppercase?
<Lewix> however the regex will not take into consideration numbers
<popl> or numbers
<Spooner> popl, Didn't ask for upper case.
<popl> Lewix++
<popl> Spooner: Discordian93 didn't specify one way or the other.
<Spooner> heftig, Pretty sure tr doesn't work like that.
codingclouds has left #ruby ["Auf Wiedersehen."]
<heftig> >> "foobar baz qux!".tr '^a-z', ''
<eval-in> heftig => "foobarbazqux" (https://eval.in/38820)
<Spooner> popl, Discordian93 was pretty specifci about a-z. If that isn't what was meant, I am not psychic.
<popl> Discordian93: there's a lot to consider. You need to provide more specifics.
<popl> Spooner: sure
S0da has quit [Ping timeout: 256 seconds]
burlyscudd has quit [Quit: Leaving.]
<Discordian93> I'm sure there are more elgant ways to do it, but I just crated a variable with the input string.downcase to deal with uppercase
<popl> we don't know that because you haven't provided any data
<Lewix> foobar.gsub /[^[a-z]/i/, ""
<heftig> >> "foobar baz qux! Braaaz".tr '^a-zA-Z', ''
<eval-in> heftig => "foobarbazquxBraaaz" (https://eval.in/38821)
cj3kim has joined #ruby
S0da has joined #ruby
<Lewix> Discordian93: i takes care of the uppercase
hamakn has quit [Ping timeout: 248 seconds]
bluOxigen has quit [Ping timeout: 246 seconds]
<Discordian93> it's just a simple function for an exercise, just wondering how to apply the regexp for my task, gsub is what I needed, thanks!
<popl> heh
<heftig> Discordian93: tr should be faster
<popl> Discordian93: good luck on the rest of your homework
<popl> :)
Astral_ has joined #ruby
<Lewix> Discordian93: foobar.gsub /^[0-9a-z]\Z/i, ""
rupee has quit [Quit: Leaving]
jerius has quit [Read error: Operation timed out]
<Discordian93> I don't think I have to check for numbers, but will do anyway
baordog has quit [Remote host closed the connection]
<popl> Discordian93: Can you credit #ruby in your answer?
<popl> I want a gold star.
<Lewix> Discordian93: actually that it will look for alphanumeric characters and replace by " ". you want the opposite of that
vlad_starkov has joined #ruby
Xeago has quit [Remote host closed the connection]
<Discordian93> not really, I can't really credit anyone, it's for the saas class and I'm actually allowed to ask for help on the internet as long as I don't share code
axl_ has quit [Quit: axl_]
<Discordian93> (since the whole point of teh homework is to learn ruby and all that)
<popl> You're not really learning though, are you? :)
<popl> You're asking people for answers.
Astralum has quit [Ping timeout: 276 seconds]
soulcake has quit [Read error: Connection reset by peer]
<gazarsgo> popl: i don't think you can "learn" that gsub is the name of the string replace function, personally
<popl> Which SaaS class?
<Discordian93> edx
<Discordian93> mooc, not an actual college class
<popl> gazarsgo: sure you can
<gazarsgo> no you can't, it's trivia not learning
<popl> the word mom is the name of the function that births you and feeds you when you are a baby. how do you learn that name?
<popl> or is that trivia too? :)
pentameter has quit [Read error: Connection reset by peer]
<popl> I think you're talking about learning by rote though, is that right?
vlad_starkov has quit [Ping timeout: 246 seconds]
hanmac2 has joined #ruby
kofno has joined #ruby
<gazarsgo> i draw a distinction between memorization vs learning is all
<gazarsgo> i guess it's mostly semantics
soulcake has joined #ruby
<popl> so the answer to my question is yes then
<popl> :)
<gazarsgo> learning by rote is distinct from memorization
<gazarsgo> to me that just means you don't know the why and how of something, just the action
<popl> how so?
<popl> how is that required for memorization then?
<gazarsgo> like you can learn arithmetic by rote, and later understand the mathematics
<popl> Would you say memorizing times tables is learning by rote?
tommyvyo has joined #ruby
Drakevr has quit [Ping timeout: 260 seconds]
<gazarsgo> yep
atyz has quit [Quit: Leaving...]
<Lewix> Discordian93: foobar.gsub ^[^a-z0-9]\z, " " is more like it.
michaeldeol has quit [Remote host closed the connection]
crazysim has joined #ruby
<Discordian93> guys, you are blowing this out of proportion, i didn't know that gsub could get a regexp as an argument and I was confused about how to go about it, seriously let's not turn this into a debate about the nature of learning
<popl> Discordian93: get over yourself. we just went on an interesting tangent.
<popl> :)
<popl> don't tell us what to talk about :P
Banistergalaxy has quit [Ping timeout: 268 seconds]
<Discordian93> sure :P
hanmac2 has quit [Ping timeout: 256 seconds]
<Lewix> I guess I didn't help
<popl> nobody can help Discordian93 but Discordian93
lnormous has joined #ruby
<Discordian93> you did! thanks
<Lewix> Discordian93: anytime
<popl> gazarsgo: http://dictionary.reference.com/browse/rote+learning?s=t # foiled by the dictionary ;)
Banistergalaxy has joined #ruby
<Discordian93> damn you ruby guys ARE philosophical
jmimi has left #ruby [#ruby]
<popl> fwiw
<popl> Come back later when someone is talking about cocks or something.
enebo has quit [Quit: enebo]
sambao21 has quit [Quit: Computer has gone to sleep.]
<Discordian93> haha
goleldar has quit [Read error: Operation timed out]
<Discordian93> "the zen of cocks"?
S0da has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 240 seconds]
<gazarsgo> popl: jeeze, american heritage stedman's medical dictionary? c'mon
splittingred has quit [Quit: splittingred]
goleldar has joined #ruby
airlok has quit [Remote host closed the connection]
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
kofno has quit [Ping timeout: 256 seconds]
<popl> gazarsgo: I was going to scour the NIMH site but decided not to.
<gazarsgo> is dictionary.reference.com even trying anymore
<popl> What's wrong with Stedman's?
fuhgeddaboudit has quit [Ping timeout: 246 seconds]
optimusprimem has joined #ruby
devoldmx has quit [Ping timeout: 268 seconds]
kjeldahl has quit [Read error: Operation timed out]
gazarsgo has quit [Quit: gazarsgo]
RichardBaker has quit [Ping timeout: 240 seconds]
RichardBaker has joined #ruby
RichardBaker has quit [Client Quit]
Dekade has joined #ruby
S0da has joined #ruby
sambao21 has joined #ruby
burlyscudd has joined #ruby
rgreen has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
goleldar has quit [Ping timeout: 256 seconds]
jonathanwallace has joined #ruby
goleldar has joined #ruby
<Discordian93> mmm, is there a way to open a file from an interperter to check and execute its fucntions from there like with idle in python, but for ruby?
larissa has joined #ruby
Lewix has quit [Remote host closed the connection]
nomenkun has joined #ruby
_maes_ has quit [Ping timeout: 246 seconds]
rhys has quit [Quit: Leaving]
tealmage has joined #ruby
S0da has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
xavier23 has joined #ruby
<xavier23> WTF happened to rubydoc.info ??
storme_ has joined #ruby
codecop has quit [Remote host closed the connection]
noname001 has joined #ruby
cads has quit [Ping timeout: 264 seconds]
storme_ has left #ruby [#ruby]
kaspergrubbe has joined #ruby
kjeldahl has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
mary5030 has quit [Remote host closed the connection]
alex__c2022 has quit [Quit: alex__c2022]
<xavier23> Its back...
kaspergrubbe has quit [Ping timeout: 264 seconds]
nezumi has joined #ruby
JZTech101 has joined #ruby
tjbiddle has joined #ruby
Wearos has joined #ruby
michaeldeol has joined #ruby
v0n has joined #ruby
wmoxam has joined #ruby
michaeldeol has quit [Remote host closed the connection]
michaeldeol has joined #ruby
guiocavalcanti has joined #ruby
hasrb has quit [Remote host closed the connection]
KillerFox has quit [Ping timeout: 248 seconds]
rgreen has left #ruby ["Konversation terminated!"]
saintcajetan has quit [Ping timeout: 240 seconds]
nathancahill has quit [Quit: nathancahill]
Cyrus has joined #ruby
bondo| has joined #ruby
gemmy has quit [Quit: leaving]
noname001 has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
madumo has quit [Ping timeout: 248 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
Al_ has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
Al_ has joined #ruby
nanoxd has quit [Ping timeout: 276 seconds]
Lewix has joined #ruby
<Lewix> Discordian93: irb
<Lewix> load 'filename'
anonymus_ has quit [Remote host closed the connection]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
<Discordian93> thanks
mmitchell has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
saintcajetan has joined #ruby
Notte has quit [Remote host closed the connection]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
ndrei has quit [Read error: Operation timed out]
wmoxam has quit [Ping timeout: 248 seconds]
Al_ has quit [Quit: Al_]
mmitchell has quit [Ping timeout: 264 seconds]
staafl has quit [Ping timeout: 248 seconds]
greenleaf108 has joined #ruby
TonyMergue1 has quit [Read error: Connection reset by peer]
jgood has quit [Quit: Page closed]
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
hanmac2 has joined #ruby
pkrnj has joined #ruby
sambao21 has joined #ruby
louism2wash has joined #ruby
<louism2wash> Hey everyone, what is the this syntax something::something
<Nilium> :: is a scope resolution operator.
tealmage has quit [Remote host closed the connection]
<onewheelskyward> That's accessing a static something.
jztech101_ has joined #ruby
<onewheelskyward> Here's one I didn't know for a while- ::Object is global namespace scope when you're in a namespace.
<Nilium> I get a lot of use out of that.
<gchristensen> onewheelskyward: how is that different that just ::?
Levin_22 has joined #ruby
sambao21 has quit [Client Quit]
<gchristensen> ::SomethingInGlobalScope
hanmac2 has quit [Ping timeout: 256 seconds]
wsterling has quit [Remote host closed the connection]
<onewheelskyward> I've only had to use it once.
JZTech101 has quit [Disconnected by services]
n_blownapart has joined #ruby
jztech101_ has quit [Read error: Connection reset by peer]
<Nilium> http://stackoverflow.com/questions/5032844/ruby-what-does-prefix-do ← This'll probably explain most of it.
Spooner has quit [Remote host closed the connection]
JZTech101 has joined #ruby
danbeck has quit [Quit: danbeck]
<louism2wash> So if a class is defined inside a module, how do you access that class?
goleldar has quit [Ping timeout: 256 seconds]
n_blownapart has quit [Read error: Connection reset by peer]
n_blownapart has joined #ruby
dclist has quit [Read error: Operation timed out]
tealmage has joined #ruby
<Nilium> louism2wash: Depends on where you are.
renderful has joined #ruby
lnormous has quit [Ping timeout: 256 seconds]
<Nilium> Or rather where the access is from.
smathieu_ has joined #ruby
goleldar has joined #ruby
<louism2wash> Nilium: agh, very true
<Nilium> In general, ::TheModule::TheClass will always work.
<Nilium> But you won't always need to type out all that.
smathieu has quit [Ping timeout: 268 seconds]
<Nilium> Hm, been running this ruby script for a while and it looks like it sort of caps out on memory allocations at 86mb
BillCriswell has joined #ruby
<Nilium> Hm, no, going up again. Wonder how long I should leave it running.
<Nilium> Yeah, looks like it's just going ti sit in the 80-90mb range.
<ntzrmtthihu777> anyone using Eclipse Kepler? It seems that RadRails is not available for it since indigo
threesome has quit [Read error: Operation timed out]
RubNoob has joined #ruby
<Nilium> I should probably document that the axis used when creating a rotation matrix is not normalized..
<Lewix> 16:20 Nilium: But you won't always need to type out all that. what do you mean
periaortic50 has quit [Quit: periaortic50]
therod has joined #ruby
<Nilium> Lewix: If something's, say Foo, is already in scope, you obviously don't need to type out ::Path::To::Foo.
Marsthemanwithth has quit [Read error: Connection reset by peer]
<Lewix> Nilium: agreed
blenheim15 has joined #ruby
greenleaf108 has quit [Ping timeout: 264 seconds]
s00pcan has quit [Remote host closed the connection]
twoism has quit [Remote host closed the connection]
dagnachew has joined #ruby
<louism2wash> Nilium: If a class is defined inside a module and another module is defined inside a module, are the class and module defined inside another module put in scope using '::'
Marsthemanwithth has joined #ruby
<Nilium> I couldn't tell you anything without actual code.
<louism2wash> so class SomeClass and module SomeModule are defined in module ParentModule
jasonsmr has joined #ruby
<louism2wash> ParentModule::SomeClass
RichardBaker has joined #ruby
<Nilium> Again, I'd recommend reading the question on SO I linked.
Fire-Dragon-DoL has joined #ruby
<louism2wash> ParentModule::SomeModule
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<Fire-Dragon-DoL> Are there any way I can create a class variable (or something similar) which value is inherited by subclasses, but if changed, it doesn't change the super class value too?
twoism has joined #ruby
brennanMKE has quit [Remote host closed the connection]
jocke_pirat has left #ruby [#ruby]
saarinen has quit [Quit: saarinen]
<heftig> Fire-Dragon-DoL: use constants
<Fire-Dragon-DoL> I need to be able to edit those
<heftig> >> class A; B=1; end; class A2 < A; end; class A3 < A; B=3; end; [A::B,A2::B,A3::B]
sambao21 has joined #ruby
<eval-in> heftig => [1, 1, 3] (https://eval.in/38836)
ehc has quit [Quit: ehc]
pitzips has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 256 seconds]
ephemerian has quit [Quit: Leaving.]
Mon_Ouie has quit [Ping timeout: 240 seconds]
tomzx_mac has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
jonahR has joined #ruby
fredjean has quit [Quit: Computer has gone to sleep.]
<heftig> >> class A; class << self; attr_writer :b; def b; @b || superclass.instance_variable_get(:@b); end; end; end; class A2 < A; end; class A3 < A; end; A.b = 1; A3.b = 3; [A.b,A2.b,A3.b]
<eval-in> heftig => [1, 1, 3] (https://eval.in/38837)
<heftig> Fire-Dragon-DoL: there
nanoxd has joined #ruby
saintcajetan has quit [Quit: Leaving]
<louism2wash> is an Enumerator any data structure that can be iterated over?
<Fire-Dragon-DoL> heftig: @b || superclass.instance_variable_get(:@b)
<Fire-Dragon-DoL> that's what I was missing
<Fire-Dragon-DoL> thanks a lot
<heftig> louism2wash: no, those implement Enumerable
<heftig> louism2wash: an Enumerator encapsulates an external enumerator, which is also Enumerable
<heftig> s/implement/include/
goleldar has quit [Ping timeout: 240 seconds]
s00pcan has joined #ruby
jasonsmr has quit [Quit: Lost terminal]
<superscott[8]> i like their definition, and the different examples
choobie has quit [Remote host closed the connection]
tylersmith has joined #ruby
realDAB has joined #ruby
Deele has quit [Ping timeout: 240 seconds]
<Radar> apeiros: around? Can you PM me?
BillCriswell has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 240 seconds]
huttan has joined #ruby
goleldar has joined #ruby
tylersmith has quit [Ping timeout: 248 seconds]
Kruppe has joined #ruby
predator217 has joined #ruby
niklasb has quit [Ping timeout: 268 seconds]
emergion has joined #ruby
Guest22110 is now known as ixx
predator117 has quit [Ping timeout: 268 seconds]
CubicE has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
brennanMKE has joined #ruby
nari has joined #ruby
asobrasil has left #ruby [#ruby]
jacktrick has joined #ruby
jonkri has joined #ruby
BRMatt has quit [Ping timeout: 246 seconds]