#⌨coders-cave
1 messages · Page 31 of 1
I got an RTX 3060 Ti. Not that good Ig, but more than good enough for my usecases. xD
Yes
3060ti my thing
its always the 60s
And also for playing with neural things
1060 2060 3060 4060
12gb is enough
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
I only had drops and lags in hogwarts legacy with enabled rtx
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
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
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
Yeah, it's honestly overkill for most things I do.
Eh I'd not go nvidia for most people honestly
I fell into the hype when I bought my current gpu and I regret it
well yeah when i said its the best choice what i really meant is for an nvidia gpu
after a year the graphics card barely worked
does it though?
yes
now im using nvidia but
cant say there's a problem when the sample size is 1 x)
that's not a problem
that means you bought a gpu that's a lot better than your cpu
yeah and thats the problem
its nto a problem with nvidia though

Wtf are yoy on about
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
What cpu u got?
ryzen 5900X
Bro your performance is potato class, one of your parts ain't working out well
Literally why would you not buy an SSD?
IwI
🩷CHAT🩷G🩷P🩷T🩷
No
It should be a crawfish
I'm the chimp
Sure...
not in a biological sense, but in a mental one
Tis is what I thought
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
yay
print ("Hello World")
ive stolen your code
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
???
chatgpt also says that WorldBox mods are written in Java
Ale they tho?
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"
How would ChatGPT even get any information of the game except for gameplay. They aren't allowed to give the source code of the game to ChatGPT, so there is no way to get any useful information about modding.
quick somebody say something non-worldbox related
||6 AM Hotdog||
It could receive sourse code info by shared decompiled code
Also, from some tutorials
Also, it have access to engine's docs
- some exist mods with source code opened
A lot of data sources
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)
No, its not
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
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
As i said, it can't read thoughts
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)
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.
or you just use other code from games or apps as reference
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
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
Hello coders
Hello
Use a normal coding language
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```
yes i definitely meant that 100%
coding
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
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
you can actually
people just make it harder by reverting it but they have to do it manually
Arent some pages locked
What happened to cause that? 
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
Tbh, I do not know nearly enough frontend stuff (almost nothing) to know what you're talking about, but it sounds like a nightmare anyways. 
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
why do people hate php
like i used it and it works fine
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
🤮
true
that's why i said most
sometimes you need to make a desktop app
which is 🤮
why do browsers run slow
yeah I completely agree that most software should not be desktop apps
They don't run slow. Just not as fast as desktop apps
yeah but they make me wait 10 years for a page to load
that's just bad internet connection
or a very bad website
a really dense webapp is like 1 mb at most if programmed correctly
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
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
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
Kill chrome
Decapitate chrome
Round house kick chrome into concrete
Report chrome to the firefox enclave
"java for dummies" have more pages than a dictionary
Lmao
tells a lot about that language
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
java is bad
Huh 😭
Java is just obsolete
And I hate enforced oop so I hate java, as the representation of what I hate most
guys
java bad
I'm gonna get a PC in a few months and finally be able to learn code. what coding language should I start with?
c# only
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
interesting.
erm what the sigma
Hey, I want to start modding this but idk where to start
look at pins or ask around
k
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
roblox
mods
roblox
thats just self inflicted pain
lmao
not sanitizing sql in a SCHOOL
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
“Help there’s a problem that i can’t fix!”
10 year old reddit post: 
when you have a problem and find only one guy talking about it on an abandoned, unanswered post from 2007: 
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.
yes
idk
wait is reverse engineering
a paid game
illegal
technically ur just buying for the service
not the game
If you distribute it I think so but I have no idea.
What class/method is that code in?
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.
LoyaltyLibrary under loyaltyAsset17 I believe
Yeah, thanks, found it already.
Pretty interesting/random that it's there in an otherwise clan related check. xD
It looks similar to the clan method in the Opinion library, maybe they copied it over and just forgot they didn’t need that part.
Could be, though it makes me wonder what other parts in the current game release already come with theoretical support for multiple race kingdoms.
Well, definitely enough for other modders to have (kinda) successfully made imperial thinking options back during 0.21.1.
Yeah that is quite interesting.
If I find anything else like it I’ll post it here.
depends on the country. In the US and the EU it's legal but not everywhere in the world
I will give it to you if no one has given it to you by the time I can get to my pc (might be a couple hours).
Or you can try using AssetStudio on the resources.assets file of the game and get it yourself.
IDK i'm not a modder I'm just trying to make a sprite sheet for @wispy vale
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
bruh
@remote spruce Hey, fyi, this channel is meant to be for general coding topics without a relation to WorldBox, so especially questions related to modding the game like this fit much better in #🔧modding-talk !
trying to change stats on diversitycrate because they kinda suck what does these stats refrence setBaseStats(150, 15, 40, 0, 5, 92, 0);
bruh if you read literally (the actual meaning of literally) 2 messages above you it's been pointed out that this is not the channel to point that out in
y'all are blind or something
you're not the only one
try #🔧modding-talk
thats a bit rude of a way to say it but thank you ill try that out
sorry man, it just gets funny how many times people mess up like this 😂 no offense intended
Ngl, this was a great read. I love how an art meme complaining about bad tutorials can turn into actual great advise.
how do we download a map and put it on our game?
Lmao
Someone wanna be stabbed
ong
Sorry my bad
Why the fuck does it sayerror: 'entrythread' was not declared in this scope, but its defined in literally the line before it ```cpp
std::thread entrythread(entry, instance, surface);
entrythread.join();``` entire code, wwinmain 77-79 https://pastebin.com/YVKb8shZ
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
nevermind it was dumb lmao
Damn
Redrum
code for hack pls
Elaborate
pls
What hacks
Ew, the impostor Jupe is here
how am I an impostor
What? Why the hell would you want to hack whatsapp
Check the last times I pinged you
Further back
There we go
that was literally 4 months ago
I never forget who I am
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
You change your name and pfp often so I probably will if I am being completely honest

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
I am Seyern. Pfp with a red S. Current PFP is a little joke
you abuse it 2.5 MUSD
Also this is against ToS so if you don't stop talking about this I'll just report you to discord
Musk US Dollars?
it's okay sorry
hey guys plz give hax for mincecraft
script kiddie detected!!
/give @s minecraft:hax
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
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
you will, but doing something will speed it up ten fold
press alt+F4 to get access to the developer menu
bruh im in a discord where someone is saying efi is "not too bad really"
lol
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
the heck is this code even printing out and what for?
and looks like python -w-
Programmers: X=X+1
Mathematicians: STOP YOU HAVE VIOLATED THE LAW
prints out cookies
there's an extra reversed and split that i dont think are important
how do i
decode this
im tryna reverse engineer an api
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Reverse engineer means make the same without using sources
Try cyberchef
ok nerd
Ouch, that's painful amounts of shortening. 
makes sense
Lmao
Coders working like the guys who translated the Rosetta Stone ❓
better not be shortening variables like that and leave long elif chains without simplification 🤦♂️
No I think I'd
I recently stumbled upon this screenshot while researching social media on the train. Of course, it was followed by a cascade of spiteful comments, criticizing this fresh programmer’s attempt to solve a classical problem in computer science. The modulus operation.
What the fuckkk
bruh
literally me
uh we use HTML
hard for a beginner but once you get the hang of it everything just falls in place naturally

wild 4tran encounter... ‼️
How do I code to one day program robotics
start with arduino maybe thats what i see the robotics people start with
arduino is not something people only start with, they use it from start to end
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.
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?
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
id use "vs code", you can also use python to calculate or process any data. or make a game
whatever works works, pycharm worked for me when I was... worse at coding
I don't like pycharm personally but some people love it. Then again I use visual studio for python
I think Pycharm is great if you disable default type inspections and install an LSP extension like Pyright that adds more strict type checking. By default though, I hate how tends to either ignore a lot of type issues or only give weak warnings about them.
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.
That's something that can quite conveniently just be disabled though if not desired.
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...
You're welcome!
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
Real
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
real
you most defintely can find out alot of documentation and tutorials out there online if you just search for it. Though feel free to ask me stuff here or in dms
Alright, thank you
I'll be ready to help you with anything you're struggling with, I don't know everything about python, but I definitely know enough important concepts to make stuff
I learned a bit from a 10 minute crash course, but I'm still lacking a ton
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
.insert(0, [])
Later ..
[x].insert(0, width)
I'm very helpful you are totally not already doing that
Amazing
It'd be nice if
list+[2]*64
worked but it doesn't. puts the list + [2,2,2,2,2...
Just lovely
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
first, you need to learn the ropes a bit
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
theres no path
theoretically you could do that rn but just try to train your brain to use these programming languages first
understand the language and logic of it ye
@unreal sinew
How do it rn
I need a to learn quickly
I wanna go to uni for mechatronic engineering
alright, if you want to learn quick you can still take the tutorial route and learn enough pretty quickly
All these tutorials idk the right one th
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
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
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?
- Check out my Python mastery course: https://mosh.link/python-course
- Subscribe for more Python tutorials like this: https://goo.gl/6PYaGF
📕 Get the FREE Python cheat sheet: https://mosh.link/python-cheatsheet
✋ Stay connected:
...
(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)
@humble wasp
hi
is this breaking any rules? I'm just trying to help someone get started with programming, and Python is the easiest way to get into it
Python's not a great place to stop, but it's a great place to start
he might be talking about rule 6 #📝rules
is it self-promotion or advertisement?
greg wanted a tutorial so I found one
Why the fuck is sharing a tutorial video with someone who asked for one advertising
well it's definitely not self promotion lmao
hehehaw
Thank u
If there is a problem you can punish me, I did ask for a tutorial.
@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 
wait, can you see and edit your code but not see what it prints?
Pretty sure you aren't in trouble, those two have seemingly just kinda randomly pinged each other in several channels.
it was in response to what I sent, though
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?
what happening here
It's like I'd right " ("hello world") " and run it but once I'd get "hello world" my code place where I wrote " ("hello world") " would disappear.
He's helping me code that's what
Also sorry for the long replies my notification are nearly always off
ah nothing wrong then, don't forget to thanks and do your best on learning
Thank you for the support
@tulip quest and thank you too

Sorry if I took a moment, I didn't want to resort to mobile discord but here we are
Seems like you might be coding in the terminal instead of a python file
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)
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?
if it isn't highlighted like my gametest file, it's not open
Hmm
Problem solved or no?
No ill try later or tmr
I am napping
For the day
And u woke me
Sorry
Amazing idea
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
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
Holy cow
it seems like the files are protected some how
i did jackshit like i only touched 3 img files
well, #🔧modding-talk'll probably have the answer to that
this is meant to be a casual coding discussion channel anyway lol
(not worldbox related)
no they wont
Its checking itself against a hash
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)
lmao you might have to make your own custom APK without whatever security bloat is in there
bro it havent even run yet
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#
We are definitely talking about modding it though 😭
Use APK easy tool or something like that to decompile an apk, edit stuff in it and recompile
i literally used that
I'm assuming worldbox prob has pretty strong anti piracy measures then
idk
well it certainly prevents using just APK easy tool to do so
You have to sign the app
I dont think thats how it works at all
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
Watch the stream here:
https://piratesoftware.live
#Shorts #Twitch #Programming
Dont program java
@prisma grail is a very efficient programmer ngl
Just another average day of AMP work frfr. 
bruh just pushed 1000 commites at a time
imagine there's a bug in one of these commits 
still better than this though X)
this is from 2 years ago
i used to live a dangerous life

Ok, look, it's genuinely not as bad as it seems. xD
can u help me my bepinex "Plugins" folder doesnt exist
this isnt coding but its worldbox modding so help
well, there are modding specific channels with people looking for modding questions to answer
I think #🔧modding-talk can help you here, we mostly chill in this channel
This channel the sleeper channel where we sleep together with our keyboards
ironically the opposite of what we want
in this channel
what
Do I get to show off my mechanical keyboard collection? 
no
Don't have the budget to resonably do that, my main home programming keyboard already costs almost as much as the PC I use there. 
skill issue
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
most mechanical keyboards feel horrible to type on
I'd say that that isn't a good reason to disregard mechanical keyboards as an option, considering just how much freedom of choice about literally everything they provide.
Yeah I don't disregard it because of that. I just like scissor switches more than any mechanical switches I've tried
Ngl, the only thing I really know about using them is that back when Apple tried using them on Macbooks once, they screwed up horribly and the keys kept getting stuck when being pushed down.
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
You sure? I've only ever seen membrane switches on laptops as far as I can think.
Ah apparently membranes are also common but higher end use scrissor switches
Been thinking of getting something like this for at home
Yeah, split keyboards are pretty great in my opinion.
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
Maybe get a seperate numpad?
yeah I guess I'd have to
I think it's a common thing people genuinely do, also feels like logical when you're already splitting off stuff anyways.
fair
I used to think split keyboard were stupid but nowadays I want one
also split keyboard are expensive af holy fuck
Oh, yeah, have fun finding one below like at least 180€. xD
(Might be misremembering that lower bound, it's been a while since I last looked at prices.)
I'd really one this one but it's like 400€ shipping + import prices included
https://ergodox-ez.com/
if you're willing to do some soldering and assembling the keyboard yourself you can get a decent split keyboard for like 150€
General assembly is something I'm perfectly happy with, I in fact did it with my most recent keyboard to be able to customize the switches to contain heavier springs. Wouldn't want to solder though, I don't have the equipment and I don't have good memories of it from when I was taught about it in school like one single time.
yeah
Ooo
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
Never used a split keyboard, or seen one with my eyes lol
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
Just as I complained I found one good one
https://www.verkkokauppa.com/fi/product/918706/Keychron-Q11-QMK-VIA-Split-Layout-Fully-Assembled-Knob-75-me?gad_source=1&gclid=CjwKCAjwydSzBhBOEiwAj0XN4F4HRk3r4YTPQclCBK-NU6Lh62DNhPYmJP1f_EepXFESlcYPdYNkHRoCrc4QAvD_BwE
jupe located in coders cave
Not rare
I'm just not sure I'm gonna like the switches on this one. They're too loud for my taste and I prefer tactile over linear
Okay the have one with browns
Might end up buying this one
Personally, I can definitely recommend keychron, I got several of my current keyboards from them.
How about you dweebs code yourself some bicthes instead of being dweeby
how about you go touch grass instead of tryna roast people on discord
The keychron q11 has a massive problem tho. It's completely missing the end key even tho 75% layout typically has it
Bro doesn't even know what dweeb means or doesn't understand what this chat is
Oh, yeah, I think it gives it up in favor of the knob. Maybe try checking for a knob-less version.
It's so hard to find finnish/swedish layout split keyboards tho. That's the only mechanical one I've found so far
Ah, yeah, and I just double checked keychrons site, the Q11 always comes with a knob.
Yeah...
You could bind it to e.g. one of the left hand macro keys, but that'd mess with muscle memory quite horribly.
I have always had a 100% keyboard so going to a 75% will anyways mess with muscle memory a lot
That's fair. I'm checking rn if you could also bind it to pressing down the knob.
Fsr, remapping for knobs is a lot more restrictive than normal keys.
I don't think that would be that comfortable
Fair, but it seems that it'd be an option, based on testing with my Q1 HE.
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.
anyone uses wine
something something linux that runs exe made for windows
its failing to import dlls
every single one
Just like you
exactly
Welp looks like you'll have to manually download em?
Thankfully only had to do that for fonts
aight
Tried using virtualbox instead of hyper-v today and damn is it janky compared to hyper-v
never again
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
dont put it in system32 or path
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
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
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
i didnt run into ubuntu problems when i used it
but it seemed to have lots of extra stuff
debian is best
@prisma grail you better not be awake
Nah, I wasn't, got a grand total 5 hours of sleep now. 
dementia is coming for you bro
IwI
of all the channels to put this in, this is the one where you get the most sus
ah yes
communlty
@main crescent not doing your job smh
it already got me. Run away
vulkan-tutorial.com is 1500 lines for a picture
top ten reasnos why vulkan is fucking shit
and anytime you change something you haved to reload EVERYTHING
im so mad
I have 811 lines for a triangle
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
yeah
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


Damn straight
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
but people dont unironically make their own computer
Oh buddy, you would be oh so surprised
doesn't matter whether you're talking about premade parts or logic gates, some people do it
Does use for educational content count?
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
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
yeah but that's just a waste of time
just like making your own engine to make a game
so is talking with people on discord
nah if socializing is a waste of time then i do not waste much time 
you can learn a lot from making a computer
yes but that's for learning purposes
after doing my digital one, I've actually got a few interesting pathways that I could take now
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
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)
oh i get it now
What's the purpose of this
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
ah
So pretty much the outer loop only stops if the array it hits has the item, or exhausts all arrays
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
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)
It can be really useful, but I feel like doing it via the else keyword is a pretty bad choice of naming. 
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
Yeah, the only intuitive approaches I can think of are ones where you make it so that the block only gets triggered if it did get broken out of.
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. 
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
Maybe, idk either tbh.
wtf is wrong
fixed it
did i rewrite the raymarching algorithm in another language?
yes, yes i did
C#
C
Rust
and now Gleam
No one:
Ray (for some reason):
damn that looks good
Elo
Raymarching only useful if you can see endless quality of objects
true but rendering low res ascii 3d objects with it look awesome
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
What
Only goto?
Wait, how without if?
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
Looks like bad child of js and python
Ah
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
:died:
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
good job
thank you for this example
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 
Good luck
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
You might want to try editing the transform of the bullet from whatever script you're using to create it

what are you using to create the bullet?
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
my guess is this is 2d then
Yes
so are you using a script to create a bullet when the player clicks or what?
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
the ways I can think of to have the bullet speed influenced by the player are:
- By setting the bullet to be a child of the player after instantiation
- By adding player velocity to the bullet's transform through scripting
didn't mean to format the list like that but ok
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
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
Hmm, I think I read the unity documentation incorrectly
Thank you
no problem, I thought I might've been a little too confusing for a second there lol
I guess not
you could just
disable collision with the player
the problem isn't colliding and stopping the bullet
it's shooting while running, and still leaving the bullet behind
oh
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
This channel isn't WorldBox related, you should ask questions about WorldBox modding in #🔧modding-talk or #🔧modders-bay .
i love no access
fr
Okay I do not use Unity
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?
I don’t know how scripts interact with each other like that
And since the bullet is a prefab it’s probably more complicated
I don't know what any of these words mean
Wait are you using code?
Or these weird conect things
Yes
Alright I just don't know how Unity works qwq
Yeah that I know
I currently just use the MonoGame Framework
And therefore don't know about higher-level stuff
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
Can't you pass the method on?
Or at least I think
Through a constructor?
I don’t know what that is or how to do it
In this scenario I pass on the Game1 method and the variables for the top and bottom sprites
Hmm
Oh when you declare a class you can add a constructor as follows
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

I think I should just increase the speed of the projectile
This might make them miss, and this is pretty complicated
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
Do I need to set the GameObject as a variable to recall the scripts variable?
Cause that’s what I was trying to do earlier
yeah, one thing you can do is bullet = Instantiate(whatever you need to instantiate a copy of the bullet prefab)
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
Ok
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
Rigidbody?
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
I did it
nice
But now I gotta do the same thing with the player rigidbody 
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
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
im just using it on x velocity
i think it was to do with how i coded the bullet movement
ok
done
that feeling never gets old
It only took several days and people helping me
did you learn a lot?
programming is one of the fields out there that learning is the most important in
yes
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
kkkkkkk
so unnecessary
roblox
I hate website making
Why?
is it because of the framework stuff
whenever i make a website I just use python
yeah
bruh
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
Hey y’all idk if this is the place to ask this but I’m looking for a good map size mod
I think that’s in no access
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
how am I making my life hard
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 😭
@stoic basalt
for static websites you just need a cdn
aaa
yea
that's not a website x)
well it has a frontend that you access through a web browser
is the frontend static?
yea but theres buttons
and it changes sometimes on whats there
then python is a pain
sorry bro, try #🔧modding-talk
in here we just chill and talk about general programming stuff instead of things worldbox-related
well acktually api is a web service
