15:55 PM
lusciouslover has quit
2025-09-24 26720, 2025
15:56 PM
lusciouslover joined the channel
2025-09-24 26737, 2025
16:19 PM
petitminion joined the channel
2025-09-24 26726, 2025
16:21 PM
petitminion has quit
2025-09-24 26725, 2025
16:36 PM
worldlooksblack has quit
2025-09-24 26715, 2025
18:19 PM
julian45[m] has quit
2025-09-24 26703, 2025
18:44 PM
dseomn has quit
2025-09-24 26725, 2025
18:44 PM
dseomn joined the channel
2025-09-24 26714, 2025
18:59 PM
dseomn has quit
2025-09-24 26708, 2025
19:08 PM
dseomn joined the channel
2025-09-24 26750, 2025
20:31 PM
worldlooksblack joined the channel
2025-09-24 26727, 2025
20:32 PM
worldlooksblack has quit
2025-09-24 26727, 2025
20:32 PM
worldlooksblack joined the channel
2025-09-24 26736, 2025
20:33 PM
worldlooksblack has quit
2025-09-24 26752, 2025
20:33 PM
worldlooksblack joined the channel
2025-09-24 26752, 2025
20:33 PM
worldlooksblack has quit
2025-09-24 26752, 2025
20:33 PM
worldlooksblack joined the channel
2025-09-24 26709, 2025
20:46 PM
v6lur has quit
2025-09-24 26744, 2025
20:58 PM
mayhem[m]
autumn weather has arrived here too. high of 19C tomorrow.
2025-09-24 26736, 2025
21:04 PM
tux0r
57°F tomorrow in germany
2025-09-24 26757, 2025
21:04 PM
tux0r
which is ok, no rain probably
2025-09-24 26758, 2025
21:04 PM
mayhem[m]
Freedom units in germany???
2025-09-24 26757, 2025
21:05 PM
tux0r
i upgraded to fahrenheit four years ago. i'm not a bucket with boiling water at 1018 hPa, fahrenheit makes much more sense for outside temperatures
2025-09-24 26732, 2025
21:06 PM
tux0r
everything else is "water hard? cold. water boiling? hot."
2025-09-24 26752, 2025
21:06 PM
tux0r
no idea why any sane person would use celsius. for what? fahrenheit WAS german!
2025-09-24 26757, 2025
21:06 PM
tux0r
but no, most of germany still uses C
2025-09-24 26701, 2025
21:07 PM
tux0r shrugs
2025-09-24 26751, 2025
21:07 PM
tux0r
("but it's not metric!", i hear my fellow germans cry. now is a temperature scale ever "metric"? IMO: no. but enough of this.)
2025-09-24 26700, 2025
21:20 PM
petitminion joined the channel
2025-09-24 26745, 2025
21:29 PM
petitminion has quit
2025-09-24 26734, 2025
21:51 PM
lusciouslover has quit
2025-09-24 26749, 2025
21:51 PM
lusciouslover joined the channel
2025-09-24 26754, 2025
22:03 PM
_BrainzGit
2025-09-24 26757, 2025
22:28 PM
Jade[m] joined the channel
2025-09-24 26757, 2025
22:28 PM
Jade[m]
Idk 0 for freezing and 100 for boiling makes sense to me
2025-09-24 26727, 2025
22:29 PM
Jade[m]
32 for freezing and 212 for boiling does not
2025-09-24 26744, 2025
22:29 PM
tux0r
it's not 0 nor 100, not by definition, see ITS-90
2025-09-24 26707, 2025
22:30 PM
tux0r
and even if you round it, you do NOT live at 1018 hpa
2025-09-24 26738, 2025
22:31 PM
Jade[m]
Generally it is what we call "close enough"
2025-09-24 26751, 2025
22:31 PM
Jade[m]
If it is -5 outside, I know there is ice
2025-09-24 26753, 2025
22:31 PM
tux0r
and honestly, *i* am not freezing at 0 and boiling at 100. i am cold or warm on a scale from 0% ("cold") to 100% ("hot") and that's °F :P
2025-09-24 26706, 2025
22:32 PM
Jade[m]
If it is 100 outside, I know I am dead
2025-09-24 26738, 2025
22:32 PM
tux0r
if it's 100 outside, it's t-shirt weather. if it's 50 outside, it's hoodie weather.
2025-09-24 26703, 2025
22:33 PM
tux0r
why do you think a can of water is the most relevant temperature thing?
2025-09-24 26742, 2025
22:33 PM
Jade[m]
I think the actual temperature is pretty irrelevant to how hot I feel compared to, for example, humidity
2025-09-24 26702, 2025
22:34 PM
Jade[m]
And knowing when stuff is gonna freeze is a more useful reference point
2025-09-24 26734, 2025
22:34 PM
tux0r
stuff is gonne freeze "somewhere around 3°C"
2025-09-24 26739, 2025
22:34 PM
tux0r
in europe, at least
2025-09-24 26754, 2025
22:34 PM
tux0r
so much more useful than "32°F"!
2025-09-24 26718, 2025
22:35 PM
Jade[m]
tux0r: Well, usually a bit lower than that because sunlight
2025-09-24 26734, 2025
22:35 PM
Jade[m]
tux0r: See 32f tells me nothing lol
2025-09-24 26712, 2025
22:36 PM
tux0r
"0c" doesn't tell you anything either, because exactly nothing happens at 0c where you live, wherever that is
2025-09-24 26733, 2025
22:36 PM
tux0r
i don't plan to convert you though, so please enjoy your weird scale, thinking it was more useful than my weird scale ^^
2025-09-24 26752, 2025
22:37 PM
Jade[m]
tux0r: I don't think it particularly matters that nothing happens at *exactly* 0c because of all the other things that affect conditions, pressure is just the first in a long like of things that make temperature by itself not that useful
2025-09-24 26734, 2025
22:38 PM
tux0r
true, yet you are clinging to one of the several not-that-useful scales, just because i said i use a different not-too-useful scale. why is that?
2025-09-24 26731, 2025
22:40 PM
Jade[m]
Mostly because it's the one I'm used to, and because it approximates something useful
2025-09-24 26746, 2025
22:42 PM
tux0r
ah, habits
2025-09-24 26707, 2025
22:43 PM
tux0r
it took me a few days as well, i admit. ^^
2025-09-24 26705, 2025
22:56 PM
petitminion joined the channel
2025-09-24 26712, 2025
23:17 PM
MonkeyPython joined the channel
2025-09-24 26754, 2025
23:27 PM
petitminion has quit
2025-09-25 26810, 2025
3:34 AM
worldlooksblack has quit
2025-09-25 26846, 2025
3:44 AM
worldlooksblack joined the channel
2025-09-25 26846, 2025
3:44 AM
worldlooksblack has quit
2025-09-25 26846, 2025
3:44 AM
worldlooksblack joined the channel
2025-09-25 26808, 2025
6:01 AM
Maxr1998_ joined the channel
2025-09-25 26810, 2025
6:02 AM
Maxr1998 has quit
2025-09-25 26844, 2025
7:03 AM
SigHunter has quit
2025-09-25 26824, 2025
7:06 AM
SigHunter joined the channel
2025-09-25 26825, 2025
7:52 AM
SigHunter has quit
2025-09-25 26834, 2025
7:53 AM
SigHunter joined the channel
2025-09-25 26826, 2025
9:12 AM
wargreen_ has quit
2025-09-25 26839, 2025
9:51 AM
reosarevok[m]
Argh, regexes. Halp?
2025-09-25 26817, 2025
9:52 AM
reosarevok[m]
I currently have this in my parse date code
2025-09-25 26820, 2025
9:52 AM
reosarevok[m]
const ymdRegex = /^\W*([0-9]{4})(?:\W+(0?[1-9]|1[0-2])(?:\W+(0?[1-9]|[12][0-9]|3[01]))?)?\W*$/;
2025-09-25 26837, 2025
9:52 AM
reosarevok[m]
I wanted it to also support parsing ????-??-22 or whatnot
2025-09-25 26847, 2025
9:52 AM
reosarevok[m]
So I thought I'd do
2025-09-25 26850, 2025
9:52 AM
reosarevok[m]
^\W*([0-9]{4}|\?{4})(?:\W+(0?[1-9]|1[0-2]|\?{2})(?:\W+(0?[1-9]|[12][0-9]|3[01]|\?{2}))?)?\W*$
2025-09-25 26822, 2025
9:53 AM
reosarevok[m]
But if matching that with 1999-??-09 it still gives me "match 1 1999, match 2 09" and skips the ?? entirely
2025-09-25 26827, 2025
9:53 AM
reosarevok[m]
Am I being an idiot?
2025-09-25 26835, 2025
10:00 AM
kellnerd[m]
2025-09-25 26830, 2025
10:01 AM
kellnerd[m]
Ah, there is a path which allows "-??-" as a non-word seprator between year and "month".
2025-09-25 26812, 2025
10:02 AM
kellnerd[m]
So you have to exclude "?" from "\W" or use a more specific separator pattern.
2025-09-25 26803, 2025
10:03 AM
kellnerd[m]
* So you have to exclude "?" from "\\W" or use a more specific separator pattern reosarevok.
2025-09-25 26855, 2025
10:05 AM
reosarevok[m]
Oh, thanks, I'll try that
2025-09-25 26810, 2025
10:23 AM
mayhem has quit
2025-09-25 26838, 2025
10:23 AM
irimi1 has quit
2025-09-25 26842, 2025
10:23 AM
kilos_ has quit
2025-09-25 26845, 2025
10:23 AM
kuno has quit
2025-09-25 26847, 2025
10:23 AM
irimi1 joined the channel
2025-09-25 26850, 2025
10:23 AM
RetroPunk has quit
2025-09-25 26854, 2025
10:23 AM
kilos_ joined the channel
2025-09-25 26856, 2025
10:23 AM
kuno joined the channel
2025-09-25 26859, 2025
10:23 AM
alastairp has quit
2025-09-25 26804, 2025
10:24 AM
rozlav82 has quit
2025-09-25 26804, 2025
10:24 AM
mayhem joined the channel
2025-09-25 26810, 2025
10:24 AM
alastairp joined the channel
2025-09-25 26830, 2025
10:24 AM
ursa-major has quit
2025-09-25 26840, 2025
10:24 AM
sbaildon has quit
2025-09-25 26847, 2025
10:24 AM
nawcom has quit
2025-09-25 26805, 2025
10:25 AM
nawcom joined the channel
2025-09-25 26823, 2025
10:25 AM
sbaildon joined the channel
2025-09-25 26834, 2025
10:26 AM
rozlav82 joined the channel
2025-09-25 26843, 2025
10:27 AM
RetroPunk joined the channel
2025-09-25 26843, 2025
10:27 AM
ursa-major joined the channel
2025-09-25 26841, 2025
11:21 AM
SothoTalKer has quit
2025-09-25 26848, 2025
11:23 AM
SothoTalKer joined the channel
2025-09-25 26803, 2025
11:24 AM
kilos_ has quit
2025-09-25 26815, 2025
11:24 AM
kilos_ joined the channel
2025-09-25 26839, 2025
11:24 AM
rozlav82 has quit
2025-09-25 26848, 2025
11:24 AM
FichteFoll has quit
2025-09-25 26811, 2025
11:27 AM
rozlav82 joined the channel
2025-09-25 26827, 2025
11:36 AM
FichteFoll joined the channel
2025-09-25 26855, 2025
11:49 AM
monkey[m] joined the channel
2025-09-25 26856, 2025
11:49 AM
monkey[m]
kellnerd: Do you have matrix set up to ping you every time the word "regex" appears? :D
2025-09-25 26845, 2025
12:40 PM
SigHunter has quit
2025-09-25 26846, 2025
12:43 PM
SigHunter joined the channel
2025-09-25 26824, 2025
13:06 PM
kellnerd[m]
monkey: I only saw the message by chance. But I do receive pings for Harmony and a couple of other things.
2025-09-25 26840, 2025
13:06 PM
reosarevok[m]
2025-09-25 26857, 2025
13:06 PM
reosarevok[m]
That works better
2025-09-25 26811, 2025
13:07 PM
reosarevok[m]
It works now with 1999-??-01
2025-09-25 26852, 2025
13:07 PM
reosarevok[m]
But for some reason, it still doesn't work with just ????-01
2025-09-25 26804, 2025
13:08 PM
reosarevok[m]
(it detects 01 as group 1)
2025-09-25 26850, 2025
13:08 PM
reosarevok[m]
Can you see what is going wrong?
regexr.com does detect ???? as group 1 with the same regex 🫠
2025-09-25 26828, 2025
13:15 PM
kellnerd[m]
Sorry, but I don't see why that shouldn't work. I'll test once I'm back at a computer.
2025-09-25 26832, 2025
13:16 PM
kellnerd[m]
It's a JavaScript RegExp on the frontend, right?
2025-09-25 26827, 2025
13:17 PM
lusciouslover has quit
2025-09-25 26829, 2025
13:17 PM
reosarevok[m]
Yeah
2025-09-25 26840, 2025
13:17 PM
reosarevok[m]
Maybe I'm doing something else that is dumb :)
2025-09-25 26851, 2025
13:17 PM
lusciouslover joined the channel
2025-09-25 26831, 2025
13:18 PM
reosarevok[m]
Your tool shows "3 times" instead of 4 btw, but that seems unrelated :)
2025-09-25 26811, 2025
13:20 PM
kellnerd[m]
Oh, that's intended by the original author. The loop indicates the repetitions and not the total counts.
2025-09-25 26805, 2025
13:21 PM
reosarevok[m]
Aah, ok
2025-09-25 26826, 2025
13:21 PM
kellnerd[m]
But I agree it's a bit confusing when you are used to the regex notation.
2025-09-25 26842, 2025
13:21 PM
reosarevok[m]
Hmm, funnily ????-01-01 works and detects the three parts
2025-09-25 26855, 2025
13:21 PM
reosarevok[m]
????-01-?? also detects just 01 tho
2025-09-25 26809, 2025
13:22 PM
reosarevok[m]
Ah, regexes, what's not to love
2025-09-25 26801, 2025
13:31 PM
reosarevok[m]
Huh...
2025-09-25 26809, 2025
13:31 PM
reosarevok[m]
????-1 works
2025-09-25 26817, 2025
13:32 PM
reosarevok[m]
but ????-11 does not so it's not the optional 0 either
2025-09-25 26850, 2025
14:31 PM
petitminion joined the channel
2025-09-25 26807, 2025
14:32 PM
_BrainzGit
2025-09-25 26801, 2025
14:34 PM
kellnerd[m]
2025-09-25 26849, 2025
14:34 PM
kellnerd[m]
So whatever is breaking some of them is probably a different step, maybe some automatic input trimming etc?
2025-09-25 26812, 2025
14:35 PM
reosarevok[m]
I guess. I'll check that, thanks
2025-09-25 26828, 2025
14:41 PM
\- has quit
2025-09-25 26827, 2025
15:24 PM
reosarevok[m]
2025-09-25 26809, 2025
15:26 PM
reosarevok[m]
I guess the script in there would actually copy to the .po files all the translations, even the ones that we still do with l_mb_server
2025-09-25 26820, 2025
15:26 PM
reosarevok[m]
* do with `l_mb_server, * l_mb_server`
2025-09-25 26806, 2025
15:27 PM
reosarevok[m]
Any ideas on how to improve that? Or is it fine for now and the unused ones will be dropped later by the usual translation file processes?