#programming

1 messages · Page 49 of 1

olive sable
faint sandal
#

long as some level of compensation is involved and our topic is unique enough

noble zodiac
#

submit something for the 39c3

faint sandal
#

we're likely not going to consider EU again anytime soon

#

simply too far and too expensive

gritty dust
#

But looking good sam

faint sandal
#

we also almost had trouble finding a suitable flight because many of them required a transfer flight in... Hong Kong

#

in which we'd most likely uh

#

yeah

rough bloom
olive sable
olive sable
gritty dust
noble zodiac
#

I'm at the chaos communication congress almost every year. its like a holiday

olive sable
#

web is fucked, like ussual Failed to load glTF

#

theres always some inconsistencies between local and web

opaque wharf
olive sable
#

i woul if i had the them

#

but i dont have them

opaque wharf
olive sable
#

does this only apply in the usa?

desert wave
opaque wharf
olive sable
#

ill read it but i think that i can safely ignore it then

#

works created by humans with the assistance of generative AI might be entitled to copyright protection depending on the nature of human involvement in the creative process.

#

i guess if we create another song with ai voicelines, we could still copyright it then

rough bloom
opaque wharf
#

The problem is you need to perform some processing to that output

olive sable
#

true

#

the instrumental is 100% copyrightable cuz we did that ourselves. the voice is ai based tho

opaque wharf
#

Because in the article, I think it is generally agreed that the AI output alone, even if it went through a meticulous user input/parameterization, cannot be copyrightable

olive sable
#

ok

#

i guess that rules out copyrighting neurosynth output

trim valve
#

because the first one makes sesnse but the second catdespair

opaque wharf
#

But now it begs the question, even if using generative AI technology, what is the difference between audio output generative AI and voice synthesizer

olive sable
#

like this for example

#

this worked on local but emcc is complaining

trim valve
#

hm

#

those are just warnings but still

#

how are you compiling it for native

olive sable
#

it did cause this tho, im prettys ure

gritty dust
olive sable
trim valve
#

icic

#

idk I'm personally a -Wall enjoyer

olive sable
#

the wall aproaches

#

lets try it lmao

#

its not that bad actually

#

most of it is just from test code

opaque sigil
#

Are you sure they're targeting the same cpp standard

rough bloom
rough bloom
opaque sigil
#

I hope this isn't a gcc vs clang thing

#

deprecations seem like they should be due to the standard

gritty dust
olive sable
#

Just turn yourphone

opaque sigil
#

Either way don't use g++, use clang++

#

There's no reason for you to compile with two different compilers

gritty dust
#

I am dumb as hell holy

olive sable
#

Or zoom in

rough bloom
opaque wharf
gritty dust
opaque sigil
#

I think clang 20 defaults to c++20 so I guess that explains why emcc doesn't like it

wet basin
olive sable
#

Yes

wet basin
tight tinsel
#

nuro tag

thorny marsh
#

the best way to stop something from being annoying is to do it so often that it becomes a chore neuroTehe

#

maybe even a habit

wet basin
thorny marsh
wet basin
thorny marsh
wet basin
#

I am straight

#

and I am hoshi

opaque wharf
#

Don't worry, it's a meter. If the gay'o'meter is too high then I drop the bomb again

dark idol
#

Yo, I want to become a programmer and create websites, can you recommend any language to start with?

olive sable
#

check the pins

tender river
#

you will also obviously have to learn html and css

#

other than that, yes check pins

dark idol
tender river
dark idol
stark needle
#

hi hi hi hi hi

olive sable
rough bloom
#

neuroWaveA shad

uneven pulsar
#

hi scadu

molten island
#

no js?

opaque sigil
sour harness
trim valve
#

exam completed

gritty dust
hoary lion
#

pog

sage crag
opaque sigil
sage crag
#

good

gritty dust
#

hey the more equals the better neurOMEGALUL

sage crag
#

ive heard horror evilLightbulbJuice

opaque sigil
#

90% of the "horror" can be avoided by just not using == thankfully neuroPogHD

gritty dust
#

I kinda want to use === in my code and send it to my teacher to see how he reacts lol

tender river
#

when using js as god intended (for one-off scripts you put on your web page) == is actually good

opaque sigil
#

there's like one legitimate use case for it and it's catching both null & undefined at once

gritty dust
#

Wait 3 equals is a thing neurOMEGALUL we haven't learned that yet lol

opaque sigil
#

that's uhhh, concerning

gritty dust
#

(we're doing c++ and python java is next year

opaque sigil
#

oh

#

then it makes sense

#

=== is a js thing

gritty dust
opaque sigil
#

cause == does type coercion which is how you end up with all the seemingly random equalities

gritty dust
opaque sigil
#

it's kinda fucked cause depending on the types involved it actually does multiple coercions

#

so [1] == 1 for example turns into "1" == 1 and then 1 == 1 iirc

knotty current
noble zodiac
#

very intuitive

opaque sigil
tender river
#

all those ?s and !s are confusing me

opaque sigil
#

i think it means it throws

tender river
#

exceptions on loose equality neuroCry

opaque sigil
#

there are assertions inside some of the conversion functions, maybe that's what they mean?

#

nvm they explicitly say the assertions shouldn't need to be checked by implementions

#

ah i found it

#

here's where it could theoretically throw

#

cool so TIL

midnight sigil
#

now I can continue crash down on Blender 4.5's comp nodes

sage crag
#

r

midnight sigil
#

r

#

I wonder what is the most popular language used by #programming

opaque sigil
#

Given this is a neuro server probably python unfortunately

midnight sigil
#

I think it would be rust though ngl

tender river
#

dont think so

rough bloom
tender river
#

great now i have to repackage iopaint evilDeadge and also remember how i did denoising neuroDeadge

midnight sigil
sage crag
#

m

tender river
#

i'd rather use js thaank you very much

sage crag
#

@stark needle one :NOTPogHd: please

midnight sigil
tender river
#

software

#

WHY IS THE PACKAGE NAMED IOPaint WHILE THE SOURCE DISTRIBUTION ISNAMED iopaint-1.6.0.tar.gz

#

whatever.

quick flame
#

makes sense to me

tender river
#

no

stone flint
opaque sigil
#

ah yes, thanks for cutting that off right there google

faint sandal
#

because...

#

OK

sage crag
#

konii fun fact

#

i am not on the moon today

tender river
#

chayleaf fun fact

#

i am

sage crag
#

you are, or are you

#

?

tender river
#

i am

sage crag
#

darn

uneven pulsar
#

i fear no AI

#

but this

#

this scares me

#

unlike grok who doesn't even

nocturne olive
#

Can an unstable memory overclock (that works fine for at least the first day) cause:

  • 100% reproducible task manager crashes
  • atrociously bad performance
  • lag when trying to close stuff
    or should I consider that as Windows being stupid?
#

(all of those only appeared around a day after the initial startup with the overclock)

opaque wharf
#

Overclocking anything may degrade performance yes. So it could be, try tuning it down a bit

uneven pulsar
#

or just see if turning it off magically fixse FernThink

opaque wharf
#

Yeah, that too. If it fixed by turning off the OC then dialing it down may help

#

Otherwise, god save windows

nocturne olive
#

I rebooted and everything is back to normal
I guess I have to see if it does it again (the OC is still on)

#

Also gonna run a memory stress test for longer than 1.5 hours I guess

ruby timber
nocturne olive
#

First time I've pushed the timings below linear, as before I was just upping frequency (maxed out frequency at 3800)

tender river
#

cococococo

maiden geyser
#

ayaye coco jambo

stark eagle
#

Hi everyone I am in robotics as I wanted to further my programming skills I was doing what's called a kiwi bot. essentially a robot that a triangle a wheel on each side of the triangle. I had everything working for the most part It's in java. I wanted to do field centric but I was only ever able to do field centric backwards I never had any help as all my class mates prefered block based code but I used Intellij more or less the same thing as well as using what's called called first robotics. My team went to worlds 3 times in a row and hopefuly continue that streak we havent won worlds yet tho on first inspire FTC. Basicly this project was my own specifically for the class for whatever reason I could never get field centric working on the robot I was working on I don't have the code to reference. Could somebody explain how I would get it working on the robot I was working on I like to learn even after I never was able to test the final iteration. Sorry for the long explanation I tend to ramble all over the place just how my brain works. Id apperciate if someone could help me I wanna buy my own robot parts eventually but currently can't afford them so I can't do any tests. Cheers

#

again sorry for the ramble I can't stop when I am on a tangent I don't understand it myself tho if someone could give me an answear it would be much apperciated. More so the math portion of the code as I think that's where I went wrong

opaque wharf
#

Oh, you were using track

#

But I think the principle should still hold

stark eagle
# opaque wharf Have you tried this? This is also in Java https://gm0.org/en/latest/docs/softwar...

yea I've looked everywhere it due to how over complicated I made everything my teacher was absolutely befouled(I think thats the right word) on how much I had as I wanted to have as many safty messures and my teacher can't program so I was on my own I did go through that tho the closest I got was it being back wards. I used theta as the unknown angle and I just never fully got it working. I am curious if you could explain it

opaque wharf
#

Basically to remotely drive a robot from the frame of reference of the field, the robot will need to know the heading it's facing relative to the field north.

stark eagle
#

I was limited to what I had aswell I had four motors for 3 for each wheel 1 for the arm and I remember how over kill the arm is. Some how I believe I managed to get it to move in 2 directions with a motor

stark eagle
#

realistically my robot was over kill and way above what I was supposed to do I just really enjoy doing something that I have no idea about and just doing it. hence why I am so fixated on why it never worked

#

I am gonna see If I atleast have an old version of the code somewhere

opaque wharf
#

I kinda don't have my college material on me so this will have to do. See, if you give the command to move to 0 degree (North), you don't have to do anything

#

But let's say the robot is now heading around 45 degree

#

You have two options. First is to do the rotation first, then the translation

stark eagle
#

Ill send a rough look to what it looked like

opaque wharf
#

Or you could perform the turning manuever by calculating the center of rotation

opaque wharf
#

Like, no matter the robot construction, you will have to do counter rotation by 45 degree first. That is governed by the kinematic system

#

But to do field centric drive doesn't depend on that

#

Is your triangle robot using omni wheel?

#

Then that makes it even simpler to reason about

stark eagle
#

here let me explain it better

#

essentially I had Front Left Right and Back Front is controlled by two wheels back and forth. The Back is controlled by the back wheel aka the third side. like I said I had it backwards but even reversing the math and everything could not fix it maybe faulty parts I don't know. Front is always facing the forwards when you move left on the joystick it would correct itself so front is facing left now. because I had to also adjust powers as I needed to make sure everything worked. I had a week to do it so not much time as I didn't start building the final robot by the week prior

warped narwhal
olive sable
#

good evening guys. i may or may not have fallen asleep while studying

stark eagle
#

I got the math for the left right to tell the robot thats yaw then used the back to run the motor so it's facing forwards and the left and right to run to that position

stark eagle
olive sable
#

math

stark eagle
#

oh neat I love just learning the formulas for math something so satisfying about it

olive sable
#

the geometry part does x towards you, y to the right, and z up.
its fucked up

opaque wharf
#

I'm sorry, I still fail to understand it. Try to reformulate you question and the problems you're trying to solve maybe

olive sable
#

i like my minecraft/opengl and blender world spaces

stark eagle
olive sable
#

nah, when i use blender i put x to the right

stark eagle
craggy reef
#

I’m not very good at coding, but I have a question.

Vedal mentioned a bug let Neuro-Sama have access to his location. I was wondering how this is even possible since I was under the impression that computers can’t do anything unless you program them to do that thing, and Vedal wouldn’t sit down and code a “let Neuro see where I live” function.

Plus I don’t know how computer location tracking works, but I though in order to access data you had to go get it from the place it is in the memory, which means you need to know where it is in the memory. How would Neuro know what it is and where it is in the memory?
Also can she just access the whole computers memory and pull whatever she wants all the time? I didn’t think that was how that worked.

warped narwhal
stark eagle
#

they could ask what's my ip and they could do the same

warped narwhal
#

nah, IP's are innacurate to all hell in the uk

trim valve
#

it depends

olive sable
#

to me dns server is more accurate than ip

stark eagle
#

Or if she is given access she can just use a terminal

opaque wharf
#

A chart of every coordinate basis used for which software

warped narwhal
#

my IP says that I live just west of london, which is 550km from my actually place

olive sable
#

noted

stark eagle
warped narwhal
opaque wharf
tender river
#

i got refused a purchase once because the payment operator thought i use a vpn because my ip was 3000km away from my billing address (i was literally at home and not using a vpn)

craggy reef
warped narwhal
stark eagle
trim valve
warped narwhal
gritty dust
#

AAAAAAAAAAAAAAAAAAAAAAAAAAAA

trim valve
#

and my current one shows the city which is enough to narrow down where I live

warped narwhal
trim valve
#

I am not

warped narwhal
#

cause they sell all your data over there

trim valve
#

thank fuck

#

I live in the uk

warped narwhal
#

you dodged a bullet

#

well, if you live in england then you have to deal with being english

#

so you're not much better off

hoary lion
opaque wharf
hoary lion
#

I actually now no longer have any preference

#

both seems right

stark eagle
olive sable
opaque wharf
hoary lion
#

like if we go math math

#

z up seems right

#

but due to minecraft

olive sable
#

as long as z isnt going to the right im not commiting any crimes

hoary lion
#

smh

stark eagle
trim valve
opaque wharf
#

What is the one used by directX again?

olive sable
#

i got my results from my physics exam pog

stark eagle
opaque wharf
#

RHS, Y-up right?

gritty dust
opaque wharf
olive sable
#

8/10, 8/10, 8/10, 6/10, 5/10, 8/10

tender river
#

When drawing something, it makes sense that x is right and y is up; then, z is naturally towards or behind you, whatever it is (dont remember it). When charting something like coordinates, it makes more sense to use x as right and y as forward, then z becomes the vertical axis.

Basically, imo it makes sense to use whatever is least important for the domain as the z axis; though this may be questionable math wise

hoary lion
thorny marsh
#

thank u shuni

hoary lion
thorny marsh
#

actually wait why is it running at 60hz lobotomy

opaque wharf
#

Dat swap

olive sable
tender river
thorny marsh
dry charm
opaque wharf
#

I like my arch

olive sable
dry charm
#

Then use arch! Thats the best part, that everyone can use the one that works for them

opaque wharf
#

Arch is structurally sound and can bear a ton of load by distributing the stress

dry charm
#

fuck elitism and gatekeeping OSes

stark eagle
olive sable
hoary lion
dry charm
olive sable
#

i gave that k = m * omega^2, which gave me half points

thorny marsh
olive sable
#

wdym?

stark eagle
olive sable
dry charm
olive sable
#

windows for games, and linux for work

dry charm
#

for me it's linux for games, windows for work LULE

#

I'm forced to use Windows cause IIS

stark eagle
dry charm
stark eagle
opaque wharf
#

Fuck closed-source vendor program

dry charm
stark eagle
#

NOOOOO

dry charm
stark eagle
#

the only reason I dualboot over a vm is I am using a gaming laptop and it does not like VMS

dry charm
#

Which makes it a bit ??? for me, cause why not just use xbox as a base?! It is already x86_64

stark eagle
trim valve
#

I'm too used to windows 😔

stark eagle
trim valve
#

also wsl strikes the right balance of comfort for me

#

though I wish usb stuff was easier

opaque wharf
stark eagle
dry charm
stark eagle
#

God Of War on xbox goes hard

#

Honestly I am just waiting for nintendo to throw in the towel and add there games on pc

noble zodiac
#

why would they do that when they are winning?

stark eagle
#

cause as long as I have pokemon nintendo can go fuck itself right through there giant assholes

stark eagle
noble zodiac
#

I'm sure that will crash the market for them

stark eagle
#

yup 1 person vs nintendo

#

I got this

noble zodiac
#

the switch 2 is the fastest selling console of all time and it has a single game

stark eagle
#

but I refuse to gobble anymore of nintendos dick they have screwed me over too many times.

#

that was too graphic I regret saying that

opaque sigil
thorny marsh
#

i forgot to state (here) that i decided to install nix on my 16tb seagate exos drive instead of my main nvme ssd (because, well, i dont wanna have grub and windows share the same disk due to dualbooting issues and i cant afford an ssd atm) UNFOCUS

olive sable
sage crag
stark eagle
#

Shoot did I say that

sage crag
#

a little bit

open copper
#

bro

olive sable
#

you might want to consider not saying that

sage crag
#

IT HAS COLOURS

stark eagle
sage crag
#

wow

open copper
#

i had a glowup

olive sable
sage crag
#

so shiny

olive sable
stark eagle
#

I mean sometimes it happens to the best of us right

olive sable
#

does it?

#

i dont think it does

#

you might be too down bad

sage crag
#

possibly

stark eagle
olive sable
#

lets ignore my statements from yesterday

stark eagle
#

Honestly I fully deserve that warn something took over

sage crag
opaque wharf
#

What happened here?

sage crag
#

the evil

opaque wharf
#

Need any bomb?

sage crag
#

no bomb

olive sable
#

only a small one

#

1 message

opaque wharf
#

I only have the tutel image one

#

I'm considering deleting it since everytime I open my gallery his face greets me

thorny marsh
stark eagle
olive sable
#

bro just has no self control

stark eagle
opaque wharf
#

I forgot where I got this meme. By chance, did any one of you send this here before?

sage crag
#

banned for this

olive sable
opaque wharf
#

Hey, I tried to find who sent me that

drifting cradle
#

i didn't send that

sage crag
#

i didnt either

#

im gonna puke that looks so gross neuroCry

olive sable
drifting cradle
#

why did he chew it

sage crag
#

how are you gonna eat an egg without chewing it?

#

???

olive sable
#

would you rather have him swallow the egg whole?

opaque wharf
stark eagle
olive sable
#

brother are you high?

sage crag
opaque wharf
#

Alright so the criminal that sent it to me isn't here at least

sage crag
#

brother you are the criminal

olive sable
stark eagle
opaque wharf
sage crag
#

not really

olive sable
#

no

sage crag
#

hblang update, nothing changed

#

but it is programming

opaque wharf
olive sable
#

hblang pog

stark eagle
tender river
#

@real sierra i have defeated the speedlines with the power of krita assistants neuroPogHD surely i'll stop hating them now

sage crag
#

surely

olive sable
#

mods have been pinged

#

scatter

olive sable
tender river
#

AAAAAAAAAAGH

#

they still scare me

sage crag
#

:SpeedR: neuroPogHD :SpeedR:

opaque wharf
tender river
#

but i will overcome this

#

i am stronger

real sierra
sage crag
#

imagine if shiro came here

#

lol

stark eagle
#

Man and I thought id live another day mods please mercy

opaque wharf
olive sable
#

shiro? who? NeuroClueless

stark eagle
#

actually I am not scarred strike me down mods you don't have the balls

real sierra
stark eagle
#

yea

sage crag
#

is there some serious gluelessness going on right now

stark eagle
#

I mean naturally I am very intimidating there shaking in there boots

olive sable
tender river
#

i do indeed feel a catastrophic lack of glue in here

stark eagle
real sierra
tender river
#

thank you shiro

sage crag
#

thanks

#

glue in programming chat

stark eagle
sage crag
#

non programming context

olive sable
stark eagle
#

we will now stick together shoulder by shoulder

hard raptor
#

Programming? How interesting

real sierra
#

glue (the UI layout prototype)

olive sable
#

is it just me or does #programming have more normie topics now?

#

i feel like it was more nerd shit a year ago

opaque wharf
sage crag
olive sable
#

sure

sage crag
#

glewless neuroDespair

olive sable
#

i do happen to have glew neuroHypers

tender river
#

should've used libc evilWAJAJA

opaque wharf
#

GL-eww

real sierra
#

gloo (a cold dome with no eyes)

tender river
#

(libc whneurOMEGALUL)

sage crag
#

libc is a scam

#

hblang doesnt need it, you dont either

tender river
#

its made by the big C to sell more C

rough bloom
olive sable
real sierra
#

I miss the days where the math channel existed

#

I was like the only user tho

sage crag
#

i miss the days when #osu existed (i was not here)

opaque wharf
tender river
real sierra
#

hey what's wrong with ZFC

tender river
#

it should be telling the truth

stark eagle
sage crag
opaque wharf
sage crag
#

OH

#

i know what this hooligan is talking about i think

real sierra
#

it's silly to argue whether it should or shouldn't be there in general

#

choice of axioms is ultimately a question of interpretation of the problem

olive sable
#

C the language?

opaque wharf
opaque wharf
#

Of choice

stark eagle
olive sable
#

in cas you havent noticed

stark eagle
olive sable
#

shiro is always birthday

sage crag
#

well, maybe, i dont know

stark eagle
stark eagle
#

I have a disease that strictly restricts me from doing so it's called offtoposis

sage crag
stark eagle
#

probably why I don't stick to one project at a time

thorny marsh
#

hi shir

tender river
#

mine is the empty set by the way

sage crag
#

my favourite set is the set of all sugar crystals

opaque wharf
#

My favorite is the set that contains itself

#

Just to be chaos incarnate

sage crag
#

its size is uhhh

tender river
#

its size is 1 as long as it only contains itself

olive sable
opaque wharf
#

Dang

sage crag
opaque sigil
#

0 neuroPogHD

sage crag
#

ptr that points to itself is still size of 1 ptr

#

it just has infinite depth

olive sable
#

so does a pointer not count as a value?

sage crag
olive sable
#

i guess then its fully empty, as longas there are no other values in the set

sage crag
#

its not empty, it contains itself

#

1 element

olive sable
#

but itself is only filled with itslef, so its meaningless

#

there is nothing of substance

tender river
#

let me demonstrate

#

though its a list that only contains itself

tender river
#

its essentially equivalent to a singleton set since a singleton list

opaque wharf
sage crag
opaque wharf
#

Weird threat, but ok

stark eagle
sage crag
#

no sorry

#

1 person per century

stark eagle
#

I knew that ticket was overpriced

tender river
#

thank you AI for this very clean and completely not visibly AI generated foreground removal

sage crag
#

the ambiguous green mass

sage crag
#

i can read links

warped narwhal
olive sable
#

ah yes

sage crag
#

i think most people have this video id memorised

opaque wharf
#

Just the last XcQ

tender river
#

this is why links should be aes-encrypted with random bytes prepended and a globally known decryption key

sage crag
#

wrong order

olive sable
warped narwhal
sage crag
#

try harder

olive sable
opaque wharf
olive sable
#

so like, who would fall for that?

warped narwhal
#

mostly those that don't know the in's and out's of discord

warped narwhal
sage crag
#

no.

opaque wharf
#

Nope

warped narwhal
#

there you go

opaque wharf
#

Noice

warped narwhal
#

then you can use a custom emoji like this:

eye

and the small header (-#) to make it look like an ephemeral message

olive sable
#

web is working again neuroHypers

sage crag
#

em script who?

olive sable
#

the emcc command had grown even longer catdespair

#

emcc -O3 src/main.cpp -o output/main.html -I src -I src/include -I models --preload-file shaders --preload-file models -s USE_SDL=2 -s USE_SDL_IMAGE=2 -s USE_SDL_TTF=2 -s MAX_WEBGL_VERSION=2 --use-preload-plugins

#

at this point i should just put it in the makefile

amber fractal
#

Bash script neuroTroll

olive sable
#

no

#

im looking trought the json.hpp script to see where the warnings come from...

#

and holy fuck

amber fractal
#

Jokes aside, who failed to bother to write a macro for this

tender river
#

it is, quite literally, a macro

amber fractal
#

Yeah ig it is

olive sable
#

found the line giving the warning, on line 26570....

#

even i never wrote a script that fucking long

amber fractal
olive sable
#

im runnig that local server rn too so im using 25gb ram rn

#

theres a reason i bought 64gb i guess

#

i wonder what to do with my other 64gb ram, seems like a waste to sell it

amber fractal
olive sable
#

its only 3200 compared to this 3600, but still decent

amber fractal
#

Depends on if you have another computer ig

olive sable
#

i have my old pc, but the plan was to sell it. its been months tho so i doubt its ever leaving my house

#

might make a server out of it for the gamejam

stray dragon
amber fractal
#

So time for it to be linux

opaque sigil
olive sable
#

fair

tender river
#

also its not called a script

opaque wharf
olive sable
stray dragon
olive sable
#

egg

opaque wharf
#

See? I knew I wasn't crazy

amber fractal
#

hi t neuroWave

stray dragon
#

hi iggly

olive sable
opaque wharf
#

Bruh, ST doesn't even have STM32G431VBx3

thorny marsh
#

today i learned that linux very recently got a BSOD for the kernel panic

opaque wharf
#

Will it be CAN 2.0 or FDCAN. Only god knows

stray dragon
tender river
thorny marsh
nocturne olive
amber fractal
opaque wharf
olive sable
#

idd asume just port forward on my router, than run that through cloudflare?

#

so i dont leak my ip

opaque wharf
nocturne olive
opaque wharf
#

But sometimes residential ISP doesn't provide that OOTB

olive sable
#

whats OOTB?

stray dragon
#

out of the box

opaque wharf
#

Out-of-the-box

rough bloom
rigid snow
#

actually just use cloudflare tunnels

#

it's op

olive sable
#

i losrt the ability to portforward anyways

olive sable
#

the new router doesnt have a web interface

#

old one did

thorny marsh
rough bloom
nocturne olive
olive sable
rigid snow
#

look up how to enable it then

olive sable
#

dont need it anyways, ill use cloudflare if need be

opaque wharf
#

I don't know how big is the latency tho

rigid snow
#

cool mentality

#

how do i be like you

olive sable
#

old one was the left one, now we have the right one

amber fractal
olive sable
nocturne olive
#

Well, I don't know what it is

olive sable
#

me neither

hard raptor
olive sable
#

they rebrand existing hardware

rigid snow
nocturne olive
olive sable
nocturne olive
#

And is there uage limits?

olive sable
#

we have unlimited

amber fractal
amber fractal
rough bloom
# opaque wharf I don't know how big is the latency tho

the latency added by CF Tunnel should be practically nothing compared to using Cloudflare normally, which would the case anyway to avoid leaking the origin IP
even when using Cloudflare the physical distance and ISP routing stupidity will probably be the majority of the latency for a lot of people

rigid snow
opaque wharf
hard raptor
#

And port 80 and 443 (standard http and https ports) link to their github

amber fractal
nocturne olive
#

Seems particularly silly to me

hard raptor
#

I use it for all my stuff

opaque wharf
#

Nah, useful when behind a NAT

nocturne olive
#

Well, I guess I don't have to worry about that

rigid snow
amber fractal
#

I wait until my upload is not 20mb compared to GB download to do decent serving

sour mason
#

i cant anymore KanaSad ... I've been trying to import discord for my python chatbot for the past 30min now and shit aint working

opaque wharf
#

Only 1 ISP here that provides +50Mbps upload for residential. And even then, it's availability is limited

amber fractal
sour mason
rigid snow
#

if someone here has a death note can you pls write python in

amber fractal
amber fractal
sour mason
#

does sb maybe know how i can fix that it cant resolve the package?

amber fractal
#

install a diffrent discord framework neuroTroll

opaque wharf
#

I'm a changed man after I know uv for python

nocturne olive
hard raptor
#

Nah, Serenity on rust

#

There should actually be a C/Rust port of serenity tho

sour mason
#

for now I'll try gambling by changing the interpreter a bit

amber fractal
sour mason
#

What could go wrong

mossy fossil
#

linux
BSOD
what in the damnation that is systemd is that

amber fractal
#

Honestly, if you see BSODS as an issue then just I'd ask what you do prefer for easily grabbable debug infomation.

opaque wharf
amber fractal
mossy fossil
#

systemd isn't even hiding the fact that they want to be just like windows (which means shit) anymore

amber fractal
#

I'd disagree with all of it being bad, just like every OS. Some parts are good, some are bad; and right now we don't have a very best solution.

mossy fossil
#

with windows, most are bad

#

and it gets worse as time goes on

#

i'll go with a sentence that Several UNIX Admins go with in regards to systemd: "If this is the solution, i want my problem back."

#

on a side observation: That BSOD looks like it helps with goddamn nothing.

#

it gives you a QR Code... Yay? that's it?

#

it accomplishes close to nothing.

olive sable
#

windows' bsod doens thelp much either tho

mossy fossil
#

Linux's Kernel Panic actually gave you a detailed memory dump on screen

#

where it showed WHERE exactly it failed

#

but no, let's go backwards and dumb shit down because "people are too stupid" or something

#

or "COM-Based Terminals/Debuggers are too antiquated" despite the fact they do the job just fine

#

hell, with a Terminal/Debugger you could also debug the kernel panic yourself.

#

instead "Make way for Systemd's Sorry Attempt at mimicking windows", because we haven't done that more times than not!

#

it all does not make sense for me.

#

instead of trying in vain to code something for people who shouldn't even use computers in the first place, use that effort to actually improve the software people actively use your platform in the first place. and not whatever red hat feels like doing it because they think they have "more power than god" on what becomes law in the linux world.

wary rover
#

Man, I like how interactive coding software is. Almost too interactive. Like I tried to fix some stuff, deleted main to see what's gonna happen and compiler just stopped working. Needed randomizer function and googled how to implement it. Turns out that I need to just type [rand = "0.8"] in a toml file and after doing that it just like "Gotcha fam" and downloaded something, and then BOOM I have a randomizer function. Coding is awesome. I still don't understand anything, but it's cool af

sour harness
#

Yeah, for stuff like that rust has a pretty good developer experience

wary rover
#

Can't wait to learn syntax properly and delve onto low-level stuff. Like physically moving bits inside of memory, how cool is that

#

Still can't really wrap my head around {} and ; difference. Like if I finished the block and defined the scope or compound expression, why do I need to terminate the statement with ; ? Why can't it understand it without the explicit ";"? Weird stuff

tender river
#

(() is the type that contains nothing, also called unit)

#

you can try something like

println!("{:?}", { 5 });
println!("{:?}", { });
println!("{:?}", { 5; });
wary rover
#

As far as I understand type is like a well-defined operation, like square root in math. It does what it does and nothing else. And then we feed variables to it for transformations?

#

There are a lot of very similar concepts and I get mixed up in them for now

tender river
warped narwhal
#

Rust is kind of unique in that everything is an expression

tender river
wary rover
#

I have a long way to go

warped narwhal
#

So you can assign variables to the result of an if statement

tender river
warped narwhal
#

Or you can match on an if statement that uses a closure as it's condition

warped narwhal
wary rover
#

So, value can de assigned and also can be evaluated and its two different things, right?

tender river
#

when you evaluate 2 + 2, you get 4

#

is that enough of an explanation?

wary rover
#

Evaluate is compute the expression?

tender river
#

yes

wary rover
#

Makes sense

velvet crestBOT
#

You have unlocked new role

sage crag
#

you have unlocked it

#

new role

tender river
#

nwerole

sage crag
#

nwerole

wary rover
#

I have unlocked it

sage crag
#

nwurpole

#

:nwurp:

#

why is there no nwurp

#

someone get on this stat

wary rover
tender river
#

5 indeed just evaluates to 5

wary rover
#

If I say go evaluate { a; b; c; d } it will return d?

sage crag
#

yes

tender river
#

not really return, returning is a different concept

#

the block itself will evaluate to d

sage crag
#

same difference here enub

wary rover
#

It will evaluate it in secret from me

sage crag
#

its not really in secret, you made it evaluate it enub

tender river
#

so

let x = {
   println!("test");
   5
};
println!("{x}");

this will print
test
5

wary rover
#

Funny

sage crag
#

mrmmm

wary rover
#

So string test is assigned to a variable x and then it like "oh, also: 5"

tender river
#

konii purring noises

tender river
wary rover
#

String and just text are different things, got it

tender river
#

5 is assigned to x, println!("test") is just evaluated but nothing will be done with the result of println!()

tender river
#

anyway, the important thing is the program will run whatever computation is before ; but not use the result in any way

wary rover
#

If it doesn't use the result in any way why would it print it? Printing is a result, no?

tender river
#

printing is a side effect, the result is ()

#

when some calculation is ran, it has results and effects

#

results are what the program gets, effects are what happens to the world

wary rover
#

I feel my horizons expending rn

tender river
#

some languages make it more obvious by separating the two concept, but rust decided to just allow any computation to have side effects

wary rover
#

It's fun tho. Difficult stuff is fun

tender river
#

also its by no means a solved problem, some of the cutting edge language designers are working out ways to make effects nicer to think about

wary rover
tender river
#

this is equivalent to just { a; b; c; 5 } yes

wary rover
#

And fn function() is a syntax way of telling computer "the next block is the definition and mechanism of a function called "function" when you are asked to execute this function you do exactly what is written in the block {} right after it"?

#

This is unit, right?

tender river
#

it is a bit different, functions have multiple arguments specified in parentheses, a zero argument function doesnt take a unit it just takes zero arguments

#

there are some languages where functions only have a single argument, in which case a function that takes 0 values will indeed take a unit

#

overall though yes when you have a function it can roughly be thought of as just replacing the function call with that function's body (with some caveats for early return)

sage crag
#

i wonder if its more accurate to distinguish between scopes (blocks) and scopes (closures)

wary rover
#

I mean, I made a simple program that asks you your name and if it's my real name it praises you and if it's anything else it insults you. And I manged to make it work by defining fn main() and having a block with everything else right after it

tender river
#

yup, good job nyaroPat

wary rover
#

Thank you, it took me only 5 hours

#

I know, I am extremely talanted

sage crag
tender river
#

people in this channel have been programming for years, often on their jobs (40 hours a week)

sage crag
tender river
sage crag
#

rip

#

close enough

wary rover
sage crag
#

hm?

tender river
#

stdin

wary rover
#

I need to type the name into terminal of a compiler

sage crag
#

i meant change the name check to compare the input name against the actual username

#

rather than a constant

#

but it was a joke life

wary rover
#

While I have people to bother: is "?" always an error indication symbol or does it have other uses in rust?

tender river
#

in rust i dont think it has any other uses

#

except when used in a string or as a character or in comments of course

rigid snow
tender river
#

env vars are easier to fake than uid

rigid snow
#

ok damn are we making a super secure app or something

wary rover
#

I think I'll learn struct next. Seems like a fun concept

tender river
#

it should be fairly safe to just go in the same order as whatever is the material you're using

wary rover
#

I just create a problem for myself and bang my head against it until it works

rigid snow
#

ending up with rust as a first language is crazy work ngl

wary rover
#

I wanted to start from pure C, but I didn't figure out the compiler

#

It just didnt work no matter what

tender river
#

from my experience teaching someone C as the first language, i think rust is a nicer option

sage crag
#

windows sucks for c programming neuroDespair

wary rover
#

I was like: download this thing that must work out of the box and be all done instantly.

#

Missing the linker

#

Download linker

#

Missing the linker

#

My face when

sage crag
#

with msys2 or wsl its as simple as
gcc myprogram.c

wary rover
#

I mean, C is my second target after I learn rust. I want to do low-level stuff. Like real low-level stuff. I want to speak assembly like its English

rigid snow
sage crag
#

thats why we have compilers

wary rover
#

I will be the first

olive sable
#

sure you will

sage crag
#

good luck with that FOCUS

tender river
wary rover
#

Can confirm

tender river
#

rust in particular has a heavy focus on tooling so it has good error messages

sage crag
tender river
#

print("1") prints the same as print(1) so it must be true

stone cedar
#

The c ecosystem on windows is so bad, I've seen people reccomend to just download the zig compiler and use it for c

rigid snow
#

what neurOMEGALUL

#

that's genius ngl

wary rover
#

Use notepad

sage crag
#

sure zig cc works fine and also produces smaller binaries than gcc but uh

#

well, i guess zig cc is mostly just a frontend for clang

stone cedar
#

If you are really desperate it's better to try that than to give up at least. I only tried it out of curiosity once to see if it'd work but haven't done anything with it other than that

wary rover
#

My friend who is good at coding does C in VS code and says that it works decently. I mean, he also has Linux, but I am not sure if it plays a role here

tender river
#

it does

#

C and C++ on linux is much much much much nicer

wary rover
#

Everything is much nicer on Linux other than gaming as far as I can tell. I gave him an old laptop that I wasn't using. It had 90% load on desktop. Like just moving your cursor around caused it to lag. Two months later I am at his place and turn it on. It FLIES. He installed some Linux distro on it instead of Windows 10 that it had

tender river
#

gaming is easy on linux as long as you use steam

#

you wont be able to run valorant or roblox or league or other games with anticheat whose developers actively fight linux users, thats about it

#

but there are other problems like not having decent cad software

opaque sigil
wary rover
#

Yeah, it was funny to scroll through the programs my friend installed on the laptop. There was full microsoft office, but every app is like a knock off version of it's windows counterpart

tender river
#

i assume you're talking about libreoffice, not microsoft office

wary rover
#

Not saying that they are worse, just look funny

#

I mean in terms of functionality, yes

tender river
wary rover
#

He was trying to indoctrinate me into Linux for months, but I am not ready to be converted yet

#

I crave comfort of Windows

#

Well, to be honest even using Windows is a struggle sometimes since I am pretty new to having a PC in general

amber fractal
#

Easy for linux level people, not so much for average

spiral fractal
#

what's a " 1000 line switch statement" ?

olive sable
#

bad

spiral fractal
#

explian like the tech illterite numbskull I am please.

olive sable
#

you have 1 thing

#

and a row of 1000 other objects

#

you start at the first one and check if the original 1 thing you have is the same object

spiral fractal
#

ok

olive sable
#

if not you go to the next one

#

and the next one

#

and the next one

#

...

spiral fractal
#

oh my

#

that could take hours or days

amber fractal
#
very complex cause
if (matches #1) do thing
... 999 more branches
spiral fractal
#

woah 😮

olive sable
#

luckily since computers are fast its not too bad, but idealy you limit it

amber fractal
#

Ideally you'd be splitting it up into smaller partz

spiral fractal
#

yeah that would be smart

amber fractal
#

It can also mean that the entire code is within the switch statement

opaque sigil
olive sable
#

is it not?

opaque sigil
#

it depends on what the optimiser feels like doing

olive sable
#

ah

opaque sigil
#

it can turn it into a table

stone cedar
#

switch case fallthrough syadouWoozy

wary rover
#

Can it be optimized by sorting the 1000 variables first and then applying comparison to probable matches? Like if the value must be positive and we have 400 negative ones we can disregard them after the sort. Or will the act of sorting itself be more computationally hungry than 1000 comparisons?

opaque sigil
#

if you already know that some cases are more likely than others you can declare them in that order yeah

spiral fractal
#

thx guys 🙂

wary rover
stone cedar
tender river
#

in C, a switch statement just compiles to a lookup table (or potentially a few lookup tables)

wary rover
#

I really like optimizing stuff. Its scratches my brain in a funny manner

tender river
#

the reason long switch statements are bad is not performance but code structure

olive sable
#

that sucks

wary rover
#

Can't you just collapse things you don't want to see?

tender river
#

well, there is match nowadays but its pretty new and rarely used

opaque sigil
#

mfw 3.10 is almost 4 years old and half the ml libraries still don't seem to support anything newer

tender river
#

which are first hashed

#

then compared using binary search rather than a lookup table

#

(since the hashes are understandably very far apart)

#

and then compared character by character to make sure its not a hash collision

wary rover
#

Create a hash map 🤓 ☝️ (I don't know what hash map is but I heard it's a solution to everything)

tender river
#

granted the install has not been updated for like a year (not my phone)

olive sable
#

had to comment out this code form the gltf loader cuz it broke renderdoc

#

im guessing its cuz renderdoc leaches off the leftover cpu-side buffers

wary rover
#

What language is that?

olive sable
#

c++

wary rover
#

It looks cool

olive sable
#

i like it but a lot of people hate it

wary rover
#

What does ++it do

stone cedar
#

it increments it its basically the same as it = it + 1.

#

though in this case it's a bit special because it is an iterator

wary rover
#

A value can have +1 as a treat

olive sable
#

Il prett sure it++ adds one to it, but also returns it without the +1?

gritty dust
olive sable
#

Then dont write asm

stone cedar
#

Yep, ++it and it++ do the same to it, but prefix ++ increments first, then returns it while postfix returns the original after incrementing.

gritty dust
wary rover
#

Ok, what is returning a value? Can a value be used without being returned?

sage vale
#

Chris Titus just reported that Microsoft has begun firing devs of Windows 11 and replacing them with AI programers. I guess all of my Windows 11 errors will get forwarded to Vedal from now on. Tutel

wary rover
#

Someone tell Vedal there is a problem with a GPU driver

amber fractal
#

Tutel Nah I'm not paid enough for this shit

wary rover
olive sable
sage vale
#

neuroD < "Someone tell Vedal there is a problem with my Windows PC"

olive sable
#

Veeedaaal my pc is on fire, stop mining crypto on it

amber fractal
#

That only happens if you got a lamp

wary rover
stone cedar
wary rover
#

I am not qualified to understand this statement yet, will figure it out by myself later. Thanks for feedback tho

stone cedar
#

Maybe 'returns' is not the correct term for it, maybe 'results in' is more accurate syadouThink

wary rover
#

I don't like words in general. Usually when I learn something I bang my head against the wall trying to do what I want to do and in this process I start intuitively and subconsciously understanding everything

#

So I might sound incredibly dense when being taught by someone, but when I learn by myself I am a pretty quick learner actually

tender geode
wary rover
stone cedar
hoary lion
#

welcome me to c++

#

unreal neuroDeadge

amber fractal
#

Switch engines, it is not worth it evilBwaa

hoary lion
#

Idgaf of graphics but procedural generation support

amber fractal
opaque sigil
#

i feel like surely there's a better way to get procedural general support into whatever you need than including unreal engine

hoary lion
#

It is more of a large scale map loading method

#

Pretty sure unity is painful on that kind of tasks

#

I would make algorithms by myself but I do not want to handle genshin sized map loading by manually neuroSob

opaque sigil
loud thicket
#

Unreal bad

#

Unity better

opaque sigil
#

also speaking of ue, the other day i felt like going through the repo so i tried building it but it created so many threads as part of the build it kept dying neuroDeadge

narrow beacon
#

Hiiiii

amber fractal
hoary lion
#

I think im cooked

#

audio processing in ML is far bigger than I thought

#

I just wanted to finish this soon but neuroDeadge

#

i am not going to make the ue5 before summer break

amber fractal
olive sable
#

Unreal worse

#

Anyways, my phone keeps breaking over the antenna usage

#

Before it was only 4g, now it also breaks my bluetooth

amber fractal
#

@olive sable what game engine should we use then?

olive sable
#

Uh

#

Roblox

amber fractal
#

Godot?

olive sable
#

Or godot

amber fractal
olive sable
#

Fr fr no cap 💯

#

Anyways, goodmorning and bye.
I have exam in an hour and forgot to revise yesterday

amber fractal
#

Time to die neuro7

stable fractal
#

@pliant tree and @tight sparrow
the query testing for the pet command!

#

sorry it took so long

#

i was writing comments

tight sparrow
#

virus

stable fractal
#

ignore that, discord added it

stable fractal
#

anyway, bye

tight sparrow
#

mhm virus

#

will take a look tomorrow once I'm not on mobile

faint sandal
#

mhm virus

fast pagoda
#

broken
broken
broken
perfection

hard raptor