Radar changed the topic of #ruby to: Can't talk? Register/identify with Nickserv first! || http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
keen_ has joined #ruby
davidhq has quit [Ping timeout: 272 seconds]
cyrus_mc has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cyrus_mc> attempting to debug an error in an open source ruby app. Receive undefined method sort_by! for #<Array:...>. The line of code is responses.sort_by! { |r| r[:sender] }
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
<cyrus_mc> sort_by is a valid method for Arrays. Just wondering if the negation sign at the end is valid syntax and if so what that signifies
reinaldob has joined #ruby
<bricker> cyrus_mc: it's not negation there, it's part of the method name
<cyrus_mc> bricker: ok. so it identifies the object as an array, to which sort_by is a valid method.
reinaldob has quit [Remote host closed the connection]
That1Guy has joined #ruby
gkra_ is now known as gkra
reinaldob has joined #ruby
<bricker> cyrus_mc: sort_by! was added in Ruby 1.9.3, make sure you're on at least that version
<bricker> 1.9.2 actually
<bricker> but it doesn't matter, you should be on 2.x
<cyrus_mc> bricker: that is it. On CentOS 6 and it has 1.8.7
<bricker> cyrus_mc: time to upgrade :) 1.8.7 is two years EOL'd now
<bricker> 2=
<bricker> 2+
diegoaguilar has quit [Remote host closed the connection]
<cyrus_mc> bricker: ya. I will roll my own package
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
orionstein_away is now known as orionstein
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neohunter has joined #ruby
hornairs has joined #ruby
mbwe has quit [Quit: WeeChat 0.4.2]
mbwe has joined #ruby
mbwe has quit [Client Quit]
thoffmeyer has joined #ruby
thoffmeyer has joined #ruby
reinaldob has quit [Ping timeout: 244 seconds]
gusrub has quit [Quit: Leaving]
arescorpio has joined #ruby
astrobunny has joined #ruby
x1337807x has quit [Ping timeout: 265 seconds]
MatthewsFace has quit [Remote host closed the connection]
akurilin2 has joined #ruby
devoldmx has joined #ruby
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devoldmx has quit [Remote host closed the connection]
akurilin has quit [Ping timeout: 272 seconds]
devoldmx has joined #ruby
Guest1421 has quit [Ping timeout: 240 seconds]
_blizzy_ has quit [Quit: Leaving]
Irfan_A has joined #ruby
_blizzy_ has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
psy_ has quit [Ping timeout: 265 seconds]
That1Guy has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1.1]
diegoviola has joined #ruby
serivich has quit [Ping timeout: 256 seconds]
veduardo has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
snockerton has quit [Quit: Leaving.]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
That1Guy has quit [Client Quit]
ramfjord_ has quit [Ping timeout: 258 seconds]
DynamicMetaFlow has joined #ruby
<neohunter> i have a very basic and dumb question
<neohunter> im building a gem.
scripore has joined #ruby
oo_ has joined #ruby
<neohunter> and im playing with it on my application, i use gem install --local to install the .gem file.
<neohunter> how I can do a require, from the other path where i have the gem
<neohunter> so i dont need to build the gem and install again each time i make changes
That1Guy has joined #ruby
Irfan_A has left #ruby [#ruby]
<neohunter> just for development / debugging purporses
scripore has quit [Client Quit]
reinaldob has joined #ruby
fella5s has quit [Read error: Connection reset by peer]
Musashi007 has joined #ruby
quimrstorres has quit [Remote host closed the connection]
That1Guy has quit [Client Quit]
veduardo has quit [Ping timeout: 256 seconds]
Musashi007 has quit [Client Quit]
Musashi007 has joined #ruby
blazes816 has quit [Remote host closed the connection]
reinaldob has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
bricker has quit [Quit: leaving]
bootstrappm has left #ruby [#ruby]
devoldmx has quit [Ping timeout: 246 seconds]
devoldmx has joined #ruby
IrishGringo has joined #ruby
ramfjord has joined #ruby
scripore has joined #ruby
<neohunter> why this doesnt work if file exists: require 'lib/file.rb'
sami has quit [Ping timeout: 272 seconds]
<neohunter> how i can know what is the path that require is using?
<neohunter> i'm not able to include a file in a subfolder using a pry session
<neohunter> `require': cannot load such file -
endash has joined #ruby
<neohunter> neither works with require_relative
<neohunter> is somebody here :)?
DynamicMetaFlow has quit [Remote host closed the connection]
chipotle has joined #ruby
sargas has quit [Quit: Leaving]
nobitanobi has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
veduardo has joined #ruby
paulcsmith_ has joined #ruby
paulcsmith_ has quit [Client Quit]
hornairs has quit [Quit: hornairs]
maletor_ has quit [Ping timeout: 256 seconds]
DynamicMetaFlow has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
swgillespie has joined #ruby
DynamicMetaFlow has joined #ruby
That1Guy has joined #ruby
vikaton has joined #ruby
That1Guy has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
robustus has quit [Ping timeout: 264 seconds]
That1Guy has joined #ruby
zzxc has joined #ruby
charliesome has joined #ruby
EllisTAA has joined #ruby
<EllisTAA> should i use mac vim? i’m currrently using sublime but everyone says vim is the shit
maletor_ has joined #ruby
<wallerdev> up to you
DynamicMetaFlow has quit [Remote host closed the connection]
<wallerdev> its a personal preference thing
<gizmore> i like nano
<wallerdev> ive used vim, emacs and a bunch of other stuff but i use textmate for my day to day stuff
<weaksauce> I love vim but it's another thing to learn
veduardo has quit [Ping timeout: 272 seconds]
<wallerdev> i find learning emacs more useful for mac users than vim
veduardo_ has joined #ruby
<weaksauce> neohunter remove the .rb from the line
<wallerdev> since every text field on a mac supports a subset of emacs shortcuts
<weaksauce> and add ./ to the front of lib
robustus has joined #ruby
<EllisTAA> yeah i’ve heard people say emacs and vim are the best. so are they equally bad ass?
<weaksauce> nope
<weaksauce> vim is best
<wallerdev> lol
<weaksauce> :D
<eam> emacs is a lot better, emacs is a vi, vi isn't an emacs
<weaksauce> good thing too
orionstein is now known as orionstein_away
<wallerdev> its all opinions
<veduardo_> EllisTAA: +1 for weaksauce's answer
jtdowney has quit []
<wallerdev> just try them and stick with what you like
<wallerdev> theres no best
<EllisTAA> lol
<EllisTAA> ok will do
<EllisTAA> downloading emacs now
<eam> good man
meph has joined #ruby
al2o3-cr has joined #ruby
meph has quit [Client Quit]
<weaksauce> they are two very different approaches to text editing really. emacs is a bunch of awkward(imo) and unmemorable key chords with a bunch of different modes that you can be in each with different bindings. very programable and everything is easily programable from the get go.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<weaksauce> vim is a few different modes. mostly memorable key bindings. and the programming language to customize it is crap
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<EllisTAA> why would i need bindings?
<weaksauce> vim is a grammar that operates on text basically. daw means delete a word. ci" means change inner quotes etc.
<weaksauce> and you just need to be somewhere inside the quotes for it to find the first quote delete everything up to the next quote and then leave you in insert mode where you can type text
<EllisTAA> sounds archaic
rahult has joined #ruby
tus has quit []
michaeldeol has quit [Ping timeout: 264 seconds]
<weaksauce> not really. it's an extremely efficient way to edit.
<EllisTAA> interesting. i guess ill try it out
<EllisTAA> how long does it take someone to learn emacs or vim?
<weaksauce> eam how would you do the equivalent of ci" in emacs?
tkuchiki has joined #ruby
<weaksauce> or cit
kwekuanase has quit [Quit: Connection closed for inactivity]
<weaksauce> you never stop learning something new EllisTAA
jtdowney has joined #ruby
steffes has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<EllisTAA> gotcha
d34th4ck3r has joined #ruby
RegulationD has joined #ruby
iteratorP has joined #ruby
pocketprotector has joined #ruby
daed_ has left #ruby [#ruby]
daed has joined #ruby
Xiti has joined #ruby
<eam> weaksauce: well personally I load viper-mode and apply exactly the same keystrokes
<eam> vi keybindings are great -- it's the engine that sucks
<eam> who wants to write vimscript?
<weaksauce> ah. were you a proficient vim user before moving over to emacs/
<weaksauce> ?
<eam> yeah
<eam> well, pre-vim
RegulationD has quit [Ping timeout: 256 seconds]
<weaksauce> how do you find the emulator? does it have some of the more powerful things in vim?
lidenskap has quit [Remote host closed the connection]
<eam> well, it's just keybindings, and it works well. emacs stuff is accessible too
<weaksauce> macros, multichord bindings, powerful remappings
<eam> I use a mix, actually
lidenskap has joined #ruby
<al2o3-cr> nano ftw ^-^
hornairs has joined #ruby
<weaksauce> I am excited for neovim to fix the programability problem
devoldmx has quit [Remote host closed the connection]
<weaksauce> lua will be a first class citizen and that's not a bad language to program in
iasoon has quit [Ping timeout: 252 seconds]
<al2o3-cr> gotta give nano some love :)
<eam> weaksauce: why not just do the emacs thing?
<eam> elisp is pretty ok
maletor_ has quit [Quit: Computer has gone to sleep.]
<weaksauce> I played with it for a while a long time ago but the vim emulators were wonky
x1337807x has joined #ruby
<weaksauce> missing some important parts
hornairs has quit [Client Quit]
claptor has joined #ruby
havenwood has quit []
avarice has joined #ruby
<eam> some of the defaults are dumb, like delays on entering command mode
<eam> it takes some setup
<al2o3-cr> >> true
<ruboto> al2o3-cr # => true (https://eval.in/356025)
Porfa_ has quit [Quit: Porfa_]
<weaksauce> al2o3-cr why nano?
<al2o3-cr> weaksauce: jk :)
sami has joined #ruby
<weaksauce> ha
<al2o3-cr> use whatever floats your boat :)
<eam> weaksauce: surely anything missing in the vim emu exists in the emacs side :)
Musashi007 has quit [Quit: Musashi007]
<weaksauce> lol
<weaksauce> can you type jj to exit insert mode if you map it?
<weaksauce> inoremap jj <esc>
<weaksauce> that's a big one to me
<eam> sure, but I don't think so via the vim layer
lidenskap has quit [Remote host closed the connection]
* Nilium just binds capslock to escape
Musashi007 has joined #ruby
<Nilium> Though this screws me up when I'm on other people's computers
<eam> a multi-key sequence results in a delay, no?
<eam> Nilium: capslock is ctrl for me
willgorman|away has quit [Ping timeout: 255 seconds]
<Nilium> I'd think it would only introduce a delay if there were more potential mappings following it
<Nilium> For insert mode, jj is probably instantaneous.
<eam> well I mean, do you not want jj inserted?
<weaksauce> no
<weaksauce> jj exits insert mode immediately
<Nilium> If you map jj to escape, you won't insert it
<Nilium> Vim will swallow it
<Nilium> If you type ja it might not show the j until you hit a for a small amount of time.
<eam> yeah I realize, what I'm saying is that for any multi-sequence you have to have some kind of timeout
ruby964 has joined #ruby
<eam> Nilium: yeah that's what I mean
<Nilium> If you type just j, it might not show up for a second, but the timeout is configurable.
sevvie has quit [Ping timeout: 256 seconds]
<eam> same issue with taps vs tap-drag on phones
<weaksauce> it inserts the first j then when the next one happens it eats the first and exits insert
<eam> I can't tolerate time-based sequences
<Nilium> I keep mine around 250ms
<eam> I disable them
<eam> emacs does do that by default in vim mode btw
<eam> (setq viper-ESC-keyseq-timeout 0)
<Nilium> I think the 200-300ms range is usually good enough for typing, but I also don't do insert-mode mappings.
<eam> 200ms kills me
<weaksauce> eam the time delay sequences are not there. only if you want to insert a j that doesn't have anything else following it
<Nilium> In general, the only key mappings I do have are for normal/visual/etc.
<al2o3-cr> vim you gotta love it !gist % and BOOM!
<eam> weaksauce: yeah, but it'd drive me nuts
<Nilium> Insert only has mappings for control combos
<eam> ssh does the same thing, with ~
<weaksauce> so if you type `just` in insert mode it will insert just immediately
<eam> luckily I rarely type ~
tuelz has joined #ruby
DerisiveLogic has joined #ruby
<weaksauce> what part about it would annoy you?
<weaksauce> there is no waiting in general
FernandoBasso has quit [Quit: leaving]
<eam> I don't see the visual response I expect and it distracts me
<tuelz> what's the appropriate way to turn a file into a file object and pass it around safely? Just open it up and hope they close it when they are done with it?
veduardo_ has quit [Ping timeout: 264 seconds]
<eam> tuelz: depends what you want to pass around
jespada has quit [Ping timeout: 256 seconds]
<tuelz> I've always just passed around filenames, but this stubbed out class is asking me to to return a file object
dorei has quit []
<tuelz> it's just a pdf
<eam> returning a descriptor is fine
Limix has joined #ruby
<tuelz> what is a file descriptor? Just a file path?
robbyoconnor has joined #ruby
zzxc has quit [Ping timeout: 272 seconds]
mase-chatter has joined #ruby
<eam> when you open a file, a descriptor is generated. File objects represent this as a class
<tuelz> gotcha, thanks
<eam> internally it's just an integer indexing into a table in the kernel
<tuelz> ahh, cool. Thanks
ruby964 has quit [Ping timeout: 246 seconds]
diegoaguilar has joined #ruby
mase-chatter has quit [Client Quit]
maletor_ has joined #ruby
almostworking has joined #ruby
ruby136 has joined #ruby
willgorman has joined #ruby
krisquigley has joined #ruby
wallerdev has quit [Quit: wallerdev]
Spami has joined #ruby
ruby136 has quit [Changing host]
ruby136 has joined #ruby
ruby136 has joined #ruby
<ruby136> ayyyy. it worked
ruby136 is now known as dudedudeman_
zotherstupidguy has joined #ruby
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bira has joined #ruby
Guest1421 has joined #ruby
almostworking has left #ruby ["Leaving"]
Timba-as has quit [Quit: Be back later ...]
mase-chatter has joined #ruby
baweaver has quit [Remote host closed the connection]
akurilin2 has quit [Read error: Connection reset by peer]
Bira has quit [Quit: Leaving]
akurilin2 has joined #ruby
multi_io has quit [Ping timeout: 246 seconds]
<dudedudeman_> hey guys. does anyone know a good channel for bootstrap questions?
<weaksauce> you could try #css
<dudedudeman_> i've applied bootstrap to my app, but it's only showing up on like, 60% of my pages. it's not applying it to all of them(using a layout to apply it through a <%= yield %>
weemsledeux has joined #ruby
multi_io has joined #ruby
<dudedudeman_> i'll take a visit over there, weaksauce thanks
Bira has joined #ruby
<weaksauce> probably more of a sinatra question though
<weaksauce> you can pm me the site again and I can take a look dudedudeman_
<weaksauce> repo*
<dudedudeman_> will do!
<al2o3-cr> q haml v erb ?
<weaksauce> haml
veduardo_ has joined #ruby
iotouch has joined #ruby
<al2o3-cr> weaksauce: why?
<weaksauce> it's way nicer to use al2o3-cr
<weaksauce> way way way nicer
<al2o3-cr> weaksauce: agreed :)
bmusson has joined #ruby
<dudedudeman_> i decided to stick with erb as a newer person to all of this, because i didn't want to learn another 'language' and syntax while i'm throwing myself at ruby
<weaksauce> you don't have to close tags. commenting is nested. when you comment out a line with nerdcommenter it actually comments out the line without having to add a space between the %>
nobitanobi has joined #ruby
duderonomy has quit [Ping timeout: 256 seconds]
<al2o3-cr> weaksauce: ftw
<dudedudeman_> that makes a lot of sense
felixjet_ has joined #ruby
<al2o3-cr> and it's creator :)
<weaksauce> it's a lot more readable too
<weaksauce> you are?
<weaksauce> ha nice
<al2o3-cr> weaksauce: no no no
<weaksauce> ha
<dudedudeman_> wait
<dudedudeman_> is the creator of haml sittign right here?!
<al2o3-cr> dudedudeman_: :)
<dudedudeman_> what in the world
<dudedudeman_> i must go learn it now
<dudedudeman_> lol
veduardo_ has quit [Ping timeout: 256 seconds]
<al2o3-cr> matz == genius incognito
felixjet__ has quit [Ping timeout: 256 seconds]
mistermocha has joined #ruby
<dudedudeman_> wait.
<al2o3-cr> why?
<dudedudeman_> you're hampton catlin?
<Radar> lol
<Radar> LOL
<Radar> dudedudeman_: You're funny
tuelz has quit [Ping timeout: 256 seconds]
<dudedudeman_> i mean, hey, weirder things have happened
<al2o3-cr> >> a=[b=0]*2; [a,b]
<ruboto> al2o3-cr # => [[0, 0], 0] (https://eval.in/356085)
<al2o3-cr> Radar:
<Radar> al2o3-cr:
<al2o3-cr> Radar:
<Radar> al2o3-cr:
<Radar> dudedudeman_: Did you know I wrote a book?! :O
<al2o3-cr> ?
<Radar> al2o3-cr: ?
rkazak has joined #ruby
<al2o3-cr> hehe
<dudedudeman_> i must read all the books
JDiPierro has quit [Remote host closed the connection]
<Radar> TIL al2o3-cr is gr33n7007h
<al2o3-cr> and?
<Radar> I didn't know.
<al2o3-cr> ok
nobitanobi has quit [Remote host closed the connection]
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
vikaton has quit []
<dudedudeman_> weaksauce: i just jumped in #css
<dudedudeman_> we'll see what happens
ghr has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
gizmore has joined #ruby
<al2o3-cr> nicked for a reason :)
reinaldob has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
<dudedudeman_> so, al2o3-cr...
<al2o3-cr> yeah?
<dudedudeman_> are you really the one?
<al2o3-cr> dudedudeman_: yeah
<dudedudeman_> well. that's pretty freaking awesome
<al2o3-cr> well, ty
<dudedudeman_> now i feel bad for saying i haven't been learning haml. lol
mase-chatter has left #ruby [#ruby]
mase-chatter has joined #ruby
reinaldob has quit [Remote host closed the connection]
Rickmasta has joined #ruby
<al2o3-cr> i use ruby for the love of ruby not all this web shite
poguez_ has quit [Quit: Connection closed for inactivity]
That1Guy has joined #ruby
Rickmasta has quit [Max SendQ exceeded]
<mase-chatter> !
ghr has quit [Ping timeout: 255 seconds]
<dudedudeman_> i like building tools, so if it needs to be a web tool, i guess i don't mind that so much. :)
reinaldob has joined #ruby
Rickmasta has joined #ruby
mase-chatter has quit [Quit: Leaving]
reinaldob has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
mase-chatter has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<al2o3-cr> if you need a tool use it
reinaldob has joined #ruby
cryptarium has joined #ruby
steffes has quit []
Musashi007 has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
mase-chatter has quit [Client Quit]
mase_chatter2 has joined #ruby
<al2o3-cr> best thing about ruby is blocks imho
mase_chatter2 has quit [Read error: Connection reset by peer]
mase-chatter has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
mase-chatter has quit [Client Quit]
reinaldob has joined #ruby
tuelz has joined #ruby
reinaldob has quit [Remote host closed the connection]
mase-chatter has joined #ruby
mase-chatter has quit [Client Quit]
reinaldob has joined #ruby
mase_chatter2 has joined #ruby
mase-chatter has joined #ruby
mase-chatter has quit [Read error: Connection reset by peer]
reinaldob has quit [Remote host closed the connection]
mase-chatter has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
reinaldob has joined #ruby
veduardo_ has joined #ruby
tcrypt has joined #ruby
Dreamer3 has quit [Remote host closed the connection]
simpyll has joined #ruby
<al2o3-cr> wow, man all these nulls
dblessing has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<al2o3-cr> did i miss a comma
<gizmore> more a coma
<al2o3-cr> gizmore: wow thanks
<gizmore> np
<al2o3-cr> :)
<gizmore> at your service, nulldeamon
<al2o3-cr> not a problem
Guest1421 has quit [Ping timeout: 246 seconds]
jtdowney has quit []
<gizmore> al2o3-cr: a ruby irc bot plugin that announces quotes hourly: http://pastebin.com/WjHaNye3
<ruboto> gizmore, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/498732e4e1b1da4e38b3
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<gizmore> feedback welcome
<gizmore> ruboto: get lost
tcrypt has quit [Client Quit]
reinaldob has quit [Remote host closed the connection]
<al2o3-cr> gizmore: i don't like it could you re-code it?
<gizmore> al2o3-cr: already on it
<gizmore> it´s now: objects_with_settings.run(:send_to)
<al2o3-cr> in japanese please
reinaldob has joined #ruby
<gizmore> lets play cards, dumbass
<gizmore> join #shadowlamb
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<al2o3-cr> dumbass hehe
<gizmore> give it a try, coward
<gizmore> join #shadowlamb
Musashi007 has quit [Quit: Musashi007]
<al2o3-cr> haha go suck a dummy
<gizmore> learn a language your mom acks
dh64 has quit [Quit: Konversation terminated!]
sevvie has joined #ruby
<al2o3-cr> give me more
rahult has joined #ruby
<gizmore> al2o3-cr: you look like a chemical formula to me.... ... dumbium?
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<al2o3-cr> gizmore: you gremlin
<gizmore> poke 1024,7
veduardo_ has quit [Ping timeout: 265 seconds]
<gizmore> poke 1025,9
<gizmore> poke 1026,26
<gizmore> you can stop this individual... well... you can´t even stop this individual
ramfjord has quit [Ping timeout: 256 seconds]
scripore has quit [Quit: This computer has gone to sleep]
reinaldob has quit [Ping timeout: 250 seconds]
<al2o3-cr> gizmore: well sounds like you got chucked down the stairs or threw at ...
Spami has joined #ruby
<gizmore> al2o3-cr: nah... i threw up
<gizmore> because i had to chat you
<gizmore> i just made a new usergroup for you.... "never excpected this"
<al2o3-cr> you're a fscking keyboard warrior prick
<gizmore> you are as lame as your ancestors
amclain has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Radar> !mute gizmore
EllisTAA has quit [Quit: EllisTAA]
<Radar> shhhhhhh
Soda has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 272 seconds]
<al2o3-cr> Radar: sorry :(
<Radar> al2o3-cr: np
djbkd has quit [Remote host closed the connection]
endash has quit [Quit: endash]
lkba has joined #ruby
rahult is now known as rahult_
rahult_ is now known as rahult
rahult is now known as rahult_
wolfleemeta___ has joined #ruby
keen__ has joined #ruby
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
icebourg has joined #ruby
<Radar> yay someone else earned themselves a perma-mute
keen_ has quit [Ping timeout: 246 seconds]
Guest1421 has joined #ruby
starless has quit [Quit: Leaving]
Skelz0r has quit [Ping timeout: 256 seconds]
bmusson has quit [Ping timeout: 246 seconds]
Skelz0r has joined #ruby
wolfleemeta__ has quit [Ping timeout: 264 seconds]
sevvie has quit [Ping timeout: 256 seconds]
lidenskap has joined #ruby
lidenskap has quit [Remote host closed the connection]
bahar has quit [Quit: ZNC - http://znc.in]
mozzarella has quit [Quit: WeeChat 1.1.1]
<dudedudeman_> weaksauce: it's a shat ton of css load errors in the console
lidenskap has joined #ruby
sevvie has joined #ruby
nateberkope has quit [Quit: Leaving...]
dblessing has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
nateberkopec has joined #ruby
sevvie has quit [Client Quit]
dblessing has quit [Client Quit]
nobitanobi has joined #ruby
veduardo_ has joined #ruby
mozzarella has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
amystephen has quit [Quit: amystephen]
wolfleemeta___ has quit [Remote host closed the connection]
wolfleemeta___ has joined #ruby
That1Guy has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
scripore has joined #ruby
msmith_ has joined #ruby
rodfersou has quit [Quit: leaving]
woodruffw has quit [Quit: And then he took off.]
Timba-as has joined #ruby
woodruffw has joined #ruby
Sawbones has joined #ruby
Marvina has joined #ruby
<Marvina> Hi, is it possible to learn Ruby & RoR at the same time?
Limix has quit [Ping timeout: 256 seconds]
Guest1421 has quit [Ping timeout: 245 seconds]
veduardo_ has quit [Ping timeout: 256 seconds]
nahtnam has quit [Quit: Connection closed for inactivity]
duderonomy has joined #ruby
psy_ has joined #ruby
<Ropeney> yes Marvina, most books target that now
mary5030 has joined #ruby
<Marvina> Well, I come from another background so I'm a bit confused. Should I go read a beginners book about Ruby or what should I do to get started with RoR_
<Marvina> ?
User458764 has joined #ruby
<dudedudeman_> i'd say start with a few articles and books about ruby, and then if you want move to rails
shazaum has quit [Ping timeout: 252 seconds]
<dudedudeman_> i'm currently doing that, learning mostly ruby and just now starting to sprinkle in rails
<Ropeney> http://www.manning.com/bigg2/ good recommendations, buy the pre-release and its upto date with latest RoR
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
<Marvina> Did you read it or you just advertising for #ruby authors :)
<Ropeney> as i said, good recommendations
<mase-chatter> mixins?
scripore has quit [Quit: This computer has gone to sleep]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
That1Guy has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
lidenskap has quit [Remote host closed the connection]
RegulationD has joined #ruby
mitchellhenke has joined #ruby
lidenskap has joined #ruby
veduardo_ has joined #ruby
nobitanobi has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 244 seconds]
<zotherstupidguy> Marvina read about ruby
<Marvina> One of the best of the worst advices.
Jamo has quit [Remote host closed the connection]
<zotherstupidguy> ok, lets try again, whats your objective?
<zotherstupidguy> if you want to build a website with rails, then start with rails
<Marvina> I asked how to get started since I have previous experience in programming.
<zotherstupidguy> rails is unique
<zotherstupidguy> the things you will learn in plain ruby is not the same as rails things
phutchins has joined #ruby
<zotherstupidguy> so if you want to build a website with rails, go learn rails
<zotherstupidguy> if you want to understand ruby, then learn ruby first, then go read rails sourcecode to understand how it works, while you use it. will take you about 2 years to get there
<Marvina> How about Ruby? Some say learn Ruby first but that's a stupid advice. Because learning has different definitions so I don't know if they mean get familiar with it or master it.
<Encapsulation> zotherstupidguy, is that an argument to not learn basic ruby along with rails?
wolfleemeta____ has joined #ruby
<zotherstupidguy> Encapsulation i dont think it matters much, as the rails way is meant to be "the rails way"
braincrash has quit [Quit: bye bye]
<zotherstupidguy> Marvina you need to master rails to use rails, mastering ruby while not understanding how rails works, will get you nowhere
mase-chatter has quit [Quit: Leaving]
<Marvina> Yea but how much Ruby is necessary really. Some is, it's obvious. But how much, there's where I struggle.
Sawbones has quit [Remote host closed the connection]
<zotherstupidguy> Marvina ok watch codeschool recent rails videos and get a feel for it
avarice has quit [Quit: this channel is bakas]
<zotherstupidguy> join #rubyonrails
<Marvina> I have few books here, "Eloquent Ruby", "The Ruby Way", "OOP With Ruby" etc.
<Marvina> Dunno if I should read all?
wolfleemeta___ has quit [Ping timeout: 256 seconds]
<Marvina> They are small, 400 pages or so
phutchins has quit [Ping timeout: 258 seconds]
<zotherstupidguy> Marvina give it a try
veduardo_ has quit [Ping timeout: 272 seconds]
<Marvina> Which one?
<zotherstupidguy> Eloquent ruby
greenbagels has quit [Read error: Connection reset by peer]
<Marvina> Alright.
Channel6 has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Marvina> I have some previous experience in C if that helps, also C++ OOP stuff and such.
rahult has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<zotherstupidguy> C experiance is always cool; in ruby you may write C extenstions; to get the ruby way, experiance with perl or lisp might be more important, but not nescessary ofcourse
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
msmith_ has quit [Remote host closed the connection]
braincras has joined #ruby
reinaldob has joined #ruby
Rickmasta has joined #ruby
reinaldob has quit [Remote host closed the connection]
dfoolz has quit [Quit: ZNC - http://znc.in]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
P1RATEZ has quit [Quit: pc cooldown]
reinaldob has joined #ruby
scripore has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<Marvina> Yea I see. Well there are some differences as I read, 0 in Ruby means true and such. And that everything is an object. I might get stuck at some parts of the book but I can just google them up right? Or is it like in C or C++ that there is a lot of "theory" behind each target?
<Ropeney> Marvina, I've had the same annoyances coming from C
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<Marvina> Example in C++, a vector is a container, sure. But to understand vectors you have to spend time on them, but you can use them without fully understand the implementations of it.
reinaldob has joined #ruby
Dreamer3 has joined #ruby
reinaldob has quit [Remote host closed the connection]
tuelz has quit [Ping timeout: 250 seconds]
devoldmx has joined #ruby
pontiki has joined #ruby
reinaldob has joined #ruby
Porfa has quit [Quit: porfa]
reinaldob has quit [Remote host closed the connection]
diegoaguilar has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
djbkd has joined #ruby
dfoolz has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 272 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
charliesome has quit [Quit: zzz]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
pontiki has quit [Ping timeout: 244 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
astrobun_ has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
djbkd has quit [Ping timeout: 255 seconds]
devoldmx has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
ghr has joined #ruby
zotherstupidguy has quit [Quit: Lost terminal]
lidenskap has quit [Remote host closed the connection]
reinaldob has quit [Ping timeout: 272 seconds]
maletor_ has quit [Quit: Computer has gone to sleep.]
Porfa has joined #ruby
zotherstupidguy has joined #ruby
paradisaeidae has quit [Ping timeout: 276 seconds]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
That1Guy has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
slucx has joined #ruby
Porfa has quit [Client Quit]
paradisaeidae has joined #ruby
neohunter has quit [Quit: Textual IRC Client: www.textualapp.com]
devoldmx has joined #ruby
<Marvina> Hmm, ruby-full on Debian/Ubuntu will get the 1.9.3 version for Ruby. How come?
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Diranged has quit [Quit: Leaving.]
reinaldob has joined #ruby
freerobby has quit [Quit: Leaving.]
reinaldob has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
reinaldob has joined #ruby
devoldmx has quit [Remote host closed the connection]
Mohan_ has quit [Ping timeout: 276 seconds]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
d34th4ck3r has quit [Quit: zzz]
arescorpio has quit [Quit: Leaving.]
That1Guy has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest66261
n008f4g_ has quit [Ping timeout: 264 seconds]
akurilin2 has left #ruby [#ruby]
jeromelanteri has joined #ruby
mistermocha has quit [Remote host closed the connection]
<zotherstupidguy> Marvina try rbenv
<zotherstupidguy> Marvina rbenv https://github.com/sstephenson/rbenv
CloCkWeRX has quit [Read error: No route to host]
reinaldob has quit [Ping timeout: 256 seconds]
<zotherstupidguy> Marvina ruby-build https://github.com/sstephenson/ruby-build
<zotherstupidguy> after installing rbenv and ruby-build you can do somthing like `rbenv install ruby-2.0.0
codepete_ has joined #ruby
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
charliesome has joined #ruby
iotouch has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
jeromelanteri has quit [Ping timeout: 272 seconds]
iotouch has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CloCkWeRX1 has joined #ruby
CloCkWeRX has quit [Ping timeout: 265 seconds]
mary5030 has joined #ruby
oo_ has quit [Remote host closed the connection]
Limix has joined #ruby
ramfjord has joined #ruby
wldcordeiro_ has joined #ruby
oo_ has joined #ruby
jeromelanteri has joined #ruby
Deele has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
mary5030 has quit [Ping timeout: 256 seconds]
devoldmx has joined #ruby
pontiki has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
tuelz has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
iotouch has joined #ruby
icebourg has quit []
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
pdoherty has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vdamewood has joined #ruby
tuelz has quit [Ping timeout: 240 seconds]
starless has joined #ruby
lidenskap has joined #ruby
wldcordeiro_ has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Sawbones has joined #ruby
reinaldob has joined #ruby
wldcordeiro_ has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
thatslifeson has quit [Remote host closed the connection]
reinaldob has joined #ruby
hmsimha has joined #ruby
reinaldob has quit [Remote host closed the connection]
dudedudeman_ has quit []
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
That1Guy has joined #ruby
P1RATEZ has joined #ruby
reinaldob has joined #ruby
konsolebox has quit [Quit: Leaving]
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
That1Guy has quit [Client Quit]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
ghr has joined #ruby
icebourg has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
That1Guy has joined #ruby
bmusson has joined #ruby
<chipotle> so, stupid question: i'm new to ruby and web frameworks other than using drupal
<chipotle> drupal is obviously a dynamic php app
<chipotle> using something like jekyll or middleman is static. and they say a static blog is teh way to go
lrcezimbra has joined #ruby
<chipotle> butttt if it's static, how do you have things like blog comments? or a popular content block on the blog?
Sawbones has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
IrishGringo has joined #ruby
Musashi007 has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
<Radar> chipotle: I use jekyll for my blog at ryanbigg.com
<Radar> chipotle: The comments are powered by Disqus.
<Radar> I don't worry about popular content :)
<chipotle> Radar: oh. but what if you want your own commenting system, not disqus or fb comments?
That1Guy has quit [Client Quit]
<chipotle> i guess both of those are the preferred way of doing it, rather than dealing with comment spam yourself though, eh?
<Radar> chipotle: Then I would make it dynamic.
<chipotle> Radar: wait a second, you wrote rails 4 in action? holy shit
<Radar> Yes that's me
* zotherstupidguy :)
<Radar> I wrote it with Steve + Rebecca and a bunch of other people who contributed :)
<chipotle> yeah yeah
<chipotle> :)
<chipotle> i'm coming from a drupal world
<chipotle> i'm trying to become a real coder
<chipotle> but i feel a bit paralyzed
<Radar> That'll pass in time :)
<chipotle> there's just so much... if i want to be a backend web dev. there's ruby, js, js frameworks (just not jquery, i know that much), some html+css, a nosql db. i am really lost on how to begin. i don't even know what's involved in a non-web software app
<Radar> How much of Rails 4 in Action have you read?
bmusson has quit [Ping timeout: 255 seconds]
mikecmpbll has quit [Quit: ciao.]
astrobun_ has quit [Remote host closed the connection]
<Radar> It teaches the basics about Rails + working with databases and some sprinkling of JS in there. There's even a sub-current of Git in there :)
<chipotle> Radar: i'm still on the well grounded rubyist
<chipotle> i did buy the MEAP
<Radar> ah
<chipotle> from what i've been told, i need to read the well grounded rubyist to know how to program, then rails4 in action, to have a "cookbook" or tutorials?
<Radar> Don't stress about not knowing everything now. Just learn things as you need them.
<Radar> It sounds like you want to make a blog now. The Rails Getting Started guide covers that.
<Radar> Well-Grounded teaches you about Ruby and then in Rails 4 in Action you can use that knowledge to build a Rails app.
<Radar> You can also read R4IA without knowing Ruby. Just follow the bouncing ball.
<Radar> We've gone to great pains to make it easy to follow.
rohit_ has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
<chipotle> Radar: but, i am afraid to jump into tutorials without knowing how to program.
<chipotle> that's what happened with drupal
<chipotle> i got thrown into it years ago
<Radar> How much of Well-Grounded have you read?
<chipotle> i can piece things together, make a custom module in a hack approach
<chipotle> but i can't sit down and write a program in php, or ruby, yet, on my own
<chipotle> i've gone through chris pine's learn to program
<chipotle> and second chapter of well grounded
krz has joined #ruby
bmusson has joined #ruby
RegulationD has joined #ruby
wottam has joined #ruby
<rohit_> chipotle, can you give an example of what you mean by "a program"?
<Radar> Keep going through Well-Grounded, then I reckon :)
<chipotle> i'm trying to get a new job, so i wanna rewrite my personal site in ruby. just a simple couple of pages about me, hosting my CV, etc
<chipotle> so i thought now was a good time to try something
<chipotle> rohit_: heh, yeah, it's a bit abstract
<chipotle> in the drupal world, it means writing a module
<chipotle> an add on functionality to the drupal cms
<chipotle> in ruby, i'm sitll trying to figure it out
<chipotle> i know i write a few lines of code to solve a specific problem and name it n.rb
<chipotle> then i can run it
<chipotle> but that's it
<chipotle> :/
iotouch has joined #ruby
bmusson has quit [Ping timeout: 240 seconds]
<Radar> Yup, that's pretty much what the first two chapters cover :)
<chipotle> it's just hard to understand how rails ties into js, and a framework (wel, that makes sense. ruby is the programming language. rails is the framework app that is written in ruby). but how you use js to solve something, etc
<chipotle> i know what html and css is
<chipotle> i'm just lost
<chipotle> and i feel stuck because i don't know where to go
<chipotle> i haven't opened up the well grounded book in like 10 days
<chipotle> partly because i had surgery (cancer free now!), but partly because i just am overwhelmed and don't know what i'm doing
RegulationD has quit [Ping timeout: 256 seconds]
<Radar> chipotle: I think you've got two choices. You can keep reading Well Grounded or you can read through the first ... 5 chapters of Rails 4 in Action.
* chipotle comes from a theoretical physics background
<Radar> chipotle: Also go through the Getting Started Guide from guides.rubyonrails.org
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<Radar> I think building something in Rails will help you understand how it all fits together in the grand scheme.
<zotherstupidguy> chipotle watch this it will make you understand how web pogramming works https://www.youtube.com/watch?v=WpkDN78P884
<Radar> Oh man that's an hour long!
<Radar> Ain't nobody got time for that :P
<zotherstupidguy> its worth it! ;)
zzxc has joined #ruby
zzxc has joined #ruby
icebourg has quit []
rippa has joined #ruby
x1337807x has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x1337807x has quit [Max SendQ exceeded]
chipotle has quit [Excess Flood]
x1337807x has joined #ruby
chipotle has joined #ruby
<rohit_> chipotle, Well that's interesting. Maybe you can try writing a web app to do something related to theoretical physics? I don't know, may be take a few parameters from the user and run a simulation or something physics-y.
jeromelanteri has joined #ruby
oo_ has quit [Remote host closed the connection]
<chipotle> sorry i got dc'ed, did anybody say anything relevant after my comment radar why first five?
chipotle has quit [Excess Flood]
<Radar> and gone again
iotouch has quit [Quit: This computer has gone to sleep]
chipotle has joined #ruby
oo_ has joined #ruby
<chipotle> what the hell??
<chipotle> why do i keep getting flood dc'ed
reinaldob has joined #ruby
zzxc has quit [Ping timeout: 244 seconds]
reinaldob has quit [Remote host closed the connection]
wldcordeiro_ has quit [Ping timeout: 240 seconds]
<Radar> chipotle: Nobody knows.
<Radar> chipotle: The first 5 teach you about the fundamentals of Rails.
<Radar> ch 6 is where it starts to get hard
<chipotle> heh
<chipotle> ok
Xiti has quit [Read error: Connection reset by peer]
<zotherstupidguy> chipotle watch this it will make you understand how web pogramming works https://www.youtube.com/watch?v=WpkDN78P884
sohrab_ has quit [Quit: leaving]
reinaldob has joined #ruby
<shevy> yo
reinaldob has quit [Remote host closed the connection]
<shevy> is #ruby now force-registered as #ruby-lang?
<zotherstupidguy> shevy yo yo yo
<zotherstupidguy> nobody goes to ruby-lang
nobitanobi has joined #ruby
<zotherstupidguy> actually 316 do
chipotle has quit [Read error: Connection reset by peer]
reinaldob has joined #ruby
<Radar> shevy: what
reinaldob has quit [Remote host closed the connection]
<Radar> what even is force-registered
charliesome has quit [Ping timeout: 256 seconds]
reinaldob has joined #ruby
charliesome has joined #ruby
reinaldob has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
That1Guy has joined #ruby
chipotle has joined #ruby
<chipotle> arghhh
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<chipotle> zotherstupidguy: just loaded. sorry my internet is being screwy. this won't go ove rmy head?
reinaldob has joined #ruby
That1Guy has quit [Client Quit]
braincrash has joined #ruby
iotouch has joined #ruby
loadhigh has quit [Quit: Disconnecting]
bluOxigen has joined #ruby
<chipotle> can someone explain the difference between rails and middleman (or jekyll)?
<chipotle> why use one web framework over the other?
mary5030 has joined #ruby
agent_white has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
techsethi has joined #ruby
<agent_white> Evenin' folks
<shevy> Radar I got this error a moment ago * #ruby :Cannot send to channel
braincras has quit [Ping timeout: 272 seconds]
<Radar> shevy: Oh right. Yes, you need to be authenticated with nickserv to speak in the channel.
<Radar> shevy: this is to stop the nazi/white supremacy spam we've been facing recently.
<Radar> chipotle: Rails allows for requests to be treated dynamically. middleman + jekyll generate static content which is then served.
reinaldob has quit [Ping timeout: 245 seconds]
s2013 has joined #ruby
<chipotle> oh, so rails can't be static, it's always dynamic?
Rickmasta has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rohit_> chipotle, Do you know how the web works? I mean the basic HTTP request-response cycle?
lrcezimbra has quit [Quit: Konversation terminated!]
nobitanobi has quit [Remote host closed the connection]
lidenskap has quit [Remote host closed the connection]
avahey has quit [Quit: Connection closed for inactivity]
tagrudev has joined #ruby
<chipotle> rohit_: yes
swgillespie has joined #ruby
<chipotle> i have built drupal apps
<chipotle> just not custom
<Radar> chipotle: Rails can serve dynamic and static content.
<Radar> chipotle: It can choose to generate that dynamic content during the request
<Radar> jekyll doesn't do that
rohit_ has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Channel6 has quit [Quit: Leaving]
havenwood has joined #ruby
That1Guy has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
That1Guy has quit [Client Quit]
techsethi has quit [Quit: techsethi]
Ropeney has quit [Quit: Leaving...]
Bira has quit [Remote host closed the connection]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ropeney has joined #ruby
thatslifeson has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mary5030 has quit [Ping timeout: 256 seconds]
Ropeney has quit [Client Quit]
Ropeney has joined #ruby
That1Guy has joined #ruby
gagrio has joined #ruby
tuelz has joined #ruby
thatslifeson has quit [Ping timeout: 256 seconds]
That1Guy has quit [Client Quit]
conta has joined #ruby
pdoherty has quit [Ping timeout: 256 seconds]
Sawbones has joined #ruby
tuelz has quit [Ping timeout: 245 seconds]
d34th4ck3r has joined #ruby
gagrio has quit [Ping timeout: 256 seconds]
bluOxigen has left #ruby [#ruby]
rocknrollmarc has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
x1337807x has joined #ruby
reinaldob has joined #ruby
chinmay_dd has joined #ruby
rocknrollmarc has quit [Ping timeout: 240 seconds]
That1Guy has joined #ruby
aganov has joined #ruby
That1Guy has quit [Client Quit]
reinaldob has quit [Ping timeout: 250 seconds]
pontiki has quit [Quit: leaving]
pontiki has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
That1Guy has joined #ruby
astrobun_ has joined #ruby
casadei has quit [Remote host closed the connection]
oo_ has joined #ruby
lessless has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
postmodern has quit [Quit: Leaving]
Sawbones has quit [Remote host closed the connection]
postmodern has joined #ruby
Sawbones has joined #ruby
Blaguvest has joined #ruby
amclain has quit [Quit: Leaving]
simpyll has quit [Quit: simpyll]
Rickmasta has joined #ruby
krz has quit [Ping timeout: 256 seconds]
sinkensabe has joined #ruby
simpyll has joined #ruby
krz has joined #ruby
noonius has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
jeromelanteri_ has joined #ruby
jeromelanteri has quit [Read error: Connection reset by peer]
jeromelanteri_ has quit [Client Quit]
Mon_Ouie has quit [Ping timeout: 240 seconds]
Pro| has quit [Remote host closed the connection]
psy_ has quit [Ping timeout: 256 seconds]
SouL_|_ has joined #ruby
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lidenskap has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
psy_ has joined #ruby
anisha has joined #ruby
iotouch has quit [Ping timeout: 244 seconds]
lidenskap has quit [Ping timeout: 256 seconds]
_seanc_ has quit [Quit: _seanc_]
iotouch has joined #ruby
reinaldob has joined #ruby
longfeet has quit [Ping timeout: 256 seconds]
roolo has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
thatslifeson has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
casadei has joined #ruby
konsolebox has joined #ruby
baweaver has quit [Remote host closed the connection]
thatslifeson has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
konsolebox has quit [Max SendQ exceeded]
jeromelanteri has joined #ruby
casadei has quit [Remote host closed the connection]
konsolebox has joined #ruby
mary5030 has joined #ruby
RegulationD has joined #ruby
konsolebox has quit [Max SendQ exceeded]
_ixti_ has quit [Ping timeout: 276 seconds]
konsolebox has joined #ruby
conta has quit [Ping timeout: 256 seconds]
noonius has quit [Quit: noonius]
krisquigley has quit []
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lordkryss has joined #ruby
konsolebox has quit [Max SendQ exceeded]
Marvina has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 272 seconds]
mary5030 has quit [Ping timeout: 256 seconds]
RegulationD has quit [Ping timeout: 246 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ahmetkapikiran has joined #ruby
gagrio has joined #ruby
haxrbyte has joined #ruby
Porfa has joined #ruby
MikeLees has quit [Ping timeout: 256 seconds]
MikeLees has joined #ruby
dc has joined #ruby
dc has quit [Client Quit]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vdamewood has quit [Quit: Life beckons.]
Porfa has quit [Client Quit]
ramfjord has quit [Ping timeout: 252 seconds]
noonius has joined #ruby
haxrbyte_ has joined #ruby
User458764 has joined #ruby
haxrbyt__ has joined #ruby
rdark has joined #ruby
haxrbyte has quit [Ping timeout: 264 seconds]
Rickmasta has joined #ruby
sinkensabe has quit [Remote host closed the connection]
BLACK_POWER has joined #ruby
Sawbones has quit [Remote host closed the connection]
haxrbyte_ has quit [Ping timeout: 265 seconds]
krz has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
d34th4ck3r has quit [Quit: zzz]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sawbones has joined #ruby
oo_ has joined #ruby
rahult is now known as rahult_
noonius has quit [Quit: noonius]
sinkensabe has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
oo_ has quit [Read error: Connection reset by peer]
rahult_ is now known as rahult
anisha has quit [Quit: Leaving]
rahult is now known as rahult_
lkba has quit [Ping timeout: 250 seconds]
conta has joined #ruby
noonius has joined #ruby
oo_ has joined #ruby
CloCkWeRX1 has quit [Quit: Leaving.]
jenrzzz has joined #ruby
rahult_ is now known as rahult
sevenseacat has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
psy_ has quit [Ping timeout: 272 seconds]
noonius has quit [Quit: noonius]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
BLACK_POWER has quit [Remote host closed the connection]
conta has quit [Quit: Leaving]
charliesome has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
craigp has joined #ruby
Sawbones has quit [Remote host closed the connection]
devoldmx has quit [Remote host closed the connection]
chinmay_dd has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 245 seconds]
User458764 has quit [Ping timeout: 264 seconds]
tuelz has joined #ruby
chinmay_dd has joined #ruby
antgel has joined #ruby
lidenskap has joined #ruby
anisha has joined #ruby
wildroman2 has joined #ruby
User458764 has joined #ruby
hanmac has quit [Ping timeout: 256 seconds]
CloCkWeRX has joined #ruby
Musashi007 has quit [Quit: Musashi007]
jespada has joined #ruby
tuelz has quit [Ping timeout: 252 seconds]
ahmetkapikiran has joined #ruby
lidenskap has quit [Ping timeout: 244 seconds]
noonius has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
Timba-as has quit [Quit: Be back later ...]
alex88 has joined #ruby
conta has joined #ruby
ayaz has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
enlightenment has joined #ruby
A205B064 has quit [Ping timeout: 264 seconds]
wildroman3 has joined #ruby
ki0 has joined #ruby
TinkerTyper has quit [Quit: ZNC restarting...]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
ki0_ has joined #ruby
ki0 has quit [Read error: Connection reset by peer]
wildroman2 has quit [Ping timeout: 244 seconds]
wildroman3 has quit [Client Quit]
krz has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
vdamewood has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
ponga has joined #ruby
Hounddog has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
hanmac has joined #ruby
DerisiveLogic has quit [Ping timeout: 256 seconds]
ponga has quit [Client Quit]
TinkerTyper has joined #ruby
jeromelanteri has quit [Ping timeout: 272 seconds]
d34th4ck3r has joined #ruby
ki0_ has quit [Remote host closed the connection]
ki0 has joined #ruby
Timba-as has joined #ruby
ki0 has quit [Remote host closed the connection]
ki0 has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
astrobun_ has quit [Remote host closed the connection]
marr has joined #ruby
orionstein_away is now known as orionstein
ponga has joined #ruby
astrobun_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Stalkr_ has joined #ruby
bMalum has joined #ruby
rocknrollmarc has joined #ruby
Stalkr^ has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
Stalkr_ has quit [Ping timeout: 246 seconds]
rocknrollmarc has quit [Ping timeout: 276 seconds]
oo_ has quit [Remote host closed the connection]
rocknrollmarc has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Juanchito has joined #ruby
vivekananda has quit [Ping timeout: 244 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Papipo has joined #ruby
<Papipo> Hi all
oo_ has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
rocknrollmarc has quit [Ping timeout: 256 seconds]
nfk has joined #ruby
rocknrollmarc has joined #ruby
joonty has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
starless has quit [Quit: Leaving]
xxneolithicxx has quit [Ping timeout: 255 seconds]
rohit has joined #ruby
IrishGringo has quit [Remote host closed the connection]
dcarmich has joined #ruby
ghr has joined #ruby
orionstein is now known as orionstein_away
slucxx has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
thatslifeson has joined #ruby
rahult has joined #ruby
Papierkorb has joined #ruby
granthatcher has joined #ruby
slucx has quit [Ping timeout: 265 seconds]
shuber_ has quit [Remote host closed the connection]
seitensei has quit [Quit: No Ping reply in 180 seconds.]
dumdedum has joined #ruby
d34th4ck3r has quit [Quit: zzz]
devoldmx has joined #ruby
dumdedum has quit [Client Quit]
craigp has quit [Ping timeout: 272 seconds]
seitensei has joined #ruby
thatslifeson has quit [Ping timeout: 240 seconds]
sinkensabe has joined #ruby
RegulationD has joined #ruby
chinmay_dd has joined #ruby
Alina-malina has quit [Ping timeout: 276 seconds]
Alina-malina has joined #ruby
rohit has quit [Quit: Leaving]
vtunka has joined #ruby
startupality has joined #ruby
charliesome has quit [Quit: zzz]
rohit has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
roshanavand has joined #ruby
bMalum has joined #ruby
sevenseacat has quit [Quit: Me dun like you no more.]
RegulationD has quit [Ping timeout: 255 seconds]
Stalkr^ has quit [Quit: Leaving...]
phutchins has joined #ruby
timonv has joined #ruby
lidenskap has joined #ruby
phutchins has quit [Ping timeout: 250 seconds]
wolfleemeta____ has quit [Quit: (null)]
wolflee has joined #ruby
quimrstorres has joined #ruby
rocknrollmarc has quit [Ping timeout: 276 seconds]
rocknrollmarc has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
jespada has quit [Ping timeout: 250 seconds]
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
agent_white has quit [Quit: kbaitydarkfluvu]
Igorshp has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
CustosLimen has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby
rocknrollmarc has quit [Ping timeout: 264 seconds]
rocknrollmarc has joined #ruby
craigp has joined #ruby
kstuart has joined #ruby
reinaldob has joined #ruby
hanmac has quit [Remote host closed the connection]
d34th4ck3r has joined #ruby
asmodlol has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
yaw has joined #ruby
sugardrunk has quit [Ping timeout: 265 seconds]
yaw has left #ruby [#ruby]
reinaldob has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
hanmac has joined #ruby
rocknrollmarc has quit [Ping timeout: 256 seconds]
reinaldob has quit [Ping timeout: 272 seconds]
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/20150415140819]]
dumdedum has joined #ruby
rahult has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<certainty> moin
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
iotouch has quit [Quit: This computer has gone to sleep]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
cryptarium has quit [Write error: Connection reset by peer]
SouL_|_ has quit [Ping timeout: 255 seconds]
iotouch has joined #ruby
bMalum has quit [Quit: bMalum]
wolflee has quit [Remote host closed the connection]
wolflee has joined #ruby
charliesome has joined #ruby
flap has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
tuelz has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
claw has quit [Ping timeout: 246 seconds]
Oka has joined #ruby
claw has joined #ruby
P1RATEZ has quit []
tuelz has quit [Ping timeout: 272 seconds]
scripore has quit [Quit: This computer has gone to sleep]
roshanavand has quit [Quit: Konversation terminated!]
msgodf has joined #ruby
n8234 has joined #ruby
roshanavand has joined #ruby
startupality has quit [Quit: startupality]
n8234 has left #ruby [#ruby]
chinmay_dd has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
startupality has joined #ruby
CustosLimen has joined #ruby
chinmay_dd has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
shuber_ has joined #ruby
devoldmx has joined #ruby
lidenskap has quit [Remote host closed the connection]
yeticry has quit [Ping timeout: 255 seconds]
codecop has joined #ruby
Hijiri has quit [Ping timeout: 252 seconds]
leafybasil has quit [Remote host closed the connection]
yeticry has joined #ruby
shuber_ has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
devoldmx has quit [Ping timeout: 258 seconds]
noonius has quit [Quit: noonius]
rdark has quit [Quit: leaving]
rdark has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
Porfa has joined #ruby
einarj has joined #ruby
last_staff has joined #ruby
nfk has quit [Quit: yawn]
<zotherstupidguy> Papipo hello
einarj has quit [Read error: Connection reset by peer]
<Papipo> Hi
chinmay_dd has joined #ruby
einarj has joined #ruby
neanderslob has quit [Read error: Connection reset by peer]
<zotherstupidguy> Papipo whats going on?
chinmay_dd has quit [Remote host closed the connection]
arup_r has joined #ruby
<Papipo> microservices
casadei has joined #ruby
<zotherstupidguy> lets dance then
exadeci has joined #ruby
<zotherstupidguy> i watched chappie today
<zotherstupidguy> i liked the movie, but district9 was better
Hijiri has joined #ruby
rohit has quit [Ping timeout: 256 seconds]
<arup_r> I hv no question for now.. all are well...
crus` has joined #ruby
chinmay_dd has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
crus has quit [Ping timeout: 256 seconds]
jespada has joined #ruby
chinmay_dd has joined #ruby
casadei has quit [Ping timeout: 276 seconds]
ndrei has quit [Ping timeout: 246 seconds]
msgodf has quit [Ping timeout: 264 seconds]
nszceta has joined #ruby
ndrei has joined #ruby
jespada has quit [Ping timeout: 256 seconds]
ponga has quit [Quit: Leaving...]
SouL_|_ has joined #ruby
Porfa has quit [Quit: Porfa]
<zotherstupidguy> anyone here from africa?
<zotherstupidguy> how many ruby conferences made in africa?
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
allcentury has joined #ruby
leafybasil has joined #ruby
Dackel has joined #ruby
<zotherstupidguy> ok, a cool idea, how can we get stats about users location from our beloved ruby channel?
<zotherstupidguy> running /who #ruby get us a list of all the users online
<zotherstupidguy> now we need to filter out the IPs if not hidden by the server, and run iplocation script or somthing
<zotherstupidguy> who is in?
cassianoleal has quit [Quit: Textual IRC Client: www.textualapp.com]
startupality has quit [Quit: startupality]
pontiki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
startupality has joined #ruby
* wasamasa yawns
<zotherstupidguy> :)
<zotherstupidguy> wasamasa comin you can help
yeticry has quit [Ping timeout: 245 seconds]
<zotherstupidguy> how can we filter the IPs?
* wasamasa hacks on his IRC client instead
<zotherstupidguy> i dont wanna hack anything, i just want to see the locations of the ruby channel users
yeticry has joined #ruby
Guest24 is now known as lele
meph has joined #ruby
slucxx has quit [Ping timeout: 258 seconds]
<canton7> zotherstupidguy, https://www.google.co.uk/search?q=ruby+geoip ;)
reinaldob has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
reinaldob has quit [Remote host closed the connection]
<zotherstupidguy> i asked the guys at #freenode they said /who #channel %i
<zotherstupidguy> this returns the IPs
<wasamasa> canton7: you just revealed your location!
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<zotherstupidguy> canton7 we know where you are :D
<canton7> :O
<canton7> shocker
<zotherstupidguy> you are in the UK
<zotherstupidguy> hide now
<zotherstupidguy> lol
<canton7> I'm also connecting through a bouncer, so you'll get the location of my vps's datacenter :P
<zotherstupidguy> ok so we get a list of the IPs, now i need to pipe it to geoip thingy, but first how can i get it out of irc!! use a bot or irc client with programming interface?
<canton7> zotherstupidguy, copy-paste
ebonics has quit [Quit: Leaving]
<canton7> zotherstupidguy, c'mon
<zotherstupidguy> canton7 ?
<wasamasa> zotherstupidguy: I'm using an IRC client with a programming interface
<wasamasa> zotherstupidguy: hence my earlier joke
* canton7 types that /who command, copies the list of ips, pastes them into a text editor
rohit has joined #ruby
<canton7> done!
<zotherstupidguy> actually not bad
roolo_ has joined #ruby
<zotherstupidguy> but what if we want to run it all day
<zotherstupidguy> to get stats long run
toretore has joined #ruby
<canton7> then you need to write an IRC client in ruby, or get a client with a ruby API
<zotherstupidguy> wasamasa i missed the joke :)
<canton7> but... first things first
<canton7> get a proof-of-concept that works
<canton7> ... and that means doing things the hacky way. like copy/paste.
<canton7> once you've got the geoip bit and map-drawing bit, tackle the "automatic" and "irc" parts
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<zotherstupidguy> i done geoip before
<zotherstupidguy> i dont remmber it, but i knw its simple
<wasamasa> zotherstupidguy: I'm using an emacs IRC client
<zotherstupidguy> as long as you got the geo db
<canton7> it don't matter: get it working now :P
<zotherstupidguy> cool
<wasamasa> zotherstupidguy: so, writing a bot with it is very simple as it's all lisp and I just need to operate its completely exposed backend commands, even while it's running
roolo has quit [Ping timeout: 250 seconds]
<zotherstupidguy> yeah i know about the emacs church, but i still live in vim releam
djbkd has joined #ruby
astrobun_ has quit [Remote host closed the connection]
User458764 has joined #ruby
sango_ has joined #ruby
thatslifeson has joined #ruby
iteratorP has quit [Remote host closed the connection]
rohit has quit [Quit: Leaving]
ndrei has quit [Ping timeout: 256 seconds]
djbkd has quit [Ping timeout: 272 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thatslifeson has quit [Ping timeout: 265 seconds]
RegulationD has joined #ruby
craigp has quit []
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
edwinvdg_ has joined #ruby
reinaldob has joined #ruby
yalue has quit [Ping timeout: 256 seconds]
<wasamasa> here's an idea of what would be possible in one: https://github.com/wasamasa/dotemacs/commit/ab45aaa35e11cb5f3ae774c7f44651c53d56b3f4
reinaldob has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 276 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
msgodf has joined #ruby
felixjet__ has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 246 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
iamninja has joined #ruby
shuber_ has joined #ruby
mengu has joined #ruby
maoko has joined #ruby
felixjet_ has quit [Ping timeout: 265 seconds]
lidenskap has joined #ruby
rahult has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
idafyaid has quit [Ping timeout: 256 seconds]
<zotherstupidguy> wasamasa i am still playin with the irc thingy, will eat in a min; whts this idea?
<zotherstupidguy> seems to me like terminology preview of photos?
<wasamasa> zotherstupidguy: well, if you've ever used 4chan in the last year or so...
shuber_ has quit [Ping timeout: 256 seconds]
<wasamasa> zotherstupidguy: I really like their UI enhancement that allows you to preview images by hovering over a link
<zotherstupidguy> i heard of 4chan, never used it
<zotherstupidguy> is it still running?
<zotherstupidguy> oh
<zotherstupidguy> nice
lidenskap has quit [Ping timeout: 258 seconds]
davidcollom has joined #ruby
<wasamasa> that kind of thing shouldn't be hard to do in emacs
<zotherstupidguy> who was the guy who made 4chan?
* zotherstupidguy food time, brb
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
roshanavand has quit [Quit: Konversation terminated!]
roshanavand has joined #ruby
<rdark> zotherstupidguy: moot
yalue has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
einarj_ has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 272 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
jtdowney has joined #ruby
jtdowney has quit [Read error: Connection reset by peer]
huddy has joined #ruby
jtdowney has joined #ruby
jespada has joined #ruby
|Zz_fan| is now known as noobQ
iotouch has quit [Quit: This computer has gone to sleep]
d34th4ck3r has quit [Quit: zzz]
jgt has joined #ruby
jackjackdripper has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
einarj has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
jespada has quit [Ping timeout: 258 seconds]
DaniG2k has joined #ruby
einarj_ has quit [Ping timeout: 252 seconds]
einarj_ has joined #ruby
iotouch has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: No route to host]
dEPy has joined #ruby
parduse has joined #ruby
einarj has quit [Ping timeout: 252 seconds]
CloCkWeRX has quit [Quit: Leaving.]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
tejasmanohar has joined #ruby
phutchins has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
ayaz has left #ruby ["Textual IRC Client: www.textualapp.com"]
chenillen has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
reinaldob has joined #ruby
rahult has joined #ruby
tuelz has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
vivekananda has joined #ruby
robustus|Off has joined #ruby
robustus|Off is now known as robustus
chenillen has quit [Remote host closed the connection]
jackjackdripper has quit [Ping timeout: 272 seconds]
rodfersou has joined #ruby
jtdowney has quit []
reinaldob has quit [Ping timeout: 252 seconds]
tuelz has quit [Ping timeout: 258 seconds]
einarj has joined #ruby
holigan101 has joined #ruby
holigan101 has quit [Changing host]
holigan101 has joined #ruby
holigan101 has joined #ruby
EasyCo has joined #ruby
einarj_ has quit [Ping timeout: 265 seconds]
<zotherstupidguy> i think i got it working, but yet to do ipv6 and to find a way to pipe things out of to the program instead of copy/pase
<zotherstupidguy> canton7 i did the initial hack
parduse has quit []
noonius has joined #ruby
<canton7> sweet¬
<canton7> got it drawing a map yet?
sdothum has joined #ruby
<zotherstupidguy> hmm, no not yet
<zotherstupidguy> but i want it from the irc client
<zotherstupidguy> piping it out :(
<zotherstupidguy> it would be cool to have this on the ruby channel website, huh?
<zotherstupidguy> :)
reinaldob has joined #ruby
<zotherstupidguy> but i think its static githubpage, one of us will need to host it and provide the ip
<zotherstupidguy> api*
einarj_ has joined #ruby
einarj has quit [Ping timeout: 258 seconds]
<zotherstupidguy> i am not much of a js guy
doodlehaus has joined #ruby
<zotherstupidguy> but i am sure someone where would do the effort of this map thingy
allcentury has quit [Ping timeout: 244 seconds]
<zotherstupidguy> here*
thatslifeson has joined #ruby
n008f4g_ has joined #ruby
tejasmanohar has quit [Quit: WeeChat 1.1.1]
withnale_ has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
thatslifeson has quit [Ping timeout: 245 seconds]
mengu has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
iotouch has quit [Quit: This computer has gone to sleep]
tuelz has joined #ruby
noonius has quit [Quit: noonius]
ndrei has joined #ruby
rocknrollmarc has joined #ruby
claptor has quit [Quit: this channel is bakas]
shuber_ has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
startupality has joined #ruby
<adaedra> <zotherstupidguy> it would be cool to have this on the ruby channel website, huh?
<adaedra> you can file an issue
shuber_ has quit [Ping timeout: 256 seconds]
dEPy has quit [Quit: (null)]
parduse has joined #ruby
rodferso1 has joined #ruby
SouL_|_ has quit [Ping timeout: 272 seconds]
mengu has joined #ruby
rodfersou has quit [Ping timeout: 240 seconds]
chinmay_dd has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
rodferso1 has quit [Client Quit]
chinmay_dd has joined #ruby
ldnunes has joined #ruby
parduse has quit []
a346 has joined #ruby
freerobby has joined #ruby
postmodern has quit [Quit: Leaving]
startupality has quit [Quit: startupality]
sevenseacat has joined #ruby
jespada has joined #ruby
freerobby has quit [Client Quit]
Jamo has joined #ruby
jgt has quit [Ping timeout: 276 seconds]
noonius has joined #ruby
freerobby has joined #ruby
rodfersou has joined #ruby
jespada has quit [Ping timeout: 258 seconds]
diegoaguilar has joined #ruby
<zotherstupidguy> adaedra yeah, i am looking into a ruby way to get the whois
chinmay_dd has quit [Remote host closed the connection]
<zotherstupidguy> adaedra any ideas?
<adaedra> I'm missing so much context here I'm floating in space
Guest66261 has quit [Ping timeout: 264 seconds]
doodlehaus has quit [Remote host closed the connection]
Mohan has joined #ruby
<zotherstupidguy> using /who #ruby %i we can get all the ips in the channel, i made a small script using gem geoip to get the country of the ip list, but i did that by copy/paste the ips, now i need a way to get it from IRC automatically. if done, we can make an API for this and offer it to a js guy who can add it to the rubychannel website
Mohan is now known as Guest15454
CloCkWeRX has joined #ruby
TheBrayn has joined #ruby
<adaedra> You'll need an IRC bot for that who does /who
<adaedra> *-who
<zotherstupidguy> u know a way
<adaedra> cinch
<zotherstupidguy> cinch makes who?
mjuszczak has joined #ruby
<adaedra> but be careful, as who'ing the whole channel will probably get your bot kicked out
<adaedra> if it doesn't, it should support sending raw commands, so it should be good
codecop has quit [Remote host closed the connection]
<zotherstupidguy> that needs a deeper look
<adaedra> but you should speak about this apeiros before implementing it, I'm not sure it is well appreciated by everyone in here
DerisiveLogic has joined #ruby
<zotherstupidguy> i think they are sleepin, beside who cares, i just wanna know if it is easy enough
<zotherstupidguy> it needs a js guy anyhow
codecop has joined #ruby
<adaedra> collecting everyone's ip seems a bad idea, and I'm not sure if it's not in violation of freenode rules
Hounddog has quit [Ping timeout: 272 seconds]
<zotherstupidguy> i think users can ask freenode to protect their ips
<adaedra> but yeah, in the idea, a cinch bot should be good for that.
<zotherstupidguy> if they want to
sango_ has quit [Ping timeout: 246 seconds]
<adaedra> that's not the question.
<zotherstupidguy> let me put it this way, it is avialable info that nobody cared to hide
qwertme has joined #ruby
<zotherstupidguy> but yeah i get your point, privacy and all,
<zotherstupidguy> keep in mind that we are showing the coutnry
<adaedra> er, you know
<zotherstupidguy> so not the nick associated with the IP
Papipo has quit [Remote host closed the connection]
<adaedra> chat messages are public info, but we still protect the chat logs and freenode forbids logging if not clearly stated
<zotherstupidguy> i am interested in the techie side of this equation
Papipo has joined #ruby
<adaedra> and storing other people ips may be reglemented by law in the country you store them
<adaedra> (it is where I live)
<adaedra> yeah, technical side it's all good
allcentury has joined #ruby
DerisiveLogic has quit [Ping timeout: 250 seconds]
bruno- has quit [Ping timeout: 256 seconds]
<adaedra> just, be careful if you do it
<adaedra> anyway, time for lunch
<zotherstupidguy> thanks, cheers
orionstein_away is now known as orionstein
freerobby has quit [Quit: Leaving.]
<sevenseacat> sounds like not a goodidea.
vdamewood has quit [Quit: Life beckons.]
RegulationD has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
gaganjyot has joined #ruby
Joshes43 has joined #ruby
parduse has joined #ruby
mengu has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Me dun like you no more.]
RegulationD has quit [Ping timeout: 244 seconds]
Joshes43 has left #ruby [#ruby]
freerobby has joined #ruby
chinmay_dd has joined #ruby
banister has joined #ruby
thatslifeson has joined #ruby
mjuszczak has quit []
CloCkWeRX has quit [Ping timeout: 256 seconds]
ddfreyne has joined #ruby
allcentury has quit [Ping timeout: 272 seconds]
lessless has joined #ruby
mcpierce` has left #ruby [#ruby]
freerobby has quit [Client Quit]
mcpierce has joined #ruby
banister has quit [Ping timeout: 256 seconds]
thatslifeson has quit [Ping timeout: 252 seconds]
chinmay__ has joined #ruby
gregf_ has left #ruby [#ruby]
gregf_ has joined #ruby
gregf_ has left #ruby [#ruby]
chinmay_dd has quit [Ping timeout: 245 seconds]
gregf_ has joined #ruby
holigan101 has quit [Quit: Page closed]
sgambino has joined #ruby
Dackel has quit [Ping timeout: 258 seconds]
Dackel has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
ndrei has quit [Ping timeout: 258 seconds]
banister has joined #ruby
but3k4 has joined #ruby
Papipo has quit [Remote host closed the connection]
devoldmx has joined #ruby
Papipo has joined #ruby
roshanavand has quit [Quit: Konversation terminated!]
shazaum has joined #ruby
CloCkWeRX has joined #ruby
CloCkWeRX has left #ruby [#ruby]
doodlehaus has joined #ruby
doodlehaus has quit [Remote host closed the connection]
TinkerTyper has quit [Ping timeout: 255 seconds]
devoldmx has quit [Ping timeout: 255 seconds]
aspiers has quit [Quit: WeeChat 1.1.1]
pontiki has joined #ruby
pontiki has quit [Client Quit]
ndrei has joined #ruby
TinkerTyper has joined #ruby
n80 has joined #ruby
Papierkorb has quit [Remote host closed the connection]
sankaber has joined #ruby
chinmay__ has quit [Ping timeout: 256 seconds]
lkba has joined #ruby
thatslifeson has joined #ruby
iotouch has joined #ruby
wsylvest has joined #ruby
rocknrollmarc has quit [Ping timeout: 265 seconds]
Ropeney has joined #ruby
Papipo has quit [Remote host closed the connection]
wsylvest has quit [Client Quit]
quimrstorres has quit [Remote host closed the connection]
Papipo has joined #ruby
havenwood has joined #ruby
chinmay_dd has joined #ruby
e1nh4nd3r has joined #ruby
dstarh has joined #ruby
ndrei has quit [Ping timeout: 258 seconds]
djbkd has joined #ruby
Alina-malina has quit [Ping timeout: 250 seconds]
parduse has quit []
jespada has joined #ruby
Alina-malina has joined #ruby
ArchRogem has joined #ruby
simpyll has quit [Ping timeout: 272 seconds]
djbkd has quit [Ping timeout: 258 seconds]
allcentury has joined #ruby
DaniG2k has quit [Ping timeout: 250 seconds]
jespada has quit [Ping timeout: 272 seconds]
Rapier- has joined #ruby
charliesome has joined #ruby
spider-mario has joined #ruby
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
goodcodeguy has joined #ruby
TheNet has joined #ruby
krz has joined #ruby
roshanavand has joined #ruby
Soda has joined #ruby
JDiPierro has joined #ruby
workmad3 has joined #ruby
kotk has joined #ruby
ki0 has quit [Ping timeout: 272 seconds]
allcentury has quit [Ping timeout: 255 seconds]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hewenhong has joined #ruby
Porfa has joined #ruby
d10n-work has joined #ruby
<arup_r> where are all Ruby Pro... ?
serivich has joined #ruby
mitchellhenke has joined #ruby
chthon has joined #ruby
krz has quit [Ping timeout: 276 seconds]
bMalum has joined #ruby
Musashi007 has joined #ruby
airdisa has joined #ruby
noonius has quit [Quit: noonius]
nateberkopec has joined #ruby
ahmetkapikiran has joined #ruby
nszceta has quit [Ping timeout: 276 seconds]
<havenwood> arup_r: Huh?
<IceDragon> arup_r: Probably on vacation?
<arup_r> Ahh.. One Pro I can see... now..
<arup_r> :)
<IceDragon> or not
freerobby has joined #ruby
nszceta has joined #ruby
iainjames88 has joined #ruby
iainjames88 has left #ruby [#ruby]
<canton7> "I need as Ruby Pro! I'm holding out for a Ruby Pro 'til the end of the night.. He's gotta be strong and he's gotta be fast and he's gotta be fresh from the fight..."
<mwlang> heh…I think that question also falls into the category of “Anybody have experience with Ruby?”
jerius has joined #ruby
<mwlang> or whatever gem, library, whatnot
RegulationD has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
einarj has joined #ruby
einarj_ has quit [Ping timeout: 276 seconds]
ki0 has joined #ruby
ki0 has quit [Remote host closed the connection]
TuxOtaku has joined #ruby
djellemah__ has joined #ruby
ki0 has joined #ruby
yokel has quit [Ping timeout: 252 seconds]
genpaku has quit [Ping timeout: 272 seconds]
bMalum has quit [Quit: bMalum]
<zotherstupidguy> sevenseacat why so :(
RegulationD has quit [Ping timeout: 244 seconds]
Dackel has quit [Remote host closed the connection]
genpaku has joined #ruby
yokel has joined #ruby
djellemah has quit [Ping timeout: 240 seconds]
zzxc has joined #ruby
zzxc has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
uri_ has joined #ruby
doodlehaus has joined #ruby
msmith_ has joined #ruby
codecop has quit [Remote host closed the connection]
chinmay_dd has quit []
ki0_ has joined #ruby
roshanavand has quit [Ping timeout: 272 seconds]
griffindy has joined #ruby
roshanavand has joined #ruby
mtakkman has joined #ruby
ki0 has quit [Ping timeout: 256 seconds]
ki0_ has quit [Remote host closed the connection]
ki0 has joined #ruby
DaniG2k has joined #ruby
ki0 has quit [Read error: Connection reset by peer]
ki0_ has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
msmith_ has quit [Remote host closed the connection]
s_e has quit [Ping timeout: 264 seconds]
ndrei has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
oo_ has quit [Remote host closed the connection]
enebo has joined #ruby
AlphaAtom has joined #ruby
allcentury has joined #ruby
bruno- has joined #ruby
noonius has joined #ruby
bruno- is now known as Guest98109
Musashi007 has quit [Quit: Musashi007]
StevenXL has quit [Quit: leaving]
paulcsmith_ has joined #ruby
quimrstorres has joined #ruby
StevenXL has joined #ruby
tkuchiki has joined #ruby
mtakkman has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
DEA7TH has joined #ruby
qwertme has joined #ruby
jespada has joined #ruby
JDiPierro has quit [Remote host closed the connection]
charliesome has joined #ruby
brahman has joined #ruby
brahman has quit [Changing host]
brahman has joined #ruby
rahult has joined #ruby
ki0 has joined #ruby
quimrstorres has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
Porfa has quit [Quit: porfa]
<brahman> Hi, looking to connect to Mysql using ruby. Seems that the most used library for this is tmtm's Ruby Mysql but in the rubydocs there is a mention that tmtm has deprecated this library. What is the recommended way to interface with mysql from Ruby?
mase-chatter has joined #ruby
aganov has quit [Remote host closed the connection]
quimrstorres has joined #ruby
JDiPierro has joined #ruby
ki0_ has quit [Ping timeout: 252 seconds]
einarj_ has joined #ruby
<adaedra> You have mysql and mysal2 gems for direct access
serivich has quit [Ping timeout: 255 seconds]
<adaedra> If you need higher level, you can look at sequel, datamapper and activerecord
serivich has joined #ruby
slash_nick has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
arup_r has quit [Remote host closed the connection]
nszceta has quit [Quit: Textual IRC Client: www.textualapp.com]
haxrbyte has joined #ruby
<brahman> adaedra: is mysql2 the newer more supported way to interface with mysql?
rahult is now known as rahult_
haxrbyt__ has quit [Ping timeout: 264 seconds]
ki0 has quit [Remote host closed the connection]
rahult_ is now known as rahult
Patrezze has joined #ruby
<adaedra> mysql and mysql2 are both used iirc
<adaedra> mysql2 has some differences in handling of data I think
<brahman> adaedra: will cehck what RoR uses.
ki0 has joined #ruby
pagios has joined #ruby
<pagios> hi all, i want to create an application on linux, what is a good graphical library to use?
<adaedra> RoR goes through ActiveRecord which used mysql
Timba-as has quit [Quit: Be back later ...]
<pagios> and is ruby good enoguh to develop desktop apps on linux
<brahman> adaedra: yeah ;looks like it's using mysql
axisys has quit [Remote host closed the connection]
* brahman is reading up on mysql2 and it's advantages
<adaedra> brahman: look at the differences between the gems and look what's good for you
<brahman> adaedra: will do. Thanks for your help.
lavros has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
parduse has joined #ruby
TheNet has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mary5030 has joined #ruby
maoko has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joonty has quit [Ping timeout: 272 seconds]
twistedpixels is now known as zz_twistedpixels
haxrbyte has quit [Read error: Connection reset by peer]
joonty has joined #ruby
zz_twistedpixels is now known as twistedpixels
lidenskap has joined #ruby
haxrbyte has joined #ruby
jottr has joined #ruby
insidious has joined #ruby
mitchell_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
mitchellhenke has quit []
mitchell_ has quit [Client Quit]
tkuchiki has joined #ruby
scripore has joined #ruby
mitchellhenke has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 265 seconds]
qwertme has joined #ruby
rbennacer has joined #ruby
kobain has joined #ruby
ndrei has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
lidenskap has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby
brahman has quit [Quit: Konversation terminated!]
vtunka has quit [Quit: Leaving]
dorei has joined #ruby
symbol has joined #ruby
Soda has quit [Remote host closed the connection]
cinch_ has joined #ruby
einarj has joined #ruby
cinch_ has quit [Remote host closed the connection]
einarj_ has quit [Ping timeout: 258 seconds]
symbol has quit [Remote host closed the connection]
Jake232 has joined #ruby
Cust0sLim3n has quit [Ping timeout: 256 seconds]
Porfa has joined #ruby
twistedpixels is now known as zz_twistedpixels
scripore has quit [Quit: This computer has gone to sleep]
psy_ has joined #ruby
cinch_ has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.1.1]
hewenhong has quit [Remote host closed the connection]
msmith_ has joined #ruby
cinch_ has quit [Remote host closed the connection]
einarj_ has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
n008f4g_ has quit [Ping timeout: 250 seconds]
danman has joined #ruby
ndrei has quit [Ping timeout: 258 seconds]
ndrei has joined #ruby
krz has joined #ruby
einarj has joined #ruby
<ddfreyne> pagios: Have you looked at Shoes?
scripore has joined #ruby
einarj_ has quit [Ping timeout: 264 seconds]
mosez_ has quit [Ping timeout: 246 seconds]
dstarh has quit [Quit: Textual IRC Client: www.textualapp.com]
xxneolithicxx has joined #ruby
Cust0sLim3n has joined #ruby
msmith_ has quit []
Guest1421 has joined #ruby
al2o3-cr has quit [Ping timeout: 250 seconds]
<StevenXL> adaedra: I think I reached an 80% solution on the problem I was having last night.
<adaedra> great
<adaedra> need further help?
shellfu_afk is now known as shellfu
zz_twistedpixels is now known as twistedpixels
ki0 has quit [Remote host closed the connection]
iotouch has quit [Quit: 离开]
shuber_ has joined #ruby
Mon_Ouie has joined #ruby
bMalum has joined #ruby
Papipo has quit [Remote host closed the connection]
failshell has joined #ruby
Papipo has joined #ruby
werelivinginthef has joined #ruby
<StevenXL> adaedra: Yea. I want to "extinguish" for lack of a better word, the output <Class: Memory Location?
<StevenXL> I'll show you what I mean.
gambl0re has joined #ruby
symbol has joined #ruby
mosez has joined #ruby
prphp has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<StevenXL> ah crap - boss is calling.
<StevenXL> will brb
prphp has quit [Client Quit]
shuber_ has quit [Ping timeout: 256 seconds]
Ropeney has joined #ruby
Ropeney has quit [Remote host closed the connection]
That1Guy has joined #ruby
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
startupality has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
rocknrollmarc has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
juanpaucar has joined #ruby
mduk has joined #ruby
<gambl0re> if i ask a user to enter in a number and store the value in num = gets.chomp, is num an integer or a string?
<failshell> gambl0re: you can puts foo.class to find out :)
<crowell> string
<crowell> gambl0re: you can do gets.chomp.to_i
astrobun_ has joined #ruby
momomomomo has joined #ruby
<crowell> and you're also going to want to check if it was actually an integer, because the default case is 0
<pagios> ddfreyne: what Shoes
EasyCo has quit [Quit: Connection closed for inactivity]
<crowell> so something like "foo.to_i" will give you 0
zotherstupidguy has quit [Max SendQ exceeded]
zotherstupidguy has joined #ruby
neonrooster has joined #ruby
<pagios> ddfreyne: is it cross platform? develop once and deploy?
keen___ has joined #ruby
<neonrooster> how do I learn about file input/output in C?
DaniG2k has quit [Quit: leaving]
casadei has joined #ruby
<mwlang> gambl0re: http://ruby-doc.org/core-2.2.2/IO.html#method-i-gets states “gets(sep=$/) -> string or nil” so #gets always returns either a string or nil (if EOF)
<neonrooster> I mean, Ruby
bMalum has quit [Quit: bMalum]
<mwlang> pagios: shoes is cross-platform, yes.
keen__ has quit [Ping timeout: 264 seconds]
<pagios> mwlang: what i wanna do is mainly i have a program in C that does certain animations in its own window, i wanna include that in a program with some buttons underneath
nfk has joined #ruby
go|dfish has quit [Ping timeout: 264 seconds]
<pagios> i dont want it to be independant in its own window
<gambl0re> ok thanks...
tjohnson has joined #ruby
<mduk> hey, does anyone here have any experience with/examples of building multipart MIME messages for use with AWS cloud-init? I'm trying to use the MIME gem to reproduce the example python script (http://cloudinit.readthedocs.org/en/latest/topics/format.html) but can't figure out how to specify the "filename" part of the Content-Disposition header. Any pointers would be greatly appriciated. :)
<mwlang> pagios: I have no idea if shoes can do that or not.
ki0 has joined #ruby
<pagios> mwlang: any idea how i can do that
<mwlang> pagios: if it were just a c program getting info and reporting it back in text format, then yeah, you could control that with a shoes program, invoke the c program, gather the output and display it…but animation, I have no idea.
<pagios> yea its more of an animation thing playing in its own window
momomomomo has quit [Ping timeout: 256 seconds]
momomomomo_ has joined #ruby
<neonrooster> pagios: use a Unix pipe thingy
<pagios> ?
<neonrooster> just run program | animator
<neonrooster> or tail | animator
_blizzy_ has quit [Ping timeout: 265 seconds]
<pagios> neonrooster: i want that output to be in a specific window in the program
<neonrooster> pagios: oh no idea
<pagios> say you have a window to have that anitmation in it and underneath i want to include buttons
a346 has quit [Quit: a346]
Giorgio has quit [Remote host closed the connection]
sanguisdex has quit [Ping timeout: 276 seconds]
<neonrooster> pagios: use a thread to read progress information from another part of the program or a file and use another thread to animate
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
a346 has joined #ruby
danman has quit [Quit: danman]
<pagios> neonrooster: take a simple example: consider you have a ruby program having two areas (GUI) and you want to display the xcalc in a window and another program say gedit in another area (all in the same program window)
<neonrooster> OH
jordanm has quit [Remote host closed the connection]
<neonrooster> then use xembed to embed the program
<pagios> xembed?
jordanm has joined #ruby
thatslifeson has quit [Remote host closed the connection]
<neonrooster> yes, a program rendering to a window you create inside your own program
<pagios> amazing thats what i want
<pagios> shoes has it?
<neonrooster> no idea, I've never coded before
ReK2 has quit [Remote host closed the connection]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<neonrooster> I wish you'd be my mentor
<neonrooster> tell me, what can I code?
<neonrooster> if you wanted me to code XEmbed demo
<zotherstupidguy> radar are you there?
<neonrooster> all you do is use GTK
<mwlang> pagios: you’ll have to hunt or try to adapt an answer like this one: http://stackoverflow.com/questions/22431325/is-it-possible-to-open-a-browser-window-in-ruby-shoes
That1Guy has joined #ruby
avril14th has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 245 seconds]
jobewan_ has quit [Quit: leaving]
ki0 has quit [Remote host closed the connection]
That1Guy has quit [Client Quit]
<pagios> neonrooster: can you code GTK in ruby? i didnt get it
<neonrooster> pagios: um...I can't but you can
<neonrooster> never did it before
<pagios> gtk is coded in c i think or tcl?
<neonrooster> there's a Ruby GTK binding somewhere
gaganjyot has quit [Ping timeout: 256 seconds]
Papipo has quit [Remote host closed the connection]
That1Guy has joined #ruby
<neonrooster> yes but you can use it in Ruby
jobewan has joined #ruby
Papipo has joined #ruby
Papipo has quit [Remote host closed the connection]
<neonrooster> if you taught me GTK in Ruby I'd be happy
idafyaid has joined #ruby
Papipo has joined #ruby
<neonrooster> but I have to get home first
krzkrz has joined #ruby
krz has quit [Read error: Connection reset by peer]
That1Guy has quit [Client Quit]
unshadow has joined #ruby
That1Guy has joined #ruby
<mwlang> whatever happened to _why, anyhow. I heard he up and dissappeared. Did he ever resurface?
Rollabunna has joined #ruby
chinmay_dd has joined #ruby
<Nilium> Yes. He'd rather be left alone, last I heard.
danman has joined #ruby
poguez_ has joined #ruby
arturaz has quit [Ping timeout: 264 seconds]
ki0 has joined #ruby
neonrooster has quit [Quit: Page closed]
segfalt has joined #ruby
haroldwu has quit [Read error: Connection reset by peer]
MasterPiece has joined #ruby
<mwlang> Nilium: heh…I wasn’t looking to go bother him. Just curious if he came back to developing in Ruby or publishing again, but it sounds like that’s a “no”
<unshadow> This is a little bit wierd, but, is any of you on Arch-Linux and using RubyMine ?
Pupeno has joined #ruby
<StevenXL> adaedra: I think I got it!
charliesome has quit [Quit: zzz]
<StevenXL> I had to override to_s in both the Dinosaur class and the Dinodex class.
<adaedra> mmmh, sorry, I didn't followed for a while
<StevenXL> But I re-read the relevant section in The Well-Grounded Rubyist and what I was doing wrong made sense.
<adaedra> ah no, I missed nothing apparently
<StevenXL> adaedra: You didn't miss anything.
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<adaedra> put the extension of files in gist so coloration works
<StevenXL> I put the code up as a gist, and the csv is here.
<mwlang> StevenXL: you’re calling “puts” in the #to_s
<mwlang> but #to_s should be returning a string rather than outputing to the console.
sanguisdex has joined #ruby
<adaedra> yep, same error as yesterday
<StevenXL> adaedra: I'll add the extension.
<StevenXL> hm.. odd. I might have put up the wrong version of the file
thiagovsk has joined #ruby
<adaedra> in Dinodex#to_s, you have to create a string, not puts one. You may do that quickly with Array#map and Array#join.
pdoherty has joined #ruby
badboyninja has joined #ruby
<StevenXL> ok, I'll do that.
<StevenXL> here's the upated file (w/o your suggestion, which I'll do now).
snockerton has joined #ruby
Juanchito has quit [Quit: Connection closed for inactivity]
badboyninja has quit [Remote host closed the connection]
jordanm has joined #ruby
jordanm has quit [Read error: Connection reset by peer]
jordanm has joined #ruby
<adaedra> much color :)
<StevenXL> adaedra: Yea. I thought I just had to choose the language in the drop-down, but I guess the extension is what matters.
<adaedra> lines 77-79 are a problem
sanguisdex has quit [Quit: Leaving.]
snockerton has left #ruby [#ruby]
<adaedra> but it's linked to the problem above, so should be fixed at the same moment
snockerton has joined #ruby
fantazo has joined #ruby
<StevenXL> right, to the problem in 35-43
<StevenXL> got it
<StevenXL> thanks
gambl0re has quit [Ping timeout: 272 seconds]
thatslifeson has joined #ruby
conta has quit [Quit: Leaving]
conta has joined #ruby
icebourg has joined #ruby
thatslifeson has quit [Client Quit]
einarj has quit [Ping timeout: 244 seconds]
einarj has joined #ruby
<Nilium> mwlang: Not that I'm aware of on publishing. He probably is using Ruby or some other language, but I couldn't say.
jobewan has quit [Quit: leaving]
snockerton has left #ruby [#ruby]
snockerton has joined #ruby
mistermocha has joined #ruby
jobewan has joined #ruby
go|dfish has joined #ruby
Rirel has joined #ruby
airdisa has quit [Remote host closed the connection]
ItSANgo has quit [Read error: Connection reset by peer]
thatslifeson has joined #ruby
ItSANg___ has joined #ruby
gagrio has quit [Ping timeout: 256 seconds]
ItSANg___ has quit [Read error: Connection reset by peer]
chinmay_dd has quit [Remote host closed the connection]
anisha has quit [Quit: Leaving]
zzing has joined #ruby
ItSANgo__ has joined #ruby
mistermo_ has joined #ruby
mistermocha has quit [Ping timeout: 255 seconds]
startupality has quit [Read error: Connection reset by peer]
Synthead has quit [Remote host closed the connection]
startupality has joined #ruby
chinmay_dd has joined #ruby
devoldmx has joined #ruby
slash_nick has quit [Ping timeout: 240 seconds]
selu has joined #ruby
jobewan has quit [Quit: leaving]
jobewan has joined #ruby
jobewan has quit [Client Quit]
jobewan has joined #ruby
jobewan has quit [Client Quit]
jobewan has joined #ruby
Papipo has quit [Read error: Connection reset by peer]
slash_nick has joined #ruby
Papipo has joined #ruby
conta has quit [Quit: Leaving]
krzkrz has quit [Read error: Connection reset by peer]
tkuchiki has quit [Ping timeout: 276 seconds]
chinmay_dd has quit [Remote host closed the connection]
shuber_ has joined #ruby
russt has quit [Ping timeout: 272 seconds]
serivich has quit [Ping timeout: 256 seconds]
noonius has quit [Quit: noonius]
chinmay_dd has joined #ruby
ahmetkapikiran has joined #ruby
slash_nick has quit [Ping timeout: 256 seconds]
russt has joined #ruby
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has quit [Remote host closed the connection]
shuber_ has quit [Ping timeout: 240 seconds]
crazydiamond has joined #ruby
That1Guy has joined #ruby
rocknrollmarc has quit [Quit: BitchX-1.2.1 -- just do it.]
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
ki0 has quit [Remote host closed the connection]
airdisa has joined #ruby
starless has joined #ruby
jobewan has quit [Quit: leaving]
jobewan has joined #ruby
That1Guy has quit [Client Quit]
ki0 has joined #ruby
dfinninger has joined #ruby
ki0 has quit [Read error: Connection reset by peer]
serivich has joined #ruby
ki0 has joined #ruby
ki0 has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
ki0 has joined #ruby
ki0 has quit [Read error: Connection reset by peer]
ki0_ has joined #ruby
ki0_ has quit [Read error: Connection reset by peer]
jobewan has quit [Client Quit]
mistermo_ has quit [Ping timeout: 250 seconds]
ki0 has joined #ruby
ki0 has quit [Read error: Connection reset by peer]
noonius has joined #ruby
ki0 has joined #ruby
astrobun_ has quit [Remote host closed the connection]
haxrbyte has quit [Read error: Connection reset by peer]
michael_imac is now known as michael_mbp
enlightenment has quit [Ping timeout: 276 seconds]
That1Guy has joined #ruby
x1337807x has joined #ruby
gambl0re has joined #ruby
parduse has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
parduse has joined #ruby
parduse has quit [Read error: Connection reset by peer]
maletor has joined #ruby
ki0 has quit [Remote host closed the connection]
wsylvest has joined #ruby
parduse has joined #ruby
Patrezze has quit [Remote host closed the connection]
wsylvest has quit [Client Quit]
_seanc_ has joined #ruby
jespada has quit [Ping timeout: 264 seconds]
mistermocha has joined #ruby
decoponio has joined #ruby
msgodf has quit [Ping timeout: 244 seconds]
<StevenXL> adaedra: how does this one look?
Channel6 has joined #ruby
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> well, before I take a look, does it works?
workmad3 has quit [Ping timeout: 252 seconds]
<StevenXL> adaedra: it works, except that at the very end, it returns the <Class: Memory Location> of the Dinodex object, which I would like it not to do.
<adaedra> Yes
<adaedra> I see that
<adaedra> And I already said why
wsylvest has joined #ruby
<adaedra> mwlang too
gsd has joined #ruby
gsd has quit [Max SendQ exceeded]
<StevenXL> adaedra: ok, so I shouldn't call puts in the Dinodex#to_s
<adaedra> no
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<adaedra> you should return a string
That1Guy has joined #ruby
<adaedra> but there's not too much to change
gsd has joined #ruby
mistermocha has quit [Remote host closed the connection]
<StevenXL> adaedra: I'm sorry. I'm confused. I am replacing Dinodex#to_s with dino.to_s, which does return a string, but nothing gets outputed to the terminal.
<StevenXL> adaedra: Let me think about this for a second.
<adaedra> ok
bmurt has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
<StevenXL> ah - there's a puts outside the iteration that I forgot about.
<StevenXL> and Dinodex#to_s should return a string as well, not just Dinosaur#to_s
lkba has joined #ruby
<StevenXL> ok i see
<StevenXL> (I think).
<adaedra> sounds right.
Guest49_ has joined #ruby
jmignault has quit [Read error: Connection reset by peer]
gaganjyot has joined #ruby
jespada has joined #ruby
slash_nick has joined #ruby
rahult is now known as rahult_
sinkensabe has quit [Remote host closed the connection]
workmad3 has joined #ruby
That1Guy has quit [Ping timeout: 256 seconds]
konsolebox has quit [Read error: Connection reset by peer]
The_Phoenix has joined #ruby
wolflee has quit [Ping timeout: 246 seconds]
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wolflee has joined #ruby
<adaedra> well, before I take a look, does it works?
<StevenXL> Sweetness! It looks like the filtering works, and the puts works.
<StevenXL> adaedra: it works.
<adaedra> great!
<adaedra> more important: do you understand why?
wsylvest has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Guest49_ has quit [Client Quit]
<StevenXL> Yes I do. puts implicitly calls to_s on the object that is passed in as an argument.
quimrstorres has quit [Remote host closed the connection]
<StevenXL> to_s's default behavior is to output something like <Class: Memory Location>
snockerton has quit [Quit: Leaving.]
<gambl0re> how could you write this code better? https://gist.github.com/anonymous/ab6c669c5c7bcd8a2aa5
<StevenXL> Which is what was originally happening.
moted has joined #ruby
momomomomo_ has quit [Quit: momomomomo_]
<adaedra> >> ('a'..'z').to_a
<ruboto> adaedra # => ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", ...check link for more (https://eval.in/358182)
quimrstorres has joined #ruby
<adaedra> gambl0re: for your lines 15-17
<StevenXL> I had to over-ride Dinodex#to_s to return a string representation of the data, but since the data was an array of Dinosaurs, I had over-ride Dinosaur#to_s so that I could represent the Dinosaurs in a string format as well.
gaganjyot has quit [Ping timeout: 256 seconds]
bmusson has joined #ruby
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobun_ has joined #ruby
<adaedra> gambl0re: anyway, if your goal is to calculate position of a letter in the alphabet, you don't need that. just do letter.ord - 'a'.ord
<adaedra> StevenXL: sounds ok
<StevenXL> Another stumblin block was that I was calling puts in the to_s methods that I over-wrote. The purpose of to_s is to return a string; the original call to puts will take care of displaying to the screen
serivich has quit [Ping timeout: 258 seconds]
snockerton has joined #ruby
<adaedra> gambl0re: your main block seems unnecessary complicated
ndrei has quit [Ping timeout: 244 seconds]
<gambl0re> how would you do it?...i wasn't really interested in writing the most efficient code. i just wanted to get it to work.
zzxc has quit [Ping timeout: 272 seconds]
<adaedra> gambl0re: basically, you just need String#ord and Integer#chr to get characters index.
<StevenXL> adaedra: Thanks for the help!
joonty has quit [Quit: joonty]
<StevenXL> You should've seen the first time I tried to solve this exercise. I didn't even use any objects. A true mess.
<gambl0re> hmm..im not sure exactly waht you mean but i'll look into it.
ndrei has joined #ruby
powder has quit [Quit: leaving]
<waxjar> not using any objects in ruby? now that is wizardry!
<adaedra> >> offset = 3; %(Hello, world).each_char.map { |e| ('a'..'z').include?(e) ? (e.ord + 3).chr : e }.join
<ruboto> adaedra # => "Hhoor, zruog" (https://eval.in/358213)
wottam has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<adaedra> actually, should not be reversible for end of alphabet, but it's a start
astrobun_ has quit [Remote host closed the connection]
<adaedra> waxjar: OOP's not easy for everyone
a346 has quit [Quit: a346]
<StevenXL> waxjar: heheh wizardry indeed!
<allcentury> any Mongoid users here?
<adaedra> sigh.
<StevenXL> waxjar: I should pull that out. Lol.
<adaedra> Ask your question, if someone can answer, he will, allcentury
baroquebobcat has joined #ruby
dfinninger has quit [Remote host closed the connection]
baroquebobcat has quit [Remote host closed the connection]
rehat has joined #ruby
baroquebobcat has joined #ruby
<allcentury> In mongoid, I'm seeing eager loading happening on occasion in production but cannot reproduce it locally. Basically, a model, say User -- has_many :addresses, :whatever; There are 15 associations, on some queries I'm seeing all 15 associations get executed only for a "find". I have zero clue how that's possible -- identity map is off and the query that seems to trigger it is User.find('some_id')
<allcentury> baffled.
SouL_|_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
<waxjar> btw, String#tr is good for a simple ceasar cipher
<waxjar> >> "hello world".tr("a-wx-z","d-za-c")
<ruboto> waxjar # => "khoor zruog" (https://eval.in/358214)
mary5030_ has joined #ruby
mary5030_ has quit [Remote host closed the connection]
hmsimha is now known as Guest36441
ixti has joined #ruby
zzxc has joined #ruby
Porfa_ has joined #ruby
mary5030 has quit [Ping timeout: 255 seconds]
rbennacer has joined #ruby
mary5030 has joined #ruby
<adaedra> waxjar: yeah, but if it's implementing the algorithm that is the goal here, that's a bit too much condensed, although perfectly correct
startupality has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
jonatin has joined #ruby
konsolebox has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
Porfa has quit [Ping timeout: 252 seconds]
Porfa_ is now known as Porfa
startupality has joined #ruby
nullset68 has joined #ruby
umgrosscol has joined #ruby
<gambl0re> i could have done x = ("a".."z").to_a
zzxc has quit [Ping timeout: 246 seconds]
ebbflowgo has joined #ruby
jamo___ has joined #ruby
zzxc has joined #ruby
zzxc has quit [Changing host]
zzxc has joined #ruby
granthatcher has quit []
sohrab has joined #ruby
alex88 has quit []
jamo___ has quit [Client Quit]
granthatcher has joined #ruby
granthatcher has quit [Client Quit]
RegulationD has quit []
shredding has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
GaryOak_ has joined #ruby
parduse has quit []
mistermocha has joined #ruby
RegulationD has joined #ruby
jobewan has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
maletor has joined #ruby
parduse has joined #ruby
Rickmasta has joined #ruby
dawkirst has joined #ruby
a346 has joined #ruby
krzkrz has joined #ruby
<Senjai> Hello ruby
<GaryOak_> Hello Senjai
momomomomo has joined #ruby
<Senjai> Are modules that just have random methods (that dont get included by anything, but are called directly) acceptable? Even if their logic is central to only one model?
<pagios> is there any good ruby binding for QT?
shuber_ has joined #ruby
iamninja has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<waxjar> sure Senjai, although it's better to be general
ndrei has quit [Ping timeout: 240 seconds]
chthon has quit [Quit: Ex-Chat]
chenillen has joined #ruby
ndrei has joined #ruby
startupality has quit [Quit: startupality]
scripore has joined #ruby
shuber_ has quit [Ping timeout: 276 seconds]
woodruffw has quit [Quit: And then he took off.]
crazydiamond has quit [Remote host closed the connection]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Ping timeout: 258 seconds]
airdisa has quit []
startupality has joined #ruby
endash has joined #ruby
thatego has joined #ruby
michaeldeol has joined #ruby
<BLuEGoD> I have a conceptual question related to http long polling and ruby. I'm using Goliath and a Grape API with PosgreSQL. I want to hold the client's HTTP request until there is data in the DB. If I get this right, is it the case of using EventMachine with a timer (say 1 second) that queries the DB every second and only sends a response back when there is data?
scripore has quit [Client Quit]
dawkirst has quit [Quit: Leaving...]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
startupality has quit [Client Quit]
startupality has joined #ruby
sdothum has joined #ruby
jottr has joined #ruby
Kricir has joined #ruby
<GaryOak_> BLuEGoD: You can use a trigger in Postgresql to callback when the data gets added
scripore has joined #ruby
noonius has quit [Quit: noonius]
<GaryOak_> In Postgres it's called Notify/Listen
Sou|cutter has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JimmyNeutron has quit [Remote host closed the connection]
symbol has quit [Quit: WeeChat 1.1]
insidious has quit [Quit: Textual IRC Client: www.textualapp.com]
<BLuEGoD> GaryOak_: Ah, awesome. That makes sense. So is it what I have to something like pause with EventMachine until I get the notify callback from psql ?
qwertme has joined #ruby
chenillen has quit [Quit: chenillen]
roshanavand has quit [Quit: Konversation terminated!]
baweaver has joined #ruby
<GaryOak_> Well the listen call will block the thread until the notify comes back or it times out
a346 has quit [Quit: a346]
momomomomo has quit [Ping timeout: 250 seconds]
gsd has quit [Read error: Connection reset by peer]
<BLuEGoD> ahh got you. I have another question, but not enterily related. I'm considering using Redis instead, however the query will need to get a 'top' list of stuff ordered by timestamp. That looks more SQLish for me, but do you think is it possible / worth to use Redis for that?
gsd has joined #ruby
MatthewsFace has joined #ruby
<GaryOak_> BLuEGoD: yeah that's more of a SQL thing if you want to order data by timestamp, Redis is mostly just for Key value storage
lkba has quit [Ping timeout: 246 seconds]
lavros has quit [Quit: leaving]
<BLuEGoD> yeah, I assumed so
<BLuEGoD> thanks GaryOak_ :)
dvlwrk has joined #ruby
nullset68 has quit [Quit: WeeChat 0.4.2]
nullset68 has joined #ruby
n008f4g_ has joined #ruby
ghostmoth has joined #ruby
rbennacer has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
<allcentury> coveralls includes test coverage for the tests themselves -- anyway to turn that off?
Guest1421 has quit [Ping timeout: 258 seconds]
snockerton has quit [Quit: Leaving.]
snockerton has joined #ruby
Rollabunna has quit [Remote host closed the connection]
konsolebox has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
konsolebox has quit [Read error: Connection reset by peer]
RegulationD has quit [Remote host closed the connection]
hoovsan has joined #ruby
paulcsmith_ has quit [Quit: Lingo: www.lingoirc.com]
<mwlang> what’s the difference between spawning on mac vs linux? By spawning on mac (where I was developing), I was able to process in parallel and utilize all cores of the CPU…but on linux, all processing is occurring under one CPU core. (MRI Ruby 2.1.5)
Rollabunna has joined #ruby
bmusson has quit [Quit: WeeChat 1.1]
<eam> mwlang: what do you mean spawning?
mahlon_ has quit [Ping timeout: 246 seconds]
<mwlang> eam: Kernel#spawn
yqt has joined #ruby
jobewan has quit [Quit: leaving]
ghr has quit [Ping timeout: 255 seconds]
<havenwood> mwlang: Does the linux box only have one core?
mahlon_ has joined #ruby
<eam> mwlang: should just be fork
spider-mario has quit [Read error: Connection reset by peer]
<mwlang> havenwood: it has 4
<havenwood> mwlang: Have an example of the code you're running?
<mwlang> eam: I thought #fork makes sub-processes
<eam> so does spawn
<mwlang> havenwood: yeah, putting the gist together momentarily.
RegulationD has joined #ruby
spider-mario has joined #ruby
<eam> mwlang: specifically, I suspect spawn is a vfork
scripore has quit [Quit: This computer has gone to sleep]
<eam> (on platforms that implement it)
<mwlang> havenwood: here’s the bones of the operation: https://gist.github.com/mwlang/95aaaf9e170ee987421d
jespada has quit [Ping timeout: 272 seconds]
shredding has quit [Remote host closed the connection]
einarj has joined #ruby
RegulationD has quit [Remote host closed the connection]
CustosLimen has quit [Ping timeout: 246 seconds]
<mwlang> eam: ok, let me look up vfork to learn more…I was under the impression reading the #spawn documentation that it was firing stuff off to it’s own processes rather than belonging under the parent process that was the current ruby script.
<eam> mwlang: you don't want to use detach there, it's not doing what you think
<eam> detach operates on the current process
<mwlang> and on macs, that seemed to confirm it as the Parent PID was different than the PID of the script that spawned it.
<eam> mwlang: all processes belong to the parent
juanpaucar has quit [Remote host closed the connection]
<eam> fork() makes an exact copy of the current process into a new process, with the only difference being the returned value of fork()
<eam> often, the child then calls execve() to become a new program
jobewan has joined #ruby
<eam> vfork() is an optimization on the fork/exec combo which doesn't make a new copy of the process before calling exec
<mwlang> eam: so fork would be a better option?
sohrab has quit [Ping timeout: 272 seconds]
<eam> at this level you almost certainly don't care
wallerdev has joined #ruby
<eam> it's absolutely certain that the sub processes are distinct processes able to be scheduled independently
allcentury has quit [Ping timeout: 256 seconds]
<mwlang> eam: “at this level” meaning “ruby” or “system”? or what?
Guest98109 has quit [Ping timeout: 276 seconds]
momomomomo has joined #ruby
<eam> mwlang: vfork() exists to optimize for high cost of copying a large process
<eam> if you don't need to worry about avoiding that cost, you don't care
<eam> most people don't
<mwlang> eam: yeah, I don’t care about that setup cost.
<eam> mwlang: imagine ruby -e'fork' # really fast
<mwlang> I just need to get things onto all the cores
hoovsan has quit []
<eam> ruby -e'allocate(100 gigs); fork'# this is going to be really slow
<mwlang> because one core cannot max out the linux server nor the dbms.
wallerdev has quit [Client Quit]
bricker has joined #ruby
<eam> yeah, you are certainly doing that with your code, maybe here's a better question: how are you measuring?
jobewan has quit [Client Quit]
einarj has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
<mwlang> eam: the processes I’m kicking off are going to be running for hours, so whether it takes 30 secs or 5 minutes to kick off is a non-issue.
mikecmpbll has joined #ruby
<eam> right
<eam> how have you determined that linux is only using one core?
<mwlang> eam: running top and pressing “1”
<mwlang> 1 core busy, 3 sitting at 0.0%
<eam> using ps, how many rake jobs do you see running?
hoov has joined #ruby
<mwlang> eam: I see four at a time
a346 has joined #ruby
<mwlang> I can take out the limit on the cores and just spawn ‘em all.
zzxc has quit [Ping timeout: 244 seconds]
<eam> well, it's odd that they're all on one core, if they're contending for cpu there's no reason they shouldn't be scheduled across other cores
Spami has quit [Quit: This computer has gone to sleep]
jobewan has joined #ruby
<eam> mwlang: what does taskset -p $pid say, for each of those workers?
<mwlang> eam: I may be having other issues, though…that one cpu core never goes above 10%
<eam> you may not be cpu bound at all
<mwlang> eam: you may be right….let me dig further into why the one core isn’t getting maxed.
bricker has quit [Quit: leaving]
pdoherty has quit [Ping timeout: 276 seconds]
orionstein is now known as orionstein_away
momomomomo_ has joined #ruby
allcentury has joined #ruby
<mwlang> eam what does this mean? pid 50212's current affinity mask: 5
<eam> aha
<eam> unexpected result, but I had a hunch
momomomomo has quit [Ping timeout: 244 seconds]
momomomomo_ is now known as momomomomo
<eam> it's a mask of which CPUs a process is permitted to execute on
spider-mario has quit [Read error: Connection reset by peer]
<eam> all bits set (ffff) means all processors
<eam> so somewhere you've got something that's setting a mask and restricting you
icarus has joined #ruby
rbennacer has joined #ruby
juanpaucar has joined #ruby
<mwlang> eam: hmmm…and what does this one mean? pid 50339's current affinity mask: f
<eam> to two processors, #1 and #4
<eam> mwlang: f should be any processor
<eam> or, any of the first 16
<eam> assuming you don't have >16 processors
<mwlang> eam: ok, that all makes sense.
huddy has quit [Quit: Connection closed for inactivity]
<eam> mwlang: it's an inherited trait, so if something sets that initially, sub-processes get it
<mwlang> eam: yeah.
zzxc has joined #ruby
<eam> maybe you're operating in an environment where someone has limited your jobs to particular cores?
Neutrino9 has joined #ruby
<mwlang> eam: I’m thinking its stemming from the fact that the Linux server is virtualized.
Hijiri has quit [Quit: WeeChat 1.0.1]
<eam> possibly, depending on what your host is doing
jobewan has quit [Quit: leaving]
jobewan has joined #ruby
<mwlang> eam: is there a way to tell if the processes are definitely throttled?
spider-mario has joined #ruby
<eam> well, the affinity mask will certainly prevent it from running on all cores
nullset68 has quit [Quit: WeeChat 0.4.2]
leafybas_ has joined #ruby
yqt has quit [Ping timeout: 252 seconds]
Oka has quit [Quit: さようなら]
bruno- has joined #ruby
jespada has joined #ruby
startupality has quit [Quit: startupality]
Neutrino9 has left #ruby [#ruby]
mtakkman has joined #ruby
ping-pong has quit [Ping timeout: 252 seconds]
ghostmoth has quit [Quit: ghostmoth]
leafybasil has quit [Ping timeout: 256 seconds]
ebonics has joined #ruby
malcolmva has quit [Ping timeout: 245 seconds]
j_mcnally has joined #ruby
alexherbo2 has joined #ruby
ghr has joined #ruby
Spami has joined #ruby
scripore has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
<gambl0re> why am i getting a error message?
msgodf has joined #ruby
juanpaucar has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
<toretore> >>count=Hash.new; count['howdy']
<ruboto> toretore # => nil (https://eval.in/358367)
thatego has left #ruby ["Leaving"]
<toretore> >> nil += 1
<ruboto> toretore # => /tmp/execpad-0087f6fae913/source-0087f6fae913:2: Can't assign to nil ...check link for more (https://eval.in/358368)
juanpaucar has joined #ruby
<toretore> >> nil + 1
<ruboto> toretore # => undefined method `+' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/358369)
karpuragauram has joined #ruby
quimrstorres has quit [Remote host closed the connection]
lidenskap has joined #ruby
dumdedum has quit [Quit: foo]
soulcake has quit [Quit: Quack.]
rgb-one has joined #ruby
qwertme has joined #ruby
soulcake has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
vivekananda has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
russt has quit [Read error: Connection reset by peer]
juanpaucar has quit [Ping timeout: 264 seconds]
asmodlol has quit [Ping timeout: 246 seconds]
nricciar has quit [Ping timeout: 256 seconds]
<gambl0re> is it because the count hash is empty?
<gambl0re> it has no key to add anything to?
jobewan has quit [Quit: leaving]
ghr has quit [Ping timeout: 264 seconds]
asmodlol has joined #ruby
ping-pong has joined #ruby
slash_nick has quit [Ping timeout: 252 seconds]
malcolmva has joined #ruby
jobewan has joined #ruby
doodlehaus has quit [Ping timeout: 265 seconds]
wldcordeiro_ has joined #ruby
QKO has quit [Remote host closed the connection]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jobewan has quit [Client Quit]
nricciar has joined #ruby
hackeron has quit [Ping timeout: 245 seconds]
QKO has joined #ruby
hackeron has joined #ruby
mtakkman has quit [Read error: Connection reset by peer]
giuseppesolinas has joined #ruby
Igorshp has quit [Remote host closed the connection]
<mwlang> eam: I think a couple times processes were ending as I was running taskset…because with this: for i in $(ps -ae | grep seti | awk '{print $1}'); do taskset -p $i; done I am consistently seeing the affinity mask at “f” so it’s assignable to any of the CPUs
wottam has joined #ruby
nobitanobi has quit [Remote host closed the connection]
jobewan has joined #ruby
paulcsmith has joined #ruby
QKO has quit [Changing host]
QKO has joined #ruby
bMalum has joined #ruby
RegulationD has joined #ruby
<eam> mwlang: that's more what I'd expect
pagios has left #ruby ["Leaving"]
wottam has quit [Client Quit]
momomomomo_ has joined #ruby
<mwlang> eam: fired off an email to the server admins to see what they may’ve configured to by way of throttling the cpus.
tcrypt has joined #ruby
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo_ is now known as momomomomo
n80 has quit [Quit: n80]
_seanc_ has quit [Quit: _seanc_]
sudog has quit [Ping timeout: 256 seconds]
scripore has quit [Quit: This computer has gone to sleep]
asmodlol has quit [Ping timeout: 240 seconds]
irccat4s2 has joined #ruby
wolfleemeta has joined #ruby
irccat4s2 has quit [Remote host closed the connection]
irccat4s2 has joined #ruby
Igorshp has joined #ruby
dru has joined #ruby
Igorshp has quit [Remote host closed the connection]
asmodlol has joined #ruby
irccat4s2 has quit [Remote host closed the connection]
wolflee has quit [Ping timeout: 272 seconds]
allcentury has quit [Ping timeout: 264 seconds]
<xxneolithicxx> count[x] = count[x].to_i + 1
<xxneolithicxx> >> nil.to_i
<ruboto> xxneolithicxx # => 0 (https://eval.in/358434)
braincrash has quit [Read error: Connection reset by peer]
sudog has joined #ruby
ki0 has joined #ruby
chipotle has quit [Quit: cheerio]
mclosson has joined #ruby
_seanc_ has joined #ruby
lele is now known as Guest24
itouchthings has joined #ruby
itouchthings has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
marr has quit [Ping timeout: 246 seconds]
braincrash has joined #ruby
edwinvdg_ has quit [Ping timeout: 256 seconds]
Guest1421 has joined #ruby
thatslifeson has quit [Remote host closed the connection]
dfinninger has joined #ruby
sohrab has joined #ruby
einarj has joined #ruby
msgodf has quit [Ping timeout: 264 seconds]
Hijiri has joined #ruby
inspiron has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
djellemah__ has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
Guest1421 has quit [Ping timeout: 272 seconds]
einarj has quit [Ping timeout: 264 seconds]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
<inspiron> hi, i'm trying to install a specific version of a gem. when i do so (sudo gem install librarian-puppet-maestrodev -v 0.9.10.1) I get "ERROR: While executing gem.. (Gem::Package::FormatError) No Metadata found! So I tried downloading the gem file here: https://rubygems.org/gems/librarian-puppet-maestrodev/versions/0.9.10.1 and ran: sudo gem install --local librarian-puppet-maestrodev-0.9.10.1.gem and I get "ERROR: could not find
<inspiron> a valid gem 'librarian-puppet-maestrodev-0.9.10.1.gem' (>= 0) in any repository
x1337807x has joined #ruby
Porfa has quit [Ping timeout: 240 seconds]
x1337807x has quit [Max SendQ exceeded]
snockerton has quit [Quit: Leaving.]
snockerton has joined #ruby
x1337807x has joined #ruby
danman has quit [Quit: danman]
Guest15454 has quit [Ping timeout: 258 seconds]
leafybas_ has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
ki0 has quit [Remote host closed the connection]
leafybasil has joined #ruby
Mohan has joined #ruby
jenrzzz has joined #ruby
Mohan is now known as Guest44924
workmad3 has quit [Ping timeout: 272 seconds]
noonius has joined #ruby
nobitanobi has joined #ruby
sinkensabe has joined #ruby
noonius has quit [Client Quit]
lidenska_ has joined #ruby
startupality has joined #ruby
ghr has joined #ruby
lidenskap has quit [Ping timeout: 244 seconds]
<inspiron> its not letting me install it remotely or locally. keeps saying no meta data
baweaver has joined #ruby
allcentury has joined #ruby
ggerman has joined #ruby
thatslifeson has joined #ruby
sinkensabe has quit [Remote host closed the connection]
frem has joined #ruby
ggerman has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
lkba has joined #ruby
shuber_ has joined #ruby
startupality has quit [Quit: startupality]
thatslif_ has joined #ruby
sinkensabe has joined #ruby
Guest44924 has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
thatslifeson has quit [Ping timeout: 272 seconds]
treehug88 has joined #ruby
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
failshell has quit [Remote host closed the connection]
kirun has joined #ruby
<pipework> inspiron: Do you not care that it's deprecated in favor of another gem?
<inspiron> unfortunatley it has to be this version because the customer has many other puppet scripts, etc... build around these old versions :(
Guest1421 has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jespada has quit [Ping timeout: 256 seconds]
<treehug88> I'm using activerecord with the activerecord:Timestamps, which generates the created_at and updated_at times in the ruby code. Is there a (reasonable) way I can have the created_at and updated_at times automatically set to the time the surrounding transaction was committed? I know I could update the rows after the fact with the time it was committed, but can I have ActiveRecord do this automatically?
doodlehaus has joined #ruby
jespada_ has joined #ruby
rippa has joined #ruby
hippyphysicist has joined #ruby
davidcollom has quit [Quit: Connection closed for inactivity]
_seanc_ has quit [Quit: _seanc_]
hippyphysicist has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
baweaver has quit [Remote host closed the connection]
_blizzy_ has joined #ruby
rdark has quit [Quit: leaving]
diegoviola has joined #ruby
noonius has joined #ruby
sinkensabe has quit [Remote host closed the connection]
paulcsmith has quit [Quit: Be back later ...]
Mohan_ has joined #ruby
QKO has quit [Remote host closed the connection]
<treehug88> I'm using ActiveRecord with ActiveRecord::Timestamp, which generates the created_at and updated_at times in the ruby code. Is there a (reasonable) way I can have the created_at and updated_at times automatically set to the time the surrounding transaction was committed? I know I could update the rows after the fact with the time it was committed, but can I have ActiveRecord do this automatically? (crossposted from #ruby,
<treehug88> apologies:)
<treehug88> oops
baweaver has joined #ruby
noonius has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jespada_ has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
r0bby_ has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has joined #ruby
slash_nick has joined #ruby
robbyoconnor has quit [Ping timeout: 256 seconds]
QKO has joined #ruby
blizzy has joined #ruby
QKO has quit [Changing host]
QKO has joined #ruby
paulcsmith has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
bMalum has quit [Quit: bMalum]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
meph has quit [Quit: Leaving.]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dru has left #ruby [#ruby]
x1337807x has quit [Ping timeout: 265 seconds]
Raverix has left #ruby [#ruby]
_blizzy_ has quit [Ping timeout: 256 seconds]
druuu has joined #ruby
<druuu> Is there a way to get the source of a method as a string (or something else I can pass into define_method) without having to go through source_location and i/o?
TinkerTyper has quit [Ping timeout: 258 seconds]
Mohan_ has quit [Ping timeout: 256 seconds]
TinkerTyper has joined #ruby
gsd has joined #ruby
A205B064 has joined #ruby
russt_ has joined #ruby
tuelz has quit [Ping timeout: 256 seconds]
blizzy has left #ruby [#ruby]
iamninja has joined #ruby
lidenska_ has quit [Remote host closed the connection]
r0bby_ has quit [Quit: Konversation terminated!]
werelivinginthef has joined #ruby
TheNet has quit [Quit: Textual IRC Client: www.textualapp.com]
Mohan has joined #ruby
Mohan is now known as Guest97623
thatslif_ has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 272 seconds]
<druuu> nevermind, I can just capture a reference with Object#method and remove/define with that
sinkensabe has quit [Remote host closed the connection]
Timba-as has joined #ruby
<druuu> >> def x; puts 'woot'; end; x; fb = method(:x); Object.send(:remove_method, :x); begin; x; puts "shouldn't get here"; rescue; puts "x not defined"; Object.send(:define_method, :x, fb); end; x
<ruboto> druuu # => woot ...check link for more (https://eval.in/358566)
kobain has quit [Ping timeout: 240 seconds]
<druuu> ty ruboto
marr has joined #ruby
jimms has joined #ruby
rbennacer has quit [Remote host closed the connection]
Guest97623 has quit [Ping timeout: 250 seconds]
shuber_ has quit [Remote host closed the connection]
kwekuanase has joined #ruby
tuelz has joined #ruby
DerisiveLogic has quit [Ping timeout: 250 seconds]
sinkensabe has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fantazo has quit [Quit: Verlassend]
towski_ has joined #ruby
jespada_ has joined #ruby
lidenskap has joined #ruby
rbennacer has joined #ruby
<allcentury> simplecov and coveralls include test coverage amounts of test files... is there anyway to turn that off?
tjbiddle has joined #ruby
baweaver has quit [Remote host closed the connection]
<allcentury> I'm not really sure how test files are covered btw, that seems like stack overflow too deep :P
hoov has quit []
shuber_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
starless has quit [Quit: Leaving]
juanpaucar has joined #ruby
kadoppe has quit [Ping timeout: 244 seconds]
jimms has quit [Remote host closed the connection]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
kadoppe has joined #ruby
x1337807x has quit [Max SendQ exceeded]
djbkd has quit [Remote host closed the connection]
mhib has joined #ruby
einarj has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
phutchins has quit [Ping timeout: 252 seconds]
uri_ has quit [Quit: Textual IRC Client: www.textualapp.com]
thatslifeson has joined #ruby
juanpaucar has quit [Ping timeout: 245 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
kobain has joined #ruby
DEA7TH has quit [Ping timeout: 258 seconds]
ghr has quit [Ping timeout: 258 seconds]
shuber_ has quit [Remote host closed the connection]
pdoherty has joined #ruby
m4farrel has left #ruby [#ruby]
enebo has quit [Quit: enebo]
einarj has quit [Ping timeout: 256 seconds]
x1337807x has joined #ruby
hectortrope has joined #ruby
yaw has joined #ruby
yaw has left #ruby [#ruby]
dseitz has joined #ruby
aswen has joined #ruby
hectortrope has quit [Client Quit]
mjuszczak has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
noobQ is now known as hectortrope
konsolebox has quit [Remote host closed the connection]
startupality has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
lidenskap has quit [Remote host closed the connection]
spider-mario has joined #ruby
hectortrope has quit [Quit: WeeChat 0.4.2]
hectortrope has joined #ruby
Mohan_ has joined #ruby
sinkensabe has joined #ruby
momomomomo has joined #ruby
aswen has quit [Ping timeout: 240 seconds]
pandaant has joined #ruby
chinmay_dd has quit []
xxneolithicxx has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
wallerdev has quit [Quit: wallerdev]
krzkrz has quit [Quit: WeeChat 1.0.1]
sinkensabe has quit [Remote host closed the connection]
scripore has joined #ruby
ddarkpassenger has joined #ruby
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Stalkr_ has joined #ruby
Mohan_ has quit [Ping timeout: 272 seconds]
pkrnj has joined #ruby
jottr has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
leafybasil has quit [Remote host closed the connection]
Porfa has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
pwattstbd has joined #ruby
giuseppesolinas has joined #ruby
DEA7TH has joined #ruby
Mohan_ has joined #ruby
mase-chatter has quit [Quit: Leaving]
Senjai has quit [Ping timeout: 265 seconds]
aswen has joined #ruby
Hijiri has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
n80 has joined #ruby
pandaant has quit [Remote host closed the connection]
momomomomo_ has joined #ruby
bMalum has joined #ruby
momomomomo has quit [Ping timeout: 265 seconds]
momomomomo_ is now known as momomomomo
orionstein_away is now known as orionstein
lidenskap has joined #ruby
sinkensabe has joined #ruby
aswen has quit [Ping timeout: 240 seconds]
Mohan_ has quit [Ping timeout: 272 seconds]
infinitone has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Mohan has joined #ruby
Mohan is now known as Guest16779
opes has quit [Max SendQ exceeded]
dvlwrk has quit [Remote host closed the connection]
opes has joined #ruby
simpyll has joined #ruby
sinkensabe has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
Senjai has joined #ruby
xxneolithicxx has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
jenrzzz has joined #ruby
Guest16779 has quit [Ping timeout: 264 seconds]
fantazo has joined #ruby
Mohan_ has joined #ruby
Rapier- has quit [Quit: (null)]
sanguisdex has joined #ruby
postmodern has joined #ruby
lidenskap has quit [Ping timeout: 255 seconds]
Rapier- has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shuber_ has joined #ruby
a346 has quit [Quit: a346]
Cust0sLim3n has quit [Max SendQ exceeded]
Guest1421 has quit [Ping timeout: 256 seconds]
Pumukel has joined #ruby
Cust0sLim3n has joined #ruby
but3k4 has quit [Ping timeout: 256 seconds]
Mohan_ has quit [Ping timeout: 250 seconds]
edwinvdgraaf has joined #ruby
Rollabunna has quit [Remote host closed the connection]
codecop has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
BLuEGoD has quit [Ping timeout: 265 seconds]
thatslifeson has quit [Remote host closed the connection]
sinkensabe has joined #ruby
mjuszczak has quit []
tesuji has quit [Ping timeout: 245 seconds]
tesuji__ has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
longfeet has joined #ruby
shuber_ has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 244 seconds]
sinkensabe has quit [Remote host closed the connection]
mistermocha has joined #ruby
scripore has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
rippa has joined #ruby
<mwlang> MSSQL server 2005 rocks….*not* :-/
<shevy> hmmm a question
<shevy> suppose I have two strings; x = 'abc//def' and y = 'abc/def'
<xxneolithicxx> i almost spit my juice at my monitor reading the first half of that mwlang
<shevy> I dislike the two '/' and wish to get rid of it, so I use .squeeze '/'
sinkensabe has joined #ruby
lidenskap has joined #ruby
<mwlang> I have no idea how to optimize this beast when CPU, network I/O, query activity are all largely idle.
enebo has joined #ruby
<shevy> Now here is my question: should I first make a manual check, like: if x.include? '//' or should I directly proceed to just invoke .squeeze!('/') without any check? which one would be faster?
<adaedra> xxneolithicxx: Windows ME rocks... at being a failure.
<mwlang> xxneolithicxx: :-)
Encapsulation has left #ruby ["Leaving"]
<mwlang> about all I can tell is that it has hogged 99% of the RAM and most of the time is actually killed by the OS doing page swaps ad infintum.
<GaryOak_> shevy: this is ruby, which one looks nicer
<shevy> GaryOak_ the one without .include?
einarj has joined #ruby
<shevy> because it is shorter :)
<shevy> and less to read for the human eye
<xxneolithicxx> i say just invoke it, its going to iterate over the string regardless, so your check is adding code thats not easier to read
scripore has quit [Client Quit]
<GaryOak_> .squeeze probably has some way to check if the value is in the string anyway, so you would probably be doing the work twice
<shevy> yeah that kind of makes sense
jackjackdripper has quit [Quit: Leaving.]
<shevy> you two are very wise old men
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
Pisuke has joined #ruby
Matthews_ has joined #ruby
e1nh4nd3r has quit [Quit: Leaving.]
Mohan_ has joined #ruby
mjuszczak has joined #ruby
sinkensabe has quit [Remote host closed the connection]
neanderslob has joined #ruby
airdisa has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
lidenskap has quit [Ping timeout: 252 seconds]
jackjackdripper has joined #ruby
Guest49049 has quit [Ping timeout: 256 seconds]
tjbiddle has joined #ruby
Sembei has quit [Ping timeout: 264 seconds]
lidenskap has joined #ruby
pasv has joined #ruby
Timba-as has quit [Quit: Lingo: www.lingoirc.com]
pasv is now known as Guest93215
MatthewsFace has quit [Ping timeout: 272 seconds]
baweaver has joined #ruby
bMalum has quit [Quit: bMalum]
Pisuke has quit [Ping timeout: 272 seconds]
codecop has quit [Remote host closed the connection]
pkrnj has quit [Quit: Computer has gone to sleep.]
leafybasil has joined #ruby
<adaedra> 'old'
sinkensabe has joined #ruby
loechel has joined #ruby
Mohan_ has quit [Ping timeout: 272 seconds]
giuseppesolinas has quit [Quit: Leaving]
simpyll has quit [Quit: simpyll]
<GaryOak_> I'm so old
<GaryOak_> I'm reading the C code for the squeeze function
<GaryOak_> it's confusing
<shevy> hehe
sinkensabe has quit [Remote host closed the connection]
<shevy> I find C code in general confusing
<shevy> the functions in itself are ok
<shevy> loops etc.. also fine
<shevy> handling memories and pointers and fancy-setting of data structs in C - that's where I am being ended
<shevy> and assembler
failshell has joined #ruby
<GaryOak_> and that function is 6000 lines in the string.c file
Pisuke has joined #ruby
<GaryOak_> s/in/into
Rapier- has quit [Quit: (null)]
baweaver has quit [Remote host closed the connection]
Dreamer3 has joined #ruby
Papipo has quit [Remote host closed the connection]
Encapsulation has joined #ruby
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Papipo has joined #ruby
lidenskap has quit [Ping timeout: 245 seconds]
lidenskap has joined #ruby
failshell has quit [Ping timeout: 265 seconds]
lidenska_ has joined #ruby
lidenskap has quit [Read error: Connection reset by peer]
allcentury has quit [Quit: WeeChat 1.1.1]
<shevy> huh
<shevy> no kidding?
Dreamer3 has quit [Ping timeout: 265 seconds]
Dreamer3_ has joined #ruby
wallerdev has joined #ruby
jimms has joined #ruby
<Radar> zotherstupidguy: no I am never online at quarter to 1 in the morning.
yqt has joined #ruby
sinkensabe has joined #ruby
vikaton has joined #ruby
ddarkpassenger has quit [Quit: Leaving]
Mohan_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<gambl0re> array = [[1],[2],[3],[4],[1],[2],[3],[4],[[1],[2],[3],[4],[5]]] ....does this work?
chipotle has joined #ruby
<shevy> that makes an array
<gambl0re> array = [1,2,3,4,[1,2,3,4,5,[1,2,3,4,5,[1,2,3,4,5,[1,2,3,4,5]]]]]
<shevy> a real beauty
<gambl0re> how would i access the nested arrays?
<gambl0re> or the nested elements?
<shevy> how do you normally access an array man
pietr0 has joined #ruby
<atmosx> you don't
<shevy> array = [1,2,3]
<atmosx> :-P
<shevy> there gambl0re - how do you access the elements
<adaedra> array[4][5][5] etc...
<shevy> adaedra! let him think!
<atmosx> I'm off to bed, night all.
but3k4 has joined #ruby
<gambl0re> i already knew...just wanted to see if you guys knew
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<adaedra> haha.
Papipo_ has joined #ruby
<adaedra> GaryOak_: don't dive in C code, you might drow
<adaedra> gambl0re: so now, explain why.
tuelz has quit [Ping timeout: 244 seconds]
jgt has joined #ruby
Papipo has quit [Read error: Connection reset by peer]
<shevy> we use [] to access an array
Kricir has quit [Remote host closed the connection]
<shevy> and whenever we have an array, we can use [] again
sinkensabe has joined #ruby
Papipo has joined #ruby
Papipo_ has quit [Read error: Connection reset by peer]
<xxneolithicxx> inception
<adaedra> *inception horn*
decoponio has quit [Quit: Leaving...]
Hijiri has quit [Ping timeout: 252 seconds]
Mohan_ has quit [Ping timeout: 256 seconds]
baweaver has joined #ruby
<pipework> Great method.
Dreamer3_ has quit [Quit: Computer has gone to sleep.]
<GaryOak_> that's really useful if you want to check if something is out of the bounds of an array
Dreamer3 has joined #ruby
Dreamer3 has quit [Client Quit]
thatslifeson has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Hijiri has joined #ruby
qwertme has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
bmurt has quit []
BLuEGoD has joined #ruby
Papierkorb has joined #ruby
BLuEGoD has quit [Client Quit]
jackjackdripper has joined #ruby
JDiPierro has quit [Remote host closed the connection]
lfox has joined #ruby
lfox has quit [Max SendQ exceeded]
<pipework> GaryOak_: What? Why not just get #size?
juanpaucar has joined #ruby
<pipework> #fetch is great for doing things when the object doesn't exist at the provided index.
lidenska_ has quit [Ping timeout: 240 seconds]
<GaryOak_> I don't know \o/
tuelz has joined #ruby
infinitone has quit [Remote host closed the connection]
BLuEGoD has joined #ruby
lidenskap has joined #ruby
sinkensabe has quit [Remote host closed the connection]
iasoon has joined #ruby
juanpaucar has quit [Ping timeout: 272 seconds]
startupality has quit [Quit: startupality]
shazaum has quit [Quit: Leaving]
crazydiamond has joined #ruby
rehat has quit [Ping timeout: 258 seconds]
armyriad has quit [Ping timeout: 272 seconds]
armyriad has joined #ruby
startupality has joined #ruby
ejnahc has quit [Ping timeout: 264 seconds]
Soda has joined #ruby
ejnahc has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
Narzew has joined #ruby
blaines has joined #ruby
zzxc has quit [Ping timeout: 246 seconds]
baroquebobcat has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
Papierkorb has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
asmodlol has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
duncannz has joined #ruby
<xxneolithicxx> ok i finished my Python deep dive on packaging now i need to package up my ruby stuffs. Any good recommended guides besides rubygems.org docs?
Papierkorb has joined #ruby
shuber_ has joined #ruby
mhib has quit [Remote host closed the connection]
momomomomo has joined #ruby
asmodlol has joined #ruby
iasoon has quit [Ping timeout: 265 seconds]
ldnunes has quit [Quit: Leaving]
sinkensabe has joined #ruby
Narzew has quit [Quit: Leaving]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iasoon has joined #ruby
baroquebobcat_ has joined #ruby
duderonomy has joined #ruby
shuber_ has quit [Ping timeout: 256 seconds]
ghr has joined #ruby
baroquebobcat has quit [Ping timeout: 264 seconds]
baroquebobcat_ is now known as baroquebobcat
chipotle has quit [Quit: cheerio]
slash_nick has quit [Ping timeout: 264 seconds]
Brando753 has quit [Ping timeout: 265 seconds]
sinkensabe has quit [Remote host closed the connection]
<shevy> they are all awful
<shevy> one useful thing is this here xxneolithicxx
<shevy> s.post_install_message
deric_skibotn has quit [Ping timeout: 276 seconds]
mjuszczak has quit []
<shevy> when someone installs your gem, you can add some lines of helpful info to the user
Musashi007 has joined #ruby
juanpablo_ has joined #ruby
jriese has quit [Quit: welp]
<juanpablo_> Does anyone know what the abbreviation strptime stands for? I know what the method does, but not what its name means
jriese has joined #ruby
phutchins has joined #ruby
baweaver has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
<GaryOak_> string parse time, I would guess
momomomomo has quit [Quit: momomomomo]
<weaksauce> yeah string parse time
seitensei has quit [Ping timeout: 252 seconds]
werelivinginthef has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
<unshadow> >> [1,2,3].shift
<ruboto> unshadow # => 1 (https://eval.in/358936)
<unshadow> >> [1,2,3].unshift
<ruboto> unshadow # => [1, 2, 3] (https://eval.in/358937)
<zotherstupidguy> Radar i was going through some trouble with irc and i wanted to ask you about ur old irc project summer
<zotherstupidguy> Radar now i know that i can chat in IRC via telnet and netcat :) i am one step away from my original goal but too sleepy to see it through
ghr has quit [Ping timeout: 252 seconds]
wldcordeiro_ has quit [Ping timeout: 258 seconds]
<shevy> so hardcore
<shevy> telnetting
seitensei has joined #ruby
seitensei has joined #ruby
<dorei> zotherstupidguy: you can always use ircII client, it's quite close to what you're describing unless you use some script :p
<zotherstupidguy> dorei i am too tired to undersand anything new rightnow
<zotherstupidguy> but thanks, will take a look tom =)
<Radar> zotherstupidguy: oh right :)
<Radar> summer isn't too old. It just does what I want it to do.
<Radar> It runs the helpa bot
<zotherstupidguy> can you send /who #ruby %in command and parse the result in ruby?
<xxneolithicxx> so insecure... telnetting
shum has joined #ruby
Guest1421 has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sawbones has joined #ruby
sdothum- has joined #ruby
hololeap has joined #ruby
<inspiron> how do i install something that has a .gemspec file?
slash_nick has joined #ruby
<adaedra> gem build then gem install xxx.gem
<zotherstupidguy> Radar the idea is to see how many ppl from wht country are in #ruby,
sdothum has quit [Ping timeout: 252 seconds]
<apeiros> inspiron: gem build your.gemspec; gem install your.gem
<Radar> zotherstupidguy: hard to tell I would think because some of us have unaffiliated cloaks
<Radar> zotherstupidguy: also my IP addr will tell you that I'm in America, and that's decidedly untrue
<zotherstupidguy> yeah but most don't
n80 has quit [Quit: n80]
workmad3 has joined #ruby
Musashi007 has quit [Read error: Connection reset by peer]
<Radar> However a CTCP time message will tell you that I'm at least in the AEST timezone, so there's that.
<hololeap> Radar: yeah but if an unknown amount of data is known to be inaccurate, then why bother?
<hololeap> zotherstupidguy: ^
dvlwrk has joined #ruby
<zotherstupidguy> think what would _why say...
Musashi007 has joined #ruby
* zotherstupidguy Zzzzzzzzz
shum has quit [Ping timeout: 276 seconds]
<inspiron> thanks!
Guest1421 has quit [Ping timeout: 265 seconds]
mjuszczak has joined #ruby
ukd1_ has quit [Ping timeout: 244 seconds]
umgrosscol has quit [Quit: Quit]
thiagovsk has quit [Quit: Connection closed for inactivity]
mjuszcza_ has joined #ruby
mjuszczak has quit [Read error: No route to host]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
mjuszczak has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
skyjumper has left #ruby [#ruby]
mjuszczak has quit [Max SendQ exceeded]
chiel has joined #ruby
shuber_ has joined #ruby
ukd1 has joined #ruby
mjuszczak has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
mjuszcza_ has quit [Read error: Connection reset by peer]
asmodlol has quit [Ping timeout: 246 seconds]
last_staff has quit [Quit: last_staff]
pkrnj has joined #ruby
ProLoser has joined #ruby
<ProLoser> hallo
<ProLoser> i have a recursive appearing endpoint and no idea how to debug what's going on
<ProLoser> how do you guys inspect in ruby?
Rickmasta has joined #ruby
<ProLoser> i'm a noob (js / frontend dev)
pengin has joined #ruby
<adaedra> ?pry
<ruboto> Pry, the better IRB. Includes easy object inspection via `ls`, `history`, docs view with `?`, source view with `$` and syntax highlighting, among other features (see `help` for more). It can also be used for easy debugging by putting ’binding.pry’ directy in your source code. Visit https://pryrepl.org/ or get it now with gem install pry pry-doc
mary5030 has quit [Ping timeout: 255 seconds]
<adaedra> ProLoser: look at that ^
<ProLoser> how would i use it alongside rails?
<adaedra> You're in rails?
<ProLoser> yeah
<ProLoser> i have an endpoint taking 4 minutes
<ProLoser> and it looks like it's querying the same data over and over
<hololeap> ProLoser: just add `gem 'pry'` to your Gemfile
mitchellhenke has quit [Quit: Computer has gone to sleep.]
asmodlol has joined #ruby
<hololeap> ProLoser: sorry about the weird backticks, i'm used to putting code in them
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ProLoser> we all use github, it's fine
Sawbones has quit [Remote host closed the connection]
<ProLoser> so i can't just run pry in a separate process after rails is run? or something?
<adaedra> Use `rails console`
<adaedra> But that would just help you test objects
<ProLoser> okay so i added pry to my gemfile in dev only
<adaedra> For performance issues, I remember that rails has some tools to test that
<ProLoser> and now how do i like pause an execution thread?
<adaedra> Use binding.pry
<adaedra> At the place you want to drop to a console
<adaedra> I recommand adding pry-byebug too to have debugging tools (step-by-step, ...)
baweaver has joined #ruby
<ProLoser> is that another gem?
<adaedra> yes
<ProLoser> you have to assume i'm a ruby noob
orionstein has quit [Quit: ZNC - http://znc.in]
<adaedra> np
<ProLoser> okay so my pages controller, not an ajax request, is taking 4 minutes to load an authenticated page
orionstein has joined #ruby
iasoon has quit [Ping timeout: 276 seconds]
turtil has quit [Read error: Connection reset by peer]
<hololeap> ProLoser: also #RubyOnRails might have better answers for rails-specific things
kirun has quit [Quit: Client exiting]
FernandoBasso has joined #ruby
<havenwood> My CTCP version: mIRC 5.91 (16 bit) for Microsoft © Windows For WorkGroups 3.11®
<adaedra> :o
<havenwood> Oh, way late for the convo, was scrolled up.
<adaedra> I don't even know what I'd have
<shevy> you have
<shevy> great french cuisine!
<adaedra> -_-
<havenwood> shevy: a bon!
<shevy> oui oui
<adaedra> ---___---
mjuszczak has quit []
turtil has joined #ruby
mitchellhenke has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
mitchellhenke has quit [Client Quit]
einarj has joined #ruby
Rollabunna has joined #ruby
<hololeap> ProLoser: iyou could use Benchmark to output the timing for each line of code in your controller: http://ruby-doc.org/stdlib-2.2.0/libdoc/benchmark/rdoc/Benchmark.html
BLuEGoD has quit [Quit: oh cruel destiny]
mjuszczak has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 250 seconds]
Deele has quit [Ping timeout: 256 seconds]
Rollabunna has quit [Ping timeout: 244 seconds]
lidenskap has quit [Remote host closed the connection]
_cake has joined #ruby
pietr0 has quit [Ping timeout: 245 seconds]
duncannz has quit [Ping timeout: 245 seconds]
momomomomo has joined #ruby
baweaver has quit [Remote host closed the connection]
qwertme has joined #ruby
momomomomo has quit [Client Quit]
Sawbones has joined #ruby
airdisa has quit []
riotjones has joined #ruby
failshell has joined #ruby
centrx has joined #ruby
mclosson has quit [Ping timeout: 264 seconds]
failshell has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
EllisTAA has joined #ruby
riotjone_ has quit [Ping timeout: 252 seconds]
danman has joined #ruby
MasterPiece has quit [Remote host closed the connection]
<EllisTAA> is there a text editor that goes horizontal instead of vertical?
snockerton has quit [Quit: Leaving.]
Azure has quit [Read error: Connection reset by peer]
<shevy> huh
<shevy> turn the monitor sideways
<mwlang> EllisTAA: Microsoft Excel
orionstein is now known as orionstein_away
Azure has joined #ruby
bogdanteleaga has quit [Ping timeout: 264 seconds]
vickleton has joined #ruby
duncannz has joined #ruby
doodlehaus has joined #ruby
deric_skibotn has joined #ruby
BLuEGoD has joined #ruby
slash_nick has quit [Ping timeout: 250 seconds]
<weaksauce> what does that even mean EllisTAA
doodlehaus has quit [Remote host closed the connection]
jenrzzz_ has quit [Ping timeout: 272 seconds]
bogdanteleaga has joined #ruby
<EllisTAA> weaksauce: let’s say you write a method and then you are going to start writing a new method. instead of that new method appearing below the first, it would appear to the right, so instead of scrolling up and down to read a document you would scroll right to left. i bet it would increase comprehension at least for me in reagards to understanding source code.
SouL_|_ has quit [Ping timeout: 272 seconds]
<weaksauce> vim has splits.
reinaldob has quit [Remote host closed the connection]
<weaksauce> you can open up the same file in more than one split and navigate how ever you want
reinaldo_ has joined #ruby
<EllisTAA> what does the split do?
reinaldo_ has quit [Remote host closed the connection]
<EllisTAA> open two tabs?
doodlehaus has joined #ruby
duncannz has quit [Read error: Connection reset by peer]
<adaedra> open two panes, side-by-side
<adaedra> they can have the same document, at different places
<EllisTAA> gotcha
<adaedra> closest to what you're asking, I guess
<EllisTAA> i guess i could test it out by copying code to a piece of paper and having someone read it
<adaedra> if you're trying to compare two bits of code at the eye, using splits are a good way
<adaedra> lot of editors offer that, actually
<EllisTAA> how do y’all find cool open source projects to contribute to?
<adaedra> GitHub
lidenskap has joined #ruby
tus has joined #ruby
<shevy> EllisTAA usually I only would tend to contribute to projects that have a certain structure, and are useful to me
<shevy> (if I could)
<shevy> prawn for instance has a good structure https://github.com/prawnpdf/prawn
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<EllisTAA> shevy: what do you mean by certain structure?
<shevy> well
<shevy> there are awful projects out there
<shevy> many abandoned ones too
<shevy> I tried to maintain the old ruby-fpdf software
<shevy> it's awful
<EllisTAA> oh i see
<shevy> curious that you could actually produce .pdf files with it too
<shevy> the code was like
<shevy> @FormatHeight = 5
lidenskap has quit [Ping timeout: 256 seconds]
<shevy> this was harmless though
<shevy> the API was like
<shevy> def pad(a,b,eb,eh,eh,ewhw,h,hr,rjh,ej,wj,wjw)
<weaksauce> ouch
wallerdev has quit [Quit: wallerdev]
<shevy> a bit exaggerated ;)
Papipo has quit [Remote host closed the connection]
<weaksauce> prawn is pretty decent for pdfs
j_mcnally has joined #ruby
<shevy> yeah
<weaksauce> some layout stuff can be a bit stunted though
jenrzzz has joined #ruby
Papipo has joined #ruby
<EllisTAA> :)
fantazo has quit [Quit: Verlassend]
<EllisTAA> thanks for sharing that
lidenskap has joined #ruby
icebourg has quit []
<adaedra> 'night
roolo_ has quit [Remote host closed the connection]
shosti has joined #ruby
mjuszczak has quit []
startupality has quit [Quit: startupality]
<shevy> well, I try to use the pdf generation part usually as simple as possible
workmad3 has quit [Ping timeout: 276 seconds]
<shevy> like to generate a manual for a larger ruby gem, as .pdf too
<shevy> I tend to mess up when it comes to design
<centrx> Poll: Should I start using Google Calendar?
<shevy> it works great on my screen!
<shevy> centrx do not give in to google!
doodlehaus has quit [Remote host closed the connection]
<centrx> But they already have all my financial and medical information. What could possibly go wrong?
mjuszczak has joined #ruby
<shevy> I actually note down appointments etc... in yaml files, and let ruby tell me what happens next
j_mcnally has quit [Read error: Connection reset by peer]
fakam has joined #ruby
<shevy> others profit from your information
<shevy> do you profit as well?
<centrx> Their #1 principle is Don't Be Evil
<centrx> QED
baweaver has joined #ruby
<shevy> they abandoned that several years ago
<shevy> once they got big enough
<adaedra> centrx: it depends, what are the alternatives?
<shevy> they pulled down the mask
<centrx> oh, what does it say now?
<shevy> <adaedra> 'night <--- HEY!
<centrx> The main alternative is continuing to keep it all in my head
<shevy> centrx The World belongs to US
<adaedra> shevy: IRC won't let me go :(
<centrx> 'Murica?
<shevy> or perhaps "Resistance is futile." but I think they'd stolen that
fakam has quit [Client Quit]
<mwlang> how do I match on this N'Bloomsbury Publishing Plc' and turn into %s? “N'Bloomsbury Publishing Plc’”.gsub(/N\’.^[\’]+’/,’%s’) is my attempt thus-far.
<centrx> huh/
<shevy> you want to capture "N'Bloomsbury Publishing Plc'" precisely?
<mwlang> basically, I’m trying to say, “capture everything between the single quotes, including the single quote and the preceding “N”
<adaedra> mwlang: why are you quotes different in ruby sample?
<shevy> aha so between
<shevy> wait what
<weaksauce> shevy I had some problems with trying to make a 3 column layout that could span multiple pages
<shevy> "capture everything between the single quotes, including the single quote"
<shevy> so what now
<shevy> capture everything BETWEEN
<weaksauce> or actually just a 2 column layout
<shevy> or capture everything starting AT the '
<adaedra> should'nt your ^ be in []? so [^\']+ ?
danman has quit [Quit: danman]
<mwlang> I’m basically turning literal strings in a SQL statement into %s => “SELECT TOP (1) [ID] FROM [MARKET_ASSIGNMENTS] WITH (NOLOCK) WHERE (([MARKET_CODE] = N'US') AND ([ITEM_ID] = 9781448201471) AND ([SUPPLIER_NAME] = N'Bloomsbury Publishing Plc’))”” => SELECT TOP (1) [ID] FROM [MARKET_ASSIGNMENTS] WITH (NOLOCK) WHERE (([MARKET_CODE] = %s) AND ([ITEM_ID] = 9781448201471) AND ([SUPPLIER_NAME] = %s))"
<shevy> adaedra I think he uses some special encoding
<shevy> argh
<shevy> my eyes were blinded by SQL injection
<mwlang> shevy: :-)
<weaksauce> bobby tables wants to have a word with you mwlang
<adaedra> >> %(N'Bloomsbury Publishing Plc).gsub(%r(N'[^\']+'), '%s')
vikaton has quit []
<ruboto> adaedra # => "N'Bloomsbury Publishing Plc" (https://eval.in/359062)
<adaedra> mmh
<shevy> let's test it with a longer string
<mwlang> adaedra: you nailed it.
reinaldob has joined #ruby
TuxOtaku has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mwlang> my mistake was indeed the ^ outside the brackets
Azure has quit [Remote host closed the connection]
<shevy> he nailed it with a french hammer
<mwlang> and I didn’t need the . wildcard,. doh!
<adaedra> ok, great
<adaedra> well, this time I go to bed
<mwlang> now I can collapse all the fricking SQL in the logs and count ‘em by occurrance.
mjuszczak has quit []
Stalkr_ has quit [Quit: Leaving...]
shuber_ has quit [Remote host closed the connection]
EllisTAA has quit [Quit: EllisTAA]
<shevy> hmm
<shevy> this is the realness of programming in 2015!
Spami has quit [Quit: Leaving]
Azure has joined #ruby
reinaldob has quit [Ping timeout: 276 seconds]
tcrypt has quit []
tjbiddle has quit [Quit: tjbiddle]
juanpaucar has joined #ruby
ixti has quit [Quit: WeeChat 1.1.1]
d10n-work has quit [Quit: Connection closed for inactivity]
shuber_ has joined #ruby
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
EllisTAA has joined #ruby
icebourg has joined #ruby
loechel has quit [Ping timeout: 252 seconds]
icebourg has quit [Max SendQ exceeded]
swgillespie has joined #ruby
swgillespie has quit [Client Quit]
Spami has joined #ruby
momomomomo has joined #ruby
sn0wb1rd has joined #ruby
icebourg has joined #ruby
wldcordeiro_ has joined #ruby
juanpaucar has quit [Ping timeout: 272 seconds]
momomomomo has quit [Client Quit]
djbkd has quit [Read error: Connection reset by peer]
thatslifeson has quit [Remote host closed the connection]
TheNet has joined #ruby
andrew-l has quit [Ping timeout: 272 seconds]
<TheNet> how do I test a gem generated with bundle gem -t minitest
<TheNet> ?
mary5030 has joined #ruby
danman has joined #ruby
dfinninger has quit [Remote host closed the connection]
treehugging has joined #ruby
swgillespie has joined #ruby
jerius has quit [Quit: /quit]
wallerdev has joined #ruby
jriese has quit [Quit: welp]
momomomomo has joined #ruby
jriese has joined #ruby
<TheNet> it works when I change require 'minitest_helper' to require_relative 'minitest_helper'
Rollabunna has joined #ruby
mjuszczak has joined #ruby
mary5030 has quit [Ping timeout: 256 seconds]
<druuu> >> def x; puts 5; end; x(); puts [methods.include?(:x), self.methods.include?(:x), Object.methods.include?(:x)].inspect
<ruboto> druuu # => 5 ...check link for more (https://eval.in/359126)
<druuu> what objects are methods defined at runtime defined onto?
icebourg has quit []
<centrx> the metaclass!
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
<apeiros> druuu: you mean top-level methods? on main
<apeiros> druuu: just check self
MikeLees has left #ruby [#ruby]
TheNet has joined #ruby
<druuu> self.methods.include?(:foo) is false though
<centrx> oh
<centrx> I thought it was called :x
<druuu> well yes, :x is false also
<apeiros> >> def foo; end; p method(:foo).owner
<ruboto> apeiros # => Object ...check link for more (https://eval.in/359127)
icebourg has joined #ruby
<apeiros> druuu: and it's false because the method is private
<apeiros> >> def foo; end; private_methods.include?(:foo)
<ruboto> apeiros # => true (https://eval.in/359128)
<druuu> Ah!
<druuu> Thanks :)
juanpablo_ has quit [Quit: (null)]
airdisa has joined #ruby
subtwo has joined #ruby
Rollabunna has quit [Ping timeout: 272 seconds]
powder has joined #ruby
mjuszczak has quit [Client Quit]
atmosx has quit [Read error: Connection reset by peer]
<apeiros> iirc top-level methods are slightly special. iirc they're local to the file you define them in.
QKO has quit [Remote host closed the connection]
<apeiros> going to bed now, though. so I won't verify that today.
atmosx has joined #ruby
<apeiros> another iirc: def self.foo on top level will create a method which can only be called at top level
airdisa has quit [Remote host closed the connection]
airdisa has joined #ruby
treehugging has quit [Quit: Page closed]
Shidash has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
Ropeney has joined #ruby
gsd has joined #ruby
iamninja has joined #ruby
jimms has quit [Remote host closed the connection]
QKO has joined #ruby
Musashi007 has quit [Quit: Musashi007]
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/20150415140819]]
Hijiri has joined #ruby
Shidash has joined #ruby
<Eiam> hmm. are Resque & DelayedJob the only two shops in town for job/task management in ruby? I'm looking for something that can handle start/stopping jobs, recording the history of jobs (Who ran it, when, where, etc) which doesn't seem fully covered by resque
ki0 has joined #ruby
<Eiam> short of course, of writing it myself
<centrx> There's a difference between background jobs/queue and scheduled jobs/cron-like
jgt has quit [Ping timeout: 245 seconds]
<centrx> I like DelayedJob
<centrx> but yeah, sidekiq is the other major one
jottr has quit [Ping timeout: 265 seconds]
failshell has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
djbkd has quit [Remote host closed the connection]
shosti has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
pkrnj has quit [Quit: Computer has gone to sleep.]
QKO has quit [Changing host]
QKO has joined #ruby
phizzbuzz has quit [Remote host closed the connection]
danman has quit [Quit: danman]
icebourg has quit []
RegulationD has quit [Remote host closed the connection]
doodlehaus has joined #ruby
<Eiam> thanks
mjuszczak has joined #ruby
jottr has joined #ruby
zzxc has joined #ruby
zzxc has joined #ruby
Sawbones has quit [Remote host closed the connection]
dorei has quit []
Sawbones has joined #ruby
baweaver has quit [Remote host closed the connection]
EllisTAA has quit [Quit: EllisTAA]
jespada_ has quit [Ping timeout: 255 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
iotouch has joined #ruby
doodlehaus has quit [Remote host closed the connection]
pkrnj has joined #ruby
pkrnj has quit [Client Quit]
JDiPierro has joined #ruby
rahult has joined #ruby
_seanc_ has joined #ruby
orionstein_away is now known as orionstein
rahult is now known as rahult_
rahult_ is now known as rahult
baweaver has joined #ruby
<shevy> anyone can recommend something that tells me what may happen in the next 10 days, starting from today? I need some kind of "calendar-planner"
devoldmx has quit [Ping timeout: 276 seconds]
wldcordeiro_ has quit [Quit: Konversation terminated!]
deric_skibotn has quit [Ping timeout: 276 seconds]
<GaryOak_> shevy: It's called Calendar
<TheNet> how is that ruby?
<GaryOak_> If you wish real hard it could be ruby
Hijiri has joined #ruby
ndrei has quit [Remote host closed the connection]
Musashi007 has joined #ruby
zzxc has quit [Ping timeout: 272 seconds]
meph has joined #ruby
CloCkWeRX has joined #ruby
CloCkWeRX has left #ruby [#ruby]
mjuszczak has quit [Ping timeout: 264 seconds]
thatslifeson has joined #ruby
zzxc has joined #ruby
zzxc has joined #ruby
zzxc has quit [Changing host]
mjuszczak has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
astrobun_ has joined #ruby
orionstein is now known as orionstein_away
crazydiamond has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
crazydiamond has joined #ruby
premera has joined #ruby
ghr has joined #ruby
ndrei has joined #ruby
sevenseacat has joined #ruby
hewenhong has joined #ruby
hewenhong has quit [Remote host closed the connection]
djbkd has joined #ruby
hewenhong has joined #ruby
momomomomo has quit [Quit: momomomomo]
failshell has quit []
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby