#dev-general
1 messages ยท Page 416 of 1
Yeah, just 5am
Gui.class.getConstructor(String.class, Integer.class).invoke("Gui", 5)
Yikes
Fun fact:
This is what a pigeon considers a good nest
That egg looks fake
@ocean quartz java or kotlin?
Wdym?
For gui smh
Ah Java, needs to be compatible
Yugi was working on a Kotlin dsl module though, if he doesn't I'll
Ok
One thing
If I extend ItemBuilder for example, is there any way not to implement a method or constructor? Lets say I dont want setName for the banner builder, can I somehow make it private or whatever?
Also, wont this also require support for components ..?
No, unfortunately you can't override the access modifier
And yeah the builder will be split as well into normal and legacy
Guess components support will be added only for paper 1.16.5 and above?
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
C++ func() = delete; ๐คค
just tell me what to do
erh probs not, since barry would need to download them
@Contract("_ -> fail")
Cant open an input stream off an attachment? I know you can do it on java for sure
Yeah, though I'll make it so if you pass a component and the version is older than 1.16.5 or it's spigot it'll do the adventure legacy serializer thingy to still work on older version, so all you'll need is the new builder to work on all versions
erh potentially
Since attachments or well, Message#getFiles returns File[]
Is that a thing on C++? That's awesome

imagine being in dyno server
crazy
You might wanna ask that on #development
Isnt that the equivalent of overriding the function and just return the ItemBuilder instance directly, without setting the name?
imagine not being able to stream soundcloudz
smh
i thought u found an api
o
Ew
@quiet depot @pallid gale go back under your rock smh
rude
Cube, we need a top 5 daily command ๐ฅบ
as in a daily lb?
Yeah
been meaning to add it, tracking it, just need to output it nicely
Ayy nice, i wanna see who's more "no life" than me
I'll tell you who. lo_cl
and funnylate aka Russianized
actually nvm he's after you
that's the order I'm pretty sure: lo_cl, Matt, Russianized, Blitz
On my last top 10 i was 3rd
idk who 5th is but my assumption is Robert
well idk I've just searched every =daily command from yesterday
so whoever didn't get it yesterday I assume lost it already
Bm is still 2nd iirc, he does it on boosters paradise, so I can't really check
nah
he's like 70 or something like that
1 sec
he list it
after Kaliber
also 5th is probably funnycube
just like 18 days short from me
Ah shit, he actually lost it
Hello! Do you know if is it possible to cancel the DeluxeChatEvent with Skript ? because the "on chat: cancel event" doesn't work with DeluxeChat. Thanks :)
No
@quiet depot So I installed Manjaro yesterday night, but it seems the grub menu isnt showing up, I asked a dude in the manjaro discord and he told me that when installed on diff drives it isnt a dual boot, so how exactly do I switch between the OSs xD
It doesnt seem to show up there
It only shows the windows boot loader after i remove the usb
then something probably fucked up
you shouldn't have touched the partitions at all
really best to let the installer do it
The guide specified that the auto install would mess with the windows boot manager
what did I say about guides smh
and no it's usually the other way around
installing windows on a linux machine will fuck over linux
Difficulty: โ โ โโโ Dual boot - Step by Step Target systems Firmware Checklist Windows preparation Manjaro installation Revisions Target systems UEFI Computers with preinstalled Windows (Windows 10) is computers using UEFI firmware. This guide is a generic guide targeted at UEFI installations. However some of the guide does apply even if ...
but installing linux on a windows machine should be fine
did you follow this guide exactly?
Yes
Except the last part ofc
Since I wasnt sure it would be the same for diff drives
wym the last part
Just boot to Windows.
Run CMD as Administrator
bcdedit /set {bootmgr} path \EFI\manjaro\grubx64.efi
Reboot
Didnt do this
I have a feeling this is for the same drive
probably, but switching the order in bios is just as easy imo
assuming it works
and regarding making it work
I recommend re installing from the usb but don't follow that guide
just follow the instructions in the installer
do not do partitions manually
as long as you make sure to select "install on other drive" it should be fine
but my experience is only with kde neon
not manjaro
and even then I can never be 100% sure
you could be careful and unplug your windows drive
have you made a backup?
alright
Also
To uninstall the installed linux
Should I just remove those partitions?
oh?
the installer will just write over it when you select the drive
its auto partition thingo will use the entire drive so your old linux will get deleted
I dont want the entire drive to be used for linux
well then
I had only partitioned 100gb from it
There are the current partitions on that drive
Welp
because if you want custom partitions you'll probs have to go through the manual partition thingo which will result in the same setup as last time
ah
not much point then
@obtuse gale Use maria, it's better
They're not comparable
Better than what?
It's not my plugin, MongoDB is requiered
piggy
Are you skilled with python ;c
I need someone who helps me to write Skill13027_3.ls in main.py to a unencrypted file
luac.py parse the bytecode.
As you can see it has changed opcode order & xor'd constants
This is the encrytped file.
@prisma wave senpaii
Not everyone at once.
Wot is that a new link preview system?
ooo that's hot
dark mode previews when? ๐
yes...
doesnt have to be prison
yeah lets have private mines on a creative server
hypixel hub should add them
lol true
lmao
lmao
@prisma wave to remove the current manjaro installation i only need to remove the partitions right?
Yea it'll overwrite
Is it ok If I just remove the partitions from the live imagr?
I think my issue was me mounting the efi on the wrong mount point
Wanted to try a reinstallation
Or should I remove partitions while on windows?
Yeet the disk
Dude
Amazing idea I know
bm ded?
Overdosed on tea
ffs not now frost ๐
Should he fine
be*
Don't drink tea
Oh awesome
What in the
Wait
You aren't british then, impostor
As long as the partitions aren't mounted you should be able to edit them with no issues
๐ณ
Oh alright
I'm 1/4th Indian so maybe that's why
Time to make this work
Oh maybe not then lol
lol
should've just done kde neon smh
This looks alright right ?
If this doesnt work, imma switch to kde neon
I already have the image for that downloaded anyway
guess im not bri ish either
@prisma wave @quiet depot this partition is good right?
I've never seen the point in having separate partitions for home & /
Idk im just following guides atm ๐
if u go to the auto partition
take a pic
don't click next obviously I just want to see the auto structure
Uh the auto partition system looks weird since I already have previous partitions
Basically its asking we to select and slice a partition
and*
Theres also parition replace
no
Wouldnt the guides have used that it if was easier?
ยฏ_(ใ)_/ยฏ
well if you stick with the manual, I still think it might be worth just removing the home partition and adding the extra space to manjaro
So just a single root partition?
#development message Miracles might happen?
yeah
ovh used to separate them and everyone I knew just deleted the home partition and added it to /
Just dont need to define home right?
no clue
I've never used manjaro
it might depend on it lol
hopefully not
might be worth googling it
well actually
was that partition already there or did the guide tell you to create it?
The guide told me to
when you created partitions, what did it look like?
did it allow you to say what each partition did?
Yes
and was there a specific option for the home partition, or did you just call that partition home
Mount point was set to /home
fairly sure it's safe to remove then
Going strong I see
๐ฅฒ
Not sure I'm prepared for this
johnny are you any good at this stuff?
No
oof
Hes using me as a test subject
oh lol
๐ฅฒ
johnny have you tried it out in a vm?
Tried what exactly
manjaro
No
yugi you asked earlier if flags matter
I'm guessing they do
did you set flags on the other partitions?
piggy where'd my role req go ;-;
lol
๐ฅฒ
;-;
soonโข๏ธ
fefo got any project in particular you want me to look at?
there's the ones you linked in the request but since the request is kinda old
double checking that those are still your best projects
That'll be a dissapointment if he says that they are, and he get's rejected
I haven't looked at them yet
if fefo gets rejected i have no hope
He wont
do they need to be completed / working projects or can they be wip?
@forest pecan
@half harness stfu
slow
i have a right to ping him lmao
what is 'reasonable size'
@forest pecan
woah
Lmao
@dawn hinge
hello world
๐ฎ
Wtf
pulse
I said pretty bird
๐ฆ
dkim
Thanks
dkim
reasonable is probably like a couple thousand lines
otherwise I have to review multiple projects and it gets oof
WHAAAAAAAAAAAAAAAAAAAAT_ _ _ _
๐ฑ
That's like nothing lol
Yeah
my bedwars plugin itself is only like 2.5k lines
That's cause it's shit
well it's only like half finished
Even if it were more lines
๐
like 20-30k
yeah that's more reasonable
lmao the rest is like javadocs xD
heh, this git contributions graph is better than the terrain generated by this project :kek:
lol
bad staff
maybe you should base your terrain off that graph
lol
Yea I did this time
The guide doesnt seem to mention those
that was probably the issue
In a week when I'm done I'll be fixing it so it works!
wat
mark my words
Yea Im hoping so
wdym
should've read the docs ๐
if you scroll to the badges
instead of following a guide
๐ฅฒ
wdym wdim?
wdym wdym wdym
"what do you mean what do i mean"
โPurposeโ Available Everywhere Now!
iTunes: http://smarturl.it/PurposeDlx?IQid=VEVO1113
Stream & Add To Your Spotify Playlist: http://smarturl.it/sPurpose?IQid=VEVO1113
Google Play: http://smarturl.it/gPurpose?IQid=VEVO1113
Amazon: http://smarturl.it/aPurpose?IQid=VEVO1113
Director: Brad Furman
Production Company: Happy Place
Producer: Roge...
by what
I hope you break your knees
lmao
i don't trust that badge
I'm struggling to believe your javadocs are actually taking up more than your source lines
ngl, when it's decently clean code you kinda don't got many lines to work with
like the generated html
frosty you're confusing clean code with a lack of features
my projects never have any other contributers ๐ข
Nah Piggy, it has everything that's needed
Yeah cause i cant host myself
what is it frosty?
๐
pulse aren't you meant to put that shit on a separate branch
this can be automated
and with github actions
all auto
Well there's this https://github.com/Fefo6644/BetterJails idek how many lines it actually has approx lol
I'm struggling to think if it should be added to the queue with the other ones or not so uuh yes?
And I just realized it has the .iml in it lmao
lol
bAd DeV
shit the readme is outdated af
1.8 support? ๐ฅบ
stfu
it does lol
in plugin dev nobody wants to support that version
in pvp? I mean I only use it for frames
otherwise
stupid 1.8 lmao
kotlin file
kts ๐
gradle kotlin configuration
i think fefo was complaining
about the warnings
in groovy
lol
yeah lol
literally the whole groovy file yellow
and by "literally the whole file" I do mean literally the whole file
oh that happens to me with kts all the time :p
except with errors
instead of warnings
then you suck
lmao
the syntax is different you know
a file full of errors is different from a file full of warnings
lol it does not
for me it does
well not just kts file
the whole project
afk
then something is wrong with your setup lol
lmao
F
i had sone very intriguing warnings with groovy yesterday
luckily i invalidated caches and suddenly theyre all fixed 
i have to invalidate every day
:c
probably more useful for intellij to automatically invalidate cache on close
Ever since I switched to gradle kt dsl, I never had to invalidate caches again ๐
lucky
ever since I stopped being bad, I never had to invalidate caches again
guys
just stop being bad
exactly
Damn, now I'm a milionaire
ยธnow we're all poor
lmao
what's that tool for discord data?
340mb welp
it runs locally
discord server, minecraft server
web server
yeah but it isn't by far what I would think I say the most
yes
it can take 30 days max but it usually takes a day
@ocean quartz and @frigid badge my boys
oh i got it
lol
lets see what i get
lmao my server is also my top words
my top words is a ping to my friend and "server"
lmao
most active on 10 am
lol
why is this in my recommended https://www.youtube.com/watch?v=PZhHNcaQ91Y
Renai Circulation - Kana Hanazawa Live 2015 โBlue Avenue"
0:00 Encore!
1:10 Renai Circulation
5:25 Thank you!
You spent $0 on Discord
F
Weak
woah
What a simp
100k messages
๐
Damn i didn't even notice the difference in messages xD
smh matt
sounds like a you problem
Lmao
I have an image that says the opposite
actually shows an image that says "the opposite"
matt did u figure out who the deleted user was yet
No idea lmao
that's sad
yikes
cant open the conversation with them?
I probably closed it a while ago
naughty naughty
๐
lmao
am I the only one that finds this uncanny?
wat
idk the whole deleted user thing, abandoned convo
Is that real? ๐
just that method or in general?
that method
also all these null validations are useless
jetbrains annotations generates these validations for you
How do people learn to create such amazing websites like the design part of it?
does it?
lol
piggy
hi
Any use using something like grub2win or refind?
no clue what either of those are
boot managers I think
you should try compare the partition structure of your usb to that of your linux installation
find the inconsistency
does it do that though? 
hmm
didn't know if it does
it does fefo
huh,...
oh
just read the docs
it's not jetbrains annotations itself that does it, ij adds them in for you
When you compile your project, the IDE adds assertions to all methods and parameters annotated with the @NotNull annotation. The assertions will fail if null is passed in code where @NotNull is expected. You can disable this option and configure the list of annotations in the Settings/Preferences dialog Ctrl+Alt+S. Go to Build, Execution, Deployment | Compiler.
Well, I sent 604k messages in total and 118k are on here ๐คฃ
afaik those annotations themselves are for static analysis only
Yes odin
I just assumed it was the lib itself generating them since it's an annotation processor
I think 90k were sent before the exp system was added
cap
I wanna tell you guys something but i know you'd laugh :/
probably more like 30k before xp
fuck it, I tried a e-scooter and um I slightly crashed 
Odin in pink looks weird
@obtuse gale still waiting on an explanation for the naming smh
What naming?
new java update?
reload0?
๐ฅฒ
xD
ye
That just makes it look like some compiler generated method
it really does
well actually my first thought was that it looked like a native method
xD
well you see I couldn't just name it reload() because it already existed and I'm sure you know it's actually a thing for private/protected methods that are called by a public one "under the same name"
ye I've seen lots of designs following that approach
reload' best encapsulation name
if it's not the same method then they're different and can be named accordingly
bm !!!
is adding 0 at the end a legitimate convention?
the only place I've seen it is in languages which don't have overloading
wait really? which project?
overloading doesnt restrict to a modifier right?
hello
hmm I'm unsure if its actually "legitimate"
i fucked up! ๐ฆ
overloading is based on parameters yugi
jdk code does it for native methods so I guess so
Oh does he have the same parameters there?
I forgot about support for just single blocks :/
bm jdk does it because of the overloading issue I think
what language do those native methods call?
is it c or c++
c++ probably
i think its either?
which project piggy?
does c++ have overloading?
yes
Yea
Yes
betterjails fefo
Hmm maybe
bitter jails
lists can have 1 element
I wouldn't have done that if they had different params..
Why not use a diff name then?
it.. is a different name lol
xD
idk how to do the BlockChance thing tho @prisma wave
a good name
I meant like not making it look like it was generated by something
piggy can you link to the file please?
Thanks
well before I go any further I need to find out if this is acceptable
otherwise it's just my opinion
how do you get that embed
its by default now
discord does it
for any repo that doesnt have the background picture
thingy
doesnt look github style tho
for the multiple blocks

I mean I know it's a "common" practice to do (it's both in the jdk and many other libraries) but there are no official conventions about it afaik
Yeah I think even bukkit has that type of fake overloading
But im not sure if this is a good example
Yeah I don't think the official java conventions are that specific
I'm sure guava gson etc and even sql drivers do that
Yeah it is quite used in the jdk actually to differentiate from native methods and java methods
even non-native methods in the jdk
Yea
"I think the history of this convention predates Java. I vaguely recall seeing it in C libraries in 4.x BSD Unix."
I'm sure there were some in ClassLoader or something
not a huge fan of looking to the jdk for confirming naming conventions
I dont think this is really much of convention in java itself, but not really much of an issue either
anyone here used jna before?
bm has I think
you know how a class extends Library
yeah whatever, ima just ignore it
and you use native right
I've used jni, not jna
isn't jna a library/framework/whatever to make the use of jni more easily?
Yeah
a contract might work well there
Yes
also a lot of c/c++ method names are whack
lol
prolly cause i dont know their conventions
Haskell conventions best ๐
lmao
they are so different than Java
fefo for that separator pattern
and then when you work with C/C++ in java methods xD
you deal with that
C++ method names in Java
lmao
might be worth benchmarking the difference between String#split & Pattern#split, as if the argument passed in String#split is only one char, the logic is different

{
; }
import uk.co.caprica.vlcj.binding.internal.libvlc_media_thumbnail_request_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_media_track_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_media_tracklist_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_module_description_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_picture_list_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_picture_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_player_program_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_player_programlist_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_renderer_discoverer_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_renderer_item_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_unlock_callback_t;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_format_cb;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_frameMetadata_cb;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_getProcAddress_cb;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_makeCurrent_cb;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_output_cleanup_cb;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_output_select_plane_cb;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_output_set_resize_cb;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_output_setup_cb;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_swap_cb;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_update_output_cb;
import uk.co.caprica.vlcj.binding.internal.libvlc_video_viewpoint_t;
๐
kek
idk about that one chief
You do realize that is not neccessary
๐ฅฒ
only if it's more than one char fefo
No one uses {
;}
format
Aren't they just java conventions lol
thats the one matt
Indentations work
Except the evil braces
weird face
or maybe not
:}
hopefully not
๐
ah it does a fuck ton of things before compiling in the hopes of not doing it
Expect for the boilerplate shit like getters and shit
lombok lol
ah just checked
/s
yeah using braces in haskell will result in you being exiled from the ivory tower
it's either 1 char or 2 chars where the first char is a backslash
๐ซ
I've commit a sin sir
lombok aint bad but I hate using it lmao
Or I think I have
so i dont use it ever
Forgive me
xD
For I have sinned
No
hi
hi
bm
tbh I dont like how indentations force us to space till after the function name
hi
xD
Couldn't you use fmap in that code anyway
And add actually useful commands
@forest pecan I've had enough of google java style
it fucking wraps everything
like bruh
pig code style >
wait what
yeah I follow google but sparingly though, the line and params wrapping is one of the things I don't
lol
2 args per line?????
piggy u got a code style? pls share lol
it's not in a nice checkstyle conclure
but dk what its called
ah okay well then Ig
Conclure Piggy uses 2 arguments per line
i've explained the reasoning behind this smh
there is a good reason for it
as-many-args-to-look-and-feel-nicely args per line ๐
I use final & @NotNull and shit in all my parameters, and I've found that 2 seems to be the best number to fit within the margins but still fill available space
I go all args on a line if it doesnt reach 100 chars otherwise 1 per line
kotlin gang
CompletableFuture.runAsync(
() -> {
},
executor);
how google wraps completables for instance
Oh yeah that indentation
That closing paran
Put that on a new line please
that's cursed
๐คฎ
or any lambda notation
CompletableFuture.runAsync(
() -> {
},
executor
);
lmao
for completablefuture
staircase to heaven
lol
Multi arrow code
tf is that class
very bad class
that doesnt follow srp
lmao
that i hard coded at 6 am not sleeping at all
Anyway
xD
fefo couldn't Setting#get(ConfigurationAdapter) be replaced with a bi function in the constructor? BiFunction<ConfigurationAdapter, String, T>
back to figuring out tf is wrong with my boot loader
God I hate builder syntax for commands lol
and the value null bit handled in the parent
lol
also is it just me or do classes on github look larger than on the ide?
ye
Looks smaller for me
lol
I have my font set to 20 on ij
oof
is that big or small?
my font is like 13
compared to default
My eyes hurt if i have it small
Yugi you are a true asian. Your eyes are tiny
Cant do for long periods
Asian eye tiny
eh
xD
I just do it coz headaches
will this be implemented into ur own programming language
hm iirc I actually did consider passing functions/bifunctions but I thought this approach "made more sense" based on research and conclusions coming out of the very bottom of my ass
PigLanguageโข๏ธ
Eyes feel like ther're burning after too much strain
conclure lets make our own style
i'm just looking at it from a DRY perspective fefo
PigLang
yeah
you've got the exact same logic in 3 classes
when it could just be a method reference in the constructor
such a shame this has to be done ๐ฆ
3? I see how the ConfigurationAdapter#get(Setting) can be literally just removed and used directly on the setting
but what's the 3rd?
in StringSetting, BooleanSetting, and IntegerSetting
I can just create a BooleanSetting by, well, just creating it
wait what
good old friend hashtable lol
Isnt that deprecated?
wait what as in "omg did I accidentally use hashtable?"
yes????
or wait what as in "how have you never seen someone use hashtable"
lol
lol
:(((
or maybe ur just a 4head
I was sleep deprived
shit the managers don't even exist lmao
I wanna do commands first
then storage then managers
I mean for all that matters it can be an Iterable
then use an iterable
Fefo, if you do public @NotNull Cell etc shouldn't you also do final @NotNull String etc?
#wall-of-shame
I was probably implying that there is actually an order in collection
printing stacktraces smh
actually can't really hate on that there
your plugin is def getting a 1 star from a kid like that though
the plugin will keep on working if those fail though
I mean it somewhat is but it has fallbacks for everything lol
it might be updating
I think it returns a collection
rip
yeah it returns a collection
yea its a collection
woops
So its supposed to be unordered
ig
I mean the order doesn't even matter...
Lists are nice
more of a set guy myself
tho ImmutableList#copyOf I guess
[Int]
ah its an adapted player
!!
I wish Java had an import alias
okie
i'm done reviewing this
most of my feedback was just nitpicks and personal preference
using vector = std::vector; ๐คค
scope based as well
๐ฅฒ
good god
the only tip that wasn't personal preference was the annotation validation generation thingo
you should really consider removing those manual validations
Gg fefo
oh also the string#split thing, although that's not todo with code quality per say, moreso I'm just interested in if it's faster than compiled regex
it's probably faster with string#split because of the checks it does lol
Is it a single character?
Shouldn't that be import qualified?
\. (escaped cuz regex)
Yea then split should be faster
split on what
on the separator
Piggy so Fefo gets dev role now?
a single period lol
I mean he's a good guy :p
It has a separate branch for single character ones
ok cool i was a bit confused lol