#dev-general
1 messages ยท Page 260 of 1
i have been for ages lol
he's been for a while
Kek
there was a whole race going in #off-topic
katsu
Ih
I love how no one said anything when I went top 3 ๐ฆ
I'm dissapointed in you
Why?
I'm on =xp lb
My grandma broke her arm in another country, I flew out to be with her for a while, didnt feel like explaining that to mr boi and it was well past deadline at that point
Probably shoulda told him though before I left
Yea he'd understand, was just surprising as hell that you just dissapeared
Yellow man
SIMPSON
Yellow
Stone
Yellow good
thanks
np
๐คจ
@prisma wave this man stealing ur credit, i wouldnt take that
u worked so hard for that xp!
โStaff Teamโ pfft
i like how 9 and 10 are the staff and admin colors lol
You get admin when you reach lvl 100
almost there
๐
@lunar cypress Hey, just a heads up, method overloading on docdex is fully functional as far as I can tell if you're still interested in using the bot
d;jda jdabuilder#jdabuilder(token)
@DeprecatedSince("4.2.0") @Deprecated @ReplaceWith("JDABuilder.create(String, GatewayIntent...)")
public JDABuilder(@Nullable Stringย token)```
Creates a JDABuilder with the predefined token.
Due to breaking changes to the discord api gateway you are now required to explicitly state which events your bot needs. For this reason we have changed to new factory methods that require setting the gateway intents. Refer to create(String, Collection), createDefault(String, Collection), and createLight(String, Collection) instead.
token - The bot token to use
d;jda jdabuilder#jdabuilder(accounttype)
@DeprecatedSince("4.2.0") @ReplaceWith("JDABuilder.create(String)") @Deprecated
public JDABuilder(@Nonnull AccountTypeย accountType)
throws IllegalArgumentException```
Creates a completely empty JDABuilder. If you use this, you need to set the token using setToken(String) before calling build()
This will be removed in a future version, replace with create(String, Collection). We no longer support login with AccountType.CLIENT.
accountType - The AccountType.
IllegalArgumentException - If the given AccountType is null
@obtuse gale tagging you too if you're still interested in it for luckperms
I think the bot is ready for public
There was something it acted bit weird on
Trying to get a method with multiple parameters I think?
d;map#getordefault
There was no direct match for that query, did you mean any of the following?: map#getordefault(object, v) locale#getdefault() keymap#getdefaultaction() uimanager#getdefaults() timezone#getdefault()
d;map#getordefault(object, v)
default V getOrDefault(Objectย key, Vย defaultValue)
throws ClassCastException, NullPointerException```
Returns the value to which the specified key is mapped, or defaultValue if this map contains no mapping for the key.
defaultValue - the default mapping of the key
key - the key whose associated value is to be returned
ClassCastException - if the key is of an inappropriate type for this map (optional)
NullPointerException - if the specified key is null and this map does not permit null keys (optional)
the value to which the specified key is mapped, or defaultValue if this map contains no mapping for the key
d;map#getordefault(key, defaultvalue)
default V getOrDefault(Objectย key, Vย defaultValue)
throws ClassCastException, NullPointerException```
Returns the value to which the specified key is mapped, or defaultValue if this map contains no mapping for the key.
defaultValue - the default mapping of the key
key - the key whose associated value is to be returned
ClassCastException - if the key is of an inappropriate type for this map (optional)
NullPointerException - if the specified key is null and this map does not permit null keys (optional)
the value to which the specified key is mapped, or defaultValue if this map contains no mapping for the key
d;spigot block#settype
There was no direct match for that query, did you mean any of the following?: block#gettype() block#settype(type) block#gety() block#isempty() blockstate#gettype()
How intense is Bukkit#getScheduler()#scheduleTask
not very
I kind of don't want to have a runnable since this gives me more leniency
not as intense as this search algorithm which seems to be slow af
didn't really want to go the parallel route on mere searching but I might have to seeing how slow it is
although the jdk is massive, it won't do that for all of them
speaking of which, 11 is default now, not 8
Pig, would it be possible to make it so it's like Block#setType(Material) instead of Block#setType(type)?
d;block#settype(material)
There was no direct match for that query, did you mean any of the following?: blockview#setparent(parent) rowset#settype(type) window#settype(type) baserowset#settype(type) label#settext(string)
who pinged
d;spigot block#settype(material)
void setType(@NotNull Material type)```
Sets the type of this block
type - Material to change this block to
you can use the type
and the name
and the full param
material type, type, and material would work
huh? That's new to me :o
@quiet depot awesome work ๐
thanks
I think we're definitely going to use this
if you need any docs added, just let me know here https://github.com/PiggyPiglet/DocDex/issues/14
Javadocs hosted by the official docdex instance, https://docdex.helpch.at & https://piggypiglet.me/docdex. Please request new javadocs here. jdk8 jdk/jdk11 jda 1.16.4-latest-spigot 1.16.3 1...
Long ass list holy shit
Did you build the javadoc yourself for consistency or did you actually write a parser that is sensitive to the differences among javadoc versions
I can't post pictures?
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
its like tier 2 or something that you can upload them directly
oooo
I can post pictures
ur so cool!
Thanks!
I just get stuck here and there ;D
You don't see the issue, do you?
getComamnd
Why am I so dumb
im actually built different
it doesnt happen to me
bugfree code 100% of the time
My man pays for IntelliJ
MHM
parser is sensitive to different versions
it'll work with 3 different javadoc versions that I'm aware of
although 2 and 3 are super similar, so it's basically 2
in the code that's "new" and "old"
http://trove4j.sourceforge.net/javadocs/ this however
it doesn't support that
Ok when i worked with this this was my biggest pain point
and I don't plan on adding support for it because it looks so fucking old
Because every time I thought I had it I discovered yet another edge case
yeah lol
I think my parser is relatively robust now
there's still bound to be some minor issues tho
That's great
what is the point of a proxy repository. i have a sonatype nexus repo that i host and see that one of the defaults was a proxy to https://repo1.maven.org/maven2/. does this just mean that i can use myurl/repository/maven-central and it will pull from there?
yea i assumed so but whats the point then
like wouldnt I just use the url of the actual one lol
ah so like a big proxy that pulls from mavenCentral, jcenter, and others
I guess
oh i see you can proxy each individually then make a group
thats kinda cool i guess lol
Bm how do you have that VIII role
talking a lot
he talks a lot
hes loud
he talks the most
Wait James u have it too
nope
You have V
he's tier 8
oh the one to change the color
its a booster thing
Like we all have โTier whatever [whatever levels]
=xp lb
But what about the role thatโs JUST V
soonโข๏ธ I'll be 2
That you have
you see each 10 levels you go 1 up
@oak raft we both are boosters, and boosters overshadow the tier role, so theres a command to show the color over the booster role
Why donโt I have it, or you
ahhhhh
Oh I eee
it gives no perks its just the color
Ohhh ok I get it now
if i take it off im pink
https://paste.jaims.dev/jojevunoga.java just rediscovered this digusting code lmao
ur mum
thats really good
I like the way there are no spaces between lines
it was u james???????
it really highlights the key elements of the piece
me too its super readable that way
๐ ๐ ๐ ๐
And there you have it folks, that single method describes every event from the big bang to date.
imagine wasting resources to reference a config/database
ikr
pog
slows down performance
all about high speed
thats that single methods
entales all elements of an efficient program
cant be wasting precious cpu time like this
Yea my guy just implemented code inlining in java by integrating his mind to inline it for him
.getBlockAt(-22, 89, 5). This just gives me goosebumps
deep the efficiency
no lookups
so powerful
straight to the point
so simple
accurate too
so efficient
Fuck OOP, we going to back to precedural
๐ช
fr yugi
its just so much better
even my naming conventions are incredible
lowercaseeverything
true
Your programs slow down your programs
hes trying to limit the required memory by using the same sized letters everywhere so no need for there to be 2 different ascii codes for A and a
Time to not write programs for maximum efficiency
thats art
if you want efficiency why aren't you using elara
All of our algorithms have been hand-optimised
๐ฎ
I was young and uneducated. I didn't know of the great Elara.
How naive
1 more level and we have support bm
10 more levels*
tier 9 is level 80-89
The second whenever I remember to turn it on
First one is the usual convention for java
Second one is commonly seen in c, c++, c# and probably a few more
ye ive noticed that
Yeah
Nah
Personal opinion, probably biased, but first feels more natural in Java
imagine having {}
You get used to it, I think it's a lot better
It's clearer where a block starts and ends
The indentation already serves that purpose ussually
idk why but i look at it and it just seems dry
Dry?
dry as in?
but its dry
I have no idea
it dont flow
To me it just looks a bit out of place and annoying
It does though - the start and end of a block line up in Allman
I think i mean more typing wise
Again, indentation already does that tho
Why stop there though?
Why not stop there tho?
I usually type in K & R and just get IJ to convert it
ah
Because code is supposed to be as readable as possible
yo would it be possible to move all data from a dedi to another? Like automatically or something?
It is no less readable
tell that to kotlin and c#
if (boolean) return true;
if (boolean) {
return true
}
if (boolean)
{
return true
}
which one there
second
c# uses that convention yet c# is incredibly unreadable
C# has other problems though
Also
yup
i prefer first on that other one tho
C# isnt that bad
No braces
just takes time to get used to
doesnt C++ use UpperCamelCase for naming methods?
Sadly
|| Ever heard of Go? ||
That is just because you are used to Java conventions
C feels like you're totally in control
I did a little bit of C for my uni project
PoV matters
Why is there no one country?
there was
Why don't we all speak English
we should
Why arent we all one being?
?
Lmao
what
CoC?
Sure, 10 minutes
But what about procrastinating that?
again
dont respawn
Dammit, didnt think of that
๐ฅฒ
Actually nah can't do COC today, really need to do some work
Been procrastinating for ages
join the club
rip
im sure the procrastination was worth it so u can reach tier 8 tho ๐
Indeed it was
or just simp
๐
Would anyone mind helping me setting up Intellij build configuration? Switching to Intellij but I can't get my head around the build config problem I'm having
Whenever I create a new project I can't run the program and have to click this Add Configuration button first, but I don't know what to do from here. I somehow was able to do it in the past but I can't seem to do it anymore
https://i.imgur.com/alNgspS.png
^
Alright I'll give it a try
when you make a project do file > new > project > gradle and it will setup the base project layout for you
Ah right okay. How does gradle differ from whatever is default?
its a build tool that lets you provide repositories and dependencies without ever actually downloading anything. it will handle all the downloading of stuff and shading it into your jar, and it also has a ton of other useful features that you probably wont be needing quite yet
^^ Gradle is 2 things:
- A build tool, in charge of compiling and packaging
- A dependency management tool, helping you keep track of external dependencies (eg spigot)
it's also incredibly fast
you can usually rebuild a small project in less than a second
maven is a similar tool, however its slower and worse syntax and everyone here hates it lmfao
So how do I add the spigot api to my project. Previously I would just go to here and add it as an external library: https://i.imgur.com/uvws6Cd.png
you would add a few lines to your build.gradle file
in this case, a repository for the spigot jar, and a "dependency" to say that you want to use it
you would add a repository
repositories {
// ...
maven { url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
}```
and then the dependency
```gradle
dependencies {
// ...
compileOnly "org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT"
}```
bm
hm?
๐ฅฒ
๐ฎ
burn it
and the sad part is
hahahahahahahha
WTF is this
clojure in eclipse light theme
hahahahahahahahahahaha
this tutorial will path the way for newcomers, meaning more people on eclipse
THIS is why CLOJURE is BAD
this is how so many people end up using eclipse
Also,
java is bad ๐ฅฒ
at least it has a repl
bristermittentutorialsโข๏ธ
Thanks, I'll see what happens now I guess. Time to learn Git once and for all.
uh, is having a repl on important?
You don't need git for this, but that's a good idea
I'm developing a second version of my plugin
According to Johnny most of the development takes place in the repl because you can easily test stuff
good luck! if you run into issues let us know haha
So I figured it's time to get version control sorted
smart
bruh i recorded one earlier and you could hear so much spit in my mouth, i think uploading it would be a crime
that profile picture is cursed
lmaoo
is episode 1 out yet
no
before: mouth is too dry
after: mouth is too wet
๐
im gonna need a ping when it is uploaded
ill send the audio if you want but im pretty sure its unusable
maybe an everyone ping
I mean the one you uploaded earlier was fine
yea BM send it
and i've reworked the slides since then
so
ok
1 sec
ill just send a bit cuz the whole thing is like 15 minutes
kk
Sure
i also feel like you think its worse just cause its your own voice
yeah it always sounds worse on mic
on a scale of 1-spit everywhere, how wet was ur mouth
eleventeen
๐
but there was like popping every now and then
๐
๐
So after adding those two lines to my build.gradle file, is there anything more I need to do? I'm getting "cannot resolve symbol" on my bukkit imports
send your build.gradle
#development for support pls
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
compileOnly "org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT"
}
test {
useJUnitPlatform()
}
yes, #dev-general is to talk about wet mouths, not support
i mean it's not awful but it's noticable i think
yea lets move to #development
exactly
okay
the audio effects helped
you cant even hear it
i had to listen twice to hear it
I swear I have heard that sound somewhere else
it's pretty noticable right at the start i think
i hear it once at the start and like 2 seconds in
or rather voice I mean
yeah
And not from the other upload
tbf might just be the accent
yea i do hear it at the start but its really not that bad
lol possibly
especially if its a perfect take lmao
do you think it's usable?
yes definitelky
Yea seems fine
ok great
ill try edit the video tomorrow
i think this is the worst one
and i might be able to remove it
Java
wor-ter
lmao, in the other clip, ur Ts were missing bro ๐ฅฒ
Learn how to say Java with EmmaSaying free pronunciation tutorials.
classic uk
Our friends from England sound funny!
which ones lol
i was actively trying to pronounce them
at the end, wha- i- actually is
๐คฃ
cant resist the bri'ish genes
xD
yeah its tough lmao
oh yeah lol
it feels weird pronouncing Ts for me
Javaur
ngl it sounds kinda nice
accentism
but its still funny
chewsday
lmfao
yup lmao
BRI'ISH
Chewtube
How do i get FAWE maven repo for 1.8 ;-;
u seen that trump fella, e's been banned from twi'a!
hes been an absolute neusence(?) on tha platform!
those yanks need to get their act together init!
init!
init {}
God save the Kotlin
Andrey Breslav was indeed one of the Queen's guards in disguise.
yes he is
You'd think
he handed on the kotlin leadership to someone else, so that THEY can add TUPLES!
This all plays into a huge plot ending with the hidden rulers
I doubt they will though ๐
just keep hoping ๐
He was removed after he started making kotlin too powerful
idek what tuples are
just finished umbrella academy today
Nice
https://web.archive.org/web/20171003092032/https://github.com/boy0001/FastAsyncWorldedit/wiki/API YES
FastAsyncWorldedit - https://www.spigotmc.org/resources/free-fast-async-worldedit-ฮฒ.13932/
using web archives just to find a 1.8 plugin
Fast Elara World Edit
tell them to upgrade ๐ฅฒ
no
ah yes, great soln
slow elara world edit
Good idea
will attract many people
https://web.archive.org/web/20181226090555/https://github.com/boy0001/FastAsyncWorldedit/wiki/API ahahahhahaa
Blazingly fast world manipulation for artists, large networks and developers: https://www.spigotmc.org/resources/13932/ - boy0001/FastAsyncWorldedit
yes
finally
wait
Then we can have Elara World Edit, Fast Elara World Edit, and FASTER Elara World Edit
The monopoly
Yea i think we need to put an Elara spin on them though
hmm
We should probably also decide on a contract syntax that isn't hideous
true
I mean ussually you could get off with using the "Generics" or type syntax
should I use compile?
Yeah it's just ugly though
No
compileOnly
same thing?
compile is deprecated
will compileOnly work?
Yes
thx
what about something with where? So like ```
#T where T.add(T) => T
let sum(T a, T b) => a.add(b)
Maybe not* #
But
Hmm
I mean that just the current one with # for angle brackets and where for colon right?
๐
<T: { T.add(T) => T }>
what about conflict with other structs?
example?
Ok wait no, I guess it does work out,
#T where (T.name) | Person```
what's the | for?
A contract that it could also accept valid contracts of Person
Yes
Makes sense
I can see why most functional languages don't use braces
This gets pretty messy
hmm
type Person = T where
T.name: String,
T.age: Int,
T.eat() => Unit
I think this looks good tho
Then the same syntax for anonymous contracts with #
fair enough
Also I still think we should take advantage of the mut keyword to distinguish stateless and stateful functions
how do you mean?
as in to mutate a external variable it requires the function def to include a mut?
like ```
type Person = T where
T.name: String
mut T.growUp() => Unit
T.printName() => Unit
Yeah kind of
That's a bad example
But yeah, you have to use let mut or something if you define a function that changes any state
Rust does it with methods, which take a &self pointer - if you want to mutate self, you have to have a &mut self
hmm, maybe just impure?
perhaps
mut already makes a function definition mutable
Yeah that's the problem
maybe we should reconsider how we handle mutable variables
Perhaps a different keyword
let for immutable, var for mutable or something
Although then we might as well use Val and var ๐ฅฒ
๐ฅฒ
wait
i have a revolutionary idea
what about let var
i bet u havent thought of that!
oh god

๐คฃ
Elara is in a strange state of functional and imperative
classic ๐
Like it's technically "functional" but we have a lot of imperative features
Return statements, mutable variables, etc
It's weird
perfect for the jvm!
๐ฅฒ
Is there a way to see the whole list of the icons (like what package names that it shows icons to)
idk
Atom File Icons btw
theres alot of different icons
might as well make an esolang if we're doing that lol
but yeah I think we need to sort out a proper idea - do we want Kotlin / Scala "functional" or a more traditional functional?
I think a mix is going to be what works best
I agree
just mix all the languages together, fuck it
Ah yes
have abit of clojure, kotlin, java, c, assembly, js, py
So on that note, how strict should we be about certain things? For example if mutable variables weren't allowed, we could use let mut for mutating functions
itll work flawlessly
Can I give an honest opinion about elara? Or rather your discussions of it that I've seen
kt {
val x = 5
}
java {
final String a = "Hello " + x
}
c++ {
cout<<a[2]
}```
Absolutely
๐
Even if you say it sucks, I would love feedback
yugi, that is beautiful ๐
This is in good faith: I feel like you're focusing too much on the details of the syntax, it would be more productive if you actually thought the entire thing through once and decided what concepts you want to have and what the language should be (beyond surface level descriptions)
Still love the things you come up with though, very interesting lol
bm, do u have anything to object against yugis NEW and REFORMED version of elara
Everything
Wha?
Elara Mitten
oh
u seem to have put a ๐คฎ reaction, would u care to elucidate?
that
In my mind what I want it to be is the richness of Kotlin, but with even more - mainly in the type system
Well I also think it's too ambitious to actually become what you have in mind but I don't feel the need to point that out because to me that wouldn't really matter either. I'm sure it's fun anyway and you still learn something so
It might be way too ambitious lol
yo could someone help me out, I need to verify my discord with a phone number..
But it's been fun so far, and that's the important bit
this my alt,
what would be a good name for a util class where I parse placeholders and translate chat color codes
yo could someone help me out, I need to verify my discord with a phone number..
StringUtils
sure, go to haskell.org
You can find all the information you need there
lol
java utils name is [Class]Utils iirc what bm said
I love this bit it's so stupid
smth like that
@prisma wave I need someone with a phone number to help,
Ok
um
haskell.org bro
Many members of the Haskell community have phone numbers
use your own number 
oh
YES
phoneNumber :: IO Int
@half harness why do u think im here I don't have one,
๐
@old wyvern ?
you said use ur own,
how can you survive without a phone number ;-;
Have you considered asking in somewhere that isn't a support discord for minecraft plugins
๐คฃ
Yes?
i cant tell if this is a troll or not
@half harness Natural resources duh
and someone wants to prank call
๐
yet you're on a computer right now
@old wyvern you pinged me thought u needed something
@half harness But do I have a phone though???
he said use 911 number
um
Just gave you the number you were looking for
Exactly
I need a kit plugin that works with placeholderapi please help
been looking for days
lmao
just buy a phone, not hard
@old wyvern LoL
I need a kit plugin that works with placeholderapi please help
been looking for days
he said he has a phone
another one
@onyx loom what do I need one for other then a number
lol
What exactly do you need?
use one as a trap phone ๐
Khalid
you will need to import Data.Text for much more efficient string handling
Buy a sim card ๐
I need a kit plugin that works with placeholderapi please help
been looking for days
๐ฅฒ
๐ฅฒ
@neon abyss just look for "receive sms online" its really not that hard
aren't those fake?
ugh PAPI? what for?
ยฏ_(ใ)_/ยฏ
idk blitz
I just need a kit plugin that works with placeholderapi please help
been looking for days
go to media
media?
k. bye
Call the price of Nigeria
Are you writing your messages to be haikus?
EssentialsX
wow. so much for a "support" role
โ
โ
โ
yall don't have a media
โ
Yup
I guess not
We live in an unfathomablly old society
you don't know what a media channel is dkim? @half harness
uh
@half harness You don't have to reply to literally every message with the same thing
showcase ๐ฅฒ
sry i cant find media channel
tail :: [a] -> Maybe a
tail [] = None
tail [a] = a
tail [_:a] = a
We are using tree branches and lightning to run discord using coconut o.s. 3
Have a nice day
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
I need a kit plugin that works with placeholderapi please help
been looking for days
this server doesn't have a #media channel afaik
oh me too!
Do you need a media channel?
yeah, been looking for days ๐
Well you're luck
me too!
I want one that works with MVDWPlaceholderAPI ๐ฆ
yuck
๐คฃ
placeholderapi ๐
Try replacing that with daddy
MVDWDADY
No
โ
Thats fake

fake
MVDWdaddy is a conspiracy
MVDW
Gn
4am ๐ฉ
๐ฅฒ
gn yugi
what if u just pass 1 instance of a utils class? would that be acceptable to u bm
lol
If it's stateless, it doesn't need to be a class
Any other language wouldn't have it in a class
how about this
Thumbs up
The theory of object oriented programming can be summed up in one sentence: if it's stateless, we need to make it stateful. - Alan Kay
+1
also so many emojis
:smiling_face_with_3_tears:
emojis good
:what:
lol
@neon abyss dont use all caps in a message
o
as soon as he typed that
wut
i kinda wanted to see what he pinged me
ok
uhhhhhhhhhhhh
oh
XD
nice ๐ ๐
lol
lmaoo
@compact perch is a good bot
he ~~always ~~ prevents spam and logs very nicely
anyone know a bot that logs like barry?
Anyway, back to my original point
I think what I personally want from Elara is a language as versatile as Kotlin, but with improvements in the Type System and less noise
Like Kotlin is great, but big class structures can get pretty messy, so I wanted experiment with FP more, even though I still don't know that much about it
What I was doing (idk about yugi) is just trying to combine the best features from every language (even if I've not used the language enough to really understand it)
So in conclusion, I'm hoping for elara to become Kotlin but simpler and with a few richer features
lol
xp ๐
Idc about XP anymore
lol
sounds like a great language!
In theory
UHHH
I really think you'd enjoy getting more into language theory
I think so
Honestly you'll need to for those ambitions lol
I love designing languages even if they aren't practical
XD
Yeah lol
I mean is not the first but I loved the request-paid one
theyre always great to look at
That's going in the best of showcase album
xD
I think I'm just going to forget about using git from within intellij
It's just confusing me
I learned some basic command line git in uni last year so I think I'll just use it from the command line tbh
Yeah I'd recommend you get a basic grasp of the command line at least
Then the GUI stuff makes more sense
I'm only using the command line
?
I get that part, but it's also very doable with the cli and your regular editor imo
ugh
I burned out now. Genuinely not focused harder on learning something new in such a long time
