lucerne has quit [Quit: Ping timeout (120 seconds)]
lucerne has joined #ruby
skali has quit [Ping timeout: 260 seconds]
Rounin has quit [Ping timeout: 260 seconds]
Oxfuxxx has joined #ruby
sharkee has joined #ruby
skali has joined #ruby
mikrosis has quit [Ping timeout: 268 seconds]
skali has quit [Ping timeout: 252 seconds]
sharkee has quit [Quit: brb]
sharkee has joined #ruby
audiocat has quit [Ping timeout: 260 seconds]
audiocat has joined #ruby
Polyinsecure has joined #ruby
Polyinsecure has quit [Quit: Leaving]
Guest6 has quit [Quit: Client closed]
ur5us_ has quit [Ping timeout: 240 seconds]
audiocat has quit [Ping timeout: 260 seconds]
ur5us_ has joined #ruby
skali has joined #ruby
skali has quit [Ping timeout: 268 seconds]
goepsilongo has joined #ruby
danjo2 has joined #ruby
danjo has quit [Ping timeout: 265 seconds]
danjo2 is now known as danjo
skali has joined #ruby
skali has quit [Ping timeout: 268 seconds]
goepsilongo has quit [Quit: Konversation terminated!]
danjo3 has joined #ruby
danjo has quit [Ping timeout: 265 seconds]
danjo3 is now known as danjo
skali has joined #ruby
skali has quit [Ping timeout: 268 seconds]
skali has joined #ruby
skali has quit [Ping timeout: 260 seconds]
gfawcett3 has quit [Read error: Connection reset by peer]
gfawcett3 has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
skali has joined #ruby
skali has quit [Ping timeout: 265 seconds]
jetchisel has quit [Ping timeout: 260 seconds]
sagax has joined #ruby
skali has joined #ruby
skali has quit [Ping timeout: 268 seconds]
_ht has joined #ruby
skali has joined #ruby
ur5us_ has quit [Ping timeout: 252 seconds]
Polyinsecure has joined #ruby
jpw has quit [Remote host closed the connection]
Polyinsecure has quit [Ping timeout: 260 seconds]
CrazyEddy has joined #ruby
teclator has joined #ruby
roadie has joined #ruby
_ht has quit [Remote host closed the connection]
skali has quit [Ping timeout: 268 seconds]
jetchisel has joined #ruby
skali has joined #ruby
VoidNoir0 has joined #ruby
Oxfuxxx has quit [Quit: Never underestimate the power of the butt....ON. (Playst...i mean.. Pir@tA$$)]
sharkee has quit [Remote host closed the connection]
Rounin has joined #ruby
fdan has joined #ruby
darwillim86d has quit [Quit: Connection closed for inactivity]
fxn has joined #ruby
mrkz_c has quit [Quit: Connection closed for inactivity]
reset has quit [Quit: reset]
ur5us_ has joined #ruby
gr33n7007h has joined #ruby
freeworld has joined #ruby
fxn has quit [Quit: Client closed]
jetchisel has quit [Ping timeout: 268 seconds]
jetchisel has joined #ruby
jetchisel has quit [Read error: Connection reset by peer]
skali has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bounga has joined #ruby
skali has joined #ruby
snobbybumblebee has joined #ruby
ccapndave has joined #ruby
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
fdan has quit [Quit: Client closed]
jetchisel has joined #ruby
ccapndave has quit [Ping timeout: 240 seconds]
fdan has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
snobbybumblebee has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fdan has quit [Quit: Client closed]
roadie has joined #ruby
skali is now known as skali_
skali_ is now known as skali
ur5us_ has quit [Ping timeout: 268 seconds]
skali has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has quit [Ping timeout: 268 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 268 seconds]
bit4bit has joined #ruby
roadie has joined #ruby
snobbybumblebee has joined #ruby
bit4bit has quit [Ping timeout: 268 seconds]
hololeap has quit [Ping timeout: 276 seconds]
hololeap has joined #ruby
ccapndave has joined #ruby
<ccapndave>
Hey! I am calling a long running shell command from a Ruby script (its a `docker pull <something>`). The command itself outputs a progress bar and I just want the Ruby script to show it. How can I do that?
snobbybumblebee has quit [Ping timeout: 265 seconds]
Common-Lisp has quit [Quit: ERC (IRC client for Emacs 27.2)]
jetchisel has joined #ruby
Common-Lisp has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.2]
perrierjouet has joined #ruby
jetchisel has quit [Ping timeout: 252 seconds]
jetchisel has joined #ruby
gggpkm has quit [Ping timeout: 268 seconds]
Common-Lisp has quit [Remote host closed the connection]
jpw has joined #ruby
dviola has quit [Quit: WeeChat 3.2]
Common-Lisp has joined #ruby
roadie has quit [Ping timeout: 252 seconds]
Common-Lisp has quit [Remote host closed the connection]
_ht has joined #ruby
roadie has joined #ruby
dviola has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.2]
mrkz_c has joined #ruby
perrierjouet has joined #ruby
bit4bit has joined #ruby
<rapha>
huh
<rapha>
wow
<rapha>
the code generator employed by bundler's gem generator is quite dangerous
<rapha>
it uses an example URL which leads to a very obnoxious looking website (https://mygemserver.com <=== only click on that with appropriate security measures taken i'd say)
<leah2>
i guess someone sniped that domain?
<nakilon>
I ALWAYS SAID that generating gem with that thing is a bad practice
* rapha
is trying for the first time to see what it actually does
<nakilon>
it says "domain is for sale" though so you can buy it and host a webpage with <H1>don't generate gems with bundler!!!!</H1>
<nakilon>
just build the gem manually
<nakilon>
it's not rails
<rapha>
hhhh bcoz that works so well ... buying domains from domain snipers like that one
<nakilon>
minimal gem is just 1 file I suppose
<nakilon>
they are "domain investors since 1997" and have whole lot of 860 followers in instagram, why don't you trust them ..D
<rapha>
this is on the top of the list when you google "how to make a ruby gem" ... just sayin', people might follow their guide, you know.
<rapha>
since 1997?! wow! that's almost as good as since 1887!
<nakilon>
there should be some normal guide, all those suck, even the one on rubygems.org
<leah2>
just copy the gemspec from your last gem :p
<rapha>
fwiw it took me 5 minutes and now i have a gem with all the bells and whistles i could wish for in a gem
<nakilon>
there should be one that says "build it file by file" and especially "don't push it to rubygems god damn just because you want to see what will be the output print of the command"
<nakilon>
and 3: "you don't have to push your gem to rubygems, bundler easily takes gems right from your git repo"
<nakilon>
"i have a gem" -- no, you have nothing ..D it has empty ./lib, does nothing, but has squatted some name on rubygems and will be there forever
roadie has quit [Ping timeout: 268 seconds]
<rapha>
hihihihi
<rapha>
seems i hit a raw spot there, dear nakilon
<nakilon>
(I'm just frustrated by moments when I come up with some nice idea, want to name a gem and all the forms of the name are already taken by gems v0.0.1 with 1 commit "first commit")
* rapha
hands nakilon a bottle of vodka
<leah2>
4, just use a submodules instead of gems :p
<nakilon>
and for example that gem bmp that has no relation to bmp...
<nakilon>
do you know the Java blogger Egor Bugayenko? he's kind of the "expert in OOP" and stuff, makes some weird radical blog posts about how to code in Java
<rapha>
i was out at "java" and "blogger" ;)
<nakilon>
our local rails companies are doing "Rubyconf" annually though no one has neither a clue nor interest in Ruby in Russia -- they only know and want Rails because it sounds better than PHP and making websites is the only IT job we are doing in Russia
sharkee has joined #ruby
Oxfuxxx has joined #ruby
<nakilon>
so the conference name pretends to be about Ruby but in fact it's about Rails and trying to hire people in those 2-3 old companies that are doing this every year; and this year looks like they don't even have enough speakers so can you imagine they've invited that Java blogger
<nakilon>
can you imagine, he will tell how to write in ruby, and probably since he has no idea what it is his topic will be "How to make a gem", like it's some sort of a secret and no one could figure it out until now when the Java blogger will tell us with slides
roadie has joined #ruby
<nakilon>
so I would expect some little increase of the rate of new gems to be created from a template ..D
roadie has quit [Ping timeout: 260 seconds]
cyrus_mc has joined #ruby
<rapha>
hmm you don't happen to be from Kazan, nakilon?
<adam12>
nakilon: maybe submit a PR to change that domain to example.com?
roadie has joined #ruby
<rapha>
adam12: he doesn't even like to use it ... if anyone should do that then maybe me. nakilon will kill me now, but i'm actually liking this a little bit.
<adam12>
rapha: doh. I didn't realize it was you and not him that said it.
cyrus_mc has quit [Quit: Connection closed]
roadie has quit [Ping timeout: 268 seconds]
jetchisel has quit [Ping timeout: 268 seconds]
jetchisel has joined #ruby
<nakilon>
I agree, rapha might want to make a PR
CrazyEddy has quit [Ping timeout: 260 seconds]
<rapha>
the convo was already going a little while :)
<AMPed>
I'm having a really hard time fitting rdoc and ri into my head; I had perhaps naïvely thought they would be something like man pages or (going back) perldoc, but it seems like I need to know more about the file location where modules and classes are defined. I just tried something basic like 'ri Kernel.rand' and it tells me "Nothing known about Kernel.rand".
skali has quit [Client Quit]
<adam12>
AMPed: `ri Kernel.rand` fails?
<adam12>
AMPed: It should work. It sounds like maybe your Ruby install is broken somehow? How did you install Ruby?
<AMPed>
adam12: I'm using rvm to manage different versions.
Bounga has quit [Ping timeout: 252 seconds]
<AMPed>
as far as the initial install, I don't recall.
<AMPed>
It either came with xubuntu or I 'apt-get install'-ed it.
<adam12>
AMPed: `ri --list-doc-dirs` - can you paste that to gist or similar?
edusantana has joined #ruby
hololeap has quit [Remote host closed the connection]
<adam12>
Documentation in Ruby has always been lackluster. Maybe that will be changing soon.
<adam12>
At one point, `--no-ri --no-rdoc` were suggested gem install options :(
<adam12>
IRB is starting to include tab-completion and alt-d document support. Maybe that's a turning point.
<weaksauce>
yeah i was reading the docs on eventmachine today... and well that's not very well documented at all
<AMPed>
one of those things you don't realize the importance of until it's gone, or in this case, wasn't there in the first place
<AMPed>
Note to self: document your own crap, thoroughly.
<adam12>
There's definitely been work on improving core docs. Burdette Lamar submits like 10 PR's a week to improve docs. And I saw some doxygen stuff for the C bits.
<adam12>
But I do wish gem docs were built into the deployment process, similar to Hex from Elixir (hexdocs.pm).
<adam12>
An advantage that Jose had when creating a new language. Deciding on docs up front (markdown, testable) makes it easy to encourage people. Similar to Rails and testing so many years ago.
<adam12>
weaksauce: I just added eventmachine to gemdocs.org. 57.76% documented. Heh.