#programming
1 messages · Page 349 of 1
-D RGFW_WAYLAND
-D RGFW_WAYLAND relative-pointer-unstable-v1.c pointer-constraints-unstable-v1.c xdg-toplevel-icon-v1.c xdg-output-unstable-v1.c xdg-decoration-unstable-v1.c xdg-shell.c -lwayland-cursor -lwayland-client -lxkbcommon -lwayland-egl -lEGL
it not care
i think it might not be fastest to have libs do stuff.
why not write the triangle directly into video memory in real mode? hardest part would be extracting the timing. memory @ 0xa000:0000 is first 64k of video memory. can change to 320x200x8bit graphics with 3 asm instructions. you can probably also tweak the cpu mode so you have 32-bit access to unprotected memory and use that to write stuff to memory faster. depends on what specifically you need to do i guess.
me learn
apparently dont even need pipeline
if i use VkShaderObjectKHREXT
but then i need to load vk extensions at runtime
which seem annoying
line


user@nixos ~/c/vrrr> wc -l triangle.c
226 triangle.c

i should really rename it to vrrr.c
wrr
user@nixos ~/c/vrrr> ./result
Gtk-Message: 09:21:09.074: Failed to load module "colorreload-gtk-module"
93112
97865
98642
98720
98580
99334
99256
99217
99782
100316
100528
101084
100379
97995
101k 
without cheating
oh huh
ye 200 line of triangle
let me try that aswell
im not entirely finished yet but soon

im also going to make it into a 3d spinning banana
at some point
user@nixos ~/c/vrrr> LP_NUM_THREADS=1 VK_LOADER_DRIVERS_SELECT="*lvp*" ./result
Gtk-Message: 09:24:38.566: Failed to load module "colorreload-gtk-module"
57302
61228
61705
63435
62785
62952
llvmpipe
user@nixos ~/c/vrrr> ./result
Gtk-Message: 09:25:22.602: Failed to load module "colorreload-gtk-module"
35727
42156
43912
43954
1080p triangle
my version of triangle is properly synchronised
i only get 43538fps with 1 frame in flight
if i remove proper sync i get up to 107216 fps
on 3 frames in flight though
@olive sable
so its a bit different
something something inappropriate creations something something I can't say here
here's my load average running triangle
i should really put the fps counter on another thread
but im lazy
it doesnt like mangohud
apparently my gpu is being maxed
and my fps gets tanked when using mangohud
oh i know

ye mangohud adds more triangles
not friendly
triangle war 
wrrr
// true: print fps
#define BENCHMARK true
// true: break synchronisation
#define SAM_MODE false
#define WIDTH 300
#define HEIGHT 200
#define FRAMES 3
static_assert(FRAMES > 0, "why?");
#define IMAGE_COUNT (FRAMES == 1 ? 2 : FRAMES)
i am good at
c programming
SAM_MODE 
even with SAM_MODE=1, mine still blocks on more than sam's
i can only reach 108k fps with 3 frames in flight
with 1 its something like 48k with SAM_MODE
though, i dont have my fps counter on a separate thread
is the separate thread necessary anyway
I'd rather not talk about rune in general ngl. i'll never unsee some of the stuff they made - i'm traumatised for life.
probably not, but i cant tell how much the cpu pressure affects fps

looks like it does
if i add this:
if (fps % 1000 == 0) {
}
to the time-checking code, to make it happen 1000x less, the fps does go up
problem is that its suddenly limited to multiples of 1000 because
well, modulo
perf report when the fps counter is on
gettime significant percentage of runtime?
vs with it off
oh
gettime still there 
ye but less

i really dont know what that 8.92% is
ohh
address
its a kernel address
probably some trampoline from malloc or calloc
why is it allocating
vkQueueSubmit2
RADV 
I don't think so
i could just make a bump allocator and obliterate all of those allocations
ye it doesn't touch memory allocation at all
only special thing it does is set thread affinity and priority, other than that it's just the Vulkan code
thread priority useful but should already be set by gamemode 
thread affinity probably doesn't matter too much, but heavily depends on how the systems scheduler is set up I think
ye
probably happening in Mesa
drivers
user@nixos ~/c/vrrr> gamemoderun ./result
Gtk-Message: 10:17:19.414: Failed to load module "colorreload-gtk-module"
103491
102713
108546
108040
109327
108893
107963
107552
SAM_MODE, 3 frames in flight, gamemode, 7x6 width
seems to be producing 109k fps
user@nixos ~/c/vrrr> gamemoderun ./result
Gtk-Message: 10:17:55.273: Failed to load module "colorreload-gtk-module"
102233
110175
111062
3x3 goes up to 111k

at 1080p, 44k
ye because
mine not broken

btw sam triangle on same settings
[nix-shell:~/code/vulkan]$ gamemoderun output/vulkan
Selected GPU: AMD Ryzen 5 7600 6-Core Processor (RADV RAPHAEL_MENDOCINO)
0
107418
107548
107621
107454
108026
109018
109446
109268
sam triangle broke though, 1 frame in flight same as 3 frames in flight
enub
wrr
🍌
26 51 596 src/common_structs.hpp
216 423 7317 src/main.cpp
58 165 2886 src/vk_command.cpp
16 61 925 src/vk_command.hpp
210 509 8256 src/vk_device.cpp
30 65 1083 src/vk_device.hpp
355 896 15574 src/vk_frames.cpp
37 100 1686 src/vk_frames.hpp
21 49 878 src/vk_sync.cpp
12 23 342 src/vk_sync.hpp
981 2342 39543 合計
sam triangle actually have
things in it
that make it work

konii triangle 200 line monster
合計
3 18 110 ../vrrr/vrrr.frag
236 762 9711 ../vrrr/vrrr.c
21 76 633 ../vrrr/default.nix
8 30 205 ../vrrr/vrrr.vert
268 886 10659 合計
i think the shortest i had it was ~75 lines
but
it cheating
also my triangle requires
vk1.3
[nix-shell:~/code/vrrr]$ tcount vrrr.c
──────────────────────
Group Files Tokens
──────────────────────
C 1 1545
──────────────────────
nearly fits
the issue would be fitting the shaders
they would never fit
[nix-shell:~/code/vrrr]$ tcount ../vulkan/src
──────────────────────
Group Files Tokens
──────────────────────
C 2 38570
C++ 10 5512
──────────────────────
o7 sam
ignore the c though, thats volk
code2prompt
ok time for breakfast
banana bot
name it
nana

now to use my functioning vulkan game engine to make a game
(I assume it just gives you the content of files in a directory so you can paste into ChatGPT, similar to gitingest)

it doesnt even have the capability for animated shaders
using my brain reading the intruduction of godot is giving me headache lmao
i shouldve used my blue light glasses kek
Hi, just a silly question: is it just me, or has Vedal switched to RLM? Neuro has changed a lot, I suspect, but I might be wrong.
I'm implementing it myself right now 🙂 Well, I recently lost three months of work, so I figured I might as well try it out right away.
reverse engineering tool 
it convert
incomprehensible mess
(code)
into
plaintext


youve done this
"accident" is a strong word

@tender river should i make doughnut or cupcake
doughnut pros: tasty
cons: hot oil

190c hot oil
im making doughnuts
llm optimized token efficient code representation 
doug

dente

didnt he retire 
rr me late
me never make doughnut before 
"follow" loosely

as in, half all measurements, convert to sensible units, round up to nice values, then add more of any ingredient until i think the dough is okay

now i wait 1 hour 18 minute
for proofing timer
proving timer
whatever
firefox have builtin unit converter
ye
on mobile the calculator is stupid
190ish
the thermometer here doesnt go that high

ill just cook them 1 by 1 and do some experimentation
if recipe is accurate i should have anywhere between 13-17 doughnuts
2-3 inches of oil
usually you would deep fry them
this is a shallow fry in comparison

me not even know how to eat fish let alone cook 
some fish can eat raw
first you consume the fish
then you choke for a good 10-20 minutes
fish have lots of parasites but not many that can cross between 2 billion years of divergent evolution

ペットの鳩を手で待ってみたよ。パンケーキみたいに優しく持たないとダメなんだ。とっても暖かくて可愛いよ。手から鼓動を感じることができるよ!
彼の名前はラッパさん。スペルはRappaだよ。
いつもたくさん動画を見てくれてありがとう。
メンバーシ...
in my case the fish was fried and supposedly had few of the smol bones
sadly, few is more than zero, and one snuck in for a little critical damage
angry pigeon
pigon
what about the bird that stays in the air completely still
you mean colibri?
Nah not the one
humming birt
ohisee colibri called hummingbird in english 
jollymas is over
kestrel
this bad boy
jollymas over 
most birds of prey can remain in one place
they do it to hunt
really? I thought it is something special

kestrels are really good at it
but most of them can
so cuuuute
the original message has
15 stars
and the starboard message has
31 stars
and somehow that translates to
37 stars
duplicate


dough update

nut because original size 
not very nut sized nowadays
wrr
didnt know they were fa 
after many trials and tribulations, I have managed to get my homelab setup 

whale! home! labrador!
define homelab


wait till you read
their username

hardware is cool
pro tip tho
stick to literally anything with docs
preferably English ones
me decide to learn chinese
will probably take less time than whenever i get around to doing anything with hw 
me learn with
japanese video on learning chinese

cant read
well
maybe like 5-10%
that i know from japanese
i will also hear english so its probably not a super horrible way to learn, even if not that good either
very useful 
updough
what the hell
https://en.wikipedia.org/wiki/Deep-fried_Mars_bar
A deep-fried Mars bar (also known as a battered Mars bar) is a Mars-brand chocolate bar covered in batter then deep fried in oil. The dish originated at a chip shop in Scotland as a novelty item. Since various mass media began reporting on the practice in the mid-1990s – often as a critical commentary on how unhealthy the Scottish diet was –...
oh i wanted to make cupcakes today but only felt like sleeping
need buy sugar and vanilla
maybe make choco cupcakes since have leftover ganache
nuh huh
it's from the superior country
🏴 🏴 🏴 🏴 🏴 🏴 🏴 🏴
you may have noticed that I specifically said "UK" instead of England 
but yes
nah when you say the uk everyone thinks of england
deep fried oreo
I've told someone I'm from the north of the uk and they replied "oh are you around Newcastle"
I had to remind them I'm from the northern north of the UK
it's delicious, but not many places will make it for you cause it fucks the oil for the rest of the day.
You'd be better off getting an unused pot and filling it with oil to make it yourself.
English and delicious food... no, they don't go together, take it from a Frenchman.

theres apparnetly
deep fried ice cream
A pizza crunch goes along great with that
i've had this
here
in a restaurant
me not dine out too broke
or a cafe i don't fucking remember
In Australia, fried ice cream is strongly associated with Asian cuisine and particularly Australian Chinese cuisine.
It's kinda funny how some items become "chinese" or other ethnic cuisine
apparently deep-fried banana is a staple in finnish chinese restaurants
ye i think it was branded as an asian thing? when i had it
i don't know this was ages ago
I member those from Chinese restaurants.
meanwhile actual chinese desserts are supposed to not be very sweet, and the general compliment for them is to call the dessert "not too sweet"
I remember my parents giving me a candy they apparently loved as kids in china and when I tried it I swear I was eating unflavoured chalk
i once tried tofu pudding dessert and hated it
yea
it's supposed to be sweet but anyone who grew up with a western palate will be barely able to tell
no it was sweet to me
just the texture then?
i just didnt like the taste of tofu
oh but durian didnt taste sweet to me it tasted savory
im back on nixos 
when i went to do my exam my windows blue black screened when i went to click start
had to do it on pen and paper
were you doing it remotely?
they let you bring your own laptop to do it on?
i had spare dough
and they also just patrol the room

raw dough? i love raw dough
nothing will go wrong and i wont be horribly disfigured
good luck 
just don't check the temperature with your finger


does your frying oil device thing not have a temperature setting?
saucepan???? 
do yall not use a friteuse?
i cant find the english word
ye everyone has a mcdonalds frier in their house twin
what
some people swear by their deep frier but definitely not common
just search friteuse bruv
Or spend $10 and get a thermometer.
she has one just not one that goes up to 200C
buying just for one recipe decided to do on a whim that can be done without a thermometer 
how do you know?
i know these exist but definitely not common at all to have them
one reason being you have to use a ton of oil even if you need to fry little
i dont make fries
you don't or use a pan

nobody makes fries at home or if they do they do it in an oven
what the hell
in an oven 
i feel like air fryers are way more common
oil too hot
ye
so yall dont eat frikandel at home?
no vuurvreters?
im realizing none of these words have english translations
this is such a shame
test 2
STILL RAW KONII
id eat that
don't
how else find temp
finger
and that's what's wrong with America. ;[
the only thing stopping me is the north sea being between me and london
ye, fries go in oven
air fryer is just smaller (better) convection oven
Might need to fry twice. Once at a lower temp to cook through and then at a higher one to crisp up.
frying with oil seems inconvenient and expensive
how america related
yall are savages
make fries in the frietpot godverdomme
Yeah, oven fries are always a disappointment.
this is true, oven fries suck
heard that air fryer is better
but never tried
wrr
i originally come from a country that did fish and chips. so i know how the fries should be.
since when was amongus car ptt
in the frietpot
only correct answer
fried in oil in a metal basket
yes
om
what else you gonna call it?
yeah. just wire walls
but then you have to deal with the oil 
annoying
now to figure out what do
no one has that here
air fryer
tbh air fryer/convection oven fries aren't bad, they're acceptable
konii please do not start a fire 
way better than oven fries at least
well done 
good luck with the insurance claim
cover the burning oil with a lid
cover the burning oil in oil
cooking with hot oil requires planning for emergencies
not everyone does.
wait for it to rain
yeah, you need a long stick for your bucket of water https://www.youtube.com/shorts/KHvnLJ81SgU?feature=share

i liket his one
also the rare times I ever deep fry anything I use my wok
wok yum
there used to be a wok cafe in domodedovo which was like the only non-overpriced cafe in the entire airport
i think a deep frying setup would not help my goal of "eat healthier". it would result in "cook more" though which indirectly might help.
i gave up on trying to eat at airports a long time ago
w/e me just no talk
starving just makes more sense financially
how I ended up successfully forcing myself to cook more was to give myself a restaurant quota and to order ingredients by subscription
so if I didn't use ingredients I'd be forced to pile them up
so I had to do something with them
oh i think in vnukovo? theres an obscure cafe intended for employees where anyone can go technically
trespassleaf
im losing it
surely next one 
halving recipe was a mistake because
half of the donuts used to gauge optimal temperature

rr
this would be great if
the raw part was actually made of cheese
and it was a fried bagel
also i burned myself a bit
you know you only need to replace the oil once in like 15 uses right?
yes
pathetic
i saw this video
where bro didn't change the oil
just put some magic dust in it
that cleansed it
all the non-oil turning into a clump of stuff that he removed in one piece from the oil
the dirt doesn't just magically dissapear, and i wouldn't want to be eating something dipped in dirt cleaning solution
it's a thing that congeals the oil into a solid
so you can throw it away in trash
because you don't want to put oil down the sink
I hope you don't own where you live then

Exclusive footage of our friteuse
its dirty i know
for the british people here, look a kettle 
I'm american, what's a kettle?
me keep kettle near pc 
does the oil attract the big rat
that makes the rules
drink tea any time 
actually I'm a bad american, I do have a kettle
i don't really use the kettle that much since most stuff i need boiling water for i use the stove and a pot
i forgot we even had a kettle
or rather I have a hot water dispenser
I don't think I could do that even if I wanted to
risk of overloading circuit 
~3 kW
need a lot of power because you want the water to heat up quickly
dumping a lot of energy into the water very quickly is kinda the whole point
3000 whats
the peak will depend on where you are though, like UK plugs have a higher voltage
i know kitchens have higher amp rating sockets, but thats still a lot
my kettle uses 2k 
when i want tea i just run a crypto miner and put a cup on my gpu
i once spilled tea and it flowed below my laptop and boiled
i keep my laptop raised now 
americans instead all have coffee makers
the crypto mining space heater thing unironically lives rent free in my head
I used a crypto miner to heat my apartment in uni
and kept it in a basement room while he was away for half a year on some scholarship thingie in china
we also have coffee makers tho.
we have a kettle and a coffee maker 
impresive i know
he was found out because some maintenance guy noticed that the door to that room was hot
it was like a consistent 45C in there
(disregarding the jet engine sounds)
I've had so many arguments with people arguing that a computer/miner is "less efficient" in producing heat than a space heater
gpus sucked for a while, ethereum is proof-of-stake since what, 2021? eth was the popular one that didn't make sense to build asics for but still benefited from the compute being gpu

my dad bought one of those fancy coffee makers that grounds the beans and has an lcd touchscreen and all that shit
its cool but damn who spends that much on coffee machine???
you won't believe how many times I've heard the "the electricity is being used on computation, not heat" point
lot of people are very passionate about coffee 


it's up there with the "you need to make your computer cooling worse if you want your computer to make more heat"
donut
people who deal with life and pain by being busy (and needing not to be tired to stay busy)
good coffee machines are like $2k+
its not like a coffee machine with an lcd touscreen is gonna grind beans that differently
lcd cheap nowadays
i ordered a computer for $2.3k 
wouldn't spend on coffee machine
can even be a cost saving measure
ye there's a reason it called coffee machine and not a coffee grinder
not a fan of sand's taste
tried when i was in kindergarten
did you get sand in your doughnuts maybe?
fried doughnuts on the seafront
beach for breakfast 
ahem
people at the beach do happen to eat bereakfast on occasion
like every day
for coffee me use random chinese electric grinder and a phin 
it lowest effort possible
without using coffee machine
i dont drink coffee
not daily at least, i drink it when visiting people
social drinking basically
social drinking (coffee) 
hence the glass of milk
i mean, same thing with alcohol
im not an alcoholic but at a party i do drink some champagne or whatever
small bottle of whiskey big bottle of coke 🥃
me drink half a bottle of vodka month ago
didnt affect me much acted mostly same as normal 
my beloved national brand (of Coffee)... Delta.
with tonic me not psycho
not that delta
there is no other delta
Explore o universo do café com a Delta Cafés. Descubra a tradição, qualidade e paixão que estão por trás de cada chávena.
there is another
Delta is literally everywhere coffee related where i'm at
you should glaze them 
after choco cupcake me try cinnamon maybe 
"damn doughnut you looking good" 

you're absolutely right!

i was gonna
but
my will to live was crumbling
so i ate them all
The Gluttonous Beast
i never tried kneading dough just used a bread machine
i should try making bread in oven 
donut without thermometer scary
me have
got for free 

my grandma had one of those bread kneader machine for 25 years
it was a sad day when it died
its pretty easy
not convincing 
<-
hardest part
not burning myself by accident
second hardest part
not undercooking the doughnut in burning oil
third hardest part
making the dough usable after messing with the ingredients


hmm me try if find canola oil and uht milk 
minsmig
its got a different name in the UK
that i cant say due to automod
ye still same thing 
yeah it's canola that is the filteredseed oil
i see now why
they were
look how many died to produce these 5
i will say that none of those 5 were undercooked

why were the sacreficed?
temperature
temperature
its still edible no?
raw dough
ye
no
is refined or unrefined oil better for this 
ohisee refined better
higher smoke point
cant find
snuflower good enough maybe
me use olive oil for salad and sunflower for cooking 
i like using walnut oil for salad, is yummy 
gimme
ideally you dont get to the smoke point
idk how people do it
but I wanna
you should be doing it at 375f or 190c

ye
might just buy one
would make it a lot easier
I think you did pretty well though 
i think it was about 20-30 seconds either side when it was at the "right" temperature
you're not even yellow 
short
bro discriminates against the non yellow 
make sense with that temperature 
ye
anyway, they need to be fairly dark

additionally, if it gets that dark faster than 20 odd seconds, your oil is way too hot

ok
either banana or gtfo imo
arson is a suboptimal route
thanks for the typ
i did both
tip tpyo

was the sacrifice worth it
no
those poor fallen souls

i could have gone to the beach by train
and bought doughnuts
from nearly anywhere
it was fun though
why is osu still open
hope it heals quickly though
did you run it under cold water?
dont run under cold water
run under cool water
cold water after burn cause additional tissue damage

whats the difference between cold and cool?
temperature
i didnt even know there was a difference
anyways I don even do programming I just come in here once every week for fun and see what yall do
maybe i should try making sushki myself
its always abt cooking
99% cooking/baking and 1% coding
random nerd come in this channel
baking is kinda like programming in that uhh, there are instructions
cooking food and gpus
gpus?
🔺
no triangle today because my 2x8gb godbin isn't working well for some reason and my 4x32 refuses to boot now
oh das cool
maybe tomorrow
your what now?
the godbin
continue
wha
human without yellow nor mallowcakes 
who
i misspelled mellowcakes in googlwe and got flashed 
drying color 
so i was looking for RAM references but every stick had the brand cover and i wanted to draw the one without it and i searched "naked ram"
i now remember Rem has a pink haired twin
can we bully the bred into banana bred
do not
bred should keep current color 
allow
bred said pink cuz mental health

so ill allow it


i meant the pink
me stream
not the bullying

lowered bitrate
i got bored.
is it normal i thought nothing of the message
programming very on topic me used to random shit

Hello I hope whatever happens here goes well
what message
What even happens here today anyway?
Hem?
someone said “i just had to stand outside in -6 celsius for 40 min” and deleted

i’m feeling like gambling and i think i found a fun way to
i’m gonna train a nn to trade crypto
(rng)

you fucking donut 
So basically a money losing machine
I can't believe I understood that as train neurotic neurons to trade crypto before neural network
was searching for something to make chat more readable to me, ended up with this chatterino filter if anyone interested
!(message.content match ri"(?i)(\S+(?:\s+\S+){1,12})(?:.*?\1\b){2,}")
|| author.badges contains "moderator"
|| author.badges contains "partner"
|| author.badges contains "vip"
regex matches groups of 2-13 'words' with at least 2 occurences, should filter almost all the multiline spam messages
no no no it’s gambling not losing money
there is a chance i make money

you'll just be competing with the thousands of other models out there
train it to learn the exact moment to pull out of a memecoin
they’re called dumps for a reason
at an arbitrary time
how do you teach anything to predict that
maybe the average rug puller and pump and dumper has a trend for when they decide to do it
Maybe there's just some human-based pattern to it
fees
maybe

the problem with trading ais from my understanding is that there are way way too many variables to account fot
actual trading companies also optimize for latency
but probably not important for some simple algo
all this computer stuff is so complicated, so the shutdown button shuts down or logs me out?
just move server closer to exchange
depends on what the shutdown button does






1500-3000 watts










