#dev-general

1 messages ยท Page 484 of 1

distant sun
#

Wait they are different?

gusty glen
#

in kotlin all switch are expressions

obtuse gale
#

yield is like break with a return value, the method execution continues as normal and you produced a value
(Again, I haven't tested this) return I presume returns from the whole method

distant sun
#

Secret is talking about cases like map { } where you can do return@map to return a value for map {} or return to target the function itself

gusty glen
#

java is becoming less bad, but I don't see it's core issue being fixed

obtuse gale
#

Yeah imagine yield as the return@map for the switch

distant sun
#

But yea, probabily a return@switch wont make much sense but having it use the last value from a block would be much better

old wyvern
onyx loom
#

ew

obtuse gale
#

Oh bummers

gusty glen
# obtuse gale Bring?

Enforce null safety at language design (even if it forces us to use yet another new keyword)

old wyvern
#

Imagine having nullability

gusty glen
#

Or like they said in the article you posted up there, give us a "opt in" to kill null from our lifes

#

and have only some nullable variables at our will

old wyvern
#

blame C# all you want, but thats where these features at ๐Ÿ˜Œ

gusty glen
#

class A
{

#

๐Ÿคข

old wyvern
#

allman?

#

Thats used by java users as well

onyx loom
#

๐Ÿ‘๏ธ

#

be careful what u say boy ๐Ÿ™‚

gusty glen
old wyvern
#

So?

#

I dont user it either

#

Doesnt mean its bad

gusty glen
old wyvern
#

๐Ÿฅฒ

lunar cypress
#

it's bad

old wyvern
#

false

half harness
#

it's bad

lunar cypress
#

yugi when are you going to see the light (learn apl)?

old wyvern
#

๐Ÿ˜ฎ

#

No idea, currently trying to get grasp of lisps

onyx loom
lunar cypress
#

my judgement

onyx loom
#

ah nice

lunar cypress
onyx loom
#

i see

lunar cypress
#

I'm learning it right now and the thought of the language circlejerk here getting even more obscure than it already is is really funny to me

old wyvern
#

๐Ÿฅฒ

#

I actually started a bit of prolog

#

so maybe...

#

hopefully...

lunar cypress
#

Imagine someone coming here to chat with others about minecraft plugin development and the first things that are thrown at them are lisp, prolog and apl

old wyvern
#

xD

lost forge
#

Nah, the first thing that would be thrown at them is maben vs gradle and Haskell vs killing and everything else

lunar cypress
#

the haskell jerk is nothing against prolog or apl

old wyvern
#

๐Ÿฅฒ

#

haskell shall not die

lunar cypress
#

those languages are waaay more out there

old wyvern
#

Great Sir Simon will never forgive us

distant sun
old wyvern
#

Kim Jong-sx would say otherwise

onyx loom
#

๐Ÿ˜”

prisma wave
#

It looks too confusing

lunar cypress
#

oh you absolutely could

prisma wave
#

hmmm

#

"who needs pure functions when you have arrays?"

#

Interesting

old wyvern
#

๐Ÿ˜ณ

obtuse gale
lunar cypress
prisma wave
#

Even better

#

Prolog jerking also sounds incredible

#

Do people still use the original lisp?

#

Or did you mean common lisp / scheme or something

lunar cypress
#

idk about yugi but I mean any lisp

old wyvern
#

Im starting with racket I think

#

mostly just because thats what the course on coursera offers

lunar cypress
#

yeah I think racket is often used for education

prisma wave
#

nice

old wyvern
#

I see

prisma wave
#

I was saying earlier I wanna learn some more clojure

lunar cypress
#

very reasonable

prisma wave
#

lisp code looks very elegant

gusty glen
#

I saw that java 16 broke some reflection things (I think it disallowed access to private fields), does this restriction also applies to method handles, or only default reflection?

old wyvern
#

It disallows access to non-public members of modules that dont export those, for both

obtuse gale
#

Yeah it doesn't quite "break reflection", it just enforces the modules system strongly

#

That is not an issue say for example accessing craftbukkit or nms fields/classes/methods (there is no modules system there, everything is open), but now you can't get say the seed field from a SplittableRandom, since the class is not exported/opened

gusty glen
obtuse gale
#

a huge pile of horseshit

#

that's what it is

#

you essentially have way finer control over what classes and packages other applications have access to your binaries

oak coyote
#

Think voodoo magic that went wrong

obtuse gale
#

like sure it's a great idea because it's enforced at runtime so you can't tamper with things you're not supposed to tamper with

#

but uuugh

static zealot
#

man this laptop really hates me ๐Ÿฅฒ It opens IJ and it loads the project (in like 10 minutes) and when I go to finally work on it, it just crashes every single app that is open

half harness
#

๐Ÿฅถ

static zealot
#

omg it finally lets me edit. maybe its finally back. maybe xD

#

oh nvm

#

fuck

obtuse gale
#

no thx

half harness
#

๐Ÿ˜ณ

gusty glen
static zealot
#

btw someone that actually read the new snapshot update (java 16 won't be a requirement right? just added support for it?)

#

bcz Star told someone java 16 will be a requirement to even use MC 1.17 but I'm pretty sure it won't

static zealot
#

Windows, 8 GB 776 MHz, I5-4460K I thjink

static zealot
#

I can't open speccy rn

half harness
#

oh

#

ok

#

what

static zealot
#

I meant 16

#

not 1.16

#

idk why I said 1.16 xD

half harness
static zealot
#

yeah it was

#

I saw your message a second to late

half harness
#

lol

static zealot
#

I just said those out of my head. I can't remember them lmao

#

I use speccy usually but now I can't even open it

#

to see the specs

onyx loom
#

doesnt mc shade the java version?

half harness
#

smh can't even remember your own specs

static zealot
#

not the client

#

and I'm pretty sure the update has to do with the client

half harness
static zealot
#

omg it opened the file now in IJ. time to see if it will let me edit xD

pale shell
#

is it bad i still run IntelliJ 2020.1?

static zealot
#

it does let me edit it

half harness
static zealot
pale shell
#

in my eyes, it still works so there's 0 reasons to upgrade.

half harness
#

code with me - even though it sucks for java/kt

pale shell
#

like there's no major updates

#

whats code with me

static zealot
#

well ... idk about that xD

#

its always best to be updated

half harness
#

code with me is actually really good, but the jetbrains IDE for it is so badddd

#

at least for java/kotlin

pale shell
#

i wish i was good at coding tho. lol.

half harness
#

i had to manually import ๐Ÿ˜ฉ

static zealot
half harness
#

typing it all out

half harness
#

oh is code with me paid?

pale shell
#

I'm so fucking dumb.

half harness
#

;-;

static zealot
half harness
#

i thought code with me would integrate into intellij, i guess not ;-;

#

sucks

static zealot
#

but

half harness
#

unless im doing something wrong

#

lol

static zealot
#

IJ seems to finally work

#

so I can fix my bot

pale shell
#

"why's the event not working?" You know you gotta call the event when you do stuff? smh.

half harness
#

gg ๐ŸŽ‰

half harness
pale shell
#

your lib?

half harness
#

yea

pale shell
#

๐Ÿ˜ฎ

half harness
#

recently converted it to kotlin

#

with a million more improvements

pale shell
#

OdinLib soon? think_smart

forest pecan
#

wtf is that repo name

half harness
#

lol

half harness
#

i should change it

forest pecan
#

Yeah

half harness
#

it used to just be util classes

forest pecan
#

like nobody's gonna remember that

#

lmao

half harness
#

now it's like dkim19375Core

#

but jda

half harness
distant sun
static zealot
#

but thanks

pale shell
#

It makes me sad when peoples work isn't being used ๐Ÿ˜ญ

half harness
obtuse gale
#

dkim19375CoreJDAUtilsExpansionsLoader

forest pecan
#

lmao

static zealot
half harness
obtuse gale
#

yeah that's not a memorable name tbh

half harness
forest pecan
#

i forgot my water bottle

#

and i have a tennis match

#

today

#

give me water

obtuse gale
#

you're gonna dehydrate

#

and die

half harness
forest pecan
half harness
#

ez

obtuse gale
forest pecan
#

I NEED WATER

half harness
obtuse gale
half harness
#

unlike every other JDA lib i have my own getPrefix method with a guild id parameter so you can have per guild prefixes ๐Ÿ˜ค

onyx loom
half harness
#

pulse face reveal

obtuse gale
#

yes

#

pulse is jimmy fallon

static zealot
#

I'm so lazy that instead of actually making a config file for my discord bot to store tokens and stuff like that I just made a settings object class .... please send help. Now I want to commit suicide on a pigeon

#

someone please give me Matt's repository link and implementation for Matt-Config. If I open the browser everything will crash

prisma wave
#

I love water

#

very underrated drink

static zealot
#

me too

#

especially when its in my lungs

prisma wave
#

๐Ÿคจ

static zealot
#

well fish don't have water in their lungs do they?

#

fuck

half harness
#
    implementation 'me.mattstudios:triumph-config:1.0.5-SNAPSHOT'
static zealot
#

and repo link too please

half harness
#
    maven { url = 'https://repo.mattstudios.me/artifactory/public' }
static zealot
#

ty ty ty

obtuse gale
#

maven("https://repo.mattstudios.me/artifactory/public") ๐Ÿ˜Œ

static zealot
#

nah

#

btw you should see my discord bot xD. Absolutely nothing is relocated.

half harness
#

is it java or kotlin

static zealot
#

kotlin

#

but I use jda

half harness
#

open source?

static zealot
#

nope

half harness
#

smh

static zealot
#

I did the mistake of making it open source

#

and leaking my bot token

half harness
#

๐Ÿฅฒ

static zealot
#

but discord found it in like seconds

#

and changed it for my bot

#

but I also leaked like 3 of those links

#

whit which you can send embeds

#

I forgot the name of them

heady birch
#

webhook

static zealot
#

yeah those

#

3 of those

half harness
static zealot
#

well anyways when I'll finally add a config file to it maybe I'll make it OS but its like not made for any discord server xD

#

its super specific

half harness
#

๐Ÿคท

static zealot
#

I mean at this point, what even is the point of OSing? No one will even critique it or PR to it

heady birch
#

Qbasic

half harness
static zealot
#

well there's like 4 projects I have and its been now 3 weeks since matt said he'll bully my code for the dev role ... xD

heady birch
gusty glen
heady birch
#

๐Ÿ˜ฆ

half harness
#

ffs zoom windows have gotten even smaller, now all the words don't even show

#

lol

#

zoom has to fix that

gusty glen
#

next update client will have 1px width

half harness
#

winkey + up arrow = life savior

gusty glen
#

fix my config lib

half harness
#

contribute to my bedwars plugin fingerguns /s

heady birch
#

food calculator

jovial warren
static zealot
#

discord crashed again... how nice

gusty glen
static zealot
#

might be. idk what to do about it tho

#

I can just suffer at this point

gusty glen
static zealot
#

oh god no

#

no thanks

#

xD

obtuse gale
pale shell
#

Why does 11 characters of code have to cause so much issues? ๐Ÿ™‚
I hate myself.

static zealot
heady birch
#

because its not rust?

pale shell
#

I never touched rust tbh.

#

What's it like?

gusty glen
heady birch
#

fn main() {
println!("Hello!");
}

static zealot
#

when every fuction name is taken (function, func, fun) and you have to use fn instead

hot hull
#

Who's this dumbass

obtuse gale
#

not a clue

#

#2

#

what a loser

jovial warren
#

I can see the argument of why open-source

#

The reason why there is a lack of contributions to open-source is because people can't be bothered

#

Most contributions come from people wanting a specific feature that will benefit them

#

Because this is how human beings are

gusty glen
obtuse gale
hazy widget
#

oh sorry

hot hull
#

Who

static zealot
#

Well I guess my windows problems are just a corrupted update ๐Ÿฅฒ

prisma wave
#

It's obvious from the context

#

The point is that this is actual type inference. It's no different to having something like read<Int>("3") in kotlin, except it can infer the Int part from anywhere in the code

#
main = do
    input <- readLn
    someFunctionThatTakesAnInt input

input is inferred to be an Int, so it's parsed as an Int

ocean quartz
#

That's fair, though does it only infere with typing thw number or would it work with uncertain variables too? Because with those it'd definitely not be obvious
But then again I don't know the language I can't tell much of what's happening

prisma wave
#

it can infer any type that's an instance of Read (i.e it defines functions to parse it)

#

not just numbers

#

If you tried to treat it as something that didn't implement Read (like a function), it won't compile

ocean quartz
#

Oh okay

prisma wave
#

quite clever

#

It's pretty much dynamic typing but with type checking

lunar cypress
#

and without dynamic typing

prisma wave
#

precisely!

#

basically haskell good other languages bad ๐Ÿ˜Œ

heady birch
#

functional, object oriented silly

#

procedural ๐Ÿ˜Ž

prisma wave
#

kotlin type inference: "please love me sir, i can infer the type of a variable by copy pasting the function's return type ๐Ÿ‘‰ ๐Ÿฅบ ๐Ÿ‘ˆ "
haskell type inference: "you will never need to write a type signature ever again now get on your knees and profess your love for simon ๐Ÿ˜Ž ๐Ÿ’ช"

static zealot
#

I think my pc is finally back ๐Ÿ™‚

heady birch
#

pc is not back until you are running linux

prisma wave
#

"babe, time for your monthly GHC reinstall!"

obtuse gale
#

tf does gpg mean by "Comment" when generating a new key..

#

I laughed

#

๐Ÿ‘

oak raft
#

why aren't there kotlin discord bot tutorials ๐Ÿ˜ฆ

static zealot
#

in this case its working

#

All I had to do is uninstall a corrupted windows update

heady birch
#

I want to try ubuntu as operating system

#

the new desktop looks really nice

static zealot
#

I was thinking of dual booting for quite a while but idk.

pale shell
static zealot
#

holly fucking shit

#

that economy is nuts

pale shell
#

lol

#

i found bigdecimal's

static zealot
#

why the hell

#

are you even using them?

pale shell
#

yes

static zealot
#

Just put a bit of thinking into your economy

#

and believe me it will be a lot better

pale shell
#

trust me, they'll prefer it that way.

static zealot
#

I used to have shops and stuff like that that just had huge prices just so people can't abuse them but then I hit the Integer limit (for vault) so I had to do something else

#

and believe me when you see the richest people have like 100k

#

its so nice

pale shell
#

Blitz, I asked the players what they wanted this is what they wanted.

static zealot
#

there are a few way to rich people with like 500K- 1M but those are like 6-7 and make like 10% of the economy xD

static zealot
#

@half harness did u see? My pc is back to normal

oak raft
static zealot
#

it was a bad windows update

static zealot
#

it feels so good to finally be able to fix bugs lmao

half harness
#

1 sec

#

lemme look in message history

#

i remember when i hated on kotlin so much ๐Ÿฅฒ

static zealot
#

I learnt kotlin from the docs mostly

#

when I got stuck

#

also a lot of stackoverflow xD

half harness
#

my way of learning languages is weird

static zealot
#

why?

distant sun
#

@pale shell btw Big numbers use ram based on their size

half harness
#

for java, i just learned from spigot youtube tutorials and then just from making plugins and asking from #development
for kotlin, I just learned by making plugins and #development

I did not take any courses, except for the java sololearn course I took like 2 weeks ago just to see how much I knew (i already knew everything it said in there lol)

distant sun
#

I read somewhere that one big number could require a machine on it own just to create it

static zealot
#

courses are great man. And I found such a nice course on the website yugi gave me but I was to lazy to take it while it was free and now I regret my decisions

half harness
#

lol

#

sololearn has no haskell

static zealot
#

pluralsight or something like that was the website and was free for april

half harness
#

oh

static zealot
#

its 29$ per month ...

half harness
#

xD

static zealot
#

tho I can get the 10 day free trial and maybe finish it but like that course was long man and good

#

I've only watched like 2 hours but it was pretty good

prisma wave
half harness
#

me

#

i do

static zealot
prisma wave
#

why

half harness
#

oof

static zealot
#

wtf

#

someone join Room2 and tell me if they can hear Rythm please

#

@half harness ^^^

#

oh nvm

#

found the problem

half harness
#

oops

#

i was too late

#

lol

static zealot
#

its fine. it was just my pc being bad again. had to select the output in discord settings

oak raft
half harness
oak raft
#

WUT

half harness
#

lmao

#

look closer ๐Ÿ˜‰

oak raft
#

๐Ÿคฉ

half harness
#

wot

oak raft
#

I missed it

half harness
#

XD

#

gg

oak raft
#

yes

#

@half harness didn't you tell me to never use !!?

static zealot
#

well

#

you should do what he says not what he does xD

half harness
oak raft
#

That's an example from sololearn

half harness
#

when testing, it's sometimes fine to use !!

#

in production, it's dangerous

ocean quartz
prisma wave
#

readMaybe <$> getLine

static zealot
#

Guess who's laptop just crashed sad_fingerguns

oak raft
#

Whos?

static zealot
#

Mine...

oak raft
#

I never would've guessed thonking

#

I thought you had a beast pc

static zealot
#

What?

oak raft
#

Yeah

static zealot
#

It is a beast

#

Ita the best at what its doing

oak raft
#

Crashing? ๐Ÿคฃ

static zealot
#

At crashing ...

#

Yeah

#

oh I think its back

steel heart
#

Do objects by default use System.identityHashCode?

prisma wave
#

I think so yeah

half harness
#

is there a way to make Code With Me have better java/kotlin support? Alt + Enter doesn't have any some of the quick fixes, such as importing and implementing interfaces/abstract methods

#

and it's quite annoying, manually typing all of the stuff ;-;

#

also some of the theme plugins such as material theme ui and atom file icons didn't work correctly

pale shell
#

When you accidentally press build when you didn't mean to and it takes like 2 minutes to do ๐Ÿ˜ฆ

half harness
pale shell
#

that exists?

half harness
#

assuming you're using IntelliJ

#

yes

pale shell
#

oh ye LOL

half harness
#

its a red square

pale shell
#

I never noticed that

half harness
#

xD

#

you can also press the x and then Terminate if you want to kill it though

pale shell
#

i just code ok i dont look at my idea

#

X?

half harness
#

yea

#

next to the name of the task

pale shell
#

I dont get an X

half harness
#

i can't show rn

pale shell
#

no theme gang muscle_rg

half harness
#

oh not there

#

like above the console

#

while its running the task

pale shell
#

you mean to the left?

half harness
#

idk

pale shell
half harness
#

on top

#

not to the left

obtuse gale
#

That doesn't look like it's running

half harness
#

oh

#

yea

#

it needs to be running

pale shell
#

that's the same as whats at the top lol

half harness
#

i can't explain it

obtuse gale
#

I mean you can also take a screenshot of the whole fucking screen and we pinpoint whatever you need to click

#

But okay

#

Not here to play guessing games

pale shell
#

my bad didn't think about that

half harness
#

theres a tiny x

obtuse gale
#

I mean it's not even running lmao but yeah

pale shell
#

that closes the tab

obtuse gale
#

And it kills the process if it's running

half harness
#

it needs to be running

pale shell
obtuse gale
#

There we go

half harness
#

now press the x

#

before it finishes running

obtuse gale
#

Or after lmao

pale shell
#

that just closes the tab

obtuse gale
#

If it gets done it gets done, nothing wrong with that

obtuse gale
half harness
obtuse gale
#

You can also click the big red stop square

#

On the left

half harness
#

ah found an image

#

i posted this here a while ago

ocean quartz
pale shell
#

I've seen that before but idk how i did it before

obtuse gale
#

Well you probably checked "Don't ask again" lmao

pale shell
#

oh

half harness
#

lol

#

what does "Disconnect" do?

obtuse gale
#

It probably leaves the task running in the background

#

No idea

surreal quarry
#

yea that

half harness
#

is there a way to make Code With Me have better java/kotlin support? Alt + Enter doesn't have any some of the quick fixes, such as importing and implementing interfaces/abstract methods
and it's quite annoying, manually typing all of the stuff ;-;
also some of the theme plugins such as material theme ui and atom file icons didn't work correctly

surreal quarry
#

yes. down up up left jump x2 left left up usually fixes it

half harness
#

uh

ocean quartz
half harness
#

huh

#

code with me IDE?

onyx loom
#

lol bad pc

ocean quartz
#

I mean, what else would it be? lol

half harness
#

idk

#

whyyyy ๐Ÿ˜ฉ

ocean quartz
#

We're talking about code with me, so it has to be that lol

half harness
#

anything i can do to try fixing it?

obtuse gale
#

yeah get a better pc

half harness
#

whys there a big blurry weather thing on my taskbar now thonking

static zealot
#

bcz u enabled it

#

probably

half harness
#

how do i disable?

static zealot
#

or the new discord update did

#

from taskbar settings

#

I mean windows

#

not discord btw

half harness
#

oh

static zealot
#

something's wrong with me today

half harness
#

yea i updated windows last night

static zealot
#

I keep saying random words that make no sense in the sentence lmao

obtuse gale
#

lol

half harness
#

i wouldn't mind if it wasnt so blurry and big tho

#

looks like someone just stretched and upscaled the image

static zealot
#

lmao

#

did you find it btw?

half harness
#

nope

#

find fix?

static zealot
#

so right click taskbar

#

and select taskbar settings

half harness
#

actually found it

#

oh

static zealot
#

click the turn system icons

#

on/off

half harness
#

uh

static zealot
#

actually it might be in the first one as well

half harness
#

well i want to keep the clock

#

:p

static zealot
#

wait does it come with the clock actually?

#

I would have assumed it has its own icon

half harness
#

i just turned that off

#

idek what app that is

static zealot
#

lmaoo

#

xD

static zealot
half harness
#

nvm found it

#

the app just hid itself

ocean quartz
#

Huh, interesting

half harness
obtuse gale
#

yeah what the fuck

#

the non static variables are part of the record components

#

I mean they are entirely different concepts from what I've heard

prisma wave
# ocean quartz Huh, interesting

i think they might be planning to add a specific copy syntax in the future, sorta like haskell has (hs let copy = someRecordValue { field = newValue }

ocean quartz
#

Aso @half harness

In short? Weโ€™re making our stickers a Nitro exclusive, and servers will be able to upload custom stickers with Boosting.
Ha

prisma wave
#

o that's cool

half harness
#

NOOO

obtuse gale
#

good good

half harness
#

๐Ÿ˜ฉ ๐Ÿ˜ซ ๐Ÿ˜ญ

obtuse gale
#

yuss

ocean quartz
#

Ikr

half harness
tranquil crane
#

rip your stickers

half harness
#

have to use them before they're gone

onyx loom
#

or get nitro

half harness
#

discord whyyyyy

ocean quartz
#

Nooo noo, he spams them too much

onyx loom
#

and boost the server while ur here ๐Ÿ™‚

ocean quartz
#

Back in the records topic, i wonder what would happen if you do

@JvmRecord
data class Data(val something: String) {
  var nonConstructor = "test"
}

Will the var turn into static? thonking

half harness
#

no i shall boost dkim den

ocean quartz
#

Ayy, smart compiler

boreal needle
#

did anyone ever use stickers tho

static zealot
#

yeah. dkim and a couple others

#

they're just spam tho

obtuse gale
half harness
boreal needle
#

they do feel kinda pointless with animated emojis

half harness
obtuse gale
#

they are literally for kids

#

stickers I mean

static zealot
#

@pallid gale how did you get the time that's displayed at the bottom of =help? Bcz I assume its not just new Date() since its user time not system time.

#

=help

oak cypressBOT
#

@static zealot, Help menu!

compact perchBOT
#
Help Menu:

Various Commands for Barry.

๓ € ๓ € ๓ € =Help General

โ€ข General Bot/Guild Commands

=Help Misc

โ€ข Miscellaneous Commands

=Help Level

โ€ข XP and Level Commands

=Reaction Help

โ€ข ChatReaction Help

static zealot
#

talking about this one btw ^^^

obtuse gale
#

@Thank You Blitz!, Help menu!

static zealot
#

yeah very lovely xd

half harness
static zealot
#

yes I know

half harness
#

oh wait

#

blitz

#

what time is it for u

static zealot
#

23:02

half harness
#

and ur in dkim den

static zealot
#

yes

ocean quartz
obtuse gale
#

ok

static zealot
#

ty @half harness

half harness
#

np

static zealot
#

wait @half harness Instant.time? or Instant.now ?

#

bcz time doesn't exist

half harness
#

embedBuilder.setTimestamp(Instant.now())

static zealot
#

ah that one. yeah ty

half harness
#

-_-

static zealot
#

wait a second. I didn't even know there's a setTimeStamp method lmao

#

xD

half harness
static zealot
#

I was just setting it as a footer

half harness
#

XD

jovial warren
static zealot
#

on discord, the line separator is always \n? Or could it be \r\n?

half harness
#

what is \r?

static zealot
#

like where is it decided what it is? The user that sends the message or the discord server?

static zealot
half harness
#

\n works by itself

#

at least with my UniG0 bot it does

static zealot
#

well yeah that's what I use and so far it has worked and I assume its just bcz discord servers are using an UNIX system. I could also just check if it contains \r\n or just \n I guess

#

but I'll just leave it as \n for now

prisma wave
#

\r is carriage return

half harness
#

what is that?

#

\r\n is a **Windows **Style

\n is a **POSIX **Style

\r is a old pre-OS X Macs Style, Modern Mac's using **POSIX **Style.

#

\n means new line. It means that the cursor must go to the next line.

\r means carriage return. It means that the cursor should go back to the beginning of the line.

#

ic

#

why does windows need /r ;-;

ocean quartz
#

Blame Bill

half harness
#

lol

static zealot
#

just gonna hope discord always uses \n lmao

#

so far it seemed so

obtuse gale
# ocean quartz They are pretty similar though

On the topic of the definition of records, they may be similar to data classes in terms of usage, but:

[Records] are classes that act as transparent carriers for immutable data. Records can be thought of as nominal tuples.

The declaration of a record class primarily consists of a declaration of its state

A record class is implicitly final, and cannot be abstract. These restrictions emphasize that the API of a record class is defined solely by its state description

The fields derived from the record components are final. This restriction embodies an immutable by default policy that is widely applicable for data-carrier classes

A record class cannot explicitly declare instance fields, and cannot contain instance initializers. These restrictions ensure that the record header alone defines the state of a record value.

If a record class is itself nested, then it is implicitly static; this avoids an immediately enclosing instance which would silently add state to the record class.

Hopefully you're seeing a pattern here xD
Unlike kt's data classes, records are meant* to be and carry immutable data (not only "read-only references") and that defines the whole state of the record object, whereas kt

* I say "meant" because nothing is stopping you from passing a mutable data structure, but that's not really their design goal

prisma wave
#

java saying state is bad?

#

ironic

old wyvern
#

๐Ÿฅฒ

ocean quartz
static zealot
#

is there any method that checks if a string is a valid url by any chance?

#

as in its url or not

static zealot
#

time to fanboy

#

@obtuse gale

half harness
#

๐Ÿคฃ

obtuse gale
#

llol

static zealot
#

if I have a try catch and all I do in catch is print the stacktrace does it behave any differently than just not trying at all?

static zealot
#

ah Ic

#

well I assumed that'd be the only difference

#

wasn't really sure

half harness
#

ยฏ_(ใƒ„)_/ยฏ

half harness
#

is there no way to automatically generate javadocs ;-;

#

no more generate javadocs options

#

oh wait

#

this is kotlin

#

how do i generate KDocs

ocean quartz
#

/** + enter?

forest pecan
#

do people know about discordo

half harness
#

yes

jovial warren
obtuse gale
#

Yoda... condition?

onyx loom
#

condition yoda

prisma wave
#

condition deez nuts

#

๐Ÿคฃ ๐Ÿคฃ ๐Ÿคฃ ๐Ÿคฃ

#

I can pick up my comedy award any time tomorrow, thank you

#

Or you can get it delivered (first class ofc)

lunar cypress
#

๐Ÿคจ

gusty glen
pale shell
prisma wave
#

Too slow

pale shell
#

Just like haskell

#

Slow thinksmart

coarse zenith
#

Could i get a bit of help?

pale shell
sweet cipher
#

How would I receive input from html/JavaScript and use it in Java?

pale shell
#

(pls don't say the ceiling)

coarse zenith
#

So im trying to add a DM menu

pale shell
coarse zenith
#

tand continue to get a internal error

pale shell
#

@prisma wave do your job

sweet cipher
pale shell
prisma wave
pale shell
#

Idk how you don't see how it's overcomplexd

#

You could do a lot of it in kotlin and it'll look far better and likely run faster.

prisma wave
#

I don't know why you keep repeating these claims even though literally everyone here has said they're wrong

#

I mean, I know it's bait but if you're trying to be funny it's getting really stale

pale shell
#

I'm not trying to be funny

prisma wave
#

and if you're serious, then you clearly know nothing

pale shell
#

I'm speaking my own mind.

obtuse gale
pale shell
#

Its a completely overcomplexd language it couldve been shortened down a ton.

prisma wave
#

I am all for a nice bit of circlejerking but what you're saying is just plain wrong...

prisma wave
pale shell
#

I prefer to use a language like kotlin where its actually easier to understand what's going on.

obtuse gale
#

so is haskell once you learn it???

pale shell
#

Even if I "learnt" haskell I'd drop it after a month or two.

obtuse gale
#

so is literally every other language?

prisma wave
#

that sounds like a you problem

pale shell
#

I prefer to use languages I would like

prisma wave
#

Sheesh, I mean if you wanna join the "haskell bad" trend then at least make an actual point

#

This is just embarrassing

pale shell
#

Yeah, the language is embarrassing.

obtuse gale
#

odin you're a straight up ignorant person

pale shell
#

Okay?

#

You think I'm bothered by what you think of me? No, you've had a grudge against me since I joined back to this server.

prisma wave
#

๐Ÿคจ

onyx loom
#

๐Ÿ˜ƒ

prisma wave
#

have you considered that people may get mildly annoyed when you repeat the same dumb claim that we've disproved multiple times

#

that's not a grudge

#

It's just annoying

#

And makes you look dumb

obtuse gale
#

you've had a grudge against me since I joined back to this server.
not true, for once I never knew who the fuck you were so I had absolutely 0 opinion "since you joined back" and secondly I'm just saying these things now because everything about it you're saying is straight up false

#

I don't like haskell either on a surface level but that doesn't mean it's embarrassing or useless or an esoteric language or anything

#

I have yet to try the language for many weeks to conclude if I really like it or not

pale shell
#

Haskell is just an experimental language

prisma wave
#

honestly who cares

obtuse gale
#

experimental

prisma wave
#

I refuse to believe you're not joking

#

If you aren't

#

๐Ÿฅถ

onyx loom
#

the only experimental language around here is elara ๐Ÿ™‚

prisma wave
#

Too soon

pale shell
#

Haskell has a lot less documentation than java.

prisma wave
#

bruh

onyx loom
#

โ™ป๏ธ

prisma wave
#

You said the exact same thing a few days ago

#

And literally everyone said you were wrong

pale shell
#

The tools are limited, the libraries qualities isn't as good as java or kotlin.

prisma wave
#

evidence?

onyx loom
#

when did haskell come out? genuine question

#

iirc it was in the 90s

prisma wave
#

1990 i believe

onyx loom
#

๐Ÿ‘€

prisma wave
#

It was in development for a while tho

onyx loom
#

in that case older than java

prisma wave
#

older than python too

obtuse gale
#

how'd you do fizzbuzz in haskell ๐ŸŒ

prisma wave
#

have you seen that video

#

that's how

pale shell
#

I guess it's more towards maths people right?

obtuse gale
#

I haven't actually

prisma wave
#

oh

#

Check out the Ben Awad video, he gives a very good explanation

pale shell
#

From what I've heard, haskell is leaned towards people who know maths.

prisma wave
#

It's not like matlab or anything, but a lot of the ideas are inspired by mathematical concepts

pale shell
prisma wave
pale shell
#

A bit of it.

#

But I'm a dumb person (according to HC) so I wouldn't understand much of it.

obtuse gale
#

and according to yourself

#

there is not a single day you don't demean yourself

#

not once but one too many times a day

prisma wave
#

If you don't want to be seen as dumb then don't make blatantly false points that you know are false

obtuse gale
#

why do you treat yourself like this

pale shell
#

Because I don't care about myself or what people think about me anymore? I got nothing else to care about anymore.

sweet cipher
obtuse gale
#

then why keep bringing it up

#

you definitely do care by the looks of it

sweet cipher
#

Yes

prisma wave
#

thanks

sweet cipher
#

One sec

ocean quartz
#

You're welcome

pale shell
#

I mean, I'll likely be 6ft under by the time bm finishes college.

prisma wave
pale shell
#

Just saying the truth.

coarse zenith
obtuse gale
#

no

#

we are devs

#

not plugin support

sweet cipher
#

Itโ€™s more of a general question, just like if I want to like get input from a person and store that data in a database, or do something else? Or should I just do that in a different language?

coarse zenith
#

so non-helpful devs i see. Perfect.

prisma wave
sweet cipher
#

Ok

obtuse gale
pale shell
#

I want to change as a person.

coarse zenith
#

Yes but youd think devs would be bale to look at that for 2 seconds and lmk whats up XD

pale shell
#

I don't know how.

obtuse gale
#

YES

#

THAT'S good

#

that's great

prisma wave
#

๐Ÿ˜Œ

pale shell
#

Look, I hate it when Chris takes over.

obtuse gale
#

you should try haskell

#

jkjkjk

pale shell
#

Haskell August / September.

coarse zenith
#

and the hell with "support in training" XD

ocean quartz
obtuse gale
#

no but for real though, the mere fact you are aware you want to change something for good is a great sign

#

you care

pale shell
#

I don't want to be where my friend is now.

obtuse gale
#

may I ask where that is?

pale shell
#

6ft under.

#

I watched it happen.

prisma wave
obtuse gale
#

none of us really play the game anymore
mood

pale shell
ocean quartz
prisma wave
#

no

pale shell
#

Bm gets paid almost daily lol.

prisma wave
#

๐Ÿคจ

#

yeah almost

pale shell
#

I paid you yesterday no?

prisma wave
#

that's not what daily means

pale shell
#

I paid you yesterday and the day before?

#

Don't tell me I sent to wrong person angry

prisma wave
#

you seem to do that quite often

onyx loom
#

๐Ÿคจ

prisma wave
#

Or at least you say that quite often

#

Not sure I believe it anymore

pale shell
#

I do send it tho

#

Oh, it's my alt.

#

I have you and my alt on quick payment.

prisma wave
#

๐Ÿคจ

pale shell
#

So I can pay you quicker?

obtuse gale
#

How many people can I ping at once max?

pale shell
#

1

half harness
#

costed a mute tho ๐Ÿฅฒ

obtuse gale
#

lol

pale shell
#

A mute?

half harness
#

yea

pale shell
#

How can I do it

prisma wave
half harness
#

if u ping too many ppl at once u get muted

ocean quartz
half harness
#

might be 5

#

yea

pale shell
#

Can I test it pls

half harness
#

lol

#

sure

ocean quartz
half harness
#

oof

#

then dont

pale shell
#

How long is mute

prisma wave
#

I am sure "support in training" role is exempt from any "anti spam"

half harness
#

isnt it perm

pale shell
#

It's perm???

prisma wave
#

scared

half harness
#

?tryandsee

compact perchBOT
pale shell
#

Alright who am I muting

half harness
#

bm dont actually btw

pale shell
#

I wanna get muted

prisma wave
#

the muted channel is a scary place

pale shell
#

There's a muted channel??

half harness
#

the first time i have no idea why

prisma wave
#

You just have cube's message making you feel guilty

#

Not nice

pale shell
#

See you guys on the other side

#

5 people right

half harness
#

oh no

#

plz no

prisma wave
#

sigh

half harness
#

why

pale shell
#

5?

half harness
#

do 4 ppl first if ur actually oging to

prisma wave
#

lol

#

muted for deleting your own messages

#

Should be made illegal

obtuse gale
prisma wave
#

yes

half harness
#

no

#

๐Ÿ˜ฆ

pale shell
#

See you lot on the other side

prisma wave
half harness
#

hA

half harness
#

sTOP

#

STOP

pale shell
#

It didn't work

half harness
#

yea

pale shell
#

:(

half harness
#

its 5 ppl

pale shell
#

Oh

obtuse gale
#

okay 4 is safe

half harness
#

dont

#

send

obtuse gale
#

good enough for me

half harness
#

it

pale shell
#

Send it?

half harness
#

do you have piggy on ur friends list

obtuse gale
half harness
#

๐Ÿฅฒ

pale shell
#

No

half harness
obtuse gale
#

yet

pale shell
#

See fall on the other side

ocean quartz
#

It's a long needed feature

pale shell
#

Ya'll *

obtuse gale
#

look at the comment in LibraryLoader

half harness
#

wait does it use like MavenCentral or smth?

prisma wave
half harness
#

@pale shell

onyx loom
#

nice

half harness
#

muted

#

nice.

ocean quartz
#

sigh I warned him

prisma wave
#

I am sure that was worth the 30 seconds of attention

onyx loom
#

ยฏ\_(ใƒ„)_/ยฏ

half harness
#

hes not even on piggy's friends list

sweet cipher
#

I can't believe I'm muted

onyx loom
#

๐Ÿคจ

prisma wave
#

Oh

#

I see

ocean quartz
#

This man is committing files in Allman while the entire project is in K&R

half harness
#

lol

prisma wave
#

so noble

onyx loom
#

what a brave man

half harness
#

who?

prisma wave
#

I love him

#

He is a lone wolf

onyx loom
#

noble cause

ocean quartz
prisma wave
#

he doesn't conform to society's view of "K&R good"

half harness
onyx loom
#

๐Ÿ˜Œ

obtuse gale
#

spaces around parenthesis

onyx loom
#

"easier readability"

sweet cipher
#

That is beautiful

ocean quartz
#

It's art

prisma wave
#

no final smh

sweet cipher
#

Does anyone here use the format

public void doNothing() 
{
    
}
```?
ocean quartz
#

Time to PR SlimJar into Spigot

onyx loom
#

yes

sweet cipher
#

Why?

onyx loom
#

allman GOOD

prisma wave
#

allman GOOD

sweet cipher
#

What is allman?

half harness
onyx loom
#

allman is that code style

sweet cipher
#

Oh

onyx loom
#

๐Ÿ˜Œ

obtuse gale
prisma wave
#

should really be using Haskell brace style

onyx loom
#

๐Ÿคจ

#

are u sure about that

obtuse gale
forest pecan
#

im confused

#

what does this do again

obtuse gale
#

Hi confused

forest pecan
#

lol

prisma wave
#
while (true)
    { var x = y()
    ; var z = List.of(3, x)
    ; }

:relieved:

obtuse gale
#

I'm Emily

forest pecan
#

tell me

ocean quartz
obtuse gale
prisma wave
obtuse gale
#

to be (down)loaded at runtime

#

and they would be local to your plugin

forest pecan
#

damn

onyx loom
prisma wave
#

it's like PDM but bad / actually works

half harness
forest pecan
#

when md actually did something okay

#

for once

#

lmao

obtuse gale
#

slimjar ๐Ÿ˜Œ

prisma wave
#

UUUUUUUUU

forest pecan
#

but PDM is just bad

#

lol

#

PDM can be simplified in one class

#

sorry

obtuse gale
#

PROUD CONTRIBUTOR with OVER 1.3k lines ๐Ÿ˜Ž

forest pecan
#

i had to do it

prisma wave
#

ghost ping

#

Die

prisma wave
obtuse gale
#

<< brrrrrr

prisma wave
#

C++ Bad tho

onyx loom
#

is my phone tripping or did odin leave after he got muted

obtuse gale
prisma wave
#

That didn't take long

onyx loom
#

lol

#

๐Ÿฅฒ

obtuse gale
#

@pale shell

#

nah he here

prisma wave
#

Oh nvm

#

Discord mobile just being shit

obtuse gale
#

yeah lmao

onyx loom
#

usual

obtuse gale
# forest pecan for once

I'm still waiting for that "separate items and blocks materials into individual registries" thing you mentioned

prisma wave
#

separate deez nuts

obtuse gale
#

that sounds painful

prisma wave
#

indeed

half harness
#

no