#๐ป๏ธฑprogramming
1 messages ยท Page 13 of 1
mb you didnt push it correctly?
I just recently started using github
I don't really know how to do that correctly
Example may be?
git add .
git commit -m "First commit"
git push -f origin main
that's how i do it
I know I just wanna know how to make those typa fixes list
on your discord server's channel. create integration
ok done
then go to webhooks on github page
okay
wait wait
make sure there's a /github behind
wdym
behind the url, add /github
behind
tbh, i kinda forgot how i did it. there's tutorial on the internet
end
like that?
yes
now delete the pic lol
Alright
the token is important lol
I see
if someone access it, ppl can just start spamming webhooks with it
alr alr
Okay so now
you can try pushing one commit
How do I make list of commissions
these are just actions that youve done when pushing some commit or merging pulls etc
I just wanna know how git add . git commit works
git push is obvious one so yeah
i dont use that ๐ i just use the button in intellij to push my commits lol
yea
don't force push wtf
gn
You shouldn't have to -f
so -u?
Idk what that does, I just do git push
oh that works too
ill try
try*
I've not once had to use force push
my favourite way to use git is just git stash -u (include untracked) then git apply 0
any other way of switching branches is wrong
Guys delete your Visual Studio Code and IntellijIDE
Omg
office is too expensive
I dont have visiel cofe
Code
I have VS Code, InteliJ and MS365 :3
marta should watch this xd
๐
is there a program out there that can convert hundreds of images back into a video??
i need it for a project im working on
Capcut
minecraft
๐
Any editing software
ffmpeg
It's an amazing program
pen and paper is better
Notepad
you can compile it from GitHub
how
But if you have it installed ~/.minecraft/labymod-neo/addons
Not without rewriting it
damn
@spice maple is doing something like it I believe
mhm
ah alr
what are u looking for from laby addons
yea i mean from cubepanion what feature
alr thx
i just havent updated it for lucky islands
do you know how to compile it from source?
Widgets that tell you how many of item X is in your inventory
noh
hmmm
do u want me to compile it for u or show u how to compile it urself
ofcourse when a stranger gives u a jar there is always a risk
ill just tell u how to for future reference
alre
- install intellij for java
- download the zip and extract it OR git clone it (go through the source first, always check for malicious files)
- open the extracted folder with intellij
- you will see an elephant icon on the right side, click on it and you will see "build", click on it and let it build
- the jar is now in the folder in extractedFolder/build/libs
ping me if u dont understand something
wheres the zip
github is confusing
you can just use the cli for gradle
the green button "<> Code"
Send ss of intellij window
Ye
i cant send ss here
will this take long
alr
hello can anybody help me? I made a own skin and it doesnt load in any Server, how can I change that
Your skin may only use the steve/alex format, no custom stuff
but how can I change that
Yeah, in the skindex editor
#include <iostream>
#include <string>
#include <vector>
#include <map>
std::string FillBefore(std::string str, char symbol, int beforeSize) {
std::string resultStr = str;
int fillAmount = beforeSize - std::size(str);
for (int i = 0; i < fillAmount; i++)
resultStr += symbol;
return resultStr;
}
void PrintTable(std::vector<std::vector<std::string>> rows)
{
std::map<int, int> columnSizes;
size_t rowsSize = rows.size();
size_t colsSize = rows[0].size();
for (int i = 0; i < rowsSize; i++) {
for (int j = 0; j < colsSize; j++) {
std::string col = rows[i][j];
int colSize = std::size(col);
if (columnSizes[j] < colSize) {
columnSizes[j] = colSize;
}
}
}
std::string borderStr = "+";
for (int i = 0; i < colsSize; i++) {
for (int j = 0; j < columnSizes[i]; j++)
borderStr += "-";
borderStr += "+";
}
std::cout << borderStr << std::endl;
for (std::vector<std::string> row : rows) {
std::string rowResult = "|";
for (int i = 0; i < colsSize; i++) {
std::string column = row[i];
int size = columnSizes[i];
rowResult += FillBefore(column, ' ', size);
rowResult += "|";
}
std::cout << rowResult << std::endl;
std::cout << borderStr << std::endl;
}
}
My attempt to print a table in C++
you can use an array rather than a map for storing the column sizes, your keys are 0-colsSize anyway ๐
Really funny, but I wrote almost the same stuff in Java a bit ago haha, for comparing some stuff and I was getting annoyed it wasn't aligned
@minor roost wsup
lil side project im working on ๐
Translate and copy every unice character cubecraft has inside a web tool ready to paste into mc :3
but ofc a warning bc things like that are also possible
I would suggest you to remove the team icons
Well I'm not really sure what you trying to do
Would prob be the best Idea haha
Im just bored so I Made this ๐ญ
Actually, my idea behind it was simply to fight my boredom and to make the Unicoodes more accessible to everyone.
secrets of programming: that's how statuses in Gradle, pip, Node.js, etc. works. (Python example)
import time
def render_status(content, msg):
common_length = max(len(content), len(msg))
print(msg.ljust(common_length, ' '))
print(content.ljust(common_length, ' '), end="\r")
if __name__ == "__main__":
for percent in range(1, 100 + 1):
scale = int(percent / 4)
status = f"| {'=' * scale} {' ' * (25 - scale)} |"
handle_status(status, f"Processing... {percent}%")
time.sleep(0.2)
\r symbol
Processing... 1%
Processing... 2%
Processing... 3%
Processing... 4%
Processing... 5%
...
Processing... 96%
Processing... 97%
Processing... 98%
Processing... 99%
Processing... 100%
| ========================= |
that's the magic
As someone who doesnt know code, this is voodoo to me
does anyone know how to get started in c++ with directx?
To achieve this you can use ** **
I broke the game
how do i make GitHub repositories not packaged with a folder before the contents when downloading the entire repository
I don't think you can download the folder itself, need to download the whole package. ๐คทโโ๏ธ
to not let this happen, of course
i meant the folder in the downloaded repository zip file
yea
wanted the downloaded repository only having the contents, not being shoved into a folder inside a zip
Well if you download the repository, it'll always come with a zip file
not sure if i should make a release or set up a workflow
i suck at the latter, not sure if i did something correctly in the former
If anyone's curious how I make those pretty announcements: https://github.com/AustinLMayes/RubyCommon/tree/main/lib/common/discord
omg it's austin
gitchad
just unzip it? it will always come as a zip bc less bandwidth
is there a way to use my ipad as a midi input interface to allow communication protocols and interfacing with a host pc through a back forward compatible data transmission port preferably with minimal latency
You can achieve this by connecting your iPad to your PC via USB or wirelessly using apps like TouchOSC or midimux.
You may also need a software like LoopMIDI on your PC to route the MIDI data properly.
ooo thanks i will try!!
Np
is there a way to do it through garageband
like use garagabend keyboard and transfer midi data to pc
Select the track go to "Share," and choose "Export Song to MIDI."
You can then transfer this MIDI file to your PC.
oo ok ty
Buzzwords go
it's hard to read that my eyes glaze over
Has anyone ever programed to make your own website for school purposes?
I think everyone who followed a course related to cs has had to do that :v
Yeps
ty
REAL
I've build a quick Vue3/TailwindCSS frontend around your code ๐
mad flex
@dry ermine
Make sure you've a video evidence
https://discord.com/channels/174837853778345984/1088893265299910747
@muted plank
Thats cool
it comes as zip cuz its the most popular way of bundling a lot of files/folders together into 1
talking about zip, i created my own library that creates zip on the fly https://github.com/pam-param-pam/ZipFly
never again, will i look at zips the same, they had the worst possible documentation ๐ญ
xd thanks
๐
Is there any Client for Bedrock like Badlion Labymod or Lunar?
Yes, but you need to make sure it's allowed in the server.
https://discord.com/channels/174837853778345984/1088864244851802122
There's nothing to be done unfortunately
hi. is an admin online. i need help
thx
can some one teach me bedrock protocol please?
no one will teach you it
every developer has to go through the great trail of reading the docs
some often fear the docs
but all programmers must overcome them, at whatever cost, to obtain true mastery
๐ฃ๏ธ ๐ฅ
๐ฅ
Can you help me?
Please guys
The sky of the astral texture pack on bedrock no longer works, is it the pack that is not up to date or my console that is bugging
Can you help me please ?
the documentation and youtube will be very helpful, it might be hard to find someone to take time out of their day to teach you something for free
C++ is easy
said no one ever
Haha
Thier is no yt video about bedrock protocol
be the change you want to see - make that video!
you can join CC Java on versions as low as 1.20.0
For enthusiastic Web Developers, I found two cool UI libraries for yall ๐
Magic UI
Aceternity UI
Or just make ur own Components ๐
It would take ages for me to make an animated one
Just use your brain, do it a few Times and e vola I do it in 10 min haha
Framer motion looks too complicated for me
What about GreenShock?
Aka GSAP
never heard of it
I mean I haven't tried to learn that anyways so
May be one day
Lol
That's the industry Standard for the most big companys
wow
Will need to check it out later then
Defo
how do i draw
Brainrotted script for cubecraft O:
skidibi= pyth starts --~ te FILE ids "9928263024" ohio.var respacks-~-~non bhvpacos (bedrock) -~-~ on end.
.print hello world!
If you want to import the script on minecraft there is a modpack in curseforge i forget their name
For java/bedrock
bro thinks he cooked ๐
GreenSock ๐ *
greenshock
I remember seeing greensock things everywhere on codepen
Well GSAP is the industry Standard
only place I've seen it though
I'm surprised I doesn't seem to come up more
I guess its kinda niche going that hard on the animations
Well companys who uses GSAP in there Websites:
- Microsoft
- Nike
- Sony
- Apple
- Adidas
- Coca-Cola
- Ford
- Netflix
- Disney
but what tools do big tech companies not use lol
I meant more in the media space
and only 20k stars
๐
Someone ran
age = age + 1
on me send help ๐
lol
while (theEndlessMarchOfTimeContinues) {
sleep(31_536_000);
age++;
}
while true do
if month == birthday.month and date == birthday.date then
age=age+1
end
if year == death.year and month == death.month and date == death.date then
exit()
end
end
I wonder how old you could get in 1 birthday
yeah XD i forgor about controlling how many times it would run
this gave me a headache
how
have you tried drinking more water dear
no
i just had a 3 hour long train trip
and im on a one hour train trip again
while (!allFreshWaterIsPolluted) {
sleep(1800);
sipWater();
}
kek
why does this look like Lua
beacuse it is
@finite venture
what if I ๐ฌ๐ค.. put my ||minecraft ||โ๏ธ๐ ||bed ||๐๏ธ ๐ค.. ||next to yours|| ๐ณ๐จโโค๏ธโ๐จ.. ||aha ha ||๐ ๐คฃ.. ||just kidding||๐คช๐.. ||unless..?|| ๐๐
๐ซ
someone kept going that in an rp i made a while back lol
what if I ๐ฌ๐ค.. put my ||minecraft|| โ๏ธ๐ ||bed|| ๐๏ธ ๐ค.. ||next to you|| ๐ณ๐จโโค๏ธโ๐จ.. ||in the nether|| ๐งจ๐ฅ ||aha ha|| ๐ ๐คฃ.. ||just kidding||๐คช๐.. ||unless..?|| ๐ ๐ฅ
internal tools ๐
You are cooked if they did it on python
every big tech company also needs awful internal tools of course
Indeed haha
fr
What's this channel for...
Its nice to sniff for packets and get some information Out of simple Marketplace requests.
{
"id": "5e6dca43-8a1a-459d-8b57-4ec43d974b19",
"Title": {
"en-us": "Elemental Teens",
"neutral": "Elemental Teens"
},
"Description": {
"en-us": "Earth, Fire, Air, Water! The elements all have their own unique look, and these trendy teens have chosen their own! Which is your favorite?\n\n+ 10 Elemental Teens\n+ FREE Skin: Cory\n\nBy CubeCraft Games",
"neutral": "Earth, Fire, Air, Water! The elements all have their own unique look, and these trendy teens have chosen their own! Which is your favorite?\n\n+ 10 Elemental Teens\n+ FREE Skin: Cory\n\nBy CubeCraft Games"
},
"ContentType": "MarketplaceDurableCatalog_V1.2",
"Tags": [
"skinpack",
"tag.cute",
"tag.cool",
"tag.fire",
"tag.epic",
"tag.seasonal",
"genre.roleplaying_game"
],
"CreatorId": "2535444456665343",
"Images": [
{
"Type": "Thumbnail",
"url": "EXTERNAL_WEBLINK"
}
],
"CreationDate": "2024-08-30T09:28:33.896Z",
"AverageRating": 2.5,
"TotalRatingsCount": 2,
"IsTest": false,
"DisplayProperties": {
"bundleMSRP": 0,
"creatorName": "CubeCraft Games",
"price": "310",
"purchasable": true,
"packIdentity": [
{
"type": "skinpack",
"uuid": "04395553-0781-4a23-9d54-d253955b10aa"
}
]
},
"Prices": [
{
"sales": [],
"listPrice": "310",
"currencyId": "ecd19d3c-7635-402c-a185-eb11cb6c6946"
},
{
"sales": [],
"listPrice": "310",
"currencyId": "0113e233-7637-48e7-91b0-349fdc74713d"
}
],
"Locale": "en-us",
"StartDate": "2024-09-10T17:00:00Z",
"_rid": "mpUQANlVhwOrjQAAAAAAAA==",
"_self": "dbs/mpUQAA==/colls/mpUQANlVhwM=/docs/mpUQANlVhwOrjQAAAAAAAA==/",
"_etag": "\"cd001593-0000-0700-0000-66eb08840000\"",
"_attachments": "attachments/",
"_ts": 1726679172
}
average 2.5 kinda rough
did you really yoink the marketplace content ๐
How did you even get that lol
you can get that on most websites very easily
Guys anyone can help me i cant join cube craft
A microcode in my state is called a BBC Microbit ๐
Marketplace Endpoints are fun
There are alot more tho haha
I have much more ๐
you do know that theres an unspoken rule in yonking where you do not telling people about it right
Its Public
You Just have to know the right Endpoint URL with the right params
Is there any application for that
I can give you that when Im Home on my PC on frieday
I did this on my Phone over the night on my vacation 
Im planing on building one
As you Wish ๐
sending API request on phone
Would be great
Its pain ik
Weekend is coming
Flying Back Home on Saturday
It just sounds pretty funny
Lemme give you an example when im Back in the Hotel haha
Nah lol, I am not planning to send any request in the future on mobile phone
I wouldn't recommend it either because it's just a headache haha
Is this official api or third party
Who does bro ๐ญ ๐
Official Endpoints from the Minecraft.net Base URL
But since its Not document that Well its alot of trying and finding
I see
"not documented" ๐ญ
Lemme send you an example
See the cryptic looking GET req there (Not the full one since im on Phone hah)? ๐ญ
Its a pain the find them
Yah lol
1k ms is crazy
Found an Endpoint to Display all the free items.
Aka the Items that Cost nothing
{
"id": "053bbc6a-d0e6-4f11-a0c5-d855b546b9fa",
"Title": {
"en-us": "More TNT! Add-On",
"neutral": "More TNT! Add-On"
},
"Description": {
"en-us": "This explosive Add-On is pretty simpleโฆ It adds more TNT to any world you want! Craft yourself a wide selection of super overpowered and unique TNT types!",
"neutral": "This explosive Add-On is pretty simpleโฆ It adds more TNT to any world you want! Craft yourself a wide selection of super overpowered and unique TNT types!"
},
"ContentType": "MarketplaceDurableCatalog_V1.2",
"Tags": [
"addon",
"tag.craftable_blocks",
"tag.craftable_tools",
"tag.crafting",
"tag.custom_blocks",
"tag.custom_tools",
"tag.lucky",
"tag.mega",
"tag.add_on",
"genre.action"
],
"CreatorId": "2535452686478334",
"Images": [
{
"Type": "Thumbnail",
"url": "EXTERNAL_WEBLINK"
}
],
"CreationDate": "2024-02-13T19:27:37.624Z",
"AverageRating": 4.8,
"TotalRatingsCount": 281268,
"IsTest": false,
"DisplayProperties": {
"bundleMSRP": 0,
"creatorName": "Tsunami Studios",
"price": "0",
"purchasable": true,
"videoUrl": "EXTERNAL_WEBLINK",
"packIdentity": [
{
"type": "behaviorpack",
"uuid": "3dad7c02-d9d8-4fb2-a8ac-3ad9b33c6d1b"
},
{
"type": "resourcepack",
"uuid": "e0bcdf81-d096-43ac-9d6f-463238a7e5c8"
}
]
},
"Prices": [
{
"sales": [],
"listPrice": "0",
"currencyId": "ecd19d3c-7635-402c-a185-eb11cb6c6946"
},
{
"sales": [],
"listPrice": "0",
"currencyId": "0113e233-7637-48e7-91b0-349fdc74713d"
}
],
"Locale": "en-us",
"StartDate": "2024-02-20T18:00:00Z",
"_rid": "mpUQANlVhwMrgwAAAAAAAA==",
"_self": "dbs/mpUQAA==/colls/mpUQANlVhwM=/docs/mpUQANlVhwMrgwAAAAAAAA==/",
"_etag": "\"cf00a37b-0000-0700-0000-66ec584a0000\"",
"_attachments": "attachments/",
"_ts": 1726765130
}
productmanagement.freeproducts.json?locale=en-us&limit=25
Locate is the LANG Code
And the Limit is the param how many items are in the JSON
Also an Endpoint to get all Marketplace Creators this could be helpful to search for special creators in the other endpoints.
{
"100Media": "master_player_account!C815378092EF16AB",
"2-Tail Productions": "master_player_account!FAAF566E8298B9CB",
"4J Studios": "master_player_account!28D0EC53875E6219",
"4KS Studios": "master_player_account!2E272B64665ECEE8",
"5 Frame Studios": "master_player_account!B2D7071F1B63021C",
"555Comic": "master_player_account!20469F736BA06B81",
"57Digital": "master_player_account!628A275A0B44E2F9",
"A Foxy Toast": "master_player_account!A069C17F4BED7DBF"
... further creators
All with a Phone on vacation ๐
there's a mobile app for postman??
I'm still sad that postman ended up being mostly useless to me
it can't run javascript so the fancy dumps in laravel don't work at all
There is a good documentation: https://github.com/MC-Marketplace-Bot/Minecraft.net-Marketplace-view-API-documentation
Well then try to get the urls right for specific Creators
Gl
Postmann works in web yea
But there are also other Web Apps that you can use
And another big No of this os that it dosnt show the unreleased stuff.
Only the Things that are released
should i use godot or unity for a 2d pixel pizza tower style game
What is godot
Before you freak out completely, I've looked at Godot and for what you're up to, I think that's even the better solution
ok
I couldn't find any that can run javascript in the response :(
other than browsers themselves in the dev tools of course
Havent found any either
Godot, mainly because I'm an open source enthusiast ๐
Okay
What's that
Lol
a command
๐
what happened?
- see tech product website
- search for github link
- if at top: thumbs up, find out more
- if not: business product stay away
yes you can have cloudflare tell you where stuff is
hey feestja did you know that spiders are the only web developers that like finding bugs?
What a Joke haha
hello
Linux is fun
I somehow accidentally deleted the entire user interface
I now only have a terminal
Terminal is the banger for Linux anyway haha
LMAO
Holy cow
we love deleting the desktop environment !!!!!!!
explain me why the audio packages are needed to run gnome
probably for the sound effects
Guys, how do I link my Cube Craft account to Discord
Login to your Passport account and head over to the "Linked Accounts" tab.
thanks
Check out this:)
https://discord.com/channels/174837853778345984/1088893265299910747
(player)=scanning+12hours(PLAYTIME)= 30 hours
Thx
ur calling all the qa and devs and stuff spiders
arent they really spiders after all
spiders are cool btw
no
theyre not cool
spiders i mean
not the devs and qa obv
i would never say something like that about them
never ever
heh
blatant lie
spiders are the best when they are not in my house
spiders are actually quite usefull when they are in the house
they catch nasty bugs, flies, mosquitos
while doing nothing to you
win win situation
unless u live in Madagascar ig
The only spiders I Iike are web crawlers
(user) (time)= True
Austalia...
sigmaaaaaaaaaa
U devs should add new kits bro and ranked skywars would be cool just like hypixel๐๐พ๐๐พ๐๐พ
Maybe they can add skyblock ranks which is can buy with skycoins
I could do one
but like ranked bedwars
of hypixel
the matchmaking would be on a discord server
no
Who u think u is
Someone who knows that Cubecraft doesn't like to be like other server?????
and u?
who u think u is
Someone who likes pvp and wants that the pvp system like ranked skywars to be added so it can gain more players????
I mean a mode
Gamemode
Ranked skywars
New kita
Kits*
Like hypixel was doing it but hypixel deleted it
Kits who we have now is good
Ranked skywars was deleted from hypixel
it's enought
Tank is ok
They need to remove the one that no one is using
builder most skilled kit
They all warr using builder or tank
but
they need to remove them and add new kita
Only noob who cannot pvp use that
With that traps that never works on me
like baker in egg wars
kit who gave u 3 bread
u have an other one who gave u 3 gap
what is the best???
Idk what u talking about
Wat
And they need to add rods
For knockback
Like snowballs
And eggs
They once had them in skywars but they rmoved it idk why
Hii
import java.util.Scanner;
class FishScanner {
public static void main(String[] args) {
System.out.println("FISH SCANNER");
System.out.println("Are you a fish?");
Scanner scan = new Scanner(System.in);
String fish = scan.nextLine();
if (fish.equals("yes")) {
System.out.println("><(((('>");
} else if (fish.equals("no")) {
System.out.println("thats cap");
System.out.println("This you? ><(((('>");
} else {
System.out.println("Bro, what are you saying? U fish ><(((('>");
}
scan.close();
}
}
made a fish scanner
Haha
i lowkey studied 12 weeks of compsci for dis
12 weeks?
Lol
Why sooo long
cuz u n i
what do u guys think about this gui im making, ive still not finished the configuration system for features but id like to know others thoughts
Good, but I can already feel how it will lag
Thanks, but why lag?
What do you think?
Theres not much being rendered or computed
Minimal animations
No reason to lag unless you are on a 4gb laptop from 2014
meaning with bad Wi-Fi
You should make one for bedrock :)
Would be useful for grinding
I would but i dont have any experience with bedrock whatsoever, i might take a look next week
:)
the animations make it to slow to press on a button
animations usually shouldn't get in the way of what you want to do
I see your point, thanks for the feedback
oh wait, you made it on java? thats good then no lags, just in bedrock it start lag
May I ask which coding language this was made on?
Java
Yes its Java with the help of NanoVG
๐
โค๏ธ
isnt that marta? i think marta's name was marcoslater before
Looks like someone found out about certificate transparency logs ๐
Those domains never pointed towards anything actually in use, a long while ago we had a system which made use of a tool that generated certificates on the fly, like this one: https://caddyserver.com/docs/automatic-https#on-demand-tls
This effectively allowed us to set up and remove subdomains from our web-servers very easily as it just set them up as and when we needed them, the side effect however was that it would request and validate a certificate for our domain on any possible combination of subdomains someone tried to visit, as it would make the certificate there and then to then serve the request, even if the site didn't exist. (In that case, it would use the newly created site to serve a redirect back to the main domain)
Some people found out about it, and as you can see abused it a little bit to make it show up on CT logs as if we used all of those domains. A lesson was learned there.. ๐
man I was hoping for a funnier answer ๐ฅฑ
๐
Hmm guys I think that's malware-
that's absolutely wild lol
You should make a new server the new server for Java with war mods like planes and tank and guns and missile
war thunder in minecraft
Hi, does some know in what language Skyblock CubeCarft is coded
If I guessed I'd say java
Thx
Say /kill @e
the server is entirely Java based!
That was my gues too
y equals mc squared
Cool
This channel is useless๐ฟ
Slander
nuh uh I'm gunna post code here
Java specifically
something new
Skill issue
What did you do to get that?
wanted to join eggwars
who is the best player
Me
actually itโs me
skill issue
Hello!
Hii
/whereami
hey uh, how do i make items go emissive?
been trying to do it but the texture pixels marked for emission doesn't even work as expected
(i know, it's from the hive)
try asking it in Bedrock Add-Ons discord
also to make it emissive, it would be better to make the item as an attachable and render the item with texture mesh
- editing materials is not really recommended imo, it can break the game
having not used c I'm guessing are std
mbstrowcs
strxfr
??,?
I give up
When in doubt. ChatGPT
Fun, right?
based llm
any guide?
check wiki.bedrock.dev and their Bedrock Add-Ons discord server
also check blockbench
Guys, how do I link my Cube Craft account to Discord
Login to your Passport account and head over to the "Linked Accounts" tab.
No๐ฅฒ
Tbh the linking systhem thing is actually harder than it should be hahah
what do you guys think of bedrock edition's scripting API getting access to client to server packets and vice versa
program gravitycalc
implicit none
real :: height, time
do while (.true.)
print *, "Enter height: "
read *, height
if (height == -1) then
exit
end if
time = gravity_time(height)
print *, "Total gravity time: ", time
end do
contains
real function gravity_time(height)
implicit none
real :: height, gravity_boost
gravity_boost = 9.81
gravity_time = sqrt((height * 2) / gravity_boost)
end function gravity_time
end program gravitycalc
Physics + Fortran
we can fly 1000 meters for 14 seconds
if you know Fortran, you basically have your life solved forever
wow. my bro's phone suddenly went recovery mode after my bro wanted to reboot it because smth wasn't working
now i have to fix it :)
at least it has a custom recovery installed so it shouldn't be too difficult...i hope
Helper juany time
Guess your not only helper on cubecraft
fr
Wouldn't it help to just press all the keys at the same time that should cause a normal reboot?
the issue is that something was really wrong with the OS that it would cause to always reboot in Recovery mode...
thankfully it's now fixed, but i had to completely wipe the phone and flash android again
I had the issue before aswell, you just need to wait a few hours and its fixed ๐
Oh bootloader unlocked?
yep
Well im so UNLUCKY with unlocking bootloader
Btw if you dont want to get bootloop again then find a custom rom which compatible with your device
ip
Ooooh programming! Something I canโt do
Well not yet bro
Is this just like any programming at all
Hi cubecraft, I am reporting the hacker and I successfully reporting 25, can I be a helper ?, and thank you.
You can apply for Helper at https://cbecrft.net/helper. Do note that currently applications are only open for Bedrock.
Helper when?
Whenever i can fix my behavoir in the server maybe
Trying my best to not rage everytime
Sad
Am tryna do the same ngl
And also wait for my cool down
I troll too much :(
Fr
I think is best for you to not send this here.
https://github.com/devvyyxyz/windows-scripts made a repo for some useful window scriots
Haha Im doing the same
XD
Hmm are you still toxic...
Has been a while since I seen you toxic
;-;
same
does anyone have a list of ALL standard bedrock eggwars maps?
.
.
removed ones included?
/dig
Excluded please
What does /pip do, i used it once and it said failed to teleport
probably an admin command
pull in player
ohhh neat
Hello i started a journey to create the skyblock end dimension.
If someone knows something about what coding language they use and if they use some mods or plugins it would be awesome .
minecraft is coded in java if its for java
and then for bedrock is c++
no idea what they use for servers and things but im fairly sure it will remain in the same language unless a different language offers something better suited to what you are coding
Thank you
For Bedrock Servers mainly Java but if you use PocketMine then PHP
you can google these things yk?
also something that may help you is if you join a developer dc server
those things tend to help a lot
On Google I didn't find in what league where the Cubecraft servers coded so I tired here.
Yeah and thx for the help
nws, my dms are open if you want to message me
sadly i do work mainly in python and c# so not sure how useful that will be to you
Java
Yoo thank you very much for the help
import java.util.Scanner;
public class ClosedLmao {
public static boolean isClosed(String input)
{
//complete this method with an if statement
if (input.toUpperCase().contains("CLOSED"))
{
return true;
}
//using toUpperCase and contains
return false;
}
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
System.out.println("please put closed in ur string to return true");
String insert = scan.nextLine();
System.out.println(isClosed(insert));
System.out.println("yay");
}
}
goofy java code
I'm gonna studying to become a programmer. Like that's gonna be epic! But this code is really confusing but dw i like it.
Is this chat gpt...
No sane programmer would comment those two things
no I go to uni
it's one of the questions I got for practice
Weird
It would never punctuate the print statements and comments like that ;)
chat gpt wouldn't make comments like that. such silliness requires a human touch
Not nesscarly true seeing as it's built of open source code
It's just the comments from the teacher explaining the exercise lol
The code is just put around is weirdly I suppose
I really hope the open source code I rely on is a little more thought out lol
What does that mean?
its teleports the specified player to the admin
Imagine programming
Nerds-
Ikr
Like theyre just random letters and words
Put in random orders
I confirm
And it turns into a game
Sounds about right
Good not that it makes a difference really since ur no nerd
But still
...
Fun fact: I can code
Oka
Well I only know the basics
Lol
๐
๐
I dont approve of being skulled

๐
Oka lets go back to general
Yes sir
This is hilarious lmao
i cant tell if ur joking or not
yoooo
MIT App Inventorrrrrrrrrr
@everone anyone able to bye a realm on java
Why are u saying in every channel
HEY THERE IS THIS SERVER can recognize python ?
in what way would a server recognise python lol
That was exactly my question when I read the message
maybe he was referring to python as the programming language of bedrock edition, and the cubecraft server recognising it... might be wrong tho
Bedrock is written in C++
oh bruh XD i was so certain i remembered correctly XD
Haha
We proudly recognise python as an independent programming language, and will continue to do so.
Luckily not xd
Python haters rise up
Btw dk yk what language cc is written in, id assume either java equivalent or c++ but it could be basically anything
cc as in CubeCraft? We run a fork of paper (for the minecraft server itself), so Java
Also that ticket a while back, it is the shield that causes problems, any offhand item
Neat, might look into becoming dev so i can make skyblock better, too ignored rn
Best of luck
Good luck finding many of those
I know at least 50 personally
Real programmers program in Assembly smh
Well I prefer Holy C tbh
i must be dreaming
yes
ok ill say bye to a realm
where is it
Haha
I remember making an extremely convoluted idle game in scratch once
screen was just completely full of things moving
C is for people that actually want to get something done
Assembly is for idk
People who hate life
But I had to do that for computer organisation :D
Who owns cubecraft
Founded by Rubik and operated by Ziax I believe
no no not C but Holy C
Oh i didnt know that one yet
It still looks pretty usable tho
Just very unreadable if you dont code normally
Real programmers actually use brainfqck fr
Ziax ltd
How do I get to him
its not "him", its a company
just write it in google๐
i would guess Marta from the admin team just cuz ive heard this info before
but im not sure
so dont take it for granted๐
Yes, you can see that by the fact that she has the Discord Server Ownwr Badge behind her name in the user list
๐
This recognition of Python as an independent programming language is truly outrageous. Such a unilateral move disregards established standards and undermines cohesion in the programming community. Let there be no doubtโthis action will have consequences
!media
๐
Ily
no I love them
In what world would we not?
It is one of the most widely used programming languages.
Python programmers when they have to actually build a function instead of using a pre built in one
Thank you guys
I was born at a very young age
Soon later my father left me
It really means a lot ๐
I canโt react with a heart but if I could I would
I too was very small in my early years
Indeed
๐
Those were very hard times
For the first few years i couldn't even walk
outside of school you don't need to do that though ;)
life game
Fr, all programming problems can be solved by an in built function
There is absolutely nothing that isnt built in to python
Like for example Netflix, which was written in python, was already built in
I'm sure they also copied from stack overflow too
Python is one of the best languages in terms of how broad it is
Comaporer to something like JavaScript which 9/10 required a libary of sorts for some things
It is, yes
But it having a lot of built in functions doesnt make it a good language
Not quite, Netflix uses Zuul with java for the backend
Its so obviously satire
I agree
"in terms of how broad it is" i agree that large languge does not mean better, u have to factor functionality and optamisation
go >
Ik that you mean that, I was just relating this message to the rest of the conversation
php be like
updated it a lil since I showed it last time
Even coded a proxy so I can create these share links with "open . cc-stalker" etc so you would not need to do minecraft://blablabla
And a handy way bc it works on mobile too ๐
now that is what I call spicy
i messed up SO BAD
I think it's because of that font
you would actually make a good CC dev
Hmmm
Idk
Idk where to ask but will knock back sync come to cubecraft?
If you ever do please remember to make it that the user pleasedharch can't lose
Code it that whatever I do I'll always win
Lmao
Is that a yes?
Thats a maybe
Better than nopr
Ik not exactly a programming question but does anyone have an idea how to improve the UI? ๐
Add light mode
Good idea
Was already a thing
Oh
Don't take it personally but I think that's the worst idea I have ever heard
Madness
Hey it was still an idea and im glad for it haha
Bad ideas exist :)
haha
yea definitely the font bro
my best guess would be something about priority / importance
if you have many things st the same importance level it's not super clear what is most useful or where you should be looking
also add icons bc I love icons
does font influence that much
the visual hierarchy for importance is what my colleague who's made hundreds of sites talks about most
yea man if your font isn't monospace the code is very unlikely to work
Id also made a visual connection between min and max like you do with date pickers for a time range
only this one actually changes
I've never seen a code editor that has fonts that aren't monospace
that still isn't monospace bro
you probably have some weird setting on
prob
what editor is it?
QuickEdit
yea I'd recommend using something a little better
everything else messes up tbh
i tried Acode too but it doenst like my virtual keyboard
if you want something still lightweight try sublime
it... has so many negative reviews
:skull
ye
ahh yea I wouldn't know about mobile apps but definitely look up online what people are recommending
Now its legaly safe too haha
spooky stuff
@quiet arrow this is a crime
haha
yeah, I said it with their last picture as well
time to code in light mode ๐
yo
can anyone help me in ffa to kill someone
i can kill them, its just i need backup so they leave me alone
First I thought that was a warning for when you press light mode thingy
Hahaha
Hey @magic rapids @sweet barn
I need your help or any other developers help on your sky blocks servers.
There is nothing on the ground yet it says
"You're at the item on ground limit, removing oldest items from the ground"
@quiet arrow :')
invalid command name "1897932344448check_dpi_scaling"
while executing
"1897932344448check_dpi_scaling"
("after" script)
invalid command name "1897933085056update"
while executing
"1897933085056update"
("after" script)
invalid command name "1897936054848_click_animation"
while executing
"1897936054848_click_animation"
("after" script)
it happens after calling this:
Calls 2nd window (it opens and the 1st window gets destroyed but then prints the error)
def reg_button_klik():
loginscherm.destroy()
registreer_scherm()
using a button:
registreer_button = CTkButton(master=frame, corner_radius=20, width=400, text='Registreren', command=reg_button_klik)
registreer_button.place(relx=0.5, rely=0.675, anchor=tkinter.CENTER)
it works
ah
forgot they blocked the hashtag
@dawn parcel
tried to google but didnt find much that helped
Do you call after anywhere? I haven't used tkinter, so can't help much apart from what I find. But it seems like this error would happen if you've called after, or tkinter calls after internally somewhere. And it hasn't executed before you call destroy()
Calling after should return the id, which you can cancel with window.after_cancel
Smart ppl
uh no afaik I dont but ill double check it later/tomorrow, thanks though
try it some time
I like my eyes tyvm
Overreacting
@quiet arrow I will try it for a full day on monday

Rip your eyes
We will remember this sacrifice
are you insane
light mode is not that bad
Erm
!!!!!
Which one of you guys did this
Ai couldnโt replace this guy
only 45 minutes per button
which is only marginally slower than senior react engineers
Someday they will put a leaderboard of the users with the most kills
?
Fur poo
Instance.new = fur poo
C++ pisses me off
Go to my of
Optifine for the dirty minded ppl
I meant optifine
๐ซฅ
hi
Most leetcode completions
yo fesa, have u encountered the problem of long loading of voting item?
for some reason, after the cube update, instant opening of voting menu doesnt work
and i have small question, why did they need to change slot at all?
xd
No
After I changed the hotbar slots, it works like always
It's all the same code now, instead of each game doing it themselves
nvm, yeah I see
It takes a little bit for the items to get into the inv. So it doesn't work
okey I fixed mine
Laby has an event for when items are added in the inventory. I used this
Your would also not work when being send to a new game on the same server I think, so free bug fix I suppose
๐ญ
i dont have it xd
Well make it with a mixin
don't forget to make snowman survival an active game
or else we can't update ;(
rejoin and it'll be fixed
I forgot oops
or /cdebug reload or something
still can't seem to be able to update it, did something change since last year?
I'll look
what does it say?
oh ffs
one sec
doesn't say anything and when I try to update again it just says I have the sumbit cooldown for 5 minutes.
ah alright
@vague shore try again
sorry about that
It does track failed request, but I have to check it manually ofc. I should make it send me a dc msg or something lol
AAH
nope
Okey, 2m
I did or instead of and
It's building
ah
I should maybe test stuff but oh well
xD who cares about testing am I right if something goes wrong well then sad :(
still have to wait like 3 minutes
@lusty edge can y come online for 1 min?
';';
hi
hi
progammed
nice
thats alot



