#dev-general
1 messages ยท Page 156 of 1
true
also the indentation again lmao
method( a = a, b = b )```
@surreal quarry I ike that, kinda. It just seems unnecessary
bois how tf do I use ' in the lore in DM
atleast ur using allman too 
Using allman before I even knew what allman was ๐
Allman good
kinda sucks
@pastel imp #general-plugins pls
yea i guess blocky but it also prevents errors for example if you thought your variable was a type its not, it won't compile
but if it just accepted anything, you could run into issues with that
There's no cleaner way of doing it really
It's the best way that will work in every situation consistently
yea
int randomx = (int) (Math.random() * 100000); serious question, whats the (int) for?
Allman is da wey
its a cast
what does Math.random return?
int randomx = (int) (Math.random() * 100000);serious question, whats the (int) for?
@onyx loom Math.random() probably returns a double
a double yeah
yea thats what im thinking
yea im pretty sure its a double
ok makes sense then
from 0 to 1 or something
i just thought u were casting it for no reason ๐
I wasn't that shit
wait whats allman
@surreal quarry coding style
yea u cant disagree with that
You can distinguish where blocks start and end better
yea u cant disagree with that
@onyx loom watch me
haters ๐
i sorta like it for classes and stuff but like
if(player.hasPermission("knightzmc.heal"))
{
player.setHealth(20);
}
else
{
player.sendMessage(ChatColor.GOLD + "Sorry, you don't have permission to use " + ChatColor.GREEN + "/heal");
}```
just looks so much worse than
```java
if(player.hasPermission("knightzmc.heal")) {
player.setHealth(20);
} else {
player.sendMessage(ChatColor.GOLD + "Sorry, you don't have permission to use " + ChatColor.GREEN + "/heal");
}```
to me
it is ugly and I hate it but it's effective in what it does. I use k&r because my work requires it and I don't want to mix ๐ฆ
'it' being Allmann
idk i think its probably cause im not used to it
Yeah I guess
like if i used it for a couple days i would get used to it
You do
Personally i don't like it, i find it harder to figure what starts where
But i'll say, it look cleaner
It makes it easier to fuck up indentation aparently ๐
Uh
how?
^
its like the opposite lmao
yea lmao
๐
Allman only invented it to puff up his commited lines of code provemewrong
you could just hold down enter for ez money
you could just hold down enter for ez money
@prisma wave https://paste.helpch.at/odibajomem.java of which this is a perfect example ๐
Ahriwjabtienw
you could just hold down enter for ez money
@prisma wave empty lines do not count afaik
:(
hmm
thats just my settings being weird i think
@onyx loom purge that
oops
Allman good my code from 2017 bad
public class KnightzMCRandomTP extends JavaPlugin{ u only have urself to blame. AJ was just following ur footsteps ๐ญ
player.sendMessage(ChatColor.GOLD + "You were teleported to X: " + ChatColor.GREEN + randomx + ChatColor.GOLD + " Y: " + ChatColor.GREEN + randomy + ChatColor.GOLD + " Z: " + ChatColor.GREEN + randomz);
chonkers string concatenation holy moly
Why would you ever do that to the compiler?
holy christ
blocky send that in a real code block with the java lang
๐
@empty flint I have no respect for the Java compiler
Not after what happened ๐ญ
๐ญ
nasty stuff ๐ญ
blocky send that in a real code block with the java lang
@surreal quarry Bruh,ChatColor.applyWhateverTheFuckTheMethodIsCalled('&', "String with &6proper&r colorcodes"
Not after what happened ๐ญ
@prisma wave What happened?
^
player.sendMessage(ChatColor.GOLD + "You were teleported to X: " + ChatColor.GREEN + randomx + ChatColor.GOLD + " Y: " + ChatColor.GREEN + randomy + ChatColor.GOLD + " Z: " + ChatColor.GREEN + randomz); ```
no blocky i mean like ```
@surreal quarry Oh my bad. I misunderstood. Why does that matter tho?
@surreal quarry Bruh,
ChatColor.applyWhateverTheFuckTheMethodIsCalled('&', "String with &6proper&r colorcodes"
@empty flint translateAlternateColorCodes ๐
you can specify a language with ```
James gosling in human form came to my house and killed everyone
@prisma wave In human form as opposed to his goose form?
evil man
His other form is too horrible to mention
syntax highlighting @empty flint
@prisma wave Whatever, that's not the point of my remark
@ocean quartz ill give you $20 if you can find a way to implement code blocks into your markdown thing lmao
James gosling in human form came to my house and killed everyone
@prisma wave And the first thing you did was decide to get back at him by writing disturbing amounts of terribly inefficient string concatenation and forcing the compiler to eat it like it's a fat starving kid at the fair and the code is a cake eating contest?
that would be the only right thing to do in that situation
@empty flint precisely
My revenge plan was slow and elaborate. Step 1 was to torture the compiler, in hope of giving Java devs everywhere depression
@ocean quartz ill give you $20 if you can find a way to implement code blocks into your markdown thing lmao
@surreal quarry I'll add another $20 if you can emulate discord in minecraft chat so we can actually share code with eachother while playing the game
My revenge plan was slow and elaborate. Step 1 was to torture the compiler, in hope of giving Java devs everywhere depression
@prisma wave Ah but you forgot one thing
What's that
Java devs don't give a shit about your jvm instance 
If you wanna see my full tragic backstory here it is https://www.reddit.com/r/kotlinmemes/comments/hjldan/sounds_like_a_java_issue_to_me/?utm_medium=android_app&utm_source=share
Mark my words
@prisma waveSkyClojurenet incoming?
you gotta boost
Piss off Barry
barry a hoe
When clojure rules the world the first thing I will do is execute Barry
Wait no
James gosling first
Then Barry
Barry who?
good plan
the bot
I got a friend named Barry
Hmmm
@compact perch and your friend
The bot is called barry?
He can go too
we will end all barrys
Can't take any risks
Idk man, Barry is a really nice guy
all Barry's will be purged under Clojurenet
safety first 
first barry will give me a lot of xp
He could be a significant threat
then we execute barry
But... I like Barry ๐ฆ
@empty flint then you'll be executed too ๐
@prisma wave What the fuck for?
Corroborating with a known Barry
Also how is this in dev-general and not in off-topic?
this is more of a dictatorial regime. if you don't agree with the plan, you become a part of the plan
^
im doing that in like 5 days anyways
@surreal quarry get that multi spin
Corroborating with a known Barry
@prisma wave You mean collaborating?
Clojure already has a Benevolent Dictator, we just need to remove the "Benevolent"
Uh
corroborating... my sides dude
wdym kaliber
do you get to do the multiplier thing when you boost
yes sir
He's not a known barry though
quite a private guy, doesn't like to be in the public eye
im gonna have to learn what boosting gives you cause i feel like theres a lot i don't know
so he's not known, he's just barry
PUNCHED 3 JAVA USERS IN THE JAW TODAY. HELLA PROUD
still gets me every time
lmaop

Welcome
still gets me every time
@onyx loom Where is that from?
welcome
kotlinmemes subreddit
join
r/kotlinmemes
good sub
the best some would say
LMAO
Some very clever people have said that it's the best subreddit, and you know, I think we should believe in them
ever thought about if u have job interview and they find ur reddit account bm ๐ฌ
I'm trying not to think about it
honestly we are all praying that our social medias aren't found for jobs and college
eh i dont have any anyway so im fine 
what the
https://www.reddit.com/r/kotlinmemes/comments/htkx77/in_honour_of_us_getting_funny_number_1_members/
the link you sent on that
clearly
what a story
lmao
the only perfect thing in this world is Kotlin you uncultured swine
honestly we are all praying that our social medias aren't found for jobs and college
@surreal quarry Can't find something 17 year old me murdered so a chick I went on a bad date with couldn't stalk me ๐
This was the image btw
impressive
yes
it only happens once
hopefully
u should delete this ๐ฌ
This was the image btw
@prisma wave SumBody once told me, the world was gonna roll me
lmaoo

My dumb ass was legit looking for the lyrics in the image
because one word in it sounds similar to the beginning
https://www.reddit.com/r/kotlinmemes/comments/hz1dkn/kotlin/g19us00?utm_source=share&utm_medium=web2x someone finish this off pls k thx
3 votes and 2 comments so far on Reddit
lmao
val chad = Chad(). Beats null into submission on a daily basis.
I love this subreddit already
im just glad we know when our lines end 
imagine
images u can hear
should i vote Andrey
๐
vote whoever would win in a fight
"Brian" lmao
brian do pretty strong tho ๐ณ
brians getting clobbered rn
true
@prisma wave Why does Kotlin actually let you do Map.put(...) instead of the [...] assignment?
why wouldn't it?
you can do either 
idk IntelliJ always tells me to convert it to an assignment
I was just wondering why
can you restrict varargs to be a set?
I mean converting it doesn't make a difference there. I basically need varargs of key/value pairs and I want to add them to a map in my class
just wondering what would happen if the same key was entered twice
Good good
hm if I add a secondary constructor with one more parameter, can I make that parameter not be part of the class?
Hm wait it is already so
what?
class Log {
constructor(data: String) {
// code
}
constructor(data: String, numberOfData: Int) {
// code
}
}```
what about this then?
what about it
is numberOfData part of the class?
secondary constructors are parameters only
so in the secondary constructor, can I call the primary constructor and add stuff?
Yes
Like in java you can do
in kotlin it's kotlin constructor(blah) : this(blah.something)
im not sure that's correct
yeah
ok
'that' being my java assumption
not sure how it went in java anymore
mhm
it's been so long
Or in that case it could also go like:
class Log(data: String, numberOfData: Int = 0)
And have a default value so it's not always required in the constructor nor need a second one
^
Or in that case it could also go like:
class Log(data: String, numberOfData: Int = 0)And have a default value so it's not always required in the constructor nor need a second one
@ocean quartz That's directly from this kotlin tutorial: https://www.programiz.com/kotlin-programming/constructors#:~:text=UNKNOWN Age %3D 0-,Kotlin Secondary Constructor,are created using constructor keyword.&text=In Kotlin%2C you can also,in Java)%20using%20this()%20.
In this article, you will learn about constructors in Kotlin (both primary and secondary constructors) as well as initializer blocks with the help of examples.
You can also overload the companion object's invoke() operator function to make fake constructors
Which is deliciously hacky
ok I'm too stupid for this shit, can you guys help me out?
with what
I have this data class:
data class Attribute<T> (val name: String)
and I want to add this secondary constructor:
constructor(name: String, vararg pairs: Pair<Context, T>) {
//how do I invoke the primary constructor here? this(name)?
//and do stuff with the pairs that only god can judge...
}
With this()
With
thie()
@ocean quartz Sounds medieval
Lol
Phone typo xD
I think a better solution would to just have the pairs in the primary constructor
except:
Expression 'this' of type 'Attribute<T>' cannot be invoked as a function. The function 'invoke()' is not found
I think a better solution would to just have the pairs in the primary constructor
@prisma wave No can do chief. I don't want the pairs to be part of the class.
yeah because that's not how kotlin constructors work
Tbh i find secondary constructor quite unnecessary in Kotlin most of the times since you can have default values
@prisma wave No can do chief. I don't want the pairs to be part of the class.
They don't have to be
They don't have to be
@prisma wave Teach me
a what now?
a property with the parameter value
like this.blah = blah
if you don't have val or var before the parameter, it will just be a parameter
Data class primary constructor must have only property (val / var) parameters
Primary constructor vararg parameters are forbidden for data classes
It's fine
No it's ugly and I don't want it to bear its ugly head to the world just yet
No srsly it's a work in progress so it's gonna be really bad. Do you still want it?
Yea
=haste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
Works too
being a Barrybro
Execute all Barry's
Hm
I am pretty sure you could just assign stuff in the secondary constructor manually
Like this.name = name and stuff
the this(...) doesn't work in the secondary constructor. idk how to assign the name to this.name
Without calling another constructor
I was told Kotlin knew this shit since it was born
People do a bunch of hacky stuff on c++ to deal with pointers
Ayyyy I knew it was possible:
constructor(name: String,/*
val permission: Permission,*/
vararg pairs: Pair<Context, T>) : this(name/*, permission*/) {
//do stuff with pairs nobody can know about...
}
is there a cleaner way to do this more declaratively:
for(pair in pairs) {
contextualValues[pair.first] = pair.second
}
instead of telling it to do a for loop...
Teach me the way, Clojure
Excuse me. Why do those 2 have the same signature?!
public constructor Attribute<T>(name: String, vararg pairs: Pair<Triple<Network?, Rank?, UUID?>, T>) defined in me.blocky.ranks.datastructure.parameter.Attribute
public constructor Attribute<T>(name: String, vararg pairs: Pair<Context, T>) defined in me.blocky.ranks.datastructure.parameter.Attribute
they both take a string and a pair probably
crap
can I define an infix function that takes a triple on one side and a value on the otherร
like the to infix for pair...
public infix fun <A, B> A.to(that: B): Pair<A, B> = Pair(this, that)
I'd want to achieve something like (a, b, c) to value
you could just the existing to function?
does that work?
why wouldn't it?
I'd want to achieve something like (a, b, c) to value
@empty flint Did I stutter? ๐
impossible
Yes
Pair and Triple are the closest analogies
So another question then about its weirdness:
Attribute("A", contextA to "contextA") works but Attribute(name = "A", contextA to "contextA") doesn't
Because you can't mix named and indexed arguments
Because of ambiguity
Although you can in 1.4 iirc
kotlin 1.4 is the answer to everything
Truly
Kotlin 1.4? is it out yet?
It's in RC
soonโข๏ธ
โข๏ธ
Got it.
pairs = *arrayOf(contextA to "contextA") is a suggestion from IntelliJ
What's the * in front of the arrayOf called? How do I google for that?
spread operator
idk why the arrayOf is needed here
Hey Iโve seen videos on like tornados chasing people but what if the dragon chased someone?
Would this be possible
You have to use the spread operator on an array
@prisma wave why is that necessary? doesn't the vararg parameter show as an array within the function?
it does, but again it's to prevent ambiguity
It you had a vararg Any
And you passed an array it would be unclear what you were trying to do
The spread operator makes it explicit that you're passing the array's elements as varargs
Not the array itself
ah got it got it
so the spread operator basically unwraps the elements in the collection for the compiler
I think I got it now
ty โค๏ธ
Np
Minecraft doesn't support \n without splitting the message into two right?
i don't think so but i saw smth yesterday that made me think it might i just haven't been able to try it
might be worth a shot
And the requests have gone to shit again ๐
?
I didn't see anything lol
Is there a difference between removing an element from a map and setting it to null in Kotlin?
@prisma wave I have this exact problem right now: http://gopalkri.com/2017/08/18/Kotlin-Data-Class-Constructor-Problem-Followup/
Do you have any advice?
I wrote about a problem I was having with Kotlin data class constructors a few days ago. I sent it to a few people and asked for thoughts on how they might a...
A data class with private primary constructor exposes the constructor to the copy(...) method.
How do i do 1.16 bungee cord?
I think the api is pretty similar to the spigot one
i need to set it up
youll just have to add it to ur build.gradle then bam
i had 1.15 done but i need to update to 1.16 but it just says
ERROR -----------------------------------
ERROR Unable to find BungeeCord-1.15.jar
ERROR Please upload a Jar file to be able to start your server.
ERROR -----------------------------------
first up wrong channel but I mean your issue is self explanatory
its looking for a jar file called BungeeCord-1.15.jar
hello
can we give permission to player with attachment even we're using luckperms?
or we have to use their api?
Kotlin fellas, how would one make the i mutable?
for (i in from until to) {
gonna be honest I have never used a for loop in kotlin I dont think.,.. lol
The I shouldnt be mutable in any case frost
Use step if you want to increment in larger numbers
I'll try a different approach
Sure
Is someone know if it's possible to display a scoreboard objective in player list to only some people ?
๐ Good news so, I try to search for packets but I can't find a javadoc or an example
Itโs either very simple or involves a fair amount of packets
I would prefer the first case :p
Wouldnโt we all
@empty flint data classes should be for data only, they shouldn't be validating the data they get. Make a factory function / class
I would just not worry about the copy method
Just don't use it if you're concerned
Alternatively, take wrapper classes that perform validation instead of stuff like Strings
Lol tf, Sublime Text is 80$?!?
I was thinking that I might as well buy it if it's like 10$ to support the devs
but 80$ bruh
o
It costs as much as WinRar
That is, technically paid but you can use it for free forever
^

Get gud 
Here are the current role perks:
https://paste.helpch.at/cixexuheza.sql
Not listed there ๐
You gotta boost

ok this question is quite basic
how to get my code work using IntelliJ ? (not talking about compile )
:what:
how to run code in intelliJ
Run configurations
where ?
if its like a public static vodi main intellij should show a green triangle thing next to it
otherwise you gotta go lik
eedit > run configurations
then ?
package me.Pindicator.work;
public class Work {
public static void main() {
System.out.println("Hello I m a Noob");
}
}
is this correct ? (cause I can't run my code)
I think you need String[] args parameter in the method
^
Or like a string array / string vararg
just type psvm or main in intelliJ and hit enter
ok String[] args worked but I did something else with idk
?
anyways thx Aj and Bukkit
Does anyone know of a cheap host with gpus?
Im trying to check what if the block a player ender pearls onto is stone but I cant get it to work
I have
@EventHandler()
public void enderPearlThrown(PlayerTeleportEvent event) {
if (event.getCause() != PlayerTeleportEvent.TeleportCause.ENDER_PEARL) return;
Location to = event.getTo();
Location from = event.getFrom();
Block block = to.getBlock();
if (block.getRelative(BlockFace.DOWN).equals(Material.STONE)){
System.out.println(block);
event.setCancelled(true);
}
System.out.println(to);
System.out.println(from);
}
Define not working
maybe you need to call .getType on the getRelative
idk what getRelative returns tho, im guessing its a block
i gtg to bed now :(
Does anyone know of a cheap host with gpus?
@analog crater reliablesite has a gpu bearing server for $99
I'm a uni student who pays for uni. I dont have a spare 99 dollars a month for a server in florid
Florida
good luck finding a server with a gpu for any less
what do you need it for anyway?
A heavy gpu based backend as a poc
I thought it would a lot cheaper
Likd 20 30 dollars a month
lol no
Slow cpus it is
actually you might be able to get something cheaper from aws
Oo how much and where is it hosted?
K thanks
yeah nope
not happening sorry
I don't know how to navigate this site
lets see if I have more luck with google cloud & azure
Ok lol. Preferably one is uk
you can't afford to be picky
Ok
How much?
hundreds
Damn.
does your uni not provide resources for this sort of thing?
They do but I havent got access for it for a while and they're not the best
I cannot reproduce this dudes error
absolutley no idea why it happens
There is no way to extend a package private class in another package right?
not at compile time, no
with reflection?
no
ok good
bruh
make a package with the same name as the original, extend it and make it public ez
Anyone got any cool projects/knows of any, which handle 3D chunk rendering into a web window (similar to what dynmap does, but 3D)
Make your own, it'll be a fun challenge
https://github.com/BlueMap-Minecraft/BlueMap you can check out this, which I believe is made by using three.js
Also by 3D I don't mean just a top down view, meaning time to make something myself 
dynmap isnt top down, eh but yeat not 3d, somewhat of a 2.5D render
I just came a litle :kek:
add more
@empty flint data classes should be for data only, they shouldn't be validating the data they get. Make a factory function / class
@prisma wave I have a factory method. That's exactly the problem. I only want the class to be made via the factory but the copy method is made public by the data class...
if you absolutely need the data validation then make wrapper classes of the data you're taking
this is truly infuriating
bukkit seems to for the most part, treats empty slots as null
except when it comes to the crafting slots
what the fuck
kek
Yup it's stupid
I also love how they don't follow the protocol standard either lol
these are the proper slots
An idiot designed these
these are bukkit's
Lmao
Sheesh
Another fun thing, if you check for slot clicking on an inventory, clicking on a chest triggers a player inventory click as well on the same slot
yikes
actually iirc, the bukkit slots are based off nms
still stupid tho
i'm basing papi's api on the protocol
that's the only approach that makes sense imo
Speaking of smooth brains, I've got a particularly smooth one today, what would the fix for this be https://paste.helpch.at/zinemeguzu.sql
you need more memory
Dedotated wam
But I no have anymore dedotated wam
Download more
^
:((
DownloadMoreRAM.com - CloudRAM 2.0
=faq add download-ram https://downloadmoreram.com/
DownloadMoreRAM.com - CloudRAM 2.0
@quiet depot, Added download-ram to the faq.
important faq
But no seriously, am I just fucked or?

Go donate 
I'm doing commissions all the time
takes longer tho
And where would one disable daemon
where the google guide says to
Let's make a go fund me for frosty
Let's not
how much money u got frosterino
I told you, not enough
that's some Enterprise Logicโข๏ธ right there
Ah I see
it provides the functions of the PlayerInventory type, for the bukkit binding
is that PAPI 3 btw?
yea
also how far away from eCloud 2 3? is it 3? (I think so) being a little bit more open are you btw?
erm not sure
Very
because I really wanna contribute to that
last I heard they were trying to work out "crnk" for expansion uploading
idk
something like that
not using Spring anymore @heady birch ?
Yeah we are
wdym by the "technology has changed" then?
Originally traditional monolithic application using thymeleaf for frontend
Is now split to Vue
yeah you should use Vue that's a good idea
And implementing a RESTful api for the frontend to use
wait what?
the backend & frontend are decoupled
It was seperated into two repos
ah okay
Isn't that how vue works?
actually you might be are most likely right
yeah Vue is really good at that
I thought Lemmo was more of a backend guy
are both of them still restricted projects at the moment with only key trusted members having access btw?
yeah Piggy's already said that I think
but by the time it's open-sourced there won't really be all that much to contribute since most of it'll be done
it'll just be bug fixes and performance upgrades
I thought Lemmo was more of a backend guy
@ocean quartz lemmo is full stack
Ooh okok
what does full stack mean?
everything
ah okay
thought so
yeah I wish I could be a full stack developer but I just don't have the creativity element
it's why my portfolio still hasn't been created
I can do the backend no problem, but I can't design for the life of me
true
if you know javascript, you're basically full stack
yes
Yes
by far the most useful language
because from what I've seen it's a horrible language
it is
Horrible, but widely used
can anyone here who knows both Kotlin and JS tell me if JS is anything like Kotlin (what I'm used to)?
kotlin can compile to js
yeah I know
kotlin/js 
they're not similar though
should look in to that
except perhaps syntactically
the biggest difference I can think of is types
js is more similar to java regarding syntax
Kotlin has type inference whereas JavaScript has no types at all
If you know java learning js is easy
or at least, gives so little fucks about types that it's as if it doesn't
somebody point me in the right direction of where to get started learning
But I mean kotlin can compile to js so 
kotlin makes sense
reading javascript you kind of just have to guess what variables are
I do wanna explore more languages, since so far I've only ever used Java, Kotlin, very very minimal C and C#, a tiny bit of Dart and TS, and a bit of Python
not to mention those {} object things that dont even have a spec or anything
what might be a good idea for my first JS project (just to get a large feel for what it's like) is me making an implementation for BardyBot's REST API (when I actually finish it lol)
Kotlin has type inference whereas JavaScript has no types at all
@jovial warren
argueable
also what do you guys write JS in?
it's types are a joke though you gotta agree with that
And canvas games
also I mean IDEs
rest apis ๐คข
it's types are a joke though you gotta agree with that
Why?
@jovial warren vsc or ij
same
yea any text editor will do
you can cast from a boolean to an integer or a string or pretty much anything
I actually prefer js to python
all of those types should be mutually exclusive imo
let a = true
a = 0
a = a
console.log (a)
b
Wha?
yea well they're not bardy, cuz js is weakly typed
yeah I was saying they should be, I know they aren't
you can cast from a boolean to an integer or a string or pretty much anything
https://developer.mozilla.org/en-US/docs/Glossary/Type_coercion
it's surprising how JS has such good performance tbh though
I'm sad people don't like JQuery, i find it much easier than JavaScript
I've seen a lot of people complain about it
I'm sad people don't like JQuery, i find it much easier than JavaScript
Who doesnt like jquery?
jquery is an old framework
people don't like it, because the newer ones do everything better
that doesn't stop me from using jquery though
Which one replaces jquery?
TypeScript maybe?
yeah? I want to know
I have just been using that since I started js
typescript is a language
oh heard of typescript
wait how is JS the world's most popular programming language?
Oh forget what i said
according to W3Schools it is anyway
typescript is a language developed by microsoft to bring the joys of static typing to javascript
wait how is JS the world's most popular programming language?
Well lets see..., used on all webbrowsers?
true @old wyvern
Yea vbscript
that's not what confuses me though
ah yeah ts is definitely microsoft
Yeah it's Microsoft
python is technically the most used language
what confuses me is how creatures from the same species as me have decided that this language is good
although frankly I've got no idea what in lol
where tf is python used on such a large scale
python is technically the most used language
More than js?
yes
Wow did not see that coming
you'd have to be a fool to use Python on a large scale
maybe I've just been reading the stats wrong
python could simply be just the most known language
yeah i think that's the case actually
cuz i read elsewhere that java is still the most used language
apparently JS is first, then Python second, followed by Java third and PHP fourth
Damn
yes you heard me right, people also use PHP, a language literally known for being filled with security flaws (and also pretty slow and crap)
idk but I just got a random email saying that python jobs are not as popular due to COVID and if I want I can join their team and they'll offer me 6 months of training or somethign xD
The PYPL PopularitY of Programming Language Index is created by analyzing how often language tutorials are searched on Google.
never in my life did anything python related xD
Doesn't really represent the most used
I just can't imagine where python would be used in real life
Damn
for anything that isn't quick shitty pocs
oh matt posted it
yes, programmers hire people for Python programming
How is kotlin not up there :((
The same way xD
Too low if you ask me
not for long
its getting there
Helpchat will single handedly make it #1
I think Kotlin will rise toward the top
I reckon in a few years you could see Kotlin make at least top 10, if not top 5
but it depends
Actually make clojure #1 and Kotlin #2
Sadly i understand, a lot of tutorials and stuff about Kotlin tend to be for android, and most people search for java related things for Kotlin
people like rust more than kotlin
Yeah they are
Ouch
that's what Kotlin does lol
@prisma wave probably
not literally 99%
how is Go at 13?
idk never used Go, no idea what it's like
go's cool
CM you should start making kotlin tutorials xD
Go is fast
very simplistic
Go is pretty good
Not rust fast but pretty fast
@static zealot that might actually be a good idea
@static zealot I'm making a Java one rn, plan to move to kotlin later
Poor thing
let me collaborate to that please @prisma wave xD
Poor groovy
Sad
I vote for Groovy Mitten for the sake of it
I want Kotlin Mitten back
You get the next best thing
oh Jython
@prisma wave get out
:)
Fuck
This is also understandable
Holy mother of...
@ocean quartz what's Clojure at?
jython
@ocean quartz it's such a poor language though
the best python implementation
Not on the list @prisma wave
Jython good
Th
Clojure bad
Wheres rust
it's funny how most of the top languages are either languages that have been around for decades, or languages that are very easy to bodge shit together with, or both
Rust got rusty
Good increase
yeah but thats biased
Apparently not
I would've thought the same thing
what's Rust like?
sleepy joe biden
I've heard it's stupidly safe
Rust bad
Dart be flamin
Be darting
the only use for Dart is Flutter
Havent tried it yet
It's a mix of Kotlin and JS from what I've seen
Ah
Flutter is really handy for making cross-platform applications though
Trash
Main async ;o
does it have proper multi threading or is it nodejs style :/
I'm not sure
interesting
Looks like it's python style multithreading
one thing that I find a bit confusing with Python, especially coming from Java/Kotlin, is the label thingys
I think that's what they're called anyway
they're written the same as annotations but do different things
Decorators you mean?
They decorate 
funnily enough, annotations are just one of those things that I've never actually created and defined interally
Annotations suck unfortunately
I mean, they look pretty easy to do in Kotlin with KAPT
but in Java you gotta do it with pure reflection from what I've seen
idk
from what I've seen you have to get the object as its class and check if it has an annotation present
or maybe I've just been looking at one very specific example
It's kinda reflection but kinda not, it comes from the class, so simple getClass
it is reflection
yeah that's what I meant by reflection
yea nvm I didnt think it fully through
the only place I've ever used reflection is with org.reflection's Reflections#getSubTypesOf method
that is not reflection
that is in fact, the polar opposite of reflection
despite the name
ClassGraph has the ability to "invert" the Java class and/or reflection API, or has the ability to index classes and resources. For example, the Java class and reflection API can tell you the superclass of a given class, or the interfaces implemented by a given class, or can give you the list of annotations on a class; ClassGraph can find all classes that extend a given class (all subclasses of a given class), or all classes that implement a given interface, or all classes that are annotated with a given annotation. The Java API can load the content of a resource file with a specific path in a specific ClassLoader, but ClassGraph can find and load all resources in all classloaders with paths matching a given pattern.
classgraph's description is excellent
it applies to org.reflections aswell
Pressure ๐
is PDM not already available and ready for use?
Relocations aren't done yet
I'm just giving him shit. I can't even really use my PC yet until I get my wifi adapter.
lol
PAPI3 when
annotation placeholder?
@Placeholder("name")
public String somePlaceholder() {
return "lol";
}
Kali, Piggy said it's at like 50%

