<henrikhodne>
How do I split a string, but preserve the delimiter? Say I want to split "This is a sentence", and I want to end up with ["This", " ", "is", " ", "a", " ", "sentence"].
<havenn>
henrikhodne: 'i iz string
<cirwin>
.split(/( )/)
<havenn>
^
<havenn>
henrikhodne: 'i iz string'.split ''
<henrikhodne>
Thank you :)
havenn has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
ryanf_ has joined #ruby-lang
rohit has joined #ruby-lang
andrew__ has joined #ruby-lang
jnoon has joined #ruby-lang
mytrile has joined #ruby-lang
andrew__ is now known as andrewhl
waffleau has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
CaptainJet has quit []
ejholmes has quit [Quit: ejholmes]
jsilver has joined #ruby-lang
ejholmes has joined #ruby-lang
ryanf_ has quit [Quit: broken pipes |||]
ryanf_ has joined #ruby-lang
nerd has quit [Quit: WeeChat 0.3.9.2]
Weems has quit [Read error: Connection reset by peer]
briantrust has quit [Remote host closed the connection]
mytrile has quit [Remote host closed the connection]
briantrust has joined #ruby-lang
waffleau has quit [Quit: waffleau]
ryanf_ has quit [Quit: broken pipes |||]
tenderlove has joined #ruby-lang
sush24_ has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
mytrile has joined #ruby-lang
gmci_ has quit [Quit: Computer has gone to sleep.]
sush24_ has quit [Ping timeout: 255 seconds]
rohit has quit [Quit: Leaving]
gsav has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
alpha123 has quit [Quit: alpha123]
WillMarshall has joined #ruby-lang
tenderlove has quit [Ping timeout: 264 seconds]
mjio has quit []
cantonic_ has joined #ruby-lang
cantonic has quit [Ping timeout: 250 seconds]
cantonic_ is now known as cantonic
dankest is now known as dankest|away
gaveen has quit [Quit: leaving]
burgestrand has joined #ruby-lang
dankest|away is now known as dankest
WillMarshall has quit [Read error: Connection reset by peer]
WillMarshall has joined #ruby-lang
mytrile has quit [Read error: Connection reset by peer]
mytrile has joined #ruby-lang
kain_ has joined #ruby-lang
kain has quit [Read error: Connection reset by peer]
banisterfiend has quit [Ping timeout: 240 seconds]
sush24_ has joined #ruby-lang
banisterfiend has joined #ruby-lang
tenderlove has joined #ruby-lang
Guest58472 has joined #ruby-lang
tdy_ has joined #ruby-lang
amaya_the has joined #ruby-lang
tdy has quit [Ping timeout: 240 seconds]
dankest is now known as dankest|away
WillMarshall has quit [Quit: Computer has gone to sleep.]
rippa has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
micaeked has joined #ruby-lang
dankest|away is now known as dankest
charlies_ has joined #ruby-lang
charliesome has quit [Disconnected by services]
charlies_ is now known as charliesome
amaya_the_ has joined #ruby-lang
amaya_the has quit [Ping timeout: 255 seconds]
mercwithamouth has quit [Ping timeout: 252 seconds]
mytrile has quit [Remote host closed the connection]
WillMarshall has joined #ruby-lang
sush24_ has quit [Quit: This computer has gone to sleep]
WillMarshall has quit [Client Quit]
tjadc has joined #ruby-lang
sush24_ has joined #ruby-lang
WillMarshall has joined #ruby-lang
waffleau has joined #ruby-lang
sush24_ has quit [Client Quit]
voker57 has quit [Read error: Connection reset by peer]
WillMarshall has quit [Client Quit]
amaya_the_ has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232]]
amaya_the has joined #ruby-lang
solars has joined #ruby-lang
WillMarshall has joined #ruby-lang
WillMarshall has quit [Client Quit]
chickenflu has joined #ruby-lang
Bosox20051 has quit [Quit: Leaving]
waffleau_ has joined #ruby-lang
waffleau has quit [Ping timeout: 264 seconds]
chickenflu has left #ruby-lang [#ruby-lang]
wallerdev has quit [Quit: wallerdev]
Axsuul has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby-lang
sush24_ has joined #ruby-lang
Guest58472 has quit [Read error: Connection reset by peer]
<banisterfiend>
charliesome: did you also look at rack-webconsole-pry ?
<charliesome>
nope but i will
<judofyr>
charliesome: the general pattern is: f = Fiber.new { … }; f.resume. then whenever you need an async call, you do: f = Fiber.current; async { |val| f.resume(val) }; Fiber.yield
<banisterfiend>
charliesome: btw, were u aware of pry-rescue/pry-exception_explorer? they do pretty much the same thing, but without the web interface
<judofyr>
charliesome: Fiber.yield will block and finally return `val` when the async is called.
<charliesome>
banisterfiend: only vaguely
<charliesome>
judofyr: oh cool
<judofyr>
charliesome: I'm not sure how good the server support is though. you might block WEBrick in development…
<charliesome>
that's no good if that happens
<charliesome>
actually
<charliesome>
i'll hack something up
<charliesome>
and see if it works
<banisterfiend>
charliesome: though pry-rescue uses a different approach, i.e depending on a C hook rather than a monkeypatch to Exception, but pry-exception_explorer monkeypatches Exception.exception and also teh 'raise' method directly (so it can save a continuation when recovering from errors)
<banisterfiend>
to recover from*
<judofyr>
I didn't get anything done this weekend because I thought about distributed databases :(
<judofyr>
damn CAP theorem
brunocoelho has joined #ruby-lang
arquebus has joined #ruby-lang
waffleau has left #ruby-lang [#ruby-lang]
brunocoelho has quit [Remote host closed the connection]
<charliesome>
banisterfiend: the hello world welcome to pry here's where you are thing
<charliesome>
@pry.hooks.clear_all fixed it
<banisterfiend>
Ah
<charliesome>
banisterfiend: also I have my Output object returning false for tty? - shouldn't that disable colour automatically?
<charliesome>
other programs disable their color when not running under a tty
<banisterfiend>
Charliesome probably, the output/input system is about to be refactored to make more sense
<charliesome>
banisterfiend: also, can you expose a config option per Pry instance to disable colour, rather than having it be disabled or enabled globally?
<charliesome>
oh cool
<banisterfiend>
Charliesome we can do that, but not possible currently
<banisterfiend>
File issues for features you want and we'll put them in for next release, which is soon
<charliesome>
sure
<charliesome>
pry is phenomenal by the way
<charliesome>
it's seriously good
arquebus has joined #ruby-lang
<banisterfiend>
Hehe thx
<charliesome>
i might just save the old value of Pry.config.color, set it to false, and restore the old value
<banisterfiend>
Gotta go thiy s library is on fire or something, alarms going off
<workmad3>
woo!
<charliesome>
lmao
dc5ala has quit [Quit: Ex-Chat]
<workmad3>
are people running and screaming?
<workmad3>
if not, you probably have time, or it's a drill...
s1n4 has joined #ruby-lang
arquebus has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
klaut_ has quit [Remote host closed the connection]
shtirlic has joined #ruby-lang
carloslopes has joined #ruby-lang
<andrewvos>
Yes listen to a random person on the internet.
<judofyr>
andrewvos: he's not random. he's workmad3 :)
<andrewvos>
judofyr: I would sooner take advice from workmad2!
leopard_me has joined #ruby-lang
<workmad3>
andrewvos: so, just to check... your advice is to not listen to a random person on the internet... and this is coming from a random person on the internet...
<workmad3>
andrewvos: so if I listen to your advice, your advice is to not listen to your advice...
<andrewvos>
workmad3: I guess
<oddmunds>
goes to show you can't trust people on the internet
jammi has quit [Ping timeout: 244 seconds]
<workmad3>
andrewvos: or is your advice actually quantum? so I should both listen to and not listen to it at the same time, until something collapses the advice super-position and forces me to either listen or not listen to it under observation? :)
jammi has joined #ruby-lang
<andrewvos>
workmad3: My advice is only valid when it is being observed.
<tockitj_>
its not about it.. some newlines are missing (paragraphs are merged)
<tockitj_>
maybe there is integration with w3m -- Japanese text browser ?
<injekt>
I doubt nokogiri has much control over whitespace handling
<tockitj_>
i think that html rendering is much more complex than what nokogiri has to offer
ejholmes has quit [Quit: ejholmes]
srbaker has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
<whitequark>
tockitj_: render it manually?
mindbender1 has joined #ruby-lang
<whitequark>
it's not that hard
jtoy has quit [Quit: jtoy]
sush24_ has joined #ruby-lang
<workmad3>
tockitj_: just strip out all the html tags
<workmad3>
tockitj_: and you're right, the actual rendering of html is much more complex than what nokogiri offers... nokogiri provides html parsing and the construction of a DOM, which is what you could then build a renderer on top of
blazes816 has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
<tockitj_>
workmad3, it doesn't seem like a simple task
tenderlove has joined #ruby-lang
<tockitj_>
whitequark, are you kidding ?
<workmad3>
tockitj_: if you just want the text from a HTML document, with whitespace preserved, you could do - '.gsub(/<[^\>]+>/, "")
jtoy has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
skoodge has joined #ruby-lang
<tockitj_>
workmad3, i don't want text.. i want text *with* layout that browser would present
<workmad3>
tockitj_: why not just use lynx?
<tockitj_>
that is one option.. but it would be nice to solve it within same process (also gem dependencies are easier to handle later on)
<micaeked>
tockitj_: have you tried any of the "headless browser" gems, like webrat?
<tockitj_>
no! :D
gaveen has joined #ruby-lang
<workmad3>
tockitj_: what is it you actually want to do though?
dlackty has joined #ruby-lang
<tockitj_>
micaeked, looks good - will give it a shoot in a minute
sn0wb1rd has quit [Quit: sn0wb1rd]
<tockitj_>
workmad3, you don't want to know (:
<workmad3>
tockitj_: no, I probably don't, given what you're asking :P
<tockitj_>
just trust me (:
mindbender1 has quit [Ping timeout: 252 seconds]
<tockitj_>
micaeked, are there any other alternatives besides webrat ?
<whitequark>
tockitj_: ah, layout
<micaeked>
tockitj_: do you happen to be on jruby? there's celerity
<whitequark>
line breaks are a different thing than the complete layout
<whitequark>
tockitj_: I thought you only wanted to preserve <pre> / <br>'s.
<tockitj_>
micaeked, yes i'm using jruby (:
skoodge has quit [Quit: Page closed]
krohrbaugh has joined #ruby-lang
sush24_ has quit [Quit: This computer has gone to sleep]
<tockitj_>
micaeked, how to get them to render (:
<workmad3>
tockitj_: the 'headless browser' type things like webrat, mechanize and capybara don't tend to do layout
<workmad3>
tockitj_: because you tend to use them to automate things like testing, so complex HTML rendering (which is quite involved and convoluted, especially if you're wanting to take CSS into consideration) doesn't occur on non-user-visible data
Technodrome has joined #ruby-lang
<Technodrome>
quick question, mac lion here, what is the best way to get the newest ruby on here so i can do some classic rails dev
gsav__ has joined #ruby-lang
gsav___ has joined #ruby-lang
<darix>
Technodrome: installing a linux like opensuse is not a viabe option i guess?
AlHafoudh has quit [Quit: Computer has gone to sleep.]
<whitequark>
workmad3, tockitj_: afaik text browsers don't really take css into consideration either
jtoy has quit [Quit: jtoy]
<whitequark>
simply because there isn't much sense to apply css to the text rendering, except for a very few cases
<workmad3>
whitequark: they might take display: none into consideration, and some other limited bits
sush24_ has joined #ruby-lang
<whitequark>
workmad3: well, technically yes, but iirc lynx does not do that
<Technodrome>
darix: you think that would be a pleasurable experience on a macbook retina?
<tockitj_>
lynx does good on my tests
<darix>
Technodrome: didnt have a chance to test that yet.
<Technodrome>
from icons to even themes if the themes are graphic heavy and not saved in the highest rest
<Technodrome>
same with windows
<Technodrome>
on the mac hi res, really is hi res, everything on the base os has been upgraded
briantru_ has quit [Remote host closed the connection]
Assurbanipal has quit [Quit: Konversation terminated!]
ryanlecompte has joined #ruby-lang
<whitequark>
Technodrome: KDE is all SVG
cirwin has joined #ruby-lang
<Technodrome>
i was thinking xfce
<Technodrome>
but yeah if kde is all svg, then shes good to go
<whitequark>
yeah, I'm using a custom desktop environment based on KDE (except for plasma 'cause I dislike stupid glossy transparent widgets)
<whitequark>
actually if you tick a checkbox which forces gtk to behave nicely in kde settings, other apps respect the DPI just as well :)
<whitequark>
pidgin, etc.
<whitequark>
the main problem is chrome, which doesn't natively support high dpi, but setting default scaling to 125% somewhat alleviates that problem
sn0wb1rd has joined #ruby-lang
havenn has quit [Remote host closed the connection]
<Technodrome>
whitequark: picture viewers , etc , i'm sure many apps have to be updated
<Technodrome>
i do have a soft spot for kde
<whitequark>
Technodrome: just try it and decide if it's worth your time
<Technodrome>
but again, i'm on a macbook retina, truly beautiful machine, it deserves to run a flawless experience
<Technodrome>
photoshop with retina fixes should be coming tomorrow
<Technodrome>
w0000t
<whitequark>
having to set everything up for ~2 days and then forget about everything was worth it for me
<Technodrome>
even bootcamp makes me nervous
<Technodrome>
can't switch to intel graphics
<Technodrome>
mouse speed + just the feeling of the mouse is much different
<Technodrome>
also, i don't get the most wonderful 2 finger scrolling ever made, and that truly is a deal breaker on a laptop ….like i said though , i still <3 kde
cirwin has quit [Ping timeout: 248 seconds]
lrz has joined #ruby-lang
headius has joined #ruby-lang
xalei has quit [Remote host closed the connection]
ioga_wrk has quit [Ping timeout: 264 seconds]
<whitequark>
Technodrome: (2 finger scrolling) that's very strange
<Technodrome>
what do you mean?
WillMarshall has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
<whitequark>
multitouch gestures work for years on touchpads
<whitequark>
never had problems with that
ioga_wrk has joined #ruby-lang
<Technodrome>
i speak for all mac users when i say , two finger scrolling is the saving grace on osx for a good experience
<Technodrome>
i've tried all the windows and linux alternatives of it
<Technodrome>
even on osx, safari is the only thing that gives the butter butter smooth performance of it
<Technodrome>
chrome has gotten better though
<whitequark>
I've used OS X and I don't really understand what are you talking about tbh
<workmad3>
Technodrome: you don't speak for me
riffraff has quit [Quit: Leaving]
lrz has left #ruby-lang [#ruby-lang]
sepp2k has quit [Remote host closed the connection]
<workmad3>
mac os x multitouch is reasonably good, sure, but it's not unique to OS X, and it's not orders of magnitude better than the alternative OS implementations
havenn has joined #ruby-lang
lrz has joined #ruby-lang
Aiur has joined #ruby-lang
AlHafoudh has joined #ruby-lang
AlHafoudh has quit [Max SendQ exceeded]
<Technodrome>
workmad3: should me one implementation
<Technodrome>
i'm not biased at all, i purely go of what i see
AlHafoudh has joined #ruby-lang
AlHafoudh has quit [Max SendQ exceeded]
<Technodrome>
the synaptics drivers in windows are horrible for 2 finger scroll people have made a few alternate ones, but they still are nowhere near as fluid because windows apps are not made with it in mind
AlHafoudh has joined #ruby-lang
AlHafoudh has quit [Max SendQ exceeded]
AlHafoudh has joined #ruby-lang
AlHafoudh has quit [Max SendQ exceeded]
<Technodrome>
whitequark: the 2 finger inertia scrolling is done very well in the OS, i have yet to see a smooth alternative
AlHafoudh has joined #ruby-lang
mrsolo has joined #ruby-lang
<Technodrome>
it was pretty monumental when it came out in lion
<Technodrome>
err
<Technodrome>
tiger
joevandyk has quit [Quit: joevandyk]
ryanf has quit [Quit: leaving]
ddfreyne has quit [Excess Flood]
ddfreyne has joined #ruby-lang
<zzak>
workmad3++
lcdhoffman has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
ejholmes has joined #ruby-lang
Aiur has quit [Quit: Computer has gone to sleep.]
lcdhoffman has quit [Quit: lcdhoffman]
Aiur has joined #ruby-lang
skoodge has quit [Quit: Page closed]
headius has quit [Quit: headius]
wyhaines has quit [Remote host closed the connection]
cirwin has joined #ruby-lang
vlad_starkov has joined #ruby-lang
jtoy has joined #ruby-lang
headius has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_sta_ has joined #ruby-lang
<foucist>
have you guys heard of topcoder.com before? ever done anything for it?
<injekt>
yuck
achiu1 has joined #ruby-lang
achiu has quit [Ping timeout: 252 seconds]
elux has joined #ruby-lang
briantrust has joined #ruby-lang
PhilCK has joined #ruby-lang
achiu1 is now known as achiu
<whitequark>
programming contests are not entirely unlike mental masturbation. none of the skills you acquire there are actually useful anywhere except those contests.
<ddd>
well they can stimulate new ways of viewing problems, even if the particular solutions aren't useful outside of the problem set they were designed for.
achiu has joined #ruby-lang
wyhaines has joined #ruby-lang
<drbrain>
does topcoder have programming contests, or are they some kind of software homeopathy site?
postmodern has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
telemachus has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 252 seconds]
<ddd>
drbrain: like the NASA contest is this: "NASA has just launched an exciting system architecture idea contest! The goal for this contest is to come up with ideas for an upgrade to the three SPHERES free-flying satellites currently being used on the International Space Station." But the rest looks like its people posting rewards for the 'best' solution to their posted problem.
<ddd>
drbrain: sort of looks like a freelancers.com except offering points and awarding cash to the selected solution writer(s)
tjadc has quit [Read error: Connection reset by peer]
<drbrain>
ddd: ah, ok
<ddd>
rather than people bidding on jobs
gsav___ has quit [Quit: Lost terminal]
gsav__ has quit [Quit: Lost terminal]
gsav_ has quit [Quit: Lost terminal]
<ddd>
but i do have to say that the degree of requirements for the solutions are rather intense. eg..
<ddd>
The development process, at a high level, is simple. You are tasked to convert a component design, prepared by the designer and reviewed by the Design Review Board, into a functional component. When you have completed your task, your submission will be reviewed by the Development Review Board. If you are the winning developer, you are then tasked to make changes required and recommended by the Review Board. Once complete, your compon
telemachus has joined #ruby-lang
<ddd>
so they go rather in-depth into the process, its not just code me a minimal solution and if i like it i'll buy it.. there appears to be some depth to the entire process.
carloslopes has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
<manveru>
it's NASA, what did you expect :)
<ddd>
no that wasn't the NASA challenge, that was the Component Challenge section
<manveru>
they probably won't let you use ruby either
<ddd>
the NASA one was completely different
<ddd>
manveru: actually yes you can
<manveru>
what component?
<manveru>
you only mentioned nasa and freelancers.com
<drbrain>
the orion launch documentation system is a rails app
<ddd>
they have multiple challenges. yes, i only mentioned NASA, and used freelancers as an opposing format. With freelancers you bid for jobs. on TopCoder you write solutions as a 'challenge' and the originator of the job picks the one they like best. You have a format you have to follow to submit a successful solution.
<manveru>
ok
sent-hil has joined #ruby-lang
<drbrain>
(Orion, the space shuttle replacement)
<ddd>
I posted the NASA one as one example but there are multiple others as well. From writing .net components to writing linux system architecture redesigns, you name it. just there's a format for these submittals. But underneath all the trappings its really just TopCoder getting all of us to write code using a specific format for submittal and then the client deciding which one they like best and paying the stated amount of cash and poin
WillMarshall has quit [Quit: Computer has gone to sleep.]
<manveru>
i'd consider that a massive waste of time :P
drbrain has quit [Remote host closed the connection]
<manveru>
but maybe if you are certain of winning and have enough money to keep losing...
zzak has quit [Quit: leaving]
zzak has joined #ruby-lang
briantru_ has joined #ruby-lang
<ddd>
either way the entire site is just *heaped* in buzzwords. i mean like almost every other word is buzz buzz do this buzz buzz. win cash! coding challenge buzz buzz buzz
briantrust has quit [Ping timeout: 248 seconds]
facest has quit [Read error: Connection reset by peer]
banisterfiend has quit [Remote host closed the connection]
gaveen has quit [Quit: leaving]
Antiarc has quit [Ping timeout: 252 seconds]
facest has joined #ruby-lang
ananna has quit [Remote host closed the connection]
jtoy has quit [Quit: jtoy]
mercwithamouth has joined #ruby-lang
Antiarc has joined #ruby-lang
briantru_ has quit [Ping timeout: 252 seconds]
briantrust has joined #ruby-lang
gaveen has joined #ruby-lang
gaveen has quit [Changing host]
gaveen has joined #ruby-lang
<foucist>
well the draw is probably similar to codegolf and other challenge sites
<foucist>
for the practice & challenge of it
sush24_ has quit [Quit: This computer has gone to sleep]
lcdhoffman has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
vlad_sta_ has quit [Remote host closed the connection]
<ddd>
but you'd definitely have to specify each one manually. i don't think that cascades into dependencies, only if they're primarily listed out. so installing pry-full whcih depends on pry-debugger I don't think would pick that line up
gaveen has joined #ruby-lang
gaveen has quit [Changing host]
gaveen has joined #ruby-lang
<ddd>
i can't find anything detailing what happens when dependencies of another gem hit a :platform line like that
banisterfiend has joined #ruby-lang
<ddd>
What makes me think it *might* is this: "bundler downloads and evaluates all gems, in order to create a single canonical list of all of the required gems and their dependencies. This means that you cannot list different versions of the same gems in different groups."
workmad3 has joined #ruby-lang
adambeynon has joined #ruby-lang
<zzak>
yeh, no duplicate gems
vlad_sta_ has joined #ruby-lang
pangel has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 252 seconds]
<ddd>
right, so i was thinking that if that rule does get applied to dependent gems, it would only be by virtue of the fact that bundler doesn't allow dups, so would see pry-debugger even though a dep, see that specific rule and then apply it. but i don't know if thats true or not. could be it only applies it to explicitly defined gems (not deps for meta gems) but does cull the deps for duplicates.
<ddd>
not sure of the internals
Technodrome has joined #ruby-lang
<ddd>
(if that makes sense)
Technodrome has joined #ruby-lang
Technodrome has quit [Changing host]
workmad3 has quit [Ping timeout: 260 seconds]
datanoise has joined #ruby-lang
tdy has quit [Quit: WeeChat 0.3.9.2]
faustman has quit [Ping timeout: 244 seconds]
tdy has joined #ruby-lang
tdy has quit [Client Quit]
dabradley has quit [Ping timeout: 255 seconds]
tdy has joined #ruby-lang
_malte has joined #ruby-lang
naomi has joined #ruby-lang
<naomi>
if pwd is ~/foo/bar and i call a ruby script /usr/local/bin/foo.rb, is there a way that script knows it was called from ~/foo/bar ?
workmad3 has joined #ruby-lang
<rue>
Yes, Dir.pwd
<rue>
Though you’ll get an absolute path
_malte has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
zmack has quit [Remote host closed the connection]
<naomi>
ruw, perfect, thank you :D
zmack has joined #ruby-lang
internetishard1 has joined #ruby-lang
<naomi>
rue*
zmack has quit [Remote host closed the connection]
<rue>
rum
jbsan has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby-lang
jbsan has joined #ruby-lang
ebouchut has quit [Quit: This computer has gone to sleep]
drbrain has joined #ruby-lang
benanne has joined #ruby-lang
davidbalbert is now known as davidbalber|away
naomi has left #ruby-lang [#ruby-lang]
sailias has quit [Quit: Leaving.]
sent-hil has quit [Remote host closed the connection]
<injekt>
run
sent-hil has joined #ruby-lang
mjio has joined #ruby-lang
dr_bob has quit [Quit: Tune in next week when you'll hear Dr. Bob say...]
chimkan_ has quit [Quit: chimkan_]
heftig has quit [Quit: leaving]
<cschneid>
Anybody familiar w/ Nokogiri builder? I'm trying to inject a builder I already have into the middle of another one. (ie, "here's a fragment, mount it here in a larger doc). https://gist.github.com/d34992fa6e6388811514
<cschneid>
line 14 is giving me trouble, I'd like to have it inserted as a proper chunk of xml nodes, not a string.
adambeynon has quit [Quit: Computer has gone to sleep.]
kentos has quit [Quit: Leaving]
<yxhuvud>
cschneid: pass the builder around instead of creating new ones. For testing, keep the creation of the new builder as a default argument to the method
workmad3 has quit [Read error: Operation timed out]
elux has quit [Quit: Bye!]
sqbell has joined #ruby-lang
heftig has joined #ruby-lang
<sent-hil>
any idea how i can fix this travis-ci bug?
<drbrain>
… StrictHostKeyChecking no and UserKnownHostsFile /dev/null
<drbrain>
henrikhodne: ooh
<henrikhodne>
Using git@github.com:... won't work anyways, since that requires your SSH key.
ddd has quit [Quit: Leaving.]
<henrikhodne>
sent-hil: If you have other Travis questions, you can also ask in #travis.
<sent-hil>
henrikhodne: thanks
charliesome has joined #ruby-lang
ddd has joined #ruby-lang
lrz has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby-lang
solars has quit [Ping timeout: 255 seconds]
Technodrome has quit [Quit: Leaving.]
benanne has quit [Quit: kbai]
briantru_ has joined #ruby-lang
brainspoil has quit [Quit: Leaving]
bluepojo has quit [Quit: Leaving.]
briantrust has quit [Ping timeout: 250 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
solars has joined #ruby-lang
mjio has quit []
bluepojo has joined #ruby-lang
jtoy has joined #ruby-lang
srbaker has joined #ruby-lang
mjio has joined #ruby-lang
davidbalbert is now known as davidbalber|away
ddd has quit [Ping timeout: 245 seconds]
sora_h has quit [Excess Flood]
sora_h has joined #ruby-lang
davidbalber|away is now known as davidbalbert
lrz has joined #ruby-lang
<pangel>
Is it possible to update the output of a CLI program on more than one line? I can write \r to go back at the beginning of the last line, but I do not know how to move up a line or more.
ddd has joined #ruby-lang
S2kx has joined #ruby-lang
davidbalbert is now known as davidbalber|away
S1kx has quit [Ping timeout: 264 seconds]
sora_h has quit [Excess Flood]
<cirwin>
pangel: yes
<cirwin>
depends how fancy you want to get
havenn has quit [Remote host closed the connection]
<cirwin>
but if you just want basics, then raw ansi codes work
<henrikhodne>
pangel: You could use some ANSI escape codes, but not all terminals support them. \e[<num>F moved the cursor to the beginning of the line <num> lines up.
blacktulip has quit [Remote host closed the connection]
kith_ has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
kith has quit [Ping timeout: 260 seconds]
internetishard1 has left #ruby-lang [#ruby-lang]
vlad_sta_ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
ryanf has quit [Ping timeout: 252 seconds]
ryanf has joined #ruby-lang
<khaase>
is there a ruby-implementers back channel?
havenn has joined #ruby-lang
<zenspider>
read only, but yes.
<khaase>
no, I meant, like to talk about what ppl talk about there
<khaase>
but I guess this'll happen here
<zenspider>
that'd be here. :P
brixen has joined #ruby-lang
<khaase>
so, would a ruby team mean that MRI wont launch features without them being proposed or will that mean that such features in MRI are simply not official?
<khaase>
(don't have +v, so someone else has to bring such things up)
<sent-hil>
join #ruby-implementers
<khaase>
ohai brixen
wardrop has joined #ruby-lang
<sent-hil>
ha
<zenspider>
only commit bit holders have voice
<brixen>
khaase: hey
<zenspider>
and even that's not strictly true. I don't have voice
<khaase>
yeah
<charliesome>
#ruby-implementers-peanut-gallery
<brixen>
it should be a thing
atambo has joined #ruby-lang
<henrikhodne>
khaase: From what I get, MRI can still implement non-official features, like Rubinius' Actors.
<zenspider>
khaase: the idea is to address things like refinements better ... it didn't get enough talk or work up front and then got crammed in (much different from the proposal) near the feature freeze
sent_hil has left #ruby-lang [#ruby-lang]
jtoy_ has joined #ruby-lang
<wardrop>
Does anyone know whether rubygem's has any means to install a particular gem (and dependancies) as they would have been installed at a particular point in time?
<zenspider>
I don't think it means that MRI won't launch new features... but that there will be a group responsible for such things so they're communicated cross impls
Axsuul has joined #ruby-lang
mrb_bk_ has joined #ruby-lang
<zenspider>
wardrop: time? or version?
<khaase>
oh my, brixen wants to talk
titanous has joined #ruby-lang
jobicoppola has joined #ruby-lang
<brixen>
I just got volunteered!
<henrikhodne>
khaase: All of a sudden I got the feeling of watching a football (soccer) match with commentators :P
<zenspider>
gem i blah -v "= 1.2.3"
<wardrop>
zenspider: time. I know that you can install a particular version of a gem, but all the dependancies that are installed are normally the latest version.
shtirlic has quit [Read error: Connection reset by peer]
arya_ has joined #ruby-lang
arya_ has left #ruby-lang [#ruby-lang]
<zenspider>
wardrop: that depends ENTIRELY on the gem you're installing and the version specifiers they use. if they use unbounded versions... that's their fault
shtirlic has joined #ruby-lang
<wardrop>
If a bug was introduced in a more recent version of a particular dependancy, then you're screwed
<wardrop>
It'd be very handy in identifying at what point in time a bug was introduced into a collection of dependant gems.
<khaase>
henrikhodne: yeah, I was considering doing commentator style live tweeting, but figured that'd just annoy ppl, if they are interested, they can just hang out in irc
<zenspider>
wardrop: well... the unbounded version dependency is a bug too imo.
<zenspider>
so, to answer your question... no, there is no such facitily
<wardrop>
I don't imagine it'd be a hard thing to implement. Every gem has date time information associated with it.
<khaase>
"... the audience is holding their breath, while @wycats is waiting for his turn to speak..."
<khaase>
"... tenderlove just gave up is operator status ..."
jtoy has quit [Ping timeout: 265 seconds]
jtoy_ is now known as jtoy
intellitech has quit [Quit: intellitech]
<zenspider>
wardrop: go for it. at the least it could be a plugin gem
buscapepe has joined #ruby-lang
sent-hil has quit [Remote host closed the connection]
CaptainJet has joined #ruby-lang
<khaase>
zenspider: seems you just got promoted
havenn_ has joined #ruby-lang
<zenspider>
khaase: helps that I have actual voice with the moderators :P
vlad_starkov has quit [Remote host closed the connection]
<zenspider>
ie, aaron wouldn't type all of that mess for me
yfeldblum has joined #ruby-lang
vlad_starkov has joined #ruby-lang
havenn_ has quit [Remote host closed the connection]
Technodrome has joined #ruby-lang
Technodrome has quit [Changing host]
Technodrome has joined #ruby-lang
havenn_ has joined #ruby-lang
havenn has quit [Ping timeout: 265 seconds]
vlad_starkov has quit [Ping timeout: 240 seconds]
pangel has quit [Ping timeout: 248 seconds]
toretore has quit [Quit: Leaving]
cirenyc has joined #ruby-lang
anannie has joined #ruby-lang
Technodrome has quit [Quit: Leaving.]
jtoy has quit [Quit: jtoy]
krohrbaugh has joined #ruby-lang
Weems has joined #ruby-lang
Weems has quit [Changing host]
Weems has joined #ruby-lang
WillMarshall has joined #ruby-lang
dankest is now known as dankest|away
buscapepe has quit [Ping timeout: 265 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
buscapepe has joined #ruby-lang
solars has quit [Ping timeout: 244 seconds]
buscapepe has quit [Remote host closed the connection]