<shevy>
Fractional always be specific when you say error. it could be all sorts of error
<shevy>
like:
<shevy>
"my cat jumped on my keyboard and ruined this project" error
<shevy>
or
<shevy>
"neighbor came over and crashed my hdd" error
<Fractional>
The error is in the gist file :)
<shevy>
I'll include the typo above :P
<MrZYX>
Fractional: you never create the arrays you access with [j]
PLejeck has quit [Changing host]
PLejeck has joined #ruby
PLejeck is now known as nuck
<Fractional>
How do I create a 'dynamic' multidimensional array MrZYX?
<MrZYX>
I showed you how
<Fractional>
In the pastebin code?
<MrZYX>
yes
<Fractional>
I must learn Ruby map and then I'll try to understand it. :D
Cache_Money has joined #ruby
rootshift has joined #ruby
okinomo has joined #ruby
<MrZYX>
map is just a handy shortcut for doing array = []; other_array.each do |element| array << block_given_to_map_aka_do_something_with.call(element); end
e62 has quit [Ping timeout: 246 seconds]
dik_dak has joined #ruby
<MrZYX>
it also returns an Enumerator if there's no block given to it, so that's why I can all .with_index on it
Megtastique has quit []
<shevy>
Fractional think of map as "hey guys, we will work on this array here, and chop it around a little, and then return the modification to the user"
<Hanmac>
shevy hay, the reason is my surf habits ... i am a tab horter ;P
<itadder>
I thought firefox was made for xwindow
<itadder>
oh are you using KDE shevy
Megtastique has joined #ruby
<shevy>
itadder well one component
<shevy>
right now I am on xfce
fijimunkii has quit [Ping timeout: 276 seconds]
<itadder>
I thought linux geeks disliked google chrome becuase of google looking at your surfing data
<itadder>
I guess you can use the FOSS version of chrome
<shevy>
if I crash again ...
<shevy>
itadder yeah you can even compile it from source
<shevy>
but you need some insane resources for that
<Hanmac>
itadder: i cant use vi(m) for my projects because i am working on to many files simultaneous ... i think vim would go crazy with that
dapz has joined #ruby
<itadder>
ahh yea
<itadder>
Hanmac: do you use textmate emac or sublimetext or someting else
Jetchisel has joined #ruby
Megtastique has quit [Client Quit]
<Hanmac>
i use eclipse with C++ and Ruby addons
wallerdev has quit [Quit: wallerdev]
jayferd is now known as jayferd|afk
wallerdev has joined #ruby
phipes has quit [Remote host closed the connection]
<shevy>
Hanmac how do you know which file to modify?
<itadder>
oh I would never use something that requires java
<itadder>
but if you like it that fine
<itadder>
I could be wrong but the last time I had use eclipse it required java runtime but I could be so wrong
<Hanmac>
shevy with simultaneous i dont mean at the same time, i do them one after another ... but some times i need to keep them open to add stuff later (its normal that i have 99+ files open with eclipse)
mehlah has quit [Quit: Leaving...]
danfo has joined #ruby
<danfo>
hi #ruby - I'm trying to find the equiv syntax in another language, but what is this called = first || then || maybe || last
petey has quit [Remote host closed the connection]
AlSquirikou has joined #ruby
petey has joined #ruby
<Hanmac>
itadder: yes it require java, and yes i dislike java ... but i didnt know a editor that can do what eclipse can with C++ and ruby (eclipse can resolve my macros ... i am very surprised about that)
<itadder>
Hanmac: what platform do you use it on LINUX
<shevy>
danfo it evaluates one after the other. think of it as "or"
<Fractional>
What is the most effecient way to iterate over a two dimensional array in Ruby?
AlSquirrel has quit [Read error: Connection reset by peer]
<itadder>
Hanmac: ahh
<danfo>
shevy: is there a name for that style of, er, fallback or's? just trying to find some equivalent syntax in another language
<Hanmac>
itadder: ubuntu (with cinnamon envionment from nightly-ppa)
<itadder>
Oh wow
<itadder>
i didn't know that the rubby community was big on ubuntu
<centrx>
Fractional, map :)
_mtr_ has joined #ruby
<Hanmac>
itadder: it seems it is ... ubuntu/debian also ships ruby gems as deb packages in the repositories
<itadder>
to bad mac does not ship with gems
<MrZYX>
Fractional: there's probably not a general answer to that
<itadder>
or I do not think it does
e62 has joined #ruby
_mtr has quit [Ping timeout: 252 seconds]
<Fractional>
MrZYX; how would you have done it in my case?
<centrx>
Fractional, You can also use Matrix map
figgleberry has joined #ruby
<itadder>
I just want to learn more of the dev ops stuff, becuase I love to automate, becuase I get bored easily and becuase I need a better job
<Fractional>
Centrx: Something basic, I'm quite new to Ruby :P
mauro has quit [Remote host closed the connection]
Kar- has quit [Ping timeout: 265 seconds]
siwica has quit [Ping timeout: 265 seconds]
<Fractional>
I need to call draw on all the instances of Tile within the @map array.
<centrx>
Fractional, Otherwise, you just do something like: array.each { |row| row.each { |cell| puts cell } }
<MrZYX>
Fractional: do you ever need the two dimensional property?
<MrZYX>
that is, do you ever need to access a tile by x,y ?
<MrZYX>
(through the map)
<Fractional>
Well, it is supposed to contain the data for my map.
<Fractional>
Would be easy to access it by x, y.
<itadder>
were can I find a person to pair up with to learn programing rubby on the weekend
Xeago has joined #ruby
<itadder>
does such a thing exist
predator217 has joined #ruby
<MrZYX>
so if you need access by x,y I'd just @map_data.flatten.each do |tile|, if you don't need it just create a flat array in the first place
aryaching has joined #ruby
parduse has joined #ruby
mordocai` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
parduse is now known as Guest90364
siwica has joined #ruby
Lewix has quit [Remote host closed the connection]
<Fractional>
MrZYX, now I get it. You don't need a two dimensional when you draw it. So you flatten it to make it easier.
<Fractional>
MrZYX: Thank you very much! :)
parduse has joined #ruby
vlad_starkov has joined #ruby
Lewix has joined #ruby
parduse is now known as Guest53724
<Fractional>
Update: It works perfectly!
vlad_starkov has quit [Remote host closed the connection]
<shevy>
Fractional aha you sound like you are on the beginning of the path of understanding
predator117 has quit [Ping timeout: 245 seconds]
<shevy>
itadder don't think that works too easy but I am sure you can find people to help out on projects and they can help you out learn something too
vlad_starkov has joined #ruby
<itadder>
maybe via Screensharing, Facetime or skype and IRC
petey has joined #ruby
<Fractional>
Itadder if you're new just like me I wouldn't mind doing a project with you or two :)
<itadder>
I worked best in college with tutors
<Fractional>
The biggest project I've done in Ruby is to make a 2D asteroids clone with some new visual updates.
<itadder>
I am a newbie but yes that would rock Fractional
Guest90364 has quit [Ping timeout: 245 seconds]
<itadder>
I want to port powershell cmdlet to ruby or make a library
<itadder>
to have something like the cmdlet syntax
<itadder>
make it easy for someone like me that understand powershell a bit can jump on his mac and run some cmdlet to get things done on a unix or mac or linux or bsd or amiga
<itadder>
LO
<itadder>
Fractional: wow that cool
<itadder>
I would need one of those free screen sharing tools and maybe skype or so...
Lewix has quit [Ping timeout: 246 seconds]
<Fractional>
Yeah well I began working a week after I picked up Ruby. The code is VERY ugly haha.
vlad_starkov has quit [Read error: Connection reset by peer]
<itadder>
What would be the best place I can work from. HOme since it has fast bandwith, and but has distraction..
timonv has quit [Remote host closed the connection]
huttan_ has quit [Quit: leaving]
<zubov>
Amiga, have not heard that in awhile
pskosinski has quit [Quit: Til rivido Idisti!]
bobrenjc93 has quit [Quit: bobrenjc93]
eka has joined #ruby
<itadder>
I just arrived to my sister, and no one here
<shevy>
Ruby is so mucher nicer than shell scripts
<itadder>
I want to be able to port powershell code to linux
<shevy>
*much
<itadder>
yea
<itadder>
powershell is also much nicer them bash sorry
<itadder>
I know bash is powerfull
bobrenjc93 has joined #ruby
huttan has joined #ruby
Megtastique has joined #ruby
<itadder>
ruby I will get to learn
<shevy>
itadder I think you should first write simpler ruby code until you understand it better before you give it a try to translate powershell into ruby
<zubov>
it is common on more platforms
<wald0>
what is powershell ?
<wald0>
bash is not powerful, but extremely handy
<itadder>
oh yea I agree
CaptainJet has quit []
<wald0>
shevy: compiled libefl finally ?
<itadder>
I am going to write hello world and take input and produce output
<shevy>
wald0 basically the idea to make everything object-centric. like you can pipe objects from program to program directly
<Fractional>
Would you folks recommend the Project Euler problems?
<shevy>
wald0 today is an awful day, NOTHING works here
<zubov>
Microsoft version of a unix like scripting shell with .NET hooks
<itadder>
yea
<itadder>
that my idea shevy
<shevy>
yeah the idea is good
<wald0>
shevy: this is nonsense, you cannot make everything just "ready to be connected", by other side this is already made and its called "drag and drop" lol
<itadder>
all I want is the cmdlet style,
<itadder>
I need to work on hello world before I do any adbance ruby
<wald0>
shevy: by other side plan9 had an amazing idea about their interfaces, where you see "menus" (which you can click, open, execute actions, etc), they are not really menus but plain text, so you can re-write them, remove, add, etc... and without even saving or anything you can click on them and their actions will simply work
<shevy>
why did plan9 fail!
<emocakes>
too bug free
<shevy>
hehe
starkhalo has left #ruby ["WeeChat 0.4.2"]
<wald0>
shevy: just like the venus project, too far away on its epoque :)
<wald0>
(if i said that correctly)
robustus has quit [Ping timeout: 252 seconds]
bobrenjc93 has quit [Client Quit]
<wald0>
1992 was not a good year for show an amazing different new OS
<wald0>
well, in fact
<wald0>
it would have been failed in any age, with this design and this name :)
e62 has quit [Ping timeout: 272 seconds]
<itadder>
so instead of print you use put
robustus has joined #ruby
bobrenjc93 has joined #ruby
fixl has joined #ruby
<itadder>
is git part of mac osx also
<itadder>
I might of installed a while backit seems
<Fractional>
The error only happens when the data.txt file contains a one so that means the error must happen when the grass tries to draw.
phipes has joined #ruby
Vivekananda has joined #ruby
itadder has quit [Remote host closed the connection]
<centrx>
Fractional, A tile is missing
psyl0n has quit []
<Hanmac1>
Fractional: 44 - 52 is wrong ... puts "h" returns your nil
calimike has joined #ruby
<shevy>
Fractional the error means you tried to invoke #draw method but you don't have an object to begin with!
petey has quit [Remote host closed the connection]
<Fractional>
Oh..
<Fractional>
Hanmac why is 44-52 wrong?
<calimike>
Hi I was curious if anyone here uses Cucumber for BDD testing. Any opinions?
petey has joined #ruby
deens has quit [Remote host closed the connection]
Mars has joined #ruby
fwaokda has joined #ruby
Mars is now known as Guest37339
<Hanmac1>
Fractional: the line is readed wrong, it reads "0000000000000100" als line.to_i => 100 ... which is neigher 0 nor 1, so its returns puts "h" ... which returns nil, which makes it crash at the draw
mary5030 has quit [Remote host closed the connection]
<fwaokda>
I have a file I'm trying to convert to PDF, but have been unable to locate software to open the file. is there a way to convert it to PDF using ruby by processing the bytes or something?
<shevy>
Fractional .map expects of you to return something
<shevy>
it will use that returned value as the what it will replace it with
<Hanmac1>
currently its only "(i == 0 ? WaterTile : GrassTile)" ... it might be changed later for more functionality ...
<shevy>
Fractional if you look at your code, with the 3 branching if/elsif, you return two times an Array, and in the last you do not return anything you simply puts something out instantly
<Hanmac1>
... (some where i had little piece of code that allows to draw tmx maps into gosu ... i need to update that one) ...
petey has quit [Ping timeout: 245 seconds]
<Fractional>
shevy: the puts was just a check to see if it was working or not
<centrx>
fwaokda, There are apparently some PDF gems for Ruby, but you can also exec external programs like ps2pdf
<Hanmac>
shevy i had but it was not funny enough ... recently i was toying with SFML ... it is like gosu but with more More MOOORE features (like Shader stuff and particle engine addon)
moeSeth_ has quit [Ping timeout: 245 seconds]
karnowski_ has quit [Ping timeout: 272 seconds]
blooberr_ has quit [Ping timeout: 272 seconds]
<Fractional>
SFML is what I use when programming in C++.
percival__ has quit [Ping timeout: 246 seconds]
centrx has quit [Quit: Leaving]
<emocakes>
Fractional you should learn C+=
<emocakes>
C++ is misogynist
poikon has quit [Ping timeout: 272 seconds]
<shevy>
Fractional some tiles are missing
<Hanmac>
Fractional: i am write SFML for ruby ... but i am not finish yet
<Fractional>
^_^
percival__ has joined #ruby
ziyadb has quit [Ping timeout: 245 seconds]
ddv has quit [Ping timeout: 272 seconds]
dekz_ has quit [Ping timeout: 264 seconds]
ziyadb has joined #ruby
<Hanmac>
emocakes: i read about that ... i am still lol'ng about that ,P
<Fractional>
shevy: It isn't logical that there are missing ones for me :/
rndstr has quit [Ping timeout: 264 seconds]
gyre007 has quit [Ping timeout: 264 seconds]
xerxas has quit [Ping timeout: 264 seconds]
[Neurotic] has quit [Ping timeout: 264 seconds]
<shevy>
Fractional, this is a minesweeper grid placer class I wrote once for ruby-gtk games, http://pastie.org/8625149 the output can be seen on the bottom
deens has quit [Remote host closed the connection]
Guest53724 has quit [Ping timeout: 245 seconds]
moeSeth_ has joined #ruby
ddv has joined #ruby
poikon_ has joined #ruby
karnowski__ has joined #ruby
blooberr__ has joined #ruby
<shevy>
Fractional I used that class to populate the game map. every entry there was displayed with another "card" i.e. a mine icon, or a number, or empty
<shevy>
Fractional did you try to use pp yet?
<Fractional>
You told me not to after you recommended it :P
<shevy>
Fractional pp on your array, it will tell you what is wrong
<shevy>
what!
<shevy>
that can not be!
<shevy>
let me scroll up
<Fractional>
Yeah you changed your mind right after haha
rndstr has joined #ruby
dekz_ has joined #ruby
<shevy>
you already misquoted my today once ;)
gyre007 has joined #ruby
[Neurotic] has joined #ruby
xerxas has joined #ruby
meatherly has quit [Remote host closed the connection]
<Hanmac>
Fractional: you can try to look at this: https://github.com/Hanmac/sfml-ruby ... the binding is written in C++ maybe you can impove it if you want ... 3 samples "pong" "sound" "shader" are already working and i try to add Thor stuff (SFML addon for Animations + Particle Engine) directly into by binding
benlieb has quit [Quit: benlieb]
<Fractional>
Ok, so I just PP'd
<shevy>
<shevy> oh Fractional that also can not work I think
<shevy>
<shevy> you use self.load(name, window)
<shevy>
my next comment was not about pp but about self.load
frode15243 has quit [Ping timeout: 245 seconds]
poguez has quit [Ping timeout: 245 seconds]
machty has quit [Ping timeout: 245 seconds]
dnyy has quit [Ping timeout: 245 seconds]
ceej has quit [Ping timeout: 245 seconds]
<Fractional>
Oh haha
<shevy>
pp not PP
<Fractional>
Well I just used pp on the array
<shevy>
pp on your array
<Fractional>
Got some output.
<shevy>
good!
<calimike>
Hi I was curious if anyone here uses Cucumber for BDD testing. Any opinions?
dioms__ has quit [Ping timeout: 245 seconds]
kapowaz has quit [Ping timeout: 245 seconds]
pipecloud has quit [Ping timeout: 245 seconds]
landon__ has quit [Ping timeout: 245 seconds]
ggherdov has quit [Ping timeout: 245 seconds]
BRMatt has quit [Ping timeout: 245 seconds]
<shevy>
you must see what is wrong with it from that output
<Fractional>
8 WaterTile's.
<shevy>
and the rest?
<Fractional>
They all look the same.
<shevy>
your array has more than 8 places or? :)
<Fractional>
I've 6 0's in my file
<Fractional>
but 8 water tiles D:
<Fractional>
No
<shevy>
ok 8 water tiles and 6 non water tiles
<shevy>
that means 14
<shevy>
what strange array do you have here :P
dioms__ has joined #ruby
landon__ has joined #ruby
<Fractional>
Huh what? :P
parduse has joined #ruby
<shevy>
Fractional know what - just hardcode your map for now and see if it works ;)
<apeiros>
and it doesn't like it because return is to return from a method.
<mgberlin>
oh, and you're inside the block...?
<apeiros>
def foo; …yourcode…; end # the return in your code returns from foo
<apeiros>
return from a block: next or break.
<apeiros>
next will return to each. break will return from each.
<mgberlin>
yeah, that makes sense
<apeiros>
i.e., former gives control back to each (in the case of each, that means it'll just yield the next value)
aalmenar has joined #ruby
aalmenar has quit [Changing host]
aalmenar has joined #ruby
<mgberlin>
so if I want the function to return false as soon as my block returns a true value
<apeiros>
break does not give control back to each, and the expression will return the value passed to break.
<apeiros>
anyway, I think you'd better just use the proper method right away:
<apeiros>
(2..num).none? { |x| num % x == 0 }
<mgberlin>
ooh, a new tool, Range#none?
<mgberlin>
thanks
<Hanmac>
mgberlin: no its part of Enumerable
<mgberlin>
oh yeah, didn't notice that
<mgberlin>
when i do $ ri Range.none? it looks up enumerable
<mgberlin>
tricky.
Guest37339 has quit [Remote host closed the connection]
<mgberlin>
apeiros: thanks for the help
Mars has joined #ruby
thenovices has joined #ruby
Mars is now known as Guest4760
TenJack has quit [Remote host closed the connection]
<apeiros>
ah nice, ri finally checks ancestry on its own
<apeiros>
mgberlin: Range#none?, since it's an instance method (Range.none? will check class methods and instance methods)
blandflakes has joined #ruby
<shevy>
cool
ctp has quit [Quit: Leaving...]
<shevy>
I never saw none? before
gokul has joined #ruby
<Hanmac>
shevy its a "sister" method of any?, one? and all?
e62 has joined #ruby
fgo has joined #ruby
<shevy>
I get any?
<shevy>
all? too
<shevy>
hmm one? not so sure
<shevy>
none? no idea either
<shevy>
I guess one? will return true if only one element is fulfilling the criteria of the block
<shevy>
and none? then should logically return true if none of the elements tested fulfills the criteria
phipes has quit [Remote host closed the connection]
<Hanmac>
yeah you got it ...
el_cristobal has quit [Ping timeout: 272 seconds]
Guest4760 has quit [Ping timeout: 276 seconds]
MrZYX is now known as MrZYX|off
Xeago has joined #ruby
* Hanmac
is currenty imaginaring a more generic variant .. like [1,2,3,4].counted?(2,&:odd?) #> true [1,2,3,4,5].counted?(2,&:odd?) #=> false (because there are 3 odds not 2) ... :P
jmccune has quit [Ping timeout: 272 seconds]
mercwithamouth has quit [Ping timeout: 248 seconds]
zubov has joined #ruby
<shevy>
wtf
<shevy>
please Hanmac
<shevy>
work on rxw, not on downgrades to ruby core!
TenJack has joined #ruby
timonv has joined #ruby
huttan has quit [Quit: leaving]
el_cristobal has joined #ruby
TDJACR has quit [Ping timeout: 264 seconds]
<gokul>
How do I find out the reason for segmentation faults in ruby ?
jmccune has joined #ruby
Xeago has quit [Ping timeout: 265 seconds]
benlieb_ has joined #ruby
cjsarette has quit [Ping timeout: 245 seconds]
Hanmac1 has joined #ruby
huttan has joined #ruby
shevy has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 260 seconds]
ixti has quit [Ping timeout: 272 seconds]
yasushi has quit [Remote host closed the connection]
<emocakes>
look at the stack trace
benlieb has quit [Ping timeout: 245 seconds]
benlieb_ is now known as benlieb
wgosling has quit [Remote host closed the connection]
cjsarette has joined #ruby
Bira has quit [Remote host closed the connection]
wgosling has joined #ruby
prxq_ has joined #ruby
nari has quit [Ping timeout: 252 seconds]
Hanmac has quit [Ping timeout: 276 seconds]
binw has quit [Ping timeout: 248 seconds]
prxq has quit [Read error: Operation timed out]
TenJack has quit [Remote host closed the connection]
fijimunkii has joined #ruby
wald0 has quit [Ping timeout: 265 seconds]
Solnse has left #ruby [#ruby]
tharindu has joined #ruby
james_woods has quit [Ping timeout: 252 seconds]
wald0 has joined #ruby
ner0x has joined #ruby
ddd has quit [Ping timeout: 246 seconds]
<Jason>
Hanmac1: yo
<Jason>
Hanmac1: still around?
Hanmac has joined #ruby
binw has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
yasushi has joined #ruby
fijimunkii has quit [Ping timeout: 272 seconds]
fijimunkii has joined #ruby
phipes has joined #ruby
james_woods has joined #ruby
TTilus has quit [Ping timeout: 276 seconds]
kotk1 has quit [Ping timeout: 245 seconds]
fire has joined #ruby
deens has joined #ruby
emocakes has quit [Quit: Leaving...]
cbetta is now known as cbetta_afk
TDJACR has joined #ruby
echevemaster has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
TTilus has joined #ruby
estebanrules has joined #ruby
deens has quit [Ping timeout: 252 seconds]
agent_white has joined #ruby
rootshift has quit [Quit: rootshift]
simoz118 has joined #ruby
DropsOfSerenity has joined #ruby
Cache_Money1 has joined #ruby
huttan has quit [Quit: leaving]
gwb3 has quit [Quit: leaving]
<agent_white>
ello everyone
centrx has joined #ruby
huttan has joined #ruby
huttan has quit [Remote host closed the connection]
estebanrules has quit [Ping timeout: 272 seconds]
huttan has joined #ruby
Megtastique has quit []
Cache_Money has quit [Ping timeout: 272 seconds]
Jdubs has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
Mars has joined #ruby
cashnguns has quit [Ping timeout: 272 seconds]
Mars is now known as Guest47339
gsvolt has joined #ruby
phipes has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
Hanmac1 has joined #ruby
cyberarm has quit [Quit: Bye]
gwb3 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac has quit [Ping timeout: 252 seconds]
heidi has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
simoz118 has quit [Ping timeout: 260 seconds]
siwica has quit [Ping timeout: 266 seconds]
Wolland has quit [Remote host closed the connection]
gwb3 has quit [Client Quit]
huttan has quit [Remote host closed the connection]
huttan has joined #ruby
centrx has quit [Max SendQ exceeded]
centrx has joined #ruby
centrx has quit [Max SendQ exceeded]
prc has quit [Quit: Leaving.]
centrx has joined #ruby
binaryhat has quit [Quit: Leaving]
heidi has quit [Quit: Leaving.]
<Jason>
i'd like to disable traces on an exception
<Jason>
on an error, even
gwb3 has joined #ruby
<Jason>
essentially, if an error comes up, i'd like my script to simply quit
<apeiros>
wrap it in begin/rescue and handle it accordingly
SHyx0rmZ has joined #ruby
petey has joined #ruby
simoz118 has joined #ruby
fire has quit [Quit: WeeChat 0.4.1]
phipes has joined #ruby
Jetchisel has joined #ruby
petey has quit [Ping timeout: 260 seconds]
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simoz118 has quit [Ping timeout: 276 seconds]
tyl has joined #ruby
charliesome has joined #ruby
<agent_white>
So... does _why use free association to remember computer stuff? I saw a TED talk on those 'memory championships', and it sounds like _why's creative stories were for him to remember things.
mlpinit has quit [Remote host closed the connection]
mlpinit has joined #ruby
alexfreidah has quit [Ping timeout: 272 seconds]
robbyoconnor has quit [Excess Flood]
tyl has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby
DropsOfSerenity has joined #ruby
<Jason>
so
yasushi has quit [Remote host closed the connection]
havv has quit [Read error: Connection reset by peer]
darthdeus has quit [Quit: Leaving...]
rickruby has quit [Ping timeout: 248 seconds]
TDJACR has quit [Ping timeout: 245 seconds]
emocakes has quit [Quit: Leaving...]
ddd has joined #ruby
freezey has joined #ruby
blandflakes has quit [Quit: Page closed]
renderful has joined #ruby
renderful has left #ruby [#ruby]
freezey has quit [Ping timeout: 272 seconds]
yasushi has joined #ruby
pehlert has joined #ruby
yasushi has quit [Ping timeout: 252 seconds]
coder_neo has joined #ruby
coderhs has quit [Ping timeout: 248 seconds]
gja has quit [Ping timeout: 272 seconds]
shadoi has joined #ruby
zubov has quit [Quit: Leaving...]
coder_neo has quit [Client Quit]
digifiv5e has quit [Max SendQ exceeded]
timonv has joined #ruby
coder_neo has joined #ruby
diegoviola has joined #ruby
pehlert has quit [Ping timeout: 248 seconds]
digifiv5e has joined #ruby
digifiv5e is now known as Guest7148
w4pm has joined #ruby
tectonic has quit []
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e62 has quit [Ping timeout: 245 seconds]
melnik has joined #ruby
melnik has left #ruby [#ruby]
vlad_starkov has joined #ruby
craigp has joined #ruby
shadoi has quit [Ping timeout: 272 seconds]
<dfcnvt>
Upon running this, # sudo gem update ... It takes a long time. Like so far now, it's 20 minutes
sethen has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
cyong has joined #ruby
w4pm has quit [Ping timeout: 260 seconds]
Megtastique has quit []
jamesaanderson has joined #ruby
<centrx>
dfcnvt, Maybe you have a lot of gems installed?
<dfcnvt>
That, may be the case.
<centrx>
Is it doing something at least?
<centrx>
Or is there no output
robertrv has joined #ruby
<dfcnvt>
during first sign, it paused for 5 or 7 minutes then it continue on normally but the second sign of pause is a documentation being installing.
<dfcnvt>
Still pausing as we speak.
<dfcnvt>
Here's the last line.
<dfcnvt>
Installing RDoc documentation for rails-4.0.2...
<dfcnvt>
sh*t, I meade a mistake
<dfcnvt>
accidently pressed (ctrl + c) for trying to copy.
<dfcnvt>
but stopped there.
<dfcnvt>
err..
<centrx>
no problem, you can restart it and maybe it will be faster :)
<dfcnvt>
Yup, doing it again, # sudo gem update
<dfcnvt>
Huh, it's done.
<dfcnvt>
Woot!
simoz118 has quit [Ping timeout: 245 seconds]
<dfcnvt>
Now onto this, # sudo gem install refinerycms
<dfcnvt>
:(
<dfcnvt>
same behavior, no activity.
gja has joined #ruby
v10energy has quit [Ping timeout: 248 seconds]
coderhs has joined #ruby
<dfcnvt>
Ah, now it's done.
speakingcode has joined #ruby
<dfcnvt>
Okay, enough updating about what's going on - on my side.
phansch has joined #ruby
<dfcnvt>
Thanks anyway though.
<centrx>
There is a way to run it with an option to disable generating the documentation
<centrx>
That makes it faster
gja has quit [Quit: This computer has gone to sleep]
phansch has quit [Client Quit]
DeanH has joined #ruby
el_cristobal has quit [Ping timeout: 252 seconds]
parduse is now known as Guest46419
Guest46419 has quit [Killed (adams.freenode.net (Nickname regained by services))]
parduse has joined #ruby
<dfcnvt>
Thanks, I'll keep in mind about that.
Guest47339 has quit [Remote host closed the connection]
CourtJesterG has joined #ruby
coderhs has quit [Ping timeout: 276 seconds]
el_cristobal has joined #ruby
centrx has quit [Quit: Leaving]
Mars has joined #ruby
Mars is now known as Guest42835
Wolland has quit [Remote host closed the connection]
Vivekananda has quit [Remote host closed the connection]
DropsOfSerenity has joined #ruby
aryaching has quit [Ping timeout: 265 seconds]
aryaching has joined #ruby
CourtJesterG has left #ruby [#ruby]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sergicles has joined #ruby
nari has joined #ruby
TDJACR has joined #ruby
dfcnvt has quit [Quit: leaving]
rubyracer has quit [Quit: Konversation terminated!]
jamesaanderson has joined #ruby
simoz118 has joined #ruby
robertrv has quit [Ping timeout: 276 seconds]
gilcosson has quit [Remote host closed the connection]
tropicalmug has joined #ruby
rickruby has joined #ruby
TDJACR has quit [Ping timeout: 245 seconds]
tropicalmug has quit [Client Quit]
Lulzon is now known as LulzonAway
meatherly has quit [Remote host closed the connection]
yasushi has joined #ruby
meatherly has joined #ruby
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
rickruby has quit [Ping timeout: 252 seconds]
robertrv has joined #ruby
gilcosson has joined #ruby
dfcnvt has joined #ruby
<dfcnvt>
I'm having a problem trying to run # refinerycms app_01
<dfcnvt>
This made it clear to hint that... "because activesupport-3.2.16 conflicts with activesupport (= 3.2.13), activemodel-3.2.16 conflicts with activemodel (= 3.2.13)"
thesheff17 has quit [Read error: Operation timed out]
<dfcnvt>
Just so, do I do the following, # sudo remove activesupport-3.2.13 ???
fire has joined #ruby
fire has quit [Client Quit]
wildroman2 has joined #ruby
Wixy has quit [Ping timeout: 246 seconds]
Mattx has quit [Ping timeout: 272 seconds]
BizarreCake has joined #ruby
phipes has quit [Remote host closed the connection]
simoz118 has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
figgleberry has quit [Ping timeout: 260 seconds]
Guest42835 has quit [Ping timeout: 245 seconds]
tyl has joined #ruby
Mars has joined #ruby
robertrv has quit [Ping timeout: 248 seconds]
Mars is now known as Guest26324
e62 has joined #ruby
zxd has joined #ruby
rippa has joined #ruby
ahmedelgabri has joined #ruby
TDJACR has joined #ruby
e62 has quit [Ping timeout: 272 seconds]
aryaching has joined #ruby
zxd has quit [Ping timeout: 260 seconds]
Guest26324 has quit [Remote host closed the connection]
meatherly has joined #ruby
thenovices has quit [Remote host closed the connection]
gokul has quit [Quit: Leaving]
phansch has joined #ruby
OdNairy has joined #ruby
petey has joined #ruby
ahmedelgabri has quit [Remote host closed the connection]
meatherly has quit [Ping timeout: 252 seconds]
ewnd9 has joined #ruby
phipes has joined #ruby
TDJACR has quit [Ping timeout: 245 seconds]
bondar has joined #ruby
SCommette has quit [Quit: SCommette]
bondar has quit [Max SendQ exceeded]
ewnd9_ has joined #ruby
Asher has quit [Quit: Leaving.]
petey has quit [Ping timeout: 276 seconds]
ewnd9 has quit [Ping timeout: 245 seconds]
gilcosson has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 272 seconds]
Asher has joined #ruby
gja has joined #ruby
wildroman2 has quit [Remote host closed the connection]
cyong has quit [Quit: Leaving.]
mary5030 has quit [Remote host closed the connection]
cyong has joined #ruby
emergion has joined #ruby
<ddd>
hrm, ok I thought if you named a scope and called it you didn't have to call .reload on the collection (@user.rescue_groups) if the scope was the same name, because it hit the scope first, which, if a where(), would cause the collection to automatically be updated.
<ddd>
scope :rescue_groups where(someclause) ; @user = User.find(1) ; @user.rescue_groups #this here should hit the named scope :rescue_groups, which should run the where, updating the @user.rescue_groups collection which is then handed out once the named scope completes. should eliminated every having to call @user.rescue_groups.reload
nanoyak has quit [Quit: Computer has gone to sleep.]
<ddd>
if another RG gets saved between the last time @user.rescue_groups was .reload'd, its not reflected. but I thought using a scope the same name the collection would always run the scope first before presenting the collection of the same name as the scope back.
cjsarette has quit [Ping timeout: 276 seconds]
<ddd>
so previously you'd have to .reload to pick up the newly assigned rg, but the nameed scope fires every time its called, forcing the new one to always be picked up.
<ddd>
except.. it doesn't. why? what's wrong with my logic?
coderhs has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
w_alexus has joined #ruby
gja has joined #ruby
<ddd>
the only thing I can think of for not doing what I think it should is that, given a scope and a collection of the same name, always hand over the collection first, not running the named scope. (precedence? are collections higher precedence over scopes?)
dik_dak has quit [Quit: Leaving]
coder_neo has quit [Quit: This computer has gone to sleep]
timonv has joined #ruby
yasushi has quit [Remote host closed the connection]
thenovices has joined #ruby
nhhagen has joined #ruby
nanoyak has joined #ruby
nanoyak has quit [Client Quit]
timonv has quit [Ping timeout: 272 seconds]
TenJack has joined #ruby
m00nlight_ has quit [Read error: Connection reset by peer]
[_aeris_] is now known as _aeris_
zxd has joined #ruby
pehlert has joined #ruby
thenovices has quit [Ping timeout: 260 seconds]
TenJack has quit [Ping timeout: 252 seconds]
KensoDev has joined #ruby
m00nlight_ has joined #ruby
ahmedelgabri has joined #ruby
_aeris_ is now known as [_aeris_]
pehlert has quit [Ping timeout: 248 seconds]
monkegjinni has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
diegoviola has quit [Quit: WeeChat 0.4.2]
vlad_starkov has joined #ruby
senayar__ has quit [Remote host closed the connection]
Wolland has joined #ruby
gja has joined #ruby
skaflem has joined #ruby
yasushi has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
finnnnnnnnnnn has joined #ruby
benlieb has joined #ruby
wildroman2 has joined #ruby
zarul has quit [Ping timeout: 248 seconds]
rickruby has joined #ruby
zarul has joined #ruby
Deele has quit [Ping timeout: 260 seconds]
synergy_ has joined #ruby
phipes has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba has quit [Ping timeout: 245 seconds]
kep has joined #ruby
cyong has quit [Quit: Leaving.]
sbos99 has quit [Quit: Leaving]
meatherly has joined #ruby
monkegjinni has quit [Remote host closed the connection]
klaut has joined #ruby
deavid has quit [Quit: No Ping reply in 180 seconds.]
deavid has joined #ruby
wgosling has quit [Read error: Connection reset by peer]
katselphrime has joined #ruby
wgosling has joined #ruby
choobie has quit [Ping timeout: 260 seconds]
meatherly has quit [Ping timeout: 265 seconds]
agjacome has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
_tpavel has joined #ruby
Mars has joined #ruby
Mars is now known as Guest38571
daidoji has quit [Ping timeout: 276 seconds]
senayar has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
wildroman2 has joined #ruby
ahmedelgabri has quit [Read error: Connection reset by peer]
Guest38571 has quit [Ping timeout: 245 seconds]
ahmedelgabri has joined #ruby
_tpavel has quit [Ping timeout: 245 seconds]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ner0x has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
mrnugget has joined #ruby
VinceThePrince has joined #ruby
daidoji has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
KensoDev has quit []
marr has joined #ruby
marr has quit [Client Quit]
Fractional has joined #ruby
melfy has quit [Ping timeout: 252 seconds]
claymore has joined #ruby
melfy has joined #ruby
prc has joined #ruby
emocakes has joined #ruby
nhhagen has quit [Remote host closed the connection]
emocakes has quit [Read error: Connection reset by peer]
emocakes_ has joined #ruby
albertgrala has joined #ruby
DropsOfSerenity has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emocakes_ has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
kotk has joined #ruby
noname001__ has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
phipes has joined #ruby
katselphrime has quit [Quit: WeeChat 0.3.7]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
popl has joined #ruby
popl has joined #ruby
gja has joined #ruby
wildroman2 has quit [Ping timeout: 246 seconds]
meatherly has joined #ruby
phipes has quit [Ping timeout: 252 seconds]
fphilipe has joined #ruby
wildroman2 has joined #ruby
petey has joined #ruby
emergion has quit [Ping timeout: 260 seconds]
diegoviola has joined #ruby
ahmedelg_ has joined #ruby
meatherly has quit [Ping timeout: 276 seconds]
ahmedelgabri has quit [Ping timeout: 272 seconds]
gja has quit [Quit: This computer has gone to sleep]
Hanmac has joined #ruby
gja has joined #ruby
einarj has joined #ruby
petey has quit [Ping timeout: 276 seconds]
klaut has quit [Read error: Connection reset by peer]
alexfreidah has joined #ruby
gilcosson has joined #ruby
camilasan has joined #ruby
wildroman2 has quit [Remote host closed the connection]
workmad3 has joined #ruby
emocakes has joined #ruby
alexfreidah has quit [Ping timeout: 272 seconds]
Kar- has joined #ruby
ahmedelgabri has joined #ruby
Lewix has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.2]
Lewix has joined #ruby
relix has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
gja has joined #ruby
timonv has joined #ruby
diegoviola has joined #ruby
ahmedelg_ has quit [Ping timeout: 248 seconds]
gja has quit [Client Quit]
ahmedelg_ has joined #ruby
ahmedelgabri has quit [Ping timeout: 252 seconds]
Lewix has quit [Ping timeout: 276 seconds]
tkuchiki has joined #ruby
camilasan has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
einarj has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 272 seconds]
maoko has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
tkuchiki has quit [Ping timeout: 272 seconds]
zaychenok has quit [Ping timeout: 252 seconds]
agent_white has quit [Quit: zzzzzz]
yasushi has quit [Remote host closed the connection]
gilcosson has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
dweeb has joined #ruby
arietis has joined #ruby
ahmedelgabri has quit [Ping timeout: 245 seconds]
simoz118 has joined #ruby
drumusician has quit [Ping timeout: 245 seconds]
tylersmith has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
rickruby has joined #ruby
darthdeus has joined #ruby
gilcosson has joined #ruby
aryaching has joined #ruby
phipes has joined #ruby
rickruby has quit [Remote host closed the connection]
alex88 has joined #ruby
LadyRainicorn has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
tyl has joined #ruby
meatherly has joined #ruby
phipes has quit [Ping timeout: 272 seconds]
razibog has joined #ruby
zigomir has joined #ruby
meatherly has quit [Ping timeout: 252 seconds]
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
shime has quit [Ping timeout: 276 seconds]
kep has quit [Quit: WeeChat 0.4.2]
parduse is now known as Guest76502
Guest76502 has quit [Killed (cameron.freenode.net (Nickname regained by services))]
parduse has joined #ruby
zigomir has quit [Remote host closed the connection]
ewnd9_ has joined #ruby
vlad_starkov has joined #ruby
ahmedelgabri has joined #ruby
albertgrala has quit [Ping timeout: 245 seconds]
fgo has joined #ruby
TaxmanBD has quit [Quit: Leaving]
klaut has joined #ruby
[_aeris_] is now known as _aeris_
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ahmedelg_ has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
ahmedelg_ has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
ahmedelgabri has quit [Ping timeout: 248 seconds]
tyl has joined #ruby
ctp has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
diegoviola has quit [Quit: WeeChat 0.4.2]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nhhagen has joined #ruby
CaptainK1ots has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Speed has joined #ruby
wildroman2 has joined #ruby
nomadic_ has joined #ruby
drumusician has joined #ruby
Sthebig_ has joined #ruby
arietis has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
plotter has quit [*.net *.split]
Sthebig has quit [*.net *.split]
wlanboy has quit [*.net *.split]
idoru has quit [*.net *.split]
CaptainKnots has quit [*.net *.split]
nomadic has quit [*.net *.split]
wuest has quit [*.net *.split]
camt has quit [*.net *.split]
isieo has quit [*.net *.split]
linduxed has quit [*.net *.split]
rhys has quit [*.net *.split]
St_Marx has quit [*.net *.split]
xiphias has quit [*.net *.split]
mvangala has quit [*.net *.split]
m4rcu5 has quit [*.net *.split]
artgoeshere has quit [*.net *.split]
Paradox has quit [*.net *.split]
poutine has quit [*.net *.split]
kenichi has quit [*.net *.split]
flagg0204 has quit [*.net *.split]
epochwolf has quit [*.net *.split]
dmarr has quit [*.net *.split]
Jetchisel has quit [*.net *.split]
fixl has quit [*.net *.split]
braddeicide has quit [*.net *.split]
cibs has quit [*.net *.split]
gstamp has quit [*.net *.split]
eshy has quit [*.net *.split]
zz_karupanerura has quit [*.net *.split]
darthdeus has quit [*.net *.split]
popl has quit [*.net *.split]
Fractional has quit [*.net *.split]
dfcnvt has quit [*.net *.split]
el_cristobal has quit [*.net *.split]
radic_ has quit [*.net *.split]
thedonvaughn has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
robert_ has quit [*.net *.split]
_maes_ has quit [*.net *.split]
musl has quit [*.net *.split]
Styles has quit [*.net *.split]
gtc has quit [*.net *.split]
Schmidt has quit [*.net *.split]
Kruppe has quit [*.net *.split]
eyckelboom has quit [*.net *.split]
Zhwazi has quit [*.net *.split]
KK4MGV has quit [*.net *.split]
xsdg_ has quit [*.net *.split]
mpereira_ has quit [*.net *.split]
xargoon has quit [*.net *.split]
micah` has quit [*.net *.split]
anekos__ has quit [*.net *.split]
mjc_ has quit [*.net *.split]
ozzloy has quit [*.net *.split]
egyp7 has quit [*.net *.split]
russfrank has quit [*.net *.split]
DefV has quit [*.net *.split]
nwkr has quit [*.net *.split]
bmn has quit [*.net *.split]
kaichanvong has quit [*.net *.split]
Rickmasta has quit [*.net *.split]
Mission-Critical has quit [*.net *.split]
niharvey has quit [*.net *.split]
ndngvr has quit [*.net *.split]
sfiggins has quit [*.net *.split]
Blue_Ice has quit [*.net *.split]
tyl has quit [*.net *.split]
maoko has quit [*.net *.split]
melfy has quit [*.net *.split]
deavid has quit [*.net *.split]
synergy_ has quit [*.net *.split]
coderhs has quit [*.net *.split]
speakingcode has quit [*.net *.split]
craigp has quit [*.net *.split]
tharindu_ has quit [*.net *.split]
thomasxie has quit [*.net *.split]
gwb3 has quit [*.net *.split]
adambeynon_ has quit [*.net *.split]
akitada has quit [*.net *.split]
machty has quit [*.net *.split]
[Neurotic] has quit [*.net *.split]
rndstr has quit [*.net *.split]
dekz_ has quit [*.net *.split]
ziyadb has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
robustus has quit [*.net *.split]
txdv has quit [*.net *.split]
ConstantineXVI has quit [*.net *.split]
octarine has quit [*.net *.split]
culturelabs has quit [*.net *.split]
bedouin has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
peregrine81 has quit [*.net *.split]
joshwines has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
Avahey has quit [*.net *.split]
_aeris_ has quit [*.net *.split]
grn has quit [*.net *.split]
Zespre has quit [*.net *.split]
flori has quit [*.net *.split]
niftylettuce has quit [*.net *.split]
qubit has quit [*.net *.split]
Rydekull has quit [*.net *.split]
soahccc has quit [*.net *.split]
mattmcclure has quit [*.net *.split]
zzak has quit [*.net *.split]
HashNuke has quit [*.net *.split]
cuppscakes has quit [*.net *.split]
mark| has quit [*.net *.split]
derf- has quit [*.net *.split]
garndt has quit [*.net *.split]
Tranquility has quit [*.net *.split]
juni0r has quit [*.net *.split]
newton has quit [*.net *.split]
sebastianb has quit [*.net *.split]
ryotarai has quit [*.net *.split]
pragmatism has quit [*.net *.split]
patteh has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
go|dfish has quit [*.net *.split]
TigerWolf has quit [*.net *.split]
Xuerian has quit [*.net *.split]
jayne has quit [*.net *.split]
wudofyr has quit [*.net *.split]
PhilK has quit [*.net *.split]
Tritania has quit [*.net *.split]
Elfix_113 has quit [*.net *.split]
Soulcutter has quit [*.net *.split]
fysaen_ has quit [*.net *.split]
Rennex has quit [*.net *.split]
bakedb has quit [*.net *.split]
the_mentat has quit [*.net *.split]
weeb1e has quit [*.net *.split]
fivethreeo has quit [*.net *.split]
three18ti has quit [*.net *.split]
dubios has quit [*.net *.split]
daveops has quit [*.net *.split]
telling has quit [*.net *.split]
ww26 has quit [*.net *.split]
rgoodwin has quit [*.net *.split]
closer has quit [*.net *.split]
Sthebig_ is now known as Sthebig
phipes has joined #ruby
Jetchisel has joined #ruby
relix has joined #ruby
phipes has quit [Ping timeout: 246 seconds]
isieo has joined #ruby
Deele has joined #ruby
prc has quit [Quit: Leaving.]
fphilipe has quit [Read error: Connection reset by peer]
linduxed has joined #ruby
kep has joined #ruby
thenovices has joined #ruby
petertretyakov has joined #ruby
simoz118 has quit [Ping timeout: 246 seconds]
thenovices has quit [Read error: Operation timed out]
ahmedelg_ has quit [Remote host closed the connection]
fphilipe has joined #ruby
MissionCritical has joined #ruby
Fuzai has quit [Ping timeout: 246 seconds]
monkegjinni has quit [Remote host closed the connection]
ctp has quit [Quit: Leaving...]
Beoran__ has quit [Read error: Operation timed out]
Czupa has joined #ruby
mercwithamouth has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
yasushi has joined #ruby
ckinni has joined #ruby
mikecmpbll has joined #ruby
yfeldblum has joined #ruby
Sp4rKy has joined #ruby
wildroman2 has quit [Remote host closed the connection]
yasushi has quit [Ping timeout: 265 seconds]
eka has joined #ruby
ahmedelgabri has joined #ruby
Kar- has quit [Ping timeout: 260 seconds]
Bira has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
Fuzai has joined #ruby
wildroman2 has joined #ruby
nhhagen has quit []
meatherly has joined #ruby
rhys has joined #ruby
xiphias has joined #ruby
mvangala has joined #ruby
St_Marx has joined #ruby
flagg0204 has joined #ruby
artgoeshere has joined #ruby
Paradox has joined #ruby
epochwolf has joined #ruby
dmarr has joined #ruby
m4rcu5 has joined #ruby
kenichi has joined #ruby
poutine has joined #ruby
petey has joined #ruby
yasushi has joined #ruby
timonv has joined #ruby
tylersmith has joined #ruby
Skelz0r_ has quit [Ping timeout: 245 seconds]
Beoran__ has joined #ruby
synergy_ has joined #ruby
deavid has joined #ruby
melfy has joined #ruby
coderhs has joined #ruby
tharindu_ has joined #ruby
speakingcode has joined #ruby
wlanboy_ has joined #ruby
gwb3 has joined #ruby
craigp has joined #ruby
thomasxie has joined #ruby
akitada has joined #ruby
adambeynon_ has joined #ruby
mehlah has joined #ruby
[Neurotic] has joined #ruby
dekz_ has joined #ruby
rndstr has joined #ruby
machty has joined #ruby
peregrine81 has joined #ruby
[_aeris_] has joined #ruby
joshwines has joined #ruby
txdv has joined #ruby
Zespre has joined #ruby
Rydekull has joined #ruby
soahccc has joined #ruby
ConstantineXVI has joined #ruby
patteh has joined #ruby
Tranquility has joined #ruby
derf- has joined #ruby
fysaen_ has joined #ruby
andrewstewart has joined #ruby
HashNuke has joined #ruby
culturelabs has joined #ruby
Soulcutter has joined #ruby
TigerWolf has joined #ruby
ww26 has joined #ruby
PhilK has joined #ruby
pragmatism has joined #ruby
jayne has joined #ruby
fivethreeo has joined #ruby
sebastianb has joined #ruby
cuppscakes has joined #ruby
Elfix_113 has joined #ruby
zzak has joined #ruby
dubios has joined #ruby
the_mentat has joined #ruby
bakedb has joined #ruby
bedouin has joined #ruby
daveops has joined #ruby
Rennex has joined #ruby
TheMoonMaster has joined #ruby
qubit has joined #ruby
go|dfish has joined #ruby
garndt has joined #ruby
ziyadb has joined #ruby
niftylettuce has joined #ruby
wudofyr has joined #ruby
mark| has joined #ruby
flori has joined #ruby
Tritania has joined #ruby
Xuerian has joined #ruby
rgoodwin has joined #ruby
ryotarai has joined #ruby
weeb1e has joined #ruby
robustus has joined #ruby
three18ti has joined #ruby
mattmcclure has joined #ruby
Apocalypse has joined #ruby
grn has joined #ruby
juni0r has joined #ruby
Avahey has joined #ruby
newton has joined #ruby
octarine has joined #ruby
telling has joined #ruby
meatherly has quit [Ping timeout: 272 seconds]
closer has joined #ruby
petey has quit [Ping timeout: 276 seconds]
alexfreidah has joined #ruby
gtc has joined #ruby
thedonvaughn has joined #ruby
xsdg_ has joined #ruby
nemesit|znc has joined #ruby
_maes_ has joined #ruby
mpereira_ has joined #ruby
darthdeus has joined #ruby
el_cristobal has joined #ruby
radic_ has joined #ruby
ozzloy has joined #ruby
anekos__ has joined #ruby
russfrank has joined #ruby
egyp7 has joined #ruby
Kruppe has joined #ruby
eyckelboom has joined #ruby
Zhwazi has joined #ruby
Schmidt has joined #ruby
Styles has joined #ruby
mjc_ has joined #ruby
Fractional has joined #ruby
robert_ has joined #ruby
KK4MGV has joined #ruby
ndngvr has joined #ruby
Rickmasta has joined #ruby
bmn has joined #ruby
nwkr has joined #ruby
dfcnvt has joined #ruby
sfiggins has joined #ruby
micah` has joined #ruby
Blue_Ice has joined #ruby
musl has joined #ruby
kaichanvong has joined #ruby
xargoon has joined #ruby
DefV has joined #ruby
niharvey has joined #ruby
fgo has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
tylersmith has quit [Ping timeout: 276 seconds]
AlSquirrel has joined #ruby
timonv has joined #ruby
gilcosson has quit []
petertretyakov has quit [Quit: Computer has gone to sleep.]
alexfreidah has quit [Ping timeout: 272 seconds]
gaholik has joined #ruby
fgo has quit [Ping timeout: 252 seconds]
spider-mario has joined #ruby
fphilipe has quit [Remote host closed the connection]
zipper has joined #ruby
fphilipe has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
fphilipe has quit [Read error: Operation timed out]
spider-mario has joined #ruby
zrl has joined #ruby
vlad_starkov has joined #ruby
coderhs has quit [Ping timeout: 245 seconds]
mrnugget has joined #ruby
zenguy_pc has left #ruby ["Leaving"]
lorelei_ has joined #ruby
thomasxie has quit [Ping timeout: 245 seconds]
yasushi has quit [Remote host closed the connection]
lorelei_ has quit [Changing host]
lorelei_ has joined #ruby
petertretyakov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
yasushi has joined #ruby
phipes has joined #ruby
yasushi has quit [Remote host closed the connection]
Czupa has quit [Remote host closed the connection]
popl has quit [Ping timeout: 272 seconds]
Wolland has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
w1xz has joined #ruby
phipes has quit [Ping timeout: 265 seconds]
psyl0n has joined #ruby
yasushi has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
lyanchih has joined #ruby
thenovices has joined #ruby
yasushi has quit [Remote host closed the connection]
ravster has joined #ruby
<aep>
so "4.day.ago" is quite neat syntax. can i use this with "day" being a dynamic string containing "day" or "week" etc?
pehlert has joined #ruby
<aep>
i guess i could use eval, but it makes me shiver
_tpavel has joined #ruby
tdk2fe has joined #ruby
lorelei_ has quit [Ping timeout: 276 seconds]
w1xz has quit [Quit: ZZZzzz…]
coderhs has joined #ruby
thenovices has quit [Ping timeout: 276 seconds]
pehlert has quit [Ping timeout: 265 seconds]
w4pm has joined #ruby
<Hanmac>
aep its rails stuff, the "shiver" is a warning from your body that you do something wrong
Bira_ has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
Bira has quit [Ping timeout: 252 seconds]
VinceThePrince has quit [Ping timeout: 272 seconds]
lyanchih has quit [Quit: lyanchih]
w4pm has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Ping timeout: 252 seconds]
Kar- has joined #ruby
Advocation has joined #ruby
clevermatt has joined #ruby
yfeldblum has joined #ruby
browndawg has quit [Quit: Leaving.]
drumusician has quit [Ping timeout: 252 seconds]
<apeiros>
aep: see Object#send
<aep>
thanks
<aep>
apparantly 1.method("day") works too
<apeiros>
you forgot to .call it
<apeiros>
and that's much less efficient
<aep>
oh
noop has joined #ruby
_tpavel has quit [Ping timeout: 245 seconds]
<aep>
ah i see, send takes a symbol, which i have
albertgrala has joined #ruby
<apeiros>
send also accepts strings
<apeiros>
but if you already have a symbol, then that's more efficient
<aep>
yeah, cool. works
yfeldblum has quit [Ping timeout: 245 seconds]
<aep>
thanks
_HolyCow1 has joined #ruby
* Hanmac
still thinks that the #day function is a abomination
<aep>
why is that?
araujo has quit [Remote host closed the connection]
<aep>
isn't it just a convenience function that multiples the int with a time?
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
<Hanmac>
because it is rails and it infect the mind of innocent ruby users
_HolyCow has quit [Ping timeout: 264 seconds]
<aep>
you mean because it isnt available in ruby core?
meatherly has joined #ruby
<apeiros>
aep: no, Hanmac just has an irrational hatred for rails
<apeiros>
while rails IMO isn't a good role model in many regards, I think he's going a bit over the top
<aep>
can't hurt to be aware of railsy pitfalls, if there are any
<dfcnvt>
I've changed 'mysql2' in database.yml & Gemfile. And it appeared to be up and running but problem is it doesn't load the refinerycms information to the database I created "ror_db" in mysql.
<dfcnvt>
What do I need to do?
<Hanmac>
aep: exactly ... users that learn rails before they learned ruby comes to us and anoy us because they want something that is rails only replace something that is in ruby core ... (for sample the HashWithIndifferentAccess)
<aep>
ew, this one looks ugly.
meatherly has quit [Ping timeout: 246 seconds]
<Hanmac>
aep its because rails user don't understand that it makes a difference when you have a hash with string or symbol keys ... so they want something like h[:a]=v; h["a"]#=> v
<aep>
yeah, i understand your discomfort with that :/
<Hanmac>
and then they come to us like : "HashWithIndifferentAccess is so much better ... blablabla ... lets replace Hash with it ... blablabla ... we do not care if it breaks other code ... blablabla " and so on ...
fphilipe has joined #ruby
fgo has joined #ruby
VTLob has joined #ruby
ewnd9_ has quit [Ping timeout: 252 seconds]
<Fractional>
Good morning! :)
Advocation has quit [Quit: Advocation]
mklappstuhl has joined #ruby
Bira_ has quit [Remote host closed the connection]
clevermatt has quit [Remote host closed the connection]
m-o-s has joined #ruby
noop has quit [Ping timeout: 265 seconds]
robert_ has quit [Read error: Connection reset by peer]
el_cristobal has quit [Ping timeout: 272 seconds]
noop has joined #ruby
guinslym_ has quit [Ping timeout: 252 seconds]
Czupa has joined #ruby
<Hanmac>
aep thats why imo rails users are worse like apple users ...
cina has joined #ruby
<aep>
ah relax, its like that in every comunity.
<aep>
like the whole "linux == ubuntu, therefor i go to #centos and whine that apt-get wont work"
<Hanmac>
i am a ubuntu user, but compared to apple users i do not care if someone other is not
sepp2k has joined #ruby
<Pixels>
half the ubuntu users are using it because they're new imo
<aep>
yeah, perfectly normal *shrug*
<Pixels>
it's a simple pick up and get into linux
el_cristobal has joined #ruby
<aep>
is there a convenience method for if (foo[:bar] == nil) foo[:bar] = 0; ?
<Hanmac>
Pixels i got into linux with suse ... after i touched ubuntu/debian i am happy that i dont need suse anymore
<Hanmac>
aep: foo[:bar] || = 0
<aep>
hah awesome. thanks
<aep>
i wonder if that works with += too
<Pixels>
i got into linux with preunity ubuntu
<Hanmac>
aep ups its. foo[:bar] ||= 0
Bira has quit [Remote host closed the connection]
<Hanmac>
aep it does
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
arietis has quit [Quit: Computer has gone to sleep.]
<Hanmac>
Pixels preunity was better ... thats why i am using cinnamon ...
<emocakes>
ubuntu sucks
<aep>
Hanmac: how so. ||= is a single operator, right? and ||+= apparantly doesnt exist
<zxd>
can someone give an example when one would use #[var] ?
<zxd>
is this valid
<zxd>
I don't understand the #
razibog has quit [Ping timeout: 272 seconds]
<Hanmac>
aep foo[:bar] ||= 0 is syntax sugar for foo[:bar] || (foo[:bar] = 0) ... or something like that if you want foo[:bar] += 1 you need Hash.new(0) for default values
<Hanmac>
zxd are you sure its #[var] and not #{var} ?
<aep>
Hanmac: nah that'd be ugly i think. i'll stick to an explicit ||=0 and then +=1; thanks
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tharindu_ is now known as tharindu_|away
amundj has joined #ruby
phipes has joined #ruby
Bira has joined #ruby
Advocation has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
<alexherbo2>
is there a way to write a→b instead of a.→(b) ?
<shevy>
right now I have things like: require 'foo' <--- pulls in Foo module namespace, but it may fail
fphilipe_ has joined #ruby
rootshift has joined #ruby
yasushi has joined #ruby
petey has quit [Ping timeout: 246 seconds]
tharindu has joined #ruby
<dfcnvt>
I'm starting to dislike Ruby on Rails... Appear to have too much bugs... or rather it simply doesn't figured out which to keep the version and substitute it than additing it all up.
* Hanmac
remembers again why he kicked gosu out and begins with sfml-ruby ... gosu does not work on newer systems that may out multiarch
<shevy>
heheh
<shevy>
you stopped using gosu?
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
cads has quit [Ping timeout: 272 seconds]
<Hanmac>
shevy yeah long time ago because gosu did stop working on my system
<Fractional>
Hanmac: Syntax error unexpected ')'
<Hanmac>
Fractional: ok i miss one "(" before c.to_i
<Fractional>
Works
<dfcnvt>
shevy: Thank you, I'll check into it.
<shevy>
Fractional IS YOUR SCRIPT FINALLY RUNNING
havenwood has joined #ruby
<Fractional>
shevy: Hanmac: Can you write (c.to_i == 0 ? Watertile : c.to_i == 2 ? AirTile)
<shevy>
dunno
<shevy>
that code is so ugly as it is, I am not gonna touch it
<Fractional>
shevy: It is :D Thanks to Hanmac :)
<Fractional>
I am going to swap it to a switch don't worry :P
<Fractional>
Just wondering if you could do it like that.
Megtastique has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac>
Fractional: i would prefer to use some kind of hash data: tile_map = {0 => Watertile, 1 => Grasstile, 2 =>AirTile} and then use tile_map[c.to_i].new ... or use some kind of Generic Tile class, maybe combined with a TileSet
lioninawhat has quit [Remote host closed the connection]
cads has joined #ruby
<shevy>
simplicity is the key
fgo has quit [Remote host closed the connection]
mityaz has joined #ruby
ravster has quit [Ping timeout: 252 seconds]
phipes has joined #ruby
<Fractional>
I think I must look into hashes.
alexfreidah has joined #ruby
* Hanmac
feels a tingleing in his fingers ... he wants to write an Awsome TileSet class ;P
fphilipe has joined #ruby
kirun has joined #ruby
<Fractional>
Hanmac: Show me the way it should be done! :D
<pontiki>
lol
Cooler_ has joined #ruby
<shevy>
man
<shevy>
all the time I was doing
<shevy>
begin
<shevy>
require 'bla'
<shevy>
BLA_IS_AVAILABLE = true
<shevy>
rescue LoadError
<shevy>
BLA_IS_AVAILABLE = false
<shevy>
end
<shevy>
and now I just realized that you can actually set a constant inside of a module/class that way
<shevy>
so it would be BLA::IS_AVAILABLE = true
fphilipe_ has quit [Ping timeout: 245 seconds]
senayar_ has joined #ruby
rootshift has quit [Quit: rootshift]
phipes has quit [Ping timeout: 260 seconds]
<pontiki>
but if bla wasn't required, that constant wouldn't get set, and there'd be no BLA namespace, so you'd have to be checking it in more complicated ways than if BLA::IS_AVAILABLE
MindfulMonk has joined #ruby
browndawg has quit [Read error: Connection timed out]
<Hanmac>
shevy why not defined?(BLA) ?
<shevy>
yeah, in this case BLA is the main namespace of my project in question
freggles has quit [Ping timeout: 246 seconds]
<shevy>
Hanmac dunno, that is so awful to read
browndawg has joined #ruby
<shevy>
if USE_GUI
<shevy>
vs
<shevy>
if defined?(USE_GUI)
thenovices has joined #ruby
senayar has quit [Ping timeout: 252 seconds]
pehlert has joined #ruby
<Fractional>
Anyone here got experience with the Luhn algorithm?
mercwithamouth has quit [Ping timeout: 252 seconds]
timonv has joined #ruby
phinfonet has joined #ruby
po10_ has joined #ruby
shevy has quit [Ping timeout: 245 seconds]
<pontiki>
you could still say BLA::IN_AVAILABLE = begin; require 'bla'; rescue LoadError; false; end
<pontiki>
stretch it out so it looks pretty
pehlert has quit [Ping timeout: 252 seconds]
thenovices has quit [Ping timeout: 245 seconds]
<apeiros>
require can return false
alexfreidah has quit [Ping timeout: 252 seconds]
emocakes has quit [Quit: Leaving...]
<pontiki>
it returns false if it's already loaded, doesn't it...
nfk has quit [Quit: yawn]
<apeiros>
iirc, yes
po10 has quit [Ping timeout: 260 seconds]
TwinkleH1od is now known as TwinkleHood
<pontiki>
shevy, is the point for your program to be able to run without whatever is offered by 'bla' ?
rubyracer has joined #ruby
rootshift has joined #ruby
_tpavel has joined #ruby
<pontiki>
the idea of having several if BLA_IS_AVAILABLE statements feels a bit off as well
ravster has joined #ruby
<apeiros>
indeed
nfk has joined #ruby
<apeiros>
usually a missing dependency means non-working app
<apeiros>
I started the "available" gem for cases where your dependencies are difficult to manage. e.g. rake tasks: https://github.com/apeiros/available
spider-mario has quit [Remote host closed the connection]
<shevy>
guys
<shevy>
I have several archives in different formats
<shevy>
for instance
<shevy>
foo-1.0.zip
petey has joined #ruby
<shevy>
bar-1.1.tar.xz
dweeb has quit [Quit: Computer has gone to sleep.]
axl_ has joined #ruby
<shevy>
bla-1.2.tar.bz2
enebo has joined #ruby
<shevy>
is there a simple way to get rid of the file endings, a way that would work for input like the above? so that I would just get back "bla-1.2"
lioninawhat has joined #ruby
<shevy>
right now I am just chaining together .gsub like an idiot
meatherly has joined #ruby
zxd has joined #ruby
<benzrf>
shevy: you need to have a list of file exts
DrShoggoth has quit [Read error: Connection reset by peer]
<shevy>
:(
<benzrf>
there is no programmatic way to tell .2 from .tar.gz
DrShoggoth has joined #ruby
<benzrf>
*.tar
<Morrolan>
Very common question.
<Morrolan>
shevy: Out of curiosity, what are you doing this for? :)
yoshie902a has quit [Quit: yoshie902a]
<shevy>
Morrolan I have a listing of many archives and need to handle them all, including extracting, potentially cd-ing into that extracted directory, then either copying things from that or compiling it
<Morrolan>
Well, in this case you'll need a way to know what to do with a certain format anyway.
<Morrolan>
Can then just reuse that mapping to extract the filename.
meatherly has quit [Ping timeout: 272 seconds]
<pontiki>
you could use a regexp if it's always version strings up to the file extensions
mary5030 has joined #ruby
Neomex has joined #ruby
<shevy>
pontiki hmm some input can be harder to check
<pontiki>
right up until someone sends baz-14.2.0rc3.tar.bz2
Megtastique has quit []
<shevy>
yeah
<shevy>
and there are many more weird examples out there on the world wide web
<pontiki>
OTOH, archive extensions are a pretty small set
<shevy>
I once had difficulty with WebKit-r161760, my regex back then did not factor in non digit character after the last -
<shevy>
File.basename is so beautiful
fphilipe has quit [Read error: Connection reset by peer]
araujo has quit [Remote host closed the connection]
<shevy>
what I hate most among things are archives that are like
<shevy>
foobar-1.0.2.tar.gz but when you extract them, they are like noodle.31.111.44/
<pontiki>
it would be kind of cool if basename took something other than a string for suffix
falkn0r has joined #ruby
aryaching has quit [Ping timeout: 252 seconds]
<shevy>
then there are some "funny" guys like the boost folks who name their archive like that boost_1_53_0.tar.bz2
<benzrf>
should i switch to zsh
<shevy>
no
<benzrf>
i feel like it is the emacs of shells
<shevy>
zsh is for elitists
<benzrf>
am i not one of those
<shevy>
you want to remain at the common people
araujo has joined #ruby
<shevy>
yes you are an elitist
<shevy>
go zsh but you know that you will be hated
mehlah has quit [Quit: Leaving...]
<shevy>
or
<shevy>
make a shell in ruby / ruby-c that will outcompete both bash and zsh
<benzrf>
=D
spyderman4g63 has quit []
zipper has quit [Ping timeout: 248 seconds]
timonv has joined #ruby
dweeb has joined #ruby
rootshift has joined #ruby
sassamo has joined #ruby
<Morrolan>
If ZSH is to other shells what emacs is to other editors, then I really should change to zsh. :o
aryaching has joined #ruby
dd4r10 has left #ruby [#ruby]
gr33n7007h has joined #ruby
<shevy>
vim is better than emacs
yoshie902a has joined #ruby
rickruby has joined #ruby
camilasan has joined #ruby
<benzrf>
debatable
<benzrf>
they are both pretty awesome
<shevy>
vim truly is
<Morrolan>
M-x shoot-rocket-at shevy
<shevy>
look at all this noise
yasushi has quit [Remote host closed the connection]
<shevy>
Rocket.nuke :shevy
<shevy>
are you guys working a lot with .pdf files?
eka has quit [Quit: Computer has gone to sleep.]
einarj has joined #ruby
* Morrolan
shakes head
thomasxie has quit [Quit: Leaving.]
<shevy>
I mostly have just pdf viewers
<shevy>
but would often like to just cut out things from .pdf files that are useless or take away space
rickruby has quit [Ping timeout: 245 seconds]
closer has joined #ruby
braddeicide has joined #ruby
cibs has joined #ruby
eshy has joined #ruby
gstamp has joined #ruby
zz_karupanerura has joined #ruby
phipes has joined #ruby
<pontiki>
ishell is the emacs of shells
mark_locklear has joined #ruby
Bira has joined #ruby
<shevy>
what is that
<shevy>
iphone shell?
Bira has quit [Remote host closed the connection]
<pontiki>
interactive shell in Emacs?
vlad_starkov has quit [Remote host closed the connection]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
ah
<shevy>
so like irb for ruby
<pontiki>
nah
<pontiki>
it's a unix shell
<pontiki>
just made emacsy
senayar_ has quit [Remote host closed the connection]
joshu has quit [Quit: Computer has gone to sleep.]
mary5030 has quit [Remote host closed the connection]
<pontiki>
i don't use it
senayar has joined #ruby
alex88 has quit [Quit: Leaving...]
psyl0n has quit []
razibog has joined #ruby
yoshie902a has quit [Quit: yoshie902a]
Steven_ has joined #ruby
<shevy>
hehe
<shevy>
same for emacs and vim
<shevy>
I don't use them
<shevy>
(ok, I do use vim sometimes when not using xorg...)
<pontiki>
i use pry for my shell
<benzrf>
pry ftw
phipes has quit [Ping timeout: 276 seconds]
<pontiki>
actually, i don't, but i am in it a lot
rootshift has quit [Quit: rootshift]
<shevy>
hehehe
<shevy>
hmm
<shevy>
is rails huge or acceptable?
<benzrf>
huuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuueg
wildroman2 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<pontiki>
rails is huge and acceptable. wait, what's the question?
<Morrolan>
Those aren't opposites.
<pontiki>
how huge is huge, and how acceptable is acceptable?
yoshie902a has joined #ruby
noname001__ has quit [Ping timeout: 276 seconds]
nemesit|znc has quit [Ping timeout: 272 seconds]
<pontiki>
and compared to what?
<Morrolan>
And why is huge not acceptable? :P
<apeiros>
fleeHP
<pontiki>
and what are the units for each of those things?
iaj has quit [Ping timeout: 252 seconds]
<pontiki>
shall we call up NIST and get the standard units?
pehlert has joined #ruby
nemesit|znc has joined #ruby
fire has joined #ruby
iaj has joined #ruby
rootshift has joined #ruby
<benzrf>
ecksbawks hueg
aryaching has quit [Ping timeout: 248 seconds]
<shevy>
pontiki I am kinda shocked how many files it creates
<shevy>
I am scared to switch my local knowledge base into rails
nemesit|znc has quit [Max SendQ exceeded]
nemesit|znc has joined #ruby
<benzrf>
shevy: use sinatra!
wildroman2 has joined #ruby
diegoviola has joined #ruby
mercwithamouth has joined #ruby
wildroman2 has quit [Remote host closed the connection]
Megtastique has joined #ruby
pehlert has quit [Ping timeout: 260 seconds]
wildroman2 has joined #ruby
w4pm has joined #ruby
nemesit|znc has quit [Max SendQ exceeded]
phipes has joined #ruby
nemesit|znc has joined #ruby
zcreative has joined #ruby
Pixels has quit [Excess Flood]
<pontiki>
switch from what?
Pixels has joined #ruby
<pontiki>
you could instead switch to emacs org-mode files :))
nemesit|znc has quit [Max SendQ exceeded]
jan1337z has joined #ruby
Freeaqingme| has joined #ruby
w4pm has quit [Ping timeout: 248 seconds]
nemesit|znc has joined #ruby
havenwood has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
razibog has quit [Remote host closed the connection]
rootshift has quit [Quit: rootshift]
lioninawhat has quit [Remote host closed the connection]
dweeb has quit [Quit: Computer has gone to sleep.]
<Freeaqingme|>
Hi folks, I'm running wheezy+foreman+ruby1.9.1 and just upgraded from mysql to mariadb. I keep getting this error: "Incorrect MySQL client library version! This gem was compiled for 5.5.31 but the client library is 10.0.7-MariaDB."
<Freeaqingme|>
I already uninstalled the mysql gem, and reinstalled it, but no changes
joshu has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<soahccc>
Freeaqingme|: You removed it from the bundle or via gem command?
itadder has joined #ruby
<itadder>
hi
<itadder>
what does .chomp do
<apeiros>
itadder: read the docs on it?
<Freeaqingme|>
soahccc, I removed it via the gem command
<apeiros>
you know, `ri String#chomp`
<pontiki>
chomp chomp chomp
<Freeaqingme|>
soahccc, how can I remove it from the bundle?
<soahccc>
Freeaqingme|: Do you have a deployment setup of some sort? Usually it is in vendor/bundle on production
yfeldblum has joined #ruby
acoyfellow has quit [Remote host closed the connection]
<itadder>
ahh so I can do something like "hello \n world".chomp and it will still say hello \n world
phipes has quit [Remote host closed the connection]
petertretyakov has quit [Remote host closed the connection]
gja has joined #ruby
<apeiros>
correct
<Freeaqingme|>
soahccc, thanks, removing it from that dir and then performing a bundle install seems to actually change things
mark_locklear has quit [Ping timeout: 252 seconds]
<itadder>
ahh so it will remove the return thing at the end
<Fractional>
Anyone got any good tasks for someone who's new with Ruby?
<Freeaqingme|>
maybe, one day, I will one day truly understand Ruby's (and ror's) packaging ;)
<Freeaqingme|>
Fractional, write an irc bot
<Fractional>
What features should it have? :)=
maoko has joined #ruby
<Freeaqingme|>
that's the nice thing of irc bots, once you have the basic socket handling done, you can make it connect to multiple servers. Then you can think of any function you want
<Freeaqingme|>
like create a function that displays the weather forecast - gives you an opportunity to do something with an external api
<Fractional>
That sounds a bit advanced for a newbie :P
yfeldblum has quit [Ping timeout: 272 seconds]
<Fractional>
But I will give it a shot!
<pontiki>
you don't finish it in a day
<pontiki>
but it's a good longish project that you can build in parts
<soahccc>
Fractional: You can take a look at cinch if you're stuck or need ideas
<dominikh>
yeah, only several years of development went into cinch; writing an irc bot is a quick project :P
aryaching has joined #ruby
gwb3 has left #ruby [#ruby]
<elaptics>
Fractional: do you want to learn anything specific about the language or just get some practice?
carraroj has quit [Read error: Operation timed out]
<Fractional>
elaptics: practice
lioninawhat has joined #ruby
<soahccc>
dominikh: yeah but it is mostly the socket stuff and a bit of DSL... The underlying connection handling is the main part imho
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has quit [Remote host closed the connection]
meatherly has quit [Ping timeout: 248 seconds]
Wolland has joined #ruby
relix has joined #ruby
zxd has quit [Ping timeout: 272 seconds]
thenovices has quit [Remote host closed the connection]
nemesit|znc has quit [Ping timeout: 252 seconds]
nemesit|znc has joined #ruby
rootshift has quit [Quit: rootshift]
timonv has joined #ruby
phipes has joined #ruby
jeekl has joined #ruby
jeekl has quit [Changing host]
jeekl has joined #ruby
tt1187 has quit [Ping timeout: 272 seconds]
Wolland has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
craigp has quit [Remote host closed the connection]
Steven_ has quit [Ping timeout: 245 seconds]
maletor has joined #ruby
noop has quit [Ping timeout: 252 seconds]
Steven_ has joined #ruby
edwardly has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
Hanmac has quit [Ping timeout: 276 seconds]
SCommette has joined #ruby
wald0_ has joined #ruby
petey has quit [Ping timeout: 252 seconds]
wald0 has quit [Remote host closed the connection]
wald0_ has quit [Client Quit]
nfk has quit [Quit: yawn]
wald0 has joined #ruby
<shevy>
use a better editor
<shevy>
like emacs
<Jamo>
well with vim you can go same as with nano or gedit or notepad without rally learning anything - same with emacs and others
camilasan has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
<Jamo>
but when you spend some time learning about your editor, you will get more efficient and get the job done faster :)
timonv has quit [Remote host closed the connection]
jeekl has quit [Quit: jeekl]
_mtr has joined #ruby
_mtr has quit [Client Quit]
<waxjar>
i always found that a non-argument. when im coding i spend far more time just sitting in front of my computer thinking that actually writing code
<waxjar>
*than
<benzrf>
waxjar: what editor do you use
<waxjar>
sublime
jeekl has joined #ruby
<havenwood>
waxjar: agreed
<benzrf>
~_~
<benzrf>
switch2vim
TenJack has joined #ruby
<benzrf>
i guarantee you it is bettar
<waxjar>
no thx
<havenwood>
waxjar: my typing speed and navigating speed is hardly paramount
<benzrf>
it can do anything sublime can and more
danijoo has quit [Read error: Connection reset by peer]
<waxjar>
im not even using all of sublimes features + i like the mouse
<benzrf>
mouse
<benzrf>
rly
<benzrf>
@_@
<havenwood>
benzrf: but not be user friendly to someone trying to learn a language a not an editor
<benzrf>
gvim supports mouse
danijoo has joined #ruby
<havenwood>
learning curve still, seems nicer to settle editor war after learning lang not before
<benzrf>
.....
<benzrf>
*le sign*
craigp has joined #ruby
Wolland has joined #ruby
einarj has quit [Remote host closed the connection]
<benzrf>
yall dont know what youre missing
p8952 has quit [Quit: Leaving]
tectonic has quit []
<waxjar>
what's one killer feature vim has that you couldnt live without
wallerdev has joined #ruby
<benzrf>
compound commands
fire has quit [Quit: WeeChat 0.4.1]
<havenwood>
being really, really used to it
<benzrf>
or whatever the fuck theyre called
<benzrf>
also J is surprisingly awesome
<benzrf>
and when macros are useful they are USEFUL
<havenwood>
like a single command executed in multiple buffers, or?
<benzrf>
as in, commands that take other commands
<benzrf>
case in point: d
pehlert has joined #ruby
<benzrf>
text objects are nice also
_mtr has joined #ruby
<shevy>
benzrf are you still writing a lot of python code?
<benzrf>
almost none
<waxjar>
i think ill stick with just knowing about i and :wq :P
Es0teric has joined #ruby
<benzrf>
ಠ_ಠ
<shevy>
I am fine with the keybindings of vim
<shevy>
what I can not forgive is the awful shitty syntax for "extending" vim
<benzrf>
oh lord
<benzrf>
fuckin vimscript
<benzrf>
good thing it supports scripting it with ruby, eh?
<benzrf>
;)
<shevy>
does it now?
Es0teric has quit [Max SendQ exceeded]
<benzrf>
it has for a while.....?
<shevy>
I am sceptical
<benzrf>
i believe you must write a little bit of VimL for wrapping it
agjacome_ has joined #ruby
<shevy>
omg
Es0teric has joined #ruby
thenovices has joined #ruby
pehlert has quit [Ping timeout: 248 seconds]
Es0teric has quit [Client Quit]
<benzrf>
ugh this is not work right
e62 has quit [Ping timeout: 245 seconds]
petey has joined #ruby
agjacome has quit [Ping timeout: 276 seconds]
thenovices has quit [Read error: Operation timed out]
psyl0n has joined #ruby
Advocation has joined #ruby
finnnnnnnnnnn has joined #ruby
ckinni has quit [Read error: Connection reset by peer]
hackeron_ has joined #ruby
ckinni has joined #ruby
hackeron has quit [Read error: Operation timed out]
fijimunkii has joined #ruby
w1xz has quit [Quit: ZZZzzz…]
platzhirsch1 has joined #ruby
<platzhirsch1>
Just looked through an article "where designers take their photos and images" and there are soo great links to galleries offering public domain images that look more than stunning
timonv has joined #ruby
tectonic has joined #ruby
yfeldblum has joined #ruby
Es0teric has joined #ruby
daidoji has quit [Ping timeout: 246 seconds]
rickruby has joined #ruby
tharindu has quit [Ping timeout: 272 seconds]
mrnugget has quit [Quit: mrnugget]
nemesit|znc has quit [Max SendQ exceeded]
daidoji has joined #ruby
_bart has quit [Remote host closed the connection]
nemesit|znc has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
meatherly has joined #ruby
BuSerD_away is now known as BuSerD
eliasp has quit [Ping timeout: 248 seconds]
pwh has joined #ruby
petey has quit [Remote host closed the connection]
nemesit|znc has quit [Ping timeout: 252 seconds]
nemesit|znc has joined #ruby
petey has joined #ruby
eliasp has joined #ruby
zipper has quit [Ping timeout: 252 seconds]
meatherly has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
zipper has joined #ruby
OdNairy has joined #ruby
SCommette has quit [Quit: SCommette]
Advocation has quit [Quit: Advocation]
petey has quit [Ping timeout: 248 seconds]
Steven_ has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
Kar- has quit [Ping timeout: 246 seconds]
simoz3 has joined #ruby
mklappst_ has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
ambushsabre has quit [Quit: rip]
SCommette has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
araujo has quit [Remote host closed the connection]
binaryhat has joined #ruby
araujo has joined #ruby
araujo has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
guilund has joined #ruby
danshultz has joined #ruby
<blast_hardcheese>
I've got a problem with sass. I just installed it using rbenv's version of gem, but it is unable to compile the examples on the sass-lang website
<blast_hardcheese>
I installed sassc, a tool that uses the libsass library, it's able to handle them just fine
<yoshie902a>
Hi, I am wondering if there is a better way to do this. I have a class, called Portfolio, which has a collection of securities, that I store in a array. http://pastie.org/8627153 Is there a better structure, other than an array to organize this relationship?
wallerdev has quit [Quit: wallerdev]
apeiros_ has joined #ruby
gja has joined #ruby
robbyoconnor has quit [Excess Flood]
Jake232 has joined #ruby
robbyoconnor has joined #ruby
wildroman2 has quit [Ping timeout: 248 seconds]
_mtr has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claymore has quit [Quit: Leaving]
phinfone_ has joined #ruby
wildroman3 has quit [Ping timeout: 252 seconds]
pwh has quit []
phinfonet has quit [Ping timeout: 272 seconds]
robbyoconnor has quit [Excess Flood]
ctp has quit [Quit: Leaving...]
robbyoconnor has joined #ruby
TenJack has quit []
Kar- has joined #ruby
apeiros_ has quit [Ping timeout: 272 seconds]
rodneyfool has quit [Remote host closed the connection]
el_cristobal has quit [Ping timeout: 252 seconds]
petey has quit [Remote host closed the connection]
wallerdev has joined #ruby
senayar has joined #ruby
petey has joined #ruby
senayar has quit [Remote host closed the connection]
meatherly has joined #ruby
Mike98632 has quit [Ping timeout: 252 seconds]
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Excess Flood]
rodneyfool has joined #ruby
robbyoconnor has joined #ruby
zcreative has quit [Quit: Computer has gone to sleep.]
senayar has joined #ruby
centrx has joined #ruby
el_cristobal has joined #ruby
vlad_starkov has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
meatherly has quit [Ping timeout: 246 seconds]
simoz3 has quit [Ping timeout: 276 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yoshie902a>
anyone around
<yoshie902a>
?
<shevy>
yoshie902a sure I am around
<shevy>
but your question isn't easy to answer
<shevy>
you need to think of in terms of ruby
<shevy>
ruby gives you only hash and array right?
<shevy>
so when you need more complicated data structures, you need to build them yourself
<centrx>
What is the question?
<centrx>
anyone.around?
<shevy>
like, make a specialized class that responds the way you want it to be yoshie902a
<yoshie902a>
centrx: repost for you: : Hi, I am wondering if there is a better way to do this. I have a class, called Portfolio, which has a collection of securities, that I store in a array. http://pastie.org/8627153 Is there a better structure, other than an array to organize this relationship?
lorelei_ has quit [Ping timeout: 245 seconds]
ctp has joined #ruby
<centrx>
yoshie902a, What's wrong with the array?
<yoshie902a>
shevy: was familiar with arrays and hashes, but did not know the pros and cons to them vs maybe some other structure or solution that I was not familiar with.
vlad_starkov has quit [Ping timeout: 246 seconds]
<shevy>
you can think of an array as a primitive hash with fixed integer keys
<shevy>
there are not that many different ways in ruby in regards to data structures
<centrx>
yoshie902a, If there are many securities, a hash would be faster to access by key name
w_alexus has quit [Ping timeout: 245 seconds]
prxq_ is now known as prxq
petey has quit [Remote host closed the connection]
<yoshie902a>
centrx: we'll I'm having a hard time searching and modifying my values.
petey has joined #ruby
itadder has joined #ruby
<itadder>
hi
<centrx>
yoshie902a, Are the securities stored anywhere?
<centrx>
Ahoy
<yoshie902a>
centrx: only in the portfolio class, no data right now
<yoshie902a>
^ no database
<itadder>
ahoy
<centrx>
yoshie902a, If this is going to be a real application, I would recommend you use a database with Rails
<centrx>
yoshie902a, This also enabled you to search on attributes, or e.g. search for portfolios with certain kinds of securities
guinslym_ has joined #ruby
clevermatt has quit [Remote host closed the connection]
zipper has joined #ruby
<itadder>
so I can do variable=get and variable=variable.chomp
deens has joined #ruby
<yoshie902a>
centrx: I'm currently writing more of a script. I
vlad_starkov has joined #ruby
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
petey has quit [Ping timeout: 272 seconds]
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
ctp has quit [Quit: Leaving...]
lorelei_ has joined #ruby
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
zoscoy has joined #ruby
wlanboy_ has quit [Changing host]
wlanboy_ has joined #ruby
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
wlanboy_ is now known as wlanboy
<centrx>
itadder, You mean gets ?
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
<yoshie902a>
If I create an object like Portfolio(e.g. "portfolio_orig", insert a bunch of securities. Set that to another variable,( e.g new_portfolio=portfolio_orig), then modify one of the securities values, will both portfolios be changed? I've tried it and tested several time in different ways and I'm getting mixed results.
skaflem has quit [Quit: This computer has gone to sleep]
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
lorelei_ has quit [Client Quit]
<centrx>
yoshie902a, new_portfolio and portfolio_orig will point to the same class instance
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
vlad_starkov has quit [Read error: Connection reset by peer]
<centrx>
yoshie902a, To copy a class, use clone (or dup)
Mike98632 has joined #ruby
rodneyfool has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mike98632 has quit [Max SendQ exceeded]
<itadder>
I mean gets
<itadder>
opps
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
<itadder>
so I can do variable=gets and variable=variable.chomp
kebabski has quit [Read error: Connection reset by peer]
<yoshie902a>
centrx: is I clone a class like portfolio, will all the securities clone too? or will they point to the original object?
Mike98632 has joined #ruby
<itadder>
gets recive input and then puts it as the variable
Mike98632 has quit [Max SendQ exceeded]
<itadder>
wow that is easyier then other lang
<yoshie902a>
sub it/if
deens has quit [Ping timeout: 272 seconds]
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
el_cristobal has quit [Ping timeout: 245 seconds]
kewubenduben has joined #ruby
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
danijoo has quit [Read error: Connection reset by peer]
Guest41164 has joined #ruby
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
danijoo has joined #ruby
Mike98632 has joined #ruby
Mike98632 has quit [Max SendQ exceeded]
<centrx>
yoshie902a, clone/dup perform a "shallow" copy, so they will still point to the same securities array
Mike98632 has joined #ruby
<itadder>
anyonehere used thinkful.com
Txandy has quit [Quit: Leaving...]
<yoshie902a>
centrx: from what I understand clone will make all new security objects, but dup will not. is there a solution to do a non-shallow copy and get all new securities?
nettoweb has joined #ruby
<centrx>
never heard of it
<yoshie902a>
centrx: since my understanding of clone vs dup is incorrect. what's the main difference??
<centrx>
yoshie902a, dup creates a new instance of the class and copies the attributes, clone makes a more exact copy
popl has joined #ruby
popl has joined #ruby
<centrx>
yoshie902a, "In general, clone and dup may have different semantics in descendant classes. While clone is used to duplicate an object, including its internal state, dup typically uses the class of the descendant object to create the new instance."
<yoshie902a>
centrx: I read that, but do not understand it
ferr has joined #ruby
el_cristobal has joined #ruby
<yoshie902a>
what is it's internal state?
<centrx>
yoshie902a, If the instance has been "frozen" or if it has been "extended" with a module, then clone will copy that state
skaflem has joined #ruby
[_aeris_] is now known as _aeris_
<yoshie902a>
centrx: still a bit unclear, but I'm reading some info now. Will let you know when I'm a bit better read. thanks!
cbetta_afk is now known as cbetta
<centrx>
Glad to help
e62 has joined #ruby
pehlert has joined #ruby
tt1187 has quit [Ping timeout: 245 seconds]
p8952 has joined #ruby
craigp has quit [Remote host closed the connection]
rickruby has joined #ruby
zipper has quit [Ping timeout: 272 seconds]
relix has joined #ruby
<noob101>
I was thinking of going to ITT tech, is that a good school for wanna be programmers????
PebkacJones has joined #ruby
<shevy>
if anyone knows that
pehlert has quit [Ping timeout: 252 seconds]
daidoji has quit [Quit: WeeChat 0.4.1]
<PebkacJones>
knows what? :)
Es0teric has quit [Quit: Computer has gone to sleep.]
_maes_ has quit [Ping timeout: 272 seconds]
mneorr has joined #ruby
prc has joined #ruby
<shevy>
PebkacJones I meant what noob101 wanted to know
skaflem has quit [Quit: Leaving]
thenovices has joined #ruby
<PebkacJones>
hi shevy
<PebkacJones>
do you use rails?
<shevy>
hmm what is pebkac, is that a word?
<shevy>
not really
<PebkacJones>
yes, google it :)
<PebkacJones>
I think you can guess what I do for a living hehe
<shevy>
I am scared :\
<noob101>
http://itt-tech.edu/teach/list/bsd.cfm <------ see look ITT university right? Is this a good school for people like me. I' 16 and I want to go to college and extended my education.
<noob101>
I want to be able to prgram. My dad told em that we would go to the campus.
<noob101>
Pebkac, what do you do as a living?
Hanmac has joined #ruby
tectonic has quit []
diegoviola has joined #ruby
craigp has joined #ruby
<shevy>
I am gonna quiz people now
thenovices has quit [Ping timeout: 245 seconds]
<shevy>
- Can you create a new instance of a singleton class in Ruby?
coder_neo has quit [Quit: Leaving]
Lewix has quit [Remote host closed the connection]
Hanmac2 has joined #ruby
Hanmac1 has quit [Ping timeout: 276 seconds]
Lewix has joined #ruby
theoretick has joined #ruby
<ddd>
i thought there could be only one singleton class, which had all singleton methods on objects applied to it (with a way to map it to the actual object that called it)
<shevy>
ddd what's your answer
kirun has quit [Ping timeout: 252 seconds]
<ddd>
because objects don't really own their methods, they just call them from the scope they;'re in.
craigp has quit [Remote host closed the connection]
<ddd>
so I would say No, you can not
<shevy>
ddd now we must find someone who says yes
<shevy>
any takers?
craigp has joined #ruby
<ddd>
hehe battle royale?
mityaz has quit [Quit: See ya!]
<shevy>
ddd yes... one of you must die, the other will proceed to the next stage, else it is no fun :(
<shevy>
ok time is up
<shevy>
ddd is the winner!
<shevy>
"TypeError: can't create instance of singleton class"
<ddd>
You *are*.. The Weakest Link! Goodbye!
<shevy>
man, that old hag on the show... she is ugly
<ddd>
hahah
<shevy>
that red haired blonde haired thing with glasses
<shevy>
but I did watch a few episodes...
<ddd>
I was referring to the Dr. Who version of the show :)
<shevy>
I could not keep up with the speed, I find UK english so much harder to understand than the US english
<ddd>
not that i gave any clues to that. but thats the one that came to mind rather than the actual show
Hanmac has quit [Ping timeout: 252 seconds]
<ddd>
You *are*.. The Weakest Link! Goodbye! Zzzt!
tt1187 has joined #ruby
<shevy>
hehe
<ddd>
talk about playing for keeps! sheesh!
<shevy>
I dont even know Dr. Who!
<ddd>
oh dude, I grew up on it
<shevy>
we have some BBC crap on cable tv
_bart has joined #ruby
<ddd>
When I was a kid, Dr. Who and Star Blazers were staples of my youth
<yoshie902a>
shevy: I've just been reading about singleton classes, what if you do a deep copy? Marshal.load( Marshal.dump(objecttocopy) ). I'm a bit lost on this, so could be totally wrong
psyl0n has quit [Remote host closed the connection]
<ddd>
along with WWF, Creature Feature Double Feature, and Kung Fu Theater
<shevy>
huh
<shevy>
I am a noob when it comes to Marshal
Lewix_ has joined #ruby
phasel has quit [Ping timeout: 248 seconds]
Lewix has quit [Read error: Connection reset by peer]
<ddd>
yoshie902a so, can you create more than 1 instance of Singleton class or no? One answer only please!
<shevy>
ddd I found WWF such a big drama show :P
<ddd>
shevy hehe Hacksaw Jim Duggin, Superfly Snooka! Of course it was a drama show!
Megtastique has quit []
<shevy>
well yoshie902a has a point... what if you have marshal data and try to create multiple singletons with it...
<ddd>
Rick 'The Dragon' Steamboat!
phasel has joined #ruby
<yoshie902a>
shevy: I've been reading about clone vs dup vs deep copy, please do not rely on my for anything accurate,
ambushsabre has joined #ruby
<ddd>
i don't tjhink you can. I think Ruby will limit you to one and only one
<ddd>
if it does allow it i think it will just remap over and over
<ddd>
so your last singleton definition will be the final winner
<shevy>
ddd I didn't watch it like for decades. I can only remember ... the undertaker... and the harts, that one blonde hart guy died somehow. dont know anything that happened afterwards
Megtastique has joined #ruby
<ddd>
yeah the harts were great. Aong with The British Bulldogs!
<ddd>
loved the bulldogs
siwica has joined #ruby
phipes has quit [Remote host closed the connection]
<shevy>
hehe
<shevy>
I think I remember these two as well
<itadder>
wow
<itadder>
thier so much ruby tutorial
<pontiki>
ddd: Blake's 7?
<itadder>
anyone here used thinkful.com, have you heard of that shevy
<ddd>
shevy It was brett hart that died. He was doing a stunt where he was supposed to drop from the rafters to the wrestling ring. Somehow his rigging came loose and he fell the entire way. killed him
<ddd>
well, he didn;t die right there, he later died at the hospital iirc
<ddd>
hmm, i wonder why when I open a bunch of chrome tabs my computer slows to a crawl. ok, I get I don't have a fast processor at 1.7GHz, but I have 8GB RAM and with an SSD for cache backing, it shoiuldn't be slowing me at all
<ddd>
starting to aggravate me. I wunder if its because I need to reboot every so often so linux can TRIM the drive or if that happens automatically
<ddd>
idrk how trimming works under linux
amclain has joined #ruby
<ddd>
makes debugging slower than sliding dog crap on a cold winter day
petey has joined #ruby
<pontiki>
i would expect RAM to be the biggest issue. 8G should def be enough
tectonic has joined #ruby
<yoshie902a>
noob101: There are a lot of classes you can take to learn to program. I think there are a lot of great online resources that are a much better value.
<pontiki>
unless you're opening 10,000 tabs at once with a lot of JS
<ddd>
yeah which suprises me with this behavior. I have 2GB free atm
<ddd>
no, usually like 15
<pontiki>
how many helpers do you end up with?
<ddd>
what do you mean?
Asher has quit [Quit: Leaving.]
<pontiki>
i know on my old box, with only 2G, i couldn't run chromium
<shevy>
itadder I have never heard of that before, and let me tell you again - the only way to really learn ruby is to write scripts
<pontiki>
chrome helpers
<ddd>
oh the chrome addons?
<ddd>
oh god, i've like 30
<pontiki>
not addons, chrome helper processes
ewnd9 has quit [Ping timeout: 272 seconds]
<itadder>
oh
<itadder>
I just wrong a simple script
<ddd>
ohhh
<ddd>
sorry
<itadder>
very simple
<pontiki>
there's one for each tab, and others
<ddd>
lemme count
<itadder>
but all this script does it get input and output
<benlieb>
I'm getting undefined method `assigns' for assigns(:person).should == user in rspec. Is this not available?
zeade has joined #ruby
tylersmith has joined #ruby
Mars has joined #ruby
Mars is now known as Guest26876
framling has quit [Quit: Lost terminal]
kirun has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
Guest26876 has quit [Remote host closed the connection]
Jetchisel has joined #ruby
deens has joined #ruby
vlad_starkov has joined #ruby
eka has quit [Ping timeout: 272 seconds]
Barrin6 has quit [Quit: Leaving]
BizarreCake has quit [Ping timeout: 252 seconds]
monkegjinni has joined #ruby
Morrolan has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Read error: Operation timed out]
Jake232 has joined #ruby
pushpak has joined #ruby
monkegjinni has quit [Remote host closed the connection]
BuSerD is now known as BuSerD_away
albertgrala has joined #ruby
Morrolan has joined #ruby
<ddd>
i've only seen 1 tutorial with assigns. i think thats part of rspec-rails not rspec though
fantazo has quit [Ping timeout: 260 seconds]
yoshie902a has left #ruby [#ruby]
Lewix_ has quit [Read error: Connection reset by peer]
phipes has joined #ruby
havenwood has quit [Remote host closed the connection]
Lewix has joined #ruby
deens has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eka has joined #ruby
DropsOfSerenity has joined #ruby
eka has quit [Client Quit]
Xeago has quit [Remote host closed the connection]
deens_ has joined #ruby
DropsOfSerenity has quit [Client Quit]
yfeldblum has quit [Read error: Connection reset by peer]
ctp has quit [Quit: Leaving...]
_tpavel has quit [Read error: Operation timed out]
MrZYX|off is now known as MrZYX
deens_ has quit [Remote host closed the connection]
lorelei_ has joined #ruby
lorelei_ has quit [Changing host]
lorelei_ has joined #ruby
guinslym_ has quit [Remote host closed the connection]
Megtastique has quit []
ferr has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
ugungur has joined #ruby
wallerdev has quit [Quit: wallerdev]
thenovices has joined #ruby
wallerdev has joined #ruby
tylersmith has quit [Remote host closed the connection]
falkn0r has quit [Ping timeout: 245 seconds]
Sid05 has quit [Ping timeout: 260 seconds]
rootshift has joined #ruby
nettoweb has joined #ruby
XxLocutusxX has joined #ruby
afhammad has joined #ruby
catphish has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
DouweM has joined #ruby
Bosox20051 has joined #ruby
reach has joined #ruby
petertretyakov has joined #ruby
thenovices has quit [Ping timeout: 272 seconds]
_mtr has joined #ruby
Wolland has quit [Remote host closed the connection]
ValicekB has quit [Ping timeout: 264 seconds]
browndawg has quit [Quit: Leaving.]
Megtastique has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
Azure has joined #ruby
benlieb has quit [Quit: benlieb]
araujo has quit [Remote host closed the connection]
thenovices has joined #ruby
claymore has joined #ruby
MrJoshua has joined #ruby
XxLocutusxX has quit [Quit: ZNC - #BlueHelp ZNC]
_aeris_ is now known as [_aeris_]
nettoweb has quit [Quit: nettoweb]
platzhirsch has quit [Ping timeout: 252 seconds]
matchaw has joined #ruby
Xeago has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
subbyyy__ has quit [Ping timeout: 252 seconds]
lkba has joined #ruby
meatherly has joined #ruby
afhammad has quit []
<Jason>
if i'm in a while loop, is there any way to have the code go back to the top of the loop?
Xeago has quit [Remote host closed the connection]
<Jason>
while true: x=gets.chomp; if x == "restart" goBackToGetsChomp; end
matchaw has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
<centrx>
Jason, keyword "next"
yfeldblum has joined #ruby
rootshift has quit [Quit: rootshift]
<catphish>
next if x == "restart"
<Jason>
ooh?
zeade has quit [Quit: Leaving.]
<catphish>
1) next does what you want 2) you can't use if in a single-line form for things like that
Megtastique has quit []
<Jason>
centrx: that's exactly what i wanted
<Jason>
err, catphish*
<Jason>
thanks.
pwh has joined #ruby
adambeynon_ is now known as adambeynon
<catphish>
centrx too :)
meatherly has quit [Ping timeout: 265 seconds]
_HolyCow1 has quit [Quit: Leaving.]
rootshift has joined #ruby
SCommette has joined #ruby
wald0 has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
yoshie902a has joined #ruby
_HolyCow has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
_HolyCow has quit [Read error: Connection reset by peer]
Mars has joined #ruby
matchaw has joined #ruby
Mars is now known as Guest63978
diegoviola has quit [Quit: WeeChat 0.4.2]
ambushsabre has quit [Quit: rip]
_HolyCow has joined #ruby
<popl>
When do you want to break from the loop?
platzhirsch has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
<popl>
Does Ruby have an event loop gem?
<bnagy>
eventmachine
<popl>
thanks bnagy
<bnagy>
or there are a couple of reactors that are lower level
mklappst_ has joined #ruby
<bnagy>
celluloid uses one, forgot the name though
<bnagy>
fair warning - I think EM is kind of waning in popularity these days
_mtr has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mercwithamouth has quit [Ping timeout: 272 seconds]
mklappstuhl has quit [Ping timeout: 252 seconds]
mercwithamouth has joined #ruby
_bart has quit []
sergicles has quit [Quit: sergicles]
Guest63978 has quit [Remote host closed the connection]
<popl>
Hah. 'reactor'. Original. ;)
<popl>
Why is EventMachine becoming less popular?
<centrx>
Is this a trick question?
<bnagy>
*shrug*
<bnagy>
it has always been confusing to use, and I think some of the good inner circle devs moved on
<popl>
centrx: Have you stopped beating your wife?
<centrx>
Nope. She deserves it
<popl>
:O
benzrf has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
mklappst_ has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
<popl>
bnagy: Is there one you prefer?
<Jason>
question: I've got a double array (like this: [[1, "hello"], [2, "hi"], [3, "howdy"]]). I want to know whether the array has "1" in the first, uh, column of any of those secondary arrays.
<bnagy>
popl: I quit that whole pattern
phipes has quit [Remote host closed the connection]
rootshift has quit [Quit: rootshift]
<popl>
bnagy: drastic
<bnagy>
I do distributed stuff more like DCell now ( except not with dcell )
benlieb has joined #ruby
<bnagy>
well callbacky reactors just become impossible to debug at some point
<bnagy>
reactors are a bit like regexes. They're fine to start simple, but suddenly you realise you went batshit insane at some point and never noticed
<bnagy>
so I just avoid them
wildroman2 has joined #ruby
araujo has quit [Client Quit]
ValicekB has joined #ruby
<bnagy>
yeah cool.io is what I was thinking of ( naked event loop )
benlieb has quit [Client Quit]
<popl>
When I learned about NFAs and DFAs in school I tried to make all my programs in terms of those. So maybe learning about reactors is sort of like that.
thesheff17 has quit [Read error: Operation timed out]
<platzhirsch>
well I didn't write the first paper about it, but there are definitions for these terms *shrug* ;) just sticking different semantics to it doesn't improve it
pehlert has joined #ruby
catphish has quit [Quit: Leaving]
Guedes has joined #ruby
Guedes has joined #ruby
<platzhirsch>
though there are clearly parallels
Guest35916 has quit [Client Quit]
Guedes has left #ruby [#ruby]
Vivekananda has joined #ruby
<bnagy>
so to speak
<benzrf>
hmm i just realized that ruby mixins are kinda like haskell typeclasses
<benzrf>
...
<benzrf>
a little
<benzrf>
in terms of use cases
ambushsabre has quit [Client Quit]
psyl0n has quit [Remote host closed the connection]
snkcld has joined #ruby
<benzrf>
hmm nvm
<benzrf>
lol
johnmilton has quit [Read error: Connection reset by peer]
<snkcld>
i have "def key= (val), but i want to override _all_ = methods on the object, not just for key
<benzrf>
snkcld: method_missing
<snkcld>
ah
<snkcld>
so would method_missing just turn into a big switch statement then?
<benzrf>
possibly
<benzrf>
wait hmm
<benzrf>
do you have a preset list of methods to create
<snkcld>
naw
<benzrf>
or do you want to intercept foo= in general
<snkcld>
not at all
<snkcld>
in general
<benzrf>
then why would that be a case?
<snkcld>
well, idk, just in case later i want to implement method_missing for something else, too
pehlert has quit [Ping timeout: 252 seconds]
<benzrf>
you could just dispatch it to another method
w4pm has joined #ruby
<benzrf>
i.e. 'return setter(name, args) if name.end_with? "="'
<snkcld>
how would i check for the '=' in method_missing?
<snkcld>
OH
<bnagy>
remember that you can just use ivars
<snkcld>
perfect
jayferd is now known as jayferd|afk
<snkcld>
because the method name would just ends with an equals sign
<benzrf>
oh hmm you might have to to_s the name
<bnagy>
which is like 50000 times easier to debug and doesn't have weird side effects
ValicekB has quit [Ping timeout: 272 seconds]
<snkcld>
gotcha
<snkcld>
@node.setProperty(key, val) if name.to_s.end_with? "="
<benzrf>
do you mean name, val
<snkcld>
err
senayar has quit [Remote host closed the connection]
<bnagy>
:<
robertrv has joined #ruby
<benzrf>
also camelCase < snake_case
<snkcld>
oh yea yea
<benzrf>
[in ruby]
<snkcld>
well, its a java api I'm bringing in to jruby
<bnagy>
what are you actually trying to do?
<snkcld>
github.com/karabijavad/cadet
<snkcld>
its a jruby framework for neo4j
<benzrf>
oh
<snkcld>
so, just like, makes it a lot easier to play with neo4j from jruby /shrug
<snkcld>
ill push up what I'm trying to do
araujo has joined #ruby
<rickruby>
is there a way to print out an object using the object_id instead of variable name? trying to implement a linked list in ruby
<benzrf>
there is a version for terminal.app 1 sec
MetaCosm has quit [Max SendQ exceeded]
<benzrf>
itadder: it comes as a pair of schemes that are like 90% the same except for the default fore/back colors
<benzrf>
itadder: so you can make it light or dark in day and night without it looking much different
<soahccc>
I just viewed a short vim tutorial and I lol'd about his attempts to make sense of every command and key binding
<itadder>
.vimrc:
<itadder>
line 1
<itadder>
oh erro detteced
MetaCosm has joined #ruby
lockweel has joined #ruby
popl has left #ruby [#ruby]
troyready has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 245 seconds]
chrisseaton has joined #ruby
<benzrf>
soahccc: if your primary criteria for judging a piece of software is how cool it looks, by all means do not use vim
claymore has quit [Quit: Leaving]
<benzrf>
itadder: do 'cat ~/.vimrc' in your shell
<benzrf>
itadder: what is the result?
IceDragon has joined #ruby
<chrisseaton>
Is there a way to call a method with an arbitrary receiver? Like #send, but that allows you to specify any receiver?
<bnagy>
that _is_ what send does
<benzrf>
chrisseaton: ...call send on the thing you want to send it to?
<bnagy>
arbitrary_receiver.send :blah
<soahccc>
my editor doesn't look good but it's functional. With "looks good" I mean things like line numbers, tabs, project tree, etc. My vim just has syntax highlighting and nothing else
<apeiros>
chrisseaton: um, send allows you to specify any receiver
<benzrf>
soahccc: vim has tabs by default
<itadder>
cat ~/.vimrc
<itadder>
syntax ony
<benzrf>
itadder: remove the yebyen
<benzrf>
*y
<benzrf>
;p
<benzrf>
itadder: it should be 'syntax on'
<chrisseaton>
apeiros: I mean take a method defined on class A, and call it with an instance of class B as the receiver
<apeiros>
not all rubies allow arbitrary receivers, though
petey has quit [Remote host closed the connection]
Fractional has quit [Ping timeout: 248 seconds]
<benzrf>
oh wait
mneorr has quit [Ping timeout: 272 seconds]
<benzrf>
it looks like mri 1.9 at least does not like this
<benzrf>
:|
<bnagy>
nor are all methods rebindable in ways that will work
petey has joined #ruby
<apeiros>
as of 2.0, it can be any receiver afaik
<benzrf>
soahccc: you can put config for line numbers in vimrc
<benzrf>
soahccc: tabs can be made with :tabnew
<soahccc>
benzrf: But to be honest. The biggest thing which holds me back from really trying to get into vim is that the general controls are complementarily to the rest of my computer.
<itadder>
ahh that works
<benzrf>
soahccc: you can get a tree with NERDTree but frankly ive never seen whats so great
<benzrf>
soahccc: so? that does not mean that they are bad
<shevy>
vim way or the highway, that is the question
komet has joined #ruby
<itadder>
vim or the highway is all I heard in college
<itadder>
from my professor for a unix class I took
emocakes has joined #ruby
<soahccc>
benzrf: Well if I would have something like Sublime's go to anything I wouldn't need a tree either :)
<itadder>
but this was 8 years ago
<itadder>
what is nerdtree
<benzrf>
soahccc: get ctrlP or command-t
<itadder>
what I liked about sublime is if I say have a string I can change all instant of the string with few keystrokes
<benzrf>
1 sec
<benzrf>
itadder: same in vim ;)
<chrisseaton>
aperios: it looks like that's explicitly not allowed in the 2.1 docs, nm, thanks though
komet is now known as yasha
CpuID has quit [Quit: Leaving]
<apeiros>
chrisseaton: tip: use tab-completion for nicknames
<apeiros>
less embarassing wrt typos :-p
<chrisseaton>
Is it possible to get a reference to the top-level self (also called main object) from somewhere other than the top level context?
yasha is now known as Guest23771
<apeiros>
chrisseaton: it provably works in 2.0 and 2.1
<benzrf>
soahccc: vim can do anything sublime can B)
<itadder>
what if I am at work benzrf and we use windows
<apeiros>
actually it works in 2.0, but no longer in 2.1
<benzrf>
there is vim for windows
<benzrf>
( ͡° ͜ʖ ͡°)
araujo has quit [Remote host closed the connection]
<soahccc>
benzrf: yeah but I have the feeling you first need to "build" your editor form hundreds of pieces before you can even start using it to actually develop
<shevy>
hehe
<benzrf>
that is totally untrue
rikki is now known as panser
<shevy>
soahccc what editor do you use?
<benzrf>
vanilla vim is extremely great
mneorr has joined #ruby
<benzrf>
you can customize it over time as you see things you need
<soahccc>
sublime primarily... Before that I used textmate which I still use sometimes
<shevy>
there are a lot of things you can customize in vim benzrf
<benzrf>
ootb it supports most things you would need
<benzrf>
there are a few plugins you may need to start with
<shevy>
and as the years pass by, there are more and more and more things that end up in vim-related config files
apeiros has quit [Remote host closed the connection]
<benzrf>
but you hardly need to spend days on itadder
<benzrf>
*it
glundgren has joined #ruby
glundgren is now known as guilund
<benzrf>
maybe an hour or two
<itadder>
so why do people pay sublime 70 dollars
<benzrf>
because they are suckers
apeiros has joined #ruby
<bnagy>
because sublime is better
<benzrf>
ok that is harsh
<benzrf>
bnagy: it totally isnt
<itadder>
so just by using VIM for long time you memroized it
panser is now known as panzer
<bnagy>
you can do stuff in ST after 2 weeks that would take you 25+ years of using vim
<shevy>
sublime is better than vim
monkegjinni has quit [Remote host closed the connection]
<bnagy>
in particular multiple selections
<waxjar>
i like that feature very much
<itadder>
yea I did like that feature
yoshie902a has quit [Quit: yoshie902a]
vlad_starkov has quit [Remote host closed the connection]
<itadder>
can you run rubby code from inside of vi
<itadder>
vim
<benzrf>
bnagy: so false
<bnagy>
and I say that as someone that actually has been using vim for 25 years
<benzrf>
itadder: yes
<benzrf>
bnagy: blargh
<benzrf>
bnagy: i just installed a multiple selections plugin earlier today
<benzrf>
it took about 3minutes
<benzrf>
what now
<benzrf>
modal editing is just amazing
<benzrf>
^fax
sergicles has joined #ruby
<soahccc>
itadder: You can do pretty much everything with vim because you can script it like you want it... other editors can do this too. The point is that you install plugins to "normal" editors to enhance functionality. With vim you need much more to get even started imho. And you have to learn controls like you never had used a computer
itadder_ has joined #ruby
<bnagy>
ST has modal editing
<shevy>
what is "multiple selections"?
<benzrf>
bnagy: well it is probably inferior >:I
<soahccc>
shevy: The outcome of multiple cursors
<bnagy>
anyway, whatever, use vim. I like vim. You can wank about how hardcore you are.
<benzrf>
soahccc: 'you need much more to get even started'?
<benzrf>
what do you mean by that
<benzrf>
bnagy: hardly
<benzrf>
bnagy: vim is not so hard
<benzrf>
people are just intimidated by it
<soahccc>
benzrf: what you call "you might need some scripts"
<shevy>
benzrf it takes significantly more specific knowledge to use vim
deens has joined #ruby
<itadder_>
half my unix class did nto pass the pop quiz on vi benzrf
prc has quit [Quit: Leaving.]
ValicekB has quit [Ping timeout: 252 seconds]
cashnguns has joined #ruby
<itadder_>
vim or vi been out longer in the world them st
<itadder_>
then
<waxjar>
what i dont like about vim (and to some extent the terminal in general) is that the normal text field key bindings for os x don't work or only partially work :p
<benzrf>
soahccc: all i meant was that you might want to install command-t for quick searching
<Nilium>
What goes on a pop quiz about vi?
<Nilium>
"How do you enter insert mode?"
<benzrf>
soahccc: i cant think of anything else you need ootb
<bnagy>
HELP I AM IN SOME HELP PAGE AND I HAVE BEEN HERE FOR AN HOUR
<benzrf>
soahccc: in general you can use counts with most commands
ambushsabre has joined #ruby
<itadder_>
oh wow vim will work with my ADHD brain
<shevy>
"I am the master of rm -rf */*/*/*/*/*/*/*WWW*"
<benzrf>
soahccc: i.e. 100ihello <esc>
<benzrf>
soahccc: results in
<Nilium>
Ah crap, forgot to take a vitamin D supplement today
<itadder_>
I think faster then I type
<benzrf>
'hello hello hello...'
<itadder_>
so I can create macros
<itadder_>
and it will fix typos
* Nilium
heads downstairs to grab one and hopes his legs don't break in the process
<shevy>
itadder_ I stopped thinking while and before typing
<itadder_>
how do you do that
<shevy>
the world is much more fun without thinking
<shevy>
I just randomly hit keys itadder_
<soahccc>
My hands sometimes type some lines and then I read what they have done
MindfulMonk has quit [Ping timeout: 272 seconds]
<shevy>
lol
<shevy>
and you are surprised by the result sometimes, right soahccc ?
<benzrf>
soahccc: vim has supremely great navigation
<shevy>
sometimes benzrf sounds like a cars salesman
<soahccc>
shevy: yeah I call this unconscious programming
<shevy>
zombie coding!
<benzrf>
soahccc: f/t/w/e/b///?/n
<itadder_>
how much have vim coders paid you
<itadder_>
LOL
<shevy>
is this perl benzrf
Mike98632 has left #ruby [#ruby]
<benzrf>
bram moolenaar does not own me!!
mlpinit has quit [Ping timeout: 245 seconds]
<shevy>
can't be perl
<benzrf>
itadder_: i am just young and excitable
<shevy>
it is uglier
<Nilium>
shevy's mindless typing reminds me of the weird sleepless reading I did in university
<benzrf>
itadder_: i tend to evangelize things i like to an annoying extend
<benzrf>
:DDDDD
<benzrf>
SPEAKING OF WHICH HAVE I MENTIONED HASKELL IN THE LAST FIVE MINUTES
<shevy>
benzrf do you like haskell
<Nilium>
Where I'd be reading something and get tired and my brain would start rewriting the sentences into nonsense
<shevy>
benzrf is vim better than haskell?
<benzrf>
Nilium: everybody does that
<benzrf>
shevy: cannot compute
<Nilium>
I don't care about the spiders in your mouth benzrf
<Nilium>
Make sure they keep their distance and everyone will be happy
workmad3 has quit [Ping timeout: 245 seconds]
yoshie902a has left #ruby [#ruby]
Wolland has joined #ruby
<shevy>
Nilium german grammar and english grammar often aren't quite equal, and the words are often very different too (I mean like you have more words to express certain things in english than you have in german); then after a while, my english really worsens significantly and it is no longer recognizable english. just like what Hanmac types
pi_ has quit [Quit: Lost terminal]
<benzrf>
shevy: you are german ?
<shevy>
right Hanmac2!
<shevy>
benzrf, nope, austrian
<Nilium>
.. That was an elaborate burn.
<benzrf>
ah
<benzrf>
i thought your writing style seemed vaguely ESL
<shevy>
I am just lazy
<Nilium>
I have a degree in English.
Jetchisel has joined #ruby
<shevy>
I idled on IRC for almost 20 years
<shevy>
it's like a neverending nightmare here
<shevy>
people come people go...
* benzrf
wakes up
<benzrf>
oh god i had the most horrible Dreamer3
<benzrf>
*dream
m00nlight_ has quit [Quit: Konversation terminated!]
<benzrf>
there was this guy named shevy
<shevy>
lol
<shevy>
you did it again benzrf
<shevy>
:)
<shevy>
Hi Dreamer3
<shevy>
benzrf do it again! this is so funny when it happens
itadder_ has quit [Remote host closed the connection]
<shevy>
we could booby trap you with different words for wrongful completions
<benzrf>
i refuse tommyblue
<benzrf>
*to
<shevy>
haha
<shevy>
"New release of Self programming language"
<benzrf>
people use that??
Wolland has quit [Ping timeout: 245 seconds]
albertgrala has quit [Quit: Leaving]
phipes has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf>
hello phipes
<phipes>
benzrf: hi
lockweel has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
zxd has joined #ruby
<shevy>
benzrf not sure
<shevy>
benzrf but I think it inspired creation of Io
<shevy>
so someone must have used it once
sassamo has joined #ruby
<benzrf>
hah
Sid05 has joined #ruby
<benzrf>
self is basically smalltalk but prototype-based
<benzrf>
or so im told
meatherly has joined #ruby
petey has joined #ruby
<shevy>
what is the big difference
<benzrf>
prototypes are cooler
<benzrf>
than classes
<shevy>
yes
<shevy>
but still
<shevy>
what is the killer feature
<benzrf>
no classes
<benzrf>
only prototypes
spider-mario has quit [Remote host closed the connection]
zxd has quit [Ping timeout: 248 seconds]
<shevy>
benzrf, you are young
<shevy>
can you learn self
<shevy>
then tell me if it is worth learning?
<benzrf>
no thx
<shevy>
:(
meatherly has quit [Ping timeout: 246 seconds]
Wolland has joined #ruby
<shevy>
matz said we should learn one new programming language a year
<benzrf>
i think i am doing better than that
senayar has quit []
<benzrf>
ish
<benzrf>
python then haskell then ruby in the last 2-2.5 years