#πͺ -progaming
1 messages Β· Page 122 of 1
Add vennie
Add quantum physics
accumulator
so my gpu doesnt die
i think i get automatic antialiasing from the jitter?
maybe
i can just say there is β¨ stochastic antialiasing β¨
i ran out of time but if i had another week or two i would implement triangles and a .obj importer and then add a vennie
technically i have a week free next week but i need to actually do work in that week
Malicious Meyer
Malicious Meyer
Malicious Meyer
finally, gloom in swift
maybe i can conisder learning swift now
is it better than kotlin
probably not right
why does it render so slowly
and also
thats like really cool
when are you rewriting ellec in elle
the light calculations are really expensive, and i haven't really optimized my code that much
whenever i find myself with a free month or two (next year after june)
idrk
definitely not for android
at least for actual app development
Why, when Discord restarts and I am in a voice channel, does it not automatically reconnect me to the channel?
What is the reasoning behind infering never
does any "never" code reached cause the function itself to return never
it should but typescript is kinda braindead
never means a function will "never" return
that being, the process terminates, or loops infinitely
stuff like that
its a thing in any complete type system
rust has it, the ! type
never in typescript is just a weird form of any
so if a function is called which never returns, by inference the function which calls it will also never return
but that's because they're stupid
Man, I love doing something.unsafe!!!!!!!!!!!; asserts
The ! type, also called βneverβ.
it doesn't have it properly lol
using it outside of return is stuck on nightly
Heard rumors it'll be stabilized in 1.96, sometime next year
!
!
lipoproteins
in kotlin its Nothing
should've been Nah
most of the time it means it throws, but it could be while (true) {}, process.exit, etc...
why on here
what is this exactly
@valid jetty @fleet cedar is there a math symbol for possibly
"For a general graph G there could exists v, w, z such that ..."
Modal logic is a kind of logic used to represent statements about necessity and possibility. In philosophy and related fields
it is used as a tool for understanding concepts such as knowledge, obligation, and causation. For instance, in epistemic modal logic, the formula
β»
P
{\displaystyle \Box P...
β for possibly, β» for necessarily
how tf do i pass large triangle counts to the gpu
on macos, i have up to gl 4.1
which means i dont have ssbos
ubos are tiny
macos doesnt support 32 bit floats in textures
im going insane i just want to render a fucking glass utah teapot
idk jackshit but hug
awesome teapot
hey i think there's a little graphics with your tear
where is it 
I ate it

make elle a rust macro
@valid jetty https://github.com/Rust-GPU/rust-cuda
@valid jetty write a STANAG 4285 decrypter
i didnt think i would need to touch such complicated types just to send a bunch of triangles to the gpu
i love my highp samplerBuffer
is this elle
oh its shaders
you can probably tell i dont do graphics programming
i couldnt figure out any other way to do this
basically uhhh
on modern opengl, as far as im aware, you can use this thing called an SSBO
shader storage buffer object
to send an arbitrary amount of information to the gpu (like as big as the vram)
however im on macos, where opengl is deprecated and the latest version i can use is 4.1
SSBOs came out in 4.3
another option is UBOs (uniform buffer object) but those can store much less information (like 16-64 kb max) and i need a lot more for complex geometry
so basically all im left with is to send an uncompressed texture with high precision 32 bit floats for each ""pixel"" and then sample that texture to get my vertices for my triangles
it is SOOO fucked up
the funny thing is i couldnt even use normal raylib for this because it does something fucked and/or i cant define a TEXTURE_BUFFER
triangles := []f32;
objects := [
Object {
model = rl::load_model("examples/resources/cube.obj"),
color = #cast(Color, &0xfffedefd),
intensity = 0,
ior = 1.5,
rough = 0.05,
kind = Kind::Glass,
transform = Matrix::translate(0.5, 0.5, 0.5)
}
];
for idx, obj in objects.iter().enumerate() {
for i in 0..obj.model.meshCount {
...
}
}
$dbg(triangles.chunks(4).collect());
shader := rl::load_shader(nil, "examples/resources/raytracer.fs");
defer rl::unload_shader(shader);
u32 tbo;
u32 buf;
glGenBuffers(1, &buf);
glBindBuffer(GL::TEXTURE_BUFFER, buf);
glBufferData(GL::TEXTURE_BUFFER, triangles.len() * 4, &triangles[0], GL::STATIC_DRAW);
glGenTextures(1, &tbo);
glBindTexture(GL::TEXTURE_BUFFER, tbo);
glTexBuffer(GL::TEXTURE_BUFFER, GL::RGBA32F, buf);
loc := rl::get_shader_location(shader, "triangles");
glUniform1i(loc, 0);
rl::set_shader_value(
shader,
rl::get_shader_location(shader, "triangles_size"),
&triangles.size,
ShaderUniformDataType::SHADER_UNIFORM_INT
);
so im doing this instead
and then on the gpu i have
uniform highp samplerBuffer triangles;
uniform int triangles_size;
uniform Object objects[MAX_ENTITY];
uniform int objects_size;
vec4 get_vertex(int i, int offset) {
return texelFetch(triangles, i * 3 + offset);
}
Triangle get_triangle(int i) {
vec4 v0 = get_vertex(i, 0);
vec4 v1 = get_vertex(i, 1);
vec4 v2 = get_vertex(i, 2);
int meshIndex = int(v0.w);
return Triangle(v0.rgb, v1.rgb, v2.rgb, meshIndex);
}
this was soooo not fun
fuck opengl fuck apple

i dont have this issue roie
when wil lyou send a binary i can run on my pc
On Windows we have only DirectX π
fuck you i did it anyway
it's less than 1fps
how is it so inefficient
because it's checking intersections with like 5000 triangles for every pixel
Have you ever made a ray tracer?
it is if you put complex geometry in it
with low sample count and low ray count
Depends on samples and depth
though i will say mine is unoptimized
And yeah, geometry
it can be faster but not by a lot
use a lower poly teapot maybe
this is a lower poly lmao
Do you use any sort of bvh or similar?
i decimated it myself to like 5% of the original triangle count
nop i need to do that
Then it's gonna be slow af, yeah
yep
is there any other way to optimize this..
i really want to put the full 800k triangle dragon into this scene but even with a bvh i'm scared it'll take like an hour for a single image to render
whats the bounce limit
of the rays
i should look at sebastian lague's video to see what optimizations he made
it's at the bottom
16 bounces, 1 sample per frame
though the frames accumulate so if i just wait it'll eventually become less noisy
what if you compiled and send to me
you have to link with opengl for windows lol
^^^ i'm using direct opengl for this because raylib didn't do what i need
husk
as if i had that kinda time
i just had sunday off before i need to start doing school work again next week
so i wanted to tie up some loose ends which basically just means like, i wanna render triangles
that's the logical next step of what i had before
one day i will do
you could look into using a Kd-tree, but i would think bvh already covers it
yeah but i hate wgsl
you and me both
XD
honestly i wonder how webgpu holds up
i dont know any1 thats using it doe
0 fps 
lately i've been deleting a lot of files by mistake
previously i deleted my distro's repos from my system
now i accidentally deleted the source file instead of the object file
Husk
whats the ts/js formatter to use with vsc nowadays
excluding prettier cause it sucks
Biome?
is biome good
it's the formatter with the most modified wooded badlands plateau vibes
oh okay
ill try biome ig
related i guess but what indentation does everyone prefer for jsx
i typically use tabs at 4 width for everything but jsx is cursed so
always same as js
oh also is there a list of presets for biome
i use stylistic, but i am also anal about formatting
4 spaces 
prettier
EXPLODE
tabs
html + tailwind
only one line of js for light/dark
(tbh i could move that to css but cba)
slimey sadan
yop
no more jetpack compost web
I'm composting
compostable
@compostable
why does warp the terminal sponsor a repo to bypass cursor limits lol π https://github.com/yeongpin/cursor-free-vip
dprint
@cinder egret Fayeland Unban
@woven mesa LC will never fail to disappoint me in how hacked up it is
depends honestly
personally I prefer the vscode default formatter cause it's reasonable while letting you choose the style. but it's very permissive and requires you to already format your code reasonably
so if it's a project with many contributors, nothing beats something strict like prettier or maybe biome (never tried biome personally)
I wish there was go formatter equivalent for js, it's so good
lmaooo
vibe coded terminal
i do
if you disable all the ai shit its a decent terminal
i hate how itβs been two months since i got a mac and im still using Termianl.app
ok
wait whats wrong with that
I use it
before i tried it i kept saying how iTerm2 is like essential app every mac user should get
and how Terminal.app sucks compared to it or any other terminal
but idk it seems good enough to me
@spark tiger
I used to be one of those people who switches terminals but like it just ends up being an extra app that is either missing stuff I need or just does as well as terminal.app
ghostty?
?
oh nvm itβs some other terminal
ghostty has good features but I mean at the end of the day its just another terminal
i thought it was ghostly because they have shaders support iirc
i didnt know that
all I neeeed
ghostty is definitely fast but i prefer warp simply because i like its text entry
same but it was kinda buggy on windows so i returned to wt
im one of those #normie users who end up using whatever the os comes by default
my wallpaper isnt even changed

i changed mine because it was a boring nature pic
idk why they didnβt put that cool image from the box instead
also i wish my menu bar was white because it looks so clean
i have a nice wallpaper
i have a lot of wallpapers
omg https://github.com/honghaoz/ChouTiUI @solemn ravine
ChouTiUI is a Swift framework for building delightful user interfaces on macOS and iOS. - honghaoz/ChouTiUI
the guy made it public
aw
they're a hardcore nix and nix-darwin fan UNFORTUNATELY
maybe I'll just extract the binary from the arch package or smth
is this like everything but fedora
everything but rpm and apt based + no tar gz / appimage
doesn't opensuse also use rpm
asdx8sauydsa
literally not a single sane non hipster format (except arch)
they should put it on flatpak maybe
Is it even available for windows π
no
Sad
thats source code
Each version of Ghostty is only guaranteed to build for one specific version of Zig as it is still a rapidly-evolving language. Either older or newer Zig compilers may not be able to build Ghostty. If your package manager maintains a different version of Zig than what Ghostty requires, you can use static binary releases of the Zig compiler on the Zig downloads page.
you can build it for windows and it will kinda work i believe
though last time i tried it it didnβt compile but iβve seen people saying it is possible
tupid
if you install packages from some random like this you're ngmi
call this a skull tissue but I dont like ghostty configs...
I'll just use konsole on linux
not even a skill issue that's a pretty common thing I hear
and I agree with it 
did you see that the betterdiscord dev made some website for ghostty configs
insane
bleh
I will just keep using Windows Terminal
zerebos jumpscare π
funny how its a mac looking window
lmaooo zere
forgot theres CSS in gtk no way u can have css themes
@woven mesa there does seem to be some notification stuff for CF
Contribute to khcrysalis/runtime-headers development by creating an account on GitHub.
which is very nice but I don't think I want to discover all the types for these π
hi
im stuck staring at rust code again because I genuienly cant structure rust code
how do I make this maintainable bro
what are you doing that made it bad
sadly around 5 different very annoying libraries that need to work with one another
it's rendering..
that's on sample 1633, i'm gonna let it get to 4096 before i export to an image
this is not a full bvh, it would run way faster if it was
my bvh builder is wrong, so i just made a single bvh node which encapsulates all of the triangles in the mesh
this is still faster than before because now at least the ray has to hit the bounding box of the mesh before checking every triangle
so it's still a big enough speed up that i can render this dragon
i think it has 5k triangles? iirc
maybe less
the shadows should prove to become more defined as more samples are taken
I got a second hand copy of "The C programming language" (second edition) and it has a train ticket as a bookmark
also the logo looks weird so i'm wondering if it's counterfeit
I miss my original copy :(
this is in fact my second second-hand copy of the c programming language second edition
these things aren't cheap
is this all your books
peak
no i have more but those are the books i got within the last few months
and that's not an up-to-date collection i got more since then
blahaj, C programming book, mangas, and stardew valley cookbook recipes, what more do u need
??? no i've had it since like uhbbbb october last year
i don't buy books that often
you just said they were they books you got within the last few months
2!!!
2 of everything?
MIGU

why are lower case snake_case type names so pretty
printed intro to graph theory πππ
maybe they feel pretty coming from Upper_Snake_Case type names
which i did use in one project
going back to PascalCase makes me thing of airlines
even though easyJet is actually camel case
why isn't it called easyJet case
idk why i have that actually
amfi_get_out_of_my_way
@deep mulch

camelCase my beloved
Good
someone needs to lock all vercel employees in an isolated room with no Internet access and throw the key away
vercel on their way to make vendor lock-in a first-class js feature
vercel on their way to make malware
so insane
at least proper decorators i think are a bit better
no idea why typescript only supports them in classes rn
tc39 know javascript challenge
@crude star rini
zoot
tbh i dont care that much decorators, give me pipes
in 2050 typescript will have every language feature
typescript will get extension functions (its impossible i think) by 2090
evil
pogaming
rinininini
oh the horrors
I'm confused
\
@deep mulch @hoary sluice
i wrote a bvh and that allowed my raytracer to handle much more complex geometry
in this render
i was rendering 1458 triangles at <1 fps with 16 bounces and 1 sample per frame
this render is 87130 triangles at 4fps with 1024 bounces and 1 sample per frame
the original dragon now renders at 24fps with the same settings as before, compared to the <1fps from the old render
i let the higher poly dragon reach 50000 samples before i stopped the render
which happened to be at almost exactly 3am (almost exactly 3 hours since the start of the render) so that was nice
the old dragon above took about 2-3 hours for 20k samples
so 30k extra samples in the same timeframe for a dragon with 60x more triangles and 64x more bounces is pretty good id say
3 hours is still crazy high
rosie recreating blender
anyone know when discord oauth refresh tokens expire
i cant seem to find a straight answer
vap spotted
that awkward moment when you find a comment of yourself yapping completely nonsense a few years back
real
You might accidentally achieve sentience in your nil objects
I hate it when that happens
They currently dont expire
You donβt. Refactoring in rust is common when adding new functionality due to how everything works.
it looked fine at 1,000 samples tbh, it was diminishing returns to wait until 50,000
and it got to 1000 in like 2 mins
blender does compute shaders
which i cant do because im using fucking opengl on macos
thats why on blender you get the little squares
the work is split up even more than i split it up
hop off
whaaa
i dont really have a choice
my other approach is to use the metal api which means i have to write metal bindings for it
and that sounds like a lot of work
thats a good point i will try the raytracer on my linux machine in a bit
it should run better i think
do
@valid jetty ray trace minky
send me an obj
Kotlin uses goto for coroutines
objc mentioned
soon
Casual reminder that the goto in programming languages is far weaker than the one Dijkstra warned about
Can't jump between functions for example
longjmp 
shortjmp
I can't wait to figure out what all these values mean
if (!!probablyFalse != !false)
do you know how enum type displays work
That means there's an ```rs
#[derive(Debug)]
enum Value {
Boolean(bool),
String(String),
...,
}
does it compile to the contained type
idk what tagged union is I haven't used rust enough yet
They're everywhere in ts too, { kind: "int", value: int } | { kind: "string", value: string }
@valid jetty next week i will test elle clean build time on a 9950x3d
what does fine mean
cyberpunk can probably look fine on a 2050 at 30fps
?remindme benchmark elle
Invalid time provided, try e.g. "tomorrow" or "3 days".
?remindme 4hr benchmark elle
Alright @deep mulch, in 4 hours: benchmark elle
@valid jetty love?
like, it wasnt that much of a difference from 1000 to 50000 samples
i just let it run because i was watching a movie anyway
anyway i improved my bvh to construct much faster
and i can now render the full 870k triangle dragon
@valid jetty can elle run through qemu static on x86_64
probably
I need to
@valid jettycan I run elle on my phone @valid jetty
NONONONONONONO
ITS HAPPENING
the Bug
the Bug
if your phone can run linux with a desktop cpu
my plugin sometimes will start inserting emojis and mentions at start of message
will be horrible, elle depends on tokio full and tower lsp and some other stuff
make elle depend on is-even
I will explode
@valid jetty watch https://youtube.com/@marshallbrunerrf
nerdy math
@crude star rini prison
@deep mulch, <t:1761664531:R>: benchmark elle
Regarding an old experiment 2021-07_role_popout
Does anyone know how to fetch a role's list of users without admin perms?
can't unless guild has <10000 members
The guild I'm referring to has less than 10k but for specific roles I can't see the count of how many users have a role unless I can access server settings/admin perms.
then you can use const counts: Record<Snowflake, number> = await RestAPI.get(`/guilds/${guildId}/roles/member-counts`) to fetch member counts of roles (mapping of role ids to count of users who have role)
Thanks! I'll test it out
@shrewd canopy
1367241808819650662 0
1367243000622612520 224
1367243075252129932 164
1367243078376620186 20
1367243210463645816 715
1367243238515146803 1880
1367243247130251314 188
1367243392731320370 578
1367244200541950157 1
1367244816190144563 7
1367245146747568209 3
1367256261116297230 1
1367270029929746487 1
1367282776944017470 19
1367765604311760970 1
1375412608424873994 7
1381436888904106015 131
1381437259114352825 12
1429042203665371208 372
1429042417042063561 0
Worked great!
Used fetch('/api/v9/guilds/1367241808819650662/roles/member-counts',
Don't use fetch
Use RestAPI
Worked good and did what I needed lol
makefiles are so nice lol
said no sane person ever
i wish i actually learnt them sooner
obvs you don't use them for dependency heavy stuff but they're pretty nice for what they're made for
mfw thats like 85% of C++
;-;
actually dependency management is easy in c/++ (including in makefiles)
a good dependency management solution... as far as can be observed.. is impossible
with raylib i just downloaded a tarball they had which had headers files and libs

This is true
nix
npm is a better native module dependency manager
than the lack of a standard for makefiles
Agree
@valid jetty Compute shaders, open gl 4.6!!!!!!!!!!!
i spent my whole day trying to get this to work
uses a very questionable open gl to metal translation layer
4.6?????
yeah
pretty fire
what is it currently doing right now, fragment shader right?
@valid jetty how does elle have 14k users π
it doesn't i think people just install every extension on zed
bots probably
oh so raylib is just wrapping over opengl 4.1
whenever u make a new npm package it will have hundreds of downloads in the first few days
rosie, who has 13.9 thousand devices , is an statistical outlier and shouldn't have been counted
cause of all the bots installing it
anyway
https://github.com/acquitelol/elle/blob/rewrite/examples/graphics/newton.le
https://github.com/acquitelol/elle/blob/rewrite/examples/resources/newton.fs
https://github.com/acquitelol/elle/blob/rewrite/examples/graphics/julia.le
https://github.com/acquitelol/elle/blob/rewrite/examples/resources/julia.fs
yeah i was looking at this
??? fragment shader is a common convention
rn i dont really see the point in using compute shaders for this
what else can you do with them
I thought .frag was the weird convention but tbh .glsl is saner
elle popular
yeah I understand that, i cant think of anything you could only do with a compute shader rn
looks like i could do physics sims
raytracer
isnt it really common to use a fragment shader for raytracing
well yeah
but you can use a compute shader to split the work up even more as far as i know
that's what the squares are in blender when you're rendering i think?
like the squares are all separate compute shaders rendering their own part of the same single frame
@valid jetty hii
doesn't blender render those one at a time
or are you thinking of something else
also fix your thing!!!
yeah uh
0.3 is not the newest at all
i recommend cloning the repo and adding 0.3.5 as a dev extension
my error reporting on save has been broken for a while btw, i don't know why but i just no longer get sent File Saved events
ic, so were you thinking of these
That's for if the gpu doesn't have enough memory though
oh hm
roieee π
what the fuck https://fixupx.com/arktypeio/status/1983210635266498649?
π’Introducing ArkRegexπ’
οΈοΈ
οΈοΈa drop in replacement for new RegExp() with types β¬οΈ
@serene elk look at this
that's wild
but named captures are so ugly tho
@valid jetty do you have dragon.mtl files
i don't
interestingly when I try to run raytracer it expects dragon3.mtl
wow only cube, teapot works, interesting
huh
well tbf the code which is public is kinda bad
i didn't push my updated code that can render more advanced models yet iirc
this render is 1.74 million triangles
many
scrolled to the see also and the fact that I can't tell which ones are fake is so funny
how is "use memo" real
react and next are such shitshows
i was debating if "use no memo" was real
not that wild
thats looking pretty good
woah
love
I should make this in my compose scripts
would be so cursed
zoot have i sent you enough images to convince you to write a ray tracer yet
I've always wanted to but maybe
im starting to love cmake, i think cmake is great
pure make better
@woven mesa I want the endpoint for adding capabilities
how do you do that again
signing in
portal -> identifers I think
then you try to make an app id
okii
you're able to update app id's too
in xcode theres a capabilities option, but it only shows the one you're allowed to use on your current team
I just want the endpoints for these and that should basically be it for the apis
no they dont nvm
@solemn ravine https://sfss.cdn-apple.com/v6.beta/s/bubble.left.and.bubble.right?m=monochrome&w=light&s=small&l=en-GB sf symbol data
interesting
sorry got sidetracked
a
making an app id now
the way I need to add capabilities is from reading the apps entitlements file and making changes/updating appid if necessary
if it uses an entitlement I'm not allowed to use it should just get rid of the entitlement in the app
@woven mesa https://github.com/Aeastr/Conditionals
is this peak
a bit
fully glass, no roughness
and thats where im ending this experiment
no more raytracing i have actual work to do
so fire
@woven mesa do capabilities with default "no" mean that any account can use them
this doesnt have it
why is there a default value for this
when I do an api request the "capability" isn't listed like the access wifi entitlement
bad question maybe
a lot of 26.0 stuff arent listed
these entitlements confuse me a lot honestly com.apple.developer.networking.carrier-constrained.app-optimized
why is this an entitlement? cant this be an info.plist key
SOME OF THESE ARENT DOCUMENTEDD ENOUGH
wait all the capabilities that arent listed means that I can probably use them on a free account
hooold on
holding on
i really hate this
@formal walrus
People who use Python/flask/quart are sane
If u use js/ts outside of web browser u need a mandatory coding break
i use js in embedded
You need to stop using it and start using Rust instead
waht the heck happen
all my custom codfed plugins just dont work anymore
did the discord code change ?
π #π₯-vencord-support-π₯
(Auto-response invoked by @granite moat)
oh bruh
Rust doesn't work in embedded
besides it doesn't belong in embedded
How
No it doesn't
Show it
Fake
I would rather drop you
rust working in embedded is a conspiracy theory
whatcha use then
Real programming languages like C
Yes they are
tbh programming is fake
Living is fake and woke
it was invented by companies to, uhh idk
God was a vibe coder
to destroy keyboards easier
its incredibly funny that rust was made for embedded programming and then proceeded to be good at anything but that
how is it bad for embedded though
I haven't tried it on embedded but
I heard it's good for embedded
Rust does actually do more than c itβs just modern processors can skim off the overhead in basic operations. Rusts insistence on statically linking everything (even if itβs not needed). Massive runtimes for async operations
The only thing βgoodβ about it is being memory βsafeβ
Which means nothing when you have to poke raw addresses and registers to do shit
HORROR libvpx
@ivory heath hiiiii
Haiiiii 
hru oomf
It does since you write it in a abstracted way so that the unsafe code lives in isolated units and even unsafe doesnβt allow you to violate the borrow checker
poke addresses?
basic reference?
Does not check raw pointers and raw pointers are valid in unsafe.
One would be writing to raw pointers when using hardware features.
Unsafe blocks donβt magically make code better. It can be used to visually βverifyβ code is safe I guess.
You could make you own βbindingsβ to hardware calls in any other language as well
It wonβt check your raw pointers ofc that would be bad for performance but there is a benefit to the isolation concept, since it isolates your unsafe code to certain small places where something can go wrong and makes it easier to write safer code
Though I donβt think rust is useful for most apps
this is actually a fully native discord client im writing
WHAT
it looks awesome dude
Whatβs it called
paiUI when
real
need
This is now a generic argument for why rust is good not why itβs good for embedded
Nothing about it is good for embedded
I can still make unsafe wrapper functions in c and other languages for hardware features and raw pointer manipulation
Rust bounds checking at all is actually pretty bad for embedded depending on how βoldβ or simple said microcontroller is
It does things that actively harm its use case s
Haiii 
shrimply use lua
I lose my mind talking to rust devs when c++ does majority of the shit rust shills complain about
Itβs like they think languages (and compilers) stoped at c99
Like I can be memory safe with c++ using vectors and smart pointers instead of raw allocations and then poke memory directly
I'm excited for reflection in c++26, hopefully it will fill some of the gaps between c++ and rust
Do you have a link to the proposal or spec? Seems redundant in name given other c/c++ features
Oh yeah.
Okay I see why itβs useful
Moving away from c/c++ pre processors is amazing
good
evil corporation is not so evil anymore?
okay use c++
I have also used c++
i just don't personally like it
but that's tbh my own skill issue

imagine if discord stopped minifying π
horror
i wouldn't trust myself to write safe code in c++
:3
Ship sourcemaps 
what in the fuck is that
check your files
never was, they shipped deobfuscation maps to help modders even more
but they just realised "wtf why, just ship the code and dont obfuscate it LOL"
mojang is very chill, and they are aware that 95% of their game is user generated content
so they've been leaning into that for ages
providing more and more and more tooling for modders
and for people that make vanilla content via command blocks or servers or datapacks
they added support to rendering raw images in font files, so u can simply display any UI you want with text on screen, simply because some modders said it would be cool
and detecting user input server side was massive too, like movement keys and lmb/rmb
still useless for anticheat purposes
we just need kernel anticheat in minecraft already
it was never needed for anti-cheat
server side player simulation was always the most reliable method
not best by cost
but most reliable
but also annoying
latency and client performance
never said best
said most reliable
^^
most cheats are so horrificly primitive you'll never need to go that far to detect them
and all the other ones are so advanced the only way you'll detect them is long-term heruistics and statistical analysis
Prediction was overkill as shit, and did nothing against many blatant cheats
only patched some bullshit like some closet client modules that emulated user input in impossible ways
but did nothing against bypasses or exploits that blatant clients do
sure but it's always better to be extremely aggressive against cheaters
is it?
its best if cheaters dont know that they are even detected
honeypots always work best
to make cheat for game with kernel ac, the first step is fully learn x86_64 assembly and figure out how to make undetectable hypervisor
valved prooved that VERY well with trust factor in csgo
where cheaters didnt get banned, just cheated against other cheaters
what detected you? fuck knows! are you detected or simply unlucky and playing against other undetected cheaters? fuck knows!
it just bothers me cs2 doesnt have this because all the data they trained on is useless for cs2
pathetic
this guy dropped two peak videos and never uploaded anything since then... https://www.youtube.com/@kishimisu
I prefer to preemptively block cheaters instead of reactively
C
this is a crazy fucking thing to say
not to mention that it would never work
sure but i have like zero tolerance of cheating
it certainly can work if you lock down the client
hell no
i think file is actually insane
anticheat should be up to the servers
not all servers care about cheating
and i certainly don't want more 3rd parties hanging around in my kernel
wing secretly doesnt know what a kernel is
its like popcorn right
that's what i meant
I'm fine with it
You already got NVIDIA, Intel, VPNs and even Samsung sitting in your kernel
yeah but theres a difference between software necessary for installed hardware and something only used because a game doesn't trust me
@frosty obsidian kernel level anticheat for discord
π’Introducing ArkRegexπ’
οΈοΈ
οΈοΈa drop in replacement for new RegExp() with types β¬οΈ
oh right
wait nvm theres perms here
fuck off no thanks
that means client side mods would be effectively dead on popular servers
no optimization mods no nothing
This also can be solved by something like game consoles have
There are devkit and retail consoles
On devkits you can freely run unsigned stuff, but can't play games and use production servers
On retail consoles you are not allowed to run unsigned stuff (so no mods, third-party optimizers, etc), but can play games on production servers
so you're suggesting everyone get a console
No, that's not what I'm saying
I'm saying to require signing thirdparty mods to use them in production (actual online matches), and having signing not needed when playing singleplayer or privately (like only with friends)
Servers that need this already implement measures to not have any cheating
Some do use custom clients to join only, or there would be heavy checks on suspison of cheating
Idk take faceit for example
It eliminates much cheating but it isn't exactly forced on you
I don't have an issue with custom clients having some sort of client anticheat for specific servers
but putting it into the main game is insanity
oops
you might like magic-esquery
anyone know if a component library exists to mimic discord profiles
im using react
Found this on Google, tbh just make your own.
i tried that one
unfortuantely it uses react internals that break with react v19
i could try downgrading ig
Insaneeeeee
Where does it use them 
no idea
but it errors trying to get __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
since it was renamed
i tried patching the library to use the new one but it breaks elsewhere
Try updating the deps
i guess ill try
(I think they should be peer deps, not normal deps)
who shipped this to react docs prod
nvm this lib kinda sucks
ill pr the update anyways but ig i have to build it from scratch
i will make a better library
need to do some code for generating a csr
why tf does a profile component need to use react internals
oh it doesn't
rushii is just insane
incompatible react versions my beloved
Fyi roblox and fortnite already do that
Roblox and fortnite, truly the paragons of excellence in game design and software engineering
that's simply not a thing in Minecraft
https://youtu.be/JjxH0IuyCpg
Minecraft is not a game, but it is a video game.
In this video I talk about how we define the word game - something that is difficult enough that the philosopher Ludwig Wittgenstein called it impossible. But by using the philosophy of Bernard Suits, along with some linguistic and game development insight, we are able to create a definition that...
nooo everybody should comply with what this one person thinks cheating is (modifying the game in any way)
this has existed for a year and half
react, vue, hono, all have one
Ohhhh
- that doesn't make kernel ac acceptable
- live service games are in a very different position
Sorry, can't detect deranged cheats like DMA-based ones without kernel access
too bad then
use server side heuristic analysis
there will always be cheaters no matter how difficult you make it to do so
and there is still plenty of cheaters even with kernel ac
Doesn't work well for cheats like stealing everything from chest (since its fast and if you have good mouse, then you can do same too quickly), or wallhack (latency/client performance issues)
esp is a result of poor game design
you're sending every players location to every client at all times
no wonder you get wallhack
even when they're not supposed to see them
Sure but if you conditionally send location, it introduces latency issues
HvH 
file is scared of cheaters
that dragon is made of glass but he looks like this
unfortunately i couldnt render him with all 7.2 million triangles because i ran out of memory
so hes there at 10% triangle count, still a respectable 720k triangles
is the renderer on github
i will see if he can render at 50% triangles, 3.6m
yea
do i need to build elle first
yeah obviously
i'm using it instead of C
idk lol
make
ellec src/main.le -o raytracer -z -lraylib -z -framework -z OpenGL
ERROR: cc: error: unrecognized command-line option β-frameworkβ
Compilation of 'main.le' finished with errors. (γ£ββΈβ c)
make: *** [Makefile
raytracer] Error 1
idk what to set ELLE_LIBS to
basically just do -lraylib -lGL probably
do you have raylib installed
it's just like a library but for macos
specially system libraries
thats probably the issue
well no because on linux you can just link with opengl normally
it's deprecated on macos that's why you link with it like that
how much did it end up with
what does it say when you do -lraylib -lGL
i said in the message under
but i actually did try right now and he can render with 50% triangles, 3.6 million
i meant in memory size
make run ELLE_LIBS='-lraylib -lGL'
like 5.6gb lol
oh wow crashed at only 5.6gb?
oh husk that happens on linux too
isnt that like a 128 bit address
it was at 5.6gb but i tried to double the size of my array again and it didn't have enough memory to perform that realloc so it bailed
the rosinga
still
@valid jetty is it cause x86_64
hmmmm
try replace dragon 4 with dragon 3
less triangles
ok it is rendering very slow with the 50% triangle dragon but it's working
there are 4.4m triangles in my scene
count each triangle manually
oh i also doubled the render resolution again so i think that also made the performance worse
same thing
it's rendering at 3840x2160
happens
@valid jettyprogress
i don't know why LoadModel explodes when there are many triangles
pause and restart work
yeah its there for sure
i need to implement collision checking which might be weird
cause the width is actually double to make it appear square
roie will play my tetros one day
at one point i put a broken model in there and it just segfaulted in LoadOBJ for no apparent reason
that was fun to debug
oh also i still can't figure out how to send 2 different textures to 2 different sampler buffers
roie will ssh into my pc and build elle
that's a huge memory bottleneck for me because i have to put all of the bvh nodes into the triangle array
yop
write elle bindings to MGL
!!
i want to but i don't have time anymore
time..
school starts again on monday next week and i'm out all day tomorrow
i had 2 weeks off school that's why i got to do this at all
time dr freeman is it really that time again
@valid jetty i need to write a printf implementation
somehow
my frames are rendering sooo sloowwww
that's not that bad
you can find the number of arguments by counting the number of % characters in the fmt string, and then ignoring any that are %%
rotating the roie
and then you just iterate through the fmt string, when you discover the a %, grab the next char and that tells you what type to use in va_arg
and then just print that
doing things like %.*s for sized strings is a little more work but still not hard
that works for something very basic
well yeah
yeah i was gonna mention that stuff
i don't think you even need to know the number of args
you can just iterate the fmt string until null terminator
roinga
@deep mulch these dragons are gonna be so cool when they're done
i rendered in 4k so itll be way cooler than my other renders after i denoise
@valid jetty 3d scan minky and render
soon
wing doesnt know what concave and convex are
βPolycam is the leading 3D scanning platform for iPhone and iPad, blending professional-grade capabilities with a user-friendly interface. Effortlessly create high-quality 3D models from photos, generate precise LiDAR scans, and capture immersive 360Β° imagesβall on your device. Edit directly on yourβ¦
my renders are using 3d scans
can you scan a creature that wont stay still
ik and that particular model does have weird geometry
wing doesnt know what a vertex is
the stanford dragons are scanned by stanford university, it's great they made them publicly available
when shes sleeping
actually idk if stanford scanned the second dragon
but it's on their website
@valid jetty boo
so cool how they obtained a real dragon
wing doesnt know what a cpu is
zeet doesn't know what a transistor is
yop
mean
i think vencord broke it keeps stopping halfway through videos
frog was just living peacefully in his home
your internet is just bad
eviction
discord fucking has an ass way to handle buffering
evict all frogs


