#⌨coders-cave

1 messages · Page 31 of 1

tropic dagger
#

Lmao merched

prisma grail
#

I got an RTX 3060 Ti. Not that good Ig, but more than good enough for my usecases. xD

barren shale
#

3060 or 3060 TI is the best choice when buying a gpu

#

enough to play all games

barren shale
#

not the highest settings

#

but decent settings

lapis flint
#

3060ti my thing

barren shale
#

its always the 60s

lapis flint
#

And also for playing with neural things

barren shale
#

1060 2060 3060 4060

lapis flint
#

12gb is enough

barren shale
#

always the best option

#

i mean even me with the 3060 laptop version

#

i can play everything

#

and its working very good

#

but that's 1080p

#

if u have a normal 3060 you can go for 1440p easily

lapis flint
#

I only had drops and lags in hogwarts legacy with enabled rtx

static solar
#

Running LLM's locally is resource intensive as hell

#

I used to think my PC was on the higher end but the recent AI boom has shattered that illusion

barren shale
#

yeah AIs need lots of gpu memory to run fast

#

cuz if you cant load the whole model at the same time ur basically fooked

static solar
#

It is kind of crazy we are even allowed to access this tech for free. Unless they have the servers running in some country without electricity bills like crypto miners, a single request should already cost a bit of money, which adds up VERY quickly

prisma grail
wet girder
#

I fell into the hype when I bought my current gpu and I regret it

coral gorge
#

ok but the thing is

#

radeon wears so fucking fast

barren shale
#

well yeah when i said its the best choice what i really meant is for an nvidia gpu

coral gorge
barren shale
coral gorge
#

yes

barren shale
#

never heard of it

#

maybe ur just unlucky

coral gorge
#

now im using nvidia but

rose pawn
coral gorge
#

the problem with nvidia is

#

your cpu bottlenecks

barren shale
#

cant say there's a problem when the sample size is 1 x)

rose pawn
barren shale
#

that means you bought a gpu that's a lot better than your cpu

coral gorge
#

yeah and thats the problem

barren shale
#

its nto a problem with nvidia though

coral gorge
#

i know

#

theyre just way too fast for me

barren shale
coral gorge
#

@wet girder knows

#

i take 300 hours to load

#

but then i run smooth

wet girder
#

If that happened you got a defective unit

#

Gpus should not wear out

#

They kinda just die when they get old, you usually don't really notice a performance difference on modern gpus

wet girder
coral gorge
#

ryzen 5900X

coral gorge
#

if youre automatically tuning them

wet girder
#

Bro your performance is potato class, one of your parts ain't working out well

coral gorge
#

its just the hdd

#

then the 4k monitor

prisma grail
coral gorge
#

i have one

#

its full

prisma grail
barren shale
#

took 3 guesses and a hint but it guessed right x)

#

4 guesses*

rose pawn
#

🩷CHAT🩷G🩷P🩷T🩷

quartz pumice
#

No

tulip quest
#

ChatGPT: ❌

#

Chimp typing on a keyboard: ✅

knotty root
#

It should be a crawfish

tulip quest
knotty root
#

Sure...

tulip quest
#

not in a biological sense, but in a mental one

knotty root
#

Tis is what I thought

quartz pumice
#

Chinese chatgpt factory

knotty root
#

No flooding

#

No spamming

#

@quartz pumice same thing with you

quartz pumice
#

how does this even happen

#

its both inverted and ignored everything that wasnt in the corner

#

gpu isnt even doing bat shit that bad boy is just giving up not even a fifth of the way through 😭

#

I guess it just hates anything below 480*480

rotund kayak
#

print ("Hello World")

quartz pumice
knotty root
#

function spawn_modern_building(x, y)
local building = CreateEntity("modern_building", x, y)
building:SetProperty("height", 10)
building:SetProperty("width", 10)
building:SetProperty("material", "concrete")
building:SetProperty("style", "modern")
World:AddEntity(building)

#

Guys chatgpt

#

Says that code like this can work on mobile

#

If I had the console or smth LUA

feral bramble
#

???

dusty kernel
knotty root
hardy field
#

No they aren't

#

ChatGPT makes a lot of stuff up

#

There is no way to put commands into the worldbox console since the worldbox console exists solely to locate errors, and there is no data in the game for modern buildings, there is no programming for setting the width or height of modern buildings, there is no value in worldbox for the material that buildings are made of, and that makes it clear that chatgpt has no idea about worldbox at all. In addition, you have no idea about this channel at all, because in the channel description it says that "this chat is NOT WORLDBOX RELATED"

dusty kernel
tulip quest
#

quick somebody say something non-worldbox related

remote spruce
#

||6 AM Hotdog||

lapis flint
#

Also, from some tutorials

#

Also, it have access to engine's docs

#
  • some exist mods with source code opened
#

A lot of data sources

tulip quest
#

ChatGPT is an interesting idea implemented well that has *some* uses, but the way people talk about it and use it is less specific to what it actually is. All it does is provide it's guess at a most likely answer, so when you ask it to tell you how to do something impossible it tries to make something up. It applies for possible stuff too; you can ask it to do maths and it'll fail almost anything original (it does read the textbooks and remembers problems and answers, but doesn't know how to solve problems it hasn't seen)

lapis flint
#

Its not just using remembered stuff

#

Its very smart

#

But lazy, so you need tyo kick it to not be lazy and provide what you want

#

Also, depends on how you made prompt

#

It can't read your thoughts

tulip quest
#

It's a pretty good mimic, to the point where when it can't get a problem and you give it a little more information it can solve the problem

#

or rather, it generates a better answer

lapis flint
tulip quest
#

Main problem isn't that it can't read thoughts, it's that a lot of people assume it knows all the things

#

And not only that, it pretends to know all the things

#

(Unless you prompt it correctly, but people don't like to do that)

feral bramble
#

As I remember someone saying, it's good for getting the structure of code.

And just have to know coding to correct that into actual working code

#

_ _
As for the use case of modding you'll have to ask it specific questions and provide information to get something accurate enough to edit into code.

dusty kernel
distant wraith
#

The only uses of coding AIs for me are refactoring, commenting, and getting general ideas. I feel like those are the only things that they rarely fail at

#

Even if they do, I can easily fix it myself

tulip quest
#

AI is a tool. Can be helpful in certain situations, but in situations it won't help, it's good not to be dependent on it. Like the modding one from earlier

queen zodiac
#

Hello coders

knotty root
#

Hello

rose pawn
errant trail
#

1+1=11

#

1+1=10

grim mulch
quartz pumice
#

What if he's using a language that = works on raw memory so like 11 is the 11'th byte in memory

#

They are doing

*((unsigned int *) 11) = 2
*((unsigned int *) 10) = 2```
static solar
errant trail
#

yes i definitely meant that 100%

modern ruin
#

coding

narrow light
#

I think more people should be informed on that Chat GPT doesnt know anything its just trained on questions and answer

#

because otherwise it just becomes google

#

but always wrong

#

its like wikipedia if my teachers were right

#

also we gotta teach the boomers how wikipedia works

#

no you cannot just edit a major page out of nowhere

barren shale
#

not really

#

gpt 4o can google

#

and look up the internet

#

and you can use copilot which is a version of gpt 4 which can also google stuff

#

chatgpt has gotten a lot better in the last couple of months

#

its way more reliable than before, you just gotta know how to prompt it

errant trail
#

people just make it harder by reverting it but they have to do it manually

narrow light
#

Arent some pages locked

errant trail
#

not all

#

read the definition of "some"

wet girder
#

Guys I have officially changed my mind about WPF. I hate it

#

Better than winforms tho

prisma grail
wet girder
#

UI automation testing to native WPF

#

If you modify tabcontrols template it just won't let you do UI automation testing without hopping through some major hoops

#

I've spent 2.5 days of work figuring this shit out

#

I feel like my brain is melting

prisma grail
barren shale
#

most desktop apps can be made as a website

#

which is a better way to do it

#

because websites run on everything

#

and are way easier to develop

#

make websites

#

but dont use php

errant trail
#

hahahahahahahahhahahahahahahha

errant trail
#

like i used it and it works fine

wet girder
# barren shale and are way easier to develop

They run slower and haven't have that good support for IO ports like USB (which won't be the case for long) so for this software it has made sense to have it as a desktop application but generally I do agree

barren shale
#

🤮

barren shale
#

that's why i said most

#

sometimes you need to make a desktop app

#

which is 🤮

errant trail
#

why do browsers run slow

wet girder
#

yeah I completely agree that most software should not be desktop apps

barren shale
#

tbh the slowness of websites is irrelevant

#

most apps are not computionally heavy

wet girder
errant trail
wet girder
#

that's just bad internet connection

barren shale
#

or a very bad website

#

a really dense webapp is like 1 mb at most if programmed correctly

wet girder
#

If you're making software for countries that don't have a good internet connection there is an argument to be made about desktop apps being better for that

#

Or making software that needs to be used in places with not good connectivity in general like middle of the forest

#

Websites are good for general stuff but there are a lot of use cases for desktop apps still

#

They're just usually kinda niche in the western world

errant trail
#

my laptop (the only device capable of using windows) will use 20 FUCKING PERCENT of its cpu JUST BECAUSE IM MOVING AROUND MY MOUSE

#

?????????

#

im fucked

barren shale
#

i can make my laptop use 100% cpu with idling if i set the clock speed low

#

cpu utilization is a weird number

#

its calculated weirdly

#

also windows will try to do stuff when ur not doing anything

queen zodiac
tulip flume
#

Kill chrome
Decapitate chrome
Round house kick chrome into concrete

tulip quest
#

Report chrome to the firefox enclave

errant trail
#

"java for dummies" have more pages than a dictionary

queen zodiac
#

Lmao

next lotus
tulip quest
#

Honestly, Java's fine until you need a programming language with any specialization apart from web development

#

I understand Java and Javascript are separate, but they're still very similar

barren shale
#

java is bad

tropic dagger
#

Java is just obsolete

#

And I hate enforced oop so I hate java, as the representation of what I hate most

gaunt gale
#

guys

gaunt gale
#

I'm gonna get a PC in a few months and finally be able to learn code. what coding language should I start with?

next lotus
#

c# only

gaunt gale
#

oh ok

#

thanks

next lotus
#

js if you want to make projects in 2 days and debug for 2 years

#

java if you dont want to be relevant, except for minecraft

gaunt gale
#

interesting.

next lotus
#

erm what the sigma

carmine pivot
#

Hey, I want to start modding this but idk where to start

feral bramble
#

look at pins or ask around

carmine pivot
#

k

tulip quest
#

what I mean by what I said earlier about Java being fine until you need to specialize is that there are applications that it's about on par with other languages, but not any that it's better

#

which is why I support people calling it bad, only reason to use Java is because you want to use Java

worn pawn
#

roblox

acoustic brook
#

Android coustom map no computer?

#

/mods

errant trail
#

mods

wet girder
tawdry temple
errant trail
#

lmao

#

not sanitizing sql in a SCHOOL

wet girder
#

I had a big problem at work which I just wasn't able to fix so I asked help from my coworker who somehow found an article about just the problem from 2011 that had perfect explanation on how to fix it

#

13 year old article saved me

wicked spindle
#

“Help there’s a problem that i can’t fix!”
10 year old reddit post: aye

tulip quest
#

when you have a problem and find only one guy talking about it on an abandoned, unanswered post from 2007: wbsuffer

remote spruce
#

For some reason there is this unneeeded check in-game for the “clan” loyalty asset.

For some reason it compares the leader and kings’ races but they will always be in the same race as they are in the same kingdom.

result = 0
Actor leader = pCity.leader;
Actor king = pCity.kingdom.king;
if (leader == null || king == null)
{
return 0;
}
if (king.race != leader.race)
{
return result;
}

#

Maybe it was just put there in preparation for possible multi race kingdoms.

errant trail
#

yes

#

idk

#

wait is reverse engineering

#

a paid game

#

illegal

#

technically ur just buying for the service

#

not the game

remote spruce
#

If you distribute it I think so but I have no idea.

prisma grail
prisma grail
# errant trail wait is reverse engineering

I'm quite sure that Maxim doesn't mind/care about people decompiling WorldBox, modders do it all the time for modding, which he knows, and he still chooses to make the game nice to mod for us and let us distribute our mods here on the server.

#

Also, getting decompiled C# code of the game (or generally any DLL based on C#) is quite easy unless intentional obfuscation is in place because software like dnspy can literally just open the DLL files and convert the IL code they store back into C#.

#

It's not perfect as aspects like the specific code formatting, constants, and comments are lost, but it's still quite easy&convenient.

remote spruce
prisma grail
#

Yeah, thanks, found it already.

#

Pretty interesting/random that it's there in an otherwise clan related check. xD

remote spruce
prisma grail
#

Well, definitely enough for other modders to have (kinda) successfully made imperial thinking options back during 0.21.1.

remote spruce
#

Yeah that is quite interesting.
If I find anything else like it I’ll post it here.

wet girder
daring turret
#

Can someone give me the druid's sprite sheet?

#

thanks!

remote spruce
daring turret
proven anvil
#

I just coded a mod for a friend over the course of 3 days for free and didn’t even get a thank you 💀

#

I ain’t never doing that again

prisma grail
wet girder
valid marsh
#

trying to change stats on diversitycrate because they kinda suck what does these stats refrence setBaseStats(150, 15, 40, 0, 5, 92, 0);

tulip quest
#

y'all are blind or something

#

you're not the only one

valid marsh
#

thats a bit rude of a way to say it but thank you ill try that out

tulip quest
#

sorry man, it just gets funny how many times people mess up like this 😂 no offense intended

prisma grail
grand meteor
#

how do we download a map and put it on our game?

queen zodiac
subtle kernel
#

ong

quartz pumice
quartz pumice
#

nevermind it was dumb lmao

wanton field
#

code for hack pls

queen zodiac
wanton field
#

pls

queen zodiac
queen zodiac
wanton field
#

whatsapp

wet girder
queen zodiac
queen zodiac
queen zodiac
wet girder
#

this one?

queen zodiac
#

There we go

wet girder
#

that was literally 4 months ago

queen zodiac
wet girder
# wanton field whatsapp

Also you do realize that a vulnerability in whatsapp that would allow this is worth about 2.5 MILLION USD? No random discord guy has that kind of zero days

wet girder
wet girder
#

I only remember people who keep the same name and pfp

#

if we ignore eye, eye can change those as much as he wants and I'll still remember him

queen zodiac
#

I am Seyern. Pfp with a red S. Current PFP is a little joke

wet girder
#

Also this is against ToS so if you don't stop talking about this I'll just report you to discord

queen zodiac
errant trail
#

hey guys plz give hax for mincecraft

quartz pumice
tulip quest
plain cargo
#

do yall think ill learn some from of coding if im in this discussion long enough or should i just actually do smth to learn

tulip quest
#

you should pick something you want to do with programming, and we might be able to help you learn to do it

#

"we" might just mean "I" in this case, but it still holds

errant trail
queen zodiac
quartz pumice
#

bruh im in a discord where someone is saying efi is "not too bad really"

orchid frigate
#

its not too bad

#

as long as you dont use it

sullen steeple
errant trail
#

what the hell

#

javascript or python

#

wtf

#

never seen that syntax

#

looks like both

#

is that rust

#

???????

#

for x in page.cookies

#

how is that

#

allowed

#

in

#

ok

feral bramble
#

and looks like python -w-

still bramble
#

Programmers: X=X+1
Mathematicians: STOP YOU HAVE VIOLATED THE LAW

barren shale
#

there's an extra reversed and split that i dont think are important

errant trail
#

how do i

#

decode this

#

im tryna reverse engineer an api

lapis flint
wet girder
quartz pumice
prisma grail
queen zodiac
lapis flint
bronze depot
# errant trail

Coders working like the guys who translated the Rosetta Stone ❓

errant trail
#

yes

#

and

tulip quest
#

better not be shortening variables like that and leave long elif chains without simplification 🤦‍♂️

static solar
feral bramble
#

What the fuckkk

errant trail
#

uh we use HTML

#

hard for a beginner but once you get the hang of it everything just falls in place naturally

timid field
obtuse bronze
balmy vector
#

How do I code to one day program robotics

obtuse bronze
errant trail
#

arduino is not something people only start with, they use it from start to end

tulip quest
# balmy vector How do I code to one day program robotics

Start with learning some programming for ordinary computers so you can make processes better, and try out Arduino at some point along the line. I'm not sure where to go and what to do if you want to be properly developing robotics for practical settings, but Arduino gives you a good foothold to start with.

balmy vector
#

Any coder active I have a question

#

Like what do I do with python

#

I've downloaded it

#

The a few codes I've tried now what

#

I only have python I heard i need a second app

#

Does that help?

tulip quest
#

I'd get pycharm

#

it's pretty useful, it'll let you save, run and modify your code properly

#

and it also helps with autofilling stuff, even when you don't really use it it's still helpful with figuring out syntax errors before you run your code

#

anyway, after getting pycharm it's a good idea to look for tutorials on basic stuff you can do with python, if you can bear with someone for a bit while they teach you how to make window popups and make graphics on them you can have a good foundation to learn code off of

#

also always remember that modules are your friends

errant trail
#

id use "vs code", you can also use python to calculate or process any data. or make a game

tulip quest
#

whatever works works, pycharm worked for me when I was... worse at coding

wet girder
#

I don't like pycharm personally but some people love it. Then again I use visual studio for python

prisma grail
tulip quest
#

there's downsides of course, (I hate the style warnings it gives me for stuff like indenting the slightest bit wrong or having the wrong amount of space between functions) but it works as a place to start.

prisma grail
tulip quest
#

thanks for the tip! I'm usually just too focused on programming to actually go out of the way to enable that stuff lol

#

let me go do that real quick...

barren shale
#

i think vs code is completely fine for anything

#

but i still prefer rider for C#

#

but zed will eventually be on windows and that will be a vscode replacement for me

static solar
maiden epoch
#

Hey could someone help me with learning python? I've been using samples in pydroid but I can't grasp anything past the very simple basics

feral bramble
tulip quest
maiden epoch
#

I learned a bit from a 10 minute crash course, but I'm still lacking a ton

naive wadi
#

uhh coders

#

@naive wadi weu

quartz pumice
feral bramble
#

Is there any better way to add multiple of the same single int lists to a dictionary value?

#

Ok now that i think bout it should probably make the for loops a function

quartz pumice
#

I'm very helpful you are totally not already doing that

feral bramble
#

It'd be nice if

list+[2]*64

worked but it doesn't. puts the list + [2,2,2,2,2...

#

Just lovely

balmy vector
#

Guys I don't get coding

#

Like how do I go from hello world to programming robots

#

Or making games

#

All ik how do is hello world and some other stuff

#

But then what

#

How do I develop to programming machine robotics and games

tulip quest
#

stuff like variables, if-statements, while and for-loops, functions, etc.

#

(There's a lot of good tutorials for this part, I might have to find one for you)

#

at some point, you reach a stage where you can make code to solve basically any number-based problem you can wrap your head around

#

or you can try and learn programming and robotics at the same time, using tutorials for stuff like arduino instead

errant trail
#

theoretically you could do that rn but just try to train your brain to use these programming languages first

feral bramble
#

understand the language and logic of it ye

balmy vector
#

I wanna go to uni for mechatronic engineering

tulip quest
#

alright, if you want to learn quick you can still take the tutorial route and learn enough pretty quickly

balmy vector
#

All these tutorials idk the right one th

tulip quest
#

well, do you want to get started with pure programming or actual examples with slight machinery involved?

#

I reckon pure programming can be more useful to start with but it's an important choice

balmy vector
#

I want machinery programming I'd never start programming by it self unless

#

I only want to learn bc it an interlink w my career

tulip quest
#

it sounds like learning fundamentals could help a bit then

#

partly because I can't be sure exactly what in particular would be better for you to learn

#

and in that case, I think I'll just get you a tutorial for python in a moment

#

python isn't the fastest, best or most practical, but it's very good for learning fundamentals without hurdles, and it's easy to phase into something more specialized from it

#

(it might take a little while for me to find something, personally how I learnt it wasn't one course in particular and happened over a long time, and I used paid stuff so I'll look for something else)

#

@balmy vector hopefully this'll do https://www.youtube.com/watch?v=kqtD5dpn9C8

Learn Python basics in 1 hour! ⚡ This beginner-friendly tutorial will get you coding fast.

🚀 Want to dive deeper?

📕 Get the FREE Python cheat sheet: https://mosh.link/python-cheatsheet

✋ Stay connected:
...

▶ Play video
#

(I'm still here if you have a question to ask, even if I might only be able to answer it tomorrow morning seeing as it's getting late where I am)

winged eagle
#

hi

tulip quest
#

Python's not a great place to stop, but it's a great place to start

tulip quest
#

greg wanted a tutorial so I found one

quartz pumice
#

Why the fuck is sharing a tutorial video with someone who asked for one advertising

tulip quest
#

well it's definitely not self promotion lmao

timid field
#

One way to reduce errors is to remove them from your life

tulip quest
#

if removing them causes errors, keep removing

#

if there's no code left, you win!

young flume
#

hehehaw

balmy vector
#

@tulip quest when I run my code on pycharm it shows the code that has been run but not the the box to code, any advice?

#

@quartz pumice and so aggressive for no reason 😑

#

He's helping me I'd say it makes this whole server look great showing that there actually people who can help without being afraid to be criticised like most other servers

#

but why put a limit on how people choose to be kind?

#

Js wanted to put that out there, because it's fine if there is someone actually breaking the rules but clearly he's not and some people are js delusional

#

I'm finished wbhrm

tulip quest
prisma grail
tulip quest
#

well, I didn't break any rules and I'd like the discussion to end there. Back to tutorial stuff

#

@balmy vector if you can't see what's being printed by your code, there's a button to open up a panel with all of it on there

#

I'm not quite sure what your issue is tho

#

wait, after reading that again, is the problem more that you can't edit the code or what?

young flume
#

what happening here

balmy vector
balmy vector
#

Also sorry for the long replies my notification are nearly always off

young flume
balmy vector
#

@tulip quest and thank you too

young flume
tulip quest
#

Sorry if I took a moment, I didn't want to resort to mobile discord but here we are

tulip quest
#

does where you're coding look more like the top segment or the bottom?

#

(also ignore discordnuke.py it breaks discord ToS but I never use it, like an actual nuclear weapon)

#

(please don't get me removed from discord)

balmy vector
#

This disappears

#

And only the run part shows

tulip quest
#

gimme a sec, I have aussie internet

#

can't see it yet lol

#

ok, do you have an actual python file you can access from right above where the window you want should be?

balmy vector
#

Yes

#

I think

tulip quest
#

if it isn't highlighted like my gametest file, it's not open

balmy vector
#

Hmm

tulip quest
#

Problem solved or no?

balmy vector
#

I am napping

#

For the day

balmy vector
quartz pumice
#

Sorry

round fjord
#

Wsg

#

Somebody code the world box screen to say freaky box

unreal compass
#

Amazing idea

queen zodiac
#

that's art

round fjord
#

Idk

#

Make it a mod or somethjng

#

Is that possible

#

Like I'm not actually serious but if somebody does that

#

That's funny af

quartz pumice
#

I don't have the PC version but if you look in the installation folder there might be the logo that shows up as an image

#

And you can change the logo there

round fjord
errant trail
#

wait

#

i can probably do that

#

ill do it

errant trail
#

it seems like the files are protected some how

#

i did jackshit like i only touched 3 img files

tulip quest
#

this is meant to be a casual coding discussion channel anyway lol

#

(not worldbox related)

tulip quest
#

that's what I think

quartz pumice
#

I don't know if it's because it has some thing setup so it's APK won't set off any firewalls

#

Or if it's because .apk is from before https and they decided it needed a way to check itself from some corruption or middleman things
(I'm bullshitting here, you need to find out however the fuck it's checking itself by looking at a spec sheet or something)

quartz pumice
quartz pumice
#

Exactly 🗿

#

It's probably set up so you cant just modify what's in there willy dilly so you can't give yourself premium or get back the actual source cuz apparently you can do that with stuff made in c#

quartz pumice
feral bramble
# errant trail

Use APK easy tool or something like that to decompile an apk, edit stuff in it and recompile

feral bramble
#

weird

#

Was able to modify a games code using that

#

hmm

feral bramble
#

idk

#

well it certainly prevents using just APK easy tool to do so

vocal juniper
errant trail
#

pretty sure APK editor signs an app automatically

#

because i used it before

quartz pumice
#

if you could just modify the application and then sign it exactly the way it used to be....

#

"Furry Extravaganza Game" - By Microsoft, signed and everything
"Super Secret Hidden BItcoin miner" - By Elon Musk himself, signed and everything

still bramble
#

Dont program java

static solar
#

Yay code works

#

^v^

#

It's not good, but it's a learning experience

wet girder
#

@prisma grail is a very efficient programmer ngl

errant trail
prisma grail
barren shale
#

bruh just pushed 1000 commites at a time

#

imagine there's a bug in one of these commits aye

#

still better than this though X)

#

this is from 2 years ago

#

i used to live a dangerous life

prisma grail
prisma grail
tawny plover
#

can u help me my bepinex "Plugins" folder doesnt exist

#

this isnt coding but its worldbox modding so help

tulip quest
quartz pumice
#

This channel the sleeper channel where we sleep together with our keyboards

errant trail
#

in this channel

prisma grail
barren shale
#

no

prisma grail
#

Come on, it's only like 5 or something that I'd be showing! wbtroll

barren shale
#

only 5? nah

#

at least 20 or no

prisma grail
barren shale
#

skill issue

wet girder
#

My keyboard cost me like 100€ and it's got scissor switches

#

Because Imo they're the best switches for typing

#

Membrane keyboards are not bad either and some mechanical keyboards but most mechanical keyboards feel horrible to type on

prisma grail
wet girder
#

Yeah I don't disregard it because of that. I just like scissor switches more than any mechanical switches I've tried

prisma grail
wet girder
#

Ig they just implemented them horribly because literally every laptop uses them besides apple

#

I have a membrane keyboard at work

#

it's the logitech ergonomic keyboard

#

at home I use logitech k800

prisma grail
wet girder
#

Ah apparently membranes are also common but higher end use scrissor switches

#

Been thinking of getting something like this for at home

prisma grail
wet girder
#

I already got used to having my keyboard split with the logitech ergonomic keyboard so it would just add more spacing for my hands to just buy a split keyboard

#

only problem is none of them seem to have numpad

#

and I use numpad quite a bit

prisma grail
wet girder
#

yeah I guess I'd have to

prisma grail
wet girder
#

fair

#

I used to think split keyboard were stupid but nowadays I want one

#

also split keyboard are expensive af holy fuck

prisma grail
#

(Might be misremembering that lower bound, it's been a while since I last looked at prices.)

wet girder
#

if you're willing to do some soldering and assembling the keyboard yourself you can get a decent split keyboard for like 150€

young flume
#

don't even have a dollar

prisma grail
wet girder
#

yeah

lapis flint
#

I want it

#

Thing that i lack and didn't know it is exist

#

Oh lol, space splitted

#

And much easier to clean such keyboards i guess

quartz pumice
#

Never used a split keyboard, or seen one with my eyes lol

wet girder
#

I've looked at a lot of split keyboards today and none of the good ones support finnish/swedish layout so it seems if I want to have a split keyboard I'm gonna have to work for it a little

#

I have the same issue with framework laptops. I want one but they don't support my keyboard layout

#

For split keyboards people are saying it's fine if the keyboard keycaps don't look correct but has the correct amount of keys, you can just map them

#

Maybe I could buy new keycaps of even blank ones. I don't look at my keyboard anyway

#
coral gorge
#

jupe located in coders cave

wet girder
#

Not rare

wet girder
#

Okay the have one with browns

#

Might end up buying this one

prisma grail
graceful cloud
#

How about you dweebs code yourself some bicthes instead of being dweeby

tulip quest
wet girder
wet girder
prisma grail
wet girder
#

It's so hard to find finnish/swedish layout split keyboards tho. That's the only mechanical one I've found so far

prisma grail
wet girder
#

Yeah...

prisma grail
# wet girder Yeah...

You could bind it to e.g. one of the left hand macro keys, but that'd mess with muscle memory quite horribly.

wet girder
#

I have always had a 100% keyboard so going to a 75% will anyways mess with muscle memory a lot

prisma grail
#

Fsr, remapping for knobs is a lot more restrictive than normal keys.

wet girder
#

I don't think that would be that comfortable

prisma grail
#

Generally, the keyboard are incredibly easy to remap by literally just heading on a website like keychron launcher, giving it access to your keyboard, and then selecting what keys should do what.

errant trail
#

anyone uses wine

#

something something linux that runs exe made for windows

#

its failing to import dlls

#

every single one

barren shale
#

yeah

#

sometimes it works

#

sometimes it doesnt

queen zodiac
#

Just like you

barren shale
#

exactly

feral bramble
#

Thankfully only had to do that for fonts

errant trail
#

no its downloaded

#

now i need to load it

#

and its failing

feral bramble
#

aight

wet girder
#

Tried using virtualbox instead of hyper-v today and damn is it janky compared to hyper-v

#

never again

quartz pumice
#

I tried to use virtmanager but I would run into a undocumented error literally every time I tried to do anything (I spent like 3 hours working off error messages that would just say "xx at xxx.py line 4311.. and a different file every time too lmao) then I installed virtualbox and it worked instantly

#

on windows its slow as fuck though

quartz pumice
#

hased to be at the executable

#

wine has missed out on the little things since its fuckin inception

#

its so annoying, and most things they miss are even detailed in microsoft's documentation which is really fucking rare for microsoft to do that

#
  • rant
#

atleast it works better than a virtual machine

wet girder
#

I fucking hate ubuntu, it's so fucking hard to get a working vm with ubuntu

#

atleast 22.04

#

22.04 seems to have a shit ton of bugs when ran in a virtual machine

#

it's annoying af

quartz pumice
#

debian meanwhile:

#

ubuntu has so much bloat and nothing to show for it lmao, that shit needs more ram than windows

#

I think ive broken like 4 micro sd's using ubuntu server and my micro sd hasnt stopped working yet running debian. this as on my raspi and I dont rememebr why but I fucking hate raspberry pi os so fuck you raspberry pi os

barren shale
#

i didnt run into ubuntu problems when i used it

#

but it seemed to have lots of extra stuff

#

debian is best

queen zodiac
#

@prisma grail you better not be awake

prisma grail
barren shale
prisma grail
tulip quest
#

of all the channels to put this in, this is the one where you get the most sus

feral bramble
#

ah yes

communlty

barren shale
#

@main crescent not doing your job smh

queen zodiac
quartz pumice
#

top ten reasnos why vulkan is fucking shit

#

and anytime you change something you haved to reload EVERYTHING

#

im so mad

quartz pumice
#

I have 811 lines for a triangle

orchid frigate
#

doing some vulkan rn too

#

it would be fun if I knew what I was doing and was actually doing the writing myself

#

but even after checking the specifications writing anything yourself is almost impossible

quartz pumice
#

its just a fuckin shit library

#

Its meant for "low level access" but most of it feels made up

#

I wonder if khronos legitimately just sat down at a big expensive round table and started bullshitting

#

they didnt even make the sdk themselves

#

the only sdk they made themselves, opencl sdk, doesnt even fucking work

#

I really feel like they literally just sat down bullshitted a bunch of shit, wrote a specification and expected everyone to work with it

#

and theres a bunch of extensions, literally afterthoughts; that you cant do anything without.. not even compute

#

I can go on a rant about vulkan literally any time of day lmao

#

and whats worse is that vulkan literally just doesnt work on anything that wasnt explicitly created for vulkan

#

I keep seeing vulkan drivers in my github feed and they literally emulate almost all of vulkan, to hell with "low overhead"

#

and theres a history of it too.. uefi v1 didnt even have any full implementations because it was fucking impossible to implement it, microsoft had to change uefi themselves for it to even work

#

and spir-v is even worse, no wonder theres no good spir-v compilers spirv is fucking bullshit!!!!

#

if you even glance at the spir-v specifications 😭

#

spir-v isnt even its own thing its literally just using things from glsl, opencl, and directx at the exact same time!!!

#

its an entire object format, which is fine I guess but it even has its own bullshit... giving code and compiling it looks far easier than transpiling spirv to whatever the hardware takes

#

I hope im not making up stuff out of nowhere im so mad

shut hare
edgy flare
barren shale
#

top 10 reasons to waste time

#

the first 5 is writing your own engine

frigid cairn
#

The next 5 is making your own computer

#

Which I did last year as a side project

#

It’s just a bunch of full adders that connect to a jk flip flop matrix, a calculator that can store results

#

Still a computer so I win

barren shale
frigid cairn
barren shale
#

no i wouldnt

#

do they use it?

#

obviously not

tulip quest
barren shale
#

yeah but they dont really use it

#

its just for the fun

tulip quest
barren shale
#

no

#

that's for learning

#

for fun or for learning is allowed

#

to actually use it as a day to day ccomputer is what i mean by unironically

tulip quest
#

well, it sounded like you meant the normal use of unironically, which would mean you said that they do it for mainly joking reasons

#

now you've specified, I agree

#

if it were possible to make a standard computer yourself someone would've done it though

#

for actual proper uses too

barren shale
#

yeah but that's just a waste of time

#

just like making your own engine to make a game

tulip quest
barren shale
#

nah if socializing is a waste of time then i do not waste much time xzibit

tulip quest
barren shale
#

yes but that's for learning purposes

tulip quest
#

after doing my digital one, I've actually got a few interesting pathways that I could take now

barren shale
#

what im trying to say is that if you make a game engine or computer in that case to use it that's a waste of time

#

and you are very likely to not finish the game you are making

#

only valid reason to make an engine is to add features that doesn't exist in other engines

tulip quest
#

and again, it can be a learning experience

#

there aren't many learning experiences that can't be utilized when you try hard enough

#

you can make a game without making a full-on engine for it too

#

(depending on your definition of engine)

tulip quest
barren shale
#

oh i get it now

#

actually no i dont

barren shale
#

oh i get it now

feral bramble
#

What's the purpose of this

barren shale
#

when it finds the item it breaks out of the first loop which breaks out of the second loop

#

if it doesnt then it hit the else statmeent which calls continue so it doesnt break out of the second loop

feral bramble
#

ah

#

So pretty much the outer loop only stops if the array it hits has the item, or exhausts all arrays

tulip quest
#

yep

#

for-else logic is my favourite

#

updated version:

feral bramble
#

Ok so now it appends the item it's searching for to whatever that list is should the current item not be found in all the arrays

tulip quest
#

correct

#

I only made this code because it's searching a nested array, and I didn't want to do any breakCond = False
if breakCond: sorta stuff

#

someday, I want python to let you add an argument to break to determine how many layers of loops it breaks out of (limited so you can't break directly out of functions without returning ofc)

prisma grail
tulip quest
#

what other options are there?

#

it seems like the type of thing to make a new keyword for, but I'm not sure what would suit it

errant trail
#

wtf

#

unreadable

tulip quest
#

exactly

#

it's a good thing only I need to read this code later...

prisma grail
#

If that was the case, even leaving the name at else would sound relatively logical.

#

Can't reasonable do that now though without breaking all code that has already been written in this syntax. wbsuffer

tulip quest
#

I think the reason it's else in the first place is something to do with how a for-loop works

#

can't confirm this is true, but my guess would be that the check to see whether there's any items left to iterate over can be else'd

#

while-else is also something you can do, so parity between them makes sense

prisma grail
#

Maybe, idk either tbh.

fallen siren
#

wtf is wrong

fallen siren
#

fixed it

barren shale
#

did i rewrite the raymarching algorithm in another language?

#

yes, yes i did

#

C#
C
Rust
and now Gleam

errant trail
#

No one:
Ray (for some reason):

barren shale
#

okeh im done

#

for some reason it looks wway better than the rust implementation

queen zodiac
#

damn that looks good

barren shale
#

Here's a rotating one

#

now im done fr

pliant radish
#

Elo

lapis flint
fallen siren
barren shale
#

aand also i use it more as a challenge to learn new languages

#

gleam has no for loops and if statements so that was a decent challenge

#

took like 3-4 hours to finish completely

lapis flint
#

Only goto?

#

Wait, how without if?

barren shale
#

functional programming goes brrr

#

no goto

#

recursion

#

and switch stsatements with pattern recognition

#

which doesnt sound very good until you try it

#

it is very awesome

lapis flint
#

Looks like bad child of js and python

barren shale
#
pub type Object {
  Sphere(id: Int, position: vectors.Vector, radius: Float)
  Ground(id: Int)
}

pub fn distance_to(object: Object, point: vectors.Vector) -> Float {
  case object {
    Sphere(_, position, radius) -> vectors.distance(position, point) -. radius
    Ground(_) -> point.1
  }
}
#

Vector is a tuple so point.1 is the second item in the tuple

#

all items are floats in the tuple in this example

#

also no return statement

#

you cant early return

#

only can return at the last line of a function

lapis flint
#

:died:

barren shale
#

trust me its not as bad as it sounds

#

its actually very fun to write

#

and its a very safe language too

#

like rust kinda

queen zodiac
errant trail
#

british language

#

pub

barren shale
#

i didnt realize i can multi thread it x)

#

i did it and now its way faster

#

since its running on the cpu

#

what am i doing i have an exam tomorrow xzibit

lapis flint
#

Good luck

edgy flare
#

Is there a way to instantiate a prefab with an initial velocity in unity?

#

I want to make a bullet that retains the velocity of the player

tulip quest
tulip quest
#

what are you using to create the bullet?

edgy flare
#

I’m having the player contain a bullet transform

#

And when it shoots it goes to the place on the player sprite the transform is

tulip quest
#

my guess is this is 2d then

edgy flare
#

Yes

tulip quest
#

so are you using a script to create a bullet when the player clicks or what?

edgy flare
#

The bullet fires from the place normally, but my player is very fast, and can often catch up with the instantiated bullet

#

Plus I think it would be interesting to have the bullets speed be influenced by the players speed

#

Whenever the mouse is down the thing fires

tulip quest
#

the ways I can think of to have the bullet speed influenced by the player are:

  1. By setting the bullet to be a child of the player after instantiation
  2. By adding player velocity to the bullet's transform through scripting
#

didn't mean to format the list like that but ok

edgy flare
#

I was thinking about #2

#

But I only know how to change the velocity of a instantiated object if it is a clone

#

Im also relatively new, so I dont totally know how to get scripts to interact with each other

tulip quest
#

I don't think it's that different if the instantiated object is a prefab or not

#

you're still given a handle to the object you created instead of the prefab

edgy flare
#

Thank you

tulip quest
#

no problem, I thought I might've been a little too confusing for a second there lol

#

I guess not

errant trail
#

disable collision with the player

tulip quest
#

the problem isn't colliding and stopping the bullet

#

it's shooting while running, and still leaving the bullet behind

errant trail
#

oh

barren shale
#

Can’t you just add the velocity in the same frame you generate the bullet

#

Or apply a force that will make the bullet faster than the player at the start

errant trail
#

wtf all of my extensions in vs code just

#

dissapiered

fallen siren
#

can you see worldbox unit's and traits code?

prisma grail
errant trail
#

i love no access

queen zodiac
static solar
#

But can't you just grab the current Vector velocity of the player and multiply the bullet velocity by it?

#

Or am I misunderstanding something?

edgy flare
#

I don’t know how scripts interact with each other like that

#

And since the bullet is a prefab it’s probably more complicated

static solar
#

I don't know what any of these words mean

#

Wait are you using code?

#

Or these weird conect things

edgy flare
static solar
#

Alright I just don't know how Unity works qwq

edgy flare
#

There are sprites

#

And each sprite can have a script

static solar
#

Yeah that I know

#

I currently just use the MonoGame Framework

#

And therefore don't know about higher-level stuff

edgy flare
#

But since the bullet does not have the same script as the one that clones it, I can’t use variables from that other script

static solar
#

Can't you pass the method on?

static solar
#

Through a constructor?

edgy flare
#

I don’t know what that is or how to do it

static solar
#

In this scenario I pass on the Game1 method and the variables for the top and bottom sprites

edgy flare
#

Hmm

static solar
edgy flare
#

I’ll try it

#

How would you recall it?

static solar
#
class Bullet
{
Vector2 BulletSpeed {get;}
Bullet(float playerSpeed)
{
BulletSpeed = new Vector2(playerSpeed * 2, 0)
}
}
#

I don't know if that applies to your scenario

#

But this is what I mean with "passing on the player speed"

#

You can also alternatively

class Bullet
{
Vector2 BulletSpeed {get;}
Bullet(Player player)
{
BulletSpeed = new Vector2(player.Velocity.X * 2, 0)
}
}```
#

Pass on the player method

edgy flare
#

I think I should just increase the speed of the projectile

#

This might make them miss, and this is pretty complicated

tulip quest
#

just so you know, if you have a reference to another script in a script, you can change public variable values of the script you have a reference of

#

you can get a reference to a script through (object which has the script in it).GetComponent<script name without spaces>(), using the script's name as an argument

#

or at least, it's along those lines

edgy flare
#

Cause that’s what I was trying to do earlier

tulip quest
#

and then the bullet variable stores a reference to the bullet prefab copy which you can then use GetComponent on to get a script from it, or you can even grab what you need to directly modify velocity

edgy flare
#

Ok

tulip quest
#

I know it's not the transform, but I can't remember the name of the component you need to grab

#

I haven't got much experience, but it's enough to help

edgy flare
#

Rigidbody?

tulip quest
#

probably

#

yeah definitely, I was having doubts because I thought you could probably have velocity without one of those

#

now that I think about it you probably would have to artificially change the transform of something using scripts to give it velocity without a rigidbody

#

not recommended

edgy flare
#

I did it

tulip quest
#

nice

edgy flare
#

But now I gotta do the same thing with the player rigidbody wbsuffer

tulip quest
#

oh, what exactly do you need to do to it?

#

are you just reading the velocity?

edgy flare
#

if(canFire)
{
canFire = false;
GameObject clone;
Rigidbody2D clone2;
clone = Instantiate(bullet, bulletTransform.position, Quaternion.identity);
clone2 = clone.GetComponent<Rigidbody2D>();
clone2.velocity = transform.TransformDirection(new Vector2(player.velocity.x,0));
}

#

it works, but only when the velocity is positive

#

is there an abs function

tulip quest
#

I don't think there's one in use

#

let me look at the docs for a second

edgy flare
#

i think there is

#

mathf.abs

tulip quest
#

there's an abs function you can use, but I'm not sure if any of the functions you're using use abs on something where they shouldn't

edgy flare
#

im just using it on x velocity

#

i think it was to do with how i coded the bullet movement

tulip quest
#

ok

edgy flare
#

aye done

tulip quest
#

that feeling never gets old

edgy flare
#

It only took several days and people helping me

tulip quest
#

did you learn a lot?

#

programming is one of the fields out there that learning is the most important in

edgy flare
#

aye yes

tulip quest
#

sir, this is a Wendy's channel for talking about general programming, not worldbox modding

#

there are channels tailored closer to what you want, though

fallen siren
#

kkkkkkk

dawn swallow
#

so unnecessary

brave salmon
#

HAPPY CANADA DAY!!! RAHHHHHHH

errant trail
#

roblox

fallen siren
#

I hate website making

lapis flint
quartz pumice
#

whenever i make a website I just use python

fallen siren
barren shale
#

wwhy you making your life hard

#

if you dont like framework stuff use php or ruby

#

they dont have lots of frameworks and all of the frameworks are very simillar

unreal crater
#

Hey y’all idk if this is the place to ask this but I’m looking for a good map size mod

edgy flare
#

I somehow can’t send the link to the message

#

Search “This channel isn't WorldBox related, you should ask questions about WorldBox modding in” in the search bar

#

I don’t have access to the channel

quartz pumice
#

all im doing is sending html files

#

maybe proccessing some basic requests

#

I dont see why I need a framework taht creates 8 virtual machines for that 😭

robust cliff
#

@stoic basalt

barren shale
quartz pumice
barren shale
#

so a backend?

#

api

quartz pumice
#

yea

barren shale
#

that's not a website x)

quartz pumice
#

well it has a frontend that you access through a web browser

barren shale
#

is the frontend static?

quartz pumice
#

and it changes sometimes on whats there

barren shale
#

then python is a pain

errant trail
#

website and website api

#

dont mix things up

tulip quest
barren shale