#πŸͺ…-progaming

1 messages Β· Page 122 of 1

rustic turret
#

add a minion

tired vigil
#

Add vennie

fleet cedar
#

Add quantum physics

valid jetty
#

accumulator

#

so my gpu doesnt die

#

i think i get automatic antialiasing from the jitter?

#

maybe

#

i can just say there is ✨ stochastic antialiasing ✨

valid jetty
# tired vigil Add vennie

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

nimble bone
#

Malicious Meyer

deep mulch
#

Malicious Meyer

ornate quiver
#

Malicious Meyer

jade stone
#

does anyone know why arrow functions infer never but named functions dont

spark tiger
solemn ravine
#

finally, gloom in swift

hoary sluice
#

is it better than kotlin

#

probably not right

hoary sluice
#

and also

#

thats like really cool

#

when are you rewriting ellec in elle

valid jetty
valid jetty
spark tiger
frosty obsidian
#

at least for actual app development

hexed surge
#

Why, when Discord restarts and I am in a voice channel, does it not automatically reconnect me to the channel?

tired vigil
# jade stone

What is the reasoning behind infering never
does any "never" code reached cause the function itself to return never

crude star
#

it should but typescript is kinda braindead

valid jetty
#

that being, the process terminates, or loops infinitely

#

stuff like that

#

its a thing in any complete type system

#

rust has it, the ! type

crude star
#

never in typescript is just a weird form of any

valid jetty
#

so if a function is called which never returns, by inference the function which calls it will also never return

crude star
#

but that's because they're stupid

ionic lake
#

Man, I love doing something.unsafe!!!!!!!!!!!; asserts

crude star
#

it doesn't have it properly lol

#

using it outside of return is stuck on nightly

fleet cedar
#

Heard rumors it'll be stabilized in 1.96, sometime next year

limpid mica
#

!

valid jetty
#

!

limpid mica
#

lipoproteins

frosty obsidian
ionic lake
#

should've been Nah

jade stone
keen galleon
#

why on here

hearty lintel
#

what is this exactly

hoary sluice
#

@valid jetty @fleet cedar is there a math symbol for possibly

#

"For a general graph G there could exists v, w, z such that ..."

fleet cedar
#

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

valid jetty
#

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

ionic lake
#

idk jackshit but hug

valid jetty
paper scroll
#

hey i think there's a little graphics with your tear

hearty lintel
ornate quiver
#

I ate it

hearty lintel
deep mulch
#

@valid jetty@valid jetty@valid jetty

#

make elle use cuda

pseudo sierra
#

@valid jetty@valid jetty@valid jetty

#

make cuda use elle

deep mulch
#

we still need elle gradle support @valid jetty

#

i beg

#

soon

lucid trail
#

make elle a rust macro

deep mulch
#

@valid jetty write a STANAG 4285 decrypter

valid jetty
#

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

hoary sluice
#

oh its shaders

#

you can probably tell i dont do graphics programming

valid jetty
#

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

deep mulch
#

i dont have this issue roie

#

when wil lyou send a binary i can run on my pc

shrewd canopy
valid jetty
deep mulch
#

HOW

#

1 fps

valid jetty
#

it's less than 1fps

deep mulch
#

how is it so inefficient

valid jetty
#

because it's checking intersections with like 5000 triangles for every pixel

fleet cedar
deep mulch
#

a ray tracer is not that slow

#

like

valid jetty
deep mulch
#

with low sample count and low ray count

fleet cedar
#

Depends on samples and depth

valid jetty
#

though i will say mine is unoptimized

fleet cedar
#

And yeah, geometry

valid jetty
#

it can be faster but not by a lot

deep mulch
#

use a lower poly teapot maybe

valid jetty
#

this is a lower poly lmao

fleet cedar
#

Do you use any sort of bvh or similar?

valid jetty
#

i decimated it myself to like 5% of the original triangle count

valid jetty
fleet cedar
#

Then it's gonna be slow af, yeah

valid jetty
#

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

deep mulch
#

of the rays

valid jetty
#

i should look at sebastian lague's video to see what optimizations he made

valid jetty
#

16 bounces, 1 sample per frame

#

though the frames accumulate so if i just wait it'll eventually become less noisy

deep mulch
#

what if you compiled and send to me

valid jetty
#

you have to link with opengl for windows lol

deep mulch
#

im not on windows

#

rosie insane

valid jetty
deep mulch
#

love

#

@valid jetty what if you write your own graphics framework

valid jetty
#

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

deep mulch
#

one day i will do

lucid trail
valid jetty
#

yeah but i hate wgsl

supple whale
#

XD

#

honestly i wonder how webgpu holds up

#

i dont know any1 thats using it doe

valid jetty
#

pot

deep mulch
#

0 fps blobcatcozy

winged mantle
#

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

ornate quiver
#

Husk

#

whats the ts/js formatter to use with vsc nowadays
excluding prettier cause it sucks

deep mulch
#

is biome good

winged mantle
#

it's the formatter with the most modified wooded badlands plateau vibes

ornate quiver
#

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

crude star
#

always same as js

ornate quiver
#

oh also is there a list of presets for biome

jade stone
ornate quiver
jade stone
#

i hate prettier with a passion

jade stone
#

@ornate quiver zoot merged my rewrite of his site

#

Love?

jade stone
#

html + tailwind

#

only one line of js for light/dark

#

(tbh i could move that to css but cba)

deep mulch
#

slimey sadan

ornate quiver
#

no more jetpack compost web

deep mulch
#

I'm composting

ornate quiver
#

compostable

night sphinx
#

@compostable

spark tiger
dawn ledge
#

webgpu is nice, i like it

nimble bone
#

@cinder egret Fayeland Unban

solemn ravine
#

@woven mesa LC will never fail to disappoint me in how hacked up it is

royal nymph
#

I wish there was go formatter equivalent for js, it's so good

solemn ravine
#

vibe coded terminal

paper scroll
#

use biome biome best

#

i love biome

spark tiger
#

@woven mesa do u still use warp tho

#

iirc u used it at some point right?

woven mesa
#

if you disable all the ai shit its a decent terminal

spark tiger
#

i hate how it’s been two months since i got a mac and im still using Termianl.app

woven mesa
#

ok

solemn ravine
#

I use it

spark tiger
#

and how Terminal.app sucks compared to it or any other terminal

#

but idk it seems good enough to me

woven mesa
#

@spark tiger

solemn ravine
#

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

spark tiger
woven mesa
#

?

spark tiger
#

oh nvm it’s some other terminal

solemn ravine
#

ghostty has good features but I mean at the end of the day its just another terminal

spark tiger
#

i thought it was ghostly because they have shaders support iirc

woven mesa
#

i didnt know that

solemn ravine
#

all I neeeed

woven mesa
#

ghostty is definitely fast but i prefer warp simply because i like its text entry

solemn ravine
#

I only switched to iterm because it looked cool

#

I actually had warp for a bit

spark tiger
#

same but it was kinda buggy on windows so i returned to wt

solemn ravine
#

im one of those #normie users who end up using whatever the os comes by default

#

my wallpaper isnt even changed

spark tiger
#

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

woven mesa
#

i have a nice wallpaper

#

i have a lot of wallpapers

#

the guy made it public

solemn ravine
#

WHAT IS THIS

#

why is everything old

woven mesa
#

so good

solemn ravine
#

compose..

#

@woven mesa seems like PBServerConnection is not available on mac

woven mesa
#

aw

royal nymph
#

i was going to try ghostty but they have no usable package format

solemn ravine
#

they're a hardcore nix and nix-darwin fan UNFORTUNATELY

royal nymph
#

maybe I'll just extract the binary from the arch package or smth

solemn ravine
royal nymph
#

everything but rpm and apt based + no tar gz / appimage

pseudo sierra
#

doesn't opensuse also use rpm

solemn ravine
#

asdx8sauydsa

royal nymph
#

literally not a single sane non hipster format (except arch)

solemn ravine
#

they should put it on flatpak maybe

shrewd canopy
pseudo sierra
#

no

shrewd canopy
#

Sad

royal nymph
#

literally just provide a tar gz

royal nymph
#

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.

spark tiger
#

though last time i tried it it didn’t compile but i’ve seen people saying it is possible

pseudo sierra
royal nymph
#

if you install packages from some random like this you're ngmi

solemn ravine
#

call this a skull tissue but I dont like ghostty configs...

#

I'll just use konsole on linux

pseudo sierra
#

and I agree with it trolley

solemn ravine
#

did you see that the betterdiscord dev made some website for ghostty configs

pseudo sierra
#

insane

solemn ravine
royal nymph
shrewd canopy
crude star
#

zerebos jumpscare 😭

solemn ravine
#

funny how its a mac looking window

royal nymph
solemn ravine
#

forgot theres CSS in gtk no way u can have css themes

#

@woven mesa there does seem to be some notification stuff for CF

#

which is very nice but I don't think I want to discover all the types for these πŸ™‚

deep mulch
#

hi

solemn ravine
#

im stuck staring at rust code again because I genuienly cant structure rust code

#

how do I make this maintainable bro

ionic lake
#

what are you doing that made it bad

solemn ravine
#

sadly around 5 different very annoying libraries that need to work with one another

supple whale
#

XD

valid jetty
#

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

winged mantle
#

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

valid jetty
#

i have a first hand second edition copy

winged mantle
#

is this all your books

pseudo sierra
valid jetty
#

and that's not an up-to-date collection i got more since then

hearty lintel
# valid jetty

blahaj, C programming book, mangas, and stardew valley cookbook recipes, what more do u need

winged mantle
#

you only just got the c programming book??

#

trendy new book

valid jetty
#

i don't buy books that often

winged mantle
#

you just said they were they books you got within the last few months

valid jetty
#

it counts i think

#

that image is from july 2025

winged mantle
hearty lintel
valid jetty
pseudo sierra
#

MIGU

hearty lintel
winged mantle
#

why are lower case snake_case type names so pretty

hoary sluice
# valid jetty

printed intro to graph theory 😭😭😭

winged mantle
#

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

valid jetty
solemn ravine
deep mulch
#

@valid jetty buy me C book

#

im tempted to buy C book but im unlikely to read it

valid jetty
#

@deep mulch

deep mulch
jade stone
eternal verge
shrewd canopy
royal nymph
worldly sigil
pseudo sierra
#

vercel on their way to make malware

crude star
#

at least proper decorators i think are a bit better

#

no idea why typescript only supports them in classes rn

#

tc39 know javascript challenge

deep mulch
#

@crude star rini

crude star
#

zoot

jade stone
#

tbh i dont care that much decorators, give me pipes

deep mulch
#

in 2050 typescript will have every language feature

jade stone
#

typescript will get extension functions (its impossible i think) by 2090

deep mulch
#

evil

low thunder
#

pogaming

crude star
#

introducing typescript 2:

#
  • supports kotlin syntax
deep mulch
#

rinininini

valid jetty
#

@deep mulch @hoary sluice

#

i wrote a bvh and that allowed my raytracer to handle much more complex geometry

deep mulch
#

pretty

#

is hte performance any better

valid jetty
#

yes lol

#

much better

valid jetty
#

i was rendering 1458 triangles at <1 fps with 16 bounces and 1 sample per frame

valid jetty
#

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

ornate quiver
#

rosie recreating blender

ornate quiver
#

anyone know when discord oauth refresh tokens expire
i cant seem to find a straight answer
vap spotted

royal nymph
ornate quiver
#

real

winged mantle
#

You might accidentally achieve sentience in your nil objects

#

I hate it when that happens

ivory heath
valid jetty
#

and it got to 1000 in like 2 mins

deep mulch
#

@valid jetty learn from blender

#

you will copy their methods

valid jetty
#

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

valid jetty
#

whaaa

deep mulch
#

@valid jetty @valid jetty

#

roie

valid jetty
#

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

deep mulch
#

you don't have to use macos

valid jetty
#

thats a good point i will try the raytracer on my linux machine in a bit

#

it should run better i think

deep mulch
#

@valid jetty ray trace minky

winged mantle
valid jetty
lavish cloud
solemn ravine
deep mulch
fleet cedar
#

Casual reminder that the goto in programming languages is far weaker than the one Dijkstra warned about

#

Can't jump between functions for example

winged mantle
#

longjmp blobcatcozy

deep mulch
#

shortjmp

solemn ravine
#

I can't wait to figure out what all these values mean

deep mulch
#

if (!!probablyFalse != !false)

valid jetty
#

do you know how enum type displays work

fleet cedar
solemn ravine
#

ye

#

but no thats not what i meant

fleet cedar
#

Oh, you meant the nonsense keys?

#

They do look fun indeed

solemn ravine
#

yes

#

no one has documented LPLF93JG7M lol

deep mulch
fleet cedar
#

Wdym

#

It's an enum (aka tagged union)

deep mulch
#

idk what tagged union is I haven't used rust enough yet

fleet cedar
#

They're everywhere in ts too, { kind: "int", value: int } | { kind: "string", value: string }

hoary sluice
#

@valid jetty next week i will test elle clean build time on a 9950x3d

hoary sluice
#

cyberpunk can probably look fine on a 2050 at 30fps

deep mulch
#

?remindme benchmark elle

delicate groveBOT
#

Invalid time provided, try e.g. "tomorrow" or "3 days".

deep mulch
#

?remindme 4hr benchmark elle

delicate groveBOT
#

Alright @deep mulch, in 4 hours: benchmark elle

deep mulch
#

@valid jetty love?

valid jetty
#

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

deep mulch
#

@valid jetty can elle run through qemu static on x86_64

pseudo sierra
#

probably

valid jetty
#

uhhhh probably

#

but why

deep mulch
#

I need to

#

@valid jettycan I run elle on my phone @valid jetty

#

NONONONONONONO

#

ITS HAPPENING

#

the Bug

valid jetty
#

the Bug

valid jetty
deep mulch
#

my plugin sometimes will start inserting emojis and mentions at start of message

deep mulch
#

I have no idea why

#

sillycatblobcatcozy@valid jetty @valid jetty blobcatcozy sillycat

valid jetty
deep mulch
#

make elle depend on is-even

ornate quiver
deep mulch
#

nerdy math

crude star
deep mulch
#

@crude star rini prison

delicate groveBOT
#

@deep mulch, <t:1761664531:R>: benchmark elle

hybrid brook
#

Regarding an old experiment 2021-07_role_popout

Does anyone know how to fetch a role's list of users without admin perms?

shrewd canopy
hybrid brook
shrewd canopy
hybrid brook
#

Thanks! I'll test it out

hybrid brook
#

@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',

shrewd canopy
#

Use RestAPI

hybrid brook
winged mantle
#

makefiles are so nice lol

supple whale
#

said no sane person ever

winged mantle
#

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

ionic lake
#

I just use a python file called x.py and define tasks

winged mantle
#

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

ionic lake
#

This is true

supple whale
#

npm is a better native module dependency manager

#

than the lack of a standard for makefiles

lucid trail
#

i spent my whole day trying to get this to work

valid jetty
#

4.6?????

lucid trail
lucid trail
#

pretty fire

valid jetty
#

you should try my newton fractal

#

or my burning ship..

lucid trail
#

what is it currently doing right now, fragment shader right?

#

@valid jetty how does elle have 14k users 😭

valid jetty
royal nymph
#

bots probably

lucid trail
royal nymph
#

whenever u make a new npm package it will have hundreds of downloads in the first few days

crude star
#

rosie, who has 13.9 thousand devices , is an statistical outlier and shouldn't have been counted

royal nymph
#

cause of all the bots installing it

royal nymph
#

or it's rosie reinstalling it that many times

#

please dont name it .fs

#

is that F#

valid jetty
lucid trail
#

rn i dont really see the point in using compute shaders for this

royal nymph
#

fs = filesystem

#

not a file extension

#

sory not sorry

lucid trail
#

what else can you do with them

valid jetty
#

uhhhh

#

compute shader != fragment shader

crude star
#

I thought .frag was the weird convention but tbh .glsl is saner

lucid trail
#

looks like i could do physics sims

crude star
lucid trail
valid jetty
#

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

deep mulch
#

@valid jetty hii

lucid trail
#

or are you thinking of something else

#

also fix your thing!!!

valid jetty
#

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

lucid trail
#

ic, so were you thinking of these

valid jetty
#

yes

#

i believe each square is a compute shader

lucid trail
#

That's for if the gpu doesn't have enough memory though

valid jetty
#

oh hm

deep mulch
#

roieee 😭

royal nymph
#

@serene elk look at this

serene elk
#

but named captures are so ugly tho

lucid trail
#

@valid jetty do you have dragon.mtl files

valid jetty
#

i don't

lucid trail
#

wow only cube, teapot works, interesting

valid jetty
#

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

deep mulch
#

many

royal nymph
#

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

lucid trail
#

not that wild

valid jetty
#

thats looking pretty good

deep mulch
#

love

#

I should make this in my compose scripts

#

would be so cursed

valid jetty
#

zoot have i sent you enough images to convince you to write a ray tracer yet

deep mulch
lucid trail
#

im starting to love cmake, i think cmake is great

valid jetty
winged mantle
solemn ravine
#

@woven mesa I want the endpoint for adding capabilities

woven mesa
#

how do you do that again

solemn ravine
#

and seeing if you're able to add that capability

#

like if you're a dev account etc

woven mesa
#

signing in

solemn ravine
#

then you try to make an app id

woven mesa
#

okii

solemn ravine
#

you're able to update app id's too

woven mesa
#

wait a fucking minute

#

no fucking way

#

they have sf symbols for web use on their cdn

solemn ravine
#

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

woven mesa
#

no they dont nvm

#

interesting

#

sorry got sidetracked

solemn ravine
#

a

woven mesa
#

making an app id now

solemn ravine
#

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

solemn ravine
#

is this peak

woven mesa
valid jetty
#

fully glass, no roughness

#

and thats where im ending this experiment

#

no more raytracing i have actual work to do

solemn ravine
#

@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

solemn ravine
#

wait all the capabilities that arent listed means that I can probably use them on a free account

#

hooold on

pseudo sierra
#

holding on

lucid trail
dense sand
solemn ravine
shrewd canopy
#

If u use js/ts outside of web browser u need a mandatory coding break

ionic lake
#

i use js in embedded

shrewd canopy
meager moat
#

waht the heck happen

#

all my custom codfed plugins just dont work anymore

#

did the discord code change ?

elder yarrowBOT
meager moat
#

oh bruh

ionic lake
#

besides it doesn't belong in embedded

granite moat
#

/j

ionic lake
#

How

granite moat
#

belongs is another story

ionic lake
#

No it doesn't

granite moat
#

how

ionic lake
#

Show it

ionic lake
#

Fake

granite moat
#

just use core instead

#

and drop std

ionic lake
#

I would rather drop you

granite moat
ionic lake
#

I don't use woke languages

#

Woke mind virus

granite moat
ionic lake
#

Real programming languages like C

granite moat
#

not real

ionic lake
#

Yes they are

granite moat
#

tbh programming is fake

ionic lake
#

Living is fake and woke

granite moat
#

it was invented by companies to, uhh idk

ionic lake
#

God was a vibe coder

granite moat
crude star
#

its incredibly funny that rust was made for embedded programming and then proceeded to be good at anything but that

granite moat
#

I haven't tried it on embedded but

#

I heard it's good for embedded

ivory heath
#

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

ivory heath
#

Which means nothing when you have to poke raw addresses and registers to do shit

#

HORROR libvpx

woven mesa
#

@ivory heath hiiiii

ivory heath
woven mesa
granite moat
woven mesa
#

basic reference?

ivory heath
#

You could make you own β€œbindings” to hardware calls in any other language as well

woven mesa
#

@ivory heath !!!

#

i think i broke new lines lol

granite moat
#

Though I don’t think rust is useful for most apps

woven mesa
#

this is actually a fully native discord client im writing

pseudo sierra
#

paicord

#

@ivory heath haiii

granite moat
#

it looks awesome dude

#

What’s it called

woven mesa
#

paicord

#

:3

granite moat
#

also native SwiftUI :o

pseudo sierra
#

paiUI when

woven mesa
#

real

lucid trail
ivory heath
#

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

ivory heath
#

It does things that actively harm its use case s

ivory heath
cinder egret
#

shrimply use lua

ivory heath
#

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

ionic lake
#

Rust is objectively the better language

#

Goes without saying

jade stone
ivory heath
#

Oh yeah.

#

Okay I see why it’s useful

ivory heath
#

Moving away from c/c++ pre processors is amazing

deep mulch
#

good

tired vigil
granite moat
#

I have also used c++

#

i just don't personally like it

#

but that's tbh my own skill issue

deep mulch
#

discord will soo nsupport client modding and remove obfuscation

#

nop

granite moat
winged mantle
#

imagine if discord stopped minifying 😭

frosty obsidian
#

horror

ornate quiver
#

oh the horrors

#

it would run even more like shit

winged mantle
#

:3

shrewd canopy
frosty obsidian
#

what in the fuck is that

dense sand
#

I actually have 0 ideas

#

Gcc virus or something

deep mulch
supple whale
#

thats what it is

supple whale
#

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

shrewd canopy
#

we just need kernel anticheat in minecraft already

supple whale
#

server side player simulation was always the most reliable method

#

not best by cost

#

but most reliable

shrewd canopy
#

latency and client performance

supple whale
#

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

shrewd canopy
supple whale
#

is it?

#

its best if cheaters dont know that they are even detected

#

honeypots always work best

shrewd canopy
supple whale
#

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

spark tiger
shrewd canopy
bleak scroll
#

C

ornate quiver
#

not to mention that it would never work

shrewd canopy
shrewd canopy
frosty obsidian
#

hell no

deep mulch
#

i think file is actually insane

frosty obsidian
#

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

deep mulch
#

wing secretly doesnt know what a kernel is

frosty obsidian
#

its like popcorn right

shrewd canopy
shrewd canopy
#

You already got NVIDIA, Intel, VPNs and even Samsung sitting in your kernel

frosty obsidian
#

yeah but theres a difference between software necessary for installed hardware and something only used because a game doesn't trust me

deep mulch
#

@frosty obsidian kernel level anticheat for discord

night sphinx
#

oh right

#

wait nvm theres perms here

ornate quiver
#

that means client side mods would be effectively dead on popular servers
no optimization mods no nothing

shrewd canopy
#

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

ornate quiver
#

so you're suggesting everyone get a console

shrewd canopy
#

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)

upper pendant
#

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

ornate quiver
#

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

wooden drift
#

oops

ornate quiver
#

anyone know if a component library exists to mimic discord profiles

#

im using react

jade stone
ornate quiver
#

i tried that one
unfortuantely it uses react internals that break with react v19

#

i could try downgrading ig

ornate quiver
#

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

jade stone
#

Try updating the deps

ornate quiver
#

i guess ill try

jade stone
#

(I think they should be peer deps, not normal deps)

ornate quiver
#

i think so too

#

oh that might be why its failing

#

oh it worked

#

thanks satan

dense sand
#

who shipped this to react docs prod

ornate quiver
#

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

solemn ravine
#

need to do some code for generating a csr

royal nymph
#

oh it doesn't

#

rushii is just insane

#

incompatible react versions my beloved

shrewd canopy
fleet cedar
#

Roblox and fortnite, truly the paragons of excellence in game design and software engineering

shrewd canopy
#

They were examples

#

Bruh

crude star
# shrewd canopy sure but i have like zero tolerance of cheating

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...

β–Ά Play video
timid sluice
ionic lake
#

react, vue, hono, all have one

dense sand
#

Ohhhh

ornate quiver
shrewd canopy
ornate quiver
#

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

shrewd canopy
ornate quiver
#

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

valid jetty
shrewd canopy
ionic lake
#

anti cheat sucks

#

let cheaters cheat

shrewd canopy
deep mulch
#

file is scared of cheaters

valid jetty
#

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

deep mulch
#

is the renderer on github

valid jetty
#

i will see if he can render at 50% triangles, 3.6m

valid jetty
deep mulch
#

do i need to build elle first

valid jetty
#

yeah obviously

deep mulch
#

but elle is malware

#

oh roie my roie

valid jetty
valid jetty
deep mulch
#

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: *** [Makefile11 raytracer] Error 1

valid jetty
#

yeah

#

look at the readme

deep mulch
#

idk what to set ELLE_LIBS to

valid jetty
#

basically just do -lraylib -lGL probably

deep mulch
#

didnt work

#

what does framework do

valid jetty
#

do you have raylib installed

valid jetty
#

specially system libraries

deep mulch
#

thats probably the issue

valid jetty
#

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

deep mulch
#

whuh

#

teach

#

you incorrected!!

valid jetty
#

what does it say when you do -lraylib -lGL

valid jetty
deep mulch
#

idk how you mean to pass those

valid jetty
#

but i actually did try right now and he can render with 50% triangles, 3.6 million

lucid trail
#

i meant in memory size

valid jetty
valid jetty
deep mulch
#

horror name choice

#

what that mean

lucid trail
#

oh wow crashed at only 5.6gb?

valid jetty
#

oh husk that happens on linux too

valid jetty
#

well i do

deep mulch
#

isnt that like a 128 bit address

valid jetty
#

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

deep mulch
#

the rosinga

lucid trail
deep mulch
#

@valid jetty is it cause x86_64

valid jetty
#

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

deep mulch
#

count each triangle manually

valid jetty
#

oh i also doubled the render resolution again so i think that also made the performance worse

lucid trail
#

same thing

valid jetty
#

it's rendering at 3840x2160

valid jetty
deep mulch
#

@valid jettyprogress

valid jetty
#

i don't know why LoadModel explodes when there are many triangles

deep mulch
#

pause and restart work

lucid trail
deep mulch
#

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

valid jetty
#

that was fun to debug

#

oh also i still can't figure out how to send 2 different textures to 2 different sampler buffers

deep mulch
#

roie will ssh into my pc and build elle

valid jetty
#

that's a huge memory bottleneck for me because i have to put all of the bvh nodes into the triangle array

valid jetty
lucid trail
#

!!

deep mulch
#

elle bindings to python

#

elle will have bindings for every language

valid jetty
deep mulch
#

time..

valid jetty
#

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

deep mulch
#

time dr freeman is it really that time again

#

@valid jetty i need to write a printf implementation

#

somehow

valid jetty
#

my frames are rendering sooo sloowwww

valid jetty
deep mulch
#

im sitll kinda beginner in C++

#

ill need a buffer and stuff

#

roie rot

valid jetty
#

you can find the number of arguments by counting the number of % characters in the fmt string, and then ignoring any that are %%

deep mulch
#

rotating the roie

valid jetty
#

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

deep mulch
#

rosie so genius

#

acquite LOL!!!

valid jetty
#

doing things like %.*s for sized strings is a little more work but still not hard

frosty obsidian
#

that works for something very basic

valid jetty
#

well yeah

frosty obsidian
valid jetty
#

i don't think you even need to know the number of args

#

you can just iterate the fmt string until null terminator

deep mulch
#

roinga

valid jetty
#

@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

deep mulch
#

@valid jetty 3d scan minky and render

valid jetty
#

i don't wanna come out of your walls and do it

#

can you send an obj

deep mulch
#

soon

frosty obsidian
#

3d scans are the real tests for renderers

#

they tend to have weird geometry

deep mulch
#

wing doesnt know what concave and convex are

valid jetty
valid jetty
deep mulch
#

can you scan a creature that wont stay still

frosty obsidian
deep mulch
#

wing doesnt know what a vertex is

valid jetty
#

the stanford dragons are scanned by stanford university, it's great they made them publicly available

valid jetty
#

actually idk if stanford scanned the second dragon

#

but it's on their website

deep mulch
#

@valid jetty boo

frosty obsidian
#

so cool how they obtained a real dragon

deep mulch
#

wing doesnt know what a cpu is

frosty obsidian
#

zeet doesn't know what a transistor is

deep mulch
#

yop

frosty obsidian
#

mean

deep mulch
#

i think vencord broke it keeps stopping halfway through videos

frosty obsidian
#

frog was just living peacefully in his home

valid jetty
deep mulch
valid jetty
#

discord fucking has an ass way to handle buffering

deep mulch
#

evict all frogs

valid jetty
#

it pauses the video while buffering

#

on mobile*

deep mulch
#

@frosty obsidian i like to throw frogs out their homes

#

#EvictAllFrogs

frosty obsidian
#

you do that and we go on a general strike

#

all the worlds infrastructure will screech to a halt