00:02
<
havenwood >
xco: if you create any new objects, they'll automatically be in the ObjectSpace
00:03
<
havenwood >
>> xco = Object.new; ObjectSpace.each_object.include? xco
00:03
<
ruby[bot] >
havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
00:03
<
havenwood >
&>> xco = Object.new; ObjectSpace.each_object.include? xco
00:04
<
havenwood >
#=> true
00:04
govg has quit [Ping timeout: 258 seconds]
00:06
govg has joined #ruby
00:06
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:08
orbyt_ has joined #ruby
00:08
skryking has quit [Ping timeout: 252 seconds]
00:09
<
xco >
havenwood: i’m not sure i understand your version
00:10
AJA4350 has joined #ruby
00:10
skryking has joined #ruby
00:10
<
xco >
unless you’re referring to how the list can be dynamic depending on what objects are created in the object space?
00:11
<
havenwood >
xco: yeah, i just mean it automatically includes newly created objects
00:11
<
xco >
aaaah yeah got that long ago :) thank you :P
00:11
graft has quit [Ping timeout: 272 seconds]
00:18
i9zO5AP has quit [Quit: WeeChat 2.4]
00:19
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:23
orbyt_ has joined #ruby
00:25
fphilipe_ has joined #ruby
00:35
jenrzzz has joined #ruby
00:37
iNs has quit [Remote host closed the connection]
00:37
iNs has joined #ruby
00:38
Fernando-Basso has quit [Remote host closed the connection]
00:46
yasumi2136_ has joined #ruby
00:50
yasumi2136 has quit [Ping timeout: 248 seconds]
00:50
digitalnomad has joined #ruby
00:51
digitalnomad has quit [Max SendQ exceeded]
00:54
jenrzzz has quit [Ping timeout: 246 seconds]
00:55
xco has quit [Quit: xco]
00:59
fphilipe_ has quit [Ping timeout: 258 seconds]
01:03
AJA4350 has quit [Quit: AJA4350]
01:05
graft has joined #ruby
01:05
graft has quit [Changing host]
01:05
graft has joined #ruby
01:08
Swyper has joined #ruby
01:13
tdy has joined #ruby
01:22
tdy has quit [Ping timeout: 246 seconds]
01:23
Swyper has quit [Remote host closed the connection]
01:24
xco has joined #ruby
01:26
demond has joined #ruby
01:26
demond has left #ruby ["++++++++++++++"]
01:27
vaios has joined #ruby
01:27
vaios has left #ruby ["++++++++++++++"]
01:29
Azure has quit [Remote host closed the connection]
01:30
Azure has joined #ruby
01:34
fphilipe_ has joined #ruby
01:35
Swyper has joined #ruby
01:36
esp32_prog has joined #ruby
01:40
esp32_prog has quit [Ping timeout: 246 seconds]
01:43
codefriar has joined #ruby
01:43
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:48
codefriar has quit [Ping timeout: 272 seconds]
01:49
tdy has joined #ruby
01:54
codefriar has joined #ruby
02:00
xco has quit [Quit: xco]
02:02
duderonomy has joined #ruby
02:03
ellcs has joined #ruby
02:03
ellcs has quit [Max SendQ exceeded]
02:04
ellcs has joined #ruby
02:05
codefriar has quit [Remote host closed the connection]
02:05
codefriar has joined #ruby
02:08
fphilipe_ has quit [Ping timeout: 258 seconds]
02:12
ramfjord has joined #ruby
02:12
Swyper has quit [Remote host closed the connection]
02:13
Swyper has joined #ruby
02:14
graft has quit [Ping timeout: 258 seconds]
02:15
codefriar has quit [Remote host closed the connection]
02:15
codefriar has joined #ruby
02:17
Swyper has quit [Remote host closed the connection]
02:17
ramfjord has quit [Ping timeout: 272 seconds]
02:17
Swyper has joined #ruby
02:19
Swyper has quit [Remote host closed the connection]
02:19
Swyper has joined #ruby
02:22
xco has joined #ruby
02:23
apparition has joined #ruby
02:24
codefriar has quit [Remote host closed the connection]
02:24
codefriar has joined #ruby
02:25
ellcs has quit [Ping timeout: 252 seconds]
02:26
vulski has joined #ruby
02:30
laaron has quit [Remote host closed the connection]
02:33
doodleb70 has quit [Read error: Connection reset by peer]
02:34
codefriar has quit [Remote host closed the connection]
02:34
laaron has joined #ruby
02:35
codefriar has joined #ruby
02:36
laaron has quit [Remote host closed the connection]
02:37
graft has joined #ruby
02:37
graft has quit [Changing host]
02:37
graft has joined #ruby
02:38
doodlebug has joined #ruby
02:39
laaron has joined #ruby
02:44
morn_d has joined #ruby
02:45
codefriar has quit [Remote host closed the connection]
02:45
codefriar has joined #ruby
02:45
uranoss has quit [Quit: Connection closed for inactivity]
02:46
laaron has quit [Remote host closed the connection]
02:48
laaron has joined #ruby
02:52
xco has quit [Quit: xco]
03:00
codefriar has quit [Remote host closed the connection]
03:01
codefriar has joined #ruby
03:04
fphilipe_ has joined #ruby
03:05
braincrash has quit [Quit: bye bye]
03:10
braincrash has joined #ruby
03:11
haxx0r29 has quit [Remote host closed the connection]
03:11
codefriar has quit [Remote host closed the connection]
03:12
codefriar has joined #ruby
03:23
codefriar has quit [Remote host closed the connection]
03:23
codefriar has joined #ruby
03:24
esp32_prog has joined #ruby
03:29
esp32_prog has quit [Ping timeout: 245 seconds]
03:34
Swyper has quit [Remote host closed the connection]
03:36
bambanx has quit [Quit: Leaving]
03:36
codefriar has quit [Remote host closed the connection]
03:36
codefriar has joined #ruby
03:38
fphilipe_ has quit [Ping timeout: 258 seconds]
03:44
Fusl has quit [Remote host closed the connection]
03:44
laaron has quit [Remote host closed the connection]
03:44
laaron- has joined #ruby
03:44
Fusl has joined #ruby
03:47
codefriar has quit [Ping timeout: 248 seconds]
03:51
graft has quit [Ping timeout: 257 seconds]
04:14
fphilipe_ has joined #ruby
04:15
GodFather has quit [Ping timeout: 258 seconds]
04:19
rippa has joined #ruby
04:27
_whitelogger has joined #ruby
04:36
_whitelogger has joined #ruby
04:40
morn_d has quit [Ping timeout: 246 seconds]
04:45
_whitelogger has joined #ruby
04:48
fphilipe_ has quit [Ping timeout: 252 seconds]
04:51
jenrzzz has joined #ruby
04:55
jenrzzz has quit [Ping timeout: 246 seconds]
05:02
GodFather has joined #ruby
05:12
esp32_prog has joined #ruby
05:14
iNs has quit [Remote host closed the connection]
05:14
iNs has joined #ruby
05:14
apparition has quit [Quit: Bye]
05:16
fphilipe_ has joined #ruby
05:17
esp32_prog has quit [Ping timeout: 248 seconds]
05:19
renich has joined #ruby
05:33
kyrylo has joined #ruby
05:39
sauvin has joined #ruby
05:47
deimos has quit [Quit: leaving]
05:48
deimos has joined #ruby
05:52
reber has joined #ruby
05:53
buzzbuzzy has quit [Quit: Connection closed for inactivity]
05:58
fphilipe_ has quit [Ping timeout: 248 seconds]
06:11
dbugger has joined #ruby
06:13
SeepingN has quit [Quit: The system is going down for reboot NOW!]
06:15
fphilipe_ has joined #ruby
06:19
kapilp has joined #ruby
06:27
_whitelogger has joined #ruby
06:51
jenrzzz has joined #ruby
06:52
apparition has joined #ruby
06:54
cd has quit [Quit: cd]
06:55
sameerynho has joined #ruby
06:55
jenrzzz has quit [Ping timeout: 245 seconds]
06:58
laaron- has quit [Remote host closed the connection]
07:01
esp32_prog has joined #ruby
07:01
laaron has joined #ruby
07:04
laaron has quit [Remote host closed the connection]
07:06
laaron has joined #ruby
07:06
esp32_prog has quit [Ping timeout: 272 seconds]
07:23
ravenousmoose has joined #ruby
07:25
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:26
kyrylo has joined #ruby
07:26
nowhere_man has quit [Ping timeout: 248 seconds]
07:35
kyrylo has quit [Ping timeout: 268 seconds]
07:42
mochiyoda_ has left #ruby ["Konversation terminated!"]
07:42
tdy has quit [Ping timeout: 272 seconds]
07:45
esp32_prog has joined #ruby
07:50
tdy has joined #ruby
08:04
morn_d has joined #ruby
08:05
nowhere_man has joined #ruby
08:07
conta has joined #ruby
08:08
tdy has quit [Ping timeout: 272 seconds]
08:10
jenrzzz has joined #ruby
08:15
laaron has joined #ruby
08:34
laaron has quit [Remote host closed the connection]
08:36
laaron has joined #ruby
08:39
conta has quit [Remote host closed the connection]
08:49
esp32_prog has quit [Ping timeout: 272 seconds]
08:51
Ai9zO5AP has joined #ruby
08:53
apparition has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
08:53
galeido_ has quit [Ping timeout: 268 seconds]
08:57
conta has joined #ruby
09:06
antong has joined #ruby
09:07
antong has quit [Client Quit]
09:09
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:11
ravenousmoose has joined #ruby
09:17
fphilipe_ has quit [Ping timeout: 258 seconds]
09:21
galeido has joined #ruby
09:24
apparition has joined #ruby
09:39
r3m has quit [Remote host closed the connection]
09:40
r3m has joined #ruby
09:42
banisterfiend has joined #ruby
09:43
r3m has quit [Read error: Connection reset by peer]
09:43
r3m has joined #ruby
09:44
r3m has quit [Read error: Connection reset by peer]
09:45
deepredsky has quit [Ping timeout: 245 seconds]
09:47
r3m has joined #ruby
09:49
fphilipe_ has joined #ruby
09:52
deepredsky has joined #ruby
09:53
esp32_prog has joined #ruby
09:54
u0_a113 has joined #ruby
09:56
<
u0_a113 >
how i change width on it?
09:56
deepredsky has quit [Ping timeout: 272 seconds]
09:58
esp32_prog has quit [Ping timeout: 248 seconds]
09:58
ellcs has joined #ruby
09:58
nowhere_man has quit [Ping timeout: 248 seconds]
09:58
ellcs has quit [Max SendQ exceeded]
09:59
ellcs has joined #ruby
10:00
xco has joined #ruby
10:03
u0_a113 has left #ruby ["WeeChat 2.0.1"]
10:17
renich has quit [Ping timeout: 258 seconds]
10:20
ellcs has quit [Ping timeout: 252 seconds]
10:23
fphilipe_ has quit [Ping timeout: 252 seconds]
10:31
morn_d has quit [Ping timeout: 244 seconds]
10:33
antong has joined #ruby
10:44
antong has joined #ruby
10:45
antong has quit [Client Quit]
10:48
nowhere_man has joined #ruby
10:51
morn_d has joined #ruby
10:53
hanmac has quit [Ping timeout: 272 seconds]
11:06
morn_d has quit [Read error: Connection reset by peer]
11:06
Fernando-Basso has joined #ruby
11:09
doodleb25 has joined #ruby
11:13
doodlebug has quit [Ping timeout: 257 seconds]
11:16
jenrzzz has quit [Ping timeout: 248 seconds]
11:21
kyrylo has joined #ruby
11:24
AJA4350 has joined #ruby
11:27
fphilipe_ has joined #ruby
11:32
doodleb25 has quit [Read error: Connection reset by peer]
11:32
fphilipe_ has quit [Ping timeout: 258 seconds]
11:32
doodlebug has joined #ruby
11:36
gix has joined #ruby
11:39
hanmac has joined #ruby
11:41
deepredsky has joined #ruby
11:41
esp32_prog has joined #ruby
11:42
lele has quit [Ping timeout: 252 seconds]
11:42
laaron- has joined #ruby
11:45
troulouliou_div2 has joined #ruby
11:46
laaron has quit [Ping timeout: 256 seconds]
11:46
esp32_prog has quit [Ping timeout: 248 seconds]
11:47
tdy has joined #ruby
11:59
jenrzzz has joined #ruby
11:59
sh7d has quit [Read error: Connection reset by peer]
12:00
sh7d has joined #ruby
12:04
jenrzzz has quit [Ping timeout: 245 seconds]
12:04
tdy has quit [Ping timeout: 272 seconds]
12:06
fphilipe_ has joined #ruby
12:15
conta has quit [Quit: conta]
12:21
hanmac has quit [Ping timeout: 272 seconds]
12:24
jdawgaz has joined #ruby
12:28
AJA4351 has joined #ruby
12:29
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:30
AJA4350 has quit [Ping timeout: 244 seconds]
12:30
AJA4351 is now known as AJA4350
12:32
Swyper has joined #ruby
12:33
jdawgaz has joined #ruby
12:34
jdawgaz has quit [Client Quit]
12:41
fphilipe_ has quit [Ping timeout: 252 seconds]
12:43
jdawgaz has joined #ruby
12:44
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:47
yasumi2136 has joined #ruby
12:50
yasumi2136_ has quit [Ping timeout: 272 seconds]
12:50
fphilipe_ has joined #ruby
12:50
nowhere_man has quit [Read error: Connection reset by peer]
12:50
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:53
nowhere_man has joined #ruby
12:54
nowhere_man has quit [Remote host closed the connection]
12:55
fphilipe_ has quit [Ping timeout: 248 seconds]
13:02
jenrzzz has joined #ruby
13:09
jenrzzz has quit [Ping timeout: 248 seconds]
13:15
Fernando-Basso has quit [Remote host closed the connection]
13:15
Fernando-Basso has joined #ruby
13:17
jenrzzz has joined #ruby
13:24
laaron has joined #ruby
13:25
fphilipe_ has joined #ruby
13:25
tdy has joined #ruby
13:27
jenrzzz has quit [Ping timeout: 272 seconds]
13:28
haxx0r has joined #ruby
13:30
esp32_prog has joined #ruby
13:35
esp32_prog has quit [Ping timeout: 272 seconds]
13:36
AJA4351 has joined #ruby
13:36
jenrzzz has joined #ruby
13:37
AJA4350 has quit [Ping timeout: 252 seconds]
13:40
AJA4351 has quit [Ping timeout: 248 seconds]
13:41
jenrzzz has quit [Ping timeout: 252 seconds]
13:42
AJA4350 has joined #ruby
13:53
jenrzzz has joined #ruby
14:02
apparition has quit [Quit: Bye]
14:03
jenrzzz has quit [Ping timeout: 258 seconds]
14:08
jenrzzz has joined #ruby
14:16
jenrzzz has quit [Ping timeout: 246 seconds]
14:20
jenrzzz has joined #ruby
14:23
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:24
kyrylo has joined #ruby
14:29
fphilipe_ has quit [Ping timeout: 258 seconds]
14:31
jenrzzz has quit [Ping timeout: 272 seconds]
14:31
salerace has joined #ruby
14:32
nowhere_man has joined #ruby
14:33
nopolitica has joined #ruby
14:35
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:41
lele has joined #ruby
14:43
tdy has quit [Ping timeout: 272 seconds]
14:51
banisterfiend has joined #ruby
14:51
AJA4350 has quit [Ping timeout: 245 seconds]
14:52
jenrzzz has joined #ruby
14:56
AJA4350 has joined #ruby
14:57
jenrzzz has quit [Ping timeout: 248 seconds]
15:02
Wolland has joined #ruby
15:05
salerace has quit [Ping timeout: 258 seconds]
15:09
jenrzzz has joined #ruby
15:11
haxx0r36 has joined #ruby
15:15
haxx0r has quit [Ping timeout: 268 seconds]
15:15
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
15:16
jenrzzz has quit [Ping timeout: 272 seconds]
15:16
laaron has joined #ruby
15:16
Yxhuvud has joined #ruby
15:17
nopolitica has quit [Quit: WeeChat 2.2]
15:18
esp32_prog has joined #ruby
15:18
jenrzzz has joined #ruby
15:23
jenrzzz has quit [Ping timeout: 248 seconds]
15:23
esp32_prog has quit [Ping timeout: 248 seconds]
15:29
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:29
jenrzzz has joined #ruby
15:32
DTZUZU2 has quit [Ping timeout: 248 seconds]
15:33
haxx0r36 has quit [Remote host closed the connection]
15:33
jenrzzz has quit [Ping timeout: 258 seconds]
15:34
haxx0r has joined #ruby
15:35
tdy has joined #ruby
15:39
jenrzzz has joined #ruby
15:40
octos has joined #ruby
15:41
Swyper has quit [Remote host closed the connection]
15:43
ua has quit [Ping timeout: 248 seconds]
15:44
ua has joined #ruby
15:44
ricekrispie2 has joined #ruby
15:47
laaron has joined #ruby
15:47
jenrzzz has quit [Ping timeout: 272 seconds]
15:48
ricekrispie has quit [Ping timeout: 245 seconds]
15:53
donofrio_ has joined #ruby
15:54
jenrzzz has joined #ruby
15:55
c0dec has quit [Ping timeout: 272 seconds]
15:55
c0dec has joined #ruby
15:56
renich has joined #ruby
15:56
Caerus has quit [Ping timeout: 248 seconds]
15:56
donofrio__ has quit [Ping timeout: 248 seconds]
15:56
donofrio has joined #ruby
15:57
donofrio has quit [Remote host closed the connection]
15:57
donofrio has joined #ruby
15:58
cd has joined #ruby
15:58
donofrio_ has quit [Ping timeout: 248 seconds]
15:59
jenrzzz has quit [Ping timeout: 246 seconds]
15:59
DTZUZU2 has joined #ruby
15:59
AJA4350 has quit [Ping timeout: 272 seconds]
16:00
Caerus has joined #ruby
16:09
graft has joined #ruby
16:09
graft has quit [Changing host]
16:09
graft has joined #ruby
16:14
renich has quit [Remote host closed the connection]
16:15
renich has joined #ruby
16:15
BuildTheRobots has quit [Ping timeout: 272 seconds]
16:17
Net_ has joined #ruby
16:17
facest has joined #ruby
16:17
BuildTheRobots has joined #ruby
16:18
tdy1 has joined #ruby
16:19
agent_white has joined #ruby
16:19
agent_white has joined #ruby
16:19
Net has quit [Ping timeout: 248 seconds]
16:19
Net_ is now known as Net
16:19
agent_white has quit [Changing host]
16:19
agent_white has joined #ruby
16:20
faces has quit [Ping timeout: 248 seconds]
16:21
altious2 has joined #ruby
16:21
reber_ has joined #ruby
16:23
doodlebug has quit [Ping timeout: 272 seconds]
16:23
reber has quit [Remote host closed the connection]
16:23
jenrzzz has joined #ruby
16:23
tdy has quit [Ping timeout: 272 seconds]
16:24
altious has quit [Ping timeout: 248 seconds]
16:24
xco_ has joined #ruby
16:25
xco has quit [Ping timeout: 272 seconds]
16:25
xco_ is now known as xco
16:25
fphilipe_ has joined #ruby
16:27
jenrzzz has quit [Ping timeout: 272 seconds]
16:31
fphilipe_ has quit [Ping timeout: 252 seconds]
16:31
graft has quit [Ping timeout: 245 seconds]
16:35
jenrzzz has joined #ruby
16:37
agent_white has quit [Ping timeout: 248 seconds]
16:39
doodlebug has joined #ruby
16:41
houhoulis has joined #ruby
16:42
jenrzzz has quit [Ping timeout: 246 seconds]
16:46
jenrzzz has joined #ruby
16:51
jenrzzz has quit [Ping timeout: 248 seconds]
16:52
houhoulis has quit [Ping timeout: 272 seconds]
16:55
houhoulis has joined #ruby
16:56
Swyper has joined #ruby
16:56
phenom has joined #ruby
17:00
phenom has quit [Client Quit]
17:01
Swyper has quit [Ping timeout: 246 seconds]
17:01
phenom has joined #ruby
17:02
graft has joined #ruby
17:02
graft has quit [Changing host]
17:02
graft has joined #ruby
17:04
jenrzzz has joined #ruby
17:06
esp32_prog has joined #ruby
17:08
houhoulis has quit [Remote host closed the connection]
17:08
jenrzzz has quit [Ping timeout: 245 seconds]
17:12
jenrzzz has joined #ruby
17:12
esp32_prog has quit [Ping timeout: 272 seconds]
17:12
AJA4350 has joined #ruby
17:13
graft has quit [Ping timeout: 272 seconds]
17:15
agent_white has joined #ruby
17:16
jonian has joined #ruby
17:17
jonian has quit [Client Quit]
17:17
aloy has quit [Quit: WeeChat 2.2]
17:18
jenrzzz has quit [Ping timeout: 258 seconds]
17:24
jenrzzz has joined #ruby
17:28
jenrzzz has quit [Ping timeout: 248 seconds]
17:28
kyrylo has joined #ruby
17:30
aloy has joined #ruby
17:35
troulouliou_div2 has quit [Ping timeout: 246 seconds]
17:36
doodleb97 has joined #ruby
17:36
doodlebug has quit [Ping timeout: 246 seconds]
17:42
dionysus69 has quit [Ping timeout: 248 seconds]
17:44
renich has quit [Ping timeout: 258 seconds]
17:49
jenrzzz has joined #ruby
17:50
troulouliou_div2 has joined #ruby
17:53
jenrzzz has quit [Ping timeout: 272 seconds]
18:04
jenrzzz has joined #ruby
18:08
haxx0r has quit [Remote host closed the connection]
18:08
haxx0r has joined #ruby
18:08
jenrzzz has quit [Ping timeout: 248 seconds]
18:13
tdy1 has quit [Ping timeout: 248 seconds]
18:16
exmortus has joined #ruby
18:17
Fernando-Basso has quit [Remote host closed the connection]
18:17
jenrzzz has joined #ruby
18:21
govg has quit [Ping timeout: 258 seconds]
18:22
jenrzzz has quit [Ping timeout: 258 seconds]
18:24
troulouliou_div2 has quit [Ping timeout: 245 seconds]
18:27
fphilipe_ has joined #ruby
18:28
kapilp has quit [Quit: Connection closed for inactivity]
18:28
govg has joined #ruby
18:32
fphilipe_ has quit [Ping timeout: 252 seconds]
18:33
jenrzzz has joined #ruby
18:38
jenrzzz has quit [Ping timeout: 268 seconds]
18:40
troulouliou_div2 has joined #ruby
18:40
doodleb97 has quit [Ping timeout: 252 seconds]
18:42
doodlebug has joined #ruby
18:42
hanmac has joined #ruby
18:45
phenom has quit [Ping timeout: 272 seconds]
18:49
gix has quit [Ping timeout: 272 seconds]
18:52
gix has joined #ruby
18:54
esp32_prog has joined #ruby
18:56
troulouliou_div2 has quit [Remote host closed the connection]
18:57
houhoulis has joined #ruby
18:59
esp32_prog has quit [Ping timeout: 258 seconds]
19:16
graft has joined #ruby
19:19
phaul has quit [Quit: :wq]
19:20
phaul has joined #ruby
19:22
tdy1 has joined #ruby
19:31
tdy1 has quit [Ping timeout: 245 seconds]
19:35
dviola has quit [Ping timeout: 245 seconds]
19:46
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
19:50
jenrzzz has joined #ruby
19:50
sh7d has quit [Ping timeout: 258 seconds]
19:51
kyrylo_ has joined #ruby
19:53
kyrylo has quit [Ping timeout: 248 seconds]
19:55
exmortus has quit [Remote host closed the connection]
19:58
ravenx has joined #ruby
20:00
troydm has joined #ruby
20:01
<
troydm >
hey all! can I use guard clauses on assignment statements?
20:01
<
troydm >
like some thing: var = 'value' if true
20:01
Swyper has joined #ruby
20:02
<
troydm >
phaul: so assignment won't occur if guard is false
20:02
<
troydm >
or it will ?
20:02
<
phaul >
it will not, the local variable will be defined but will be nil
20:02
<
troydm >
phaul: okey ic, thx
20:03
<
phaul >
so it does more than not being there at all, which is pretty confusing
20:03
<
phaul >
&>> a = 13 if false; a
20:06
comet23 has joined #ruby
20:06
<
comet23 >
hello everyone
20:07
<
comet23 >
is there a way to know if my algorithm is O(N) or O(N^2)
20:07
<
comet23 >
like is there an app or something that will tell me?
20:08
<
phaul >
I would bet there isn't.
20:08
kyrylo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:08
<
comet23 >
do you know js?
20:09
<
comet23 >
i could translate the code to ruby probably
20:09
<
comet23 >
but here's what i wrote
20:12
doodleb72 has joined #ruby
20:13
fphilipe_ has joined #ruby
20:13
<
phaul >
it's probably O(n (log n)) depending on how hash lookup is implemented.
20:14
<
phaul >
you can do it in O(n) if you really want to by not doing hash lookup but indexing an array
20:14
<
comet23 >
i'm trying to learn algorithms now and i'm having a hard time understanding how the code will be implemented
20:15
doodlebug has quit [Ping timeout: 252 seconds]
20:16
<
phaul >
sorry I have to ask. Did you write this code or are you trying to understand it while you got it from somewhere else? You say how it will be implemented, but it already is...
20:16
<
phaul >
I can tell you what I think it does if that helps..
20:20
Swyper has quit [Remote host closed the connection]
20:20
<
phaul >
1.) creates a hash that maps chars of string 1. to the number of occurrences of the chars in string 1. 2.) does the same for string 2. walks the map of string 1, checking the for each count in string 1 if it matches the other map with that character. Ie checking if the strings have the same count of a given char.
20:22
govg has quit [Remote host closed the connection]
20:22
fphilipe_ has quit [Ping timeout: 250 seconds]
20:23
<
comet23 >
yes, phaul i wrote that code
20:24
<
comet23 >
there is a solution that is shorter than mine and it says that's O(N) and I was wondering if my solution was O(N) and why/why not
20:24
laaron has joined #ruby
20:24
<
phaul >
I think you can argue it's actually O(n)
20:25
<
phaul >
given the argument that the character set is limited, so there exists some constant that is greater than the stepps spent in hash lookup
20:25
<
phaul >
(in other words the hashes can only grow to a certain maxium size and after that they don't go anymore)
20:26
<
comet23 >
so O(N) means hashes can only grow to a certain maximum size?
20:27
jenrzzz has quit [Ping timeout: 272 seconds]
20:27
<
phaul >
O(n) means that there exists some c0,c1 constants that the number of steps required by your code is < c0 + c1 * n where n is the length of the strings
20:27
govg has joined #ruby
20:28
<
comet23 >
i have more learning to do, thank you for telling me that i'm on the right track at least
20:28
<
comet23 >
that's somewhat reassuring... i'm gonna go practice more!
20:28
<
phaul >
it just means that if you increase your input sizes than the run time will increase with it propotionally
20:28
Swyper has joined #ruby
20:28
<
phaul >
as opposed to like exponentially
20:28
weird_error has joined #ruby
20:29
<
comet23 >
i wish there was something that could test that and tell you what kind of algorithm you wrote
20:29
<
phaul >
O n just means n times bigger input -> roughly n times more time required
20:30
Swyper has quit [Remote host closed the connection]
20:31
<
phaul >
comet23: there is a pretty unfortunate theorem, that proves that a computer program cannot decide of an other computer program in finite time if it finishes or not...
20:31
<
phaul >
called the halting problem
20:34
dviola has joined #ruby
20:34
fphilipe_ has joined #ruby
20:34
doodleb72 has quit [Ping timeout: 258 seconds]
20:36
schne1der has joined #ruby
20:36
doodlebug has joined #ruby
20:39
fphilipe_ has quit [Ping timeout: 252 seconds]
20:40
mniip has quit [Quit: This page is intentionally left blank.]
20:41
mniip has joined #ruby
20:42
weird_error has quit [Quit: weird_error]
20:43
esp32_prog has joined #ruby
20:43
houhoulis has quit [Remote host closed the connection]
20:48
esp32_prog has quit [Ping timeout: 248 seconds]
21:01
Xeago_ has joined #ruby
21:03
Xeago has quit [Ping timeout: 246 seconds]
21:03
Xeago_ is now known as Xeago
21:05
fphilipe_ has joined #ruby
21:07
Swyper has joined #ruby
21:07
hightower2 has joined #ruby
21:15
paprika has joined #ruby
21:17
hightower2 has quit [Changing host]
21:17
hightower2 has joined #ruby
21:19
Swyper has quit [Remote host closed the connection]
21:19
paprika has quit [Ping timeout: 256 seconds]
21:19
ruby-lang027 has joined #ruby
21:20
morn_d has joined #ruby
21:20
morn_d has left #ruby [#ruby]
21:21
Swyper has joined #ruby
21:24
ruby-lang027 has quit [Ping timeout: 256 seconds]
21:25
Swyper has quit [Remote host closed the connection]
21:25
Swyper has joined #ruby
21:25
dviola has quit [Quit: WeeChat 2.4]
21:26
paprika has joined #ruby
21:28
Swyper has quit [Remote host closed the connection]
21:29
<
paprika >
hi, curious i read godot is looking to support haxe lang, i was wondering since there is a ruby to haxe compiler could we (though in round about way) use ruby with godot engine once they support haxe
21:37
paprika has joined #ruby
21:39
paprika has quit [Client Quit]
21:39
reber_ has quit [Read error: Connection reset by peer]
21:40
fphilipe_ has quit [Ping timeout: 250 seconds]
21:41
hightower2 has quit [Ping timeout: 258 seconds]
21:45
leitz has joined #ruby
21:47
moei has quit [Quit: Leaving...]
21:57
Swyper has joined #ruby
21:58
Swyper has quit [Remote host closed the connection]
21:59
graft has quit [Ping timeout: 246 seconds]
22:21
yasumi2136 has quit [Remote host closed the connection]
22:22
yasumi2136 has joined #ruby
22:22
Swyper has joined #ruby
22:27
Swyper has quit [Remote host closed the connection]
22:29
Swyper has joined #ruby
22:31
esp32_prog has joined #ruby
22:32
Swyper has quit [Remote host closed the connection]
22:33
Swyper has joined #ruby
22:33
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:36
comet23 has quit [Quit: Connection closed for inactivity]
22:36
esp32_prog has quit [Ping timeout: 258 seconds]
22:36
fphilipe_ has joined #ruby
22:41
Swyper has quit [Remote host closed the connection]
22:43
armyriad has quit [Quit: Leaving]
22:46
weird_error has joined #ruby
22:47
weird_error has quit [Client Quit]
22:55
schne1der has quit [Ping timeout: 272 seconds]
22:57
dviola has joined #ruby
23:01
xco has quit [Quit: xco]
23:01
xco has joined #ruby
23:01
xco has quit [Client Quit]
23:03
RiPuk has quit [Ping timeout: 246 seconds]
23:03
fphilipe has joined #ruby
23:04
dviola has quit [Quit: WeeChat 2.4]
23:06
fphilipe_ has quit [Ping timeout: 252 seconds]
23:07
galaxie has quit [Ping timeout: 256 seconds]
23:07
galaxie_ has joined #ruby
23:11
fphilipe has quit [Ping timeout: 252 seconds]
23:12
AJA4351 has joined #ruby
23:15
AJA4350 has quit [Ping timeout: 258 seconds]
23:15
AJA4351 is now known as AJA4350
23:19
armyriad has joined #ruby
23:19
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:23
haxx0r has quit [Remote host closed the connection]
23:24
matti_ has quit [Quit: Reconnecting]
23:24
matti has joined #ruby
23:24
matti has joined #ruby
23:24
matti has quit [Changing host]
23:26
yasumi2136 has quit [Quit: Konversation terminated!]
23:28
Swyper has joined #ruby
23:34
laaron has joined #ruby
23:35
AJA4350 has quit [Quit: AJA4350]
23:36
Swyper has quit [Remote host closed the connection]
23:39
Swyper has joined #ruby
23:41
Swyper has quit [Remote host closed the connection]
23:42
bambanx has joined #ruby
23:42
morozovm has joined #ruby
23:43
morozovm has quit [Remote host closed the connection]
23:44
sameerynho has quit [Ping timeout: 245 seconds]
23:45
bambanx has quit [Client Quit]
23:45
bambanx has joined #ruby
23:46
Swyper has joined #ruby
23:48
Swyper has quit [Remote host closed the connection]
23:49
Swyper has joined #ruby
23:50
Swyper has quit [Remote host closed the connection]
23:54
armyriad has quit [Ping timeout: 272 seconds]
23:54
teeigeryuh has joined #ruby
23:59
orbyt_ has joined #ruby
23:59
leitz has quit [Quit: Leaving]