mengu has quit [Remote host closed the connection]
<noob101>
oh god no oh god oh no, stack overflow, I don't know how to read the information on the page.
Hanmac has quit [Ping timeout: 240 seconds]
<noob101>
It's super confusing to my pupil.
<DouweM>
lol
<DouweM>
you're gonna get used to it
<DouweM>
you gotta, even
tcurdt has joined #ruby
<noob101>
I will try though, thanks shevy
<DouweM>
wha confuses you about it
<noob101>
fine :(
Xeago has quit [Ping timeout: 276 seconds]
<shevy>
noob101 you only have to look at the first answer
emaxi has joined #ruby
<shevy>
case a
<shevy>
when 'xyz', 'abc'
<crome>
but I would simply hit people who ask things like 'How do I write a switch statement in Ruby?' in the face
<crome>
with a chair
<shevy>
you are rather violent crome
<shevy>
I like that
<DouweM>
yeah, it's a terrible question
<noob101>
I guess the interface, the way the website works. I just don't know what to read, too much answers
<DouweM>
someone even tagged it switch-statement
Bumptious has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
<DouweM>
noob101: the main parts are the question, and the top answer. questions and answers can be upvoted, and the highest voted (i.e. "best") answer will be at the top
<noob101>
shevy can you make a quick case, when program using pastie please?
<noob101>
I think I will get it if I take a look at it.
<shevy>
yeah
sski has joined #ruby
<noob101>
DouweM: Thanks
<DouweM>
shevy: use the gist, we gotta indoctrinate this kid with GitHub
<shevy>
the version _before_ the redesign was best
<DouweM>
redesign? hadn't seen that yet
phinfonet has joined #ruby
<shevy>
it's always that way... redesigns end up worsening things :(
<noob101>
I have a mentor who is teaching me programming and Github stuff. But he is mainly focus on teaching me Git strongly.
<DouweM>
I like that Gist is just Git and can be forked etc. you can even pull the gist git repo
mikecmpbll has quit [Quit: i've nodded off.]
<DouweM>
noob101: good mentor
<noob101>
We went over git, he kind of explained to me directories, repositories, how to make files, push them into Github server. It's interesting, I love it!
fabrice31 has joined #ruby
tcurdt has quit [Client Quit]
emaxi has quit [Ping timeout: 245 seconds]
<noob101>
DouweM: Yes, thanks. I like him, we use screenhero.
<shevy>
I hate git
<shevy>
github is cool though
<crome>
you will love rebasing and cherry picking as well!
<crome>
I love git <3
<DouweM>
shevy: gtfo
<DouweM>
noob101: cool
<shevy>
DouweM a million commands for things I don't need
<DouweM>
`rebase -i` is the shit
<DouweM>
shevy: what do you use for scm?
<crome>
Imsure he uses cvs
<shevy>
DouweM I dont use one
<crome>
oh
<crome>
:D
<crome>
he uses cp ;(
duggiefresh has joined #ruby
<shevy>
I do of course have so many backups that it's almost like git
<Hytosys>
do you just store all of your source on clay tablets??
momomomomo has quit [Quit: momomomomo]
<DouweM>
shevy: you know that sacreligous here right?
ukd1 has joined #ruby
Royalb15 has joined #ruby
<shevy>
DouweM dunno, for a project like the linux kernel git makes a lot more sense than for my mini gems with one class per gem :D
fubelly has left #ruby ["Leaving..."]
<noob101>
what does this mean? /hel/
<DouweM>
shevy: not if you ever want to compare your code with a previous version
<shevy>
noob101 the // is a regex check
<crome>
noob101: its a regular expression
<shevy>
DouweM why would I need to do that? code that I wrote before will always be more complicated than code I write lateron as I aim for maximum simplicity :D
<noob101>
so is it just checking for those sequence of characters? "hel
<noob101>
"hel"?
<DouweM>
shevy: ah yeah, you want to be paid by reverse kLOC :P
<shevy>
noob101 if the variable contains these three characters
<DouweM>
*inverse.
<shevy>
DouweM well, of course we need code if we are to make features
<InfraRuby>
DouweM: how much for hello world?
<shevy>
and features are very much needed
<shevy>
I just don't like adding code in general :P
<shevy>
noob101 yes exactly
<DouweM>
shevy: your activity here vs the amount of Ruby you actually do would be an interesting graph as well
<shevy>
noob101 but it was just meant as example, try to add a new check to it
fabrice31 has quit [Ping timeout: 252 seconds]
<shevy>
DouweM hmm that would be a hard question
<shevy>
most of the time I do only small changes
<shevy>
the larger projects suck so much time away :(
<noob101>
crome you are so sweet, thank you for googling that for me.
<shevy>
and i is the variable
<crome>
you are welcome
<DouweM>
lol
yfeldblum has quit [Remote host closed the connection]
wethu has joined #ruby
<noob101>
i is the variable, got it.
<shevy>
noob101 of course you can use if and elsif too
<DouweM>
I'm annoyed that lmgtfy doesn't advance the cursor
<shevy>
but try the case menu and see if you can do the same thing shorter
<noob101>
so why does case exist, what is it's significance?
<shevy>
DouweM what is your largest project in ruby?
<DouweM>
stinngo.com
<shevy>
noob101 ok for instance
<crome>
noob101: the point I was trying to make is asking very general questions about ruby syntax is not going to take you far, you might as well look up a few articles about ruby basics on google
<shevy>
noob101 consider you want to check if your variable is 'cat','dog' or 'horse'
<shevy>
noob101 please show me the code you would use for that
senayar has quit [Remote host closed the connection]
<noob101>
only 'cat', 'dog', or 'horse'?
<shevy>
yes noob
sailias has quit [Read error: Connection reset by peer]
<shevy>
DouweM ok but I have no idea how your ruby code looks!
sailias1 has joined #ruby
sailias1 is now known as sailias
<shevy>
I mean
<shevy>
it could all be in php
<shevy>
:)
<DouweM>
shevy: it's a pretty large Rails app :P
yfeldblum has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
<noob101>
I would use else and if statements and I dont know php
<fredder>
H ' W D E K 8 P F = B m 4 0 ` @ " ) N A X * ^ = k @ ` / o m v L A J S x . # } u = m R & i L x n
<fredder>
^ Q U p
<fredder>
m j j i ~ : + c h ? N 1 l = ; ) - P C ~ g . " G Z L _ ` S a I D n 7 n L H r p W r ) G ] [ n o l g
<fredder>
( > n ! # z H r K ? y ` ( = c b } ! s I [ G U d u - G J g u X | Z * b s _ ' p e , g W ' i > o : ? b F
<fredder>
{ > d f
<fredder>
W #
<fredder>
# 8 d ? l : t ) a B ~ s . x " * k s ) * ! I h y l { & , G b E 2 + C v H O w I 0 z T * i 8 ~ ; %
<fredder>
X F % O - | 4 C | Y X z j 8 v O \ k - d v ] Q % J E 4 T < ! d l + x U I ] O G Z : C ' Z n i z
<fredder>
A l w
<fredder>
k H ( H
<crome>
yey
<fredder>
I 1 q Y m o > r = _ + ! r 8 l / , 6 T q n n : h 2 i ] [ " P c c I h H k s U \ ( ) s ; } = & C
<crome>
party time
<fredder>
% f k G
<fredder>
j / F h 8 R n i G f i U M > I [ X w F T - g ! n F 0 u = K V K h " ^ U m i / d $ { t K @ L $
<DouweM>
noob101: let me introduce you to a spammer
<fredder>
e d i v
<fredder>
< h _ d % & # Q H j ' O o Q _ ! > 3 R Z w c m [ l V c @ a \ _ [ ) b z f ^ k G Y M Z 9 ] o K J 9 J
<fredder>
\ P } M
<fredder>
s P _ p ` b = b C + n } s r ~ \ b \ & Y h C s s / m f c w i a # s l ) , . P A p M ? 5 F B x l 2 <
<fredder>
f w Y
<fredder>
i % l < a g N o _ u R u K F ` 9 ( . u u K R d 5 h c ( ] Q C K . y y H w ) % f B K ! K " 5 w v
<fredder>
K ~ 9
<fredder>
V L Z [ x M V - N d G [ # 2 H X f 8 n ? \ x S S # K M ' o H ( c | O I r @ ] + l \ ] i r O L H S
<fredder>
` I + F
<fredder>
U % & & i _ n B ] f _ C / 4 1 ) Y c 3 $ ? q J l Q J D u m G a > ? K b ; W x z ~ : # o C f ` / D H
<fredder>
m S D
<fredder>
R A . s K < M { A D T L k | + M 6 L c . r d c k a y { # e { $ X w V D e g " J T & D } _ c % ? G \ C
<fredder>
U ) \
<fredder>
> o O u ! , t : B f * O D a 3 a w Q & \ + u ( h u Y @ ? ! @ / z b ) g x ? o ; { _ g Y o M d
SilkFox has quit [Ping timeout: 240 seconds]
<fredder>
c ` K N
<fredder>
& w n * % S , = J ; ' C f ` v + [ # ~ F ; > N , _ S # I : b + o ; ! A a t A G U a { i A r '
<fredder>
R L - g
<fredder>
+ / K : E - ( D n U M k n N , P h X = Z ! \ S d $ E q k d O { T w D a \ : q j G C % p 5 W x i '
<fredder>
n . "
benzrf|offline is now known as benzrf
<fredder>
o o w { * c v / G h ! % k L 5 ? q y L C + B g [ Z K Z V " D s # G Q z C N t ~ E ; s f G q + { 7 |
<fredder>
[ . R B T
<fredder>
O m | B c { 6 I Q ' ) : Q p ` A % Z h u ! D t F 2 { Q < Z a ( x f c ? d @ ? N i 2 @ ? Q M T * N - : g
<fredder>
c O m J
<fredder>
Q = e y & = [ O J h g * Q k w + a @ 5 e ] 6 K | G | i D + g \ U j Z @ G Z + p S / ` ? B Y J 2
<fredder>
. Y r )
<fredder>
p T m j M l r C w A ( > < ? 0 m s a = " X h S / g = A Y R } Z @ P q > { j F y w J X ? m @ -
<fredder>
8 u \ , }
<fredder>
z O # } > t $ Q I d i b k % ! d @ _ y O k x a T . V [ / Y k } w . l Q r = u o | ] W V n } > W u
<fredder>
/ ^ f /
<fredder>
) 4 W i t O ! W R ` 5 5 i 7 E Y | [ @ ~ d g + T e ~ g : K ' + M ^ / s t j J P ' o R ^ z B d _
<fredder>
Q G m v B
<fredder>
@ 8 [ z A e D 7 Y > U ^ i > o e l / B O ) 3 ^ @ V { T c t p , d W q " : w ' { j [ Z t c @ < %
<fredder>
j L c } F
<fredder>
N B $ m l ) ? Y X W O = r - ( T , w \ y I d x V F l V 5 B T H : ^ ` a 4 Y m - X [ y P
<crome>
Ithink its valid perl
<fredder>
/ V K . v
<fredder>
_ X g B X & R N > S C Z p L F T j J C { L > e | ~ q t > 4 r z . O b , 1 , 9 u N * $ ! N u $
<fredder>
* # +
<fredder>
E Y , l ! % d X S R F v # * 5 z M m " v p t \ S P 2 > n * B > B j c . T W ] E " s % V J |
<fredder>
Y l r h
<fredder>
d m $ z l ; N | f B ~ e ` J G A " h Z V Z L q t a S ` | f m a x l ( P - > ^ % X D ~ O E > p ? $
<fredder>
X A y }
<DouweM>
haha
<fredder>
V ( ; f V s ! o V Q J x h R 2 F G [ W i a " < C u " a > q ; m H { n c e ^ Z j \ F L F - s \ 9 0 q i
<fredder>
^ < V
<fredder>
D h # V < X , f u G u Z q " B b y % @ u P > = . H $ E u R j l b & + q W > ? y p v n " @ X d
<fredder>
s 5 m t
<fredder>
' E w g J I ( Y F p T y L [ ` = S ! E E j v s i & ; j - A @ i a P q ^ A Q g ^ c > c C @ * N < U [ [
<fredder>
m O
<fredder>
# : x V { & N | Y & # L ^ 6 ' * G { & n K ` B R L a ] Y & f : ^ M l # ` = G l W ? Q I h q ! U 8 B M .
<fredder>
v J g e o
<fredder>
s k s \ ! E f ) i ) t @ J [ U & < l l 7 r , R | _ , M X \ O [ s O E " F e V \ _ L d + $ * ~
<fredder>
o ` { 2 O
<fredder>
S L ^ k . N F e Y m , = 1 ' f [ @ i J S - R Y D t N I \ a ' Z ) D Y $ h X ! g Z C T u T f ^ e
<fredder>
m 1 m y M
<fredder>
+ ` [ ' Y Q c & 5 T o G r } i w ? M L 1 $ D q R i l % ^ J x u i n ( m c : = + y H 3 ) s K r # A
<fredder>
F G X o
<fredder>
3 H y w V 0 ] X R * < < @ , w @ ! B R W G ' A K # ) k B A . \ V p F # F I F % r n N { V b P z
<fredder>
F F Z V
eka has joined #ruby
<fredder>
g | ] D * U I n y | U l Z a 0 C ? t p n [ K T \ y 1 < O P G D q X 1 S B % q b " f h % z { * + C
<fredder>
V w _
<fredder>
D Q X C z k W T p > X $ C t * ! ~ | t Q . f J 7 t ! > Y V K ) W ~ F x Y Q T ] } m j A X > \ l P v z } :
<fredder>
b l b
<fredder>
C W p . / L % A Q < u m q ] e u B c & d # E 8 ' i z $ , : 3 X H d s x B [ k t ~ k l o H X E b t I
<fredder>
w . ? t /
<fredder>
W i w H k / D 6 u A a d r # x ? S T p q ] j # b p < < H " / , / j K E O r ) p i h > a R m
<fredder>
G M ~ 0 2
<fredder>
X a _ $ 9 i ? k f | z ; L p v U k P q % s X ! w 2 r $ . y # Y V v L 1 O o q U ^ - y l _ [ " $ L
<fredder>
: p y V ]
<fredder>
e ( g s c 4 w < E : x b # N K [ ( + P Q - j F N W : # = Z 2 u b : h ~ v = \ ~ w u x & s
<benzrf>
:(
<fredder>
C = > 5
<fredder>
$ L > Y ] = . C ? ~ F u / R = n F m m c " A a a { [ P < Q m " N i g ' O + @ g ) b [ > 4 } % S A
<fredder>
x , }
<fredder>
b b ( X D . ; C g ; J ; D r S y l G W < B x u d e / Q _ V B p v G K 9 y n h # % J A R N " / ~ /
<fredder>
V T k Q .
<DouweM>
I'm seeing a lot of emoticons in there
<fredder>
\ ~ ! y t T G W C { { m } a a + G i 8 l f + + = [ \ \ * w s # ` > ^ " & F w ' o m = R I ! r t
<fredder>
) E U
<fredder>
r 9 ] " V n O I T l > p Z A Z ' I V e ) y 3 ? C H L o x T i ; O ( | , @ { b x B O B p ` [ S c
<fredder>
f ! P . A
<crome>
I hope it doesnt fill up the free space in my server
<fredder>
v p " S f * O & S A W z e . _ w w s K U k ~ ? U @ e U < < _ Q F T x y > 4 V P * H m f z > T
<fredder>
M } ( 4
<fredder>
} x @ Y < P - u " f + } < G > S c L D T + S k w < @ . | y i u l z * ^ + X c ? e ~ O H R p W .
<Rydekull>
fredder: give it up
<fredder>
E + T
<benzrf>
what the fuck is this
<fredder>
W C % j X M ~ ' t v G ~ Q , F D ` X R ~ , @ / V x ` ( ! A { c ] w j K M U 6 p ^ a S ^ ' ! A 5 > \
<fredder>
! Q O U
<fredder>
w S x u q 7 y v x B Q 5 c = < n D p A n O C @ [ l P > B ( V : # D b R / O % : n = Q C d N H ? [ } x
<fredder>
% F ] K A ;
<fredder>
- ' T s y ! q L S = v 0 V F 6 $ X b x P i # ) K [ ) = t @ ' x o l * X - J m % | p - P ? c " P o
<fredder>
> W U
<fredder>
@ + < * G v Y s w ` [ e 9 O / % { / { e G w m - } z e ) } 8 O $ " J & b { v ( ? J > c - ! X * f
<fredder>
# U
<fredder>
f , ' U P x - o ) ~ u H $ U < & : [ * K @ ~ ~ V V [ / & E J ! _ & & T V P p i - g o T s X : I & e t ' q
<fredder>
, i ` 2
<fredder>
H , * # z G ~ X Y R u 9 = y & X p U # > O Y # , c = " l b . r { ( j o P & A r " Q D s J f C
<fredder>
x B < 6
<fredder>
N * $ s 1 Q z 0 ] b P - O o S U * S A i L 1 ' Z J b m B T | , 8 z F p Z b q x w R 5 J \ A } [
<fredder>
i j b C '
<fredder>
" c & % & < & : = 7 | w R ' W A } t ' i w y . ? W e r # * B * b z b E ` / D . v l U w , } F ! V
<fredder>
m , % ~
<fredder>
M S : { ! R J * J H H ] W X d e N $ I > = { D ^ U ) : O P ; u A < _ J t A 7 h > d $ z ' x y r % o "
Hanmac has joined #ruby
<DouweM>
shevy: they should make you an op, you're always here
<fredder>
% ) } {
<fredder>
u 4 # r W ^ K x > u ` ! A T M v b ^ a } / K J J > m A 1 x J \ E r } | ' @ 2 a Y _ j ] w
<fredder>
Q } N , O
<fredder>
o < D { [ ? p @ ] a Z x = c 1 = P ! U h q & o B $ h h \ Q } d D n w b _ o 2 = 6 . Y & y Z e d
<fredder>
J s "
<fredder>
V x L : Y h n ? ~ | _ 8 f ) & - ] G F M J / ? @ g Z I d ] w u ' r ) { x W / o . T b W b M T
wethu has joined #ruby
<fredder>
/ 4 o B *
<fredder>
I U v x @ } { " / G E ? g m e G 9 , p t + c # $ " 3 > ; N B ; p ] d E d 8 Q h 4 U 5 G ? } G d 6 ( ~
<fredder>
Q d ; m
<fredder>
6 ' d * ~ z ( P + % : > | q | X c h 8 l G Y F ! - p e ` x / : ' o N _ M P R * l ` w V )
<fredder>
| ;
<fredder>
e ! } C z V z V > Z u > ( V H q K G N - f Z q I G m N T e X P Q & # = 3 j / m R R ~ ( I ! ( S M
<fredder>
= f ~ "
<fredder>
- J } o L ) x x p E - Q y A S N A n C d u J [ d O b a O r - u h I s N \ g Z S | ^ | s G | s [ g
<fredder>
p F ] ^
<fredder>
S . [ ) V W r % 1 ^ U ^ D ' " & M T # Q j O t P ! y W q _ , n j z i ! Y S 0 r 2 J F e * L I
<fredder>
( I . c S
<IceDragon>
._.
<fredder>
] e R ' Y @ $ - d P ] ' \ T t B x = c 4 a [ , ] z 6 x H l B q ) l } g _ D # C ' = r 8 u Z
<fredder>
Y e j q S
<fredder>
J S j x C * ^ / < o % F m | v ] c G G g X w k v U u D ~ < } S M | j U B W + C , a X $ X j > Z h +
<fredder>
y w p
<IceDragon>
wtf happened here
<fredder>
` [ 4 t " ` x } = e . " & ! a e W z S l i a Y $ x + ! 1 @ y , - W z # L { 4 s ] K E < X ` M
<crome>
DouweM: such a nice way of saying that someone doesnt have a life!
<shevy>
lol
<fredder>
> u ; / ]
<IceDragon>
someone quick
<fredder>
, & w = K T g n Y = 4 I W < O 2 y V ? a = i H z E c k D h X R 9 b " P ) a e ' [ N G c % y i ! g p h
<fredder>
t z - F d
<IceDragon>
shevy: SAVE US
<fredder>
s & H A $ & / C B I S y P T K a g : R < Y c " o E j 0 P m f e { q X x S T M u L x X l B m C = 5 ?
<fredder>
b " : E
<fredder>
# p g B K a t V o d e H C a " / p U z G V m s 1 B W ? \ D d m R u E > g c m D [ V r A ` O N v Y
<fredder>
s < A o ^
<fredder>
v n | % 4 _ J t y 9 P \ ! | S A ~ < u E y q [ R R K i m , d M j p R t p b . & f L . G J R O
<fredder>
\ n * :
<shevy>
what shall I do
<fredder>
N r W ( X q > < O = t E V ? - r k { J K e < ? & b ' m j $ Y L } H i u g ^ W T Z t ! F & H } g l u I
<fredder>
s t N w
<shevy>
fredder die
<fredder>
) + k & X 6 M } O o n - 4 k % n l Q t l H / | P g 4 I L 2 r ; u Q H p R L P J E } a ? : S S
<fredder>
K x N X
<fredder>
c R Y 1 @ " , @ } ? ~ g m 1 % w ( 0 # . ~ b N | C $ < ) I " : ~ ) + ) = [ M ~ W a & B P ! m 6 v
<IceDragon>
I DUNNO, GET THE FLAME THROWER!!!
<DouweM>
crome: well, I'm the #5 most active user so what does that say about me
<fredder>
A e r V d
<fredder>
u y [ U z _ n & + I 7 a B B [ n ? = y N a } F _ ) 9 m D 1 Y " $ * N v H Q p * _ s * Q ; m g
<fredder>
/ - I ,
<fredder>
v c w E & H ~ W I m g , @ [ t = } L ; j F 9 B U B u H ~ a N v g _ : H 0 h r \ [ w O O S G a p m g
<fredder>
^ ? 1 &
<fredder>
R g B U a 5 z Z # q } L + C s < u k _ M q > V ? M I - j ' { 3 E - V t 4 Q R - V P Y U a N B # @
<fredder>
+ D l
<crome>
DouweM: fair enough
doge has joined #ruby
<fredder>
l k q * p ` F P c ` E C i G V _ U = D { L K o f r & x < a } ! $ / { ! a l F x B T v Q t r * .
<fredder>
l t h
<fredder>
t c / 7 o > I r q Q - F c S m F * b & A ` ] t s r Z Z / ? @ e Z w A ( l X _ t ' > < A < Q
<DouweM>
this is the weirdest bot I've ever seen here
<fredder>
` [ x 8
<IceDragon>
doge: can I haz coins?
<fredder>
fredder, reeder! Fredder reeder roadie!
<noob101>
What is a repository again, dumb question right. I forgot sorry.
<fredder>
/ < \ ^ Y Q D Z ; $ + " _ f . < N ( N k \ * ` | F R a l x S ( & p * ] = r R M x * G s X Y J
<fredder>
D P l
<fredder>
: q d Q d b B X ? p D E P I Y b D 6 + h + o I \ { : J 2 @ f P ! _ = * , 1 p H I Q d E * J
<fredder>
Q q > /
<fredder>
' ( T : b 2 D p ! r R p % S R q h E _ , N o * * a 6 t > D f D F B x r E = F w : i " H - { ! Y f s
<fredder>
) b 7
<benzrf>
im allegedly the 3rd most active by chars
<fredder>
e $ P t . o K ` V | u g S = R c > ` L l L > > m 1 e Q G F C $ d X = g P L = C ' " | X b > { K
<DouweM>
noob101: it's a git term, look it up
<fredder>
k R x H e [
<benzrf>
#2 by lines
<fredder>
1 i : @ M p 8 g { * % N L ~ , @ i 9 U - q r m w E Q % , F U ; > O r g k F ( / | : : " h S : % C =
<fredder>
+ D c U
<fredder>
f S N < H { v / ) e } D K : R J J J U j , @ } T - b % Z : j a x O A d \ ! N 5 / \ P ! x P J a ] k
<DouweM>
benzrf: who was #2 by chars?
<fredder>
| ] ]
<fredder>
A ) X 0 d ) z * l y b [ 0 5 : > 1 W F S ~ # j r # = K v + @ h Z U @ I 6 , c | } N ~ s v } @ 5
<fredder>
h _ S [
<IceDragon>
noob101: place to store your code?
<fredder>
s - C d . V r 5 _ } } W v r $ a D y Z C D * W B R d o + n h { . @ a 8 y S * N l \ g , i [ ! " ? " T
<fredder>
[ T * S
<fredder>
B @ ; q ) Z ' 4 J > j n & a u ] & + ` l : ! O y \ h ( g 5 j _ y a l y O ~ * = a B ! } s ] / & - f g
<fredder>
K * k J
<fredder>
1 ; l ' \ V 3 z O w H R a 5 j _ X P F Y i _ ^ & G ( Z T U O d * @ ' s 2 z v p O z \ w ! o i X O f s V
<fredder>
> C J % c
<fredder>
H w & O * ~ 7 u $ Z b Z a ? x ~ u ~ 2 H 9 y 4 r $ + S e " : E 6 D > u V O q L I 7 ( j n N a ; ^ e t
<fredder>
f "
<fredder>
# U { ; X A K - ) b ! < . B \ d ( } u x < N { \ t S ` ~ @ ~ e L h * U t n # X U h & 0 M ` a w x
<benzrf>
DouweM: i think it was somebody starting w/ an 'a'
<fredder>
p e J
<InfraRuby>
lol
<fredder>
a d h g T r V ; Y ? u f l Z n % z ' ] 7 $ + # = 6 R B X > ~ } H \ P > w L p " _ : H a O ~ l K
<benzrf>
maybe not
<fredder>
m O \ m
* zacts
ignores fredder
<fredder>
l l z ^ = Q E d , 1 [ t _ ~ T f C { n H / N e @ i q t r A ( 0 _ l [ < [ F M B v " D ^ Q ? P z 4 P
<benzrf>
check the logs
doge has left #ruby [#ruby]
<fredder>
< M U
<shevy>
lol
<fredder>
D h 9 a k & 1 m 7 l t o i n H * ? h ` K Z N 9 d & e e x o | * : , O k ' 5 Q e y H m y 2 { . W y
<DouweM>
hehe, apeiros perhaps?
<fredder>
; 5 6 Q
<fredder>
u D s 7 / R h ? X x r / | L + A ` B j < X 4 % , n + * s w E T ( e F i j e - d ' E x A Q K X ! h S
<fredder>
h j K P
<benzrf>
i was thinking Apocalypse
<fredder>
I ? l ! 2 ' ( Z a Q a s ) [ T + W V d O G [ B J Z P \ o ) 9 b % g _ Y D z ; q Q Z y _ > '
<fredder>
Z = + . f
<fredder>
+ , 9 [ P y A J ! ( I u P @ , v x t c ! : T h s ( o 4 ; _ m P ~ + E { . s t V H ; & & l > A { F m A u
<benzrf>
*apeiros
<crome>
yeah, ignore does wonders
<fredder>
F p C ]
<benzrf>
but it seems wrong in my memory
<fredder>
F ] ^ P ; m n ? { } f B ! J ( Q ! e : M P y v W f b G W g y [ c > I ' i K Z x } $ ' j l J P : ] Q + [
<fredder>
o E u
<fredder>
n W t t | B " ( 6 ; w / ! A ; r [ O & h k e T A b D j o K m + C U D R ! - x J Z U L F Y = ! Q w n ]
<fredder>
. V +
<fredder>
# w G Q U - F Q @ @ } P } W Y 2 ` L a K } z r - y W % g S U @ - ( : j P ~ r S S # & ; p i X _ / z n #
<DouweM>
crome: ooh, nice one
<fredder>
J \ G M ~
<benzrf>
noob101: a repository is a directory that has a .git dir
<fredder>
* " N N T q < m C 8 u 1 m n u E ] S a ? ! ' o k m d U + d D B + % < u W { c ` / b u v = U x * C ]
<fredder>
; c /
<fredder>
" r ' d ^ Y ] & $ } H Q : 9 G * C + " } ' 8 < } r X o U T E ) k ^ [ E ` C m 0 j { N Q G J < c z
<fredder>
W $ h \ 6
<fredder>
S * ` E ! w g @ f | 4 k y * * % - + 2 r Z < g " } ( d u 4 a b Z / + F i m - E & k | D k V w Z ( I P
<fredder>
. h d K P
<fredder>
* q a _ V ~ : Y . u } 5 - m * - u y q ~ % d V - 6 ` - i B T S L A P A P 0 w Z E I 7 Z ; * 2 v / I
<fredder>
U ) z ' S
<fredder>
# 9 " z y ! o m O Q % [ , > - e B Z ) S S f b h u e r ? w n n d 5 h j T F * i N ` ( 4 < } 5
<fredder>
W 1 i 0 V
<fredder>
L } X E W H S # 4 f d u % [ # | N d R t ' , H A ^ z E N 5 h r " o ? & s ~ g 0 P ^ J l v ] b J L `
<fredder>
P B ^ 0 d
<fredder>
b 5 m E L G % F \ k { u 3 ; S n b a ) b I i h P j ; N 8 * I J K Q G H Q : @ [ E a I n q # . F /
<shevy>
god damn it
<fredder>
` / M n
<fredder>
; j > M , < F d l ? Y S I > P F a + . < F a ~ d b ? g & h j : ] C Z I k j 6 J ) > R ~ A o m
ponga has joined #ruby
<fredder>
; z o G
Hanmac1 has quit [Ping timeout: 258 seconds]
<fredder>
~ g { z ~ & w < G A c 0 M o [ 4 f Q _ k [ P d _ B 8 C X A $ ) d _ " M P J ] B L C } P p j | / ' &
<fredder>
R x v
<fredder>
T : H 5 W o o } N # v A P 3 , $ c ] + : s } U } L o i M 3 ] M a w s e o Q O W & ' > a @
<fredder>
. g H d u
<fredder>
q # s N z ^ ` c w $ > q D ` N $ p R S R < f E t ? R v n j t p ! R y j Q T * U < Y j U 5 : &
<fredder>
^ ; P #
<ponga>
hi, morning
<fredder>
X J f u B z t r 8 a G < * ' " P > ! g m { r J w ~ = > } h L < - F P M H : o : p M . ~ F 5 h P
<noob101>
omg spammer omg this is bad :(
<fredder>
/ [ N
<fredder>
% M : / * e ! V e | z J H 9 w Z } \ F t P : G E ` ~ c n + + q d D I o | s M % ) ' . m V z P g = L
<fredder>
p " H
<fredder>
* - \ U Z ? x s T a 1 ( T b $ 7 B d @ $ \ % p ~ ' y h ! % D C O { / 2 & s _ q ~ ' B M m U < l O j
<fredder>
b W 5 }
<fredder>
P ) < { N L U % J ~ U % m C ) f w - V ( ~ ' n X " A g y ) b m O K g $ r K > Z i S / g ( P
<fredder>
/ % Q
<fredder>
) 7 m M k V n M Z p ' $ 8 l h x . g = ( o ! _ ~ d G > " $ r X S j # . > S g $ a W o M P
<fredder>
\ I w $ c
<ponga>
lol let's ignore
<DouweM>
noob101: /ignore fredder
<fredder>
D Z > Y W v z W I k f ' g ; H b _ c z > G 9 R C : | s k . q ! Y t | r I Q x _ - - g _ [ h - n u
<fredder>
H - ! "
<DouweM>
noob101: run that
<fredder>
n H ^ i : V h U | W ' X U & ~ ^ _ = g 5 ( | O : \ < A s O ` < i { \ k t w M s n n J O @ " v
<fredder>
] o z >
<fredder>
) @ O ` , & 0 G k n { 1 V % H t M q _ P a u C p = c N , d d } H - B U D Z D C N ^ < y = j x | G P X
<fredder>
/ k y b
<fredder>
$ J t x * m ) p ] * ? # @ G T s O & # ' K A q e C ; W c o @ > 3 J M H ) m s } o ] s F ) Q v c c p ~ !
<fredder>
i > ; K
<fredder>
@ p g s c 4 G A k Z d : # t F p \ M { G x k N Z > _ c A $ ) I P # o $ & A S q j W < S A e ' 7 p d
<IceDragon>
SOMEONE SUMMON YOUR ADMIN POWERS AND KICK THIS CRAZY MACHINE # << all caps to draw attention
<fredder>
h ` : M
<fredder>
& e r v $ G w I 2 Y 0 ^ Q g T R k . P g > c ) Q ^ X ^ y - 0 i $ 2 k d ? _ @ R @ K q B "
<fredder>
n J -
<fredder>
R K ; R e > ) A d Z @ N J t ( & @ @ + j x o \ F Y h a $ A a L B c + q & 1 A / R B : r > w M s
<fredder>
I G Y O
kerin has joined #ruby
<fredder>
# V L A f Z p < X X u S h 9 > | . " L f i n @ % J K y o G ( . 8 y ' I x r R J 3 i g G l ? q R
<fredder>
r i 3
<fredder>
s ? y + [ \ H X ^ } V % : H 1 ( ^ h u s m x q \ Z # D w c " ] G e # U { ) F e T k F / = L j k | *
<fredder>
9 / E f
<fredder>
a s ? b R L % w ; d O v N 9 - [ S ] S I k D O | w E g f % ! K H I ^ L v o E r ` 3 _ " ~ 7 / : Z
mengu has quit [Ping timeout: 250 seconds]
<fredder>
Y H ( [
<DouweM>
I keep forgetting who here have kicking/banning powers
<fredder>
m > ` 8 x q U f v T 5 $ . 9 , S v X b 2 c E e N | U / s K + . u O b # ) + / M ' ? M { g ?
<fredder>
y % p x %
<Rydekull>
!ops
<fredder>
v W S ; X s h ` 2 7 l K q S d / e F } - Y < z S ] { e G p $ | 6 U = ! v J p o R ~ E n B ~
<fredder>
" P a s
<fredder>
' - 5 y ] s Z & : @ p j l _ L 5 ) 3 X h t h : P # R | i ( l F ~ @ - U n . I y o G k : _ < m Q Q
<fredder>
U * n
<fredder>
v P l u L ( " . E ^ ? E d ? < [ K ] ) N S ^ ' [ ? o b H t k S W E 2 & a = | c ^ G ` e { g ~ ' {
<ponga>
IceDragon: shouldn't you rather change your font color aswell, not sure if irc supports it tho
<fredder>
K V i
maximski has quit [Ping timeout: 258 seconds]
<fredder>
H } Q ` & ~ H g T w , ! z x . @ y J k ( d G m % w ^ B # S I w ` Z W w . W z 4 H j $ { $ & P 7
<fredder>
a w T 5 l
<fredder>
z L \ T 7 s u W ' B V _ @ { u , = r M = u S x , W R U s r H c " O , > > & u t S " H l q ! K 3 T
<fredder>
{ <
<crome>
and add blink
<crome>
or marquee
<fredder>
B V 9 z ! n p > M B k y 3 ! X O d M + ; + L | ' = 5 k f ; ~ 5 \ > < J l ] ! = G _ j T h e & v } G H
timonv has joined #ruby
<DouweM>
(I keep, forgetting, we're not in love anymoooore)
<fredder>
K j B
<fredder>
p W R " - W A i T , \ R U l g ( s | d ` _ X < H ' ( S j w m F @ @ > B _ ! m U B , } A > p ( . ! p
<IceDragon>
ponga: I should, but meh
<fredder>
P i c n
<fredder>
U " } Q $ H ' 9 n - ' C - @ + P E \ i l . l ] K " * " Z 6 O O M @ " ] + g [ X Z J I _ ~ M z a e
<fredder>
? u , u o
<fredder>
b ) [ C . [ & 1 4 & z E 0 : s f r S o T F % G O p u " $ Q h K ` ] s U A n 9 , : $ ' - T * = %
<fredder>
4 E A {
<fredder>
Z ~ n G ' ) z - ` g A X R B $ ; c R ) { . Y j / * g s p : F ' ) ' < ! i s 8 { S , t < , i % < S )
<fredder>
S q I
<fredder>
Y ; W X 0 H C + f v u l $ ? / W T R F ! b 1 A G & P e 8 x V Q x 2 Z y M e ! n w I & 9 m u 9
<fredder>
P | * p q
<fredder>
E & n C , B c O C > / \ M s e 5 T [ c : Y o % s & \ H B [ D G f x r s * 1 Q x s i G C t x 9 : @ -
<fredder>
_ !
<fredder>
4 s ( a j 8 x T ' = R ~ ` D @ { D i ; ` O = C A | ( < c # & { D + f V y s A % S I ' [ o ( l !
<fredder>
" 5 ' ?
<fredder>
* $ u _ E > Q \ + k o x E f R K Q @ p / : W ] m x : h D C U i h $ ; < ' * V E - } M ! ! N p F /
<fredder>
[ b q
<fredder>
M w J ' [ u K & g z m ! { } v . . ^ q M ) t = . . F ; s ! > [ y : ) z S D w u [ h L $ J I D , \
<noob101>
someone report him please the spam is critical
<shevy>
freenode staff is sleeping
<popl>
what
<fredder>
? u h : @
<fredder>
d 3 ` f f * : W j @ R p _ < A y M \ P 0 > A z P L R w p h T : ' g 6 $ j Q L z , d S ( E
<fredder>
' _ N M
<ponga>
and btw I'm on ma half way thru ruby learn on codecademy
<fredder>
F p a R & a b } ] V | R ! ) M V 5 U ` q e g ) Z Q + } , . Z v { F Y : 5 | Q > i S ] X & = V l [ R e
<fredder>
r Y t
<fredder>
p v : k q : C } i q ~ l K u | k F b ] P 1 z 4 D # O y O p ; " D K L I n a e ^ & b > 9 s K g
<ponga>
yay
<fredder>
` x - u
<popl>
apeiros:
<fredder>
D - % E i O S - Q h ` ^ = s J A # 9 ` * ~ | _ j ! Z t # V M ` u S ! ] 9 f > Z r M M - W ~ R U e
<fredder>
q | X t w
<ponga>
such beautiful language
<fredder>
S R o - > a q H e k t h ) o ! { i B & Z _ ^ y { 2 A _ [ _ { c z 1 ) : h ] 7 ) } Z ; [ 8 I l C z h
<wethu>
hi.. whats going on here?
<fredder>
t f r
<fredder>
j G + A b { j @ # , F ^ D G U c b t g ! | * K } v o W J Q ; * F ) / T z m d 5 8 % | = ( X X % *
<fredder>
c ~ p z
<fredder>
M i < q N B N F i g 8 s } < s K h ? / @ b C 9 / + M 6 r / 8 } Q [ G 0 p S c ; g n ? S _ p c Z p ,
<kerin>
wethu: spam
<fredder>
1 9 J n F
<shevy>
wethu spam attack
<DouweM>
the apocalypse
<fredder>
< . 5 } h ~ # p y n D k p { ` + w / H l ) r / x C : n ; % M \ k I R A 6 i M J > ~ > ) C p 6 l s } K
<fredder>
{ i q A
<wethu>
ah :(
<kerin>
just /ignore it
<fredder>
p N | _ Z M < | _ | O W H ! # F Z } A < K % e C ` f 5 # [ : { j a O u } M \ d N $ j X t ^ a z f s -
<fredder>
c T y
<fredder>
p N ' " 0 j D o H U R . M ( C ^ C O = @ $ f A e d . - ' + : D ; I } l < = 4 2 y + m | z = . t
<wethu>
yep
<fredder>
R i O K
<fredder>
B U / c ; s / L s E K k } M O U & $ t 1 % / P B ` / # u b G T ] + Q N u H " w w - F , + D $ ^
<crome>
Im wondering if it constitutes as spam
<fredder>
C - m l Q
<fredder>
g I _ N e | G n " < A * ; ! T r { K 4 U C d . } Z $ A X G + w \ P i b - < C L G n ` i % } : w
<popl>
fucking hell
<kerin>
ok, probably flooding
<crome>
it does not really say anything
<kerin>
if we want to be really technical
<wethu>
awesome, cheers
<noob101>
this is not nice fredder, where are your parents? You need discipline.
<fredder>
] $ c N /
<fredder>
A e @ ) \ $ < t E | c - ) " < @ ? ~ U " H X B w j Q / ) Q Z R q r A 5 r p K 3 Y A - > + - i : O 5 S
flagrama_l has joined #ruby
<xunil>
why can't he be kicked?
<fredder>
@ S W e
<xunil>
no autokicking bot?
<crome>
xunil: he can be
<fredder>
o Q p } T , ( S v # | g { m P p 0 ) T " { ! U _ & Z M E * : Z = D t f 9 K . y r v Z ~ 4 > s
<fredder>
^ : % J ^
<shevy>
xunil we have no ops here
<DouweM>
xunil: nope
<popl>
because there are hardly any ops in #ruby
<fredder>
H @ J p _ l r ^ Z , # j h ] m c H K C ` @ G H a Y ! _ q } ; { h p [ u J \ ! H [ } ' @ i R , ' Y
<crome>
there is just noone to do it
<fredder>
L k ( (
<fredder>
. a & : B , D H _ & N A } j & ` s v ? N * . Y S Z b = X T l r ' . ( g 0 U j H ^ j ; @ n W * ! M G 9
<fredder>
~ 1 P
<fredder>
w . } > i p e s x j 4 A P l < Y b * ! a ) m i A y F ) a < w / x y V Q M l S , % U g P n " y U [ D
<fredder>
L q
<fredder>
b Z _ [ @ g O * ? % w X 9 - [ y Z G / ( Q i ; h = , ; K / z @ ? : = | } N s P O f v z B h - c
<shevy>
apeiros, can you ban fredder for life?
<fredder>
[ K { U
<noob101>
spam attack shesh.
<fredder>
T M / p S H . . ! g O f ! ( _ & M * Z B G } ; P ( A L " d C . J x < H x " - G 8 . 4 D # g g J R
<fredder>
N g H f
<fredder>
d e S < m j 2 Q R 3 j Z G / " 0 ) < Z m q { ( @ j ) t u 4 z B = = f V O / N V M + R M | M i D
<fredder>
* > , / Q
<fredder>
~ i < [ { / e + B d ? Q o g O f l ! ) S Q / A Z o { > y b v j q @ : t W 3 < ! X ^ 0 c d % k . a } s
<shevy>
also his children
<fredder>
h M 7 !
<popl>
the founder of the channel fucked off awhile ago
<fredder>
@ ^ _ ' { u n q h : R - S m Y z : ^ O W s + A J $ \ p D x c { I ) p B + f < x M r / ` w V c
<fredder>
s { i y b
<fredder>
q 0 w s O n + x , > , [ . [ ( } G u + k W N G u / A I y L y g } o B @ M h K / u f @ K p % , S w w
<fredder>
; > > r
<fredder>
> j a W ( + M < C ( ] d 4 I S b w ' ] F b X S w } b S J J P . _ l h / ^ E a I d C 8 b T | v l k Q
<fredder>
D # =
<DouweM>
popl: who founded it anyway?
<fredder>
G z + } > ~ q # z O l c \ O { o | > a , J L H ^ ] C - 6 M ) c V T n [ I s $ ` S a b x G i * b
<fredder>
Q Y ` u
<fredder>
a [ & / x S v a s g m x # G T L g x S f I R q ` { 5 D : : 0 \ & D P X U u $ z . - c & 3 i \ \ k
<fredder>
J R < y /
<fredder>
K S A > l 5 ^ V O > w r w ( ? y * h k % j [ P p ^ d # @ p = ` _ % m A V [ R b H 5 V d V f - 6 @
<fredder>
% { u ] .
<fredder>
> Z / H _ T _ I F g m d ? f m r o / ^ 1 ] 8 V ] F y } _ E X [ ] w - | ? n } _ d Y o
<noob101>
how do you ignore someone in irc chat lobby?
<fredder>
S ! T L '
<Speed>
just report it in #freenode
<popl>
DouweM: type /msg chanserv access #ruby list
<fredder>
% ] } @ v g W , c + ! h & = ] M E m l x P G a a ] M ~ D N D c Y F Z ! k @ e W a T + ^ h l D j
<fredder>
a k + 4
<fredder>
i t y z m ( C ' ] z | N R ; x A Q = \ p 1 ~ \ / R q @ y i L K @ a n = h r > e a : h ^ z q m / ! X e v
<fredder>
M
<Speed>
they take care of that stuff
<fredder>
" # G e g l G m i ] % z s b F ] & ) a ] K B ^ h p ; p m 2 Z n F n J ? A Z ~ _ K g F v u f _ S
<fredder>
e ^ P F k j
<fredder>
V / z ~ % J f V l r z w K X P d , ! R z b l L t W E % L > E S n b h * K % % ! b Z k r T i L U E $
<fredder>
G = f X S
<fredder>
q [ K $ ' n n o l & ~ r E m R u L y z p D I M _ + s D " Y K H @ ^ K ' \ | f A _ I d y > v r u ;
<fredder>
. ! p J
<fredder>
* w 8 y \ ~ ~ y = A A @ ! 6 $ s M * _ q x [ z a m L P ( G ] C s i X ^ e : I & P K r F ( e a t F V
flagrama_l has left #ruby [#ruby]
<fredder>
8 X x s
<crome>
noob101: /ignore fredder
<fredder>
' s * N ` ? K m " K 6 ^ ~ e < a Z ( V @ W T D p P < N q v D j 6 ' Y R , W z \ Y q a < ( > Y = i
<fredder>
v 9 b H >
<shevy>
Speed I reported! we are there
<IceDragon>
all in favour of shevy as new channel own, raise your ruby hand
<fredder>
l ) K - o n e ] ] O ^ [ M m z w a N 6 ~ m m % ( . Y o ^ L { t U D g j j t ] , K R { Y A q m g :
<popl>
DouweM: founder is +F
<fredder>
f k j ~
<fredder>
^ n W Q j a Z i x K ^ G U ) = } ; C p ( 5 Z J P W V ) 4 { ( i B < X r r v 9 ! = 5 j z 5 3 B
<fredder>
g ` J W %
<fredder>
~ X % T d Z : J _ O W ` & F ? & ( F H Q ( B Z ~ : Q > D i ; x r ~ y n u * " W m v o \ . ` j o g w } n A ~
<fredder>
} R
<noob101>
crome I did it doesn't work
<fredder>
> B Q _ Q { W % ( S p | ~ a f K Y z j O c w b T ( ) H - ) - - d 9 T b P P l K ? _ e - ` 6 v B c =
<fredder>
? A a K s
<fredder>
A o w k > g T = % ~ v { " 8 : k : ` p ` % W F X } = ? B S M ~ ` - : > 9 S T C W w m J e D z F *
<fredder>
z X T +
<DouweM>
popl: ah, interesting. didn't know that feature
<fredder>
} # b n @ R @ o J 8 b s \ ] { n q U 6 m x Y | P r ` > t { < i * b _ 2 o ) o = d > o Z Q + X
<fredder>
q # k p . 5
<fredder>
c % ] T - = E R 1 i z ! @ K Z | G Z c / ? ) h @ p D $ . S { < g E . ( B " ) D a 7 N & M { N k .
<fredder>
% A G * &
<fredder>
V P P ] # - V > ^ L b X 1 J Q u { u V - _ H 0 g W \ X ~ a J i ^ \ ~ K Q . Q ~ T j | Z a i - [ :
<fredder>
( O $ u ;
<fredder>
M j K U ` : r 7 N m \ y Z } $ & e h 4 a C Z % X A H b F f T Z r o a ; | K ? a V m # 0 ' v c M [
<fredder>
Y $ N m @
<fredder>
: l a X k | ] C M { ? F ~ z } ) V o J a T O 0 U } | / J h J E q o j ~ l U { a = Z \ F l h
<shevy>
the spam made me blind
<popl>
/msg chanserv help
<fredder>
k _ a | n
<shevy>
it's sad
<fredder>
C y y & b i \ U z Q , > r V m C _ q H k B < Y o - } [ r # g f ` u ( ! e L t 1 Y 6 e y (
<fredder>
H J ? w e
<fredder>
3 | K j x z I E D / [ b x : D h ? ; N d N m w , g ) u g 4 R & + F M + A @ e h O : z
<fredder>
U w ^ T
<fredder>
E Y e } f ] : # X ~ B , # ' : z @ * ! r q k } # i G ] [ s y N _ * # o 3 ] R z ! ! A - T V > t 9 {
<crome>
noob101: what irc client do you use?
<noob101>
/ignore fredder
<fredder>
~ L e
<noob101>
/ignore fredder
<fredder>
h q g o 3 T n < e / j Y d = a i ^ I < o u C * [ O ( + h ) m o = " H } > 0 Q E c q < u [ : n [ A
yfeldblum has joined #ruby
<fredder>
8 p ^ -
<fredder>
] x R @ 7 p | h E i U U d l t q ) - f D Q ` S M v ; X q q [ R a = a [ < k # N L a Z : e [ i + k ) G
<fredder>
k $ x c p
<wethu>
finally got that ignore to work, /ignore fredder ALL i had to do
<fredder>
n [ K % ^ } v y z + ' v ; s O N a i { 0 T F z q v s o ( $ u h A h { I u Z F O @ z l m o E J f P W
<fredder>
D w F
<fredder>
b y T G n G { K " l x t / 0 | A x l = I } # ] R { . | V P A ' + h u ! / j b _ d I A I w * \ P V
<fredder>
M G B 3 :
<fredder>
" $ U R U ! i $ z Q r b k + h : L 6 q h ] M 7 s \ L A w l p U % ( ) O T z 3 # P ; / . } 5 l M H c d ]
<fredder>
Q y z , v
<fredder>
X * f V Q e ; n k 7 R \ ~ / 9 d g M q c ) O , ( ^ + h - ) ? - G % W j ; P : M I C r u e C ) l q U
<fredder>
s O Q
<fredder>
; Z I c " g f ; ; D ' i I z k h l $ F $ O 0 e A L { < , , R Y > + x Y , k O N A h )
fredder is now known as reeder
<reeder>
P z f # { d
<reeder>
Z " t Y 3 A = P T { ) s v S M [ 1 X @ ; . w [ J a T l j . % & . P > l q 8 h v ( * + n H .
<reeder>
X [ U
<reeder>
r ? , \ [ B l t ; P G Z ( | ) _ g 9 x o L ^ _ m Y z ' a ~ n x . r j ) ^ + K N C Q . M v Q x ' < E
<reeder>
&
<reeder>
F - t z M p = r W t $ d _ \ H R [ [ w # ` 7 X l ? 6 1 n [ 9 l H s v x U Y 6 & B D { v + G % n
<reeder>
> l [ m
<reeder>
^ V V : # n q ] T x V ( ^ / U V R % * ~ b t P . b Q z V * l ' n [ ' ) - t i N F ` v g } - p I e
<popl>
fucking shit
<reeder>
9 b A
<reeder>
K L ~ t 0 ^ f @ . T t - : n C ` j T % i v F } + ^ P J ^ x \ ? | - b / b [ - k E % u # \ Q e X /
<Rydekull>
crome: /ctcp noob101 VERSION
<reeder>
W a C x
<reeder>
[ v _ Z / i . w + E B { + t D P P < f H w 2 > n x Q F i = ^ ) D 5 ' , ) x n / ; F w I O " X F *
<DouweM>
noob101: messages starting with / shouldn't be send as text but rather executed as a command. not sure what you're doing
<reeder>
B W ` <
<reeder>
V K m T y $ v v - n H K f b U s G v 5 H * \ : # U S | g R z C T ^ k c : n _ * R - 2 J * \ $ C } B Z Z c
<reeder>
: p + %
<reeder>
R C u l } Y e $ ] . T l . ! " r ^ : i W / f P P _ M o c = j i 9 G g R j \ ~ e { a ] ! ~ / ^ \ (
<reeder>
S z o r
<noob101>
another spammer great
<reeder>
D ' ~ l ( c < @ 7 I q F G ` c f y & c s . k i 0 q M | ? @ f c a z A 9 n 6 T @ c < ` } ? Q + _ [ m v + M
<crome>
Rydekull: good point
<reeder>
Q M Z /
<reeder>
C l $ * $ T _ i k f % L ^ L } ` m { g y ^ P b J D > - % c , % 2 m @ < ( 1 g O " @ A Y S c 4 * x ?
<reeder>
] ' X L
<reeder>
! ' 8 D U ' t , g @ W ] w z + s } D 3 F F K w D \ & ~ E ` U b ] Y l q [ Y I ' { E C z C F m Q _
<reeder>
\ G d `
<reeder>
O | B p ] R 8 l 7 _ V g W S m m j P C D ; R Y + > z F h > B t t Z ! l 3 o % Y Q w 9 y a Y ?
<reeder>
1 s G d [
<reeder>
W > _ t o # L [ } R o p ] ~ s } w M | u % K f F < G W : ` s w f : N i ; ] % w L S @ { . V & \ h 4 o
<popl>
they're getting attention
<reeder>
# B N
<reeder>
; ) V \ G r K ; l _ o x Q X e H P j Y 8 = h O t V I Y ^ ? C k C N o C _ a s > & , / x " Q ~ a f >
<reeder>
f [ w U
<popl>
so naturally…
<reeder>
U a * 6 u . Q j F $ w # + ` T m h J F V = " o j > s U \ X n ? C n f A / O , & 2 q a > @ } V [ z d
<reeder>
E K 6 $
<reeder>
q & " D ~ i [ h + E T L X o # P M h r % L D X Z ) U # N < x q { Z ; i & R h 3 < I H z * $ O y F X
<reeder>
F ; | n { K
reeder is now known as fredder
<fredder>
. K ( Q @ G , C - M J o S - b g o " S R - ) c @ - 2 & T A + ] } m l C E W . H 6 X F C ? m [ a p C K
<fredder>
# v {
<fredder>
P q # $ d x H u a K & : ? ' 5 t c $ ) r N a M C S a X P o R s u t = ~ j > + ] j j I j o s [ ` ~ Z {
<fredder>
- D
<fredder>
m J < ^ q ) d k $ N 3 ? 2 o z w ^ a - > i b m ^ T : Z q C z ~ s / ^ | K 9 u + b ( U N
<fredder>
` & V m
<fredder>
; o | : : a z ; G * ; u q ! T i @ $ n G 3 b N v h u W U / X t V E L / J ' s a r _ 8 p e . I g > t \
<fredder>
, y z
<kerin>
do /ignore *!*@210.61.240.159
<fredder>
" \ w E _ V = r & 3 j ~ ^ @ / D P Y ! r D < ^ ~ z - < 7 R ' P Q U V , @ P L " g ^ " A @ n / @
<fredder>
W B J
<fredder>
S } s J \ K K H s H : * ^ H T n ^ n / y n ^ " g : _ > v ( P s \ Z / M @ r G ` , ! g c F u + P
<fredder>
, M T @
<fredder>
M M ` t F V ? o x ` ( I s Q U C U E 4 w z x ; R W i # + r 7 \ z ? d C m l ] / W # m " i z w G M X q
<fredder>
E c A
<fredder>
~ A P m z . C p ' 0 v O U _ j & - \ E i * o w O * < K | y 3 T u | @ " ? H m q y ~ ] _ 7 { L + T ~ "
<fredder>
G b
<kerin>
that way if he renames it won't evade your ignore
<fredder>
4 ; R Y , < @ ! I R n ) C < 3 : t Q . L V l & i n m v T a [ l J 1 m E B _ K X O T V F M B :
<IceDragon>
...
<fredder>
a u ' , }
<fredder>
6 ^ p W . 0 % R D 0 $ x Z C ( ? r E H ` v J n p } n b < < = x Y @ u d m 6 l , l P h s ; , B ( w m S
<wethu>
thanks kerin i was trying to work that command out
<fredder>
o 1 = m
<IceDragon>
whew
<fredder>
$ Q S X W U n : J I N I & S H E , Z k H { & z S T v < 6 P y B R r _ F h T I g " Z r k < D { _ X
<fredder>
~ C F ` B
madb055 has joined #ruby
<fredder>
t ^ T F T S & R { p ] N J > > [ e B r N c n ` l V O } H ; ` N " G @ x ( G + g H * A ) / a B
<benzrf>
thank u kerin
<fredder>
\ J n
<noob101>
this is scary, where is the staff to ban this fool.
<popl>
and my irclogs are filling up with crap
<IceDragon>
/ignore fredder ALL
<fredder>
= l ? J Y @ a $ G Z q i : B b a e + V k e = N j ' x e I : % Y ; $ W n C 1 z & u h m ! { r T
<IceDragon>
:D
<fredder>
f ~ S ]
<IceDragon>
WIN
<fredder>
S f ` F [ s ( % x / Y a z t e [ E _ v g * Z h \ < m R ` Y ; g . * . X z | M C f x [ A ' l
<fredder>
: $ P O b
<fredder>
# [ W @ W U g " . _ I ! A * p \ & T J O ~ ) x w C * * t B ] ( N i > v 3 V T L F B = X Z E / 2 K
<fredder>
# % A `
<fredder>
= h O T Y O i V Q r o M # s : h # Y I * H * L . p % y } Y 1 m B L N P O l J : j [ h b V D / e
yfeldblum has quit [Read error: Connection reset by peer]
<fredder>
d u _ ,
<fredder>
x L T t p Z ` S _ l C R ! R @ [ w ! q ) d B Q 5 / Z u * c 7 ` ! h q H F U _ j B Q Q Q C D / q
<fredder>
? l 3 u n
<fredder>
! 2 W y d X ' , V B O . L F V R y - B w P M I % * 6 V x K ; X y t d , s ] E j o o J V O t X e
<fredder>
v G % T
<fredder>
) + b P m | ~ * @ i a y ] a d j : E . R - \ 5 / b L r t j ) J & w % t e S d A . * L u _ q C W
<fredder>
d W V o
<fredder>
\ V L } A * B K y k t e 8 J G L D e a T " $ T : + 8 n k R " d g D Z o l @ A O > j 4 ; ! p i s } C
<fredder>
C % B
<fredder>
S k { - $ { s + _ u Y 9 N { Y L ( h ` H @ y , j _ { u ' 9 s R < q K I ' V t s L > E \ e # q b N # N 0
<fredder>
U M B
<fredder>
M z V 9 u H & / # " m L X q S D b l ` % h < V v j g ^ r r v ; 4 C = n # o K | h + M y T + n W e
<fredder>
Y P k `
<fredder>
4 a i [ c p _ $ j q ? [ r I L E , $ # A [ ] ` Z T T i V w Z E ] ] * \ { < ( j j Y ; L a v y x E
<fredder>
+ j u <
<fredder>
* U % z + 4 J l , 4 : [ > 2 ! 9 O \ \ . T K # R Q ! , ~ K S Y w ! v D ( H j v C H + B t X K (
<fredder>
b ' S
<fredder>
, F & R L # + j / z A + x q / t z - l a W e n & \ d r w A < N < L 9 ( / / { T g b H > , b R $ u / G
<fredder>
H Z ? $
timonv has quit [Ping timeout: 258 seconds]
<fredder>
; ~ / j J } ( = o r F X _ K > c } . 0 T k L ~ , r e : m A A > i ' d y P t + U J h ] % & g k N k q .
<noob101>
\ignore fredder
<fredder>
] z Z
<fredder>
] i @ L / m L < $ k n X S P [ | $ K ] 0 ( : 7 B & d K [ ( W L J ! { * r U > 6 _ ] S _ Y T n g
<fredder>
r S T u
yfeldblum has joined #ruby
<noob101>
lol nope
<fredder>
? g q K n X * | i \ j " e H o f E % ] 3 > n J K % & i b [ | M k : ? L _ b ' / R w ! o D # [ v v
<fredder>
K . =
<fredder>
J X x ! P _ f | k y * x ` & 1 J K / ; { P } H [ ? L + i T i q ) / q _ ? ` J A u @ j Z W l W [
<fredder>
# } { %
<fredder>
i R A [ m : 8 H L Z H 7 R L U 4 * d o G M p E g # A r $ p M / L J X w c y 1 T X P Z ? S G M [ $
<DouweM>
noob101: there's very little staff
<noob101>
I tried the other slash though.
<popl>
114MB of irc logs and I bet a good portion of it is crap like that. :)
<fredder>
+ ( R z n
<fredder>
, v T & y * p ` + \ L ; < y ` c f o / ) v U ~ n K u b v A 5 / K S . U < # g ( E B ! V . u e v ! 4 m U
<fredder>
K j v
<fredder>
, V z + 2 + * p A G m ; i f ! / Y ^ ( s j @ \ - d ' F y v ? M o T \ . ] Q w K | < V ' < k ' %
<fredder>
& c & M
<fredder>
" | H l k s > a o B F : e $ x F ? > _ q y S a p I t O ` s | " M P g ' ' i j 0 Q y ^ & f T i E
<fredder>
+ : T v
<fredder>
F k f = u } G Z < t ! % ( X b v C e | s < s u w ? u V L A N ( K V d C s h h \ D 8 s T c o i Q < L p
<fredder>
Z g i x
mary5030 has joined #ruby
<fredder>
W u l d N y h ) [ ~ ] ^ c { m ( F , v 0 { c : z 2 z R $ ) Z c = ^ w H M p & D C n & _ c ` #
<noob101>
aw that's sad
<kerin>
np guys
<fredder>
& " A [
<DouweM>
noob101: / should work. not sure why it's not being interpreted as command
<fredder>
Y - w W ` F I D . k Y n j 5 - s ( g U L } e = H % c & % < i & @ # a y | n j h " h F $ _ % u M
<fredder>
\ a $
<fredder>
a m z % $ 9 ' L ^ [ ~ G ` D 7 ! [ r q n 9 p J f M t 4 @ / 7 ! ? = _ | [ E W N T Q 1 | a i P n " C
<fredder>
+ a
<fredder>
p ) ; ' ] L < P i Q G c b e 2 y > E t @ b + r q h e - h W _ . ` z C w H W r J = B m $ l Q j J >
<fredder>
y l ^
<fredder>
= Q p X A = J q { $ : N s l } | = % A O Q V 6 ; v r _ 5 g | A k Y V # V w _ | + t j u / " | _ %
<fredder>
R | ! e
<fredder>
P v C z 3 k ] * [ R J F _ < 1 E Y 6 S Y M O Y Q l @ ) t M [ q & > Y ' \ z ` E w $ A z s < l S I ?
<fredder>
p y _ D
<fredder>
c ; = ' d Z S V : } % ~ U v m v Y N E y C [ P ; v [ - ) J O n p F n I z U & H = d _ x b * + V . "
<fredder>
m ~ Q
<fredder>
] t w y q & O b v S X u Q E O T M ` > h @ U y / f m C C | ' } j e X ' { R u ^ y g < A E ^
<fredder>
- Z h K
<fredder>
V t @ # : ~ 8 h ? + | g K . H ) V O d n ) f " t O ) w M H ' , x s % ; ^ ` & S P = r F n
<fredder>
` q # u
<fredder>
+ d < T = , 0 J { o y ` D N K h ; P x d Y J h & ; r O ~ S s d A < J W G w " P G D D ] ) ; # $ $
<fredder>
` A # P l
<fredder>
" ~ > ' I ) a J @ ! C X _ P w G R P C E J V O : ! g / ) ~ y I C A ! S } > M F ] a w b ^ Q ^ $ J c s
<fredder>
| ( = k
<fredder>
Q ` * : K ? q ! d = ! W l " 4 M d L ) " ) o ? - n ] z 4 j z + ) A 4 o ! S J B O & & " Z c b + A G
<fredder>
3 @ = 4
<noob101>
oh maybe cause I am not signed in
<fredder>
- m f & ~ R R Q a = < 3 ' ; " 4 ~ K < X U i N [ 3 4 2 a o } G > V * - z l \ Z L m * _ e &
<fredder>
w . L >
<noob101>
is that why>
<fredder>
g } ~ v M = R " K L F : g s a ~ b < & + 5 k w H \ $ O # u ^ B @ j l e @ A Y X [ 6 H / R _ s > X h
<shevy>
<Rydekull> shevy: one of the people with the most access in the list can claim ownership if they talk with staff
<shevy>
<Rydekull> shevy: if the owner is gone
<fredder>
+ \ \ `
<fredder>
b & m } k Z x = l ' ^ < ( 6 & n 5 E W = ] x y Q % - - S T S ` o ! d A N * / B a h d _ H ) N # N 2
<fredder>
h * U z
<shevy>
if apeiros wakes up
<fredder>
] A . G * Q n w & K K p @ U C B P 3 l l # # : Z P K ) W n K G S A I 7 I e x M P & l ^ B Q L P % z d
<fredder>
< W T x
<fredder>
F A % + x L F Y U / T ? N _ C I * z 5 w \ / ( } p S m % " k > a d u U b ^ { Y q k y = L V Q ' D
<fredder>
1 F P ] m
<fredder>
4 M < W N e S x 4 ~ b Q ] M Y V b h & s v s 4 / Y f U ' I * $ h n 8 i t R ] Y l x O t ' j * T y [ T
<fredder>
M T s
<shevy>
we need to transfer ownership to apeiros
<fredder>
# h e d C M " P j \ Y s j v P p D Y 7 g \ W ( & \ N 3 / W y S B y r & : j - N + A G q a m - d p H
<fredder>
u L B e
<noob101>
I think I had the wrong password but I still was able to come here
<fredder>
6 c _ D g t ; A C _ V V b Y f G o s T N ' Z G Z p r ? N / b . 1 ! F } . / g L E L ! o ' x ? ^ @ f
<fredder>
K _ x = [ j
<fredder>
! U k @ V p O r Y ` Z U v [ q < L u . ] [ $ u Z H M ~ ] % d Z " ` d > N - f S I Z v Y Z 8 g
<fredder>
2 7
<fredder>
c r X - X % P I / E h ! & k I 4 I Y ' u r " / u a L ( N E A h h I Q * C " \ I $ J U A A T $
<fredder>
Z ! f H
<fredder>
m I n < m J C g k + I ( } _ y ! I H W Y z v ~ S = b O b $ d # n O % : u } < i C * U \ } \ | 1 ) l
<fredder>
h # R z N
<fredder>
S m B h g < @ ( Z ? d q ] 0 L = C A F F H ^ Q q ` f J _ , ` o # _ F k c C a U ? 5 Z G ` o V #
<fredder>
% P G \ "
<fredder>
^ e ! a ^ P r U + : Z n 2 E ? = N . / - | % } / q i 5 ; a & < I m _ q d , W A v ; b > * x s A S
<fredder>
N P p v m
<fredder>
a j : R & ? 3 O W ; X \ d _ a F \ " w ! r U * C D J 4 ! 7 A + ; 0 H M } j { D v < s # L 8 E 5
<fredder>
. & ? & :
<fredder>
y 6 U ] - d % h ] v e B j n % # D C . w % # c ] Y ! ? u , v m { @ w | j 3 ` D I t g l @ V
<fredder>
d ` *
<fredder>
@ U = ] [ L O | t _ O ] F F G V / e h ? : A P ) q ? M r I G z > ' o R < > ^ p : ( N . * u f Q G Y _ 1
<IceDragon>
I'd just parse the irc logs and remove all the fredder entries...
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<fredder>
x & N
<fredder>
N Z + ! @ # - Z } ) w L K N d J E x @ - q u k d ~ % m / E j J E R ! a H N g Q 0 7 k Y | h c ) U
<fredder>
2 Y ]
<noob101>
lol what a spammer.
<fredder>
? w ^ [ : e P ^ ] u n > A q U G b P " L ; = $ m T o h P ; & > i h ] y # x e 3 X d r : ; / ~ d \ d
<fredder>
X < E
<fredder>
v s f 7 ; j < v ( W E ! h & ( Q # O v j p r U ( o * Q ? ; C ^ > ' c ~ c c ~ & o V @ e " v A ,
<shevy>
fredder can you join #freenode please
<fredder>
_ S C / q
<fredder>
+ + H V k ] e \ i v 0 $ Z # ( 1 3 * b r C i r ] * : W ] > N k ' m n ^ a o P o F Q ~ J e \ l ]
<fredder>
' u h $ r
<fredder>
x \ k # w 2 B L z % % J i U } ; / > M . w 2 z $ R A _ B | E o N i m { ] A E D m ] p ) Q s ] ] c q
<fredder>
` d m N :
<fredder>
= e % O a * J I N y % o u h f G ` ? o I Y H ( s V A r F 1 w O D O $ J @ : ! l ` L 6 . M q A H " K
<fredder>
] f - !
<IceDragon>
:x
<fredder>
/ ! s - $ , M z p L Z G & . w W w V / V % @ ] V % x | G : | ; K s ; : q U Z > | % Q 1 - c \
<fredder>
J A
<fredder>
J ] % D + 3 @ * J v f 8 j w & ` m Y x } R g F ) [ g ~ 0 U ^ ` l + i J L b B q + C ' _ S R %
fredder was kicked from #ruby by sepp2k [fredder]
Avahey_ has joined #ruby
fredder has joined #ruby
<fredder>
c y _ W Y p W - ? w U S > O K P w F ! K A { s l u [ 1 _ z t j ~ i , b ? N , A * Q [ ~ k ? s
<fredder>
g J >
<noob101>
LOL
<shevy>
ack
<fredder>
P x f ' x P t p $ ] } 7 K B F s j < E ( U " _ y " V D ~ . # Y * ; X e n / , C v 5 z p I p 3 I e T '
<IceDragon>
shevy... that might just work
<fredder>
] V / Z %
<noob101>
Finally.
<fredder>
* N Z Z w q + , < $ k ^ v - 8 . m q + j d | k & % r 7 ( * k G . 4 9 * Q B P l - z u q * g S q [ 7 N *
<noob101>
What
<fredder>
L . > z
<Rydekull>
sepp2k: welcome :-)
<fredder>
a C M v ; { U = p [ 5 _ W O a S D . M m % H 0 s ? 2 \ ( b j 0 3 ^ ; H o & a f l W z F e = < $
<fredder>
r = ) )
<fredder>
Y t k W 1 T G \ \ 5 " ? | c q E e z w = & 7 " < h ' / > $ + % i P # E x M V ? P \ O > | , i h ^
<fredder>
) ! i i ,
<shevy>
he rejoined!
<fredder>
m L a u { Q = u n > g | , s M , N J $ A h [ y s } l > j ( U o A < } ) X K m e ) O b G F J H & ) b
<noob101>
wooow wut
<IceDragon>
sepp2k: use ban pls
<fredder>
7 4 L I
<wethu>
+b would be handy
<fredder>
D Y H c o , j b q O " u k a q T V c S [ A J | J T K I M v Y I a = * i * ' Y @ x < F ' U \ J v
<benzrf>
sepp2k: thank u
<fredder>
! R % _
<fredder>
; < + ] 6 t f Q ( I P E v : K w ] U E l C c 2 ^ W S M & ~ ( M & L a B | I E R _ w u < f { D
<fredder>
# S
<fredder>
V B N I ; & S ; [ g k # K = , @ { ! U # M R ? 2 V B " R ! ) D b Q N 2 n G U . t N ) 5 < q < { ( I N -
<fredder>
k v , G
<popl>
yeah, fuck this. I'll be back later.
<benzrf>
we luv u sepp2k
<fredder>
} j g o j A Y ' W s A ` e > L Y D ~ ; D I _ i @ > r ~ L j O 7 4 ) e + ; r 4 ^ B - = [ J
popl has left #ruby [#ruby]
<shevy>
ban his whole ancestry please
<fredder>
p N l = n
<fredder>
` H P y G . B k ` p 1 J X ~ } , s u , r t ` K n $ Y f O n b D 2 , P x l Q ` [ ) ) A W h $ <
<fredder>
F G 4
<Rydekull>
shevy: reeder aswell, if you look back
<fredder>
K O d $ ; F : d / z & } " s > y ] f T g - ! = 3 x ' Z / n q C R & x i d & 5 < . t & X l 3
<fredder>
B { V G &
<fredder>
A t ^ o k X + ( j C f ` \ W T M ^ l 2 X e i A y ) ! b ? j U 5 M b & { $ % ! T i N $ ; @ F * j B "
<fredder>
U q
<wethu>
ban the entire ISP lol
<benzrf>
i say we get a bot
<IceDragon>
also kill it with fire
<DouweM>
sepp2k: our savior!
<shevy>
Rydekull, I cant see anything in this spam
<shevy>
FINALLY
mercwithamouth has quit [Ping timeout: 240 seconds]
* noob101
punches fredder in the face
<noob101>
STOP FREDDER!
lw has quit [Quit: s]
fredder has quit []
Guedes0 has joined #ruby
<IceDragon>
all hail sepp2k
<benzrf>
the fuck does 'Ruggity digger' mean
<noob101>
yeeey he stops
<Rydekull>
sepp2k: [~radder@210.61.240.159]
<Rydekull>
sepp2k: both of them used that ident@host
<noob101>
wow
<shevy>
well that is so much better now
fredder has joined #ruby
<kerin>
OK, so legitimate question time: I need to let people add their website to my app. They can also add an excerpt. Now, eventually I want the site to pull an automatic excerpt semi-intelligently, the way Facebook does it... is that a solved problem in Ruby or am I going to roll my own here? :)
<fredder>
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
<fredder>
M J N
<fredder>
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 _
<fredder>
* : S h f # d < c M m | J G P d d Y 3 T ~ # $ j G ~ B ( ~ > ( < / X @ e - = V H M + i
<fredder>
q - l L
<fredder>
l | Y )
<fredder>
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
<shevy>
damn it
<fredder>
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
<fredder>
W @ W
<fredder>
p z
<fredder>
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
<fredder>
I Y c = `
<fredder>
| 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
<fredder>
$ . @ ~
<fredder>
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
<fredder>
K | 0
<fredder>
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
<fredder>
z V L u u
<fredder>
z > D ! i x ? : = k d < % Q f l | w j & # # x o c a $ } I | L } * N < ) 6 ( & / > t g *
<fredder>
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 _
<fredder>
3 x y
<fredder>
I Z p
yfeldblum has quit [Ping timeout: 240 seconds]
<fredder>
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
<wethu>
So in ruby, I've noticed some classes with << after the class? like class << foo or something, what in the world does that do ?
<fredder>
- { z
<fredder>
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
<fredder>
t F g ; >
jacky has quit [Excess Flood]
<fredder>
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
<fredder>
N b Q y
<fredder>
' 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
<shevy>
oh man
<fredder>
S T + k
<fredder>
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 !
<fredder>
| H @ &
<fredder>
} 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
<fredder>
I M ^ # ~
<fredder>
# 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 @ ( *
<fredder>
w * = U
<fredder>
} 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
<fredder>
A 4 ' C f
<fredder>
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 ,
<fredder>
8 - , + q
<fredder>
' 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
<fredder>
J w ] X
<fredder>
) 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
<fredder>
v 0 u
<fredder>
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
<shevy>
and I was so hopeful
<fredder>
! r l - S w
<fredder>
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
<fredder>
c h P n
<fredder>
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 {
<kerin>
sepp you probably need to /ban *!*@210.61.240.*
<fredder>
f z { o
<fredder>
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
<fredder>
" Q M
<shevy>
IceDragon do something
<fredder>
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
<fredder>
8 : G Z M
<fredder>
" : 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
<fredder>
_ ) K o
<fredder>
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
<fredder>
t , ~ q N
<fredder>
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 ,
<fredder>
= ( w 1
maletor has quit [Quit: Computer has gone to sleep.]
ellbot has quit [Remote host closed the connection]
<IceDragon>
do wat!?
<fredder>
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 > '
<fredder>
P ^ p \
<fredder>
$ 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 & ] ! (
<fredder>
B \ $ "
<fredder>
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 $
<fredder>
p r R e
<shevy>
IceDragon you are a dragon!
<fredder>
; 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 @
<fredder>
` P ] i
<fredder>
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 =
<fredder>
z d k #
<fredder>
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
<fredder>
E Q 0 ?
<fredder>
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 # $
<fredder>
\ %
<IceDragon>
!
<fredder>
$ & 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
<RubyPanther>
protip: /ignore *@210.61.240.159 ALL
<IceDragon>
true
<fredder>
d = v > u
<fredder>
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 % ~
<fredder>
w A n z $
<fredder>
$ 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
<IceDragon>
But I'm powerless at the moment
<fredder>
u 7 n ,
<fredder>
- 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
<fredder>
J : $
<fredder>
/ 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
<fredder>
& \ :
ellbot has joined #ruby
<fredder>
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 ~
<fredder>
# . P <
<fredder>
% 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 ]
<fredder>
\ ] , &
<fredder>
. ^ > 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
<IceDragon>
some wizard stole my scales
<fredder>
p E
<fredder>
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 (
<shevy>
he is using up all the characters of the internet
<fredder>
p e I > A
<fredder>
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
<fredder>
# < n c c
<fredder>
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 + % <
<fredder>
s . G
<fredder>
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 \
<fredder>
@ b ) K
<fredder>
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 _
<fredder>
k S ! b y
<fredder>
[ \ 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
<fredder>
j Z c
<fredder>
. 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 /
<fredder>
{ u ` X
<fredder>
+ 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
<RubyPanther>
reminds me of perl.rb
<fredder>
D 0 +
* kerin
cackles in a wizardly fashion
<fredder>
: , ? 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
<fredder>
X i a
<fredder>
^ 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
<fredder>
} A *
<fredder>
- 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
<fredder>
8 y D *
<fredder>
) 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
<IceDragon>
wethu: Its to access the singleton instance of the class
<fredder>
;
<fredder>
[ 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
<fredder>
] ~ w
<fredder>
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
<IceDragon>
class << ClassName
<fredder>
b l w
<fredder>
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 (
<fredder>
p # ? ;
<fredder>
- @ # [ ( ' 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
<fredder>
3 C ( u z
<fredder>
- ` - 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
<fredder>
o ? ^ w
<fredder>
, 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 $ ,
<fredder>
' ? )
<fredder>
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
<fredder>
x ` ? J
<fredder>
: v 6 j 6 : " - } ] [ } . * c & 2 r k ? % o g @ ( C n . E W J F # ! i ^ v } U K t = \ f & b y
<fredder>
U ! Y
<fredder>
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
<fredder>
1 g l ' /
<fredder>
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
<fredder>
J ~ Z
<fredder>
) % ' ' : { S R > 2 y D I g J r M w - , } N = r ( = ! } - J } | ? g m : a ^ + + X R D & ! W $
enebo has quit [Quit: enebo]
<fredder>
T 7
<fredder>
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 ~ %
<wethu>
ok
<fredder>
C O ^ y
<Rydekull>
sepp2k: /ban *!*@210.61.240.159
<fredder>
' 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 \
<fredder>
y p { ; _
<fredder>
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
<fredder>
g e & c '
<fredder>
} 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
<fredder>
O T
<fredder>
( ^ 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
<fredder>
? n }
<fredder>
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 /
<fredder>
# a = p
<fredder>
# 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 * \
<fredder>
4 s
<fredder>
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
<fredder>
B \ J e
<fredder>
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
<fredder>
Y c '
<fredder>
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
<noob101>
wow hes back
<noob101>
why
<wethu>
IceDragon, so everything inside the foo class has access to the instance of the singleton object?
<noob101>
shevy, I used case, I like it a lot.
<Nilium>
I sort of question why people bother doing that.
<DouweM>
sepp2k is awfully quiet
<Nilium>
Did someone at some point feel wronged by #ruby?
<noob101>
By the way, what is case? Is it a function or a statement?
<wethu>
Nilium, can't imagine why, ruby makes my job fun
<noob101>
So what should I say if I am referring to it.
<Nilium>
case is an expression.
<IceDragon>
^^
<DouweM>
noob101: not a method in that sense that you could define it yourself
<noob101>
I used the case method?
<noob101>
I used the case expression?
<DouweM>
noob101: the case/when statement
<DouweM>
'case' itself isn't an expression
<noob101>
I used the case statement, cool.
<wethu>
crome, thanks ! i had issues with googling <<
<Nilium>
You used a case expression.
<DouweM>
the return value of `case...end` is an expression
<noob101>
oh ok
<benzrf>
guise
<benzrf>
we need a bot
<Nilium>
Far as I'm concerned, that makes it an expression >_>
<RubyPanther>
case is a statement, but in Ruby all statements should also be valid expressions
<IceDragon>
<benzrf> we need a bot
<IceDragon>
Is that a threat!?
<benzrf>
i will write a bot
<DouweM>
Nilium: right, but initially he asked what `case` itself was
<Nilium>
Statement also works.
<benzrf>
and people can vote to ban people o=
<DouweM>
Nilium: I won't argue with calling the whole thing an expression
<IceDragon>
O=
<IceDragon>
Brilliant
<DouweM>
benzrf: weighted by number of chars here? :D
<benzrf>
>inb4 im b&
<benzrf>
DouweM: clearly
<DouweM>
shevy for president
fredder has quit [Killed (idoru (Spam is off topic on freenode.))]
ellbot has quit [Ping timeout: 250 seconds]
<benzrf>
shevy for locked in the dungeon
<wethu>
crome, Oh i get it thats kinda cool
<DouweM>
benzrf for dictator?
<benzrf>
swag
einarj has joined #ruby
<ponga>
can i ask very simple thing about rails here or should i go #rubyonrails
<IceDragon>
<DouweM> shevy for president
<IceDragon>
All in favour say I
<IceDragon>
I
<DouweM>
Aye
<IceDragon>
close enough
<IceDragon>
ponga: depends?
Hytosys has quit [Quit: Hytosys]
<DouweM>
ponga: there's certainly people with rails experience here
straw_man has joined #ruby
<benzrf>
shevy for locked in the dungeon all in favor say aye
<straw_man>
aye
<benzrf>
aye
<benzrf>
tied vote
straw_man has quit [Client Quit]
<DouweM>
aye
<ponga>
question is that I'm learning ruby atm and defntly gonna try rails, but my noob concern is that if i needed to know more than html/css/javascript/dom/ruby to use rails
<DouweM>
presidents can be locked in dungeons too
<ponga>
what languages do i need to kno
<ponga>
please, good sirs
* noob101
feels good
emaxi has joined #ruby
<DouweM>
ponga: for rails itself, ruby is fine. for a usuable website, you'll need *basic* html/css
<ponga>
so, ruby and basic html/css
<ponga>
thanks!
<crome>
wethu: I personally find it quite confusing and usually there are more expressive ways of doing the same thing, it is a very "ruby" feature
<IceDragon>
ponga: Learn "ruby", then you might need to brush up on your JS
<noob101>
hyper text markup language and cascading style sheets
<DouweM>
noob101: yessir
<noob101>
ooo I know something YES YES YES!
<wethu>
crome, Yeah, I'm going to stay away from that, seems like it would be a mess unless it was way up there.. just was curious
<ponga>
IceDragon: sorry i couldnt understand 'brush up' part, it isnt my mother tongue :(
<ponga>
you mean improve?
<noob101>
i used to be deep into XHTML and HTML but I gave that up for programming.
nisstyre has joined #ruby
<crome>
you dont really program in html
<noob101>
I still know a lot of information though such as HTML is made up of tags
<wethu>
crome, I think ill just stick with composition to add new behaviours to my objects for now, but the idea is pretty cool, just pop in a method straight into the object itself
<noob101>
crome I know that.
<DouweM>
noob101: good for you. html by itself doesn't get you very far
einarj has quit [Ping timeout: 250 seconds]
<IceDragon>
ponga: Well it means: If you haven't learnt it before, you should start learning it, if you already know a bit of it, you need to improve it
lw has joined #ruby
<ponga>
OK
Bumptious has quit [Remote host closed the connection]
tungd has joined #ruby
jackyalcine has joined #ruby
maximski has joined #ruby
lw has quit [Client Quit]
Speed has quit [Ping timeout: 240 seconds]
<IceDragon>
ponga: It doesn't hurt to learn extra languages on the side though: like learning a bit of C, and probably some Java (chokes self)
<ponga>
good, i know java
<wethu>
well without C none of this is possible lol
<ponga>
was my first language i learned
<ponga>
and a bit of C too
<IceDragon>
I'm about to shoot myself in the foot my learning perl for no known reason
robbyoconnor has quit [Ping timeout: 252 seconds]
<crome>
wethu: I think the vast majority of uses are class << self
<crome>
IceDragon: learning a language is never wasted time
<crome>
even if you dont use it
<IceDragon>
I know, but perl :O
<crome>
even perl
<IceDragon>
if you say so
rainmanjam has quit [Remote host closed the connection]
<wethu>
##!%perl!~-= is#@@great
<ponga>
IceDragon, i know all these questions sound dumb to exprienced people but.. if i were to create a website from rails, a working one. should i better start study php,sql and things like server-side languages too?
<ponga>
alongside ruby
<IceDragon>
why php?
<benzrf>
ponga: ruby IS a server side language
<benzrf>
php is the worst
jason_ has quit [Remote host closed the connection]
<IceDragon>
:O SQL I can understand
Spami has quit [Quit: This computer has gone to sleep]
Darkhunter has joined #ruby
<benzrf>
ponga: you use ruby INSTEAD of php, not with it
<Darkhunter>
Hi guys...
<wethu>
perl is like if you wanted every line to look similar to a regex
<DouweM>
And you don't really need to learn SQL either if you start using ActiveRecord
<DouweM>
It would be useful though
<benzrf>
bad DouweM
Hanmac1 has joined #ruby
<benzrf>
badhatter:
<benzrf>
*bad
<IceDragon>
ponga: Rails simplifies most of the stuff for you already, so you don't really need to learn SQL for it
<DouweM>
benzrf: I love SQL
<crome>
wethu: bullshit, perl can be written in totally friendly syntax, you dont *have to* use al the crazy shorthands for everything
<benzrf>
ponga: the reason for doing so is that php is an abomination on par with
<benzrf>
uh
<Darkhunter>
Can somebody help me ? I dont know anything about ruby, but I am installing redmine and I got this error: http://projectx.maelv.cz/ Can seombody help me ?
<benzrf>
1 second let me think of abominations
<DouweM>
benzrf: he doesn't "need" it right now though
<benzrf>
kk
<wethu>
crome, oh but you do
<IceDragon>
benzrf: COBOL
<DouweM>
No more mention of PHP in here
<benzrf>
IceDragon: php is worse
<crome>
ruby can be written in an equally obfuscated way
fubelly has joined #ruby
<benzrf>
cobol is like java²
<IceDragon>
dayum
fubelly has left #ruby [#ruby]
<benzrf>
php is on a level of its own
<wethu>
if you force it
<IceDragon>
D8< You can't square Java, it will kill you!
<benzrf>
IceDragon: why do u think there are so few COBOL programmers still alive
<IceDragon>
D8<
Spami has joined #ruby
<benzrf>
php is not just inexpressive and beaurucratic, it is aggressively awful
<IceDragon>
exactly!
ponga has quit [Read error: No route to host]
<benzrf>
bbiab
Hanmac has quit [Ping timeout: 245 seconds]
<crome>
php is a kinda unique story
<Darkhunter>
Please? I am screwed...I was searching on google for about two hours and I cant figure out, what to do...Please help me somebody...
rainmanjam has joined #ruby
benzrf is now known as benzrf|offline
<IceDragon>
Darkhunter: we can't help, if we don't know whats wrong you know
<IceDragon>
crome: I updated my system, made a tiny mistake and bricked my kernel
<Darkhunter>
okay, but can u please help me with that ?
<shevy>
noob101 god man, what is this U RL
<noob101>
Sorry
<shevy>
6 lines here :P
yfeldblum has joined #ruby
<IceDragon>
Oh right, back on topic
<Darkhunter>
I think, that my problem is, that I have to set PATH="`ruby -e 'puts Gem.user_dir'`/bin:$PATH" everytime.
<noob101>
wait no I don't get splat operator
<IceDragon>
Darkhunter: first up, we need to find out why in heavens name you need to keep reinstalling bundler
<crome>
IceDragon: a bricket kernel does not possibly leak your private key
<Darkhunter>
If I dont do it, it doesnt recognise bundler
<IceDragon>
crome: BRING ON THE HEARTBLEED BROTHA
<crome>
totally
mjs2600 has quit [Remote host closed the connection]
<Darkhunter>
IceDragon: Okay, I dont have to reinstall it, I just have to set PATH="`ruby -e 'puts Gem.user_dir'`/bin:$PATH" everytime, or it doesnt find bundler.
<IceDragon>
:O
<IceDragon>
You don't have the gem bin in your path?
<DouweM>
night folks
nateberkopec has joined #ruby
testcore has quit [Quit: BitchX-1.3-git -- just do it.]
AlSquire has quit [Quit: This computer has gone to sleep]
<IceDragon>
Darkhunter: check your .bashrc, and /etc/bash.bashrc
madb055 has quit [Ping timeout: 240 seconds]
<IceDragon>
Darkhunter: did you install ruby via pacman by the way?
kayloos has quit [Ping timeout: 252 seconds]
yfeldblu_ has joined #ruby
<IceDragon>
You could pop over to #archlinux for some more help
<Darkhunter>
IceDragon: Yes, I did and now added PATH="`ruby -e 'puts Gem.user_dir'`/bin:$PATH" to bash.bashrc
<Darkhunter>
IceDragon: Yea, but I think this is better on this channel
<Senjai>
IceDragon: Anything you can install on ubuntu can be installed on arch
<Senjai>
IceDragon: So its just as viable as a server
<IceDragon>
Senjai: Actually, everything and more you can install on ubuntu can be installed on Arch
madb055 has joined #ruby
<IceDragon>
Senjai: I'm not saying Arch is bad as a server, I'm saying its higher maintenance as a server
yfeldblum has quit [Ping timeout: 250 seconds]
ellbot has joined #ruby
<manacit>
has anyone seen this with rails 4.1 and bootstrap? Asset depends on 'fontawesome-webfont.eot' to generate properly but has not declared the dependency
<Senjai>
IceDragon: Servers rarely ever get updated.
<IceDragon>
Senjai: true, true
<Senjai>
There needs to be a reason for it. And even then, you do it with scripts that affect all your servers
radar_1991 has quit [Remote host closed the connection]
<IceDragon>
ansible, puppet or chef
<IceDragon>
name your pick.
radar_1991 has joined #ruby
<InfraRuby>
IceDragon: none of the above
<IceDragon>
Darkhunter: so does it work correctly now?
mikecmpbll has joined #ruby
<Senjai>
Or a shell script..
nateberkopec has quit [Ping timeout: 240 seconds]
<IceDragon>
Senjai: shell scripts are the best, least that can go wrong with them is you made a syntax error
<Darkhunter>
IceDragon: Yes, it works well when I login..I forgot about the bash.bashrc thing...But error is still appearing
<IceDragon>
and the most is the server just hates you
<IceDragon>
Darkhunter: You'll need to restart the session for the changes to take effect
<IceDragon>
or relaunch from a fresh terminal
<Senjai>
bi
<Senjai>
,,
<Senjai>
no*
<Senjai>
Darkhunter: source ~/.bashrc
ponga has quit [Ping timeout: 258 seconds]
Xeago has joined #ruby
<Senjai>
if you're using bash
<Darkhunter>
Okay, whats next ?
<Senjai>
and thats where you put the path
<IceDragon>
I keep forgetting about source...
fgo has joined #ruby
<Senjai>
IceDragon: And you use arch?
<IceDragon>
Yup, but I rarely need to change my config files
<Senjai>
..
fgo has quit [Remote host closed the connection]
dima_ has joined #ruby
<IceDragon>
yep...
fgo has joined #ruby
<IceDragon>
awkward silence
<Senjai>
source is used like an include.
ponga has joined #ruby
<Senjai>
you use source in your shell scripts
<Senjai>
you use it everywhere
<IceDragon>
Right
madb055 has quit [Read error: Connection reset by peer]
radar_1991 has quit [Remote host closed the connection]
madb055 has joined #ruby
<Darkhunter>
Okay
ddv has quit [Ping timeout: 245 seconds]
psyko666 has joined #ruby
dima_ has quit [Ping timeout: 258 seconds]
<Darkhunter>
I have an idea... when I have to set the path for me, I think user, which is owner of apache profile must have set the path just like my user?
tectonic has quit []
ddv has joined #ruby
freerobby has quit [Quit: Leaving.]
<Darkhunter>
Guys, are u there ?
Darkhunter has quit [Quit: Life without danger is a waste of oxygen]
Darkhunter has joined #ruby
madb055 has quit [Quit: Konversation terminated!]
madb055 has joined #ruby
<IceDragon>
Darkhunter: sorta, gist/pastie your bashrc
kerin has quit [Remote host closed the connection]
<IceDragon>
Wait a minute, am I crazy!?
<Darkhunter>
? Whats up ?
<IceDragon>
This had nothing to do with the PATH, if bundle --version worked!
<Darkhunter>
Yea, I was wondering. :D
* IceDragon
facedesks
<Darkhunter>
But when u wanted it, I gave it to you :D
<IceDragon>
Next time, point that out please
<IceDragon>
My head isn't screw on so late in the day
<IceDragon>
orz
<Darkhunter>
Okay
<IceDragon>
does ruby -e "require 'bundler/setup'" work?
funburn has quit [Quit: funburn]
alexju has joined #ruby
<Darkhunter>
Awww, my server has fallen...
<Darkhunter>
Or not...It was just some kind of lagg
<IceDragon>
From what I see, the only gem it ever loaded was passenger..
<Darkhunter>
And again...
cover has quit [Remote host closed the connection]
<IceDragon>
did the require fail, or your server fell?
<Darkhunter>
my server fell
<Darkhunter>
some internet connection instability...
bluehavana has quit [Quit: Connection closed for inactivity]
<Darkhunter>
when I execute this command, nothing happens, but no error appeared
Hanmac has joined #ruby
Nukepuppy has joined #ruby
<IceDragon>
Darkhunter: thats a great sign, that means your ruby CAN require bundler, the problem either lies within passenger or how ruby was executed
<IceDragon>
oh hi Hanmac
<Darkhunter>
Okay, so where can I find some passenger configs ?
<Darkhunter>
IceDragon: Nope, just found one error : /root/.gem/ruby/2.1.0/gems/rdoc-4.1.1/lib/rdoc/class_module.rb:173:in `aref_prefix': missing aref_prefix for RDoc::SingleClass (NotImplementedError)
<shevy>
zorak did you look at rubular.com
<zorak>
im in
<shevy>
do you see the ^ character
doodlehaus has joined #ruby
<IceDragon>
Darkhunter: might want to disable rdoc and then update it and retry
<zorak>
start a line
<ponga>
omg you can do default boolean parameter? , def method(par=false)
<ponga>
i love learning ruby
<Darkhunter>
IceDragon:But it passed this error.
<IceDragon>
awesome?
<Darkhunter>
IceDragon: Okay, how to disable that rdoc?
fabrice31 has joined #ruby
<IceDragon>
sec
<IceDragon>
gem: --no-rdoc --no-ri
funburn has quit [Quit: funburn]
<zorak>
shevy: mmm, so /^\d means start a line with a digit
<IceDragon>
I copied thet gem: --no-rdoc from my gemrc...
browndawg has joined #ruby
<Darkhunter>
IceDragon: okay updated
<IceDragon>
Darkhunter: did you install the redmine package, or did you just makepkg and called it a day?
<IceDragon>
/root/redmine/pkg/redmine/usr/share/webapps/redmine # << because that looks like its extracted, makepkg-ed and then executed from the package path
<Darkhunter>
IceDragon: I had to disable stripping
fabrice31 has quit [Ping timeout: 276 seconds]
<shevy>
yeah
<shevy>
dont strip man
<IceDragon>
xD
<IceDragon>
not now shevy,
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<IceDragon>
Darkhunter: anyway, makepkg -i in the /root/redmine
eka has joined #ruby
<Emmanuel_Chanel>
Hello! I could make a script to download Yahoo Japan's forum posts automatically with my original library. (I haven't added the documentation...)
<IceDragon>
and install the package
<Darkhunter>
IceDragon: Yea I didnt install it...
<Darkhunter>
IceDragon: Installed now
<IceDragon>
~Sick, now lets try redmine again~
<Darkhunter>
But that shouldnt be the problem, it only copies it to another destination
<IceDragon>
If its one thing I've learnt from linux, its location is everything...
<Darkhunter>
IceDragon: Okay, okay...Gimme a sec, I will configure it
snuffeluffegus has joined #ruby
AlexRussia has joined #ruby
<IceDragon>
kk, when you're done, try restarting your server (don't shoot me!)
LostDatagram has quit [Ping timeout: 250 seconds]
AlexRussia has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
lw has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<Darkhunter>
IceDragon: Okay I will try, but I hope dhcp wont change my IP... :D couldnt set it in arch...netctl is broken... :/
yfeldblu_ has quit [Remote host closed the connection]
LostDatagram has joined #ruby
yfeldblum has joined #ruby
robbyoconnor has joined #ruby
<IceDragon>
ponga: does it require the function?
ponga has quit [Remote host closed the connection]
<IceDragon>
ponga: also you can just do: if rev
<IceDragon>
without == true
ponga has joined #ruby
ukd1 has joined #ruby
radic_ has quit [Ping timeout: 250 seconds]
Hanmac1 has joined #ruby
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac has quit [Ping timeout: 250 seconds]
radic has joined #ruby
maximski has quit [Ping timeout: 258 seconds]
maximski has joined #ruby
<Darkhunter>
Okay, its done...IP changed...
<IceDragon>
...
SilkFox has joined #ruby
<IceDragon>
damn
ukd1 has quit [Ping timeout: 245 seconds]
<noob101>
what is the purpose of return?
<Darkhunter>
Okay, np, thx for your time, cya
Darkhunter has quit [Quit: Beware of programmers who carry screwdrivers.]
<BraddPitt>
noob101, to "return" a value from a method call
<BraddPitt>
ie, i can call add_nums(1, 1) and ideally it would return to me 2
<noob101>
so return only effectively works when it's used in a method call BraddPitt?
Darkhunter has joined #ruby
<IceDragon>
"Beware of programmers who carry screwdrivers."
<Darkhunter>
Lol, it had to be lagg only :D I got to my server :D
<InfraRuby>
BraddPitt: ideally you'd use + :-p
<BraddPitt>
afaik, returns can /only/ be in a method noob101
andy has quit [Remote host closed the connection]
<IceDragon>
Darkhunter: You better look out, I carry a screwdriver
<InfraRuby>
I run with screwdrivers
<BraddPitt>
but they can be used in different ways. A return statement always terminates the running of that function. So usually they are at the very end of the method, but sometimes you want to terminate early
<noob101>
BraddPitt: I don't get the value thing, for example:
<noob101>
if I make a method
<BraddPitt>
an example would be if you are searching for a value in a list of objects, you may want to return from your search method when you find it instead of continuing through the list
<noob101>
def hello
<BraddPitt>
srue
<BraddPitt>
sure*
<InfraRuby>
can a method terminate sarah connor?
<noob101>
puts "Hello World"
<noob101>
end
<BraddPitt>
right, so not all methods return a value
<BraddPitt>
those are called side effect methods i believe
<Darkhunter>
IceDragon: But apache doesnt start now Cannot load /root/.gem/ruby/2.1.0/gems/passenger-4.0.41/buildout/apache2/mod_passenger.so into server: /root/.gem/ruby/2.1.0/gems/passenger-4.0.41/buildout/apache2/mod_passenger.so: cannot open shared object file: No such file or directory
<BraddPitt>
(someone can correct me if im wrong)
<noob101>
How would I need to use the return statement to get a value
<BraddPitt>
and you're right, a good example is puts-ing something or writing to a file. You don't return a value there, you jsut let the method do its thing
<IceDragon>
Darkhunter: You have got to be crapping me
<noob101>
Ohh ok.
<IceDragon>
Is passenger broken or something... -,-
<noob101>
So return is effective when using return for like arithmetic and such?
<BraddPitt>
exactly
<IceDragon>
Darkhunter: uninstall passenger and then reinstall it ~fresh~
<noob101>
Can you tell me an easy example of code while using return
<IceDragon>
Darkhunter: Oh, don't forget to install apache via pacman, that might be the reason it wasn't built/exists
<BraddPitt>
ruby has implicit return, so whatever the last line in your method is, that is the returned value
<IceDragon>
Darkhunter: pacman -S apache
TripTastic has left #ruby ["Leaving"]
<BraddPitt>
if you want to return early, you can write `return result` or whatever the value you want to return is valled
<BraddPitt>
called*
<noob101>
So you use return to have a value reuturn'ed or output to the screen earlier so you can see it?
<noob101>
return*
<Darkhunter>
IceDraog : Got it through pacman...Reinstalled passenger, but when installing passenger module: httpd: Syntax error on line 177 of /etc/httpd/conf/httpd.conf: Cannot load /root/.gem/ruby/2.1.0/gems/passenger-4.0.41/buildout/apache2/mod_passenger.so into server: /root/.gem/ruby/2.1.0/gems/passenger-4.0.41/buildout/apache2/mod_passenger.so: cannot open shared object file: No such file or directory
nomadic has quit [Ping timeout: 252 seconds]
<IceDragon>
Darkhunter: goto the directory personally and look for the .so
nateberkopec has quit [Ping timeout: 240 seconds]
<Darkhunter>
IceDragon: There is no buildout folder...
<BraddPitt>
noob101 for output to the terminal, we use puts. A return is simply so you can call a function, give it some parameters, and get back a value
<IceDragon>
O_O looks like we have a huge problem there
<IceDragon>
lemme try installing it...
<BraddPitt>
a good example is mathematical methods that do some arithmetic, we obviously want the final value back from these methods otherwise they would be useless
Jager` has joined #ruby
<noob101>
BraddPitt: what is a function?
chipotle has quit [Quit: cya]
ponga has quit [Ping timeout: 252 seconds]
<Darkhunter>
IceDragon: U want access to my server ?
<IceDragon>
Darkhunter: Sure, I'll give it a shot
<IceDragon>
I hope you have cat pics though
jamto11 has joined #ruby
lw has quit [Quit: s]
<BraddPitt>
sorry noob101, method*
<BraddPitt>
function/method are interchangeable (for the most part)
nomadic has joined #ruby
<Jager`>
why did twitter switch from ruby to java?
<BraddPitt>
Jager`, scale and robustness
<BraddPitt>
Rails wasn't enough for their load
<Darkhunter>
IceDragon: Okay is there some kind of PM, bcs I dont want to everybody know how to access my server...
<BraddPitt>
at least, that's what i've read
ponga has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<Jager`>
not sure if I should learn ruby if it's even slower than Java. I though java was one of the slowest languages.
<Jager`>
java is bloated and slow. But still faster than ruby?
<Nowaker>
Jager`: java is almost as fast as native code in most circumstances. go and learn a bit.
SilkFox has quit [Ping timeout: 252 seconds]
<noob101>
BraddPitt: if mathematical methods do arithmetic and ruby has this thing that returns the last line, why do you still need return again?
<centrx>
now quit trolling and do something useful with your time, like making money <- shevy's top priority
<shevy>
yes
<ponga>
my top priority too
<Nowaker>
shevy: as long as you dont need to kvm (keyboard, video, mouse) on hp or supermicro servers ;)
<Jager`>
i go do applet. ruby no do that. bye
<shevy>
Jager` bye
<Nowaker>
java is still there unfortunately
snuffeluffegus has quit [Quit: Leaving]
<BraddPitt>
ponga that looks fine to me (minus the == true, uneeded). Not sure why they said to call it `alphabetize` though when you're dealign with numbers
Jager` has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<Nowaker>
ircing from emacs...
<ponga>
InfraRuby, I strongly believe it is a bug in codecademy, thanks anyway, code looks fine to me too
<centrx>
ponga, What is the error message?
<InfraRuby>
ponga: is that the array you're supposed to use?
<Nowaker>
im really curous if he was stupid or troling, shevy
<shevy>
trolling
<shevy>
the java to javascript line exposed him
<Robbo_>
I think he was stupid
<Nowaker>
seemed stupid more than trolling imo ;)
<Robbo_>
If he was trolling he wasn't a very good troll
<BraddPitt>
ponga try with 12345
<BraddPitt>
maybe they are just touchy about input vals
<shevy>
Robbo_ that's what he wanted you to think!
moritzs has joined #ruby
moritzschaefer has joined #ruby
<ponga>
ok
<shevy>
btw BraddPitt you wrote about explicit vs. implicit returns in ruby before
<ponga>
i will try 1,2,3,4,5
moritzschaefer has quit [Read error: Connection reset by peer]
<Robbo_>
Trolling is to provoke a reaction that would amuse him, he never said anything that would do that unless just really bad troll
moritzs has quit [Read error: Connection reset by peer]
<ponga>
nope, same error
<BraddPitt>
what shevy ?
<shevy>
I think there is one exception though, where the ruby parser will ignore an explicit return and instead returns something else
<ponga>
actually codecademy tole me to use whatever array of numbers
<centrx>
ponga, That's a poorly explained error message, can you run it on ruby on your system, or paste the actual code?
phinfonet has quit []
<ponga>
ah
<ponga>
ruby by myself
<shevy>
I have had that happen some weeks ago but now I can not find it :(
<InfraRuby>
ponga: wtf? are those the only instructions?
<ponga>
plz wait
<BraddPitt>
shevy pls ( ≖‿≖)
<ponga>
InfraRuby: yes :( (crying
<BraddPitt>
i'm not fond of codecademy
<centrx>
ponga, It could just be a Codeacademy bug
<InfraRuby>
codecademy sucks
<Robbo_>
So anyone know of a good article on guard? Or a good comparison to gulp? gulp is new still but I can find more information on it
<ponga>
and it does seem to be working fine , i mean on the right panel it looks SORTED
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ponga>
yeah, might gonna skip it
<BraddPitt>
just skip
<ponga>
thanks people
<BraddPitt>
also i would recommend you use rubymonk or chris pine's book on ruby
<BraddPitt>
eh actually
<ponga>
for giving me assurance that i DID code right
<BraddPitt>
disregard that
<BraddPitt>
just continue with codecademy
<ponga>
lol
<ponga>
ok
<BraddPitt>
don't want to frustrate or discourage a newcomer
<ponga>
im very passionate newcomer, will put rubymonk in my back of brain
<centrx>
Robbo_, Are they even related?
<shevy>
oh yes I found it
<shevy>
BraddPitt, in setter= methods
rm_ has quit [Remote host closed the connection]
<ponga>
BraddPitt: I learnt java for the firsttime, a bit of JS,C but then found this ruby lang so beautiful
<Robbo_>
centrx: they do the same jobs just in different ways
<ponga>
never gon give up
<BraddPitt>
who still writes setter methods though shevy ( ≖‿≖)
<BraddPitt>
im all about the attr_*able
rm_ has joined #ruby
<BraddPitt>
but now im curious
<Robbo_>
centrx: I found something that can help me decide I think, the main thing I need is watching and that is what guard is at core so hopfully it does what I want
<BraddPitt>
what does a foo=() return?
<BraddPitt>
yes ponga ruby just has a lot of "sugar" and convenience methods, im sure you'll become quite fond of it like myself
<ponga>
its such a shame that codecademy does not have this "REPORT BUG" button for every course section
rm__ has joined #ruby
<BraddPitt>
send them hate mail
<ponga>
BraddPitt: yeah really, i really loved this concept of using all convenience, think all differently
<ponga>
which led me do 120 codecademy tutorals in single day
<ponga>
yay
<shevy>
BraddPitt I am trying to find a good example right now
kitak has quit [Remote host closed the connection]
<Hanmac>
and simlly copien what you see on SO without understanding is stupid
<etqqkoiflwhb>
ponga: yep, definitely!
tgkokk has quit [Ping timeout: 258 seconds]
<ponga>
my terminal says ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13] , it means my ruby ver is 2.0.0p272 ?
<ponga>
i though 1.9.3 was most popular...
<Hanmac>
ponga: why are you not happy that you have a newer version??¿
<etqqkoiflwhb>
yep
tgkokk`` has joined #ruby
<ponga>
Hanmac: i'm just confused that my latest OSX 10.9.2 has really new ver of ruby
<etqqkoiflwhb>
ponga: if you need 1.9.3, install rvm, install 1.9 series
einarj has quit [Ping timeout: 252 seconds]
<ponga>
does Apple update your ruby with OSX?
<ponga>
nono i'm very fine with new versions
<ponga>
just curious how update actually works in the back of stage
<Robbo_>
annoying when there are gems taking the very generic name (like guard-tilt) so you expect it to be maintained and up to date but nope
tgkokk` has quit [Ping timeout: 240 seconds]
<selite>
Hanmac: Just saw it. It fails on my test case too. : (
<Hanmac>
ponga: hm yes it should update the versions with OSX ... but i prefered rvm on OSX because i used ruby-trunk and i needed to test it with different compilers (there are differences between GCC & CLANG)
weems has quit [Quit: Leaving]
<ponga>
ok thanks last question, does installing different version with RVM removes current version of ruby that came with OSX?
bluOxigen has joined #ruby
<etqqkoiflwhb>
ponga: no, it just modifies your $PATH
<ponga>
etqqkoiflwhb: Hanmac: thanks a lot
<ponga>
splendid
<ponga>
i will install RVM then
<ponga>
thanks !
<etqqkoiflwhb>
to point to your default ruby, there's a ruby use 1.9.3 --default
weems has joined #ruby
<popl>
I use rbenv
<popl>
rbenv is pretty easy
<Hanmac>
ponga: nope, it only sets the priortiy higher ... that means when you use ruby you get your version, if you use /usr/bin/ruby you get the system version
<selite>
Why is this so hard to do in Ruby.
<etqqkoiflwhb>
popl: haven;t really given it a fair shot, why rbenv over rvm?
jason_ has joined #ruby
<ponga>
ah hah
<ponga>
that makes it all clear thanks Hanmac
<ponga>
wt..
<etqqkoiflwhb>
ponga: which is why i had to type in /usr/bin/ruby --version, instead of ruby --version
<Hanmac>
selite: like i said ... give me your test data and i fix that, or tell me why .sort_by(&:last) does not work, and did you tryed an newer ruby version?
<etqqkoiflwhb>
;coz it points to my default ruby instead of osx ruby
<etqqkoiflwhb>
anyone, is there such a method naming convention in ruby, def __result__
sdouglas has joined #ruby
fubelly has joined #ruby
<ponga>
yay
<ponga>
etqqkoiflwhb: thanks
<ponga>
got "Thank you for using RVM!"
marcdel has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 276 seconds]
<etqqkoiflwhb>
ponga: anything from rvm --version?
<ponga>
um..command not found?
<ponga>
sorry
<etqqkoiflwhb>
ponga: open a new terminal
<etqqkoiflwhb>
it adds a line to ~/.bashrc
<ponga>
rvm 1.25.22 (manual) by Wayne E. Seguin
<etqqkoiflwhb>
ponga: rvm --help, i think its rvm install 1.9 to install the 1.9 series
<etqqkoiflwhb>
ponga: the site has plenty of instructions if you you don;t feel like --help, but its down for now
<ponga>
o..k i'm browsing..
<etqqkoiflwhb>
ponga: rvm list remote, to list all versions, these should get you bootstrapped, you can get everything else from --help
slite_ has quit [Quit: Page closed]
fubelly has quit [Ping timeout: 240 seconds]
<etqqkoiflwhb>
rvm list known*
<ponga>
um apart from all long list of jruby
sdouglas has quit [Ping timeout: 258 seconds]
<ponga>
i have 2.0.0and 2.1 serieses
<ponga>
+ list of long jruby from 0.X to 1.7.9
<ponga>
so now i need to get 1.9.3 and install it via RVM?
<ponga>
omw
Slavox|AFK is now known as Slavox
Guest79744 is now known as lxsameer
lxsameer has quit [Changing host]
lxsameer has joined #ruby
h0ke has left #ruby [#ruby]
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
xiella has joined #ruby
<etqqkoiflwhb>
ponga: it can install alternative implementations of ruby, JRuby, Rubinius etc :)
<ponga>
ah hah
<etqqkoiflwhb>
ponga: and there are gemset, in case you want project specific gems
<etqqkoiflwhb>
gemsets*
markisonfire has joined #ruby
ellbot has joined #ruby
ndrei has quit [Ping timeout: 276 seconds]
nisstyre has quit [Quit: WeeChat 0.4.3]
Guest85908 has quit []
Guest85908 has joined #ruby
Shidash has joined #ruby
Guest85908 is now known as parduse
mary5030 has quit [Remote host closed the connection]
parduse is now known as Guest93973
alexju has joined #ruby
wethu has quit [Quit: This computer has gone to sleep]
Guest93973 has quit [Client Quit]
ellbot has quit [Ping timeout: 250 seconds]
Guest93973 has joined #ruby
Guest93973 is now known as parduse
grieg has joined #ruby
parduse is now known as Guest10662
<zorak>
where i can fin the answere of the koans?
Guest10662 has left #ruby [#ruby]
poreda has joined #ruby
pardusf has joined #ruby
andrewlio has joined #ruby
RaptorJesus has quit [Remote host closed the connection]
<zorak>
i found it, thanks!
<ponga>
:)
<ponga>
etqqkoiflwhb: thanks for all the help
pardusf is now known as parduse
evenix has quit [Remote host closed the connection]
<ponga>
but im going to rather stay with latest stable ver than installing old one
<ponga>
i believe latest stable is good for me
evenix has joined #ruby
Martxel has quit [Ping timeout: 276 seconds]
popl has quit [Quit: Touch the frog.]
popl has joined #ruby
emaxi has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
Slavox is now known as Slavox|AFK
lioninawhat has joined #ruby
evenix has quit [Ping timeout: 245 seconds]
deens has joined #ruby
emaxi has quit [Ping timeout: 252 seconds]
wang has joined #ruby
ndrei has joined #ruby
Slavox|AFK is now known as Slavox
CaptainJet has quit []
marcdel has joined #ruby
ws2k33 has joined #ruby
kaichanvong has joined #ruby
timonv has joined #ruby
pdtpatr1ck has quit [Quit: leaving]
coderhs has quit [Ping timeout: 252 seconds]
pdtpatrick has joined #ruby
chipotle has joined #ruby
marcdel has quit [Ping timeout: 245 seconds]
Kricir has joined #ruby
klaut has quit [Remote host closed the connection]
ddv has joined #ruby
timonv has quit [Ping timeout: 250 seconds]
rippa has joined #ruby
blackmesa has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
obs has joined #ruby
wethu has joined #ruby
anaeem1 has quit [Ping timeout: 276 seconds]
Kricir has quit [Remote host closed the connection]
dyoko has joined #ruby
mr_snowf1ake has quit [Ping timeout: 258 seconds]
anaeem1 has joined #ruby
coderhs has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 276 seconds]
claymore has joined #ruby
skaflem has joined #ruby
thomasxie has quit [Quit: Leaving.]
grieg has quit [Quit: Leaving]
browndawg has quit [Quit: Leaving.]
etqqkoiflwhb has joined #ruby
grieg has joined #ruby
RaptorJesus_ has joined #ruby
combusean has quit [Ping timeout: 276 seconds]
grieg has quit [Client Quit]
obs has quit [Quit: Konversation terminated!]
ponga has quit [Quit: Leaving :)]
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
jtz has quit [Changing host]
jtz has joined #ruby
nateberkopec has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
etqqkoiflwhb has quit [Ping timeout: 245 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
dyoko has quit [Ping timeout: 258 seconds]
etqqkoiflwhb has joined #ruby
weems has quit [Changing host]
weems has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Shidash has quit [Ping timeout: 276 seconds]
Guest25027 is now known as TWWOC
mr_snowf1ake has joined #ruby
shashank_rs has joined #ruby
selite has joined #ruby
Xeago has joined #ruby
<selite>
[["d",3], ["e",2]].sort_by(&:lost) doesn't work when compiled but when inserted in the ruby interpreted works. How is this possible?
<selite>
This is the dumbest thing I've seen.
ellbot has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
elaptics`away is now known as elaptics
<yxhuvud>
what do you mean by 'compiled'?
<selite>
yxhuvud: ruby programName.rb
<selite>
This is weird.
<yxhuvud>
lost -> last =
<yxhuvud>
?
<selite>
yxhuvud: I know, that's a type.
<selite>
yxhuvud: puts [3,2,1].sort yields [3,2,1] when compiled. holy...
<selite>
yxhuvud: From the interpreter works.
<selite>
yxhuvud: How is this possible.
<selite>
*typo
tomaw has joined #ruby
<crome>
it is not compiled
dut has joined #ruby
<crome>
Im not even sure what you are about
tgkokk`` has joined #ruby
ellbot has quit [Ping timeout: 240 seconds]
emaxi has joined #ruby
<crome>
also, what exactly do you mean by "interpreter"?
<crome>
irb?
<selite>
crome: Fixed it. Never mind.
<selite>
crome: How do you sort while maintaining order in ruby?
<crome>
umm, what?
<InfraRuby>
selite: stable sort?
<ktosiek>
sort while maintaining order?
duggiefresh has joined #ruby
<ktosiek>
oh, as in, maintaining order of equal elements
dima_ has joined #ruby
<InfraRuby>
selite: Array#sort is not stable
<selite>
ktosiek: puts [["e",3], ["e", 2], ["e", 1]].sort should yield the same thing.
emaxi has quit [Ping timeout: 252 seconds]
<selite>
InfraRuby: it doesn't work with it. In my case order is important.
<Nilium>
Could probably implement your own stable sort fairly quickly.
<Nilium>
Might need to use C to implement it depending on the amount of things you need to sort and the cost of comparing elements and whatnot, but whatever.
dut has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tvl is now known as tobiasvl
<ktosiek>
selite: what is the default ordering on arrays?
<InfraRuby>
Nilium: you can stabilize any sort
SHyx0rmZ has joined #ruby
<selite>
InfraRuby: How.
<selite>
ktosiek: It shuffles them.
dut has joined #ruby
<InfraRuby>
Nilium: just map e to [e, i] where i is the index
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<Nilium>
.. Order matters, but it's shuffled
<Nilium>
InfraRuby: You're talking to the wrong person
<InfraRuby>
unfortunately there is no map_with_index...
duggiefresh has quit [Ping timeout: 250 seconds]
mary5030 has joined #ruby
<yxhuvud>
infra: there is map.with_index though.
<InfraRuby>
but a.map_with_index { |e, i| [e, i] }.sort.map { |e, i| e }
dima_ has quit [Ping timeout: 252 seconds]
<Nilium>
each_with_index.map should work.
<selite>
I thought it was commons sense for the default sorting to be stable sort.
<InfraRuby>
Nilium: lol, sorry, that was for selite
<selite>
selite: I would've made a pretty HUGE mistake by assuming it.
<InfraRuby>
selite: no
<yxhuvud>
selite: no, because stable sort has costs involved.
<InfraRuby>
and you can always stabilize a sort
<InfraRuby>
as shown
<InfraRuby>
(but not tested)
<yxhuvud>
do note that if you are doing sequential sorts, then you might be able to use a.sort_by {|el| [el.a, el.b]}
<Nilium>
I'd just question whether it really needs to be stable
<Nilium>
If you're shuffling something and then sorting it, does order _really_ matter?
<selite>
Nilium: I am not shuffling things, the sorting does, since it's not stable.
zigomir has joined #ruby
<selite>
["e", 2] goes in front of ["e", 1] even though ["e", 1] comes first
mary5030 has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
<InfraRuby>
btw, that stabilize thing won't work with sort_by
<Hanmac1>
InfraRuby: i didnt understand why he cant use [["c", 1], ["b", 2], ["b", 1], ["b", 3], ["a", 1]].sort_by(&:last) ... i mean it returns the wanted result for me oO
Hanmac1 is now known as Hanmac
ellbot has quit [Ping timeout: 276 seconds]
spider-mario has joined #ruby
<InfraRuby>
Hanmac1: that re-ordered the "b" elements
relix has joined #ruby
<InfraRuby>
Hanmac1: umm.. and it's supposed to order on the strings, not the integers
lolmaus has quit [Ping timeout: 276 seconds]
shashank_rs has quit [Ping timeout: 252 seconds]
<InfraRuby>
sort_by(&:first) appears to work, but it's not guaranteed in ruby to be stable
<Hanmac>
okaay ... last time i asked he said it should be orderd on the integers...
<InfraRuby>
Hanmac: oh, lol
<InfraRuby>
where's st jude?
narcan has quit [Ping timeout: 276 seconds]
fubelly has joined #ruby
kirun has joined #ruby
lolmaus has joined #ruby
<Hanmac>
hm i dont know (maybe my ruby version was better than his? for me sort_by and sort returned exaclty what he wanted)
<InfraRuby>
Hanmac: yeah, but that's not guaranteed behavior
timonv has joined #ruby
_gerhardj_ has joined #ruby
<apeiros>
http://pastie.org/9076813 seems more complex than necessary. why not just .sort_by.with_index? also omits the block-less case
<apeiros>
popl: I'm using it atm as it is. but for a release I intend to change some things a bit
fgo has joined #ruby
timonv has quit [Ping timeout: 250 seconds]
<Hanmac>
InfraRuby: each time i tryed .sort_by(&:first) i got what i want, i dont see how its not guaranteed ... and the second with extra .with_index is much shorter than your variant
<apeiros>
Hanmac: it's not guaranteed by not explicitly guaranteeing it
<apeiros>
Hanmac: mri e.g. uses qsort, which may or may not be stable
<apeiros>
so it may very well be stable on a) your platform and b) your current ruby version
<Nilium>
Docs do not say it's stable, therefore it's not guaranteed to be stable.
<popl>
apeiros: that's cool. sorry I haven't been around to add more tests lately; been working then too tired from work to want to do much of anything.
<apeiros>
but it's not guaranteed to be stable on either a different platform or a different ruby version
<apeiros>
popl: no worries
<Hanmac>
hm are you guys sure it wasnt fixed yet? the ticket is > 5 years old ... (and for me it seems to work)
fgo_ has joined #ruby
<InfraRuby>
seems to work, lol
timonv has joined #ruby
<InfraRuby>
ruby might use a stable sort for small arrays
rylev has joined #ruby
<apeiros>
Hanmac: "In JRuby, we recently put in place an unstable hybrid of a couple sorts"
<apeiros>
in that post
<Hanmac>
hm ok sorry but i do not care what Jruby says ... Jruby was not, is not, and will not be something i will be interested in
fgo has quit [Ping timeout: 276 seconds]
<apeiros>
that rules you out of the discussion then :-p
<InfraRuby>
lol
<InfraRuby>
matz also rejected stable sort
<InfraRuby>
Hanmac: you might like #python
wethu has quit [Quit: This computer has gone to sleep]
tvw has joined #ruby
<Hanmac>
InfraRuby: i already worked with python ... but its not evil enough for me ... (i compared ruby & python as twin sisters ... ruby is the "dark" one of them ;P )
lioninawhat has quit [Remote host closed the connection]
fgo_ has quit [Ping timeout: 276 seconds]
wethu has joined #ruby
<apeiros>
what I miss from that ticket is benchmarks which show how much stable sort algorithms are slower than unstable ones
tgkokk has quit [Remote host closed the connection]
boostedb has joined #ruby
cover has quit [Ping timeout: 250 seconds]
senayar has quit [Remote host closed the connection]
Xeago_ has joined #ruby
einarj has joined #ruby
marcdel has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
Stalkr_ has joined #ruby
einarj has quit [Ping timeout: 250 seconds]
lkba has joined #ruby
Xeago has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
Guest59113 has quit [Changing host]
Guest59113 has joined #ruby
Guest59113 is now known as JStoker
fatumka has joined #ruby
Fractional has joined #ruby
tungd_ has joined #ruby
<Fractional>
Is there a way to say that a range (for instance 0..2) in a hash should all be set to value X?
<Fractional>
should be pointing to*
Alessy89 has joined #ruby
marcdel has quit [Ping timeout: 240 seconds]
Naoe-Kanno has joined #ruby
tungd has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
SHyx0rmZ has quit [Ping timeout: 276 seconds]
nateberkopec has joined #ruby
<Fractional>
Is there a way to say that a range (for instance 0..2) in a hash should all be set to value X?
* Hanmac
is a hardcore programmer, i dont use SOAP ;P
Xeago_ has quit [Remote host closed the connection]
xIzIv has joined #ruby
etqqkoiflwhb has joined #ruby
emaxi has quit [Ping timeout: 276 seconds]
jlebrech_ has joined #ruby
AliRezaTaleghani has joined #ruby
jlebrech_ has quit [Read error: Connection reset by peer]
atno has joined #ruby
rainmanjam has joined #ruby
AliRezaTaleghani has quit [Client Quit]
AliRezaTaleghani has joined #ruby
spider-mario has quit [Quit: No Ping reply in 180 seconds.]
alem0lars has joined #ruby
spider-mario has joined #ruby
pskosinski has joined #ruby
lioninawhat has quit [Remote host closed the connection]
osvico has quit [Read error: Connection reset by peer]
osvico has joined #ruby
* pipework
is a softcore metallurgist duck whisperer.
lioninawhat has joined #ruby
<pipework>
I have a healthy breakfast of HATEOAS every day.
tjr9898 has joined #ruby
ellbot has joined #ruby
<pipework>
Naw, I just play with hypermedia junk and work towards good HATEOAS. It's pretty fun though, I guess.
rainmanjam has quit [Read error: Connection timed out]
rainmanjam has joined #ruby
tjr9898 has quit [Ping timeout: 258 seconds]
phoo1234567 has joined #ruby
Kuda has quit [Quit: Byebye!]
ellbot has quit [Ping timeout: 250 seconds]
j416 has quit [Quit: o/]
Guest7556 has quit [Changing host]
Guest7556 has joined #ruby
Guest7556 is now known as deepy
shredding has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister_ has joined #ruby
mikecmpbll has joined #ruby
zigomir has quit [Remote host closed the connection]
LetErikTry has joined #ruby
fgo has quit [Remote host closed the connection]
cover has quit [Ping timeout: 250 seconds]
Squarepy has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
mikecmpbll has quit [Quit: i've nodded off.]
anaeem1__ has joined #ruby
shashank_rs has quit [Ping timeout: 252 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
anaeem1_ has quit [Ping timeout: 250 seconds]
meatherly has joined #ruby
sdouglas has joined #ruby
AliRezaTaleghani has left #ruby [#ruby]
mikecmpbll has joined #ruby
freerobby has quit [Quit: Leaving.]
osvico has quit [Read error: Connection reset by peer]
osvico has joined #ruby
sdouglas has quit [Ping timeout: 258 seconds]
boostedb has quit [Quit: boostedb]
lxsameer has quit [Read error: Connection reset by peer]
AlSquire has joined #ruby
wald0 has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
Guedes0 has joined #ruby
rylev has quit [Remote host closed the connection]
rylev has joined #ruby
marcdel has joined #ruby
atno has quit [Remote host closed the connection]
emaxi has joined #ruby
yfeldblum has joined #ruby
nateberkopec has joined #ruby
marcdel has quit [Ping timeout: 245 seconds]
wethu has quit [Quit: This computer has gone to sleep]
nateberkopec has quit [Read error: No route to host]
JJMalina has joined #ruby
ghr has joined #ruby
dima_ has joined #ruby
cgj has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
emaxi has quit [Ping timeout: 258 seconds]
senayar has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
cgj has joined #ruby
m8 has joined #ruby
ghr has quit [Ping timeout: 258 seconds]
JJMalina has quit [Ping timeout: 240 seconds]
davedev24 has joined #ruby
dima_ has quit [Ping timeout: 252 seconds]
shredding has quit [Quit: shredding]
fgo has quit [Ping timeout: 258 seconds]
jason_ has joined #ruby
browndawg1 has quit [Read error: Connection timed out]
senayar has quit [Ping timeout: 250 seconds]
maximski has joined #ruby
wethu has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
jamto11 has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
einarj has joined #ruby
RaptorJesus_ is now known as RaptorJesus
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
timonv has quit [Remote host closed the connection]
obs has quit [Quit: Konversation terminated!]
obs has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
[twisti] has joined #ruby
heftig has quit [Quit: Quitting]
jamto11 has quit [Ping timeout: 258 seconds]
shevy has joined #ruby
<shevy>
god damn it
<shevy>
downtime because of faulty hdds suck
<[twisti]>
hey, im getting a "passenger error" saying that it cannot stat environment.rb
<[twisti]>
is that something ruby related ?
marr has joined #ruby
browndawg has joined #ruby
heftig has joined #ruby
browndawg has quit [Max SendQ exceeded]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
Xeago has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
ellbot has joined #ruby
[twisti]_m has joined #ruby
[twisti] has quit [Ping timeout: 250 seconds]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
Xeago has quit [Ping timeout: 258 seconds]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
ellbot has quit [Ping timeout: 252 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
fgo has joined #ruby
<shevy>
test
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
lioninawhat has quit [Remote host closed the connection]
chipotle has joined #ruby
fabrice31 has joined #ruby
chimmy has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
tjr9898_ has joined #ruby
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
chimmy has quit [Client Quit]
phoo1234567 has quit [Quit: Leaving]
senayar has joined #ruby
browndawg has joined #ruby
fabrice31 has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
emaxi has joined #ruby
destructure has quit [Changing host]
destructure has joined #ruby
phoo1234567 has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
chipotle has quit [Quit: cya]
dig has joined #ruby
postmodern has quit [Quit: Leaving]
senayar has quit [Ping timeout: 250 seconds]
guardian has quit [Quit: Coyote finally caught me]
TripTastic has joined #ruby
guardian has joined #ruby
<TTilus>
[twisti]_m: somewhat, phusion passenger is an app server capable of running ruby web apps
FenixFyreX has joined #ruby
<[twisti]_m>
weird, i wonder how that even got on my server, i dont do anything with ruby
freerobby1 has quit [Ping timeout: 258 seconds]
fgo has quit [Remote host closed the connection]
FenixFyreX has quit [Client Quit]
<TTilus>
[twisti]_m: it is looking for enironment.rb, which is either missing or passenger process does not have enough rights to read it
<TTilus>
[twisti]_m: passenger runs python, node and meteor too, it is not ruby only
grieg has joined #ruby
<[twisti]_m>
well, its missing in the sense that the error comes on a normal jpg file hosted on my normal web server, so theres no such file, nor would i know where to get it
<[twisti]_m>
node.js ?
<TTilus>
you don't possibly have passenger_enabled on in the server conf that is handling the particular jpg file
<TTilus>
try_files having pass thru to passenger enabled server and that jpg file not being there could make it try handle that with an app deployed to passenger
<TTilus>
[twisti]_m: yes, node.js
alem0lars has left #ruby [#ruby]
<[twisti]_m>
no passenger_enabled in the file, but i did try something regarding node.js recently so ill try to backtrace what i did and see what i changed to cause that
<TTilus>
[twisti]_m: that could be it, look for traces of passenger in all of your webserver (nginx?) configurations
<[twisti]_m>
will do, thanks for the tips
<TTilus>
np
TripTastic has left #ruby ["Leaving"]
emaxi has quit [Remote host closed the connection]
emaxi has joined #ruby
mrmargolis has joined #ruby
lyanchih has joined #ruby
lioninawhat has joined #ruby
emaxi has quit [Ping timeout: 240 seconds]
klipeto has quit [Ping timeout: 252 seconds]
mrmargol_ has joined #ruby
davispuh has joined #ruby
coderhs has quit [Ping timeout: 240 seconds]
marcdel has joined #ruby
<Fractional>
Question! If I have a module called Zorder with a constant Color how could I pass the ZOrder::Color constants value into a method?
mrmargolis has quit [Ping timeout: 276 seconds]
WillAmes has quit [Remote host closed the connection]
<DouweM>
Zorder::Color evaluates to the value you set it to. you can just pass that into a method
browndawg has quit [Read error: Connection timed out]
tharindu has quit [Read error: Connection reset by peer]
twiceaday has joined #ruby
tharindu has joined #ruby
anshin has quit [Ping timeout: 252 seconds]
iamjarvo has joined #ruby
WillAmes has quit [Remote host closed the connection]
tharindu has quit [Read error: No route to host]
WillAmes has joined #ruby
fgo has joined #ruby
tharindu has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 276 seconds]
<shevy>
DouweM how do you manage your gem projects?
<shevy>
do you maintain your .gemspec files?
<shevy>
I am getting tired of having to change .add_dependency field
<DouweM>
I manage the gemspec manually, yeah. just like you'd add a gem to your project's Gemfile, you add it to your gem's gemspec
<DouweM>
if you're getting tired of doing that, are you sure your projects are even fit to be gems? just a single executable .rb file works fine as well
atmosx has quit [Remote host closed the connection]
<DouweM>
and only requires you to `gem install` your dependencies
<shevy>
hmm
<DouweM>
provided you only use the scripts yourself, who cares if it's a gem
atmosx has joined #ruby
<shevy>
my larger gem projects depend on many smaller .rb files
lxsameer has quit [Read error: Connection reset by peer]
<shevy>
some of them depend on even smaller ones
<DouweM>
ah, in that case the gem structure is a good idea
<DouweM>
I have no idea what you're working on so it's hard to give advice ;P
iamjarvo has quit [Ping timeout: 258 seconds]
<shevy>
the general tediousness of having to specify dependencies :(
<DouweM>
but you have larger gem projects with many .rb files and you still refuse to use proper scm? :p
<shevy>
what if I would just omit the version numbers of dependencies?
<shevy>
yeah, why would I need a scm?
<DouweM>
shevy: set a minimum version number
<DouweM>
shevy: to manage your source code
<DouweM>
you're missing out, I use Git for even the smallest private project
tharindu has quit [Ping timeout: 276 seconds]
coderhs has joined #ruby
<shevy>
ok and what advantage do you get that way?
<DouweM>
a clear history of the project, being able to easily see how it "got this way", being able to easily roll back changes, never being afraid to accidentally save/close and not be able to undo changes
<shevy>
so projects need a history ;)
<DouweM>
of course they do :p
<DouweM>
even if it's just to keep yourself sane
lolmaus has joined #ruby
<shevy>
what if you have a large project and wish to rewrite it
<DouweM>
I `git blame` my own files all the time, just to see when and why a certain line of code came about
<shevy>
I have the very same ability to roll back with incremental backups
<DouweM>
shevy: then you can?
<shevy>
DouweM but the new infrastructure would mean that none of the code would really work much anymore
<shevy>
like if you change the core APIs in your project
crazedpsyc has joined #ruby
<shevy>
add or remove dependencies
<DouweM>
what does that have to do with using version control or nog?
<DouweM>
*not
<DouweM>
and sure, you can get the same from incremental backups, but git commits and their diffs are a bit easier to browse through
<shevy>
DouweM precisely - version control does not give you anything useful when you wish to rewrite the whole project
<DouweM>
I don't know about you but I don't rewrite the whole project every day
<shevy>
perhaps you write perfect code :P
<DouweM>
most of my changes *are* incremental, where blame and history do make a lot of sense
<DouweM>
how often do you rewrite whole projects?
<DouweM>
instead of just changing/adding/removing stuff?
fgo has quit [Remote host closed the connection]
<shevy>
DouweM the larger projects I'd say about 1 every 3 years perhaps
<shevy>
*once every 3 years
<shevy>
the smaller ones don't need much rewriting
<DouweM>
so you have 3 years of history
<shevy>
actually, I think 98% of my small projects I never had to rewrite
lolmaus has quit [Remote host closed the connection]
<DouweM>
which is my point
<DouweM>
that's a terrible argument against scm
<shevy>
yeah and I don't see your point at all
<shevy>
why would anyone need scm for projects that rarely get changed and rarely need change?
tjr9898 has joined #ruby
<DouweM>
ah, that's something else
<DouweM>
if you rarely change them it doesn't matter much
<shevy>
I mean, for projects where you need people contribute to them then that is something different
<DouweM>
but if you do work on them a lot, and I don't mean rewrite, just add features and refactor, history is very useful
<shevy>
then you can trace back who added the backdoor :P
<DouweM>
not really, I regularly check the history for my own projects
<DouweM>
just to see when I added the backdoor :p
<shevy>
haha
<DouweM>
Git does your incremental backups + much more
<DouweM>
you already see the point of incremental backups to be able to roll back easily and hack freely
<DouweM>
why not try a proper scm
bluOxigen has quit [Ping timeout: 245 seconds]
<Rylee>
why not use an scm when it's as simple as $ git init; git add .; git commit -am 'initial commit'
<shevy>
Rylee for all projects
browndawg has joined #ruby
<[twisti]_m>
scm is insanely trivial if you know how to do it, and if you dont know how to use an scm, your chances of finding a decently paying job are severely diminished
ellbot has joined #ruby
<DouweM>
yeah, I find it crazy to have to argue the merits of proper scm in freaking 2014
<[twisti]_m>
so imo the only reason not to figure out scm is "i program as a hobby and work as a banker" or something
<gitt>
[twisti]_m: I've never encountered actual scm questioning in interview
<shevy>
[twisti]_m funny that I survived without scm so far
<gitt>
although perhaps that's just where I mention git/svn on the CV already and it's assumed a given
<DouweM>
gitt: you're gonna need it at every decent job though
<gitt>
yeah i don't doubt that
<tobiasvl>
i use git for my dotfiles, my passwords (stored with pass), my PGN chess game files, etc
<gitt>
although i've actually found people aren't necessarily all that adept at it
<tobiasvl>
in addition to all source code I write of course
<[twisti]_m>
yeah if you dont have at least one of git or svn in your cv i dont see how youd get anything above an intership
<gitt>
there should be more git training
<DouweM>
shevy: you're complaining about `git init/git add` with every new project, even though you happily write and maintain a gemspec?
<shevy>
DouweM no, did you not read what I wrote?
<shevy>
<shevy> DouweM how do you manage your gem projects?
<shevy>
<shevy> do you maintain your .gemspec files?
<shevy>
<shevy> I am getting tired of having to change .add_dependency field
<DouweM>
well, not happily. but at least git init is only once
<DouweM>
you still do it though
madb055 has joined #ruby
<shevy>
you just wrote "happily"
tjr9898 has quit [Ping timeout: 258 seconds]
<shevy>
<shevy> I am getting tired of having to change .add_dependency field
<DouweM>
yeah I'll retract that
<shevy>
HELLO? ;)
<DouweM>
git add/git commit anytime you make a bunch of significant changes isn't exactly a chore
<shevy>
DouweM I wonder how people actually find the motivation to want to maintain their .gemspec files
<DouweM>
you probably have your terminal open all the time anyway
<shevy>
DouweM wait a moment, not a chore...
<shevy>
<tobiasvl> i use git for my dotfiles, my passwords (stored with pass), my PGN chess game files, etc
<shevy>
!!!
<DouweM>
shevy: it's just write once; update very infrequently
<gitt>
DouweM: actually I find git helps me organise my thoughts and processes - as a byproduct of managing my changes
<shevy>
he uses git for EVERYTHING!
<DouweM>
shevy: you probably have your terminal open anyway
<shevy>
yeah
<DouweM>
shevy: who cares about a git add/git commit every once in a while
<tobiasvl>
shevy: EVERYTHING!!!
<shevy>
kde konsole and ten tabs!
<gitt>
git allows me to say "OK. Tests are passing. I spent the last 30 mins trying to fix something. I can't remember WTF I've been doing though. git diff..."
<shevy>
DouweM every once in a while!!!
<shevy>
hehe gitt
<tobiasvl>
i seriously use git for almost absolutely everything text based and it's wonderful out here, come join me
<shevy>
omg
<DouweM>
shevy: I'm still convinced you're a huge troll
<shevy>
nope, just very opinionated!
<shevy>
on reddit I have to fight the real trolls
<shevy>
they are respawning like crazy there
senayar has joined #ruby
<shevy>
though there are some wise people too
<tobiasvl>
shevy: okay, so you don't need the actual VERSION control (you claim; I think you couldn't live without it once you started, but YMMV of course), but what about easily backing up stuff by pushing your repos
<shevy>
but they are the clear minority
ellbot has quit [Ping timeout: 252 seconds]
enebo has joined #ruby
<shevy>
tobiasvl well first off it depends on the definition of a repo; I mean you could have all repos locally, of course that wouldn't be useful much for others
speakingcode has joined #ruby
<DouweM>
I have all of my repos as private repos on github for backup
<shevy>
hmm
momomomomo has joined #ruby
<tobiasvl>
DouweM: yeah me too (until recently I used bitbucket for that because it's free, until I caved and upgraded my github)
<shevy>
DouweM, what is your largest public project? as in where there is a repo online that one could be used for browsing
davedev24 has quit []
senayar has quit [Remote host closed the connection]
lioninawhat has quit [Remote host closed the connection]
<Nowaker>
DouweM: isnt it too costly? you pay github per repo, whereas youd pay bitbucket nothing... as you pay them per user.
<shevy>
I want to count statistics :)
Milly_Bays has joined #ruby
lolmaus has joined #ruby
<Nowaker>
and since its a private backup, you dont have collaborators to these repos
<DouweM>
Nowaker: it's just a matter of convenience. I'm already on GitHub for work, don't want to bother with another web GUI. Plus I get a student discount
<tobiasvl>
my largest as in code is https://github.com/unioslo/cerebrum (althought it's not really _mine_, it's our work project and I just recently made that github mirror) - history goes back to 2002 :) :) :)
browndawg has quit [Quit: Leaving.]
<shevy>
ok pebblewatch is not that large
<DouweM>
shevy: neither of those are good examples about the power of git. my largest project is work and private, obviously
<shevy>
well ;)
<shevy>
hidden away!!!
<tobiasvl>
DouweM: oh you made revolution. kudos
<shevy>
if you put it into a .tar.xz archive, how large would it be DouweM?
<DouweM>
tobiasvl: :)
<DouweM>
shevy: hehe, let me check
<shevy>
just a rough estimate
<Nowaker>
DouweM: i see. i use github for work, and bitbucket for my own small company. it would be a disaster to pay for 50 small private repos to github :)
markisonfire has quit [Quit: markisonfire]
<shevy>
ok cerebrum is much much larger than pebblewatch
<shevy>
much much much much larger than my biggest project as well
<DouweM>
shevy: the ZIP I just downloaded from GitHub is over 10MB (still downloading)
deens has quit [Remote host closed the connection]
<shevy>
ack
<tobiasvl>
shevy: it's just a mirror though, it's not a very popular repo on github yet as you can see ;)
<DouweM>
that's obviously no just code
<DouweM>
20MB downloaded now :P
<shevy>
hmm
<shevy>
cerebrum.zip at 4 mb
<DouweM>
I'm a bit scared myself by that number
<shevy>
I think all my projects taken together will barely reach ... perhaps 3 mb :P
<shevy>
haha DouweM
<shevy>
don't worry, you can reach 100
<DouweM>
shevy: we have a bunch of PSDs in here as well. let me get subtract those
<shevy>
well let's just put a number... 3 MB of these 20 MB might be code, that's really a lot in my opinion
<tobiasvl>
shevy: hehe, yeah, cerebrum is just code. my local repo is 50 MB unzipped
<DouweM>
Let me run loccounter :)
<shevy>
wow
Milly_Bays has quit [Ping timeout: 245 seconds]
<shevy>
you know. 50 MB ...
<shevy>
linux kernel linux-3.13.7.tar.xz has 74M here
<shevy>
are you guys building an OS ...
<DouweM>
tobiasvl: hehe, thanks for the follow
maximski has quit [Read error: Connection reset by peer]
<shevy>
tobiasvl, you also work in python?
<shevy>
in/with
maximski has joined #ruby
timonv has joined #ruby
<tobiasvl>
shevy: yeah, python at work, ruby at home ;)
freerobby has joined #ruby
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
baweaver has quit [Ping timeout: 258 seconds]
<DouweM>
shevy: cloc is counting, I'll get back to you with results :)
rm_ has joined #ruby
tharindu has joined #ruby
brupeb has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
<tobiasvl>
DouweM: np for the follow - I don't even have a pebble and I've heard of revolution. considering getting a steel
Milly_Bays has joined #ruby
<DouweM>
tobiasvl: how in the hell have you heard of revolution? and Steel is very nice, I'm wearing one right now. Much, much better than the plastic one
<DouweM>
tobiasvl: this one doesn't get me weird looks when I wear it at parties or whatever
<banister_>
tobiasvl r u excited about samsung watch
<DouweM>
tobiasvl: nice watch and (i no rite)
<tobiasvl>
banister_: not as excited as I am for Moto 360
<DouweM>
Samsung Galaxy Gear is supposedly awful
<DouweM>
yes! really looking forward to the Moto 360 announcement
<banister_>
tobiasvl r u excited fo apple iwatch
<DouweM>
And of course very curious to whatever Apple and Google are going to announce
relix has joined #ruby
<tobiasvl>
banister_: sure! not an apple guy myself but they tend do define whatever markets they enter ;)
nateberkopec has joined #ruby
<tobiasvl>
so DouweM made revolution and banister_ made pry
Alina-malina has quit [Read error: Connection reset by peer]
<tobiasvl>
shevy: see what github and social coding reveals? ;)
<DouweM>
hehe
<DouweM>
And we're both Dutch
pskosinski has quit [Remote host closed the connection]
Alina-malina has joined #ruby
<DouweM>
Or banister_ lives in the Netherlands, anyhow. I had no idea, cool beans.
<tobiasvl>
lekker gewoon
<DouweM>
zeker
ktun has joined #ruby
pskosinski has joined #ruby
<banister_>
DouweM leiden
sdouglas has quit [Ping timeout: 258 seconds]
ktun has quit [Read error: Connection reset by peer]
SolarBoom has joined #ruby
<banister_>
DouweM where are u from in nl?
<DouweM>
Yeah, cool. I knew you made Pry but I'd never actually seen your profile/location. Goed bezig :)
<shevy>
why the hell are you all in the netherlands
ktun has joined #ruby
<banister_>
DouweM i'm ot dutch btw ;)
<DouweM>
Currently living and studying in Utrecht, originally from den Bosch
<banister_>
DouweM not*
<DouweM>
banister_: ah :)
<banister_>
DouweM i just live here cos of easy access to illicit substances and the cute little towns
<DouweM>
Den Bosch / 's-Hertogenbosch, same thing
<DouweM>
lol
<DouweM>
yeah those are good reasons
<DouweM>
where are you from originally?
<banister_>
new zealand :)
dima_ has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
<DouweM>
our nature isn't as pretty as yours I'm afraid
j416 has joined #ruby
mjs2600 has joined #ruby
ktun has quit [Ping timeout: 258 seconds]
blackmesa has quit [Remote host closed the connection]
dima_ has quit [Ping timeout: 276 seconds]
marcdel has joined #ruby
tharindu has quit [Quit: Leaving...]
tgkokk has joined #ruby
<DouweM>
shevy: work project is 31001 lines of Ruby, 15719 of CoffeeScript and 2415 of CSS, apparently.
<DouweM>
those are weighted though, I think, not actual
<DouweM>
but that's a lot of code. I'm a bit ashamed, like it's *too much*
<shevy>
wow
rylev has quit [Remote host closed the connection]
<shevy>
is that including comments?
mjs2600 has quit [Remote host closed the connection]
<shevy>
I always include comments in counting lines of code :P
rylev has joined #ruby
<DouweM>
excluding
<shevy>
wow!
<DouweM>
excluding blank as well
<shevy>
so real code
<DouweM>
but I'm not sure how cloc.pl counts
<shevy>
yeah, blanks I eliminate as well
Guedes0 has quit [Ping timeout: 250 seconds]
<j416>
with newlines wherever the language allows
ikaros has quit [Quit: Ex-Chat]
<j416>
:D
<DouweM>
we currently have a pull request open on GitHub with "+9,922 −1,045" as the diff :P
diegoviola has joined #ruby
<DouweM>
and another one with "+7,717 −298"
<tobiasvl>
agh
<j416>
DouweM: happy to be on not your project. :D
ktun has joined #ruby
<tobiasvl>
sounds like one of shevy's three year rewrites
<DouweM>
there's a structure to it though :P although these should probably have been proper forks
<DouweM>
we have a lot of pull requests that merge into eachother atm hehe
<DouweM>
once all of the other PRs have been merged into the main one (the large one), it'll be merged into develop
<DouweM>
we're getting there, slowly
RaptorJesus has quit [Remote host closed the connection]
luckyruby has joined #ruby
iamjarvo has joined #ruby
<shevy>
tobiasvl hmm nah I think the largest project I have had reached 10k lines of code but including comments
ktun_ has joined #ruby
<shevy>
and 2415 lines of css!
<DouweM>
shevy: what was that?
<shevy>
DouweM my old ruby build tools
rylev has quit [Ping timeout: 276 seconds]
ktun__ has joined #ruby
ktun__ has quit [Client Quit]
marcdel has quit [Ping timeout: 240 seconds]
Morkel has joined #ruby
Megtastique has quit []
fubelly has joined #ruby
Morkel has quit [Client Quit]
doodlehaus has joined #ruby
Morkel has joined #ruby
ktun has quit [Ping timeout: 276 seconds]
CaptainJet has joined #ruby
iamjarvo has quit [Ping timeout: 258 seconds]
jottr has quit [Ping timeout: 240 seconds]
fubelly has quit [Remote host closed the connection]
ktun_ has quit [Ping timeout: 276 seconds]
cover has joined #ruby
jamto11 has joined #ruby
linojon has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
endash_ has joined #ruby
einarj has quit [Remote host closed the connection]
IceDragon has joined #ruby
kayloos__ has joined #ruby
jamto11 has quit [Ping timeout: 245 seconds]
shashank_rs has joined #ruby
shredding has joined #ruby
kayloos has quit [Ping timeout: 258 seconds]
vlad_starkov has joined #ruby
ktun has joined #ruby
lioninawhat has joined #ruby
jason_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
ktun_ has joined #ruby
glide has joined #ruby
kitak has joined #ruby
danijoo has joined #ruby
ellbot has joined #ruby
ktun has quit [Ping timeout: 252 seconds]
mjs2600 has joined #ruby
jottr has joined #ruby
spider-mario has quit [Remote host closed the connection]
tjr9898 has joined #ruby
ktun_ has quit [Ping timeout: 245 seconds]
rm_ has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 276 seconds]
rm_ has joined #ruby
angoragoats has joined #ruby
mrmargol_ has quit [Remote host closed the connection]
ellbot has quit [Ping timeout: 240 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
Karunamon has quit [Read error: Connection reset by peer]
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
chipotle has joined #ruby
mehlah has joined #ruby
ktun has joined #ruby
catphish has joined #ruby
<shevy>
right now I work on ftp stuff again!
<shevy>
todo item - enable readline tab completion for remote directories
<shevy>
but I hate the readline module so much...
chipotle has quit [Client Quit]
23LAAAN1I is now known as dyreshark
<catphish>
is there a normal way to create copies of a class with different class variables? i have a class that refers to a type of object in a remote database (via an http api), but i need to set which remote server the class should talk to before using it
sambao21 has joined #ruby
senayar_ has joined #ruby
jeregrine has joined #ruby
chipotle has joined #ruby
Megtastique has joined #ruby
<DouweM>
catphish: sounds like you should just use an instance, not a class
p8952 has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
<jhass>
or class level instance variables
<catphish>
i suspect i may just need more classes
SilkFox has joined #ruby
senayar has quit [Ping timeout: 240 seconds]
<catphish>
thinking about it, it might be easier just to pass the necessary options to class methods every time they're called
shashank_rs has quit [Quit: shashank_rs]
anshin has joined #ruby
sambao21 has quit [Ping timeout: 250 seconds]
<catphish>
essentially i call RemoteObject.all which pulls all RemoteObjects from an API, but i want to be able to connect to multiple remote servers
ellbot has joined #ruby
<catphish>
but i'm sure RemoteObject.all(remote_server) will be ok
<jhass>
as said, class level instance variables
<catphish>
jhass: i'll have to look those up as i've never heard of them, thanks
tjr9898 has quit [Remote host closed the connection]
<jhass>
and you probably want to put the related functionality in a module
<DouweM>
Why not Server.new(remote_server).remote_objects.all
<jhass>
so you get class ObjectA; extend RemoteObject; set_endpoint "...."; end class ObjectB; extend RemoteObject; set_endpoint "...."; end and so on
freerobby has quit [Ping timeout: 258 seconds]
<DouweM>
Then you can at least reuse the Server object
<catphish>
DouweM: that's not a bad idea at all
hoelzro has joined #ruby
<catphish>
jhass: that looks cool actually, i feel my problem would benefit from being simplified as per DouweM's suggestion though :)
Lightning has joined #ruby
maletor has joined #ruby
Lightning has left #ruby ["Leaving"]
sambao21 has joined #ruby
jlebrech_ has joined #ruby
sdouglas has joined #ruby
ktosiek_ has joined #ruby
<catphish>
DouweM: that works much better, thanks :)
ktosiek has quit [Ping timeout: 252 seconds]
snath has quit [Quit: Leaving]
<DouweM>
:)
snath has joined #ruby
jlebrech_ has quit [Max SendQ exceeded]
<catphish>
DouweM: actually, this leaves my original issue: what is remote_objects on which you call #all?
camilasan has quit [Quit: Konversation terminated!]
etqqkoiflwhb has joined #ruby
<catphish>
in my mind, it's a "configured" copy of the RemoteObject class, or is there a simpler option?
<DouweM>
What kind of methods does RemoteObject currently have?
ktun has quit [Ping timeout: 250 seconds]
sdouglas has quit [Ping timeout: 258 seconds]
p8952 has joined #ruby
<DouweM>
class methods, that is
<catphish>
well it has instance methods that refer to its remote attributes, and class metods like "all" "find_by_name"
maximski_ has joined #ruby
<catphish>
which return sets of instances of itself
kirun has quit [Ping timeout: 276 seconds]
<DouweM>
And RemoteObject is also used for instances of remote objects?
ktosiek_ is now known as ktosiek
<DouweM>
how about Server#remote_objects returns a RemoteObjectsCollection.new(server), which in turn implements those methods?
<DouweM>
That's similar to how ActiveRecord solves it
<DouweM>
RemoteObject wouldn't have any class methods
<catphish>
yes, that would work
<DouweM>
Because you always need to get remote objects through Server or RemoteObjectsCollection
jgoss has quit [Ping timeout: 258 seconds]
<DouweM>
what kind of remote objects and servers are we dealing with here anyway?
ktun has joined #ruby
<catphish>
it's just a simple: database -> http -> ORM
<DouweM>
all right. sure you're not reinventing the wheel?
TripleDES has joined #ruby
TripleDES has quit [Client Quit]
diegoviola has joined #ruby
xIzIv has quit [Quit: WeeChat 0.4.3]
<shevy>
hehe
<catphish>
i usually do :)
maximski has quit [Ping timeout: 276 seconds]
madb055 has quit [Ping timeout: 258 seconds]
TripleDES has joined #ruby
leonidlm has quit [Ping timeout: 245 seconds]
tgkokk has quit [Ping timeout: 250 seconds]
tharindu has joined #ruby
CaptainJet has quit []
deens has joined #ruby
kitak has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
kitak has joined #ruby
tgkokk has joined #ruby
rylev has joined #ruby
luckyruby has quit [Remote host closed the connection]
pu22l3r has joined #ruby
rylev has quit [Read error: Connection reset by peer]
rylev has joined #ruby
tharindu has quit [Ping timeout: 252 seconds]
deens has quit [Ping timeout: 252 seconds]
marcdel has joined #ruby
mac_cosmo has joined #ruby
popl has quit [Ping timeout: 250 seconds]
rylev has quit [Ping timeout: 250 seconds]
kirun has joined #ruby
camilasan has joined #ruby
momomomomo has quit [Quit: momomomomo]
jgoss has joined #ruby
marcdel has quit [Ping timeout: 240 seconds]
jorts has joined #ruby
cid404 has joined #ruby
bufferloss has joined #ruby
bogeyd6 has joined #ruby
fatumka has quit [Ping timeout: 245 seconds]
ktun_ has joined #ruby
PhilippeVienne has joined #ruby
rvraghav93 has joined #ruby
benzrf|offline is now known as benzrf
[twisti]_m has left #ruby [#ruby]
Fractional has left #ruby ["Leaving"]
<shevy>
hey Hanmac
<shevy>
shall I move to eclipse?
ktun has quit [Ping timeout: 240 seconds]
<bufferloss>
lol what kind of question is that?
<Hanmac>
shevy: hm yah, for what language do you plan to use it?
<bufferloss>
if you must use something other than a good text editor, go with RubyMine if anything
<shevy>
nah
<mac_cosmo>
lol @ eclipse
<shevy>
Hanmac no restrictions, all kind of text
<mac_cosmo>
what’s wrong with textmate / sublime?
<bufferloss>
shevy, then you want gvim/mvim
bufferloss has quit [Quit: Leaving]
<shevy>
textmate is mac only or?
<shevy>
gvim is a joke
yacks has quit [Ping timeout: 252 seconds]
<tobiasvl>
shevy doesn't like vim and he doesn't like git. we can never be friends
<mac_cosmo>
yep
* benzrf
slaps shevy
<benzrf>
shevy is an incarnation of terribleness
<shevy>
nono, the point that I don't like anything doesn't have anything to do with not picking it
<mac_cosmo>
sublime runs almost anywhere
<shevy>
vim's main problem is that it messes with the brain
<Hanmac>
shevy i only want to warn you, some builds of the eclipse dev versions are broken for gtk3 ... (so you might need to be careful)
<shevy>
hmm
<shevy>
I have both gtk2 and gtk3
<jhass>
eclipse as a general purpose editor is a horrible idea
<benzrf>
jhass++
thomasxie has joined #ruby
<mac_cosmo>
before sublime was out, and i had to use windows in the office, i used jedit. it was quite good
<jhass>
but then some people like their pain. Go and do it, but don't come here and complain you weren't warned
<DouweM>
yeah, I'll throw a +1 on that pile as well
Milly_Bays has quit [Read error: Connection reset by peer]
ktun_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
phruby: you still didn't provide a description for the problem you want to solve
<Hanmac>
i think his mind was poisoned by php to much
maximski_ has quit [Ping timeout: 240 seconds]
<phruby>
Hanmac: Hanmac thanks. so you would use proc to make it look like an alias
<phruby>
Hanmac: using proc solve my problem
klaut has quit [Remote host closed the connection]
<jhass>
I doubt that
<jhass>
I mean I doubt it's the optimal solution
sambao21 has quit [Quit: Computer has gone to sleep.]
<phruby>
jhass: the problem is - i want the variable to be an alias no matter what - whether it's a fixnum or an hash
<jhass>
you still describe the solution you think you need
<phruby>
jhass: or you need a lot of explanation that you think you need
The_NetZ has joined #ruby
<jhass>
all I can say that I never came across the need for such a construct or such an "alias"
tgkokk has joined #ruby
<The_NetZ>
ok; anyone care to assist me 'convert' a marshal-serialized object into a xml one?
luckyruby has joined #ruby
Waheedi has quit [Quit: Waheedi]
Nukepuppy has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
<jhass>
The_NetZ: what do you have so far?
Hanmac1 has joined #ruby
blackavr has quit [Ping timeout: 250 seconds]
rylev has quit [Remote host closed the connection]
madb055 has joined #ruby
Hanmac has quit [Ping timeout: 258 seconds]
coderhs has quit [Ping timeout: 250 seconds]
thomasxie has quit [Quit: Leaving.]
gremax has quit [Quit: Bye-Bye]
codeurge has quit [Ping timeout: 252 seconds]
thrillagorilla has quit []
<The_NetZ>
jhass: read up on ox and yaml
<jhass>
so where are you stuck?
freggles has joined #ruby
<The_NetZ>
actually I think I got it... now I just need to write the results to file
thrillagorilla has joined #ruby
<The_NetZ>
jhass: sorry if a bother, but I tend to ask a question as I research it, as sometimes folks here may know the answer faster than my google-fu
<jhass>
it helps to ask specific questions. To both
freerobby has joined #ruby
<The_NetZ>
ayup
<The_NetZ>
I shoulda asked more along the lines of 'whats a good gem/library useful for writing stuff as xml.'
<benzrf>
The_NetZ: the answer is dont use xxml
evenix has joined #ruby
<benzrf>
*xml
rylev has joined #ruby
zorak has joined #ruby
<Hanmac1>
i have map data in xml
Hanmac1 is now known as Hanmac
<The_NetZ>
Hanmac: haha
freerobby has quit [Ping timeout: 245 seconds]
<Hanmac>
hey its not that bad!
<The_NetZ>
benzrf: I don't intend to 'use' it, I just need a nice way to visualize it outside of irb
<The_NetZ>
Hanmac: I'm just laughing because that's what I just did XD
<benzrf>
use yaml or somethin
<benzrf>
xml is never 'a nice way to visualize' something
<The_NetZ>
benzrf: what works for your eyes may not for mine.
<benzrf>
unless it's actually something that markup is appropriate for
<The_NetZ>
Hanmac: ah. glfw here; writing up some useful bindings
<Hanmac>
glfw is also cool ... i worked with it before too
charlies_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
* Hanmac
is currently checking his github account if he does have a glfw-ruby repo too
SilkFox has quit [Read error: Connection reset by peer]
enebo has quit [Quit: enebo]
luckyruby has quit [Remote host closed the connection]
wethu has quit [Quit: This computer has gone to sleep]
<Hanmac>
hm nope i dont have a gflw binding yet but i tryed to integrade glfw into gosu a long time ago ... (and i also commited something to gflw itself)
wethu has joined #ruby
psyko666 has quit [Remote host closed the connection]
mikeg has joined #ruby
Nukepuppy has joined #ruby
klaut has joined #ruby
madcad has joined #ruby
momomomomo has quit [Quit: momomomomo]
madb055 has quit [Ping timeout: 250 seconds]
deens has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
yfeldblum has joined #ruby
rvraghav93 has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
Astralum has joined #ruby
Hanmac1 has joined #ruby
deens has quit [Ping timeout: 258 seconds]
senayar has quit [Ping timeout: 250 seconds]
gremax_ has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
gremax_ has quit [Client Quit]
coderhs has joined #ruby
banister has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
helpD_ has joined #ruby
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
helpD has quit [Ping timeout: 276 seconds]
abra has quit [Ping timeout: 250 seconds]
coderhs has quit [Ping timeout: 245 seconds]
abra has joined #ruby
marcdel has joined #ruby
abra has quit [Max SendQ exceeded]
emaxi has quit [Remote host closed the connection]
abra has joined #ruby
abra has quit [Max SendQ exceeded]
emaxi has joined #ruby
rm_ has quit [Ping timeout: 250 seconds]
defunct_process has joined #ruby
abra has joined #ruby
abra has quit [Max SendQ exceeded]
<The_NetZ>
heh
abra has joined #ruby
<The_NetZ>
Hanmac1: either way, I'm not doing a direct 1:1 glfw binding, though.
mark_locklear has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
<Hanmac1>
The_NetZ: there was a time i used gosu and i thought it would be good if i replace the current system inside gosu itself with glfw parts
ascarter has joined #ruby
Xeago has joined #ruby
marcdel has quit [Ping timeout: 250 seconds]
wm3|away has joined #ruby
Xeago has quit [Remote host closed the connection]
kayloos__ has quit [Ping timeout: 258 seconds]
Xeago has joined #ruby
emaxi has quit [Ping timeout: 250 seconds]
shevy has quit [Ping timeout: 258 seconds]
mikeg has quit [Remote host closed the connection]
diegoviola has joined #ruby
defunct_process has quit [Quit: Leaving]
ben___ has joined #ruby
ben___ has quit [Client Quit]
heedly has joined #ruby
<heedly>
what debian package has the gem executable in it?
Xeago has quit [Ping timeout: 258 seconds]
<xiella>
C
SilkFox has joined #ruby
Fire-Dragon-DoL has joined #ruby
<xiella>
oops, please ignore that
maximski has joined #ruby
toastynerd has quit [Remote host closed the connection]
ellbot has quit [Remote host closed the connection]
sethen has quit [Ping timeout: 240 seconds]
<_lazarevsky_>
[{"principle_id"=>{:s=>"cfcd208495d565ef66e7dff9f98764da"}, "text"=>{:s=>"Achievement of the Right Results"}}, {"principle_id"=>{:s=>"c4ca4238a0b923820dcc509a6f75849b"}, "text"=>{:s=>"Are Right, A Lot"}}, ...
deens has quit [Ping timeout: 276 seconds]
<jhass>
so an array of hashes
ellbot has joined #ruby
<_lazarevsky_>
yes
<_lazarevsky_>
I am given a string
<_lazarevsky_>
how can I return the element with the given string ?
atno has joined #ruby
<jhass>
a string of what?
<Mon_Ouie>
Using Enumerable#find
<_lazarevsky_>
string which is contained in the text field of the hashes
Es0teric has quit [Ping timeout: 258 seconds]
<_lazarevsky_>
so I need to find the hash which for the text field has the same value as the given string
madcad has quit [Quit: Konversation terminated!]
madcad has joined #ruby
<jhass>
hashes.find {|hash| hash["text"] == string } but consider using that as key/building a hash with that as key if you do that a lot
sambao21 has quit [Ping timeout: 252 seconds]
<jhass>
er, hashes.find {|hash| hash["text"][:s] == string }
wallerdev has joined #ruby
<jhass>
that's kinda a weird structure btw
<_lazarevsky_>
jhass: can you explain what you meant by => but consider using that as key/building a hash with that as key if you do that a lot
toastynerd has joined #ruby
<tobiasvl>
i did that just yesterday, used detect instead
<Hanmac1>
_lazarevsky_ if your stucture reacted an specific level of complexity you should think about using objects instead of hash-in-hashs
<_lazarevsky_>
Hanmac1: this is just a temp solution. This code will be refactored in a week or so
sdouglas has joined #ruby
<_lazarevsky_>
Hanmac1: I just need to have a running code for tomorrow is all. That's why I am not even using a DB for now, cuz we've not yet decided on a db yet
Es0teric has quit [Ping timeout: 258 seconds]
<Hanmac1>
yeah "refactoring" ... i know that when i try to refactor my macros again ... and again ;P
<_lazarevsky_>
Hanmac1: could you please advise me on which way is better
<_lazarevsky_>
Hanmac1: which way to structure the hash that is
<_lazarevsky_>
tobiasvl: I did not know what you meant by your comment
<shevy>
he meants json beer
<shevy>
*meant
<tobiasvl>
your structure is JSON, so why not parse it as JSON
<tobiasvl>
instead of reaching into the hash
<tobiasvl>
shevy: beer on sundays is frowned upon i think
freerobby has joined #ruby
<_lazarevsky_>
tobiasvl: no it's not JSON.. I am constructing the data.. it lives in-memory for now
coderhs has quit [Ping timeout: 240 seconds]
<tobiasvl>
oh okay
<_lazarevsky_>
tobiasvl: I am busy constructuing it now.. and I wanna know which way would be the best to query it.. I will receive a scenario string and I need to get a principle
<glide>
tobiasvl, It says I "need to be identified with services." Does that mean I need to register with freenode or something?
Mapley has quit [Quit: bai!]
picca has joined #ruby
<glide>
Hanmac, Ok, thanks.
trhodes_ has quit [Ping timeout: 264 seconds]
naw has quit [Ping timeout: 245 seconds]
freerobby has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
michaeldeol has joined #ruby
Morkel has quit [Quit: Morkel]
mjs2600 has joined #ruby
pwh has quit []
<headius>
Hanmac, apeiros: MRI had an unstable sort, which is why we did the same in JRuby...but I think they may have switch it to a stable sort later on
ellbot has quit [Ping timeout: 276 seconds]
noob101 has quit [Ping timeout: 240 seconds]
trhodes_ has joined #ruby
nateberkopec has joined #ruby
Mapley has joined #ruby
diegoviola has joined #ruby
<jhass>
glide: /msg NickServ help
Fretta has joined #ruby
Hanmac1 has joined #ruby
noob101 has joined #ruby
<glide>
jhass, thanks.
tjr9898_ has joined #ruby
Es0teric has joined #ruby
<apeiros>
headius: I don't think your choice was wrong. ruby doesn't guarantee stable sort, so you do what's best for performance.
Royalb15 has quit [Read error: Connection reset by peer]
<apeiros>
headius: but do you happen to have some numbers of stable vs. unstable algorithms?
Hanmac has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
glide is now known as omosoj
dutchakd_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
naw has joined #ruby
Es0teric_ has joined #ruby
momomomomo has quit [Quit: momomomomo]
tjr9898__ has quit [Ping timeout: 240 seconds]
nari has quit [Ping timeout: 276 seconds]
marcdel has joined #ruby
coderhs has joined #ruby
toastynerd has joined #ruby
Es0teric has quit [Ping timeout: 276 seconds]
<headius>
apeiros: we did that exploration many years ago...I'm not sure if we have those numbers now
<noob101>
Hello ruby community.
<apeiros>
ah too sad
<apeiros>
do you remember in what ballpark the diff was?
* noob101
hugs ruby community
<noob101>
Everyone here is so nice.
<apeiros>
hi noob101
<noob101>
Hello apeiros.
<RubyPanther>
woah, hands off, no touching
<noob101>
I am sorry :( RubyPanther
<RubyPanther>
lol j/k
<noob101>
:)
Es0teric_ has quit [Ping timeout: 258 seconds]
<headius>
apeiros: I think it was as much as 2x for some datasets
atmosx has joined #ruby
<noob101>
I am doing the ruby koans, I am learning about hashes now. -_- I don't like hashes
toastyne_ has joined #ruby
<apeiros>
headius: oh, that big? ok
<RubyPanther>
just be glad we don't have pseudo-hashes
pu22l3r has joined #ruby
<headius>
apeiros: stable requires more memory too I believe
FxK has joined #ruby
obs has joined #ruby
<apeiros>
I'm pretty sure I learned O(1) memory using stable sorting algos back in the day. but I might misremember (or they might have bad average performance)
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
aknagi has joined #ruby
Milly_Bays has joined #ruby
toastynerd has quit [Ping timeout: 276 seconds]
<apeiros>
having an explicitly stable sort variant would be nice. but I have to admit, I came across use cases maybe twice in the last ten years.
sdouglas has quit [Remote host closed the connection]
robert_ has quit [Read error: Connection reset by peer]
<headius>
apeiros: yeah I think there oughta be a stable sort method
<headius>
or an option passed to the sort
sdouglas has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
<headius>
sort(:stable => true)
Xeago has quit [Ping timeout: 245 seconds]
pu22l3r has quit [Ping timeout: 276 seconds]
_maes_ has joined #ruby
<shevy>
hehe
<shevy>
horses belong into the stable
tectonic has left #ruby [#ruby]
<shevy>
hmm if I have a module
<shevy>
module Foo; def a; end; def b; end; end
<shevy>
and I want to include that module into a class BUT I don't want it to overwrite already existing methods with the same name in that class
<shevy>
what options may I have left?
basichash has joined #ruby
<centrx>
shevy, include the module in the parent?
trhodes_ has quit [Ping timeout: 264 seconds]
deens has joined #ruby
<basichash>
Does one need to specify whether attributes are private, or is that done by default (changed via attr_reader/writer)?
pwh has joined #ruby
<centrx>
basichash, @instance_variables are always private
<jhass>
>> module A; def a; :a; end; end; class B; include A; def a; :b; end; end; B.new.a
<centrx>
basichash, Though they can still be accessed with instance_variable_get(:@instance_variable)
emaxi has joined #ruby
yfeldblum has quit [Remote host closed the connection]
trhodes_ has joined #ruby
<shevy>
jhass so you mean redefining the original state?
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
<basichash>
centrx: thanks. Is there any point in accessing an attribute by defining a method with a value? (e.g. def secret; @secret = 'hidden'; end instead of @secret = 'hidden')
<centrx>
basichash, What are yo utrying to do?
<jhass>
shevy: oh you don't want to overwrite a method from the parent class?
deens has quit [Ping timeout: 245 seconds]
<shevy>
well ideally I would prefer if the inclusion of the module would make a single exception for one method alone
<shevy>
I actually subclass from Sinatra
<shevy>
"def body" is the culprit
dutchakdev has joined #ruby
<basichash>
centrx: I was just reading through a tutorial and instead of creating a "pin" variable in the initialize func (this was for a banking class), it defined it in a private method
<shevy>
here is the minimal example I found that should reliably reproduce it: http://pastie.org/9077995
<shevy>
the module Foo pulls in a bunch of methods, but only "def body" is leading to this problem... is there a way to remove this method before I include the module?
dutchakdev has quit [Client Quit]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rm_ has quit [Ping timeout: 252 seconds]
dut has joined #ruby
michaeldeol has joined #ruby
<shevy>
hah
<shevy>
that works, thanks jhass
<shevy>
Foo.class_eval { remove_method(:body) }
hedgehog has quit [Ping timeout: 276 seconds]
F1skr has joined #ruby
<jhass>
I guess I'd just question why Foo needs to define a method named body
<shevy>
because it needs this method
bluOxigen has quit [Ping timeout: 252 seconds]
<jhass>
and then you can just remove it?
<shevy>
sure
<shevy>
it's not perfect but a workaround
<shevy>
you argue as if it must be a vital method
Lewix has joined #ruby
<jhass>
"Foo needs the method body so I can just remove it" sounds like a contradiction to me
Lewix has quit [Remote host closed the connection]
<shevy>
yes, Foo itself needs the method
<jhass>
note that I question that Foo needs a method _named_ body
<shevy>
Ideally I would not want to remove it at all
bluOxigen has joined #ruby
lioninawhat has quit [Remote host closed the connection]
_maes_ has quit [Read error: Connection reset by peer]
m0s^away is now known as m0s
<shevy>
well in any namespace there can be conflicts with methods having the same name
<F1skr>
Hello, in python it is possible to rename a module on import like: "import some_module as custom_name" is something like this possible in ruby?
<jhass>
but Foo seems intended to be used with Sinatra::Base, so it would be sensible to pay attention to not have conflicts with that
skkeeper has quit [Ping timeout: 252 seconds]
<shevy>
it would be nice if one could access different methods that have the same name, but ruby seems to resolve it in a way that makes the last one defined with the same name always the winner
<shevy>
you can include any module?
Lewix has joined #ruby
<jhass>
you need to separate between intention and possibilities. Ruby allows you a lot so you need to do that even more here
mrmargolis has joined #ruby
dima_ has joined #ruby
yfeldblum has joined #ruby
blackmesa has joined #ruby
tjr9898_ has quit [Read error: Connection timed out]
trhodes_ has quit [Ping timeout: 264 seconds]
tacos1de has joined #ruby
tjr9898_ has joined #ruby
fannye has quit [Ping timeout: 245 seconds]
<crome>
F1skr: in ruby import works in a different way.
cbreeze has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<jhass>
F1skr: in ruby you don't import modules, you load files, ruby doesn't associate the name of a file to its contents in any way, those are simply conventions for us programmers
<crome>
in python import returns a module, in ruby require loads all the classes/modules/etc defined in the file and places them under their respective namespace
dima_ has quit [Ping timeout: 250 seconds]
ellbot has joined #ruby
bufferloss has joined #ruby
cj3kim_ has joined #ruby
<F1skr>
I see, I can just do "custom_name = some_module" right after require right?
InfraRuby has joined #ruby
<jhass>
sure
mjs2600 has quit [Remote host closed the connection]
<jhass>
modules are just objects assigned to a constant
CorySimmons has joined #ruby
jason___ has joined #ruby
luckyruby has quit [Remote host closed the connection]
pu22l3r has joined #ruby
cj3kim_ has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
dut has joined #ruby
bufferloss has joined #ruby
mary5030 has joined #ruby
pu22l3r has quit [Remote host closed the connection]
lmickh has joined #ruby
pu22l3r has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jackneill has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
luckyruby has joined #ruby
Tricon has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
pu22l3r has joined #ruby
mrmargolis has quit [Remote host closed the connection]
freerobby has joined #ruby
luckyruby has quit [Ping timeout: 246 seconds]
jorts has joined #ruby
wald0 has quit [Quit: Lost terminal]
cj3kim_ has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
michaeldeol has joined #ruby
cj3kim_ has joined #ruby
vlad_starkov has joined #ruby
LetErikTry has quit [Quit: sleep]
pu22l3r has quit [Remote host closed the connection]
andrewlio has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 258 seconds]
vlad_starkov has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
pu22l3r has joined #ruby
F1skr has quit [Quit: WeeChat 0.4.3]
bufferloss has quit [Quit: Leaving]
dyoko has joined #ruby
n3k00n3 has joined #ruby
pushpak has joined #ruby
fabrice31 has joined #ruby
pu22l3r has quit [Ping timeout: 252 seconds]
dyoko has left #ruby [#ruby]
freerobby has joined #ruby
<CorySimmons>
Hi guys, I'm trying to Gemify my SCSS grid framework. I'm not familiar with Ruby so I'm not really sure how to do this. Can anyone take a peek at my WIP branch and let me know how it looks so far? https://github.com/mojotech/jeet/tree/cs/gemify/scss
vlad_starkov has joined #ruby
blackmes1 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<basichash>
apeiros: basically it's for user ids, so I suppose they would be valid
<DouweM>
basichash: why are you getting using user ids?
* jhass
slaps eval-in
<DouweM>
*using random
vlad_starkov has quit []
<apeiros>
jhass: C require still broken?
<_lazarevsky_>
https://gist.github.com/anonymous/77c4e647bc9ee8ada6a1 <- I have the following structure. I am given a string which is one of the strings contains in the scenarios array in the hashes. Now given that string, how can I find the hash which contains that string in the scenarios section?? Thank you so much
<eval-in>
jhass => wrong number of arguments (1 for 0) (ArgumentError) ... (https://eval.in/136087)
lw has joined #ruby
deens has joined #ruby
<centrx>
basichash, You might want to use SecureRandom.uuid for unique IDs
lw has quit [Max SendQ exceeded]
<jhass>
it doesn't like floats
<jhass>
at all
<DouweM>
ah I see
mac_cosmo has joined #ruby
<DouweM>
yeah, it calls n.to_s(16)
dseitz has joined #ruby
<basichash>
centrx: will look into it, cheers
<DouweM>
#to_s doesn't have any args on Float, hence the error
lw has joined #ruby
<_lazarevsky_>
https://gist.github.com/anonymous/77c4e647bc9ee8ada6a1 <- I have the following structure. I am given a string which is one of the strings contains in the scenarios array in the hashes. Now given that string, how can I find the hash which contains that string in the scenarios section?? Thank you so much
<DouweM>
_lazarevsky_: please don't do that
<centrx>
do what?
<_lazarevsky_>
DouweM: I am sorry.
<_lazarevsky_>
DouweM: see? that is what i re-posted :)
<DouweM>
post the same message after 2 minutes because no-one answered the first time :/
<jhass>
_lazarevsky_: given the previous answers to a very similar question, what are your attempts so far?
<_lazarevsky_>
jhass: the solution you gave me initially would not work because it assumed that each hash only contains one scenario string
cj3kim_ has quit [Ping timeout: 276 seconds]
<_lazarevsky_>
jhass: it was my mistake because I didnt mention that the scenarios filed is an array
maroloccio has joined #ruby
<DouweM>
_lazarevsky_: check out #find or #select and #include?
<jhass>
_lazarevsky_: it's veeery easy to adapt to this one though
rm_ has joined #ruby
<jhass>
_lazarevsky_: so it doesn't look like you even attempted
<_lazarevsky_>
jhass: I would figure it out on my own, but I am trying to find the most optimal solution time-wise
<_lazarevsky_>
cuz I'll be querying the array n times each time an api call is made
<jhass>
you didn't say so
<jhass>
what data do you need?
<jhass>
the whole hash?
<_lazarevsky_>
I need to return the hash which contains the passed string
arietis has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb has quit [Ping timeout: 258 seconds]
frege has joined #ruby
<frege>
I keep getting this error when I try to install something with gem
<frege>
/usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- json/pure (LoadError)
<jhass>
_lazarevsky_: do you have a place to keep the hash across api calls or do you build it each time?
<DouweM>
_lazarevsky_: why not change your data structure to a Hash mapping that string to the related data. O(1) lookup baby!
<_lazarevsky_>
I keep it in memory
m0s is now known as m0s^away
<DouweM>
you can easily build that from the array you have no, fwiw
<jhass>
_lazarevsky_: then the answer is also very easy to adapt to the previous very similar question you asked and DouweM just gave it again
sdouglas has quit [Remote host closed the connection]
<_lazarevsky_>
DouweM: well that is exactly the reason I'm here guys.. I'm new to ruby.. and for the time being we're not using any DB. this is a temp solution and I wanna get the best performance
<DouweM>
you don't need a DB. change the data structure to a Hash
<DouweM>
you know Hash, right?
<_lazarevsky_>
but how expensive is the mapping operation?
coderhs has quit [Ping timeout: 252 seconds]
sdouglas has joined #ruby
<DouweM>
you only transform the DS once, so it doesn't matter, and any lookups on-API-call are O(1)
<frege>
anyone?
<jhass>
why care about that if you only need to do it on application boot?
<jhass>
hm, ruby -c doesn't like method &a_proc too, so try format.html(&action)
<stephenmac7>
Actually, it doesn't work anyway.
Hanmac1 has quit [Ping timeout: 252 seconds]
<jhass>
sure it does
<stephenmac7>
I'm trying to fix a "ActionController::ActionControllerError: Cannot redirect to nil!" issue for rails.
<jhass>
oh, I thought you'd want to save typing or something
<stephenmac7>
Even if I create the block before destroying the line_item, it seems it still thinks line_item.cart is nil
<zorak>
any non-american comedy film to watch??
tjr9898_ has quit [Remote host closed the connection]
<stephenmac7>
Honestly, I just didn't know what the destroy method did to the object and I though it might work to save the action before destroying the object
<jhass>
you save a reference to the object, not a copy
<stephenmac7>
Right, so it should still be there.
<jhass>
and the code is evaluated when you call it
<stephenmac7>
Oh, I didn't know that last part
<stephenmac7>
That makes sense though :P
<jhass>
that's about the point of a closure, defer execution (and control over execution) to somebody else
<jhass>
stephenmac7: that's impossible to tell from that code
<dorei>
zorak: if u're into french sureal comedies ;-)
<stephenmac7>
jhass: It's a test error, but as an actual user, it works perfectly
mengu has quit []
motto has joined #ruby
<stephenmac7>
So, it's probably the test that's causing the issue, not the destroy method of the controller
<jhass>
yep, probably insufficient setup
failbusextreme has joined #ruby
<jhass>
or insufficient validations in the model in the first place
<apeiros>
23:18 stephenmac7: Error: `&' interpreted as argument prefix.
<apeiros>
you get that because you didn't use parenthesis
<stephenmac7>
Though I'm using "assert_not_nil @line_item.cart" right before I call the method
marcdel has quit [Ping timeout: 240 seconds]
dima_ has joined #ruby
<stephenmac7>
apeiros: Oh, those are manditory?
<apeiros>
`foo &bar` could be interpreted as either `foo(&bar)` or as `foo & bar`
<stephenmac7>
Oh, I see.
<apeiros>
stephenmac7: no. but your code is ambiguous and ruby tells you how it's interpreted.
Guedes0 has joined #ruby
m8 has quit [Ping timeout: 240 seconds]
tjr9898__ has joined #ruby
Lewix has quit [Remote host closed the connection]
cover has joined #ruby
aaronmcadam has quit [Quit: Leaving...]
SilkFox has joined #ruby
zorak has quit [Ping timeout: 252 seconds]
<apeiros>
I don't see how you get "Error: `&'", though.
zorak has joined #ruby
<apeiros>
I only get "warning:", and that too only with warnings enabled
<stephenmac7>
apeiros: ruby -c
emaxi has quit [Remote host closed the connection]
marcdel has joined #ruby
<apeiros>
that doesn't give me an error either
rvraghav93 has quit [Remote host closed the connection]
<stephenmac7>
I don't know. I'm using a SublimeLinter plugin that gave me that error.
<jhass>
yellow dot = warning
<jhass>
(I'm using that too)
<stephenmac7>
Then why did it say error at the bottom in gray?
<jhass>
beause it always does
dima_ has quit [Ping timeout: 252 seconds]
<stephenmac7>
Ah, didn't know that
<jhass>
the error prefix comes from sublimelinter I think
toastyne_ has quit [Remote host closed the connection]
blackmesa has joined #ruby
sqwirl has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snuffeluffegus has quit [Quit: Leaving]
ndrei has quit [Remote host closed the connection]
<stephenmac7>
jhass: Well, got it fixed by editing the fixture rather than trying to do it from the controller or test
Es0teric has joined #ruby
<jhass>
invalid fixture totally is a subset of insufficient test setup for me ;)
mrmargolis has quit [Remote host closed the connection]
SilverKey has quit [Quit: Cheerio!]
<_lazarevsky_>
Hash[results.map {|hash| hash[:scenario].map {|scenario| [test, hash] } }.flatten(1)] <- what exactly is happening here? Create a hash -> iterate over the array -> extract the values test and hash and then flatten the returned result>
<_lazarevsky_>
what am I missing? Where is the index to each of the hashes being applied?
<_lazarevsky_>
how would the thing be different if scenario was not an array but a string
<jhass>
a hash doesn't have an index, arrays do. hashes have keys
<_lazarevsky_>
yea sorry that's what I meant
<jhass>
you got the string version already in the by_text version
linojon has quit [Quit: linojon]
<jhass>
and it creates an array of arrays of two element arrays, flatten(1) makes an array of two element arrays out of that and Hash[] makes a hash of an array of two element arrays, the first element of the two element arrays as key, the second element as value
Es0teric has quit [Ping timeout: 252 seconds]
<_lazarevsky_>
#mindblown
<_lazarevsky_>
ruby is amazing
<apeiros>
flat_map instead of map {}.flatten(1) IMO
nfk has quit [Ping timeout: 240 seconds]
picca has joined #ruby
dkamioka has quit [Remote host closed the connection]
<jhass>
er, yeah, somehow I always forget flat_map. I think part of me still thinks it's .flatten.map
Guedes0 has quit [Ping timeout: 250 seconds]
aknagi has joined #ruby
failbusextreme has quit [Ping timeout: 240 seconds]
RaptorJesus has joined #ruby
ndrei has joined #ruby
andrewlio has joined #ruby
dkamioka_ has joined #ruby
IcyDragon has joined #ruby
<shevy>
the name is so weird
northfurr has quit [Quit: northfurr]
IceDragon has quit [Ping timeout: 245 seconds]
linojon has joined #ruby
northfurr has joined #ruby
lw has quit [Quit: s]
<apeiros>
you too think they should have called it flap? :)
combusean has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
<shevy>
lol
<shevy>
that would actually be better than flat_map
<shevy>
we already have tap
<shevy>
so why not flap
<shevy>
and we have map
<shevy>
perhaps also a method called crap
davispuh has quit [Read error: Connection reset by peer]
<crome>
#fap
claymore has quit [Quit: Leaving]
ellbot has quit [Remote host closed the connection]
ellbot has joined #ruby
sqwirl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dut has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjr9898__ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
tjr9898_ has joined #ruby
omosoj has quit [Ping timeout: 258 seconds]
alexherbo2 is now known as alexherbo2|zZz
jordila has quit [Quit: Leaving.]
ellbot has quit [Ping timeout: 240 seconds]
Fezzler has joined #ruby
Naoe-Kanno has quit [Quit: ネウロイを負かさなきゃならないね]
ktosiek has quit [Ping timeout: 252 seconds]
fabrice31 has quit [Ping timeout: 258 seconds]
ws2k33 has quit [Ping timeout: 256 seconds]
dkamioka_ has quit [Remote host closed the connection]
<DouweM>
"Special paint will also be used to paint markers like snowflakes across the road's surface -- when temperatures fall to a certain point, these images will become visible, indicating that the surface will likely be slippery. "
<DouweM>
very cool
trhodes_ has joined #ruby
crucify_me has joined #ruby
jordila is now known as jordilopezamat
m0s^away is now known as m0s
saarinen has joined #ruby
lioninawhat has joined #ruby
jordilopezamat has quit [Quit: Leaving.]
Guedes0 has joined #ruby
eka has quit [Ping timeout: 245 seconds]
<shevy>
yeah the idea is cool
<shevy>
I can't imagine it to be very durable or reliable though
eka has joined #ruby
michaeldeol has joined #ruby
<crucify_me>
http://pastie.org/9078376 hi if I flatten and call size separately I get a different result than if they are called together...?
lioninawhat has quit [Client Quit]
siwica has joined #ruby
motto has quit [Quit: Sto andando via]
combusean has quit [Ping timeout: 252 seconds]
Kricir has joined #ruby
agarie has joined #ruby
<crucify_me>
i.e. after I flatten the array the elements are still three instead of 9.
<withnale>
and if I run optparser to match only arg1 and arg2 I want arg3 and arg4 left unmodified in ARGV
<apeiros>
centrx, withnale: it pays to read the docs. parse! is destructive, parse is not. also you can pass in the array to process.
siwica has quit [Ping timeout: 258 seconds]
<withnale>
apeiros: thats fine, but that's not what I'm trying to do
<withnale>
and I have read the docs :D
<apeiros>
ah, sorry. should have read the backlog. I see.
<withnale>
Lets make it more concrete. I have global options and local options - imagine a global option as '--debug'. I want that to match anywhere...
Geniack has quit [Ping timeout: 240 seconds]
crucify_me has quit []
<withnale>
So this is valid... 'myprog --debug --arg2 YYY --arg3 subcommand --arg4'...
abra has quit [Ping timeout: 250 seconds]
<withnale>
and so is this... 'myprog --arg2 YYY --arg3 subcommand --arg4 --debug '...
saarinen has quit [Ping timeout: 250 seconds]
<withnale>
I was hoping I could run optionparser in two rounds - one to pick off the globaloptions and one for the subcommand specific options
deens has quit [Remote host closed the connection]
<withnale>
btw: I'm deliberately not using gli, methadone, thor et al
Geniack has joined #ruby
abra has joined #ruby
abra has quit [Max SendQ exceeded]
leonidlm has quit [Ping timeout: 250 seconds]
abra has joined #ruby
lkba has joined #ruby
SilkFox has quit [Ping timeout: 258 seconds]
danijoo has quit [Remote host closed the connection]
mary5030 has joined #ruby
<dorei>
apeiros: thanks for saving me from my monster :)
combusean has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<popl>
apeiros the conqueror
fabrice31 has joined #ruby
kevinykchan has joined #ruby
kevinykchan has quit [Client Quit]
dseitz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kevinykchan has joined #ruby
kevinykchan has quit [Client Quit]
nisstyre has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
<shevy>
conquer the apeiros
kevinykchan has joined #ruby
rafaelmagu has joined #ruby
<InfraRuby>
shevy: tmi
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
rm__ has joined #ruby
rm_ has quit [Ping timeout: 240 seconds]
luckyruby has joined #ruby
sambao21 has joined #ruby
yfeldblum has quit [Remote host closed the connection]