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/
orionstein_away is now known as orionstein
shuber_ has quit [Remote host closed the connection]
luksaur has quit [Quit: Leaving]
marr has quit []
zachrab has joined #ruby
zachrab has quit [Remote host closed the connection]
shuber_ has joined #ruby
vickleton has quit [Ping timeout: 256 seconds]
Matthews_ has quit [Ping timeout: 272 seconds]
jackjackdripper has quit [Quit: Leaving.]
tuelz has quit [Ping timeout: 245 seconds]
startupality has joined #ruby
hewenhong has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 256 seconds]
TuxOtaku has joined #ruby
orionstein is now known as orionstein_away
doodlehaus has joined #ruby
devoldmx has joined #ruby
gambl0re has quit [Read error: Connection reset by peer]
JDiPierro has quit [Remote host closed the connection]
gambl0re has joined #ruby
doodlehaus has quit [Remote host closed the connection]
idafyaid is now known as bebilonu
sohrab has quit [Ping timeout: 250 seconds]
tuelz has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mwlang> I didn’t know inject’s arguments could be transposed… [1,2,3,4,5].inject{|sum,x| sum += x} => 15 and [1,2,3,4,5].inject{|sum,x| sum += x} => 15
sohrab has joined #ruby
<mwlang> has that always been the case or is that new with 1.9+
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
reinaldob has joined #ruby
Rickmasta has joined #ruby
<havenwood> mwlang: the = in your += isn't doing anything of use
<mwlang> havenwood: what? I’m not summing values?
<mwlang> havenwood: as in sum = sum + x
<havenwood> mwlang: it just cares what's returned on each iteration
devoldmx has quit [Remote host closed the connection]
Yzguy has joined #ruby
FernandoBasso has quit [Quit: leaving]
<mwlang> havenwood: right…my point was |sum,x| vs |x,sum|
tuelz has quit [Ping timeout: 244 seconds]
<havenwood> >> [1, 2, 3, 4, 5].inject { |sum, n| sum + n }
<ruboto> havenwood # => 15 (https://eval.in/359282)
<mwlang> I thought the order of the args mattered.
otr has joined #ruby
<havenwood> mwlang: Like for example, 1 + 2 is 3 but 2 + 1 is also 3.
<mwlang> havenwood: Ah! I see what you mean now.
pkrnj has joined #ruby
otr has left #ruby [#ruby]
mg^^ has left #ruby [#ruby]
devoldmx has joined #ruby
dyce has joined #ruby
<mwlang> sorry, I see I copied and pasted in correctly…. 5.times.inject{|sum,x| sum + x} == 5.times.inject{|x,sum| sum + x} => true
Spami has quit [Quit: Leaving]
Feyn has joined #ruby
pengin has quit [Remote host closed the connection]
<mwlang> what surprises me is that I can swap x and sum as the arguments and still get the same answer.
pengin has joined #ruby
QKO has quit [Remote host closed the connection]
<havenwood> >> [1, 2, 3, 4, 5].inject { |sum, n| n + sum }
<ruboto> havenwood # => 15 (https://eval.in/359284)
<havenwood> mwlang: ^ compare that to my previous example.
JDiPierro has joined #ruby
veduardo_ has joined #ruby
<baweaver> Flip them on subtraction
<havenwood> mwlang: Note sum and n are still respectively memo and obj. What you're really doing is just adding b + a instead of a + b. You're not changing what the arguments are.
<baweaver> >> (1..5).reduce { |acc, i| acc - i }
<ruboto> baweaver # => -13 (https://eval.in/359285)
<mwlang> havenwood: LOL Now I see it.
startupality has quit [Quit: startupality]
<baweaver> nevermind, binary ops won't show it
subtwo has quit [Remote host closed the connection]
RegulationD has joined #ruby
Musashi007 has quit [Quit: Musashi007]
Spami has joined #ruby
<pipework> >> (1..5).reduce(:-)
<ruboto> pipework # => -13 (https://eval.in/359286)
<mwlang> >> 6.times.reduce(:+)
<ruboto> mwlang # => 15 (https://eval.in/359287)
<pipework> mwlang: (:+) isn't that great of a face.
<mwlang> is #reduce favored over #inject ?
<pipework> (:-) is
jbomo has joined #ruby
<pipework> mwlang: Not usually. I prefer #reduce when using it with #map beforehand.
pengin has quit [Ping timeout: 264 seconds]
<pipework> I tend to prefer #each_with_object where applicable.
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jespada_ has joined #ruby
oo_ has joined #ruby
nfk has quit [Quit: yawn]
RegulationD has quit [Ping timeout: 245 seconds]
duncannz has joined #ruby
Ken-Sama has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
thatslifeson has quit [Remote host closed the connection]
spiderbyte has joined #ruby
jespada_ has quit [Ping timeout: 256 seconds]
Lildirt has quit [Quit: Leb wohl, meine Freunde. Ich wünsche Ihnen das beste von Tagen.]
Ken-Sama has left #ruby [#ruby]
Dreamer3 has joined #ruby
Lildirt has joined #ruby
ZeeNoodleyGamer has joined #ruby
<ZeeNoodleyGamer> Does ruby do 3d games, I haven't checked?
<centrx> It's not impossible, but 3D games are generally done in e.g. C++ for performance
<centrx> It's not big use case for Ruby
robustus has quit [Ping timeout: 264 seconds]
shuber_ has quit [Remote host closed the connection]
<eam> well, games are done in a lot of higher level languages than C++, but generally not ones with a gc
<pipework> There's not a lot of libraries and tooling in ruby for it.
scripore has quit [Quit: This computer has gone to sleep]
<eam> python however
shuber_ has joined #ruby
robustus|Off has joined #ruby
<pipework> Lua, however.
<eam> or even perl :)
ki0 has quit [Remote host closed the connection]
robustus|Off is now known as robustus
dvlwrk has quit [Ping timeout: 244 seconds]
<diegoviola> I'd like to see a 3d game in ruby just to see how it performs
<pipework> FFI all day long
<diegoviola> I recall running some opengl demos and the performance wasn't so bad
<eam> the performance is fine, gc pauses suck
<pipework> jrubby!
<eam> jvm isn't going to save you from gc pause my friend
<pipework> eam: It won't kill you, chum.
<pipework> See other shit games like minecraft.
<eam> I've seen it kill products dead
<diegoviola> write a ruby vm that compiles to rust
<eam> well, minecraft is a rather choppy experience :)
<pipework> eam: I've seen lots of horrible things written by java developers.
<eam> it's managable though, see also a bazillion android games
<pipework> I've also seen fantastic things that should be in museums or halls of fame.
<eam> I made a toy game in ruby, worked fine
troulouliou_dev has quit [Quit: Leaving]
<diegoviola> just when I got used to i3-wm I find that it sucks for running IDEs with lots of built-in floating windows, damn it
juanpaucar has joined #ruby
<eam> but OTOH I didn't have a lot of churn on the heap
<eam> gc isn't a problem if your logic fits in a small memory footprint
<pipework> Java isn't a stop the world GC by default though.
<eam> sure it is
<eam> it's true that parts are able to run concurrently
<pipework> The generational GC?
Soda has quit [Remote host closed the connection]
spider-mario has quit [Read error: Connection reset by peer]
<eam> but every GC will have non-concurrent sections
<pipework> not to my knowledge, but I don't feel as if I'm an expert on it.
GriffinHeart has joined #ruby
Deele has joined #ruby
<eam> concurrent gc minimizes the non-concurrent periods, but they do exist and as memory scales (into 10s of GB) they become long again
GriffinHeart has quit [Remote host closed the connection]
juanpaucar has quit [Ping timeout: 272 seconds]
ProLoser has quit [Remote host closed the connection]
<eam> there are a lot of memory patterns that don't scale well as memory size grows
GriffinHeart has joined #ruby
<eam> even regular old fork starts screwing up
tuelz has joined #ruby
Papierkorb has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
vikaton has joined #ruby
woodruffw has joined #ruby
qwertme has joined #ruby
astrobun_ has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
deric_skibotn has joined #ruby
<eam> I ran into a real world issue last year WRT how fork() scales roughly linearly with memory size of the parent
<eam> made tests very slow when the rspec process got large
duderonomy has quit [Ping timeout: 264 seconds]
shuber_ has quit [Remote host closed the connection]
arescorpio has joined #ruby
shuber_ has joined #ruby
rrecon has joined #ruby
DerisiveLogic has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Porfa has quit [Quit: porfa]
ki0 has joined #ruby
antgel has quit [Ping timeout: 272 seconds]
iotouch has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Musashi007 has joined #ruby
lidenskap has quit [Ping timeout: 264 seconds]
mjuszczak has quit []
scripore has joined #ruby
wallerdev has quit [Ping timeout: 264 seconds]
Channel6 has quit [Quit: Leaving]
jottr has quit [Ping timeout: 252 seconds]
Sawbones has quit [Remote host closed the connection]
d34th4ck3r has joined #ruby
ki0 has quit [Remote host closed the connection]
Rollabunna has joined #ruby
bmurt has joined #ruby
ValicekB has quit [Ping timeout: 272 seconds]
baweaver has quit [Remote host closed the connection]
tus has quit []
blaines has quit [Ping timeout: 246 seconds]
slucx has joined #ruby
icebourg has joined #ruby
<hololeap> if i have a thread that throws an exception, can i catch it with something like this? `begin; thread.join; rescue => e; do_whatever; end`
Spami has quit [Quit: This computer has gone to sleep]
icebourg has quit [Max SendQ exceeded]
<hololeap> also i have Thread.abort_on_exception = true
doodlehaus has joined #ruby
baweaver has joined #ruby
jiun has joined #ruby
Rollabunna has quit [Ping timeout: 256 seconds]
QKO has joined #ruby
<druuu> huehuehue send(:define_method, :method_missing, ->(_){})
rrecon has quit [Quit: Page closed]
<hololeap> nvm, i found the answer: http://stackoverflow.com/a/9095369
claptor has joined #ruby
ValicekB has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
Lildirt has quit [Quit: Leb wohl, meine Freunde. Ich wünsche Ihnen das beste von Tagen.]
Lildirt has joined #ruby
doodlehaus has quit [Remote host closed the connection]
_cake has quit [Read error: Connection reset by peer]
hewenhon_ has joined #ruby
_cake has joined #ruby
iteratorP has joined #ruby
tkuchiki has joined #ruby
Spami has joined #ruby
n008f4g_ has quit [Ping timeout: 272 seconds]
QKO has quit [Changing host]
QKO has joined #ruby
charliesome has joined #ruby
symbol has joined #ruby
yqt has quit [Ping timeout: 264 seconds]
Pupeno has quit [Remote host closed the connection]
jimms has joined #ruby
axsuul has joined #ruby
<axsuul> Anyone know of a good way to make multiple long running websocket connections in a scalable way? That is, adding and removing websocket connections
jimms has quit [Remote host closed the connection]
jespada_ has joined #ruby
chipotle has joined #ruby
devoldmx has quit [Ping timeout: 265 seconds]
bruno- has quit [Ping timeout: 272 seconds]
devoldmx has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
towski_ has quit [Remote host closed the connection]
exadeci has quit [Quit: Connection closed for inactivity]
phutchins has quit [Ping timeout: 252 seconds]
AlphaAtom has quit [Quit: Textual IRC Client: www.textualapp.com]
Sawbones has joined #ruby
pontiki has joined #ruby
jespada_ has quit [Ping timeout: 256 seconds]
symbol has quit [Quit: WeeChat 1.1]
Sawbones has quit [Client Quit]
shuber_ has quit [Remote host closed the connection]
<pontiki> hi
<Nilium> Yo.
shuber_ has joined #ruby
tkuchiki has quit [Quit: Leaving...]
multi_io has quit [Ping timeout: 240 seconds]
hewenhon_ has quit [Remote host closed the connection]
hewenhong has joined #ruby
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lidenskap has joined #ruby
DEA7TH has quit [Remote host closed the connection]
multi_io has joined #ruby
Cust0sLim3n has quit [Max SendQ exceeded]
Azure has joined #ruby
joelataylor has quit [Quit: Be back later ...]
tkuchiki has joined #ruby
RegulationD has joined #ruby
joelataylor has joined #ruby
Cust0sLim3n has joined #ruby
lidenskap has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 256 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
ScriptGeek has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
P1RATEZ has joined #ruby
joelataylor has quit [Ping timeout: 265 seconds]
hewenhon_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<ScriptGeek> I'm curious about what your opinion is about learning Ruby using Treehouse
hewenhong has quit [Ping timeout: 255 seconds]
jimms has joined #ruby
oo_ has quit [Remote host closed the connection]
<pontiki> what is treehouse, ScriptGeek ?
jimms has quit [Client Quit]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
orionstein_away is now known as orionstein
baweaver has quit [Remote host closed the connection]
Xiti has joined #ruby
sevenseacat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hololeap has quit [Ping timeout: 265 seconds]
vikaton has quit []
icarus has quit [Ping timeout: 252 seconds]
thatslifeson has joined #ruby
gambl0re has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
three18ti has quit [Ping timeout: 244 seconds]
<xxneolithicxx> ScriptGeek: you are your best teacher, anything else is just a different medium for you to reference
orionstein is now known as orionstein_away
<mwlang> ScriptGeek: as long as you can take a laptop up into the treehouse and still have Internet, I’d say you’re golden.
wolfleemeta_ has joined #ruby
tkuchiki_ has joined #ruby
<xxneolithicxx> lol
Oka has joined #ruby
wolfleemeta has quit [Ping timeout: 256 seconds]
dm78 has joined #ruby
deric_skibotn has quit [Ping timeout: 265 seconds]
tkuchiki has quit [Ping timeout: 264 seconds]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
digitalextremist has quit [Ping timeout: 272 seconds]
Mon_Ouie has quit [Ping timeout: 256 seconds]
meph has quit [Quit: Leaving.]
dm78 has quit [Quit: bye]
dm78 has joined #ruby
dm78 has quit [Client Quit]
dm78 has joined #ruby
nateberkopec has quit [Quit: Leaving...]
greenbagels has joined #ruby
swgillespie has joined #ruby
taiansu has joined #ruby
JDiPierro has quit [Remote host closed the connection]
three18ti has joined #ruby
rodfersou has quit [Quit: leaving]
cryptarium has joined #ruby
firc6154c2 has joined #ruby
dfinninger has joined #ruby
firc6154c2 has left #ruby [#ruby]
keen____ has joined #ruby
axsuul has joined #ruby
Lildirt has quit [Quit: Leb wohl, meine Freunde. Ich wünsche Ihnen das beste von Tagen.]
keen___ has quit [Read error: Connection reset by peer]
Lildirt has joined #ruby
nobitanobi has quit [Remote host closed the connection]
dm78 has quit [Quit: bye]
juanpaucar has joined #ruby
jespada_ has joined #ruby
dfinninger has quit []
tuelz has quit [Ping timeout: 245 seconds]
devoldmx has quit [Remote host closed the connection]
millerti has joined #ruby
dm78 has joined #ruby
juanpaucar has quit [Ping timeout: 256 seconds]
jespada_ has quit [Ping timeout: 246 seconds]
CpuID has joined #ruby
PeterHsieh has quit [Quit: Connection closed for inactivity]
veduardo_ has quit [Ping timeout: 272 seconds]
alvaro_o has joined #ruby
bmurt has quit []
taiansu has quit [Remote host closed the connection]
icebourg has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
airdisa has quit []
bb010g has joined #ruby
rahult is now known as rahult_
a13x212 has joined #ruby
<a13x212> anyone seen this error using ruby redis? ERR unknown command 'to_ary' (Redis::CommandError)
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has quit [Quit: My people need me...]
shellfu has quit [Quit: Leaving]
zzxc has quit [Ping timeout: 255 seconds]
Yzguy has quit [Read error: Connection reset by peer]
ohaibbq has joined #ruby
taiansu has joined #ruby
icebourg has quit []
taiansu has quit [Remote host closed the connection]
taiansu has joined #ruby
lthomas1 has joined #ruby
thatslif_ has joined #ruby
lthomas1 has quit [Quit: lthomas1]
konsolebox has joined #ruby
thatslifeson has quit [Ping timeout: 252 seconds]
lthomas1 has joined #ruby
thatslif_ has left #ruby [#ruby]
paradisaeidae has joined #ruby
mclosson has joined #ruby
fella5s has joined #ruby
Hijiri has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
icebourg has joined #ruby
braincrash has quit [Quit: bye bye]
Rollabunna has joined #ruby
ScriptGeek has left #ruby [#ruby]
QKO has quit [Remote host closed the connection]
hewenhon_ has quit [Remote host closed the connection]
QKO has joined #ruby
ZeeNoodleyGamer has quit [Quit: Leaving]
taiansu has quit [Ping timeout: 255 seconds]
taiansu_ has joined #ruby
mistermocha has quit [Ping timeout: 256 seconds]
diegoviola has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 276 seconds]
karpuragauram has quit [Ping timeout: 244 seconds]
braincrash has joined #ruby
sevenseacat has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupeno has joined #ruby
mclee has quit [Ping timeout: 246 seconds]
davedev2_ has quit []
mclosson has quit [Ping timeout: 265 seconds]
swgillespie has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
x1337807x has joined #ruby
taiansu_ has quit [Remote host closed the connection]
krz has joined #ruby
malcolmva has quit [Ping timeout: 250 seconds]
taiansu has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
wancee has joined #ruby
ballpointcarrot has joined #ruby
taiansu_ has joined #ruby
shuber_ has quit [Remote host closed the connection]
wancee has quit [Client Quit]
rahult has joined #ruby
mitchellhenke has joined #ruby
rahult is now known as rahult_
rahult_ is now known as rahult
RegulationD has joined #ruby
rahult is now known as rahult_
taiansu has quit [Ping timeout: 256 seconds]
rahult_ is now known as rahult
Volsus has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jespada_ has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
joelataylor has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
_cake is now known as cake
lessless has joined #ruby
cake is now known as _cake
sevenseacat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
malcolmva has joined #ruby
pwattstbd has quit [Quit: Textual IRC Client: www.textualapp.com]
malcolmva has quit [Max SendQ exceeded]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jespada_ has quit [Ping timeout: 256 seconds]
GriffinHeart has quit [Remote host closed the connection]
ballpointcarrot has quit [Quit: Running away.]
joelataylor has quit [Ping timeout: 265 seconds]
iotouch has joined #ruby
icebourg has quit []
Joufflu has joined #ruby
atal421 has joined #ruby
mwlang has quit [Quit: mwlang]
oo_ has quit [Remote host closed the connection]
bigmac_ has quit [Ping timeout: 245 seconds]
baweaver has joined #ruby
mistermocha has joined #ruby
d34th4ck3r has quit [Quit: zzz]
malcolmva has joined #ruby
jhankins has joined #ruby
mwlang has joined #ruby
taiansu has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
car has joined #ruby
lthomas1 has quit [Quit: lthomas1]
<mwlang> To those of you that I made to suffer the pain of SQL injection of the eyes. I have a pretty cool rake task to tally up all SQL emitted to the logs by the Sequel gem: https://gist.github.com/mwlang/071827c71a58c7adbdcc
mistermocha has joined #ruby
arescorpio has quit [Excess Flood]
lidenskap has joined #ruby
taiansu_ has quit [Ping timeout: 256 seconds]
swgillespie has joined #ruby
<pontiki> ta!
<mwlang> pontiki: good idea. :-)
<pontiki> (comment redacted)
krz has quit [Ping timeout: 244 seconds]
turtil has quit [Quit: WeeChat 1.1.1]
<pontiki> that is pretty nice, mwlang
ballpointcarrot has joined #ruby
<mwlang> thanks. I knocked the processing down from 896 seconds to 196 seconds in about 30 minutes after generating the first set of results.
<pontiki> useful!
<mwlang> for 14k records…I basically needed some indexes that were not in place.
inspiron has quit [Ping timeout: 256 seconds]
Rickmasta has joined #ruby
<pontiki> man o man, data-based decision making
<mwlang> pontiki: yeah, I agree. I ran the silly Microsoft Performance Analyzer and after an hour of collecting data, it told me, “there’s nothing to improve”
<pontiki> is this the same time frame?
<mwlang> pontiki: yeah.
<pontiki> wow
tkuchiki_ has joined #ruby
<mwlang> both the importer and the perf. analyzer were running.
<pontiki> seems like there are some standouts
<mwlang> so they both captured the same queries.
<ebonics> mwlang, are you good at sql
<ebonics> i need halp
<mwlang> ebonics: been doing it just about longer than any other language. :-o
<ebonics> so
<ebonics> my problem is similar to that
<ebonics> except im using shitpress (client forced me)
sohrab has quit [Quit: leaving]
<mwlang> pontiki: some of those just can’t be helped…they have millions of rows of data.
<ebonics> so i cant change the db schema, but i can add a temp table like the guy said in the solution
<ebonics> but that seems so hackish
sevenseacat has joined #ruby
<mwlang> pontiki: but I’ve optimized a few away by simply doing a “big query” for all records pertaining to a product in a database and referring to the hash/cached data as I process the product’s data elements.
tkuchiki has quit [Ping timeout: 276 seconds]
<mwlang> are you stuck because the id is in the data file?
<mwlang> and you don’t need it?
<ebonics> im stuck because the file is going to have duplicates all the time but it wont have the pk in it
<ebonics> i need to use 3 non-key non-unique columns to identify dupes..
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<ebonics> i fuckin hate shitpress
<mwlang> ebonics: preprocess the file to toss the duplicates, then load it.
<ebonics> mwlang, how would you go about preprocessing it
<ebonics> i can think of a couple ways
<ebonics> idk whats efficient, it seems bad either way
atal421 has quit [Remote host closed the connection]
<pontiki> actually, i'd say loading it into a temp table and using the database to process it is a good way to go
icebourg has joined #ruby
krz has joined #ruby
<ebonics> ok so it's legit
<ebonics> i thought it seemed really hackish bt im not a pro at mysql
<pontiki> sorting and filtering data are what database systems are *for*
<ebonics> yeah but temp tables...
<pontiki> so?
<mwlang> ebonics: temp tables aren’t necessarily hackish. They’re just, ahem, temporary.
<ebonics> haha
<ebonics> dat circular logic
<ebonics> but yeah i guess ill do it that way thanks
<mwlang> ebonics: if you don’t like temp tables, then create a staging table that stays around.
<ebonics> mwlang, i was thinking that, but it's just going to be shittier on performance i think
<ebonics> no point
<ebonics> actually
davedev24_ has joined #ruby
taiansu has quit [Remote host closed the connection]
<ebonics> what if i sync another table but add indices
<ebonics> and just keep it always sync'd
taiansu has joined #ruby
<mwlang> and if you want to avoid polluting a “production” schema, create another database schema on same DBMS and stage all your data there. an insert into prod.X select * from staging.X strategy would still be efficient.
<mwlang> ebonics: as far as preprocessing goes, just load the data rows = File.read(‘data.txt’).split(“\n”).map{|m| m.split(“\t”)} # assuming tab delimited files…
<ebonics> i actually made a schema file
<mwlang> then toss the duplicate rows
<ebonics> i could use that, but like
<ebonics> ugh
<ebonics> the thing is im skipping null values for performance, since a lot of the possible key value pairs arent used
<mwlang> then File.open(‘data_clean.txt’){|f| f.puts rows.map{|m| m.join(“\t”).join(“\n”)}
<ebonics> so its possible that another key value pair get added to the same entry
<ebonics> i wish i could use conditionals with load data
hewenhong has joined #ruby
taiansu has quit [Ping timeout: 256 seconds]
<mwlang> Well, depending on just how complex your problem is, you have three choices 1) preprocess to clean before loading 2) load to staging/temp table and select / insert into or 3) grab Sequel and write a proper Ruby script to clean and insert as it goes.
enlightenment has joined #ruby
<ebonics> mwlang, there's so many constraints, it's just a lot to explain
<ebonics> but thanks a lot for your help
<mwlang> ebonics the most performant way is probably to load in staging/temp tables and then issue a DELETE from X where C1 is null and C2 is null, etc.
djbkd has joined #ruby
<mwlang> and then INSERT into ...
<ebonics> hmm
juanpaucar has joined #ruby
tkuchiki has joined #ruby
<mwlang> ebonics: I’ve done this latter strategy a few times…simple scripts to get it all into database tables, and then work some SQL magic to select, move, polish, find ID’s, etc.
Pupeno has quit [Remote host closed the connection]
hewenhong has quit [Ping timeout: 265 seconds]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
<baweaver> Shoot the middleman and just use Sequel with SQLite
tkuchiki_ has quit [Ping timeout: 265 seconds]
juanpaucar has quit [Ping timeout: 258 seconds]
Rollabunna has joined #ruby
RazorX has joined #ruby
lidenskap has quit [Remote host closed the connection]
mclosson has joined #ruby
jonatin has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
subraminion has joined #ruby
codecop has joined #ruby
shuber_ has joined #ruby
Rollabunna has quit [Ping timeout: 250 seconds]
mclosson has quit [Ping timeout: 244 seconds]
paradisaeidae has quit [Read error: Connection reset by peer]
mistermocha has quit [Ping timeout: 256 seconds]
Brando753 has joined #ruby
shuber_ has quit [Ping timeout: 256 seconds]
Rollabunna has joined #ruby
jespada_ has joined #ruby
<mwlang> baweaver: I guess SQLite has *some* value after all…
iotouch has quit [Quit: This computer has gone to sleep]
asmodlol has quit [Ping timeout: 272 seconds]
GriffinHeart has joined #ruby
jespada_ has quit [Ping timeout: 255 seconds]
asmodlol has joined #ruby
sdothum- has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has quit [Ping timeout: 240 seconds]
chenillen has joined #ruby
asmodlol has quit [Ping timeout: 256 seconds]
car has quit [Ping timeout: 258 seconds]
asmodlol has joined #ruby
oo_ has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
Volsus has quit [Quit: Leaving]
d34th4ck3r has joined #ruby
jayeshsolanki has joined #ruby
oo_ has quit [Ping timeout: 256 seconds]
Xiti has quit [Read error: Connection reset by peer]
psyprus has quit [Ping timeout: 248 seconds]
GriffinHeart has joined #ruby
jenrzzz has joined #ruby
chenillen has quit [Quit: chenillen]
P1RATEZ has quit []
psyprus has joined #ruby
A205B064 has quit [Ping timeout: 245 seconds]
Musashi007 has joined #ruby
ninjazach has quit [Quit: LayerBNC - https://LayerBNC.net/]
hewenhong has joined #ruby
mistermocha has joined #ruby
paradisaeidae has joined #ruby
jiun has quit [Remote host closed the connection]
psyprus has quit [Remote host closed the connection]
oo_ has joined #ruby
jayeshsolanki has quit [Quit: bye!]
rgb-one has quit [Remote host closed the connection]
chenillen has joined #ruby
iotouch has joined #ruby
chenillen has quit [Client Quit]
dm78 has quit [Quit: bye]
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/20150513174244]]
Musashi007 has quit [Quit: Musashi007]
scripore has quit [Quit: This computer has gone to sleep]
kwekuanase has quit [Quit: Connection closed for inactivity]
nii236 has joined #ruby
hewenhong has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ciao.]
Kortes has joined #ruby
psyprus has joined #ruby
chenillen has joined #ruby
clemens has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
devoldmx has joined #ruby
hewenhong has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
bMalum has joined #ruby
Kortes has quit []
devoldmx_ has joined #ruby
inspiron has joined #ruby
GriffinHeart has joined #ruby
Kortes has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
clemens has quit [Quit: Leaving]
blaines has joined #ruby
RegulationD has joined #ruby
astrobun_ has joined #ruby
scripore has joined #ruby
mclee has joined #ruby
ninjazach has joined #ruby
Soda has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
joelataylor has joined #ruby
hewenhong has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
hewenhong has joined #ruby
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
longfeet has quit [Read error: Connection reset by peer]
joelataylor has quit [Ping timeout: 265 seconds]
icebourg has quit []
aganov has joined #ruby
chenillen has quit [Quit: chenillen]
<shevy> code code code
bluOxigen has joined #ruby
<shevy> slaves of the computers!
chenillen has joined #ruby
shuber_ has joined #ruby
duderonomy has joined #ruby
<zotherstupidguy> shevy we all slaves to our passsions ;)
jespada_ has joined #ruby
chinmay_dd has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x1337807x has quit [Ping timeout: 264 seconds]
lessless has joined #ruby
ballpointcarrot has quit [Remote host closed the connection]
<mwlang> shevy: I wish I were coding…I’m mostly analyzing and optimizing. :-p
<choke> slaves to our passions? I think i need to pick one or two -- i'm a slave to all things involved in technology...
jhankins has quit [Read error: Connection reset by peer]
<mwlang> good news is I’ve taken the time to process 15,000 records down from 1400 seconds to 122 seconds. That’ll translate very nicely to processing 932k records tomorrow. :-)
jespada_ has quit [Ping timeout: 256 seconds]
<choke> nice... want to do my optimization? have a page in my marketing system that takes like 8 seconds to load... ( though it is php based ) as it cycles through approx 100mil rows in the db
bluOxigen has quit []
hewenhong has quit [Remote host closed the connection]
Guest1421 has joined #ruby
hewenhong has joined #ruby
<mwlang> choke: if you’re using Sequel, I got a rake task for ya. :-)
inspiron has quit [Ping timeout: 265 seconds]
_tpavel has joined #ruby
<mwlang> choke: but I reckon PHP nixes that one.
<choke> yeah it's a SQL db... personally i'd like to rm -rf appfolder and rebuild it in rails... but the boss wouldn't even let me upgrade the system to version 2...
<mwlang> just find what’s full-table scanning and slap an index on it….of if it has an index already….consider different kinds of indexes.
<choke> not sure how i'd do it in rails though, as it serves different data for 400+ domains
x1337807x has joined #ruby
<mwlang> choke multi-tenant gem
Kortes has quit [Remote host closed the connection]
narcan has joined #ruby
narcan has quit [Max SendQ exceeded]
<choke> well, not sure if that's really want i want... it's a marketing platform, so i have about 150 different one-page creatives that can be used multiple times across varying domains... our media buyers create a campaign, it generates a 5 character random access mask, and they select 1 or more creatives to use... and begin the marketing campaign... usually doing about 10 campaigns per domain
Guest1421 has quit [Ping timeout: 258 seconds]
atal421 has joined #ruby
<choke> so basically: all those diet pill ads you may see on facebook -- yeah, odds are that's us lol
<mwlang> choke: ah. different ballgame.
<choke> yeah... i'm working on my resume now to get out of it... i haven't had anything to do for the last week
<mwlang> why 100million rows?
<choke> it's all the tracking for the stats page per campaign
C1V0 has joined #ruby
<mwlang> ah…you have to roll that stuff up into summarized tables of the same stats when it gets big like that.
<choke> i have cut that down a bit though, after a singular record is 3 months old it automatically gets purged...
<choke> being that they're doing the marketing they're doing, each campaign only lasts about a week maybe 2
Sawbones has joined #ruby
devoldmx_ has quit [Ping timeout: 246 seconds]
<choke> i'm actually thinking my course of action will be to get a new job, and slowly work on building my own development company again ( sold the last one )
turtil has joined #ruby
krz has quit [Read error: Connection reset by peer]
hewenhon_ has joined #ruby
casadei has quit [Remote host closed the connection]
<mwlang> choke: I went back and forth between full-time and consulting.
<mwlang> my biggest clients kept coming up with persuasive arguments to convert me to FTE
Aeyrix has joined #ruby
<mwlang> but I finally had enough and just do consulting now. Much happier camper nowadays.
<mwlang> no more death marching.
<Aeyrix> Consulting's great.
<choke> i've gotten a few FT that way myself when i did freelance. Problem for me is 99% of all my work is for private use and so i don't really have much of a portfolio... also, i don't like people...
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mwlang> Aeyrix: I agree!
<Aeyrix> I did stuff to make a portfolio for show.
<Aeyrix> Not public, but on-demand.
<Aeyrix> That said, I work in security so a lot of my stuff can't be public anyway. ( ._.)
hewenhong has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
<mwlang> Aeyrix: what aspect of security? I’ve been working on a firewall that can stop outgoing threats as well as protect kids from inappropriate content
<choke> I've actually been toying with the idea of making a social network ( as a challenge, that could be used as part of my personal portfolio ) for developers... taking the best aspects of like FB, twitter, G+, and SO among others and combining them into a singular system...
<mwlang> (and keep ‘em from proxying out or doing other stupid tricks to defeat the firewall)
timonv has joined #ruby
<Aeyrix> mwlang: Most of it. I specialise in network and web app, and "minor" in binary analysis of malware.
<Aeyrix> I have a personal interest in virtualisation though, so I do a lot in that sapce too.
<Aeyrix> Unfortunately I don't get to touch KVM/Xen as much as I'd like, so yesterday's VENOM vulnerability was actually news to me.
Soda has quit [Remote host closed the connection]
<Aeyrix> choke: Do it.
iotouch has joined #ruby
<mwlang> Aeyrix: Xen is my favorite of the VM platforms.
<choke> Already registered the domain actually ( though still not 100% sold on the domain ): codetiviti
nii236 has quit [Ping timeout: 256 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rahult has joined #ruby
djbkd has quit [Remote host closed the connection]
<Aeyrix> mwlang: Eh.
<Aeyrix> KVM fan personally. I disilke the way Xen does some things.
<Aeyrix> KVM is also statistically faster in a lot of cases. See: Linode.
<Aeyrix> 17% speed increase, I think?
Cust0sLim3n has quit [Read error: Connection timed out]
Cust0sLim3n has joined #ruby
taiansu has joined #ruby
stylus has quit [Remote host closed the connection]
atal421 has quit []
chenillen has quit [Quit: chenillen]
bruno- has joined #ruby
noonius has joined #ruby
<certainty> moin
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<mwlang> Aeyrix: I’ll check it out. I haven’t done much virtualization lately because I pushed everything to Rackspace and sold all my servers.
<Aeyrix> Rackspace cloud?
<Aeyrix> What's the pricing on that.
<mwlang> I’m actually more interested in CoreOS + Docker and the likes these days, so if I get some physical boxes again, that’s likely what I’ll experiment with.
<Aeyrix> Gross.
juanpaucar has joined #ruby
<Aeyrix> I dislike Docker.
* baweaver grabs popcorn
atal421 has joined #ruby
<mwlang> Aeyrix: I’m running two servers around $90/mo Hosts about 15 ~ 20 sites
* sevenseacat shares it with baweaver
karpuragauram has joined #ruby
<Aeyrix> mwlang: Not bad.
roolo has joined #ruby
<choke> I've never been a fan of docker either...
devoldmx has joined #ruby
<Aeyrix> I had a bunch of boxes with SL until recently.
<choke> with what type of traffic levels?
<Aeyrix> For no real reason, I just kind of wanted SoftLayer boxes.
druuu has quit [Ping timeout: 272 seconds]
_tpavel has quit [Quit: Leaving]
bruno- has quit [Ping timeout: 256 seconds]
<mwlang> choke: nothing insane. The busiest sites run about 2k ~ 3k page views a day.
<mwlang> most of the rest about 500 or so a day.
<mwlang> mostly local businesses.
<mwlang> sevenseacat: that takes me back....
<certainty> ah nice, registration is required now
<choke> not bad... @ work i'm running on AWS... and a metric fuck-ton of servers
<baweaver> choke: You and me both mate.
<Aeyrix> AWS is okay.
<Aeyrix> I have my own slew of issues with it.
<choke> we have on average about 300k+ unique views a day across our entire marketing platform
<Aeyrix> But if you want ezpzscalability then go it.
arup_r has joined #ruby
<choke> yeah, though getting continuous integration along with load balanced auto-scaling groups, and DB replication to act right was a pain in the ass
<baweaver> We just rolled our own honestly
juanpaucar has quit [Ping timeout: 264 seconds]
<baweaver> Something about AWS Console giving global powers to any shmuck with login credentials
<mwlang> choke: I can imagine. AWS isn’t all that easy.
karpuragauram has quit [Ping timeout: 258 seconds]
<Nilium> Or cheap.
<Aeyrix> Very true.
systemd0wn_ has joined #ruby
<choke> yeah -- i think our price tag per month right now is about 35K per month
systemd0wn has quit [Ping timeout: 256 seconds]
<baweaver> and ops being lazy, but that's a different story and harder to sell than global access bad
pontiki has quit [Quit: Textual IRC Client: www.textualapp.com]
<Nilium> Upside is that if it's working, it at least shoul holy crap
rafadc has joined #ruby
* baweaver doesn't want to think of $WORKs pricetag
djbkd has joined #ruby
<Aeyrix> Yeah I don't want to know mine either.
<baweaver> It's north of millions, certainly
emilkarl has joined #ruby
SouL_|_ has joined #ruby
<Nilium> I actually have a reasonable idea of what it costs to run our many servers, and it's surprisingly cheap because we didn't go with AWS
<Aeyrix> Not surprisingly when you qualify it with that. :P
<choke> i manage all things server related, so I manage the bill... if my boss had his way, i'd run everything on a single server and it would cost no more than $5 per month lol
<baweaver> Something about spark clusters and compute instances
<Nilium> We have our own physical servers, which we maintain, so there's cost and effort involved in that, but it's worked out extremely well
<Aeyrix> Love me some heavy metal.
<Nilium> What I personally want to do, because I'm not a sysadmin and I don't maintain the servers, is set up a giant cluster of Raspberry Pi 2s
<Aeyrix> My clients can have all the cloud they want.
<baweaver> We have a big shiny data center in Vegas, but needed faster scaling for some things
<Nilium> 'Cause I'm less concerned about disk space and memory and more about distribution of work
<Aeyrix> Private, hybrid, public, cumulus.
<Aeyrix> I don't care. Just as long as I get me that heavy metal.
bMalum has quit [Quit: bMalum]
<choke> Yeah nilium, i'm not an expert sys-admin, I really just know enough to make things function well...
<choke> If i could hire someone who has put their career path down the sys-admin role to take charge of it, i would... but i wouldn't subject anyone to work for the company i work for
<Nilium> I just write code and try to make sure it can run on a machine with 512mb of RAM (even though every server I get has way more)
Mon_Ouie has quit [Ping timeout: 264 seconds]
<Aeyrix> >writing code on Ruby for 512MB or less of memory
<Aeyrix> in Ruby *
<Nilium> There are at least some benefits to coming from a game dev background when it comes to writing server-side software, I figure, but that's me tooting my own horn.
<Aeyrix> #circlejerk
<Nilium> Oh, no, I don't write anything for servers in Ruby. Ever.
lidenskap has joined #ruby
<Nilium> I use Ruby for my personal tools and scripts and such, but it'll never go on a server.
<Aeyrix> ... I do.
<Aeyrix> :^)
<baweaver> Mixture of Python and Ruby here for ops work
<Nilium> Written a bunch of tools for client-side stuff in Ruby, and that makes me happy, but almost everything I do that's going on a server is written in Go.
<baweaver> Haskell :D
<Aeyrix> Every time I look at Python I dislike it a little more.
iotouch has quit [Quit: 离开]
<Aeyrix> So much inconsistency just aggravates me.
<Nilium> Haskell and Erlang (or Elixir) in particular are on my to-do list
certainty has quit [Quit: WeeChat 0.4.3]
<Aeyrix> Haskell makes no sense to me.
<Nilium> Haskell more for correctness
<Aeyrix> It sounds deliberately inconvenient.
<baweaver> One word: parallelism.
certainty has joined #ruby
bMalum has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nilium> I like Scala, but I don't really feel like it does what I want.
<Nilium> Also, the JVM dependency is fine for servers but makes it hard to justify.
<baweaver> In more than one, easily testable, parallel out of box, and its type checker will catch most all errors
<Aeyrix> >not using threads in Ruby for parallelism
<baweaver> but best of all
<baweaver> no nil
<Aeyrix> Okay I regret even saying that ironically.
snobbo has joined #ruby
<choke> anything that has a java requirement is out as far as i'm concerned... but i really really hate java
<baweaver> I only use Scala when Java is required, like for Spark.
<Aeyrix> I don't dislike Java.
<snobbo> ahem
<baweaver> choke: same here
<Aeyrix> I don't use it actively but it's not terrible.
<Nilium> Concurrency was the main reason for picking Go for stuff. It handles things nicely for single-machine (and single-process) concurrency.
<mwlang> baweaver: not bluehost are you?
<baweaver> bluehost?
* baweaver googles
<Nilium> Erlang/Elixir have me interested mostly for much more widely distributed concurrent programming
<snobbo> ruby eh
<choke> I think python will actually be my next language... either that or i'll finally figure out how to use wordpress so that "i too can be a web developer"
lkba has quit [Ping timeout: 246 seconds]
<Aeyrix> Nilium: Mmmm.
<baweaver> mwlang: nope
<Aeyrix> Go's syntax is eh.
<Aeyrix> It reminds me of Pascal a bit.
<Aeyrix> :=
<Nilium> The := is just a special form of variable declaration.
<Nilium> Otherwise Go's more or less reminiscent of C.
<Aeyrix> Rust master race.
<Nilium> It's not a fancy language, but the lack of features and the use of gofmt and so on has made it easy to work in, which has proven fairly useful for the slightly-less-than-a-year I've been where I am.
<baweaver> mwlang: $WORK == Sony
<Nilium> Rust and Go tackle different problems, so I don't get why they're compared so often
<mwlang> baweaver: ah. I didn’t know they were in Vegas.
<Aeyrix> Because they overlap a bit.
<Nilium> Not much.
<baweaver> Data center is
<Aeyrix> You can scream otherwise until the cows come home but it doesn't make it untrue.
<baweaver> I'm in SF
<Nilium> They're both systems programming languages, but Rust is way lower-level
<Aeyrix> Mhm.
<Nilium> Go's a very high-level language, very dumb. Rust is extremely flexible, gives you more control over memory, etc.
<Nilium> The overlap is there but I feel like the areas where they overlap aren't what're important.
<baweaver> I still refuse to use Java, too annoying to use.
<Aeyrix> Probably, but the marketing for both unfortunately lead to a much larger apparent overlap.
<Aeyrix> @Nilium: What do you use Go for?
terlar has joined #ruby
<mwlang> I avoid Java like the plague as well.
<Nilium> Back-end distributed services is the best I can think to describe it as
<choke> Same here baweaver, only reason to learn it really is if you want to do any android apps... aside from that, it should be avoided like the plague...
<baweaver> If you're forced to go JVM, Scala and Clojure are way better
* mwlang happy with Ruby for now
<baweaver> choke: You can use Scala for it now
<baweaver> tooling is pretty good
<Aeyrix> Nilium: Networking or just sort of endpoint?
<Aeyrix> Does Go have libvirt bindings?
<Nilium> Networking/work processing/etc.
<Nilium> Nothing I work on has a public endpoint
<baweaver> I had to work with Java in a Hadoop context
<Nilium> It's all very much the backend guts of our services
<baweaver> worst 3 months of my life before I quit that job
<baweaver> now I'm here.
<Nilium> Not sure about libvirt
<choke> scala has a dependency of what though? java.. which, without knowing scala, probably means you need to have at least a basic understanding of java itself
<baweaver> So all's well that ends well.
<Nilium> You definitely do need to know Java to use Scala.
<baweaver> Now I get to use Rails/JS
<baweaver> Not really
<Nilium> Looks like there are a few different bindings for libvirt.
<baweaver> If you already have a JVM dependency though that's not going away, Scala is a good choice for less pain
Guest24 is now known as lele
<baweaver> that's what I'm saying
<Nilium> baweaver: You could probably code fine in it, but in order to avoid some of the annoying quirks of Scala's resulting bytecode, it helps to be able to think about the equivalent Java it'd produce.
Guest36441 has quit [Ping timeout: 256 seconds]
<Aeyrix> Nilium: It apparently does, but unofficial.
armyriad has quit [Ping timeout: 272 seconds]
<choke> Yeah, and i'm basically stating that only reason to learn Java ( which would in turn mean only reason to learn scala ) is for android apps.. outside of that, it should all be avoided like the plague
<Aeyrix> I disagree.
<Nilium> 'Cause there are some very easy ways to rapidly increase memory use with tiny allocations and such in Scala, unfortunately
hololeap has joined #ruby
armyriad has joined #ruby
<Nilium> I used Scala for two Android apps. It's fine if you know what to avoid (see last message)
<choke> Could also be my blatant hatred of java... just like my household ban on anything produced by microsoft
<Aeyrix> Yeah I'd venture that's probably it. ;)
<baweaver> I tend to be highly wary of people that cite their favorite language as Java
hanmac1 has joined #ruby
<choke> lol, as well you should
<baweaver> They write some nasty JS/Ruby
<choke> just like people who say that .net is the best
<baweaver> It's better than Java
<hanmac1> for the ones who are interested about: Enumerable#grep_v got added to ruby! ;P
<Nilium> I'm wary mostly of people who cite their favorite language as Javascript.
krz has joined #ruby
<Nilium> Doesn't bode well for me when people try to introduce yet more node.js stuff into our systems.
<baweaver> hanmac1: explain?
arturaz has joined #ruby
<Nilium> 'Cause guess who has to maintain it when they finally give up >_>
<havenwood> -v, --invert-match Selected lines are those not matching any of the specified patterns.
<baweaver> ah
<baweaver> unix
<baweaver> derp
jespada_ has joined #ruby
<baweaver> Friday is almost here.... So close.
<havenwood> hanmac1: \o/
<choke> Nilium, be more wary when interviewing someone and they cite jquery as a language ( happens to me a lot )
<havenwood> baweaver: Friday!
<Nilium> choke: Ha, we had a guy who sent sample code plagiarized from w3schools PHP tutorials.
<havenwood> I can taste it.
scripore has quit [Quit: This computer has gone to sleep]
<baweaver> Not quite here yet.
<Nilium> jquery as a language wouldn't even get by.
<havenwood> Tick tock.
<baweaver> choke: Had a guy claim to know Rails but barely knew Ruby. Told him to reverse a string in JS, took him 30 minutes
<baweaver> and that was after hints and correcting his for loop and reminding him of what the web console was.
<choke> oh god Nilium... i haven't had that one, but did have one send code ( and a link to his github )... reviewed the code ( objective-c) and it looked good... go to his github, and the repo is forked, and diff the two, 0 changes
Kortes has joined #ruby
<Nilium> Yeah, haven't seen that yet.
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> Same guy used smily faces on his resume
<choke> I know rails! ( okay not really, i'm still learning actually )
<Nilium> Have seen at least one person who'd been coding for a few months and sent along a GitHub account full of apps that all followed the exact same template/mould that he'd learned from some node.js/MongoDB bootcamp
<choke> smiley faces? i would have stopped reading lol
<baweaver> Still wondering how the everloving hell that got through HR to a required phone interview....
<mwlang> why’d he even make it in for the interview?? :-o
<baweaver> Good question
<baweaver> one I wish I could answer
<baweaver> but could not begin to grasp at
<Nilium> I had to figure out a nice way to say that I'm sure he's eager but the lack of any diversity in what he did was troubling
<Nilium> Plus the whole experience issue
<choke> The best ones I get, and i really enjoy these, are people applying for iOS developer positions who submit code written in any other language than obj-c or swift
<Nilium> Which I try to be sort of generous about since this is literally my first full-time programming job and the only thing I have going for me is like 12 years of doing it as a hobby
<baweaver> But RubyMotion and PhoneGap/Cordova!
<mwlang> his salary requirement must’ve been spot on for HR
<Nilium> And 12 years sounds like a decent number but good luck getting the hobby part past HR
<baweaver> 20+ years experience apparently
jespada_ has quit [Ping timeout: 245 seconds]
<Nilium> I'll accept RubyMotion. I'll actually mark someone down for PhoneGap.
<Nilium> If you like PhoneGap, you're already not someone I want to know.
<choke> haven't heard much about rubymotion really, at least in full production... phonegap, i don't think is a viable solution for anything more than toying around
DerisiveLogic has quit [Ping timeout: 252 seconds]
<mwlang> whatever happened to bio diversity?
<Nilium> I have a RubyMotion license and it's really interesting. It's basically just compiled MacRuby, but not quite.
<Nilium> Easier way to think of it is that it's Ruby basic classes plus the Obj-C runtime and otherwise you'd write the same code as in Obj-C.
<Nilium> Metaprogramming is considerably harder because of what it is.
<choke> Once i get a new job, i'll have to look at getting at minimum the indie rubymotion license and playing around with it... could come in handy building the mobile app for my social network :D
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
taiansu has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Me dun like you no more.]
<Nilium> Still haven't actually used RubyMotion for anything much though. Just small test things and some tools.
<Nilium> It's kind of hard to recommend now what with Swift.
krzkrz has joined #ruby
ndrei has quit [Remote host closed the connection]
<choke> Yeah, our app @ work is being re-worked completely in swift atm
<Nilium> We don't have an app, just an SDK, so our use for Swift is limited outside of internal test apps and what-not
<Nilium> *SDKs
krz has quit [Ping timeout: 256 seconds]
<choke> We don't really have an app either haha... It was built and about 4 hours away from submitting to the store, and the owner of our company decided to scrap the entire thing. hire a new designer to re-design it, hire a new developer to help with development ( dev still hasnt started ) and wants a fully working version submitted to the store by the middle of next month...
s2013 has joined #ruby
<Nilium> I was hired as a junior iOS dev and the entire thing ended up being some web app thing, so I'm vaguely familiar with that process.
jenrzzz has quit [Ping timeout: 264 seconds]
<Nilium> I guess everyone learned not to let me near UIs and stuck me on backend stuff.
gigetoo has quit [Ping timeout: 244 seconds]
j416 has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
<Nilium> Though I also said I would rather be put on projects that need devs than be put on a specific team, so I get moved around a lot. This has made it hard to explain what I do to new employees.
<Nilium> That last sentence is unfortunately grammatically ambiguous in a bad way.
taiansu has joined #ruby
taiansu has quit [Remote host closed the connection]
shock_one has joined #ruby
unshadow has quit [Quit: leaving]
x1337807_ has joined #ruby
jenrzzz has joined #ruby
x1337807x has quit [Ping timeout: 246 seconds]
<shock_one> Hi. I vaguely remember there was a method in Ruby to check if an object has been "sanitized". Like every object coming from the outside world is dirty by default, and you can somehow check that it's valid and then mark it as clean. Am I confusing Ruby with some other language?
clauswitt has joined #ruby
baweaver has quit [Remote host closed the connection]
<hanmac1> shock_one: do you mean ".tainted?" ?
j416 has joined #ruby
<Nilium> Never rely on taintedness.
<shock_one> hanmac1: yes, thank you.
<shock_one> Nilium: why?
krzkrz has quit [Ping timeout: 255 seconds]
<Nilium> It's not actually useful for anything and isn't a security feature.
oo_ has quit [Remote host closed the connection]
noonius has quit [Quit: noonius]
Sawbones has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 252 seconds]
anisha has joined #ruby
terlar has quit [Quit: WeeChat 1.1.1]
oo_ has joined #ruby
<shock_one> Nilium: I'm having a URL coming from outside which then goes through a long a complicated path. Along this path it should be validated. Validation in my case is expensive, the path has many ins and outs, and I need to guarantee that it's valid. So, I'd like to remember that I validated the URL, and it looks like tainted or trusted is a built-in mechanism for what I'd do myself otherwise.
<Nilium> I'd suggest you do it yourself.
chenillen has joined #ruby
<shock_one> Nilium: I appreciate your advice, but could you be so kind to tell me the reasoning behind it?
car has joined #ruby
<Nilium> It's midnight and I'm about to go to sleep, so the best I can suggest is reading up on Object#taint
<Nilium> That taintedness is dependent on a safety level should be concern enough, though
<shock_one> Thank you.
<Nilium> https://www.ruby-forum.com/topic/79295 ← This is also probably still somewhat relevant.
RegulationD has joined #ruby
gauke has joined #ruby
sinkensabe has joined #ruby
noonius has joined #ruby
<St1gma> You could also use a regex to validate that the different things that you want to allow are in place and nothing else
bluOxigen has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
joelataylor has joined #ruby
<St1gma> If you are talking about Rails then there are a few methods, in Sinatra you got some methods deriving from Rack. For ruby itlself I would do the regex and compare that to your string in a boolean type method
bluOxigen has left #ruby [#ruby]
<shock_one> St1gma: we need stronger guarantees. Structurally correct URL can still be invalid.
<St1gma> that is correct, do if you want to validate the whole URL then you want to first validate that it has the correct protocol, then fqdn, then URI
<St1gma> Wouldn't the web server validate "structurally correct but invalid" URIs?
<St1gma> for example
<St1gma> http://mysite.com/valid/uri - should return an HTTP200
<St1gma> where http://mysite.com/invalid/uri - should return an HTTP404 or 403 depending on how you have that configured
noonius has quit [Quit: noonius]
<St1gma> in rails you would have to have a route for each of the valid URI schemes (same for Sinatra) so the framework takes care of those that aren't valid, wouldn't they?
<shock_one> St1gma: Let's say a URL following which with a particular set of headers and GET parameters, which returns HTTP 200 with JSON { "error": "property does not exists" } should be invalid.
joelataylor has quit [Ping timeout: 264 seconds]
<shock_one> And it's not a URL to a website I can control.
thatslifeson has joined #ruby
<St1gma> So the website returns this error to you?
asmodlol has quit [Ping timeout: 264 seconds]
Rollabunna has quit [Remote host closed the connection]
<shock_one> St1gma: It might. The point is that I need to perform an HTTP request to validate the URL.
asmodlol has joined #ruby
haxrbyte has joined #ruby
thatslifeson has quit [Ping timeout: 256 seconds]
User458764 has quit [Ping timeout: 276 seconds]
<St1gma> Change last line to match the custom error that you get from the endpoint
<St1gma> then you should be golden
haxrbyte_ has joined #ruby
ahmetkapikiran has joined #ruby
<shock_one> St1gma: come on, my question was how to remember that an object has been validated.
User458764 has joined #ruby
hanmac has quit [Ping timeout: 256 seconds]
hewenhon_ has quit [Remote host closed the connection]
hewenhong has joined #ruby
<St1gma> you could simply put it into an array
<St1gma> or create a class for it
<St1gma> with an attribute that you want that would mean it has been validated
haxrbyte has quit [Ping timeout: 264 seconds]
noonius has joined #ruby
hewenhon_ has joined #ruby
jgt has joined #ruby
ytti has left #ruby [#ruby]
ytti has joined #ruby
<shock_one> Like Object#tainted?
noonius has quit [Client Quit]
Cust0sLim3n has quit [Ping timeout: 245 seconds]
gagrio has joined #ruby
<St1gma> Sure if you want to do it that way
noonius has joined #ruby
<St1gma> that should also work
<shock_one> :)
<St1gma> That would "taint" it but you still have to memoralize it in order to recall what it was
hewenhong has quit [Read error: Connection reset by peer]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nii236 has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
Cust0sLim3n has joined #ruby
chenillen has left #ruby [#ruby]
noonius has quit [Client Quit]
Rollabunna has joined #ruby
vdamewood has joined #ruby
Guest36441 has joined #ruby
jespada_ has joined #ruby
nii236 has quit [Ping timeout: 245 seconds]
hanmac has joined #ruby
conta has joined #ruby
mistermocha has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
krzkrz has joined #ruby
davidcollom has joined #ruby
jespada_ has quit [Ping timeout: 264 seconds]
Papipo has quit [Read error: Connection reset by peer]
bMalum has quit [Quit: bMalum]
djbkd has quit [Remote host closed the connection]
craigp has joined #ruby
noonius has joined #ruby
Porfa has joined #ruby
Papipo has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
Zai00 has joined #ruby
armyriad has joined #ruby
atal421 has quit [Remote host closed the connection]
hololeap has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
GaryOak_ has joined #ruby
aswen has joined #ruby
<Papipo> is anybody here using thin on a docker container?
<Papipo> I don't get a single line of output
bigsky has joined #ruby
<bigsky> hi all
bMalum has joined #ruby
<bigsky> anybody here who use ruby and rails on windows?
rafadc has quit []
GaryOak_ has quit [Ping timeout: 252 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
tophie_ has joined #ruby
ns5 has joined #ruby
djellemah has joined #ruby
<hanmac1> bigsky: did you try #rubyonRails ?
serge has joined #ruby
withnale_ has quit [Ping timeout: 245 seconds]
serge has quit [Client Quit]
ns5 has left #ruby [#ruby]
simpleuser has joined #ruby
neanderslob has quit [Read error: Connection reset by peer]
tophie_ has quit [Quit: Leaving]
<adaedra> Hi
juanpaucar has joined #ruby
ohaibbq has quit [Remote host closed the connection]
tophie has joined #ruby
livathinos has joined #ruby
<simpleuser> Hi there. I'm trying to use guard-ctags-composer (https://github.com/everzet/guard-ctags-composer). Usually it works great but on my new machine when I try guard init ctags-composer, it says: https://gist.github.com/Einenlum/1ec950ac75ab306d7dfe
<simpleuser> I'm a PHP dev, and I know nothing to Ruby…
asmodlol has quit [Ping timeout: 276 seconds]
asmodlol has joined #ruby
JohnBat26 has joined #ruby
juanpaucar has quit [Ping timeout: 250 seconds]
lessless has joined #ruby
chenillen has joined #ruby
mikecmpbll has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Gh0strider244 has joined #ruby
<bigsky> hanmac1: they said it's not the problem of rails, it ruby's .
ahmetkapikiran has quit [Quit: ahmetkapikiran]
chinmay_dd has joined #ruby
<hanmac1> bigsky: hm its more a bundler problem #bundler ;P
joonty has joined #ruby
last_staff has joined #ruby
krzkrz has quit [Ping timeout: 276 seconds]
charliesome has quit [Quit: zzz]
aswen has quit [Ping timeout: 240 seconds]
tophie has quit [Quit: Leaving]
tophie_ has joined #ruby
<Ropeney> bigsky: Windows is a pain to get rails running
tophie_ has quit [Client Quit]
<Ropeney> add the non https to your list gem sources --add http://rubygems.org/
chinmay_dd has quit [Ping timeout: 255 seconds]
<Ropeney> might solve some errors
tophie has joined #ruby
last_staff has quit [Client Quit]
<adaedra> That's a bad thing to use the non https source
<Ropeney> its a bad thing ot dev on windows with rails
<Ropeney> it comes from windows regecting the ssl certificate
arthurvr has joined #ruby
msgodf has joined #ruby
craigp has quit [Remote host closed the connection]
fella5s has quit [Ping timeout: 255 seconds]
craigp has joined #ruby
craigp has quit [Remote host closed the connection]
craigp has joined #ruby
CustosLimen has joined #ruby
bjornar has joined #ruby
axsuul has joined #ruby
Cust0sLim3n has quit [Ping timeout: 264 seconds]
<bigsky> Ropeney: http cannot solve the problem
ebonics has quit [Read error: Connection reset by peer]
tophie_m has joined #ruby
Cust0sLim3n has joined #ruby
lidenskap has quit [Remote host closed the connection]
tophie has quit [Quit: Leaving]
rahult has quit [Ping timeout: 250 seconds]
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
frem has quit [Quit: Connection closed for inactivity]
vtunka has joined #ruby
einarj has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
Papipo has quit [Read error: Connection reset by peer]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
Papipo has joined #ruby
rdark has joined #ruby
psy_ has quit [Ping timeout: 256 seconds]
<bigsky> how a script can judge if it is invoked by bash or zsh?
marr has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
emilkarl has quit [Quit: emilkarl]
Kortes has quit []
conta has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Darkwater> bigsky: take a look at $0 I guess
jph98 has joined #ruby
<Darkwater> or $SHELL
jespada_ has joined #ruby
ghr has joined #ruby
arup_r has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 265 seconds]
devoldmx has quit [Remote host closed the connection]
asmodlol has joined #ruby
startupality has joined #ruby
robbyoconnor has joined #ruby
mike_c_11 has joined #ruby
jespada_ has quit [Ping timeout: 264 seconds]
conta has joined #ruby
chinmay_dd has joined #ruby
<gregf_> >> ENV['SHELL']
<ruboto> gregf_ # => nil (https://eval.in/360402)
<bigsky> Darkwater: what is $0?
<gregf_> >> RbConfig::CONFIG["SHELL"]
<ruboto> gregf_ # => "/bin/bash" (https://eval.in/360403)
Rollabunna has quit [Remote host closed the connection]
<Darkwater> bigsky: something that doesn't actually help in this case, I was thinking about shell scripting
djbkd has joined #ruby
<Darkwater> $0 is usually the name of the application
<Darkwater> >> puts $0
<ruboto> Darkwater # => /tmp/execpad-e50f1e95520e/source-e50f1e95520e ...check link for more (https://eval.in/360404)
noteugene has joined #ruby
<Darkwater> >> $0
<ruboto> Darkwater # => "/tmp/execpad-5b088c00b933/source-5b088c00b933" (https://eval.in/360405)
<gregf_> bigsky: is it ruby specific or a shell script that you're trying to run?
<Darkwater> anyway, bigsky, the best way would probably be to look at the parent process
chinmay_dd has quit [Ping timeout: 265 seconds]
tophie_m has quit [Quit: Leaving]
emilkarl has joined #ruby
chinmay_dd has joined #ruby
fella5s has joined #ruby
casadei has joined #ruby
slucx has quit [Ping timeout: 264 seconds]
mcFactor has joined #ruby
RegulationD has joined #ruby
mcFactor has quit [Quit: Leaving]
burgies has joined #ruby
dumdedum has joined #ruby
casadei has quit [Ping timeout: 272 seconds]
Hounddog has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
joelataylor has joined #ruby
gigetoo has joined #ruby
yosafbridge has quit [Ping timeout: 248 seconds]
arup_r has joined #ruby
joelataylor has quit [Ping timeout: 256 seconds]
thatslifeson has joined #ruby
Rollabunna has joined #ruby
bMalum has quit [Quit: bMalum]
leafybasil has quit [Remote host closed the connection]
quimrstorres has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<zotherstupidguy> >> $0
<ruboto> zotherstupidguy # => "/tmp/execpad-fda73cc10ffa/source-fda73cc10ffa" (https://eval.in/360471)
<zotherstupidguy> >> $1
<ruboto> zotherstupidguy # => nil (https://eval.in/360472)
<zotherstupidguy> ??
thatslifeson has quit [Ping timeout: 265 seconds]
<apeiros> $0 and $1 are unrelated. $0 is program name. $1 is first capture of most recent regex match
terlar has joined #ruby
<adaedra> Not so unrelated, actually
vb has joined #ruby
<adaedra> ah no wait, misread
<adaedra> derp
<zotherstupidguy> apeiros you are so cool :)
<mikecmpbll> coolest guy around.
turtil has quit [Remote host closed the connection]
vb has left #ruby [#ruby]
* zotherstupidguy feels like little kid playing with apeiros toys
zilberstein has joined #ruby
<zilberstein> hi #ruby
<zilberstein> Could somebody explain me where is error here ?
<hanmac1> apeiros: do you like Enumerable#grep_v ? ;P
<apeiros> hanmac1: haven't seen that. is that r2.3?
yosafbridge has joined #ruby
<adaedra> #grep_v
noonius has quit [Quit: noonius]
<adaedra> srsly
<apeiros> hanmac1: interesting. I have Regexp#~ for that :D (though, not as generic as grep_v)
<mikecmpbll> zilberstein: might be the `-` characters your using on the erb tags?
<apeiros> i.e. I have code like: enum.grep(~/regex/)
<apeiros> which acts like enum.grep_v(/regex/)
<zilberstein> mikecmpbll, what is the correct way to use loop in template ?
<mikecmpbll> i can only say from a rails perspective, but they've been obsolete for a while in that sphere.
<mikecmpbll> zilberstein: just with plain erb tags.
* zotherstupidguy favourite uncle < apeiros >
krzkrz has joined #ruby
<apeiros> zilberstein: are you using plain ruby or ruby on rails?
<hanmac1> apeiros: the ticket also did comment about a regexp.invert but it was not generic enough and didnt work in all of the cases, so a grep_v variant was better
<zilberstein> apeiros, I use puppet
<mikecmpbll> zilberstein: did you try it yet? will take like 10 seconds to try it and then we can iterate ..
<apeiros> zilberstein: ok. assuming puppet uses plain ERB - rails added some stuff to ERB. so some things you find on the net regarding ERB only work with rails. iirc trailing - was one of them
edwinvdgraaf has quit [Remote host closed the connection]
<zotherstupidguy> RbConfig::CONFIG["SHELL"] returns Bash even though i am using ZSH?
<apeiros> zilberstein: uuuh
<apeiros> zilberstein: also ruby does not use {} with if
<mikecmpbll> that's not ruby code
<apeiros> oh, d'uh, that's not ruby code
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<mikecmpbll> lel :d
edwinvdgraaf has joined #ruby
<zilberstein> apeiros, This is a perl script that I need to generate with ruby template
<mikecmpbll> zilberstein: DID YOU TRY IT YET?
* mikecmpbll calms himself down
<mikecmpbll> hehehe. it's friday tho
<adaedra> file.pl.erb
<apeiros> zilberstein: anyway, remove the - as mikecmpbll already said
* zotherstupidguy wonders if there is a tool that figures out syntax and delegate it to the correct complier!
<zilberstein> mikecmpbll, (erb):28: undefined method `each' for nil:NilClass (NoMethodError)
<mikecmpbll> ok, so no longer a syntax error.
<mikecmpbll> `@resnotoff_trigger_map` is nil
<apeiros> so probably @resnotoff_trigger_map is nil
* apeiros retreats, mikecmpbll got this :)
<mikecmpbll> this is more my level, for sure
* zotherstupidguy goodbyes his favourite uncle
<zilberstein> mikecmpbll, I was under impression that ruby uses context of function, where template used
<zilberstein> and it passes variables from that context
* mikecmpbll no longer has this
<zilberstein> temp = File.open('..'); renderer = ERB.new(temp);
<zilberstein> this is what I tried
<mikecmpbll> context of function? template? going to need to zoom out a bit on that code, i've no idea what context is
startupality has quit [Quit: startupality]
<mikecmpbll> oh okay
lidenskap has joined #ruby
<apeiros> zilberstein: no. ruby does not do that.
<apeiros> zilberstein: frameworks using erb as part of their chain may (like rails), but ruby does not.
<mikecmpbll> idd
<apeiros> Iodine Deficiency Disorders?
nfk has joined #ruby
<mikecmpbll> or "indeed" :D
<apeiros> aha!
bruno- has joined #ruby
<ddfreyne> Hm, #grep_v is an odd name. I get that it comes from `grep -v`, but still.
<apeiros> ddfreyne: I have the same feeling.
<zilberstein> mikecmpbll, ah I see, ruby developers often do not care learning low level stuff. So every time you call a function, so-called context switch happens. This means interpreter switches to another address space ( CPU changes registers ). In that context you have local variables defined.
<apeiros> though, I wonder from where the name grep actually stems
<ddfreyne> I didn't know about #grep. My ItemCollection#find_all(pattern) should probably be #grep rather than #find_all.
<mikecmpbll> zilberstein: I wasn't saying that I didn't understand how ruby works
<mikecmpbll> zilberstein: i was saying I don't understand the context of your use of ERB
<mikecmpbll> but thanks for the lesson none-the-less ;)
lidenskap has quit [Ping timeout: 256 seconds]
Igorshp has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
edwinvdg_ has joined #ruby
wpp has joined #ruby
roolo has quit [Quit: Leaving...]
<zotherstupidguy> apeiros my fav uncle, (globally search a regular expression and print) grep
noteugene has left #ruby [#ruby]
<apeiros> zotherstupidguy: yay! thanks. TIL :)
<apeiros> so in ruby, it should actually be gsor or somesuch (globally search a [matching] object and return)
<apeiros> personally I'd probably have called it Enumerable#matches or similar
oo_ has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 264 seconds]
iasoon has joined #ruby
bMalum has joined #ruby
Musashi007 has joined #ruby
charliesome has joined #ruby
jespada_ has joined #ruby
wpp has quit []
<ddfreyne> #find_matching?
<zotherstupidguy> #get_me_what_i_think_i_want
<ddfreyne> Without the question mark, obviously. Although I suppose that is too close to #find, which returns only a single result.
spider-mario has joined #ruby
oo_ has joined #ruby
<yxhuvud> apeiros: I could see it as an argument to #select - if given an argument it could match using ===.
<ddfreyne> #select_matching, maybe. I suppose #matches is too regex-y.
lxsameer has joined #ruby
quimrstorres has joined #ruby
<adaedra> #what_the_hell_are_you_doing
shuber_ has quit [Remote host closed the connection]
devoldmx has joined #ruby
<zotherstupidguy> intersting read for ed http://blog.sanctum.geek.nz/actually-using-ed/
<apeiros> yxhuvud: that'd also be an option, yes
<Darkwater> I actually use ed sometimes
<apeiros> yxhuvud: would also have grep_v already - reject
<zotherstupidguy> Darkwater what is "ex command set"
<Darkwater> no idea
<apeiros> deus ex command set?
jespada_ has quit [Ping timeout: 264 seconds]
psy_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zotherstupidguy> apeiros i think so.. still reading
<zotherstupidguy> Darkwater any tips on using ed, i read H is good to get help comments rightaway (instead of saving terminal cycles)
devoldmx has quit [Ping timeout: 250 seconds]
<Darkwater> I didn't even know about H until now
<Darkwater> I just speak vimlang and figured out a few ed basics by trial/error
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest31973
chenillen has quit [Quit: chenillen]
juanpaucar has joined #ruby
duderonomy has quit [Ping timeout: 265 seconds]
Feyn has quit [Quit: Leaving]
wpp has joined #ruby
doodlehaus has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
Guest31973 has quit [Ping timeout: 240 seconds]
<zotherstupidguy> Darkwater it appears that ed was kinda perfect for assembly work
Rollabunna has quit [Remote host closed the connection]
ndrei has joined #ruby
doodlehaus has quit [Remote host closed the connection]
armyriad has joined #ruby
leafybasil has joined #ruby
wpp has quit [Client Quit]
<Darkwater> well, for any serious work I'd still use the latest from ed/ex/vi/vim where possible, but I do occasionally use ed for lightning-fast operations such as removing a line
leafybasil has quit [Remote host closed the connection]
<Darkwater> in other works, I really only use it to remove a conflicting key from .ssh/known_hosts :v
<Darkwater> $ ed
<Darkwater> 12d
<Darkwater> wq
mtakkman has joined #ruby
<Darkwater> done
leafybasil has joined #ruby
juanpaucar has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: zzz]
CamonZ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
Rollabunna has joined #ruby
<zotherstupidguy> Darwater how open a file? ed filename?
workmad3 has joined #ruby
nii236 has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mohan_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
mtakkman has quit [Read error: Connection reset by peer]
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
doodlehaus has joined #ruby
qwertme has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
mtakkman has joined #ruby
psy_ has quit [Read error: No route to host]
burgies is now known as Burgestrand
rippa has joined #ruby
iasoon has quit [Ping timeout: 276 seconds]
iteratorP has quit [Remote host closed the connection]
hewenhon_ has quit [Remote host closed the connection]
spider-mario has joined #ruby
Mohan_ has quit [Ping timeout: 250 seconds]
Mohan_ has joined #ruby
alex88 has joined #ruby
selu has joined #ruby
Mohan_ has quit [Ping timeout: 252 seconds]
edwinvdg_ has quit [Remote host closed the connection]
Mohan_ has joined #ruby
dahl_ has left #ruby [#ruby]
d34th4ck3r has quit [Quit: zzz]
<adaedra> man ed
<Darkwater> yo ed sup
<Darkwater> zotherstupidguy: yes
<Darkwater> also, use tab completion next time so you don't misspell my name :v
Rickmasta has joined #ruby
doodlehaus has quit [Remote host closed the connection]
rahult has joined #ruby
<adaedra> :v
lidenskap has joined #ruby
Mohan_ has quit [Ping timeout: 252 seconds]
duncannz has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 264 seconds]
Porfa has quit [Quit: porfa]
bebilonu has quit [Ping timeout: 272 seconds]
hewenhong has joined #ruby
phutchins has joined #ruby
weemsledeux has joined #ruby
timonv has quit [Ping timeout: 258 seconds]
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mohan_ has joined #ruby
lidenskap has quit [Ping timeout: 256 seconds]
Papierkorb has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
noonius has joined #ruby
phutchins has quit [Ping timeout: 276 seconds]
mike_c_11 has quit [Read error: Connection reset by peer]
Mohan_ has quit [Ping timeout: 265 seconds]
Musashi007 has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
exadeci has joined #ruby
doodlehaus has joined #ruby
chinmay_dd has joined #ruby
doodlehaus has quit [Remote host closed the connection]
jespada_ has joined #ruby
wpp has joined #ruby
doodlehaus has joined #ruby
lkba has joined #ruby
Cust0sLim3n has quit [Read error: Connection timed out]
doodlehaus has quit [Remote host closed the connection]
Mohan_ has joined #ruby
Cust0sLim3n has joined #ruby
jespada_ has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
Musashi007 has quit [Quit: Musashi007]
bruno- has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
mtakkman has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
joelataylor has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hewenhong has quit [Remote host closed the connection]
hewenhong has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joelataylor has quit [Ping timeout: 256 seconds]
Hounddog has quit [Remote host closed the connection]
thatslifeson has joined #ruby
subraminion has quit [Quit: (null)]
airdisa has joined #ruby
ramfjord has joined #ruby
sdothum has joined #ruby
hewenhon_ has joined #ruby
hewenhong has quit [Ping timeout: 245 seconds]
Mohan_ has quit [Ping timeout: 256 seconds]
thatslifeson has quit [Ping timeout: 244 seconds]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
haxrbyte has joined #ruby
doodlehaus has joined #ruby
Mohan has joined #ruby
User458764 has joined #ruby
Mohan is now known as Guest35684
parduse has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
Papipo has quit [Remote host closed the connection]
parduse has joined #ruby
haxrbyte_ has quit [Ping timeout: 264 seconds]
Papipo has joined #ruby
Rickmasta has joined #ruby
noonius has quit [Quit: noonius]
redjack1964 has joined #ruby
hewenhon_ has quit [Remote host closed the connection]
itouchthings has joined #ruby
hewenhong has joined #ruby
itouchthings has quit [Remote host closed the connection]
itouchthings has joined #ruby
Guest35684 has quit [Ping timeout: 265 seconds]
JDiPierro has joined #ruby
itouchthings has quit [Remote host closed the connection]
QKO has quit [Remote host closed the connection]
<bMalum> does anyone know a goot ruby gem for Downloading large Files from an API - i know only some cul wrappers and typhoeus but the last one cant show atm the download spped
<bMalum> *speed
<apeiros> bMalum: any http library where you can stream the body yourself can be used to show the download speed
hewenhong has quit [Ping timeout: 264 seconds]
<bMalum> apeiros - any recomms for an good library
<apeiros> I don't know however whether there are any libraries which background the streaming for you and provide access to metrics about the ongoing download
rodfersou has joined #ruby
al2o3-cr has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> I usually stick with net/http. but my needs are simple.
QKO has joined #ruby
shuber_ has joined #ruby
Pupeno has joined #ruby
phutchins has joined #ruby
<bMalum> apeiros thank oyu for your quick reply
rahult has joined #ruby
<apeiros> you're welcome
rahult is now known as rahult_
<apeiros> bMalum: ruby-toolbox.com has probably a ranked list of http libraries
Mohan_ has joined #ruby
rahult_ is now known as rahult
quimrstorres has quit [Remote host closed the connection]
noonius has joined #ruby
rahult is now known as rahult_
<adaedra> bMalum: curb seems to do that
rahult_ has quit [Client Quit]
<bMalum> adaedra: just found curb too
nii236 has quit [Ping timeout: 245 seconds]
shuber_ has quit [Ping timeout: 244 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
wpp has quit []
Rollabunna has quit [Remote host closed the connection]
segfalt has quit [Ping timeout: 264 seconds]
User458764 has joined #ruby
astrobun_ has quit [Remote host closed the connection]
bkxd has joined #ruby
wald0 has joined #ruby
yqt has joined #ruby
quimrstorres has joined #ruby
hoov has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
astrobun_ has joined #ruby
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
DynamicMetaFlow has joined #ruby
krzkrz has quit [Ping timeout: 250 seconds]
Mohan_ has quit [Ping timeout: 264 seconds]
chinmay_dd has joined #ruby
QKO has quit [Remote host closed the connection]
krzkrz has joined #ruby
QKO has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
davidcollom has quit [Quit: Connection closed for inactivity]
QKO has quit [Changing host]
QKO has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
User458764 has joined #ruby
millerti has joined #ruby
spider-mario has joined #ruby
krzkrz has quit [Ping timeout: 250 seconds]
armyriad has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
banister has quit [Client Quit]
workmad3 has quit [Ping timeout: 246 seconds]
banister has joined #ruby
rahult has joined #ruby
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
rahult is now known as rahult_
doodlehaus has quit [Remote host closed the connection]
rahult_ is now known as rahult
oo_ has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
camilasan has quit [Quit: No Ping reply in 180 seconds.]
juanpaucar has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
Mohan_ has joined #ruby
camilasan has joined #ruby
workmad3 has joined #ruby
jespada_ has joined #ruby
meph has joined #ruby
claptor has quit [Quit: this channel is bakas]
juanpaucar has quit [Ping timeout: 265 seconds]
DynamicMetaFlow has quit [Read error: Connection reset by peer]
anisha has quit [Quit: Leaving]
DynamicMetaFlow has joined #ruby
ta_ has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 276 seconds]
jottr has joined #ruby
DynamicMetaFlow has quit [Read error: Connection reset by peer]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
jespada_ has quit [Ping timeout: 272 seconds]
codecop has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
anisha has joined #ruby
djbkd_ has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 276 seconds]
gizmore has joined #ruby
vikaton has joined #ruby
Mohan_ has quit [Ping timeout: 252 seconds]
djbkd_ has quit [Ping timeout: 250 seconds]
DynamicMetaFlow has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
DynamicMetaFlow has joined #ruby
<atmosx> Hello
zotherstupidguy has quit [Quit: leaving]
tesuji__ has quit [Ping timeout: 255 seconds]
ldnunes has joined #ruby
thatslifeson has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest16747
Mon_Ouie has quit [Ping timeout: 244 seconds]
<Darkwater> hi
astrobun_ has quit [Remote host closed the connection]
JDiPierro has quit [Remote host closed the connection]
DynamicMetaFlow has quit [Client Quit]
bluOxigen has joined #ruby
nfk has quit [Quit: yawn]
thatslifeson has quit [Ping timeout: 245 seconds]
bkxd has quit [Ping timeout: 256 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
noonius has quit [Quit: noonius]
doodlehaus has joined #ruby
krzkrz has joined #ruby
Guest16747 has quit [Ping timeout: 264 seconds]
n80 has joined #ruby
User458764 has joined #ruby
livathinos has quit [Ping timeout: 272 seconds]
noonius has joined #ruby
Leef_ has joined #ruby
livathinos has joined #ruby
zarubin has quit [Ping timeout: 240 seconds]
zarubin has joined #ruby
but3k4 has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.1.1]
shuber_ has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
armyriad has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
startupality has joined #ruby
armyriad has joined #ruby
shazaum has joined #ruby
goodcodeguy has joined #ruby
ki0 has joined #ruby
ta has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Musashi007 has joined #ruby
shock_one has quit [Remote host closed the connection]
shuber_ has quit [Ping timeout: 272 seconds]
SouL_|_ has quit [Ping timeout: 256 seconds]
Musashi007 has quit [Client Quit]
shock_one has joined #ruby
C1V0 has quit []
User458764 has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
asmodlol has quit [Ping timeout: 250 seconds]
lessless has joined #ruby
_blizzy_ has left #ruby [#ruby]
asmodlol has joined #ruby
bkxd has joined #ruby
Mohan_ has joined #ruby
wjlroe has joined #ruby
ta has quit [Remote host closed the connection]
sgambino has joined #ruby
Squarepy has joined #ruby
mclosson has joined #ruby
airdisa has quit [Remote host closed the connection]
Mohan_ has quit [Ping timeout: 244 seconds]
Burgestrand has quit [Ping timeout: 246 seconds]
ndrei has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rapier- has joined #ruby
RegulationD has joined #ruby
jespada_ has joined #ruby
joelataylor has joined #ruby
devoldmx has joined #ruby
serivich has joined #ruby
RegulationD has quit [Ping timeout: 258 seconds]
zzxc has joined #ruby
joelataylor has quit [Ping timeout: 265 seconds]
devoldmx has quit [Ping timeout: 264 seconds]
chinmay_dd has quit [Read error: Connection reset by peer]
car has quit [Ping timeout: 250 seconds]
Igorshp has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
ki0 has quit [Remote host closed the connection]
Mohan_ has joined #ruby
Igorshp has joined #ruby
jmhmccr has quit [Quit: Connection closed for inactivity]
edwinvdgraaf has joined #ruby
sankaber has joined #ruby
estermey has joined #ruby
mclosson has quit [Ping timeout: 252 seconds]
doodlehaus has joined #ruby
<vikaton> hi
asmodlol has quit [Ping timeout: 244 seconds]
startupality has quit [Quit: startupality]
Mohan_ has quit [Ping timeout: 240 seconds]
estermey has quit [Client Quit]
vikaton has quit []
TheNet has joined #ruby
Mohan_ has joined #ruby
noonius has quit [Quit: noonius]
scripore has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
zzxc has quit [Ping timeout: 252 seconds]
_tpavel has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
asmodlol has joined #ruby
hewenhong has joined #ruby
dblessing has joined #ruby
Stalkr_ has joined #ruby
Musashi007 has joined #ruby
yetone has joined #ruby
_tpavel has quit [Client Quit]
yetone has quit [Remote host closed the connection]
_tpavel has joined #ruby
idafyaid has joined #ruby
_tpavel has quit [Client Quit]
havenwood has quit [Ping timeout: 252 seconds]
dblessing has quit [Ping timeout: 256 seconds]
fgo has joined #ruby
joelataylor has joined #ruby
griffindy has joined #ruby
JDiPierro has joined #ruby
Stalkr^ has joined #ruby
shock_one has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
_tpavel has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
slawrence00 has joined #ruby
Stalkr_ has quit [Ping timeout: 255 seconds]
lthomas1 has joined #ruby
Mohan_ has quit [Ping timeout: 252 seconds]
Mohan has joined #ruby
decoponio has joined #ruby
TuxOtaku_ has joined #ruby
n008f4g_ has joined #ruby
Mohan is now known as Guest19288
lthomas1 has quit [Client Quit]
lthomas1 has joined #ruby
lthomas1 has quit [Client Quit]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_tpavel has quit [Quit: Leaving]
luk3thomas has joined #ruby
jottr has joined #ruby
Guest19288 has quit [Ping timeout: 250 seconds]
bmurt has joined #ruby
doertedev has joined #ruby
Mohan_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
noonius has joined #ruby
simpyll has joined #ruby
simpyll has quit [Client Quit]
banister has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
arashb has joined #ruby
luk3thomas has left #ruby [#ruby]
lthomas has joined #ruby
Mohan_ has quit [Ping timeout: 240 seconds]
shuber has joined #ruby
tjohnson has joined #ruby
<lthomas> morning
<lthomas> anyone know how I can transform [“a”, 1] to {a: 1}?
armyriad has quit [Read error: Connection reset by peer]
<lthomas> I thought zip might work, not so
armyriad has joined #ruby
<lthomas> seems like there would be a method for that, w/o using a transform function like reduce
<apeiros> lthomas: .to_h
riotjones has quit [Remote host closed the connection]
shock_one has joined #ruby
workmad3 has joined #ruby
<lthomas> How can I eval ruby in here?
<apeiros> >> ["h", 1].to_h
<ruboto> apeiros # => wrong element type String at 0 (expected array) (TypeError) ...check link for more (https://eval.in/361068)
orionstein_away is now known as orionstein
<lthomas> >> ["a", 1].to_h
<ruboto> lthomas # => wrong element type String at 0 (expected array) (TypeError) ...check link for more (https://eval.in/361069)
<apeiros> ah, d'uh. needs array of key/value arrays
<apeiros> well, Hash[] then
<apeiros> >> Hash["h", 1]
<ruboto> apeiros # => {"h"=>1} (https://eval.in/361070)
<gregf_> >>Hash[["a", 1]]
<ruboto> gregf_ # => /tmp/execpad-7e8b05dbe316/source-7e8b05dbe316:2: warning: wrong element type String at 0 (expected a ...check link for more (https://eval.in/361071)
<apeiros> >> array = ["h", 1]; Hash[*array]
<ruboto> apeiros # => {"h"=>1} (https://eval.in/361073)
shuber has quit [Ping timeout: 255 seconds]
<gregf_> >>Hash[[["a", 1]]]
<ruboto> gregf_ # => {"a"=>1} (https://eval.in/361074)
<lthomas> Yeah, that’s it, Hash[“a”, 1]
<apeiros> gregf_: that's where you preferably use .to_h
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
airdisa has joined #ruby
Mohan_ has joined #ruby
Rollabunna has joined #ruby
<apeiros> lthomas: btw., {a: 1} is {:a => 1}, not {"a" => 1}
<lthomas> true
<apeiros> so if you also want to convert string keys to symbols, you need an additional step
<lthomas> I don’t care about symbols atm
TheNet has joined #ruby
chipotle has quit [Quit: cheerio]
<lthomas> I was really just looking for a way to convert an array of 2 elements to a assoc map
unshadow has joined #ruby
<apeiros> lthomas: errr, what? always 2?
<apeiros> {ary.first => ary.last}
fgo_ has joined #ruby
<apeiros> though I really wonder about the use case of such a thing…
<lthomas> right, you can do that, I thought there was a method on the array class that did the same thing
ki0 has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
noonius has quit [Quit: noonius]
rahult has joined #ruby
Rollabunna has quit [Ping timeout: 258 seconds]
juanpaucar has joined #ruby
Igorshp has quit [Remote host closed the connection]
Pricey has left #ruby [#ruby]
ki0 has quit [Remote host closed the connection]
Mohan_ has quit [Ping timeout: 264 seconds]
terlar has quit [Quit: WeeChat 1.1.1]
troyready has quit [Ping timeout: 276 seconds]
nateberkopec has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
noonius has joined #ruby
Mohan_ has joined #ruby
DynamicMetaFlow has joined #ruby
yqt has quit [Ping timeout: 246 seconds]
jerius has joined #ruby
juanpaucar has quit [Ping timeout: 276 seconds]
enebo has joined #ruby
shock_one has quit [Remote host closed the connection]
noonius has quit [Client Quit]
bigmac has joined #ruby
RegulationD has joined #ruby
jimms has joined #ruby
QKO has quit [Remote host closed the connection]
thatslifeson has joined #ruby
zarubin has quit [Remote host closed the connection]
Rollabunna has joined #ruby
QKO has joined #ruby
Mohan_ has quit [Ping timeout: 264 seconds]
davedev24_ has quit [Ping timeout: 272 seconds]
davedev24_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bMalum has quit [Quit: bMalum]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zzxc has joined #ruby
shock_one has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troyready has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vdamewood has quit [Quit: Life beckons.]
thatslif_ has joined #ruby
chinmay_dd has quit []
JDiPierro has quit [Remote host closed the connection]
Igorshp has joined #ruby
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
Mohan_ has joined #ruby
zarubin has joined #ruby
thatslifeson has quit [Ping timeout: 256 seconds]
Mohan_ has quit [Read error: Connection reset by peer]
JDiPierro has joined #ruby
DynamicMetaFlow has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 272 seconds]
ki0 has joined #ruby
freerobby has joined #ruby
denver has joined #ruby
Caius has quit [Ping timeout: 276 seconds]
iamninja has quit [Ping timeout: 272 seconds]
jph98 has quit [Quit: jph98]
hewenhong has quit [Remote host closed the connection]
hewenhong has joined #ruby
jgt has quit [Quit: WeeChat 1.1.1]
lavros has joined #ruby
itouchthings has joined #ruby
zotherstupidguy has joined #ruby
hewenhon_ has joined #ruby
itouchthings has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 255 seconds]
The_Phoenix has joined #ruby
itouchthings has joined #ruby
Caius has joined #ruby
itouchthings has quit [Remote host closed the connection]
TheNet has joined #ruby
hewenho__ has joined #ruby
iasoon has joined #ruby
arup_r has quit []
EagleDelta has joined #ruby
hewenh___ has joined #ruby
davedev24_ has quit [Ping timeout: 256 seconds]
hewenh___ has quit [Remote host closed the connection]
hewenhong has quit [Ping timeout: 256 seconds]
ejnahc has quit [Remote host closed the connection]
hewenhong has joined #ruby
hewenhon_ has quit [Ping timeout: 264 seconds]
ejnahc has joined #ruby
<adaedra> Mmmh
<adaedra> Classic SQL or MongoDB?
<adaedra> Choices, choices...
<apeiros> ask yorick in #ruby-lang about that
hewenho__ has quit [Read error: Connection reset by peer]
<apeiros> classic sql btw. in 99% of all cases.
<adaedra> there's a reason behind that choice?
<Darkwater> it's a per-application choice
<Darkwater> mostly
paulcsmith has joined #ruby
noonius has joined #ruby
coventry` has joined #ruby
umgrosscol has joined #ruby
davedev24_ has joined #ruby
<apeiros> adaedra: there's only one class of problems where document type db's are viable - when you really don't care about what you store
<apeiros> in all other cases you will end up with a reinvention of schema anyway
<adaedra> mmh
<apeiros> and even when you don't care about what you store, db's like pg are still the better choice. you can store json or xml in there just fine too
Mohan_ has joined #ruby
<apeiros> and regarding scaling - what are the chances you actually have a problem which outscales pg?
mary5030 has joined #ruby
rbennacer has joined #ruby
pabed has joined #ruby
<adaedra> oh, it's not about that
gambl0re has joined #ruby
<adaedra> it's a personal project mainly
<apeiros> well, you didn't say what it is about. and the two common points are "no schema" and "scales!"
lidenskap has joined #ruby
<apeiros> and IMO both are in most cases simply not valid pro-mongo points.
pabed has left #ruby [#ruby]
slash_nick has joined #ruby
fuzzyhorns1 has joined #ruby
coventry has quit [Ping timeout: 256 seconds]
<adaedra> I'm making myself a little blog platform
<adaedra> I was wondering about what to put as a DB, and being stuck at that, found interesting to see what is to be said here :)
<apeiros> I usually recommend either sqlite or pg
<apeiros> sqlite's main weakness is poor concurrent behavior
<adaedra> I'm used to MySQL, have only little knowledge of the other ones
<apeiros> pg's main weakness is operational complexity
hoov has quit [Ping timeout: 256 seconds]
<apeiros> mysql is ugh
thatslifeson has joined #ruby
hoov has joined #ruby
<apeiros> see stuff like utf-8 issues, no transactions in default engine, no query planer and more
<adaedra> for the uses cases I had until now it was enough :<
<adaedra> but yeah, I know it's not optimal
hewenhon_ has joined #ruby
hewenhong has quit [Read error: Connection reset by peer]
<apeiros> try storing an emoticon in mysql…
thatslif_ has quit [Ping timeout: 256 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
<apeiros> it's easy to hit one of mysql's issues.
lidenskap has quit [Ping timeout: 272 seconds]
sinkensabe has quit [Remote host closed the connection]
<adaedra> yeah, I know, utf8mb4
jottr has joined #ruby
arturaz has quit [Ping timeout: 250 seconds]
banister has joined #ruby
hewenhong has joined #ruby
hewenhong has quit [Remote host closed the connection]
hewenhong has joined #ruby
hewenhon_ has quit [Read error: Connection reset by peer]
ki0 has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
hewenhon_ has joined #ruby
noonius has quit [Quit: noonius]
doodlehaus has quit [Read error: Connection reset by peer]
doodleha_ has joined #ruby
Kricir has joined #ruby
clauswitt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimms has quit [Remote host closed the connection]
shuber_ has joined #ruby
hewenhong has quit [Ping timeout: 265 seconds]
dru has joined #ruby
Mohan_ has quit [Ping timeout: 256 seconds]
armyriad has quit [Read error: Connection reset by peer]
DerisiveLogic has quit [Ping timeout: 272 seconds]
armyriad has joined #ruby
redjack1964 has quit [Remote host closed the connection]
livathinos has quit []
_blizzy_ has joined #ruby
failshell has joined #ruby
riotjones has joined #ruby
Mohan_ has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
juanpablo_ has joined #ruby
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
shuber_ has quit [Ping timeout: 244 seconds]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
yqt has joined #ruby
riotjones has joined #ruby
doodleha_ has quit [Ping timeout: 256 seconds]
riotjones has quit [Read error: Connection reset by peer]
<TheNet> is there a term for stdout stdin and stderr collectively?
riotjones has joined #ruby
hewenhon_ has quit [Read error: Connection reset by peer]
riotjones has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
mitchellhenke has joined #ruby
zzxc has quit [Ping timeout: 256 seconds]
riotjones has joined #ruby
davedev2_ has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
davedev24_ has quit [Ping timeout: 240 seconds]
riotjones has joined #ruby
juanpaucar has joined #ruby
zzxc has joined #ruby
zzxc has quit [Changing host]
zzxc has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
Mohan_ has quit [Ping timeout: 256 seconds]
axl_ has joined #ruby
riotjones has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
riotjones has quit [Read error: Connection reset by peer]
tuelz has joined #ruby
doodlehaus has quit [Read error: Connection reset by peer]
TheNet has joined #ruby
doodlehaus has joined #ruby
riotjones has joined #ruby
hewenhong has joined #ruby
Mohan_ has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
<Darkwater> TheNet: standard file descriptors I guess?
werelivinginthef has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
doodleha_ has joined #ruby
riotjones has joined #ruby
hewenhon_ has joined #ruby
Sawbones has joined #ruby
giuseppesolinas has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
fuzzyhorns1 has left #ruby [#ruby]
yekta has joined #ruby
symbol has joined #ruby
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
arashb has quit [Remote host closed the connection]
surs has quit [Quit: WeeChat 0.3.7]
Mohan_ has quit [Ping timeout: 240 seconds]
tagrudev has quit [Remote host closed the connection]
ebbflowgo has joined #ruby
aganov has quit [Remote host closed the connection]
riotjones has joined #ruby
zilberstein has left #ruby ["Leaving"]
workmad3 has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
doodlehaus has quit [Ping timeout: 258 seconds]
hewenhong has quit [Ping timeout: 272 seconds]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
Jarboe has joined #ruby
hewenhong has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
QKO has quit [Remote host closed the connection]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
claw has quit [Ping timeout: 246 seconds]
claw has joined #ruby
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
QKO has joined #ruby
riotjones has joined #ruby
casadei has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
hewenho__ has joined #ruby
hewenhong has quit [Read error: Connection reset by peer]
hewenhon_ has quit [Ping timeout: 256 seconds]
codecop has joined #ruby
snockerton has joined #ruby
ych_ has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheNet has joined #ruby
TheNet has quit [Client Quit]
conta has quit [Quit: Leaving]
conta has joined #ruby
emilkarl has quit [Quit: emilkarl]
edwinvdg_ has joined #ruby
Mohan_ has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
hanmac1 has quit [Quit: Leaving.]
thatslifeson has quit [Remote host closed the connection]
jimms has joined #ruby
shock_one has quit []
yekta has quit [Quit: yekta]
TheNet has joined #ruby
<TheNet> let
jackcom has joined #ruby
edwinvdgraaf has quit [Ping timeout: 258 seconds]
<jackcom> there is a ruby tutorial on web?
<TheNet> jackcom: codecademy?
<jackcom> 8)
<jackcom> thanks ;)
<adaedra> jackcom: lots of
<jimms> jackcom: what's your level? there's also tryruby.org
GaryOak_ has joined #ruby
<jackcom> i learned c in the University.
<jackcom> jimms:
<dudedudeman> learn ruby the hard way might be good if you need to have something that isn't as interactive
asmodlol has quit [Ping timeout: 256 seconds]
GaryOak_ has quit [Remote host closed the connection]
<jackcom> dudedudeman: thanks
treehug88 has joined #ruby
GaryOak_ has joined #ruby
<dudedudeman> it's one of those exercise/teaching books that forces you to type everything out. i've seen mixed reviews on it, but i enjoyed them for the get up and go with them
<jackcom> i remember some ruby book of red apple. but i can’t remember it.
claw_ has joined #ruby
edwinvdg_ has quit [Remote host closed the connection]
inspiron has joined #ruby
claw has quit [Ping timeout: 272 seconds]
lavros has quit [Ping timeout: 272 seconds]
Mohan_ has quit [Ping timeout: 256 seconds]
<jackcom> i don’t remember ruby book that have cover of red apple tree
<jackcom> who know it?
asmodlol has joined #ruby
<adaedra> Google maybe
<jackcom> yes
kobain has joined #ruby
<adaedra> Be careful about books though, not to take a too old one.
noonius has joined #ruby
Mohan_ has joined #ruby
Stalkr^ has quit [Quit: Leaving...]
timonv has quit [Ping timeout: 240 seconds]
mclosson has joined #ruby
rbennacer has quit [Remote host closed the connection]
<dudedudeman> the pickaxe book is a standard as well
<jackcom> oh thanks
dcarmich has joined #ruby
vtunka has quit [Quit: Leaving]
lavros has joined #ruby
slackbotgz has joined #ruby
symbol has quit [Quit: WeeChat 1.1]
poguez_ has joined #ruby
mclosson_ has joined #ruby
edwinvdgraaf has joined #ruby
mclosson has quit [Ping timeout: 256 seconds]
conta has quit [Quit: Leaving]
apxm has joined #ruby
devoldmx has joined #ruby
failshell has quit []
codepete_ is now known as codepete
noonius has quit [Quit: noonius]
gagrio has quit [Ping timeout: 240 seconds]
thatslifeson has joined #ruby
rbennacer has joined #ruby
joelataylor has quit [Quit: Be back later ...]
joelataylor has joined #ruby
EagleDelta has quit [Ping timeout: 244 seconds]
Mohan_ has quit [Ping timeout: 256 seconds]
danman has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
qwertme has joined #ruby
doodlehaus has joined #ruby
Mohan_ has joined #ruby
downwithbender has joined #ruby
dumdedum has quit [Quit: foo]
andrew-l has joined #ruby
joelataylor has quit [Ping timeout: 244 seconds]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr has joined #ruby
doodleha_ has quit [Ping timeout: 272 seconds]
hoov has quit [Ping timeout: 276 seconds]
dfinninger has joined #ruby
downwithbender has quit [Client Quit]
<jackcom> Learn to Program (Pragmatic Programmers) <—— i find it finally dudedudeman
bMalum has joined #ruby
speakingcode has joined #ruby
reinaldob has quit [Remote host closed the connection]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
shuber_ has joined #ruby
alex88 has quit []
tkuchiki has joined #ruby
thatslifeson has quit [Remote host closed the connection]
Papipo has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 258 seconds]
nfk has joined #ruby
thatslifeson has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
Papipo has joined #ruby
armyriad has joined #ruby
Mohan_ has quit [Ping timeout: 246 seconds]
serivich has joined #ruby
x1337807x has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
paulcsmith has quit [Quit: Be back later ...]
x1337807x has quit [Max SendQ exceeded]
karpuragauram has joined #ruby
edwinvdgraaf has joined #ruby
hewenho__ has quit [Remote host closed the connection]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
hewenhong has joined #ruby
serivichi has joined #ruby
chinmay_dd has joined #ruby
shuber_ has quit [Ping timeout: 250 seconds]
x1337807x has joined #ruby
hewenhong has quit [Remote host closed the connection]
x1337807x has quit [Max SendQ exceeded]
hewenhong has joined #ruby
x1337807x has joined #ruby
ebonics has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
jackcom has quit [Quit: jackcom]
karpuragauram has quit [Read error: Connection reset by peer]
hewenhong has quit [Read error: Connection reset by peer]
hewenhong has joined #ruby
edwinvdgraaf has joined #ruby
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
serivich has quit [Ping timeout: 256 seconds]
Squarepy has quit [Quit: Leaving]
hewenhon_ has joined #ruby
gsd has joined #ruby
ahmetkapikiran has joined #ruby
Mohan_ has joined #ruby
ahmetkapikiran has quit [Client Quit]
hewenhong has quit [Ping timeout: 264 seconds]
craigp has quit []
ych_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shadoi1 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shellfu has joined #ruby
shadoi has quit [Ping timeout: 256 seconds]
gauke has quit [Quit: gauke]
rhllor has joined #ruby
tier has joined #ruby
jottr has quit [Ping timeout: 258 seconds]
caiges has joined #ruby
caiges has quit [Max SendQ exceeded]
c_nick has joined #ruby
c_nick has quit [Quit: Bye]
mistermocha has joined #ruby
peteykun has joined #ruby
fgo has joined #ruby
fgo_ has quit [Ping timeout: 250 seconds]
icebourg has joined #ruby
Guest36441 has quit [Ping timeout: 256 seconds]
<dudedudeman> nice!
<dudedudeman> oh wait.. he already gone
x1337807x has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
charliesome has quit [Quit: zzz]
Mohan_ has quit [Ping timeout: 240 seconds]
armyriad has quit [Read error: Connection reset by peer]
pdoherty has joined #ruby
armyriad has joined #ruby
jenrzzz has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
apxm has quit [Quit: Textual IRC Client: www.textualapp.com]
juanpaucar has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
tcrypt has joined #ruby
coolfool has joined #ruby
d10n-work has joined #ruby
pdoherty has quit [Remote host closed the connection]
cajone has left #ruby [#ruby]
hewenhon_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 258 seconds]
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
borkdude has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
Papipo has quit [Read error: Connection reset by peer]
thiagovsk has joined #ruby
momomomomo has joined #ruby
Papipo has joined #ruby
edwinvdgraaf has quit []
qwertme has joined #ruby
mistermocha has quit [Remote host closed the connection]
<dudedudeman> does anyone know a good way to sort a postgres database, outside of rails?
<dudedudeman> i'm doing some googling and everything just points me to rails. :/
s2013 has joined #ruby
qwertme has quit [Client Quit]
borkdude has joined #ruby
Spami has joined #ruby
bayed has joined #ruby
DerisiveLogic has joined #ruby
P1RATEZ has joined #ruby
nobitanobi has joined #ruby
hewenhong has joined #ruby
<gregf_> dudedudeman: sort a pg db? or sort data in a pg db table?
<dudedudeman> good point. sort data in a pg db table
anisha has quit [Quit: Leaving]
TheNet has joined #ruby
mikecmpbll has quit [Quit: ciao.]
jackjackdripper has joined #ruby
<dudedudeman> i want to find my last 10 entries, entries that were entered in the last week, how many there were, that kind of thing
<gregf_> er, not sure if thats related to ruby. i guess you;ll get better answers in #pg or <whatever> :/
Synthead has joined #ruby
mistermocha has joined #ruby
<gregf_> there should be a limit or something in pg. like so, select * from table order by created_date desc limit 10 or soemthing similar :/
armyriad has quit [Read error: Connection reset by peer]
<dudedudeman> well, i guess i can do(where x is the class i'm saving to) x.last('10')
<dudedudeman> that gives me all of the values of that entry in a hash
<dudedudeman> (currently sandboxing in irb)
MatthewsFace has joined #ruby
armyriad has joined #ruby
<gregf_> using activerecord you mean?
<dudedudeman> yes! I should have clarified that.
MatthewsFace has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
<gregf_> have you asked on #ror
<dudedudeman> there's a rails guide for that. probably worth following..
<dudedudeman> no, i haven't, though I am not working on a Rails app
<havenwood> dudedudeman: A bunch of Sequel gem love here. <3
<dudedudeman> havenwood: i need to dig in and try that.
fedexo has joined #ruby
<dudedudeman> though it does look like activerecord gives me a lot of methods to play with here, at least ones that will work for my purposes.
<dudedudeman> i'm working on just building some metrics in to my app
CorySimmons has joined #ruby
<lthomas> dudedudeman: how’s it going
<lthomas> what are you reporting?
<dudedudeman> lthomas: sup!
banister has quit [Read error: Connection reset by peer]
slackbotgz has quit [Remote host closed the connection]
<lthomas> metrics wise
x1337807x has quit [Read error: Connection reset by peer]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
msgodf has quit [Ping timeout: 240 seconds]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheNet has joined #ruby
quimrstorres has quit [Ping timeout: 256 seconds]
yqt has quit [Ping timeout: 256 seconds]
quimrstorres has joined #ruby
mclosson has joined #ruby
aryaching has joined #ruby
edwinvdgraaf has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
edwinvdgraaf has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 240 seconds]
einarj has quit [Remote host closed the connection]
mclosson_ has quit [Ping timeout: 264 seconds]
troulouliou_dev has joined #ruby
lkba has quit [Ping timeout: 250 seconds]
thatslifeson has quit [Remote host closed the connection]
hewenhong has quit [Remote host closed the connection]
mrsolo has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joonty has quit [Quit: joonty]
shellfu has quit [Ping timeout: 264 seconds]
thatslifeson has joined #ruby
jimmy428 has joined #ruby
jimmy428 has left #ruby [#ruby]
momomomomo has quit [Quit: momomomomo]
Papipo has quit [Remote host closed the connection]
hewenhong has joined #ruby
rbennacer has quit [Remote host closed the connection]
Papipo has joined #ruby
DexterLB has quit [Ping timeout: 240 seconds]
Sawbones has quit [Remote host closed the connection]
sohrab has joined #ruby
DexterLB has joined #ruby
maletor has joined #ruby
Mohan_ has joined #ruby
mistermocha has quit [Ping timeout: 252 seconds]
pengin has joined #ruby
paulcsmith has joined #ruby
joonty has joined #ruby
hewenhong has quit [Ping timeout: 272 seconds]
metalic has joined #ruby
metalic has quit [Max SendQ exceeded]
peteykun has quit [Quit: Leaving]
joonty has quit [Client Quit]
iamninja has joined #ruby
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
CorySimmons has quit [Quit: Bye!]
rbennacer has joined #ruby
paulcsmith has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
<dudedudeman> oh, well, i have monitors, and they need to be calibrated. so i will be wanting to report how many were calibrated that day, how many were calibrated that week, and which monitors need to be calibrated that week(based on a 3 month cycle). I'll also eventually need to eventually send email reminders of the monitors that need to be calibrated
Mohan_ has quit [Ping timeout: 265 seconds]
yqt has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
noonius has joined #ruby
freerobby has quit [Quit: Leaving.]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermo_ has joined #ruby
TheNet has joined #ruby
CustosLimen has quit [Ping timeout: 258 seconds]
zzxc has quit [Ping timeout: 252 seconds]
<dudedudeman> which i'd be using the mail gem for that
noonius has quit [Client Quit]
michaeldeol has joined #ruby
pdoherty has joined #ruby
TheNet has quit [Client Quit]
doertedev has quit [Quit: Lost terminal]
Mohan_ has joined #ruby
jackjackdripper has joined #ruby
noonius has joined #ruby
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
Porfa has joined #ruby
arthurvr has left #ruby [#ruby]
EagleDelta has joined #ruby
jespada_ has quit [Ping timeout: 265 seconds]
enebo has quit [Quit: enebo]
veduardo_ has joined #ruby
mistermocha has joined #ruby
Mohan_ has quit [Ping timeout: 256 seconds]
bigmac has quit [Ping timeout: 250 seconds]
thomcom has joined #ruby
Timba-as has joined #ruby
paulcsmith has joined #ruby
veduardo_ has quit [Client Quit]
Igorshp has quit [Remote host closed the connection]
Sawbones has joined #ruby
rkazak has quit [Ping timeout: 272 seconds]
Mohan_ has joined #ruby
x1337807x has joined #ruby
mistermo_ has quit [Ping timeout: 240 seconds]
noonius has quit [Quit: noonius]
x1337807x has quit [Max SendQ exceeded]
TheNet has joined #ruby
x1337807x has joined #ruby
fedexo has quit [Ping timeout: 265 seconds]
Mia has joined #ruby
Mia has joined #ruby
<TheNet> is StringIO#gets supposed to be blocking?
Hijiri has quit [Quit: WeeChat 1.0.1]
lavros has quit [Quit: Lost terminal]
spt0 has joined #ruby
Mia has quit [Read error: Connection reset by peer]
<eam> TheNet: I'm not sure that question makes sense
<TheNet> me neither
Mia has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
<dudedudeman> i understood some of those words
<eam> TheNet: what are you asking?
Mia has quit [Changing host]
Mia has joined #ruby
<eam> or, what does "blocking" mean to you?
Papipo has quit [Remote host closed the connection]
<TheNet> how can I redirect $stdout so I can do something like $stdout.gets instead of it putting to STDOUT
Papipo has joined #ruby
<TheNet> blocking as in the call blocks until it has something to return
jespada_ has joined #ruby
<eam> you want to redirect stdout to another descriptor?
<TheNet> I think so
freerobby has joined #ruby
<eam> TheNet: see #reopen on IO, perhaps?
Mohan_ has quit [Ping timeout: 255 seconds]
thoffmeyer_ has joined #ruby
deric_skibotn has joined #ruby
lavros has joined #ruby
<eam> TheNet: BTW, $stdout and STDOUT are the same object
rbennacer has quit [Remote host closed the connection]
<TheNet> I can set $stdout to a new StringIO, right?
<TheNet> and still use STDOUT.puts
pontiki has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki_ has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
n80 has quit [Quit: n80]
thoffmeyer has quit [Quit: Leaving]
bigmac has joined #ruby
treehug88 has quit [Ping timeout: 276 seconds]
thoffmeyer_ has quit [Client Quit]
thoffmeyer has joined #ruby
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
Sawbones has quit [Remote host closed the connection]
mistermocha has quit [Remote host closed the connection]
thoffmeyer has quit [Changing host]
thoffmeyer has joined #ruby
hoov has joined #ruby
asmodlol has quit [Ping timeout: 272 seconds]
mistermocha has joined #ruby
thoffmeyer has quit [Client Quit]
thoffmeyer has joined #ruby
thoffmeyer has quit [Changing host]
thoffmeyer has joined #ruby
Sawbones has joined #ruby
<eam> I don't think so
jenrzzz has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<eam> could assign both, though
doodleha_ has joined #ruby
TheNet has joined #ruby
spider-mario has quit [Quit: No Ping reply in 180 seconds.]
sohrab has quit [Quit: leaving]
<eam> TheNet: < eam> I don't think so < eam> could assign both, though
<eam> TheNet: assigning an IO object to $stdout is different than reopening (dup'ing) stdout
mistermocha has quit [Read error: Connection reset by peer]
towski_ has joined #ruby
<eam> I suspect StringIO can't be used with dup (if it does, I'd love to know how ruby pulls that off)
mistermocha has joined #ruby
spider-mario has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
asmodlol has joined #ruby
mitchellhenke has left #ruby ["Textual IRC Client: www.textualapp.com"]
doodlehaus has quit [Ping timeout: 276 seconds]
treehug88 has joined #ruby
mistermo_ has joined #ruby
rhllor has quit [Quit: rhllor]
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
wallerdev has joined #ruby
taiansu has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ebbflowgo has joined #ruby
momomomomo has joined #ruby
mistermocha has quit [Ping timeout: 258 seconds]
TheNet has joined #ruby
rdark has quit [Quit: leaving]
treehug88 has quit [Ping timeout: 272 seconds]
Sawbones has quit [Remote host closed the connection]
jimms_ has joined #ruby
jimms has quit [Read error: Connection reset by peer]
lkba has joined #ruby
tejasmanohar has joined #ruby
picasso has left #ruby [#ruby]
postmodern has joined #ruby
Guest1421 has joined #ruby
jespada_ has quit [Ping timeout: 256 seconds]
arup_r has joined #ruby
User458764 has joined #ruby
Papipo has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
shuber_ has joined #ruby
Papipo has joined #ruby
zzxc has joined #ruby
wjlroe has quit [Ping timeout: 240 seconds]
shuber_ has quit [Ping timeout: 256 seconds]
n008f4g_ has joined #ruby
doodleha_ has quit [Remote host closed the connection]
GnuYawk has joined #ruby
towski_ has quit [Remote host closed the connection]
tkuchiki_ has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
<shevy> remember your quote eam
<shevy> the ruby parser is wicked black magic
noonius has joined #ruby
noonius has quit [Client Quit]
treehug88 has joined #ruby
momomomomo_ has joined #ruby
Los has joined #ruby
mistermo_ has quit [Ping timeout: 256 seconds]
momomomomo has quit [Ping timeout: 258 seconds]
momomomomo_ is now known as momomomomo
rbennacer has joined #ruby
SouL_|_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
snockerton has quit [Quit: Leaving.]
jespada_ has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
snockerton has joined #ruby
mjuszczak has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
taiansu has quit []
Mohan has joined #ruby
tus has joined #ruby
Mohan is now known as Guest90940
shuber_ has joined #ruby
mistermocha has joined #ruby
pdoherty has quit [Ping timeout: 272 seconds]
mistermocha has quit [Remote host closed the connection]
lidenskap has joined #ruby
lidenskap has quit [Remote host closed the connection]
mistermocha has joined #ruby
lidenskap has joined #ruby
mtakkman has joined #ruby
Cust0sLim3n has quit [Max SendQ exceeded]
Rirel has quit [Ping timeout: 244 seconds]
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
weemsledeux has joined #ruby
Cust0sLim3n has joined #ruby
mclosson has quit [Ping timeout: 252 seconds]
orionstein is now known as orionstein_away
tus has quit [Ping timeout: 240 seconds]
Parker0 has joined #ruby
JoshieAS has joined #ruby
pietr0 has joined #ruby
<Senjai> :(
Los has quit [Quit: Page closed]
<Senjai> :'(
<Senjai> T_T
<Senjai> saveme
jimms_ has quit []
Parker0 has quit [Client Quit]
Polly_Ann has joined #ruby
Polly_Ann has left #ruby [#ruby]
psy_ has joined #ruby
* apeiros saves Senjai
ascarter has joined #ruby
<apeiros> it says "please choose a name" :-o
<Senjai> ?
alexherbo2 has quit [Quit: WeeChat 1.1.1]
<apeiros> a chose "save" and now it wants a name to save you under
<apeiros> Senjai is obvious, but what extension should I choose?
asmodlol has quit [Ping timeout: 240 seconds]
<Senjai> .bak
<Senjai> Might need it
<Senjai> apeiros: http://imgur.com/GwfeiX3
<Senjai> That isn't even close to the worst part of the PR. (only what I can show, he's replied to the rest)
orionstein_away is now known as orionstein
lidenskap has quit [Ping timeout: 265 seconds]
<eam> shevy: not a parser thing really, more of an issue of how you'd service a FD properly
[mad] has joined #ruby
<apeiros> Senjai: I actually use kwargs even for single argument. I find it can make code much more readable. but I'm still experimenting.
lidenskap has joined #ruby
<Senjai> apeiros: I was in that boat once too. When kwargs was first a thing
JimmyNeutron has joined #ruby
<Senjai> but naming everything your passing in is kind of useless.
asmodlol has joined #ruby
freerobby has quit [Quit: Leaving.]
<Senjai> The only actual benefit of kwargs is that it removes the dependency on the order of arguments
<Senjai> by allowing you to name them
<Senjai> and that is a legit dependency
<apeiros> I disagree
<Senjai> Also, for pulling things out of hashes easily
Guest90940 has quit [Ping timeout: 272 seconds]
uri_ has joined #ruby
EllisTAA has joined #ruby
<apeiros> private initialize is cute. initialize is private by default :)
<Senjai> def thing keys:,i:,care:,about:; usestuffs end. thing({large crappy hash})
<apeiros> you're mentoring a newbie?
<Senjai> apeiros: No, hes a full develope
<Senjai> for our client
<EllisTAA> ruby is an interpreted language right? could it be made into a compiled language?
<Senjai> our clients CTO is much worse
<apeiros> EllisTAA: interpreted/compiled is not a language property
shuber_ has quit [Remote host closed the connection]
serivichi has quit [Ping timeout: 256 seconds]
<apeiros> EllisTAA: MRI (the de-facto standard runtime for ruby) is a interpreter/bytecode vm
<EllisTAA> apeiros: so it’s not a language property, then what is it?
<apeiros> Senjai: oy
<Senjai> EllisTAA: Ruby is a language. there is an interpreter that interprets the language and executes it. Yes ruby can be compiled
<apeiros> EllisTAA: a property of the runtime
<apeiros> EllisTAA: is C a compiled language?
<EllisTAA> gotcha. thanks. so why did they choose to make it interpreted instead of compiled?
DEA7TH has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
<apeiros> because tradeoffs
<EllisTAA> oh ok
<hakunin> wonder if I can hardcode dns resolution in ruby, like injecting a hosts file with higher "precedence" than /etc/hosts
<hanmac> an interpreted language can be way more dynamic than a compiled one
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<EllisTAA> apeiros: are the tradoffs that interpreting it allows it to be more dynamic?
<ebonics> hakunin, with ruby alone i dont think thats possible
<hakunin> ebonics: just for a specific script being run
<apeiros> EllisTAA: I might not know enough about building languages for a good assessment. but yes, it's probably easier.
<EllisTAA> apeiros: thanks
<ebonics> hakunin, you would have to hook some OS functions
<hakunin> yeah…
<ebonics> or use a proxy
ebbflowgo has quit [Quit: ebbflowgo]
spider-mario has quit [Ping timeout: 276 seconds]
<hakunin> ebonics: i'm trying to do a simple thing where there's a shared list of deployment targets auto-downloaded, so devs don't have to edit their hosts file when I change servers
chinmay_dd has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<ebonics> hakunin, you can do that with ruby, but you wont be able to bypass hosts file with just ruby i think
<hakunin> ebonics: i could just use ip addresses of course…
<ebonics> hakunin, why does your app need higher precedence than /etc/hosts
<ebonics> hakunin, you could, yeah. but that's not relevant to dns
<hakunin> ebonics: you know how in capistrano you have stages, and you list your servers there?
<ebonics> no
baroquebobcat has quit [Quit: baroquebobcat]
Mohan_ has joined #ruby
<hakunin> ebonics: then it's not a super quick explanation
<ebonics> i understand what you want to do
nricciar has quit [Ping timeout: 256 seconds]
<ebonics> i dont understand why you need to bypass hosts file though
<hakunin> ebonics: not exactly bypass
baroquebobcat has joined #ruby
ebbflowgo has joined #ruby
<hakunin> just when i add a new server to our stack
<hakunin> devs don't have it in their /etc/hosts
wald0 has quit [Quit: Lost terminal]
<hakunin> and i don't want them to have to add it before they can deploy
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrsolo has quit [Quit: This computer has gone to sleep]
<hakunin> instead i want deploy script we have to download the current server list, and have it all work
<ebonics> hakunin, im not sure what capinwhatever does but you could have one server with a static ip that keeps track of your nodes that could be queried
spider-mario has joined #ruby
<hakunin> that's where the server list comes from yeah
ebbflowgo has quit [Client Quit]
JoshieAS has left #ruby ["WeeChat 1.0.1"]
<hakunin> i can set it up as a dns server i guess, but thought there's a simpler way
<hakunin> ebonics: ^
nobitanobi has quit []
nobitanobi has joined #ruby
<ebonics> hakunin, im not sure i understand your use case exactly. what does your application do exactly
djbkd has joined #ruby
ebbflowgo has joined #ruby
<hakunin> it's a web app
<hakunin> you deploy it to multiple servers
baroquebobcat has quit [Client Quit]
csmb has joined #ruby
momomomomo_ has joined #ruby
<ebonics> does it use normal http
Sawbones has joined #ruby
<hakunin> yes, but that's irrelevant for the deployment process
momomomomo has quit [Ping timeout: 276 seconds]
momomomomo_ is now known as momomomomo
<ebonics> well it would be different if it used websockets
<hakunin> that doesn't affect deployment
<hakunin> i'm just uploading files to servers
thatslifeson has quit [Remote host closed the connection]
<ebonics> it affects how you have to approach sending back the deployed hosts/ips
<hakunin> through ssh or scp, it doesn't have to be coming from the front end
scripore has joined #ruby
<ebonics> i think the _easiest_ way is to just setup nameservers
<ebonics> idk what could be easier than thtat
_blizzy_ has quit [Ping timeout: 265 seconds]
<hakunin> yeah…
nii236 has joined #ruby
<hakunin> thanks, i guess i need to make that 1 known machine a dns servers
<hakunin> *server
shuber_ has joined #ruby
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/2015041600]]
yqt has quit [Ping timeout: 256 seconds]
baroquebobcat has joined #ruby
baweaver has joined #ruby
denver has quit [Remote host closed the connection]
mrsolo has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
geekbri has joined #ruby
geekbri has quit [Remote host closed the connection]
nii236 has quit [Ping timeout: 256 seconds]
mtakkman has quit [Read error: Connection reset by peer]
shuber_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
cryptarium has quit [Quit: Leaving]
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
scripore has joined #ruby
DenSchub has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
ramfjord has joined #ruby
alexherbo2 has joined #ruby
baweaver has quit [Remote host closed the connection]
parduse has quit []
Guest1421 has quit [Ping timeout: 265 seconds]
nricciar has joined #ruby
scripore has quit [Client Quit]
snockerton has quit [Quit: Leaving.]
Aeyrix has quit [Ping timeout: 255 seconds]
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
<hakunin> i guess what would be ideal is if a ruby script could create a temporary/ephemeral dns server with hardcoded host => ip mappings, for the duration of the script run
pontiki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Alina-malina has quit [Ping timeout: 244 seconds]
stef204 has joined #ruby
<hakunin> with_custom_dns_resolution { # a bunch of code }
Alina-malina has joined #ruby
jenrzzz_ has quit [Ping timeout: 265 seconds]
Mohan_ has quit [Ping timeout: 265 seconds]
<eam> 10:46 < hakunin> wonder if I can hardcode dns resolution in ruby, like injecting a hosts file with higher "precedence" than /etc/hosts
_blizzy_ has joined #ruby
<eam> hakunin: the library you're interested in is libnss
<eam> nsswitch.conf configures what kind of resolution systems you're using and their precedence
chinmay_dd has quit [Remote host closed the connection]
vickleton has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> if you want to mess with it, LD_PRELOAD your own libnss
chinmay_dd has joined #ruby
<hakunin> eam: huh, thanks
mjuszczak has quit []
baweaver has joined #ruby
claw_ has quit [Ping timeout: 240 seconds]
Aeyrix has joined #ruby
claw has joined #ruby
soulcake has quit [Quit: Quack.]
pontiki has joined #ruby
soulcake has joined #ruby
lavros has quit [Ping timeout: 240 seconds]
lavros has joined #ruby
failshell has joined #ruby
devoldmx has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
orionstein is now known as orionstein_away
blaines has joined #ruby
thatslifeson has joined #ruby
towski_ has joined #ruby
magicien has quit [Ping timeout: 276 seconds]
scripore has joined #ruby
dfinninger has joined #ruby
havenwood has quit [Ping timeout: 276 seconds]
gaboesquivel has joined #ruby
mclosson has joined #ruby
bMalum has quit [Quit: bMalum]
EllisTAA has quit [Quit: EllisTAA]
axsuul has joined #ruby
gaboesquivel has quit [Remote host closed the connection]
ebbflowgo has quit [Quit: ebbflowgo]
lavros has quit [Quit: leaving]
magicien has joined #ruby
momomomomo has quit [Ping timeout: 256 seconds]
ProteusX has quit [Quit: leaving]
shuber_ has joined #ruby
e1nh4nd3r has joined #ruby
<Psi-Jack> orionstein_away: Please... Don't do that.
DEA7TH has quit [Ping timeout: 256 seconds]
Mohan has joined #ruby
treehug88 has joined #ruby
baweaver has quit [Remote host closed the connection]
Mohan is now known as Guest46451
tjbiddle has joined #ruby
aryaching has quit [Ping timeout: 258 seconds]
Narzew has joined #ruby
Papipo has quit [Remote host closed the connection]
MatthewsFace has quit [Remote host closed the connection]
Papipo has joined #ruby
kirun has joined #ruby
Papipo has quit [Remote host closed the connection]
Guest46451 has quit [Ping timeout: 246 seconds]
devoldmx has quit [Remote host closed the connection]
devoldmx has joined #ruby
Papipo has joined #ruby
Mohan_ has joined #ruby
qwertme has joined #ruby
Xiti has joined #ruby
baweaver has joined #ruby
Allenom has joined #ruby
gaboesquivel has joined #ruby
A205B064 has joined #ruby
Mohan_ has quit [Ping timeout: 256 seconds]
bennyklo2z has joined #ruby
rvchangue has quit [Quit: dead]
Mohan_ has joined #ruby
asmodlol has quit [Ping timeout: 256 seconds]
momomomomo has joined #ruby
asmodlol has joined #ruby
bennyklo2z has quit [Client Quit]
orionstein_away is now known as orionstein
paulcsmith has quit [Quit: Be back later ...]
wwwBUKOLAYcom has joined #ruby
Xiti has quit [Quit: Xiti]
qwertme_ has joined #ruby
Mohan_ has quit [Ping timeout: 252 seconds]
danman has quit [Quit: danman]
bennyklo2z has joined #ruby
jenrzzz has joined #ruby
baweaver has quit [Remote host closed the connection]
spt0 has quit [Ping timeout: 246 seconds]
joelataylor has joined #ruby
Mohan_ has joined #ruby
qwertme has quit [Ping timeout: 255 seconds]
jespada_ has quit [Ping timeout: 264 seconds]
paulcsmith has joined #ruby
gaboesquivel has quit []
momomomomo_ has joined #ruby
quimrstorres has quit [Remote host closed the connection]
MasterPiece has joined #ruby
MatthewsFace has joined #ruby
jespada_ has joined #ruby
jwinder has joined #ruby
mjuszczak has joined #ruby
hs366 has joined #ruby
momomomomo_ has quit [Client Quit]
momomomomo has quit [Ping timeout: 264 seconds]
Igorshp has joined #ruby
Mohan_ has quit [Ping timeout: 240 seconds]
thatslifeson has quit [Remote host closed the connection]
Mohan_ has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<orionstein> sorry, i'll turn it off again
danman has joined #ruby
bennyklo2z has quit [Quit: Lost terminal]
giuseppesolinas has joined #ruby
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
banister has joined #ruby
jespada_ has quit [Quit: WeeChat 1.1.1]
Mohan_ has quit [Ping timeout: 256 seconds]
nateberkopec has quit [Read error: Connection reset by peer]
hs366 has quit [Quit: Leaving]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Papipo has quit [Remote host closed the connection]
Igorshp has quit [Remote host closed the connection]
Papipo has joined #ruby
Igorshp has joined #ruby
CustosLimen has joined #ruby
<shevy> orionstein onionstein!
lidenskap has quit [Remote host closed the connection]
uri__ has joined #ruby
uri_ has quit [Ping timeout: 265 seconds]
Hijiri has joined #ruby
Mohan_ has joined #ruby
pengin has quit [Remote host closed the connection]
pdoherty has joined #ruby
<orionstein> almost onion
Igorshp has quit [Ping timeout: 256 seconds]
Papipo has quit [Ping timeout: 256 seconds]
Papipo has joined #ruby
Rollabunna has quit [Remote host closed the connection]
ghr has quit [Read error: Connection reset by peer]
Timba-as has quit [Read error: Connection reset by peer]
tuelz has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
yqt has joined #ruby
ghr has quit [Client Quit]
Papipo has quit [Remote host closed the connection]
ghr has joined #ruby
Papipo has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
blueOxigen has joined #ruby
ramfjord has joined #ruby
Mohan_ has quit [Ping timeout: 256 seconds]
bluOxigen has quit [Ping timeout: 272 seconds]
thatslifeson has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
krzkrz has quit [Quit: WeeChat 1.0.1]
konsolebox has quit [Quit: Leaving]
n008f4g_ has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
Timba-as has joined #ruby
wwwBUKOLAYcom has quit []
uri__ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
StevenXL has quit [Remote host closed the connection]
SubjectiveBias has joined #ruby
jwinder has quit [Ping timeout: 246 seconds]
CustosLimen has quit [Quit: Leaving]
pengin has joined #ruby
jenrzzz has joined #ruby
davedev2_ has quit []
Igorshp has joined #ruby
Kortes has joined #ruby
kadoppe has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
mclosson_ has joined #ruby
nobitanobi has quit []
Kortes has quit [Client Quit]
renanoronfle has joined #ruby
s2013 has joined #ruby
Kortes has joined #ruby
kadoppe has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
mclosson has quit [Ping timeout: 255 seconds]
serivichi has joined #ruby
tubuliferous_ has joined #ruby
lkba has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
ki0 has joined #ruby
That1Guy has joined #ruby
Igorshp has quit [Remote host closed the connection]
[mad] has quit [Ping timeout: 240 seconds]
slash_nick has quit [Ping timeout: 272 seconds]
Kricir has quit []
slash_nick has joined #ruby
Sawbones has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
Sawbones has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
hewenhong has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
lidenskap has joined #ruby
Hijiri has quit [Ping timeout: 272 seconds]
AlphaAtom has joined #ruby
lidenskap has quit [Remote host closed the connection]
lidenskap has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
thumpba has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
pdoherty has quit [Quit: Leaving]
iasoon has quit [Ping timeout: 265 seconds]
Leef_ has quit [Quit: Leaving]
hewenhong has quit [Ping timeout: 256 seconds]
scripore has quit [Quit: This computer has gone to sleep]
mjuszczak has quit []
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
lidenska_ has joined #ruby
lidenskap has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
davedev24_ has joined #ruby
n008f4g_ has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
qwertme_ has quit [Read error: Connection reset by peer]
wallerdev has quit [Client Quit]
mjuszczak has joined #ruby
qwertme has joined #ruby
sargas has joined #ruby
sargas has quit [Max SendQ exceeded]
sargas has joined #ruby
sargas has quit [Max SendQ exceeded]
GnuYawk has quit [Ping timeout: 256 seconds]
mjuszczak has quit [Client Quit]
slash_nick has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
tuelz has joined #ruby
[mad] has joined #ruby
giuseppesolinas has joined #ruby
<certainty> o/
mjuszczak has joined #ruby
<xxneolithicxx> does ruby have anything similar to pyenv-virtualenv ?
<certainty> what is pyenv-virtualenv?
[mad] has quit [Max SendQ exceeded]
<xxneolithicxx> pyenv is like rbenv but for python and virtualenv lets you put python modules into an isolated non-system site
Spami has quit [Quit: Leaving]
Mohan_ has joined #ruby
tuelz1 has joined #ruby
<xxneolithicxx> so i want to use a different ruby version with rbenv and also have it install gems into a non system location
<xxneolithicxx> or per user
<jhass> xxneolithicxx: bundle install --path
nanoyak has joined #ruby
<xxneolithicxx> i think i found it, rbenv-usergems, should have rtfm
_blizzy_ has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
gizmore has quit [Ping timeout: 245 seconds]
gizmore has joined #ruby
tuelz has quit [Ping timeout: 272 seconds]
RandyT has quit [Ping timeout: 245 seconds]
noonius has joined #ruby
<shevy> jhass he avoided bundler!
giuseppesolinas has quit [Quit: This computer has gone to sleep]
RandyT has joined #ruby
wallerdev has joined #ruby
<weaksauce> why avoid bundler?
<jhass> because FUD
Mohan_ has quit [Ping timeout: 276 seconds]
<weaksauce> bundler is the thing that got me away from python and the crap packaging ecosystem over there
<adaedra> gesundheit
Mohan_ has joined #ruby
<gambl0re> when you create a new class, do you always have to create a initialize method?..
<adaedra> no, it inherits of the parent one
<weaksauce> >> class Test; end; x = Test.new
<ruboto> weaksauce # => #<Test:0x40ca6148> (https://eval.in/362037)
<certainty> shevy: they're preparing for the zombie apocalypse
<shevy> yeah
kirun has quit [Quit: Client exiting]
<shevy> like in the movie "Shaun of the Dead"
<adaedra> You got red on you
<shevy> damn adaedra
<shevy> first monty python
<shevy> now another UK movie
<shevy> what kind of french are you!
<adaedra> one which appreciate british humor
<adaedra> the one coming from our best ennemies
<shevy> adaedra did you at least watch "Le fabuleux destin d'Amélie Poulain"
<adaedra> :3
<adaedra> nope.
<shevy> :(
s2013 has quit [Read error: Connection reset by peer]
Rapier- has quit [Quit: (null)]
Mohan_ has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
tejasmanohar has quit [Quit: WeeChat 1.1.1]
s2013 has joined #ruby
Notte has joined #ruby
baroquebobcat has joined #ruby
quimrsto_ has joined #ruby
<certainty> i can not even pronounce that
<gambl0re> can someone explain what i did wrong..
<certainty> gambl0re: what's the problem?
<certainty> oh i see
<gambl0re> its giving me an error message in both examples..
lxsameer has quit [Quit: Leaving]
<certainty> gambl0re: the second version should pass the name to the constructor. Person.new("frank grimes")
<certainty> and also
<certainty> you have to use the instance in the first example
<certainty> actually in both cases
<apeiros> jhass: I just learned you don't need bundler! you can use Gemfile's without.
<jhass> I know
<jhass> but I'll need bundler with 1.10 again
<apeiros> why does everybody know but me? :-(
<certainty> gambl0re: so for the first version: frank = Person.new; frank.name = "something"; frank.greeting
<jhass> and I need bundler for --deployment
<jhass> apeiros: havenwood was bragging about it here for months :P
<apeiros> shevy: nothing unordinary
<certainty> apeiros: i don't know about it
Sawbones has quit [Remote host closed the connection]
<apeiros> jhass: how did I miss that? :<
<certainty> i thought that Gemfile is a bundler thing
quimrsto_ has quit [Remote host closed the connection]
<jhass> apeiros: beats me
<apeiros> havenwood: stop bragging about stuff when I'm not around! damit!
CorySimmons has joined #ruby
<gambl0re> if i'm not including the attr_accessor in the class i need pass the argument when i create a new class object?
<jhass> maybe
frem has joined #ruby
<jhass> depends on what you're doing
snockerton has joined #ruby
<certainty> so how do you use Gemfiles without bundler?
<apeiros> certainty: hm. unexpectedly good question :D
<apeiros> tell me when you know!
<apeiros> might be automatic
<apeiros> *automagic
<adaedra> gem install -g
<adaedra> or something like that
<adaedra> i don't remember
<apeiros> that's for installing from a gemfile, yes
<apeiros> gem install --file [GEMFILE] is the long form
<apeiros> but I understood it can do the version enforcing as well.
<apeiros> and I understood it does so by default, unless some env var is set
<yxhuvud> is it possible to get something like bundle exec as well?
<certainty> that's what i was about to ask
<yxhuvud> (preferably automatic)
Sawbones has joined #ruby
mjuszczak has quit []
<certainty> ok now of course i have to ask why i wouldn't want to use bundler in the first place
<yxhuvud> it is yet another dependency. Do you need more reasons?
<adaedra> yeah, why have something managing gems while you already have gem
<certainty> yxhuvud: yes
<certainty> strangely nobody seems to have complained before.
<adaedra> .
<certainty> also with bundler i can store the credentials to access a gemserver in the bundler config.
<certainty> hmm with gem i could just throw it into the ~/.gemrc i gues
danman has quit [Quit: danman]
<adaedra> for my part, I just find it stupid to have two gems managers, that's all.
<s2013> what am i doing wrong? when ir un the code, it just exits
yalue has quit [Quit: return 0;]
mjuszczak has joined #ruby
Timba-as has quit [Quit: Be back later ...]
serivichi has quit [Ping timeout: 272 seconds]
<GaryOak_> s2013: what is the delay var you are passing to sleep?
<yxhuvud> s2013: you get an exception in the thread, which you don't catch (which is then silently supressed by ruby), and then it exits since there isn't more to do
failshell has quit [Remote host closed the connection]
lkba has joined #ruby
<certainty> adaedra: it is, if they are exchangeable for your usecase
<havenwood> yxhuvud: You can set `RUBYGEMS_GEMDEPS=-` to autodetect the Gemfile (or the new preferred gem.deps.rb) and activate those gems.
<yxhuvud> havenwood: oh, nice.
<s2013> GaryOak_ and yxhuvud so what i need to do?
EagleDelta has quit [Remote host closed the connection]
<s2013> oh
<s2013> nvm
<havenwood> yxhuvud: Or point RUBYGEMS_GEMDEPS at a specific file if you don't want autoswitching.
<s2013> now i get invalid access mode w
<toretore> invalid access mode w'
<s2013> oh
scripore has joined #ruby
<s2013> yay
<s2013> thanks
<toretore> and you're not joining the thread
<jhass> adaedra: bundler is not reimplementing rubygems, it's delegating to it and providing additional features on top
<certainty> interesting, i just read about that in the documentation
<s2013> toretore waht do you mean
<s2013> joining the thread
thomcom has quit [Quit: Textual IRC Client: www.textualapp.com]
juanpaucar has joined #ruby
<toretore> Thread#join
momomomomo has joined #ruby
workmad3 has joined #ruby
<adaedra> jhass: these features could have been in rubygems...
<jhass> but they aren't and maybe at that time getting it into it was hard
car has joined #ruby
<s2013> toretore thats for multiple threads right
multi_io has quit [Read error: Connection reset by peer]
<jhass> now the projects improved collaboration, which is why you see these new features regarding Gemfiles appearing in Rubygems
<toretore> bundler was quite the undertaking when it was conceived, it's not something rubygems would've done at the time
<jhass> and bundler will eventually delegate more of what it does to these new features in rubygems
<jhass> let me find t he blogpost
<yxhuvud> toretore: yeah, bundler was a godsend when it was release. The time before that was pretty horrible.
<toretore> s2013: your main thread will exit and take the other one with it unless you make it wait
<toretore> hm, i still don't really use bundler
<s2013> k im still a bit confused.. let me update my code
<toretore> if you have lots of gems i guess it's valuable
cmckee has joined #ruby
cmckee has quit [Max SendQ exceeded]
<toretore> in one project
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<s2013> this is my code now
cmckee has joined #ruby
<toretore> s2013: still no join
<s2013> yeah im confused wehre i put the join
mjuszczak has quit []
<toretore> you need to read up on how threads work
baweaver has joined #ruby
rvchangue has joined #ruby
davedev2_ has joined #ruby
<adaedra> jhass: I just find the current situation a bit silly. It's personal, and I coped with it for the time being, though. However, it's nice to see that they are going forward to unify things with rubygems.
<yxhuvud> toretore: yes, but that description fits every rails project. trying to figure out what set of gems an app needed was less than fun.
axsuul has joined #ruby
davedev24_ has quit [Ping timeout: 256 seconds]
scripore has quit [Quit: This computer has gone to sleep]
<toretore> yxhuvud: oh yeah, for rails i do use it as it is there by default..
<toretore> as a sort of manifest it's valuable
shuber_ has quit [Remote host closed the connection]
multi_io has joined #ruby
shuber_ has joined #ruby
<s2013> k got it thanks
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leafybas_ has joined #ruby
<toretore> k
thatslifeson has quit [Remote host closed the connection]
davedev2_ has quit [Client Quit]
davedev24_ has joined #ruby
thatslifeson has joined #ruby
pontiki has quit [Quit: Textual IRC Client: www.textualapp.com]
thatslifeson has quit [Remote host closed the connection]
thatslifeson has joined #ruby
TuxOtaku_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cmckee has quit [Quit: Leaving]
gambl0re has quit [Ping timeout: 255 seconds]
<musty> k
JDiPierro has quit [Remote host closed the connection]
leafybasil has quit [Ping timeout: 244 seconds]
<havenwood> jhass: Bundler is dead, long live RubyGems! \o/
<havenwood> jhass: Right, right... rumors.
danman has joined #ruby
neanderslob has joined #ruby
<havenwood> But the subset of Bundler features that I use is working great in RubyGems already. Good stuff.
CorySimmons has quit [Quit: Bye!]
leafybas_ has quit [Ping timeout: 272 seconds]
cmckee has joined #ruby
<adaedra> Mmh, rust release, should look at that too.
Sawbones has quit [Remote host closed the connection]
tuelz1 has quit [Ping timeout: 265 seconds]
iasoon has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
bmurt has quit []
<havenwood> adaedra: 1.0?
<adaedra> yeah
<havenwood> Ah, nice.
shuber_ has quit [Remote host closed the connection]
bkxd has joined #ruby
juanpablo_ has quit [Quit: (null)]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zzxc has quit [Ping timeout: 250 seconds]
gaboesquivel has joined #ruby
doodlehaus has joined #ruby
hoov has quit []
mistermocha has quit [Read error: Connection reset by peer]
tier has quit []
mistermocha has joined #ruby
baweaver has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
mistermocha has quit [Ping timeout: 240 seconds]
aspiers has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 265 seconds]
GaryOak_ has joined #ruby
tuelz1 has joined #ruby
troyready has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
rbennacer has quit [Ping timeout: 244 seconds]
Rollabunna has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Blaguvest has quit [Remote host closed the connection]
swgillespie has joined #ruby
powder has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 255 seconds]
momomomomo has quit [Quit: momomomomo]
blueOxigen has quit [Ping timeout: 258 seconds]
powder has joined #ruby
juanpablo_ has joined #ruby
doodlehaus has joined #ruby
DeBot has quit [Quit: Crystal]
Rollabunna has quit [Ping timeout: 245 seconds]
DeBot has joined #ruby
deric_skibotn has quit [Ping timeout: 272 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Porfa has quit [Ping timeout: 244 seconds]
jerius has quit [Quit: /quit]
deric_skibotn has joined #ruby
Porfa has joined #ruby
FernandoBasso has joined #ruby
gaboesquivel has quit []
juanpablo_ has quit [Ping timeout: 272 seconds]
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
shuber_ has joined #ruby
Oka has quit [Quit: さようなら]
doodlehaus has quit [Remote host closed the connection]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> damn
RegulationD has quit [Ping timeout: 264 seconds]
<shevy> File.readlines has :encoding => 'ascii-8bit'
<shevy> YAML.load_file() does not
<shevy> which makes sense, as only UTF-8 and UTF-16 would be valid I assume
<shevy> but that limits me
baweaver has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
Musashi007 has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
mclosson_ has quit [Quit: leaving]
io_syl has joined #ruby
phutchins has joined #ruby
haylon has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<haylon> Hello #ruby. I seem to be running into an issue with URI and MiniTest. I can run my Gem by hand, and the gem executes and shows my HTTP Response code. However, MiniTest causes URI to say that the same URL that was copied and pasted is not a valid URL. Is there some funky gotchya with MiniTest that I'm not aware of?
renanoronfle has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<haylon> Then if I encode the URL, then URI says that gsub is not a known method
doodlehaus has joined #ruby
shock_one has joined #ruby
codecop has quit [Remote host closed the connection]
disKounted has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
leafybasil has joined #ruby
paulcsmith has quit [Quit: Lingo: www.lingoirc.com]
failshell has joined #ruby
sinkensabe has joined #ruby
gambl0re has joined #ruby
unshadow has quit [Ping timeout: 272 seconds]
unshadow has joined #ruby
failshell has quit [Ping timeout: 264 seconds]
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
<apeiros> shevy: there are ways to have binary data in yaml. just not literally.
<GaryOak_> haylon: paste your test code, it could be an 'require' issue
<apeiros> shevy: one way is \xHH escapes. I think it also has a way to put in data in base64.
Kortes has quit []
AntKnee has joined #ruby
<shevy> hmm
sinkensabe has quit [Remote host closed the connection]
<haylon> I have to make it use a config file to get the hardcoded credentials before I post the whole source code
workmad3 has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby
dfinninger has quit [Remote host closed the connection]
CamonZ has quit [Quit: Textual IRC Client: www.textualapp.com]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<cyrus_mc> is there a way I can statically set the RUBYLIB for all scripts that are executed (a global rubylib setting)?
doodlehaus has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fraya_ has joined #ruby
avat has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
bkxd has quit [Ping timeout: 245 seconds]
b0t00 has joined #ruby
<GaryOak_> haylon: my first thought is that @url/@ip_address in the body are not what you are expecting
DeBot has quit [Quit: Crystal]
DeBot has joined #ruby
haylon_ has joined #ruby
bkxd has joined #ruby
swgillespie has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
decoponio has quit [Read error: Connection reset by peer]
qwertme has joined #ruby
decoponio has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest55493
avat has left #ruby [#ruby]
jenrzzz has joined #ruby
baweaver has quit [Remote host closed the connection]
danman has quit [Quit: danman]
fraya_ has quit [Quit: Leaving]
b0t00 has quit [Quit: Leaving]
car has quit [Ping timeout: 256 seconds]
<shevy> ruby is a 90% perfect language
<shevy> I deduct 3% because of the documentation
<shevy> 3% because of complexity
dorei has joined #ruby
Guest55493 has quit [Ping timeout: 245 seconds]
wolfleemeta__ has joined #ruby
wolfleemeta_ has quit [Read error: Connection reset by peer]
asmodlol has quit [Ping timeout: 256 seconds]
bkxd has quit [Ping timeout: 256 seconds]
<apeiros> IMO more around 60%. still quite a lot better than most.
dru has quit [Ping timeout: 255 seconds]
<apeiros> and I think 100% is impossible :)
axl_ has quit [Quit: axl_]
ebbflowgo has joined #ruby
<weaksauce> >> puts "ha " * 3
<ruboto> weaksauce # => ha ha ha ...check link for more (https://eval.in/362239)
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
asmodlol has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
bkxd has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
iamninja has joined #ruby
edwinvdgraaf has joined #ruby
jph98 has joined #ruby
bfrantz has joined #ruby
nanoyak has quit []
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<weaksauce> shevy what's wrong with the docs in your opinion?
<shevy> weaksauce I found many of them substandard english, incomplete or useless
Mohan_ has joined #ruby
<bfrantz> hi. im trying to install ruby headers/libs on rhel7.1. on rhel6.6 i could just yum install ruby-devel. that option seems have left in rhel7. anyone know if their is a package on rhel7 that provides what ruby-devel did? any other pointers welcome :)
<weaksauce> shevy main docs or gems?
workmad3 has quit [Ping timeout: 256 seconds]
<shevy> weaksauce nah, gems are even worse but that's not the responsibility of the core team, gem authors are responsible for the docu of their gems
ghr has joined #ruby
baweaver has joined #ruby
<shevy> after reading this, do you know what this class does?
<shevy> ok, module rather
<weaksauce> well based on the name yeah.
<weaksauce> but I agree it's poorly written and assumes background knowledge
bfrantz has left #ruby [#ruby]
<shevy> I guess this is partially to be blamed on rdoc
asmodlol has quit [Ping timeout: 255 seconds]
rgb-one has joined #ruby
<shevy> there seem to be no links to "what is a mutex -> follow link here"
shuber_ has quit [Remote host closed the connection]
momomomomo has joined #ruby
Mohan_ has quit [Ping timeout: 244 seconds]
<rgb-one> Mutex stands for mutual exclusion. Has something to do with Inter Process Communication
juanpablo_ has joined #ruby
<weaksauce> slightly better docs for the class version of a mutex
asmodlol has joined #ruby
<GaryOak_> how do I include a variable in a regex?
<weaksauce> rgb-one yeah. I think shevy knew that already.
<weaksauce> rgb-one it was just an example of bad docs
mary5030 has quit [Remote host closed the connection]
<weaksauce> GaryOak_ #{var_name}
<GaryOak_> oh beautiful ruby
iasoon has quit [Ping timeout: 272 seconds]
mary5030 has joined #ruby
<shevy> :>
<GaryOak_> thanks weaksauce
<weaksauce> not sure how much mileage you can get out of that though GaryOak_ probably limited to strings literals.
shock_one has quit [Remote host closed the connection]
juanpablo__ has joined #ruby
<weaksauce> actually regex objects seem to work as well.
shock_one has joined #ruby
speakingcode has quit [Ping timeout: 250 seconds]
juanpablo_ has quit [Ping timeout: 255 seconds]
<GaryOak_> you can pass a regex into a regex?
<jhass> yup
<GaryOak_> snappy!!
<weaksauce> >> "lets test it" =~ /#{/[s]/}/
<ruboto> weaksauce # => 3 (https://eval.in/362270)
<jhass> also see Regexp.union to turn something array-ish into a regex
ebbflowgo has quit [Quit: ebbflowgo]
<jhass> >> Regexp.union('a', 'b')
<ruboto> jhass # => /a|b/ (https://eval.in/362271)
<weaksauce> that's neat jhass
mary5030 has quit [Ping timeout: 265 seconds]
<jhass> yup, .gsub(Regexp.union(hash.keys), hash) is one of my more favorite idioms
mrsolo has joined #ruby
<jhass> and /#{}/ takes any expression too, it's basically /#{Regexp.new((expr).to_s))/
<jhass> +}
blackmesa has joined #ruby
shock_one has quit [Ping timeout: 240 seconds]
Sawbones has joined #ruby
nfk has quit [Quit: yawn]
vickleton has quit [Ping timeout: 256 seconds]
pietr0 has quit [Quit: pietr0]
Narzew has quit [Ping timeout: 272 seconds]
bogdanteleaga has quit [Ping timeout: 272 seconds]
ferr1 has joined #ruby
<weaksauce> ok that gsub is magic.
alexander has joined #ruby
<dudedudeman> ur magik
<shevy> the dude woke up
<weaksauce> ruby might just be magic
alexander has quit [Client Quit]
* dudedudeman yawns
DynamicMetaFlow has joined #ruby
<dudedudeman> waking up, and leaving hte office
<weaksauce> shevy: http://documenting-ruby.org/
duncannz has joined #ruby
woodruffw has quit [Ping timeout: 256 seconds]
<dudedudeman> showed me code mentor some stuff today at work and he loved it. it was encouraging
<shevy> cool
Jarboe has quit [Ping timeout: 272 seconds]
<shevy> is that an alternative system to rdoc weaksauce?
<weaksauce> that's a call to action for all of us to help out documenting ruby ;)
_blizzy_ has joined #ruby
<shevy> ah well
jottr has joined #ruby
<shevy> how do the python guys do document their stuff?
ebbflowgo has joined #ruby
djbkd has joined #ruby
<weaksauce> well python is less dynamic than ruby is and there is generally "one true way" to do things
thomcom has joined #ruby
icebourg has quit []
<GaryOak_> ugh python docs are a travesty
Kortes has joined #ruby
<GaryOak_> The official docs are weirdly topic based
DynamicMetaFlow has quit [Client Quit]
DynamicMetaFlow has joined #ruby
shuber_ has joined #ruby
scripore has joined #ruby
zotherstupidguy has quit [Ping timeout: 264 seconds]
bogdanteleaga has joined #ruby
Jarboe has joined #ruby
<shevy> well yeah
zotherstupidguy has joined #ruby
<shevy> a bit like a poem
<shevy> written by a dictator
<shevy> it has the flow, but not the beauty
<shevy> whereas in ruby, someone like the dudedudeman was always thinking "I'm gonna write up some docu ... but not today, today I will enjoy the sunshine"
DynamicMetaFlow has quit [Remote host closed the connection]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dudedudeman> yes. yes please. sunshine
<shevy> hahaha
<dudedudeman> or, hell, why not even docs in sunshine
jottr has quit [Ping timeout: 256 seconds]
shazaum has quit [Quit: This computer has gone to sleep]
<dudedudeman> ah, we're comparing documents. i like to think of rappers. ruby docs are something like eminem, with clever flow and syntax. python docs are as if lil' wayne tried to rap with a cat clawing at his tonsils
Musashi007 has quit [Quit: Musashi007]
<shevy> I hate eminem
<shevy> I like cats though
<shevy> can we settle for a cat-rapper?
jottr has joined #ruby
<shevy> DJ Mike the cat
<dudedudeman> garfield, that cattiest rapper of them all
<shevy> oh wait... a DJ is not a rapper...
<dudedudeman> DJ mike the cat.
<dudedudeman> YOU ARE RIGHT
<shevy> I wasn't thinking!
<shevy> a rapper is like a MC right?
<shevy> those rhetoric battles
<shevy> hmm
Narzew has joined #ruby
<shevy> Eric B. and Rakim
Narzew_ has joined #ruby
<dudedudeman> i like to think of the great rap power duo, bob and tony
<dudedudeman> may they rest in peace
<shevy> Thinking how could I get some dead presidents
<shevy> I need money, I used to be a stick-up kid.
<shevy> don't know them
car has joined #ruby
Igorshp has joined #ruby
<shevy> though I am a child of the 80s and 90s
<dudedudeman> they don't exist. lol. i don't know any rap music really.
<shevy> ok good!
<shevy> that's right
<shevy> you are the dude
<shevy> you must know bongo ganja music
Narzew_ has quit [Client Quit]
failshell has joined #ruby
<dudedudeman> i know a bit of ganja music, but not because of ganja usage of my own. i used to FOH for tours, so you see a lot of things when yo udo that...
<GaryOak_> I listen to the funky dub at work
DynamicMetaFlow has joined #ruby
<dudedudeman> like, good old dubstep?
rgb-one has quit [Remote host closed the connection]
<GaryOak_> good old dub
<dudedudeman> have you checked out seven lions?
<GaryOak_> this better not be swedish dubstep!
edwinvdgraaf has quit [Remote host closed the connection]
<dudedudeman> no, he's american!
<GaryOak_> :|
<dudedudeman> am i allowed to post a link here?
<dudedudeman> i think he's american...
<GaryOak_> major lazer, now that's where it's at
Igorshp has quit [Ping timeout: 264 seconds]
JDiPierro has joined #ruby
bfrantz_ has joined #ruby
bronson has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
juanpablo__ has quit [Read error: Connection reset by peer]
bfrantz_ has left #ruby [#ruby]
<shevy> funky dub? hmm
<shevy> I liked that old thing... "soul train"
<shevy> the dudes there were doing crazy ass moves
Guest1421 has joined #ruby
<shevy> my physical entity can no longer perform those basic moves :(
bayed has quit [Quit: Connection closed for inactivity]
failshell has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
Papipo has quit [Remote host closed the connection]
Papipo has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest30573
thatslifeson has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 245 seconds]
Guest1421 has quit [Ping timeout: 264 seconds]
sinkensabe has joined #ruby
baweaver has quit [Remote host closed the connection]
deric_skibotn has quit [Ping timeout: 252 seconds]
s2013 has joined #ruby
dfinninger has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
momomomomo has joined #ruby
dfinninger has quit [Remote host closed the connection]
Notte has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
kenndel has joined #ruby
Spami has joined #ruby
Guest30573 has quit [Ping timeout: 256 seconds]
Spami has quit [Changing host]
Spami has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
snockerton has quit [Quit: Leaving.]
Guest1421 has joined #ruby
Mohan_ has joined #ruby
MasterPiece has quit [Quit: Leaving]
io_syl has quit []
jottr has joined #ruby
blaines has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1.1]
JDiPierro has quit [Remote host closed the connection]
<Kortes> test
<Kortes> FINALLY!
asmodlol has quit [Ping timeout: 244 seconds]
lthomas has quit [Quit: lthomas]
ebbflowgo has joined #ruby
<xxneolithicxx> irc problems
<xxneolithicxx> lol
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
Pupeno has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
asmodlol has joined #ruby
lthomas has joined #ruby
<Kortes> x_x yep
lthomas has quit [Client Quit]
diegoviola has joined #ruby
ferr1 has quit [Quit: WeeChat 1.1.1]
Sawbones has quit [Remote host closed the connection]
lthomas has joined #ruby
lthomas has quit [Client Quit]
Mohan_ has quit [Ping timeout: 256 seconds]
nii236 has joined #ruby
noonius has quit [Quit: noonius]
devoldmx has quit [Ping timeout: 258 seconds]
Kortes has quit []
Mohan_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
noonius has joined #ruby
djbkd has quit [Remote host closed the connection]
DynamicMetaFlow has quit [Quit: Leaving]
Rollabunna has joined #ruby
nii236 has quit [Ping timeout: 265 seconds]
jph98 has quit [Quit: jph98]
duderonomy has joined #ruby
noonius has quit [Quit: noonius]
Rollabunna has quit [Ping timeout: 244 seconds]
pengin has quit [Remote host closed the connection]
phizzbuzz has joined #ruby
olleolleolle has joined #ruby
cnk_ has joined #ruby
P1RATEZ has quit []
lthomas has joined #ruby
olleolleolle has left #ruby [#ruby]
zzxc has joined #ruby
shock_one has joined #ruby
cnk_ has quit [Client Quit]
cnk_ has joined #ruby
Hijiri has joined #ruby
deric_skibotn has joined #ruby
hewenhong has joined #ruby
cnk_ has quit [Client Quit]
shock_one has quit [Ping timeout: 264 seconds]
casadei has quit [Remote host closed the connection]
baweaver has joined #ruby
Mohan_ has quit [Ping timeout: 276 seconds]
hewenhong has quit [Ping timeout: 264 seconds]
momomomomo_ has joined #ruby
baweaver has quit [Remote host closed the connection]
Mohan_ has joined #ruby
Zai00 has quit [Quit: Zai00]
bb010g has joined #ruby
momomomomo has quit [Ping timeout: 264 seconds]
momomomomo_ is now known as momomomomo
<haylon> GaryOak_ I'm not sure why, because I did it without the URI.encode(uri) bit, and hten with it, and I get the bad URI, or gsub is NoMethodError
Mohan_ has quit [Ping timeout: 264 seconds]
redlegion has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
idafyaid is now known as bebonu
mrsolo has joined #ruby
mengu has quit [Remote host closed the connection]
cnk_ has joined #ruby
baweaver has joined #ruby
joelataylor has quit [Quit: Be back later ...]
joelataylor has joined #ruby
Mohan_ has joined #ruby
MatthewsFace has quit [Ping timeout: 256 seconds]
baweaver has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 256 seconds]
ascarter has joined #ruby
weemsledeux has joined #ruby
joelataylor has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
ascarter has quit [Max SendQ exceeded]
hololeap has joined #ruby
cnk_ has quit [Quit: Leaving]
ascarter has joined #ruby
endash has quit [Quit: endash]
<hololeap> does anyone know of a gem that provides an object like Queue, but has a redis backend? i looked at resque and it seems to be more for background jobs. i need the same functionality as Queue
troulouliou_dev has quit [Quit: Leaving]
failshell has joined #ruby
Mohan_ has quit [Ping timeout: 250 seconds]
phizzbuzz has quit [Ping timeout: 256 seconds]
umgrosscol has quit [Quit: Quit]
Mohan has joined #ruby
Mohan is now known as Guest82598