Guild icon
DDraceNetwork
DDraceNetwork / off-topic
Any languages allowed
Between 2023-09-28 00:00:00Z and 2023-09-29 00:00:00Z
Avatar
Avatar
Patiga
COUNTER STRIKE 2
ive invested in many cases a couple months ago
02:50
lets see if it pays off
Avatar
Stole your plush, whatchu gonna do now you STUPID B*TCH
troll 1
Avatar
ok cool
Avatar
Avatar
Patiga
COUNTER STRIKE 2
15 fps on my potato pc
07:37
i had like 100 fps in csgo
Avatar
The body of a 39-year-old man was found wedged inside the hind leg of a papier-mâché statue of a stegosaurus in the town of Santa Coloma de Gramenet, Catalonia, Spain. Initial police reports did not suspect foul play. A representative of the local police force hypothesised that the individual may have crawled inside headfirst to retrieve a lost mobile phone before his leg became stuck, trapping him inside. Firefighters had to cut the statue apart to extract the body; police observers believed that he may have been trapped in there for "a couple of days". Local media sources claimed that the family of the victim had reported him missing only hours prior to the discovery. The body was discovered when a man and his son noticed an unusual smell from the statue, and saw the body through a crack in the statue.[494][495]
justatest 4
10:50
interesting that something like that can still happen 😮
Avatar
(2021)
Avatar
How can i use the GPU
17:38
In C
17:38
How does that even work lol
Avatar
syscall all the way through
Avatar
@pilonpl with vulkan
Avatar
but seriously, i think this is handled via /dev/ files
Avatar
Specifically i would want to remake my axis aligned rectangles project
17:45
And i wonder if i could use the gpu
Avatar
use wgpu with rust 💪 (edited)
Avatar
I guess it's mostly about computing the difference between two images
Avatar
rust makes crossplatform development so easy
Avatar
I don't know rust
17:46
Yet
17:46
It's complicated
Avatar
Avatar
アリヂン
but seriously, i think this is handled via /dev/ files
i think u use drivers to interact with. gpu, its what they are designed for
17:47
and vulkan is the way to go
17:47
or u can use propietary cuda
Avatar
not at all, you just have to get used to it, Cpp is MUCH more complicated with all its macros and templates
Avatar
this is to do processing, not rendering
Avatar
Cuda doesn't work on amd
Avatar
amd has ROCM
17:47
but
17:47
u can use vulkan
17:47
it works on both
17:47
but its not as specialized
17:47
but compute shaders work
17:47
what do u want to do?
17:48
learning vulkan is the best skill among these 3: rocm, cuda, vulkan
Avatar
Score shapes by adding up the difference in pixels
Avatar
u will learn more
17:48
first, did u study if ur problem can be massively paralel?
Avatar
It can be parallelized
Avatar
are you trying to implement an image to shapes algorithm?
17:49
I already made something that works in python
Avatar
woah, that would be cool, even better if you optimize it
Avatar
Would be much cooler if i was the first person to do that
17:50
Idk if you have seen what i've done so far
Avatar
but there are levels in paralelization
17:50
but yeah
17:51
like a cpu u would split in 12 threads and maybe it works nice
17:51
a gpu is like 1000 or 4000
17:51
iirc
17:51
so if compiling the end result requires more time then its not worth it
17:51
but im no expert
17:51
ask @Jupstar ✪
Avatar
I want to score multiple shapes at once
17:52
So it's definitely possible to parallelize
Avatar
its hard to be original these days, just implementing this is already amazing, not many ppl can do that
17:53
i made this xd
Avatar
Heres what i managed to do with my python program
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
do you have nvidia gpu or amd?
Avatar
i have a 3080 rn
Avatar
I tried rendering the mandelbrot set in glsl
Avatar
Avatar
Ryozuki
i have a 3080 rn
do you have proprietary drivers or nouveau or what :D
Avatar
propietary sadly
Avatar
maybe if i install those ill have better fps pepeW
17:56
u will most probs
17:56
nouveau is not the best sadly
Avatar
they are reverse engineered or smth
Avatar
I use amd
17:57
And manjaro
17:57
And i am a happy almost arch user
Avatar
im 2 weeks in gentoo btw gigachad
17:58
almost in ddnet gentoo club
Avatar
my nerves wouldnt be able to handle gentoo
Avatar
With a proper gpu i can finally play even cyberpunk i think
17:59
Roblox runs smoothly too
Avatar
i can rust glxgears... pepeW
18:00
best game
Avatar
Avatar
MilkeeyCat
almost in ddnet gentoo club
epic
18:01
i would say ur already in
18:01
i dont see u leaving
18:01
gigachad
Avatar
Avatar
Ryozuki
epic
do ppl get dev role only if they code ddnet client?
Avatar
i think ye
18:01
make a contribution
18:01
i dont know cpp
Avatar
and wouldnt want to (edited)
18:02
how old r u
Avatar
learn programming
18:02
it will secure u a job
Avatar
but i have to make a something for uni
18:02
in c++ or c#
Avatar
dont rely on schools to teach u tho
Avatar
so basically in c++
Avatar
at end its urself who wants to learn
Avatar
Avatar
Ryozuki
dont rely on schools to teach u tho
am learning everything myself pepeW
Avatar
my uni teacher taught me whole nothing
Avatar
I downloaded rust so what should i do first lol
Avatar
Avatar
MilkeeyCat
so basically in c++
and i can choose between a game or some goofy ui for music library
Avatar
Avatar
pilonpl
I downloaded rust so what should i do first lol
read the online book
Avatar
I mean
18:29
What should i code
18:29
To try to learn this
Avatar
Whatever you usually do with a new language
18:48
I like making a couple data structures and do some string manipulation
18:52
Data structures aren't a great idea with rust actually, it's not very easy to make
Avatar
what about advent of code :D
Avatar
Avatar
pilonpl
What should i code
Avatar
Image to ascii art
19:20
I always wondered how it worked
Avatar
its time to do some research then 🙏
Avatar
And it's probably just choosing characters based on brightness
19:20
But is there more to it
Avatar
no! you can also choose them by shape
19:21
like / for slopes
19:21
But how would you even go about implementing that
19:22
Sudoku solver using A* algorithm
19:23
Sounds interesting
19:23
I guess that would involve representing the puzzle as a graph
19:26
Implementing A* alone would be interesting
19:26
Or Dijkstra
Avatar
this is your to-do for a year :)
Avatar
A* is just Dijkstra on a modified graph i think
Avatar
A* is Dijkstra but you actually tell it where to go
19:27
i have an astar implementation
19:28
but it's far from ideal
19:29
here, if u want, but you should code it yourself, also my code is not tile-based
3.01 KB
19:33
i wonder how much memory would that sudoku solver use though 🤔
19:33
and how do you choose a heuristic function...?
19:34
like, if you choose bad heuristic, it may end up just bruteforcing every single state
Avatar
It's considered medium difficultly
Avatar
anyways its 12 35 and i feel sleepy 😴, goodnight and goodluck learning rust
Avatar
Its 21:37 in poland
19:37
Nice
Avatar
RPN calculator is a nice start for any language
Avatar
Avatar
アリヂン
Click to see attachment 🖼️
why is lambert's problem solver fuck you? numerically it's not very hard to do
Avatar
Avatar
アリヂン
here, if u want, but you should code it yourself, also my code is not tile-based
pls run cargo fmt before sharing code
20:58
also u dont rly need traits for things u implement only in 1 structure
20:59
also u should derive Clone, (and Copy) nearly always (edited)
Avatar
My rust-analyzer is dum
21:05
It doesn't work correctly pepeW
Exported 158 message(s)