#💻︱programming

1 messages · Page 12 of 1

rocky meadow
#

Bruh xD

torpid sigil
#

Bruh

supple schooner
#

time to play with java codes java intellithonk

cinder plank
#

Lol

paper rain
#

Does anyone have any expierience with structure of zip files?

#

I cannot find in the docs any meaningful reference to how subfolders are handled/represented

quiet arrow
paper rain
#

I'm not familiar with go language sadly

quiet arrow
#

Can try the same in a language you are

paper rain
paper rain
steep dagger
#

I always thought a zip folder is just a normal ass folder full of zip files

paper rain
#

Nope haha

quiet arrow
steep dagger
quiet arrow
#

Yeah, it's super easy. And very very expressive, so should be able to follow fine without wondering wth is going on somewhere

paper rain
#

lol yea i just dig into that go implementation and turns out subfolders are files that just end with "/"

#

lol

steep dagger
#

what's better then a tar file or zip file

paper rain
#

and the only way u specify files location in folders is by supplying file's name that is infact file's path

#

so goofy

paper rain
steep dagger
#

depends is not an allowed answer

#

the world is black and white

paper rain
#

for example its really hard to stream tar files "on the fly"

quiet arrow
steep dagger
#

ohhh what

#

I thought they were

paper rain
steep dagger
#

I might be getting mixed up with something else

paper rain
#

tar.gz maybe

steep dagger
#

ahhh yes

#

the only thing I have to do with files is try and include non js files in my vite bundle

#

they say it can't be done

noble relic
balmy salmon
#

How do I code in C--

steep dagger
#

let me c what your problem is

wise hound
#

that was very punny of you

bold fable
steep dagger
#

C=

quiet arrow
minor roost
#

/avatar

minor roost
#

how do i do code in :3

#

Guys?

#

Is a owner here?

#

I want report to a problem

#

Please

true mantle
# minor roost how do i do code in :3
  1. Download a code editor, vsc is recommended here
  2. Choose what you want to code
  3. From the information out of step 2 choose your coding language
  4. Learn the language
supple schooner
paper rain
#

minecraft can't find the texture you referenced in ur code

upper hatch
supple schooner
radiant vigil
#

someone teach me programming how to disable someone privacy account on insta

#

or using like a visualization

open needle
radiant vigil
#

dont took it too personally i was just testing lmao

open needle
knotty niche
#

C++
C--

knotty niche
upper hatch
soft raptor
#

can you post lua here?

#

or only java?

supple schooner
soft raptor
#

lua

#

okay

steep dagger
#

caught lua posting 2024

quick sleet
#

Yoo does anyone know which language(s) are used to develop cubecraft?

tired hill
#

jav

#

java

open needle
quick sleet
#

Ok thank you

vernal iron
steep dagger
#

they use java and did some shenanigans to get bedrock working on it

#

so they can use the same thing for both servers

terse slate
#

C++ is easy

paper rain
#

C++ is memory unsafe

#

U can mess it up in 100 diffrent ways

terse slate
#

Oh ok

quick sleet
#

Can you like solo develop a minigame on minecraft using java

#

Okay

kind violet
#

guys we want uhc 1.8 and eggwars 1.8

open needle
#

i think u can... maybe

quiet arrow
#

You could use any programming language you want

quick sleet
steep dagger
#

except haskell

#

no real project has used haskell

terse slate
#

C++ 💥

#

Java ⚡

cinder plank
#

/tp @e[type=creeper] nightmare24k593

rocky meadow
mild palm
#

hi

steep dagger
#

htmx 💯💯

grave kettle
#

Hi

#

I'm a junior programer

steep dagger
#

Good work bro

west jay
#

programming 🔥🗿

rocky meadow
#

Yeah programming is good 👍

slow imp
#

progamming 🔥 🗣️

#

def not spelt wrong i swear

open needle
#

bruh

bronze violet
#

Can i create a script file in python?

open needle
#

yes

bronze violet
#

Ohhhh

#

Modules suggestion

brisk badge
hallow magnet
quick sleet
jolly palm
#

lmao

sharp crystal
#

@dense hawk heyyy slayraaaa

crude valley
#

@pallid plaza @honest coral @safe tangle can u pls delete ur posts in the community corner cuz we want they to focus in the bringing back 5v5 ctf , and ur posts like no needed to be posted
ty guys

crude valley
#

its about capes

#

its not like suggestion of the cubecraft

pallid plaza
#

i mean it's the community corner after all... you can make forum posts about anything minecraft related?
also this is the programming channel

honest coral
crude valley
#

they will fix it dw

honest coral
#

It said I was in a party then I done slash p status and said I wasn’t in a party

crude valley
#

but u in party

honest coral
#

I’m not

#

I can’t send pics

#

Here

crude valley
#

go to general

#

send me in the dm

honest coral
#

K

#

I sent it

#

Blockwars ain all that

#

Ffa n skywars is legit where u get all sweats

steep dagger
#

mfw one of our feature branches is 2 years old with 474 commits

#

hey Bob could you review this real quick

stark horizon
paper rain
steep dagger
#

im around in this channel lol

#

yes I still exist

stark horizon
paper rain
stark horizon
paper ravine
#

Yo cubecraft are you guys hiring programmers?

fossil dock
paper ravine
#

I do a level computer science and get A* in coding and A in every other section would you guys be able to offer me a job/ apprenticeship?

paper ravine
#

It doesn’t say anything about apprenticeships just I’m assuming full time positions

pallid plaza
#

if they ain't hiring, they ain't hiring

fossil dock
paper ravine
#

You lit joined 3 days ago

supple schooner
#

...

pallid plaza
#
  1. your pfp sucks
grizzled dock
#

Real

strange monolith
#

Hi, there seems to be a problem with the server. Mostly in eggwars... At first, It was the chunks not loading and now it's players becoming invisible. It's not a problem from my client since i don't encounter this problem on other servers... And i'm not the only one experiencing it...

pallid plaza
strange monolith
#

Really?

pallid plaza
#

others here are also experiencing it on skywars

strange monolith
#

Oh!

#

I assume it was all due to the recent server overloads?

fossil dock
fossil dock
#

You're welcome! CCsnowmansurvival

open needle
strange monolith
#

😁 ty

brisk badge
steep dagger
onyx fable
#

/kill @e

steep dagger
#

no thank you

pallid plaza
pallid plaza
#

epically dies

knotty niche
#

= no jump

elfin stratus
#

/effect @a lucky 999 255

pallid plaza
#

love it

pallid plaza
brisk badge
#

Or no knockback

#

A player isn't always jumping when they are in air

minor roost
#

@compact sage

fading river
#

c

slender nebula
#

hiii

primal haven
#

yo is cube down for everyone

primal haven
#

tyyyy

quiet marlin
quiet arrow
#

Am on vacation now 😛 but I'll try and get some rough stuff going

open hazel
#

Any javascript buddy ?

jolly palm
open hazel
#

Yo

#

I am looking for a coding Buddy

jolly palm
shy urchin
#

c

open hazel
random quail
#

@muted walrus y smelly

paper ravine
#

Y’all have got to do something about the hackers in bedwars

supple schooner
paper ravine
#

Bro there is so many just get a better anti cheat

#

If I report one person and they get banned it means nothing they will just make a new account

#

So it is only and anticheat that will help

minor roost
#

server full ?!

quiet arrow
#

There is someone called AWS in my IT course 😭😂

#

I'm dying

jolly palm
#

Amazon Web Services 😭

#

Lets call him IT Jeff

steep dagger
#

no way thats a real name 💀

potent citrus
minor roost
potent citrus
#

Yeah

quiet marlin
quiet arrow
steel badger
#

It’s pronounced like Aus

#

as in Austin without the “tin”

normal shadow
#

Looking for Java dev (not paid) dm me!

vague olive
#

come va?

normal shadow
#

Bene

steep dagger
#

who's gonna take you up on that bro 💀

#

people join things for free when they are interested in what you are doing

#

but you can't advertise here so

hollow viper
#

can some won play

jolly palm
#

Fesa are there colored nametags on CC Java Like in Bedrock?

#

Would be cool to get the raw format of a Player for that too

quiet arrow
#

Yeah, but the leaderboard doesn't have it

#

Only in chat

jolly palm
#

Sad

quiet arrow
#

So, no reliable way to provide it for all users

jolly palm
#

I See

#

The API I use for the Bedrock also only supports the players from the leaderboard....

quiet arrow
#

Yeah, just reads the leaderboard data from the GUI in game

jolly palm
#

Still waiting for redned to implement a /profile cmd

next meadow
#

hiiiii fesa

quiet arrow
#

Hello

violet rune
#

?

steep dagger
#

:

brazen forge
spring quarry
#

@trail talon

trail talon
#

What

spring quarry
#

Im ur mom

trail talon
#

No you aren't

minor roost
#

what languace does this use

supple schooner
minor roost
#

ye

supple schooner
#

Java

minor roost
#

isnt java minecraft in java?

#

oh nvm

#

cubecraft programmed in java u mean?

supple schooner
#

Well they use java for both platforms

minor roost
#

ok

supple schooner
minor roost
#

ty

undone loom
#

is the player's lvl information stored only on the server? i cant find information about lvl in the player's fields? Java Fabric

#

i can use /who but is there really no way to get this using player class fields

quiet arrow
#

Experience level isn't shared yeah

#

You'll have to get it from hover text

pine flax
#

42 65 74 20 79 6F 75 20 74 6F 6F 6B 20 61 20 77 68 6F 6C 65 20 68 6F 75 72 20 66 6F 72 20 74 68 69 73 2E 20 59 4F 55 20 49 44 49 4F 54 21 20 41 6E 79 77 61 79 73 20 73 68 61 72 65 20 79 6F 75 72 20 64 69 73 63 6F 76 65 72 79 2E

#

Let's see who gets it first

frail fulcrum
#

hello

#

which type of programming is this place for?

steep dagger
#

talk about php lambos

pine flax
#

Nice

pine flax
frail fulcrum
#

anyone got any idea why i dont have permission to type in support

frail fulcrum
empty glacier
#

Lol i just joined the server

#

it took me 15 seconds but i liked your idea

#

make a harder one

pine flax
#

Nice

#

This gonna be a mix of several scrambled ones

#

59 6F 75 20 64 69 64 20 69 74 2101001001 00100000 01100111 01110101 01100101 01110011 01110011 00100000 01111001 01101111 01110101 00100000 01100100 01101001 01100100 00100000 01101001 01110100 00101110 00100000 01001010 01110101 01110011 01110100 00100000 01110111 01100001 01101001 0111010059 6F 75 20 6464 20 69 74 21

empty glacier
#

oh okay

#

never mind

pine flax
#

Bye

empty glacier
#
59 6F 75 20 64 69 64 20 69 74 21

01001001 00100000 01100111 01110101 01100101 01110011 01110011 00100000 01111001 01101111 01110101 00100000 01100100 01101001 01100100 00100000 01101001 01110100 00101110 00100000 01001010 01110101 01110011 01110100 00100000 01110111 01100001 01101001 01110100

59 6F 75 20 64 64 20 69 74 21
empty glacier
#

uhhhhhhhhh

#

okay

#

ill send you one later

pine flax
#

K

pine flax
#

K

#

Actually no

empty glacier
#

that sounds realistic

empty glacier
# empty glacier ill send you one later

@pine flax Here's a little challenge.
Those sentences are encrypted with a monoalphabetic substitution cipher, so you'll need to think for yourself and decode them by hand using context/punctuation clues.

Anyone is free to try.

1. Kh qpbdc'or vrri fpler. (217)
2. Ikpf yf jo k xjkqixun. (186)
3. M zulk ykuliuwwe. (128)
4. Hcr'e lecx nz rcw. (193)
5. Hqkgxv? A rkm'n hqkgxv. (238)
6. Ohm smxfe'kj bumou. (205)

Each text is an English sentence that makes sense. To confirm that your answer is correct, convert the plaintext into numbers using A1Z26. The sum of those numbers should be the number in the parentheses.
DM me the 6 decoded sentences if you want to show you did it.
pine flax
#

I gtg to my school

empty compass
#

What programming does cubecraft use? Java?

supple schooner
quiet arrow
#

Has anyone used LibreELEC here?

pine flax
#

But using the hin numbers it was easy

#

Made a lot of assumptions though

#

And since I'm evil I won't dm you

#

I'll type it here

#

But these sentences are kinda creepy

#

Anyways here ya go

  1. It's something's very something
  2. Something to do a something
  3. I something something
  4. That's something an something
  5. Really? I don't really.
  6. You something something
#

Weird

#

That makes sense

#

Maybe i quit

jolly palm
quiet arrow
#

yeah

jolly palm
#

Nah sorry Last time I used that on a Raspberry was Like 3 years ago haha

empty glacier
terse slate
#

Division by zero is crazy

loud cove
#

no

#

GUYS I CREATED A CUBECRAFT XP PROGRAM
IT ADDS XP TO YOUR ACC
JUST COPY AND PASTE IT INTO PYTHON
BIG THANKS TO ChatGPT FOR HELPING OUT ON MAKING THIS PROGRAM
BUT IM STILL THE MAKER CAUSE I GOT THE IDEA

#

(its not real it dosnt actually add xp plz dont ban me cubecraft)

#

it dosent work

#

i messed up the thing

#

im too lazy to fix

#

fix it yourself

open needle
#

Omg

jaunty plank
jaunty plank
#

Virus

#

💀

#

@spice maple send me proof in dms

#

See it's fake

#

💀 it aint

#

Did Yiu test it?

#

Show me pic

#

SuS

empty glacier
#

this is hilarious

jaunty plank
undone loom
#

[Render thread/INFO]: [System] [CHAT] You're voting too fast! Please slow down.
@quiet arrow have u ever faced such a problem?

quiet arrow
#

Yeah, it just happens when you vote change your votes too fast

#

I've never had it with my auto vote

undone loom
#

it happened once with my auto vote

#

like 10 min ago

#

weird

#

it worked for two months without any errors, bugs or smth

#
private static void clickOnSlots() {
        if (client.currentScreen != null) {
            String title = client.currentScreen.getTitle().getString().toLowerCase();
            if (i % 3 == 0 && title.equalsIgnoreCase(screenTitle) ||
                    i % 3 != 0 && !title.equalsIgnoreCase(screenTitle)) {
                clickOnSlot(i);
                i++;
            }
        }

        GameSlotsUtil gameSlotsUtil = new GameSlotsUtil();
        slots = gameSlotsUtil.getSlots(gameType);
        if (i < slots.length) {
            scheduler.schedule(AutoVoter::clickOnSlots, 50, TimeUnit.MILLISECONDS);
        } else if (i == slots.length) {
            scheduler.shutdown();
        }
    }
#

do i need to set the delay to 100 or even more?

open needle
jaunty plank
open needle
#

im joking btw, dont try it out

jaunty plank
#

@ocean cliff why you left

quiet arrow
#

100ms, and 10 tries max to open the (next) menu

ocean cliff
jaunty plank
foggy bloom
#

@fair crest

fair crest
#

?

#

@foggy bloom

#

??

undone loom
jaunty plank
#

Sry man 😔

willow delta
pallid plaza
#

fella gets banned for creating a fake virus
lmfao

wind sapphire
#

I keep dc ing

vital summit
supple schooner
#

💀

fluid fog
vital summit
fluid fog
vital summit
fluid fog
#

Heck yeaaaaaa

vital summit
#

Couldn't be a scam for sure

fluid fog
#

Lemme run it and see my totally not rigged outcome!!! 😄

vital summit
supple schooner
vital summit
supple schooner
#

I wonder how it looks like in java

fluid fog
vital summit
vital summit
fluid fog
supple schooner
#

Ops I wrote extra lines

vital summit
#

those 6 words are so

#

gross

supple schooner
#

Fr

vital summit
#

Trying out Django with Tailwind

#

THIS CRAP IS SO HARD TO SET UP FOR PYTHON

supple schooner
hallow magnet
#

nah java> python

quiet arrow
#

they don't really have much to do with each other HoloThink

vital summit
# quiet arrow why would it be hard

Tailwind is mostly made for ReactJS, I saw more than 12+ tutorials how to JUST SET UP tailwind in django and only one of them worked. Even then I had to run like 10'ish commands.

quiet arrow
#

tailwind is a ccs framework

vital summit
#

In Next js (or react) it takes like 3 commands

quiet arrow
#

django is a web framework for python as far as I know

vital summit
vital summit
quiet arrow
#

yeah, I like it a lot too. But idk what that has to do with django

vital summit
#

I picked django because it has some built-in admin pages, user login system and etc

quiet arrow
#

it shouldn't be any harder, compile your css file. Serve it, solved

vital summit
#

It was the only reason

vital summit
#
HelloWorld("print")
supple schooner
#

Java's code is just funny

lofty osprey
#

hi

#

there is proplem with skywars servers in team of two

#

my ping above 300ms in it

#

and in solo 86 and under

#

not just me

#

me and mt friend

fossil dock
jolly palm
#

The Moment programming goes wrong

supple schooner
#

💀

pallid plaza
lofty osprey
#

hi i was playing with my friend bedwars team of 2 and we play game to three games then the servers closed and opend after some minutes i dont know why

#

and thx for everything

supple schooner
fossil dock
solar vale
#

r

wet schooner
#

Node.js :p

wet schooner
vital summit
vital summit
#

When you create a new app in django and create superuser (admin) in console you will get access to admin panel where all database models are visualized

wet schooner
#

wow

vital summit
mortal spire
#

who knows python here?

jolly palm
mortal spire
jolly palm
#

Well thanks Discord
@mortal spire

mortal spire
supple schooner
mortal spire
jolly palm
supple schooner
mortal spire
quiet arrow
cursive quail
#

Hello, So I started my own bedrock server on my laptop and set it up and started it

#

But for some reason It's showing the version to be 1.21.20.24 Beta

#

And I don't know how to change it

#

Please help me

pallid plaza
cursive quail
#

Thank you for answering nonetheless

#

👍

harsh geode
#

Hey

#

I have problemy

#

I cant chose games on battle arena but I have rank...

quiet arrow
#

@harsh geode Which game

harsh geode
#

Duels

#

When I chose op warior It choses random

#

I rejoined but still it doesnt work

#

It just always join to random kits not kits i chosed

quiet arrow
#

@harsh geode should be fixed now

harsh geode
#

It works

#

Thx

#

You are nice

dusk trench
#

what does /callback do

steep dagger
#

a callback is just inline function bro

#

like what u put in a .filter()

fossil dock
hoary skiff
#

im a full stack and blockchain developer.

#

is there anyone looking for a dev?

pallid plaza
#

is cubecraft hiring new devs?

fossil dock
supple schooner
#

👀

dry ermine
#

Yooooo ooo

#

Been I while I have been here

supple schooner
dry ermine
#

I started at 15

#

Now am 17 still don't know alot

#

🗣️ am cooked

supple schooner
dry ermine
#

W

#

We cooked

#

Then

#

😆

#

Sometimes I wonder what am I really gonna use coding to do

#

These days most people don't code 😭 and they gat functioning apps and stuff

supple schooner
#

Well AI, but I don't think it will replace all the developers, but some. As in future there should be real human who check whether the Ai create the correct codes or not

dry ermine
#

Except

#

U really

#

Really skilled

supple schooner
#

I'm not haha

dry ermine
#

Same either

#

U know ai also replacing artist

#

These days

#

💀

#

Too

supple schooner
#

One thing I don't really like about Ai is that it destroying art community.

dry ermine
#

YYHG

#

Frrrr

#

Fe

#

Fr

#

It has learnt how to copy people's art style

#

And also art process

#

☠️

supple schooner
#

People just use Ai to generate the "art" and said 'oh this is drawn by me'

dry ermine
#

Yuh

#

Always wondered how the future gonna be in 5 yrs

supple schooner
#

I can't really think about it. Everything has dark side

dry ermine
#

Yuu

#

I guess we just try our best and hope

#

Wish the best tho

supple schooner
#

ye

dry ermine
#

Anyone know how to use android studio

steep dagger
#

android studon't

dry ermine
#

How does an optimization mod work bruh

#

Like sodium

vocal night
#

It optimizes

pallid plaza
quiet arrow
dry ermine
#

Huh

pallid plaza
steep dagger
#

and that's to do less

#

where mc would usually load up a bunch of stuff all the time, the modders have spent time making a balance between avoiding doing things where possible and not affecting the gameplay too much

#

they also have the advantage that they can rip up old bits of code with lots of slow quirks and replace it without having to make it as robust so it will definitely work for 50 million people running the game on ancient tech

open needle
#

anyone know why i keep getting sent to asia instead of EU

warped cedar
#

Hello, any idea when will CubeCraft hire devs? Is it announced? Or do I need to check jobs page regularly? When they opened it the last time & for how long?

solemn wharf
#

What

brisk badge
warped cedar
#

ok thanks!

gusty mirage
leaden osprey
paper rain
#

I keep geting false positivies "You are not allowed to say this" and "Couldnt proccess ur message" errors on java. Now i suppose the second one is due to something being overloaded but how tf can such a simple thing be overloaded? What changed cuz i've never seen such problems in the past? Tho the more intresting part is how can something cause a false positive?

#

how does the message system work on java lul

quiet arrow
#

If you're feeling like being useful, we'd be really happy to receive a bug report regarding the "You are not allowed to say this" with concrete examples, such that we may fix them. https://cbecrft.net/bugs

paper rain
#

well i cant really reproduce the bug consistently. It just sometimes happens then stops then starts again

#

and theres nothing that ik thats causing it, so making a vid showing it wont do anything

#

so as long as i do feel useful, im also too lazy, and i doubt it would help

quiet arrow
#

If it appears random, a video would be very helpful

late flare
#

Ban Me

#

On Your Discord Server

quiet arrow
#

You are aware you can just leave right

paper rain
#

tho it does make me wonder how it can help?

last hare
#

Cubebug

terse slate
#

Interesting fact: in kotlin, standard types are primitive when they're non null and linkable when can be null

fun main() {
    val i1: Int? = 5;
    val i2: Int = 10;
    println(i1.javaClass.simpleName); // Integer, which is linkable
    println(i2.javaClass.simpleName); // int, which is primitive
}
finite ruin
faint estuary
#

I had only 1

vital summit
delicate coral
#

fun fact, tiktoks backend is so bad and you can easily exploit their username system!

steep dagger
#

:o interesting!

paper rain
#

hardest api I've ever seen to reverse enginer

#

disney's + was the easiest for example xD

vital summit
#

@south moss this channel is for you istg

paper rain
#

U can download subtitles/audio of any given show

#

And if u are bored, u can root your phone, dump widevine keys, and download/decrypt any show u want

vital summit
#

wow

paper rain
#

But yea drcrypting widevine is hard

#

And im pretty sure u can only decrypt lvl 3 which is the easiest

#

So max 720p

supple schooner
#

Java moment 💀

jolly palm
#

Lmao

vital summit
#

💀

terse slate
#

just a class with a lot of final variables

#

normal practice

supple schooner
terse slate
#

I love java for object-oriented programming

supple schooner
#

I'm just making mod for mc java lol

terse slate
#

You just didn't code on the C++

supple schooner
odd stirrup
onyx silo
#

Hello everyone, if I send you my model based on convolutional neural networks, can you check it for the presence of cats, dogs and elephants?

quiet arrow
#

lol

terse slate
#

Even C has increment and decrement, but Python doesn't warz

int main(void)
{
  int i = 6;
  i++;
  i--;
}
#

f

quiet arrow
#

x += 1

#

Really a non issue tbh

steep dagger
#

me when I still don't understand object oriented programming

steep dagger
#

biggest rabbit hole ever

paper rain
supple schooner
steep dagger
#

it's so satisfying I wish everyone did it

#

when there's 100 lines of imports its the best

paper rain
#

Nah, u group them by their meaning

onyx silo
#

Well, will someone check it out?

terse slate
#

What does this code? 🙂

int main(int argc, char* argv[])
{
  void (*f) (int);
  f = foo;
  f(1);
}
supple schooner
#

C++?

terse slate
#

C/C++

#

yeah

supple schooner
#

What's foo? Function?

terse slate
#

yeah

supple schooner
#

Or variable

terse slate
#

that's function inside a variable

supple schooner
#

Interesting

terse slate
#

type (*pointer_name) (param_types);

#

and pointer_name = function_name

terse slate
#

typical C functions and types naming be like

#include <stdio.h>

typedef unsigned int I_MUST_BE_NO_LOWER_THAN_0_NO_KIDDING_PLZ;

int main(int argc, char* argv[])
{
    I_MUST_BE_NO_LOWER_THAN_0_NO_KIDDING_PLZ i = -1000;
    printf("%d\n", i);
}
supple schooner
#

I like java more XD, cuz the symbols easier to remember

terse slate
last dirge
#

cool

#

/rank

#

?rank

terse slate
#
#include <stdio.h>

int strlen(char str[], int size)
{
    int length = 0;
    for (int i = 0; i < size; i++) {
        if (str[i] == '\0') {
            return length;
        }
        length++;
    }
    return length;
}

int main()
{
    char str[64] = "Hello World!";
    int size = strlen(str, sizeof(str) / sizeof(str[0]));
    if (size < 64) {
        int fill = 64 - size;
        for (int i = size; i < fill; i++)
            str[i] = '*';
    }
    printf("%s", str);
}

I did this very hard code, to just fill string with stars before 64 size

#

But I could make it in 3 lines using Python

#
str = "Hello World!"
str = str.ljust(64, '*')
print(str)
#

Low Level vs High Level be like

undone loom
#

choosing a specific programming language is also a kind of skill

brisk badge
#

What exactly are you trying to accomplish?

#

Filling the string with asterics so that it gets length 64?

terse slate
brisk badge
#

Are you using c or c++?

terse slate
minor roost
minor roost
pallid plaza
#

fun fact: if you play minecraft bedrock with bedrock launcher, you can freely access the game's internal files
well there's this file highlighted in the picture that if you open it, you can read all the words included in Minecraft's profanity filter.
thing is... it's just hilarious to read. lmfao

supple schooner
pallid plaza
#

it isn't even a json
it's literally raw text

supple schooner
#

Well isn't raw text is from Json?

pallid plaza
#

btw yep i noticed minecraft likes to use them jsons a lot

supple schooner
#

Data driven, easier

#

Like java, you can modify them

pallid plaza
#

yeah lol

supple schooner
#

I mean Minecraft java

strong dust
#

lol

supple schooner
#

Welcome to the world of programming triggeredwarz

jolly palm
#

Haha

vestal shell
#

pmmp sitting here your mother

brisk badge
supple schooner
#

Data driven ye

brisk badge
#

It is super customizable that way

brisk badge
minor roost
supple schooner
#

imagine wrong id for blocks/items💀

coral turtle
#

Teach me the concepts of coding, please, i want to learn

#

One step at a time

supple schooner
terse slate
#
#include <Windows.h>
#include <string>

int main()
{
  int time = 0;
  while (true) {
    HWND hwnd = GetForegroundWindow();
    SetWindowTextA(hwnd, "YOU\'RE HACKED " + std::itoa(time));
    time++;
    Sleep(500);
  }
}
proper bramble
#

Bedwars is my hobby

#

My nick in minecraft natowski2014

supple schooner
proper bramble
#

2014 is year my beaby sister

#

I know you

#

In fre for all

steep dagger
#

she's not a baby anymore then!

jolly palm
#

Do any of you know which servers in the Bedrock Edition offer a public API?

coral turtle
wise hound
#

theres also other free sites but you just gotta look

still urchin
vital summit
#

^^^

supple schooner
#

Anolt doing something? 👀

vital summit
#

I tried to clean up chat 💀

jolly palm
#

Does anyone have an idea for a web-project that I could code?
Everything I have released so far is ready so that I need new ideas haha

ivory flume
#

AAAAAAAAAAAAAA

sharp crystal
#

@ivory flume no way 😮

ivory flume
#

yes way

quiet arrow
vital summit
quiet arrow
#

I don't think it's best for anyone

vital summit
steep dagger
#

backslash in paths is just criminal

plush walrus
#

so paths are foo\\bar\\baz

#

🤮

knotty niche
#

Mac os

final lintel
quiet arrow
#

Both

steep dagger
#

Mac OS for crispy text rendering, Linux for everything else

paper rain
#

optimize ur website

#

(pretty sure the largest contenfull paint is so high due to my goofy wifi)

#

(still u could use cdns for pictures cuz they load slowly)

jolly palm
# paper rain

Was a rushed Release bc I moved CubeStats to another Domain
But yea will do

jolly palm
paper rain
#

also link ur github on ur site

#

i wanna the the css behind ur site cuz i suck at it

#

and the menu animation is cool

jolly palm
paper rain
#

could be, like i said i suck at css and frontend

#

can never understand how ppl make pretty pages

quiet arrow
#

tailwind so nice to use

jolly palm
paper rain
#

xd

jolly palm
paper rain
#

how do u update cubecrtaft stats?

jolly palm
paper rain
#

like u have to somehow get this data from

quiet arrow
#

🫡

paper rain
#

i dont remember cube having any public api

quiet arrow
#

I do

jolly palm
paper rain
quiet arrow
#

it's my api

paper rain
paper rain
#

still u have to get the data from somewhere

#

semi manually from client?

quiet arrow
#

from everyone on laby using my addon

paper rain
#

lmao

#

aint no way

jolly palm
#

Yea

#

Hahah

paper rain
#

i used to make labymod addons

#

quit after cube updated from 1.12.2

quiet arrow
#

There are 41 people using it now

paper rain
#

nice

jolly palm
#

Well would be nicer to have a Public API but I use what I get haha

quiet arrow
#

lets hope they all open the compass lots 🙏

jolly palm
paper rain
#

i just looked at my clan tag addon

quiet arrow
#

It's the same

#

but just people haven't relogged yet

paper rain
quiet arrow
#

It's a bit dumb all in all

paper rain
#

hmm

quiet arrow
#

actually I'm not too sure how it chooses which lucky islands to use... well problem for later

paper rain
#

wheres ur api?

quiet arrow
#

I'd have to check

paper rain
#

wanna see

quiet arrow
paper rain
#

aint u scared of dos?

quiet arrow
#

I'm hoping everyone is kind

#

and you'll just get cut off if you try too hard

paper rain
#

yea ig

#

plus ur using github pages

#

never got to themn

#

used to use gitlab so had to self host

#

should prob switch

quiet arrow
#

that's just for the docs, and it's just mkdocs doing it automaticlly lol

jolly palm
#

Just use a vps 🙂

quiet arrow
#

mkdocs gh-deploy

paper rain
#

im poor

quiet arrow
#

the actual api runs on a vps yh

jolly palm
paper rain
#

ur emoji is scary

jolly palm
paper rain
#

in my mind, when someone uses it, they are either 30+ or are passive agressive XD

jolly palm
#

Well I Work as a Frontend Developer so...

paper rain
#

well thats cool

jolly palm
#

Well

quiet arrow
#

🙃

#

I've rolled over 😟

jolly palm
paper rain
#

bruh

jolly palm
quiet arrow
paper rain
#

nothing just slightly funny that u have to search for it urself

quiet arrow
#

You can just use the docs

paper rain
#

https:// ameliah.ar t/cubepanion/stats/games
found it tho

quiet arrow
#

they're correct now

paper rain
#

oh-

jolly palm
#

I put a lot of time in this documentation back then to study it carefully, but I also got help from Fesa a few times

quiet arrow
#

I did not put a lot time in the documentation BibblePray

paper rain
#

wait what

#

u can put body in GET requests?

quiet arrow
#

It should be post 😂

#

But yes you could

paper rain
#

oh ig it depends on the client

#

i remember axios not allowing it

quiet arrow
#

Yeah, I know some clients block it

#

Not that you should do it

#

Anyway, gtg eat

paper rain
#

enjoy your meal

quiet arrow
#

ty

quiet arrow
jolly palm
open needle
jolly palm
coral turtle
#

I wish i was free but
...
I don't have the patience to code yet

open needle
open needle
coral turtle
#

I dont wanna code tho... I... I dont know what to do with my life because of mom... : (

steep dagger
#

graphic design is my passion

coral turtle
steep dagger
#

not at interfaces

#

Well good interfaces lol

#

it's good for coming up with ideas tho

open needle
coral turtle
#

Un employment is going crazy

steep dagger
#

people have been worrying about technology taking everyone's jobs since 1750

open needle
coral turtle
#

Man my mental health is all time low

#

I dont know...

open needle
steep dagger
#

sewing machines

verbal saddle
#

ainainainain ???

sharp crystal
sharp crystal
#

Can you show something that you have made?

#

@quiet arrow I hate drupal

quiet arrow
#

I don't actually have to use it ✌️

#

so no idea

sharp crystal
#

I need to learn it for work

#

Its giving me headaches

quiet arrow
#

you're alr down the hellhole with php, what's one deeper for you

quiet arrow
#

😛

sharp crystal
#

We are currently at the point that we only use laravel

#

which is fine tbh

quiet arrow
#

Laravel was fine

#

I like asp core more tho

sharp crystal
#

wordpress bedrock 🙂‍↕️

sharp crystal
#

Before

quiet arrow
#

Laravel in c# ig

sharp crystal
#

Oo

#

fancy

quiet arrow
#

But even bigger framework I think

sharp crystal
#

I will look into that tomorrow

quiet arrow
#

It's really nice to work with, but c# naming conventions make me want to throw up

#

And I'm not sure they'll ever not make me

sharp crystal
#

have you ever seen the wordpress coding conventions

quiet arrow
#

Nope

sharp crystal
#

its basically

#

functions like this

quiet arrow
#

Not planning to ever use that 🤭

sharp crystal
#

your_function_name

sharp crystal
quiet arrow
#

Just like python

#

I'm used to that tbhh

sharp crystal
sharp crystal
quiet arrow
#

Python was my first language

sharp crystal
#

cute

#

its a good starter languageee

#

i started with js

quiet arrow
#

I never actually learned js at school, my year still had c++

#

I might've just not gone to the lessons tho but ykyk

stable forge
#

Coded a drop rollercoaster using only command blocks.

jolly palm
vital summit
#

Imagine a discord where you can hang out only using post requests

vital summit
vital summit
#

I love js for it's syntax

quiet arrow
#

My second language was the one Matlab uses

vital summit
#

Back in 2020 when I was younger, I learned Kotlin (android development)

#

and lost interest

#

and last year tried learning discord bot coding

#

I didn't really care much about language

#

I was just needed a good tutorial

#

I saw an active youtube creator MrJAwesome and just copied the code line by line

#

Made several dumb mistakes

#

And eventually got used to them and I learned js basics on the way

vital summit
#

Learning git

quiet arrow
#

It's a site with a port on it and some aluminium foli to keep it warm

jolly palm
jolly palm
jolly palm
sharp crystal
jolly palm
terse slate
#

Rust is faster than C++ 💀
Java eats a lot of memory
Python is really slow

steep dagger
#

I never knew Perl was slow

#

Rust isn't necessarily faster than C++

#

It's likely that C++ more often has expensive abstractions and it has quite a slow standard lib

#

I have no idea why Typescript is apparently different and takes 5x longer? than javascript on that list given that they are exactly the same thing

tidal minnow
#

lol

terse slate
#
public class CopperBull {
    private String name;
    private boolean isSteamOn;
    private boolean isActive;
    private int heatLevel;

    public CopperBull(String name) {
        this.name = name;
        this.isSteamOn = false;
        this.isActive = false;
        this.heatLevel = 0;
    }

    public void activate() {
        this.isActive = true;
        this.heatLevel = 100;
        System.out.println(name + " is now active. Heat level: " + heatLevel);
    }

    public void deactivate() {
        this.isActive = false;
        this.heatLevel = 0;
        this.isSteamOn = false;
        System.out.println(name + " is now inactive.");
    }

    public void startSteam() {
        if (isActive) {
            this.isSteamOn = true;
            System.out.println("Steam is now coming out of " + name + "!");
        } else {
            System.out.println(name + " is not active. Cannot start steam.");
        }
    }

    public void stopSteam() {
        if (isSteamOn) {
            this.isSteamOn = false;
            System.out.println("Steam has stopped coming out of " + name + ".");
        } else {
            System.out.println("Steam is not on for " + name + ".");
        }
    }

    public void increaseHeat(int amount) {
        if (isActive) {
            this.heatLevel += amount;
            System.out.println("Heat level increased by " + amount + ". Current heat level: " + heatLevel);
        } else {
            System.out.println(name + " is not active. Cannot increase heat.");
        }
    }

    public int getHeatLevel() {
        return heatLevel;
    }
}
#
public class Main {
    public static void main(String[] args) {
        CopperBull bull = new CopperBull("Infernal Bull");

        bull.activate();

        bull.startSteam();

        bull.increaseHeat(50);

        int currentHeat = bull.getHeatLevel();
        System.out.println("Current heat level: " + currentHeat);

        bull.stopSteam();

        bull.deactivate();
    }
}
open needle
terse slate
#

but ok

open needle
#

JAVA AND C# ARE THAT MUCH SIMILAR!?

terse slate
#

Any questions

#

?

terse slate
#

very

open needle
# terse slate yeah

broo... i can run this code in a c# compiler and i dont think they'd be errors x_x

open needle
# terse slate Copper Bull

the code is nostalgic
Did something similar when i learnt coding for first time. Instead of a copper bull i did a car

terse slate
#

🫡

#

and add uranium, pluto there

#

detonator

#

microcontroller with java-code

#

drop it from a plane

#

remotely detonate it

open needle
#

lol
Can java even do that XD

open needle
terse slate
quiet arrow
supple schooner
#

Fr

steep dagger
#

Microsoft Java

minor roost
quiet arrow
#

I mean, apart from super specific stuff,That's true for most 2 languages in the c family

brisk badge
minor roost
brisk badge
#

Not with primitive types

minor roost
jolly palm
steep dagger
#

so much better than anything I've made lol

open needle
open needle
jolly palm
# open needle Ok good Tell me when you've deployed it, I wanna try it out

Currently its an encypted localstorage Web App
I'm currently weighing whether I should load it on a localstorage based system or move it to a central server.
Both have their advantages and disadvantages With a local storage based systems, you would have to hack your PC to get the data.
If I put the data on a central server, you are protected firstly, but still more vulnerable than on your PC.
But you could access your data from multiple devices are not limited to one device.

open needle
open needle
jolly palm
jolly palm
terse plaza
#

t

vital summit
#

t

pallid plaza
#

s

jolly palm
# quiet arrow Self hosted server

I have to register a TPP (PSD2 third party distributer) in every bank that this tool should support then 😭
Well its hella secure then but stilllllll alot of actuall paper work haha

terse slate
#

An interesting fact: highly loaded YouTube rests on Python Flask

pure sentinel
#

hello

plush trench
#

.

terse slate
#

A list of all actual programming languages and frameworks

vocal night
#

almost

zinc steppe
#

its python, but with brackets

pallid plaza
#

bython isn't really a language

keen maple
zinc steppe
quiet arrow
terse slate
quiet arrow
#

The best language there is

#

Reject c syntax

vital summit
# terse slate

NextJS, NuxtJS, NestJS, Laravel, Tailwind, Blazer, Django, BunJS, Ruby on Rails, MeteorJS, Flask, CoffeeScript

supple schooner
#

What the heck

vital summit
#

Svelte, GatsBy, SolidJS, Phoenix, Symphony

vital summit
# supple schooner What the heck

JavaScript frameworks : Next, Nuxt, Nest, Meteor, Bun
CSS frameworks : Tailwind
Ruby frameworks : Ruby on Rails
Languages : CoffeeScript
PHP frameworks : Symphony

#

List might not be accurate

#

I just heard about their existence, don't know them deeply tho

terse slate
vital summit
#

Since you said there are frameworks too

supple schooner
#

Byethon, hithonthonkeyes

vital summit
#

Oh yeah I forgot Scalat

#

scala*

#

Or smth

#

I am not sure if it's framework or language tho

jolly palm
#

Best combo is Vue3 and Tailwind CSS with a RestAPI Data Base that is JSON driven

quiet arrow
#

Are you trying to sell something to your boss? You should add AI, and data driver business decisions somewhere in there as well

supple schooner
#

imagine coding half way and noticed the charger wasn't on skull_c My laptop just shutdown, luckily I enabled auto save

#

I got jump scared

vital summit
supple schooner
#

ikr

vital summit
#

NextJs for performance and Tailwind for modern design and easy to use

quiet arrow
quiet arrow
#

Merge remote-tracking branch origin/master feels close to home

supple schooner
#

Real

vital summit
#

I did learned how to commit crimes, but sometimes it doesn't count in contributions page

#

wait nvm not sometimes

#

always