#💻︱programming

1 messages · Page 4 of 1

quaint wraith
#

I want to do someone can open the chest but others cant

#

it is really hard

brisk badge
#

That's is more on the behaviour side

#

Not really my specialty

hard roost
#

Malware is a problem if you're stupid, just check what you are installing

#

Just common scare tactics

plush walrus
#

this

tranquil ice
#

Technically you are, but that's if you grant any random app root access. If you have something like Magisk, it'll pop up a message to tell you when something requests access and you can deny it.
You're more likely to get it due to an OEM not providing your device the latest Android security patch.

candid jay
#

how do for loop in html

brisk badge
#

you dont

candid jay
#

nono, is possible

#

how

hard roost
#

yesyes, is impossible

spring tiger
#
<html>
    <body>
        <p>for loop in html</p>
    </body>
</html>
brisk badge
hard roost
faint knoll
#

Ok so you mean there shouldn't be any malware issues if I just want to like get the Minecraft worlds from Android folder using root access

#

right?

faint knoll
hard roost
faint knoll
#

but-

hard roost
#

/j if it wasn't obvious

faint knoll
#

then how do I get minecraft worlds

tranquil ice
faint knoll
#

I'll use mobile's default file explorer :/

hard roost
#

Default file explorer doesn't have permission

tranquil ice
#

Default doesn't support viewing root files so you'll need a third party app.

faint knoll
#

Google's File app?

tranquil ice
#

Personally, I use Total Commander

faint knoll
#

c...o...o...l...

#

thx for all the info btw 😀

#

imma go now

hard roost
faint knoll
#

okkkk

candid jay
candid jay
brisk badge
# candid jay make game thx

html cant really be used to make games. HTML is typically used for building websites. Any layout and formatting is added with CSS, and functionality is done with JavaScript.

#

therefore, you should learn javascript if you want to make a game on a website

hard roost
candid jay
#

it's no longer funny if no one gets the joke

faint knoll
#

I have a whole site of HTML5 games.

uncut comet
#

Lol HTML 5 Replaced Flash.

#

You could make games

#

Flash was an extreme security risk and needed to be rewritten.

#

That's why HTML5 came out and replaced it.

violet jewel
plush walrus
#

well in other words it was too expensive for Adobe to maintain

brisk badge
indigo nacelle
faint knoll
faint knoll
quaint wraith
#

Hello

minor roost
#
static {
        threadPool = new ThreadPoolExecutor(4, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS, new SynchronousQueue<>());

        dir = new File(Minecraft.getMinecraft().gameDir, "xxxx");
        if (!Files.exists(dir.toPath())) {
            try {
                Files.createDirectories(dir.toPath());
            } catch (IOException ignored) {}
        }
    }
#

tf is this syntax

#

its variable assigning right?

#

How is it called?

tranquil ice
faint knoll
faint knoll
tranquil ice
#

Java only loads classes when they are referenced.

faint knoll
#

Cool

#

Then we can just thread it and keep it running forever

broken sedge
#

cool language

faint knoll
mild blaze
#

A hacker

tribal summit
#

Java big fun 😛

west lance
#

Cubecraft skyblock

Admins plss can you fix this glitch.
I'm mining the quart generator and suddenly i got kick. And the chat say error(something), and i rejoin and mine again and while i mining the quartz i got kick again. And after i rejoin the quartz is gone😣.
It already happen in the past few months but i ignore it because i thought it was gonna be okay. And now it's still not fixed so plss fixed the glitch. Thank you

vocal fern
#

Happy 6

tribal summit
#

My skin on cube works perfectly fine. Maybe change the skin, to see if it's a problem with that specific skin or report the bug

minor roost
#

what kind of skin

tidal valve
#

Are you using a skin made in bedrock with stuff from the marketplace or character editor?

quiet arrow
#

Heya, we’re aware of this issue. And working on a fix 😄

quaint wraith
#

s

#

I am back

#

xd

blazing birch
#

take 4 minebucks or double it and give it to the next person

wide mist
#

GIMME

tribal summit
#

Hello, I have a question for all of you designers/programmers, aka all the people who know how Bedrock texture packs work. I know the basics of making texture packs and editing things, but I'm not very familiar with names of certain areas yet. What I'm trying to do is either make the text in red circle smaller or invisible since it's kinda bugging me. I used to have a texture pack that hid it (so I know it's possible), but now I made my own and I have no clue what in the .json file controls that. The other option is, to leave that and remove the enchant list under the item.

Any help and tips will be greatly appreciated

faint knoll
#

Delete and join new world

tribal summit
#

Yea no... It's a texture pack thingy

minor roost
#

change your words

#

💯 💯

spare otter
#

Hello! Im trying to make custome uis!
Ive made some of them but I dont know how to test them

#

I know in cubecraft there is custom ui

#

maybe someone knows how to open it ingame!

brisk badge
minor roost
#

nice

faint knoll
#

dude why show so much love instead of just pinging one lmfao

tribal summit
faint knoll
#

nah things shouldn't work the way it works

hollow delta
#

players.run == jump

#

player.press jump == run

minor roost
#

?

trim slate
#

sorry, can anyone help me about minecraft development ?

brisk badge
trim slate
#

I'm interested in how I can start learning to make minecraft server plugins, what programming language should I learn and how

quiet arrow
#

Java probably

#

Most popular server software are written in Java

tribal summit
faint knoll
#

is minecraft server hosting free? Or is there an alternative to making server public without hosting it with money?

quiet arrow
#

There are some free mc hosting sites, but it’ll probably be on an under powered machine. But if you’re just playing with a few friends and without too much plugins/… it should be fine

Otherwise, a vps or paid hosting platform might be worth it if you go with a lower tier one. They can be affordable

faint knoll
#

So uh no alternatives to hosting?

#

to make server public for all?

tribal summit
#

I mean, you can host your own server on a home pc, but the experience is gonna get real bad real fast if you get more players on...

#

So a hosting platform would be the wisest in most cases.

faint knoll
#

cool

#

imma use free hosting then thx

#

now I just need to find out how to get free bot account

minor roost
#

xD

faint knoll
minor roost
faint knoll
#

Thx

#

But all that tells is what is a LAN

#

But I am saying, how do I do that in Minecraft?

minor roost
#

java wise

faint knoll
#

oh

#

now I understand

#

I'll have to pay an Internet service provider to host my server really?

#

Free hosting best ngl ok thx

faint knoll
#

yes bro

#

I ain't paying an Internet service provider and giving away password to others so we can play LAN

#

if that's what it is.

quiet arrow
#

You’d use your home network

#

Or the network where you host the party ig

#

Just open some ports, stop caring about security and you’re good to go

faint knoll
#

stop caring about security could be the last words I'd ever hear lmao

#

I'm caring about security

brisk badge
#

then dont host it on your local network!

upbeat geode
#

G

robust basin
#

Can i be unbanned from the server pls?

calm bison
#

how'd you get banned

modern plume
robust basin
robust basin
calm bison
#

weird, i dont know why you would get banned for bad ping

tribal summit
#

They get back to everyone, it sometimes just takes a bit more time. Sadly there is noting more than you can do other than patiently wait for a team member to respond to the appeal.

robust basin
#

yeh. i only get 19 more days. but im gonna wait. hey guys im new with this game. who wanna show me how to play it. if u wanna show me lets chat discord

minor roost
#

If u make a lan party

#

The whole point of a lan party is that u are all in same house connected to the same network

robust basin
#

hi Ghost? wanna be friends?

#

Im kinda lonely

robust basin
#

add me pls

#

pls accept and send hi

minor roost
#

Hi

indigo nacelle
faint knoll
#

Overall, I am not paying

brisk badge
#

Then you wont be able to do it💁‍♂️

minor roost
#

Man u have no idea what you are talking about 90% of the time

#

If u have a router in ur home u have a local network

#

U don't have to pay any additional costs

minor roost
faint knoll
faint knoll
quiet arrow
#

They'd be in your house

faint knoll
#

Right

#

probably with a knife or with a crane

#

😨

quiet arrow
#

😔

faint knoll
#

and I don't like to make IRL friends from online at all

minor roost
indigo nacelle
plush walrus
#

yea thats probably best

#

unless you know what you're doing with opening ports etc.

faint knoll
faint knoll
#

Aternos works only when players are online. Guess I have to find out how to make a free bot account

faint knoll
# minor roost

Dude this face perfectly matches with the one in your pfp wow.

minor roost
robust basin
#

hi

tribal summit
#

Hello 👋

lusty pagoda
faint knoll
robust basin
#

haha

ocean jewel
#

!rank

minor roost
#
this.gameEventHandler = new GameEventHandler(this);

// Define this before behaviors try and get it, or else it will be null and the builds will fail!
this.playerContext = PrimaryPlayerContext.INSTANCE;

{
    // the Behavior constructor calls baritone.registerBehavior(this) so this populates the behaviors arraylist
    pathingBehavior = new PathingBehavior(this);
    lookBehavior = new LookBehavior(this);
    inventoryBehavior = new InventoryBehavior(this);
    inputOverrideHandler = new InputOverrideHandler(this);
    waypointBehavior = new WaypointBehavior(this);
}
#

what is this syntax?

#

why is half of it wrapped in ?unneccesary? {} block?

brisk badge
#

Looks like one yes

minor roost
#

so theres no point of it?

#

also on the topic of weird java syntax

DefaultCommands.createAll(baritone).forEach(this.registry::register);
``` tf is this?
#

the double dot one

brisk badge
#

I believe its is the same (or at least very similar) to the lambda expression (->), if you are familiar with that one

#

Basically it will call the function register() of the registry instance

#

More about it:

minor roost
#

some wieird stuff

#

but ty

nimble hollow
#

hello

bronze shard
#

Wow I have no clue how java is meant to work lol. I use python

atomic dust
#

C# > Java
JS > Python

bronze shard
#

i can't rlly have an opinion as i've nvr rlly explored different lanuages much

atomic dust
#

👀

tribal summit
#

C++ is fun 😛

#

Also I have started liking Kotlin over Java in some cases...

finite sluice
#

Someone needs to program a better anti cheat for this server lol

brisk badge
brisk badge
atomic dust
#

for example u cant comperate c++ to python bc c++ is compiled to engine code

#

Also i prefer JS syntax

#

like WTF is this

len(list)

vs js

list.length;
#

this is huhe diference also for loops are suck in python

#

i just hate python syntax its just no logical and intuitive language

atomic dust
brisk badge
#

It doesn't really matter to a programmer if a language is being interpreted or compiled, it's just a difference in speed

#

The languages have other uses. Python is very useful to learn as a beginner for its simplicity, and it is useful for machine learning and data analysis and visualisation. Javascript is mostly used on the Web

quiet arrow
#

How in the world is the len function your problem in python

faint knoll
#

Prolly OCD

bronze shard
#

python syntax is rlly odd

#

and annoying

quiet arrow
#

Syntax is fine for me kinda, I've began hating non static typing tho

minor roost
#

Maybe I'm just too used to java and everything being an object there

spring tiger
#

its just the way you read it
I don't think either approach is bad, if anything the Java one is stricter for typing as you cannot use ".length" on a class that does not support it, whereas python does not care and will attempt to run the len method on the class/type, and error if it can't

sharp crystal
#

we're starting with learning python today :')

spring tiger
quiet arrow
#

Yeah, I do. Still don't like it

#

It makes a lot better, but idk. I really love the static typing stuff

spring tiger
#

I think thats the beauty of it though, you can quickly get things running without having to worry so much about static typing. probably why the language is so popular in the science field/data visuals

but for my university project I am using as many of the python syntax features as I can, also creating my own classes to "enforce" static typing

atomic dust
atomic dust
#

if yes then what is better Windows bath files language or c++

#

thats make no sense to compare these languages

atomic dust
#

just want to say my preference
JS > Python

#

For example Generators and Iterators are bad in python implementation

#

also u cant add int to string thats also annoying

#
a = 10
print("My number:" + a)
#

this will throw error

#

🤷‍♂️

#

i think python is just more popular, and more programming begginer know about it bc its easier lang syntax but less intuitive

#

And actualy design of JS is really cool, Its Prototype based OOP

spring tiger
#

Or, just use print's multi argument support instead and let it do the work for you 🙂

a = 10
print("My number:", a)
>>> My number: 10
atomic dust
spring tiger
#

I wouldn't say it was annoying

#

It makes the code far more readable

#

I just personally don't think any language is necessarily "better" than another, its entirely dependant on your use case and what you prefer anyways 😛

atomic dust
#

👆✅

#

bruh why we cant use reaction in this channel?

spring tiger
#

think your account has to be linked, its to stop spam from unverified users

brisk badge
#

You need to boost the server if you want reactions

quiet arrow
spring tiger
#

@minor roost what region do you normally connect to
eu, as, na?

#

guessing you are on version 1.19.62? (bottom right on home menu screen)

#

our team is looking into it, unfortunately it may take some time for things to restart

tribal summit
atomic dust
#

bruh

faint knoll
#

Dude ig the best programming language to a programmer depends on his purpose. One programming language won't be able to provide you with everything.

#

(other than AI languages I think, lol)

finite sluice
# brisk badge The anticheat is fine

Ah so you're telling me that the fact I watched a hacker fly at mach 200 killing everyone with aura for 20 solid minutes even after sr reporting them is considered a "fine" anti cheat?

#

I have a whole minute video of this dude just unleashing everything. I mean I could code a better anti cheat with command blocks.

robust basin
#

hi

#

Feestja why dont u chat me anymore?

tired elbow
minor roost
minor roost
minor roost
robust basin
#

huh?

turbid marsh
#

hey do u think that its possible to create a uv map for 2d sprites?

finite sluice
plush walrus
#

omg why haven't they thought of that 🤯🤯🤯

spring tiger
brisk badge
minor roost
#

doesn't the server run on java youcannotpossiblybeserious

brisk badge
finite sluice
#

Are you sure? I've done a few, I mean I guess attaching an invisible entity to every single player would eventually cause immense lag.

minor roost
#

I'm sure plugins are better than command blocks

quaint agate
#

Ok

minor roost
finite sluice
wet schooner
minor roost
#

no not really

wet schooner
#

:(

minor roost
#

ofc native command blocks are gonna be better than 3rd party plugins

wet schooner
#

Tell me better how to cheat the discord

#

I want to use emojis in the description, but as they look like :emojiName: for discord they are <@emojiId>

#

:(

tribal summit
#

Cube had 3 full-time anti cheat developers, that were working on Sentinel for Java & Bedrock for more than 2 years. And if they couldn't do it perfectly in all those years, I doubt a few commands will be able to do it better. Anti-cheats on Bedrock are hard really hard. So yes, the Devs are doing their best, it's just that they are fighting a very hard war.

Also, maybe a few more sentences from that thread, written my former Devs on why Bedrock cheat detection is just so hard. Now with Minecraft Bedrock edition, creating an anti-cheat is extremely difficult. The game is still incredibly easy to create mods for, but we have no access to view its source code and therefore create checks based on its internal algorithms. So we're flying blind, making checks created solely from trial and error. This is why development for Sentinel Bedrock is extremely slow. (written by Hulk_)

wet schooner
wet schooner
tribal summit
# wet schooner Is this only a problem with Bedrock minecraft?

Minecraft is still not "an open source game", but way more is known about how Java works. As further stated by Hulk_ Creating an anti-cheat for a closed source video-game is incredibly difficult, which is why our Java Sentinel is much more mature. For anything more, even though I do know quite some about coding already you should ask someone with actual experience with MC Java since I never really looked into it or learned about how it works...

wet schooner
tribal summit
#

I'm mostly going here from what was written in the Behind the Cube thread and what I already know about the games. But yea, I did just give you the snippets talking about Bedrock Sentinel

#

Also yea, if you haven't read the article yet, I do suggest reading it, it's a very nice insight

wheat relic
#

It’s a java server that doesn’t allow java players to join only bedrock

#

Can easily test with the knockback system

#

All the java issues from the KB or in bedrock

minor roost
wheat relic
#

Idk about damage still but

quiet arrow
#

Sight

brisk badge
minor roost
#

sounds simple enough...

brisk badge
#

Very inefficiënt and slow, though

#

What if they're 10 thousand blocks away from the origin? To optimise, you would need to start rays with steps of like 1000 blocks, and keep makign that smaller and smaller, until you reach your wanted precision (for each direction(

#

And you need to do that for all players, pretty frequently

wheat relic
#

I have an idea, check what chunk someone is and if they move multiple chunks too fast in a certain amount of time in a Linear direction on X/Y/Z = ban

quiet arrow
#

Banning cheaters isn’t the problem lol, not banning legit players is the problem

#

If your idea sounds easy, it probably won’t work on a large scale nor with lag and other issues involved

wheat relic
#

it wouldn't ban real players unless they are using an elytra but cube bedrock doesn't have them

#

not with fireworks atleast

#

that proivide too fast of speeds

quiet arrow
#

Or a horse with the speed pot in lucky.

wheat relic
#

you could just disable it on certain servers or up the chunk count

#

or the time

#

you could also if you label chunks as "void" or "unvoid" and see a player staying in one for too long just ban them easy. and if there is a block placed in it it marks it as unvoid

quiet arrow
#

Damn, rip people lagging over the void ig

#

Don’t think checking chunks for blocks is very efficient anyway.

finite sluice
brisk badge
#

And you can pull the nbt data of players too on java

finite sluice
#

Don't know why I ever switched away from Java besides ease of access

brisk badge
finite sluice
#

I literally only switched to bedrock because I had to sell my PC for college funds that I never even used, but I still had my xbox so I bought bedrock hoping it was somewhat the same. Who knew C++ was so garbage compared to JavaScript 😂

#

Anyway, off to bed, sorry for being so stubborn.

hard roost
#

JavaScript..? 🤔

quiet arrow
#

Didn't you know

hard roost
#

no

brisk badge
minor roost
#

regardless, i dont think the command block system was decided based on the language used

minor roost
wet schooner
brisk badge
golden heart
#

مش عارف اتكلم انجليزي

wet schooner
wet schooner
violet jewel
#

he said "i don't know how to speak English" in Arabic

wet schooner
wet schooner
#

It's just that people usually like to spam Arabic words

brisk badge
wet schooner
#

Or maybe my translator doesn't translate correctly :D

brisk badge
#

You're a full stack developer, and you don't speak English?

wet schooner
#

I can't speak it and I don't translate words well.

#

Thanks to Russian education ;)

brisk badge
#

Interesting

minor roost
#

There are ongoing projects like mc coder pack partnered with forge that are giving meaningful names

#

Fabric uses yarn I think

#

Oh and there are official but all rights reserved mappings from mojang

faint knoll
#

ez way: rename app name to "app_name.zip" (without quotes). Unzip the zip and check the internal code 👍

hard roost
#

Works for:

hard roost
faint knoll
hard roost
#

Dose work on apk (android) free?

faint knoll
#

Idk

#

May crash ur pc while extracting this tho.

hard roost
#

this what

#

why would it crash pc

#

💀

minor roost
hard roost
#

you think

faint knoll
#

I tried unzipping notepad internal code and it hanged my pc.

#

But when it finally opened one day...

#

It was all random characters of alien language

faint knoll
#

by the process I said

hard roost
#

by the hanged my pc you said

#

7zip opens it no issues

faint knoll
#

No after I open the code

#

That too in notepad

#

Then it hangs pc

#

Did u even try what I said, lol

hard roost
#

literally no issues lmao

faint knoll
#

Then u got nasa pc probably

#

The westerners do be rich 🗿

hard roost
#

Assuming im a westener lmao

faint knoll
#

Ok

#

Special case

#

Also you can know the internal code of Google, but that's too huge of a code and could potentially give you a heart attack.

hard roost
faint knoll
hard roost
#

same thing

faint knoll
hard roost
#

omw to unzip google

faint knoll
faint knoll
faint knoll
#

What emoji is dat

hard roost
#

husk

faint knoll
#

Hi husk

#

Friend of Ye Lun Musk

#

Ok bye

hard roost
minor roost
#

bro found a way to crack google

eternal bronze
eternal bronze
quiet arrow
#

What did I just read

faint knoll
faint knoll
faint knoll
eternal bronze
faint knoll
#

||(fun fact: google runs off notepad)|| 💀

minor roost
#

Petition to make this channels read only for certain individuals

#

As my brain cannot physically comprehend with what it sees here

faint knoll
#

Why man. Just because you didn't know a thing existed doesn't mean that you can just refuse to accept it?

#

Do you need the zip files for notepad?

hard roost
#

???

faint knoll
#

Ok then, gimme just some days I will show you the inner working of notepad

#

And then you can keep being so edgy

quiet arrow
#

This should be punishable.

faint knoll
#

Ok then I'll not send notepad internal code :/

robust basin
#

who knows how to do python code here?

hard roost
#

Inb4 someone links dontasktoask

hard roost
minor roost
#

What do you need help with?

robust basin
minor roost
candid jay
#

just google it

#

if you don't know what to do, google

quiet hollow
robust basin
#

yeh, but its boring bro

robust basin
quiet hollow
#

either learn C# along with unity engine or C++ with unreal

#

python is not gonna get you far in game developing

robust basin
#

Oh why?

quiet hollow
#

there is lit no game engine for it

#

its fine if you wanna make 2d games or sum

robust basin
#

Ohh. But i really wanna learn it

quiet hollow
#

na na you can, I am just saying at some point you would need to either pick up c# or c++ if you wanna get far in game development

robust basin
#

Ok. So uhh what website do i need. I need a really good one not a boring one

quiet hollow
#

for python? go to YouTube and find a tutorial lol

robust basin
#

how bout for C++ and C#

quiet hollow
#

same thing applies, there are some great tutorials on yt

robust basin
#

ok. I will try and check on that

candid jay
#

The first programming language should not be C++

#

You will die

#

You'll gain a advantage for learning the others, but actually learning C++ itself will be hell

quiet hollow
#

c++ as first language will build you up to be a 10x dev

spring tiger
#

._.

minor roost
#

Honestly u will prob get discouraged if u try to learn c++ as your first language and all by yourself

#

to add to that you will prob follow trash tutorials online and not understand anything

#

Also most likely pick up bad coding practices

#

And imo c++ is ugly

#

Also just realized that If u slur, discord's auto moderation causes complete crash of mobile app lol

candid jay
#

it's good moderation

quiet hollow
#

go back to writing boiler plate!

minor roost
#

I like boilerplate

#

No need to be rude tho

hollow stratus
tribal summit
#

I started of in High school with Java, but I'm not really sure if that's really better 😅

minor roost
#

is there anyone who knows a lot about minecraft development? Dm me

quiet arrow
#

It's easier to just ask your question, if someone knows the answer they'll reply

quiet hollow
#

Minecraft development!

quiet arrow
#

🫠

dense zinc
#

look up dontasktoask on google and you'll see a good example why

candid jay
#

oh thanks I found it again

robust basin
#

hi

dense zinc
robust basin
#

hi

minor roost
tribal summit
#

Hello 👋

minor roost
#

I shall just rephrase and remove all I said lol

minor roost
#

If he started with python which is pretty straightforward I'm sure ppl with a bit of help would be able to pick it up by themselves

#

But c++ is much harder syntax wise

brisk badge
#

I have always used Java, but for the following rounds of the olympiad, c++ is mandatory harold

#

But it won't be that bad i believe

marble lion
minor roost
#

i have a memory leak. I am unable to find it

spring tiger
#

@minor roost I've not looked deeply into your code but as soon as I saw the word "Queue" and python, you will want to look into the threading module which has concurrent-safe implementations of queues, variable locks etc.
You are likely running into an issue like that, where two threads are trying to modify a variable or access a queue and its causing issues

minor roost
sharp cedar
#

Uuuuuhhhh oops

#

Nvm is works well 🤷

spring tiger
#

not really related to programming is it 😛

sharp cedar
#

I mean it says programming

#

It kinda make sense I guess 🤷

quiet arrow
#

@minor roost pls explain

hard roost
#

consistency also i think the other one will be open forever

spring tiger
minor roost
#

If there's a better way pls tell me

#

And the player program can't have ports open

quiet arrow
#

match if you’re on 3.10 or 3.11, don’t remember when it was added

hard roost
#

.10

#

Tbh is there a sane reason not to be on the latest python version?

spring tiger
#

yes

#

many thousands of packages on linux systems only support a specific version for that specific os. since python is so heavily used

for example, raspian comes with 3.7. I tried upgrading to 3.10 and it causes a whole mess because many system scripts do not support that version

#

also depends on library support, not everyone updates things anymore or wants to
lots of driver libraries for hardware on raspberry pi are written for 3.7 only

hard roost
#

I understand if the if the system for whatever reason cant support the newer reasons or some goofy library doesnt support but if it supports then one should update

hard roost
spring tiger
#

yeah there is not really a reason to update unless you want all the new syntax changes and what not

#

also each version gets like 5+ years of security updates

minor roost
brisk badge
spring tiger
#

🔁

hard roost
#
taskId = jMessage["taskId"]
pl.taskId = taskId
``` Kinda insane honestly
#
pl.taskId = jMessage["taskId"]
``` Couldn't do this?
#

random variables that arent used

minor roost
minor roost
#

Fixing problems was more important that implementing that feature

spring tiger
minor roost
spring tiger
#

I.e

if my_func == "next":
    pl.next()
elif my_func == "prev":
    pl.previous()
else:
    pl.play()
pl.taskID = None
minor roost
spring tiger
#

But you are doing that anyway

minor roost
#

Hmmm

spring tiger
#

Your code looks like this at the moment right:

if my_func == "next":
    pl.next()
    pl.taskID = None
elif my_func == "prev":
    pl.previous()
    pl.taskID = None
else:
    pl.play()
    pl.taskID = None
minor roost
#

I don't think Im setting taskId to none in else

spring tiger
minor roost
#

I got used to with statements

#

But never remember how to type them xD

spring tiger
#

What IDE are you using to program Python btw? 🙂

minor roost
#

I need photography channel here anyway xD

minor roost
#

And pycharm

spring tiger
#

it also can suggest ways to make your code more pythonic

minor roost
#

Uuu i will def check it out thanks

toxic gull
#

¯_(ツ)_/¯

sleek needle
#

Hello everyone

minor roost
#

Hey

brisk badge
#

w3schools is that really necessary 🥲

minor roost
#

I knew there could be a problem with race conditions but those would be edge cases

#

However I don't understand how race conditions can lead to memory leaks

minor roost
#

For god knows what reason I can't reuse that instance and add & play another media to it hence I recreate it(I do a release() on it but ig that's not enough)

minor roost
#

Well well well

#

Didn't see that coming but the program freezes on player.release()

minor roost
#

Muted twice lovely for sending links

#

What I wanted to say is that it honestly looks like vlc memory leak when playing from url

#

Thanks to everyone for help

faint knoll
brisk badge
faint knoll
hard roost
#

@faint knollhey where is the notepad sourcecode

minor roost
#

And they indeed cover basics only

faint knoll
faint knoll
indigo nacelle
faint knoll
minor roost
#

Ok.

faint knoll
#

IRL matters, can't help

#

Btw have you tried what I told you to do?

hard roost
faint knoll
#

mean

hard roost
#

send screenshot of a part of the source code

minor roost
#

He cant he has exams man

hard roost
#

oh did he say he had exams

harsh crest
#

working GUI

#

😎

minor roost
harsh crest
faint knoll
hard roost
#

Well I do

faint knoll
#

cool

#

I am more disciplined than u

hard roost
#

I do the exams on computer

faint knoll
#

imagine

minor roost
#

IDE - Ink Drawing Environment

robust basin
#

hi

autumn zealot
tribal summit
#

Hello 👋

minor roost
hard roost
#

The internet is at your fingertips my friend

minor roost
#

i did all of that

#

xD

hard roost
#

I mean the error says what to do, manually set the path to pylint

minor roost
#

i did that

#

not working

spring tiger
#

You need to pip install it if you haven't already

minor roost
#

also did

#

it prob finds wrong path

#

how can i find the correct one?

hard roost
#

what have you set path as

spring tiger
#

Windows? Type where pylint in cmd

minor roost
#

INFO: Could not find files for the given pattern(s).

#

idk why

spring tiger
#

Where are you putting it?

minor roost
#

puting pylint? good question i cannot answer

#

pip does that for me

spring tiger
minor roost
#

nothing

#

and i got bamboozled

#

thought its actually there and i dont have to re type it

#

guess not

spring tiger
#

guessing you're using a virtual environment

#

so it should be fine that it uses that autodetected one

#

so i am not sure what your issue is

minor roost
#

feels dumb and missleading

#

thanks for help

bold fable
#

@quiet arrow help someone told me to place a ; after each line in python, I think I am gonna cry

quiet arrow
candid jay
bold fable
dry ermine
royal trench
#

@quiet arrow @sharp crystal don't mind the library, school makes us use it xd

hard roost
quiet arrow
#

Very much not a fan of the massive indentation with if-else

quiet arrow
dry ermine
hard roost
quiet arrow
#

@royal trench Any reason why you use print and add "\n" instead of println?

dry ermine
#

Lol

quiet arrow
#

@royal trench I kinda want to play it now ;D

#

Oh wait, the program plays

royal trench
#

I should've used println yea

royal trench
hard roost
dry ermine
#

🫡teach me

Cuz I don't know

hard roost
#

it should do it automatically???

#

unless im stupit

quiet arrow
#

Your editor should indent on its own when you press enter from a line

dry ermine
#

💀I don't know

#

Ohh

#

How do I ummm activate that stuff

hard roost
#

???

dry ermine
#

Cuz I just format it myself

#

💀

hard roost
#

do you press backspace after pressing enter or what

dry ermine
hard roost
sharp crystal
#

Idk why but i just got an idea for a new project :O

dry ermine
#

Coooo

#

Lll

dry ermine
royal trench
#

if you use IntelliJ u can just do ctrl+alt+L@dry ermine

dry ermine
dry ermine
#

How do I activate Vs code formatter

hard roost
royal trench
dry ermine
royal trench
#

woops

quiet arrow
#

Should look like this, kinda

hard roost
royal trench
#

try shift alt f

hard roost
#

oh

#

mb

dry ermine
#

It dosent do anything 💀

quiet arrow
#

Cause the first one is wrong already

#

Put your cursor after practise {

spring tiger
#

right click -> format document

#

(shift+alt+f)

dry ermine
#

Finally 😎

#

Thx guys

hard roost
#
/**
 * mycode
 */
dry ermine
#

Ahh mahn

#

There it's clean now

sharp crystal
#

That's why I'm learning C# & C++

plush walrus
hard roost
#

Gone, reduced to atoms

dry ermine
#

@plush walrus 💀💀💀💀

#

Thx for the reminder

#

😂🫡my school

#

I don't want too but I gat to learn

minor roost
#

lol why

#

java is like c# on steroids and i find c++ syntax ugly

dense zinc
#

Awful take

#

Java is so future proof, don’t bother learning languages that have current hype as they will likely be replaced easily

candid jay
#

just learn assembly as first language since it's the most future proof

royal trench
plush walrus
#

😎 😎

candid jay
#

master of code

bold fable
#

@dry ermine Ctrl+Shift+i

brisk badge
brisk badge
plush walrus
bold fable
#

it is not imo, depends on what you want to do with coding

brisk badge
plush walrus
#

I mean

#

it makes sense

#

somewhat

brisk badge
#

very somewhat

plush walrus
#

still less questionable design decisions than php 🤡

brisk badge
#

💀

dense zinc
#

Bruh literally the 3rd most popular language 💀

plush walrus
#

jre is installed on many machines

brisk badge
#

and its not that bad

dense zinc
#

If Java has 100000 fans I am one of them, if Java has 1 fan then I am the one, if Java has no fans I am dead

dense zinc
brisk badge
#

the syntax is prettier than python imo

dense zinc
#

There’s 2 types of programming languages, ones people complain about and ones no one uses

quiet arrow
#

I can’t stand dark mode

#

Or light mode

#

I need a creamy mode

plush walrus
#

we have java at school

dense zinc
#

Ayo

brisk badge
#

autocomplete 🦾

plush walrus
#

copilot 😉

#

yea java adds like 4 lines of boilerplate

#

so terrible

brisk badge
quiet arrow
#

If it works, it works

plush walrus
#

but you can write java in 1 line 😉 😉

quiet arrow
brisk badge
#

but you cant hate on oop

dense zinc
#

I mean Python certainly provides some benefits for beginners, and is simple

plush walrus
#

no lines wasted 💪

brisk badge
hard roost
#

Bloomin fr creating beef here lmao 💀

quiet arrow
#

The amount of jokes we could make 💔

plush walrus
#

oops

#

yes

brisk badge
#

explain yourself please.

#

so you have never used objects??

quiet arrow
#

@quiet hollow do you code in lisp?

plush walrus
#

nah if I continue imma get banned 🥶 🥶

#

cya

quiet arrow
brisk badge
#

efficiency isnt everything

quiet arrow
#

You can do more than fine without OOP

brisk badge
quiet arrow
#

Well, yes of course

#

But it’s not the only way. Nor is it bad

brisk badge
#

especially when you dont have access to structs, like in jafva

quiet arrow
#

It’s just a preference

brisk badge
#

no.

quiet arrow
#

It’s a design decision and totally not a flaw in the language

dense zinc
#

I mean kinda valid but I learned with OOP so that is how I think now

quiet arrow
#

@quiet hollow we should code in scheme together

#

It’ll be glorious

brisk badge
#

you wont need it for smaller algorythms/programs, but its also useful for not needing files with 500 lines

quiet arrow
#

Anyway, time to go put some dicts with functions in classes

#

Wdym old days, I learned it last year at school 😭😭

dry ermine
bold fable
dry ermine
#

How do I create obj in java 📸

dry ermine
#

Thxxx

#

I'll try it

brisk badge
#

i write programs to write enormous execute if files for minecraft datapacking, and i would have source code files with 600 lines without oop @quiet hollow

dry ermine
#

🫡I know there is Google but humans explain more

#

Loo

brisk badge
#

hahah

dry ermine
#

Why

dry ermine
#

Isn't oopcgood

#

Isn't Oop good

#

👀👀

#

Whyyy

#

💀💀

#

@quiet hollow ohhhhhhh

#

Now I see

#

Why 😭I see java script Is so easy to learn

#

Java is old 😮‍💨

#

💀

brisk badge
dry ermine
#

But Oop isn't it u know good for something

#

👀

#

Is phyton worth learning

brisk badge
dry ermine
#

I gat so many questions

#

Ama hang here for a bit be with some of the cool guys

quiet arrow
dry ermine
#

Ohhh my gosh I have to write the freaking method

#

😭

brisk badge
dry ermine
#

💀

#

Bruhh

#

Ok let's get this straight

What are the good languages that aren't useless

#

😭

dry ermine
brisk badge
dry ermine
#

Ohhh

dry ermine
#

So html CSS and JavaScript?I wanna make a website in the future

brisk badge
#

go away

dry ermine
#

Ahhh

#

No

#

Lol

brisk badge
quiet arrow
#

I'm learning web development at school now

dry ermine
dry ermine
#

Ya

#

I wanna learn

brisk badge
dry ermine
#

So u guys teach me

quiet arrow
#

I changed to just programming/IT

dry ermine
#

😃🖐️am ready to learn

#

Lol

brisk badge
dry ermine
brisk badge
quiet arrow
brisk badge
dry ermine
#

Java is for school

I personally picked JavaScript

Then 👀 everyone started taking about now fast and smart phython is

#

Me in uni💀

bold fable
quiet arrow
#

Fast?

quiet arrow
#

It was boring, we weren't doing anything. So I switched

#

Like, it was not boring, but it was boring

#

idk

#

Weird stuff

brisk badge
dry ermine
#

Like I dont get bad grades but

Its not hard passing an exam

School is twash
💀its just the future

minor roost
bold fable
#

Common fact

minor roost
dry ermine
quiet arrow
dry ermine
#

True

minor roost
#

at least depends what u are doing

dry ermine
#

U knowwww what's fun

Data base 😃🫡

quiet arrow
#

If you're only using C-bindings, CPython is speed

bold fable
#

I have a love hate relation with python atm

brisk badge
dry ermine
#

Java is so slow💀I hate netbean

quiet arrow
#

Just use numpy dabbing

bold fable
minor roost
#

but when i tried to make scrable cheats with python the speed was great

#

10 seconds

bold fable
#

Coding in arduino harold

brisk badge
#

yes

bold fable
#

Yes

minor roost
dry ermine
#

Ok I want u all to give me an easy task in java to do let me code 💀🖐️

brisk badge
#

dynamically typed languages just arent my thing

minor roost
#

gotta love boilerplate man 🤚

quiet arrow
#

I fell in love with strongly typed stuff

dry ermine
#

Hit me

bold fable
dry ermine
#

Set me up

quiet arrow
#

But Python is still epic, my discord bot uses it. It's amazing

dry ermine
#

😃

quiet arrow
#

Both

#

WHo cares

#

I want all the typing

bold fable
#

For data analyzing, is python my friend

minor roost
dry ermine
#

At the end

Copy and paste😎😂😂😂😂

#

Lol

#

Don't make it hard

brisk badge
bold fable
#

The best programmers are the ones that are using the ctrl c en v button the most

dry ermine
#

Lol

brisk badge
#

he was asking how to create objects, so not really

bold fable
brisk badge
quiet arrow
dry ermine
#

Lol

#

Lolll

#

Bruhh

brisk badge
bold fable
dry ermine
brisk badge
dry ermine
#

Bruh

bold fable
dry ermine
#

Ok so it should make a bill and split it

#

I think I need to start hanging out with people more

sharp crystal
bold fable
#

See it as the exchange thing for cashiers in a shop

brisk badge
sharp crystal
#

Reading the code is like reading a book

bold fable
sharp crystal
#

specially because there are no brackets

sharp crystal
bold fable
sharp crystal
#

I ment more like that it's really easy to read

dry ermine
#

Am staring at it

#

Ohhhhhhhhh

bold fable
#

Also what is this lmao
i = i + 1

Every other language
i++

dry ermine
#

Gimme a minute

brisk badge
sharp crystal
brisk badge
#

Very good

dry ermine
#

Yhhhh

bold fable
brisk badge
#

i += 1 is a thing right

#

Square root of 2 squared minus 1

bold fable
brisk badge
#

There is

minor roost
#

there is

hard roost
#

there is

sharp crystal
minor roost
#

js is cursed

#

how can ppl use it

quiet arrow
bold fable
bold fable
quiet arrow
# bold fable Ikr but i++ 🥺

I use it, but I don't like it too much. I know +1 is used more, but it changes the syntax for every other amount of increment

quiet arrow
#

I wrote it 2 years ago

#

And I do not understand what it does

bold fable
quiet arrow
#

That's the problem

bold fable
#

This variable naming 🤮

bold fable
quiet arrow
#

It's part of my discord bot

#

Hangman game

#

I think it's actually useless lol

sharp crystal
dry ermine
#

My hrain

#

Brain

quiet arrow
#

Yeah it's useless lol

dry ermine
#

💀

sharp crystal
#

i thought my code was messy but this..

#

i think it's out of order

quiet arrow
#

My code is fine now

brisk badge
#

Most confusing part is why the alphabet is split

quiet arrow
#

It's 2 years old

sharp crystal
quiet arrow
brisk badge
#

Ah makes sense

minor roost
#

jkjk

bold fable
quiet arrow
#

I don't know

minor roost
quiet arrow
#

I really don't know

quiet arrow
#

Shouldn't have used it

minor roost
#

true it was cursed on mobile

quiet arrow
#

Discord isn't reliable

minor roost
#

still it was a really nice and usefull feature

sharp crystal
#

@bold fable Do you code in js?

bold fable
#

Yes

brisk badge
#

Programming channel is more active than main channel 😍