00:09
lunarkitty has joined #ruby
00:11
goldfish_ has quit [Ping timeout: 268 seconds]
00:37
Rounin has quit [Ping timeout: 256 seconds]
00:39
Inline has quit [Ping timeout: 268 seconds]
01:00
sam113101 has quit [Quit: WeeChat 3.2]
01:03
hansolo has quit [Remote host closed the connection]
01:04
hansolo has joined #ruby
01:33
sam113101 has joined #ruby
01:39
zoro_dies_today has joined #ruby
01:41
duds- has quit [Remote host closed the connection]
01:43
duds- has joined #ruby
01:50
trillp has left #ruby [#ruby]
02:07
gr33n7007h has quit [Ping timeout: 268 seconds]
02:09
gr33n7007h has joined #ruby
02:09
ur5us has quit [Ping timeout: 260 seconds]
02:11
darkstardev13 has joined #ruby
02:13
darkstarx has quit [Ping timeout: 268 seconds]
02:21
ur5us has joined #ruby
02:38
cybniv has joined #ruby
02:38
cybniv has quit [Client Quit]
02:39
dohtem has quit [Ping timeout: 245 seconds]
02:39
lunarkitty has quit [Ping timeout: 264 seconds]
02:40
r3my has quit [Ping timeout: 268 seconds]
02:40
josephl has quit [Ping timeout: 268 seconds]
02:40
JSharp has quit [Ping timeout: 268 seconds]
02:40
rubin55 has quit [Ping timeout: 264 seconds]
02:40
Liothen has quit [Ping timeout: 264 seconds]
02:41
siasmj has quit [Ping timeout: 268 seconds]
02:41
vito has quit [Ping timeout: 268 seconds]
02:41
r3my has joined #ruby
02:41
cuppajoeman has quit [Ping timeout: 268 seconds]
02:41
integral has quit [Ping timeout: 268 seconds]
02:41
psb has quit [Ping timeout: 268 seconds]
02:41
JayDoubleu has quit [Ping timeout: 264 seconds]
02:41
hwrd has quit [Ping timeout: 264 seconds]
02:42
jposer has quit [Ping timeout: 268 seconds]
02:42
pjlsergeant has quit [Ping timeout: 268 seconds]
02:42
joenoon has quit [Ping timeout: 268 seconds]
02:42
jposer has joined #ruby
02:42
Liothen has joined #ruby
02:42
josephl has joined #ruby
02:42
hwrd has joined #ruby
02:42
pjlsergeant has joined #ruby
02:42
integral has joined #ruby
02:42
siasmj has joined #ruby
02:43
rubin55 has joined #ruby
02:43
vito has joined #ruby
02:43
niv has joined #ruby
02:43
niv has quit [Client Quit]
02:43
psb has joined #ruby
02:44
JSharp has joined #ruby
02:44
dohtem has joined #ruby
02:44
niv has joined #ruby
02:44
cuppajoeman has joined #ruby
02:44
JayDoubleu has joined #ruby
02:44
niv has quit [Read error: Connection reset by peer]
02:45
joenoon has joined #ruby
02:45
lunarkitty has joined #ruby
02:47
niv has joined #ruby
02:48
niv has quit [Client Quit]
02:50
itok_ has quit [Ping timeout: 260 seconds]
02:50
psb has quit [Read error: Connection reset by peer]
02:51
lunarkitty has quit [Read error: Connection reset by peer]
02:54
niv has joined #ruby
02:55
niv has quit [Client Quit]
03:03
niv has joined #ruby
03:05
lunarkitty has joined #ruby
03:05
psb has joined #ruby
03:05
itok_ has joined #ruby
03:14
niv has joined #ruby
03:15
niv has quit [Client Quit]
03:16
niv has joined #ruby
03:16
niv has quit [Read error: Connection reset by peer]
03:17
itok_ has quit [Ping timeout: 268 seconds]
03:19
psb has quit [Ping timeout: 268 seconds]
03:19
lunarkitty has quit [Ping timeout: 268 seconds]
03:19
psb has joined #ruby
03:19
lunarkitty has joined #ruby
03:20
niv has joined #ruby
03:20
itok_ has joined #ruby
03:20
niv has quit [Client Quit]
03:20
niv has joined #ruby
03:22
niv has quit [Client Quit]
03:42
niv has joined #ruby
03:43
niv has quit [Client Quit]
03:46
niv has joined #ruby
03:47
niv has quit [Client Quit]
03:55
BinaryVixen899 has joined #ruby
03:56
<
BinaryVixen899 >
Ugh. People doing Ruby on Windows, how do you deal with solargraph and vscode?
03:56
<
BinaryVixen899 >
I just installed the webmock gem and rebuilt the documentation and alas, nothing. No autocomplete.
03:56
<
BinaryVixen899 >
I use rubymine at work and it's so, so much better but also so expensive
03:59
<
BinaryVixen899 >
Got it working by taking it out of the test bundle group. Bleh, still not ideal
04:01
<
BinaryVixen899 >
if there are other options for windows that are better than solargraph/vscode i would love to hear what other folks use!
04:01
joenoon has quit [Ping timeout: 244 seconds]
04:01
rubin55 has quit [Ping timeout: 244 seconds]
04:02
psb has quit [Ping timeout: 256 seconds]
04:02
vito has quit [Ping timeout: 256 seconds]
04:02
keyvan has quit [Ping timeout: 256 seconds]
04:02
JSharp has quit [Ping timeout: 260 seconds]
04:02
vito has joined #ruby
04:02
niv has joined #ruby
04:03
pjlsergeant has quit [Ping timeout: 244 seconds]
04:03
hwrd has quit [Ping timeout: 244 seconds]
04:03
josephl has quit [Ping timeout: 244 seconds]
04:03
JayDoubleu has quit [Ping timeout: 260 seconds]
04:03
MachinShin__ has quit [Ping timeout: 260 seconds]
04:03
psb has joined #ruby
04:03
cuppajoeman has quit [Ping timeout: 256 seconds]
04:03
pusewic|away_ has quit [Ping timeout: 268 seconds]
04:03
joenoon has joined #ruby
04:03
lunarkitty has quit [Ping timeout: 268 seconds]
04:03
josephl has joined #ruby
04:03
integral has quit [Ping timeout: 256 seconds]
04:03
Liothen has quit [Ping timeout: 256 seconds]
04:03
rubin55 has joined #ruby
04:03
hwrd has joined #ruby
04:04
pjlsergeant has joined #ruby
04:04
MachinShin__ has joined #ruby
04:04
JSharp has joined #ruby
04:04
pusewic|away_ has joined #ruby
04:04
JayDoubleu has joined #ruby
04:04
cuppajoeman has joined #ruby
04:04
lunarkitty has joined #ruby
04:04
keyvan has joined #ruby
04:04
Liothen has joined #ruby
04:04
integral has joined #ruby
04:21
polishdub has joined #ruby
04:33
ur5us has quit [Ping timeout: 264 seconds]
04:50
reset has quit [Quit: reset]
04:53
reset has joined #ruby
05:17
vit has joined #ruby
05:18
Tempesta has joined #ruby
05:18
Tempesta has quit [Excess Flood]
05:25
steerpike has quit [Remote host closed the connection]
05:26
steerpike has joined #ruby
05:35
Tempesta has joined #ruby
05:36
Tempesta has quit [Excess Flood]
05:36
jpw has joined #ruby
05:59
Tempesta has joined #ruby
06:01
tempate has joined #ruby
06:04
AEtherC0r3 has quit [*.net *.split]
06:04
adam12 has quit [*.net *.split]
06:05
EdwardIII has quit [*.net *.split]
06:05
AEtherC0r3 has joined #ruby
06:05
adam12 has joined #ruby
06:05
EdwardIII has joined #ruby
06:06
Tempesta has quit [Quit: See ya!]
06:11
hololeap_ has joined #ruby
06:12
donofrio has quit [*.net *.split]
06:12
oz has quit [*.net *.split]
06:12
Inoperable has quit [*.net *.split]
06:12
ikonia has quit [*.net *.split]
06:12
Fridtjof has quit [*.net *.split]
06:12
tweaks has quit [*.net *.split]
06:12
ruby[bot1 has quit [*.net *.split]
06:13
ruby[bot] has joined #ruby
06:13
ox has joined #ruby
06:13
donofrio has joined #ruby
06:13
ikonia has joined #ruby
06:13
tweaks has joined #ruby
06:14
Fridtjof has joined #ruby
06:14
hololeap has quit [Ping timeout: 276 seconds]
06:17
tempate has quit [Quit: Leaving.]
06:19
Inoperable has joined #ruby
06:24
Tempesta has joined #ruby
06:24
Tempesta has quit [Excess Flood]
06:26
Tempesta has joined #ruby
06:34
tempate has joined #ruby
06:39
lunarkitty has quit [Quit: Connection closed for inactivity]
07:05
gr33n7007h has quit [Quit: WeeChat 3.3]
07:05
jpw has quit [Remote host closed the connection]
07:15
postmodern has joined #ruby
07:27
Rounin has joined #ruby
07:35
tempate has quit [Quit: Leaving.]
07:35
postmodern has quit [Quit: Leaving]
07:44
postmodern has joined #ruby
07:45
mahlon has quit [Ping timeout: 268 seconds]
07:46
ged has quit [Ping timeout: 256 seconds]
07:59
finsternis has quit [Remote host closed the connection]
08:06
tempate has joined #ruby
08:31
aeris has quit [Remote host closed the connection]
08:32
aeris has joined #ruby
09:14
postmodern has quit [Read error: Connection reset by peer]
09:19
dohtem has quit [Quit: Connection closed for inactivity]
10:11
tempate has quit [Quit: Leaving.]
10:18
hololeap_ has quit [Remote host closed the connection]
10:19
hololeap_ has joined #ruby
10:22
pull has joined #ruby
10:27
tempate has joined #ruby
10:27
tempate has quit [Client Quit]
10:28
tempate has joined #ruby
10:29
tempate has quit [Client Quit]
10:53
aeris has quit [Remote host closed the connection]
10:53
aeris has joined #ruby
10:59
TzilTzal has joined #ruby
11:03
aeris has quit [Remote host closed the connection]
11:04
aeris has joined #ruby
11:04
tempate has joined #ruby
11:20
supernova has joined #ruby
11:22
<
tempate >
Is there something I can use instead of k.times.map.with_index?
11:36
<
yxhuvud >
I'd use the array constructor for that, ie `Array.new(size) {|factor| Array.new(size) {|shift| Math.sqrt(factor * N + shift) }}`
11:36
<
yxhuvud >
though not formatted as a oneliner.
11:38
<
tempate >
that does look better
11:39
<
yxhuvud >
That said, the with_index in your question is totally useless as the `times` method already provide the index.
11:41
<
tempate >
oh, right
11:41
tkonto has joined #ruby
11:55
tkonto has quit [Quit: tkonto]
11:57
pull has quit [Quit: Czesc]
11:58
pull has joined #ruby
11:59
hololeap_ has quit [Remote host closed the connection]
11:59
tempate has quit [Quit: Leaving.]
12:00
hololeap_ has joined #ruby
12:03
tempate has joined #ruby
12:04
tempate has quit [Client Quit]
12:11
tempate has joined #ruby
12:14
TomyWork has joined #ruby
12:20
tkonto has joined #ruby
12:32
<
adam12 >
tempate: If you don't need all values up front, also look at Enumerator#produce.
12:33
TzilTzal has quit []
12:46
donofrio has quit [Quit: Leaving]
12:47
donofrio has joined #ruby
12:59
hololeap_ is now known as hololeap
13:06
tkonto has quit [Quit: tkonto]
13:14
tempate has quit [Quit: Leaving.]
13:18
tkonto has joined #ruby
13:23
tempate has joined #ruby
13:27
moldorcoder7 has quit [Ping timeout: 268 seconds]
13:30
pull has quit [Quit: Czesc]
13:30
moldorcoder7 has joined #ruby
13:57
tempate has quit [Quit: Leaving.]
14:08
yxhuvud has quit [Remote host closed the connection]
14:08
tempate has joined #ruby
14:08
yxhuvud has joined #ruby
14:09
tempate has joined #ruby
14:12
tempate has quit [Client Quit]
14:13
hololeap has quit [Excess Flood]
14:15
hololeap has joined #ruby
14:26
tempate has joined #ruby
14:37
Inline has joined #ruby
14:48
dohtem has joined #ruby
15:37
cAMP_ is now known as cAMP
15:58
tempate has quit [Quit: Leaving.]
16:11
fcser has joined #ruby
16:12
<
cAMP >
Hi, I'm working on a rust-ruby miniproject comparison.
16:12
<
cAMP >
Is there a ruby equivalent of rusts "cargo"?
16:15
<
cAMP >
I guess its rubygems?
16:20
<
adam12 >
cAMP: Bundler?
16:20
<
adam12 >
cAMP: Made by same people as Cargo, FYI
16:21
<
cAMP >
Yes, this is it
16:39
engest has joined #ruby
17:13
Inline has quit [Remote host closed the connection]
17:14
Inline has joined #ruby
17:17
mahlon has joined #ruby
17:49
<
cAMP >
Ideas? Same error also for uninstall or without --system -flag.
17:49
TomyWork has quit [Remote host closed the connection]
17:49
<
cAMP >
Yes, its Debian 10. Also did install ruby-dev, zlib.
17:53
<
cAMP >
Also, attempted to uninstall dbm but gems complains it cannot be uninstalled "as it is a default gem"
17:56
<
cAMP >
Interestingly somethings changed as the error changed with removal of gems: "failed to build native extension" (updated in the gist above)
17:58
___nick___ has joined #ruby
17:59
<
cAMP >
Ah, looking further its a Makefile program
18:01
___nick___ has quit [Client Quit]
18:02
___nick___ has joined #ruby
18:03
___nick___ has quit [Client Quit]
18:03
jpw has joined #ruby
18:04
<
cAMP >
Heh, installed libgdbm-dev and now its back to "wrong number of arguments (given 4, expected 1)". The joys of ruby on Debian.
18:04
___nick___ has joined #ruby
18:08
<
cAMP >
I dunno. In IRB the require 'gdbm' does return true, so, never mind.
18:18
mihaiadrian has joined #ruby
18:29
hololeap has quit [Remote host closed the connection]
18:30
hololeap has joined #ruby
18:38
MachinShin__ has quit []
18:43
mahlon has quit [Read error: Connection reset by peer]
18:43
ged has joined #ruby
18:45
mahlon has joined #ruby
18:50
DEac-_ is now known as DEac-
19:19
tkonto has quit [Quit: tkonto]
19:40
supernova has joined #ruby
19:52
<
cAMP >
interestingly, despite the gem update strangeness bundler seems to work perfectly, including gem install bundler.
19:52
<
cAMP >
conclusion note: maybe use RVM again if devving again
19:54
<
adam12 >
cAMP: I'm not following. Are you stuck at all?
19:56
<
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).
19:57
<
cAMP >
Debian 10 is now old stable so this problem is just a day or three away from step to Deb 11, as well.
20:20
ur5us has joined #ruby
20:28
Papa_ is now known as papa
20:38
supernova has quit [Ping timeout: 264 seconds]
20:44
darkxploit has quit [Read error: Connection reset by peer]
20:47
darkxploit has joined #ruby
20:51
mdemo has joined #ruby
20:53
mihaiadrian has quit [Quit: mihaiadrian]
21:04
___nick___ has quit [Ping timeout: 240 seconds]
21:51
jamesmartinez has joined #ruby
21:54
postmodern has joined #ruby
22:20
guardian has quit [Ping timeout: 256 seconds]
22:26
guardian has joined #ruby
22:33
Starfoxxes has quit [Ping timeout: 246 seconds]
22:34
Starfoxxes has joined #ruby
22:41
michigan has joined #ruby
22:49
Starfoxxes has quit [Ping timeout: 240 seconds]
22:59
Starfoxxes has joined #ruby
23:22
havenwood has joined #ruby
23:55
<
havenwood >
cAMP: While they're "gems" the "Bundler" equivalent is "RubyGems".
23:55
<
havenwood >
Nit but TypeScript and JavaScript.
23:55
<
havenwood >
Yarn is actually the Node package manager by Yehuda, of Bundler and Cargo fame.
23:56
<
havenwood >
NPM was inspired, but Yarn is more of a direct descendant.
23:56
vit has quit [Ping timeout: 256 seconds]
23:57
<
cAMP >
havenwood: B]
23:58
<
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.
23:58
<
havenwood >
Finding deps of deps is hard.
23:58
<
weaksauce >
yeah most people aren't making gems
23:58
<
weaksauce >
the command would be bundle init
23:59
<
weaksauce >
and then something like bundle add rails
23:59
<
havenwood >
agreed, creating a bundle is far more common than creating a gem. there're more apps than gems.
23:59
<
weaksauce >
and then finally bundle install or just bundle
23:59
dohtem has quit [Quit: Connection closed for inactivity]
23:59
<
havenwood >
(aliases)