#⌨coders-cave

1 messages · Page 20 of 1

barren shale
#

otherwise it looks pretty good

#

i've tried making 2d games like 100 times games in unity and i ran into the hell that unity is for 2d games

#

apparently its called unity3d for a reason 💀

sly schooner
#

My next stop in the planning is to optimise the chunk generation and remove inactive chunks after some time

#

Then I'll try to implement sprite pooiling, but I can already see how it's going to be a headache

barren shale
#

i would watch a youtube video

#

its not really very hard but the docs might not be the best way to learn about it

barren shale
#

they have a real cool way to make inactive chunks seem active

sly schooner
barren shale
#

by calculating the time between the last time it was active and the time you activate it again and then using that time to grow trees and vines and all the cool things

#

oh nice

#

also if you are going to have collisions in 2d its gonna be a big headache so get ready for that

#

you either have to suffer through unity's 2d physics engine which is not very good or make your own which will take some time and reading

sly schooner
#

It'll be used only on chunks where something big is happening like cities and stuff. But the rest will be just statistics or just freeze and unfreeze

sly schooner
barren shale
#

good

#

because that's the worse part about 2d in unity

#

also making things flexible which i see you are already doing from what you've said is a great benifit in the future

#

you seem to be doing great

#

i would just google anything major before i'd do it just incase there's a good way of doing it

#

fucking up the performance is so easy in unity and it messes up the whole game

sly schooner
#

Yeah

#

Thanks 👍

knotty root
#

tell me now this isnt hard coded

#center the window

width = main.winfo_screenwidth()
width = int (width)
height = main.winfo_screenheight()
height = int (height)

width2 = width / 2
width2 = int(width2)
height2 = height / 2
height2 = int (height2)

width4 = width / 4
width4 = int(width4)
height4 = height / 4
height4 = int(height4)
main.geometry(f'{width2}x{height2}+{width4}+{height4}')
#

i wish there is a simpler way to center the screen

barren shale
#

why the fuck do you need width / 4

#

the x should be screenwidth / 2 - windowwidth / 2

#

and the y should be the same with height

#

what is even this

knotty root
barren shale
#

well if the width of the window is half of the screen then its gonna be screenwidth / 2 - screenwidth / 4

#

that's where the window should be

knotty root
#

but

#

x and y should be a quarter of the total screen

#

to place it in the center

barren shale
#

this is python right?

barren shale
#

@knotty root here i tried my best 💀

#

here are some colors to make it easier to read

knotty root
#

thx bro!

sweet bramble
wet girder
#

Just had a 1.5h hour meeting where I got assigned 6 jira tickets to do in 4.5 weeks

#

The tickets are all basically "enhance cyber security by doing this and this"

#

lots of fixing dumb oversights in old code

#

loving life

quartz pumice
#

Isnt there a way less complicated way to do that

barren shale
#

maths

#

there isnt

#

because math

quartz pumice
#

Math bruh

barren shale
#

1+1=2

#

is there a less complicated way to do it

#

no

#

its math

orchid frigate
#

There is

#

You can memorise it

#

So as soon as someone asks what's 1+1

#

You don't have to calculate it's 2

barren shale
#

that's not a less complicated way of doing the math

#

because you did the math

#

then memorised the answer

#

stop being dumb

knotty root
#

cant python use a preset def to use for centering the screen

orchid frigate
#

I saw that you did the math

#

And memorised your equation

#

I basically stole your answer

barren shale
#

yeah but its not about the answer

#

its about the math

#

so stop being dumb

next shell
#

1+1=1+1

paper quest
#

1+1=2 moron

hardy field
orchid frigate
#

About 5

orchid frigate
#

You asked what's a simpler way to do 1+1

#

And so I told you the simpler way

#

It is simple because it doesn't even require you to know any math

#

Even if you didn't know how to count you would still be able to answer the question

#

Thus it is simpler

barren shale
orchid frigate
#

Yes exactly

#

Using this method you can solve any math problem of any complexity

barren shale
orchid frigate
#

It is

#

You find the answer

barren shale
#

the result of solving is finding the answer

#

but its not the only way to find the answer

#

im talking about solving the problem and not finding the answer

gilded kite
#

Is worldbox using DOTS?

quartz pumice
#

Whe rust optimizer sees that shit it's gonna delete the entire variable that 1+1 was done on and then create a extremely vague compiler error because there's a missing variable in the stack that will segfault

next lotus
orchid frigate
#

You can memorise that too

barren shale
#

Solving is not memorizing

#

Are you dumb man

#

How many times do I have to say it 💀

orchid frigate
#

Yes but you can gaslight people into thinking you did solve it

#

Thus solving it in the eyes of the stupid

barren shale
#

Well we are not talking about that

orchid frigate
#

For instance I just tricked you into thinking I know what 1+1 is

#

Before your answer I had no idea however because you said it

#

You though I knew

#

And thus though I had solved it

#

What you didn't know is I have the IQ of an orangutan

slim raven
#

Obviously "1" + "1" = 11

young flume
orchid frigate
#

And if they do it would be equal to "11"

sly schooner
#

"1" += "1"

slim raven
#

I mean if you take js and Python which do, you consider most developers out there so kinda yes and no

slim raven
orchid frigate
#

The actually skilled people who code in these languages is like 5% of the total devs in these languages

upbeat pine
#

is there a comprehensive modding tutorial?

quartz pumice
#

Did you know that {} + {"hi":0} is {"hi":0} but {"hi":0} + {} is error?

wet girder
orchid frigate
#

Like why does JavaScript like brackets so much

#

And why is there a surprised face after the string

#

And why in general

#

Why does the language exist in general

#

Just replace it with something better like

#

Rust

#

Fuck it even zig atleast it will get some attention

timid field
slim raven
wet girder
distant wraith
#

Reddit is the last place I'd think will have actual correct answers, let alone good answers

#

If there is, I would not expect any explanation of it

distant wraith
upbeat pine
#

already done it with multiple other modding communities that lacked directions, help, or just had a shite wiki/documentation

wet girder
upbeat pine
wet girder
#

There are some guides but they require some programming experience and basic understanding of computers. 99% of time someone asks the same question as you did they don't even know what C# is

#

Worldbox has been made very modder friendly over time but it's still not complete coding beginner friendly like any modding

#

Plus I'm not the best person to take advice from in the topic. I've never modded a single game. I just do full stack application development with .net

#

From this interaction I learned to just direct everyone who asks about modding straight to modders lol

wet girder
rose pawn
#

Is anyone here interested in highway intersections?

#

Mini motorways anyone?

quartz pumice
rose pawn
#

Anyone know the game Freeways?

#

I finished it

rose pawn
wet girder
#

Same with mini motorways

rose pawn
#

I know what you watch

#

That one engineer

#

I dont play mini motorways but finished freeways

wet girder
#

I love his videos

rose pawn
#

So cool

wet girder
#

I've played the mini motorways train game and it was fun af so mini motorways is probably even more fun from what I've seen

rose pawn
#

Its a good youtuber if you watch the sponsor parts too

wet girder
#

Just never got around to playing it

rose pawn
#

Mini metro

wet girder
#

Yeah that

#

I really liked it

rose pawn
#

Im not good at it but still pretty epuc

slim raven
orchid frigate
#

Because I only do low level shit which noone is usually interested in so noone on stack overflow has ever asked these questions and even if they have I usually need more theory than code

#

So I rely souly on old reddit posts and random old forums

#

But I have never been disappointed of reddit answers they usually don't answer the question directly but point you to where you should look to study the problem

orchid frigate
quartz pumice
#

the more I read into uefi the more I realize how fucking shitty it is

#

like... why must it be so bad

#

its so bad that theres entire features that are changed on most systems because they dont even fucking work

#

I thought that they used windows things because microsoft had influence over the project.. they didnt; they were just really fucking lazy

#

and the uefi implementations are so fucking fucked that its a good idea to still support bios booting

#

and when you install windows it doesnt even bother with uefi unless you tell the installer to specifically bother with uefi

#

and, uefi, with all these problems, hosts developer conferences that do nothing, and just promote new softwares that nobody gives a shit about, even the softwares creators

#

I get that they would be tied because its a tandards.. but if you have a bad standard THEN FUCKING MAKE A NEW ONE

distant wraith
#

Programmer rage

wet girder
static solar
next lotus
slim raven
#

Hmm, does anyone need a logo/app/website design or like anything? I'll do it for 5$

fair quarry
#

alright, anybody knows is there a way to start a sound by pressing on div. I mean it will launch from the path but I just need to somehow start it. Is this possible without the <button> tag? (html/css/php/mysql)

wet girder
#

Yeah it is

#

In js you can get the element and add on click event to it

#

Idk how with js tho

#

Probably not possible

wet girder
#

This tutorial is pretty good how to do it on js

#

You can just use divs instead of buttons if you prefer

#

Onclick works same for any element

fair quarry
#

oh so onclick isn't just for buttons?

#

good to know, thank you jupe

wet girder
fair quarry
#

yeah, i understand that. The thing is, the button I use is made using divs, so I just don't want to re-create it - I really like how it looks

#

Thanks again

upbeat pine
#

Im trying to get a character to be able to cast a spell from his hands or just basically not have to have the staff:

public static bool tryToCastSpell(AttackData pData)
  {
    Actor a = pData.initiator.a;
    BaseSimObject pTarget = pData.target;
    Spell spell = AssetManager.spells.get(a.asset.attack_spells.GetRandom<string>());
    if (!Toolbox.randomChance(spell.chance))
      return false;
    if (spell.castTarget == CastTarget.Himself)
      pTarget = (BaseSimObject) a;
    if (spell.castEntity == CastEntity.BuildingsOnly)
    {
      if (pTarget.isActor())
        return false;
    }
    else if (spell.castEntity == CastEntity.UnitsOnly && pTarget.isBuilding())
      return false;
    float num = (float) a.data.health / (float) a.getMaxHealth();
    if ((double) spell.healthPercent != 0.0 && (double) spell.healthPercent <= (double) num || (double) spell.min_distance != 0.0 && (double) Toolbox.DistTile(a.currentTile, pTarget.currentTile) < (double) spell.min_distance)
      return false;
    bool castSpell = false;
    if (spell.action != null)
      castSpell = spell.action.RunAnyTrue((BaseSimObject) a, pTarget, pTarget.currentTile);
    if (castSpell)
      a.doCastAnimation();
    return castSpell;
  }

I found this in the combat_action_library but I dont know how i might use it especially AttackData I dont know what that param is exactly (im new to modding) anybody know? Anybody done a trait that can cast magic

orchid frigate
#

Also

#

Please rename to TryCastSpell or smt

#

The "To" tickles me in a bad way

distant wraith
#

😳

wet girder
#

Oh gosh that function naming is painful

#

I've never before seen a function with the word to

#

and I never hope to see it again

#

and the camelcase 🤮

#

PascalCase is what you're meant to use in C#

#

and it's so much better

orchid frigate
#

That seems far too strict

wet girder
#

that's a great question

#

does make sense tho in a way

orchid frigate
#

I guess it's because not native

#

But even then I doubt that's going to be that big of a deal

wet girder
#

yeah it's not gonna matter that much

orchid frigate
#

These naming conventions in general feel far too strict like

#

Isn't that kinda destroying creativity in code for the sake of readability

#

But then I guess it's for work purposes

#

And professional coding

wet girder
#

I have to use them at work. But we do have like over a million line codebase so it makes sense that it should be as clean as possible

#

probably more like couple million of lines honestly

lapis flint
#

I use camel case for private fields and pascal case for public ones, don't like that underscore case

wet girder
#

I've never used underscore before private variables. None of my coworkers do either so it's fine

orchid frigate
#

Isn't underscore for variables that aren't going to be used

#

In snake case that's the case anyway

#

Pun lightly intended but not too much

wet girder
#

No

distant wraith
#

Regex my beloved

quartz pumice
orchid frigate
quartz pumice
#
struct Sprite {
  V3 pos;
  void *_renderdata
}```
upbeat pine
rose pawn
#

My python code gave this does anyone know why

  File "C:\Users\DELL\AppData\Local\Programs\Python\Python310\lib\site-packages\bs4\__init__.py", line 435
    warnings.warn(
MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup.```
static solar
#

Please, show us the line, that causes the error 🙏

quartz pumice
#

its not opensource tho

#

😦

static solar
#

😭

rose pawn
rose pawn
static solar
orchid frigate
#

How do you have the error

#

But not the code

rose pawn
#

Long story

#

I made my dad work the code for me cuz i dont have my laptop with me

#

And then he sent the result

#

Ok not long

hollow perch
#

hey guys i have a question:

#

can i learn c sharp while modding or do i need to learn it seperately frist

distant wraith
#

Do whatever you want; there's no law against it

wet girder
#

but that's just a recommendation

next lotus
distant wraith
#

I hope they weren't a surgeon

static solar
somber basin
#

Hello

static solar
somber basin
#

What did I missed?

static solar
#

Quite literally nothing

somber basin
#

Ok

#

Gun

static solar
somber basin
#

Oh no🫡sadcat

#

Ok bye

quartz pumice
#

nuclear physicists want too much of a salary so they pick up random people off the street and train them

static solar
orchid frigate
#

Chernobyl moment

quartz pumice
#

AZ-5 was supposed to turn it off but the designers had a skill issue

slim raven
slim raven
#

My parents also say that some gotten like special permits depending on when after Chernobyl they were born and it basically allowed them some stuff like going to summer camps for free but that's not a worthy compensation and just a cover-up of the crumbling USSR

slim raven
#

We're actually in range of another disaster like this. The Zaporushya atomic plant is occupied by russians and was mined (with explosives) miltiple times, the 5th, 4th and 3rd reactors are also not fully off to blackmail us so they might blow it up. They also don't let IAEA in some places which is insanely sus. But I think it's unlikely that they would do something like this cuz that'll hurt them too and a lot.

#

Yeah this is absolutely off topic from coding

quartz pumice
quartz pumice
#

I doubt the plants are designed to be able to run a reactor without having like 20 megawatts of stable power

#

unless they like never turned off (but the power plant operators wouldve turned it off if the russians were coming close ?)

tame dragon
#

Anyone play around with pygame?

#
class Star:
    colours = [RED, BLUE, YELLOW, WHITE]
    
    def __init__(self, size):
        self.size = size
        self.x = choice(range(1, HEIGHT))
        self.y = choice(range(1, HEIGHT))
        self.image = pygame.draw.circle(screen, choice(self.colours), (self.x, self.y), random.randint(1, self.size))
        self.star_count = []
#

and the game loop function

def main():

    global clock
    
    deltatime = 60
    star = Star(6)
        
    for starz in range(40):
        star.star_count.append(star.image)

    while True:
        clock.tick(deltatime)
        screen.fill(BLACK)

        screen.blit(star.star_count, (300, 300))
        pygame.display.update()

        for event in pygame.event.get():
            if event.type == pygame.QUIT:
                pygame.quit()
#

When I loop through and append each instance, it isnt generating random x and y positions. Or size values. And the "screen" variable gets written down as a single value, I'm assuming the X position value. Which raises an error for .blit()

[<rect(362, 422, 10, 10)>, <rect(362, 422, 10, 10)>, <rect(362, 422, 10, 10)>, <rect(362, 422, 10, 10)>, <rect(362, 422, 10, 10)>]
#

Even if I do a for loop to loop through the list after it gets all the instances appended, itll still raise a .blit() error

knotty root
#

What error are you getting

tame dragon
#

Idk but fuck that error

#

Says first argument in blit() has to be a pygame.surface.Surface()

#

So I just created 40 instances of the class manually, manually added them to a list and drew them instead. I've no time for debugging, I'm lazy

#

It's a lil laggy but I'll manage

orchid frigate
#

So you decided to instead of spending 5 minutes to debug the error

#

To manually do all the work instead

#

Because of being lazy

#

That's some next level shit

slim raven
slim raven
slim raven
orchid frigate
#

It's not bad it's just

#

Not made for use as a game engine

#

It's made for learning

#

Introduction for game development and coding

#

And small graphics projects

quartz pumice
#

My teacher was very very chill she let us play games all day

tame dragon
#

If the manual version works why dont the automated one work since its literally the same

tame dragon
#

Well python has a lot of fun modules, like pymunk

civic finch
#

Who knows how to add runner button on visual studio code wbgenius

tame dragon
#

fuck vsc

wet girder
# civic finch Who knows how to add runner button on visual studio code <:wbgenius:112821035820...

how to add run button in visual studio code | (Fixed) run button not showing in vs code

tags:

run button not showing in vs code,vs code code runner run button not showing,visual studio code run option not showing,code runner not showing in visual studio code,code runner visual studio code,how to add run button in visual studio code,how to add...

▶ Play video
#

do you mean like this?

quartz pumice
wet girder
#

I like vs

#

what

civic finch
upbeat pine
#

Does anyone know of any free alternatives to the chat GPT API, I need to use it in an Django application

barren shale
#

its basically impossible to run something as good as chatgpt at a good speed without like a 4090 or something

lapis flint
lapis flint
#

Its even not near

#

I tried

#

I also tried gpt 2.5

#

Very bad

distant wraith
#

GPT is GPT, you didn't mention ChatGPT explicitly 🤷

lapis flint
#

I meant like gpt 3.5 or better

chrome sentinel
tame dragon
chrome sentinel
#

Ive heard of sublime

#

whats good about Pycharm

quartz pumice
#

I think theres some AI features

#

and it feels good

#

but nothing that can compare with vsc

quartz pumice
#

"Yes it is my hobby"

shut hare
wet girder
#

PyCharm is good if you really need an IDE for python. Which imo isn't required as python is a scripting language and for scripting there's no reason to use and IDE

#

You can get everything required into VSC

#

I don't understand tho how anyone likes to code with plain text editor like sublime or even vim

wet girder
#

Checked my next tickets in the sprint at work and looks like I am not gonna be writing any code this week bruhkitty

#

I have to study what components need to be updated then I gotta check errors from logs and make tickets out of new errors and then I gotta study anti-debugging methods

#

gonna be the most boring week ngl

#

before this I had to do unit tests

#

so that wasn't much better anyway lol

static solar
#

Imma start to learn C#

wet girder
#

I'd recommend checking out https://www.w3schools.com/

#

they have good C# tutorials

distant wraith
#

W3Schools doesn't have a very good reputation about its tutorial quality, in the Python community anyway

wet girder
#

the C# courses and web courses are peak

static solar
#

But thanks!

distant wraith
#

Story time!

#

Sometimes I wonder what kind of dataset they used to make this thing

wet girder
#

Actual interaction with clyde today

wet girder
#

The bot is actually insane

mossy cedar
#

Just a thought. Is it possible to run AAA games purely in a browser like those browser games?

quartz pumice
#

webgl I don't think has any limitations

#

But webassembly would probably be very limiting on Chrome

#

Wasm is 1.95-11.71 times faster than JavaScript on Firefox on a desktop.

#

On Chrome it's severely limited thoug

#

So.. yes and no

#

I know that there is a Minecraft 1.9 you could use in browser and even has multiplayer, but the official website for it was taken down last year by Microsoft

ancient rose
#

Is it possible to add mods support to mobile version of the game?

hardy field
remote wraith
wet girder
#

dm @Clyde to me and then dm the bot when it answers to you

remote wraith
#

What

wet girder
#

dm me @Clyde and when Clyde answers dm it

#

you can also do @Clyde and question in gcs

young flume
quartz pumice
#

dm this @cerulean fog

#

thats clydes actual ping

#

lol

quartz pumice
#

WHY IS RUST TAKING UP TWO FUCKING GIGABYTES OF SPACE ON MY COMPUTER

#

WHAT THE FUCK

#

Rust is bloatware

iron rivet
#

clyde isnt real

iron rivet
quartz pumice
#

2 gigabytes of my ram would be 1/8'th of it

iron rivet
quartz pumice
#

WHAT THE FUCK

iron rivet
#

either youve got some revolutionary ddr550

quartz pumice
#

gcc only takes up a few megabytes

iron rivet
#

or your lying

quartz pumice
#

and in memory its the size of the program plus a few hundred bytes

quartz pumice
#

what

#

2 gigabytes of space for rust

#

on my computer

#

rust a fucking cli compiler

iron rivet
#

ok mate

#

you either are trolling or know nothing about pc's

quartz pumice
#

why is gcc 619 megabytes

#

bruh

old mural
#

@old mural

old mural
barren shale
quartz pumice
#

it breaks every week by itself

shut hare
safe prawn
old mural
#

well

#

just wanted to see

old mural
civic finch
#

after 3 mounth in learn PROGRAMMING this my level I make this simple app at 2 hour

#

No bullying, and also tell me what I should add or improve

cerulean silo
#

Urdu+ English wat

barren shale
civic finch
upbeat pine
knotty root
# civic finch after 3 mounth in learn PROGRAMMING this my level I make this simple app at 2 ho...

i have a few suggestions

Try to only import the specific things you'll need from your modules (for example: from pystyle import Write, Colors) This makes your code cleaner and easier to understand
Do not use python's OOP for any serious projects. It's slow, cumbersome, and it just sucks
I recommend you use functions more often. Lines 4-18 could easily be turned into a reusable function

overall i think you're doing great! good luck

distant wraith
#

What do you mean Do not use python OOP for any serious projects

#

Any good projects that is huge often uses OOP

#

And classes don't slow anything down

#

What's more is that OOP is recommended when developing a project, or you'd be using pure dictionaries to store data

knotty root
#

python specifically

#

oop is great in other languages

#

my bad i should have clarified that

distant wraith
knotty root
#

as i said before, its incredibly slow

#

it has no private/public variables or functions

distant wraith
#

Where did you get that information

knotty root
#

a simple google search

distant wraith
#

Notthing in Python is secret, even functions, modules, ...

knotty root
#

Whats your point

distant wraith
#

OOP is good 🤷

knotty root
#

It is

#

just not in python

distant wraith
#

How then

knotty root
#

python really just lacks a lot of the features a fully oop language has, like c#

distant wraith
#

Like what

knotty root
#

i dont have a list that states every single feature lacking

distant wraith
#

What's the point of private functions and variables

knotty root
#

oookay

distant wraith
#

In Python, you can just implement the __getattr__ magic method of a class to prevent someone accessing something

knotty root
#

i dont plan to keep arguing about this

#

if you want to know why it's not really great google is right at your fingertips

#

good night 😁

distant wraith
#

Nothing

#

And the fact that you already gave up arguing already shown that you have no actual points

#

And you wouldn't use Python anyway if you need that crazy speed where even a single extra nanosecond is a huge slowdown

#

Perfect

safe prawn
barren shale
#

i do think big python projects are hard to maintain

wet girder
#

python is messy. OOP in python is just not as clean as it is in actual programming languages like C#

#

python is good at scripting

orchid frigate
#

Cargo is way better than gcc

#

And rust is way bigger than C or C++

#

Also the projects are also huge

#

An average project is a few gb İ think

#

Cargo is so advanced it has its own mini package manager

#

Plus for rust even 10gb are good

#

Peak language

#

Zig is also fun but feels like what c++ should have been

wet girder
#

not a very big backend tho apparently as the main project I work on is this big (both backend and frontend)

orchid frigate
wet girder
#

what's crate

#

are they like libraries in python and packages in c#?

wet girder
#

if I had built it would have all the packages and shit

orchid frigate
#

İf you don't use crates

#

İt's small

#

İf you do

#

İt's huge

orchid frigate
#

And they are all compiled with the program

#

All it takes is a few huge crates to bloat the project

wet girder
#

makes sense

orchid frigate
#

A crate can even be a whole ass game engine

#

They are usually a few gb

civic finch
barren shale
#

each character is one byte

#

that's 1 billion character

#

i dont think that's a thing

wet girder
#

I checked and like 2GB of that is files from building the project

barren shale
#

yeah

#

when you build it it gets a lot heavier

#

but it sohuldnt be gbs before you build

orchid frigate
#

İ meant after build

#

Obviously

barren shale
#

well nobody cares about after build

#

there are a lot of temporary files for optimization that you can delete

#

the program after its been built shouldnt be in the gigabytes either

orchid frigate
#

İt fits an entire game engine in a crate

#

With a renderer and everything

#

İt's a pretty normal size for such a project

barren shale
#

its still code

#

code is very light

#

the heavy part of most programs is textures

#

and security

#

this is 7k lines of code

#

in C# built

#

even if you add the .net runtime which is like 200 mb

#

this is like 250 mb for 7k lines of code

#

so if you had 70k lines of code it would be around 600-700 mbs

#

oh this is 7k lines of code + discord.net + 2 more packages for drawing and logging

orchid frigate
#

İ get it

#

Rust is huge

#

But İ still like it

#

İt's very fun to code in

#

Fav language

barren shale
#

its not huge

#

you are probably calculating the size in a wrong way

#

maybe including files that are not needed

wet girder
#

rust is not huge

#

definetly not

quartz pumice
twin sonnet
#

Guys, tell me how to install mods for the mobile version of the worldbox

stark garnet
#

You can't

timid field
timid field
#

Nobody implemented such a thing yet

keen juniper
stark garnet
#

I beat you guys hwre

timid field
stark garnet
#

Mod abuse

quartz pumice
#

Whar

shut hare
rose pawn
shut hare
junior pollen
#

I have never written a line of code in my life

waxen nexus
#

K

wet girder
pulsar jackal
#

Can you download world in mobile worldbox

lapis flint
#

~maps @pulsar jackal

#

Whats wrong with this bot here

quartz pumice
sick verge
#

Does anyone know anything when it comes to tech support? I'm trying to manage my low disk space and if someone can help me with that then that would greatly be appreciated.

distant wraith
#

Tech support scams?

rose pawn
#

No they mean support my tech

dreamy vortex
#

🧐

#

Hmm

sick verge
#

Mhm, I'm trying to clear out my disk space. I watched a video about doing it but I guess I just want to make sure I'm not screwing up my pc

#

First thing I did was head to this PC and right clicked Windows C: and clicked properties.

orchid frigate
#

Want space?

#

Delete shit

#

Anything you can

#

And that you installed and isn't a system file

#

System deletable shit is too little to be considered worth deleting

#

That's the only way

#

Also don't worry about screwing up your PC unless you have important files on your windows you can't do anything that actually damages the hardware

#

Worst case scenerio you have to reinstall windows

wet girder
#

First step of freeing up space could be making proper backups of important files

#

that way you could technically just reinstall windows if it comes to that

orchid frigate
#

Another way of cleaning the disk is

#

Buying a new one

#

10/10 way would recommend

wet girder
#

bad way

#

I have so much useless shit on my pc and I should really reinstall windows but damn am I too lazy to do that

orchid frigate
#

If you got to this point now

#

You will end up like this again

#

Might as well buy your way out of the problem

wet girder
#

I've been telling myself I'm gonna be buying new pc soon so I don't need to reinstall windows yet

#

but I never do buy the new pc

#

I've planned on buying it for over a year now

orchid frigate
#

Reinstalling windows is fun tho because you start fresh

#

It's all fast and shit

wet girder
#

you should reinstall windows periodically anyway

orchid frigate
#

Not touched by garbage downloads

#

But then you have like 300gb in games

#

That you have to reinstall

#

And that's just pain

#

Plus extra software you use that you don't remember the entirety off so you end up spending like a month downloading shit

#

So you end up in the same place as before

#

What a loop

knotty root
#

better yet you can use chocolatey to install them all

orchid frigate
#

Problem is I don't even know them in my normal windows installation

#

I'm so disorganized I have no idea what I use but I use something

#

Plus installing them takes even more time and manual labor

knotty root
#

unless you've installed every app on your computer as a portable app you can just look at all your apps in settings

orchid frigate
#

I don't mean that kinda apps

#

I mean some random programs that I used once for some project that took a shit ton of time to find and install

#

And will probably need again in the future

knotty root
#

ok maybe you're fucked

orchid frigate
#

Dont worry I will figure it out

#

I have done this before

#

I need to reinstall everything anyway because I need to move windows to the SSD so I will just reinstall everything

knotty root
#

oh ok

#

by the way i recommend you use the tiny11 builder on your windows iso

#

i can't post the github link here but it removes a lot of the bloatware in windows

#

i also like to use rufus to skip logging in with my microsoft account forcefully

next lotus
#

yo wtf

#

i can call js scripts right in c# wtff

#

wtf man

#

this is insane, this will kill reactjs fr

barren shale
#

and no it wont

orchid frigate
lapis flint
wet girder
#

well neither of they have the most enjoyable syntax ngl

orchid frigate
#

Random symbols everywhere

#

Wtf is "${user.email}"

lapis flint
#

its not js syntax

orchid frigate
#

That's just fucking witchcraft

lapis flint
#

its framework syntax i guess

orchid frigate
#

Oh so frameworks have their own syntax

lapis flint
#

No

#

Its a row

orchid frigate
#

I'm so happy I never decided to do webdev

lapis flint
#

Inside ` and `

orchid frigate
#

This shit is too much

lapis flint
#

$ is a function name of that framework

#

So there is function $ with row parameter

orchid frigate
#

Function $

#

There is a function $

lapis flint
#

Yes

wet girder
orchid frigate
#

Yes

wet girder
#

C# has a similar thing and Imo it's awesome

orchid frigate
#

What's with the "

#

Is that a string or smy

lapis flint
#

Its a jquery i guess

orchid frigate
#

And a function $

lapis flint
#

$ is a jquery function to select html node

wet girder
#

ye it's jquery

#

jquery is awesome

lapis flint
#

And row inside ` and ` is node selector

wet girder
#

It looks messy af but I love it

barren shale
#

frameworks use thigns like curly brackets and dollar signs to differeniate between the use of different technologies within the same file

#

in blazor you can use C# and html and javascript in one file

rose pawn
#

Kick code 😎 Write ass 🫵

old mural
silent root
#

C#, Java and rust are ass

orchid frigate
#

Least obvious troll

silent root
#

There is nothing "trolly" about what i said

static solar
barren shale
#

i mean java is ass

#

but yeah

orchid frigate
#

@static solar what's the savior role

knotty root
rose pawn
#

Not necessarily true but yeah its common in discord

#

1 out of 5 messages i send here is rage bait lmao and u guys fall for it XD ‼️‼️‼️

#

Btw java sucks ass python is superior

oblique inlet
#

Python is amazing

#

I don’t care if it is slow

#

It’s readability and easy learning curve are unparalleled

wet girder
#

It's not readable at all

#

C# is readable

distant wraith
#

Python has a very easy and readable syntax if you ask me

wet girder
#

Only when you do simple stuff

#

Anything more complex and it becomes impossible to read

barren shale
#

yeah i have to agree

#

especially with arrays

#

you need to know what every symbol mean if you wanna read that shit

#

and there are a lot of them

dreamy vortex
#

Hey Hamza, Hey Jupe

wet girder
dreamy vortex
#

at work?

wet girder
#

on lunch break rn

dreamy vortex
#

whats for lunch?

wet girder
#

I got some meatballs from downstairs. They make the best meatballs and I couldn't help myself even tho I ate them last thursday as well

orchid frigate
wet girder
#

you just gotta not have skill issue and it's very readable

orchid frigate
#

I guess that's true

#

But anyone volunteraly writing c# has a skill issue

#

So that creates a paradox

wet girder
#

I volunteraly write it

#

it's a good language

orchid frigate
#

I'm sorry to have to diagnose you

#

😞

wet girder
#

plus it makes me 💰💰 💰

orchid frigate
#

If used professionally sure

#

Personally

#

Hell no

wet girder
#

I've made like 13 grand before taxes writing c#

#

or more I don't really know

#

I know I never saw 31% of my income because taxes and työeläkemaksu which I don't know the name of in english

orchid frigate
#

Finland really is a fucking heaven

#

Oh NVM Bulgaria is somehow 10% according to the first google result

#

I don't really trust it but our employers pay us about the same as in third world countries so I guess it's probably accurate

#

A 9-5 job here pays like 900lv a month which is about 450euro

wet girder
#

I have an above average junior .net full stack developer starting salary of 2700€ a month which after taxes and työeläkemaksu is 2 153€

#

average salary in finland is like 3200€ and median is like 2900€

orchid frigate
#

Can't we just like give Bulgaria to Finland

#

Our government is so shit I don't think we even have one can't we just be Finland

wet girder
#

isn't your president a putinist?

orchid frigate
#

He is alot of things

wet girder
#

I googled and he is a putinist

orchid frigate
#

When zelwnsky came he basically said "fuck you I barely have enough ammo for myself how do you expect me to give you"

wet girder
#

would not want to live there

orchid frigate
#

Tbh he is kinda right we don't have enough equipment to defend ourselves how does Ukraine expect us to supply

#

Smh

#

But still if we become Finland

#

We wouldny have to buy the cheapest shit the world haa

#

It would be so cool

wet girder
#

Finns don't like bulgaria because of the president

orchid frigate
#

We will become finns on paper

#

Only government yk

#

So that we can take the pros from having a good government

#

But we may rebel as for some reason we are Patriotic af and prefer to live in a corrupt Bulgarian government than anything else

wet girder
#

would not call the current government good, the far right got voted into the government and the government hasn't been able to do anything after that

#

plus 2 of our ministers are very clear racists

#

and 1 is a sexual predator

orchid frigate
#

It's better than us we literally didn't have a government for 2 years because every government we voted for sucked to the point they had to be thrown out

wet girder
#

we had a good government before

#

but I do not trust this one

orchid frigate
#

I'm not even joking

wet girder
#

that's bad

orchid frigate
#

They had absolutely no idea what they were doing it was like a south park episode

wet girder
#

well we basically haven't had a government for 4 months now. They're unable to do anything because of the racism and sexual predator things

orchid frigate
#

They also literally fought in the congress room or whatever on camera

#

Full fists and everything

wet girder
#

damn

#

ngl hoping that our current government resigns we get an actual functioning government

#

I could list things for hours why but I gotta go work

#

so cya

orchid frigate
#

Aight cya

main stag
#

you’re Bulgarian?

dreamy vortex
#

is he?

distant wraith
distant wraith
wet girder
# distant wraith Like what?

Well amp has quite a lot of complex stuff. Json handling for example is quite messy in Python, or well discord bots in general

distant wraith
#

You mean getting items like

map_dat["saveVersion"]
barren shale
#

python is not made for very complex stuff

#

it is not fast and it gets messy fast

#

interpreted languages are ingeneral good for scripting and small things

#

or embedded systems

distant wraith
#

Can't deny that

barren shale
#

just use the right language for the right application

#

and any language is viable

#

im not gonna use rust to make an api that gets called 5 times every minute

#

im gonna use nextjs because it allows me to host it for free

next shell
#

What were they thinking when they made Python

#

“Hmm yes snake coding language go brrr”

distant wraith
#

What were they thinking when they made C-Sharp Jerry

wet girder
#

C++ but add another ++ to it

#

Makes complete sense

distant wraith
#

Python++ when

next shell
#

Hehe let’s name our coding language after a note

wet girder
#

It's not named after note, C# is C++++ but the plusses are in a 2x2 grid

#

So it becomes #

next shell
#

But why

#

Why not give it a normal nsme

wet girder
#

Funny?

next shell
#

It’s a grid

barren shale
#

bruh what programming language has a normal name

#

haha lets name a language after a letter

#

haha lets name a language after an animal

#

haha lets name a language after oxidized iron

old mural
#

haha lets name a language after an island

orchid frigate
#

Nvm it's called c because it was the successor of another language called B

orchid frigate
knotty root
barren shale
#

mojo isnt really python++

#

its built for AI

#

its pytorch++

knotty root
#

closest approximation

#

you could probably use it for other things as well though

barren shale
#

not optimal though

#

its like using the GPU for binary calculations

knotty root
#

python but fast is a pretty big deal i think

#

maybe it wont just stay as an AI thing

barren shale
#

yeah but its fast because it runs in parallel

knotty root
#

then the closest thing to python++ i can think of is nim

quartz pumice
distant wraith
wet girder
#

But why...

distant wraith
#

One line wbshy

wet girder
#

Oneliners are fun when you make them yourself

#

But why use a tool for it. Takes out all the fun of making shitty code

distant wraith
#

I just like to see one line codes, but don't like making one myself 🤷

barren shale
#

one line codes are the ugliest thing to ever exist

#

imagine having to debug a one line code

wet girder
#

It's ugly and impractical but they're fun to make

#

Me and one of my friend used to challenge each other to do them

#

He used js so it was a bit easier for him than my C#

next lotus
next lotus
wet girder
jolly field
#

I don’t know any coding. That’s why I’m the evil catlover.

next shell
#

Youdon

orchid frigate
jolly field
orchid frigate
#

Yes

#

For a proper communication environment one must make sense

#

Or something complicated like that

jolly field
orchid frigate
#

You aren't a catlover you are a dog lover

karmic summit
#

both are good

#

just that cats ignore you and treat you like shit

jolly field
main stag
jolly field
dreamy vortex
shut hare
pearl terrace
#

Hello

lapis flint
slim raven
#

lmaooo

dawn grail
dreamy vortex
rigid heart
#

"Butterfly",lol

distant wraith
hardy field
#

If you think that's bad, check Chicky's bio

wet girder
#

It's lovely

shut hare
dreamy vortex
#

Ur mom

jolly field
#

SMH

dreamy vortex
#

When did I say I was doing that

sweet bramble
#

Nah but fr you gotta change your bio wth mannn ☠️

quartz pumice
#

@orchid frigate someone is trying to make a os in kotlin

dreamy vortex
sweet bramble
#

I was talking about catlover

dreamy vortex
#

Ohh

hollow lily
#

import numpy as np
import matplotlib.pyplot as plt
from matplotlib.animation import FuncAnimation

Set up the figure and axis

fig, ax = plt.subplots()
ax.set_aspect('equal')
ax.axis('off')

Define parameters

a = 0.0
b = 0.2

Function to generate points for the spiral

def generate_spiral(t):
r = a + b * t
x = r * np.cos(t)
y = r * np.sin(t)
return x, y

Initialize the plot

line, = ax.plot([], [], lw=2)

Animation function

def animate(i):
t = np.linspace(0, 10 * np.pi, 1000)
x, y = generate_spiral(t + 0.1 * i)
line.set_data(x, y)
return line,

Create animation

ani = FuncAnimation(fig, animate, frames=200, interval=50, blit=True)

Display the animation

plt.show()

This code creates an animated spiral pattern that evolves over time. It utilizes the matplotlib library for plotting and animation. You can customize the parameters a and b to achieve different spiral patterns. Simply copy and paste this code into a Python interpreter or script, and you'll be able to see the animated spiral on your screen.

upbeat otter
#

Oh really good

#

Congratulations ✌️

distant wraith
#

Tried Stable Diffusion XL Jerry 👍

rose pawn
#

I thought

this text

Wasnt posssible

steady flare
#

hello

next shell
#

Morning

dreamy vortex
#

@jolly field stop clogging automod

jolly field
dreamy vortex
distant wraith
distant wraith
#

Woman

halcyon frost
whole nest
orchid frigate
#

There are so many random languages

#

C# is there

#

Go is there

#

Pascal

#

D has three bare bones pages

#

Tbh D doesn't look bad it looks like good c++

wet girder
#

Everyone in IT be like

next shell
#

IT mfs are built different

young flume
#

🤣

mossy cedar
#

IT mfers be earning six figures while looking like shaggy

wet girder
#

Damn I hate working during summer vacation time. My boss just called me and started asking about production updates to cloud because she never does them but neither do I so I just awkwardly started figuring out with her wtf my coworkers do when they release to cloud

#

It felt more like I was the rubber ducky. She kept talking and I had no idea what was going on

jolly field
#

Freezing actually

#

🥶

rose pawn
#

Then good

#

What do computer rooms being cold have to do with the image

#

Maybe im dumb

jolly field
rose pawn
#

👨‍🦳

dreamy vortex
#

👴

distant wraith
#

It's a markup language

wet girder
#

It's literally in the name

#

Hyper Text Markup Language

wet girder
#

Pro tip of the day. If you want to a software development job you should learn REST APIs and how to use Postman. Everything uses REST APIs nowadays

rose pawn
#

What does the attribute: and request: parts do in / wyr command

barren shale
#

But people will still use them for there 100 request per hour apps

wet girder
#

Well yes but it gets you paid aTCTMoney

barren shale
#

I guess

wet girder
#

At work we don't do useless APIs tho. We try to have as little requests as possible because some of our clients customers are in countries with shitty internet and the software won't work well if we do million api calls. So all API work I do at work is actually useful and I create optimized APIs

#

The senior devs will be quick to point out if something is not optimized enough

rain cloud
#

Playing fnf on roblox on a xbox is something i thought i would not be doing at 4am but here i am

#

But anyways

#

Hello chat

orchid frigate
#

Wrong chat

wet girder
#

You don't

#

Lua is not the best language for any other case other than some in video game coding like stormworks or well even gmod

#

Someone's gonna say Roblox but Roblox is an inferior way of doing game development

#

@knotty root don't ghost ping people

knotty root
wet girder
#

That's not the way to do it tho. You could've just done ?whois ping in #🤖bot-commands and no harm done

knotty root
#

ok wbskull

orchid frigate
#

Yea only high levels can ghost ping it's common knowledge

orchid frigate
#

I love it when my code starts looking like a rainbow because there is so much going on

barren shale
#

you shouldnt have more than 2 indentations

#

split it into multiple functions

orchid frigate
#

why would I do that when its indentation is about a line long

#

its a state machine so it kinda has to look like that

barren shale
#

nuh uh

#

state machines shouldnt look like this

orchid frigate
#

yuh uh

#

show me an example of a better state machine

wet girder
barren shale
wet girder
#

One of our senior devs uses git in a stupid way and when he's trying to merge his changes to testing branch it doesn't let him because he fucked up manual merge so badly

#

He did 3 fuckin commits for a single merge

#

Why just why

#

Now I have to fix it for some reason

barren shale
distant wraith
#

Today I leant that you can define a type this way:

type("catlover", (), {"__init__": lambda self: setattr(self, "cat", "Meow!")})
old mural
#

yes lambda

acoustic tinsel
#

+level

#

level!

#

!Level

#

Wtf

#

+ship @acoustic tinsel @acoustic tinsel

#

._.

barren shale
#

@acoustic tinsel ever heard of #🤖bot-commands

acoustic tinsel
#

Okaye

quartz pumice
#

how would it even touch performance

#

if its type definition

barren shale
#

idk

#

but when you include a lot of strings

#

its starts to fuck with the garbage collection

#

that's why i said it looks and not it is

#

but it might be optimized so yeah idk

hollow perch
#

hi guyz is anyobody here??

devout geyser
#

IM BACK BABYYYYYYY!

plush cedar
#

nerbs

edgy matrix
distant wraith
distant wraith
barren shale
quartz pumice
next shell
#

Kobalt

quartz pumice
cinder ridge
young flume
winter crest
#

Please tell me how to make sure that the trait is issued only after the unit has received 120 units of damage, I have no idea how to track the damage received.

winter crest
barren shale
wet girder
#

I just accidentally almost deleted System32 on my work computer

barren shale
#

damn

knotty root
#

~update

#

-update

rugged veldt
quartz pumice
wet girder
#

Accurate

dreamy vortex
#

🐢

wet girder
#

I fuckin hate VB. When I accidentally put a semicolon after a line of code it gives me an error "Character is not valid" I've been confused by this so many times. Please just tell me "DO NUT FUCKIN PUT ;" rather than this

barren shale
#

vb in 2023 xzibit

wet girder
#

someone has to deal with legacy code

#

We're always trying to move to C# whenever possible but quite often it just makes more sense to do small update to legacy code

#

mostly because of deadlines

#

if we had unlimited amount of time to do these we wouldn't deal with vb and just turn everything into C# code

feral bramble
#

wonder if legacy code will stick around in important stuff for centuries...

wet girder
#

Our current code will be legacy at some point

#

There will always be legacy code but the current legacy won't stick around forever

barren shale
#

well the current way newer programming languages are being built you should be able to migrate really easily

#

so you can just keep migrating instead of getting legacy code 🤮

steel grotto
#

Yo! I’m going into my Junior year of high school, and I’m taking my third CS course, I think Java this year. After that though, we have a choice, C++ programming or Game Design. Which would you guys recommend if I want a CS Degree later?

vapid prairie
#

Yo guys I heard you can mod worldbox on mobile is that true

wet girder
#

I have experience in studying both game design and C++ and Imo game design was more fun but C++ is also fascinating

wet girder