#💻︱programming

1 messages · Page 33 of 1

dense zinc
#

Ik but personally prefer google

minor roost
#

What’s this chat for

lunar vapor
#

Programming... I think. Lol.

minor roost
#

Uhh /kill @e.

round pike
#

U might wanna look into PlayerMoveEvent and check if pistonhead is around that entity or u can look into BlockPistonEvent

ebon flume
#

anybody here proficient in writing lilypad plugins?

#

i'm trying to implement geysermc's floodgate in lilypad

lunar vapor
round pike
lunar vapor
round pike
lunar vapor
round pike
#

im only Java 😄

lunar vapor
#

Well.... Lol.

#

I am bedrock only.

round pike
#

yikes i dont thing thats have any diff 😄

lunar vapor
#

I mean JSON shouldn't be too different between the two..

round pike
#

well thats yeah

lunar vapor
#

You pretty good with it?

round pike
#

im alright with Java tho havent done anything with bedrock tho

lunar vapor
#

I haven't done anything on Java. Lol. May I DM you my JSON file for the entity?

round pike
#

yeah sure let me see that

lusty pagoda
#

Let's say
I downloaded the game from different browsers, I have enough storage to install, and everything normal.
But my game didn't install.
I shared the file to my old tablet with much less memory and it surpringly installed successfully.
My phone is android 10
My tablet is android 8
Why is it happening for me? Is it my phone? Or the file?

plush walrus
#

well check the app compatibility

wheat relic
minor roost
#

If I wanna modify vanilla clases

#

Like for example screen

#

I used my class name extends screen but it not works

#

What am I doing wrong?

north hinge
#

I'd say it's Circular Dependency Exception

lusty pagoda
lusty pagoda
plush walrus
lusty pagoda
#

Yes

#

Homescapes

hard dome
#

can create app for ios and android?

gaunt berry
#

tbh learning english to be able to explain what you need is kinda essential so id work on that first

brisk badge
gaunt berry
#

books exist

distant pasture
gaunt berry
#

congrats on dev @distant pasture

clever sluice
#

What's everyone working on? 🙂

distant pasture
gaunt berry
#

lists the players in a party who are ready to start the dungeon

plush walrus
pastel osprey
pastel osprey
#

Fastest discord bot in the Wilde Weste

plush walrus
#

Idk rust doe

pastel osprey
#

Lel

gaunt berry
#

rust is like

#

rusty

#

like really rusty

plush walrus
#

Lol

pastel osprey
#

Rust is like, spicy fast

gaunt berry
#

rust is fe2o3

pastel osprey
#

Rust is chemical reaction

sharp crystal
clever sluice
#

Rust = big brain

#

@sharp crystal do you have a github repo for it?

sharp crystal
#

like db etc

clever sluice
#

Remember, always use Github because then later in life when you're trying to get developer jobs, your Github looks active 🙂

sharp crystal
#

I know, haven't used github in a while !

clever sluice
#

Just don't accidentally upload/push your secret passwords 😛

sharp crystal
pastel osprey
clever sluice
#

Hahahaa I've done that one more than once

sharp crystal
#

i mean

pastel osprey
#

Don’t hack my postgres dB plz

clever sluice
#

@pastel osprey I expect these things from you 😄

sharp crystal
#

always start with the .gitignore

clever sluice
#

^

sharp crystal
#

im always ignoring my .gitignore

#

first line in .gitignore is .gitignore

pastel osprey
#

Yep

#

First line on gitignore is src

#

Can’t let anyone steal my ideas

sharp crystal
#

😂

gaunt berry
#

why use databases when you can just hire some people from india to save the data in a ms word table

sharp crystal
#

😩

#

true

pastel osprey
#

Docker + random db = free

#

Random dude in India =/= free

sharp crystal
#

Random dude in the netherlands !== free

pastel osprey
#

Exactly

gaunt berry
#

problem solved

pastel osprey
#

I mean true

brisk trout
#

But then he steals your data

pastel osprey
#

^^

#

All the credit card info that I have obtained legally will be in the hands of some random dude in India

gaunt berry
#

@pastel osprey congrats too

pastel osprey
#

thank!

dense zinc
#

Genius

#

I would too

pastel osprey
#

Lol

minor roost
#

I have 2 questions:

  1. Does RGB increases FPS?
  2. Does RGB uses more power compared to office keyboard?
gaunt berry
#

it barely uses any more power tho

#

and a usb keyboard can only use 2.5w max anyway

lusty pagoda
#

I just learned the if statements and the dictionary

gaunt berry
#

congrats!

lusty pagoda
#

Thanks babe

cinder mason
#

In what language

cerulean moss
minor roost
cerulean moss
minor roost
#

Try it by yourself

lusty pagoda
cinder mason
#

Gg

rose nymph
#

Question does "Command block" count as a programming language?

tawdry sorrel
#

Not rly

sweet barn
#

Commands themselves aren’t a programming language, however NBT in commands use a format similar to json which people commonly call “Mojangson”. Not really a programming language though

gaunt berry
#

id consider it a programming language if its used within a datapack

sweet barn
#

I’d argue JSON isn’t a programming language though

rose nymph
#

Idk idrc either way I'm just a command block guru... If anything I think its more of a gateway into coding than actual coding itself

#

Just thought I'd see some other peeps opinions

worldly osprey
wanton crag
#

JSON is just a data storing format, by itself it does nothing

gaunt berry
#

theres also that thing called functions

#

im talking about datapacks

#

and datapacks exist on bedrock although they are called behaviour packs there

#

or addon packs

#

can you like

#

read

#

lol

#

im not talking about json

#

functions arent written in json bro

#

how would that work

#

command blocks are json confirmed????

untold dagger
#

but json is just a format used to store data

#

in a format that pretty similar to js objects

gaunt berry
#

json isnt the same as mcfunction

#

pls

#

understand

#

that

minor roost
#

IDE*

#

Not sure

#

cause idk know anything but i'm pretty sure it's an IDE what you code with

gaunt berry
#

he sent a link explaining what an edi is, its not an ide

minor roost
#

HTML is the best programming language

gaunt berry
#

yes

sweet barn
minor roost
#

Im just curious, is Sentinel a packet-based cheat detection or bot-based cheat detection?

#

i am sentinel

#

Nah

#

U are a moderator

worldly osprey
sweet barn
#

putting text in a plain text file isn’t a programming language tho confusedcat

gaunt berry
#

wrong screenshot mb

gaunt berry
#

except for uwupp

sweet barn
#

I’d recommend looking into Turing completeness when it comes to differentiating something from a programming language to not being a programming language

gaunt berry
#

anyway, have a daily dose of find the idiot:

worldly osprey
#

and nice

gaunt berry
worldly osprey
#

Programing language imo - has letter + numbers + symbols + can make something out of it, programming language

sharp crystal
worldly osprey
#

when there are no doccuments on jda with mongodb, so u gotto improvise with what you have

#

i really need help...

plush walrus
worldly osprey
#

idk

#

i wanna use mongodb

worldly osprey
#

how?

#

i just satrted jds

#

so idk

#

not too woried bout that atm but alr

#

thanks albert

plush walrus
#

You're suppose to be looking for MongoDB library/documentation for Java not for JDA

worldly osprey
#

please dont ping and ive just decided to do a different style of database

#

as mongodb wont rlly work with jda no matter what i think of

worldly osprey
plush walrus
#

It probably would work but as u say...

wanton timber
worldly osprey
#

LEAVE ME ALONE

#

Im not using mongo anymore

#

And yes no way i was, probs bc i dunno how to use mongo with java

dense zinc
#

Much better than sql

warm oriole
#

sadge

#

yea ik

#

they said in 1 post they had a dev working on it

#

but that was a while ago

minor roost
#

Anyone knows how to bypass cloudflare's system while using vpn?

plush walrus
minor roost
plush walrus
#

It works for me with VPN

minor roost
#

What vpn are u using?

plush walrus
#

Don't have to bypass or anything

plush walrus
distant pasture
dense zinc
#

I need a VPN I just use free one rn

plush walrus
#

But I'd say it's worth it

gaunt berry
#

segway to todays sponsor: private internet access

karmic elm
sinful pollen
#

There's api for cubecraft?

#

If yes. Give me docs plz

orchid depot
sinful pollen
#

Oh. thanks

spring tiger
#

@minor roost Please don't ask for bypasses here.

minor roost
#

Didnt know that thing is illegal. Sorry

gaunt berry
#

professional developer here

gaunt berry
#

@full salmon hey, free ban mods gifted ban for 1 month forever

lusty pagoda
#

@gaunt berry

#

you mean~

#

and what's the difference

dense zinc
dense zinc
plush walrus
#

Hey, I wanna publish a simple library and I need some help with it as I've never done it.

The library has only 1 function so far but there won't be much so I can keep all of them in single file and then after importing it I want it to be just library_name.function_name() to call it, but when I read the docs on how to publish it it looks like there have to be some subdirectories etc.

spring tiger
#

docs should have somewhere a complete setup guide, but the way it works is:

your top level directory will have a setup.py or setup script of some sort
the name of your module, so library_name is the folder shown called example_package
the __init__.py file defines the folder it is in as a module.
That way you'd then be able to:

import library_name
my_class = library_name.example.SomeClass()

or

from library_name.example import SomeClass
my_class = SomeClass()
#

the setup.py/setup script just ensures you get all the right dependencies (if any) installed, and then installs your library_name into your python packages

plush walrus
#

and is it possible to just do library.library_file.function()? with example being the file where the function is?

spring tiger
#

yeah that's how it would work.
afaik you can't do library.function() (example_package.function()), as technically library is just a module, that contains python files.
hence the longer call, or just doing from library import library_file then you could do library_file.function()

plush walrus
#

alr, imma try later and see how it goes, thanks

spring tiger
#

I guess you could, if this is just a one off function

#

but in terms of if this is something you're going to add to, its better practice to separate into files, and only use __init__.py to initialise ( 😛 ) your module with imports and constants, etc.

#

wha

worldly osprey
#

how to i check if args = int?

#

in java

wild shadow
#

Well...

#

actually

#

try this

if (x == (int)x)
{
   // Number is integer
}```
worldly osprey
#

hmm

#

doesnt seem to work

wild shadow
#

show me

#

I wanna see your scenario.

worldly osprey
#

plz no bully just started jda recently

wild shadow
#

so the check is redundant

worldly osprey
#

so? what should i do

wild shadow
#

Nothing.

worldly osprey
#

class

wild shadow
#

args will never be int

worldly osprey
#

welp back to javascript i go then

wild shadow
#

but what are you trying to do?

worldly osprey
#

wdym?

wild shadow
#

What does args represent in this context?

worldly osprey
#

im trying to get a per guild number (idk why just learning databases).

#

so admin would do: <prefix>setnum <num>

#

but i wanna check if that <num> is an int

wild shadow
#

Is num a String?

#

Are you trying to see if a String represent a number?

worldly osprey
#

yes

wild shadow
#

one sec

#
public boolean isInt(String s) {
  try {
    Integer.parseInt(s);
    return true;
  } catch (NumberFormatException e) {
    return false;
  }
}```
worldly osprey
#

s being?

wild shadow
#

try this

wild shadow
worldly osprey
#

alr,

#

but if this is a boolean then how is that suppose to work?
Im trying to get the args and to check if they're an int, if they are then reply in text channel and update database

wild shadow
#
for (String s : args) {
  if (isInt(s)) {
    // reply in text channel, update database, etc.
  }
}```
worldly osprey
#

yes

#

indeed

wild shadow
#

Did it work?

worldly osprey
#

isInt isnt a method

wild shadow
#

show me again

worldly osprey
#

? show what

wild shadow
#

the error

worldly osprey
#

Cannot resolve method 'isInt' in 'SetStringCommand'

wild shadow
worldly osprey
#

nop

wild shadow
#

Paste it in your code, then try again.

worldly osprey
#

but where do i put the "for" statement?

wild shadow
#

I'd say right here.

#

replace the if (args == (int) args)

worldly osprey
#

ok

#

Oml

#

mate your like a dad to me

#

thanks for that i was stuck on it for a bit

#

still really dumb imo compared to javascript,
java: all of that above.
js: if(isNaN(args)) { }

worldly osprey
#

oh no way

#

i did do like basic learning just never really came accross something like that

wild shadow
#

I would argue that something like what I just did is very common.

hazy imp
#

Daddy

versed jungle
#

😳

worldly osprey
lusty pagoda
#

help

#

what's wrong here????

#
guess = " 655"
guess_count = 0
guess_limit = 3
out_of_guesses = False

while guess != secret_word and not(out_of_guesses):
    if guess_count < guess_limit:
    guess = input("Enter guess: ")
    guess_count += 1
else:
    out_of_guesses = True

if out_of_guesses:
    print("Out of guesses, you lose!")
else:
print("You win!")```
spring tiger
#

your last print isn't indented

#

and then the two lines below
if guess_count < guess_limit:
are also not indented again

lusty pagoda
#

File "C:\Users\SNOW\PycharmProjects\test\quartz.py", line 10
guess = input("Enter guess: ")
^
IndentationError: expected an indented block

Process finished with exit code 1

spring tiger
#

yeah you need to indent the line it complains about

#
secret_word = "Python"
guess = " 655"
guess_count = 0
guess_limit = 3
out_of_guesses = False

while guess != secret_word and not(out_of_guesses):
    if guess_count < guess_limit:
        guess = input("Enter guess: ")
        guess_count += 1
    else:
        out_of_guesses = True

if out_of_guesses:
    print("Out of guesses, you lose!")
else:
    print("You win!")
lusty pagoda
#

1 sec

rancid trail
#

How to java

lusty pagoda
#

@spring tiger which line i'm lost

spring tiger
#

the error tells you 😛 line 10

lusty pagoda
#

o

#

tyyyyy

#

Actually here's the link https://youtu.be/rfscVS0vtbw?t=8421

This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
Want more from Mike? He's starting a coding RPG/Bootcamp - https://simulator.dev/

⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello Wor...

▶ Play video
#

Just press and you will see
I think he or I made a mistake

spring tiger
#

it was indented correctly in that video from what I just saw

lusty pagoda
#

i copied the exact same thing

spring tiger
#

basically any code below if, while, for statements, etc. should get indented
think of it as blocks

lusty pagoda
#

i will rewatch maybe i made a mistake

lusty pagoda
#

Well

#

The problem was space

echo silo
#

question: would

    crash()
    crash()
end

crash() ```
crash my pc
#

(lua)

#

what im trying to do is make a function that activates itself twice

spring tiger
#

it won't crash your pc.
you'll get a recursion error

brisk trout
#

crash computer good yes

strong wagon
#

Can sumone teach me how to make a client for Minecraft???

#

...What's tht??? 🙂

lusty pagoda
#

Question

#

Nobody download this ok?

#

Oh it's .zip

spring tiger
#

You can just double click if it is a .mcaddon and it will install into your game

lusty pagoda
#

No no I'm on phone

#

I know I have to make it ".mcaddon" but where to import the file?

#

Resource packs or behavior packs?

#

nvm I will try both ones

spring tiger
#

On phone it should just load the game too

#

An mcaddon generally has both a resource pack and behaviour pack

lusty pagoda
#

Ohhhg

#

Sooo

#

I should copy the file and import it in both files?

spring tiger
#

as in manually copy them across?
You should just be able to tap on the .mcaddon and it will ask to launch Minecraft

#

and it will import them for you

lusty pagoda
#

I'll try

#

1 sec

#

RP or BP

spring tiger
#

An .mcaddon has both a resource pack and a behaviour pack
You have to have both.

lusty pagoda
#

OHHHH

#

GOT ITTRR

#

@spring tiger tysm ily
Its the 1st time an add-on works for me

zenith roost
#

@minor roost sup dude

gaunt berry
lusty pagoda
#

Yes yes I know

echo silo
#

im boutta watch 10 hours of roblox coding tutorials o-o

echo silo
#

im

gaunt berry
gentle patio
indigo nacelle
#

Good luck with Lua

rancid trail
#

Where arrays begin at index 1

plush walrus
#

🤮

valid sand
#

BEANS

#

Bye

wild shadow
#

🤮

minor roost
valid sand
#

yes

indigo nacelle
rancid trail
#

😂

untold dagger
#

anyone tried developing emulators here?

#

i made a chip8 interpreter

#

and a gb emulator

#

which was extremely broken

#

im working on a new one :p

marble solar
#

Hola

wheat relic
#

I made a

#

Phone emulator

#

And I did “inspect element” on hoogle

#

Google

#

And bam click the phone and it makrs a phone emulator

#

Easyyy 😎

#

And I made it cause I changed the elements of the page 😎 😎

lusty pagoda
#

Where to move "TP" files?

#

?

ocean sparrow
lusty pagoda
#

I did unpack it

#

But can you see the "TP" thingy?

#

TP BE
^ idk
BE: Bedrock Edition

ocean sparrow
#

No idea then, never really played on Bedrock :p

lusty pagoda
#

/demote @ocean sparrow "Doesn't Play Bedrock Edition"

spring tiger
#

@ocean sparrow Rename it from a zip to just .mcpack like I mentioned previously
It's a texture pack so it would go in resource pack

spring tiger
lusty pagoda
#

Oh

#

Thank you uwu

minor roost
#

Why does shaders doesnt work mc win 10? I've googled about it and im pretty sure it uses hlsl or some sort of language

minor roost
lusty pagoda
#

?!

minor roost
minor roost
hearty bloom
#

where do y'all store you coding projects (on linux)?
I was also going with /var/coding/... but imo there could be a better place to store (maybe under /home/majksa somewhere?)

hearty bloom
#

ye

hearty bloom
#

ye, went for $HOME/Projects and $HOME/Templates

#

thank yall

lusty pagoda
#

NOOOOO

#

@hearty bloom WHYYYY

#

YOU..

#

Resigned

tawdry sorrel
#

Hey I don't know if this is really good for this chat but does anyone know how to unclog a 3d printer extruder?

lusty pagoda
#

By "why" I mean tears

spring tiger
tawdry sorrel
#

Mine didn't come with that but it came with this

#

And when I say clogged I mean rly rly rly clogged

spring tiger
#

best to look up a guide or video online, if it's really clogged you either want to melt it out with a heat gun or buy a new nozzle. nozzles are pretty cheap

minor roost
#

Yo

#

Guys

#

have amogus in the sus with the wind blowing in fall of September 36 on April 2019 in the bells of mars. Of the time where the bears will migrate for the winter to find a place so they can then migrate to, in the summer they will be not but an admin in the hour of days or I will sacrifice myself to live!

#

Answer the question
So why did I have an aple in Monday? Where I can't eat apples

hearty bloom
quiet arrow
#

That's not very bright, did the petition work?

gentle patio
hearty bloom
#

if you knew the TT situation, you would have understood why I have done it. but I agree that choosing this way of spreading it was stupid and I deserved the punishment - even though almost no-one knee it was against tos

ocean sparrow
#

all the software and [...] that are not part of the default installation
Imo personal projects fall under this definition, and it's the only folder that is not overrun (like /var) by default linux stuff

minor roost
lusty pagoda
#

is learning programming online better than learning it at a college?

#

Because I feel learning it online is getting hard to me

simple hawk
spring tiger
#

I think you can apply that question to any subject @lusty pagoda
it entirely depends on your learning style

lusty pagoda
#

I understood it online... But once the guy reached the "while loop" in Python I got lost arranging the spaces

spring tiger
#

I don't think college will entirely help with that, since computer science college courses cover a lot more than just programming

lusty pagoda
#

And I heard I need another thing to learn among computer science as I might get like... Kicked out of my job

simple hawk
# tawdry sorrel Mine didn't come with that but it came with this

Also to use that tool I usually heat the hotend to about 20C above normal printing temp and put it into the nozzle giving it a wiggle around once its in there and extrude ~ 2 cm. If the material is properly baked into the nozzle i'd just get a new one as they're cheap and not worth the effort to clean if the clog is V bad. Just make sure to do a hot tighten when putting the new nozzle in else you'll end off worse off.

real prawn
#

@everyone

minor roost
#

no

real prawn
#

U will have fun xD

#

Ok no problme :)

tawdry sorrel
tawdry sorrel
gaunt berry
lusty pagoda
#

I only know HTML which isn't a "programming" language :/

hazy escarp
#

do you not even know js?

dense zinc
lusty pagoda
#

Python is easier than js

#

I can't start a hard thing

hazy escarp
#

yeah it's a bit easier but js is no difficult language unlike c++ for example

tawdry sorrel
#

Yep lol

tawdry sorrel
lusty pagoda
#

Are you sure?

#

@spring tiger what do you think? Is PHP more like HTML and easier than Python?

#

I know my friend who likes coding using PHP but I'm afraid I will stop at the 1st point

#

I really wanna do something...

tawdry sorrel
# lusty pagoda Are you sure?

Yeah I'm learning it rn I've learned alot of coding b4 but it's basically just an updated version of html from what I've heard

lusty pagoda
#

From your own perspectives, is it easy for a beginner like me who knows HTML to start with it?

tawdry sorrel
#

Yeah

lusty pagoda
#

Note again: I don't know any CSS or JS

tawdry sorrel
#

Another easy one is c#

lusty pagoda
#

I thought it's like C++

#

The C#

tawdry sorrel
#

Well they're alike but different languages

lusty pagoda
#

Useful?

tawdry sorrel
#

Ye

lusty pagoda
#

For example with PHP I can help my friend
What about C# what can I do?

tawdry sorrel
#

Like video games

#

Personally I made an anti virus / hacking software for myself with it

lusty pagoda
#

You wha-

tawdry sorrel
#

I have alot of free time

lusty pagoda
#

Okay then
I have some knowledge about Python and a lot about HTML
I can start PHP

tawdry sorrel
#

K good luck!

tawdry sorrel
# lusty pagoda You wha-

Also being 13 and knowing this much about programming I don't have much of a social life anyways lol

lusty pagoda
#

delete that 13 good!

hybrid yacht
#

Why

#

13 is allowed on discord

tawdry sorrel
#

Ye

hybrid yacht
#

Or for preadator reasons...

tawdry sorrel
#

I'm a boy just btw

hybrid yacht
#

Doesn´t change a thing

lusty pagoda
tawdry sorrel
#

Yeah

#

I'm in Canada so I dont

lusty pagoda
#

Such as Ireland where the min is 16

hybrid yacht
#

Any tips for learning java?

tawdry sorrel
#

Not rly

#

But if u need a website just DM me

gaunt berry
tawdry sorrel
#

Didn't u use to be a mod

lusty pagoda
#

WRIC? No I wish he was :(

#

or still

gaunt berry
lusty pagoda
#

I downloaded a file, I extracted it and did those stuff
I typed "cmd" and opened the command prompt, I typed ">echo %PATH%" but it's giving me an error

#

Basically

#

I can't type the command here

#

need a fast reply because I'm running out of time

ocean sparrow
#

and don't type the > at the beginning if i understood correctly

#

Fastest response ever

lusty pagoda
#

Yeah...

#

@ocean sparrow tytytytytytytytyyyyyyyyyyyy

lusty pagoda
#

...................

#

Command: "php - v"

spring tiger
#
lusty pagoda
#

0.0

#

It's actually PHP 8

#

I'll Google

#

I thought it's a problem I made though editing files

spring tiger
#

It's the same answer.
The error you're getting is not due to your PHP version

lusty pagoda
#

Can't get what to do

#

I'm lost in millions of words

spring tiger
lusty pagoda
#

C++?

#

Why?

#

Learn the PHP programming language in this full course / tutorial. The course is designed for new programmers, and will introduce common programming topics using the PHP language.

⭐️Course Contents ⭐️

⌨️ 1. (0:00) Introduction
⌨️ 2. (1:56) Windows Installation
⌨️ 3. (7:32) Choosing a Text Editor
⌨️ 4. (11:06) Hello World & Setup
⌨️ 5. (20:29) ...

▶ Play video
spring tiger
#

PHP requires that distribution to run, it's stated on the PHP install page

#

Many languages are built on top of others 😛

lusty pagoda
#

🤔 ឵឵

spring tiger
#

I noticed you used a 4 hour python course video
I don't know about you but personally I find it really hard to watch a video on someone programming, especially when there's no way to ask why they're doing what they are showing.
I'd suggest w3school or sololearn for learning languages because it goes through step by step with lots of examples, and sololearn at least has a massive forums section on each of the questions and answers

#

also 4-5 hours to learn a language from scratch is not very possible, it takes time to learn it (and that's not an issue!)

lusty pagoda
#

I mean like
I need somewhere to apply instead of just memorizing

#

huh.... 1 sec...

#

The 3 or 1 of them?

spring tiger
#

PHP may require all of them yes, depending on what you do

lusty pagoda
#

I only fully learned HTML
CSS wasn't taught correctly with solo learn
JS is a high level of programming

#

How? It directly started with fonts and stuff that I couldn't apply

spring tiger
#

They may go through styling with CSS, generally if you're doing web dev you'll never use just plain HTML, CSS is pretty common these days. It's just the style attribute of a HTML tag but in its own file (that is very brief, CSS is a lot more powerful than just that)
JS is commonly used as a communication layer between PHP and the page, i.e populating the page with content based on output from a PHP script

fluid stone
#

o

hearty bloom
real moss
#

Hm, interesting

#

Why is there a separate text channel for programming?

spring tiger
#

To talk about programming :P

real moss
#

I mean, how is that anyhow relatable to the CubeCraft server?

gaunt berry
real moss
#

still though

#

its still weird

gaunt berry
#

its not

#

its just fun channels

spring tiger
#

We have lots of developers who do porgramming 🤔

#

Programming.

#

Great spelling by yours truly

sweet barn
#

i love porgramming

lusty pagoda
#

i do too

gentle patio
#

sus

gaunt berry
#

@kind brook

real moss
#

Cause it IS weird.
That's perhaps the first ever server that I saw that is not themed as programming but has a programming text channel

spring tiger
#

¯_(ツ)_/¯

indigo nacelle
#

I too like porgramming

minor roost
#

@real moss

#

amazing profile picture

real moss
#

Thx

minor roost
#

Lol

unreal bay
#

Can I programming on iPhone?

gaunt berry
#

you can programming on almost everything

spring tiger
#

There are probably apps out there to do programming, but I wouldn't say it's the most intuitive to use

gaunt berry
#

you can also program on paper

#

you just

#

cant run it

unreal bay
#

Ok

spring tiger
#

@gaunt berry
well
if you are the compiler, you could convert your paper code to spoken commands
and your machine could be another person that listens to those commands
bigbrain

unreal bay
#

What programming does btw

#

I only know like

#

But I actually don’t know what it does

#

I got the pic from google

gaunt berry
#

since its not real code

tawdry sorrel
#

Yep lmao

gaunt berry
#

it seems to be an xaml design to be used with like uwp, wpf or xamarin

tawdry sorrel
#

seems like front end development mabye for a website or a game

gaunt berry
#

is it

#

seems like xaml to be, idk i dont use html

spring tiger
#

ye is html

gaunt berry
#

ok nerds >:(

plush walrus
tawdry sorrel
gaunt berry
#

xaml looks the same

tawdry sorrel
#

I dont know xaml so I cant rly judge that ig

gaunt berry
#

ok nerd

tawdry sorrel
#

lol

gaunt berry
#

do you think im that smart

sharp crystal
gaunt berry
minor roost
faint knoll
#

File f = new File("system32.exe");
f.delete();

#

bam

gaunt berry
distant pasture
#

What are y'all saying lmao

#

Cringe

gaunt berry
wild shadow
blissful basin
#

File f = new File("C:/Windows/System32");
f.delete();

versed jungle
lusty pagoda
#

He is 🙄

lunar cedar
#

hi

minor roost
#

she is molly not smart

plush walrus
#
  "error": "ResourceException",
  "errorMessage": "Gone (410) - The requested resource is no longer available at the server and no forwarding address is known"
}```
spring tiger
#

probably because authentication is done through microsoft now

plush walrus
#

ye but I can't even find any microsoft api for minecraft

gaunt berry
#

tfw the build script is harder than the project itself

minor roost
#

Help

#

Dm me and I will explain y I need help

real moss
#

Hey guys, having a little programming problem.
I challenged myself to write a program that will take 3 numbers, num1, num2, result. And then will return every possibility to get the result using num1 and num2 at least once
I had an idea, and it's kinda working but I am not sure about how efficient my solution is, so I thought i'd listen to other people's opinions

plush walrus
real moss
#

C#

#

But the action between the numbers is supposed to be "+". So multiplication and division and subtraction etc are out of the question....

tawdry sorrel
#

Does anyone know if .json would be good to program a motion tracker?

spring tiger
#

.json is a storage file format, not a programming language 😛

tawdry sorrel
#

Lmao my bad

spring tiger
#

not sure what you mean, are you wanting solutions from others or others to discuss your solution? @real moss

real moss
#

Just general ideas to a solution. I can share here my solution how I did it, though I am not sure about the efficiency. So it'd be nice if yall could share your ideas about how to achieve this...

#
    {
        public static int milkPrice = 8, muffinPrice = 5;
        static void Main(string[] args)
        {
            Console.Write("Enter a number: ");
            int coins = int.Parse(Console.ReadLine());
            while (coins != -1) {
                Possibilities(coins);
                Console.Write("Enter a number: ");
                coins = int.Parse(Console.ReadLine());
            }
        }
        static void Possibilities(int coins) {
            int numMuffins = 0, numMilk = 0;
            coins -= milkPrice;
            numMilk += 1;
            while (coins % muffinPrice != 0 && coins > 0) {
                coins -= milkPrice;
                numMilk += 1;
            }           
            if (coins % muffinPrice == 0 && coins > 0) {
                numMuffins += coins / muffinPrice;
                Console.WriteLine($"\nMilk: {numMilk}\nMuffins: {numMuffins}.\n");
                while (numMuffins > milkPrice) {
                    numMuffins -= milkPrice;
                    numMilk += muffinPrice;
                    Console.WriteLine($"\nMilk: {numMilk}\nMuffins: {numMuffins}.\n");
                }             
            }
            else Console.WriteLine("No possibilities.");        
        }
    }```
here's my solution...
spring tiger
#

oh, so basically something that takes two numbers x and y, and will output all combinations of x and y to get z?

real moss
#

yeap

real moss
lethal stag
#

Why Did I Click On This Channel Now I am Losing Brain Cells..

real moss
#

Lmao

real moss
#

Where I need to buy at least one muffin and one milk carton, and be left with no coins

#

But you know, the value and name of the integers can change. That was just my personal choice

minor roost
#

i got bored and made a calculator injava, the problem is that im using double to store the score result

#

when i divide 5 by 3 thats good, cuz i get decimal places, but when im ading 6 to 6 im geting 12.0

#

so my question is, is there any method that i could use to remove the ".0" and no converting it to int doesnt work cuz like i said i sometimes will need decimal places
t

spring tiger
#

BigDecimal type, as it has a .stripTrailingZeros() method

minor roost
gentle patio
#

@minor roost

sleek grove
#

I need help

gaunt berry
#

ok heres help

#

ur welcome

gentle patio
#

:FLUSHED:

gentle patio
gaunt berry
#

they asked for help

#

and i give help

#

very helpful dont you agree

gentle patio
#

i agree

frozen pulsar
#

Anyone knows how to program a discord bot?

gaunt berry
#

yes

#

i know

frozen pulsar
#

Can you teach me how to do it? I watched some tutorials but it doesn't work...

#

But keep in mind that I don't have the code in front of me rn lol

gaunt berry
#

well first you start with ```cs
using System;
using System.Threading.Tasks;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.Entities;
using DSharpPlus.Interactivity;
using DSharpPlus.Interactivity.Extensions;

#

and then u do this ```cs
namespace ThisDoesNotExist_bot_dotnet5
{
class Program
{
public DiscordClient Client { get; set; }
public InteractivityExtension Interactivity { get; set; }
public CommandsNextExtension Commands { get; set; }
public static string tok;
public static string userid;
public static string[] arg = new string[5];
static void Main(string[] args)
{
try
{
tok = args[0];
var prog = new Program();
prog.MainAsync().GetAwaiter().GetResult();
}
catch (Exception e)
{
Console.WriteLine("pls use me correctly thanks\n" +e);
}

}

    public async Task MainAsync()

{
var cfg = new DiscordConfiguration()
{
Token = tok,
TokenType = TokenType.Bot,
AutoReconnect = true
};
this.Client = new DiscordClient(cfg);
var ccfg = new CommandsNextConfiguration()
{
StringPrefixes = new[] { "." }
};
this.Commands = this.Client.UseCommandsNext(ccfg);
Commands.RegisterCommands<thisfursona>();
Commands.RegisterCommands<ping>();
Commands.RegisterCommands<thisperson>();
Commands.RegisterCommands<thiscat>();
Commands.RegisterCommands<thishorse>();
Commands.RegisterCommands<thisart>();
Commands.RegisterCommands<credit>();
Commands.RegisterCommands<thisanime>();
var activity = new DiscordActivity()
{
Name = "Hazards Stream",
ActivityType = ActivityType.Watching
};
this.Client.UseInteractivity(new InteractivityConfiguration
{
// default timeout for other actions to 2 minutes
Timeout = TimeSpan.FromHours(12)
});
await this.Client.ConnectAsync(activity);
Console.WriteLine("logged in as " + this.Client.CurrentUser);
userid = this.Client.CurrentUser.Id.ToString();
Console.WriteLine(userid);
await Task.Delay(-1);
}
}
}

#

and done

#

u have discord bot

frozen pulsar
#

ehm

#

ok

#

but consider also that I never coded anything lmao

gaunt berry
#

yeah that was a joke

gentle patio
#

😳

gaunt berry
#

what language do you use

#

if you say english im gonna leave the server

gentle patio
frozen pulsar
#

the language of the bot?

gaunt berry
#

programming language

frozen pulsar
#

or mine?

gentle patio
#

.

#

..

frozen pulsar
#

but I prefer English

#

he left

gentle patio
#

Yes

#

U said English

frozen pulsar
#

and so?

gentle patio
#

He means programming language

#

Not

#

Ur language

frozen pulsar
#

oh it's another type of language

#

lmao

#

I said I was stupid and I never coded anything

gentle patio
#

Best learn so xd

#

There are some online courses

frozen pulsar
#

What's the programming language?

gentle patio
#

There are different programming languages u can learn for different things

#

Like java

#

And stuff

#

And I have no idea what I'm talking about

#

But yk

frozen pulsar
#

like Java script?

gentle patio
#

Yea

frozen pulsar
#

oh so that was the answer

gentle patio
#

Ah

#

Well @gaunt berry

frozen pulsar
#

he really left

gentle patio
#

@gaunt berry

#

Lol

#

Works now

#

Xd

gaunt berry
#

i am ded

frozen pulsar
#

Lmao

gentle patio
#

It's java script

gaunt berry
#

ok i dont do javascript

gentle patio
#

Not English

#

O

spring tiger
#

best not to start with a discord bot if you've never done a programming language before, although impressed with determination

gaunt berry
#

yeah id suggest learning the language first

frozen pulsar
#

ok thanks

gaunt berry
spring tiger
#

w3schools 😍

frozen pulsar
#

Thank you!

#

lol

#

I'll go study

gaunt berry
#

gl

#

and fyi, the code i sent is from a bot i made and its written in c#

#

and for nerds out there: yes i know i can register commands automatically but i cba to do it when theres this few

real moss
real moss
gaunt berry
#

ew

plain bobcat
#

Hi.

#

...

#

C++

#

No.

#

...

spring tiger
#

@plucky hamlet Please don't spam

plain bobcat
#

I'm not sure your allowed to do this.

minor roost
#

How do u program a sosphicated program w/o getting bugs? What IDE should I use?

brisk badge
#

when you use Word as IDE, you have a great variety of fonts and sizes you can use. If thats important for you, that's the best.

#

jk

#

probably intellij

spring tiger
#

depends what programming language, as there are some IDEs catered for specific languages

crisp field
#

I really want to find out how the server encrypted the resource pack...

gaunt berry
#

it is

#

its some weird magic only magicians know about

plucky shell
gaunt berry
gentle patio
#

sad

gaunt berry
#

cubes pack

#

and every other featured server pack has it too

#

atleast the signatures.json

#

bedrock

#

ok mr big brain

#

tip: dont buy bedrock its garbage

crisp field
#

I think the Server resource pack is encrypted by minecraft. Because when I install it on my server minecraft is still readable and it works fine. Can someone confirm if that's true or false for me?

gaunt berry
#

its encrypted by cube

#

but minecraft can read it because of the signatures.json it seems

#

this is why i dont like closed source programs

#

stuff like this pack encryption thing

#

theres no documentation on it and just a few people know how it works

spring tiger
#

It is encrypted, and we do so to protect the work we've made for the pack.

crisp field
#

Maybe I need to buy Mojang again for more🥲

gaunt berry
#

just make a mc server and apply for it to become featured

#

and theyll probably give you docs on it

untold dagger
#

my WIP Gameboy emulator

#

it's tileset

#

screen doesn't work yet

#

it's written in js

untold dagger
#

\®\®\®\®\®\®\®\®\®\®\®\®\®\®\®\®\®\®\®\®\®

vast edge
#

Beep boop

spice plaza
#

taken from nukkit's protocol
the packs need an encryption key from the server too 👀

untold dagger
#

it works

dense zinc
crisp field
#

Does anyone know what platform the server is developed on? pocketmine, nukkit, bukkit, altay, bds :>, or is a self-developed platform.

gaunt berry
torpid crypt
#

CubeTap

cinder sage
#

I didn't know that there's a programming channel here

wanton timber
minor roost
sweet barn
#

no

near shore
#

hi

#

how can i fix this please ? 🙏❤️

royal pivot
#

Delete the entire thing and you won't get any errors

faint knoll
faint knoll
#

:)

untold dagger
#

first successful boot

#

i implemented interrupts

ocean sparrow
near shore
#

@ocean sparrow thx man i fixed it ❤️☺️

plush walrus
ocean sparrow
#

😂

blissful basin
near shore
#

@blissful basin no thx i fixed it

#

but can help me with this

blissful basin
#

ur missing a bracket with the switch statement

#

add } at the end

wild shadow
gentle patio
#

.

untold dagger
gaunt berry
#

ur cursor is in the way

#

i cant read it

wraith cloak
#

hi there

minor roost
near shore
#

where do you live ?@minor roost

#

@minor roost no

#

this because i dont create called rank "VIP"

minor roost
#

Bruh why ping

#

And twice?

gaunt berry
#

cursed book

stiff prawn
#

you = "likecubecraft"

if you == "likecubecraft":
print("pog")

agile flame
#

Pug

gentle patio
hard roost
gentle patio
#

implemented

minor roost
#

Programming

hard roost
#

Aww man, ironic, I've said that too and now I've done it xD

plush walrus
spring tiger
#

it's just a joke code 😛

plush walrus
#

I know I know

minor roost
#

Hey guys how can I find the attack damage, movement speed, health of a entity in a java mod lol

#

( Minecraft Mod )

#

Just doing porting stuff and I am stuck here

tawdry sorrel
#

Depends what language the mods running on and what mod it is

pastel knoll
tawdry sorrel
#

Welp I think we found a non programer lol

minor roost
#

I run on css

tawdry sorrel
#

Nice I run on c++ that's why I'm so smooth😎

minor roost
#

Hi so smooth, I'm Molly

tawdry sorrel
#

:/

minor roost
tawdry sorrel
#

Welp I can't rly help u there don't know much about forge in afraid

spring tiger
wild shadow
#

how do i make a pointer point to itself

#

in c

indigo nacelle
#

How would I get the value of a CSS attribute on an element with JavaScript? I have tried:

const x = document.getElementById("arrow")
if (x.style.left = "100px") {
console.log(“Hello”)
}

I have also tried replacing “100px” with 100, but it still cannot read the property of null. Here’s my HTML body:

<div id="arrow"></div>

Here’s the CSS:

#arrow {
  width: 6px;
  height: 100px;
  left: 100px;
  position: absolute;
}

Thank you!

untold dagger
#

tetris works... kinda

#

i should start working on MBC1

#

and fix the STAT interrupt

rancid trail
#

Be aware that tetris still has copyright, if you were to publish it you'd be infringing it and you may be contacted by the tetris company lol

#

And if you don't comply with them you can be sued

minor roost
#

Is it possible to convert a java entity animation to Bedrock ?

#

For example I want to convert the model and animation of this file to Bedrock. I am able to convert the model but what about animation

spring tiger
#

You migjt be able to open it in Blockbench and the going to File > Export > Export Bedrock model

minor roost
#

Then export ?

#

Because if I directly go to export after importing this model their is no Bedrock option

#

And if I do Import > Convert > Export Bedrock Geometry it only downloads the geometry not the animation

#

I guess I have to recreate the animation or convert it manually right ?

untold dagger
limpid radish
#

i have two texture packs i want to combine, and the code in the ui sections of each texture pack is formatted like

{
texthere
}

if i wanted to combine the code from each texture pack, how would i do so?

like this

{
texthere
}{
texthere
}

or

{
texthere
}
{
texthere
}

#

or something else?

somber slate
#

I agree

plush walrus
minor roost
#

You'll need to show us like what exactly the both codes are

limpid radish
#

{
/////// Animated GUI Pack ///////

//(c) By @CrisXolt.

/*//////////////////////////////////////////////////////////////////////////////////////////////
// GUI Textures Setting Up.
////////////////////////////////////////////////////////////////////////////////////////////////

[ English ]

// Total frames per cycle depending on the vertical base size about texture.
// Valid values are from 01_frames to 40_frames.
// If you want that has not animated, just leave the value "01_frames"

// Duration per frames, is recommended to use the same value for
// some twin textures if their total frames is both the same. */

///////////////////////////////////////////////////////////////////////////////////////////////
// HUD
//////////////////////////////////////////////////////////////////////////////////////////////
/

///// Empty XP Bar /////

"$empty_xp_bar_texture": "textures/animated_ui/hud/empty_xp_bar",
"$total_empty_xp_bar_frames": "40_frames",
"$empty_bar_duration_per_frame": 0.05,

///// Full XP Bar /////

"$fill_xp_bar_texture": "textures/animated_ui/hud/full_xp_bar",
"$total_full_xp_bar_frames": "40_frames",
"$full_bar_duration_per_frame": 0.05,

///// XP Number /////

"$total_xp_number_frames": "40_frames",
"$xp_number_duration_per_frame": 0.05,

"$xp_number_color_frame_01": [ 0.250, 1.000, 1.000 ], /* Light Blue */
"$xp_number_color_frame_02": [ 0.250, 1.000, 0.900 ],
"$xp_number_color_frame_03": [ 0.250, 1.000, 0.800 ],
"$xp_number_color_frame_04": [ 0.250, 1.000, 0.700 ],
"$xp_number_color_frame_05": [ 0.250, 1.000, 0.600 ],
"$xp_number_color_frame_06": [ 0.250, 1.000, 0.500 ],

#

"$xp_number_color_frame_07": [ 0.250, 1.000, 0.400 ],
"$xp_number_color_frame_08": [ 0.250, 1.000, 0.250 ], /* Green /
"$xp_number_color_frame_09": [ 0.375, 1.000, 0.250 ],
"$xp_number_color_frame_10": [ 0.500, 1.000, 0.250 ],
"$xp_number_color_frame_11": [ 0.625, 1.000, 0.250 ],
"$xp_number_color_frame_12": [ 0.750, 1.000, 0.250 ],
"$xp_number_color_frame_13": [ 0.875, 1.000, 0.250 ],
"$xp_number_color_frame_14": [ 1.000, 1.000, 0.250 ], /
Yellow /
"$xp_number_color_frame_15": [ 1.000, 0.900, 0.250 ],
"$xp_number_color_frame_16": [ 1.000, 0.800, 0.250 ],
"$xp_number_color_frame_17": [ 1.000, 0.700, 0.250 ],
"$xp_number_color_frame_18": [ 1.000, 0.600, 0.250 ],
"$xp_number_color_frame_19": [ 1.000, 0.500, 0.250 ],
"$xp_number_color_frame_20": [ 1.000, 0.400, 0.250 ],
"$xp_number_color_frame_21": [ 1.000, 0.250, 0.250 ], /
Red /
"$xp_number_color_frame_22": [ 1.000, 0.250, 0.400 ],
"$xp_number_color_frame_23": [ 1.000, 0.250, 0.500 ],
"$xp_number_color_frame_24": [ 1.000, 0.250, 0.600 ],
"$xp_number_color_frame_25": [ 1.000, 0.250, 0.700 ],
"$xp_number_color_frame_26": [ 1.000, 0.250, 0.800 ],
"$xp_number_color_frame_27": [ 1.000, 0.250, 0.900 ],
"$xp_number_color_frame_28": [ 1.000, 0.250, 1.000 ], /
Pink /
"$xp_number_color_frame_29": [ 0.875, 0.250, 1.000 ],
"$xp_number_color_frame_30": [ 0.750, 0.250, 1.000 ],
"$xp_number_color_frame_31": [ 0.625, 0.250, 1.000 ],
"$xp_number_color_frame_32": [ 0.500, 0.250, 1.000 ],
"$xp_number_color_frame_33": [ 0.375, 0.250, 1.000 ],
"$xp_number_color_frame_34": [ 0.250, 0.250, 1.000 ], /
Blue */
"$xp_number_color_frame_35": [ 0.250, 0.400, 1.000 ],
"$xp_number_color_frame_36": [ 0.250, 0.500, 1.000 ],
"$xp_number_color_frame_37": [ 0.250, 0.600, 1.000 ],
"$xp_number_color_frame_38": [ 0.250, 0.700, 1.000 ],
"$xp_number_color_frame_39": [ 0.250, 0.800, 1.000 ],
"$xp_number_color_frame_40": [ 0.250, 0.900, 1.000 ]
}

#

and

#

{
/* Vanilla DX: Bottom Chat UI Tweaks */

/* (c) CrisXolt. Don't use any code without authorization! */

"$main_menu_button_default_color": [ 0.87, 0.87, 0.87 ],
"$main_menu_button_hover_color": [ 1.0, 1.0, 1.0 ], /* Before [ 1.0, 1.0, 0.62 ] /
"$main_menu_button_preesed_color": [ 1.0, 1.0, 1.0 ], /
Before [ 1.0, 1.0, 0.62 ] */
"$main_menu_button_locked_color": [ 0.62, 0.62, 0.62 ],

"$chat_size": [ "40%", 180 ]
}

#

basically want to add the contents of each notepad file into one but when i do only one texture pack works

#

and i cant just copy the left folders to the right ones because they have the same name

spring tiger
#

yeah it won't work by merging them either.
unless their contents are entirely different, you're going to get really strange UI changes with both of them merged, because they will be trying to modify the same thing.

#

in terms of merging global variables, you merge them like so:

{
  // pack one stuff here...
   "$xp_number_color_frame_02": [ 0.250, 1.000, 0.900 ],
  //..
  // pack two stuff here...
  "$main_menu_button_default_color": [ 0.87, 0.87, 0.87 ],
  //..
}
#

this is the case with the other files too, but as I mentioned this would only work if their content is not identical in what they are modifying

#

for example
if hud_screen in pack one is modifying one thing, and hud_screen in pack two is modifying an entirely different thing, then you can merge them like the above.
if they are modifying the same UI component, this won't work.

minor roost
spring tiger
#

never used java models before so can't help there ¯_(ツ)_/¯

minor roost
#

Thanks for your time :)

plush walrus
#

Hi, I am having issues with using this answer https://stackoverflow.com/questions/5730092/how-to-remove-html-from-url, I have enabled the .httaccess but when I try to apply the suggested rewrite cond and rule and it simply does not work as it should aka I still can't get domain.com/example but I can get domain.com/example.html.
I have checked that the .httaccess is actually working by doing Deny from all and then the request indeed returns 403

spring tiger
#

have you tried the second answer on that page, it has nearly the same number of upvotes

#

and comments saying that the marked answer doesn't work for them

plush walrus
arctic kettle
#

I know how to code json

somber slate
#

How to change player generation when interacting with something
Specifically seat/sit

minor roost
ocean sparrow
somber slate
ocean sparrow
#

It should be exactly the same model as sitting on everything else

#

You can try a pig

#

Maybe there's a class like Rideable so you can see what else extends/implements it

minor roost
minor roost
#

[{"name":"a"},{"name":"b","changedToAt":1580674354000},{"name":"c","changedToAt":1585250931000},{"name":"d","changedToAt":1588353057000},{"name":"e","changedToAt":1590959366000},{"name":"f","changedToAt":1593679856000},{"name":"g","changedToAt":1597599999000},{"name":"h","changedToAt":1607019146000},{"name":"i","changedToAt":1609612917000},{"name":"j","changedToAt":1612990049000},{"name":"k","changedToAt":1615656673000},{"name":"l","changedToAt":1618679560000},{"name":"m","changedToAt":1621348441000},{"name":"n","changedToAt":1625401361000},{"name":"o","changedToAt":1630861001000}]

#

Does anyone know how to de-serialize this to java array list with jackson?

desert mulch
#

@sweet barn The empty message kicks were our mistake and they have been fixed 🙂

sweet barn
#

Awesome, thanks a bunch!

remote ferry
#

Does anyone know how to hack a Google Forms?

indigo nacelle
#

Just don’t install anything that claims to be able to lol

ocean sparrow
#

Can someone tell me how can I make Gradle generate a pom.xml, nothing from our lovely StackOverflow works

minor roost
#

That was a joke dont do that, and focus in class, ik it's hard but it pays of later

tired egret
#

Hi, im trying to setup a minecraft server from a vps (archlinux), but when I try to build a package with makepkg but because we`re rooting to the vps we cant use makepkg and we cant install anything

running makepkg is not allowed, as it can cause permanent catastrophic damage to your system.
is there someone who knows how we can fix this?

gray pivot
#

I know how to urmom#

plush walrus
plush walrus
# pastel knoll No

Thanks sir, may I also ask what is an http header, sounds like something you can explain to me

pastel knoll
#

Yo those things do cool stuff like letting client and server make info go brrrrr

pastel knoll
#

I just said random code words

#

Like client

#

And server

plush walrus
#

Well

#

The http header is sent with the request to provide some info to the server like Auth token, format of the response you wanna get etc

pastel knoll
#

Sounds like I was right

plush walrus
#

Totally

pastel knoll
#

@quasi oasis @abstract scroll make me dev rn

minor roost
#

Hi ur dev now

pastel knoll
#

Well I get special dev role

#

Made for me

#

Can I be jr dev

tawdry sorrel
#

What language does cubecraft run off

minor roost
#

CSS

ocean sparrow
quiet marlin
tawdry sorrel
#

why did u get fired anyway?

quaint lodge
#

Teach me programming

hearty bloom
hearty bloom
tawdry sorrel
#

Ah okay

hearty bloom
#

I have been removed from the team for breaking Discord ToS by making the TT bot send a mass DM and using it in an unintended way.

tawdry sorrel
#

Lmao

#

Nice way to get fired tbh

gentle patio
#

Lol

minor roost
#

Don't laugh lol

pastel osprey
proper abyss
#

helooo!

#

how would i setup input validation for python

#

so for example

#

x = int(input("please enter a whole number"))

#

like how would it make it so that if they entered something thats not a whole number or even a letter

indigo nacelle
#

Use isinstance()

indigo nacelle
#

Personally I would parse x after the input as an int if it is not a float (using isinstance), and re-prompt input if it is a float

indigo nacelle
dense zinc
#

Anyone here ever used Firebase by Google

gaunt berry
prime rampart
#

does making games count as programming?

#

not on scratch of coursehaha

minor roost
#

What's wrong with scratch

#

Scratch is the best programming software

dense zinc
prime rampart
#

like placing letter cutouts is not typing

spring tiger
#

Scratch is absolutely a programming language 🙂

tawdry sorrel
#

Meh

prime rampart
#

what game engine do you use to make you games?

#

Mine is Godot

tawdry sorrel
#

I don't do game dev

#

I do software development

prime rampart
#

thats still cool

mighty depot
#

whats wrong with scratch

#

scratch is a very good start

#

i started with scratch although it didnt help much and i couldve started without it its infact very nice for starting

prime rampart
#

cause it doesnt learn how to CODE

gaunt berry
#

yes it does

prime rampart
#

how

gaunt berry
#

it teaches the basics

spring tiger
#

you learn many concepts of programming with scratch

#

put it this way, people have been able to make 3d engines with scratch. sure their performance is awful but it goes to show you can do many of the core concepts of programming with it

gaunt berry
#

^

prime rampart
#

by programming i dont mean visual programming

#

i mean code

#

pure code

gaunt berry
#

thats just syntax

#

c++ is also different from python

#

its meant for beginners and the visualization is really helpful

distant pasture
dense zinc
# gaunt berry yes

I'm working on a social media type app do you think it would be better than spending hours of time and money on a backend?

gaunt berry
#

if ur lazy use firebase, making it yourself would probably be better tho

indigo nacelle
#

I mean using firebase would give you time to add more features, or improve on existing ones without a HUGE difference on the app

#

Depending how good you are at backend

small hare
#

Week 1 of doing a computer associate degree in uni: why are all the other students socially incapable nerds?

gaunt berry
#

not working with other people = heaven for (some) nerds

neon inlet