#⌨coders-cave

1 messages · Page 18 of 1

knotty root
#

especially roblox since most of your networking logic is already handled by roblox

#

Well no, not really, especially if you know how to code beforehand

errant trail
#

hmm okay

#

i will try roblox i guess

knotty root
#

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

quartz pumice
#

@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

steel fox
#

Cs war crimes 😉 it’s a really … interesting way to do normal things in cs (like defining defaultfalse==false instead of using normal bools)

orchid frigate
#

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

orchid frigate
#

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

barren shale
#

Just go into APIs in rust and get a job already

orchid frigate
#

No

knotty root
#

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

quartz pumice
#

@orchid frigate I spent so much time trying to build gnu-efi when it was literally on apt lmao

orchid frigate
#

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

half warrenBOT
#
YAGPDB.xyz
YAGPDB Status, version v2.22.0
Servers

3138588

Go Version

go1.20.4

Uptime

4 hours 58 minutes and 30 seconds

Goroutines

3913

GC Pause Fraction

2.636%

Process Mem (alloc, sys, freed)

4545.6MB, 5170.0MB, 615005.7MB

System Mem (used, total)

30983MB (23%), 135096MB

System Load (1, 5, 15)

26.06, 29.22, 28.11

Youtube: Youtube

276614/408087

CAH: Games / Tot. players / Act. players

0 / 0 / 0

Twitter: Twitter feeds

1120

barren shale
steel fox
#

:>

storm pollen
#

Cool

orchid frigate
#

goddamnit now the chat is flooded

#

this isnt the right channel #🤖bot-commands

rose pawn
#

I would rather this chat filles with bot commands instead of moderators discovering this channel

steel fox
quartz pumice
hardy field
half warrenBOT
#

⚠ Warned Ghosted#3580

#

⚠ Warned Joko#4864

hardy field
#

It's not like you weren't told you were in the wrong place (like 5 times)

frigid cairn
#

@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?

astral basin
#

remember that (float)1234567890.123 may just turn out to be 1234568000.0

frigid cairn
#

Thanks 🙏🏻

barren shale
next lotus
#

decimal gang

orchid frigate
barren shale
#

i guess decimals are more accurate

#

but you cant have as big of numbers

sly schooner
#

int gang doesn't bother with decimals

#

But unity uses a lot of floats so you don't really have a choice

quartz pumice
#

@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) $^ $@```

quartz pumice
#

@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

quartz pumice
#
    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

orchid frigate
#

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

orchid frigate
#

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

quartz pumice
quartz pumice
#

@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

warm zinc
#

a

orchid frigate
#

How did it stop letting you target that

#

Like does it do it wrongly or straight up doesn't say the target exists

knotty root
#

Imaging rming the rfing from your slashing.

Jk.

quartz pumice
#

objcopy --help stopped showing efi in supported targets randomly

orchid frigate
#

Have you tried reinstalling objcopy

#

Or using the cross platform version

orchid frigate
#

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

quartz pumice
little mist
#

yeah

sly schooner
#

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

sly schooner
#

Yeah

#

That's the only algorithm I know that helps with world gen so...

quartz pumice
sly schooner
#

lmao

quartz pumice
#

It's not only limited to world gen either

sly schooner
#

Yeah, but you get some nice terrain with it

little mist
rose pawn
little mist
#

bitch

barren shale
# little mist bitch

judging by that voice message i dont think you are old enough to say this word

#

but who am i to say

sly schooner
#

lol

barren shale
#

i dont think you are allowed to ask

sly schooner
#

Probably not old enough according to Discord TOS

#

Although that attributes to half of the Discord community so...

knotty root
#

i am coer

#

beeo bef

orchid frigate
#

Discord community sucks

#

That's why I open discord only to come here and flex my incredibly advanced coding skills to the unknowing

rose pawn
#

Hmm there seems to be some sort of background noise remover when sending these messages

quartz pumice
#

we are the only two in this channel who can even understand what eachother are saying

barren shale
#

becauses nobody cares xzibit

dense flicker
#

X┌⁠(⁠★⁠o⁠☆⁠)⁠┘

fading obsidian
#

How do you turn a string to an integer?

barren shale
orchid frigate
barren shale
#

Not really

orchid frigate
frigid cairn
robust cliff
quartz pumice
#

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

cinder frost
quartz pumice
#

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

▶ Play video
#

I went to his makefile and copied this entire thing (and obv modified it to work), but that didnt work either

#

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

quartz pumice
#

NO WAY

#

objcopy just fixed itself

#

I didnt even do anything

quartz pumice
#

still having trouble making the disc bootable tho.. it might be the ovmf stuff but I have no idea what to do with those

orchid frigate
#

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

proud inlet
#

Hello

#

Guys

frigid cairn
orchid frigate
#

Programmer rizz

barren shale
#

something you will never have

rancid kettle
#

w fizz

#

fizz

#

rizz

#

sorry auto correct

#

there ain’t no way a nerd just rizzed up a shawty

orchid frigate
#

Bro has that TikTok accent

orchid frigate
#

I have my own special type of rizz

#

Called forceful abduction

knotty root
#

Hot

toxic plover
#

Im batman

sly schooner
#

It took some time to realise, but it fuckin works now

#

Time to do the unloading

orchid frigate
#

0r it doesnt count

#

and bees because they are clearly essential to every game ever made

barren shale
sly schooner
#

I know it's not the most efficent way of rendering, but it's needed for future gameplay purposes

barren shale
#

then at least make a sprite pool

orchid frigate
#

wow that we be laggy in like

#

10 chunks

sly schooner
#

But the rendering is done using chunks

#

Each chunk is like 16x16

#

But I can configure that

barren shale
#

just make sure to use a sprite pool

#

it should be fine

sly schooner
#

Sprite pool is like object pooling or just variations?

orchid frigate
#

can you tell me the basic logic of chunk generation in like

#

3 sentences

sly schooner
#

I'll try

barren shale
#

yeah pooling

orchid frigate
#

I wanna try something

barren shale
#

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

orchid frigate
#

yea I get that but how do you get the chunks to connect into something meaningful

barren shale
#

you will load extra things but its worth it

barren shale
orchid frigate
#

ah so its literally just the renderer thats different the world gen still has to be its own thing

#

goddamnit

barren shale
#

yeah world generation is different

sly schooner
barren shale
#

but i guess the world would generate in chunks too

sly schooner
#

Something like that

orchid frigate
orchid frigate
#

hmmm

sly schooner
#

Perfomance wise it's quite okay if I didn't go too far

orchid frigate
sly schooner
#

But I don't really posses a calculator so it's not an objective metric

sly schooner
orchid frigate
#

what

sly schooner
#

If your camera moves, you won't generate if you'll depent on (0,0)

orchid frigate
#

ok my understanding of central object is not the same I kinda thought it was like the first chunk

sly schooner
#

Wait I can just take the camera position, without raycasting

orchid frigate
#

ah so the central object is the camera?

sly schooner
orchid frigate
#

ah I get it

sly schooner
#

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

orchid frigate
#

couldnt you just do that by getting where the camera is pointing and generating everything in that direction with predefined bounds

sly schooner
#

That sounds too complicated for my tiny brain

orchid frigate
#

basically you generate all the chunks in front of the camera in the span of like 20 chunks

#

or so

sly schooner
#

Hmm

orchid frigate
#

and maybe some side chunks so that it doesnt look bland

sly schooner
#

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

orchid frigate
#

the generation distance is a variable

#

you can modify it however you please

#

whenever

sly schooner
#

Hmm

orchid frigate
#

also in terms of world generation I had this cool idea where

#

nvm its basic af

#

It sounded cooler in my head

#

idk

sly schooner
#

Even the basic stuff can be cool

orchid frigate
#

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

sly schooner
#

Make it in a custom c++ engine

#

With Vulcan

#

:)

orchid frigate
#

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

sly schooner
#

I'm good with just the idea of making a custom engine on c++ with Vulcan

orchid frigate
#

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

sly schooner
#

It's always complicated when you write the bones of the system

orchid frigate
#

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

sly schooner
#

What's that?

orchid frigate
#

but the logic behind it is awful

orchid frigate
sly schooner
#

Ohhh

orchid frigate
#

its really cool and its all code

#

and its smaller than all big engines because you only need like 3gb to use it

sly schooner
#

Oh wow

orchid frigate
#

I wanted to do ue4 but then I saw that to use it

#

you needed like 100gb of space minimum

sly schooner
#

wait what

orchid frigate
#

some guys in forums said they needed 1tb

#

and I was like nah

orchid frigate
#

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

sly schooner
#

Well Unreal has some pretty complex features

orchid frigate
#

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

sly schooner
#

I only know c#

#

I got into programming because of gamedev really

orchid frigate
#

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

sly schooner
orchid frigate
#

getting language knowledge is always useful

#

it adds more experience which makes everything easier

sly schooner
#

Ofc, but programming isn't even my career speciality

orchid frigate
#

also most languages are the same so if you learn like 3 languages you basically know them all

sly schooner
#

I've seen a few pictures, the syntax of cpp and rust look kind of similar

orchid frigate
#

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

sly schooner
#

I think I'll study scratch instead

orchid frigate
#

but more simple

#

and less oop oriented

#

which is good because oop is hell

sly schooner
#

idk it doesn't really look pretty

orchid frigate
#

its syntax is difficult af

sly schooner
#

All I care about is a beautiful syntax

orchid frigate
#

and its actually way more difficult than most languages

#

but if you learn it

#

omg is it not amazing

orchid frigate
#

but its usually very chaotic because everything interacts with everything

#

and its iters make it look super unorginized sometimes

quartz pumice
#

like even in editor...

#

with nothing at all, its still 30 fps

#

lowest settings, editor, no map, 30 fps

#

unreal framerates

#

pun intended

orchid frigate
#

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"

quartz pumice
#

it also uses wayy more than 100gb

quartz pumice
#

it was made in 1995 tho..

orchid frigate
#

ue4?

quartz pumice
#

but atleast its open source... though none of the community pr's are being pushed

#

even the tiny ones

quartz pumice
#

when is ata specification that doesnt have master and slave setup coming out

fierce trench
agile robin
#

Hello

fierce trench
#

You need to propose laws

agile robin
#

Oh okay

fierce trench
#

We need 9 but don’t stress yourself by making them all

agile robin
#

By the way I will be making a mod.

fierce trench
agile robin
#

Pirate mod

fierce trench
agile robin
#

Btw do you know how to get the shotguns?

#

From Worldbox

fierce trench
agile robin
#

Yeah I think so

quartz pumice
#

@orchid frigate can u please send me ur makefile 😭

#

nothing I try works

quartz pumice
#

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

orchid frigate
#

Old af

#

Wait ima put it in a pastebin

#

It should work it's quite old but if I put it on GitHub it should have worked

orchid frigate
#

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

quartz pumice
quartz pumice
#

🙏

quartz pumice
#

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

orchid frigate
#

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

quartz pumice
#

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

quartz pumice
quartz pumice
#

what did I do :sob;

quartz pumice
#

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

#

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

quartz pumice
remote wraith
#

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

remote wraith
#

And after java they teach python

remote wraith
barren shale
#

quit school then

#

ez fix

remote wraith
barren shale
#

so?

remote wraith
#

Yes

quartz pumice
#

Why do they still teach java

barren shale
#

cuz stupid

#

C# x10 times better

#

or just teach something actually useful like typescript

terse schooner
#

How the hell do y’all code

#

Seems so confusing to me

barren shale
#

we press keys

remote wraith
lapis portal
orchid frigate
#

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

knotty root
#

Java is alright

barren shale
empty drift
mossy cedar
ripe quail
fading obsidian
#

C# supremacy

orchid frigate
#

Tbh if you aren't doing Minecraft stuff I don't really get why use java and not c#

quartz pumice
#

oh shoot its been starting thinking its a application - idk what that means though

timid field
#

My code be like

wet girder
#

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

late basalt
#

Chaos seems like so much fun

static solar
# terse schooner How the hell do y’all code

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

orchid frigate
#

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

nova vapor
barren shale
#

im part of the cool people squad now 😎

#

i no longer have a discriminator

knotty root
knotty root
#

Syntax when you make a mistake 🤩😁🙂😐🫤😥😰😵‍💫🤕🫠😵

indigo bison
#

Whales in world box

#

Or dolphins

#

Please vote

quartz pumice
quartz pumice
quartz pumice
#

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

barren shale
knotty root
quartz pumice
barren shale
#

md is not a programming language xzibit

orchid frigate
#

The moment you include classes you practically destroy the only thing this language is good for

#

Simplicity

nova vapor
#

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?

rose pawn
#

@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

quartz pumice
#

I almost made a function calledc fs_simple_adv_getptrLBA()

fading obsidian
#

Brej

orchid frigate
#

I don't remember

#

Ah the CHS right and there was some calculation for calculating lba to chs

knotty root
rose pawn
#

~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

quartz pumice
barren shale
#

@orchid frigate guess what

orchid frigate
#

I wanted to do acpi but I realised I wasn't there yet

orchid frigate
barren shale
#

ur mum

#

also im trying vim

#

and its stupid

quartz pumice
#

Also there's a bios extension from early 90's that allows lba

sly schooner
#

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

barren shale
#

use sprite pools

#

and start rendering more than one chunk

quartz pumice
#

you inspired me to fuck around with unity for a bit

sly schooner
barren shale
wet girder
#

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

barren shale
#

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

wet girder
#

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

barren shale
#

im just thankful it didnt break the sb bot xzibit

#

that wouldve been a very fucking hard fix

wet girder
#

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

barren shale
#

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

orchid frigate
#

@quartz pumice did you finally finish the bootloader

#

Wait are you still making a bootloader

#

Or did you finally switch to UEFI fr

barren shale
#

@orchid frigate you just gonna ignore me like that

#

aight 😔

orchid frigate
barren shale
#

cant be more professional than this

barren shale
#

damn i leaked sb 1 code 😔

orchid frigate
#

I am the master vimer

orchid frigate
#

I felt better before I read it

barren shale
quartz pumice
lapis flint
rose pawn
#

D

next lotus
quartz pumice
#

its pure luck your makefile works for you

orchid frigate
#

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

wet girder
#

discord discriminators broken af with the new nicknames

#

atleast with bots

barren shale
#

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

rose pawn
#

D

#

Im still not in

steel fox
red lintel
#

Guys python is cool code right

tropic edge
#

java's better

orchid frigate
#

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

barren shale
#

@tidal socket you are online

tidal socket
barren shale
tidal socket
#

Hi, advertisement is not allowed in this server

barren shale
#

i think its a bot

#

its a crypto scam ad

tidal socket
#

Then they will be kicked lol

half warrenBOT
#

⚠ Warned Jack.#8252

#

👢 Kicked Jack.#8252

barren shale
knotty root
orchid frigate
#

It's not really useful for anything other than Minecraft stuff

#

And it's old af

barren shale
#

and has a lot of shortcuts

#

C# is wordy enough

orchid frigate
#

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

barren shale
#

Nah

#

It uses pascal case not camel case

#

And its as wordy as any other language

#

It’s the good kind of wordy

wet girder
#

Unity is wordy. C# in itself isn't really that wordy

#

Unity is very wordy actually

barren shale
#

But there’s unnecessary wordy and there’s wordy

#

Java has a lot of unnecessary wordy

wet girder
#

Atleast if you look at my coworkers code. They like to use very very short variable names

wet girder
barren shale
#

Well you want your variable names to be as dense as possible

wet girder
#

True but they still need to be descriptive

barren shale
#

That’s why you don’t name your variable amountOfPeople and instead you name it PeopleAmount

#

Or peopleCount

barren shale
#

Sometimes you need to be a little creative xzibit

#

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

red lintel
#

What's a good coding program then

knotty root
#

program as in language or code editor

red lintel
#

Language

orchid frigate
barren shale
quartz pumice
quartz pumice
#

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

barren shale
#

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

quartz pumice
quartz pumice
barren shale
#

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

quartz pumice
#

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?

red lintel
#

Yeah, I mean it's not necessarily bad if they're old.

knotty root
#

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

knotty root
midnight sapphire
#

LUA

nova vapor
#

lemme get a better recording

barren shale
#

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

wet girder
#

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

barren shale
#

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

wet girder
#

Tell that to the university of applied sciences that I've got in. Their introduction to programming course is still using fuckin C

barren shale
#

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

wet girder
#

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

barren shale
#

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

wet girder
#

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

barren shale
#

yeah

#

you dont have internships in finland?

wet girder
#

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

barren shale
#

yeah so degrees are not that bad because they get you work experience

#

here you dont even get the work experience

wet girder
#

Traineeship is just paid internship

quartz pumice
cosmic widget
#

K

wet girder
#

My github...

barren shale
#

my github would be way better if i didnt commit 60000 changes at a time

rose pawn
#

Amogus

slender prism
#

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?

barren shale
#

my brain is trying to process this

#

but it cant

slender prism
#

nvm

slender prism
#

was tryna find a way to only allow the player choose two questions only

#

and have diff outcomes based on that

restive kettle
#

how to use terminal?

quartz pumice
#

It's that easy

restive kettle
#

why

quartz pumice
#

"how to delete files terminal"

restive kettle
#

is python better?

quartz pumice
#

Than what?

restive kettle
#

than anything else?

quartz pumice
#

That's preference 💀

quartz pumice
quartz pumice
#

It comes pre installed with python so

balmy sedge
#

Is Conventional School good

quartz pumice
#

I mean it's required so it can't be good

balmy sedge
orchid frigate
#

If you don't know what to use it for then don't use it

orchid frigate
#

It's useful but nothing special

wet girder
#

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

sterile gorge
#

What language are the worldbox mods written in?

wet girder
#

C#

barren shale
#

aka the best language to ever exist

#
Offical Language Rankings:
1. C#
2. TypeScript
3. Rust
4. Nobody Cares
quartz pumice
#

Typescript is ew

#

Rust is corp lang

barren shale
#

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

red lintel
#

Right now I'm just starting with python

#

Is that a good idea

agile wagon
red lintel
agile wagon
# red lintel 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.

red lintel
#

I think I'll start with python, but after I'll do C#

mossy cedar
#

can you learn AI on your own?

barren shale
#

but get ready to have your brain blown

mossy cedar
barren shale
#
  • wa wo
  • wo wa
    • wa wo
      • wo wa
frank crow
#

hi

#

im 11 and i know how to code in lua!!1!

next lotus
next lotus
frank crow
#

very easy to learn

rose pawn
#
  • wa wo
  • wo wa
    • wa wo
      • wo wa
#
  • h
  • h
#
  • h
    • h
#

Wow

#

Ni e

red lintel
orchid frigate
#

C# first

#

With unity

#

Better for learning programming basics

#

And building programmer knowledge

next lotus
#

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

red lintel
#

Alright I'll try it then

half warrenBOT
#

User reported to the proper authorities!

#

🔨 Banned assan#0320 for 2 years and 2 days

potent cypress
#

hey we really need a mode that lets you play as a citizen

hardy field
agile wagon
#

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

quartz pumice
#

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

agile wagon
#

Yeah I very rarely see OOP with Python

wet girder
#

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

quartz pumice
#

I'm so bored

rose pawn
#

Moderators bad

#

My message here got deleted bcz i got banned wrongly

quartz pumice
rose pawn
#

Got banned wrongly

royal dust
#

And there is a new programming language based off of python

#

Mojo

high mauve
#

is there a mod for walls?

hardy field
#

I think there is, I can't remember what it is exactly so you'll need to look in #🔧mods

high mauve
#

thanks for information :)

orchid frigate
royal dust
#

thats part of the point

#

the same syntax you are used to

orchid frigate
#

Plus İ think it would be insanely difficult to replace python

royal dust
#

phython works in mojo

orchid frigate
#

Then why use it

royal dust
#

it runs faster

#

than python

orchid frigate
#

Eh

royal dust
#

performance is key

orchid frigate
#

İ doubt it's fast enough to matter

royal dust
orchid frigate
#

İs it new

#

Cuz İ haven't heard of iy

#

There are many new "successor" languages recently

#

And most of them end up failures

royal dust
#

"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

quartz pumice
#

It incorporates static memory and other low level things in a python like environment

#

It is very cool

quartz pumice
royal dust
#

to make mods

#

just because its becoming archaeic doesnt mean I wont use it

next lotus
royal dust
#

well I havent done it yer

#

but its in my plans

#

I have a mod idea

#

for a while now

next lotus
#

mmmmffgh

royal dust
#

not really familiar with java rn but I know a bit

#

have any of you guys

#

ever used C

#

god is it painful

next lotus
royal dust
#

Ikr

#

its amazing

#

unity is great

next lotus
#

exactlt

wet girder
#

Gotta agree with C# being the best but I just don't use unity that much. I do other stuff

royal dust
#

cs50 is good tho

wet girder
#

no idea what cs50 is

royal dust
#

Computer Science 50

#

Harvard course

#

hosted on

#

edx

#

for free

wet girder
#

ah

jolly field
#

👽

orchid frigate
#

Well that's awesome

next lotus
#

i mostly do asp core, its 90000 times faster than any js backend

orchid frigate
#

Still won't use it because i don't use python anyways

#

But still cool

wet girder
# royal dust Mojo

Seems like a very AI focused language with the same pitfalls as python (not including slowness anymore)

quartz pumice
#

I wonder what kernel programming would be like with mojo

#

Can't export binaries yet though, but I doubt it would even run

orchid frigate
#

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

quartz pumice
#

Mojo has jit so it would be really fun as a shell

quartz pumice
rose pawn
#

Python = good

barren shale
#

for data science and ai sure

rose pawn
#

Which alphabet do turks use

barren shale
#

latin?

potent ore
orchid frigate
next lotus
#

c# to the sky

#

java (🤮) dying (good)

barren shale
#

im gonna go make a very cool maze generator + maze ai in voice chat 2

#

@orchid frigate come learn how to actually program

wet girder
#

Typical coding experience

orchid frigate
#

Bro rust amethyst just crashed windows 💀

orchid frigate
barren shale
orchid frigate
#

İ 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

orchid frigate
#

Did you do the maze in ASCII

#

Or actual graphics

barren shale
#

ascii

#

because itsn ot about the maze

#

its about the cool ai solving it

orchid frigate
#

Damn though it was gonna be cool for a second

wet girder
#

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

barren shale
#

i think you can go on github and delete it

wet girder
#

I just wish I could have it there but maybe I'll just resort to deleting it and writing documentation like a peasent

barren shale
#

just have an example.config.json

#

type the keys and leave the values as empty

wet girder
#

Yeah I gotta do that

barren shale
#

and then you'd also need to document that because i dont think you can write comments in json 😂

wet girder
#

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

barren shale
#

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 😂

wet girder
#

But I really don't give a fuck about the gpu. I'm not planning on doing any gaming on it

barren shale
#

well generally a good cpu comes with a good gpu

#

or

#

you can get a cool framework laptop

wet girder
#

Not on Thinkpads or pretty much any other productivity laptop

wet girder
#

:(

barren shale
#

sadge

#

i dont know i think thinkpads are too expensive for what they offer

wet girder
#

True

barren shale
#

i mean they have cool screens

#

but that's about it

wet girder
#

They just look like such nerd laptops lol

barren shale
#

true

wet girder
#

And the keyboard is literally the best on thinkpads

barren shale
#

they kept the classic look

#

from the old thinkpads

#

but too fucking expensive 😂

wet girder
#

Imo the look is cool. You instantly know this guy's in it when you see someone with one of those bad boys

wet girder
barren shale
#

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

barren shale
wet girder
#

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

barren shale
#

looks pretty decent

#

you will probably find a better price if you look on more websites

wet girder
#

It has an OLED screen which is nice

barren shale
#

and 90hz so shouldnt have the ghosting issue

wet girder
barren shale
#
#

this is fucking hot

#

i7 13700h

#

but i think its a 60hz screen 😔

wet girder
#

Literally anywhere you can get it delivered to Finland

#

Even AliExpress

barren shale
#

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

wet girder
#

Lmao

#

It's the same company

#

All nordic countries have gigantti

#

Just renamed

#

It's just basically translation of gigantic to their language

barren shale
#

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

wet girder
barren shale
#

the yoga series is expensive

#

0/10

wet girder
#

Lol

#

What laptop have you got btw?

stark herald
#

smart people live here

#

thats not me

cinder surge
orchid frigate
#

Then you don't know how to code