adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
lunarkitty has joined #ruby
goldfish_ has quit [Ping timeout: 268 seconds]
Rounin has quit [Ping timeout: 256 seconds]
Inline has quit [Ping timeout: 268 seconds]
sam113101 has quit [Quit: WeeChat 3.2]
hansolo has quit [Remote host closed the connection]
hansolo has joined #ruby
sam113101 has joined #ruby
zoro_dies_today has joined #ruby
duds- has quit [Remote host closed the connection]
duds- has joined #ruby
trillp has left #ruby [#ruby]
gr33n7007h has quit [Ping timeout: 268 seconds]
gr33n7007h has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
darkstardev13 has joined #ruby
darkstarx has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
cybniv has joined #ruby
cybniv has quit [Client Quit]
dohtem has quit [Ping timeout: 245 seconds]
lunarkitty has quit [Ping timeout: 264 seconds]
r3my has quit [Ping timeout: 268 seconds]
josephl has quit [Ping timeout: 268 seconds]
JSharp has quit [Ping timeout: 268 seconds]
rubin55 has quit [Ping timeout: 264 seconds]
Liothen has quit [Ping timeout: 264 seconds]
siasmj has quit [Ping timeout: 268 seconds]
vito has quit [Ping timeout: 268 seconds]
r3my has joined #ruby
cuppajoeman has quit [Ping timeout: 268 seconds]
integral has quit [Ping timeout: 268 seconds]
psb has quit [Ping timeout: 268 seconds]
JayDoubleu has quit [Ping timeout: 264 seconds]
hwrd has quit [Ping timeout: 264 seconds]
jposer has quit [Ping timeout: 268 seconds]
pjlsergeant has quit [Ping timeout: 268 seconds]
joenoon has quit [Ping timeout: 268 seconds]
jposer has joined #ruby
Liothen has joined #ruby
josephl has joined #ruby
hwrd has joined #ruby
pjlsergeant has joined #ruby
integral has joined #ruby
siasmj has joined #ruby
rubin55 has joined #ruby
vito has joined #ruby
niv has joined #ruby
niv has quit [Client Quit]
psb has joined #ruby
JSharp has joined #ruby
dohtem has joined #ruby
niv has joined #ruby
cuppajoeman has joined #ruby
JayDoubleu has joined #ruby
niv has quit [Read error: Connection reset by peer]
joenoon has joined #ruby
lunarkitty has joined #ruby
niv has joined #ruby
niv has quit [Client Quit]
itok_ has quit [Ping timeout: 260 seconds]
psb has quit [Read error: Connection reset by peer]
lunarkitty has quit [Read error: Connection reset by peer]
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
lunarkitty has joined #ruby
psb has joined #ruby
itok_ has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
niv has quit [Read error: Connection reset by peer]
itok_ has quit [Ping timeout: 268 seconds]
psb has quit [Ping timeout: 268 seconds]
lunarkitty has quit [Ping timeout: 268 seconds]
psb has joined #ruby
lunarkitty has joined #ruby
niv has joined #ruby
itok_ has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
niv has quit [Client Quit]
BinaryVixen899 has joined #ruby
<BinaryVixen899> Ugh. People doing Ruby on Windows, how do you deal with solargraph and vscode?
<BinaryVixen899> I just installed the webmock gem and rebuilt the documentation and alas, nothing. No autocomplete.
<BinaryVixen899> I use rubymine at work and it's so, so much better but also so expensive
<BinaryVixen899> Got it working by taking it out of the test bundle group. Bleh, still not ideal
<BinaryVixen899> if there are other options for windows that are better than solargraph/vscode i would love to hear what other folks use!
joenoon has quit [Ping timeout: 244 seconds]
rubin55 has quit [Ping timeout: 244 seconds]
psb has quit [Ping timeout: 256 seconds]
vito has quit [Ping timeout: 256 seconds]
keyvan has quit [Ping timeout: 256 seconds]
JSharp has quit [Ping timeout: 260 seconds]
vito has joined #ruby
niv has joined #ruby
pjlsergeant has quit [Ping timeout: 244 seconds]
hwrd has quit [Ping timeout: 244 seconds]
josephl has quit [Ping timeout: 244 seconds]
JayDoubleu has quit [Ping timeout: 260 seconds]
MachinShin__ has quit [Ping timeout: 260 seconds]
psb has joined #ruby
cuppajoeman has quit [Ping timeout: 256 seconds]
pusewic|away_ has quit [Ping timeout: 268 seconds]
joenoon has joined #ruby
lunarkitty has quit [Ping timeout: 268 seconds]
josephl has joined #ruby
integral has quit [Ping timeout: 256 seconds]
Liothen has quit [Ping timeout: 256 seconds]
rubin55 has joined #ruby
hwrd has joined #ruby
pjlsergeant has joined #ruby
MachinShin__ has joined #ruby
JSharp has joined #ruby
pusewic|away_ has joined #ruby
JayDoubleu has joined #ruby
cuppajoeman has joined #ruby
lunarkitty has joined #ruby
keyvan has joined #ruby
Liothen has joined #ruby
integral has joined #ruby
polishdub has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
reset has quit [Quit: reset]
reset has joined #ruby
nemesit has quit [Quit: Textual IRC Client: www.textualapp.com]
vit has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Excess Flood]
steerpike has quit [Remote host closed the connection]
steerpike has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Excess Flood]
jpw has joined #ruby
Tempesta has joined #ruby
tempate has joined #ruby
AEtherC0r3 has quit [*.net *.split]
adam12 has quit [*.net *.split]
EdwardIII has quit [*.net *.split]
AEtherC0r3 has joined #ruby
adam12 has joined #ruby
EdwardIII has joined #ruby
Tempesta has quit [Quit: See ya!]
hololeap_ has joined #ruby
donofrio has quit [*.net *.split]
oz has quit [*.net *.split]
Inoperable has quit [*.net *.split]
ikonia has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
tweaks has quit [*.net *.split]
ruby[bot1 has quit [*.net *.split]
ruby[bot] has joined #ruby
ox has joined #ruby
donofrio has joined #ruby
ikonia has joined #ruby
tweaks has joined #ruby
Fridtjof has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
tempate has quit [Quit: Leaving.]
Inoperable has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Excess Flood]
Tempesta has joined #ruby
tempate has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
gr33n7007h has quit [Quit: WeeChat 3.3]
jpw has quit [Remote host closed the connection]
postmodern has joined #ruby
Rounin has joined #ruby
tempate has quit [Quit: Leaving.]
postmodern has quit [Quit: Leaving]
postmodern has joined #ruby
mahlon has quit [Ping timeout: 268 seconds]
ged has quit [Ping timeout: 256 seconds]
finsternis has quit [Remote host closed the connection]
tempate has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
postmodern has quit [Read error: Connection reset by peer]
dohtem has quit [Quit: Connection closed for inactivity]
tempate has quit [Quit: Leaving.]
hololeap_ has quit [Remote host closed the connection]
hololeap_ has joined #ruby
pull has joined #ruby
tempate has joined #ruby
tempate has quit [Client Quit]
tempate has joined #ruby
tempate has quit [Client Quit]
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
TzilTzal has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
tempate has joined #ruby
supernova has joined #ruby
<tempate> Is there something I can use instead of k.times.map.with_index?
<tempate> In particular I'm trying to improve https://bpa.st/MLRA
<yxhuvud> I'd use the array constructor for that, ie `Array.new(size) {|factor| Array.new(size) {|shift| Math.sqrt(factor * N + shift) }}`
<yxhuvud> though not formatted as a oneliner.
<tempate> that does look better
<tempate> thanks
<yxhuvud> That said, the with_index in your question is totally useless as the `times` method already provide the index.
<tempate> oh, right
tkonto has joined #ruby
tkonto has quit [Quit: tkonto]
pull has quit [Quit: Czesc]
pull has joined #ruby
hololeap_ has quit [Remote host closed the connection]
tempate has quit [Quit: Leaving.]
hololeap_ has joined #ruby
tempate has joined #ruby
tempate has quit [Client Quit]
tempate has joined #ruby
TomyWork has joined #ruby
tkonto has joined #ruby
<adam12> tempate: If you don't need all values up front, also look at Enumerator#produce.
TzilTzal has quit []
donofrio has quit [Quit: Leaving]
donofrio has joined #ruby
hololeap_ is now known as hololeap
tkonto has quit [Quit: tkonto]
tempate has quit [Quit: Leaving.]
tkonto has joined #ruby
tempate has joined #ruby
moldorcoder7 has quit [Ping timeout: 268 seconds]
pull has quit [Quit: Czesc]
moldorcoder7 has joined #ruby
tempate has quit [Quit: Leaving.]
yxhuvud has quit [Remote host closed the connection]
tempate has joined #ruby
yxhuvud has joined #ruby
tempate has joined #ruby
tempate has quit [Client Quit]
hololeap has quit [Excess Flood]
hololeap has joined #ruby
tempate has joined #ruby
Inline has joined #ruby
dohtem has joined #ruby
cAMP_ is now known as cAMP
tempate has quit [Quit: Leaving.]
fcser has joined #ruby
<cAMP> Hi, I'm working on a rust-ruby miniproject comparison.
<cAMP> Is there a ruby equivalent of rusts "cargo"?
<cAMP> I guess its rubygems?
<adam12> cAMP: Bundler?
<adam12> cAMP: Made by same people as Cargo, FYI
<cAMP> Yes, this is it
engest has joined #ruby
Inline has quit [Remote host closed the connection]
Inline has joined #ruby
mahlon has joined #ruby
<cAMP> Argument Error while trying to $ sudo gem update https://gist.github.com/csmr/cca25521bf52732c0149676149b1c2a2
<cAMP> Ideas? Same error also for uninstall or without --system -flag.
TomyWork has quit [Remote host closed the connection]
<cAMP> Yes, its Debian 10. Also did install ruby-dev, zlib.
<cAMP> Also, attempted to uninstall dbm but gems complains it cannot be uninstalled "as it is a default gem"
<cAMP> Interestingly somethings changed as the error changed with removal of gems: "failed to build native extension" (updated in the gist above)
supernova has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
<cAMP> Ah, looking further its a Makefile program
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
jpw has joined #ruby
<cAMP> Heh, installed libgdbm-dev and now its back to "wrong number of arguments (given 4, expected 1)". The joys of ruby on Debian.
___nick___ has joined #ruby
<cAMP> I dunno. In IRB the require 'gdbm' does return true, so, never mind.
mihaiadrian has joined #ruby
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
MachinShin__ has quit []
mahlon has quit [Read error: Connection reset by peer]
ged has joined #ruby
mahlon has joined #ruby
DEac-_ is now known as DEac-
tkonto has quit [Quit: tkonto]
supernova has joined #ruby
<cAMP> interestingly, despite the gem update strangeness bundler seems to work perfectly, including gem install bundler.
<cAMP> conclusion note: maybe use RVM again if devving again
<adam12> cAMP: I'm not following. Are you stuck at all?
<cAMP> adam12: I'm actually not, even if gem update err's out. Something to do with multi source gems. But all works (except gem update).
<cAMP> Debian 10 is now old stable so this problem is just a day or three away from step to Deb 11, as well.
<adam12> ok
<adam12> lol
ur5us has joined #ruby
Papa_ is now known as papa
supernova has quit [Ping timeout: 264 seconds]
darkxploit has quit [Read error: Connection reset by peer]
darkxploit has joined #ruby
mdemo has joined #ruby
mihaiadrian has quit [Quit: mihaiadrian]
___nick___ has quit [Ping timeout: 240 seconds]
mdemo has quit [Quit: The Lounge - https://thelounge.github.io]
jamesmartinez has joined #ruby
postmodern has joined #ruby
guardian has quit [Ping timeout: 256 seconds]
guardian has joined #ruby
Starfoxxes has quit [Ping timeout: 246 seconds]
Starfoxxes has joined #ruby
michigan has joined #ruby
Starfoxxes has quit [Ping timeout: 240 seconds]
Starfoxxes has joined #ruby
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
<cAMP> I'm writing a blog post about a simple project implementations comparing ruby and rust. Any comments? http://csmr.kapsi.fi/blog/posts/20211108-calc-rb-vs-rs.html
<havenwood> cAMP: While they're "gems" the "Bundler" equivalent is "RubyGems".
<havenwood> Nit but TypeScript and JavaScript.
<havenwood> Yarn is actually the Node package manager by Yehuda, of Bundler and Cargo fame.
<havenwood> NPM was inspired, but Yarn is more of a direct descendant.
vit has quit [Ping timeout: 256 seconds]
<cAMP> havenwood: B]
<havenwood> The commonality between Bundler and Cargo is dependency management. Bundler can create gems but that's really a bell and whistle rather than core feature.
<havenwood> Finding deps of deps is hard.
<weaksauce> yeah most people aren't making gems
<weaksauce> the command would be bundle init
<weaksauce> and then something like bundle add rails
<havenwood> agreed, creating a bundle is far more common than creating a gem. there're more apps than gems.
<weaksauce> and then finally bundle install or just bundle
dohtem has quit [Quit: Connection closed for inactivity]
<havenwood> (aliases)