#dev-general
1 messages · Page 209 of 1
yo thats epic
i kinda like the kebab case
@prisma wave so like whats the best feature of elera
elara is the best feature of elara
At the moment not much since it barely works
lmao
Eventually the type system will probably be its main attraction
i kinda like the kebab case
@onyx loom me too, once you get used to it I think it's pretty nice
hmm and who is your biggest opponent
Kotlin
👁️
Andrey has sent at least 3 assassins to try and stop us so far
He is scared
Very scared
lol
But yeah it will be a JVM language so I guess a nicer alternative to kotlin
Or Java ofc
aye
@hot hull where does the HikariCP properties file Go tho? Can I put it in the same package as my Database class or does it go in the resources folder? (like the Plugin.yml - Maven)
Almost definitely in the resources folder
It goes in the resources folder
Same directory as the Plugin.yml aight?
You can specify it's path when you create a new HikariConfiguration
Yeah I saw
Thanks!
Would you mind taking a quick look at my git repo and telling me what’s dirty code too/what I could improve?^^
@hot hull
It's crazy how nice HikariCP works right out of the box. I got handed a project the other day and was asked to fix it because it took like 90 seconds to save the data on shutdown. It was straight raw statements and connections. I managed to fix it without modifying anything except changing it from using a single connection to HikariCP pools.
Link the repo here, I'm sure someone wouldn't mind having a glance
Time to learn how to use Hikari ig
Glare yea Hikari is ❤️
plain files is superior 
I just wish I understand SQL on a better level. I can easily do basic stuff but when it comes to relationship stuff across multiple tables, it gets me a little bonkers.
if you use a txt file for storing data, I am your biggest fan
I am going to link it in a few mins :) gotta commit the changes
I've so far never had to do relational stuff with it since none of the projects required it, but will be fun to learn when I do have to
I just wish I understand SQL on a better level. I can easily do basic stuff but when it comes to relationship stuff across multiple tables, it gets me a little bonkers.
like a Relation table that connects multiple tables?
@steel heart nice name lol

Have you checked the docs?
@ocean quartz Slight issue with your plan tho, at the point in time where I need that, the current is still empty since stuff get's added when you build the menu, which is too late
Although I think I can manually load the paged items, which in theory should work
dataSourceClassName=org.mariadb.jdbc.MySQLDataSource
dataSource.serverName=localhost
dataSource.portNumber=3306
dataSource.databaseName=clan_database
dataSource.user=root
dataSource.password=
so I can remove all this now? ->
String host = "localhost";
int port = 3306;
String database = "clan_database";
String user = "root";
String password = "";
HikariConfig config = new HikariConfig();
config.setJdbcUrl("jdbc:mysql://" + host + ":" + port + "/" + database);
config.setUsername(user);
config.setPassword(password);
You should leave all that to be configured through your properties
private HikariConfig config = new HikariConfig("datasource.properties");
wdym
hikari.properties:
driverClassName=com.mysql.jdbc.Driver
jdbcUrl=jdbc:mysql://localhost:3306/clan_database
username=root
password=
Database class:
public Database() {
HikariConfig config = new HikariConfig("hikari.properties");
ds = new HikariDataSource(config);
}
@hot hull
Yes, now you get your connection using ds#getConnection()
yeah, thanks :)
public Connection getConnection() throws SQLException {
return ds.getConnection();
}
I am not sure obut driverClassName tho
whats that? is it needed?
@hot hull Yeah there is no concept of pages until the gui is opened
If someone is willing to take a quick look on my project/repo and telling me what I could improve / what's dirty code.
Thanks in advance 😊
(I have to add you to it then, cause its private)
@hot hull Yeah there is no concept of pages until the gui is opened
why is there a problem with that? :c
@hot hull Why do you need the slot?
Could be easily changed for that
If someone is willing to take a quick look on my project/repo and telling me what I could improve / what's dirty code.
do you have a few mins for it? @ocean quartz 🙂
Not right now, sorry
okay, no problem :)
Matt, let's say I have two rows, the first row should be loaded using addItem (since it's a paginated gui) however each of those items should have another item attached which is 9 slots infront of that item (a row lower). Meaning I need to know to which slot the first item was added so I can add the second one
If that makes sense lol
why do you make your life so hard lol
The repo is private Lokke
yeah whats your git name?
Frcsty
can you see it now? :)
Mhm
Cant you add the items in a list first?
and set the corresponding item to the index +9
It's a paginated gui so no, it fills the empty slots, however I don't know the empty slots until the menu was built (which is when it gets opened)
ik
but you could loop through the list then
and add the items out of the list in the paginated menu
in the list you can get the indexes (imaginary slots)
Do you get what I am aiming for?
I kinda understand what you mean
Unsure as to why you would need to?
It's a paginated gui so no, it fills the empty slots, however I don't know the empty slots until the menu was built (which is when it gets opened)
I mean even if you are filling the GUI you still can know which slot the first item will be set to
Yea I guess can just have a list which stores the added items and just use that to identify the slot
I'm overcomplicating shit again 
Your repo is private
java: as of release 10, 'var' is a restricted type name and cannot be used for type declarations or as the element type of an array
God dammit java
Yes I'd like an array of vars
are these equivalent in terms of runtime?
https://paste.helpch.at/qitemetipi.java
they're both gross
but yes I think so
actually not quite
the second one will check !regionHasPVP(region, player) twice whereas the first only checks it once I think
but yeah, strings instead of booleans, random magic numbers, messy logic, this is pretty messy code
🇸 🇭 🇺 🇵 🆙
flushed slight_smile elaramoon
shup up lmao
Your repo is private
What’s your git name so I can add you? @ocean quartz
knightzmc*
Oh nah dw, if it's not public i won't look xD
average null checker: 😫 😴 ☹️
average nil checker: 😄 🔥 😎 
average niall checker: 🥶 😐 ☹️ 🌚 🌝 🙂
:full_moon_with_face:
Click to learn more
A default emoji.
A default emoji. You can use this emoji everywhere on Discord.
😦
let print-value = (String x) => {
print(x)
}
print-value(3)```
should this compile
maybe
maybe not
u tell me mr. elara mitten
imagine implicitly casting everything into a string ||cough cough js||
at the moment no because we don't have a compiler
checkmate "kotlin users"
but I think it should work because String has the same contract as Int
until we start adding "methods"
then it will not work
hopefully
only one way to find out
🙂
sorry babe, the jetbrains material UI atom one dark theme with Jetbrains Mono 13 point and font ligatures enabled stays on during sex
i am a fool
type stores "array" (slice) of functions not map[string]function
idiot
why
golang is obsolete
Cannot use 'functions' (type []Function) as type map[string]Function
:/

@heady birch
Now Kotlin
52% of Kotlin developers use coroutines lmao
Rust is just a hobby
Where the Elara stats at
how do you use Elara:
100% fun
100% work
100% to cure cancer and send humans to mars
true stats
Nocap
100% to cure cancer and send humans to mars
elara musk
so does this mean kotlin good rust bad?
hobbies 
imagine not being paid for work on kotlin 
"How do you use Rust?"
"I don't"
niall felt that.
congrats!
add " world" to "hello"
^
that will be added soon
soon™️, i see
o
What about “Hello” minus “world”

because a plus function can be useful
I guess it’s just an odd flex
indeed
who was it that wanted yeah and nah support or whatever it was
possibly
it's ambiguous
Add maybe also (:
elara supports quantum processors, im sure it does
elaras too fast 
time.stop() :))
o
So does Elera have null or nil or another one for representing absence?
there is no absence 🙃
result types mostly
its completely null free 🙃
let result = some-operation()
match result {
Some => print result.value
None => print "No value"
}```
with implicit boolean conversion too :))
None would be default ?
Some is coerced to true, None is coerced to false
Hmm nice
so you can do rust if result => print result.value else { print "No value" }
ternary exist?
Oh well that’s reasonable
bad news, yeah and nah are gonna be tricky to implement - ParseBool seems to think that they're not valid booleans 😦
lol
Ayy after a while managed to get some values from file already
ConfigMe does something pretty odd, it "normalizes" the read map to make sure that the keys are actually string, but i can't think of any possible situation that it won't
@ocean quartz what you using configme for?
I'm not using it, just checking how it works
How can i implement the Vault API to my plugin?
https://github.com/MilkBowl/VaultAPI
just copying the repository and dependency to my pom.xml?
or what?
What's your goal
it has an example for gradle and maven
there is no ; there lol
@ocean quartz Was able to get it working, however it's still a bit wonky when you have multiple pages so gotta fix that, but otherwise 
I like how the leggings and the chest plate are the wrong way around @hot hull
That really gets to me
It randomly loads them in and I legit can't be bothered with that
It's all dynamic, hence the funkines
That would get tedious af, since you'd have to configure everything
Anarchy best
This way you can't memorize which button to click when you want to disable something 😏
But my OCD is going crazy and i have only mild
why dont you just enchant the item if it's enabled?
That was my first idea, however it's not clear enough, especially if you have a resource pack
is this going to spport 1.8-1.16?
because if its just going to be 1.13+ you can use gray and lime dyes instead
I think on 1.12- the textures are different tho.
It's a commission, and it's 1.8 
oh 😦
That makes me want to puke
Could you not use their old ID’s to sort?
That would at least put the armour in the right spaces
nein
nein
Well no that doesn't make sense Blitz, the item has two states, Disabled and Enabled, light gray would mean Undefined
😦
When the rest of us see Boolean we see 2 states blitz here with his third state 🙄
Well I mean a Boolean can have 3 states 
True but not in this context
Indeed
what third state? I was literally asking to be gray instead of red
so it would be gray and green
its still 2
I know I suck at math but I can count to 2 ...xD
I just think red is more clear than grey
gray > red
no
😦
That was my first idea, however it's not clear enough, especially if you have a resource pack
@hot hull not your problem
I personally do stuff for people that use default textures, if something is broken for the others is not my concern
I mean
Either I'm stupid and idk how to read the documentation, or moodle's rest api is bad
What you trynna do with moodle kek
read some data from courses
hmm
soooo can anybody help me with moodle rest api docs? xd
it has an example for gradle and maven
@distant sun I know but im getting these when implementing the dependecy http://prntscr.com/v3s17x
I have the repository added too
( Adding the Vault API to my plugin )
reload the maven imports
how?
Im on Windows
Is not recognising the api http://prntscr.com/v3s4gf
Ok now its recognising the dependency
but it stills the "Economy" in red
Like the photo i sent recent
Have you imported it?
It's a commission, and it's 1.8
wht bout glass panes instead of blocks?
@hot hull @ocean quartz did you take a look at my project? :c
I have a tad, haven't had time to check it out completelly
okay :c
glass panes would look more clean imo @hot hull
or dyes
blocks are so wonky
I was wondering if its possible to force beds to have an explosion much larger than they currently are using a plugin? Im rather new to making plugins and such, just wondering if it is possible
yeah for sure
just listen for a InteractEvent on a Bed
and if the player who interacts is in the nether
Have you imported it?
@hot hull i dont have what to import
spawn a explosion
i think, or im doing things wrong
does that mean I would have to cancel the normal explosion
you should
and then sort of replace it with a larger one
you could just cancel the event and remove the bed by yourself
and then spawn the explosion
would this add a delay the explosion
yeah that makes sense, I guess the actual explosion radius is something that is hardcoded into the server code
So i have to change stuff in Spigot itself if i wanted to make it directly larger
I did
allright
thank you for the help :)
One more thing, I want to create a 1.8.9 pvp server, However I know that its much less up to date than 1.12.2 with bug fixes, would it make sense to use a 1.8.9 spigot server or a 1.12.2 server with the weird 1.8.9 pvp plugin (like hypixel does it iirc)
uh hypixel is a 1.8.9 server
but you can use 1.12.2 server with via version to let 1.8.9 players join with pvp mechanics plugin
allright, I think ill just make it a 1.8.9 server
:ew:
lmao
very sad
it sounds like less effort
yea but I think you still should do 1.12.2
it's way better my life became good after 1.12
server change
I played far too much 1.12
yea but I think you still should do 1.12.2
how so?
is the 1.12.2 server that much more efficient and stable?
god damn I can't type today
Someone can give me a hand implementing the VaultAPI? http://prntscr.com/v3sxjk
(i already added the depencendy and the repository)
more options than 1.8.8
what do you mean by this?
In terms of.....
like those 3 plugins that you need to install isnt such a big deal xd
Show me your pom.xml/build.gradle @fervent obsidian
Show me your pom.xml/build.gradle @fervent obsidian
@hot hull Ok
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
Why dont you just implement it 1kg
@normal talon Bcs i dont know how to, they dont give me a .jar to just implement it
where is your repo
Reimport maven and that's that, iirc correctly however vault has a transitive dependency which you have to exclude
How can i reimport maven?
Cozy no.
Don't
If you want to do that approach, at least use buildtool
1kg, there's a Maven tab on the right side of ur IDE, open the tab, and click the refresh button
Cozy, that's the biggest bs I've heard today
It's not tho
there is no magic
they let it work on any version
its 1.8
its 1.7
proof /
the servers run on 1.7
but with some plugin magic
they let it work on any version
this must be the most hilarious bullshit I've heard in years AHAHAHAHAHAH
ikr
they used to support 1.7
they still do
hypixel? no
1.7 to 1.16.3
they do
??
the server is one version only
they advise you play on 1.8.8
you can join with any client version, but the server version is still one
they don't run 1.7 because they have 1.8 features
yes but the foundation is build on 1.7
they stopped supporting 1.7 users on dec, 2015
are you living in the past or something
hypixel runs on 1.7 in the background
proof?
they just simulate the features
???????????????
the owner tf
AHAHAHAHA
well an admin
idk how their owner/admin system is handled
What are you on?
wdym Yugi
and Jayavarmen is one of the top admins
wdym Yugi
@safe lily
😂
Talking like hypixel is some 100 player server and they use spigot plugins yes yes
dude
They use 1.7.10, they can use everything from newer versions because of some SERIOUS coding and plugins. They made their own viaversion
dude you are the real lost boy here
LMAOO
you are making some unbased claims
do speak
it is based
but show me proof
havent they dropped the support for 1.7 like 3 years ago?
I got proof
show them
what would be the purpose of using 1.7 and not support it
I am not talking bout support of 1.7
Im talking bout the servers
and they run on 1.7
?
and they can simulate upper version features
but show me proof
show me links
screenshots
yeah Yugi that are the version which you can play with
then why run 1.7?
LOKKE maybe try coding in 1.7.10 and implement it on 1.8
lmao
dude
What is your point my guy lol
simulate? wtf
also km elara disc 1 min
they already do simulate upper versions on gamemodes etc.
I thought I was on something but this dude
can yall calm down
they already do simulate upper versions on gamemodes etc.
so they run 1.7 but they simulate ONLY 1.8 features
so I can explain myself
You both be on some weird shit
well I wont explain myself then
sometimes
do explain but show proof!!!
alright, stop
I just want proof
stop please.
alright, so
the supported versions are 1.8-1.16
yes
BUT
the servers actually run on 1.7
they code their plugins, so they adapt to the version you join with
DUDE NO
you cant use 1.8 blocks on 1.7 freaking version
The world is actually flat, but you imagine it as a globe
K tnx bye
but
Yugi :OOOO
The world is actually flat, but you imagine it as a globe
K tnx bye
It isnt flat bruv
bye
🤣
have a nice day LOKKEE
why are you so ignorant?
but show me proof
show me links
screenshots
cuz u on some thing
I get your premise
you didnt even let me explain myself. I am allowed to have my own opinion.
I understand it
You should ask yourself that question lok
no
go ahead
Sure, present them
but then someone spams the whole chat again
let the man speak
No, we shall wait, do present your proof
k everyone stfu so they can share proof
they already do such simulating stuff in gamemodes like bedwars
for example
if you join with 1.8
there are normal beds
but
if you join with 1.13+
the beds have your tea mcolor
team color*
thats called NMS
but they dropped 1.7.10 so yea bruv
the server is a 1.7 port to 1.8
the server runs on a modified 1.7 version
Evidence of something
In build battle i cant build with (1.15 maybe) blocks like smooth quartz blocks . Just i have a little question what is the server's version i guess its 1.14 is it true? i dont like to play with 1.15 if i cant use 1.15 things (bees,1.15 blocks,trident)
I'm interested in what version Hypixel use on their servers as a base and then they allow the other versions?
well I got a vid where a youtube talks about his talk with the admins
and they said that
admin isnt the developer
dude
From everything you've been saying so far, all we've got is that they support connections from newer clients
some admins are the leaders of the developer team
Not that they run 1.7
waffle
Yugi, waffle where
Lokke, mind pointing out a specific minute:second?
sure
Because I'm not watching a 20+ minutes video
0:52
Yugi, waffle where
@hot hull
:c
🧇
Well that's the moment some guy on youtube says they run 1.7
Where does he show that?
Blue waffel
yeah
he was always trustworthy
but I see that it isnt enough proof
but I cant give you anything else right now
are you programming something atm? @obtuse gale 🙂
yes?
what are you working on rn? :)
Imagine having to install moodle just to access it's documentation -.-
Moodle is awful
Why tho Gaby..
cuz I dont want to install it (will probably do it at some point) and the sandbox resets after 40m
I want to do smth for school
@ocean quartz Any suggestions as to how I'd add an item to a specific page ?
Because from the looks of it, doesn't seem to be possible
i agree
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
yeah I totally agree on that :)
@hot hull what is the path for my database.properties file? -> https://imgur.com/a/D7bMGSK
because I get errors, cause it doesnt find it :c
Maybe you have to be Tier 2
Testing if I can post images lol
wont have any sleep tonight-
yea it stops bots and stuff thats why its locked away
ja
The feeling when all my shit works, but matt's framework doesn't allow for such fancy things ;CC
:bruh:
what did I do wrong? t-t
getDataFolder + "/database.properties"
yes?
lemme try
thats not right
now it searches in the plugins folder of the plugin
That's what it should do...
Are you even saving the properties file?
Are you creating the data folder?
if I create a file in it it should be created automatically IIRC
Yea and guess which file that would be, just save your properties file..
yeah lmao
@ocean quartz :C https://paste.helpch.at/ikecosicem.md
you use glass panes now! :P
Those are filler items..
:(
Any suggestions as to how I'd add an item to a specific page ?
Currently don't think it's possible, it's on my todo list though
well you can always add air to the gui, but it's ugly
I dont even know how to save the properties file lmao I just know how to create one by script
File properties = new File("database.properties");
oups
Yea ngl I don't really like the way you did these pages Matt, cause it barely allows for any customization, I'll see if I can do it with air as you said
hmm
Yeah, well the pages were only meant to be like basic "storage" stuff, but i have an idea to make it better
Yea ik
Damn, this is possible in Kotlin but not in Java, pretty sad if (obj is T)
only with reified though I think
Yeah

i don't know dude
APPLE
EntityLeashApplyRargeArea
RARGE
rarge area
Ez fix 
Is it possible to access other folders besides the one in /plugins/plugin?
yes
how?
In theory you can even access system files
wHaTTTT
rm rf 
you'd need admin perms to delete system files tho
🙂
config the root password :)
I'm so close to having this working ;C
Java sdk for moodle in kotlin? 🤣
what the hell is moodle? I keep seeing you talk about it xD
@static zealot https://moodle.com/
@ocean quartz you took a look yet? :c
No, i told you yesterday i won't look at private repo
Just ask in an actual support channel rather than asking random people to look at code
how 'bad' would be to write a "java sdk" for something in kotlin? Fr now 🤣
isn't kotlin a whole different language?
fine
orrr
How do I make multiple enums with the same properties that extend an interface?
Example?
class WSFunction {
class Core {
enum class Auth(test: String) : Function(test) {
CONFIRM_USER("")
}
enum class Course(test: String) : Function(test) {
GET_ENROLLED_COURSES_BY_TIMELINE_CLASSIFICATION("")
}
}
abstract class Function(test: String)
}```
i don't get it
Me neither
Ha losers
xy problem?
I want both, Auth and Course enums to have a string in their constructor
because I have an abstract class with a variable Enum<out Function> function
Thought enums only accepted interfaces
what's actually the problem here?
Thought enums only accepted interfaces
:HuH:
:HuH:
4head
liberals owned 😎
Would this be better? https://i.imgur.com/myJ09MJ.png
sure, interfaces works fine
My goal is to have multiple enums that provide one value test: String
iirc enums cant be extended because that would break the switch and presumably some other stuff
override the function in the enum rather than each individual constant
i.e each enum has a constructor parameter, and then the enum class overrides test with the param value
yea but I think I need them all to extend an interface so Enum<out Function> will know that every value have the test property
should I consider using 'static' variables instead of enums?
Depends on your goal
I don't think I need enums at all, at first it seem easier cuz I thought I could extend a class and do stuff in constructor
but this is getting dirty https://paste.helpch.at/inuyesiyam.kt
sealed class + objects are usually a good alternative
Nah, I don't use them often but IMO it only makes sense to use them if a switch statement could be applicable
less limited than enums
how do you even use a sealed class
same way as a normal class
well I need to access them using 'static'
https://paste.helpch.at/weqibutiti.kt 'area' is the name used by moodle documentation
static (:
😦
Hello, i have been developing a plugin, and i tryied implementing it to a DeluxeMenu, and when doing
left_click_commands:
- '[close]'
- '[console] repairmenutokens %player_name% hand'
right_click_commands:
- '[close]'
- '[console] repairmenutokens %player_name% hand'```
and right clicking the item where the commands are set, i get on console:
```[15:51:51 INFO]: /repairmenutokens [player] [hand/armor/inv] ```
I dont know why im having this problem, i think is from the `%player_name%` Placeholder... bcs i gave the console "permissions" in my code for running the code... and i can run it manually and it works fine, but when using it in a Menu, this comes up.
Like the command is returning false
idk why
Did you install the player expansion?
from papi right?
Yes
@static zealot I thought i had an error in the code, thats why i posted here
Ayy null safe property reading working 
This is the config class, the second value was changed in the config so no longer has the default value
hot
ur hot
please enlighten me
starts with an e
elon musk?
😮
Rude
rude
Same
Special
Support color is meh
why is the path an annotation? @ocean quartz
looks nice
Is there a way to force player respawn?
maybe a packet I could simulate being sent that would tell the server the player had respawned
cancel the kill, teleport player to spawn 
No I want the player to die
and immediately respawn at their death location
but the dying is crucial
maybe with a respawn delay of 1s or so
was a joke anyway 🙃
can't you do player.spigot().respawn()?
^
ah yep that works, ty!
👍
@distant sun Do you think it's better not being an annotation?
ye
nah I like it as an annotation
don't listen to gaby xD
go sleep gaby. you have a long day tomorrow
well today now,.
I kinda prefer it too, makes the property declaration shorter and more straight forward
I mean, if the method holds the value it can also hold the path
default value
go sleep gaby. you have a long day tomorrow
@static zealot I can't https://i.imgur.com/okVljzV.png
I see where you're coming from though, but i like it, idk
what's that gaby? xD
autocad
idk, more lines to write I guess
ye but shorter lines
-.-
I don't have to get 3 monitors to see 1 line
kotlin makes up the difference in the more characters u have to type anyway 
does it tho? I'm not actually talking about general stuff
I'm talking about default config lines
xD
For example this will be a comparison between ConfigMe and mine
@JvmField
val HELLO: Property<String> = newProperty("path", "default");
@JvmField
val BEAN: Property<Bean> = newProperty("path2", Bean.class);
Mine
@Path("path")
val HELLO = newProperty("default");
@Path("path2")
val BEAN = newProperty(Bean.class);
2
now move the path inside newProperty method 🙂

🤦♂️
whats up with the semi colons 🤔

Ignore them i've been too much into Java and am starting to suffer from Javalosis
kill coli !
4head

definitely not
😕
why is spigot in your plugins folder
LOL
also uuhm what am I supposed to look at exactly?
hmm corrupted chunks
hmmmmm fawe, no wonder
I d e m a n d Foo
> *throws NPE*
> You're such a great API
Is there a straight forward way to open an inventory, from a text click without having to do some workout with running a command that does it?
without having to do some workout with running a command that does it?
not really
since these are all possible ClickEvent actions
your best bet is to make them run a command 🤷♂️
Dang
How do i replace a placeholder like {rank} with whatever i want
with placeholderapi
but im trying to have my hub core support multiple rank systems
Then just use the vault api
"id":10884,
"fullname":"fullname",
"shortname":"shortname",
"idnumber":"",
"summary":"summary",
"summaryformat":1,
"startdate":1601845200,
"enddate":1633302000,
"visible":true,
"fullnamedisplay":"aa",
"viewurl":"url",
"courseimage":"data:image/svg+xml;base64,PD94b",
"progress":0,
"hasprogress":false,
"isfavourite":false,
"hidden":false,
"showshortname":false,
"coursecategory":"aa"```
Is this class a good equivalent of the above json or the values have to be `var`? xd https://i.imgur.com/ssPZf59.png
ew
shut up
@quiet depot is there a field name policy for fullname to deserialize to fullName?
you'd have to make your own
I highly recommend against doing so however, because you'd have to check it against a dictionary every time
very inefficient
copy that
I don't mind using @SerializedName, just wanted to know if there's a better alternative
make it case insensitive
make what case insensitive?
field matching
field.name.toLowerCase() ?
Piggy, can you pray with me RQ
real quick
I did it with the levenshtein algorithm for field matching instead of case insensitivity, but it's the same shit
fyi you can literally just copy that into your project and create a case insensitive impl
but I'd recommend against it
i'll come up with something a bit more compact in a sec
@hot hull sure
copy what lmfao
Pray that this shit works :c
I told you to stop giving examples from your complexe shit smh
Gaby, did you ever pr the statistics stuff?
papi3?
alright, this seems to work .setFieldNamingStrategy { it.name.toLowerCase() }
yes papi 3
no 😦
do you want that to work?
but I only do deserialization and the json should always be the same
you mean serialization
uh
json to object
ah ok
I might add some stuff if I have time, since doesn't look like anyone else trynna contribute smh
Piggy, you didn't pray hard enough
:c
Holy shit it worked
:OOO
1 or 2?
https://i.imgur.com/CBTgwha.png
what are those ids sheesh
¯_(ツ)_/¯
I'd say 2 I guess
@surreal quarry is that i3?
What would be the most efficient way of handling hundreds of runnables
Should I store a timestamp for the "object" and just check if a certain amount of time has passed?
indeed it is @prisma wave
turns out the processor line came out after that
so not entirely their fault
although they probably could've considered a rename when something like intel decides to call their product the same thing
you’d think so lol
¯_(ツ)_/¯
i guess they probably thought they could just refer to it as i3wm which is different enough
i could never get used to i3
yea it’s a little weird. i’m trying out different stuff cause i’m probably gonna need a laptop for college next year so i’m just seeing what i like best and what works best
that way i don’t need to mess around with figuring it out later
makes sense
naming conventions, yes
Oh god oh no
Single singletons
I've got an interview for an internship in like 30 mins, wish me luck boiiiiis (and gorls)
Ez claps
When your lib adds a whole 90KB to your plugin 

