cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clemens3_ has joined #ruby
cow[moo] has joined #ruby
venmx has joined #ruby
houhoulis has joined #ruby
blackmesa has joined #ruby
Tempesta has joined #ruby
blackmesa1 has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
blackmesa1 has quit [Ping timeout: 264 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Quit: conta]
cow[moo] has joined #ruby
renich has quit [Ping timeout: 258 seconds]
kapil____ has quit [Quit: Connection closed for inactivity]
foxxx0 has quit [Quit: foxxx0]
AJA4350 has quit [Ping timeout: 255 seconds]
foxxx0 has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.3]
akem has quit [Remote host closed the connection]
akem has joined #ruby
blackmesa1 has joined #ruby
maryo_ has quit [Quit: Leaving]
catbusters has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has quit [Quit: WeeChat 1.9.1]
cow[moo] has joined #ruby
govg has joined #ruby
moei has joined #ruby
djuber has joined #ruby
conta has joined #ruby
wolfshappen has quit [Ping timeout: 255 seconds]
wolfshappen_ has joined #ruby
Nexos has joined #ruby
<Nexos>
I installed ruby 2.5.3-1 (x64) on windows with ruby+devkit, but when I launch irb, as soon as I try to enter a non-ascii (say é), it doesn't work anymore (any further input is not shown, Enter works)
<Nexos>
Any idea why? (win10, console is in UTF-8 with chcp 65001 ; setting LANG variable to xx_YY.UTF-8 doesn't help)
<hansol>
rb:235:in `allowed_in_path': The git source https://github.com/activeadmin.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError)
ua has joined #ruby
cd has quit [Quit: cd]
icarus has joined #ruby
fanta7531 has quit [Quit: fanta7531]
Joufflu has quit [Ping timeout: 246 seconds]
cow[moo] has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nexos has quit [Ping timeout: 256 seconds]
<hansol>
afther i made change to my Gemfile.lock
conta has quit [Quit: conta]
<hansol>
i run bundle install, but its loading old Gemfile not new changed what must i do to reload Gemfile.lock ?
catbusters has quit [Quit: Connection closed for inactivity]
akem has quit [Read error: Connection reset by peer]
akem has joined #ruby
icarus has quit [Ping timeout: 250 seconds]
dmwit has joined #ruby
my1es has joined #ruby
valadares has quit [Read error: Connection reset by peer]
valadares has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
cow[moo] has quit [Client Quit]
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akem has quit [Remote host closed the connection]
akem has joined #ruby
spacesuitdiver has joined #ruby
my1es has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 272 seconds]
jcalla has quit [Ping timeout: 250 seconds]
rubydoc has quit [Ping timeout: 268 seconds]
rubydoc has joined #ruby
<dmwit>
I'd like to represent infinite streams, and have a way for multiple consumers to cleanly iterate over them independently. I've got something working, but the approach I took feels like I'm forcing my Python-based thoughts into Ruby (it uses iterators).
<ruby[bot]>
dmwit: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<dmwit>
Hm. It doesn't seem like you can "restart" an Enumerator, though, which my Stream+Iterator can do.
<dmwit>
Ah, I think I understand what you're proposing.
<dmwit>
You're not proposing replacing both, just Iterator, and so Stream.iterator (which I guess now that I understand the suggestion I should call Stream.each) would return an Enumerator.
<dmwit>
Does that sound like what you've got in mind?
<phaul>
hm. I haven't got that far :) I was just observing and pointing out similarities between your stuff and stuff that's there :D
<dmwit>
thanks =)
<phaul>
but since you mentioned "infinite streams" I immediately thought of Enumerators and lazyness. because they use fibers internally, and without those you can't afaik replicate lazy behaviour. the infinite loop with strict evaluation will be infinite
<dmwit>
Ah well, you can always get lazy behavior with some pain by exploiting the fact that you don't evaluate a function's body when evaluating the function itself (only when calling it).
<dmwit>
That's the trick I'm currently exploiting in Stream.
<dmwit>
But I'll take a look at what fibers are, too, for good measure.
djuber has quit [Quit: ERC (IRC client for Emacs 27.0.50)]