#dev-general
1 messages ยท Page 564 of 1
glad I could help
that's unfortunate
๐ข
Which allowed my bot to run on my computer
which gang
what pot
java 16 gang
bot*
I fixed it
So, the problem was that I was hitting too many great skill checks ๐ฅต dkims system to get my discord bot hosted on my pc didn't work
But I just had to change some stuff and it's good
wtf is "dkim's system"
sounds real ghetto
and sounds like some WSL would greatly simplify everything
That's cause it is
But it works. So until I get a pi, it's fine
what is it tho
"ghetto"
Well dkim showed me, so it's dkims thing
maybe you should invest some time into learning devops ๐ฅฒ
I don't even know what devops is, so yeah maybe
Sounds important
I've just been spending my time on Dead by Daylight I forgot everything 
oof me too man
i'm getting all the 'chieves
i got rank 10 killer for the first time yesterday lol
not yet!
Nice!
but they turned on SBMM so I'm going against easier people it seems lol
Oh yeah, sbmm kinda screwed me
I think I'm too low on elo in both killer and survivor lol
haha
the people i kill tend to be pretty bad
and my survivor teammates tend to be pretty bad
Have you ever been rank 1 survivor?
oh all the time
I feel this
Ah so you're a proper rank 1
2017 
yeah started playing in 2016 lol
That's when I got the game too
I just never played
So, you plan on hitting rank 1 killer?
Understandable
Offtopic though - Is it possible to work with a webhook within a discord bot (java)?
Or do I need a whole new project
i bet JDA has a thing for webhooks
Indeed it does
Awesome
Hey, how did you get those emojis in your about me if you don't mind me asking?
Ovh not oracle
Man in request paid said I pay a lot with a 30$ budget, massive pog
Nah 1 hour, he said he pays well so 30 an hour seems reasonable
haha
@obtuse gale ๐
i found it on reddit lol
just copied and pasted in
Does anyone here know what is the event for "Social Interaction Screen or Player Profiles (the thing that shows when a player press "P" in minecraft)" I cant find it here - https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/player/package-summary.html
It's client sided
You should be able to remove a player via packets, but not 100% sure
you can't add or remove players to or from that screen, that's client-side
you can only falsely tell the client who a message originates from, which will trick them in to thinking it came from someone else
and you can do that by using sendMessage on Audience with a given Identity
Yea so you can basically do jack shit with it
if you're not using Adventure though, you can't do that
the client will never tell you when it opens that screen though, or if it adds or removes players, the filtering is all client-side, to avoid you being able to do things like control it from the server
you know how vanished players work?
Yessir
wtf are player profiles
you just don't tell the client there is anything there
the client won't spawn a player if you don't tell them to
they won't track a player's movement if you don't tell them where the player moved
player profiles?
the social interactions screen has been in the game since 1.16 iirc
What happens if I use a library with a MIT license and after a while they change the license to something that doesn't allow commercial use. Am I still allowed to use that library if I don't update to the new version?
it's how you block people
oh wow
i did not know you could block people
the new version has the new license, so no
@jovial warren So I would have to close the project even though when I started it had a mit license?
or continue to use the old, MIT licensed version, yes
Alright, great thanks
yw
Since 1.16.5 i think, so it's pretty recent
Does anyone have the phone number for ovh billing department?
3
country?
Romania / Europa but I think I found it
alright
"An agent will be with you shortly" ๐
1000 years later
lol
Rip Wemence ๐
#871306912342343701 message this is my time to get some money /s
|| btw for "context" I've been developing/procastinating a bedwars plugin for some time.. ||
๐คซ
Just ship yours away dkim, the essence of custom bed wars
but-
dkim's gonna be rich after this one
it's 60$ smh
my bw plugin is very buggy
;-;
ez pz xD
blitz is your pfp a pair of cherries?
idk. why?
just wondering, you kinda seem a little nutty recently
maybe it is a pair of headphones hanging from a line.
with your nsfw pfp, your weird names
what weird name? and what nsfw pfp?
just classic blitz
what the fuck is nsfw about this one?
Deleted User and the broom lmao
not this one
remember the one mr. cubicle had to tell you to take off lmao
well. the name was just for a joke
well. it's not my fault that ya'll don't have a bit of common sense
i don't think you're allowed to say that as a member of the trusted team haha
I Didn't sign anything tho?
๐ฅฒ
๐ฅฒ
๐ฅฒ
inb4 no more Blitz Trusted
๐
Blitz Admin you right
omg
FRosty know's what s up
Definitely the sky
My intelligence is up, I am a professional in Go now
Yes
u should just stop responding after 1 week like all the 5 developers he had before xD
what's your current job?
I work for a cleaning service
well you probably make more money than u used to make with development
my brother does the same stuff in the netherlands and gets like over 2000 euros a month
I mean I made 1,5x more in a month here than I did in an entire year with dev work
Got 1.6k for 160~ hours of work last month
Bad dev in the sense of not charging people enough 
xD
I got a few requests. I Finally asked for an almost fair price (still better that others would ask for) and they just didn't respond ever agian xD
Lol, the usual

xD
Hey guys, I've been thinking of an idea for an auto-service system to add to Krypton, and I thought that it would be easier if I made a mockup and put it in a repo instead of trying to explain how it works here, so I've done just that, the repo is here: https://github.com/BomBardyGamer/auto-service-mockup
I just want some feedback on the concept before I actually bother trying to implement it
auto service?
yeah, kinda like Spring's bean system but for plugins and libraries
ah
everything in the repo should have comments explaining how it will work
๐
I personally would suggest keeping that as an optional library
it also includes a runtime dependency management system in it, which supports any repo
I'm not sure that would be possible with the way it's designed, since it's all annotation-based, and requires things like injecting in to the plugin constructor
this is a lot of annotations ๐
yeah it is quite a few, though I believe it's decently well structured
dkim. why don't you shut up and join bedwars?
;-;
this would completely eliminate the need for a services manager and any setup that certain libraries may need to function properly
the idea is to avoid the need to copy and paste the same boilerplate code just to get a library working
idk what that means. just a yes or a no please
btw how would you get plugin specific things with the krypton api?
since I've noticed that you don't extend anything unlike JavaPlutin ๐ค
alright
injection
oh
class MyPlugin @Inject constructor(
val logger: Logger,
@DataFolder val folder: Path
)
```for example
is there a list of different injections?
all the global bindings are in the GlobalModule, but I should probably create a list of those somewhere
just add a manual way to setup the same
hmm
for a system that is designed to make things work out of the box, it not working out of the box sounds a bit counter-intuitive imo
I meant in more of the way of bounding someone to a specific system
yeah good point actually
I mean, I'll keep the services manager for people who want to use it, and there's also the option to just copy and paste the boilerplate, you don't have to use the system
alr
I'm still not sure about whether I want the runtime dependency management system though, since it means a requirement of the server being online for dependencies to be downloaded
though I love the idea of having a shared place for libraries that plugins can use, rather than them all shading their own local versions
I would probably end up using parts of SlimJar as a reference point of how to actually implement the system, because why reinvent the wheel lol
lol
I'm still trying to decide if I should use compile-time annotation scanning and generate files to make this work, or use runtime annotation scanning
the first option means you only scan once per compilation, and means that startup will be rapid, so probably the first
yes
probably not worth scanning the methods at compile time though, since I don't think I can really get anything from those
Use yugi time annotation scanning 
compile time has limitations and is harder
deez nuts
no the paste context action doesnt work
cringe
This is new....
Does that convert the message to a paste?
yeah. or converts other pastes to ours
soonโข๏ธ
ah
that was quick of you to notice
but I just have my emoji up there
do most websites make a rest api as like a seperate project almost then for their website use that api?
much faster
depends
both exists
monolithic would probably end up being harder to maintain
Microservices ๐คฏ
๐
Micropp
star knows what that is ^^
Lol?
yes. that's an emote. I Didn't know until now. or if I ever did know I Forgot about it
Uhuh
@static zealot do u play league?
ur name is part of one champion name
is it now/
blitzcrank or smth
yes
im actually so like shit and front end but i wanna do more backend stuff so idk what to do
get gud at front end?
but like im really bad at design and stuff which isnt something i can see myself getting good at
Front end sucks
yeah i hate it but i wanna do backend stuff but like having to do frontend stuff for it really demotivates me
Templates r so nice for that reason, and if you use react ones you can also customize them rly easily
Im a terrible designer too lol
I should try Kotlin react again
You should try Elm again
based
True need to try that
๐
Can you add kotlin react to existing typescript projects?
Or use it with ts libraries?
so does it work well in general?
Last time i tried the router was a bit buggy, but maybe i was doing it wrong
Other than that it was working fine
huh, cool, well maybe ill try that? Idk, would be nice to not need to refresh myself on ts
Ikr, would really be great if i didn't need to touch ts or js
Myes me who still canโt figure out how to center a div
yeah, fuck front end
Flex display
I just use JavaScript framework for it
there's a framework for everything!
including making your pp bigger?
yea
๐
Indeed
damn. sign me up
U smol pp ?
Im glad you all have decided to be 12 again
Pp means power pranks right
Yeah?
Ooo we good to go then
@eternal compass it's still wrapping weirdly.
The bg?
Yeah
Set the background-position to cover
Matt the css god
matt the frontend expert
Matt the Matt expert
Not an expert was just a suggestion to try xD
Cover tends to fit the background to the element
that doesn't seem to exist
I see a ton of people use <> and [] when describing args in a plugins docs or smth, but when would I use each bracket?
Actually it's background-size mb
<arg> is required
[arg] is optional
I just use <> for required and [] for optional
oh
blitz
;-;
Oh thanks guys ๐
tyty
fixed
kk
Yeah nginx is fine ๐
that's what I like to hear
nginx is the only way to go
apache2 is cool too 
no
lol
;-;
its a fair alternative imho
fair
btw star are you good at figuring out types for JS code? ๐
I have this JS code that doesn't work with types, but the lib it uses has typing support
and nothing works :p
well, not to brag, but I did fix a big Barry type issue for mr. cubicle
can you see if you can type that example? :p
nothing I try works
but I have also been awake for a significant amount of hours and am probably going to pass out very soon
ah thats fair
Blockly does not seem like something you would be interested in lol
as a person who is doing typescript stuff
why not?
I'm trying to build an application with it
for people who don't know java
ah
I'm not trying to use it lmfao
i was just gonna say it's for people who don't know how to program haha
if I was I'd just use the example
or scratch
I used scratch soo much at one point
oh no
anyway yeah I'm trying to build something for people that don't understand java to make simple plugins
(but I will not add complicated features since I don't want it to turn into skript where people can do stuff, so they do it, even though it doesn't make sense)
hm?
what's the max jar size for premium spigot plugins these days?
didn't they increased it to like 5?
Did they?
"The file you are trying to upload is too large", ty for telling the max size as well
Pdm ๐๐
java 16 support ๐
alright so it is still 4.5mb, fucking md
kotlin 1.5 ๐๐
ik
Yeah md69 did actually increase it from 4 to 4.5 still so thatโs pog
what plugin is > than 4.5mb?
nah I was just curious
collam
any plugin that needs to bundle, for instance, the kotlin runtime lol
Can't you only shade the part you need?
fatJar 
Library loader 
Does luckperms use that or still download it in the libs folder?
It still has to run on all the other platforms
So it uses its own system for all other platforms then and the lib loader for spigot?
No
It uses its dependency manager everywhere
It would be fucking stupid if not
Plus it fetches from his own repo first, then if it fails it fallbacks to central (something you have 0 control on spigot library loader)
Any idea what could cause the players to fall through map when teleporting?
Carpets
idk last time I administered a server I remember /home /tpa /warp etc etc teleported me to the void of there were carpets lmao
Does anyone know how to configure apache2 for using it in my ethernet network. Because i have 2 computers connected to the same wifi router. But when i open a webpage on of the pc, i cannot see the web. When i look using 127.0.0.1:80/Web it doesnt appear.
Do you know what im doing wrong?
Oo yeah true
127.0.0.1 is basically a way to refer to the machine you're currently on
So you obviously can't use it to refer to another computer on your nextwork
You'd have to get the local IP of that computer, using something like ipconfig or ifconfig in a terminal/command prompt
LuckPerms is like 11MB after all libs get downloaded
jeez
do you really need the kotlin runtime tho
i mean I've converted a bunch of one of my plugins to kotlin and my jar file is still like 2.3MB
Chunks not loading, or ping maybe?
anyone know where to get ideas for UIs?
I'm awful with design, and idek where to start
Look at UIโs of things similar to what you are making
theres only a few things similar to what I'm making and well, I want to be more creative than copying scratch.mit.edu's interface lmao
Fred I know you said you fixed that thing earlier but did you forget to push it on github?
I haven't pushed it yet
Ahh
no reason to
since it won't update for a few days anyway
and I have another issue to solve
You should put the prod link in the readme.
better 
the link section
Ye
Try drawing it out, or create it on like a website builder or something just to help you design it easier.
small commits 
Or ask someone good at UI
right I have adobe XD for that, but idk where to begin
XD
idk anyone who is :p
XD
Its committed, just not pushed
oh
its a real piece of software ;-;
xD
xd
cute
okay!
Allright thanks bro!!!
Any good obfuscator to recommend?
Which do you think its more secure? Java obfuscator or Kottlin?
Its to obfuscate and if posible encrypt java bytecode
it looks obfuscated when decompiled 
clojure ๐
yeah clojure is completely unreadable when decompiled
*anything done in react
lets goooo
I just finished my command handler for my discord bot module system thingy
and that is all generated from
https://paste.helpch.at/punijexowo.json
(including registering the slash command)
nice
Nice, but ugh, js
https://www.spigotmc.org/threads/skript-ide.176486/
This out yet?
i doubt its coming anytime soon
they kept saying that it'd come "tomorrow" a bunch of times but them stopped responding to the thread...
so I assume it's abandoned
ya
That's sad
mhm
rip
i found this though: https://skide.liz3.net/
SkIDE is a fully tooled Open source Editor for Skript providing IDE like features.
ยฏ_(ใ)_/ยฏ
Ooh nice
i dont think its being maintained anymore though
I do not have the time or motivation anymore to continue this project, i do basically no JVM code anymore.
But i will not delete the Project, so if you want to take on SkIDE, open a issue here or DM me on discord.
Rip
๐ฅฒ
I can't believe some people haven't heard of Skript
lol
oh much better, though im pretty sure its json, thats what your paste says ๐ฅฒ
The paste uses random shit at the end from what I've seen
Nah. It just doesn't have support for a lot of stuff
Including js or ts
So it just chooses either random or it takes code snippets and decides from those
who can help me to install MySQL?
in my Host Dedicate ubuntu 18.04
Any idea if I can take parts of apache commons and use it in my project? I don't need the whole thing, only a specific part
Check and obey its license
so I can't?
Why not just add the entire thing then minimize?
public static String replaceEach(Stringย text, String[]ย searchList, String[]ย replacementList)
throws IllegalArgumentException```
Replaces all occurrences of Strings within another String.
A null reference passed to this method is a no-op, or if any "search string" or "string to replace" is null, that replace will be ignored. This will not repeat. For repeating replaces, call the overloaded method.
2.4
the text with any replacements processed, null if null String input
IllegalArgumentException - if the lengths of the arrays are not the same (null is ok, and/or size 0)
searchList - the Strings to search for, no-op if null
replacementList - the Strings to replace them with, no-op if null
text - text to search and replace in, no-op if null
https://youtu.be/RzCDqvXboPM aye pog
#Java #OpenJDK #JDK
The first release candidate of Java 17 is here! Why you should not be using the finalize() method of the Object class anymore. What are value-based classes? Bonus: hints on contributing to the OpenJDK.
โฏโฏโฏโฏโฏโฏ Chapters โฏโฏโฏโฏโฏโฏ
0:00 โ Intro
0:59 โ Java 17 RC1 is here!
Get if from http://jdk.java.net/17/
...
Just grab it and donโt care, donโt think anyone will try sue you for that, itโs more if you steal entire classes and bigger stuff that it might start to get sensitive.
ok'
lmao. I remember I once found an algorithm for spiral movement and it said "don't use in public projects without asking for permissions" and I of course went ahead and used it in 3 public projects xD
I changed it after that to another one that didn't require me to ask for permissions xD
It is someshat a json object ig
How do I check if an item has a specific enchantment, and get the level of it? I currently have this code: https://paste.helpch.at/ojikenawac.cpp
yea alright @old wyvern
how can I give access to ubuntu to modify files on /var/www?
If that's nginx I think nginx adds a www user that you should be using
probably a group
do an ls -lah in your /var/www folder
oh and add ubuntu to the www group
usermod -aG ubuntu www
group www does not exist
whelp
do this then
AAAAAAAAAAAAAAaaaaaaaaAAAAA
working with ubuntu is already a pain
no,its not
ngl, but this one is fire
haven't u seen the free one? it is more fire than the premium one I swear
nice random shapes
1 sec.
I love the new logo
will restart IJ
logo is also fire
indeed
@hot hull
I Love this one
the background color is better and the shapes are better
like. the other ones are very very repetitive
oh damn, that's a scam

lol what
I have the sm0ll icons so it's the same all the time
yeah. I got the free edition icon. ain't got the cool one either
omgosh, why does all microsoft documentation suck??? I swear to god they wont even link a github... Im having doubts that anything in here ever worked
smh imagine not being on mac
but the loading screen for community edition is very cool
ironic considering they own github!
also are you doing C# or something
no im literally just tring to get spring oauth logins working with azure
ah azure
they have a dedicated article on it, thank god, but it sucks
well, the setting up azure part was fine
but like fundamentally i dont see how their spring stuff could work
and it doesnt
and they link no github incase i did something wrong
wdym
like i want to check out the whole file and imports and stuff
they link no github for the article
is this an article specific to spring?
ya
i'm impressed they even have one
spring gets kinda weird doing oauth manually, but ill try this
oh lol, i already got a couple different(easier) providers setup, so i think im good there atleast for now
Ok, well im having the same issues i had now for discord, so thats a start
@prisma wave Quick question, how do I import a file if I have them in different dirs, cause right now I'm trying to have it as
command (dir)
handle (dir)
- file which I want to import
impl (dir)
- file I'm currently using
And I just can not get it to work
can't you just use the package?
nop
import "command/handle"?
wasn't there something like ../handle/file
to basically go back 1 directory
and go from that
not in go i dont think
Nah not the issue
you may need to setup a module and then use the fully qualified path
in javascript ๐
pretty sure that works in java too
nope
definitely not
I was thinking about something else
I think I was thinking about gradle implementation of a file
What a 4head
or maybe just javascript. so yeah. u never know
not even I Know what I Think of
its like my neurons don't talk to each othere
you probably saw me do it in JS
even tho there's only 2
like an hour ago or whatever
well I Did. but I Remembered doing something similar with like implementation in gradle
from a file
So yea IJ is on crack, it's updating files so fucking slowly, renamed a file yesterday, and it's still using that for some fucking reason
Deleted .idea, still showing yesterdays dir name
Like what'?
pc bad
Delete system32, might work
ah, needed to edit the mod file
This is my layout, above is the file I'm trying to import, but it just does not want to
How have you done the import
also I assume you've tried the old invalidate caches trick
Yea fixed that, importing it with
and what's the module called?
in go.mod too?
Yes
hmmmm
try building with command line
that looks fine
so either IJ is broke or im forgetting something
I mean does inheritance work different than other languages or same?
Cause if it's same, IJ on crack
elaborate
interfaces are the only way of doing polymorphism
im not sure that's really "inheritance"
but
uh
idk
it just works
if you have the functions of the interface, it "inherits" the interface
janky shit
I get that, wouldn't that make it even easier for importing then, or atleast using functions/structs from other files
wdym?
you import a package
and you get all the exported members from that package
in theory, anyway
"in theory"
xd
Think i finally got it working ๐ซ
nice
doing a bit of digging, actually it is... https://skide.liz3.net/
SkIDE is a fully tooled Open source Editor for Skript providing IDE like features.
https://i.imgur.com/s6HaX18.png
doing a bit of digging
๐ฅฒ
looks like vsc ๐คฎ
i went through the whole spigot thread 
how the fuck do I declare new line in my README.md?? I'm editing it from github and it literally doesn't care about them
oh
it's 2 fucking spaces... ๐ข
yep
also. another question. how do I Delete the wiki from a github repository? I can't seem o
to be able to just delete the main wiki page
like other pages
oh. I guess I can just disable them
from the settings
What don't work?
Omg
I said server
XD
Instead of string
I was so focused on putting it after the server expansion that my brain messed it up
oh boy. time to crash 100 more times
wait where's that?
oh yes i can definitely tell ur brain is messed up
on the ecloud?
what?
just make both strings lowercase, then call contains()
that's actually better
so please leave me alone
here read
smh
"faster" lol
anyways. fixed the ecloud
lmao
it was just as fast to write since it was copy paste
and it takes 4 times less to execute
sooo
I don't mind
๐ค
First time using value classes and this is actually pretty cool ;o
that exists in kotlin also? ๐ฎ
Yeah, added in 1.5
Kinda ugly declaration though, since you need to add @JvmInline ๐ฉ
havent inline classes been around since like 1.3?
iirc they will be changing that declaration eventually
Experimental in 1.4 i think
When Valhalla is out i think ๐ฉ
๐ซ
jvm limitations because of stinky java โน๏ธ
Let's fork the JVM!
yeah!!!
sleepong
ping pong
Testing to see if code will run every day at midnight is great, have a bug and it didn't work? Well good luck tomorrow
lmao
Should work, basically will calculate how long till midnight when first ran then should repeat every midnight
assertTrue(false)
@old wyvern can I replace my shadowJar task (with relocations inside) with the slimJar relocations?
Technically yes, since all SlimJar does is inject the relocations into shadow
There's another issue with Slimjar that Yugi is going to fix when he's back. Requiring me to delete my libs each time I restart the server.
Any idea why I get a Web server is down error after following this https://www.digitalocean.com/community/tutorials/how-to-host-a-website-using-cloudflare-and-nginx-on-ubuntu-20-04? ๐
The vps is fresh, I just did these steps
Finally, microsoft documentation SUCKS
why cant they do anything right ๐ซ
Hi dkim
*dkim19375
btw (at least in kotlin, i think its same with java) why is it sometimes #length or #size? why can't it be consistent ๐ฉ
lol
Ngl i never know when it's dkim or conclure talking at first lmao
lol
-_-
Lenght is a field in arrays, size is a method in collections, basically conflict of updating the language for decades
Yuh wijkn dalsd
=
Yugh wink, salad?
Size is a property in arrays, not a field, also Kotlin arrays are different than Java
๐คข๐ ๐ฅ
wait a minute
in kotlin
is it always a size property*?
in lists too
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/ I just noticed it ๐
I thought it'd be length or something in list
Yeah lol
Yes
amazing!!!!!!!!!!!!!!!!!!!!! ๐
Im pretty sure id have a hard time going back to java now
๐ฅฒ ๐ฅฒ
also Kotlin arrays are different than Java
oh wdym? ๐
Oh just to add, it took me like 4 hours of looking through stuff to figure out what the current user info endpoint for oauth was in azure
String#length 
dkim19375.height = 0
-_-
^_^
Similar to how Int is different than int and stuff like that
I think similar, i remember some situations that'll be a bit different, but most of the times yes
Isnโt Array in Kotlin much more powerful than the Java ones
well an array is an array
They're not fundamentally different in kotlin but they're not treated as "primitives"
Sounds plausible
Why not IntArray? 
Idk y this took me so long, but it has
๐ฅฒ
Looks good except no css
css ftw
lol
btw why does IntArray exist? Can't there just be extension functions for Array<Int>
this is how i do all websites
what are you talking about
lol
more importantly it actually works
Boomer 
Likely a compiler limitation
Yeah
Compiler isn't smart enough to turn it into an int[] for some reason I guess
Even though that sounds pretty trivial
Thought kotlin Array<T> was more something similar to Javaโs Arrays::asList implementation but seems like it isnโt 
Kotlin noob language
What?
it shows int[]
Arrays in Kotlin have the same extensions as lists, so you can filter, map, etc
And?
Ah then itโs more powerful
Well I guess Arrays::stream is an option
it's "more powerful" in the same way that Int is more powerful than int
But it's not really any different to a java array
Ok chief
For example filter will still create a list for it
Yeah I mean all the "bonus features" just come from the fact that Array implements Iterable
It does in kotlin yeah
what?
Okay thank you !!
You're welcome!
Mind your own business
no u
Day 2 of "setting up a fucking web server" has begun!
what's the problem?
Shorter list if he tells you what's not a problem
"Web server is down" ๐คฃ
One of the best thing intelliJ did https://prnt.sc/1p3zqqu
I think we can all agree on this
I thought they removed Lombok
xd
he left the server after that. :))
o instanceof Person(var firstName, var lastName, var city) is this feature in Java yet?
nyes
Ok pog
How would that work?
Is possible to use an editor that lets me click on lines and stuff on ubuntu?
yesn't
pattern matching
it's just a shorthand for o instanceof Person p; var firstName = p.firstName() or something
yes
does java 16 run java 17 code?
No
You cant run code that was compiled against a new version, using an old version
I thought it used to be backwards compatible one or two versions
maybe I'm just crazy
idk
Nope, Java only works backwards, j16 runs anything below it, j10 runs anything below it, never above
hm
^
okay
I mean, it can't run code it doesn't know exists
so then the MC community is gonna get put into chaos every time MC bumps java versions?
j16 running j17 means forward compatible
but you could have the JDK compile it down to a version below or smth
You can compile for java 8 and run on all java versions (above 8 ofc)
right right
also- anyone good with different DB types here?
I need to find a database that has some sort of messanger to update my program when the database changes (update almost instantly), using RabbitMQ or smth.
I'm thinking of writing it myself, but that feels stupid
A database to trigger an update? 
right.
that way someone could edit something on my bot's web interface
and have it change in ~ real time
eg. change the prefix, click save, type a command, and it works
I mean just send an update to your code when they do that?
I'm trying to build my bot to be sharable from the ground up, for experience (and if it becomes big
), so thats not an option
Oh thought you were talking about like actually updating the program not just its data
no just the data lol
if I were to build it myself I'd create a process that can get / output data via a RabbitMQ line, and then it would connect to MySQL for persistence and such.
but I feel like someone's already build a database for this t hat I could just use
oh hmm, firebase's database seems to have realtime updates
oOooh
Lol tho rabbit is pog
@onyx loom. I'm finally working on my RTP Plugin again. and I'm confused why you did this xD
plugin.cooldownHandler.cooldownCheck(player, target, sender)
that method only sends the message if they're in cooldown but doesn't give any other fucks
I think Bukkit.shutdown() could solve this issue
๐ฅฒ
i copied and pasted whatever ur code did
because it was duplicated, so i made it a method instead
no worries. I was just confused. I Completely forgot you updated my plugin
yeah. I'm going thru the entire code rn bcz there's a lot of stuff I Forgot I Did
xD
how did you guys make a javadoc or wiki?
for your own plugins?
i need some recommendations on hosting or some stuffs
a small vps or raspi can probably host a little readthedocs or javadocs instance
it is basically static content, after all!
is there like a super small vps site?
ohhh!
gitbook bad
github wiki would be cool
and it costs money
not really? the pro features are really not needed
yeah so fuck that
that's why Matt is doing his own wiki
yeah. doesn't find something or doesn't like what he finds? he'll just make an alternative
xD
man it really saddens me that jimmy johns is closed on sundays here
really throws a wrench into my weekend plans
i mean i don't
my plans are generally to go get jimmy johns because it is delicious
xD
nah
/pl FrozenJoin
?pl FrozenJoin
Only 91 downloads, pathetic
lol who named that?? Ive never heard of it
It was founded by Jimmy John Liautaud in 1983
Best sandwich location I've ever been to
Wawa is a close second, though
you guys don't have subway in bri ain?
nobody goes there

