#dev-general
1 messages Β· Page 198 of 1
Lemmo, good idea
I like how using tornadofx seems to continuously break the kotlin parser on ij
isn't there a plugin for it?
So Lemmo, how you been 
But kotlin keeps reporting false errors
just got back from the dentist and I can't feel my mouth
weird yugi
yup
Bruh my dentist appointment got cancelled again, this is the second time, and now i don't even have a next date
Whats by?
I am such a genius
I've improved the performance of this application from 10s to 200ms
Good
ayy
and it's php & js
and even nicer is that I'll have to rewrite quite some stuff in the client meaning more hours == more πΈ
bruh
client
Must be nice 
web applications shouldn't have clients
a web application always has a client
there's no way to not have a client
you just prefer SSR
I am a full stack backend developer
Iβm a middleend empty stack developer
Pog
Make your own ?
its simple, just a full server control/hosting solution
am i paying?
ofcourse
why wouldnt i?
30 cents at least
just use GCE, AWS or Azure
no
or something like envoyer
we need a custom enterprise solution
or ploy
also it was a joke
yeah iknow
niall can you make me a javascript minecraft plugin
Skript ClojureSkript Minecraft Plugin
In MsPaint
@hot hull Curious to see how you'll implement that xD
IDK where to put this so IG here anyoen know a anticheat test server?
like download plugins ect im to lazy to make my own
^
Hi, do you have a good guide to put NBT datas (or metadatas) on Itemstacks ? It seems spigot can't do it by itself and I don't know if the google firsts results are that good / easy / optimized OxO
Just search for nbt in this channel, there's two classes pasted which do this easily
Ever heard of PersistentDataContainer?
Once, but not in details
inline fun <reified T : Event> Plugin.waitForEvent(
timeoutTicks: Long = -1,
ignoreCancelled: Boolean = false,
priority: EventPriority = EventPriority.NORMAL,
crossinline action: (T) -> Unit,
crossinline predicate: (T) -> Boolean = { true },
crossinline timeoutAction: () -> Unit = {}
) { }```
is htere a way to call that kotlin method from java
i know extensions compile to static receivers, but im trying FileNameKt.waitForEvent(...) and its not working
its not showing that the method exists
when i look at the decompiled java, this is what it shows
so i think i should be able to call it like that
You cant call inline functions from java
ok ty
Is my request a reasonable price?
I'm fairly eager to get this done so I upped it a bit higher than I was originally going for
Is there any specific reason why messaging channels dont work if there are no players on the server?
i believe messaging channels need a player to send the messages back and forth
player.sendPluginMessage(this, "BungeeCord", out.toByteArray())
players are used to send the plugin message so without players, you won't be able to send it
damn, i was playing around with and it seems even if there are no player and you attempt to send something it will just wait until a player joins and the moment he joins it will then sent that data even if its 20 min later
wonder if there is a way to get around this
Just make a check if people are online?
yeah but what if i need to send data right now and there are no players one that specific server?
Queue
halp
, Im trying to include an image in my plugins resource folder, however when I compile the image is corrupted during the build proccess, I know thisa occurs during the build proccess because if i manually delete the image from the jar and replace it with a fresh copy it works fine. I am building with gradle shadowJar, just wondering how I can fix this
Just use imgur 
Thats an option.....
I feel like thats prone to breaking tho, like does imgur take the images down ever? I feel like its more reliable to have this
you're not secure
Imgur is perma is it not?
never seen imgur servers down
Alot of servers will have network blocking things and will flag that connection. So remember to give them a heads up
we need an enterprise emote just for this man
cus this right here is the greatest solution
Alot of servers will have network blocking things and will flag that connection. So remember to give them a heads up
@heady birch wdym? ATM I am having problems with the map not rendering so i dont think the image is working
val bottomRightRenderer = ImageRenderer.create(ImageTools.resizeToMapSize(ImageIO.read(URL(MAP_BOTTOM_AND_RIGHT))))
val map = MapBuilder.create()
.world(location.world)
.addRenderers(bottomRightRenderer)
.build().createItemStack()``` heres my code
Are you reading from resources folder?
na i gave up im trying imgur now
Also what is the image?
Use this
https://i.imgur.com/TyimuGw.png
You could even just render it at startup or something
Its only some black and white
Yeah, I have noticed it is takes a few seconds to get the image from imgur
How big is the image 50x50px e.g?
128*128px
final BufferedImage bufferedImage = new BufferedImage(128, 128, TYPE_RGB);
final Graphics2D graphics2d = bufferedImage.createGraphics();
graphics2d.setColor(Color.WHITE);
graphics2d.fillRect(0, 0, 128, 128);
graphics2d.setColor(Color.BLACK);
graphics2d.fillRect(128 - 16, 0, 16, 128);
graphics2d.fillRect(0, 128 - 16, 128, 16);
where should I store it? Could I just chuck it in a companion object?
I never know when I can/should use static/companion object loll
Isn't it little too pedantic to have final in method parameters
?
void lol(final Lol lol) {
}```
java is already notoriously verbose, the additional verbosity of the final keyword in parameters should only been seen as a benefit, not a con.
Conclure noob
yeah but like I dont think its a con either although but I just wonder how important it is
I mean it kinda tells anyone who reads your code the param is final
but its annoying af to write it all the time
well, if you define important as essential, then itβs not important at all
itβs valuable as it makes your code more readable
but not essential, and therefore imo, not important
and there exist no tools that would automatically put final in front of everything that can be
?
ij can do it
no, look in the code style settings
ok tyty
but that would only put final if there is nothing that blocks it from doing so I assume
what would block it?
Reassigning the reference basically?
I mean if I have a class variable which has a setter it shouldnt put final on that etc
or perhaps its called member
yeah but if it detects that the paremeter is being reassigned, it would simply skip it right?
If ive got a fork of a GH repo, and my fork is a few commits behind the original, how can I sync my copy up to the original? I dont want any of the stuff on my fork anymore, I want mine exactly the same as the originals latest commit
easiest way is to delete your fork and fork it again
alright
proper way is to hard reset your fork to the last official commit on it, and then merge from upstream
ill just delete it lol
When is using static/companion object ok?
constants π
well for example im gonna have to do this onEnable so I can use them in future
final BufferedImage bufferedImage = new BufferedImage(128, 128, TYPE_RGB);
final Graphics2D graphics2d = bufferedImage.createGraphics();
graphics2d.setColor(Color.WHITE);
graphics2d.fillRect(0, 0, 128, 128);
graphics2d.setColor(Color.BLACK);
graphics2d.fillRect(128 - 16, 0, 16, 128);
graphics2d.fillRect(0, 128 - 16, 128, 16);
But idk where Id store something like thsi
Also is this kinda thing something id make async? Or is it not worth it for osmething like this? Ive never messed around with async and stuff
Nah just do it on enable and be done with it
alright
What does an object class compile down to?
Cos from what ive seen it just makes like everything static or whatever
object MapImageHandler {
val bottomAndRightImage = BufferedImage(128, 128, TYPE_RGB)
fun loadMapImages(){
}
}``` So could I do something like this?
Either a singleton or anonymous class I believe
So in this case should be fine, singleton is what you want
alright
Also as word of note remember it is your legal rights and freedom to use Java over Kotlin. Don't let them force you to use Kotlin
Im using kotlin on my own free will
Ok. but thats fine. but just telling you. you dont have to... i understand they may be pressuring you
@quiet depot PlayerExpansion are you working on V3?
It feels good knowing people are actually going to use an API I designed π
When the code throws a NoSuchElementException but proceeds to work π
what the actual fuck is going on rn lol
oh
welp
Also as word of note remember it is your legal rights and freedom to use Java over Kotlin. Don't let them force you to use Kotlin
@heady birch ur funny. also thanks for xp
31 minutes, 1830 seconds
kotlin good java bad
question
If I use the deprecated one is bad stuff happen?
Since I dont really wanna pass it an instance of my plugin just for this
The reason it uses plugin specificity is possibly so it is undone when the plugin is disabled
Its probably better to use the non-deprecated version
ehh
Always avoid using deprecated stuff whenever possible
ik but i dont really wanna pass my main just for this
Also if I call hidePlayer does it stop stuff like EntityInteractAtEntity event and stuff?
the player wouldnt exist to the client so yes
epic
Yo who knows this "Vue" thing, I want to try and learn it at some point
Guys I think im going crazy, if I have a collection of players how do I loop over it and hide each player
I feel like this is really dumb
Like I could just do players.forEach { it.hide(it) } but that would just hide themselves from themselves π€
do I have to do somethingl ike this?
players.forEach {
players.filter { pl -> pl != it }.forEach { player->
it.hidePlayer(player)
}
}``` or am I overthinking this
That's reasonable
It's always gonna be O(n^2) I think
I would do the check inside the forEach rather in a filter though
why
avoids making another collection
Micro-optimization
Also cleaner and possibly more readable
so should filter never be used?
ofc not
It's very useful
But I think it probably impedes on readability in this case
Idk that's just me
think thats just you lol
Β―\_(γ)_/Β―
be lik bob
I'm viewing on mobile so it looks pretty ugly
No use new O1List()
time for my favourite part, having to fire up multiple minecraft instances
new PersistantBag
new O1(Iterable<E>)
Unsafe.setComplexity(List::filter, BigO.ONE)
new O<>(1);
new ArrayList<>().setComplexity(TimeComplexity.O1)
functional programming
lol
elara
so be like bob
yeah elera is noice
nothing is tricky when yugi is put to the task
even yugi seems to think it would be tricky
well it would be easy with just Ints, but expanding it to any type
yugi, the legend himself
so ```
type CSStudent = Student { major == CS }
is infinitely more difficult to check at compile time than just int values
typedef nil = NULL;
go home you are drunk codacy https://i.imgur.com/g1b65KN.png
I normally remove that pattern, it's pretty annoying
sonar >
it must be new
What about drunk intellij constantly telling me variables are redeclared and other possible errors
When none of them are actually present
But not do type checking π
my ij is also broken dw
Mine just seems to act so while using tornadofx
only on kotlin here
yea tornadofx is a kotlin wrapper for javafx
wonder if tebex will accept my attempt of making a sdk for their api 
Hi Gaby What are you making?
Must say I'm slightly disappointed, in an ideal world that RequestBody would exist as an annotation. But we dont live in an ideal world do we? Some people dont get it..
Lmao that reminded me of this
https://www.youtube.com/watch?v=Kl3H4vMqYNo
Variations on a theme.
https://static.macmillan.com/static/holt/famous-people/
My book, Famous People, is out now!
Hi Gaby What are you making?
@heady birch https://github.com/iGabyTM/tebex-java-sdk not finished yet, didn't had time to π¦
Java library for Tebex.io API. Contribute to iGabyTM/tebex-java-sdk development by creating an account on GitHub.
RequestBody is from okhttp3
No thanks
I dont like the CouponBuilder either but ..
smh
@SerializedName("expires") private String expirationDate;
@SerializedName("expires")
private String expirationDate;```
1 or 2?
2
2
aight
What would be the best way to set a Kotlin list to Java's?
I need to do it.actions = listOf(hoverAction), even though this "works", the list isn't mutable, and doing
it.actions = mutableListOf(hoverAction) doesn't work cuz incompatible type
So what I have now is super fucking ugly as it.actions = ArrayList<Actions>(listOf(hoverAction))
What is the best way to do this?
And the correct approach would be?
the approach that best fits your use requirements
Thanks, didn't think about that!
arrayListOf?
I know right. One of the stack overflow responses I once received.
But Im afraid I cannot provide advice on your situation
isn't MutableList interchangable with java list?
Doesn't seem to work either, it implements MutableList
And apparently no, List is the same as Java's List but immutable
As it'll throw exception if try to modify it
Surely a kotlin MutableList would be a standard java List?
Use AbstractList for the type of actions
Wait I got it, so it was a problem with specifying type, if no type is specified listOf will assume it correctly but mutableListOf wont lol
listOf(hoverAction) // works
mutableListOf(hoverAction) // doesn't
mutableListOf<MessageAction>(hoverAction) // works
Lol
huh
oh I think it's to do with covariance and contravariance
kotlin does it differently or something
Interesting, well, that makes it less ugly
Hey @onyx loom , can you update your PR? https://github.com/PlaceholderAPI/Player-Expansion/pull/36
If you fix that up, let me know, and I'll merge it for the next update.
Or I can, either works.
CC: @green furnace Can you update yours too? I think there were some duplicates across all the ones I merged tonight, so, just gotta make sure we get everything merged that should be before the next expansion update.
yay, consistency
My plugin works about 75% of the time
The other 25 I get a Big ol IllegalArgumentException
Try intellij and u will become biased π
Auto completion and quick fixes are better
Also I think the UI is more modern
I have used both, IntelliJ provides so much more
Some of my reasons are:
It has a more extensive amount of plugins, (the material UI plugin for example will make it look amazing), has built in version control features, auto completion is much better, it's also faster and lighter than eclipse, if you have ultimate it has an amazing database feature
I know u can export to eclipse project, donno if import is supported
If I say I use light theme will I be kicked out of here
Well u promise not kicking me?
Aj, why does everything look the same color?
So
I dont like my theme lol
What do you use again? Urs looks nice
I change mine up like every 2 weeks, just for something different
I mean it doesn't even highlight your variables, what
It's a modified version of Atom one Dark
There was a scientific research on how black text on white and white text on black influence reading comprehension. They found students reading black on white did 27% better
I feels like I can understand code batter in light theme
ultimate has a few more features, but community is still good, and has everything you need pretty much
If you go to school you can get ultimate for free with a student lisence
Just turn down the screen brightness and have a light in the room
Ultimate also have an builtin SFTP client which is useful for me
and db viewer, html support, stuff like that, but for basic java development all you need is community
whats the diff between community & ultimate
For more basic stuff tbh nothing, IJ community already provides a lot of stuff
Ultimate has more "extras" like the example i said above, the database stuff, supports more languages, more buildtools, and a few other things
3days
Well, for me it was a day, as soon as i started i noticed a bunch of cool things and uninstalled eclipse 
stupid question but how long do you guys thkink it'll take for me to get used to this
it took me like two weeks of going back and forth lol....
I think I knew intellij was better but it was jusit weird getting used to
Example
I personally find Eclipse UX and UI a bit... cluttered. I remember struggling a lot with Eclipse, just roaming around and looking through things felt... oddly displaced.
Its called font ligatures
One of the main features that drew me to IJ was that it shows you what the variables are
Settings - editor - font
Well you don't have to use them
But when you get used to it, it's nice
Comfortable
matt why are some yellow lol
They should all be up to date with git,
Version control, yellow are changed files, red new files, green are not changed iirc
ah
i think in default theme git colors have different meanings
Also Aj, util class in Kotlin 
Top level functions
i usually have my extensions in a util file (for small projects)
me2
i dont think theres anything wrong with a util file
just dont m,ake it a class lol
Top level functions
thats what iot is lol, its just ikn a file called Utils cos i didnt know what ot call it
@half pawn #development for support
I am doing the way Sx does
My top level function files have lowercase names
For example, my message functions
File message.kt
And things like that
i do lower case if its only top level func
this is the util dependency i include in all my plugins
i just name stuff like what its based on
then my plugin might have its own small util file with a few extras
Not gross, you never use the file name to call the functions it doesn't change much
It does break conversation though, but imo is worth it, you know Message.kt is an object and message.kt is only top level functions, though i keep them all in the same package
looks kinda gross on the sidebar tho
@frail glade pr conflict fixed
Sounds good. I've called in an expert to review it whenever they are around again or I will Sunday
kotlin question. if you were using a method that allowed you to listen for an event, would you prefer to have to use it or this when handling the event
plugin.listenForEvent<PlayerJoinEvent> {
// it or this
}```
I think id prefer it
it
I'm getting a compiling error.
Any ideas
File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!```
Don't worry, fixed it
What would you name a variable that represents whos turn it is in a game?
turnPlayer
π€·ββοΈ
@frail glade im on holiday rn but i can update on monday if thats ok. if u want to update it urself to get the update out quicker then thats fine
IF I have a List<Player>, and a player from that list, whats the best way to get the player after that player
indexOf(player +1)
indexOf takes a player, I cant give it an int
game.players.elementAtOrNull(game.players.indexOf(game.activePlayer) + 1) ?: game.players.first()
π€
just woke up lol
get the indexOf that player, then elementAt + 1
π
val player2 = game.players.elementAt(game.players.indexOf(player) + 1)
that should work i think lol
val player2 = game.players.elementAt(game.players.indexOf(player) + 1)
that should work i think lol
is that not exactly what I had above lol?
Except I handle the null somewhat
yes
Alrighty
If I have something like thsi
Actually
I might be able to use nbt or whatever for this π€
oh lol barry broken ._., the message came u p but he didnt delete :))
thsi
=paste
Please use a paste service to share configs, errors, code and long logs.
β’ HelpChat Paste
Methods
hm alright
@NotNull
public List<MetadataValue> getMetadata(@NotNull String metadataKey);``` This is not-null, so im guessing it returns a empty list if theres no metadata for that key?
* @return A list of values, one for each plugin that has set the
* requested value.```
Empty list. If not it would in a perfect world have @NotEmpty
So if i assign a value to it I should just call .first on that list im guessing since im only assigning one val
Alright
IF I have a
Map<Int, Player>
and a
Set<Triple<Int, Int, Int>>
How can I check if one player has all of the ints in one of the triples in the map, for example
setOf(
Triple(1,2,3),
Triple(2,6,7),
Triple(7,9,3)
)
val map = mapOf(
3 to playerOne
4 to playerOne
5 to playerOne
2 to playerOne
1 to playerOne
)
// Return true in this scenario, since player has all of the values in one of the triple```
```kotlin
setOf(
Triple(1,2,3),
Triple(2,6,7),
Triple(7,9,3)
)
val map = mapOf(
3 to playerOne
4 to playerOne
5 to playerOne
2 to playerOne
)
// Return false in this case, asthe player does not have all of the numbers in one of the triple
Does the first codeblock have a syntax highlight?
yes?
That's why I'm asking xd
mobile broke
Ik
also charge your phone
What the hell have they done to discord
Why a map <Int, Player> and not <UUID, MutableSet<Int>?
Thankfully, I never update 
ah\

Why a map <Int, Player> and not <UUID, MutableSet<Int>?
That complicates some other stuff but I guess yeah it is better
I mean
The problem with that is that a 2 players could have the same int
Is that good or?
Just use Map<Int, Player>
What about a matrix?
tf is a matrixc
bruh what
so what would it look like?
Acually, hmm
You could use a Map<Int, UUID> and check if the selected slot is empty or not. Add it to the map and then check if the player won or not
Sounds pretty easy
wdym
You have to check horizontal, vertical and diagonal if a player have won
yeah
I mean I was thinking I could just store triples with the winning combinations in, wouldnt that be easier?
The map has metadata assigned which represents its position
[ 1 | 2 | 3 ]
[ 4 | 5 | 6 ]
[ 7 | 8 | 9 ]```
Ye I figured
whats better to use
player#playEffect
or
player#spawnParticle?
This feels like you're making a tic-tac-toe lol
yes
Also, I already did a 3x3 one on DeluxeMenus with js, but I accidentally deleted it in the progress
Dumb me
know how id make this work lol?
Hes working on multiplayer version thienbao
Thought someone said anything about minimax lol
But yeah, checking winner on multiplayer is easy
mhm
Why the hell is InventoryOpenEvent not called when a player opens their inventory
Anything that you've done to make it "not called?
Does it work on chest though?
Yes
Yea it doesn't
Mother fuckers
In 1.12 and up there is no longer an achievement for opening the inventory, there is no packet or whatever you could read. In newer versions, it's simply not possible to detect when the client opens their own inventory since that is completely client-side.

hmm
Anyone got any idea on click events with books?
not just like OPEN_URL and SUGGEST_COMMAND and stuff, is there a way to make it so am ethod is ran when its clicked, or is that not possible
So I apparently stuck in the situation where I deleted a module which has the gradle built in and didn't notice, and now ij keeps telling me that the specified module is not exist on every boot. How can I resolve this
/**
* Gets the inventory view the player is currently viewing. If they do not
* have an inventory window open, it returns their internal crafting view.
*
* @return The inventory view.
*/
@NotNull
public InventoryView getOpenInventory();
Why in the hell does it return the crafting view, like just why
cause why not π
Anyone got any idea on click events with books?
not just like OPEN_URL and SUGGEST_COMMAND and stuff, is there a way to make it so am ethod is ran when its clicked, or is that not possible
You could probably force them to run a command is the closest you'll get
@onyx loom Yeah that's fine. Absolutely no rush.
How does Hotswapping work with functional interfaces?
I am trying to debug and change the execution of a command at runtime using hotswapping and no matter what I do it just doesn't want to work.
The same way as it works with any other class I imagine
What about anonymous classes?
For some reason it just doesn't want to work for me
like the execution is hard-baked into brigadier and no matter how the behavior of the compiled class changes at runtime, hotswapping swaps the class but the execution doesn't change
#dev-general message help?
Delete .idea folder and project.iml?
slap 
JetBrains takeover when?
now
π₯
Bungee scares me sometimes
what the frick
That's most likely just decompile problems, though wouldn't be surprised to see that in the gh version 
jesus ππ
Damn Yugi
Seems like i was meant to suffer 
Works fine with simple blocks, but once it gets complex it breaks, i don't understand this stuff >.<
How do you get let's say access to Pattern class in js? I keep forgetting, since you can't just define it with Pattern
wdym?
var timePattern = Pattern.compile("([0-9]+)([dhms])");
I need access to Pattern, but this ofc don't work
You are using js, yes?
Indeed
I dont remember there being a Pattern object in js
Are you using any specific libraries?
This is probably what you want: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp
@onyx loom help
whats up
me & my bf have the exact same graphics card
but when running minecraft 1.16.3 with shaders
he gets 40fps and i get 100+
that seems kinda wack
lol he got bad pc
Intel cpus honestly
i5 8400
terrible cpu
fps difference probably comes down to hyperthreading tbh
pretty sure that i5 only got 4 cores 4 threads
maybe 6/6
6/6
Popups, annoying,
how much ram he got too?
8gb
and is it dual channel?
no clue
real gamers use 9gb
32gb minimum 
i am a real gamer
but yea, same gpu doesnt mean same/similar performance, especially in mc 
yeah they're the same
What?
same jvm arguments
Same parameters what about the runtime
tell him to get ryzen 5 
FUN
he bought a shitty msi pc thats like
6 inches in width
and i dont think he can add ryzen cpu 
he also has to buy an entirely new mobo, cpu, case and gpu because everything is so tiny 
pc wise 
Elara will feature recursion unrolling for everything
Every recursion will be unrolled, Elara will feature recursion unrolling for everything
Every recursion will be unrolled
Elara will feature
Please add type generic

Nice. Is for me?
point deducted: nms 0, matt 0
point gained: nms 0, matt 1
Still not perfect but almost there
3ms 
Very slow 
good work tho fr π―
And it's not affected by the current style, which was the hardest part
Can I do a = b = 0 in kotlin?
I don't think so
Really dissapointed
Are you sure, I really want to do it that way @prisma wave there must be a way
Because you know, it doesnt like me checking a variable then assigning it e.g then using it later, unless I define it locally (so its thread safe) else it could be null later
Wait till I find who ever invented multi-threading and multiple cpu cores.
@ocean quartz That is sexy
Ikr
No one said that about KiteBoard, cutting edge, at its time, Immaculately written.
lol
Believe me
maybe u should open source it so we can double check these facts
I know some good scoreboard plugins, some of the best, but none of them, none of them come close to KiteBoard, believe me.
maybe u should open source it so we can double check these facts
@onyx loom Hm... uh.. hmm seems I lost it
Is that a challenge?
π€
Well, personally wouldn't say anything about it because i don't like scoreboards xD

π
π·
π
maybe chrissmas
how to improve this
ofcourse, it doesnt like me not assigning distance locally, else it makes me null check it later on
if (scaleChanged || track.screenDist == null) {
track.screenDist = track.realDist * scale
}
val distance = track.screenDist
```?
Any way to replace a !! with a continue on null or?
val trackDistance = track.screenDist ?: continue```
Perfect cheers! Now, just playing around what is the equivalent of javas not ! operator, doesn't seem to exist in Kotlin?
lol
That will be the IDE then. And any nice way of null checking?
kotlin
if (scaleChanged || track.screenDist == null) {
if (scaleChanged || track.screenDist.isNull()) {```
kotlin
kotlin
kotlin kotlin
first one imo
isNull doesn't exist afaik (although you could make it) but there's not much reason for it
yes
π
quite dumb
for i in 0..int max range {
it means the function contents gets inlined
basically the compiler copy pastes the function contents to where it actually gets called
Anyone have plugin ideas?
difficult words smh π
π
I don't suppose one here may have used the graphics2d api alongside buffered image on a retina display. All works fine on standard display, however on retina display the image is blurred. technically the images needs to rendered at (X) scale factor. But finding a cross-platform + cross-jre method of determining scale factor seems a little tricky (probably worth user being able to manually override the detected scale factor)
that sounds like something you might have to hardcode
lol
Oww π¦ I missed it
If anyone know how to get it back there then pls tell me it's kinda annoying
Imma go to sleep rn so pls mention me and I will see at the morning
Drag it
Oh
lol
Should work
Well.. i'll suggest what probably everyone will here, uninstall eclipse and get IntelliJ instead
in #development I will send
I can personally vouch for NetBeans
Capable and Ergonomic Elara IDE
What come on? No way is this a #development question, come on man. this is a Dev-general question come on
jElBrains IntelliJ
Well.. i'll suggest what probably everyone will here, uninstall eclipse and get IntelliJ instead
I tried intelliJ so much stuff and so much complicated
Can't even open a string there

No i mean I can't even get into the place you can write a string
I'm stuck in the open screen
lol
π
Imma record wait
#development Is more appropriate for this discussion, please talk there.
#role-request is probably best for this sort of thing

How about #off-topic
Stuck there
https://imgur.com/a/t4ZZV2U
π₯Ά
lol do u have ultimate?
That looks dodgy
idk
xD
thats not community edition right?
idk
If you dont have a license get community edition
lol
Its IntelliJ IDEA 2020.2
yeah get community version
ultimate costs a lot of money
unless you're a student
in which case you get it for free 
what is a lot of money?
like $500/year
flex
;/
Oh Open Source license for the cool kids 
ππ
where's the fun in that?
elara devs make $200/hr
You could make more, just dont work for the cheap people
I mean I made a script in lua for exploits once and I about 6000 buyers in 2$
its the new fresh wave that employers are looking for
With my free plugin I made in average $2.5/year
π³
from what matt?
;-;
donations?
Donations?
Yeah xD
Waitt guys I'm wondering
nice
If I know java
Must have 25 years experience in Go. Must be fluent in using VueJS in an enterprise environment for 25 years
ππ
I can develop minecraft plugins?
yes
1 donation of $10 in 4 years of developing
wow
or there is special version of java to minecrafT?
lmao
xD
I got 50 dontation ages ago
dontation
or there is special version of java to minecrafT?
@vast ore
Yes defenitely, MineVa
niall rich
its written in blocks
paypal.me/elara
Compiles to redstone
In lua for exploits need lua 5.1 instead of the normal version
xD
So i thought
maybe the same
Lua I never learn't lua, did you learn it through ROBLOX?
lol
Nope
I made more money with Holovid donations in one week (with a plugin that hasn't even been made) than with CitizensCMD 
And VLC media player
Elara over all other languages
^
bruh matt
I learned via sites and stuff but lua isn't only for roblox
idk...
I made more money with Holovid donations in one week (with a plugin that hasn't even been made) than with CitizensCMD :kek:
How much is that?
pretty sure it is...
I think we had a donation of $100, so half for me and half for Glare
wow
damn
damn
Why choose Lua?
Lua is a proven, robust language
Lua has been used in many industrial applications (e.g., Adobe's Photoshop Lightroom), with an emphasis on embedded systems (e.g., the Ginga middleware for digital TV in Brazil) and games (e.g., World of Warcraft and Angry Birds). Lua is currently the leading scripting language in games. Lua has a solid reference manual and there are several books about it. Several versions of Lua have been released and used in real applications since its creation in 1993. Lua featured in HOPL III, the Third ACM SIGPLAN History of Programming Languages Conference, in 2007. Lua won the Front Line Award 2011 from the Game Developers Magazine.
Why choose Lua?
Lua is a proven, robust language
Lua has been used in many industrial applications (e.g., Adobe's Photoshop Lightroom), with an emphasis on embedded systems (e.g., the Ginga middleware for digital TV in Brazil) and games (e.g., World of Warcraft and Angry Birds). Lua is currently the leading scripting language in games. Lua has a solid reference manual and there are several books about it. Several versions of Lua have been released and used in real applications since its creation in 1993. Lua featured in HOPL III, the Third ACM SIGPLAN History of Programming Languages Conference, in 2007. Lua won the Front Line Award 2011 from the Game Developers Magazine.
@heady birch oh thats really cool. didnt read unfortunately. but thanks for xp
Why choose Elara?
Elara is a proven, robust language
Elara has been used in many industrial applications (e.g., Adobe's Photoshop Lightroom), with an emphasis on embedded systems (e.g., the Ginga middleware for digital TV in Brazil) and games (e.g., World of Warcraft and Angry Birds). Lua is currently the leading scripting language in games. Elara has a solid reference manual and there are several books about it. Several versions of Elara have been released and used in real applications since its creation in 1993. Elara featured in HOPL III, the Third ACM SIGPLAN History of Programming Languages Conference, in 2007. Elara won the Front Line Award 2011 from the Game Developers Magazine.
Tbh FiveM or GtaV Private servers is on lua
LOL
Why choose Lua?
Lua is a proven, robust language
Lua has been used in many industrial applications (e.g., Adobe's Photoshop Lightroom), with an emphasis on embedded systems (e.g., the Ginga middleware for digital TV in Brazil) and games (e.g., World of Warcraft and Angry Birds). Lua is currently the leading scripting language in games. Lua has a solid reference manual and there are several books about it. Several versions of Lua have been released and used in real applications since its creation in 1993. Lua featured in HOPL III, the Third ACM SIGPLAN History of Programming Languages Conference, in 2007. Lua won the Front Line Award 2011 from the Game Developers Magazine.
I see
Most of the private servers based on lua
That is a total of $72.5 that I have made in my entire time developing plugins for minecraft xD
Why choose Elara?
Elara is a proven, robust language
Elara has been used in many industrial applications (e.g., Adobe's Photoshop Lightroom), with an emphasis on embedded systems (e.g., the Ginga middleware for digital TV in Brazil) and games (e.g., World of Warcraft and Angry Birds). Lua is currently the leading scripting language in games. Elara has a solid reference manual and there are several books about it. Several versions of Elara have been released and used in real applications since its creation in 1993. Elara featured in HOPL III, the Third ACM SIGPLAN History of Programming Languages Conference, in 2007. Elara won the Front Line Award 2011 from the Game Developers Magazine.
Aaahh
Why choose Elara?
Elara is a proven, robust language
Elara has been used in many industrial applications (e.g., Adobe's Photoshop Lightroom), with an emphasis on embedded systems (e.g., the Ginga middleware for digital TV in Brazil) and games (e.g., World of Warcraft and Angry Birds). Lua is currently the leading scripting language in games. Elara has a solid reference manual and there are several books about it. Several versions of Elara have been released and used in real applications since its creation in 1993. Elara featured in HOPL III, the Third ACM SIGPLAN History of Programming Languages Conference, in 2007. Elara won the Front Line Award 2011 from the Game Developers Magazine.
Yes!
What's in a name?
"Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun. More specifically, "Lua" is a name, the name of the Earth's moon and the name of the language. Like most names, it should be written in lower case with an initial capital, that is, "Lua". Please do not write it as "LUA", which is both ugly and confusing, because then it becomes an acronym with different meanings for different people. So, please, write "Lua" right!
xD
wait....
What's in a name?
"Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun. More specifically, "Lua" is a name, the name of the Earth's moon and the name of the language. Like most names, it should be written in lower case with an initial capital, that is, "Lua". Please do not write it as "LUA", which is both ugly and confusing, because then it becomes an acronym with different meanings for different people. So, please, write "Lua" right!
@heady birch LOO AH
xp farm inbound
What's in a name?
"Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun. More specifically, "Lua" is a name, the name of the Earth's moon and the name of the language. Like most names, it should be written in lower case with an initial capital, that is, "Lua". Please do not write it as "LUA", which is both ugly and confusing, because then it becomes an acronym with different meanings for different people. So, please, write "Lua" right!
@heady birch
gn
What's in a name?
"Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun. More specifically, "Lua" is a name, the name of the Earth's moon and the name of the language. Like most names, it should be written in lower case with an initial capital, that is, "Lua". Please do not write it as "LUA", which is both ugly and confusing, because then it becomes an acronym with different meanings for different people. So, please, write "Lua" right!
ohhhhhh!
π₯Ά
lua moon
Literally moon moon lol
@onyx loom I have received your message, thank you
@heady birch np π
@onyx loom I have received your message, thank you
@heady birch I am sending another message. TCP protocol. Please let me know you are ready for another message
@heady birch I am sending another message. TCP protocol. Please let me know you are ready for another message
@prisma wave i am ready receiving from a 3rd party
I am not ready, sorry !!!
@prisma wave i am ready receiving from a 3rd party
@onyx loom shut up third party
intercepting this packet
Literally moon moon lol
@ocean quartz
damn it
no packets for you
π
Elara moon
π€
They keep removing my showcase. Typical. Can't even embrace my freedom of speech!
ikr π
corrupt mods
"Lua" (pronounced LOO-ah)
This confuses me so much
pleas elect me on voting day for mod
elara = some randoom moon
lua = moon
i.e, elara = some random lua
i.e, lua = (elara) / (some random)
Therefore Elara > Lua
songlua
Lmao what
@old wyvern those calculations look correct
π
i like this logic yugi π
lol
Yes
china?
CHINA!
lol what word is it
LOO-ah
Pronounced in Portuguese would sound like "loh ah" which is nothing like the pronunciation of "lua"
coronavirus
MongoDB
Damn
So helpchat is involved in technological discrimination. Good to know. Wait until the Sun finds out about this
the sun will not be happy
Elara has always existed
Sun god a
π₯Ά
what a chad
cold_face
full_moon_with_face
clojuremoon
All I see on social media nowadays: Sad
Ela - She in portuguese
Ra - Egyptian god
Basically a female Ra
no
All I see on social media nowadays: Check out my mans new beat. Bro. π₯Ά π₯Ά π₯Ά π₯Ά
@heady birch πππ
that is not true
so true
π
i deleted my social medias so i dont see none of that anymore 
True form of Elara
But can it beat this?
lol
π₯Ά
@ocean quartz https://www.youtube.com/watch?v=9KSGUVcNfZM
watch at 1:45
Yugi v Kaiba, duel 2 deth
BinaryDood: https://www.youtube.com/user/BinaryDood
Toggleroo: http://toggleroo.newgrounds.com/
TotallyTristan: https://www.youtube.com/user/TotallyTristan
PrincessPr0t0n: http://jujube...
I've seen it xD
π
I have dueled ISIS into submission
Is still my fav part xD
Wow matt,Disappointed on your response to my showcase
Is still my fav part xD
@ocean quartz
Basic Kaiba xD
The part where yugi throws out the pendulum is litrally any player who plays against Endymion decks xD
They got ratings in that version Piggy told me they are no longer doing ratings
Some say theres a whole book on this card
Guess I have to say goodbye to my business logic
goodbye to my business logic
no!
.flatMap
we need enterprise niall
There is no business logic anymore, just spaghetti VueJS. And crnk. Crnk. "Crank up the development" I see no evidence of that. None at all. Believe me.
arthur birling
Arthur Birling, the guy from inspector calls?
crank

