<nettoweb>
havenwood: i don't found a solution in that link…
northelks_ has quit [Quit: ...]
<bricker>
Why does this throw a syntax error? It has to do with the * but I don't know why this doesn't work: ADAPTERS.each { |a| added << *a.constantize.sync }
apeiros has joined #ruby
<havenwood>
nettoweb: :)
cj3kim has quit [Remote host closed the connection]
<bricker>
Actually I guess it makes sense
<nettoweb>
havenwood: is there a solution?
<bricker>
I'm trying to avoid using "flatten"
<nettoweb>
havenwood: I'm facing this probrem about 5 hours today
<nettoweb>
it's difficult
Zeeraw has quit [Quit: Computer has gone to sleep.]
tommyvyo has joined #ruby
<fridim_>
I discovered begin ... rescue ... retry if ... end <3
chson has joined #ruby
unstable has joined #ruby
<bricker>
oh wait... I am dumb
unstable has left #ruby [#ruby]
Eaven has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 248 seconds]
<havenwood>
bricker: Decided to use `added + a.con...`?
<nettoweb>
havenwood:
<bricker>
havenwood: yeah... I forgot how to array ;(
apeiros has quit [Ping timeout: 260 seconds]
<bricker>
havenwood: only for a second though
<havenwood>
bricker: hehe
ravster has left #ruby [#ruby]
<havenwood>
nettoweb: class String; def fix_eet; ::Iconv.conv('UTF-8//IGNORE', 'UTF-8', self << ' ')[0..-2] end end
slainer68 has joined #ruby
<havenwood>
nettoweb: Curious, try that ^, like: 'offending string'.fix_eet
TheMoonMaster has quit [Excess Flood]
starscreamer has quit [Remote host closed the connection]
<havenwood>
nettoweb: Or maybe look further at Iconv.
arya_ has quit [Ping timeout: 246 seconds]
SeanTAllen has quit []
<nettoweb>
can be @q = Iconv.conv('UTF-8//IGNORE', 'UTF-8', params[:q]) || "" ?
TheMoonMaster has joined #ruby
timkohru_ has quit [Remote host closed the connection]
arya_ has joined #ruby
phipes has quit [Quit: phipes]
<havenwood>
nettoweb: I never used 1.8. My Iconv-fu is nonexistent.
<havenwood>
I started with 1.9.2. :)
<nettoweb>
I put this: @q = Iconv.conv('UTF-8//IGNORE', 'UTF-8', params[:q] << '')[0..-2] || ""
<nettoweb>
gest%E3o+vendas -> # gesto venda
justsee has quit [Ping timeout: 264 seconds]
jacktrick has joined #ruby
k-man_ is now known as k-man
<nettoweb>
havenwood: there's a problemas, my accent was removed
ericboehs has joined #ruby
Meatant has joined #ruby
nhhagen_ has joined #ruby
slainer68 has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 260 seconds]
bradhe has quit [Remote host closed the connection]
vNistelr00t has joined #ruby
jimg has joined #ruby
<vNistelr00t>
hi folks
bradhe has joined #ruby
tommyvyo has quit [Quit:]
yshh has quit [Remote host closed the connection]
nhhagen_ has quit [Remote host closed the connection]
<vNistelr00t>
could anyone share some links about learning ruby on rails, bootstrap and so on ? I´ve googled a bit around, but i´m sure people here have good links, thank you in advance
wmoxam has joined #ruby
nhhagen_ has joined #ruby
MarcWebe1 is now known as MarcWeber
<Spooner>
vNistelr00t, Ask in #rubyonrails
khismetix has quit [Ping timeout: 248 seconds]
headius has quit [Quit: headius]
<vNistelr00t>
hey Spooner, thank you
arubin has joined #ruby
<havenwood>
vNistelr00t: Do learn Ruby though. :P
dfedde has joined #ruby
<zastern>
Another silly question - with something like this - Net::HTTP.post_form(uri, 'q' => 'ruby', 'max' => '50') - what does the 'q' => 'foo' represent exactly?
<havenwood>
nettoweb: I dunno how you'd keep the accent.
arya_ has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 264 seconds]
<nettoweb>
havenwood: fixing that, it's all worked
jonahR has quit [Quit: jonahR]
<havenwood>
nettoweb: :)
<zastern>
havenwood: right so when I try to use it, e.g. like this - Net::HTTP.post_form('http://someuri.com/', 'key' => 'foo',) I always get undefined method `request_uri' for "http://someuri.com/":String
<nettoweb>
havenwood: can you try a solution too?
<havenwood>
zastern: I'd recommend using a wrapper around Net::HTTP, like HTTParty or Faraday, rather than using it itself.
chipotle_ has joined #ruby
<zastern>
havenwood: yeah but I want to understand how it works :)
<havenwood>
zastern: ahh
daniel_- has quit [Read error: Operation timed out]
zastern has quit [Remote host closed the connection]
takezawa has quit [Remote host closed the connection]
jacktrick has quit [Quit: Leaving]
takezawa has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
<TJNII>
I have a list of items, which I need to print with a delimiter like item1,item2,item3,item2. (In a Puppet ERB template, if it matters) Is there a more-ruby centric way than iterating over the list with something like if count < (max - 1) print "," end?
arya_ has joined #ruby
donkonstante has quit [Ping timeout: 264 seconds]
donkonstante_ is now known as donkonstante
<TJNII>
(Consider that last bit pseudocode, please. :) )
DrShoggoth has quit [Ping timeout: 252 seconds]
Eaven has joined #ruby
kil0byte has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 260 seconds]
pen has joined #ruby
slash_nick has quit [Ping timeout: 246 seconds]
tomsthumb has quit [Quit: Leaving.]
ioNull has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby
marcgg has quit [Read error: No route to host]
Davey has joined #ruby
marcgg has joined #ruby
Eaven has quit [Remote host closed the connection]
arya_ has joined #ruby
JZTech101 has quit [Ping timeout: 256 seconds]
dfedde has quit [Ping timeout: 264 seconds]
chandankumar has joined #ruby
jonathanwallace has joined #ruby
Spaceghost|work has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
chichou has quit [Remote host closed the connection]
krainboltgreene has quit [Quit: krainboltgreene]
tomivs has joined #ruby
atyz has joined #ruby
Cow has joined #ruby
pipework has quit [Ping timeout: 248 seconds]
<tomivs>
LOOOOOOOOOOOOOOOOOOOL
tomsthumb has joined #ruby
<tomivs>
say --> without quotes "cowlol My programmer <3"
tjbiddle_ has joined #ruby
centr0 has joined #ruby
atyz has quit [Read error: Connection reset by peer]
<tomivs>
cowlol My programmer <3
<Cow>
------------------
<Cow>
| My programmer <3 |
<Cow>
------------------
<Cow>
\ (_)
<Cow>
\ _
<Cow>
\ ^__^ / \
<Cow>
\ (oo)\_____/_\ \
<Cow>
(__)\ ) /
<Cow>
||----w ((
<Cow>
|| ||>>
ericboehs has quit [Read error: Connection reset by peer]
nhhagen_ has joined #ruby
<tomivs>
cowlol My programmer <3
<Cow>
------------------
<Cow>
| My programmer <3 |
<Cow>
------------------
<Cow>
\ (_)
Cow has quit [Killed (idoru (Spam is off topic on freenode.))]
<Cow>
\ _
tomivs has quit [K-Lined]
tjbiddle has quit [Ping timeout: 240 seconds]
tjbiddle_ is now known as tjbiddle
takeru has joined #ruby
ericmathison has joined #ruby
nari has quit [Ping timeout: 246 seconds]
jurbat has joined #ruby
ttt has joined #ruby
bigkm has joined #ruby
nhhagen_ has quit [Ping timeout: 240 seconds]
snearch has quit [Quit: Verlassend]
viszu has quit [Ping timeout: 264 seconds]
Caius has quit [Ping timeout: 252 seconds]
kobain_ has joined #ruby
fierycatnet has joined #ruby
DrShoggoth has joined #ruby
kobain has quit [Ping timeout: 246 seconds]
xkickflip has joined #ruby
Michae___ has quit [Remote host closed the connection]
tjbiddle_ has joined #ruby
spoonman has quit [Quit: WeeChat 0.4.0]
jonathanwallace has quit [Quit: WeeChat 0.4.0]
ioNull has joined #ruby
ffranz has quit [Quit: Leaving]
johnrlive has joined #ruby
jonathanwallace has joined #ruby
tjbiddle has quit [Ping timeout: 260 seconds]
tjbiddle_ is now known as tjbiddle
osvico has quit [Ping timeout: 260 seconds]
Domon has joined #ruby
xkickflip has quit [Client Quit]
harrymoreno_ has joined #ruby
xkickflip has joined #ruby
harrymoreno has quit [Ping timeout: 256 seconds]
Caius has joined #ruby
InFlames has joined #ruby
harrymoreno_ is now known as harrymoreno
stkowski has quit [Quit: stkowski]
lyanchih has quit [Quit: lyanchih]
Guga_ has quit [Remote host closed the connection]
Guga_ has joined #ruby
harrymoreno has quit [Ping timeout: 248 seconds]
steven_is_false has joined #ruby
Michael__ has joined #ruby
Michael__ has quit [Remote host closed the connection]
hogeo has quit [Read error: Connection reset by peer]
hogeo_ has joined #ruby
harrymoreno has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
arya_ has joined #ruby
johnmason has joined #ruby
benweint has joined #ruby
<johnmason>
Hi! I'm doing a school project on Ruby. Is there a list of big users of Ruby anywhere? I have in my mind Twitter and GitHub, but is there something up to date?
viszu has joined #ruby
benweint has quit [Client Quit]
germanstudent has quit [Remote host closed the connection]
germanstudent has joined #ruby
vlad_starkov has joined #ruby
johnrlive has quit [Read error: Connection reset by peer]
johnrlive has joined #ruby
graydot has quit [Quit: graydot]
arya_ has quit [Ping timeout: 248 seconds]
eka has quit [Quit: Computer has gone to sleep.]
ericmathison has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby
steven_is_false has quit [Remote host closed the connection]
Domon has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
Domon has joined #ruby
mahmoudimus has quit [Client Quit]
zeade has joined #ruby
<n_blownapart>
bnagy: seitensei I missed those comments you still on?
Naeblis has joined #ruby
<n_blownapart>
Well I was told to stick with one language and learn it inside and out. seitensei. I don't know how to program. been struggling with it and intermittently been dropping the ball.
<Inside>
nah
<Inside>
inside and out?
<Inside>
impossible
<Inside>
learn a language to do something useful
<Inside>
it's stupid to know a language inside and out if you're never goign to use those features for anything other than self-gratuitous masturbation (ie: C++'s template metaprogramming stuff)
<n_blownapart>
Inside I'm trying to get a job gotta start somewhere. What is wrong with just learn one oop language quite well? I don't get it.
<n_blownapart>
learning*
bionhart has quit [Remote host closed the connection]
thesheff17 has joined #ruby
<Inside>
jobs want people with results, not with theory
ARCADIVS has quit [Quit: WeeChat 0.3.8]
<n_blownapart>
no capiche
mumblerit has quit [Remote host closed the connection]
Asher has joined #ruby
<Inside>
program something
<n_blownapart>
inside ^^ So don't learn an oop language from books?
<Inside>
start with a goal of making something, then learn enough to get there.
<nightfly>
this^
<Inside>
like right now at work I talked my boss into letting my write a UI for comparing our engineering drawings
<Inside>
I'm learning ruby & QT and then some SQL to compare it against our accounting database
kofno has joined #ruby
postmodern has quit [Quit: Leaving]
<Inside>
the goal in the future is to move into learning ROR so I can fix our stupid excel-based parts database
Asher has quit [Client Quit]
freakazoid0223 has quit [Ping timeout: 264 seconds]
jeka-91 has joined #ruby
chrishough has joined #ruby
<n_blownapart>
I get that often thanks Inside... cool I work in a Geology dept. but I'm not a geologist. I enjoy studying Ruby just out of a book for lack of knowing how to approach an actual problem.
mxweas has joined #ruby
Asher has joined #ruby
bigmac has joined #ruby
Shirakawasuna has quit [Ping timeout: 248 seconds]
takeru has joined #ruby
Asher has quit [Client Quit]
<Inside>
geology, eh?
quest88 has joined #ruby
<Inside>
so.. I'm sure there's data invoved
<Inside>
find a way to do something interesting with that data
eldariof has joined #ruby
bigmac is now known as i8igmac
Michael__ has joined #ruby
Guest11611 has quit [Remote host closed the connection]
<n_blownapart>
Inside actually no I'm the field coordinator I work outdoors.
mmlac-bv has quit [Quit: mmlac-bv]
thesheff17 has quit [Ping timeout: 240 seconds]
<Inside>
so a website to help you all coordinate better
<n_blownapart>
cool thanks Inside. still, I've gone through one book, the well grounded rubyist. should I not look at algorithms? they're in pseudo code so it would be tough but it seems appealing.
<Inside>
look only at things that you need
<Inside>
there's so much in programming that you can spend your entire life just learning the theory
dmiller has quit [Remote host closed the connection]
<n_blownapart>
good call Inside I need to ponder that.
bigkm has joined #ruby
takezawa has joined #ruby
dmiller has joined #ruby
<Inside>
I mean if you have a sort() function
<Inside>
it's nice to know how a sorting algorithm works (and you'll find that there are dozens of them!)
<Inside>
but on the surface all you need to know is that sort() will sort your data for you
Michael__ has quit [Ping timeout: 248 seconds]
<Inside>
you can live happily never knowing the difference between a merge sort and a bubble sort
lewis has joined #ruby
freeayu__ has quit [Ping timeout: 260 seconds]
obs has joined #ruby
<n_blownapart>
got it Inside thanks
harrymoreno has quit [Ping timeout: 246 seconds]
nomenkun has joined #ruby
harrymoreno_ has joined #ruby
dfedde has joined #ruby
tonini has joined #ruby
jonahR has joined #ruby
vlad_starkov has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
bigkm has quit [Quit: Computer has gone to sleep.]
tonini has quit [Client Quit]
bigkm has joined #ruby
mukesh_ has joined #ruby
InFlames has joined #ruby
harrymoreno_ has quit [Ping timeout: 248 seconds]
sr78ger has joined #ruby
kofno has quit [Ping timeout: 245 seconds]
tonini has joined #ruby
<n_blownapart>
but Inside for someone not too tech savvy wouldn't learning algorithms in one language well be a good start, especially with all the jobs in the scientific sphere nowadays? people keep telling me to learn Python.
<Inside>
algorithms are algorithms
<Inside>
code is just syntax sugar to make them work
<Inside>
python's a good general purpose language
<Inside>
it has lots of libraries -- especially lots for scientific work
vlad_starkov has quit [Ping timeout: 260 seconds]
<mukesh_>
is there any other way than using global variables to access some data across multiple instances of a class?
<n_blownapart>
ok Inside. comments well-appreciated.
harrymoreno has joined #ruby
macmartine has joined #ruby
ivanoats has quit [Remote host closed the connection]
dross_ is now known as dross
manutter has quit [Read error: Connection reset by peer]
manutter has joined #ruby
Beoran has joined #ruby
<mukesh_>
what i have is a situation where i have a list of online and offline users, and when someone logs in an instance of this class is created, and i want to add this user to the list
krawchyk has quit [Remote host closed the connection]
moos3 has quit [Read error: Connection reset by peer]
slash_nick has quit [Ping timeout: 248 seconds]
Zeeraw has joined #ruby
harrymoreno has quit [Ping timeout: 240 seconds]
bionhart has quit [Remote host closed the connection]
fphilipe has quit [Remote host closed the connection]
harrymoreno has joined #ruby
fphilipe has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
hamakn has quit [Remote host closed the connection]
ccooke_ is now known as ccooke
hamakn has joined #ruby
Takehiro has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
sean_ has joined #ruby
<sean_>
does anyone here know anything about ruby?
<sean_>
I mean about super
freeayu has joined #ruby
<sean_>
super as is used in inheritance
fphilipe has quit [Ping timeout: 260 seconds]
<tobiasvl_>
sean_: sure, but just ask your question and people will answer if they know the answer
ezkl has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
dr_bob has joined #ruby
<sean_>
tobiasvl_: nevermind, I just found it on stack overflow
Shirakawasuna has joined #ruby
<sean_>
maybe I should ask it anyway to see if anyone knows it
freeayu has joined #ruby
<sean_>
does anyone know how to call a grandparent's method
gregorg_taf has quit [Changing host]
gregorg_taf has joined #ruby
gregorg_taf is now known as gregorg
icco has joined #ruby
vlad_starkov has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
freeayu has joined #ruby
arietis has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
takeru_ has quit [Remote host closed the connection]
basicsss has joined #ruby
aspiers has joined #ruby
threesome has quit [Ping timeout: 252 seconds]
arietis has quit [Client Quit]
<basicsss>
--> agularjs is a framework for developing web apps, and rails is also a web framework so you just use one? im new, thanks very much
<basicsss>
dont you*
seitensei has quit [Quit: Leaving...]
<tobiasvl_>
sean_: sure, but don't do it
fphilipe has joined #ruby
<bnagy>
sean_: hopefully super can't do that :)
<sean_>
rails is more of a backend
<bnagy>
without checking, but I'm assuming so
<sean_>
server framework
carcajou is now known as Veejay
<canton7>
basicsss, yeah pick your favourite web framework. there's also sinatra, camping, and more
<bnagy>
I'd just find the method itself by walking the iheritance tree and call it directly
<tobiasvl_>
bnagy: i doubt super can do it, but i'm sure it can be done with superclass somehow. but yeah. it shouldn't be done
<sean_>
angular.js is MVC used for building dynamic frontends
northelks has quit [Ping timeout: 264 seconds]
<sean_>
why not
<sean_>
?
freeayu has quit [Read error: Connection reset by peer]
nomenkun_ has quit [Remote host closed the connection]
<basicsss>
so sean and canton's answers conflict
<basicsss>
someone please clear it up
<sean_>
why wouldn't someone want to call a grandparents method
cHarNe2 has joined #ruby
<canton7>
ah yeah, agular is a javascript framwork, so that's used to structure client-side in-browser programming
<bnagy>
sean_: it's a violation of the OO model
freeayu has joined #ruby
<sean_>
no way!
<sean_>
here's an example
<bnagy>
so if you're going to violate it you may as well make it nice and clear that you're doing something bizarre
<sean_>
I have a class called animal
mikepack has quit [Remote host closed the connection]
aqil has joined #ruby
aqil has quit [Remote host closed the connection]
<sean_>
a class called bird
<sean_>
and a class called penguin
<bnagy>
sigh
freeayu has quit [Read error: Connection reset by peer]
aqil has joined #ruby
<sean_>
animal has a method called move
tonini has joined #ruby
<sean_>
and penguin and bird both inherit from it
freeayu has joined #ruby
jimeh_ has joined #ruby
<sean_>
but penguin's superclass is bird
aqil has quit [Remote host closed the connection]
<sean_>
but birds and move differently from penguins
<bnagy>
you're killing me, man
<sean_>
so it would need the method from animal
<bnagy>
no, it wouldn't
<sean_>
okay not practical
<bnagy>
you should design your object model properly
<sean_>
I'm sure there's a reason why you'd need a grandparent's methods
<bnagy>
like having Flight as a mixin or whatever the hell
<basicsss>
so that means if you dont use wordpress etc. there is ALOT of work/know-hows to building a simple website besides html/css/js/jquery
<sean_>
mixins confuse things
<bnagy>
but if penguin < bird < aninmal, penguin never calls directly into animal
<sean_>
I find mixins a heavy complexity
<basicsss>
since you have to learn rails AND angularjs
<bnagy>
that is How Inheritance Works
<canton7>
sean_, that's a very broad statement, and implies a lack of understanding rather than a lack of suitability
sideshowcoder has quit [Ping timeout: 260 seconds]
<canton7>
basicsss, you can build websites without frameworks
<canton7>
in fact, it's normally recommended that you first build without frameworks, so you appreciate where the frameworks can help you
<basicsss>
oh yes ofc... so the frameworks are just for scalibity and advance features mainly, yes?
bionhart has joined #ruby
skattyadz has joined #ruby
<sean_>
well OO was built for the sake of reducing complexity
<bnagy>
I thought rails was for the opposite of scalability ;)
<sean_>
mixins mix everything up and are almost he equivalent of multiple inheritance
<canton7>
it's like... after building a few websites from scratch, you're going to realise you need to write a router each time, and a validation library, and an email library, and you're going to develop some form of proper structure
<canton7>
so you'll build up a library, etc
Macaveli has quit [Read error: Connection reset by peer]
pyrac has joined #ruby
<sean_>
BTW, here's how you call a grandparents method: GrandParent.instance_method(:fun).bind(self).call
<canton7>
frameworks basically provide comprehensive, better-tested versions of the libraries you're going to be writing yourself
<sean_>
where :fun is the method name
<basicsss>
canton7: ok so it sounds like ti's mainly for advance or reusable features adn that's the purpose of rails framework at least
<canton7>
if I ever saw code that did that, I'd throw it away
<basicsss>
canton7: ok great so libraries with my elementary knowledge are basically reusable codebases so yes ok
thebastl has joined #ruby
kiri has quit [Quit: Leaving]
<bnagy>
sean_: you don't need to bind it, unless it needs locally scoped stuff - you might just be able to call it directly
<canton7>
basicsss, once you know rails, you can build a website extremely quickly. until you know rails, it's going to be slow going
<bnagy>
sean_: but the fact that it's so awful is a good hint that you're doing something Bad
<sean_>
bnagy: as in create a new instance and call the method directly?
<canton7>
basicsss, if you're just starting out, i'd recomment sinatra for ruby and jquery (not a framework, but does make life easier) for javascript
zmo_ has joined #ruby
osvico has quit [Ping timeout: 246 seconds]
<bnagy>
plus, you refer to the GrandParent - normally a class doesn't actually know that
<bnagy>
so you'd need to mess about finding out
<sean_>
awful looking maybe, but maybe super should work twice, ie super.super
<bnagy>
yeah no
<tobiasvl_>
sean_: superclass works twice though.
ckrailo has quit [Quit: Computer has gone to sleep.]
<tobiasvl_>
self.class.superclass.superclass
<bnagy>
because that encourages people to write dumb code
<basicsss>
canton7: ofc you can build a simple site with just html, it'll be ugly. so then im wondering if you learn only rail, would you also need html/css/js (i just know basics of html/css)
sideshowcoder has joined #ruby
<canton7>
basicsss, ruby is for server-side programming. so you can make your websites interactive, use databases, templates, you name it
<sean_>
self.class.superclass.superclass.instance_method(:method_name).bind(self).call awful looking. someone should add super.super to ruby's codebase
Senjai has quit [Ping timeout: 256 seconds]
moos3 has joined #ruby
<canton7>
of course you'll need html and css - they're the content and presentation that's sent to the browser (by ruby, if you like). you can't avoid those
<basicsss>
sean_: and would angularjs just be an easier way for reusable or advance features similiar to what rail does?
<canton7>
and you'll want some javascript if you want things to happen in the browser without having to refresh the whole page each time
<bnagy>
sean_: they really shouldn't
jprovazn has joined #ruby
<canton7>
sean_, no. it's a bad idea. you're doing it wrong (tm)
<sean_>
no, angularjs is nothing like rails. Rails is for building backends, Angular is used for frontends
timonv has joined #ruby
<sean_>
Everybody in here's against me
<canton7>
basicsss, since you're at this very early stage, why not forget about frameworks for now? write a few web apps without. then you'll understand
<canton7>
sean_, there's a reason for that
dhruvasagar has joined #ruby
Naeblis|XChat has joined #ruby
<basicsss>
OK IT GOT IT -- you dont actually need any backends, just that it makes things easier by connecting components together, and angular just makes the frontends easier in the same way rails does, with librarires, templates, e tc.
<sean_>
maybe I'll fork my own version of ruby. ruby 3.0 and see how many people will join me. It'll be a revolution.
Naeblis|XChat has quit [Read error: Connection reset by peer]
<canton7>
basicsss, not quite true. you need a backend if, say, you want to have a 'contact me' form...
<sean_>
you'd need a backend for a website that stores data
<canton7>
you need some logic on the server that can handle sending that email
<basicsss>
canton7: liek wordpress, tumblr, got it!
aspiers has quit [Ping timeout: 264 seconds]
chandankumar has quit [Quit: Leaving]
<canton7>
ish. it's more "like php, ruby, etc"
<sean_>
well okay. I was only joking. it's a bad idea. fine.
<basicsss>
canton7: im tryigng to say that those cms takes care of the backend problem, and i read from quora, and it's basicallly that rails is a framework, and those are programming languges
freeayu has quit [Read error: Connection reset by peer]
<canton7>
sean_, what really bugs me about 'learn oop' books is that the inheritance examples are so rubbish. no-one uses a whole tree of classes to represent a car. you're not going to have a zoo-ful of animals that have that much in common.
* Hanmac
designed his game-maker with backend and frontend too (and even with server component)
freeayu has joined #ruby
<tobiasvl_>
basicsss: no, sinatra is a framework. you can use it to build a CMS if you want
<canton7>
basicsss, no. a cms is a content management system. it does a lot for you, including providing forms to edit your pages using your browser
<canton7>
sinatra is a dsl for making websites - it's not even a framework really
<sean_>
basicsss: screencasts are alot really good for all the super basic stuff
<canton7>
sean_, at the most, you'll have a penguin that implements the interfaces IBird and IAnimal, by holding instances of various things. it might inherit from AnimalBase. that's about it
<basicsss>
its one of the highest # of reviews but it's kinda outdated to me
<canton7>
ruby doesn't have interfaces, so those will be implicit
<basicsss>
i know this is a rails irc but you know whats the best book for html5/css3
takezawa has joined #ruby
<basicsss>
because i need a good foundation in html5/css3/javascript
<basicsss>
sean_: can you link to one of the best ones, im not sure if i've ran across them
Speed has joined #ruby
<sean_>
basicsss: peepcode is really really good. it cost money though
<lupine>
(i.e., you get do_query when you mixin AWS, it's not a singleton method on AWS)
uxp_ has joined #ruby
<forgot>
ij: actually it installed successfully, just something wrong with rdoc, i'm ok with that. ty
danslo has joined #ruby
filipe__ has joined #ruby
Mch1 has joined #ruby
drfreeze has joined #ruby
jlebrech has joined #ruby
gyre007 has joined #ruby
monkegjinni has quit [Remote host closed the connection]
harrymoreno has quit [Ping timeout: 248 seconds]
linduxed_ has joined #ruby
harrymoreno has joined #ruby
lschmidt has joined #ruby
gasbakid has quit [Ping timeout: 260 seconds]
nomadic_ has joined #ruby
fbernier_ has joined #ruby
mosheee has joined #ruby
elektronaut_ has joined #ruby
gasbakid has joined #ruby
vereteran has joined #ruby
gkunno_ has joined #ruby
jfelchner has quit [*.net *.split]
jayne has quit [*.net *.split]
camt has quit [*.net *.split]
three18ti has quit [*.net *.split]
allanm_ has quit [*.net *.split]
Mchl has quit [*.net *.split]
robwilliamsuk has quit [*.net *.split]
thomas` has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
naquad has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
joelteon has quit [*.net *.split]
drfreeze_ has quit [*.net *.split]
alex88 has quit [*.net *.split]
__main__ has quit [*.net *.split]
fbernier has quit [*.net *.split]
elektronaut has quit [*.net *.split]
uxp has quit [*.net *.split]
nyuszika7h has quit [*.net *.split]
gkunno has quit [*.net *.split]
nomadic has quit [*.net *.split]
Gnubie has quit [*.net *.split]
Boohbah has quit [*.net *.split]
sindork has quit [*.net *.split]
DanKnox_away has quit [*.net *.split]
xybre has quit [*.net *.split]
sirecote has quit [*.net *.split]
wuest has quit [*.net *.split]
tr4656 has quit [*.net *.split]
taec has quit [*.net *.split]
jso has quit [*.net *.split]
jcarouth has quit [*.net *.split]
moshee has quit [*.net *.split]
marcellu1 has quit [*.net *.split]
linduxed has quit [*.net *.split]
BeanDip_ has quit [*.net *.split]
Stelian1 has quit [*.net *.split]
matrixise has quit [*.net *.split]
Schmidt has quit [*.net *.split]
ttt_ has quit [*.net *.split]
matti has quit [*.net *.split]
ChristianS has quit [*.net *.split]
nhhagen has quit [*.net *.split]
mnaser has quit [*.net *.split]
huttan_ has quit [*.net *.split]
JumpMast3r has quit [*.net *.split]
rgrinberg has quit [*.net *.split]
paissad_ has quit [*.net *.split]
xargoon has quit [*.net *.split]
deavid has quit [*.net *.split]
adkron has quit [*.net *.split]
JoeHazzers has quit [*.net *.split]
bjeanes has quit [*.net *.split]
marwinism has quit [*.net *.split]
ij has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
Mch1 is now known as Mchl
elektronaut_ is now known as elektronaut
jmeeuwen_ is now known as jmeeuwen
havenwood has quit [Remote host closed the connection]
Criztian has joined #ruby
jayne_ has joined #ruby
ttt_ has joined #ruby
matti has joined #ruby
wuest has joined #ruby
camt has joined #ruby
nhhagen has joined #ruby
mnaser has joined #ruby
JumpMast3r has joined #ruby
ChristianS has joined #ruby
rgrinberg has joined #ruby
huttan_ has joined #ruby
paissad_ has joined #ruby
xargoon has joined #ruby
adkron has joined #ruby
deavid has joined #ruby
bjeanes has joined #ruby
JoeHazzers has joined #ruby
three18ti has joined #ruby
ij has joined #ruby
robwilliamsuk has joined #ruby
marwinism has joined #ruby
nemesit|znc has joined #ruby
bigkevmcd has joined #ruby
thomas` has joined #ruby
joelteon has joined #ruby
__main__ has joined #ruby
alex88 has joined #ruby
Boohbah has joined #ruby
Gnubie has joined #ruby
jcarouth has joined #ruby
sindork has joined #ruby
DanKnox_away has joined #ruby
xybre has joined #ruby
taec has joined #ruby
Stelian1 has joined #ruby
sirecote has joined #ruby
jso has joined #ruby
tr4656 has joined #ruby
marcellu1 has joined #ruby
matrixise has joined #ruby
BeanDip_ has joined #ruby
pkrzywicki has quit [Excess Flood]
kreantos has quit [Excess Flood]
nyuszika7h has joined #ruby
Azulinho has joined #ruby
three18ti has quit [Max SendQ exceeded]
jfelchner has joined #ruby
three18ti has joined #ruby
harrymoreno has quit [Ping timeout: 258 seconds]
harrymoreno has joined #ruby
kreantos has joined #ruby
pkrzywicki has joined #ruby
pi3r has joined #ruby
nhhagen has quit [Ping timeout: 276 seconds]
nhhagen has joined #ruby
mikewintermute has joined #ruby
zmo_ has quit [Quit: Leaving]
dash_ has quit [Quit: Time to beer :)]
ctp_ has joined #ruby
hoyang has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
persand has quit [Quit: persand]
monkegjinni has joined #ruby
tvw has joined #ruby
ctp has quit [Ping timeout: 240 seconds]
h8R has joined #ruby
BeLucid has joined #ruby
sayan has quit [Ping timeout: 264 seconds]
eccstartup has quit [Ping timeout: 245 seconds]
nari has quit [Ping timeout: 245 seconds]
daniel_- has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
<Veejay>
Hello everyone, if I need to turn a nested hash into an OpenStruct, should I code it by hand or is there some special magic flag that does it?
jayne_ is now known as jayne
northelks_ has quit [Quit: ...]
tk__ has joined #ruby
<joonty>
Veejay: nested OpenStruct's or OpenStruct with hash properties?
altamic has joined #ruby
altamic has left #ruby [#ruby]
timonv has quit [Ping timeout: 240 seconds]
jurbat has quit [Quit: Computer has gone to sleep.]
<Veejay>
Basically it goes recursive and turns hashes into properties
skattyadz has joined #ruby
mikewintermute has joined #ruby
kil0byte_ has joined #ruby
<Veejay>
{:foo => {:bar => 32, :quux => [{:domain => "foo", :tld => ".com"}, {:domain => "bar", :tld = ".net"}]} would turn into an OpenStruct os where
<Veejay>
os.foo.bar => 32 and os.foo.quux would return the array of hashes
mikewintermute has quit [Client Quit]
Zeeraw has quit [Quit: Computer has gone to sleep.]
Neomex has joined #ruby
<Veejay>
And I guess os.foo would return an OpenStruct as well
kil0byte has quit [Ping timeout: 240 seconds]
schlunz has joined #ruby
Neomex has quit [Client Quit]
<Veejay>
There's no way to specify "recursive" in OpenStruct::new
cHarNe2 has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
reset has quit [Ping timeout: 264 seconds]
mklappstuhl has quit [Remote host closed the connection]
Inside has joined #ruby
mklappstuhl has joined #ruby
Hanmac2 has quit [Quit: Leaving.]
Hanmac1 has joined #ruby
jonahR has joined #ruby
hoyang has quit [Quit: 离开]
chrishough has quit [Quit: chrishough]
jonahR has quit [Client Quit]
mklappstuhl has quit [Ping timeout: 248 seconds]
<joonty>
Veejay: yeh I think you'd have to do that yourself
<Elico>
tobiasvl: I wrote this script:http://www1.ngtech.co.il/paste/1002/ and I want to bind the ping to specific IP\interface but I dont know how.
tundrax has quit [Ping timeout: 240 seconds]
sailias has joined #ruby
dr_bob has quit [Quit: Leaving.]
cj3kim has joined #ruby
<joonty>
Elico: sounds like you want Net::Ping::TCP
<Elico>
hmm OK and there is a way to bind specific IP?or specific interface?
<joonty>
do you mean that you want to ping with a given IP address?
ferdev has quit [Quit: ferdev]
dr_bob has joined #ruby
<Elico>
yes. I have an interface which is specific routed throw one ISP2 and another throw ISP1 so I want to test ping using specific interface with IP 192.168.2.100
Ortuna has quit [Quit: Computer has gone to sleep.]
<joonty>
yeh you can do Net::Ping::Tcp.new("192.168.2.100")
camilasan has quit [Remote host closed the connection]
<joonty>
then call ping
<Elico>
that simple ???
harrymoreno has quit [Ping timeout: 246 seconds]
machuga has quit [Excess Flood]
vlad_starkov has quit [Remote host closed the connection]
<joonty>
hehe welcome to ruby
slainer68 has quit [Read error: Connection reset by peer]
addisaden has quit [Ping timeout: 248 seconds]
bagliore has joined #ruby
camilasan has joined #ruby
<Elico>
joonty: I am not new to ruby but the api dosn't state it..
slainer68 has joined #ruby
<joonty>
Elico: ah I see
slainer68 has quit [Remote host closed the connection]
harrymoreno has joined #ruby
bagliore has left #ruby [#ruby]
tundrax_ has quit [Remote host closed the connection]
<joonty>
Elico: I read it from the code, but I'm not entirely sure it works
machuga has joined #ruby
<Elico>
this is why we have CHAT ..
<Elico>
I will try it..
<Elico>
I upgraded to ruby 2.0.0.p195 and hope to get more.
<bnagy>
looks like you've got some half and half going on
<aMoniker>
bnagy: ok, how do I fix that?
DaniG2k has quit [Quit: Leaving.]
<aMoniker>
I don't see any other directories under Ruby/Gems/
<aMoniker>
only 1.8
bubblehead has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<bnagy>
how did you install ruby 1.9?
iMe has joined #ruby
<aMoniker>
bnagy: rvm
<bnagy>
hahah
<bnagy>
poor you
vlad_starkov has joined #ruby
<aMoniker>
poor ruby community
<aMoniker>
rvm is no good?
<bnagy>
some people like it
dr_bob has quit [Quit: Leaving.]
devoldmx3 has quit [Read error: Connection reset by peer]
<bnagy>
ime when it breaks it BREAKS though
<aMoniker>
bnagy: ok, so how do I fix it?
slainer68 has joined #ruby
<bnagy>
personally, I'd rip it all out, and install via rbenv or chruby from source in my ~
<bnagy>
but that could be the booze talking
cofin has joined #ruby
<bnagy>
... it's totally what I'd do though
aspiers has quit [Quit: WeeChat 0.4.1]
mikewintermute has joined #ruby
<aMoniker>
that sounds like it would take too much time for now
aspiers has joined #ruby
<bnagy>
the #rvm channel is pretty helpful
<aMoniker>
will try there
<bnagy>
or #bundler if it's a weird bundler issue
<aMoniker>
bnagy: ok, thanks
<bnagy>
no worries
danslo has joined #ruby
harrymoreno has quit [Ping timeout: 240 seconds]
babinho_ is now known as babinho
harrymoreno has joined #ruby
BSaboia has joined #ruby
<aMoniker>
Wait, isn't that 1.8 the version of rubygems, and not ruby?
poikon has quit [Remote host closed the connection]
<bnagy>
1.9 installs will have blah/1.9/gems/blah
jfelchner has quit [*.net *.split]
camt has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
__main__ has quit [*.net *.split]
joelteon has quit [*.net *.split]
Boohbah has quit [*.net *.split]
Gnubie has quit [*.net *.split]
DanKnox_away has quit [*.net *.split]
sindork has quit [*.net *.split]
xybre has quit [*.net *.split]
taec has quit [*.net *.split]
jcarouth has quit [*.net *.split]
marcellu1 has quit [*.net *.split]
BeanDip_ has quit [*.net *.split]
matrixise has quit [*.net *.split]
Stelian1 has quit [*.net *.split]
ttt_ has quit [*.net *.split]
wuest has quit [*.net *.split]
jayne has quit [*.net *.split]
ChristianS has quit [*.net *.split]
matti has quit [*.net *.split]
JumpMast3r has quit [*.net *.split]
rgrinberg has quit [*.net *.split]
huttan_ has quit [*.net *.split]
paissad_ has quit [*.net *.split]
xargoon has quit [*.net *.split]
deavid has quit [*.net *.split]
adkron has quit [*.net *.split]
bjeanes has quit [*.net *.split]
JoeHazzers has quit [*.net *.split]
marwinism has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
ij has quit [*.net *.split]
skasio_ has joined #ruby
wmoxam has joined #ruby
skasio_ has quit [Client Quit]
pothibo has quit [Quit: pothibo]
Kedare has joined #ruby
mklappst_ has joined #ruby
harrymoreno has quit [Ping timeout: 264 seconds]
skasio_ has joined #ruby
Kedare is now known as Guest56873
tommyvyo has joined #ruby
razi has quit [Quit: Leaving.]
skasio has quit [Quit: leaving]
mklappstuhl has quit [Read error: Connection reset by peer]
skasio_ has quit [Client Quit]
cj3kim has quit [Ping timeout: 264 seconds]
wuest has joined #ruby
jayne has joined #ruby
matti has joined #ruby
ttt_ has joined #ruby
camt has joined #ruby
huttan_ has joined #ruby
xargoon has joined #ruby
paissad_ has joined #ruby
ChristianS has joined #ruby
rgrinberg has joined #ruby
marwinism has joined #ruby
xybre has joined #ruby
taec has joined #ruby
Boohbah has joined #ruby
DanKnox_away has joined #ruby
marcellu1 has joined #ruby
JoeHazzers has joined #ruby
adkron has joined #ruby
jcarouth has joined #ruby
Stelian1 has joined #ruby
ij has joined #ruby
sindork has joined #ruby
nemesit|znc has joined #ruby
matrixise has joined #ruby
JumpMast3r has joined #ruby
BeanDip_ has joined #ruby
bigkevmcd has joined #ruby
Gnubie has joined #ruby
deavid has joined #ruby
bjeanes has joined #ruby
joelteon has joined #ruby
jamesaxl has quit [Excess Flood]
harrymoreno has joined #ruby
skasio has joined #ruby
GeissT_ has quit [Quit: MillBroChat AdIRC User]
K3dar3 has quit [Ping timeout: 248 seconds]
jfelchner has joined #ruby
__main__ has joined #ruby
kreantos has quit [Excess Flood]
thomas` has joined #ruby
jamesaxl has joined #ruby
wmoxam has quit [Ping timeout: 255 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
<fearoffish>
If I wanted to put someone on a Ruby course, that is in-house. What would you guys suggest?
devoldmx has joined #ruby
mljsimone|bnc is now known as mljsimone
kreantos has joined #ruby
lemonsparrow has joined #ruby
<fearoffish>
Normally I'd give him the right material to read and off he goes, but this particular guy would be better off with a person teaching him
harrymoreno has quit [Ping timeout: 260 seconds]
devoldmx has quit [Read error: Connection reset by peer]
tommyvyo has quit [Quit:]
robbyoconnor has quit [Ping timeout: 248 seconds]
devoldmx has joined #ruby
burlyscudd has joined #ruby
harrymoreno has joined #ruby
<fearoffish>
I was thinking about the pragmatic studio course, as a backup
<fearoffish>
it's online but a video series
<fearoffish>
I'm not sure if he'd do well with the code academy one
cm_is has joined #ruby
Trynemjoel has joined #ruby
osvico has joined #ruby
GeissT has joined #ruby
DrCode has quit [Remote host closed the connection]
dr_bob has joined #ruby
ntus1017 has quit [Remote host closed the connection]
DrCode has joined #ruby
Corey has quit [Read error: Operation timed out]
bubbajoness has quit [Read error: Operation timed out]
busybox42 has quit [Read error: Operation timed out]
kofno has joined #ruby
kil0byte has joined #ruby
angusiguess has joined #ruby
Alina-malina has quit [Ping timeout: 256 seconds]
ferdev has joined #ruby
busybox42 has joined #ruby
pipework has joined #ruby
bubbajones has joined #ruby
Corey has joined #ruby
kil0byte has quit [Remote host closed the connection]
DestinyAwaits has joined #ruby
Alina-malina has joined #ruby
srji has quit [Ping timeout: 248 seconds]
krz has quit [Quit: krz]
arya has joined #ruby
bubblehead has quit [Read error: Connection reset by peer]
TradeRaider has joined #ruby
harrymoreno has quit [Ping timeout: 246 seconds]
bubblehead has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 245 seconds]
Lubinski has joined #ruby
harrymoreno has joined #ruby
wallerdev has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
TradeRaider has quit [Ping timeout: 250 seconds]
mikewintermute has quit [Quit: mikewintermute]
dhruvasagar has joined #ruby
Nuck has quit [Ping timeout: 248 seconds]
krawchyk has joined #ruby
vlad_starkov has joined #ruby
arya has quit [Ping timeout: 248 seconds]
TradeRaider has joined #ruby
sailias has joined #ruby
TradeRaider is now known as TradeRaider2
Nuck has joined #ruby
WhereIsMySpoon has quit [Changing host]
WhereIsMySpoon has joined #ruby
<TradeRaider2>
Hello. In rails, if I want to use an instance variable in application.html.erb, where should I declare it? ie, in which controller?
<tobiasvl>
#rubyonrails
autumn has quit [Ping timeout: 256 seconds]
autumn has joined #ruby
crazymykl has quit [Remote host closed the connection]
cheese1756 has quit [Ping timeout: 256 seconds]
thoraxe has quit [Ping timeout: 256 seconds]
crazymykl has joined #ruby
etank has quit [Ping timeout: 256 seconds]
d_roge has quit [Ping timeout: 240 seconds]
<TradeRaider2>
tobiasvl: Do you know if they have a moderator page/website? I am currently banned there, and I don't recall even logging in #rubyonrails before.
<tobiasvl>
what?
<tobiasvl>
who?
krawchyk has quit [Remote host closed the connection]
<tobiasvl>
what's a moderator page/website
RubNoob has joined #ruby
<hoelzro>
I'm guessing they only allow registered nicks to talk there
mikewintermute has joined #ruby
SegFaultAX has quit [Ping timeout: 240 seconds]
arusso has quit [Ping timeout: 240 seconds]
<TradeRaider2>
tobiasvl: I am banned in #rubyonrails Is there someway I can contact their admin?
thoraxe has joined #ruby
<tobiasvl>
i don't know anything about Rails (which is why I told you to go there) or #RubyOnRails
jerius has joined #ruby
<tobiasvl>
these two channels aren't much related
<TradeRaider2>
hoelzro: I tried earlier with a registered nick. I am still banned.
arya has joined #ruby
<hoelzro>
curious
LiquidInsect has quit [Ping timeout: 246 seconds]
<TradeRaider2>
tobiasvl: ok
<r0bgleeson>
TradeRaider2: you should define it in application_controller is a before_filter
<r0bgleeson>
TradeRaider2: everything that uses the application layout depends on it
ShapeShifter499 has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
srji has joined #ruby
casheew_ has quit [Ping timeout: 252 seconds]
sumark has quit [Ping timeout: 256 seconds]
Debaser has quit [Read error: Operation timed out]
LiquidInsect has joined #ruby
<TradeRaider2>
r0bgleeson: Thanks. before_filter huh. Will check on that.
Alina-malina has quit [Quit: Leaving]
<r0bgleeson>
TradeRaider2: it is a callback before control is passed over to your action, you can set state there that will be available to the layout & views.
orien has quit [Quit: Computer has gone to sleep.]
sumark has joined #ruby
cofin has quit [Quit: cofin]
<TradeRaider2>
robustus: Thanks a lot!
etank has joined #ruby
RubNoob has quit [Client Quit]
cmarques has quit [Ping timeout: 264 seconds]
BSaboia has quit [Ping timeout: 248 seconds]
tockitj has joined #ruby
cheese1756 has joined #ruby
<burlyscudd>
anyone in here ever used the bitset gem or something like it for creating bitsets in Ruby?
pipework has quit [Remote host closed the connection]
passcod has quit [Ping timeout: 256 seconds]
echevemaster has quit [Ping timeout: 256 seconds]
_cheney4 has quit [Ping timeout: 256 seconds]
steeve1 has quit [Ping timeout: 256 seconds]
krawchyk has joined #ruby
dysinger has quit [Quit: dysinger]
plantigrade has quit [Ping timeout: 252 seconds]
Elfix has quit [Ping timeout: 252 seconds]
carloslopes has joined #ruby
predator217 has quit [Ping timeout: 256 seconds]
predator117 has joined #ruby
harrymoreno_ has joined #ruby
Elfix has joined #ruby
Hobogrammer_ has joined #ruby
emdub_ has quit [Ping timeout: 246 seconds]
brunoro has joined #ruby
krislappy has joined #ruby
krislappy has quit [Changing host]
krislappy has joined #ruby
bitZero__ has quit [Ping timeout: 246 seconds]
Debaser has joined #ruby
aces1up has joined #ruby
interactionjaxsn has joined #ruby
Azulinho_ has joined #ruby
fumbe has quit [Ping timeout: 256 seconds]
<TradeRaider2>
r0bgleeson: found it and it works! and I think I thanked the wrong guy earlier while that was meant for you. :)
ArchBeOS has quit [Ping timeout: 241 seconds]
fumbe has joined #ruby
toddWork_ has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
ArchBeOS has joined #ruby
emdub has joined #ruby
_cheney4 has joined #ruby
steeve1 has joined #ruby
manutter has quit [Read error: Connection reset by peer]
splittingred has joined #ruby
harrymoreno has quit [Ping timeout: 260 seconds]
harrymoreno_ is now known as harrymoreno
<bnagy>
burlyscudd: no, never heard of it
plantigrade has joined #ruby
manutter has joined #ruby
Hobogrammer has quit [Ping timeout: 256 seconds]
<bnagy>
I have used bitvector, which I think is also old and bitarray which is new but pure ruby
lkba has joined #ruby
<bnagy>
so it depends what you want it for
bothra_ has joined #ruby
cpyfvw has joined #ruby
ariedler has joined #ruby
[m]adman has joined #ruby
jdripper has joined #ruby
passcod has joined #ruby
pyrac has quit [Quit: pyrac]
<burlyscudd>
bnagy: there are 65535 ports on a TCP host. I want to represent all of them as either open or not open, and a bitset is the best way to have that data compact.
interactionjaxsn has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 240 seconds]
SegFaultAX has joined #ruby
arusso_znc has joined #ruby
Davey_ has joined #ruby
<bnagy>
sounds like an assertion to me :)
moshee has joined #ruby
arusso- has joined #ruby
krawchyk_ has joined #ruby
dhruvasagar has joined #ruby
<aMoniker>
So I see gems in /Library/Ruby/Gems, in ~/.gem/ruby/1.9.1/cache, and in ~/.rvm/gems/ruby-1.9.2-p230/gems
<aMoniker>
wtf?
filipe__ has quit [Ping timeout: 264 seconds]
<aMoniker>
I just did "gem install veewee" and it seems like it was installed into the second directory
<aMoniker>
running veewee produces "Could not locate GemFile"
interactionjaxsn has joined #ruby
v0n has joined #ruby
Niamkik_ has joined #ruby
asuka has quit [Ping timeout: 252 seconds]
emdub has quit [Ping timeout: 246 seconds]
asuka has joined #ruby
<burlyscudd>
aMoniker: stop using OSX Ruby
emdub has joined #ruby
jerius_ has joined #ruby
<burlyscudd>
aMoniker: echo $GEM_HOME
<bnagy>
burlyscudd: there are a ton of ways of compressing sets of ints
bricker`1A has joined #ruby
<aMoniker>
burlyscudd: yes, I'm thoroughly unimpressed with ruby so far
<bnagy>
burlyscudd: if you don't want to operate on them as a bitvector eg | ^ then it's unlikely to be the best approach
krawchyk has quit [Ping timeout: 264 seconds]
<bnagy>
like, even just expressing the ports as a number is only 9KB
Al___ has joined #ruby
WhereIsMySpoon_ has joined #ruby
Mendon has joined #ruby
<burlyscudd>
aMoniker: install RVM properly, install Ruby 2 or 1.9.3, go to town
tk___ has joined #ruby
<aMoniker>
burlyscudd: I've installed rvm, and I'm running 1.9.2
<burlyscudd>
aMoniker: Gemfile is a bundler thing — if you're using something that expects a Gemfile, you need bundler installed
<aMoniker>
burlyscudd: bundler is installed as well
krisfremen has quit [Remote host closed the connection]
Azulinho has quit [Ping timeout: 260 seconds]
aces1up23 has quit [Ping timeout: 260 seconds]
bitZero_1 has joined #ruby
bothra13 has quit [Ping timeout: 243 seconds]
Davey has quit [Ping timeout: 278 seconds]
<burlyscudd>
bnagy: fair point
devoldmx3 has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
<bnagy>
burlyscudd: I get good results out of compression lvl 4 in that paste, which is 'make a binary string and then pack as 'w*'
palyer has joined #ruby
<bnagy>
esp if your maxint is 65k
nari_ has joined #ruby
<bnagy>
some of the more exotic stuff is for set that go up to 2**64
thomasfedb has quit [Ping timeout: 246 seconds]
arusso_znc has quit [Ping timeout: 242 seconds]
mosheee has quit [Ping timeout: 242 seconds]
danslo has quit [Quit: danslo]
codecop has quit [Remote host closed the connection]
krawchyk_ has quit [Remote host closed the connection]
wmoxam has joined #ruby
Guest46725 has quit [Ping timeout: 246 seconds]
vNistelr10t has joined #ruby
fumduq has joined #ruby
<burlyscudd>
bnagy: hrmmm maybe I need to think through this a bit more. I was basically just thinking "Well if I need to represent the on/off state of 65535 things, I could do it in a bitset"
krawchyk has joined #ruby
<burlyscudd>
bnagy: but I admit, not much more sophisticated than that
dnyy_ has joined #ruby
<bnagy>
well you definitely can
<bnagy>
but also a bitstring
guilleiguaran__ has joined #ruby
<burlyscudd>
bnagy: yeah but then I have to turn around and make DB objects defining the ranges
<bnagy>
even uncompressed it's only 65k
<bnagy>
and they compress really well :P
alo1_ has joined #ruby
thomasfedb has joined #ruby
vNistelr00t has quit [Ping timeout: 256 seconds]
mephux_ has joined #ruby
queequeg2 has joined #ruby
<burlyscudd>
looking for ranges — so like if 1000-1012 are open, I'll make a Range object in the DB, so that my reports guy can report on it
<burlyscudd>
(where Range here is a biz logic model)
rwz__ has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
cjk101010_ has joined #ruby
carcajou has joined #ruby
<burlyscudd>
so basic idea was to make a bitset and look for runs of ones
seoaqua has quit [Ping timeout: 264 seconds]
swex_ has joined #ruby
<bnagy>
creating ranges from sets is also interesting
bakedb has joined #ruby
<bnagy>
kinda
<bnagy>
you could use flip flops, but don't
<burlyscudd>
yeah I usually avoid those in general
bitZero__ has joined #ruby
<bnagy>
anyway my steak is done, sorry :P
maloik_ has joined #ruby
<burlyscudd>
lol
mksm has joined #ruby
jgarvey has joined #ruby
bw__ has joined #ruby
phreax_ has joined #ruby
<burlyscudd>
bnagy: it's morning in Texas :-p
epitron_ has joined #ruby
kalleth_ has joined #ruby
mosez_ has joined #ruby
yo61_ has joined #ruby
<bnagy>
I guess my basic point is that adding a dependency to avoid dealing with a 64KB string that's easy to handle might not be a plan
firebury_ has joined #ruby
Freijo has joined #ruby
eliasp_ has joined #ruby
farn_ has joined #ruby
soukihei_ has joined #ruby
theoros_ has joined #ruby
TheSpect1e has joined #ruby
Roa has joined #ruby
<bnagy>
but IRL, open ports are better just done as a Hash
z_ has joined #ruby
<bnagy>
cause there are never that many
bubblehe_ has joined #ruby
alem0lars has joined #ruby
Koven has joined #ruby
<burlyscudd>
bnagy: lol
rtl_ is now known as rtl
<burlyscudd>
bnagy: my exp says that is frequently not true
deception has joined #ruby
<burlyscudd>
bnagy: higher ranges usually have runs of thousands open
<bnagy>
yeah but not compared to 65k
nyuszika7h has quit [Excess Flood]
<bnagy>
and a hash of (0..65535) with the open ports pointing to true is pretty memory efficient
<burlyscudd>
bnagy: the thing I'm writing is a test for external data egress capability on a given network — you have to have the entire range reported
Astral__ has quit [Ping timeout: 245 seconds]
<burlyscudd>
bnagy: again, fair point — might be over thinking this w/ the bitset idea
<burlyscudd>
bnagy: I think i'll try it w/ a hash and see where I get
CaptainKnots has joined #ruby
filipe__ has joined #ruby
it_tard has joined #ruby
rudisimo has joined #ruby
<burlyscudd>
bnagy: also — is there some easy way w/ ruby to be like "hey interpreter, how much memory does this object consume?"
ArchBeOS has quit [Quit: Leaving]
busybox43 has joined #ruby
<burlyscudd>
bnagy: I think there has to be one, but I'm drawing a blank
wormwood_ has joined #ruby
TomRone_ has joined #ruby
prakriti has joined #ruby
error404_ has joined #ruby
Niamkik has quit [Read error: Connection reset by peer]
bricker`LA has quit [Ping timeout: 260 seconds]
thejefflarson__ has quit [Ping timeout: 260 seconds]
kiri has quit [Ping timeout: 261 seconds]
niceguyjames has quit [Write error: Connection reset by peer]
dr_neek has quit [Write error: Connection reset by peer]
byprdct has quit [Ping timeout: 265 seconds]
WhereIsMySpoon has quit [Ping timeout: 265 seconds]
bitZero_1 has quit [Ping timeout: 261 seconds]
dr_neek_ is now known as dr_neek
CaptainKnots has quit [Client Quit]
v0n has quit [Quit: WeeChat 0.4.1]
vNistelr10t has quit [Quit: leaving]
rudisimo has quit [Client Quit]
drfreeze has joined #ruby
CaptainKnots has joined #ruby
Hanmac2 has joined #ruby
rudisimo has joined #ruby
fearoffish_ has joined #ruby
billy_ran_away_ has joined #ruby
hash has joined #ruby
v0n has joined #ruby
fridim__ has joined #ruby
thejefflarson___ is now known as thejefflarson__
<bnagy>
you could look at ObjectSpace
geekbri has joined #ruby
banjara1 has joined #ruby
homelinen_ has joined #ruby
<bnagy>
but really only jruby has real heap size control
jarin has quit [*.net *.split]
soukihei has quit [*.net *.split]
Vert has quit [*.net *.split]
Veejay has quit [*.net *.split]
fumduq- has quit [*.net *.split]
wormwood has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
tomku has quit [*.net *.split]
Fraeon has quit [*.net *.split]
Kov|abx has quit [*.net *.split]
drastic has quit [*.net *.split]
yo61 has quit [*.net *.split]
estating56 has quit [*.net *.split]
ned has quit [*.net *.split]
guilleiguaran_ has quit [*.net *.split]
Roa_ has quit [*.net *.split]
awwaiid_ has quit [*.net *.split]
z has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
Lemtzas has quit [*.net *.split]
alexwh has quit [*.net *.split]
Soliah has quit [*.net *.split]
rwz_ has quit [*.net *.split]
epitron has quit [*.net *.split]
dnyy has quit [*.net *.split]
TomRone has quit [*.net *.split]
lushious has quit [*.net *.split]
kaichanvong has quit [*.net *.split]
niftylettuce has quit [*.net *.split]
phreax has quit [*.net *.split]
Guedes has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
error404 has quit [*.net *.split]
homelinen has quit [*.net *.split]
QKO has quit [*.net *.split]
TMM has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
jsaak has quit [*.net *.split]
darrik has quit [*.net *.split]
perun0 has quit [*.net *.split]
codex has quit [*.net *.split]
firebury has quit [*.net *.split]
eliasp has quit [*.net *.split]
TheSpectre has quit [*.net *.split]
bsdbandit has quit [*.net *.split]
mosez has quit [*.net *.split]
palyboy has quit [*.net *.split]
bw_ has quit [*.net *.split]
t_hash has quit [*.net *.split]
alo1 has quit [*.net *.split]
maddog_ has quit [*.net *.split]
Jelco___ has quit [*.net *.split]
maloik has quit [*.net *.split]
yourway_chu has quit [*.net *.split]
jtperreault has quit [*.net *.split]
bakedb_ has quit [*.net *.split]
Sargun has quit [*.net *.split]
fearoffish has quit [*.net *.split]
coreinfo99 has quit [*.net *.split]
Mendon has quit [*.net *.split]
Cork has quit [*.net *.split]
epochwolf has quit [*.net *.split]
heidar has quit [*.net *.split]
mrmist has quit [*.net *.split]
brian`_ has quit [*.net *.split]
classix has quit [*.net *.split]
cout_ has quit [*.net *.split]
yxhuvud2 has quit [*.net *.split]
Hanmac has quit [*.net *.split]
farn has quit [*.net *.split]
lsmola has quit [*.net *.split]
telling has quit [*.net *.split]
choobie has quit [*.net *.split]
cafk has quit [*.net *.split]
crodas has quit [*.net *.split]
afd__ has quit [*.net *.split]
NimeshNeema has quit [*.net *.split]
lupine has quit [*.net *.split]
DrCode has quit [*.net *.split]
LucidDreamZzZz has quit [*.net *.split]
end_guy has quit [*.net *.split]
Bry8Star{T2 has quit [*.net *.split]
fearoffish_ is now known as fearoffish
homelinen_ is now known as homelinen
<burlyscudd>
bnagy: gotcha
drastic has joined #ruby
Sargun has joined #ruby
<bnagy>
like you could count instances of whatever via ObjectSpace, but it's kinda icky
Soliah has joined #ruby
ned has joined #ruby
<burlyscudd>
bnagy: yeah no worries
ryannielson has quit [Write error: Broken pipe]
snearch has joined #ruby
brunoro has quit [Ping timeout: 253 seconds]
busybox42 has quit [Ping timeout: 253 seconds]
<bnagy>
egress capability is.. um.. tricky
ryannielson has joined #ruby
codex has joined #ruby
<burlyscudd>
bnagy: yup
bionhart has joined #ruby
ArchBeOS has joined #ruby
<bnagy>
cause *:80 is a lot
QKO has joined #ruby
cHarNe2_ has joined #ruby
<Spooner>
burlyscudd, Might as well use Set (which is just a wrapper around Hash that sets true for you).
Al__ has quit [Ping timeout: 261 seconds]
TradeRaider2 has quit [Quit: Page closed]
<burlyscudd>
Spooner: good tip — thanks!
estating56 has joined #ruby
<bnagy>
that stuff I gisted is all extensions to Set, btw
<burlyscudd>
bnagy: more about which ports are open and can therefore have a TCP connection established over them
Jelco___ has joined #ruby
<burlyscudd>
bnagy: less about testing DLPs or something like that
<bnagy>
it's just for when the data is at rest
<burlyscudd>
bnagy: this is to answer the question: on what ports can SYN packets leave the network?
rwz__ is now known as rwz_
<bnagy>
uh
alexwh has joined #ruby
<bnagy>
you mean _to_ what ports surely
harrymoreno has quit [Ping timeout: 260 seconds]
banister`shop has joined #ruby
rudisimo has quit [Client Quit]
machuga is now known as machuga|away
<burlyscudd>
bnagy: lol yeah just using vernacular
<banister`shop>
forgot: what features do you want most from ipython?
sayan_ has joined #ruby
bw__ is now known as bw_
rudisimo has joined #ruby
jarin has joined #ruby
bitZero_1 has joined #ruby
tk__ has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 260 seconds]
jerius has quit [Ping timeout: 265 seconds]
terrellt has quit [Ping timeout: 259 seconds]
banjara has quit [Max SendQ exceeded]
persand has quit [Ping timeout: 252 seconds]
taqutor has quit [Ping timeout: 260 seconds]
ferdev has quit [Read error: Connection reset by peer]
charliesome has quit [Ping timeout: 260 seconds]
wwwq has quit [Ping timeout: 260 seconds]
swex has quit [Ping timeout: 267 seconds]
ElderFain has quit [Read error: Connection reset by peer]
bitZero_1 has quit [Ping timeout: 261 seconds]
CaptainK1ots has quit [Ping timeout: 261 seconds]
Naeblis has quit [Ping timeout: 261 seconds]
Guest92883 has quit [Ping timeout: 257 seconds]
mikewintermute has quit [Ping timeout: 263 seconds]
r0bgleeson has quit [Ping timeout: 263 seconds]
fridim_ has quit [Ping timeout: 263 seconds]
jlebrech has quit [Ping timeout: 263 seconds]
theoros has quit [Ping timeout: 263 seconds]
kalleth has quit [Write error: Broken pipe]
bubblehead has quit [Ping timeout: 260 seconds]
cHarNe2 has quit [Ping timeout: 260 seconds]
chase-work has quit [Ping timeout: 260 seconds]
eka has quit [Ping timeout: 260 seconds]
chichouw has quit [Ping timeout: 260 seconds]
jacobw has quit [Ping timeout: 260 seconds]
ElderFain has joined #ruby
sayan has quit [Ping timeout: 254 seconds]
`MArceLL` has quit [Ping timeout: 254 seconds]
QKO_ has joined #ruby
DrShoggoth has quit [Ping timeout: 259 seconds]
billy_ran_away has quit [Ping timeout: 259 seconds]
Mekkis has quit [Ping timeout: 259 seconds]
admin0 has quit [Ping timeout: 260 seconds]
Repentinus has quit [Ping timeout: 260 seconds]
maddog__ has joined #ruby
awwaiid has joined #ruby
DaniG2k has joined #ruby
admin0 has joined #ruby
Mekkis has joined #ruby
nfk has quit [Remote host closed the connection]
wwwq has joined #ruby
drfreeze_ has quit [Ping timeout: 259 seconds]
Hanmac1 has quit [Ping timeout: 259 seconds]
nyuszika7h_ has joined #ruby
`MArceLL` has joined #ruby
jsaak_ has joined #ruby
QKO_ has quit [Ping timeout: 253 seconds]
victorK has joined #ruby
joast has joined #ruby
jerius_ is now known as jerius
billy_ran_away_ is now known as billy_ran_away
<bnagy>
it is not useful to worry about syn source ports
<bnagy>
burlyscudd: I honestly think this is not decidable with scanning btw
<burlyscudd>
bnagy: I'm not worried about the overall design of this thing
<burlyscudd>
bnagy: it most definitely is
rudisimo has quit [Client Quit]
<burlyscudd>
bnagy: I have a box in the cloud that SYN-ACKs back with crafted packets to every tcp_src it receives from
<bnagy>
only if you can change your source IP to everything in ipv6
guilleiguaran__ is now known as guilleiguaran_
guiocavalcanti has quit [Remote host closed the connection]
SDr_ has joined #ruby
malkomal_ has joined #ruby
Sou|cutter has joined #ruby
<burlyscudd>
bnagy: so filtering pcap from that src and searching out the packet taint verifies receipt from that host
<bnagy>
'allowed to leave the network' means a fw on whatever exgress says ok
zigomir_ has joined #ruby
<bnagy>
and that fw checks src / dst
guiocavalcanti has joined #ruby
blaxter_ has quit [Ping timeout: 246 seconds]
banister`shop has quit [Remote host closed the connection]
ariedler has quit [Read error: Connection reset by peer]
<burlyscudd>
bnagy: yup
dysinger has joined #ruby
Cyrus has quit [Ping timeout: 264 seconds]
cofin has joined #ruby
Guedes has joined #ruby
<bnagy>
sooo.. cannot
<bnagy>
just audit all the egress nodes
<Spooner>
bitset would be fine too, in this case, assuming many of the numbers are set. Reduces to fixed 8k (bitset gem) from 0-128k (for Set solution)
farn has joined #ruby
Mendon has joined #ruby
DrCode has joined #ruby
heidar has joined #ruby
coreinfo99 has joined #ruby
mrmist has joined #ruby
Bry8Star{T2 has joined #ruby
end_guy has joined #ruby
lsmola has joined #ruby
cout_ has joined #ruby
epochwolf has joined #ruby
cafk has joined #ruby
Cork has joined #ruby
telling has joined #ruby
LucidDreamZzZz has joined #ruby
brian`_ has joined #ruby
crodas has joined #ruby
yxhuvud2 has joined #ruby
choobie has joined #ruby
lupine has joined #ruby
classix has joined #ruby
Hanmac has joined #ruby
afd__ has joined #ruby
NimeshNeema has joined #ruby
farn_ has quit [Read error: Connection reset by peer]
hash has quit [Ping timeout: 264 seconds]
bsdbandit has joined #ruby
TMM has joined #ruby
Uranio has joined #ruby
kaichanvong has joined #ruby
palyer has quit []
perun0 has joined #ruby
malkomalko has quit [Ping timeout: 264 seconds]
<burlyscudd>
bnagy: thanks for your input on the design — this approach has all been validated w/ co-workers who have spent lots of time writing IDS controls and/or doing pro pentesting :-). Perhaps I'm just not explaining it well.
palyboy has joined #ruby
classix has quit [Max SendQ exceeded]
kiri_ is now known as kiri
jerius has quit [Ping timeout: 264 seconds]
mafolz has quit [Ping timeout: 264 seconds]
Zeeraw has quit [Ping timeout: 264 seconds]
zigomir has quit [Ping timeout: 264 seconds]
Mchl has quit [Ping timeout: 264 seconds]
SDr has quit [Ping timeout: 264 seconds]
<bnagy>
burlyscudd: I suspect the whole approach is just wrong
onewheelskyward_ has joined #ruby
<bnagy>
but that never stopped people selling security stuff
aganov has quit [Ping timeout: 264 seconds]
Repentinus has joined #ruby
dayepa has joined #ruby
<bnagy>
I have some modicum of security skillz myself
classix has joined #ruby
aganov has joined #ruby
<burlyscudd>
bnagy: ok
haxrbyte_ has joined #ruby
prime_ has joined #ruby
lunarjar has quit [Ping timeout: 245 seconds]
hash has joined #ruby
jtperreault has joined #ruby
martxel_ has joined #ruby
Schuyler has joined #ruby
<bnagy>
tbf egress auditing doesn't matter, cause as long as 53 and 443 are open you already lost, from a transport level
ttt_ has quit [Remote host closed the connection]
mafolz has joined #ruby
<bnagy>
but meh
onewheelskyward has quit [Ping timeout: 256 seconds]
haxrbyte has quit [Read error: Connection reset by peer]
poga has quit [Read error: Connection reset by peer]
davidboy has quit [Ping timeout: 256 seconds]
martxel has quit [Ping timeout: 256 seconds]
Kudos has quit [Ping timeout: 256 seconds]
prime has quit [Ping timeout: 256 seconds]
Schuy13r has quit [Ping timeout: 256 seconds]
dayepa1 has quit [Ping timeout: 256 seconds]
prime_ is now known as prime
DefV has quit [Ping timeout: 256 seconds]
im0b has quit [Ping timeout: 256 seconds]
preller has quit [Ping timeout: 256 seconds]
onewheelskyward_ is now known as onewheelskyward
flori has quit [Ping timeout: 256 seconds]
ariedler has joined #ruby
estating56 has quit [Excess Flood]
flori_ has joined #ruby
<Hanmac>
hm if i have an Hash made with grouped, and i want to remove some keys, what would be the best way for that?
DefV has joined #ruby
Kudos has joined #ruby
<burlyscudd>
bnagy: that statement tells me you've never been on a professional pentest assessment inside a large corporate network
tomku has joined #ruby
matchaw_ has quit [Ping timeout: 256 seconds]
darkc0met has quit [Ping timeout: 256 seconds]
peteyg_ has quit [Ping timeout: 256 seconds]
Mchl has joined #ruby
<bnagy>
burlyscudd: :D
peteyg has joined #ruby
<Spooner>
Hanmac, #select?
matchaw has joined #ruby
harrymoreno has joined #ruby
wallerdev has quit [Ping timeout: 241 seconds]
chson has quit [Write error: Broken pipe]
<Hanmac>
damm you are right
ArchBeOS has quit [Ping timeout: 264 seconds]
<Spooner>
Or, rather, #reject!
estating56 has joined #ruby
devoldmx3 has quit [Quit: Bye]
deception has quit [Quit: Goodbye]
davidboy has joined #ruby
devoldmx has joined #ruby
<Spooner>
I thought it was a trick question, Hanmac ;)
lunarjar has joined #ruby
poga has joined #ruby
grn_ has joined #ruby
rmnuvg has joined #ruby
QKO_ has joined #ruby
grn has quit [Remote host closed the connection]
rmnuvg_ has quit [Remote host closed the connection]
whowantstolivefo has joined #ruby
QKO has quit [Write error: Broken pipe]
YW has joined #ruby
guiocavalcanti has quit [Ping timeout: 301 seconds]
karnowski has quit [Ping timeout: 301 seconds]
kapowaz has quit [Ping timeout: 301 seconds]
cam` has quit [Ping timeout: 301 seconds]
Scient has quit [Excess Flood]
schlunz has quit [Write error: Broken pipe]
preller has joined #ruby
cam` has joined #ruby
Scient has joined #ruby
karnowski has joined #ruby
kapowaz has joined #ruby
johnrlive has joined #ruby
MarioEIU has joined #ruby
darkc0met has joined #ruby
<rismoney>
if i have a hash of arrays of hashes... - foo= {"nics"=>[{"pcad01"=>{"mgmt405"=>{"ip"=>"1.2.3.4"}}}, {"pcad02"=>{"mgmt405"=>{"ip"=>"1.2.3.4"}}}]} how can i return just ["pcad01","pcad02"]
Takehiro has quit [Remote host closed the connection]
aalmenar has quit [Ping timeout: 240 seconds]
aboudreault has quit [Ping timeout: 240 seconds]
riku has quit [Ping timeout: 240 seconds]
ereslibre has quit [Ping timeout: 240 seconds]
krnflake has quit [Ping timeout: 240 seconds]
Paradox has quit [Ping timeout: 240 seconds]
girija has quit [Ping timeout: 240 seconds]
bakingbread has quit [Ping timeout: 240 seconds]
alup has quit [Ping timeout: 240 seconds]
pen has quit [Remote host closed the connection]
newUser1234 has joined #ruby
ArchBeOS has joined #ruby
yekta has joined #ruby
cHarNe2_ has quit [Ping timeout: 245 seconds]
mafolz has quit [Remote host closed the connection]
Elico has quit [Remote host closed the connection]
dayepa has quit [Remote host closed the connection]
<Hanmac>
Spooner: if you ask i have a function named states, and one named _states, the second one returns allways an array and the first one returns an Hash or an Array depending on the parameter, but there is an third method, suspended_state? that removes variables from the result ...
bionhart has quit [Remote host closed the connection]
guilleiguaran_ has joined #ruby
dnyy_ has joined #ruby
rwz_ has joined #ruby
guilleiguaran_ has quit [Changing host]
dnyy_ has quit [Changing host]
rwz_ has quit [Changing host]
TomRone_ has joined #ruby
kaichanvong has joined #ruby
Kudos has joined #ruby
davidboy has joined #ruby
cam` has joined #ruby
darkc0met has joined #ruby
kapowaz has joined #ruby
karnowski has joined #ruby
TomRone_ has quit [Changing host]
kaichanvong has quit [Changing host]
Kudos has quit [Changing host]
davidboy has quit [Changing host]
cam` has quit [Changing host]
karnowski has quit [Changing host]
kapowaz has quit [Changing host]
darkc0met has quit [Changing host]
devoldmx3 has joined #ruby
ChanServ has left #ruby [#ruby]
devoldmx has quit [Read error: Connection reset by peer]
davidboy is now known as davidboy_
tomzx_mac has joined #ruby
<bnagy>
rismoney: h['nics''].map &:keys
<bnagy>
aand dinner
devoldmx has joined #ruby
Kudos has joined #ruby
Kudos has quit [Changing host]
thomasfedb has quit [Changing host]
thomasfedb has joined #ruby
homelinen has joined #ruby
homelinen has quit [Changing host]
GeissT has quit [Quit: AdiIRC is updating to v1.9.1 Beta Build (050613-1) 32 Bit]
harrymoreno has quit [Ping timeout: 264 seconds]
angusiguess has joined #ruby
eka has joined #ruby
harrymoreno has joined #ruby
niceguyjames has joined #ruby
GeissT has joined #ruby
dash_ has joined #ruby
mksm is now known as Guest28885
mephux_ is now known as Guest29272
theoros_ is now known as Guest62920
martxel_ is now known as Guest72700
Soliah is now known as Guest80517
Guedes is now known as Guest68598
joast is now known as Guest50155
z_ is now known as Guest47186
ned is now known as Guest79525
YW is now known as Guest33987
Repentinus is now known as Guest39974
fermion has joined #ruby
ArchBeOS is now known as Guest13455
Dummies_freelanc has left #ruby [#ruby]
Lemtzas has joined #ruby
Vert has joined #ruby
jerius has joined #ruby
Takehiro has joined #ruby
fridim__ has quit [Ping timeout: 264 seconds]
DarthGandalf has joined #ruby
yashshah_ has joined #ruby
charliesome has joined #ruby
Guest13455 has quit [Changing host]
Guest13455 has joined #ruby
Guest39974 has quit [Quit: Leaving]
generalissimo has joined #ruby
<rismoney>
burlyscudd if I return foo['nics'] I get [{"pcad01"=>{"mgmt405"=>{"ip"=>"1.2.3.4"}}}, {"pcad02"=>{"mgmt405"=>{"ip"=>"1.2.3.4"}}}] I just want the next level of keys returned ["pcad01","pcad02"]
Guest13455 is now known as ArchBeOS
takezawa has quit [Remote host closed the connection]
aalmenar_ has joined #ruby
freerobby has joined #ruby
<rismoney>
bnagy let me try
<burlyscudd>
bnagy's thing about keys is good
<burlyscudd>
rismoney: yeah my bad — just saw the nested hashes thing
vigintas has joined #ruby
riku- has joined #ruby
fuzzyhorns has joined #ruby
krnflake_ has joined #ruby
miskander has joined #ruby
b0oh has left #ruby [#ruby]
ereslibre_laptop has joined #ruby
failshell has joined #ruby
harrymoreno has joined #ruby
b0oh has joined #ruby
<rismoney>
whats the &:keys syntax ?
suporte85 has joined #ruby
MrZYX|off is now known as MrZYX
alup_ has joined #ruby
harrymoreno has quit [Ping timeout: 245 seconds]
angusiguess has quit [Ping timeout: 240 seconds]
Rumsteak has joined #ruby
<MrZYX>
rismoney: when calling a method, & calls to_proc and converts the resulting proc to a block, Symbol#to_proc creates a proc like proc {|obj| obj.send(self) }
Drekonus has joined #ruby
trollface has joined #ruby
Inoperable has joined #ruby
Drekonus has quit [Max SendQ exceeded]
yashshah_ has quit [Ping timeout: 268 seconds]
ananthakumaran1 has quit [Quit: Leaving.]
<MrZYX>
so in your case it would call keys on the object passed to the block
riku- is now known as riku
prime has joined #ruby
prime has quit [Changing host]
osvico has quit [Ping timeout: 240 seconds]
Drekonus has joined #ruby
dr_neek has quit [Quit: dr_neek]
Appineer has joined #ruby
<forgot>
banister`shop: foo? for help, _1, _2 as quick backreference, autocompletion, %maigc, etc..
jonathanwallace has quit [Ping timeout: 245 seconds]
<rismoney>
mrzyx so what would the non ruby idiomatic way of writing h['nics''].map &:keys be ?
aboudreault has joined #ruby
<Banistergalaxy>
Forgot cool, Pry has all of that
<Rumsteak>
I have a question about #eql? and Hashes. Doc says "The eql? method returns true if obj and other refer to the same hash key. This is used by Hash to test members for equality." But I cannot think of any example where Hash would actually use #eql?. It seems to me that Hash mostly uses #hash method to compute stuff. Someone has an idea ?
<MrZYX>
rismoney: h['nics'].map {|nic| nic.keys }
chichou has joined #ruby
<rismoney>
got it! thats awesome!
<hoelzro>
Rumsteak: hash collisions
akells` has joined #ruby
<Rumsteak>
hoelzro: yes, what then ?
harrymoreno has quit [Ping timeout: 245 seconds]
<Rumsteak>
oh ok
<rismoney>
mrzyx I h think it could eliminate tons of blocks for me. tyvm
cHarNe2 has joined #ruby
bionhart has joined #ruby
skattyadz has joined #ruby
<forgot>
Banistergalaxy: how to get help of String in pry? like str? in ipython
ArchBeOS has quit [Ping timeout: 245 seconds]
<Banistergalaxy>
? String#split
<Banistergalaxy>
But you need pry-doc
<forgot>
Banistergalaxy: cool.. im python poisoned
rippa has joined #ruby
<Banistergalaxy>
You can also view source for c methods
<Banistergalaxy>
C
<forgot>
Banistergalaxy: i installed pry-doc after watching a video on pry website
jtharris has joined #ruby
haukur has joined #ruby
dmiller has joined #ruby
<Banistergalaxy>
Can you do that in ipython? ;)
mikewintermute has joined #ruby
headius has joined #ruby
harrymoreno has joined #ruby
guiocavalcanti has joined #ruby
<haukur>
is there a way to use jruby with bundle install?
cpyfvw has quit [Ping timeout: 246 seconds]
palyboy has quit []
dmiller has quit [Remote host closed the connection]
carloslopes has quit [Remote host closed the connection]
pi3r has quit [Quit: Leaving]
therealnoop has joined #ruby
<forgot>
banister`shop: nice, ty
johnrlive has joined #ruby
Alina-malina has quit [Ping timeout: 245 seconds]
takezawa has joined #ruby
bakingbread has joined #ruby
wsterling has joined #ruby
defaultro_ has joined #ruby
vlad_starkov has joined #ruby
bricker`1A has quit [Ping timeout: 240 seconds]
ioNull has quit [Quit: Computer has gone to sleep.]
guiocavalcanti has quit [Remote host closed the connection]
huoxito has joined #ruby
harrymoreno has quit [Ping timeout: 256 seconds]
wu_lmao has quit [Ping timeout: 240 seconds]
skattyadz has quit [Quit: skattyadz]
haukur has quit [Quit: leaving]
carcajou has quit [Ping timeout: 241 seconds]
k3rn3lito has quit [Ping timeout: 241 seconds]
sivoais has quit [Ping timeout: 260 seconds]
k3rn3lito has joined #ruby
harrymoreno has joined #ruby
thesheff17 has joined #ruby
Alina-malina has joined #ruby
<defaultro_>
morning folks, is it possible to install rvm without having to install Xcode? I remember when I was installing it, it showed this message. Xcode and/or Command Line Tools is required
<Uranio>
havenwood: I'm looking an alternative to Camping
allanm__ has quit [Ping timeout: 248 seconds]
<Uranio>
what you could suggest me?
Jelco___ has joined #ruby
6JTAASSRY has quit [Quit: Leaving]
<havenwood>
Uranio: Sinatra makes for a good start.
radic__ has joined #ruby
Alamo777_ has joined #ruby
<havenwood>
Sinatra is really nice. Light.
Hanmac has joined #ruby
yshh has quit [Remote host closed the connection]
karnowski has joined #ruby
Alamo777_ has quit [Read error: Connection reset by peer]
khismetix has joined #ruby
forgot has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
allanm__ has joined #ruby
jtcoon has joined #ruby
<Uranio>
:/ nop... I tried but do not like it
<Uranio>
not so mucc MVC flavored
Alina-malina has joined #ruby
<Uranio>
not so mucH MVC flavored
<havenwood>
Uranio: Then take a look at Espresso.
Naeblis|XChat has joined #ruby
<Uranio>
loading page...
<Spooner>
Espresso is very like Sinatra. Not MVC at all.
tylersmi_ has quit [Remote host closed the connection]
<havenwood>
Uranio: You can make MVC out of Sinatra, it is just a DSL. There is a nice scaffolding generator.
<havenwood>
Uranio: Is Rails what you want? :P
<Spooner>
Does sound that way ;)
tylersmith has joined #ruby
denver has joined #ruby
<Uranio>
humm... espresso is more like ramaze
devoldmx3 has joined #ruby
nari_ has joined #ruby
<Uranio>
havenwood: rails! no thanks, I have a normal live and a whife for expend time :D
allanm__ has quit [Read error: Connection reset by peer]
<Uranio>
espersso look like very cool, wich template engine could use?
leonid_ has joined #ruby
diadara has joined #ruby
filipe_ has quit [Remote host closed the connection]
<Spooner>
Should do anything. I'd recommend Slim.
mercwithamouth has joined #ruby
tommyvyo has quit [Ping timeout: 264 seconds]
nhhagen_ has quit [Remote host closed the connection]
generalissimo has joined #ruby
allanm__ has joined #ruby
Guest47186 has quit [Changing host]
Guest47186 has joined #ruby
Guest47186 is now known as z
devoldmx has quit [Ping timeout: 256 seconds]
mikepack has quit [Remote host closed the connection]
mikepack_ has quit [Remote host closed the connection]
<Uranio>
Spooner: yeh, I like slim
pothibo has joined #ruby
devoldmx has joined #ruby
greenarrow has joined #ruby
Hobogrammer_ has joined #ruby
mahat has joined #ruby
heidar has joined #ruby
Criztian has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
atmosx has joined #ruby
vigintas has joined #ruby
tommyvyo has joined #ruby
anekos has joined #ruby
yalue has joined #ruby
mantas322 has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
redgirl has quit [Ping timeout: 256 seconds]
<havenwood>
Spooner: Heard from UberNerdGirl? Did she take a job straight outta Hacker School?
Guedes has joined #ruby
Guedes has quit [Changing host]
Guedes has joined #ruby
TMM has joined #ruby
jtperreault has joined #ruby
eka has joined #ruby
alex__c2022 has joined #ruby
Mon_Ouie has joined #ruby
jurbat has joined #ruby
Guest50155 has joined #ruby
newUser1_ has joined #ruby
ElderFain has joined #ruby
wallerdev has joined #ruby
codecop has joined #ruby
sirecote has joined #ruby
tomku has joined #ruby
DaniG2k has joined #ruby
sideshowcoder has joined #ruby
jimeh_ has joined #ruby
splittingred has joined #ruby
poga has joined #ruby
tomsthumb has joined #ruby
monkegjinni has joined #ruby
niceguyjames has joined #ruby
jtharris has joined #ruby
patricksroberts_ has joined #ruby
lsmola has joined #ruby
Naeblis has joined #ruby
peta_ has joined #ruby
chrishough has joined #ruby
<Spooner>
Nope. She's been cagey about her work plans so far.
tw1sted has joined #ruby
<havenwood>
Aha.
dayepa has joined #ruby
devoldmx3 has quit [Ping timeout: 256 seconds]
cmarques has joined #ruby
icecandy has joined #ruby
gianlucadv has joined #ruby
afd__ has joined #ruby
vlad_starkov has joined #ruby
<mantas322>
say one negative thing on #rubyonrails and they ban u
<mantas322>
jerks..
CaptainKnots has joined #ruby
CaptainKnots has quit [Changing host]
CaptainKnots has joined #ruby
harrymoreno has joined #ruby
<havenwood>
Quick, ban him! ^
lkba has joined #ruby
Guest72700 is now known as martxel
<apeiros>
I have my doubts that it was "one thing"
martxel has quit [Changing host]
martxel has joined #ruby
geggam_ is now known as geggam
<mantas322>
it really was.
peta_ has quit [Quit: peta_]
<Hanmac>
someone else interested in an new RPGMaker written in and for ruby?
<havenwood>
mantas322: What'd you say? :P They have a very busy channel. Is interesting how different channels have distinctly different culture though.
peta_ has joined #ruby
io_syl has joined #ruby
<mantas322>
i was frusterated getting something to work and said "rails is the worst"
<havenwood>
Hanmac: RPG being role playing game? Not rocket propelled grenade or some computer sci thing?
<mantas322>
they didnt care for that
momomomomo has joined #ruby
allanm__ has quit [Ping timeout: 264 seconds]
<apeiros>
mantas322: I don't see you on #rubyonrails' banlist
ybart has quit [Quit: ybart]
<aedorn>
I'd much prefer a Ruby powered rocket propelled grenade
<havenwood>
apeiros: I think they usually silence first.
allanm__ has joined #ruby
<Hanmac>
havenwood: yeah role playing games like the real oldscool oners
carloslopes has joined #ruby
vlad_sta_ has joined #ruby
<havenwood>
Hanmac: Nice!
<mantas322>
#rubyonrails Cannot join channel (+b) - you are banned
<havenwood>
aedorn: Mmmm, arduino 20mm.
bradhe has joined #ruby
SegFaultAX has joined #ruby
Drakevr has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
<aedorn>
Hanmac: Can you generate packages that can be run independently without installing Ruby on the target OS?
<mikecmpbll>
they get a lot of trolls, your comment sounded trollish.
<apeiros>
mantas322: it's not you specifically
<apeiros>
the ban is on *!*@*gateway/web/freenode/ip*
<Hanmac>
aedorn not yet but this is maybe planed
<mantas322>
oh
burlyscudd has joined #ruby
<mantas322>
why would they ban that?
carloslopes has quit [Remote host closed the connection]
<mantas322>
i like using freenode web irc
carloslopes has joined #ruby
<Spooner>
aedorn, Ocra/Releasy would allow for that.
<mljsimone>
mantas322: Because people often abuse services. That is why.
dagobah has quit [Remote host closed the connection]
<mantas322>
well i took it very personally
<Spooner>
Don't worry, you can disparage Rails all you like here. Get it out of your system ;)
<Hanmac>
the ones in the rails channel are like apple fanboys ... ;P
SDr has joined #ruby
<mantas322>
dont i remember you from java c# android-dev #javascript spooner?
sayan_ has quit [Ping timeout: 264 seconds]
<mantas322>
I know
pyrac has joined #ruby
<Spooner>
Nope. There is no Spooner.
vlad_starkov has quit [Ping timeout: 260 seconds]
<mantas322>
they threatened my life when I said I was trying rails on windows
Voodoofish430 has joined #ruby
<aedorn>
Hanmac: So did you make a complete replacement?
coreinfo99 has quit [Ping timeout: 264 seconds]
<Chelen__>
hi, sorry, I am a noob with ruby (I just try to install a ruby app from sources ) but I fail with : gem install mysql2. The error message is http://pastebin.com/eA1PAnWu . Can some help me?
mantas322 has quit [Quit: Page closed]
Spooner has quit [Remote host closed the connection]
<Hanmac>
aedorn yeah this is planed ... the bad thing is that our maker/game are not complatible with the Enterbrain ones ... but has many more interesting features
<havenwood>
Chelen__: Looks like it is complaining MySQL isn't installed.
mityaz has joined #ruby
<aedorn>
Spooner: I want to like Ocra... but I also want to move everything to Ruby 2.x. I want to like Releasy, but there's no integrated rake task to mysteriously make my girlfriend's stop jumping on my head.
mafolz1 has quit [Ping timeout: 245 seconds]
<aedorn>
*cat* CAT*
<Chelen__>
This is what I thought but I did : sudo DEBIAN_FRONTEND=noninteractive apt-get install -y g++ build-essent ial libxslt1-dev libxml2-dev python-dev libmysqlclient-dev redis-server mysql-server nginx
<Chelen__>
to mysql should be installed
<aedorn>
That sentence is just full of fail. End result, I still want Ruby 2.x support...
Giorgio has joined #ruby
wargasm has joined #ruby
<Hanmac>
aedorn there is rake-compiler with Crosscompile but i didnt try it yet
ppppaul has quit [Ping timeout: 256 seconds]
slash_nick is now known as slash-nick
MrZYX is now known as MrZYX|off
Neomex has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
Senjai has joined #ruby
<Hanmac>
aedorn & havenwood: our maker is not finish yet , we parted our work, Quintus works on the maker itself while i currently write on the game scripting (with State and Enemy and more funny classes what Enterbrain does not have) ... and we are still looking for developers if you want to join us ;P
vlad_sta_ has quit [Remote host closed the connection]
<aedorn>
Hanmac: What are you needing help on?
<havenwood>
Hanmac: Awesome, i'll look at the code.
<havenwood>
Chelen__: Check if it is?: dpkg -s mysql-client
jaybe_ is now known as jaybe
threesome has joined #ruby
speakingcode-wor has joined #ruby
<havenwood>
Chelen__: If not: sudo apt-get install mysql-client -y
Randomage has joined #ruby
<Chelen__>
huumm, ok I will try this, thanks you havenwood
nhhagen_ has joined #ruby
nhhagen_ has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
cj3kim has joined #ruby
<Hanmac>
aedorn more ruby developer if possible if you know C and C++ too you can help with my bindings (for the one frontend we use ruby-gtk so if you know this its also good) ... otherwise artists are always needed if you want to add tilesets or sounds
mikepack has joined #ruby
ioNull has quit [Ping timeout: 256 seconds]
DaniG2k has quit [Quit: Leaving.]
<aedorn>
well.. I am an artist
<Chelen__>
havenwood, dpkg -s mysql-client said that it was not installed. I installed it but it doesn't solve the issue
<Hanmac>
currently the game-engine needs 2.0 ruby because of prepend ... so be prepared ;P
zastern has quit [Remote host closed the connection]
senayar_ has quit [Remote host closed the connection]
ivanoats_ is now known as ivanoats
<aedorn>
lol, most of the posting is in German! Guess I'll go learn me some German.
pkrzywicki has quit [Ping timeout: 245 seconds]
<Hanmac>
aedorn there is an forum for english ones too
<Hanmac>
you are not forced to learn german
anonymuse has joined #ruby
tvw has quit []
<Hanmac>
and there is an irc channel too: #openrubyrmk but there is currently no one there
alem0lars has quit [Quit: Leaving]
coreinfo99 has joined #ruby
m4dnificent is now known as madnificent
yashshah_ has joined #ruby
ExxKA has joined #ruby
<aedorn>
Hanmac: I'm sure one day I will be lost ... in Germany.. where I'll need to know German. Most likely it will be after falling off a cruise liner near Alaska. I'll float off and end up in Japan first, then trek across the world trying to learn who I am since I lost my memories. Might as well be prepared!
superscott[8] has joined #ruby
phipes has quit [Quit: phipes]
_Andres has quit [Ping timeout: 264 seconds]
wolcanus_ has quit [Remote host closed the connection]
cj3kim_ has joined #ruby
<aedorn>
Yes. I fall off giant boats.
cj3kim has quit [Read error: Connection reset by peer]
sayan has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
tonini has joined #ruby
sayan has quit [Changing host]
sayan has joined #ruby
niceguyjames has joined #ruby
northelks has quit [Read error: Connection reset by peer]
<Hanmac>
aedorn currently we have a water problem so its maybe not a good time to be lost in germany ;P
ShapeShifter499 has joined #ruby
snearch has quit [Quit: Verlassend]
vlad_starkov has joined #ruby
alup_ has quit [Quit: Leaving]
yashshah_ has quit [Ping timeout: 260 seconds]
Coolhand has quit [Remote host closed the connection]
soc42 has quit [Remote host closed the connection]
nettoweb has joined #ruby
phipes has joined #ruby
zeade has joined #ruby
pcarrier_ has quit [Ping timeout: 264 seconds]
timkohrumel has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
freakazoid0223 has joined #ruby
d_roge has joined #ruby
khismetix has quit [Quit: Computer has gone to sleep.]
stkowski has quit [Quit: stkowski]
johnrlive has joined #ruby
timkohrumel has quit [Ping timeout: 276 seconds]
slainer68 has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
mahat has quit [Ping timeout: 256 seconds]
mahat has joined #ruby
bricker`LA has quit [Read error: No route to host]
monkegji_ has joined #ruby
hamakn has joined #ruby
tjbiddle has joined #ruby
baroquebobcat has joined #ruby
timmow has quit [Ping timeout: 240 seconds]
DanKnox_away is now known as DanKnox
juarlex_ has joined #ruby
slainer68 has joined #ruby
monkegjinni has quit [Ping timeout: 260 seconds]
fwaokda has joined #ruby
B|aster has joined #ruby
fuleo has joined #ruby
slainer68 has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 256 seconds]
tonini has quit [*.net *.split]
kennyvb_ has quit [*.net *.split]
robustus has quit [*.net *.split]
germanstudent has quit [*.net *.split]
randym_ has quit [*.net *.split]
s0ber has quit [*.net *.split]
Blaster has quit [*.net *.split]
jpun has quit [*.net *.split]
sixteneighty has quit [*.net *.split]
aedornm1 has quit [*.net *.split]
kyle___ has quit [*.net *.split]
fuleo2 has quit [*.net *.split]
jwest has quit [*.net *.split]
qun has quit [*.net *.split]
rismoney has quit [*.net *.split]
devyn has quit [*.net *.split]
mahlon has quit [*.net *.split]
itman has quit [*.net *.split]
Alasdairr has quit [*.net *.split]
moopasta_ has quit [*.net *.split]
juarlex has quit [*.net *.split]
wudofyr___ has quit [*.net *.split]
Rix has quit [*.net *.split]
Jedi_SCT1 has quit [*.net *.split]
KillerFox has quit [*.net *.split]
peterhellberg has quit [*.net *.split]
noname001 has quit [*.net *.split]
eighty4 has quit [*.net *.split]
_rgn has quit [*.net *.split]
Zespre has quit [*.net *.split]
shammancer has quit [*.net *.split]
moeSeth has quit [*.net *.split]
denken has quit [*.net *.split]
ninegrid has quit [*.net *.split]
hakunin has quit [*.net *.split]
blazzy has quit [*.net *.split]
AllStruck has quit [*.net *.split]
lancepantz has quit [*.net *.split]
deadalus has quit [*.net *.split]
scrogson has quit [*.net *.split]
s_e has quit [*.net *.split]
eregon_ has quit [*.net *.split]
skogis has quit [*.net *.split]
kstephens has quit [*.net *.split]
jeekl has quit [*.net *.split]
daaaan has quit [*.net *.split]
spacemud has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
tomaw has quit [*.net *.split]
felipe has quit [*.net *.split]
mame0 has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
tjbiddle has quit [*.net *.split]
johnrlive has quit [*.net *.split]
zeade has quit [*.net *.split]
superscott[8] has quit [*.net *.split]
vlad_starkov has quit [*.net *.split]
anonymuse has quit [*.net *.split]
seitensei has quit [*.net *.split]
ioNull has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
peta_ has quit [*.net *.split]
io_syl has quit [*.net *.split]
three18ti has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
chuk has quit [*.net *.split]
nick_h_ has quit [*.net *.split]
madnificent has quit [*.net *.split]
Rennex has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
elaptics has quit [*.net *.split]
wildcard0 has quit [*.net *.split]
prophile has quit [*.net *.split]
duper has quit [*.net *.split]
hackeron has quit [*.net *.split]
crankyco1er has quit [*.net *.split]
pcboy__ has quit [*.net *.split]
wizard` has quit [*.net *.split]
parus has quit [*.net *.split]
xibalba has quit [*.net *.split]
RubyPanther has quit [*.net *.split]
vaicine has quit [*.net *.split]
MetaCosm has quit [*.net *.split]
mfridh has quit [*.net *.split]
stopbit has quit [*.net *.split]
tockitj has quit [*.net *.split]
phasma has quit [*.net *.split]
oddraisi1 has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
arr__ has quit [*.net *.split]
graft_ has quit [*.net *.split]
kevinykc_ has quit [*.net *.split]
jphpsf- has quit [*.net *.split]
sweeper_ has quit [*.net *.split]
k-man has quit [*.net *.split]
jinie has quit [*.net *.split]
devdazed has quit [*.net *.split]
purpleidea has quit [*.net *.split]
Doc_X has quit [*.net *.split]
keyvan has quit [*.net *.split]
zphobic has quit [*.net *.split]
NsOmNiAc has quit [*.net *.split]
iaj has quit [*.net *.split]
trent has quit [*.net *.split]
Quadlex has quit [*.net *.split]
monkegji_ has quit [*.net *.split]
diegok has quit [*.net *.split]
coreinfo99 has quit [*.net *.split]
carloslopes has quit [*.net *.split]
mityaz has quit [*.net *.split]
yalue has quit [*.net *.split]
Guedes has quit [*.net *.split]
anekos has quit [*.net *.split]
tommyvyo has quit [*.net *.split]
Hobogrammer_ has quit [*.net *.split]
greenarrow has quit [*.net *.split]
diadara has quit [*.net *.split]
generalissimo has quit [*.net *.split]
nari_ has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
leonid_ has quit [*.net *.split]
forgot has quit [*.net *.split]
radic__ has quit [*.net *.split]
Iszak has quit [*.net *.split]
foohey has quit [*.net *.split]
moted has quit [*.net *.split]
gildo has quit [*.net *.split]
rmnuvg has quit [*.net *.split]
Jalada has quit [*.net *.split]
lusory has quit [*.net *.split]
Appineer has quit [*.net *.split]
Azulinho has quit [*.net *.split]
`MArceLL` has quit [*.net *.split]
julian-delphiki has quit [*.net *.split]
talntid has quit [*.net *.split]
arya has quit [*.net *.split]
havenwood has quit [*.net *.split]
estating56 has quit [*.net *.split]
ckrailo has quit [*.net *.split]
Kovensky has quit [*.net *.split]
lupine has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
epochwolf has quit [*.net *.split]
seejohnr1n has quit [*.net *.split]
Chelen__ has quit [*.net *.split]
k3rn3lito has quit [*.net *.split]
awwaiid has quit [*.net *.split]
Weazy has quit [*.net *.split]
DomKM has quit [*.net *.split]
QKO has quit [*.net *.split]
r0bgl33s0n has quit [*.net *.split]
brian` has quit [*.net *.split]
jsaak has quit [*.net *.split]
vigintas has quit [*.net *.split]
v0n has quit [*.net *.split]
jacobw has quit [*.net *.split]
Scient has quit [*.net *.split]
geggam has quit [*.net *.split]
framling_ has quit [*.net *.split]
kofno_ has quit [*.net *.split]
failshel_ has quit [*.net *.split]
cads has quit [*.net *.split]
davetherat has quit [*.net *.split]
Bleah has quit [*.net *.split]
Nom- has quit [*.net *.split]
ananthakumaran has quit [*.net *.split]
jolleyjo1 has quit [*.net *.split]
fuzzyhorns has quit [*.net *.split]
ArchBeOS has quit [*.net *.split]
haxrbyte_ has quit [*.net *.split]
mrmist has quit [*.net *.split]
yxhuvud2 has quit [*.net *.split]
Cork has quit [*.net *.split]
cout_ has quit [*.net *.split]
choobie has quit [*.net *.split]
cafk has quit [*.net *.split]
end_guy has quit [*.net *.split]
eighty4_ is now known as eighty4
scrogson_ is now known as scrogson
spacemud_ is now known as spacemud
lancepantz_ is now known as lancepantz
eighty4 has quit [Changing host]
eighty4 has joined #ruby
pothibo has quit [Quit: pothibo]
Rix has joined #ruby
wolcanus has joined #ruby
kennyvb has joined #ruby
atno has joined #ruby
coderhs has joined #ruby
arya has joined #ruby
bean is now known as 18WADNBMV
generalissimo has joined #ruby
cam` has joined #ruby
wookiehangover has joined #ruby
Pierrick_ has joined #ruby
Coolhand has joined #ruby
xkickflip has joined #ruby
s_e has joined #ruby
ninegrid_ has joined #ruby
tjbiddle has joined #ruby
kstephens has joined #ruby
anonymuse has joined #ruby
johnrlive has joined #ruby
seitensei has joined #ruby
peterhellberg has joined #ruby
denken has joined #ruby
AllStruck has joined #ruby
io_syl has joined #ruby
carloslopes has joined #ruby
zeade has joined #ruby
s0ber_ has joined #ruby
qun_ has joined #ruby
dhruvasagar has joined #ruby
yalue has joined #ruby
vlad_starkov has joined #ruby
tommyvyo has joined #ruby
mityaz has joined #ruby
Guedes has joined #ruby
Zespre_ has joined #ruby
jpun_ has joined #ruby
Hobogrammer_ has joined #ruby
radic__ has joined #ruby
leonid_ has joined #ruby
moted has joined #ruby
diadara has joined #ruby
foohey has joined #ruby
Azulinho has joined #ruby
sixteneighty has joined #ruby
end_guy has joined #ruby
coreinfo99 has joined #ruby
lusory has joined #ruby
vigintas has joined #ruby
Alina-malina has joined #ruby
Appineer has joined #ruby
monkegji_ has joined #ruby
talntid has joined #ruby
anekos has joined #ruby
Kovensky has joined #ruby
Jalada has joined #ruby
bean has joined #ruby
havenwood has joined #ruby
jaredrhine has joined #ruby
Iszak has joined #ruby
ckrailo has joined #ruby
`MArceLL` has joined #ruby
gildo has joined #ruby
epochwolf has joined #ruby
Chelen__ has joined #ruby
seejohnr1n has joined #ruby
k3rn3lito has joined #ruby
rmnuvg has joined #ruby
nari_ has joined #ruby
greenarrow has joined #ruby
estating56 has joined #ruby
peta_ has joined #ruby
awwaiid has joined #ruby
forgot has joined #ruby
DomKM has joined #ruby
lupine has joined #ruby
Weazy has joined #ruby
ioNull has joined #ruby
r0bgl33s0n has joined #ruby
jsaak has joined #ruby
v0n has joined #ruby
Scient has joined #ruby
brian` has joined #ruby
Bleah has joined #ruby
cafk has joined #ruby
ananthakumaran has joined #ruby
QKO has joined #ruby
ArchBeOS has joined #ruby
fuzzyhorns has joined #ruby
davetherat has joined #ruby
cads has joined #ruby
Nom- has joined #ruby
framling_ has joined #ruby
yxhuvud2 has joined #ruby
mrmist has joined #ruby
Cork has joined #ruby
failshel_ has joined #ruby
tockitj has joined #ruby
jolleyjo1 has joined #ruby
three18ti has joined #ruby
geggam has joined #ruby
choobie has joined #ruby
haxrbyte_ has joined #ruby
chuk has joined #ruby
madnificent has joined #ruby
cout_ has joined #ruby
samuelkadolph has joined #ruby
Rennex has joined #ruby
jacobw has joined #ruby
nick_h_ has joined #ruby
wildcard0 has joined #ruby
thejoecarroll has joined #ruby
duper has joined #ruby
hackeron has joined #ruby
graft_ has joined #ruby
prophile has joined #ruby
elaptics has joined #ruby
pcboy__ has joined #ruby
crankyco1er has joined #ruby
wizard` has joined #ruby
parus has joined #ruby
mfridh has joined #ruby
MetaCosm has joined #ruby
stopbit has joined #ruby
vaicine has joined #ruby
RubyPanther has joined #ruby
phasma has joined #ruby
xibalba has joined #ruby
Emmanuel_Chanel has joined #ruby
oddraisi1 has joined #ruby
arr__ has joined #ruby
kevinykc_ has joined #ruby
jphpsf- has joined #ruby
jinie has joined #ruby
k-man has joined #ruby
Doc_X has joined #ruby
purpleidea has joined #ruby
devdazed has joined #ruby
sweeper_ has joined #ruby
keyvan has joined #ruby
zphobic has joined #ruby
NsOmNiAc has joined #ruby
iaj has joined #ruby
diegok has joined #ruby
trent has joined #ruby
Quadlex has joined #ruby
rismoney has joined #ruby
Chelen__ has quit [Ping timeout: 264 seconds]
psychouroboros has joined #ruby
malkomal_ has quit [Remote host closed the connection]
rupee has joined #ruby
vigintas has quit [Quit: Leaving]
shaman42 has joined #ruby
echevemaster has joined #ruby
echevemaster has joined #ruby
tomaw has joined #ruby
ldnunes has joined #ruby
ldnunes has quit [Read error: Connection reset by peer]
cads has quit [Max SendQ exceeded]
ldnunes has joined #ruby
wudofyr___ has joined #ruby
cads has joined #ruby
SDr has quit [Ping timeout: 260 seconds]
braincrash has quit [Ping timeout: 246 seconds]
adkron_ has joined #ruby
braincrash has joined #ruby
SDr has joined #ruby
Asher has joined #ruby
banjara1 has quit [Quit: Leaving.]
tylersmith has joined #ruby
jeekl has joined #ruby
banghouse2 has joined #ruby
dysinger has joined #ruby
takeru has joined #ruby
pcarrier_ has joined #ruby
jwest has joined #ruby
mocfive has joined #ruby
khushildep has quit [Ping timeout: 245 seconds]
shammancer has joined #ruby
chrishough has quit [Quit: chrishough]
blazzy has joined #ruby
jwest has quit [Client Quit]
aedornm1 has joined #ruby
mahmoudimus has joined #ruby
mercwithamouth has joined #ruby
jaimef has quit [Excess Flood]
banghouse2 is now known as banghouse
adkron_ has quit [Client Quit]
adkron_ has joined #ruby
yshh has joined #ruby
phipes has quit [Quit: phipes]
takeru has quit [Ping timeout: 245 seconds]
ExxKA has quit [Quit: This computer has gone to sleep]
Eiam has joined #ruby
monkegjinni has joined #ruby
aspiers has quit [Ping timeout: 245 seconds]
monkegji_ has quit [Read error: Connection reset by peer]
monkegj__ has joined #ruby
Banistergalaxy has joined #ruby
aqil has joined #ruby
foobArrr has quit [Ping timeout: 256 seconds]
fabionl has joined #ruby
luckyruby has joined #ruby
burlyscudd has quit [Quit: Leaving.]
fabionl has quit [Client Quit]
ivanoats has quit [Remote host closed the connection]
fabionl has joined #ruby
burlyscudd has joined #ruby
jaimef has joined #ruby
foobArrr has joined #ruby
icole has joined #ruby
faulkner has quit [Quit: boo.]
chrishough has joined #ruby
ivanoats has joined #ruby
BSaboia has joined #ruby
fabionl has quit [Client Quit]
yshh has quit [Ping timeout: 264 seconds]
fabionl has joined #ruby
monkegjinni has quit [Ping timeout: 264 seconds]
mahat has quit [Quit: Leaving...]
razi has joined #ruby
jbinto- has joined #ruby
jdunck has joined #ruby
Hobogrammer has joined #ruby
banjara has joined #ruby
failshel_ is now known as failshell
faulkner has joined #ruby
Hobogrammer_ has quit [Ping timeout: 264 seconds]
pskosinski_ is now known as pskosinski
vlad_starkov has quit [Remote host closed the connection]
fabionl has quit [Ping timeout: 264 seconds]
pothibo has joined #ruby
Coolhand has quit [Remote host closed the connection]
_rgn has joined #ruby
mljsimone is now known as mljsimone|bnc
mercwithamouth has quit [Ping timeout: 245 seconds]
Shirakawasuna has joined #ruby
Zespre_ is now known as Zespre
rippa has quit [Read error: Connection reset by peer]
teclator has joined #ruby
jwest has joined #ruby
braincrash has quit [Ping timeout: 245 seconds]
fabionl has joined #ruby
robbyoconnor has quit [Max SendQ exceeded]
<coderhs>
hi there.. could some one help me with the usage of '&:split'
<coderhs>
quite confused on what it does?
<coderhs>
is it a pointer to a symbol?
<burlyscudd>
coderhs: it's block coercion
mercwithamouth has joined #ruby
<Hanmac>
coderhs: array.map(&:split) is similar equal to array.map {|s| s.split }
<coderhs>
ah okay...
<burlyscudd>
coderhs: I forget the specifics but it's making a Proc and essentially calling that method (rep'd by the symbol)
mrsolo has joined #ruby
<burlyscudd>
coderhs: it's great for that kind of thing where you want to use an iterator to call a single method on everything in a collection, like what Hanmac said
<coderhs>
ah I c... now i understand..
phipes has joined #ruby
thebastl has quit [Remote host closed the connection]
<burlyscudd>
explanation from Prag Dave himself :-)
robbyoconnor has joined #ruby
wolcanus has quit [Remote host closed the connection]
braincrash has joined #ruby
mljsimone|bnc is now known as mljsimone
<coderhs>
burlyscudd: thanks :-) I am having a look through the article..
<Hanmac>
its also often used for callbacks, like object.bind(:type,&method(:callback)) ... or something similar
chichou has quit []
garbados has joined #ruby
niftylettuce has joined #ruby
<coderhs>
hanmac: could you explain that a bit more. By callback do you mean the active records call backs?
thejefflarson___ has joined #ruby
<burlyscudd>
coderhs: AR has callbacks — but callbacks are a general notion of programming and not limited to any particular library
taqutor has joined #ruby
takezawa_ has joined #ruby
mikepack_ has joined #ruby
wolcanus has joined #ruby
jdripper has quit [Quit: Leaving.]
<coderhs>
oh okay, so how can we use it in a general object in ruby?
Takehiro_ has joined #ruby
Takehiro_ has quit [Remote host closed the connection]
akells`_ has joined #ruby
scrogson has quit [Ping timeout: 245 seconds]
rismoney has quit [Ping timeout: 245 seconds]
nemesit|znc has quit [Ping timeout: 245 seconds]
xybre has quit [Ping timeout: 245 seconds]
Zai00 has quit [Ping timeout: 248 seconds]
sindork has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 245 seconds]
sindork has joined #ruby
ssoren11 has joined #ruby
Banistergalaxy has quit [Ping timeout: 245 seconds]
takezawa has quit [Ping timeout: 245 seconds]
Takehiro has quit [Ping timeout: 245 seconds]
camt has quit [Ping timeout: 245 seconds]
rismoney has joined #ruby
Giorgio has quit [Ping timeout: 245 seconds]
casheew_ has quit [Ping timeout: 245 seconds]
DanKnox has quit [Ping timeout: 245 seconds]
casheew has joined #ruby
Gnubie_ has joined #ruby
thebastl has joined #ruby
camt has joined #ruby
nemesit|znc has joined #ruby
<ssoren11>
How can I call a method dynamically? Something like: %{foo bar baz}.each do |m|; something."#{m}"; end
DanKnox has joined #ruby
akells` has quit [Ping timeout: 245 seconds]
Gnubie has quit [Ping timeout: 245 seconds]
scrogson has joined #ruby
kirun has joined #ruby
Giorgio has joined #ruby
devoldmx has joined #ruby
<morrolan_>
ssoren11: Object#send
<ssoren11>
morrolan_: Perfect. Thanks!
<morrolan_>
:)
mljsimone is now known as mljsimone|bnc
BSaboia has quit [Ping timeout: 245 seconds]
Coolhand has joined #ruby
mikewintermute has joined #ruby
jbueza1 has joined #ruby
jbueza has quit [Read error: Connection reset by peer]
morrolan_ is now known as Morrolan
Shirakawasuna has quit [Ping timeout: 245 seconds]
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
mljsimone|bnc is now known as mljsimone
kapowaz has joined #ruby
vlad_starkov has joined #ruby
<garbados>
ahoy! i'm trying to get salticid (https://github.com/aphyr/salticid) up and running, but any use yields a "cannot load such file -- ncurses" error.
pipi404 has joined #ruby
xybre has joined #ruby
xybre has quit [Changing host]
xybre has joined #ruby
jbinto- has quit [Read error: Connection reset by peer]
yeban has joined #ruby
tjbiddle_ has joined #ruby
tjbiddle has quit [Read error: Operation timed out]
tjbiddle_ is now known as tjbiddle
<garbados>
i take it "cannot load such file" means it isn't installed -- is there a particular wrapper for ncurses i need, that salticid didn't grab?
headius has quit [Quit: headius]
djbkd has joined #ruby
NimeshNeema has joined #ruby
jbpros has joined #ruby
marr has quit [Ping timeout: 245 seconds]
wchun has joined #ruby
wchun has quit [Read error: Connection reset by peer]
Banistergalaxy has joined #ruby
cj3kim has quit [Remote host closed the connection]
chandankumar has joined #ruby
ArchBeOS is now known as ArchBeOS|AWAY
erry is now known as erryone
Appineer has quit [Remote host closed the connection]
Appineer has joined #ruby
Appineer has left #ruby [#ruby]
mikewintermute has quit [Quit: mikewintermute]
tjbiddle has quit [Quit: tjbiddle]
pinpin404 has quit [Quit: i'm also on quassel]
saarinen has joined #ruby
cofin has quit [Quit: cofin]
robbyoconnor has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Read error: Operation timed out]
<burlyscudd>
garbados: looks like Rubygems and GitHub are out-of-sync there. u might consider pulling the repo and building manually, since the commits show ncurses removed recently
<burlyscudd>
garbados: looks like they are using a Rake-based gemfile, so I'd "rake -T" to figure out how to build the gem, and then use "gem install salticid-<VERSION>.gem" to install the gem that it makes
nomenkun has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
wargasm has quit [Ping timeout: 260 seconds]
mikewintermute has joined #ruby
palyer has quit []
statarb3 has quit [Quit: Leaving]
palyboy has joined #ruby
<garbados>
burlyscudd: cool, thanks. i'll try that and report back.
mljsimone is now known as mljsimone|bnc
cofin has joined #ruby
ellipse has joined #ruby
nezumi has joined #ruby
alvaro_o has joined #ruby
<burlyscudd>
garbados: cheers
<garbados>
burlyscudd: wait, hmm, i think we're looking at different repos. what repo are you looking at?
camilasan has quit [Remote host closed the connection]
gyre008 has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
mercwithamouth has quit [Ping timeout: 276 seconds]
mljsimone|bnc is now known as mljsimone
redgirl has joined #ruby
ellipse has quit [Remote host closed the connection]
<garbados>
burlyscudd: oh, i see. sorry, i thought you meant an ncurses lib
wargasm has joined #ruby
rezzack has joined #ruby
akells`_ has quit [Remote host closed the connection]
ffio_ has quit [Ping timeout: 264 seconds]
jbpros has quit [Quit: jbpros]
krainboltgreene has joined #ruby
ellipse has joined #ruby
theRoUS has quit [Ping timeout: 245 seconds]
pipework has quit [Remote host closed the connection]
<burlyscudd>
garbados: yeah according to commits there looks like ncurses stuff is in ruby stdlib in 1.9+ (but I'm just guessing — idk about ncurses stuff in the gargantuan pile of (mostly) cool that is the Ruby stdlib)
mercwithamouth has joined #ruby
instinkt has joined #ruby
adambeynon has joined #ruby
defaultro_ has quit [Ping timeout: 250 seconds]
nw has joined #ruby
krislappy is now known as krisfremen
dustint has joined #ruby
pdtpatri1k has quit [Remote host closed the connection]
ryannielson has joined #ruby
cj3kim has joined #ruby
kofno has joined #ruby
<Rumsteak>
In Ruby doc, is Array::new(some_parameters) implemented as a real Array::new(some_parameters) or is it rather implemented as Array#initialize(some_parameters) ?
<Rumsteak>
(same question for Dir, File, etc)
saarinen has joined #ruby
pdtpatrick has joined #ruby
mocfive has quit [Remote host closed the connection]
jbpros has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
rdark has quit [Quit: leaving]
<canton7>
Hmm? Array.new calls Array.initialize at some point, as well as doing stuff like memory allocation etc
timonv has joined #ruby
saarinen has quit [Client Quit]
<robert_>
is there a way I can encode a string in a specified base?
Davey has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
emergion has quit [Quit: Computer has gone to sleep.]
ullopirlo has left #ruby [#ruby]
telling_ has quit [Ping timeout: 271 seconds]
telling has joined #ruby
telling has quit [Changing host]
telling has joined #ruby
rismoney has quit [Read error: No buffer space available]
ChristianS has quit [Ping timeout: 272 seconds]
deavid has quit [Ping timeout: 272 seconds]
rismoney has joined #ruby
harrymoreno_ has joined #ruby
ChristianS has joined #ruby
brotatos has joined #ruby
ullopirlo has joined #ruby
dougireton has quit [Ping timeout: 246 seconds]
nyuszika7h_ has quit [Changing host]
nyuszika7h_ has joined #ruby
brotatos has quit [Client Quit]
nyuszika7h_ is now known as nyuszika7h
bionhart has joined #ruby
RORgasm has joined #ruby
deavid has joined #ruby
vlad_starkov has joined #ruby
akells` has joined #ruby
teclator has quit [Ping timeout: 264 seconds]
harrymoreno has quit [Ping timeout: 257 seconds]
harrymoreno_ is now known as harrymoreno
akells` has quit [Remote host closed the connection]
jprovazn has joined #ruby
bmn has joined #ruby
chrishough has joined #ruby
pcarrier_ has quit [Ping timeout: 264 seconds]
geggam has quit [Ping timeout: 264 seconds]
splittingred has quit [Read error: Connection reset by peer]
mercwithamouth has quit [Ping timeout: 240 seconds]
splittingred has joined #ruby
akells` has joined #ruby
Azulinho has quit [Ping timeout: 264 seconds]
burlyscudd has left #ruby [#ruby]
pcarrier_ has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
skattyadz has joined #ruby
harrymoreno_ has joined #ruby
harrymoreno has quit [Ping timeout: 246 seconds]
harrymoreno_ is now known as harrymoreno
dash_ has quit [Quit: Time to beer :)]
reset has joined #ruby
chrishunt has joined #ruby
whowantstolivef1 has joined #ruby
whowantstolivef1 has quit [Client Quit]
farn_ is now known as farn
bklane has joined #ruby
<ullopirlo>
Zfhffzhf
ivanoats has quit [Remote host closed the connection]
aqil has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
ullopirlo is now known as albertone
dougireton has joined #ruby
Animawish has joined #ruby
geggam has joined #ruby
icecandy has quit [Remote host closed the connection]
pipi404 has quit [Ping timeout: 256 seconds]
ryannielson has quit [Quit: ryannielson]
sailias has quit [Ping timeout: 248 seconds]
klip has joined #ruby
yalue has quit [Quit: Leaving]
pinpin404 has joined #ruby
splittingred_ has joined #ruby
c0rn has joined #ruby
splittingred has quit [Ping timeout: 240 seconds]
splittingred_ is now known as splittingred
centr0 has joined #ruby
ntus1017 has quit [Remote host closed the connection]
telling has quit [*.net *.split]
harrymoreno has quit [*.net *.split]
farn has quit [*.net *.split]
monkegjinni has quit [*.net *.split]
sgkim1261 has quit [*.net *.split]
fermion has quit [*.net *.split]
Banistergalaxy has quit [*.net *.split]
sindork_ has quit [*.net *.split]
pskosinski has quit [*.net *.split]
byprdct has quit [*.net *.split]
saarinen has quit [*.net *.split]
cj3kim has quit [*.net *.split]
timonv has quit [*.net *.split]
adambeynon has quit [*.net *.split]
redgirl has quit [*.net *.split]
nomenkun has quit [*.net *.split]
nezumi has quit [*.net *.split]
devoldmx3 has joined #ruby
r0bby has joined #ruby
devoldmx27 has joined #ruby
theRoUS has quit [Ping timeout: 260 seconds]
ARCADIVS has joined #ruby
razi has quit [Quit: Leaving.]
mikepack has quit [Remote host closed the connection]
farn_ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
Jackneill has quit [Ping timeout: 248 seconds]
dangerousdave has joined #ruby
saarinen has joined #ruby
felipe has joined #ruby
leoc has joined #ruby
devoldmx has quit [Ping timeout: 276 seconds]
pipework has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 245 seconds]
jrbing has left #ruby [#ruby]
harrymoreno has joined #ruby
r0bby is now known as robbyoconnor
ry4nn has joined #ruby
telling has joined #ruby
monkegjinni has joined #ruby
pskosinski has joined #ruby
sindork_ has joined #ruby
cj3kim has joined #ruby
nezumi has joined #ruby
timonv has joined #ruby
nomenkun has joined #ruby
redgirl has joined #ruby
nezumi has quit [Ping timeout: 240 seconds]
sgkim126l has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
Azulinho has joined #ruby
burlyscudd has joined #ruby
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bklane has quit [Remote host closed the connection]
germanstudent has joined #ruby
verto has joined #ruby
adambeynon has joined #ruby
Rumsteak_ has joined #ruby
nezumi has joined #ruby
<leoc>
Hi, I am trying to write a c extension gem, which includes a c++ library. It´s called openzwave. I call have_library('stdc++') and have_library('openzwave') the first works the latter doesn't. I tried to find out the mangled function name via `nm`. Still no luck. Is there something special I have to take care of before linking a c++ library?
sindork_ has quit [Ping timeout: 240 seconds]
pskosinski has quit [Ping timeout: 240 seconds]
BlakeRG_ has joined #ruby
BlakeRG_ has quit [Client Quit]
BlakeRG has quit [Ping timeout: 240 seconds]
Rumsteak has quit [Ping timeout: 276 seconds]
pskosinski has joined #ruby
Rumsteak_ is now known as Rumsteak
sindork has joined #ruby
Floydzy has joined #ruby
dougireton has quit [Ping timeout: 246 seconds]
sayan has quit [Ping timeout: 260 seconds]
DonRichie has quit [Quit: Verlassend]
redgirl has quit [Quit: Leaving]
afd__ has quit [Ping timeout: 256 seconds]
ivanoats has joined #ruby
tommyvyo has quit [Ping timeout: 264 seconds]
Naeblis|XChat has quit [Quit: Leaving]
mocfive has quit [Remote host closed the connection]
<rismoney>
i am using this line @ips = @data['network::ipconfig'].map { |element| element.values.first.values.first["ipaddress"]} but I only want the values in the new array to be if element.values.first.keys == 'foo' or 'bar'
xardas has joined #ruby
diadara has quit [Remote host closed the connection]
geekbri has quit [Remote host closed the connection]
<davidcelis>
rismoney: do a #select first with that condition, then
Alina-malina has joined #ruby
headius has quit [Quit: headius]
mercwithamouth has joined #ruby
pinpin404 has quit [Ping timeout: 246 seconds]
ferno has joined #ruby
byprdct has joined #ruby
devoldmx has joined #ruby
devoldmx27 has quit [Read error: Connection reset by peer]
<ravster>
how do I download the latest jruby using rbenv? I can't find that in the readme.
ldnunes has quit [Quit: Leaving]
arya has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
<havenwood>
ravster: Another option (new) is ruby-install. Download latest JRuby with: ruby-install jruby
<havenwood>
ravster: But with ruby-build: ruby-build jruby-1.7.4
xardas has quit [Changing host]
xardas has joined #ruby
naquad has joined #ruby
coderhs has joined #ruby
geggam has quit [Remote host closed the connection]
<ravster>
havenwood: great. Thank you.
<ravster>
I'll look at both of those
v0n has quit [Ping timeout: 264 seconds]
<rismoney>
davidcelis can't seem to make it work
interactionjaxsn has quit [Ping timeout: 256 seconds]
<davidcelis>
rismoney: gist
pcarrier_ has joined #ruby
cj3kim has joined #ruby
awarner_ has joined #ruby
aspiers has joined #ruby
wolcanus has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
<rismoney>
davidcelis i don't have anything beyond the one line, because my source is a yaml file:(
wolcanus has joined #ruby
ivanoats_ has quit [Remote host closed the connection]
ntus1017 has quit [Remote host closed the connection]
awarner has quit [Ping timeout: 256 seconds]
timonv has joined #ruby
jbinto has quit [Remote host closed the connection]
ivanoats has joined #ruby
solidoodlesuppor has quit [Quit: ChatZilla 0.9.90 [Firefox 21.0/20130511120803]]
Banistergalaxy has quit [Ping timeout: 246 seconds]
momomomomo has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
jbinto has joined #ruby
bionhart has quit [Remote host closed the connection]
<apeiros>
rismoney: element.values.first.keys == 'foo' or 'bar' # makes no sense, .keys is an array…
<apeiros>
so do you mean == ['foo'], i.e. the hash contains only a single key named 'foo'?
osvico has joined #ruby
Appineer has joined #ruby
jbinto has quit [Remote host closed the connection]
reset has quit [Quit: Leaving...]
<rismoney>
yes, thats right, .keys is an array. i need to check each element of the array and if the element == 'foo' then I want to grab the subkey ip address data
<apeiros>
errr… what?
noname001_ has quit [Remote host closed the connection]
<apeiros>
you mean you really want element.values['foo']?
<apeiros>
because… accessing by key is the purpose of hashes…
thebastl has quit [Read error: Connection reset by peer]
thebastl has joined #ruby
<rismoney>
yes that is correct
huttan has joined #ruby
Spaceghost|work has joined #ruby
adkron__ has joined #ruby
banjara1 has joined #ruby
jlast_ has joined #ruby
mahlon_ has quit [Read error: Connection reset by peer]
centr0_ has joined #ruby
rads has joined #ruby
Spooner has joined #ruby
jlast has quit [Read error: Connection reset by peer]
<apeiros>
then… do that? what stops you?
verto has quit [Ping timeout: 276 seconds]
banjara has quit [Ping timeout: 276 seconds]
suporte85 has quit [Quit: Saindo]
mahlon_ has joined #ruby
centr0 has quit [Ping timeout: 276 seconds]
centr0_ is now known as centr0
huttan_ has quit [Ping timeout: 276 seconds]
adkron has quit [Ping timeout: 276 seconds]
seejohnr1n has quit [Quit: leaving]
Kar- has quit []
pipework has quit [Ping timeout: 276 seconds]
codecop has quit [Quit: Išeinu]
speakingcode-wor has quit [Quit: Lost terminal]
nalaginrut has quit [Ping timeout: 256 seconds]
bionhart has joined #ruby
DanKnox is now known as DanKnox_away
[m]adman has quit [Quit: —I-n-v-i-s-i-o-n— 3.3 (November '11)]
Inoperable is now known as Inoperable_AWY
angusiguess has joined #ruby
thebastl has quit [Remote host closed the connection]
mikepack has joined #ruby
afd__ has quit [Ping timeout: 245 seconds]
reset has joined #ruby
Criztian has joined #ruby
jdunck has joined #ruby
evenix has quit [Remote host closed the connection]
DanKnox_away is now known as DanKnox
evenix has joined #ruby
<rismoney>
apeiros - so here is the data representation: foo={"pcad01"=>{"mgmt405"=>{"ip"=>"1.2.3.4"}}}, {"pcad02"=>{"mgmt407"=>{"ip"=>"1.2.3.4"}}}
nettoweb has quit [Quit: nettoweb]
mljsimone is now known as mljsimone|bnc
BadDesign has quit [Read error: Connection reset by peer]
Inoperable_AWY is now known as inoperable
ybart has quit [Read error: Connection reset by peer]
chichou has joined #ruby
ij has quit [Read error: Connection reset by peer]
<apeiros>
single-key-hashes are somewhat missing the point of using a hash…
ybart has joined #ruby
Criztian has quit [Remote host closed the connection]
teclator has quit [Ping timeout: 246 seconds]
momomomomo has quit [Quit: momomomomo]
ij has joined #ruby
timonv has quit [Remote host closed the connection]
<rismoney>
its a much more complicated hash, but for simplicity i snipped
nalaginrut has joined #ruby
Eaven has joined #ruby
Appineer has quit [Ping timeout: 240 seconds]
afd__ has joined #ruby
Xeago_ has quit [Ping timeout: 250 seconds]
robscomputer has quit [Read error: Connection reset by peer]
<rismoney>
ultimately i am trying to find dupe ip's but i am only interested in mgmt407 entries
robscomputer has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
Dummies_freelanc has quit [Read error: Connection reset by peer]
harrymoreno_ has joined #ruby
harrymoreno has quit [Ping timeout: 260 seconds]
harrymoreno_ is now known as harrymoreno
terrellt_ has quit [Ping timeout: 256 seconds]
pinpin404 has quit [Read error: Connection reset by peer]
evenix has quit [Ping timeout: 256 seconds]
<rismoney>
thats why i am doing a ip = foo.map { |element| element.values.first.values.first["ip"]} but it gives me every interface, i want to pick and chooose
robscomputer_ has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
defaultro_ has quit [Ping timeout: 250 seconds]
Michae___ has quit [Remote host closed the connection]
Michae___ has joined #ruby
acrussell has quit [Quit: Leaving.]
instinkt has quit [Quit: Lost terminal]
robscomp_ has joined #ruby
vlad_starkov has joined #ruby
robscomp_ has quit [Read error: Connection reset by peer]
camt has joined #ruby
robscomputer has quit [Ping timeout: 260 seconds]
robscomputer_ has quit [Read error: Connection reset by peer]
teclator has joined #ruby
robscomputer has joined #ruby
DanKnox is now known as DanKnox_away
Dummies_freelanc has joined #ruby
Dummies_freelanc has quit [Max SendQ exceeded]
verto has joined #ruby
Spami has quit [Ping timeout: 246 seconds]
Spaceghost|work has quit [Remote host closed the connection]
leoc has quit [Read error: Connection reset by peer]
mklappstuhl has joined #ruby
MrZYX|off is now known as MrZYX
harrymoreno has quit [Ping timeout: 256 seconds]
failshell has quit [Remote host closed the connection]
ehaliewicz has joined #ruby
harrymoreno has joined #ruby
arya has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
Evixion has quit []
chson has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
ffranz1 is now known as ffranz
ariedler_ has quit [Remote host closed the connection]
pothibo has quit [Quit: pothibo]
_Andres has quit [Ping timeout: 260 seconds]
ninjabot has joined #ruby
Senjai has quit [Ping timeout: 245 seconds]
pothibo has joined #ruby
arya has joined #ruby
thebastl has joined #ruby
leonidlm has quit [Ping timeout: 276 seconds]
jbueza1 has quit [Quit: Leaving.]
forrest has quit [Quit: Leaving]
kirun has quit [Quit: Client exiting]
jgoss has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
tjbiddle_ has joined #ruby
chrishunt has quit [Quit: ZzZzZz...]
Sp4rKy_ is now known as Sp4rKy
workmad3 has quit [Ping timeout: 245 seconds]
inoperable is now known as Inoperable_AWY
tjbiddle has quit [Ping timeout: 256 seconds]
tjbiddle_ is now known as tjbiddle
tommyvyo has joined #ruby
larissa has joined #ruby
breakingthings has quit [Quit: breakingthings]
mashed_potato has quit [Remote host closed the connection]
Spooner has quit [Remote host closed the connection]
tjbiddle has quit [Quit: tjbiddle]
xardas has quit [Ping timeout: 276 seconds]
dustint has quit [Quit: Leaving]
RORgasm has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
nomenkun has joined #ruby
harrymoreno_ has joined #ruby
harrymoreno has quit [Ping timeout: 276 seconds]
harrymoreno_ is now known as harrymoreno
teclator has joined #ruby
splittingred has quit [Quit: splittingred]
newUser1_ has quit [Remote host closed the connection]
slainer68 has joined #ruby
Animawish has quit [Quit: Animawish]
baroquebobcat has joined #ruby
awarner_ has quit [Ping timeout: 260 seconds]
Spooner has joined #ruby
nomenkun has quit [Ping timeout: 260 seconds]
baroquebobcat has quit [Client Quit]
yekta has quit [Quit: yekta]
akells` has quit [Remote host closed the connection]
Ortuna has joined #ruby
devoldmx3 has joined #ruby
dcunit3d has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
cmarques has quit [Ping timeout: 260 seconds]
sailias has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
fuzzyhorns has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 256 seconds]
emmanuelux has joined #ruby
thebastl has quit [Remote host closed the connection]
statarb3 has joined #ruby
statarb3 has joined #ruby
jonathanwallace has quit [Ping timeout: 256 seconds]
bubblehe_ has quit [Remote host closed the connection]
ninjabot has quit [Remote host closed the connection]
bubblehead has joined #ruby
vwoo has joined #ruby
ravster has quit [Quit: Leaving.]
sailias has quit [Quit: Leaving.]
JimmyNeutron has joined #ruby
<vwoo>
Does anyone know how to iterate a specific range of an array, but also maintain the index of the element in question properly? arr[4..9].map.with_index { |val, idx| } will give me idx values from 0 to 5.
agjacome has quit [Quit: leaving]
wolcanus has quit [Ping timeout: 256 seconds]
dayepa has quit [Ping timeout: 260 seconds]
awarner has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
ArchBeOS has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
tylersmith has joined #ruby
mklappst_ has joined #ruby
Evixion has joined #ruby
vwoo has quit [Ping timeout: 248 seconds]
mklappstuhl has quit [Ping timeout: 246 seconds]
bean has joined #ruby
bean has quit [Max SendQ exceeded]
skattyadz has quit [Quit: skattyadz]
bean has joined #ruby
bean has quit [Client Quit]
danslo has joined #ruby
toddWork_ has quit [Quit: toddWork_]
Meatant has joined #ruby
gyre007 has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
ezkl has joined #ruby
skattyadz has joined #ruby
stkowski has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
vwoo has joined #ruby
d2dchat has joined #ruby
Eaven has quit [Remote host closed the connection]
atno has joined #ruby
mercwithamouth has joined #ruby
arya has quit [Ping timeout: 276 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
DonRichie has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
Alina-malina has quit [Client Quit]
Alina-malina has joined #ruby
Mekkis_ has quit [Ping timeout: 245 seconds]
statarb3 has quit [Quit: Leaving]
icole_ has quit [Read error: Connection reset by peer]
apeiros has quit [Remote host closed the connection]
arya has joined #ruby
apeiros has joined #ruby
icole has joined #ruby
luckyruby has quit [Remote host closed the connection]
devoldmx3 has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
vwoo has quit [Ping timeout: 240 seconds]
vwoo has joined #ruby
vlad_starkov has joined #ruby
icole has quit [Ping timeout: 240 seconds]
icole_ has joined #ruby
echevemaster is now known as echeve
harrymoreno has quit [Ping timeout: 240 seconds]
devoldmx has quit [Ping timeout: 246 seconds]
Spami has quit [Ping timeout: 276 seconds]
icole_ has quit [Read error: Connection reset by peer]
SuPrbly has joined #ruby
harrymoreno has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
Azulinho has joined #ruby
<SuPrbly>
Hi, Iam just starting to learn Ruby, are there any awesome books you guys can recommend?
vlad_starkov has quit [Ping timeout: 248 seconds]
osvico has quit [Ping timeout: 256 seconds]
Bleah has quit [Ping timeout: 264 seconds]
alex__c2022 has joined #ruby
jtharris has quit [Quit: WeeChat 0.4.0]
rhys has quit [Quit: Leaving]
theRoUS has quit [Ping timeout: 260 seconds]
vwoo has quit [Ping timeout: 240 seconds]
SuPrbly has left #ruby [#ruby]
Opettaja has joined #ruby
gasbakid has quit [Read error: Connection reset by peer]
alex__c2022 has quit [Ping timeout: 276 seconds]
vwoo has joined #ruby
cj3kim has quit [Remote host closed the connection]
arya has quit [Ping timeout: 276 seconds]
slash_nick is now known as slash_quit
tjbiddle has joined #ruby
ybart has quit [Quit: ybart]
Davey has joined #ruby
arya has joined #ruby
tomsthumb has quit [Quit: Leaving.]
robbyoconnor has joined #ruby
orien has joined #ruby
afd__ has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Ping timeout: 260 seconds]
saarinen has quit [Quit: saarinen]
MrZYX is now known as MrZYX|off
phipes has quit [Quit: phipes]
statarb3 has joined #ruby
statarb3 has joined #ruby
18WADNBMV is now known as bean
chichou has quit [Remote host closed the connection]
Michae___ has joined #ruby
Eaven has joined #ruby
robscomputer has quit [Ping timeout: 241 seconds]
slash_quit has quit [Ping timeout: 246 seconds]
tootubular has quit [Quit: tootubular]
vwoo has quit [Quit: Computer has gone to sleep.]
harrymoreno_ has joined #ruby
afd__ has joined #ruby
harrymoreno has quit [Ping timeout: 248 seconds]
harrymoreno_ is now known as harrymoreno
pskosinski has quit [Quit: pskosinski]
mikepack has quit [Remote host closed the connection]
InFlames has joined #ruby
gstamp_ has joined #ruby
robscomputer has joined #ruby
takeru has joined #ruby
Mekkis has joined #ruby
aspiers has quit [Ping timeout: 256 seconds]
nkts has joined #ruby
cj3kim has joined #ruby
coderhs has quit [Ping timeout: 256 seconds]
nezumi has joined #ruby
takeru has quit [Ping timeout: 246 seconds]
mikepack has joined #ruby
brianpWins has quit [Quit: brianpWins]
troessner has joined #ruby
stkowski has quit [Quit: stkowski]
jbueza has joined #ruby
harrymoreno_ has joined #ruby
chichou has joined #ruby
pcarrier_ has quit [Quit: Computer has gone to sleep.]
harrymoreno has quit [Ping timeout: 276 seconds]
harrymoreno_ is now known as harrymoreno
chrishunt has joined #ruby
devoldmx has joined #ruby
d2dchat has quit [Remote host closed the connection]
wsterling has quit [Remote host closed the connection]
jimeh_ has quit [Quit: Computer has gone to sleep.]
Ortuna has quit [Quit: Computer has gone to sleep.]
justsee has quit [Ping timeout: 256 seconds]
jimeh_ has joined #ruby
anonymuse has quit [Quit: Leaving...]
statarb3 has quit [Quit: Leaving]
obs has quit [Ping timeout: 248 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
pcarrier_ has joined #ruby
Myconix has joined #ruby
khismetix has joined #ruby
obs has joined #ruby
icole has joined #ruby
jimeh_ has quit [Client Quit]
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
mocfive has quit [Remote host closed the connection]
predator217 has joined #ruby
statarb3 has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 248 seconds]
mrsolo has quit [Quit: Leaving]
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
phipes has joined #ruby
poga_ has joined #ruby
Soliah has joined #ruby
Ortuna has joined #ruby
poga has quit [Ping timeout: 260 seconds]
predator117 has quit [Ping timeout: 248 seconds]
_maes_ has joined #ruby
rads has quit [Quit: rads]
h4mz1d has joined #ruby
tylersmith has quit [Remote host closed the connection]
chson has joined #ruby
dmiller has joined #ruby
Mekkis has quit [Ping timeout: 245 seconds]
wargasm has quit [Read error: Connection reset by peer]
obs has quit [Ping timeout: 260 seconds]
bionhart has quit [Remote host closed the connection]
InFlames has quit [Quit: This computer has gone to sleep]
statarb3 has quit [Quit: Leaving]
Proshot has quit [Ping timeout: 256 seconds]
Proshot has joined #ruby
Mekkis has joined #ruby
arya has quit [Ping timeout: 248 seconds]
Zeeraw has joined #ruby
Proshot has quit [Client Quit]
Proshot has joined #ruby
phipes has quit [Quit: phipes]
Floydzy has left #ruby [#ruby]
LennyLin_ has quit [Remote host closed the connection]
viszu has joined #ruby
Xeago has quit [Remote host closed the connection]
DanKnox_away is now known as DanKnox
Dummies_freelanc has joined #ruby
ged_ is now known as ged
arya has joined #ruby
r0bgl33s0n is now known as r0bgleeson
boshhead has quit [Quit: brb]
poga_ has quit [Remote host closed the connection]