00:35 <+bridge> [ddnet] Do you understand groups? 00:35 <+bridge> [ddnet] Aggregate functions operate of GROUPS of rows, instead of just rows 01:42 <+bridge> [ddnet] Just changed my email to a chinese provider from outlook. :justatest: 01:42 <+bridge> [ddnet] I changed from gmail to outlook like three years ago 01:43 <+bridge> [ddnet] :justatest: now i realise there are exactly 0 good android email apps in china. 01:43 <+bridge> [ddnet] I would use spark but google's notification doesn't work all the time here 02:07 <+bridge> [ddnet] k9 mail doesn't work for you? 06:11 <+bridge> [ddnet] Tether USDT is rendering a promo for new investors, the first 20 people to chat her will receive payment of $299 with the minimum amount of $50. 06:11 <+bridge> [ddnet] 06:11 <+bridge> [ddnet] Join the company now by clicking on the links below and getting started by asking how? 06:11 <+bridge> [ddnet] ⬇️⬇️⬇️ 06:11 <+bridge> [ddnet] 06:11 <+bridge> [ddnet] 06:11 <+bridge> [ddnet] https://t.me/+YOiuENDgjZcwMGNk 08:20 <+bridge> [ddnet] the R^2 on my huffman benchmark for compression is incredibly low but on decompression is close to 1 08:20 <+bridge> [ddnet] idk how to get it higher so its more accurate 08:20 <+bridge> [ddnet] :fuckyousnail: 08:21 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035075686303547402/unknown.png 08:21 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035075686869766174/unknown.png 08:21 <+bridge> [ddnet] The thing is, i understand what they do, like avg, sum, count, min and max, i know what they are doing but finding the right code for them is hard for me. It's probably just learning by doing.. but it's frustrating :/ 09:58 <+bridge> [ddnet] https://www.cybertec-postgresql.com/en/multiranges-in-postgresql-14/ 09:58 <+bridge> [ddnet] new 11:24 <+bridge> [ddnet] Right code? Can you give an example thay confuses you? Maybe I can figure out what you are getting stuck on. Aggregates are pretty simple except for very few caveats 12:06 <+bridge> [ddnet] I will, when i get home 12:20 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035135983856910396/example.png 12:23 <+bridge> [ddnet] Updated teemasterparser 12:24 <+bridge> [ddnet] Now its a cli tool 12:24 <+bridge> [ddnet] Ill improve it with more stats 13:20 <+bridge> [ddnet] is this the map coke made that everyones talks about 13:30 <+bridge> [ddnet] Any rust pros, what does it even mean? 😭 😭😭 😭 13:30 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035153518274814054/unknown.png 13:32 <+bridge> [ddnet] https://t.me/+PEc8FSRwFiFiYzc0 13:32 <+bridge> [ddnet] Looks like one too many square brackets at the start, though idk the context at all 13:33 <+bridge> [ddnet] `tiles[i][j]` instead of `tiles[[i][j]]` 13:40 <+bridge> [ddnet] nah, its ndarray 13:40 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035156150758416384/unknown.png 13:42 <+bridge> [ddnet] `result` is `Vec>`, `tiles` is `Array2`, im transmutating `bool` into `u8` 13:42 <+bridge> [ddnet] but even if i use simple `u8` number, it will give same error 13:49 <+bridge> [ddnet] oh, wait, i actually need to use `tiles[i,j]` instead of `tiles[[i][j]]` 13:49 <+bridge> [ddnet] oopsie doopsie 😅 13:49 <+bridge> [ddnet] oh, wait, i actually need to use `tiles[[i,j]]` instead of `tiles[[i][j]]` 13:50 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035158661246492732/unknown.png 13:51 <+bridge> [ddnet] I recommend the itertools crate too 13:51 <+bridge> [ddnet] Magick 14:29 <+bridge> [ddnet] Yeah, I didn't know what the type of tiles was, so just made a random guess 😄 15:00 <+bridge> [ddnet] Wrapping a reader that has its datq in memory around a buffered reader makes sense? 15:02 <+bridge> [ddnet] Probs not 16:08 <+bridge> [ddnet] @heinrich5991 https://doc.rust-lang.org/std/cmp/struct.Reverse.html 16:08 <+bridge> [ddnet] did you knwo about this? 16:08 <+bridge> [ddnet] its awesome 16:08 <+bridge> [ddnet] ```rust 16:08 <+bridge> [ddnet] let mut total_game_types: Vec<(String, usize)> = total_game_types.into_iter().collect(); 16:08 <+bridge> [ddnet] total_game_types.sort_by_key(|x| Reverse(x.1)); 16:08 <+bridge> [ddnet] ``` 16:09 <+bridge> [ddnet] if u want to sort but in the other order, simply wrap it around that 16:27 <+bridge> [ddnet] ye, seen it 16:32 <+bridge> [ddnet] https://raw.githubusercontent.com/edg-l/teemasterparser/master/example.svg 16:32 <+bridge> [ddnet] discord cant display svg shit 16:33 <+bridge> [ddnet] need "players playing multeasymap" 16:34 <+bridge> [ddnet] 😛 16:34 <+bridge> [ddnet] but nice graph 16:34 <+bridge> [ddnet] how did you generate it? 16:35 <+bridge> [ddnet] Parsing the master srv data 16:35 <+bridge> [ddnet] https://github.com/edg-l/ddnet-map-gen 16:36 <+bridge> [ddnet] Oops wrong link 16:36 <+bridge> [ddnet] https://github.com/edg-l/teemasterparser 16:37 <+bridge> [ddnet] ```toml 16:37 <+bridge> [ddnet] [build] 16:37 <+bridge> [ddnet] rustflags = ["-C", "target-cpu=native"] 16:37 <+bridge> [ddnet] ``` 16:37 <+bridge> [ddnet] 😄 16:37 <+bridge> [ddnet] Yeah thats old 16:37 <+bridge> [ddnet] Not required anymore xd 16:37 <+bridge> [ddnet] that probably belongs into your user config instead 16:38 <+bridge> [ddnet] ~/.cargo/config.toml 16:38 <+bridge> [ddnet] Parsing things in a streaming way is nice, but some buffering helps great to reduce time, i found a optimization where each json inside the file went from 5ms to 1ms by allocating a buffer from the known size stored in the tar metadata 16:38 <+bridge> [ddnet] 1ms on a not so good cpu 16:38 <+bridge> [ddnet] ah nice 🙂 16:38 <+bridge> [ddnet] @heinrich5991 nah, its cuz i used simd_json before 16:38 <+bridge> [ddnet] Xd 16:40 <+bridge> [ddnet] does it distinguish between 0.6 and 0.7 servers btw? 16:40 <+bridge> [ddnet] probably not 16:40 <+bridge> [ddnet] Not yet 16:40 <+bridge> [ddnet] Also i found some servers dont even have a max_clients field 16:40 <+bridge> [ddnet] Gotta be rly careful parsing 16:41 <+bridge> [ddnet] those don't get shown in the client, I think 16:41 <+bridge> [ddnet] are you sure they exist? 16:41 <+bridge> [ddnet] Well my json parser sure said so 16:41 <+bridge> [ddnet] ah. you could probably treat them as invalid 16:43 <+bridge> [ddnet] Im still amazed how well zstd compressed those json files 16:43 <+bridge> [ddnet] From 9mb to 8gb iirc 17:56 <+bridge> [ddnet] oh yeah, I ran into that too, only started recently 18:11 <+bridge> [ddnet] "How about of having [...] teeworlds with client generated world where everyone would play" - allu2, 2015 18:12 <+bridge> [ddnet] make ai generated map with a seed 18:12 <+bridge> [ddnet] could have a daily changing world 18:14 <+bridge> [ddnet] could deliver tons of inspiration 18:17 <+bridge> [ddnet] or make vote option for generate new world 18:23 <+bridge> [ddnet] Was confused to see my own link on Hacker News: https://news.ycombinator.com/item?id=33358486 😄 18:25 <+bridge> [ddnet] 331 continuously open connections at 1% CPU, nice 18:26 <+bridge> [ddnet] lol cool 18:30 <+bridge> [ddnet] Just when DDNet was getting close to overtaking time.gif in github stars 18:30 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035229117509029959/Screenshot_2022-10-27_at_18.30.45.png 19:14 <+bridge> [ddnet] deen who doesn’t know GitHub has a follow feature casually flexing Stars hehe 20:08 <+bridge> [ddnet] thats a cool graph theme 20:25 <+bridge> [ddnet] https://t.me/+PEc8FSRwFiFiYzc0 20:25 <+bridge> [ddnet] Github stars just measure how useful your repo is to other developers sadly 20:25 <+bridge> [ddnet] Of course, non-developers rarely use Github 20:27 <+bridge> [ddnet] Yeah 20:30 <+bridge> [ddnet] Is quite amazing the ratio of contributors to stars is about 1:2 I wonder if ddnet has the most contributors of any open source game 20:58 <+bridge> [ddnet] i think when the others opacity changes, strong/weak indicators opacity should also change 20:58 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035266219302998106/unknown.png 21:17 <+bridge> [ddnet] iNtErSTinG 21:17 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035271014424256643/dfngSpikes.png 21:17 <+bridge> [ddnet] Is this a good place for the tiles? 21:17 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035271082397147196/DDNetSpikes.png 21:18 <+bridge> [ddnet] I also thought of using it as a seperate file. Like this is supposed to be for DDNet/DDRace tiles only and mods should have extra tilesets? 21:26 <+bridge> [ddnet] On second thought I don't think that would be easily possible or possible at all 21:33 <+bridge> [ddnet] https://t.me/+WCCmjeeBfKswMjY0 21:37 <+bridge> [ddnet] On second thought I don't think that would be easily possible or possible at all (the second part not the first part) 22:02 <+bridge> [ddnet] @Ryozuki do you have any good db website to search for helmet & weapons shops 22:02 <+bridge> [ddnet] (elite) 22:03 <+bridge> [ddnet] the one i sent u 22:04 <+bridge> [ddnet] https://inara.cz/elite/outfitting/#tab_outfittingequip 22:07 <+bridge> [ddnet] ok ok 22:08 <+bridge> [ddnet] is that some kind of xkcd theme plot? 22:08 <+bridge> [ddnet] that misleading right y-scale 22:13 <+bridge> [ddnet] ? 22:14 <+bridge> [ddnet] @ReiTW https://github.com/EDCD/EDMarketConnector 22:14 <+bridge> [ddnet] i suggest u use this 22:14 <+bridge> [ddnet] if u sync it with inara 22:14 <+bridge> [ddnet] it updates ur location on inara 22:14 <+bridge> [ddnet] so all searches are relative to ur location 22:14 <+bridge> [ddnet] otherwise u gotta do it manually 22:14 <+bridge> [ddnet] and u also contribute to updating the prices on the db 22:16 <+bridge> [ddnet] (it just parses logs the game outputs, which are quite detailed btw) 22:16 <+bridge> [ddnet] oh nvm 22:16 <+bridge> [ddnet] > This app uses the “Companion” web API that Frontier originally supplied for their Elite Dangerous iOS app and now support for third-party apps. If that API ceases to function in the future then much of this application's functionality will be curtailed (although it could still utilise Journal files). 22:18 <+bridge> [ddnet] some points look very far from each other while in reality there's less than 3% variation due to autoscaling 22:19 <+bridge> [ddnet] which is why its misleading 22:19 <+bridge> [ddnet] but it makes sense 22:19 <+bridge> [ddnet] it does, but it's still misleading 22:19 <+bridge> [ddnet] hmm well if u dont read the axes before nothing makes sense xd 22:19 <+bridge> [ddnet] people don't pay attention to those things unfortunately 22:19 <+bridge> [ddnet] but the point of that graph is to see samples that look outside the norm 22:19 <+bridge> [ddnet] you gotta account also for the visual impact 22:20 <+bridge> [ddnet] i mean 22:20 <+bridge> [ddnet] its pretty far 22:20 <+bridge> [ddnet] given that we deal with ms 22:20 <+bridge> [ddnet] i think the scale makes sense 22:21 <+bridge> [ddnet] anyway that benc has a rly low R^2 22:21 <+bridge> [ddnet] and idk how to make it bigger 22:21 <+bridge> [ddnet] from that i read a R^2 closer to 1 means more accurate 22:21 <+bridge> [ddnet] and its 0.002 22:21 <+bridge> [ddnet] xd 22:22 <+bridge> [ddnet] https://en.wikipedia.org/wiki/Coefficient_of_determination 22:25 <+bridge> [ddnet] i wanna write a blog post for the huffman crate i made 22:25 <+bridge> [ddnet] maybe this weekend 22:26 <+bridge> [ddnet] 22:27 <+bridge> [ddnet] No ddnet is not the open source game with the most contributors. For example minetest has 600 contributors but it did surpass supertuxcart! 22:27 <+bridge> [ddnet] (@Tater) 22:28 <+bridge> [ddnet] oh nice 22:31 <+bridge> [ddnet] Well wait that repo is also kinda claiming to be a game engine. So it might not be a fair comparison. 22:33 <+bridge> [ddnet] Ah well there is osu haha https://github.com/ppy/osu 22:34 <+bridge> [ddnet] osu best aimtrainer! 22:34 <+bridge> [ddnet] Just a few more contributors needed to get ddnet as popular as osu…. Wait what? \:D 22:59 <+bridge> [ddnet] uh no? you got a straight line, so R^2 is really close to 1, or you're talking about something else that is not the R2 of the linear regression you're trying to fit to data 22:59 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035296796718665759/unknown.png 22:59 <+bridge> [ddnet] 0.00003 23:00 <+bridge> [ddnet] idk xd 23:01 <+bridge> [ddnet] how do you compute it? 23:01 <+bridge> [ddnet] i think maybe i should make the input smaller 23:02 <+bridge> [ddnet] criterion does x iterations based on a estimate of how much iterations it can do in x time 23:02 <+bridge> [ddnet] maybe if more iterations its more accurate 23:02 <+bridge> [ddnet] no, it seems to show something completely different from what a 0 R2 would be 23:02 <+bridge> [ddnet] https://github.com/edg-l/rustyman/blob/master/benches/benchmark.rs 23:03 <+bridge> [ddnet] sorry, i don't speak rust (yet) 23:03 <+bridge> [ddnet] it calles compress a lot of times 23:03 <+bridge> [ddnet] idk criterion does all 23:03 <+bridge> [ddnet] https://github.com/bheisler/criterion.rs 23:04 <+bridge> [ddnet] can't you compute it yourself? 23:04 <+bridge> [ddnet] no 23:04 <+bridge> [ddnet] im a lazy programmer 23:04 <+bridge> [ddnet] and this tool is used by everyone 23:04 <+bridge> [ddnet] just compute least square 23:04 <+bridge> [ddnet] anyway i just wanted a overview xd 23:05 <+bridge> [ddnet] R^2 is a measure of closeness between your retrofitted model and real data 23:05 <+bridge> [ddnet] what kind of model did you retrofit? 23:05 <+bridge> [ddnet] criterion does it 23:05 <+bridge> [ddnet] it warms up for 3 seconds 23:05 <+bridge> [ddnet] you don't answer my question 23:05 <+bridge> [ddnet] iguess it gets the estimate from that 23:05 <+bridge> [ddnet] i didnt do anything thats the answer xd 23:06 <+bridge> [ddnet] > So, without further ado, let's start with a general overview. Each benchmark in Criterion.rs goes through four phases: 23:06 <+bridge> [ddnet] > 23:06 <+bridge> [ddnet] > Warmup - The routine is executed repeatedly to fill the CPU and OS caches and (if applicable) give the JIT time to compile the code 23:06 <+bridge> [ddnet] > Measurement - The routine is executed repeatedly and the execution times are recorded 23:06 <+bridge> [ddnet] > Analysis - The recorded samples are analyzed and distilled into meaningful statistics, which are then reported to the user 23:06 <+bridge> [ddnet] > Comparison - The performance of the current run is compared to the stored data from the last run to determine whether it has changed, and if so by how much 23:07 <+bridge> [ddnet] > The warmup period is quite simple. The routine is executed once, then twice, four times and so on until the total accumulated execution time is greater than the configured warm up time. The number of iterations that were completed during this period is recorded, along with the elapsed time. 23:07 <+bridge> [ddnet] https://bheisler.github.io/criterion.rs/book/analysis.html 23:07 <+bridge> [ddnet] so either you don't give him proper input data, or its doing something wrong there 23:09 <+bridge> [ddnet] okay, i think the text is just wrong 23:09 <+bridge> [ddnet] what they call R^2 is actually the director coefficient a 23:10 <+bridge> [ddnet] can you give him a linear time function with a sleep 2x ms only ? 23:10 <+bridge> [ddnet] r^2 will then be 2 23:10 <+bridge> [ddnet] so the lib is wrong 23:10 <+bridge> [ddnet] (only in the labeling part) 23:11 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035299618860318760/unknown.png 23:11 <+bridge> [ddnet] this is the decompress 23:11 <+bridge> [ddnet] it's a straight line, R^2 should be close to 1 23:12 <+bridge> [ddnet] as i said, i think what's R^2 in your screenshot is _a_, the director coefficient in _y=ax+b_ 23:12 <+bridge> [ddnet] well, in second screenshot, you have a slope output 23:12 <+bridge> [ddnet] not in the first one 23:12 <+bridge> [ddnet] yeah 23:12 <+bridge> [ddnet] i think it does that when r is closer to 1 23:13 <+bridge> [ddnet] slope is 0 in the first one (what you label as R2) 23:13 <+bridge> [ddnet] but idk 23:13 <+bridge> [ddnet] okay, in the 2nd screenshot, slope looks correct (just look x input and multiply it by slope and you find corresponding y which is on the blue line) 23:14 <+bridge> [ddnet] so i guess r^2 is correct in 2nd screenshot 23:14 <+bridge> [ddnet] and 1st screenshot r2 is actually slope, hence 0 as it's a flat line 23:16 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1035300932507947078/unknown.png 23:16 <+bridge> [ddnet] now it shows correct xd 23:16 <+bridge> [ddnet] it might have been a bad bench 23:16 <+bridge> [ddnet] idk 23:39 <+bridge> [ddnet] rust looks fun, but pnet raw socket looks scary💀 23:52 <+bridge> [ddnet] https://t.me/+PEc8FSRwFiFiYzc0 23:54 <+bridge> [ddnet] rust looks like you're coding a fusion reactor