#⌨coders-cave
1 messages · Page 18 of 1
Go for it
Though I should warn you, going from roblox to something like unreal or unity feels like learning rust if you only know python
Not that hard but still a decent challenge
@orchid frigate edk2 literally just wont fucking build
an entire weekend of trying to build it
what other uefi toolchains watchamacallit are there
ill try gnu-efi
Cs war crimes 😉 it’s a really … interesting way to do normal things in cs (like defining defaultfalse==false instead of using normal bools)
ahhhhhh thank you
İ just realized you were using edk2 and not gnu-efi
Edk2 iş known globally to suck in comparison to gnu-efi
Building it will still be a bitch but a bit less
Also when you make a printf implementation please provide code
Because for some reason whenever İ implement it no matter how right it is the whole system triple faults
Thing is İ started on unity at first
Then İ wondered how things work on a lower level and went to graphics APİs and opengl
Then İ learned some C and said "eh fuck it os time"
And now I'm looping around
Just go into APIs in rust and get a job already
No
does anyone here play the powder toy
well it uses lua
i need help please
actually it uses C++ but you can use lua to do stuff
i need to add new element to game pls
@orchid frigate I spent so much time trying to build gnu-efi when it was literally on apt lmao
I have so many questions
isnt gnu-efi just that folder you get from the wiki
and then you run make in it and boom
it works now
and how would downloading it from apt help if you need the files inside the folder
are you following the wiki or the docs again
3138588
go1.20.4
4 hours 58 minutes and 30 seconds
3913
2.636%
4545.6MB, 5170.0MB, 615005.7MB
30983MB (23%), 135096MB
26.06, 29.22, 28.11
276614/408087
0 / 0 / 0
1120
Move to #🏜playground
:>
Cool
I would rather this chat filles with bot commands instead of moderators discovering this channel

It's not like you weren't told you were in the wrong place (like 5 times)
@astral basin hello I’m making a game where you are completely broke so you make computer viruses to steal money to feed your family, and you basically watch YouTube videos on virus making, code viruses, and make decisions; like do you risk inviting your friends to help, but they might rat you out to the police?
Please no trolling, do you like the idea?
remember that (float)1234567890.123 may just turn out to be 1234568000.0
Thanks 🙏🏻
double gang dont run into problems like this 😎
decimal gang
Double gang after finding out that it consists of a total of 10.00 people
doubles are way bigger than decimals
i guess decimals are more accurate
but you cant have as big of numbers
int gang doesn't bother with decimals
But unity uses a lot of floats so you don't really have a choice
@orchid frigate I found an ungodly makefile for uefi ```make
ARCH = $(shell uname -m | sed s,i[3456789]86,ia32,)
OBJS = main.o
TARGET = hello.efi
EFIINC = /usr/include/efi
EFIINCS = -I$(EFIINC) -I$(EFIINC)/$(ARCH) -I$(EFIINC)/protocol
LIB = /usr/lib
EFILIB = /usr/lib
EFI_CRT_OBJS = $(EFILIB)/crt0-efi-$(ARCH).o
EFI_LDS = $(EFILIB)/elf_$(ARCH)_efi.lds
CFLAGS = $(EFIINCS) -fno-stack-protector -fpic -fshort-wchar -mno-red-zone -Wall
ifeq ($(ARCH),x86_64)
CFLAGS += -DEFI_FUNCTION_WRAPPER
endif
LDFLAGS = -nostdlib -znocombreloc -T $(EFI_LDS) -shared -Bsymbolic -L $(EFILIB) -L $(LIB) $(EFI_CRT_OBJS)
all: $(TARGET)
hello.so: $(OBJS)
ld $(LDFLAGS) $(OBJS) -o $@ -lefi -lgnuefi
%.efi: %.so
objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel -j .rela -j .reloc --target=efi-app-$(ARCH) $^ $@```
@orchid frigate make truncate disk.img -s 33M mkfs.fat -F 32 disk.img dd if=hello.efi of=disk.img conv=notrunc Im trying to make a UEFI image but the docs are shit
truncate disc.img -s 1G
parted disc.img -s -a minimal mklabel gpt
parted disc.img -s -a minimal mkpart EFI FAT16 2048s 93716s
parted disc.img -s -a minimal toggle 1 boot
dd if=/dev/zero of=/tmp/part.img bs=512 count=91669
mformat -i /tmp/part.img -h 32 -t 32 -n 64 -c 1
mcopy -i /tmp/part.img bootx64.efi ::
dd if=/tmp/part.img of=disc.img bs=512 count=91669 seek=2048 conv=notrunc``` this seems like it would work, but it doesnt lmao
nor does uefitool recognize what that spits out
no
Why tf are you using the docs
You are spending like a week on the easiest step
Use the wiki
İt says the same shit but smaller
Overly complicated
Don't overcomplicate makefiles like everyone foes
Remember that the only thing you need from it is to run your commands
Literally just make a rule or two that builds all your shit and use As little vars as possible
Also UEFI is actually better to learn in tutorials suprisngly
Look up UEFI poncho on YouTube
He makes so really good shit
@orchid frigate objcopy randomly stopped letting me target efi-app-x86_64
it was working literally a few hours ago
and I did nothing to objcopy or binutils
I checked every objcopy on my system
a
How did it stop letting you target that
Like does it do it wrongly or straight up doesn't say the target exists
Imaging rming the rfing from your slashing.
Jk.
It stopped saying it wxisted
objcopy --help stopped showing efi in supported targets randomly
Bro i found it
The perfect game engine for me
Amethyst in rust is probably the best thing İ have seen in a while
İt literally has everything I'm looking for
İt's very strong however it doesn't do everything for you like in unity so you gotta actually code most stuff yourself like the physics engine and you don't have to do any of the graphics stuff
İt's also all code
İt's literally what İ was looking for
that sounds cool as fuck
yeah
My brain hurty
I'm trying to create a 2d procedural world using the same technique as minecraft
And while there's some significant difference, I managed to create a map with biomes
The problem accours I'm trying to generate the chunks as the game goes, so it'll feel "infinite"
The chunk system works and everything works perfectly when the world is generated once and that's it
But when trying to load and hide chunks, my brain starts to hurt
And yes I was inspired by WorldBox
That's how it looks when I'm generating the world from the beginning
Wdym? Perlin?
It's the only thing everybody uses lol
lmao
It's not only limited to world gen either
Yeah, but you get some nice terrain with it
judging by that voice message i dont think you are old enough to say this word
but who am i to say
lol
i dont think you are allowed to ask
Probably not old enough according to Discord TOS
Although that attributes to half of the Discord community so...
Discord community sucks
That's why I open discord only to come here and flex my incredibly advanced coding skills to the unknowing
Hmm there seems to be some sort of background noise remover when sending these messages
relatable
we are the only two in this channel who can even understand what eachother are saying
becauses nobody cares 
X┌(★o☆)┘
How do you turn a string to an integer?
Depends on what language
Look out hamza Microsoft updated .net again with like a thousand new features which 3 people total will ever use
Not really
İ make sure to use the most elaborate words to sound like İ know what I'm talking about
By using a hyperbolic tangent mathematical function to clamp values to a floating point multi digit number between the number valued 1, I in Roman numerals, and the number that serves as a placeholder, I am able to average out inputs, outputs and hidden layer neurons in order to achieve an accurate result in my deep-learning backpropagating neural networked automata.
Random message in #⌨coders-cave
when https doesnt work (and its a external library so cant do anything) and you switch to http but it tells you this DO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER! GoTrue REQUIRES HTTPS to work securely.
I dont even know what the hell gotrue is
discord.errors.ApplicationCommandInvokeError: Application Command raised an exception: APIError: {'code': '21000', 'details': None, 'hint': None, 'message': 'UPDATE requires a WHERE clause'} no way
it fixed itself lol
Gotcha, didn’t see that
@orchid frigate I saw someone on another server that said you haved to optimize and use the cache yourself
funniest guy ever
but with the uefi thing.. I got uefi to run, but only with -kernel.. I cant figure out how to make it legitimately bootable
https://youtu.be/mpPbKEeWIHU this guy you recommended just glues a bunch of shit together, I need to make my own environment from zipties instead of elmers glue
This video we are setting up our workspace and downloading everything that is required to get our development up and running.
If it all works correctly, QEMU will start in a UEFI shell, which will then load our .EFI application, printing HelloWorld! to the screen.
I'm restarting the OSDev series because I feel like I can make it better. After t...
I went to his makefile and copied this entire thing (and obv modified it to work), but that didnt work either
mine
I also had to stop when objcopy randomly stopped supporting efi target
whats even worse is that I cant just make my own python script that does everything for me because the specification is incredibly vague
still having trouble making the disc bootable tho.. it might be the ovmf stuff but I have no idea what to do with those
You are spending far too much time on just making this work
Reminder me of myself when I first did something with my own bootloader
I couldn't get it to stop triple faulting for 3 months
But anyway so are you following the wiki or just the tutorial
As good as this tutorial is setting up an environment from scratch is pretty vital
Programmer rizz
something you will never have
w fizz
fizz
rizz
sorry auto correct
there ain’t no way a nerd just rizzed up a shawty
Bro has that TikTok accent
I don't need programmer rizz
I have my own special type of rizz
Called forceful abduction
Hot
Im batman
Good news: I've managed to implement chunk generation system
It took some time to realise, but it fuckin works now
Time to do the unloading
now add the ender dragon
0r it doesnt count
and bees because they are clearly essential to every game ever made
is each block its own sprite?
Each pixel is a sprite
I know it's not the most efficent way of rendering, but it's needed for future gameplay purposes
But the rendering is done using chunks
Each chunk is like 16x16
But I can configure that
Sprite pool is like object pooling or just variations?
I'll try
yeah pooling
I wanna try something
chunk rendering is like normal rendering but instead of checking if all the objects are close to a player you check if a chunk is close to a player then load the whole thing up
it saves a lot of time doing the calculations
yea I get that but how do you get the chunks to connect into something meaningful
you will load extra things but its worth it
you just use it to render faster
ah so its literally just the renderer thats different the world gen still has to be its own thing
goddamnit
yeah world generation is different
So first we check if the offset of the chunk is in the library.
If it's not, then start generating chunks from the central object (which is detected by a raycast from the center of the screen)
The chunks amount of chunks will be generated depending on the view distance
but i guess the world would generate in chunks too
Something like that
only difference should be that it just doesnt get calculated at once but it just gets calculated in chunks if my logic is correct
chunks amount of chunks
hmmm
Perfomance wise it's quite okay if I didn't go too far
im guessing the central object acts as a 0, 0, 0 chunk
But I don't really posses a calculator so it's not an objective metric
Not really, the central object depends on the camera
what
If your camera moves, you won't generate if you'll depent on (0,0)
ok my understanding of central object is not the same I kinda thought it was like the first chunk
Wait I can just take the camera position, without raycasting
ah so the central object is the camera?
Yeah
ah I get it
Each chunk has a BoxCollider, if the raycast hits the box then it's the new central object
So I do need raycasts after all
couldnt you just do that by getting where the camera is pointing and generating everything in that direction with predefined bounds
That sounds too complicated for my tiny brain
basically you generate all the chunks in front of the camera in the span of like 20 chunks
or so
Hmm
and maybe some side chunks so that it doesnt look bland
But then I have no control over the generation distance.
If my PC is struggling, I could set the generation distance to like 4 or 3
If I'll zoom out then it won't look dandy
the generation distance is a variable
you can modify it however you please
whenever
Hmm
also in terms of world generation I had this cool idea where
nvm its basic af
It sounded cooler in my head
idk
Even the basic stuff can be cool
I basically explained very basic world generation in the most essay worthy wordy way possible
anyway Ima try world gen in non unity engine and see how much I suffer
the first thing before actually getting the logic for world gen in is to actually be able to render something
I used to do that
but then the init code got to 400 lines and I had yet to render anything
and I was like "yea no"
im good
I did some opengl tho
I'm good with just the idea of making a custom engine on c++ with Vulcan
tbh its complicated until you get to the rendering part
after that its basically like working in a smaller scale game engine which doesnt have the systems your average engine has
It's always complicated when you write the bones of the system
im working with amethyst rn and its really cool because it has a rendering system and thats it so I gotta add the physics and everything
What's that?
eh the code is simpler on the lower levels
but the logic behind it is awful
amethyst is a community game engine made in and for rust
Ohhh
its really cool and its all code
and its smaller than all big engines because you only need like 3gb to use it
Oh wow
I wanted to do ue4 but then I saw that to use it
you needed like 100gb of space minimum
wait what
the engine itself is like 70gb
but the projects are fucking huge
and the games are usually quite large scale and complex because its systems are complicated
so adding a single component adds like a gigabyte
Well Unreal has some pretty complex features
its good if you arent an indie dev
if you are then there is no point to it
because there aint no way you doing all the work
do you know run
rust
That was the reason I got into programming too kinda
well if you ever wonder which language to continue with
I suggest either rust or c/c++
It depends on what I wanna do tbh
getting language knowledge is always useful
it adds more experience which makes everything easier
Ofc, but programming isn't even my career speciality
also most languages are the same so if you learn like 3 languages you basically know them all
I've seen a few pictures, the syntax of cpp and rust look kind of similar
if you are wondering yes I am a living ad for rust
I basically only come here to preach the good word of rust
its a religion
I think I'll study scratch instead
its literally the same as c#
but more simple
and less oop oriented
which is good because oop is hell
its syntax is difficult af
All I care about is a beautiful syntax
and its actually way more difficult than most languages
but if you learn it
omg is it not amazing
it can be quite pretty
but its usually very chaotic because everything interacts with everything
and its iters make it look super unorginized sometimes
it runs horribly
like even in editor...
with nothing at all, its still 30 fps
lowest settings, editor, no map, 30 fps
unreal framerates
pun intended
i mean its probably not really made for personal use
its probably made for computers strictly built for game development and they just decided "eh fuck it release it"
it also uses wayy more than 100gb
yeah
it was made in 1995 tho..
ue4?
ue1
but atleast its open source... though none of the community pr's are being pushed
even the tiny ones
Hello
Oh okay
We need 9 but don’t stress yourself by making them all
By the way I will be making a mod.
Actually 8
Pirate mod
Nice
There’s a mod called irworldbox or something
Perhaps I think you have to kill the Virus you can spawn called cyber or whatever and the minions have the shotguns
Yeah I think so
qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd -hda $(out)/main.img heres my command for running qemu
oh epic it decided to work
what does it mean though
ill just add this to the code while (0) asm("hlt");
didnt work
what does it mean by script error
Old af
Wait ima put it in a pastebin
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.
It should work it's quite old but if I put it on GitHub it should have worked
Probably the elf file
I'm gonna check the error on chatgpt
Yea not useful
Idk maybe check if you aren't using an outdated version of gnu-efi
I haven't seen it before
Wait are you using a script like startup.nsh
It could also be that
I tested that it has nothing to do with startup.nsh
WHILE 0 LMAO
I forgot how booleans worked
It's probably the startup.nsh script but if my UEFI app never ends (because the error comes up after my app runs) then there's never a problem
wait while(0) doesnt work
I swear I have seen it everywhere
wait what was even the point of that loop anyway
and dont use halt in uefi
I think that may actually be the unsupported feature
In GNU EFI (Extensible Firmware Interface), the hlt instruction is not available or supported. EFI firmware is designed to provide a standardized interface for booting and running pre-boot applications, such as boot loaders and operating systems, on UEFI-based systems.
says chatgpt
@quartz pumice
oh oof
yeah?
I think so
echo Found bootloader on fs0:
efi\boot\main.efi
goto END``` efi/boot/main.efi is where it says its not working
this script is copy pasted from the poncho os guy
how did this fetch 48 views lol
what did I do :sob;
https://wiki.osdev.org/UEFI#Linux.2C_root_not_required so your makefile does this
but when I tried that it didnt work 💀
oh bruh how did I miss this
@orchid frigate All I need is the memory map right? how do I leave uefi
oh ill haved to load kernel first
wtf
😭
chatgpt's knowledge is outdated
I haved to read the fucking pdf
the description of mmd is 2 fucking sentences
finally it works
still wont boot.. idk why
why did they design UEFI to be such a pain in the ass
like I doubt anyone cares if you just add a few fucking bootsector headers and it starts in long mode
no need at all for partitions and shit
every file system can skip a variable ammount of sectors at the beggining of the disc, so its actually easier (why does this sound like apple user)
YOOOOOO
@orchid frigate you are god
this is all thanks to your makefile
and it works on the shitty ovmf so maybe real hardware?
gotta try this shit
is my image large enough
@orchid frigate it works on my old pc
I didnt even modify the image
and it worked on my 64 gb usb
maybe that was rufus trickery but its ungodly
Hair reveal
Um guys what is a good language to develop games and apps?
And should i learn java first?
I have java at school later this year so maybe learn it before and get an upperhand
I literally know nothing about coding
So help pls
never learn java
I have to cuz school
And after java they teach python
But that would be 3 years later
Im from asia
so?
Yes
Bruhhhhhhhh
Why do they still teach java
cuz stupid
C# x10 times better
or just teach something actually useful like typescript
we press keys
Idk adk them
You click number and letter then wait five days to slowly rot away then you repeat until you finish the code
There is like 5 things you have to learn
And everything else is the same just in a little different format
And the more you do it the more programming logic you get so it literally becomes like second nature at some point
Hamza what you talking about
Java is alright

It’s alr but it’s not the best
C# supremacy
Tbh if you aren't doing Minecraft stuff I don't really get why use java and not c#
oh shoot its been starting thinking its a application - idk what that means though
Ikr
My code be like
Working on a bigger company's software maintenance is fun af
Having 300 requests to the backend on a normal day
I love it
Like unironically I enjoy when there's a problem in this and I get to be part of the response team
So much chaos
Chaos seems like so much fun
It all began with fun and giggles, I wanted to be a cool programmer. I progressed steadily and now I am a fucking slave, without any rights, forced to make Discord bots for some fuck-off servers without pay
Forced?
What are you a slave or smt
Just say no lol
You don't win shit from the deal and you aren't a charity for all I know so you don't have to do anything for them
Same 😔😔😔😔
Typical
fucking around
the cool kids club
I wanted to become a programmer because at the time the stereotype was that they are all weebs
Is it changeable
I suddenly want to make my own Neuro sama but I don't know where to start
I actually do but I'm pretending to not
Yeah
#Coding in C++ has never been that hard
markdown isnt hard either
md is not a programming language 
If you don't use classes yes
The moment you include classes you practically destroy the only thing this language is good for
Simplicity
classes are based tho
also is it alright if i dump some videos of stuff i've made, if this is just a general coding chat?
@bitter sedge who made this bot
?
You Jupe ?
Pls add /wyptb command
(Will you press the button)
Its like /wyr but it gives you a "will you press the button" question and there is an option to either press or dont
I almost made a function calledc fs_simple_adv_getptrLBA()
Brej
Was it lba or the CHS needed for io
I don't remember
Ah the CHS right and there was some calculation for calculating lba to chs
Do the ~suggest command to suggest a new command for @bitter sedge
~suggest command /wyptb command, Its like /wyr but it gives you a "will you press the button" question and there is an option to either press or dont
/suggest command
~suggest command
~suggest command a
~suggest
dont newer hard drives and all SSD's have LBA? and CHS is just emulated
@orchid frigate guess what
Idk I just did bios Io which uses chs
I wanted to do acpi but I realised I wasn't there yet
What
Cuz bios is fucking 50 years old
Also there's a bios extension from early 90's that allows lba
Update on my game:
Changed from Perlin noise into FBM (Still Perlin Noise)
Added 8 biomes
And it also unloads chunks
Savannah biome
That's it. See y'all in a month I guess
thats cooll
you inspired me to fuck around with unity for a bit
That's multiple chunks
Oh why is it a square
How tf have you got the new username already. My account is only 2 months older and I haven't got it
hamza as well
If I don't get it within couple of days I'mma be real mad
git gud son
we are both in january
you are in april
so you should get it in the next couple of days
you should probably get it either today or tomorrow
I sure do hope so
This is the only time I wish I played by discord rules and got the verified discord moderator thing
because they got special treatment with the names
im just thankful it didnt break the sb bot 
that wouldve been a very fucking hard fix
lol
I do wonder how bot names will change
maybe it's in the developer console
Nothing in the dev portal atleast yet for @bitter sedge
yeah but speciesbox is still on a very old version of discord.js
i tried updating it once and everything stopped working
i need to go through migration docs probably
@quartz pumice did you finally finish the bootloader
Wait are you still making a bootloader
Or did you finally switch to UEFI fr
I only read the . messages of professional coders sorry
cant be more professional than this
do you even vim bruv
damn i leaked sb 1 code 😔
Bravoski I have been viming before vim was a thing
I am the master vimer
Damn you leaked the least cool code that could have been leaked
I felt better before I read it
its java🤮script so there is no cool code there
Switch to uefi
Also you can try simplex noise
D
js developers on their way to write 9000 lines of code in a single .js file
minecraft
I keep forgetting to tell you, your makefile formats the uefi partition with fat16 but the uefi specification specifies fat32
its pure luck your makefile works for you
Nah I took it from the wiki
Iistening to everything the specification says leads to sadness
Sometimes it's better to forget it even exists
but its only messages
the .username still returns #0 at the end for some reason
they will probably remove it from the api after everyone switches to the new system
Guys python is cool code right
java's better
Python and cool don't go together
Sure it's useful but are you cool when coding in python?
No
The answer is no
And java isn't better than shit it's literally the worse version of c# because c# is literally supposed to be it's successor
Still using java is insane
@tidal socket you are online
Yeah
yeah
Hi, advertisement is not allowed in this server
Then they will be kicked lol
please keep shitting on java 
I'm 99% sure they just set everyone's discriminator to #0 and hid it lol
It's somehow more wordy than c# which is quite the anti-accomplishment and writing a single hello world feels like writing an essay about quantum gravity and why we are nowhere near close to understanding it
It's not really useful for anything other than Minecraft stuff
And it's old af
C# is not really wordy
and has a lot of shortcuts
C# is wordy enough
Be honest with yourself
It's wordy as shit
Plus it uses camel case which is a war crime by itself
It looks awful and writes awful
Nah
It uses pascal case not camel case
And its as wordy as any other language
It’s the good kind of wordy
But there’s unnecessary wordy and there’s wordy
Java has a lot of unnecessary wordy
Atleast if you look at my coworkers code. They like to use very very short variable names
This
Well you want your variable names to be as dense as possible
True but they still need to be descriptive
That’s why you don’t name your variable amountOfPeople and instead you name it PeopleAmount
Or peopleCount
Yeah dense but still valid
Sometimes you need to be a little creative 
Describing what is inside a variable shouldn’t be very long
You only have to describe what is inside it
You don’t have to describe what you do with it
Clean code should be understood very intuitively by any programmer
What's a good coding program then
program as in language or code editor
Language
Even worse
this is what haters sound like
BodyCount
It is literally preference
If you think with everything in mind then c/c++
If you think only in text, not programmically you might want rust or a byte code lang
If your payed by the hour asm lol
Prolly c++ for me
C/C++ are kinda outdated right now
They are full of old shit that is kept for compatibility
Zig seems to replace C for now
And there’s rust for C++
They will never be outdated
What do you mean by this?
They are
All people who prefer lower level programming languages are moving to things like rust and zig
They more stable and easier to work with
Yeah but how do they get outdated, like what about them can become old?
C doesn't have any error detection, that can't be old
The only reason I get they would be "old" is by just not having any features.. but that's literally by design for c, and c++ just incorporates some easier dynamic programming and easy objects
And how does say, Rust, which is 10-15 years old, be more stable than a 40 year old language that had the entire community behind it for those years
I get having newer languages, with more features like errors, modern memory management and shit, but why or moreso how, would c/c++ be abandoned because they are "old" all together?
Yeah, I mean it's not necessarily bad if they're old.
It depends mostly on what you're trying to make, and some personal preference
For example, if you're making something that's performance-critical, then c/c++/rust/etc... are all good options
I personally find rust more intuitive than say c++, so I prefer it
Rust is not even 10 years old LOL
LUA
trying out an extension of langton's ant to an arbitrary ruleset
lemme get a better recording
rust code is way more stable and safe
even the most skilled C developers will have some unsafe parts in their code
its almost impossible to write perfect C code
because the language is kinda unstable
that's why when people want speed they go to rust now and not C or C++
if you know how to write rust code correctly you dont even have to test your code because it is guranteed to work
and its not that hard
this doesnt mean that C/C++ will be abandoned
but they are not the number one choice when it comes to performance anymore
and right now rust is being written in rust so it does not depend on C/C++ at all
there's also the zig programming language which is very similar to C but most people say its way better has a lot of future that make you write better quality code and is pretty fast
My dad writes exclusively in C
But he's a boomer coder
We'll he's officially senior R&D Engineer
Whatever the fuck that means
He does like network chips
Old Nokia phones had a network chip that was partially coded by my dad
yeah but C is now fully replaceable by zig
so if you're maintaining old code you can use C
but writing new code in zig should be way more comfortable
Tell that to the university of applied sciences that I've got in. Their introduction to programming course is still using fuckin C
same
universities are kinda useless
might drop out if i find a job
the degree doesnt really get you the job
its a good start but here its 5 years for the degree
so its not really worth it
and you dont get any internships from it
basically worthless
I have a job but I really want to get masters degree in cyber security but don't want to get bachelor's degree from university because fuck that shit so I'm gonna do university of applied sciences of software engineering and become a software engineer
Shouldn't take more than like 2 years
yeah if you wanna get some grad degrees then yeah you have to do the undergrad degree
but other than that the undergrad degree is not really necessary at all if you wanna get a normal programming job
University of applied sciences is basically vocational school but for people who went into high school so i should be able to speedrun it
Plus I'll be officially and engineer after getting the degree lol
Really makes no difference but still
We do and I've already had 2 internships in my career
Probably gonna do a traineeship during university of applied sciences in my current company
yeah so degrees are not that bad because they get you work experience
here you dont even get the work experience
Traineeship is just paid internship
K
My github...
my github would be way better if i didnt commit 60000 changes at a time
Amogus
minor compared to others (and java too, 🤮) but uhhh
i wanna enable the player to ask two questions; where do i place my if-elses, within the for-loop or outside it?
nvm
found it out
was tryna find a way to only allow the player choose two questions only
and have diff outcomes based on that
how to use terminal?
why
Lol just look up how to do things online and make sure you learn them
"how to delete files terminal"
is python better?
Than what?
than anything else?
That's preference 💀
But you should start with Python because it's easy to use
Use python idle if you don't know how to use command line
It comes pre installed with python so
Is Conventional School good
For what
I mean it's required so it can't be good
I was planning to go for it
To use a terminal you know what to use it for
If you don't know what to use it for then don't use it
It's the most average language ever
It's useful but nothing special
It's special if you're doing data science
It makes handling data so easy
Which is why it's also good for ai applications
And it's also useful for writing scripts for like cyber security and other stuff like that
What language are the worldbox mods written in?
C#
aka the best language to ever exist
Offical Language Rankings:
1. C#
2. TypeScript
3. Rust
4. Nobody Cares
C# is literally Microsoft bloat being carried solely by unity
Typescript is ew
Rust is corp lang
bruh been programming for 2 months
coming to tell me C# is microsoft bloat
when its opensource
and its cross platform
C# is the only not microsoft bloat that microsoft made
Depends, what do you wanna do?
I just want something simple to understand and start with
Python is simple to understand (in terms of programming languages) - it's great for working with data but not as good for making things that require graphics or that need a lot of performance. If you're wanting to learn a programming language with the intent to make a mod for WorldBox, try C#, but be wary that it's a bit harder to start with.
I think I'll start with python, but after I'll do C#
can you learn AI on your own?
yeah
but get ready to have your brain blown
I dug up a bit about this topic and all I can say is that it's just glorified math.
- wa wo
- wo wa
- wa wo
- wo wa
- wa wo
java 
why not c# first
cheat engine or roblox lua?
It's harder right?
C# first
With unity
Better for learning programming basics
And building programmer knowledge
its easier
look
you'll learn python, and python is the only thing you'll learn
learn c#, and you're learning c, c++, java (🤢), js at the same time, same syntax
Alright I'll try it then
Not really
User reported to the proper authorities!
🔨 Banned assan#0320 for 2 years and 2 days
hey we really need a mode that lets you play as a citizen
Funnily enough, this chat is about coding, and not about Worldbox. If you want to suggest something, go to #💡game-suggestions . If you want someone to make a mod, go to #🔧modding-talk
I learned Python first and personally had a tough time getting used to using {} and ; when switching to pretty much any other programming language
As funny as it sounds I kinda wish I had learned JavaScript first. A simple programming language that uses more standard syntax than Python. Sure, I don't know if it supports OOP like Python, but to be honest it doesn't sound like a lot of people write OOP with Python, but you can learn it alongside HTML and CSS to see some immediate interesting results
OOP with python is actually slow
First of all it was only made to support OOP
And then the complex gc and all the overhead from classes and complex dynamic variables just make it slow
Yeah I very rarely see OOP with Python
OOP Python technically isn't even best practice unlike in languages like Java and C#. Especially as most applications for python are scripting or data science and neither really needs it
I'm so bored
You what
Java is getting rather old and has performance issues on modern hardware
And there is a new programming language based off of python
Mojo
is there a mod for walls?
I think there is, I can't remember what it is exactly so you'll need to look in #🔧mods
thanks for information :)
İt literally looks identical to python
Plus İ think it would be insanely difficult to replace python
phython works in mojo
Then why use it
Eh
performance is key
İ doubt it's fast enough to matter
it has the syntax you are used to but with better performance
İs it new
Cuz İ haven't heard of iy
There are many new "successor" languages recently
And most of them end up failures
"Mojo was created by Chris Lattner, the creator of the Swift programming language and the LLVM Compiler Infrastructure. Lattner started working on Mojo in 2019, and the language was first released in May 2023. Lattner created Mojo because he was dissatisfied with the performance of Python for AI and ML applications.:"
its made by the creator of swift
38 times the normal speed
It incorporates static memory and other low level things in a python like environment
It is very cool
Btw 38 times faster in the worst conditions, it is normally 128 times faster and with optimizations can go up to 1268 I think
keep roasting java 
I have to learn it tho
to make mods
just because its becoming archaeic doesnt mean I wont use it
let me guess minecratff
mmmmffgh
not really familiar with java rn but I know a bit
have any of you guys
ever used C
god is it painful
add # and youll get the best language written by man
I had to use it during my studies. Hated all of it
Gotta agree with C# being the best but I just don't use unity that much. I do other stuff
had to use it in programming class last year
cs50 is good tho
no idea what cs50 is
ah
same i dont do unity too
Ah so like compiled python
Well that's awesome
i mostly do asp core, its 90000 times faster than any js backend
Seems like a very AI focused language with the same pitfalls as python (not including slowness anymore)
I wonder what kernel programming would be like with mojo
Can't export binaries yet though, but I doubt it would even run
Fun fact someone got a python kernel to work
But they couldn't do anything with it because python is too high level
So İ don't think it would be much different
That makes me think
Mojo has jit so it would be really fun as a shell
ik python has a bytecode maybe that's how they did it
Python = good
for data science and ai sure
Which alphabet do turks use
latin?
Ñ
C family
c# to the sky
java (🤮) dying (good)
im gonna go make a very cool maze generator + maze ai in voice chat 2
@orchid frigate come learn how to actually program
Typical coding experience
Bro rust amethyst just crashed windows 💀
İ was running then
if config.json was committed before even if you add it to .gitignore it doesnt seem to remove it
İ went to the stadium and imagined that a group of toddlers were chasing me so with the help of a little insanity İ ran for like 2 hours
Damn though it was gonna be cool for a second
That's exactly what I want. I want it to be ignored in all future commits but still exist
But I don't think that's how it worked. It seems to still show up with every commit that I have changes
I just choose not to commit it anymore lol
I just wish I could have it there but maybe I'll just resort to deleting it and writing documentation like a peasent
Yeah I gotta do that
and then you'd also need to document that because i dont think you can write comments in json 😂
Btw you guys have any suggestions for a laptop? I'm tryna find a good laptop to buy for coding and cyber security practice. I preferably don't wanna spend more than a grand on it
if you want a really thin and light but very cool laptop
acer swift x
the screen response time is super slow though
so there's a lot of ghosting on the screen
but it has a decent cpu and gpu
if you dont mind more thicc stuff
maybe a lenovo ideapad 3 or 3i
generally if you wanna find the best performance when you are on a budget
i would go for budget gaming laptops
these give the best performance per $
or you can go full thicc mode and get a 17 inch 4kgs laptop like me 😂
But I really don't give a fuck about the gpu. I'm not planning on doing any gaming on it
well generally a good cpu comes with a good gpu
or
you can get a cool framework laptop
Not on Thinkpads or pretty much any other productivity laptop
I was gonna get a framework laptop but they don't ship to Finland yet
:(
True
They just look like such nerd laptops lol
true
And the keyboard is literally the best on thinkpads
Imo the look is cool. You instantly know this guy's in it when you see someone with one of those bad boys
Yeah that's the problem
this is the one i was talking about
decent cpu
and for some reason the model with the better cpu is even cheaper
oh nvm its available by invitation only
but i feel like this is more for like small editing or rendering
oh yeah you can also get a victus 15
a bit chunkier but way better cpu
and screen
Adventure awaits with the HP Victus 15.6" Gaming Laptop PC. This sleek yet extremely powerful machine touts an AMD Ryzen 7 5800H Mobile Processor (1), AMD NVIDIA GeForce RTX 3050 Ti Laptop GPU, and 16 GB of DDR4 memory (2). Plus, this HP gaming laptop sports an FHD IPS display, combining a 144Hz ...
This is what I found available on Finland about the acee
Yooo I finally hit level 69
Oh wait my link is acer swift go
Why did it take me there
Looks like a nice laptop tho
looks pretty decent
you will probably find a better price if you look on more websites
It has an OLED screen which is nice
and 90hz so shouldnt have the ghosting issue
Yeah and nice thing is. If I find it cheaper somewhere else gigantti will match the price and I can still buy it from gigantti for convenience reasons
Swift 3 is all grown up. Say hi to the all-new Swift Go—a brand-new design powered by a 13th Gen Intel Core CPU and verified as an Intel Evo platform laptop. The Swift Go unites the latest technologies with a vibrant, 14” WUXGA touch display and TwinAir cooling. All in a striking thin-and-light a...
this is fucking hot
i7 13700h
but i think its a 60hz screen 😔
even if on amazon?
cant seem to find the 2k oled model
the only place on the whole internet that has this model is the website you sent
and a very smilliar website but norwegian
Lmao
It's the same company
All nordic countries have gigantti
Just renamed
It's just basically translation of gigantic to their language
oh i found a 2k oled model but its an i7 13700h for 1.2k
yeah i think you need to do some research on that one
i did like 3 months of research before i bought my laptop
I've also been thinking about this laptop but atleast rn looks shit compared to the acer
https://www.gigantti.fi/product/tietokoneet-ja-toimistotarvikkeet/tietokoneet/kannettavat-tietokoneet/lenovo-yoga-slim-7-pro-i7-1216512-14-kannettava/455547
Lol
At first I thought about this Thinkpad but this has shit specs for the price
https://www.gigantti.fi/product/tietokoneet-ja-toimistotarvikkeet/tietokoneet/kannettavat-tietokoneet/lenovo-thinkpad-l14-gen3i-14-kannettava-i516256-gb-musta/473766
What laptop have you got btw?
He's right, I know how to program but I never understand what people say here
Then you don't know how to code

