#💻︱programming
1 messages · Page 34 of 1
Is anyone here fluent in YAGPDB.xyz? But not for any Minecraft servers.
@ me when you reply or just use the reply on my message please
True
java is annoying
In the beginning it is, but if you know what you do, then not
does anyone know what game engines that use python or javascript?
I think most game engines use C
Since C is way faster
just use C++ instead lol
they are all different lmao
i dont want to spend my next few months trying to learn another language sob
then you end up making a not optimized and slow game
you know what ill just make a discord bot :,)
making a game in python or javascript is not a good deal at all
Yeah to create games you have to learn other languages lol
ill learn C sometime
Thiugh learning a new language is not that hard if you already know how to code
depends
most of the times the logic is similar
but the features are way different
yep
alright thx banana man and dark vader
u look like one sorry taco
lmfao fine
C++ is and extension to C but C# is not related except for the style is you know Java or C++ you can easily learn C#
Unfortunately Python and Javascript are not languages for making games with, they're not very performant for things like that
You'll probably get a DM from some angry JS developer explaining why it's the best language anyway
Lol
True
When the update for the latest version coming out?
lisp coding is where its at 😵
yeah
@honest heath is the kb change intentional
You should ask in #💌︱staff・help
Ok thanks
Python can make plugins :3
What do you mean by plugins?
Haha
Java will do it
Ur literally from the admin team
And you’re telling me what’s plugins?
Literally any plugins you can make by python
A game or variables with JSON files etc
Java is not the only language you can use
Just use different options 😄
I would assume he’s asking you what you define as a plug-in
Yeah, that. Since plugin means a lot of different things based on context 😄
Not every admin is a developer
mitgobla is 😄
Yes I know but he assumed every admin knows how to code
True tbh
Anyone know php
ye a bit
U stalking chat?
lmao nah i was just checking discord
U know pmmp plugin developing?
I'm new to it can u show me a little?
I'm quite busy at the moment to get into detailed explanations of stuff but if you have any short questions/things you want to do I can probably answer them
hi

It's not much just:
How to use static, __construct, int and more but I respect your wishes :)
In that case it's actually the basic concepts of programming related to most of the languages not only php
I'm learning how to become a pmmp dev but online sources are not that helpful
what's pmmp
I have to learn more languages b4 php 🥲
Is it something for minecraft bedrock scripts/addons?
Don't ban me for knowing that please 🥺
w3schools PHP OOP
i can't ban and why would i anyway
thanks google
will give you link in a sec
xdd
It's the software used to make bedrock servers
only some minecraft servers
In PHP? wow, they were desperate
;-;
It's just that PHP was never meant to be anything else than web development
it got blocked D:
I couldn't type here lol
being whitelisted :)
from the whitelist we enabled two minutes ago lmao
ty dean <33
Pmmp is the official one other's are forks and skids
a link whitelist? that's interesting
if u want to join server dm me ill invite u to the discord
I was like - what did I do again lol
sharing links is illegal network banned
I own a server..
Cool
which server?
its very helpful
nitro scams are no more
Having slow WiFi sucks
Anyway - static is for when you need to use a method without instantiating (creating) a class - e.g. when you need to replace lowercase letters with uppercase ltters
__construct is called every time this class is created, you basically setup the stuff you need here
int is short for integer which is a 32-bit or 64-bit (depends on php) number without decimals
Ima stab those sharks real hard in the mouth 
linked accounts only still better
@hearty bloom did you have issues with " and ' when switching from PHP to Java
I kind of did
lol
Java still best
yep
agree
If not my need to create MC plugins I'd ditch Java for C#
NO
c# almost as good as java
C# and Java are basically the same languages
ye
but from different companies and with a bit different syntax
bit different syntax
sometimes better, sometimes worse
Java better :)
I hate Java and all coding languages
Comparing programming languages is a waste of time, all have their own usage and there are things that work better in e.g. Java than in C# :)
it has no usage
xD
and LOLCODE
Cus I can't learn them
What can't you learn
YT tutorials are really not that bad if you find a decent one
ye another good thing is codecademy
Once you know stuff you can intuitively learn Java and that opens a lot of other languages to learn
intuitively was such a pain to write
@ocean sparrow probs best not to share that 😆
its one languard u dont want to learn
Why best language
swearing 🤐
I even heard of competitions for people to write the shortest code
It's its name what can I do about it 🤷♂️
Well let's move onto LOLCODE then
@tawdry sorrel pls
Or staff feedback
hmmm
whoops
its the nameeee
yes but it has bad word
no say bad word
I asked the same question half a year ago too lol
Thats why we don’t need to compare them, Java best ;)
as a Java developer I have to disagree that it is the best for everything
xd
for example for really small scripts, I would choose python
or for a website I would go with TS for frontend and Go/Elixir for backend
I only know java, datapack language (mc) and a lil python
So for me it’s the best xd
Red does fit you better
CSS pog
How to code
🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
^
99 clowns.
@hearty bloom u know how to code mcpe clients?
Hcf and uhc mode
How to add the value to the query query.moon_phase, I tried using query.moon_phase == 0 but didn't work
I don't play mcpe
What do you mean? You want to give query.moon_phase a value?
Already fixed.
Right now I am finding a query that will detect night and day
Is their any ?
Their is nothing afaik
I'll have to use environment sensors
But I don't wanna use them if their is any other way
Yep lol I was trying to convert the moon_phase filter into a query without knowing that their is a query too called moon_phase
I've been in uni doing a programming degree for a week now and today I made my first script/piece of code/program: you insert an amount of money and it will automatically calculate for cashiers how many money bills they need to return (so e.g. €37 will convert to 1x €20, 1x €10, 1x €5 and 1x €2 coin)
hurray me!
Gg
Which language?
Python?
C#
@rancid trail soon i will make an entire website for us >:D
In C#? xD
no duh
But they teach us HTML, JavaScript, CSS and C#
And SQL
So I assume the website I will create in HTML, JavaScript and CSS obviously
C# is backend I think? Feels like backend for sure
Easy there XD it's only been a week and i've seen 4 different languages
i'm sure others will follow once we've learned the basics
node.js is just js
But cooler

wtf is node.js
js runtime
A way to run js code
Most languages are basically very similar but with a few differences here and there. Take C# and Java lol
Yeah
yea but js can natively run only in browsers
idk what that means kristn pls dont make me feel stupid- it's only been a week 
repeats it

Node.js is basically just a way to run js code
soTP
you say node.js but python, java, php are all massively used in web backend as well
is c# backend?
Backend/frontend is for webdevelopment

whAT
its not just for web dev
ok but C#can also be used for backend webdevelopment
so I'm basically a Software Developor
EZ
IZIZIZIZIZIZIZ
hire me cubOCRAFT
i will cREATE better minigames than you currently have and make u mILLIONS OF moNEY
console.WriteLine("look how pro i am");
Lol
that would be game developer 😛
C# is for games right?
ya as well but you said software developer
Im basically a Frontend, Backend, Web, Software AND Game Developer omg GOML NOOBS
damn

ya
what languages u fluent in?
english... uhhhh
:3
python and java, but I know a few others just don't really use them
"LAMMO"
c'est une bonne peux de francais tu ne dois pas conaitre tros de francais pour que tu es capable de comprendre beacoup du langue
You started out so well
PUAJAJAJJAJA
sure
JAJAJAJAJAJAJAJAJJAJAJA
JR DEV
?
when mod is sus
Btw that’s a joke not a threat or something LMAO
Vry sus
hello how do you get to vip lvl and i dont want to buy it i want to get it
Watch out in #📢︱announcements for giveaways also you can enter events and competitions hosted on the forums, there the only ways I see
- External Communities host giveaways and event rewards
lies
French what???
GUYS! I am a fricking genius!!
I am so proud of my self!!
Yall want to see something amazing? :D
Well, at least amazing for me... don't know if yall consider this amazing as well
Anyways, I wrote a program that prints an image to the console using different characters! (ASCII and some more special characters)
That's for example an image of 2 soldiers, one of them is saluting
That's an image of a cat I found on google :D
And that's an attempt to print my own pfp!
What do you think guys? :D
thats cool!
.
,
^
*
▬
%
▒
█
those are all the characters I used for this :D
ikrrr, Thanks!
Holy cow that's perfect! I love ASCII art!!!
Playing with the code a bit, I even improved it!
I never want to go to sleep lol, I want to play with this thing forever :OOO
Can I ask a dev or someone else something because I want to try to learn programming but I have a issue the whole time and I can't find an answer on forums and stuff over the internet and I was wondering if one of the dev's wanted to maybe help me out to get started....
I'd like to help with whatever I can, although I am kind of a begginers my self, but I'd be happy to help if I can
Yeah I'm a beginner to
So I was trying to set it all up and follow the steps on youtube you know
I downloaded visual studio code and .NET
I'll just show a screen of the problem already
Everytime i try to set up the dotnet console
So I thought maybe someone could help me setup this whole thing
😬
still sus
So someone who can help me please? 😄
Are u sure that u installed the sdk and not just the runtime?
I'm currently not abled to get to my pc. So no sorry.
@solid geode What Language are you learning?
Ah sorry can’t help you there, not experienced with it
Are you sure google doesn’t have an answer?
- did you visit the site in the error message
It probably does but i don't find it or get it
Yes
Reinstalled so many times followed the steps on the website but still
And I did what the yt vid said
Bit frustrating but not giving up yet
You mean that you are getting this problem when you type in "dotnet new console" in the terminal?
Sorry that I disappeared, had to go for a second
(bedrock)
I want role Minecraft and how to get role.
Please.
Um, is this related to programming somehow and I just don't know?
Nah it isn't
Ah, alr
Just text me whenever you come back, its currently 1:54am for me and I got to wake up early tomorrow :(
You from asrigel ?
@real moss
No, I'm not from asrigel lmao
Ok 😂 👍
yes that the problem
sorry its also 1:00 at night here and i went out for a cigarette real quick
So you might know how I won't have this error anymore?
I gonna get some rest thanks for trying to help I appreciate it!
pulls an all nighter debugging
I really don't know... i'll try to see what I can find and I'll tell you
@solid geode there are 2 versions of dotnet, make sure you have the sdk
@solid geode do you have a different pc on which you can try that?
Installing it I mean
I did for sure install the sdk. But I'll try again
No just my own pc
With no success
So when I go to commandprompt and type > dotnet < then press enter it shows stuff like options etc. but when I type > dotnet --list-sdks < it shows nothing anymore...
It's kinda hard to even start programming as a beginner when I can't even set it up right xD
Anyone with some tips?
Have you visited the URL it shows you so you can install the SDK? As it looks like you might not have installed the correct one
I did visit the URL it shows me and downloaded it there but still getting this message and no happy ending yet
the answer to this might help @solid geode https://stackoverflow.com/questions/63746838/net-sdks-not-installing-correctly
try running dotnet --info it should show something like this
Thank you! this works and I think I found the problem... I downloaded the x64 instead of the x86 aswell the whole time... I don't know if that could have been the prblem aswell but thank you and also thanks to @real moss and @gaunt berry
#CUBECRAFTASIA
You tryna program anything specific atm or just tryna get the basic use of it? xD just curious is all dwdw
@gaunt berry hi
@tawdry radish hi
no
@tawdry radish teach me js
it c# but balder
what you need help with anyways
._
yk you could just find a lib that would run c#/java code for chat triggers?
i can write it in java
java is basicly c# with different import things
but ew java
yes but js isnt quite as bald as java
i kinda agree
but not much
rust best
anyways what you need help with in js?
everything
o_o
ur js pro cmon
can i send video links here?
yes
Building an app or preparing for a JavaScript interview? Watch this ES6 tutorial to learn ES6 quickly.
🚀Subscribe to my channel for more JavaScript tutorials:
https://www.youtube.com/channel/UCWv7vMbMWH4-V0ZXdmDpPBA?sub_confirmation=1
Want to learn more from me? Check out my blog and courses:
Courses: https://codewithmosh.com
Blog: https://p...
found this bald tut
@gaunt berry you should add a chat plugin that will call google translator for every message .-.
has to be open source
i mean
puppeteer exists
ohhh nvm
i don't think your thing can run modules websocket stuff
it can do everything java can
oh
so i can do that
so you can use websockets?
yes
so basicly you need to run a server that will run puppeteer everytime they want to translate a message
you already know what the answer to your suggestion will be, dont ya
.-.
i mean if u do it sure lol
naa
i am trying to make a discord rpc in rust
so i can make my own rpc for apps i use .-.
Uh
Is this a sign of God that im not made for programming if even the Hello World Console.ReadKey(); gives me an error
I'm just trying to learn universe 😫
you will get there eventually, trust me
How can I fix this one xD
I just wanted to see the hello world pop up on my screen and even thats to much
why dont you use an ide
basically an ide (integrated development environment) has everything you need integrated in one (simple) program
If you're using Visual Studio/Rider you already do
I assume it's C#/F#/dotnet
It automatically sets up workspaces and compilers and stuff like that
What you're currently using is visual studio code, which is just a text editor
C# and dotnet
For c# id recommend visual studio
Coding can seem scary at first - but it's actually not that hard! Let's learn how to program in C#.
► SIGN UP FOR JASON'S COURSES: https://game.courses/gamearch/
● Download VSCode: https://code.visualstudio.com/
● Download .NET: https://dotnet.microsoft.com/
👕Get the new Brackeys Hoodie: https://lineofcode.io/
·······························...
I just followed this one
to setup you know
And nothing worked smoothly I can tell you that
use an ide, it will make ur life as a beginner much much better
And can I then make the Hello World thing work like in the vid at 9:24
Most likely yes
You're looking for C# right? https://visualstudio.microsoft.com/
https://visualstudio.microsoft.com/ download for visualstudio
that was quick
we speedy bois
You'll probably have to select "Classic", ".NET" and then your system
but i downloaded that already didnt i
And you should see a download Visual Studio 2019 & .NET Core
Visual Studio and Visual Studio Code are 2 completely different things
You currently have visual studio code
The Code is basically a rich text editor, Visual Studio will help you with the setup of everything and actually compile the code and debug it
Yup
It loads faster and is simpler so I guess it's better for tutorials
But a pain to setup too
community
Enterprise is paid, Community :p
that is the free one
U need .net desktop development
Well I know Java and Java is similar to C#
nope thats all you need for now
okay just press install then
yeah
If you'll need them in the future you either just run the installer again or it'll let you install them inside some settings
I never really worked with C# but it should be enough for you now
probably I don't know anything atm xD
But never to old or to young to learn this I assume
I mean- if you don't know how to use a computer you won't know how to code
yeah its all you need for now
and its also a lot smaller filesize wise
I had it installed a few months ago but after formatting didn't really need it
Notepad++ and IDEA are enough
and npp loads in like half a second
it takes me more to find it than for it to open
vscode is like 0.5gb-1gb and vs is like 30 gb
and I also never used Visual Studio
Dark is the only right choice
same
If you never worked with any IDEs before choose default keyboard settings
dark is way easier on your eyes
and attracts less bugs
general or do i need to change that
both code and irl ones
keep general
okay
if i were to code in like a train id probably use blue so i can see better
if you got constant light at your screen the more contrast the better i guess
either f5 or click the green arrow at the top
You should see a green play sign somewhere next to line numbers
Wait nvm I'm dumb xD
I'm so used to intellij
I DANCED IN MY ROOM FOR THIS ONE YEEEESSSS
Try doing some math operations first, and stuff like asking the user for 2 numbers and then displaying the addition, subtraction, division and multiplication of these 2 numbers
you can read user input with Console.ReadLine()
is it really that easy in C#
why do I use java
yup
eh they're both kinda similar
one way to do something on java could be way easier/harder than c#
I remember one thing about C# that was like cool
That C# equivalent of Java's Map is named Dictionary, it's like a cool way of explaining how a Map works
yes it can be only one line in python whatever not my meme
I am doing that xD haha
And I love it wow
It's fun to see it work
Java may be a bit easier to start with though, you don't have to worry about any memory handling, and it's easy to learn even by making minecraft plugins
lmao this is so good xD
anyway that's just syntax sugar it basically does the same thing
Hi, can someone please explain to me why does stdout get logged but not returned in this function?
const {exec} = require("child_process");
function call_function(command){
exec(command, (error, stdout, stderr) => {
console.log(stdout);
return stdout;
});
}
console.log(call_function("python print.py"));
# print.py
print("hi")
HI
'The best thing about a boolean is even if you are wrong, you are only off by a bit.' I hope that interesting fact has helped in your solution
Super interesting article from facebook on their outage: https://engineering.fb.com/2021/10/05/networking-traffic/outage-details/
There both the same thing, the first one is all about classes, second one about imports.
🙈
wTF
I've used JetBrains' Rider
never heard of it
VS is way more popular for dotnet
Small steps
bone jaw, is there some way i could make a weebsite with rust .-.
Okay has anyone here at all heard the term skidded because in a discord I'm staff in some fool is saying it's a "commonly used programming term" and I've been programming for about a year now and I've never heard of it
Google it lol
I know what it means but like he be saying sht like oh yeah coders I hang out with throw this term around soo much and like I just haven't rly heard of it because I just program by myself most of the time
skidded... what that
Never
Okay BC I was just like wait should I know this
or something like that
nvm
it seems script kiddie = noob hecker
or hackers on cubecraft 👍
I must ban him from discord
they just use existing client rather then making there own
anyone know about wasm?
ive heard of it
can you make weebsite in it?
prob
wait you can mek html elements init .0.
from what i understand yes but dont quote me on tht

rate my languages syntax
1.89/10
1.69/10
any things i should change?
The syntax
these are quality

xd
Nice ;P
Those are indeed great xd
Dumb question, will Minecraft Windows 10 editions works on Windows 11?
yes
But isnt that made for win 10 only?
Well most of the software for windows 10 is able to run on windows 11 without any updates needed
Ohhh thanks!
Top tier memes you got there
Mainly Java & JavaScript
1.0000000000000000001
it looks like vb
rust is best 
1.69420/10
C++ mostly
rust better 
rust still better 
can you never use that smiley again. it hunts me in my dreams
C and python
stop python 
stop python? no stopping here!
rust better 
rust is very gud
it is c++ but better
well in that context sure
but in other contexts, maybe not so much
I don't like using python for proper programs but it's very useful for when you quickly need to do something
Not even close lol
HTML is also good for rushes but I just think it should be in websites not in games
are you trying to say about html in the programming channel
Guess
i mean you can do almost anything in it now,
wasm, networking, game hacking(you could but it pain), gui, games, and lot more stuff
but as you said there, it's a pain for game hacking (not sure what that is) whereas another language may make it easier
not sure if any other language that is not c++ or c# (as most games are in c++, c#) would be good thing for game hacking
(game hecking = all the clients on minecraft bedrock)
game hacking is pretty cool
c++ is the best lang for it
i wanted to make a bedrock client mod but its kinda hard
same
i mean i made one
but idk how to reverse :sendhelp:
onix hecked minecraft bedrock
he has most of the important structs lol
yes
would say polyhook / min hook
.-.
f
uh use your brain
maybe also decompile
;-;
how am i suppose to get started tho?
like if i want to find the ui render function that gives me MinecraftUIrendercontext
how do i get started, is there a thing in ida that will show me which functions are being called or something like that?
like use Ghidra by NSA
;-;
Hey I was wondering if anyone knows a good tutorial on how you set up minecraft plugin making
I think you have to search for it yourself :/
Since we don't know how good of a coder you are
Or if you mean spigot/mcp :)
And I prefer text tutorials over videos
But some prefer it the other way around
I think forge is the easiest though
Mcp has more functionalities but creating it for 1.13+ is very hard since there is no proper support for it
Afaik spigot & bukkit are pretty much the same but I haven't really worked with them so feel free to correct me
for what?
idk any of them but asking for no reason
🙈
Yt and plugins with open src
he asked for utube video link ._
I feel like this belongs here (not mine)
😂
xd
@fallow yacht was wondering if a leaderboard will be added to Ender aswell?
lmao this is why i hate peethong .-.
t a b s
Skript when u use 1 tab instead of 4 spaces
Might interest some people
javascript still most popular language
smh
😳 12%
lmao last is coding bootcamp
@gaunt berry sus
i feel sad for blind people who are programming
It must be though for them 
pretty interesting response from someone who is blind and does programming
https://stackoverflow.com/a/148880
well its more of thats how things are moving towards
node.js opened up javascript to be used anywhere and everywhere, hence tons of software these days are some form of web-app, and doesnt require more than 1 language to make a backend and frontend
i mean...
i think they never tried typescript
that is why it is rigged
typescript is like 100% better then js
and yet 61% of devs love js
ngl that is rigged
javascript has existed for twice as long as typescript
many developers will find that javascript is enough for their needs or don't think its worth the time learning a different syntax when they already know one enough
i don't think typescript has any different syntax
it just adds some noice features
it has different syntax
yes, so it has additional syntax
types being the main one, hence it's called typescript
:nodhead:
LMFAO
😳 8th on top paying
Lmfao they gota be trolling
imagine giving a stackoverflow survey and saying idk what stackoverflow is lmao
not the best question tbf, because i'd say no to the stack exchange one but yes to the stack overflow one
play back sounds, full brail keyboard.
teknoligee is kewl
i just want to know which year most people started codring now .-.
it'll vary a lot
some people will start learning from a young age
some people will intensely start at university
I started learning before I was even 13
Started at 12 y/o
lol casuals i was born while reading stack overflow on a laptop
What exactely do you use javascript for?
you can make interactive webpages with it as it can be run natively in browsers and then you can do more stuff with node.js (we bserver, web apps, games)
What is the best for creating applications, as in apps?
you mean mobile apps?
Not especially, generally creating useful applications as in imagining a app with a interface where you can basically do stuff from there
If you know what I mean
well you can for example create an app with some js framework (there's a bunch to chose from)
Yea I’m pretty bad, Nyvil tried to teach me but my knowledge is still nearly 0
So you needa speak more with a noob interested In learning
Basically what is interesting for me is simplifying stuff I do on a day to day, automation through a personal app or smt
Idk if that makes sense
frameworks are pretty much libraries with pre-made code and tools so you don't have to write something that's already been made by someone else. (oversimplified)
Oh that’s useful
But what language should I learn especially for that
Nyvil suggested C#
js frameworks are for js
c# is used from desktop and also web apps too so it's up to you
well kristn
i wouldn't recommend JS frameworks like electron to make software? xD
I thought he was talking about web apps
He asked me about software so I would assume not
@gleaming zenith software oder web apps?
Ehm
What’s better is the question
That I don’t know
^
that sounds like python to me honestly
You can make a interface for Python?
What even is kivy? A Python library?
yes
then I misunderstood, oopsie
Hm 🤔
i want year .-.
like which 5 years most people started coding
probly would be 2000 to 2005 but that would be a useful thing to know
i want year xD
I started 2020 march after i got my pc
I started "officially" late September 2020(forget to turn off ping)
(This was the oldest scratch project I have that is unedited since that time)
And I would say probably 10(2013/14) when I started coding
And probably 11/12 when I started 3D modeling
quick mafs
what ._.
it has been a painful one week
but i finaly fixed my rust programs not compiling 
i can finaly make grass touching simulator
no no
i want to create grass touching sim so i can touch grass at home 
Bruh
but can I touch grass with ✨ wind physics ✨
add sunlight to
boi
:0 BigBrain
Gimme
havens
The indexing time in IntelliJ IDEA is insane lol
i ardy ues ut
hi man body can rpaly to me
if you know any timg a boute minecraft addons
Why
i need that but of gpus
Does anyone here have any experience with flutter? Is it worth looking into?
if you are looking to make mobile apps
go ahead
it is good
unless you are trying to make optimized app (not needed cause todays stuff is latest)
anything that is similar to react (state and stuff) I hate it 100%
so basicly i hate flutter now, learned how to use it tho
you can still throw all those cpu in a server and run a game .-.
Yeah, I am looking for a good framework for cross-platform development (at least web, android and iOS). Performance isn't top priority as long as it isn't experienced as slow. Thanks!
i se
well gl
Week 3 of doing an associate degree in programming: I'm somehow already a month behind
THOUGH we are finally now learning if and else structures as well as boolean - feels like we're finally learning something useful other than Console.WriteLine(); and Console.ReadLine(); lol
writing on console is really useful though wdym ;)
well, what is coding for if you don't know how to print and get user input 🤔😂
suggest me a new domain
yeah put a few spaces so the bot doesnt see it
So, I'm making a prototype for a game I'm working on and I cannot seem to make a bullet for my game with the turtle module (in python 3.10.0), can anyone help me?
What have you got working so far?
sus
Does it work tho? I wanna try it
this is vanilla anticheat

Its this guy
you can say that but i can't say cubecraft is bad . com, rigged!
ping
pong

Cause I’m cool
i applied for github student, hope they don't dox me 🤞
i got perks now i am github pro
this why you leave c++ and return to rust
Does that website really exist?
Basically im doing a Rock paper scissors in python command line and i want a way to re run the script
any way?
Put it in a while loop
play = True
while play:
# your game code here
# ...
play = input("Play again? (Y/N) ").lower().startswith("y")
spoonfeeding code is kinda bad
No one is spoonfeeding
this kinda is
if you read the docs or some tutorials, making that game is more than easy
or even google at this point
i found the first bot i ever made :0 (it was also a school project)
https://github.com/BoredSathvik/covid-bot
where readme
he didn't spoonfeed anything, he gave an example of how to use a while loop :p
It's all good and fun to gatekeep and say that you need to learn for yourself but it's not really that helpful, giving advice and examples of how to apply that knowledge is much more useful
tfw you want discord rpc but dont know how to discord rpc so you install 200 mb of libraries to then still not know how to rpc
Which lang are you trying to use
I thoroughly belive in giving examples for people to try out, I really don't like the "just google it" mentality - coding for beginners is already daunting enough 😄
People learn in different ways
js
I get you for sure, but in this case it felt like their python homework
I have an example here...
# event_trigger.py
from event_handler import Handler
class Trigger(commands.Cog):
def __init__(self, client):
self.client = client
@commands.Cog.listener()
async def on_raw_reaction_add(self, payload):
Handler.hi()
``` ```py
# event_handler.py
class Handler(commands.Cog):
def __init__(self, client):
self.client = client
async def hi(self):
print(self.get_info()) # need self here
async def get_info():
## stuff here
return info
So basically, I want to call event_handler from event_trigger but to call event_handler.hi(), I need to pass a self argument but I need to use the self from event_handler to call a function inside.
it was private project .-. so no readme
this why you use deno™️
it got browser apis, it has smoller bundle size dueto it importing modules into just one folder for your whole pc
rhino 😔
@plush walrus I believe on the docs there is a function on Client that allows you to get a initiated Cog.
So you prepare a list of cogs in the specific order you want them to initialise, and pass them to the Client in startup
You then have this list as a constant so you can reference it across your code
I don't have an example on hand but thats how I've approached doing cross-cog access
I.e
You initialise Handler first
Then initialise Trigger next, with an argument to pass the Handler cog so it can reference it
well use v8 java then .-.
when put your github student to gud u se
Didn't even know there is something like that xD
it exists
anyone used svelte yet?
is it like good, i want to make a website with it
I'd recommend it
you ever used it?
some goblin used my token to login to my discord bot ._.
and he is from this server
i wonder who that guy is
i thought i deleted the bot smh
U can regenerate the token
Yea but only for like few minutes
naa discord sent me message saying
some goblin from this server used it
@gaunt berry you alive?
not really
ok, what i name my html component folder, widget?
con
bruh
i named it
chickens :0
PHP Hypertext Preprocessor is a scripting language for building dynamic websites on the server. It remains one of the most popular programming languages in the world, powering tools like Wordpress, Laravel, and Symfony. https://fireship.io
#programming #webdev #100SecondsOfCode
🔗 Resources
PHP Docs https://www.php.net/docs.php
PHP usage stats...
why php still alive?
js is a decent beginner language
ur choice
like
i just came across the button tag
in html
and now
idk what to do
oh yeh
well what you have to do is make a javascript function and add the "onClick" event to the button tag
and it's in html links ckass
ik
Button as a Link
To use an HTML button as a link, you have to add some JavaScript code.
JavaScript allows you to specify what happens at certain events, such as a click of a button:
w3schools
<button onclick="document.location='default.asp'">HTML Tutorial</button>
yeah something like that
hello
Can someone tell me please what is the programming language used to make the plugins of bedrock servers? Sorry if the name is not plugins, I'm used to java edition
cube uses java
java for bedrock plugins?
yes
thank you 🙂
np
PHP is one of the mistakes of mankind
php worths?
PHP is zzzz
Js si GOD
😵💫
Hello
Hey Robert
Depends on how good your code is. If your code is bad yes it'll be slow but that's with any language
na
just look how lagy at a game that is made in php vs rust
Can some one help me make a sky wars addon
PHP wasn't written to be used for games........
php is used for web developement
x86 assembly best
x64 better
this is basically the hood of ppl who play minecraft and have above the average IQ of 2
Can I get help making a sky wars addon
yes sure
yes 
I am impressed.
i lost all my brain cells while playing ender
how am i a genius and moron at the same time, sus
same
you broke mathematical reality
you can therefore break logical reality
What does the error mean?
When does that happen?
I was downloading a mod on Switch
Yeah it is
Then just report it somewhere for them ig but this looks like a minor issue
why php?
Hi sorry to bother you but anyone knows what computer language minecraft pocket phone edition was coded with?
C++
c++
@pastel hearth https://www.w3schools.com/php/
W3Schools is great because it has an in-browser editor so you can try the code out without having to setup any tools on your computer
<?php
echo "Hello, World!";
?>
Thanks!
Cus me and my friends are making a pmmp server also I wanna start making websites 😊
use deno for backend then
learn deno it gud 
pmmp server is valid reason though
Wuts that?
public void setupGroupData() {
File f = new File("plugins/BuildFFA/permissions", "groups.yml");
File data = new File("plugins/BuildFFA/permissions/playerData");
YamlConfiguration yml = YamlConfiguration.loadConfiguration(f);
if (!f.exists()) {
f.mkdir();
Bukkit.getServer().getConsoleSender().sendMessage(format("&a&lPERMISOS > &fLa Data de los grupos ha sido generada."));
}
if (!data.exists()) {
data.mkdir();
}
yml.addDefault("groups", "default");
new BukkitRunnable() {
@Override
public void run() {
try {
GroupUtils utils = new GroupUtils();
utils.createGroup("default", Bukkit.getConsoleSender());
utils.addPermission("default", "group.default", Bukkit.getConsoleSender());
utils.setGroupPrefix("default", "&7", Bukkit.getConsoleSender());
} catch (IOException ex) { ex.printStackTrace(); }
}
}.runTask(FFA.getInstance());
}```
I have no idea why this code doesn't work
can anyone help?
What error are you getting?
basically the file doesn't appear anywhere
the mkdir() method is for creating directories, not files.
You'll want to use .createNewFile() for creating a file, and FileWriter class for writing to a file. Then using a Scanner to read the file.

