#dev-general
1 messages · Page 432 of 1
Maybe they are
But I'm sure you'd know that Linux has multiple benefits over windows once you get your head around it
Monads are the focal point of your life
windows also has some benefits
yes but there's also people who are perfectly happy with wsl & don't see the benefit in going full linux - personally I don't know if there's a benefit in going full linux
why does discord always autounmute when i join call 😠
Omg this is a unique time in history
but the paradigm does have the potential to make much cleaner programs in some situations
Also monads aren't FP exclusive - java has a few in the form of Optional and CompletableFuture afaik
Haskell just has them baked into the language
make the most of it
ic
woww
hello
i can TALK
have you ever heard of haskell?
yes you can?
dammm'
❓
am so cool
@obtuse gale
the unique time has ended
a whole 4 minutes
i have proof
ok thats cool and all but have u heard of haskell
^^
but
but?
ahh
nice.
tf
nice.
no need to shout.
very smart big brain
rip
extremely big brain
That must have been the record of quickest mute
lmao
3 minutes after joining
hes not muted
]]sad
Lol
hi
@upper meteor
needed some help
This man has the tinniest fucking brain
what is going on
what does thou need help with Rish
some stuff
what do you need help with rish?
dw fefo 🥲
i want @upper meteor back
i basically made a rank shop how do i make it check that if the player has rank above that rank or the same rank it doesnt let the player buy it
using deluxemnus
if you go in a room full of people and say "do not panic, the room is not on fire" what do you think they'll do
❓ ❔
saying "don't worry" will not make me not worry
not panic of course 🙂
Well should have thought about that before acting dumb
they won’t panic... you literally just told them not to panic why would they panic
they said dont panic, so dont panic 🙂
they'll sit back down and go back to what they're doing
i want roxannetuna back
this is basic psychology
think before you speak fefo...
y
smh
is cool
shes a pet
lmao
in need of master
🥶
absolutely classic
ask him to share atleast
least he could do
hed probably stab me
what kind of erp is this lol
in times like this bm there's only one thing you can do
pull a cursed fingerguns face irl
ever heard of Simon Peyton-Jones

lmfao
LOL
do u live in birmingham or smth?
shame
Nice
close enough
shame
good
probably 17 ish
He's talking to some underage girls in school uniform
Which is also classic
😬
do they actually go stabbing people?
bring roxannetuna back or not cool
🥶
I'd rather gay ngl
like the rats here talk shit but will shit their pants from an 80 year old
u never know til u try bm
🥴
continue to do what you are doing
just like that shizuka
loll
lol
Lmao
hes gone
yes. he was banned
Well that was pretty easy i'd say
fastest ban too? 🥲
ban kaliber soon™️
Probably not
fastest ban/mute awards would have to go to the bots whenever we last got botted
=stats joins 360
Command Usage: =stats <object> [days]
Currently Tracking Stats for:
messages, commands, images, words, xp, levelups, wins, daily, users, ecloud, ecloud_breakdown, top_channels, top_users
=stats users 360
Do I get the slowest ban award then?
yeah
lol
when that peak was
love to see it
sounds like someone botting lol
thats what piggy said lmao
Lmao
fastest ban/mute awards would have to go to the bots whenever we last got botted
don't you expect me to read people's messages, young boy
it'd take forever to do it one by one
i will expect it
machine learning dkim
like... how
obviously
barry learns on his own
during the botting
large numbers of people joining at any one time
and got banned
we don't immediately ban them
barry actually can't ban people iirc
it's a security risk
Barry is a smart boy
pog
sad
idek if trusted can ban people
I think they can
not 100% sure
they can definitely mute people but idk about ban
=ban
they can i think
=ban @humble silo
=shapeofitaly @half harness
remember Gradn Judge
what
its a boot
=dadjoke
Where did Captain Hook get his hook? From a second hand store.
My wife told me to rub the herbs on the meat for better flavor. That's sage advice.
reacting to your own message 
yes
Minecraft I think
wrong
Does this look right anyone? Im trying to integrate project jigsaw rn
Where would i put the tests now? Im assuming i would instead put a src.main.java and then put the sources target on java instead
src/test/java
ew what is that
src/main/java for main sources, src/test/java for test sources
Even using project jigsaw? In alot of cases people didnt even use src and just put the actual module under src
yeah people are stupid
also, that implies that they don't use a build tool
which is even more stupid
because Maven, Gradle, heck even Ant and Ivy use src/main and src/test
actually I take that back, Ant and Ivy do not
The majority of things ive looked at for this list that as a way of doing it, so i think it workks
I used to use ant when i started out... not fun
module info should go in the base package though I think
how does it say you build the project?
yeah this
is there any XML or .gradle files in the root?
How do you host javadocs on github?
ok more like this?

Très facile
no
in net.yakclient.mixin.base
hmm, ill try that but i dont think IJ will let me put one there
It's supposed to be there though
ya it wont
it moves it up to where i placed it
if you look at ASM for example this is how they structure theirs
hm weird
I must have misremembered
np
is barry open source?
sadly not
oof
d;spigot Objective#getScore(String)
@NotNull
Score getScore(@NotNull String entry)
throws IllegalArgumentException, IllegalArgumentException, IllegalStateException```
Gets an entry's Score for an Objective on this Scoreboard.
Score tracking the Objective and entry specified
entry - Entry for the Score
IllegalArgumentException - if entry is null
IllegalArgumentException - if entry is longer than 40 characters.
IllegalStateException - if this objective has been unregistered
Johnny, should i add a module-info under my tests too?
or anyone that knows for that matter
ahhhhh, i see how this is suppose to work, god this is actually really great
whoops wrong channel
considering that I apparently didn't remember where you put your regular module info correctly, I'm probably the wrong person to ask
package me.lucyy.testplugin
import org.bukkit.plugin.java.JavaPlugin
class TestPlugin : JavaPlugin() {
override fun onEnable() {
logger.info("am i doing this right?")
}
}```
Yes
:D
Yes
However could use
override fun onEnable() = logger.info("Hello wurld")
imagine not extending your own javaplugin implementation smh
imagine having your own javaplugin implementation smh
lucy docy
conclure
hi
Horrid language
its actually not bad
nauseated_face emoji
ive gotta admit i miss semicolons
haskell has semicolons 🙂 👍
haskell is bad
source?
lol
she did not say that
kotlin has semi colons
I mean I said joe mama
just optional
oh nooooooo
this u?
!("true".equals("true") != true)
doctored image
yea i used to

you'll get used to it
#dev-general message yes its doctored indeed
doctored link
😂
That's cursed using Kotlin with maven
gradle
Gradle
:O
gradle
become gradle afficiando
i hate gradle
no you dont
lmao yes i do
gradle would not have this problem.
hating gradle is a bannable offence
no you dont
plugins {
kotlin("jvm")
}
And boom you added Kotlin
but maven >:(
no u
it's slow as fuck
Slow, ugly, xml
no u
it is a snail compared with Gradle
ok yeah xml is kinda a pain in the ass
but its what i know
i cant for the life of me figure out gradle
oh it's easy once you get used to it
Doesn't mean you can't learn it ;p
Groovy is a bit strange to get used to
why use xml when you could use yaml
because of the way you can call functions
that's why you don't use groovy
EBT uses YAML
yeah Kotlin DSL good Groovy DSL bad
plugins:
kotlin: "jvm"
repositories:
url: "mavenCentral"
dependencies:
compileOnly: "org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT"
beautiful
json when
plugins {
kotlin("jvm")
}
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib"))
}
```ez
not that hard
you can always write json when you're supposed to write yaml 🙂
I mean, at least Maven isn't SBT 🥲
"plugins": {
"kotlin": "jvm"
}
"repositories": {
"url": "mavenCentral"
}
"dependencies": {
"compileOnly": "org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT"
}
libraryDependencies := "dependency"
smh that's invalid json
Is it? xD
yes
all JSON must be wrapped inside of an unnamed root object
I think it's valid yaml
probably
anything is valid YAML
incorrect
YAML is a mess though
Just switch to hocon nerds
that's the joke
Imagine not defining the api version
why bother
If you support legacy you finna get shot
It'll mess up if you use Materials though
{:plugins [(kotlin "jvm")]
:repositories [(url "mavenCentral")]
:dependencies [(compileOnly "org.spigotmc:spigot-api-1.16.5-r0.1-SNAPSHOT")]}
blessed image
clojure gradle DSL
🤨 😫
Yes lucyy
Not API but the paperclip jar under the Legacy section in their downloads page
yeah ive just found it
consider not doing this
Damn wrong reply, ffs mobile
lmao
why tho
Yeah mobile version sucks fr
1.8 bad
obviously im not going to actually try to support it
paper team will look at that 1 download you contributed and assume it's a genuine 1.8 user
All my homies hate legacy
it doesn't matter if it works or not
Almost forgot, gotta shoot Pulse in the kneecaps for supporting legacy
Oh no, not his nico nico knees
why in the kneecaps tho
More painful than death
u sinister
mc 1.8 just decided to put itself into fullscreen and disable 2 of my monitors
thanks mc
appreciated
did u shoot me yet
ok sorry for subject change but can you think of any downsides to slapping a comically lightweight distro (let's say arch + i3) on my shitty laptop and then using an Azure VPS to remote desktop as an actually usable machine while I'm at school
almost done my bedwars 1.8 plugin 😤
gross
latency
meh
it's not that bad, school wifi is decent
and it doesnt need to be instant response time
just usable
fair
wow my plugin actually works on 1.8
this is great
bruh wat
i3 is great
best wm
yeah it has no nice effects and stuff
This dude alright?
i need mah shadows
neither does i3
picom
🥴
God dammit Frosty did you give LSD to your cat again?
can you send your i3 setup
I didn't realise it was possible to make it nice looking
Oh I've seen that
Thought that was all with magic self made themes and stuff
Too much effort
piggy challenges
^
post people post their dotfiles
Check this out too
btw piggy didn't make the challenges, that github repo is just his submissions
just a little fun fact
that you might have not known
2017 👀
no
go on sidebar
instead of clicking gradle
click kotlin
either work
click haskell, then stack, then new Haskell project
you just want kotlin
lol
yes
secret
jk
bm dm advertised to me
so i joined
select None for test framework
assuming you won't use tests
is there an obvious way to cleanly deal with all of these exceptions, or is this as good as it'll get
then press next
uptime: 2 minutes
weak
yeah minecraft 1.8 decided to break xrandr
1.8 🥰
<3
do u play 1.8
hell no
lol
You don't
idk, you just chat and run =daily daily in #bot-commands
what's the exp rate?
other rumor has it its about 0-10xp per message
i better get grinding then
cause i dont talk too often sometimes
no way just 10 max. there are messages that give more
like 40+ and that's without boost
Have been doing it for over a year now 🥲
please someone save me
i have around 3 more levels before tier 5
oh
dw ill get you banned from discord
just stop. I'll finally take top 3
bcz I'm stuck at 4
I can't sorry
well then I guess things will have to get messy
Not until I reach 420 days
I really hoped you'll take my warning and tdo the right thing
well I ain't stopping until 69420
gonna take a while but I'll reach the goal
eventually
I'll just have to live another 189 years
no, it removed void
without losing the daily strike
have fun blitz
It doesn't actually
Lmao
Lmao
i have
Unit replaced void 🥰
/s
override fun
not my ipods D:
you don't need public
Override is a keyword not an annotation
in kotlin yes
I mean that's what we're talking about
sova op
team diff
is what you meant to say
*bottom
every game '
🧢
I outfrag the fraggers 
complete cap
well u can if u want
ok
kaliber play valorant
csgo nerd?
no
yes
Ah Can you guys see At my store I have Just Opened It and I am Seeking For some friends TO see It and Find What could be changed
Nerd
why is this nerdy
Wtf you trying to do? xD
Because
i only have 2.5k hours on the game
nerd
that's just String[], ask matt what the out means
Ah
lmao
Cute
its if (sender !is Player)
Not sure how practical those pipes are tho
Smart casting 🥰
🥰
Same as ? extends String
lol
what about in?
haskell 
obviously theyre only for the screenshot, i dont just leave it running
basically contains method
No?
no not that
Array<in String>
as
sender as Player
yep
smart casting
I cant blame you frankly
marks a type parameter as contravariant
<out String> == <? extends String>
<in String> == <? super String>
ive actually never seen in being used like this
? super String as in a superclass of String?
Eg ? super Integer will accept Number
not quite
but it's similar
Yeah, but for simplifying for Dkim
rippp
Kinda confused but does ServiceLoader.load(DiscoveryDirectoryProvider.class) only return a list of the classes that are loaded by the classloader that implement that interface? Because it seems to change.
thx
👀
Hows the update going matt
Should be done soon
why
tell me reason
no dont use static for that
do this instead:
matt lemme talk
i wanna say it
thanks
so
instead of static
companion objects
.
and @JvmStatic
make a package, maybe util, then make a kotlin file named StringFunctions
O damn, PECS
well
Nike
tho gaby needless to say its very beneficial for nested generics
If only you talked in just one sentence lmao
return
for instance if you just have a regular List<String> then it in principle wouldnt matter whether forEach would be a Consumer<String> or Consumer<? super String>
Efe what are you trying to do? That you "need" static
fun main(): Return
add chatcolor util
i forgot the name
Make it a top level function
companion object 😄
fun String.color() {
return colorMethod(this)
}
^
fun String.color() = ChatColor.translateAlternativeColorCodes('&', this)
extension function
lol
I find it amazing that you can use Any?.function 🤣
how is he suppose to remember such thing lol
java: modules are not supported in -source 8
(use -source 9 or higher to enable modules)
why
lol
gradle
🥲
It was introduced in Java 9
plugins {
id 'java'
}
group 'net.yakclient'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
compile 'org.jetbrains:annotations:20.1.0'
compile 'org.ow2.asm:asm:9.1'
compile 'org.ow2.asm:asm-util:9.1'
}
test {
useJUnitPlatform()
}
gradle
fix
im using 11
11111
don't put it in a class
I english good
and you don't need all that just make it 1 line
fun String.color() = ChatColor.translateAlternateColorCodes('&', this) @obtuse gale
@obtuse gale
efe look at my examplee
is that not 11?
I will try to be coherent now
try setting in build.gradle
targetting a specific jdk?
sourceCompatibility = targetCompatiblity = JavaVersion.VERSION_11 or something
EW
EW
lol
That will make the code compile to that specific version
On gradle set this in the JavaCompile to 11 and make sure you have the language level to 11 as well in IJ
sourceCompatibility = "11"
targetCompatibility = "11"
lol
JavaVersion.VERSION_1_8
yes
Components when? 😢
Ill try that, everything is already set to 11 though
Didnt fix it unfortunately
to be fair, coding is quite boring to watch
especially if ur not talking
hey, theres a reason why no one watches my stream in #164280495964815360 😢
oh
i thought u were muted
Ive concluded i should quit java and go homeless
LOL
best life choice for me rn
duel me one more time 🥺
last time was awesome
in mc?
you have a autlicker or something rn?
but
well not right now
also
autoclicker 👀
lol, fix my issue and i will dule u
whats ur issue
also i have class soon
so uh
java: modules are not supported in -source 8
(use -source 9 or higher to enable modules)
everyone needs u dkim
show me build.gradle
theyre kinda redundant
plugins {
id 'java'
}
group 'net.yakclient'
version '1.0-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
compile 'org.jetbrains:annotations:20.1.0'
compile 'org.ow2.asm:asm:9.1'
compile 'org.ow2.asm:asm-util:9.1'
}
test {
useJUnitPlatform()
}
wait constructor is a keyword in kotlin?
Yeah
what if you try invalidating cache & restart
For secondary constructors
good idea
what if I intentionally created a static method in java called constructor
would that break?
Nah
like u would wanna use it
if u wanted an item builder in kotlin u can do smth like
Item().apply {
material = material
name = "item name"
meta = meta
}
instead of new Item().setItem().setMeta()
param: String = "default"
I can't lie generics are one of the most confusing parts of java and kotlin
I still don't understand them

I hate life
java: modules are not supported in -source 8
(use -source 9 or higher to enable modules)
elaborate 😄
Looking for useful libraries/frameworks?
Here are some which have been deemed useful by the community and are used daily.
-> Menus: https://mf.mattstudios.me/mf-gui/gui
-> Commands: https://mf.mattstudios.me/mf/mf-1/getting-started
-> Messages: https://mf.mattstudios.me/message/mf-msg
its just gui
in and out scary
the item builder is in gui
shading entire gui lib for itembuilder 🥲
Scary
oh well I mean yeah extends and super took a long time to understand
bro just minimise
yes
:+
im a contributer 😤
It's all in the link lol
im a contributer in one of matt's projects 😤
@ocean quartz remember what I said about smart cast? :))
an honor
I dooooo
lol.
dkim if you can make it into luckperms repo then I will respect you
hm
does changing the readme count
You can combine java and kt, or just convert the code
hey guys can you see My store and tell me some Changes I could do in it . it's link is in #showcase
Still mad about this shit
java goes in src/java and kt in src/kotlin
Should have made you remake it
lmao
😢
I think java is broken
oh no
forever
u dont even code in java dumbo
Everyone quit all JVM based languages
ye lol
;-;
Thoughts about c#?
java with 10 blocks reach
Why would you ask in this channel?
F# better
lol
lol
.from()
:)))))
Sry I will delete the msg
that's absoultely fine idk what you're talking about
its fine milind
but remember this is dev general so you might get totally ignored for such questions I assume
yeah. this channel is more of a trolls nest
if its not development and its not one of them you can't talk about anything else
suprised that mentality hasnt moved to #developer-chat yet
I don't know what you're talking about
@ocean quartz I got an idea for unbreakable
that chat is still growing. Not fully alive yet
very dead
You can fix that mess?
What mess xd
Agree
well not 100% dead. Its starting to grow slowly but surely
The unbreakable 1.12- mess
Matt
Oh, I think
Glare would kill me
His problem
its getting better i guess
Fuck legacy, and people who still support it
And Gaby
fuck you frosty
When and where
deluxemenus 
😏
tonight my house 😊
I'll be there!
Yes, should drop legacy there as well
threesome 😳
- gonna bring a friend as well

@ocean quartz was the issue that on 1.12 you had to do it though spigot()?
I don't think it worked even with spigot()
There is none
d;javadocs
Spigot javadocs, 1.7.2 -> latest.
• 1.10 • 1.14.4
• 1.10.2 • 1.15
• 1.11 • 1.15.1
• 1.11.1 • 1.15.2
• 1.11.2 • 1.16.1
• 1.12 • 1.16.2
• 1.12.1 • 1.16.3
• 1.12.2 • 1.16.4
• 1.13 • 1.16.5/latest/spigot
• 1.13.1 • 1.7.10
• 1.13.2 • 1.7.2
• 1.14 • 1.7.5
• 1.14.1 • 1.7.8
• 1.14.2 • 1.7.9
• 1.14.3 • 1.8
d;1.12.2 spigot#setunbreakable
@Deprecated
Entity getPassenger()```
Gets the primary passenger of a vehicle. For vehicles that could have multiple passengers, this will only return the primary passenger.
entities may have multiple passengers, use getPassengers()
an entity
Why are you guys stupid
👀
lol
That is also true
d;1.12.2 ItemMeta.Spigot#setUnbreakable
public boolean isBurnable()```
Check if the material is a block and can burn away
True if this material is a block and can burn away
I give up
See
isBurnable lmao
Then remove it.
1.8 pvp
When did we started to listen to frosty? @ocean quartz
good af
I'm not removing, it, jut agreeing that there is no reason
Thats my boy
uh
what prestige?
we can all agree
im like level 65 in pit
lol nons
minikloon is dodo
1.8 is awesome
Pretty nice so far
Changed the addLore to a consumer lore
yeah
Oh idc, yall are masochists
no u
Lol
@obtuse gale Thoughts?
Not bag ig @ocean quartz
Matt isn't there a way with components to build multi lined strings or whatever
Actually nvm