Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2023-03-04 00:00:00Z and 2023-03-05 00:00:00Z
08:58
Gigachad
08:58
08:59
gigachad
Avatar
enough internet for today
Avatar
But the day just started
Avatar
ChillerDragon BOT 2023-03-04 09:48:43Z
i dont get it is the religion thing a trick to force employers to provide linux or is there an actual religion? xd
09:49
seems like a cheap trick saying "my religion forces me to do x y z"
09:49
cant an employer then simply say ok bye?
Avatar
Avatar
Jupstar ✪
enough internet for today
agreed. i really dislike this “linux culture”, it’s what gives the people who use linux & are passionate about its capabilities a bad rap
Avatar
Avatar
ChillerDragon
cant an employer then simply say ok bye?
unfortunately not
10:47
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
Avatar
Avatar
Ewan
agreed. i really dislike this “linux culture”, it’s what gives the people who use linux & are passionate about its capabilities a bad rap
no
Avatar
u are just a windows user
Avatar
i'd say, use linux bcs its better
10:57
not bcs u are religious
Avatar
use linux because its better, it doesnt tie you up, it respects your freedom and rights
10:58
but the image was a meme lol
10:58
altho i would say its smart
10:58
cuz i think there are laws to respect religion
10:58
so maybe companies are legaly requried xd
Avatar
Avatar
Ewan
agreed. i really dislike this “linux culture”, it’s what gives the people who use linux & are passionate about its capabilities a bad rap
Avatar
Still not totally for gaming
10:59
feelsbadman
Avatar
the vid is actually serious
10:59
and i agree
Avatar
People are getting banned btw on linux, playing Apex legends lol
Avatar
@ReiTW if u read the news, it was about steam deck, and it was just 1 user
11:00
its a bait headline
11:00
xd
Avatar
Well there was more
Avatar
but i hate these arguments
11:03
cuz
11:03
its not that linux is worse because that
11:03
its that they ban u for that
11:03
(if thats true)
11:04
It's not that they wanted to ban linux users
Avatar
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
Avatar
It's a false positive ban
Avatar
so for me its never an argument that windows is better cuz that lol
11:04
and i hate it
11:05
im sure technically linux is a better piece of software engineering wise
Avatar
For me linux is only worse cuz I can't run all the games I love to play
11:05
For the rest Linux is way better
Avatar
but thats not linux fault
11:06
its the game devs fault
Avatar
Not only
Avatar
It's anticheat devs fault too
Avatar
but thats not linux fault either
11:06
because its the anticheat devs fault for not supporting linux
11:06
would u say windows is worse if i made a linux only software?
11:06
and say it cant run on windows
11:06
so windows is worse
Avatar
I would if it was a huge diff
Avatar
yeah ok
11:07
u win
Avatar
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
11:08
So would give a point to apple
Avatar
i guess we have a difference sense on the word better
11:08
i dont believe a software not running on X os makes it worse
Avatar
elsaastrid BOT 2023-03-04 11:08:45Z
Hi
Avatar
separate faults
11:09
who is this
Avatar
elsaastrid BOT 2023-03-04 11:09:50Z
I have a legit online business earnings for everybody. Kindly dm me to know more about it if it interest you
Avatar
go fuck urself kek
Avatar
Avatar
Ryozuki
i dont believe a software not running on X os makes it worse
Well what I meant is just that for each use case something Can be better or not Linux in general is amazing but still worse for gaming even if it's not Linux's fault, but because of devs sure
11:12
Well still alot of games runs even better
Avatar
even windows ones
11:13
xd
Avatar
Tarkov you have like 2-3 more fps
Avatar
since they use vulkan behind, and directx had some issues in some games
11:13
like elden ring stutters
Avatar
But u can't play online sadly cuz of battleye
Avatar
well ddnet is linux first
11:13
and windows second
11:13
chad
11:14
and mac on the trash can
11:14
so many issues xd+
Avatar
Idk if u can run bf on linux, ig so
11:14
Ah well it's on steam, probably runs with proton
11:15
Not playable, rip
Avatar
anticheat
Avatar
That sucks
11:17
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.
11:20
People wouldn't cheat, we wouldn't have more issues like that
Avatar
ChillerDragon BOT 2023-03-04 11:35:48Z
comments are good on the yt link you sent ryo :D
11:36
11:36
and yes i use light mode
Avatar
Avatar
ReiTW
People wouldn't cheat, we wouldn't have more issues like that
This is why we should really think about my real id proposal. Dox all gamers so we can get rid of anti cheats Celebrate
Avatar
ChillerDragon BOT 2023-03-04 11:43:42Z
or allow cheating much easier
Avatar
No that ruins the game for everyone else, go away bot dealer
Avatar
ChillerDragon BOT 2023-03-04 11:44:13Z
hrhrhr
11:44
pre order chilerbot now!
Avatar
Avatar
Learath2
This is why we should really think about my real id proposal. Dox all gamers so we can get rid of anti cheats Celebrate
Good idea
12:05
So I can send pizzas to chillerdragon
12:07
@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) But damn the web interface that my other mates did is shit af, they didn't care lol,rip
12:08
but yeah it happens
12:08
when i went to school all others werent also as interested in programming
Avatar
The website is just full of copy paste only from internet
Avatar
1/8 features were working lmao
Avatar
Typical web developer behaviour
Avatar
@ReiTW i mean they cant even do a web?
12:09
and u were doing something rly niche
12:09
u should get a passing grade
12:09
and they should suspend
Avatar
They're not devs at all, and one of them gave up months ago
Avatar
Avatar
Ryozuki
u should get a passing grade
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
12:15
(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") (edited)
12:16
working alone in that situation is better lmao
12:17
relying on others is a bit meh
12:17
they will say its a useful skill later in the workplace
12:17
but the dynamics is different
12:17
at work if u do less u have consequences
12:17
(usually)
Avatar
The one group project we had I just asked the dude if I could just do it alone and he said sure
12:21
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
12:21
Fuck that
Avatar
lmao rip
12:28
that sucks alot
Avatar
Avatar
Learath2
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
wtf is this
14:24
very pig-behavior
Avatar
Classic normie just here to have fun behaviour. I should have been more like them
Avatar
ai plugin MonkaW
Avatar
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 factor any signal handlers in my script, not like stopping it dead in its tracks will kill anything important but anything else I need to consider that may want me to add signal handlers? Would you make it a service or use contab? (edited)
Avatar
ChillerDragon BOT 2023-03-04 16:33:27Z
Avatar
Hm I edited my message. So maybe duplicated it if that's what you showing.
Avatar
ChillerDragon BOT 2023-03-04 16:35:29Z
yes im just being passive agressive here hehe
Avatar
Also seems like some of my message is missing in your screenshot. Easy solution, get Discord client.
Avatar
ChillerDragon BOT 2023-03-04 16:35:37Z
yo @Patiga lit website https://patiga.gitlab.io/
Avatar
Guess I'm enquiring more from a design/architecture solution. Maybe I'm just trying to over engineer my basic script tbh.
Avatar
ChillerDragon BOT 2023-03-04 16:37:50Z
just start the systemd job from cron :D
16:38
on a more serious note i think you can also schedule systemd jobs
16:38
In this tutorial we see how to use systemd timers as a cron alternative to schedule tasks on Linux.
Avatar
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
Avatar
ChillerDragon BOT 2023-03-04 16:39:45Z
but not sure how much it matters and who cares about who will do the waiting. Either your script waits or cronjob waits
16:40
@Patiga works on my system 10/10 im impressed
16:40
kek
Avatar
ChillerDragon BOT 2023-03-04 16:40:08Z
so smoooth
16:40
xd
Avatar
ChillerDragon BOT 2023-03-04 16:40:32Z
coversation 171 comments
16:40
wtf
Avatar
they leaked
16:40
a magnet link
16:40
torrent
16:40
with the model
16:40
lmao
Avatar
ChillerDragon BOT 2023-03-04 16:40:58Z
wait the pr is a leak?
Avatar
ChillerDragon BOT 2023-03-04 16:41:11Z
i thought its a trol pring a torrent link
Avatar
it leaks the magnet torrent link
16:41
its the new facebook ai model
Avatar
ChillerDragon BOT 2023-03-04 16:41:22Z
xd
Avatar
github-drama (community fork) Important: To edit, open a pull request. We will merge it as soon as we see the notification. To edit a large amount of content, open an issue saying so. We will gra...
Avatar
ChillerDragon BOT 2023-03-04 16:41:23Z
no way
16:41
amazing
Avatar
someone will loose their job
Avatar
i found the original source
16:42
its on 4chan xd
Avatar
ChillerDragon BOT 2023-03-04 16:42:37Z
yes all of us will lose their job
16:42
to facebook ai
16:42
hehe
Avatar
-rw-r--r-- 1 learath2 learath2 214091474 Mar 1 13:38 "'Lezione del 02:10:2020.mp4'" look at this damn filename...
17:35
Scraped directly from a website, I should have sanitized it more 😛
Avatar
ChillerDragon BOT 2023-03-04 17:41:24Z
i hope u use curl and other linux cli tools to scrape
Avatar
Python with beautifulsoup4 to scrape, aria2c to download all the links I scraped
Avatar
ChillerDragon: Do you know if it's possible to combine parameter expansion with command substitution in bash?
Avatar
ChillerDragon BOT 2023-03-04 18:27:52Z
not sure what have you tried?
18:30
there are so many parameter expansions not sure what you wanna do but i usually use eval in those situations hehe :D
Avatar
${$(sed 's#:#/#' <<< "$f")@Q}
18:30
This is just insanity 😄
Avatar
ChillerDragon BOT 2023-03-04 18:30:56Z
bru wat
18:31
whats the @Q thing?
Avatar
Aren't you a bashwizard wtf?
Avatar
ChillerDragon BOT 2023-03-04 18:31:23Z
e
18:31
whats @Q
Avatar
These filenames are quoted, I want to discard the quotes, which is insanely annoying to do
Avatar
ChillerDragon BOT 2023-03-04 18:31:52Z
is that a string you want to append?
18:32
just pipe it tru xargs :D
Avatar
@Q expands the parameter but it quotes it properly so that it can be used in another bash command
Avatar
ChillerDragon BOT 2023-03-04 18:32:40Z
echo "\"'foo'\"" | xargs | xargs :D
Avatar
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'\'''
18:33
I have no idea what will happen if I run that through xargs
Avatar
ChillerDragon BOT 2023-03-04 18:33:13Z
rce
18:33
just slug em?
18:33
replace all non a-z with _ :D
Avatar
Okay but when doing that I need to first be able to work with these names in bash
Avatar
ChillerDragon BOT 2023-03-04 18:34:15Z
but i still dont get the @Q
Avatar
Avatar
Ryozuki
we should be there too xd
Avatar
ChillerDragon BOT 2023-03-04 18:34:24Z
is that bash syntax? or a fixed string
Avatar
Avatar
ChillerDragon
is that bash syntax? or a fixed string
Shell Parameter Expansion (Bash Reference Manual)
Avatar
ChillerDragon BOT 2023-03-04 18:34:50Z
i have the page open
18:34
but i never used a @ xd
18:34
lemem search
Avatar
@Learath2 use sd
Avatar
It'll quote the string properly while expanding so you can feed it into another bash command without losing your quotes
Avatar
Intuitive find & replace CLI (sed alternative). Contribute to chmln/sd development by creating an account on GitHub.
👍 1
Avatar
ChillerDragon BOT 2023-03-04 18:35:39Z
why do you want to keep the quotes? xd
Avatar
Sed syntax is not my issue
Avatar
Avatar
ChillerDragon
why do you want to keep the quotes? xd
So I can rename the files...
Avatar
ask chatgpt to rename them
😂 1
18:36
why bother putting efort nowadays
18:36
ai everything
18:36
@Jupstar ✪ right
Avatar
ok, nvm I'll just figure it out myself
Avatar
Avatar
Ryozuki
@Jupstar ✪ right
lets hope AIs are as good as humans soon
Avatar
im making some bindings to a C api from rust
18:37
bindgen is rly nice
18:37
maybe we should have exposed a C like api from ddnet
Avatar
slavery without moral problems
Avatar
and use bindgen
18:37
altho its less secure i guess
18:37
cxx does compile time checks
Avatar
ChillerDragon BOT 2023-03-04 18:38:30Z
@Learath2 is eval not an option here?
18:38
like doing it in two steps
18:38
first run the subshell then the expansion
Avatar
Show example?
Avatar
ChillerDragon BOT 2023-03-04 18:39:41Z
your specific case confuses me ill show u another ok? xd
Avatar
@Jupstar ✪ do u know what phantomdata is?
Avatar
Avatar
ChillerDragon
your specific case confuses me ill show u another ok? xd
sure
Avatar
Avatar
Ryozuki
@Jupstar ✪ do u know what phantomdata is?
ᶦᵃᵐSαητα࿐ 2023-03-04 18:41:25Z
What?
Avatar
oh a random
18:42
hi
Avatar
ᶦᵃᵐSαητα࿐ 2023-03-04 18:42:05Z
poggers2
Avatar
ChillerDragon BOT 2023-03-04 18:42:05Z
Avatar
Zero-sized type used to mark things that “act like” they own a T.
Avatar
Avatar
Ryozuki
@Jupstar ✪ do u know what phantomdata is?
no tell me about it
Avatar
@Jupstar ✪ its a way to tell about a objects lifetime
18:42
its useful when using unsafe
18:42
18:42
its just a marker xD
18:43
but if u want to say, X instance will only live as long as that reference lives
18:43
without owning that object
Avatar
ChillerDragon BOT 2023-03-04 18:43:40Z
yours could be eval "${$(sed 's#:#/#' <<< "$f")@Q}" but not sure i would need to try and error a bit
Avatar
Adding a PhantomData<T> 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.
Avatar
Avatar
ChillerDragon
Click to see attachment 🖼️
This is about what I have planned, but the problem is all the quotes
Avatar
Avatar
Ryozuki
Adding a PhantomData<T> 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.
so a compile time check?
18:44
then its indeed useful
Avatar
Avatar
Jupstar ✪
so a compile time check?
yes
Avatar
ChillerDragon BOT 2023-03-04 18:44:37Z
so running the subshell first makes the quotes so broken that the expansion breaks?
Avatar
@ChillerDragon: for f in *; do echo "k=$(sed 's#mp4#mkv#' <<< $f); mv $f \$k"; done something like this
Avatar
ChillerDragon BOT 2023-03-04 18:44:54Z
lerato could you send a two liner that defines f and breaks so i can trest
Avatar
Avatar
Jupstar ✪
so a compile time check?
its like the building block
18:45
when u go lower
18:45
and deal with pointers
Avatar
is cool, but it sadly wont help me in threaded context
Avatar
Maybe I should just do this in perl or python where the quotes aren't an issue
Avatar
i mean for that u have sync and send
Avatar
ChillerDragon BOT 2023-03-04 18:46:17Z
i hate to admit it
18:46
but yea maybe
Avatar
Avatar
Ryozuki
i mean for that u have sync and send
i want to share data for a specific lifetime over a thread
18:46
without Arc or smth
18:46
no copying
Avatar
ChillerDragon BOT 2023-03-04 18:46:50Z
wait are those files from your uni?
Avatar
that would be useful, but probs almost impossible to do at compile time 😄
Avatar
ChillerDragon BOT 2023-03-04 18:47:01Z
dont u study computer science?
18:47
does your drunk cs prof add random quotes?
Avatar
Avatar
ChillerDragon
wait are those files from your uni?
For legal reasons I may or may not have scraped those from my uni
Avatar
@Jupstar ✪ scoped threads?
Avatar
Avatar
ChillerDragon
dont u study computer science?
why are you texting trough bot?
Avatar
Avatar
ChillerDragon
does your drunk cs prof add random quotes?
Electronics prof likes to add ' to denote seconds in some filenames
18:47
no arcs here
Avatar
ᶦᵃᵐSαητα࿐ 2023-03-04 18:47:52Z
„Silent co-reader“
Avatar
Avatar
Deleted User
why are you texting trough bot?
He is on the run from the authorities
Avatar
Avatar
Deleted User
why are you texting trough bot?
he is chatting from matrix
18:48
or irc
18:48
the bot is a bridge
Avatar
Avatar
Ryozuki
or irc
why??
Avatar
Avatar
Ryozuki
@Jupstar ✪ scoped threads?
i dont want to start a thread on fly
Avatar
ChillerDragon BOT 2023-03-04 18:48:53Z
lerato so after mp4 there is another quote?
Avatar
Avatar
Jupstar ✪
i dont want to start a thread on fly
u can just keep the thread join handle
Avatar
ChillerDragon BOT 2023-03-04 18:48:55Z
xd
Avatar
for a specific lifetime?
18:48
idk tho
18:49
i havent tried
Avatar
ChillerDragon BOT 2023-03-04 18:49:05Z
send another ls pls lerato
Avatar
i basically have a threadpool
Avatar
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
Avatar
i need a scope for a specific set of tasks 😄
Avatar
Avatar
ChillerDragon
lerato so after mp4 there is another quote?
There can be quotes in the file name, and there is a quote at the start and end of it
Avatar
ChillerDragon BOT 2023-03-04 18:49:37Z
yea thats also two steps
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
but still good to know
18:49
might solve a problem some day for me (edited)
18:50
Here this should create the mess I have 😄
Avatar
ChillerDragon BOT 2023-03-04 18:50:47Z
honestly i probably would have used vscode for that problem @Learath2 :D ls > rename.txt and then ctrl+d on the .mp4 highlighgt
18:50
if you only want to change the extension
Avatar
API documentation for the Rust threadpool_scope crate.
Avatar
ChillerDragon BOT 2023-03-04 18:51:12Z
ye u got the fix alr so its useless
18:51
wait are those mp4 files with a mkv extension!?
18:51
do they even playback in the browser? xd
Avatar
Avatar
ChillerDragon
if you only want to change the extension
Hm, how would you get the rename done though after fixing the stuff in vscode?
Avatar
ChillerDragon BOT 2023-03-04 18:51:57Z
using a mv command
18:52
ou
18:52
that breaks hm
Avatar
Avatar
ChillerDragon
wait are those mp4 files with a mkv extension!?
nono mp4 -> mkv was just me testing stuff so I don't have to mess with the quotes first
Avatar
@Jupstar ✪ actually rayon is a scoped threadpool too, its just that by default is uses a global threadpool
18:52
i think
18:52
Creates a “fork-join” scope s and invokes the closure with a reference to s. This closure can then spawn asynchronous tasks into s. Those tasks may run asynchronously with respect to the closure; they may themselves spawn additional tasks into s. When the closure returns, it will block until all tasks that have been spawned into s comp...
18:52
rayon is more maintained
Avatar
ChillerDragon BOT 2023-03-04 18:52:31Z
whats your end goal?
Avatar
mhh if i restructure my code that might work.
Avatar
ChillerDragon BOT 2023-03-04 18:52:39Z
why not simply strip all quotes of the filenames?
Avatar
Avatar
Jupstar ✪
mhh if i restructure my code that might work.
use the rayon one xD
18:52
that crate is outdated
Avatar
I'll be doing sed "s/^'// followed by a sed "s/'$//
Avatar
Avatar
Jupstar ✪
mhh if i restructure my code that might work.
Tjat
18:53
that is what I'm doing 😄
Avatar
ChillerDragon BOT 2023-03-04 18:53:11Z
ah ok
Avatar
meh wrong reply
18:53
whatever
Avatar
ChillerDragon BOT 2023-03-04 18:53:24Z
i dont see replys anyways xd
Avatar
Avatar
Ryozuki
use the rayon one xD
i'd need to think about it. its kinda edge case what i do
Avatar
ur always doing edge cases
18:54
xd
Avatar
bcs i am iterating over a vec and then start threads on items of it, and join them at a later point
Avatar
i think that should be doable
18:54
with scope
Avatar
probably
Avatar
mfw I did all this and xargs ruins my quoting anyway
Avatar
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
18:57
the items are not allowed to execute out of order, and multiple items are basically a chunk to execute on one thread xd
18:57
the chunks iteself can be out of order tho
Avatar
itertools to chunk
18:57
rayon to paralelize
18:58
An [Iterator] blanket implementation that provides extra adaptors and methods.
Avatar
yeah but that for example would not dirctly work. i need to iterate over all
18:58
then batch them
18:58
then execute them (i know the exact moment a thread is allowed to start)
18:59
anyway
18:59
this is currently not high prio anyway, but someday i want to make it work without using pointers to evade lifetime checks
Avatar
@Jupstar ✪ what are you making?
Avatar
i am running commands on a threadpool
19:00
but commands can also change stuff in the "main" thread
Avatar
vulkan commands i guess
19:00
is that a thing? xd
19:00
i should recheck my vulkan
Avatar
what how could u tell xdd
Avatar
And why are lifetimes being an issue?
19:02
(I'm just curious btw, you can ignore me) 😄
Avatar
bcs sharing data between threads needs static lifetime
19:03
or moving
19:03
so smth like Arc
19:03
which i dont want to use
Avatar
but if u use scoped threads u dont need static
Avatar
yep
Avatar
also cant u just share and give ownership of the data to the thread
19:04
and then get it back
19:05
channels? xd
Avatar
nah i want good performance
Avatar
did u perf
Avatar
i also thought about using Box and moving them around, but i can 100% garantuee the lifetimes in my head
Avatar
I thought scoped threads solved your issue, what is your problem with them?
Avatar
so scopes are probs good to go
Avatar
Avatar
Learath2
I thought scoped threads solved your issue, what is your problem with them?
i dont have any problem
19:06
i just need specific requirements
19:06
as accessing a specific thread
19:06
and run tasks in order
19:06
stuff like that
Avatar
iirc crossbeam channels were pretty good performance wise, maybe worth benching
19:10
RAM is my channel for communication 😉
Avatar
There is even crossbeam-queue which guarantees order 😛
Avatar
ChillerDragon BOT 2023-03-04 19:12:02Z
19:12
still dont really know wat you want but i managed to slug em
Avatar
Avatar
ChillerDragon
still dont really know wat you want but i managed to slug em
I did aswell\o/
Avatar
ChillerDragon BOT 2023-03-04 19:12:30Z
shopt -s extglob;for f in *; do x="${f//[^a-zA-Z0-9 ._-]/_}";x="${x%%+(_)}"; mv "$f" "${x##+(_)}"; done
19:12
bru
Avatar
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
19:13
also great how easy it is to rewrite smth like resize image to par chunks (edited)
Avatar
Rayon probably uses a channel somewhere in there 😄
Avatar
what a bad library
19:14
xd
Avatar
Yep, it depends on crossbeam-channel surprise surprise 😛
Avatar
but what does it want to channel around
19:14
all information i need is already part of the RAM... ofc it needs to share the references
19:15
if thats all ok
Avatar
Probably the task chunks, I'd guess it passes some pointers on the channel
Avatar
as long its only one directional
19:16
it's probs not too bad
Avatar
The thing that the channels do is also guarantee lifetime stuff
19:17
Though honestly, I haven't dug into threading internals in rust
19:18
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
Avatar
neither i am never sure if i want to write idiomatic code in rust or high perf. idiomatic rust tends to do heap allocations regulary at the same point its much cleaner to write most of the time 😄
👍 1
Avatar
That is also always on the top of my head whenever I touch rust. It's a dilemma
19:20
My C/C++ brain really wants to do a lot more on the stack 😄
Avatar
yeah xD
Avatar
Avatar
Learath2
Electronics prof likes to add ' to denote seconds in some filenames
that's because that's the standard way to do it
Avatar
Sure, but it's also very annoying
Avatar
actually, it's ' for minutes and '' for seconds when you denote an angle, especially in astrophysics
Avatar
@Chairn did you study physics too for what u studied
Avatar
i did study physics
19:36
i did first year university in physics
19:36
but i also had physics class during my cursus
19:37
A minute of arc, arcminute (arcmin), arc minute, or minute arc, denoted by the symbol ′, is a unit of angular measurement equal to 1/60 of one degree. Since one degree is 1/360 of a turn (or complete rotation), one arcminute is 1/21600 of a turn. The nautical mile (nmi) was originally defined as the arc length of a minute of latitude on a spheri...
Avatar
did u finally start your processor design career
19:38
i need faster CPUs, they too slow
Avatar
not really, no more faster CPU anyway
Avatar
Teeworlds ASIC when?
Avatar
kinda easy to do that 🙂
19:40
just need money to send it to a foundry
Avatar
Do it, hardware accelerated gamecore.cpp
Avatar
Avatar
Chairn
not really, no more faster CPU anyway
why no more faster CPU :c
Avatar
technology reaches a dead end
Avatar
when fix the memory wall?
Avatar
make faster memory rn
Avatar
come vocal, i can present my phd 😄
Avatar
It's only an order of magnitude or 2 behind the cpu, no? just do it ezclap 😛
Avatar
Avatar
Chairn
technology reaches a dead end
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
19:41
but maybe no high steps
Avatar
no more high steps
Avatar
so maybe invent smth new so we can overtake this bottleneck
Avatar
come voc
Avatar
what will i head there xd
Avatar
heard and see
Avatar
I would but I'm wasting time playing league
Avatar
Avatar
Jupstar ✪
what will i head there xd
His phd thesis
Avatar
can you hear me?
Avatar
what’s going on in there
Avatar
damn, is my mic dead already?
Avatar
i hear u for 1-2 ms
19:43
then it dies
Avatar
nah, i just unplugged it
19:44
was the laptop mic for like a few sec
Avatar
no idea what powerpoint and windows activation keys u talking about now but thx xd
Avatar
yeah, sorry talking about wifi identification with eduroam
20:31
eduroam is the shared wifi network across lots of univerisity/school in europe
Avatar
what giraffe
20:59
data-svg repo is only for stuff that is shipped with the client
Avatar
he meant giraffe skin i believe
Avatar
i don't think it's shipped with
21:04
but it's on ddnet skins db
Avatar
have u looked in chillerdragons data directory on github
21:06
whatever the repo was xd
Avatar
i have not
21:09
can i get a link
Avatar
chillerdragon give link plzz
Avatar
wtf
21:13
chillerdragon porn
Avatar
TeeworldsDB has 13 repositories available. Follow their code on GitHub.
21:15
sniff sniff there is no svg images
Avatar
ah yeah
21:15
A collection of 0.6 and 0.7 teeworlds skins that aims to be complete. Quantity over quality. - GitHub - TeeworldsDB/skins: A collection of 0.6 and 0.7 teeworlds skins that aims to be complete. Quan...
21:19
this is probably the best skin around
21:20
i cant believe nobody has made hd giraffe
21:21
the quality difference is very noticeable at zoom 10, which is necessary for non ddnet or kog servers
21:21
though the svg skins have some sort of bad aa artifacting
Avatar
A collection of 0.6 and 0.7 teeworlds skins that aims to be complete. Quantity over quality. - skins/giraffe.png at master · TeeworldsDB/skins
Avatar
that is the one
21:22
it's on here too
21:22
where there are... slightly less than 2,000 skins
21:23
and im pretty sure most everyone gets giraffe because it gets auto fetched when they don't have it (edited)
21:23
unless they changed the setting
Avatar
anyway cant find a svg version of it
Exported 482 message(s)