#dev-general
1 messages ยท Page 449 of 1
LongArrayTag is not a subtype of CollectionTag<Tag>, it's a subtype of CollectionTag<LongTag>
yes
you tell that to Oracle
because they seem to think not
yes but this doesn't work in generics
Hm
this is likely all a compiler error anyway
yo @onyx loom how the hell do I change the IDE import settings? I remember you saying something about it automatically imporing using * or something like that
when I PRed to CS
settings -> editor -> code style -> imports -> single name
actually in Java you gotta just set your wildcard import number to something ludicrous
I don't like wildcard imports
Also ktor code style: "Always use wildcard imports"
you what
lol
wildcard imports are terrible
@jovial warren what does fillOne do exactly?
I mean for Ktor they kinda make sense
you tell me lol
k found and changed. ty
lmao
can you at least share its signature...
I did
It's in the paste
it's at the top of that paste
made sure to include both so you could reference them
Both fillOne and fillMany add to the input CollectionTag so you can't pass an ? extends
ok, well, this isn't type safe anyway so you might as well cast
oh This is where I can disable the blank lines as well
what should I be casting here?
To CollectionTag<Tag>
Why the hell are wildcards reified anyway :PepeCry:
wildcards are not reified
They are..?
what should I cast?
No generics in java are reified
well the thing you want to pass
to get rid of the wildcard
I mean arent there refinable types or whatever its called
okay apparently it wants a ? super Tag, not a ? extends Tag, strange
https://docs.oracle.com/javase/tutorial/java/generics/nonReifiableVarargsType.html Maybe this is the wrong thing
A type is reifiable if and only if one of the following holds:
...
It is a parameterized type in which all type arguments are unbounded wildcards (ยง4.5.1).
nvm it's unbounded wildcards
fuck you then
thats fine there
i have like 5 imports from there
4
bbg what do u use currently? Collection<?super T> or ? extends T
out of like 10
or just no wildcard at all?
the difference between u doing java.util.*, was that the class was only using UUID ๐ฅฒ
anyways. also in extensions somewhere you forgot to use Allman
for the setMessage
where is this
this is being fixed THIS INSTANCE
no I fixed it
I'll PR
smh
Also in build.gradle
you sued "" instead of '' for adventure
smh
but I'm already fixing it
xD
anyone else here love void declarations? lol
void is nice ๐คก
lmao
no it doesn't, but the super wildcard fulfills the constraints of that signature
ah right
You should be able to pass a Tag as T too
yeah I'm using Tag
@static zealot are u committing anything else in the project btw
nah just minor fixes xD
also why the fuck did it change to util.* again when I disabled it? 1 sec gotta fix this
fair enough, that's because that happens to correspond to the representation of all generics at runtime
i had that before blitz, theres a thing u can change in the packages section
oh will look at that too
u prob have java.util.* here
hmm I thought I disabled it. Might have missed that one
this will be great PR
like 6 chars changed
amazing
u might aswell create readme add just add a . or smth xd
p.s please dont do that k thx
man wheres the embeds the past week
lmfao
@simple karma That's a yikes request ngl
Why? U can just work 1 hour per month ...
gotta be smart about it Frosty. smh
I mean it's 5-20/m
It isn't that much I know, we can make it higher but we are already gone way above our budget ๐ฎ
Experienced for large project, for $20 ๐ฌ
Our budget is higher then you expected it to be.
if it was 20$/h maybe
So you're just cheap af then?
Changed it
an experience developer can make anywhere above 20$/hour
i mean its fine, just dont expect devs to cut out half their day for it
Yeah but keep in mind that some people will do this, we already have 2 developers experienced in our team for free.
like i do free work for some servers, not much anymore since im busy with side projects
They won't have to
experienced is an ambiguous term in all fairness
I mean as I said, if you're looking for someone experienced, expect like 15min a month of work
wait I'm wrong
They know C++, C#, Java, Python and much more coding languages
are you calling me unexperienced ๐ญ
Yes
according to some studies an Entry Level developer makes on average 32$/hour
I mean dkim you're probably above entry level if we're talking spigot
so yeah as frosty said 15-30 minutes of development per month with your budget
b-but
yo @onyx loom what you said you wanna add to CStats but are to lazy to add?
Amount of languages isn't everything
Unfortunately they'll which sucks because then people think it's fine to charge nothing for hard work
There's a pink moon today
u mentioned you wanna ad something a while ago and I don't remember what xD
well nvm then
but it's fun
Speak for yourself
unless u wanna do it blitz ๐
then thats another story
what lb type?
I agree to a certain extent dkim, sometimes working free is fun
If you wanna work for crumbs of bread go for it, but learn to value your work
kd
๐
hmm
oh btw, would anyone here know why a decompiler could possibly end up with a void declaration?
like declaring a type as void?
ยธbecause the method was a void?
compiler magic
is there something in bytecode that could cause that?
dkim you're just stupid and understimate yourself. 20$/mo is dogsiht unless all they want you to do is a plugin that sends a message when its enabled and another one when its disabled lmao
Context?
Well if you're in the mood of doing it then do it. It will probably be better than anything I'll do but if you don't feel like it then I can try and then you'll have to decide if its good enough
for you
ill do it blitz dw
alr
bbg might just be how its interpreted?
maybe
lol what
I mean, it's easy enough to figure out what it should be, just wanna know why it occurs lol
I've seen stuff like
int i = false; when looking into decompiled code
maybe CFR just being off on something
sounds like something Fernflower would produce
yeah probably
Classic lol
yeah it could be anything
Required type: Object
Provided: Object
Not really
nope
never actually looked at the leaderboard stuff but seems to be just a few lines
already done it basically lol
now tell me
just wanted to see how it works
have u checked for an arithmetic exception ๐
Lmao this
i have problem with database
paste the whole server log
https://paste.lucko.me/CoGNoxasBi
lol
nice server log
classic
they don't want to show you the logs bcz "you will see what plugins they have" ...
some people are so dumb
Oh god
fefo does LP have a ?startuplog FAQ ๐
Those
cracked plugins ๐
Eeh we have a !paste but it's kinda vague ngl
Not really... I've seen a lot that either DM me it or don't want to send it but in the end send it (after I tell them send it or no support lmao)
I very much prefer the one they have in EngineHub
?startuplog
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
best command for idots
Please grab your latest server/client log (found in logs/latest.log) and put it on https://paste.enginehub.org/
Make sure to send the link to the logs to this channel, or in a private message to EngineHub Bot.
If this is a known issue, the bot will provide a solution for you. Otherwise, please wait patiently.
EngineHub Pastebin Service. Store logs, profiles, and reports with ease.
ebic
unfortunatelly there are idiots that can't even understand that
๐ซ
and not talking about language barriers here
bcz that's understandable
but there are people who just type ?paste and tell me they don't understand what I mean xD
To those I say "I speak the same English the bot message speaks so you won't understand me any better"
lol
I've made an amazing gif just for that!
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โข HelpChat Paste - Usage
โข Hastebin
They want a human presence to waste their times on them
yeah ๐ข
You know how old that gif is jesus
yo clip didn't even knew you left until today
Like just read the fucking embed/wiki
how could he, he's never on :KEK:
Once I literally copy/pasted a whole wiki page paragraph by paragraph because they weren't willing to read it on their own
lmao
When I was finished I said "you do realize I just copy pasted exactly the page contents, right?"
"oooohh...."
man sometimes its just to much
we try our best ๐ข
I also love when they argue with you like they know better but they came here to you for help (and in the end it turns out you were right lmao)
sometimes its not enough ๐ข
There are two types of those tho
Not for a year
Those that go "oh, you were right" and those that just deny they were wrong, laugh and insult
just a random example: you need to restart server they reply no I don't. I have plugman. then I reply yes you do. Plugman is something you should burn not use they reply no... it works. Your plugin is broken and this can go on for 15 minutes or even more...
until they finally restart
"retired" staff
the fucking server
hey frosty do u get a retired staff role, u deserve it ๐
Lol the classic "plugman works fine" no it fucking doesn't, why do you think you're here
also the one guy that didn't like the fact that I said ugh. at the start of my sentence.
I just told them to FUCK OFF
in all CAPS
"support" role
Like I was legit trying to help him I just put ugh. at the start
I don't really care... I don't do this for the role lmao. I do it bcz not all of them are like that. Just read my status
you'll understand
Can't copy on mobile :(
that's just some lmao
I was to lazy to ss all of them
also found the conversation
1 second
Yeah ofc lol
I asked them if they checked the wiki first like ugh. have you checked the example on the wiki and they're like ugh isn't helpful or something and then they're like https://i.imgur.com/gBTIGS7.png
idk if I've shared this one before but it isn't the first time I suggest someone to learn how to use a computer lol
Like wtf man? I'm not paid to do this shit. And I've tried to help you. if you don't like the fact that I type ugh. at the start of every sentence you can FUCK OFF xD
Jesus christ ikr?
btw @onyx loom remember my whole thing about you not having to shade in Adventure? XD
too blurry ;-;
oh
LOL
how
Click open original..
high resolution
here will make it 2
ah fixed
Check dms nerd
I saw. you have a question. I will answer when I got some free time xD
aired ๐ฅฒ
people who call luckperms lucky perms 
luckyperms
Luckyprems
cap
perish
@ocean quartz can vouch
even worse LuckyPermissions
from now on you call lucko luckyo
Dude it's such a pain in the ass to try to explain kids how to copy the startup logs, like legit, they can't even find that
LuckyPermys
Lmao yes
LuckyPremissionsEx
We once got one that said "LuckySPerms" oh god lmao
LuckyPermissionsManagerEx
LuckyUltraPermissionsManagerEx
bLuckyUltraPermissionsPowerManagerEx
PowerRanks loll
in github, how do you make those links?
My-bLuckyUltraPermissionsPowerManagerEx
im out of plugins now ๐ฅฒ
Modules I believe or uuh something
.gitmodules
I wonder if he found the gm perms for luckyprems
Ah lmao
[submodule "Paper"]
path = Paper
url = https://github.com/PaperMC/Paper.git
branch = origin/master
for example
The LuckyPrems gamemode komand
"LuckyPrems"
Also French auto-translations
"CharmPermes"
But the funniest one was by far "LuckSPerms" ||cuz internal jokes obviously ๐||
LuckyPe||nis||
I'm funny u see? I can make jokes
๐คจ

what
veri funny, many laughs
very sad
you see
now buy it for me
Same Blitz ๐ฆ
Sure sure
Anyone tried this way of creating a plugin, first start by spamming out interfaces for everything then implement them accordingly
@onyx loom well idk java.util.* is not even in there
eeek
First I write every class so like, I test it and it works etc
Then when I write the API I do it in the end lmao
And make the current classes implement it
ah okay
I thought only starting with interfaces might help with the oop infrastructure
Kinda counterintuitive but yeah
anyone know how to disable IJ improting java.util.* ? bcz these are my settings https://i.imgur.com/jyvqO3f.png and if I use optimise imports thing it changes java.util.UUID to java.util.*
i know how to remove wildcard imports in general, but not just one
oh like this? https://i.imgur.com/9NgIlEf.png
I usually do but when I use Optimise Imports it just changes it
who
LMAO
import **.*; ๐
๐
alt enter is a god send
alt f4
yes it is
i remember bardy shouting at me for writing imports manually until he told me about alt enter ๐
Loll
In school when we first started using Java we actually would always do import *; ๐ฅฒ
lol
What the fuck
import * = cleaner code because less lines ๐
We also used NetBeans so not much I can say about it
o tf blitz
just gonna bump this xD
are u changing the code style in kotlin btw? just to make sure
instead of the java code style or whatever
no? java
yikes
Don't use optimize imports 
Just do imports on the fly
it usually messes up the structure of how i like the imports, like ill have them lined up to create some form of arrow if possible lmao
I believe you can set a style or something
Somewhere in settings.. uh
nice
blitz, i havent tested before committing, i hope it works https://github.com/Kqliber/CombatStats/commit/2f08218e1ac7480b8cac545cff2726953ef5518c 
lmao
ah the good 'ol implement now test on production
KDs tho? KDR better
Well duh how else are you gonna test?
to do the heavy lifting
๐
lmao
customers are better at breaking things than unit tests, production obviously superior
When all checks pass
I got no idea what Unit testing is 
sadge
sadge
basically checks if ur code works xd
But unit testing ensures that individual units are, well, functioning as expected
People will break shit for misusing the product, testing saves you time even if they don't
i need unit test example for plugin ๐ฅบ
probably look at sx or bms github
Usually you test individual methods or classes that are crucial for some functioning or that are prone to failure (due to bad design ||cough Regex cough||)
i run my formatting code through some unit tests
links?
Welcome back
lemme help with that
๐
first, get a plugin called pitest
pitest?
id("info.solidsoft.pitest") version "1.6.0"
PIT mutation testing
basically fucks up your code real bad and tells you where said fuck ups didn't also fuck up your tests
in dkim terms
omg was that too hard to understand?
basically fucks up your code real bad and tells you where said fuck ups didn't also fuck up your tests
example?
oh
like strings?
and values?
and stuff
it changes it
and then it sees if the tests succeed
how is that funny 
https://i.imgur.com/xfgD29h.png inverts and removes the conditional here
e.g. turns if (cause is TimeoutException) into if (cause !is TimeoutException) and also replaces it with if (false)
Its a tool to check test coverage dkim
^
The point is to make sure your unit tests pass only for the right logic
but ur code already is? :kekw:
ikr
meanie
lol
Rudiber
Lmao
next time i nitro boost matt 
Nah, Math
Oh lmao
Your message was removed as it contained an inappropriate link!
@onyx loom time to add Top Deaths leaderboard? xD
Wat
lmao
i thought about it before, but wasnt sure whether or not to put the leaderboard sorting my most or least amount of deaths
There
both then? xD
probably most
lmao, ill pass
tho
bcz least will just probably be a bunch of 0 deaths bots
that joined the server
or shit like that
๐ฅฒ
@forest pecan
95%
I need to chat please
Controversial topic
Now
@static zealot help me
haskell bad
I'm here for you
very controversial
tell me what you need what you really need
incorrect
ROT IN HELL
nono
i do not agree with my statement
however some people may find it controversial ๐ฅฒ
me neither
they just not have seen the light yet ๐
kk
if you disagree with the statement you should be put to death
I believe we can all agree that Haskell not only is bad but functional programming as a whole is a joke in and of itself
yo @onyx loom one thing I do think you should add is best killstreak for each user
OOP > FP
^
you are a lesser human being
Object oriented programming will prevail
There is no doubt in that
do u wanna do that one? ๐ฅฒ
ye xD
as if java is even real OOP ๐คฃ
go for it mate ๐
edit: JVM > FP
wat

lol
wat
ever heard of clojure and scala
uh
how can u compare a vm to a programming paradigm lol
not really no
Clojure please
ยฏ_(ใ)_/ยฏ
I need to learn the clojure ways
edit: Kotlin > Haskell
(I actually need to lol)
๐ฅฒ
is it bad that this happens multiple times daily
That looks fine asf boy
its okay
yes pulse, exactly
yes it is fine dkim
clojure good
ok
10 blue screens in a day is also fine
The squiggly lines tell you the code that will work
well
im surprised i still have this saved bm
yeah
i have no idea why xd
oh one thing I should also do is change the current ks leaderboard to use the best ks shouldn't I?
And the ones that don't have them will also work
can do separate blitz
hmm I guess
because it's blessed
How come
how not come
What are its advantages over other languages of its kind
Yes
Yes
In that order
clojure got speedy persistent collections
I just saw that '(1 2 3) makes a list
clojure good
that is true
And I'm like "I'm done"
clojure fast...?
Probably
very fast, because obviously collections are the only things that matter in a language ๐
as far as i know vectors are more idiomatic, which would be [1 2 3]
( อกยฐ อส อกยฐ) is apparantly a musical artist
Yeah what's the difference between vectors and lists in clojure
It probably is if you read hard enough
vector = arraylist
list = linkedlist
how do i fix intellij colors not loading ๐ญ
Ah like in C++
u suck
you dont deserve colors dkim
its been like 5 minutes
you only get black and white
restart ij dkim
autocomplete doens't work either
ok
Dkim how many times do we have to tell you to get a better computer
^
Just stop being poor
^
;-;
lmao @static zealot what a great PR
Yes we can all agree that poverty is the number one cause of poor people
Unless we don't
u literally add 1 char to like 5 lines ๐
YAY
COLOR IS BACK_ _
Customers and stakeholders have substantial investments in, and are comfortable with the performance, security and stability of, industry-standard platforms like the JVM. While Java developers may envy the succinctness, flexibility and productivity of dynamic languages, they have concerns about running on customer-approved infrastructure, access to their existing code base and libraries, and performance. In addition, they face ongoing problems dealing with concurrency using native threads and locking. Clojure is an effort in pragmatic dynamic language design in this context. It endeavors to be a general-purpose language suitable in those areas where Java is suitable. It reflects the reality that, for the concurrent programming future, pervasive, unmoderated mutation simply has to go.
Well yes he makes a very good point though
yes
ok!
ok that's a lot of words
๐
Why did I write yet another programming language? Basically because I wanted:
- A Lisp
Agreed
Btw is this intentional? When a player dies for other reasons than another player, his deaths are not counted. I mean it does make sense since the plugin is called CombatStats but wanted to make sure
unmoderated mutation simply has to go
๐
A Lisp is always good to have
it resets the killstreak, am i correct in saying that blitz?
ik you're circlejerking but rich hickey does actually have some pretty interesting talks
yeah
but doesn't add deaths
he does seem to be a pretty clever guy
anyone wanna help me test bw again
bcz you techincally don't count it as a death
ok. i mustve missed that out as i was getting some issues with grabbing statistics on 1.8, so had to create my own kills/deaths storage, but mustve forgot to add that
fixed some bugs from last time
its meant to count the death blitz
ah alright gonna add it
๐
ill dm u ip, 1 sec, im building plugin
ok
btw allman doesn't work with run. Do you want me to use a if statement instead? xD https://i.imgur.com/ZomlZ1e.png
wtf is ?:
elvis operator
wait
Okay
val variable: SomeClass? = null
variable ?: return
println("not null")
I wait
"not null" will never print
yes
Yes
if u mean java ternary
Impressive
incredible
Unbelievable
this is what alan turing died for
kotlin doesn't have var x = CONDITION ? RESULT IF TRUE : RESULT IF FALSE right?
I have to use if statement
indeed
alr
x = if condition then result else other ๐
Yuck
die
My pleasure
yep
haskell good?
run()
{
}
hacky
yuck
oh. well if you want it like that i can do it
nah its actually quite nice after getting used to it imo
that run can be lifted outside aswell i think blitz
Fair enough we do nothing but get used to things until we say we like it
return run() { blah}
600xp to go ๐ฅฒ
smh its not even a tier up
Allman in Kotlin is kinda bad, you'll use it on most things but for example
forEach
{
}
Doesn't work
Yuck
well kaliber here comes another untested PR xD
btw bestKillstreak is fine? xD
the naming
I mean
bcz top would imply a leaderboard
highest ๐
oh highest it is then
3 prs in 1 day, most ive had ๐
i feel bad for blitz, hes always PRing stuff for me but i never PR anything back lmao
Well I don't have an actual project to PR to
i shall return the favour one day
well actually BountySystem
xD
but idk what to add to that anymore
anything else would just be useless
lol
do i see an elvis operator in haskell
absolutely
lmao
another thing to add to the list of things Kotlin stole
oh no
colors are gone again
there are colors in one project
but not the other
๐ญ
guess what the solution is!
is that a custom operator or is it actually in the language bm?
custom operator
wym ur block placing works absolutely fine
super cool
no I fixed it
idk man i thought was a feature cant lie
I wasn't checking if the existing section's palette had air in it
and through the power of linked lists, I just used addFirst to add AIR to the head of the list
restart no fix ๐ญ
L
F
restart again ๐
;-;

please give me an award
> ๐
lol
intellij bad
@half harness . ๐
lol
wat
he was asking about uses of the . operator
fun main() {
println("Enter a number")
val number = readLine().toIntOrNull() ?: println("Invalid Input")
println(number * number)
}```
@prisma wave ๐
๐
It's not a reference, it's a monad
id like to see haskell do that in 5 lines!
of course ๐
That still emacs?
yup
Do you know you can have a shell in emacs?
fun main() = println("Enter a number").let { _ -> println(readLine().toIntOrNull()?.let { it * it } ?: "Invalid input") }
im pretty impressed with emacs, haskell works perfectly out of the box compared to Vim and vsc
oh?
I wanna see if that works now
that is absolutely disgusting bardy
Probably haskell mode has even special keybinds to run programs and such
ooh hopefully
that's the sort of code that makes me question how I sleep at night
btw @onyx loom when is spigot page coming? I can PR a README file for now like I have on https://github.com/BlitzOffline/BountySystem If you're ok with that
oh
In vanilla eacs bindings language specific stuff is usually behind C-c, but you can also try and search for haskell in C-h f
soon soon
(github release)
oh wow there's definitely a lot of commands
ill test it again first
fun main() = println(readLine()?.toIntOrNull()?.let { it * it } ?: "Invalid input") omg that easy
didn't even need the let
well I PRed the highest killstreak
gonna do a readme now
if you want
wait for the readme
i gotta figure out how you do repl based development
yo got a catch phrase or something for CStats? @onyx loom
catch phrase lmao
okay 2 lines
or a very short description idk
u can make one up ๐
And there are different shell types, there's an inferior shell (M-x shell RET) which lacks a lot of terminal features but is used like any other buffer, and there is ansi-term which I haven't really used yet
fun main() {
println("Enter a number")
println(readLine()?.toIntOrNull()?.let { it * it } ?: "Invalid input")
}
``` @onyx loom
No I can't lmao.
believe me you don't want me to make one
well I'll just leave it empty
or something
believe me you dont want ME to make one lmao
this is why I love Kotlin
alr lol
just gonna add a // TODO: add short description xD
If haskell has a repl you can use while coding there's surely a package for it that doom already installed
Johnny
// TODO: Remember to check the TODOs
I need your guidance
Clojure?
Show me the clojure ways
hopefully
i'll have a look at the docs for haskell-mode
(((Basically) (like)) this)
just a joke
except that it's not
Oh yeah for info about your current major mode: C-h m
agreed
Sure thing
The ways to Cloje
looks like the sort of cursed redundant cast output you get from a decompiler 
kinda neat you can just # prefix a string to create a regex
clojure, more like closure cus ur gonna kill urself when looking at it !!!
yes that's what I'm up to
Yeah, that's a reader macro (expanded to code while reading). You can actually define and register your own
Ah yeah I saw a nice PowerPoint-like graph showing that the code goes through a reader first ๐
Yeah this is the kind of thing I'd put in a powerpoint lmao
:pebkac:
point free?
no parameters declared
double = (*) 2 instead of double x = x * 2
ah got it
square = foldr (*) 1 . replicate 2
cursed
main = putStrLn "Enter a number" >> (fromMaybe "Invalid Input" . fmap (show . foldr (*) 1 . replicate 2) . readMaybe) <$> getLine >>= putStrLn 1 liner ๐
excluding the import
@onyx loom done. you can close PR
well merge it then close xD
guess he went to sleep already
he should be online 24/7 !! smh
nah i was just helping around the house ๐ฅฒ
why!? you should be here 24/7!!!
my bad
i sincerely apologise
I accept your apologies
is that u irl
what's your specs?
NO! I have posted images of myself here before. smh
send help
here @oak raft #dev-general message
Do a barrell roll
what the hell is going on here?
just tilt your screen duh
just the usual
OHH YEQAH
let c = document.querySelectorAll('*');
for (let i = 0; i < c.length; i++) {
const elem = c[i];
elem.style.transform = 'rotate(' + ((Math.random() - 0.5) * 5) + 'deg)';
}
this is going on, paste it into your discord console
really brings a whole new experience to discord
just incase he doesnt answer anytime soon, he has a ryzen 7 3700x iirc, thats about all i know
ctrl+r undoes it
Hold up!
gonna join discord team
how did they do this? https://i.imgur.com/Tn1LwNt.png
oh finally
https://twitter.com/git lost ya'll might find this acc funny
yeah I usually don't care either
Oh boy
why embeds so bad
the link does not work anymore (Tried it with a VPN lmao)
btw the "hidden" codes for netflix genres are a life saver
I found so many good movies using them
bcz Netflix sucks and only promotes what it wants
(mostly movies they paid a lot for or their own movies lmao)
Fefo wake up!! we need to get that 400 xp
@onyx loom u gonna write a bible? Or just hi
like BM
hi
k good to know
Lmao
accept my PR please. I wanna see the beautiful readme on your github