Case insensitive
Case sensitive
search of the:
complete logs
last year
last 6 months
last 3 months
last month
last 2 weeks
last week
for:
code logs
->
2024
-> Sun, 08 Sep 2024
< code.20240907.log
-
code.20240909.log >
--- Log opened Sun Sep 08 00:00:16 2024
00:48
Burbesk is now known as Kizor
00:49
Gregor is now known as Vornicus
00:52
Torrac is now known as macdjord
01:18
Vornicus [Vorn@Nightstar-8k6f0b.res.spectrum.com] has quit [Connection closed]
02:07
<
@celticminstrel
>
Is there a common name for this function?
02:07
<
@celticminstrel
>
(list, ratio) => list[round(list.length * clamp(ratio, 0.0, 1.0))]
02:07
<
@celticminstrel
>
(That's pseudo-code FTR.)
02:11
<
&ToxicFrog
>
It's a reasonably common thing to do but I don't know if there's a common name for it.
03:03
<
@celticminstrel
>
That's kind of surprising. Surely people have named the function before.
03:30
<
&McMartin
>
It's two things at once: lerping and indexing
03:32
McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has quit [[NS] Quit: Lost terminal]
03:32
<
@celticminstrel
>
Okay, so it could alternatively be written as (list, ratio) => list[lerp(0, list.length -1, ratio)]
03:39
McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has joined #code
03:39
mode/#code [+ao McMartin McMartin] by ChanServ
03:42
Degi [Degi@Nightstar-snsfrb.pool.telefonica.de] has quit [Ping timeout: 121 seconds]
03:43
Degi [Degi@Nightstar-jli39r.pool.telefonica.de] has joined #code
04:31
Pinkhair [Pink@Nightstar-eu7128.sub-75-222-41.myvzw.com] has joined #code
04:34
Pink [Pink@Nightstar-eu7128.sub-75-222-41.myvzw.com] has quit [Ping timeout: 121 seconds]
10:28
abudhabi [abudhabi@Nightstar-2q5ecs.supernova.orange.pl] has quit [[NS] Quit: Leaving]
10:34
abudhabi [abudhabi@Nightstar-2q5ecs.supernova.orange.pl] has joined #code
11:37
Emmy [Emmy@Nightstar-qo29c7.fixed.kpn.net] has joined #code
13:10
Kimo|autojoin [Kindamoody@Nightstar-qg5daj.tbcn.telia.com] has joined #code
13:10
mode/#code [+o Kimo|autojoin] by ChanServ
13:10
Kimo|autojoin is now known as Kindamoody
14:50
Vornicus [Vorn@Nightstar-8k6f0b.res.spectrum.com] has joined #code
14:50
mode/#code [+qo Vornicus Vornicus] by ChanServ
15:12
Kindamoody [Kindamoody@Nightstar-qg5daj.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
19:19
bluefoxx_ [fuzzylombax@Nightstar-pcq9hr.bchsia.telus.net] has quit [Ping timeout: 121 seconds]
22:46
macd [macdjord@Nightstar-0qvhp2.dsl.bell.ca] has joined #code
22:46
mode/#code [+o macd] by ChanServ
22:47
macdjord [macdjord@Nightstar-hog.ac2.14.74.IP] has quit [Ping timeout: 121 seconds]
22:52
Vornicus [Vorn@Nightstar-8k6f0b.res.spectrum.com] has quit [Connection closed]
23:31
Emmy [Emmy@Nightstar-qo29c7.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Mon Sep 09 00:00:17 2024
code logs
->
2024
-> Sun, 08 Sep 2024
< code.20240907.log
-
code.20240909.log >
Case insensitive
Case sensitive
search of the:
complete logs
last year
last 6 months
last 3 months
last month
last 2 weeks
last week
for:
[
Latest log file
]