#dev-general
1 messages Β· Page 594 of 1
Yeah I just saw it being used above classes and methods
Not above fields
That's why I was asking
usually fields are self explanatory by their name
since there is no behavior that needs explaining
I guess
Idk I feel like it'd be clearer tho if I explained what each of those constants is for in my case
Since I got like 10 different "tags"
Yeah what Emily said and well written code usually reads excellent all by itself without comments (yes sometimes comments are necessary)
My code aint well written and probably wont be for another 10 years π
I mean I'm trying my hardest ofc
But yeah it's not the greatest
Btw what are those two arrows
In IntelliJ IDEA
Higher and lower chance of being what you want, based on context and usage frequency and a million other factors
literally all of lwjgl... i hate it so much
they document nothing and you cant tell whats going on at all
uh what's the username length limit in Minecraft?
16 I believe?
yeah 16
Hi there,
Someone who use my plugin wants to cancel an EntityDamageByEntityEvent on specific conditions with Skript. He does it successfully but my plugin stills apply the code after the cancel on the same event, even if I put the priority of my code to LOW.
Did I made something wrong ?
@EventHandler(ignoreCancelled = true, priority = EventPriority.LOW)
public void onEntityHurt(EntityDamageByEntityEvent event) {
doStuff();...
}
low is called second
@EventHandler(priority = EventPriority.LOW, ignoreCancelled = true) Like this ? Or is it called from LOWEST to HIGHEST ?
yes, from lowest to highest
the parameters order doesn't matter
use normal or high unless you have a reason to use LOW/LOWEST
So I must put an higher priority in my plugin code ?
I feel a bit stupid, but that means The higher the priority is, the later it will be called ?
the priority refers to what affect will have its changed to the final result of the event
so LOWEST changes the event first but there's 5 more priorities that can edit the data
lowest to highest, you are not supposed to edit the event on MONITOR, only to use the data
Alright
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/EventPriority.html read this, each value has a comment
declaration: package: org.bukkit.event, enum: EventPriority
hello....ehmm..i was looking for discord help chat\discord...
maybe you know this strange-to-me behaviour:
when i'm trying to mention a 2 charaters\letters role, it doesn't always apprear in @ menu usually at the bottom....
i just sent a fully screenshootted email to support@discord.app ..if someone can help and want..i can forward that email to him\her. you can even use a public email if you dont want to send me your real email
I'm afraid this discord server is not related to discord support. it offers development and minecraft support. your best option is to wait for discord
support to answer
as i tought π anyway thanks for reply bubye! π
Anyone see anything wrong with this file? its a INDEX.PHP
<head>
<meta charset="utf-8">
<title>Homepage | Lockdown Prison</title>
<meta name="description" content="Portal">
<meta name="description" content="Mint Network is newly established Minecraft Network owned and operated by _Tradie. You can join with the IP 'play.ldprison.com'.">
<meta property="og:title" content="Mint Network - Official Portal">
<meta property="og:site_name" content="Mint Network">
<meta property="og:description" content="Use the IP 'mintnetwork.co' to join today!">
<meta property="og:image" content="https://i.imgur.com/cgb3vf8.jpg">
<meta property="og:url" content="https://mintnetwork.co/">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="logo.png">
</head>
<?php
$phpVersion = phpversion();
if (version_compare($phpVersion, '7.0.0', '<'))
{
die("PHP 7.0.0 or newer is required. $phpVersion does not meet this requirement. Please ask your host to upgrade PHP.");
}
$dir = __DIR__;
require($dir . '/src/XF.php');
XF::start($dir);
if (\XF::requestUrlMatchesApi())
{
\XF::runApp('XF\Api\App');
}
else
{
\XF::runApp('XF\Pub\App');
}```
yes. its php
idk im just trying to change the embed on discord haha
final class? nope!
π€£
o, happen to know what the php substitute for that would be?
lmao no. I was just saying php is bad so people in here like BM, Yugi and others think I'm cool
fair lmao
never actually used php myself. lol
aight ty anyway
withh haskell you wouldnt have problems like this
wat
yes π
Are you having issues in its execution or?
yeah it doesnt update the discord embed
Hmm yea I think it should only have cached the image
So in theory, what i typed should work?
let me get the full one
But the rest, yea
I mean the meta part should be enough
So unless some exception is being thrown in php you should see the proper embed
This seems right hey?
<html lang="en">
<head>
<meta charset="utf-8">
<title>Portal | Mint Network</title>
<meta name="description" content="MintNetowrk's portal">
<link rel="stylesheet" href="css/main.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<meta name="description" content="Mint Network is newly established Minecraft Network owned and operated by _Tradie. You can join with the IP 'mintnetwork.co'.">
<meta property="og:title" content="Mint Network - Official Portal">
<meta property="og:site_name" content="Mint Network">
<meta property="og:description" content="Use the IP 'mintnetwork.co' to join today!">
<meta property="og:image" content="https://i.imgur.com/cgb3vf8.jpg">
<meta property="og:url" content="https://mintnetwork.co/">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="logo.png">
</html>
<?php
$phpVersion = phpversion();
if (version_compare($phpVersion, '7.0.0', '<'))
{
die("PHP 7.0.0 or newer is required. $phpVersion does not meet this requirement. Please ask your host to upgrade PHP.");
}
$dir = __DIR__;
require($dir . '/src/XF.php');
XF::start($dir);
if (\XF::requestUrlMatchesApi())
{
\XF::runApp('XF\Api\App');
}
else
{
\XF::runApp('XF\Pub\App');
}```
Still missing the closing tag to the final php tag
It is actually recommended to not close the php tag
Cheers Yugi
π―
yo. lava player doesn't look that complicated at all. damn. was expecting a headache just from reading the documentation. lol
lool
Oh my goodness
who's that?
unironically no
At least from a FP language perspective
well
I think it's very well designed, and it's probably my favourite functional language (better than Clojure Scala and F# imo)
But the "Haskell good everything else bad" stuff is a joke lol
yeah I know, but like, how far is Haskell from, let's say, Scala?
cause Scala got their own collections, mixins, etc, I think this is super cool
ease to use, features, compile safety, those things
They look very different, and Scala mixes Functional and OO concepts
uh
Scala is probably easier for most people
just like Kotlin?
They're both pretty powerful afaik, in terms of type systems and stuff
Yea
Kotlin stole a bunch of ideas from Scala lol
where are my mixins then?! 
may I ask what are higher kinded types?
like, generics of generics
If java had them you'd be able to do class Functor<F<A>> or something
wait, oh, so basically generics in Scala are reified?
I see, that is soooooo cool ik
F<A> wouldn't work in java
Yea
It's nice
In Haskell it means that, for example, map always returns the same type
mapping a list gives a list, mapping a Maybe gives a Maybe, etc
Haskell and Scala good, kotlin bad
I think Haskell really nailed FP concepts as far as I see, but is Scala compatible with Spigot (can it be used to build plugins)?
this in scala def wrap[A](a: A): T[A] is equivalent to kotlin's fun <A> wrap(a: A): T<A>, right?
I might test scala sometime in the future, for reference, it seems really interesting
Scala GOOD
Scala 3 also seems really cool
You can mix braces and indentation based syntax and stuff
Following Haskell, Scala was the second popular language to have some form of implicits. Other languages have followed suit. E.g Rustβs traits or Swiftβs protocol extensions. Design proposals are also on the table for Kotlin as compile time dependency resolution, for C# as Shapes and Extensions or for F# as Traits. Implicits are also a common feature of theorem provers such as Coq or Agda.
π€©
what are "implicits"?
No idea
I think they're similar to type classes in Haskell, kinda similar to mixins
Like you would do "extension functions" with an implicit class in scala
So yeah i think it's for polymorphism
And stuff
No
Shush
Oh is it, fruitcake?
shush
That doesn't even make sense
you fell off
(+ratio)
There we go
L + Ratio + Youngboy beta + you fell off
so. I am thinking of rewriting all my kotlin stuff in java
Kotlin bad
just because
lmao
to lazy to write new shit
so time to rewrite old shit for the 6th time
also stupid
Ayy
I mean I am too stupid
Nah. I was kidding lol. its just a random thought I had. am actually working on adding music to my bot
trying to recreate Rythm but private (just for me) lol
How would I check if my bot is connected to a voice channel using JDA? Do I have to go thru each channel and check if anyone is connected and if there is someone check if its my bot? Or is there some method I can use in jda to check directly on my bot?
d;jda Member#getVoiceState
@Nullable
GuildVoiceState getVoiceState()```
The VoiceState of this Member.
This will be null when the CacheFlag.VOICE_STATE is disabled manually
This can be used to get the Member's VoiceChannel using GuildVoiceState.getChannel().
This requires CacheFlag.VOICE_STATE to be enabled!
GuildVoiceState
probably can use this
oh right. I wasn't sure how to get the bot itself. but I can use Guild#getSelfMember
ty gaby
Np
Anyone got any idea what the node for areturn instruction is in ASM?
umm anyone know how I could debug my server just stop responding ;-;
I'm caused by my plugin but I have no idea what's causing it - and the last message that shows is Server thread dump (Look for plugins here before reporting to PaperSpigot!): (but nothing is dumped even after a couple minutes)
PaperSpigot 
1.8
and also the code that is probably causing the issue is running async - except Entity#teleport and get entity
π€
and tps stays at 19
:/
okay i managed to get a spark report showing my plugin taking 48%
pog
π₯² (set viewing mode to show my plugin)
π€
oh its creating a new thread
More than the value of your processor's parallelism value
^
Subscribe to Devoxx on YouTube @ https://bit.ly/devoxx-youtube
Like Devoxx on Facebook @ https://www.facebook.com/devoxxcom
Follow Devoxx on Twitter @ https://twitter.com/devoxx
Java 8 makes it relatively easy to program with parallel streams and to implement asynchronous tasks using CompletableFuture. When someone says itβs easy, cautious pr...
ayy xD
great minds 

umm (https://paste.helpch.at/tiravimeja, logInfo is just a shortcut for printing to plugin logger)
π€¨
mind your own business
o-okay
KOTLIN BAD
because im running async stuff
With the collection and the executor service
so i want to be safe
val logs: MutableList<String> = Collections.synchronizedList(mutableListOf())
Β―_(γ)_/Β―
oh
val logs = ConcurrentHashSet<String>() >
its not ordered tho π©
Well synchronization is not ideal
Has some overhead to acquire the lock + might block your threads
btw how come thats 31%? when the percents below add up to 14.59
best is to avoid writing to one collection from multiple threads
i mean, a lot of my code is running async soo
So use a concurrent implementation
wdym?
the method itself takes time too, and also the profiler might not be super exact there
whats the diff between that and synchronized?
synchronized just blocks, concurrent is much more complicated but more efficient
queue π
i forgot what queues are ;-;
Queue is close enough to list
one makes heavy use of synchronization and the other try to avoid synchronization (and may be lock-free)
in this case it is anyway
how does it avoid synchronization? π
clever stuff
atomic variables and Unsafe calls and shit
public interface Queue
extends Collection<E>```
Queue has 2 super interfaces, 1 extensions, 13 implementing classes, 6 methods, and 4 sub interfaces.
A collection designed for holding elements prior to processing. Besides basic Collection operations, queues provide additional insertion, extraction, and inspection operations. Each of these methods exists in two forms: one throws an exception if the operation fails, the other returns a special value (either null or false, depending on the operation). The latter form of the insert operation is designed specifically for use with capacity-restricted Queue implementations; in most implementations, insert operations cannot fail.
| | Throws exception | Returns special value |
| Insert | add(e) | offer(e) |
| Remove | remove() | poll() |
| Examine | element() |
peek() |
|---|---|---|
| [Summary of Queue methods] |
Queues...
This description has been shortened as it was too long.
1.5
it extends Collection
so can i basically treat it as a list?
or are queues different
But doesn't extend List for some reason π΅βπ«
a Collection isn't a List
Functionally they're very similar so yes
Well yeah
It doesn't extend list but it has all the functionality you need in this case
is the queue head the first element?
Does this work?
Yes
wdym
so #remove would remove the first element, right? 
yes you do
π
Anyway
With that said, I doubt adding to a list is really taking 30% of your processing time
Oh
Um
ConcurrentLinkedQueue#size might be O(n)
Which is maybe an issue
π
i should probably remove the while loop
but
still
well
i doubt have 100k logs already
You could probably implement the size yourself with an atomicinteger
trueee
Given that you know it'll only be adding 1 message at a time, it's probably fine
And you don't need to care about 100% thread safety for the size anyway
π΅βπ«
π
to do what...?
eeehhhh
I think it's O(n) out of design, thread safety is confusing but I don't think you can get a reliable store for the size
but
d;help
Command(s): d;info
Example: d;info
Description: Display info about the bot.
Command(s): d;docs, d;javadocs
Example: d;javadocs
Description: Get a list of javadocs.
Command(s): d;prefix
Example: d;prefix <prefix>
Description: Set the server's command prefix.
Command(s): d;algorithm
Example: d;algorithm <algorithm>
Description: Set the server's algorithm.
Maybe not
d;docs
Javadocs that don't fit into other categories.
β’ caffeine β’ gson
β’ commons-cli β’ guava
β’ commons-codec β’ guice
β’ commons-collections4 β’ helper
β’ commons-compress β’ helper-sql
β’ commons-configuration2 β’ javacord
β’ commons-crypto β’ jda
β’ commons-email β’ processing
β’ commons-io β’ snakeyaml
β’ commons-lang3
β’ commons-logging
β’ commons-text
β’ configurate-core
β’ configurate-hocon
β’ configurate-json
I was thinking of CircularQueue but that's not thread safe
So same problem
Hello
linkedqueue with a manual count is probably your best bet
d;commons-collections4 CollectionUtils#size
public static int size(ObjectΒ object)
throws IllegalArgumentException```
Gets the size of the collection/iterator specified.
This method can handles objects as follows
- Collection - the collection size
- Map - the map size
- Array - the array size
- Iterator - the number of elements remaining in the iterator
- Enumeration - the number of elements remaining in the enumeration
3.1
the size of the specified collection or 0 if the object was null
IllegalArgumentException - thrown if object is not recognized
object - the object to get the size of, may be null
Β―_(γ)_/Β―
or
how come?
It's something about how both the head and tail could be modified independently, so it could get desynced according to SO but idk
It's confusing and a pretty advanced subject
In your case it's probably fine because you're only modifying the head and tail sequentially
Yea
Anyway, alternative idea: make logDebugInfo non-blocking (i.e it just submits the add / removeFirst code to an ExecutorService). Then you don't need a thread safe collection, and it's a lot cheaper (because logging should be very cheap)
d;Executors#newSingleThreadExecutor
public static ExecutorService newSingleThreadExecutor()```
Creates an Executor that uses a single worker thread operating off an unbounded queue. (Note however that if this single thread terminates due to a failure during execution prior to shutdown, a new one will take its place if needed to execute subsequent tasks.) Tasks are guaranteed to execute sequentially, and no more than one task will be active at any given time. Unlike the otherwise equivalent newFixedThreadPool(1) the returned executor is guaranteed not to be reconfigurable to use additional threads.
the newly created single-threaded Executor
using this?
Yea
That seems like the most practical
Given that you won't need the messages immediately
i.e you can afford the few hundred ms that it might take for the service to process the queue of messages
ConcurrentHashMap.newKeySet
ty
ConcurrentBristerMitten
π³
π
hmm
what could i do to get an entity from uuid faster
than looping through worlds and entities
cache it ig
Run a 2-way USB connector through a wormhole a few milliseconds forward and connect it back to your PC, send entity's uuid now through the cable and you should already have it before you send it
π
UUID -> Entity is almost pure so you can memoize it
memoize?
cache
Store it in a hashmap
when should i make it expire?
Just make sure to not store if getEntity == null
in case the entity goes invalid or something
Pretty much the answer whenever some interviewer asks you to make something faster
but
Throw a hashmap at it
then what about invalid entities
π€¨
do u think #isValid requires to be called sync
Ξ©(1) O(n!)
probably but be careful
Check the implementation
yeah
it wont necessarily be the most recent state
but it won't cause errors necessarily
yes
d; spigot Bukkit#getEntity(UUID)
@Nullable
public static Entity getEntity(@NotNull UUID uuid)```
Gets an entity on the server by its UUID
the entity with the given UUID, or null if it isn't found
uuid - the UUID of the entity
Bukkit.getEntity = no cache = slow
ah
it might just mean that you might not remove the entity from the cache immediately
but if the variables being compared in isValid are changed at the same time i call #isValid
wouldn't it throw an error?
if the variables arent atomic / volatile then the thread probably wont see the changes
O_o
to make sure that each thread sees the changes immediately i think
reading from multiple threads wont cause errors but things might be out of date
ye
getEntities is the one that needs the cache
i test with 500 cows
wait what
Those are just worlds
ohhhhhhhhhhhhhhhhhhhhhhhhh
I'd assume no user has more than 10-20 worlds
Anything more than that and they probably have other issues to worry about
Check the source for 1.8
best is to avoid mutability
ez

π
Cant find Server#getEntity
wait how come u can access https://hub.spigotmc.org/stash/projects/CATS/repos/craftbukkit/browse/src/main/java/net/minecraft/server/WorldServer.java?at=95a72d1c59df87782da01f1d83333b5d187dc800 but not https://hub.spigotmc.org/stash/projects/CATS/repos/craftbukkit/browse/src/main/java/net/minecraft/server/WorldServer.java

What are you using?
wdym?
oh
xD
no idea
wdym?
Are you using Bukkit#getEntity?
It doesnt exist in 1.8?
nope
Loop through the worlds and use getEntity
https://github.com/Attano/Spigot-1.8/blob/master/net/minecraft/server/v1_8_R3/WorldServer.java#L1188
i was looking at CraftServer
ah right thats the nms version
But I assume logically World calls this if it has a similar method
ah alrighty
Some chad seems to be challenging mojang's lawyers!
Its been there for a few years now
btw
how do u convert nms entity to bukkit
nvm
fun UUID.getEntity(): Entity? {
for (world in Bukkit.getWorlds()) {
val entity = (world as CraftWorld).handle.getEntity(this) ?: continue
return entity.bukkitEntity
}
return null
}
```ez
π
ty
yea, although one thing i'd change is the contrast between the text and the background
Β―_(γ)_/Β―
they're both bright purple/blue
hmm, how about the colors in the dark theme?
imo it looks nice :)
π phew
Making an app?
Rewriting it
Neat
Its currently a complete clusterfuck
All code is
π₯²
tru
You just clusterfuck it into an understandable version and then someone else does that later
The cycle of code π
π₯²
OOOOOOOOOOOOOOOOOOOOOOOH TYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY_ _ _ _ _ _ _ _
before: https://i.imgur.com/41pkG93.png
after: https://i.imgur.com/7DOBC6Y.png
Not bad.
Can't afford them right now π
Hi!
hi
Not unless I was kept captive
i gotta agree with you... Maybe its just the logo thats throwing me but i hate the blue buttons with the purple backgrounds alot
Yeah, main thing here is you need a colour palette from the start, usually I go with a 100-900 (9 shade) palette
With tints and shades of a base colour, so everything flows on the app
Ok can someone help me rq. I dont get any error's in my console but the plugin ain't working yk
Why does this cast to Entity? Is it because its deobfuscated or something?
GitHub copilot being a legit wizard, just deprecating a renamed command, and i get this as a suggestion
π
Ayo anyone here good with Big O Notation?
how come? I know the basics π€·
but probably not enough to answer ur question (assuming u have one) π₯²
Yeah I have some questions on a homework and idk Big O that well
whats one question?
wait what is this π
im pretty sure b is false
btw
Β―_(γ)_/Β―
idk python so i can't answer c
man I've spent so long staring at discord embeds I'm starting to really dislike them lmao
(I'm working on am impl for myself)
Big Theta
π how come?
b is true or nvm
c seems to be false given that the set S uses a hash table or smtng
A would be true, because O(...) is an upper bound
B is false, it's logn not 10^n
Pretty sure C is also false because python sets are hashed
And Counting sort isn't a comparison algorithm
Yeah Copilot has been so helpful
is there a way to report scam links? like somehow get them taken down?
just witnessed a scam spreading to hundreds of people in minutes.
oh google has a safe browsign thing
I wonder how much it will take to take it down.
well hide it I guess
I lookup the domain provider and send them a lengthy phishing report email xD
Not kidding
A lot of the discord phishing domains I found are registered with tucow domains
perfect
Go outside, touch the grass
has nothing to do with discord. And looked up but I believe its hidden. unless I didn't read. most info was hidden
it was sent on whatsapp.
its a phishing link for boomers.
can you give me a template? bcz I'm bad at writing emails. I wrote to the company they were acting as, as well. probably not gonna do anything. not that there's anything they can do either
oh. is earnet what they bought it from?
Ic.
they also seem to be using cloudflare
not sure where to report it
whois.domaintools.net is what I used iirc
To lookup registrar
.com?
Either one does the job, but it allows me to get the email for the registrar
so. u got a template for a report email?
No idea, I just type whois and chrome auto completes.
yeah
Sure
time to find how to contact this company
The domain name DISCORDI.GIFT is using services provided by you and has been used in connection with phishing attempts relating to the platform, Discord (discord.comv).
I kindly request you deactivate the services associated with this domain to prevent further victims from being affected.
The premise of the Phishing attempt is users are offered free nitro (Nitro is a paid subscription with Discord) just by following the link and signing in. Once that happens, their login details are captured and then used as you see here (See screenshot) to further spread the phishing attempt.
help the guy in #904591269525852251 π
lmao
dk if they'll do anything. the hosting company looks shady af. and its Chinese. their contact email uses an email for another company. which I assume is maybe their parent company?
I also attach screenshots of the scam message, and whois lookup.
Go for, email both and attach screenshots.
One thing I have noticed, especially with nitro scams... they are pretty clever and only make the scam page show on a specific sub-page... ie discord.com/eurvdjsid and not discord.com
I got an email back from the company that the phishing website was acting as
they just told me that they've seen a lot of these scams and to be careful to not click on them
They gonna deactivate or ?
they didn't tell me anything about that. just to not click on them lmao
and that they're aware of em
apparently there's a surge in these types of links
as well
Yeah, the discord one blew up
its not discord
as I Said
they're acting as a large store chain in Romania
and going for boomers
Yeah, I'm just saying the discord one blew up :D
they all did
all phishing scams
its like every scammer just planned together a large attack lmao
@lavish notch I love that on the website they ask: What are you: Human or Female :)))))
Lmfao
oh damn. they switched it
holy shit
I just found like an entire fucking hive of scam links
so there's a link that reddirected to the scam and now it reddirects to another scam
that's basically the same just you win an Iphone 13
@lavish notch u know where I Can find an email address for cloudflare?
Not sure
found cloudflare.net/abuse. reading thru it rn.
Whatβs the link? I want to win an iPhone 13.
Not if I get there first!
cloudflare doesn't let me use imgur to send evidence. but it wants URLs as evidence π₯²
it doesn't let me just attach the files
and it doesn't let me use multiple hosts either... so I can't use youtube for videos and imgbb for images π₯²
You wonβt!
I just don't get how people can be stupid enough to believe there's such thing as "free" things (Nitro or whatever, this is service independent)
Discord was giving out free nitro lol
At one point
but not through shady private messages
you know. until today I was exactly the same. until my mom almost fell for an "obvious" scam.
and now its not that hard for me to understand
because not everyone that uses discord or anything else knows anything about urls and stuff
and free stuff exists
otherwise this wouldn't happen
Especially giveaways
but was it related to Discord?
nah
a big store chain in our country. and I understand completely how she fell for that. she works in a big store and the store does occasional giveaways that look very similar. and she knows nothing about links/urls/ips and stuff like that
if you would show me the page without the url I'd say its real
but I saw the url
yeah I was talking mostly about these subscriptions offered by Discord, etc, fake pages of real (physical) companies are on another level
cause they basically clone the real website
that's what they always did with steam that's what they do with discord now
its very very easy to fall for it
if you don't know about this stuff
even if you know about links and you don't know about these type of scams
you don't look if its real discord or not
do you know one simple trick that has always saved me, blitz? Using a password manager
you just look at the prize
I use one
but I ain't going to get my mom to use one. she doesn't even care about her email password. I have to remember it for her
she never has to use her email
cause it auto fills the credentials on the real website, and it's not fooled by any of the tricks scammer tipically uses
yeah I know how this stuff goes, I tried to make my mom use one, it was a complete disaster
I regret the fact that I even thought her to open facebook
not gonna teach her anything more
was it that bad, like, what did the scammers took (information wise) from her?
they didn't take anything. but it required home address, email and phone number
to send the prize
but they also make them send the link to 20 more people
before "getting the prize"
and guess who she has friends on wapp or facebook... other boomers
but I'm glad she didn't lose anything
literally all her messages were that link either sent or received. had to go to each one and warn them
I mean to be honest. she would probably not care. and if they were to call her about one of those "confirm your 500$ order" scams after she wouldn't fall for that
What colors would you recommend here to go along with purple? The purple part is a requirement
Generate a purple shade palette, and use that
Where can I find a tool to generate that?
https://www.tailwindshades.com/, now I'm expecting you to not recycle the same dead jokes daily π
eh?
Alrighty, thanks
I took a screenshot
https://figma.com is the goat
hence the reoslution
just use wordpress π
Freelance System Administrator, Plugin Configurator/Developer, Discord Bot Developer and Server Setup Specialist.
?
probably wanted to say that its made with wordpress
LOL
ok
stop the gif spam. Now.
Or I will see to it that you get REMOVED from the server.
Remove me daddy
wtf
discord users when they add a . at the end of their message
https://c.tenor.com/9CJv-GsN6s4AAAAM/csi-miami-sunglasses.gif
You don't wanna mess with me, punk.
can you think in a reason to use the concrete class of a collection/map instead of the interface it implements for class members? if yes, what would be such reason?
e.g.java class Jooj { private final Map<String, String> someMap = new HashMap<>(); private final List<String> someList = new ArrayList<>(); } vs java class Jooj { private final HashMap<String, String> someMap = new HashMap<>(); private final ArrayList<String> someList = new ArrayList<>(); }
Liskov says no
Liskov π©
if we're being pedantic i have heard that that actually has nothing to do with liskov
source: johnny
lol
What is 'the sxtanna phase?" haha, I know who they are but what exactly did they do?
it's basically just about flexibility and abstracting implementations from interfaces
if you need exactly an ArrayList, it's fine to use it directly
but Collection or Iterable might be sufficient for your use case instead
Sxtanna was... very vocal, shall we say. He used to hang around here, and he liked to force his opinions on everyone who dare enter this server. The reason why he doesn't anymore is because he got banned after a, I guess, "falling out" with clip.
the golden age of helpchat
java bad, kotlin good
true peace
π₯΄
until the dreaded papi update
ah I remember getting bullied for using java lmao, that was all sxtanna's doing?
mostly
kotlin bad, java good
π₯²
you what
A principle incredibly violated by the jdk itself
in a certain other server, the king has returned
oh I know exactly where that is
for legal reasons i cannot mention the server
as a respected staff member i would never advertise my own servers
but
real ones know where i mean
It is in a developer den
Which one I do not know
yes!
well, he's in
That seems common, Kotlin violates some of it's "guides" as well lmao
a discord server
yes indeed
a discord server that any cool person would have in their "about me"
but idk which
If your requirements need the behavior/methods of a specific implementation
For instance LinkedList might be one case
// Running subcommand
try {
final String subCommandName = args[0].toLowerCase();
final String subCommand = utils.getCommandsAliases().getOrDefault(subCommandName, subCommandName);
final BanCommand banCommand = (BanCommand) Class.forName("fr.andross.banitem.commands.Command" + subCommand)
.getDeclaredConstructor(BanItem.class, CommandSender.class, String[].class)
.newInstance(this, sender, args);
return banCommand.runTab();
} catch (final Exception e) {
return Collections.emptyList();
}```
@old wyvern horrible tab completion integration p2
aaaaaaaaaaaaaaa if the hologram doesn't exist/is unloaded why isn't it printing in stored holograms even though i don't check if the entity exists??????
D:
i even made this little check in #get and the first call was from the code above
π
Oh lord
lets gooo
I finished my inline embed creator thinggy
finishing things is soo nice
Hey @old wyvern it says the slimjar maven couldn't be found. Did you delete it or smthing?
oracle vps π©
Yea i heard stuff about that
hopefully he'll get another vps or smth D:
if only it was maven central π
rip
although i wished maven central let u delete artifacts
more discord UI recreation :p
anyone a css genius and know how to make markers at specified %s along a div?
@ocean quartz Did you ever finish triumph chat?
Good joke frosty
Clone it and publish to local for now
Ill get the repo back up by the 10th
After that im porting everything to central and removing the mirror like matt said so this hassle doesnt repeat
I can push it to bm's repo for now if you want
:o
Ah okay
Anyone that can help me?
?help
Β» Give the helpers some details
Β» Ask suitable questions
Β» Be polite
Β» Wait
?help
Β» Give the helpers some details
Β» Ask suitable questions
Β» Be polite
Β» Wait
Dont ask to ask what does that mean?
instead tell us what the problem is
oohh
and if we can we'll try.
in deluxemenus?
Yes
ah. then you'll have to move to either #general-plugins or #general-plugins-2
and give as much information there when asking for help
like error logs, configs etc.
what's wronging, what's not, how it is supposed to work.
as I said. you'll have to move to #general-plugins. people in this channel are developers. most of them don't use deluxemenus or never did
okay
haha look at this meme what I've found on Spigot
the guy who posted it was mad bcz no offline mode support haha
I didn't censor anything, he did
clearly
someone wants to get banned
why?
I will do it again
do it. pussy
ok. idiot
thank you
my pleasure, happy to help
you really want cube to ban you? I'd take that post down rn
the rules clearly state no NSFW!!
content
:moan:

Is there a gradle plugin that can clone a repo and build on its own into local
that would be cool
So i dont have to use jitpack for my own repos
Ok lmao π
Maybe this
https://i.imgur.com/83SggzP.png and i also added this
im convinced gson magically removes unloaded entities
and i've also added this https://i.imgur.com/0VUg54C.png to see if it was setting the value before getting
and it's not
rip embeds
I was joking @old wyvern
its 8 years old RIP
i will give it a shot tho
maven central 
Oh π
β οΈ
hey, I have this
processResources {
inputs.property "version", project.version
from(sourceSets.main.resources.srcDirs) {
include 'plugin.yml'
expand 'version': project.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'plugin.yml'
}
}
and I'm getting an error on gradle 7.0
Execution failed for task ':processResources'.
> Entry plugin.yml is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.0/dsl/org.gradle.api.file.CopySpec.html#org.gradle.api.file.CopySpec:duplicatesStrategy for details.
it was working fine with 6.0
and what do you know, the page https://docs.gradle.org/7.0/dsl/org.gradle.api.file.CopySpec.html#org.gradle.api.file.CopySpec:duplicatesStrategy doesn't exist
use duplicatesStrategy = DuplicatesStrategy.INCLUDE
in processResources
also

what's up
why do u have include and then exclude
oh I must've left it from previous project, yea, had some weird issues previously
Hi, someone can help me for create Kits with DM?
I tried but it doesn't work .. Just 1 model with a system to collect the essentials kits every 3 hours
try your luck @ #904591268515029032
thank's
Thank's
yo is it fine if i do
listOf("api", "v1_17_R1", "v1_16_R3", "main", "lib", "deluxemediaplugin").forEach {
include(it)
}
Instead of like
include("api")
include("v1_17_R1")
include("v1_16_R3")
include("main")
include("lib")
include("deluxemediaplugin")
i feel like the first one seems more concise
include(
"api",
"lib",
"main",
// ...
)
Wow
Im a dumbass
π
Lol
looks like i need to pay attention to the actual arguments of the method more
XD
but for
mapOf(
Pair("api", "ezmediacore-api"),
Pair("v1_17_R1", "v1_17_R1"),
Pair("v1_16_R3", "v1_16_R3"),
Pair("main", "ezmediacore"),
Pair("lib", "ezmediacore-lib"),
Pair("deluxemediaplugin", "deluxemediaplugin")
).forEach {
findProject(it.key)?.name = it.value
}
Yeah that works fine, though "key" to "value" is the preferred way of making Pairs
is it? what's the difference?
shorter
oh. thought there's a difference on what it does internally
Also, im a bit confused here. So I have a bunch of submodules right, and after following this: https://docs.gradle.org/current/userguide/kotlin_dsl.html#sec:kotlin_using_standard_api
I tried to use "api"(it) instead of api(it) (which was giving tons of errors) it my dependencies block and it actually worked.
Why is this the case?
For example:
https://paste.helpch.at/liqayizuwe.makefile parent module
https://paste.helpch.at/yalebexumi.bash example child module
(the question im asking is why do I have to include the quotes around?)
The first one is a extension function, the second is just a regular function and imo should only be used if you have created a custom configuration or something
ok sir I will be talking with you
Very good
What is a chat reaction
just 9 xp to go @humble silo I have to say that's not a lot
lol
alright, what else do i need to say??????
also. it might take a minute for the database to update
Uhhhh, Barry, can you give me like 9 xp pls?
yayyaya
lmao
lol
omg
cool name
color
I am insane
You can just donate all your xp to me at this point
how tf did it happen when I executed the command?
im coming for first place
you only need to get what you have once more and another million
67 k
lmao
close to 69k tho
happens a lot of times - barry doesn't update every time a user sends a message
yes. I know dkim. it updates every few minutes. I assume it also updates when you do the command?
Wow so i probably already have the mil xp
thats what im hearing
barry just isnt telling us
yea
tru
btw is it possible to include spark in something other than spigot?
or are there other tools made for this purpose
welcome to profilers
π

