00:00 < bridge> > But first, a minute of silence for anyone reading this from a Linux desktop machine. 00:00 < bridge> > 00:00 < bridge> > ... 00:00 < bridge> https://fasterthanli.me/articles/the-bottom-emoji-breaks-rust-analyzer 00:09 < bridge> can something be done about the obnoxious mouse grab 00:10 < bridge> when the game is in windowed mode & the user isn't using the mouse in game (in chat, in console, in menus, w/e), it should not capture the mouse 00:10 < bridge> but it still does 00:10 < bridge> press f1 to workaround 00:19 < bridge> it would be nice if it behaved that way when in chat or menus as well, because there's no difference in intended mouse behavior among those 00:21 < bridge> there's probably an issue about that somewhere 00:21 < bridge> and probably people who will complain if it were changed this way 00:27 < bridge> why on earth would they 00:29 < bridge> i don't see why someone would want their mouse trapped in the game window unless they were using it to play the game 00:42 < bridge> mouse sense changes 00:43 < bridge> does the game have its own cursor movement code for the UI 00:43 < bridge> i would have assumed it just does what the OS does 00:44 < bridge> or do u need raw mouse input on for that 00:44 < bridge> either way i'm not really buying it 09:58 < bridge> https://www.reddit.com/r/linux/comments/11heasp/employee_claims_she_cant_use_microsoft_windows/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button 09:58 < bridge> Gigachad 09:58 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1081501030749057054/Screenshot_2023-03-04-09-58-52-346_com.reddit.frontpage.jpg 09:59 < bridge> :gigachad: 10:02 < bridge> enough internet for today 10:12 < bridge> But the day just started 10:48 <+ChillerDragon> i dont get it is the religion thing a trick to force employers to provide linux or is there an actual religion? xd 10:49 <+ChillerDragon> seems like a cheap trick saying "my religion forces me to do x y z" 10:49 <+ChillerDragon> cant an employer then simply say ok bye? 11:46 < bridge> agreed. i really dislike this “linux culture”, it’s what gives the people who use linux & are passionate about its capabilities a bad rap 11:47 < bridge> unfortunately not 11:47 < bridge> when push comes to shove you can’t fire on the basis of religion (and a few other things), at least here in the united states 11:57 < bridge> no 11:57 < bridge> 🆗 11:57 < bridge> u are just a windows user 11:57 < bridge> i'd say, use linux bcs its better 11:57 < bridge> not bcs u are religious 11:58 < bridge> use linux because its better, it doesnt tie you up, it respects your freedom and rights 11:58 < bridge> but the image was a meme lol 11:58 < bridge> altho i would say its smart 11:58 < bridge> cuz i think there are laws to respect religion 11:58 < bridge> so maybe companies are legaly requried xd 11:59 < bridge> https://www.youtube.com/watch?v=TxDFjGPqYog 11:59 < bridge> Still not totally for gaming 11:59 < bridge> :feelsbadman: 11:59 < bridge> the vid is actually serious 11:59 < bridge> and i agree 12:00 < bridge> People are getting banned btw on linux, playing Apex legends lol 12:00 < bridge> @ReiTW if u read the news, it was about steam deck, and it was just 1 user 12:00 < bridge> its a bait headline 12:00 < bridge> xd 12:02 < bridge> Well there was more 12:03 < bridge> but i hate these arguments 12:03 < bridge> cuz 12:03 < bridge> its not that linux is worse because that 12:03 < bridge> its that they ban u for that 12:03 < bridge> (if thats true) 12:04 < bridge> I mean 12:04 < bridge> It's not that they wanted to ban linux users 12:04 < bridge> if you cant run X software on linux is not because linux is not technically capable of running it, and faster, its that it wasnt targeted at that OS 12:04 < bridge> It's a false positive ban 12:04 < bridge> so for me its never an argument that windows is better cuz that lol 12:04 < bridge> and i hate it 12:05 < bridge> im sure technically linux is a better piece of software engineering wise 12:05 < bridge> For me linux is only worse cuz I can't run all the games I love to play 12:05 < bridge> For the rest Linux is way better 12:05 < bridge> but thats not linux fault 12:06 < bridge> its the game devs fault 12:06 < bridge> Not only 12:06 < bridge> it is 12:06 < bridge> It's anticheat devs fault too 12:06 < bridge> but thats not linux fault either 12:06 < bridge> because its the anticheat devs fault for not supporting linux 12:06 < bridge> would u say windows is worse if i made a linux only software? 12:06 < bridge> and say it cant run on windows 12:06 < bridge> so windows is worse 12:07 < bridge> I would if it was a huge diff 12:07 < bridge> yeah ok 12:07 < bridge> u win 12:07 < bridge> Can give another example, I have a Samsung galaxy tab s7, this tablet for me is way better than apple's one, but huge advantage for apple having their own drawing software which is amazing but not on android 12:08 < bridge> So would give a point to apple 12:08 < bridge> i guess we have a difference sense on the word better 12:08 < bridge> i dont believe a software not running on X os makes it worse 12:08 < bridge> Hi 12:08 < bridge> separate faults 12:09 < bridge> who is this 12:09 < bridge> Tf 12:09 < bridge> xd 12:09 < bridge> I have a legit online business earnings for everybody. 12:09 < bridge> Kindly dm me to know more about it if it interest you 12:09 < bridge> god 12:09 < bridge> :justatest: 12:09 < bridge> go fuck urself kek 12:12 < bridge> Well what I meant is just that for each use case something Can be better or not 12:12 < bridge> 12:12 < bridge> Linux in general is amazing but still worse for gaming even if it's not Linux's fault, but because of devs sure 12:12 < bridge> Well still alot of games runs even better 12:13 < bridge> even windows ones 12:13 < bridge> xd 12:13 < bridge> Tarkov you have like 2-3 more fps 12:13 < bridge> since they use vulkan behind, and directx had some issues in some games 12:13 < bridge> like elden ring stutters 12:13 < bridge> But u can't play online sadly cuz of battleye 12:13 < bridge> well ddnet is linux first 12:13 < bridge> and windows second 12:13 < bridge> 🇹🇩 12:14 < bridge> and mac on the trash can 12:14 < bridge> so many issues xd+ 12:14 < bridge> Idk if u can run bf on linux, ig so 12:14 < bridge> Ah well it's on steam, probably runs with proton 12:15 < bridge> Not playable, rip 12:16 < bridge> anticheat 12:16 < bridge> That sucks 12:17 < bridge> https://www.protondb.com/app/1517290 12:17 < bridge> > This game is known to utilize Easy Anti-Cheat. EAC has limited support for Linux, but multiplayer functionality varies depending on how the developer has implemented it. 12:19 < bridge> Rip 12:20 < bridge> People wouldn't cheat, we wouldn't have more issues like that 12:35 <+ChillerDragon> comments are good on the yt link you sent ryo :D 12:36 <+ChillerDragon> https://zillyhuhn.com/cs/.1677929547.png 12:36 <+ChillerDragon> and yes i use light mode 12:41 < bridge> This is why we should really think about my real id proposal. Dox all gamers so we can get rid of anti cheats :Celebrate: 12:43 <+ChillerDragon> or allow cheating much easier 12:44 < bridge> No that ruins the game for everyone else, go away bot dealer 12:44 <+ChillerDragon> hrhrhr 12:44 <+ChillerDragon> pre order chilerbot now! 13:04 < bridge> Good idea 13:05 < bridge> So I can send pizzas to chillerdragon 13:07 < bridge> @Ryozuki had the project presentation yesterday about my xdp firewall etc.. all of my rust parts worked so well (ty, you and heinrich for the rust help) 13:07 < bridge> But damn the web interface that my other mates did is shit af, they didn't care lol,rip 13:07 < bridge> F 13:08 < bridge> but yeah it happens 13:08 < bridge> when i went to school all others werent also as interested in programming 13:08 < bridge> The website is just full of copy paste only from internet 13:08 < bridge> lul 13:08 < bridge> 1/8 features were working lmao 13:08 < bridge> Typical web developer behaviour 13:09 < bridge> @ReiTW i mean they cant even do a web? 13:09 < bridge> and u were doing something rly niche 13:09 < bridge> u should get a passing grade 13:09 < bridge> and they should suspend 13:11 < bridge> They're not devs at all, and one of them gave up months ago 13:15 < bridge> same grade for the group, but one of them talked yesterday to the teacher and said that I shouldn't get penalized because of them 13:15 < bridge> (they're 3 but only 1 knew and tried at the end, the 2 others you couldn't talk with them, they were like "no won't do it" 13:15 < bridge> (they're 3 but only 1 knew and tried at the end, the 2 others you couldn't talk with them, they were like "no won't do it") 13:16 < bridge> working alone in that situation is better lmao 13:17 < bridge> yea 13:17 < bridge> relying on others is a bit meh 13:17 < bridge> they will say its a useful skill later in the workplace 13:17 < bridge> but the dynamics is different 13:17 < bridge> at work if u do less u have consequences 13:17 < bridge> (usually) 13:20 < bridge> The one group project we had I just asked the dude if I could just do it alone and he said sure 13:21 < bridge> I messaged the people in my group and they were all like oh great you can do the project and we can try to add stuff after 13:21 < bridge> Fuck that 13:28 < bridge> lmao rip 13:28 < bridge> that sucks alot 15:24 < bridge> <судный день.> wtf is this 15:24 < bridge> <судный день.> very pig-behavior 15:25 < bridge> Classic normie just here to have fun behaviour. I should have been more like them 16:04 < bridge> https://www.theverge.com/2023/3/3/23623473/blender-stable-diffusion-ai-plugin-3d-modeling-texture-render 16:50 < bridge> ai plugin :MonkaW: 17:31 < bridge> Silly question, so I wrote a script right, grab data from one endpoint, processes it, push to another endpoint and I get emailed the results as an attachment. I plan to run this as a systemd service, or I guess I could use cron. Only true difference i see is that rather than factoring in the wait/pause into the service, cron will just execute it on regular interval. Leading up to my next question, if I use a service, I guess I don't need to factor a 17:32 < bridge> Silly question, so I wrote a script right, grab data from one endpoint, processes it, push to another endpoint and I get emailed the results as an attachment. I plan to run this as a systemd service, or I guess I could use cron. Only true difference i see is that rather than factoring in the wait/pause into the service, crontab will just execute it on regular interval. Leading up to my next question, if I use a service, I guess I don't need to facto 17:33 < bridge> Silly question, so I wrote a script right, grab data from one endpoint, processes it, push to another endpoint and I get emailed the results as an attachment. I plan to run this as a systemd service, or I guess I could use crontab. Only true difference i see is that rather than factoring in the wait/pause into the service, crontab will just execute it on regular interval. Leading up to my next question, if I use a service, I guess I don't need to fa 17:33 <+ChillerDragon> https://zillyhuhn.com/cs/.1677947396.png 17:34 < bridge> Hm I edited my message. So maybe duplicated it if that's what you showing. 17:35 <+ChillerDragon> yes im just being passive agressive here hehe 17:35 < bridge> Also seems like some of my message is missing in your screenshot. Easy solution, get Discord client. 17:35 <+ChillerDragon> yo @Patiga lit website https://patiga.gitlab.io/ 17:36 < bridge> Guess I'm enquiring more from a design/architecture solution. Maybe I'm just trying to over engineer my basic script tbh. 17:37 <+ChillerDragon> just start the systemd job from cron :D 17:38 <+ChillerDragon> on a more serious note i think you can also schedule systemd jobs 17:38 <+ChillerDragon> https://linuxconfig.org/how-to-schedule-tasks-with-systemd-timers-in-linux 17:39 < bridge> ChillerDragon I still didnt manage to get the mobile version of the site to work properly :/, the native site might be broken as well currently 17:39 <+ChillerDragon> but not sure how much it matters and who cares about who will do the waiting. Either your script waits or cronjob waits 17:40 <+ChillerDragon> @Patiga works on my system 10/10 im impressed 17:40 < bridge> https://github.com/facebookresearch/llama/pull/73/files 17:40 <+ChillerDragon> so smoooth 17:40 < bridge> kek 17:40 <+ChillerDragon> xd 17:40 < bridge> https://www.reddit.com/r/programming/comments/11hj5x1/metas_new_65billionparameter_language_model/ 17:40 <+ChillerDragon> coversation 171 comments 17:40 <+ChillerDragon> wtf 17:40 < bridge> they leaked 17:40 < bridge> a magnet link 17:40 < bridge> torrent 17:40 < bridge> with the model 17:40 < bridge> lmao 17:40 <+ChillerDragon> wait the pr is a leak? 17:41 < bridge> yes 17:41 <+ChillerDragon> i thought its a trol pring a torrent link 17:41 < bridge> it leaks the magnet torrent link 17:41 < bridge> its the new facebook ai model 17:41 <+ChillerDragon> xd 17:41 <+ChillerDragon> no way 17:41 < bridge> also this is for u chiller https://github.com/github-drama/github-drama 17:41 <+ChillerDragon> amazing 17:42 < bridge> <<~{Barsik}~>> someone will loose their job 17:42 < bridge> i found the original source 17:42 < bridge> its on 4chan xd 17:42 <+ChillerDragon> yes all of us will lose their job 17:42 <+ChillerDragon> to facebook ai 17:42 <+ChillerDragon> hehe 18:34 < bridge> `-rw-r--r-- 1 learath2 learath2 214091474 Mar 1 13:38 "'Lezione del 02:10:2020.mp4'"` look at this damn filename... 18:35 < bridge> Scraped directly from a website, I should have sanitized it more 😛 18:41 <+ChillerDragon> i hope u use curl and other linux cli tools to scrape 19:01 < bridge> Python with beautifulsoup4 to scrape, aria2c to download all the links I scraped 19:20 < bridge> ChillerDragon: Do you know if it's possible to combine parameter expansion with command substitution in bash? 19:27 <+ChillerDragon> not sure what have you tried? 19:30 <+ChillerDragon> there are so many parameter expansions not sure what you wanna do but i usually use `eval` in those situations hehe :D 19:30 < bridge> `${$(sed 's#:#/#' <<< "$f")@Q}` 19:30 < bridge> This is just insanity 😄 19:30 <+ChillerDragon> bru wat 19:31 <+ChillerDragon> whats the @Q thing? 19:31 < bridge> Aren't you a bashwizard wtf? 19:31 <+ChillerDragon> e 19:31 <+ChillerDragon> whats @Q 19:31 < bridge> These filenames are quoted, I want to discard the quotes, which is insanely annoying to do 19:31 <+ChillerDragon> is that a string you want to append? 19:32 <+ChillerDragon> just pipe it tru xargs :D 19:32 < bridge> @Q expands the parameter but it quotes it properly so that it can be used in another bash command 19:32 <+ChillerDragon> ``echo "\"'foo'\"" | xargs | xargs`` :D 19:32 < bridge> The filenames are not always quoted properly to survive xargs like this gem e.g. `''\''Lezione del 05:10:2020 - USEFUL part from 15'\''\'\'''\''45'\''\'\'''\'''\''\'\'''\'' to 82'\''\'\'''\''.mp4'\'''` 19:33 < bridge> I have no idea what will happen if I run that through xargs 19:33 <+ChillerDragon> rce 19:33 <+ChillerDragon> just slug em? 19:33 <+ChillerDragon> replace all non a-z with _ :D 19:34 < bridge> Okay but when doing that I need to first be able to work with these names in bash 19:34 <+ChillerDragon> but i still dont get the @Q 19:34 < bridge> we should be there too xd 19:34 <+ChillerDragon> is that bash syntax? or a fixed string 19:34 < bridge> It's a bash parameter expansion https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html 19:34 <+ChillerDragon> i have the page open 19:34 <+ChillerDragon> but i never used a @ xd 19:34 <+ChillerDragon> lemem search 19:35 < bridge> @Learath2 use sd 19:35 < bridge> It'll quote the string properly while expanding so you can feed it into another bash command without losing your quotes 19:35 < bridge> https://github.com/chmln/sd 19:35 <+ChillerDragon> why do you want to keep the quotes? xd 19:35 < bridge> Sed syntax is not my issue 19:35 < bridge> So I can rename the files... 19:36 < bridge> ask chatgpt to rename them 19:36 < bridge> why bother putting efort nowadays 19:36 < bridge> ai everything 19:36 < bridge> @Jupeyy_Keks right 19:36 < bridge> ok, nvm I'll just figure it out myself 19:36 < bridge> xD 19:37 < bridge> lets hope AIs are as good as humans soon 19:37 < bridge> im making some bindings to a C api from rust 19:37 < bridge> bindgen is rly nice 19:37 < bridge> maybe we should have exposed a C like api from ddnet 19:37 < bridge> slavery without moral problems 19:37 < bridge> and use bindgen 19:37 < bridge> altho its less secure i guess 19:37 < bridge> cxx does compile time checks 19:38 <+ChillerDragon> @Learath2 is eval not an option here? 19:38 <+ChillerDragon> like doing it in two steps 19:38 <+ChillerDragon> first run the subshell then the expansion 19:39 < bridge> Show example? 19:39 <+ChillerDragon> your specific case confuses me ill show u another ok? xd 19:40 < bridge> @Jupeyy_Keks do u know what phantomdata is? 19:40 < bridge> sure 19:41 < bridge> <ᶦᵃᵐSαητα࿐> What? 19:41 < bridge> oh a random 19:42 < bridge> hi 19:42 <+ChillerDragon> https://zillyhuhn.com/cs/.1677955113.png 19:42 < bridge> <ᶦᵃᵐSαητα࿐> :poggers2: 19:42 < bridge> https://doc.rust-lang.org/std/marker/struct.PhantomData.html 19:42 < bridge> no tell me about it 19:42 < bridge> @Jupeyy_Keks its a way to tell about a objects lifetime 19:42 < bridge> its useful when using unsafe 19:42 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1081647944001925170/image.png 19:42 < bridge> its just a marker xD 19:43 < bridge> but if u want to say, X instance will only live as long as that reference lives 19:43 < bridge> without owning that object 19:43 <+ChillerDragon> yours could be ``eval "${$(sed 's#:#/#' <<< "$f")@Q}"`` but not sure i would need to try and error a bit 19:43 < bridge> > Adding a PhantomData field to your type tells the compiler that your type acts as though it stores a value of type T, even though it doesn’t really. This information is used when computing certain safety properties. 19:43 < bridge> This is about what I have planned, but the problem is all the quotes 19:44 < bridge> so a compile time check? 19:44 < bridge> then its indeed useful 19:44 < bridge> yes 19:44 <+ChillerDragon> so running the subshell first makes the quotes so broken that the expansion breaks? 19:44 < bridge> @ChillerDragon: `for f in *; do echo "k=$(sed 's#mp4#mkv#' <<< $f); mv $f \$k"; done` something like this 19:44 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1081648467442667640/image.png 19:44 <+ChillerDragon> lerato could you send a two liner that defines f and breaks so i can trest 19:45 < bridge> its like the building block 19:45 < bridge> when u go lower 19:45 < bridge> and deal with pointers 19:45 < bridge> is cool, but it sadly wont help me in threaded context 19:46 < bridge> Maybe I should just do this in perl or python where the quotes aren't an issue 19:46 <+ChillerDragon> i hate to admit it 19:46 < bridge> i mean for that u have sync and send 19:46 <+ChillerDragon> but yea maybe 19:46 < bridge> i want to share data for a specific lifetime over a thread 19:46 < bridge> without Arc or smth 19:46 < bridge> no copying 19:46 <+ChillerDragon> wait are those files from your uni? 19:47 < bridge> that would be useful, but probs almost impossible to do at compile time 😄 19:47 <+ChillerDragon> dont u study computer science? 19:47 <+ChillerDragon> does your drunk cs prof add random quotes? 19:47 < bridge> For legal reasons I may or may not have scraped those from my uni 19:47 < bridge> @Jupeyy_Keks scoped threads? 19:47 < bridge> why are you texting trough bot? 19:47 < bridge> Electronics prof likes to add ' to denote seconds in some filenames 19:47 < bridge> https://doc.rust-lang.org/stable/std/thread/fn.scope.html#example 19:47 < bridge> no arcs here 19:47 < bridge> <ᶦᵃᵐSαητα࿐> „Silent co-reader“ 19:48 < bridge> He is on the run from the authorities 19:48 < bridge> he is chatting from matrix 19:48 < bridge> or irc 19:48 < bridge> the bot is a bridge 19:48 < bridge> why?? 19:48 < bridge> i dont want to start a thread on fly 19:48 <+ChillerDragon> lerato so after mp4 there is another quote? 19:48 < bridge> u can just keep the thread join handle 19:48 <+ChillerDragon> xd 19:48 < bridge> for a specific lifetime? 19:48 < bridge> idk tho 19:49 < bridge> i havent tried 19:49 <+ChillerDragon> send another ls pls lerato 19:49 < bridge> i basically have a threadpool 19:49 < bridge> Oh I think I got it `for f in *; do k=$(sed 's#mp4#mkv#' <<< "$f"); echo "mv ${f@Q} ${k@Q}"; done` about works 19:49 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1081649592824758373/image.png 19:49 < bridge> i need a scope for a specific set of tasks 😄 19:49 < bridge> There can be quotes in the file name, and there is a quote at the start and end of it 19:49 <+ChillerDragon> yea thats also two steps 19:49 < bridge> but still good to know 19:49 < bridge> might solve a problem some day for m,e 19:49 < bridge> might solve a problem some day for me 19:50 < bridge> xd 19:50 < bridge> ChillerDragon: https://paste.pr0.tips/tB1 19:50 < bridge> Here this should create the mess I have 😄 19:50 <+ChillerDragon> honestly i probably would have used vscode for that problem @Learath2 :D `ls > rename.txt` and then ctrl+d on the .mp4 highlighgt 19:50 <+ChillerDragon> if you only want to change the extension 19:50 < bridge> @Jupeyy_Keks https://docs.rs/threadpool_scope/latest/threadpool_scope/ 19:51 <+ChillerDragon> ye u got the fix alr so its useless 19:51 <+ChillerDragon> wait are those mp4 files with a mkv extension!? 19:51 <+ChillerDragon> do they even playback in the browser? xd 19:51 < bridge> Hm, how would you get the rename done though after fixing the stuff in vscode? 19:51 <+ChillerDragon> using a mv command 19:52 <+ChillerDragon> ou 19:52 <+ChillerDragon> that breaks hm 19:52 < bridge> nono mp4 -> mkv was just me testing stuff so I don't have to mess with the quotes first 19:52 < bridge> @Jupeyy_Keks actually rayon is a scoped threadpool too, its just that by default is uses a global threadpool 19:52 < bridge> i think 19:52 < bridge> https://docs.rs/rayon/latest/rayon/fn.scope.html 19:52 <+ChillerDragon> whats your end goal? 19:52 < bridge> rayon is more maintained 19:52 < bridge> mhh if i restructure my code that might work. 19:52 <+ChillerDragon> why not simply strip all quotes of the filenames? 19:52 < bridge> use the rayon one xD 19:52 < bridge> that crate is outdated 19:52 < bridge> I'll be doing `sed "s/^'//` followed by a `sed "s/'$//` 19:52 < bridge> Tjat 19:53 < bridge> that is what I'm doing 😄 19:53 <+ChillerDragon> ah ok 19:53 < bridge> meh wrong reply 19:53 < bridge> whatever 19:53 <+ChillerDragon> i dont see replys anyways xd 19:53 < bridge> i'd need to think about it. its kinda edge case what i do 19:54 < bridge> ur always doing edge cases 19:54 < bridge> xd 19:54 < bridge> bcs i am iterating over a vec and then start threads on items of it, and join them at a later point 19:54 < bridge> i think that should be doable 19:54 < bridge> with scope 19:54 < bridge> probably 19:55 < bridge> mfw I did all this and xargs ruins my quoting anyway 19:56 < bridge> i think another problem was that i need to spawn it on a specific thread, but maybe rayon indeed has some functionality to do this 19:57 < bridge> the items are not allowed to execute out of order, and multiple items are basically a chunk to execute on one thread xd 19:57 < bridge> the chunks iteself can be out of order tho 19:57 < bridge> itertools to chunk 19:57 < bridge> rayon to paralelize 19:58 < bridge> https://docs.rs/itertools/latest/itertools/trait.Itertools.html#method.chunks 19:58 < bridge> yeah but that for example would not dirctly work. i need to iterate over all 19:58 < bridge> then batch them 19:58 < bridge> then execute them (i know the exact moment a thread is allowed to start) 19:59 < bridge> anyway 19:59 < bridge> this is currently not high prio anyway, but someday i want to make it work without using pointers to evade lifetime checks 19:59 < bridge> @Jupeyy_Keks what are you making? 19:59 < bridge> i am running commands on a threadpool 20:00 < bridge> but commands can also change stuff in the "main" thread 20:00 < bridge> vulkan commands i guess 20:00 < bridge> is that a thing? xd 20:00 < bridge> i should recheck my vulkan 20:00 < bridge> what how could u tell xdd 20:00 < bridge> xd 20:02 < bridge> And why are lifetimes being an issue? 20:02 < bridge> (I'm just curious btw, you can ignore me) 😄 20:03 < bridge> bcs sharing data between threads needs static lifetime 20:03 < bridge> or moving 20:03 < bridge> so smth like Arc 20:03 < bridge> which i dont want to use 20:04 < bridge> but if u use scoped threads u dont need static 20:04 < bridge> yep 20:04 < bridge> also cant u just share and give ownership of the data to the thread 20:04 < bridge> and then get it back 20:05 < bridge> channels? xd 20:05 < bridge> nah i want good performance 20:05 < bridge> did u perf 20:05 < bridge> i also thought about using Box and moving them around, but i can 100% garantuee the lifetimes in my head 20:05 < bridge> I thought scoped threads solved your issue, what is your problem with them? 20:05 < bridge> so scopes are probs good to go 20:06 < bridge> i dont have any problem 20:06 < bridge> i just need specific requirements 20:06 < bridge> as accessing a specific thread 20:06 < bridge> and run tasks in order 20:06 < bridge> stuff like that 20:09 < bridge> iirc crossbeam channels were pretty good performance wise, maybe worth benching 20:10 < bridge> :cammostripes: 20:10 < bridge> RAM is my channel for communication 😉 20:10 < bridge> There is even crossbeam-queue which guarantees order 😛 20:12 <+ChillerDragon> https://zillyhuhn.com/cs/.1677956910.png 20:12 <+ChillerDragon> still dont really know wat you want but i managed to slug em 20:12 < bridge> I did aswell\o/ 20:12 <+ChillerDragon> ``shopt -s extglob;for f in *; do x="${f//[^a-zA-Z0-9 ._-]/_}";x="${x%%+(_)}"; mv "$f" "${x##+(_)}"; done`` 20:12 <+ChillerDragon> bru 20:13 < bridge> btw @Ryozuki rayon also supports creating own threadpools, and thats also important, i guess it already has everything i need. its defs a cool lib 20:13 < bridge> also great how easy it is to rewrite smth like resize image to par chunk 20:13 < bridge> also great how easy it is to rewrite smth like resize image to par chunks 20:13 < bridge> Rayon probably uses a channel somewhere in there 😄 20:14 < bridge> what a bad library 20:14 < bridge> xd 20:14 < bridge> Yep, it depends on `crossbeam-channel` surprise surprise 😛 20:14 < bridge> but what does it want to channel around 20:14 < bridge> all information i need is already part of the RAM... 20:14 < bridge> ofc it needs to share the references 20:15 < bridge> if thats all ok 20:15 < bridge> Probably the task chunks, I'd guess it passes some pointers on the channel 20:15 < bridge> as long its only one directional 20:16 < bridge> it's probs not too bad 20:16 < bridge> The thing that the channels do is also guarantee lifetime stuff 20:17 < bridge> Though honestly, I haven't dug into threading internals in rust 20:18 < bridge> I'd guess it's just boilerplate so the compiler knows that it's illegal to touch that data until the other thread is done or we have a lock 20:19 < bridge> neither 20:19 < bridge> 20:19 < bridge> i am never sure if i want to write idiomatic code in rust or high perf. 20:19 < bridge> idiomatic rust tends to do heap allocations regulary 20:19 < bridge> at the same point its much cleaner to write most of the time 😄 20:20 < bridge> That is also always on the top of my head whenever I touch rust. It's a dilemma 20:20 < bridge> My C/C++ brain really wants to do a lot more on the stack 😄 20:20 < bridge> yeah xD 20:31 < bridge> that's because that's the standard way to do it 20:32 < bridge> Sure, but it's also very annoying 20:33 < bridge> actually, it's `'` for minutes and `''` for seconds when you denote an angle, especially in astrophysics 20:35 < bridge> @Chairn did you study physics too for what u studied 20:35 < bridge> i did study physics 20:36 < bridge> i did first year university in physics 20:36 < bridge> but i also had physics class during my cursus 20:37 < bridge> https://en.wikipedia.org/wiki/Minute_and_second_of_arc#Symbols_and_abbreviations 20:38 < bridge> did u finally start your processor design career 20:38 < bridge> i need faster CPUs, they too slow 20:39 < bridge> not really, no more faster CPU anyway 20:39 < bridge> Teeworlds ASIC when? 20:39 < bridge> kinda easy to do that 🙂 20:40 < bridge> just need money to send it to a foundry 20:40 < bridge> Do it, hardware accelerated gamecore.cpp 20:40 < bridge> why no more faster CPU :c 20:40 < bridge> technology reaches a dead end 20:40 < bridge> when fix the memory wall? 20:40 < bridge> never 20:40 < bridge> make faster memory rn 20:41 < bridge> come vocal, i can present my phd 😄 20:41 < bridge> It's only an order of magnitude or 2 behind the cpu, no? just do it ezclap 😛 20:41 < bridge> i fear that too, on the other hand we'll still get the few percentages by optimizing all kinds of sizes, be it transistor gaps or memory controler etc 20:41 < bridge> but maybe no high steps 20:41 < bridge> no more high steps 20:41 < bridge> so maybe invent smth new so we can overtake this bottleneck 20:42 < bridge> come voc 20:42 < bridge> what will i head there xd 20:42 < bridge> heard and see 20:42 < bridge> I would but I'm wasting time playing league 20:42 < bridge> His phd thesis 20:42 < bridge> can you hear me? 20:43 < bridge> what’s going on in there 20:43 < bridge> damn, is my mic dead already? 20:43 < bridge> i hear u for 1-2 ms 20:43 < bridge> then it dies 20:44 < bridge> nah, i just unplugged it 20:44 < bridge> was the laptop mic for like a few sec 21:30 < bridge> no idea what powerpoint and windows activation keys u talking about now but thx xd 21:31 < bridge> yeah, sorry talking about wifi identification with eduroam 21:31 < bridge> eduroam is the shared wifi network across lots of univerisity/school in europe 21:41 < bridge> <<~{Barsik}~>> @Ewan Green 🥺 21:42 < bridge> need 21:58 < bridge> what giraffe 21:59 < bridge> data-svg repo is only for stuff that is shipped with the client 22:03 < bridge> he meant giraffe skin i believe 22:04 < bridge> i don't think it's shipped with 22:04 < bridge> but it's on ddnet skins db 22:06 < bridge> have u looked in chillerdragons data directory on github 22:06 < bridge> whatever the repo was xd 22:08 < bridge> i have not 22:09 < bridge> can i get a link 22:10 < bridge> chillerdragon give link plzz 22:13 < bridge> <<~{Barsik}~>> https://gihab.cum/chilladrakon/reponuma67294/teestuff/svgs/skins/cc-by 22:13 < bridge> wtf 22:13 < bridge> chillerdragon porn 22:13 < bridge> lmao 22:15 < bridge> <<~{Barsik}~>> https://github.com/TeeworldsDB found this only 22:15 < bridge> <<~{Barsik}~>> *sniff sniff* there is no svg images 22:15 < bridge> ah yeah 22:15 < bridge> https://github.com/TeeworldsDB/skins 22:19 < bridge> https://github.com/TeeworldsDB/skins/blob/master/06/0045-spike%20head.png 22:19 < bridge> https://github.com/TeeworldsDB/skins/raw/master/06/0045-spike%20head.png 22:19 < bridge> this is probably the best skin around 22:20 < bridge> i cant believe nobody has made hd giraffe 22:21 < bridge> the quality difference is very noticeable at zoom 10, which is necessary for non ddnet or kog servers 22:21 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1081687771632128172/image.png 22:21 < bridge> though the svg skins have some sort of bad aa artifacting 22:21 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1081687854037618828/image.png 22:22 < bridge> https://github.com/TeeworldsDB/skins/blob/master/06/giraffe.png 22:22 < bridge> that is the one 22:22 < bridge> https://ddnet.org/skins/index.php?search=giraffe 22:22 < bridge> it's on here too 22:22 < bridge> where there are... *slightly* less than 2,000 skins 22:23 < bridge> and im pretty sure everyone gets giraffe because it gets auto fetched when they don't have it 22:23 < bridge> and im pretty sure most everyone gets giraffe because it gets auto fetched when they don't have it 22:23 < bridge> unless they changed the setting 22:31 < bridge> anyway cant find a svg version of it