#dev-general

1 messages ยท Page 458 of 1

gilded granite
#

no clue, the course is fine for now tho

jovial warren
#

your course is obviously trash if the entry point is out of the scope of it

static zealot
#

that's literally what entry course should be

#

variables, classes, functions

#

and stuff like that

old wyvern
#

Pluralsight

gilded granite
#

well im half way through the course and ive learnt alot so imo its pretty good

gilded granite
quiet depot
#

@jovial warren I believe osgi has native code

jovial warren
#

ah

#

just from reading a bit of the spec, it seems very far beyond what I need here

quiet depot
#

yes it's very big boy enterprise

jovial warren
#

all these different layers is kinda losing me

quiet depot
#

but who gives a flying fuck

#

size was only ever an issue with spigot plugins because of the upload limit

#

most people don't care about file size

jovial warren
#

I'm not implementing the entirety of this model in Krypton

quiet depot
#

and now I realise you never mentioned size

jovial warren
#

it's not the size, it's the complexity

quiet depot
#

my brain is fried

#

so much math today

jovial warren
#

if I'm getting lost, think of what it would be like for plugin authors

quiet depot
#

plugin authors would never be exposed to osgi api

old wyvern
#

The authors wouldnt have to deal with it

quiet depot
#

yugi did I tell u I figured out the intersection?

old wyvern
quiet depot
#

wolfram alpha did it for me

old wyvern
#

Ahh nice, they have an intersection calc?

quiet depot
#

no

#

it's not about intersection calculations

old wyvern
#

Oh what did you use?

quiet depot
#

all intersections are calculated the same way

#

regardless of the curve (I think?)

old wyvern
#

Yes but what was the issue?

quiet depot
#

the trick is to find a site that gives you the exact value, and not a decimal

old wyvern
#

Ah

#

You mean a non-rounded value right?

quiet depot
#

ye

#

because the value is irrational

old wyvern
#

Ah how much precision did you get to?

quiet depot
#

it's an exact value

old wyvern
#

Huh

quiet depot
#

ignore the pointy ^ at the end

#

that's not part of the equation

old wyvern
#

Didnt you further simplify?

quiet depot
#

don't think you can simplify that

old wyvern
#

Ah

quiet depot
#

would've thought wolfram alpha would simplify it

old wyvern
#

Does desmos even accept this?

quiet depot
#

I had to convert it to latex first

#

which was a pain

old wyvern
#

Ah

quiet depot
#

because for some reason no one ever had thought "hey, maybe a plain text to latex converter is a good idea"

old wyvern
#

Lmao

quiet depot
#

i mean technically they did

#

but the problem is they all just went straight to images

#

not the actual latex format

#

fucking useless

old wyvern
#

Ah

quiet depot
#

you got a favourite curve?

old wyvern
#

Wdym?

quiet depot
#

like math curve

#

I'm doing an assignment where we have to draw shit on a cartesian plane with curves

#

we're meant to go out and look for other curves that we haven't been taught

old wyvern
#

Would a closed figure count?

quiet depot
#

show example

old wyvern
#

Like an ellipse

quiet depot
#

yes

#

i'll show you an example in a sec

old wyvern
#

Alrighty

#

Also got the chat app to be more stable, finally got the hang of using dagger

quiet depot
#

I still think guice is the best

old wyvern
#

Yea still havent had a chance to try it out yet

quiet depot
#

right one is a wip

#

left is done

old wyvern
#

๐Ÿ˜ฎ

hot hull
#

And what exactly is that

quiet depot
#

math

old wyvern
#

Try a bezier curve piggy

quiet depot
#

already got bezier curves in there

hot hull
#

Yea fuck outta here with that

old wyvern
#

Hmm

quiet depot
#

only cubic beziers though

#

with beziers the amount of extra effort required as you go up in degree is huge

#

if you do it nicely

#

if you do it eh then it's relatively simple, just ugly

obtuse gale
#

How tf can you do that

quiet depot
#

well

#

over all that graph has 258 "things"

#

some of those things are equations

#

some are comments

#

they're all pretty simple equations too

old wyvern
#

Try a quadric plane curve

quiet depot
#

how does it look in 2d?

old wyvern
jovial warren
#

what is this

old wyvern
#

This seems to be it

#

Altho google images show somethings more complex

obtuse gale
jovial warren
#

ffs you know that's not what I meant Fefo

old wyvern
#

I used the eqn from there

quiet depot
#

fefo, in the thing, I have linears, circles, cubic beziers, and hyperbolas

#

not even that complicated yet

#

next design I'm making uses tan & sin

quiet depot
#

oh nice fefo

#

not fefo

#

yugi*

obtuse gale
quiet depot
#

I'm not sure how I could integrate that into a design yet

oak raft
#

hey piggy

#

offtopic but how did you pronounce fefo

jovial warren
oak raft
#

maybe

jovial warren
#

and maybe you should ask Fefo that

oak raft
#

I already did

jovial warren
#

oh btw, thinking about Fefo, @obtuse gale what do you call yourself now? because I can see you've changed your name

#

also, what pronouns am I meant to identify you with?

oak raft
#

Weren't you there when they were talking about it?

jovial warren
#

can't remember

obtuse gale
#

she/her and I mean the name you can.. see it lmao

oak raft
#

I thought you were there lol

jovial warren
#

alright

jovial warren
oak raft
#

๐Ÿคทโ€โ™‚๏ธ

oak raft
#

didn't you have she/they or smth in your name?

jovial warren
#

yeah she used to

oak raft
#

ah my mistake

jovial warren
#

guess she's made up her mind now

onyx loom
#

attack helicoptor kekw

jovial warren
obtuse gale
#

And yes I'm saying "comfortable" because I actually know some people that feel like that

hot hull
#

Please don't tell me you're on about pronounciations

jovial warren
oak raft
jovial warren
#

yeah it most likely is

#

it's correct English though afaik

obtuse gale
static zealot
obtuse gale
static zealot
#

or does it?

obtuse gale
#

๐Ÿ‡ฌ๐Ÿ‡ง Traditional English
๐Ÿ‡บ๐Ÿ‡ธ Simplified English

hot hull
#

That's a she/he then

hot hull
#

Y'all can fuck off with anything else

obtuse gale
#

Sure okay

quiet depot
#

oof

hot hull
#

Don't get offended, but I couldn't give less shits about what your personal pronouns are

jovial warren
#

Frosty try not to get yourself banned

oak raft
#

Holy shit when it came to frosty being a badass
๐Ÿ‘‰ and how he's here

๐Ÿ‘‰ he was here

hot hull
#

If that's a reason to get banned then I don't wanna be in here

prisma wave
#

isn't everyone they/them...?

hot hull
#

when talking about them in a third person yes

oak raft
#

Michael ๐Ÿ˜ฑ

quiet depot
#

just for the record i pronounce fefo as "fee foe" like "fee-fi-fo-fum"

oak raft
#

I did too piggy

hot hull
#

fe fo (silent h)

oak raft
#

until I was told it's pronounced otherwise lol

jovial warren
oak raft
#

Apparently it's "feh foh" iirc

hot hull
#

both h's are silent

obtuse gale
#

Emilia Lopez, that sounds straight out from a netflix show

jovial warren
#

Frosty you're gonna have to accept that whether you like it or not

quiet depot
#

oh wait so you want us to call you emily?

#

I thought fefo was just a nickname

obtuse gale
#

It is for now

jovial warren
#

wasn't your old name kinda similar?

#

wasn't it like Federico or something?

obtuse gale
obtuse gale
jovial warren
#

fair enough

oak raft
quiet depot
#

u gotta have an ign though, emily aint recognisable, fefo is, another thing like fefo can be, but I can't see emily becoming recognisable

hot hull
#

Not what I was saying at all lmao

prisma wave
#

whats your gaming name

#

mine is "Semigroup Mitten"

hot hull
#

As I said he/she that's fine by me, and if you wanna be called Emily, sure, just saying about all the other bs you can gladly heck out

prisma wave
#

named after the Semigroup class from haskell

hot hull
#

What for?

jovial warren
#

you can keep your old nickname, not really an issue tbh, respectable people will still respect you for who you are

obtuse gale
quiet depot
#

ah yeah ig

onyx loom
#

ign: GoatyGoatlet

oak raft
hot hull
#

:what:

onyx loom
#

oMg ScReEnIe pLeAsE

jovial warren
#

Frosty

#

you're famous

#

lol

obtuse gale
#

Well Matt is Matt in here, everywhere else it's ipsk

#

Larry is Larry everywhere lol

onyx loom
#

LichtHund fingerguns

obtuse gale
#

Lol

hot hull
#

Frosty is Frcsty :sadly:

sweet cipher
#

We could all go by xp rankings instead of names

hot hull
#

xp rankings?

obtuse gale
#

Oh shit 15% battery

#

D:

sweet cipher
obtuse gale
#

speaking of the leaderboard

#

Oh conclure hehehehhehe

oak raft
#

efefury

#

in vc? why vc lmao

#

I'll say it on stream then

onyx loom
obtuse gale
#

idek how much xp I make per day lol

onyx loom
#

not 3k thats all i can say

obtuse gale
#

๐Ÿฅฒ

past berry
#

and remence is jacob

jovial warren
#

16,777,216 RGB colours

obtuse gale
past berry
#

but jakob with a k

oak raft
#

no

#

with a c

old wyvern
#

Oh fefo wasnt joking with the new name?

oak raft
#

efe

#

lmao

jovial warren
old wyvern
#

lol

obtuse gale
old wyvern
obtuse gale
old wyvern
#

Wdym?

#

Oh wait, did you change your name IRL?

boreal needle
obtuse gale
#

Not yet lol

#

But like

#

The whole wanting to become trans thing

old wyvern
#

Wanting to become trans?

#

Isnt that by birth?

boreal needle
#

you don't want to become trans, you are trans

obtuse gale
#

Well but it takes time and courage

boreal needle
#

youve gotta wear it like a medal

#

be proud of it

jovial warren
boreal needle
#

it sounds really silly at first but youll see what i mean

old wyvern
#

Semigroup Mitten > Alex

obtuse gale
#

Ben Eater published a new video

#

omegapoggers

hot hull
old wyvern
#

Lmao

#

Alexa Woods

jovial warren
#

yeah no

#

enough

oak raft
# boreal needle be proud of it

ok so I'm genuinely curious and I don't want this to come off as rude but if you were born trans, what is there to be proud of

boreal needle
#

you dont care about the norms and that youre who you are

oak raft
#

I guess so

jovial warren
old wyvern
#

What?

oak raft
#

I'm just going by what they're saying

old wyvern
#

There are non binary genders by birth

jovial warren
#

you what

old wyvern
#

Chromosomal issues

jovial warren
#

guess you could be born XXY like my best friend's brother is lol

boreal needle
#

that's sex, not gender

#

different things

obtuse gale
old wyvern
#

๐Ÿฅฒ

onyx loom
#

@hot hull make joke

oak raft
#

@hot hull make joke

onyx loom
#

dont

old wyvern
#

Ok I assume this is getting to a controversial topic

onyx loom
#

๐Ÿฅฒ

forest pecan
#

im going to start making a list of people i absolutely hate in HC

#

lol

hot hull
#

wat

onyx loom
#

uh

#

nothing

onyx loom
#

#2 me

old wyvern
#

#3 yourself

jovial warren
old wyvern
#

๐Ÿ˜

jovial warren
#

as if it wasn't already obvious enough, they left a comment to tell you that constructor is package private

oak raft
#

is it coming ou

#

out

past berry
#

remence would be at the top of that list right?

half harness
#

๐Ÿ‘€

#

am i on the list

jovial warren
#

nah

jovial warren
#

you're not hated, you're just laughed at

obtuse gale
#

Lol

old wyvern
#

Which repo is it from

onyx loom
#

"gtg"

jovial warren
half harness
#

lol

old wyvern
#

Lmao

half harness
#

whenever i say that

old wyvern
#

Gosling

half harness
#

i actually have to go

jovial warren
#

not even kidding that's from OpenJDK Yugi

old wyvern
#

Silly man

onyx loom
#

do u tho?

half harness
#

usually because im in discord while in school

#

so i have to "gtg" a lot

old wyvern
#

This is why Simon > Gosling

oak raft
#

pulse u didn't answer my question ๐Ÿ˜ญ

forest pecan
#

Throughout both Spigot Discord and Helpchat (I hate)
#1 Yako
#2 Vision/Masked
#3 Kacberleague9
#4 CreeperCry
#5 Retrooper
#6 Belmu (cause he spams in HelpChat)
#7 Any occasional stupid troll that swoops in

People I have respect for
#1 Fefo/Conclure
#2 Brister
#3 Yugi/Kaliber
#4 Starr/Remence
#5 BananaPuncher714
#6 Dkim/Matt

sweet cipher
half harness
#

lol my friend sometimes messages with me, and it goes like
"I need help"
"ok, what do u need help with?"
"minecraft"
"whats the question?"
"it's not working"
"what's not working"
"the mod isn't working"
yagsjhdwajhsd

onyx loom
#

why tf u got respect for me ๐Ÿ˜‚

#

what have i done to earn respect

half harness
oak raft
sweet cipher
onyx loom
#

oh i see

forest pecan
#

lol

onyx loom
#

cool ๐Ÿ‘

past berry
#

i think u put remence on the wrong list

onyx loom
#

vision ๐Ÿ˜”

boreal needle
#

irrelevance be like

sweet cipher
#

Exactly

forest pecan
#

(btw its a joke)

#

lmao

hallow crane
#

yeah I already know pulse hates me problem is not sure why

sweet cipher
#

I think I do

forest pecan
#

@cinder flare

hallow crane
#

people who make lists of people they hate are like 6th graders

oak raft
#

ily2 pulse โค๏ธ

onyx loom
#

lol

sweet cipher
old wyvern
#

The best way to resolve an argument is silence

forest pecan
#

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

hallow crane
#

the best way to resolve differences is to talk about it

quiet depot
hallow crane
#

why do you hate me

sweet cipher
jovial warren
#

actually not that one

old wyvern
quiet depot
#

yugi i'm putting 8 ampersand curves on my shit

forest pecan
#

because you tried to be toxic for me not getting developer role when ur code is.

#

lol

old wyvern
forest pecan
#

and also some other friends said stuff too. That's all im going to say

#

lmao

hallow crane
#

I said one thing because you were being toxic towards me. I said "that's probably why you don't have the role"

old wyvern
#

Time to rewrite java as Haskell???????!!!

old wyvern
#

Guys

hallow crane
#

You were

old wyvern
#

Chill

forest pecan
#

I was helping you

sweet cipher
#

Yako do you know Skript?

hallow crane
#

I told you there was an issue with your code and you took it personally

forest pecan
#

???

onyx loom
#

abababababababababababababababa

prisma wave
forest pecan
#

it was a user issue LMAO

#

There was never an issue with my code. Hence it worked for me for some odd reason?

#

lol

hallow crane
#

And you insulted my knowledge of the language after what you tried failed

sweet cipher
forest pecan
#

Lmaooooo

onyx loom
#

ababababababab

jovial warren
#

what's going on here now

old wyvern
#

DMs?

prisma wave
onyx loom
#

DMs.

old wyvern
#

There we go

sweet cipher
#

Nooo

onyx loom
#

anyone heard of haskell?

sweet cipher
#

I want to see them argue

jovial warren
#

same

prisma wave
#

ive haerd of haskell!!!

old wyvern
onyx loom
#

oh thats great news!!!

sweet cipher
#

Similar to Skript?

jovial warren
#

yeah

onyx loom
#

unpopular opinion

jovial warren
#

it's trash enough to be

hallow crane
jovial warren
#

I'm kidding lol

gusty glen
#

which is cleaner, in your opinion KT // First way strings.toList().subList(2, strings.size).forEach { word -> val ability = Abilities.getOrNull(word) ?: run { player.sendMessage(messages.get(MessageKeys.ABILITY_DOESNT_EXIST).replaceText { it.match("<ability>").replacement(word) }) return } abilities.add(ability) } KT // Second way (2..strings.lastIndex).forEach { i -> val ability = Abilities.getOrNull(strings[i]) ?: run { player.sendMessage(messages.get(MessageKeys.ABILITY_DOESNT_EXIST).replaceText { it.match("<ability>").replacement(strings[i]) }) return } abilities.add(ability) } KT // Third way for(i in 2..strings.lastIndex) { val ability = Abilities.getOrNull(strings[i]) ?: run { player.sendMessage(messages.get(MessageKeys.ABILITY_DOESNT_EXIST).replaceText { it.match("<ability>").replacement(strings[i]) }) return } abilities.add(ability) }

quiet depot
#

yugi i've just ran into the realisation that I have no clue how to translate this curve

jovial warren
#

Scripton soonโ„ข๏ธ lol

forest pecan
#

big kek

sweet cipher
quiet depot
#

ampersand

prisma wave
onyx loom
#

id say 3rd way here

jovial warren
#

stfu BM

onyx loom
#

photos/207142/pexels-photo-207142.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500

jovial warren
#

the second way I've used sometimes, but not really that big of a fan

gusty glen
onyx loom
#

of text of text

jovial warren
#

first way looks like it does a lot of list copying under the hood

old wyvern
quiet depot
#

I've got the eq

jovial warren
#

oh btw, whilst you're here @prisma wave, can I ask you something

static zealot
#

u already did ... smh

jovial warren
onyx loom
#

dont

quiet depot
#

(y^2-x^2)(x-1)(2x-3)=4(x^2+y^2-2x)^2

#

I need to scale it

#

and move it

old wyvern
#

Alright gimme a sec

jovial warren
#

because I can't keep relying on Nicole for everything BM

onyx loom
#

bardy why dont u just have commit access lmao

old wyvern
#

Getting on pc, lemme check on desmos

jovial warren
onyx loom
#

๐Ÿ™„

quiet depot
#

i made something

#

that's a single equation

old wyvern
#

That looks cool

quiet depot
#

i'm using that

old wyvern
#

๐Ÿ˜ฎ

quiet depot
#

it looks cooler than ampersand

jovial warren
#

and I like to know that my team also care about the project enough to review PRs and make sure that I'm not going off the rails @onyx loom

onyx loom
#

lol

quiet depot
#

yugi just replace the last power with 24

#

so 2 -> 24

gusty glen
#

is values() of Enums cached in some way?

jovial warren
#

should just be computed when the enum is loaded, since it's static

#

static fields are loaded on class load

old wyvern
ocean quartz
quiet depot
#

yugi I don't think I'm gonna be able to use this

#

it's just too complicated

old wyvern
#

ah

sinful mirage
#

@oak raft there's an off topic chat for a reason

old wyvern
#

@quiet depot Just multipliying a factor between 0 and 1 scales it

quiet depot
#

okie

old wyvern
#

add or subract from that resultant x and y to move it

quiet depot
#

that's step 1

quiet depot
#

hang on

forest pecan
#

we got it sorted out in dms

jovial warren
#

gonna pretend that Bardy is on that list

forest pecan
#

which

jovial warren
#

which do you think

forest pecan
#

Respect right

#

lol

jovial warren
#

well ik you don't hate me

quiet depot
#

wym yugi

#

resultant x y

forest pecan
#

Bardy you are in the middle

jovial warren
#

fair

old wyvern
#

after multiplying with the factor

forest pecan
#

and also for other people i just dont know

#

how to place them

#

lol

jovial warren
#

lol

old wyvern
#

add the root of the value you want it o move by

quiet depot
#

I must be doing this wrong

#

can you show me?

obtuse gale
jovial warren
old wyvern
#

One sec

old wyvern
forest pecan
quiet depot
#

thanks yugi

jovial warren
#

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseIntError { kind: InvalidDigit }'when you can't even make a simple random number generated guessing game

forest pecan
jovial warren
#
use std::io;
use rand::Rng;

fn main() {
    println!("Guess the number!");
    let correct_answer: u8 = rand::thread_rng().gen();

    println!("Please input your guess.");

    let mut guess = String::new();
    io::stdin()
        .read_line(&mut guess)
        .expect("Failed to read line");

    if guess.parse::<u8>().unwrap() == correct_answer {
        println!("You guessed correctly! The answer was {}", correct_answer);
        return;
    }
    println!("Better luck next time, the answer was {}", correct_answer);
}

```someone please tell me what I'm doing wrong here
prisma wave
#

Go to hell

jovial warren
#

how else do I convert a string to an int?

prisma wave
#

You don't unwrap

jovial warren
#

this is my first time using Rust btw

prisma wave
#

That's like !!

onyx loom
#

๐Ÿฅฒ

jovial warren
#

so what am I supposed to do then?

#

all well and good saying what I did wrong, but that doesn't do anything to me

prisma wave
#

Well what would you do in kotlin

#

Given a T?

jovial warren
#

check the nullability of it

prisma wave
#

There you go

jovial warren
#

ah is that what this is

#

so parse is nullable then?

prisma wave
#

In rust it's Option<T>

#

Not nullable

#

But the same effect

#

is_some() is like a null check

#

But afaik pattern matching is more idiomatic

#
match parsed {
     Some int => blah
     None => other
}
#

Ez

jovial warren
#

what about expect?

prisma wave
#

Slightly better if

#

Ig*

#

But you would typically want to handle Invalid input gracefully

jovial warren
#

also, how tf can an input of 3 not be parsed as an i32?

#

guess.parse::<i32>().expect("Failed to parse guess as an integer!") parse code

prisma wave
#

Newline character perhaps

jovial warren
#

any way I can strip that?

prisma wave
#

.trim()

#

I think

jovial warren
#

what's a usize btw?

prisma wave
#

OS word length afaik

#

Or something of that nature

jovial warren
#
Guess the number!
Please input your guess.
3
Better luck next time, the answer was -1564805939
```well, guess that works ![kekw](https://cdn.discordapp.com/emojis/654915856987586560.webp?size=128 "kekw")
onyx loom
#

damn are u like a professional developer or smth?

#

omg can i have ur autograph?

jovial warren
#

stfu

prisma wave
#

"if it compiles, it works"

#

Famous rust programmer words

#

(and Haskell too)

old wyvern
#

๐Ÿ˜Œ

prisma wave
#

rust foundation and haskell foundation should do a Collab

old wyvern
#

raskell

#

uh

prisma wave
#

the best programming language ever made

jovial warren
#
use std::io;
use rand::Rng;

fn main() {
    println!("Guess the number!");
    let correct_answer = rand::thread_rng().gen_range(1..10);

    println!("Please input your guess.");

    let mut guess = String::new();
    io::stdin()
        .read_line(&mut guess)
        .expect("Failed to read line");
    guess = guess.trim().parse().unwrap();

    if guess.parse::<i32>().expect("Failed to parse guess as an integer!") == correct_answer {
        println!("You guessed correctly! The answer was {}", correct_answer);
        return;
    }
    println!("Better luck next time, the answer was {}", correct_answer);
}
```there we go
#

probably cursed Rust but ya know, works

prisma wave
#

"failing gracefully"

jovial warren
prisma wave
#

Rust and haskell are actually very similar

#

For instance, both languages have ints and functions

jovial warren
#

also, what's the difference between String and &str?

prisma wave
#

cursed

jovial warren
#

this feels like Java primitives all over again

prisma wave
#

str is primitive string

#

String is not primitive string

#

ez

jovial warren
#

so String is the boxed type then?

prisma wave
#

That's probably not the right terminology but yeah

gilded granite
#

hi

prisma wave
#

HELLO

#

Hey man

#

Have you ever heard of haskell

prisma wave
#

๐Ÿ˜Œ ๐Ÿ˜ฉ ๐Ÿ˜Œ

#

half life haskell

old wyvern
#

My eyes pretty much feel like its burning now

#

Imma take a break

#

ciao

prisma wave
#

lol

#

uh

#

Cya

quiet depot
#

@old wyvern wait no

#

ur yet to see ur hard work in my design

old wyvern
#

Ill come back in a bit piggy

#

I still have work left, submission is tmr

#

I just need to make go have lunch now or something

#

Its 8 ๐Ÿ’€

quiet depot
#

man i've got so much work to do still

#

it's 1 am

#

336 equations in

old wyvern
#

Oh god

onyx loom
#

weak hours pig

lunar cypress
quiet depot
#

@old wyvern

#

little ampersands

static zealot
#

that's math? ๐Ÿฅฒ

quiet depot
#

100% math

prisma wave
#

p

#

a

#

t

#

t

#

e

#

r

#

n

compact perchBOT
#
๐Ÿ“‹ Your paste, BomBardyGamer
https://paste.helpch.at/agokefujuy

A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.

half harness
#

gets muted

prisma wave
#

m

#

a

old wyvern
prisma wave
#

t

jovial warren
#

BM enough

prisma wave
#

c

half harness
#

lol piggy

jovial warren
#

I get it

prisma wave
#

h

jovial warren
#

BM enough

prisma wave
#

i

jovial warren
#

enough

prisma wave
#

n

quiet depot
#

i don't like the yellow lines

jovial warren
#

ffs

prisma wave
#

g

quiet depot
#

but they get marks

#

pls

#

bm

onyx loom
#

spam ๐Ÿฅฒ

jovial warren
#

teach me then BM

prisma wave
#

im done

#

Pls don't ban

half harness
#

๐Ÿ˜ฎ

#

ban โ€ผ๏ธ

prisma wave
#

That might be wrong actually

old wyvern
#

Oh wait nvm

lunar cypress
#

it is wrong

prisma wave
#

Oh it needs parens around Some afaik

#

Idk I can't remember

jovial warren
#

I don't get it

prisma wave
#

google

lunar cypress
#

pattern matching may not be the best option anyway

jovial warren
#

how am I meant to apply that?

#

looks like a when actually

prisma wave
#

Some(x) => do something with x
None => print invalid

#

ez

lunar cypress
#

It doesn't give you Some and None for the record

prisma wave
#

what

old wyvern
#

Its Ok and Err from the docs

prisma wave
#

oh it returns a Result

jovial warren
#

yes

prisma wave
#

i thought it was an Option

#

lol

#

ok that then

old wyvern
#

Ah

lunar cypress
#

pattern matching does not really improve this

prisma wave
#

it's cool tho

#

wait

lunar cypress
#

and_then chain and map_err are better

serene cave
#

hello

prisma wave
#

oh hey trump

serene cave
#

Hello Semigroup Mitten

#

How is your day young sir

prisma wave
#

not bad, thank you for asking

#

how are you my favourite ex-president

serene cave
#

Very good

#

Biden is a hoe

prisma wave
#

i agree

lunar cypress
#
guess.trim().parse::<String>()
```wtf is this
prisma wave
#

๐Ÿคจ

obtuse gale
#

Hell

jovial warren
#

idk

gusty glen
#

how can I verify if a Text Component is "empty" (empty string)?

jovial warren
#

it wouldn't let me use str there since it has no FromStr or something

prisma wave
#

why are you parsing it at all

#

trim() gives you a &str

jovial warren
#

idk

serene cave
#

mr bombardygamer

boreal needle
#

why is donald trump here

prisma wave
#

Why wouldn't he be here

#

He's got nothing better to do anymore

hallow crane
#

when does slimjar come out @ocean quartz

obtuse gale
prisma wave
#

๐Ÿ™„

serene cave
#

I am very old man

#

I have retirement plan

half harness
#

@onyx loom i fixed the no games bug, restarting server

serene cave
#

@half harness

#

how is your day

half harness
#

good

onyx loom
#

"fixed" ๐Ÿคก

serene cave
#

Nice

#

@quiet depot how is your day

half harness
#

๐Ÿ˜ฎ

#

pinging admin

#

๐Ÿ˜ฎ

serene cave
#

I am asking how is his day

jovial warren
#

@lunar cypress ```
io::stdin().read_line(&mut guess).map_err(terminate("Guess could not be read"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an FnOnce<(std::io::Error,)> closure, found ()

prisma wave
#

function

jovial warren
#

I got that part

#

what kind of function?

obtuse gale
#

Bardy what are you doing today

jovial warren
#

wdym

#

I'm trying to learn Rust

obtuse gale
#

Oo

quiet depot
jovial warren
#

and so far, not really impressed tbh

prisma wave
#

it's no haskell

serene cave
prisma wave
#

that's for sure

quiet depot
#

yes

obtuse gale
lunar cypress
serene cave
#

I see

lunar cypress
#

and whatever terminate does probably shouldn't go there

prisma wave
#

lambda ๐Ÿ˜ฉ

ocean quartz
hallow crane
#

I will be awaiting, sir.

jovial warren
#

this just isn't really making all that much sense to me

#

the syntax is a bit complex

#

especially for my object-oriented mind

prisma wave
#

this would be the same in any other imperative language

#

there's nothing in that code that would be particularly different to the same thing in java

jovial warren
#

no but the whole Result stuff is not what I'm used to

lunar cypress
prisma wave
jovial warren
#

yeah ik, but you use it like 0.1% of the time

prisma wave
onyx loom
half harness
#

D:

prisma wave
lunar cypress
jovial warren
#

Result in Kotlin just represents something that may be the result of something doesn't it?

prisma wave
#

Result = try catch wrapped into a value

jovial warren
#

this is how little I use it

prisma wave
#

didnt you use to use runCatching all the time

jovial warren
#

good point I guess

#

you think I knew anything about anything back then though?

prisma wave
#

well

jovial warren
#

let alone how Result actually works

lunar cypress
prisma wave
#

it seems reasonable to assume you would know what a function you called actually did

lunar cypress
#

also nice name

prisma wave
#

ty

lunar cypress
#

This time I actually know what it means

prisma wave
#

lmao

half harness
#

๐Ÿ˜”

onyx loom
#

my mans tryna flex his GODBRIDGING skills to me

half harness
#

๐Ÿฅฒ

jovial warren
#
use std::io;
use rand::Rng;

fn main() {
    println!("Guess the number!");
    let correct_answer = rand::thread_rng().gen_range(1..10);

    println!("Please input your guess.");

    let mut guess = String::new();
    io::stdin().read_line(&mut guess).expect("Guess could not be read!");

    if guess.trim().parse::<i32>().expect("Guess could not be parsed to an int!") == correct_answer {
        println!("You guessed correctly! The answer was {}", correct_answer);
        return;
    }
    println!("Better luck next time, the answer was {}", correct_answer);
}
```๐Ÿฅฒ
#

I guess I should probably just not be using expect there on the trim

#

there we are

#

hey @prisma wave

prisma wave
#

bonjour

jovial warren
#

can I ask you to do something for me please?

prisma wave
#

do i have to actually look at it

#

i could just click approve

jovial warren
#

up to you lol

onyx loom
#

as u can see, he clearly cares about this project

jovial warren
#

a project that he started

onyx loom
#

๐Ÿฅฒ

prisma wave
#

yes i am so passionate about this project

jovial warren
#

maybe I need another replacement for you lol

prisma wave
#

sure

forest pecan
#

you know you can combine logger statements right

jovial warren
#

because Nicole is great, but she's not always available lol

jovial warren
#

you mean I can log multi-line messages or what?

forest pecan
#

yea

jovial warren
#

because I was thinking that using a raw string might be a good idea

#

so I can just type ```kotlin
LOGGER.error("""
Whatever
This
Is
Lol
""")

#

and that'll work?

old wyvern
#

Might wanna trim the indents

#

But yes

#

The format might have an issue tho

#

Not sure

frail glade
#

Wait, when did Kotlin 1.5 come out?

jovial warren
#

you what?

frail glade
#

According to Maven Central, Kotlin 1.5 is no longer in RC.

onyx loom
#

o

prisma wave
#

pff, haskell reached version 1.5 years ago

old wyvern
#

๐Ÿ˜Œ

half harness
#

๐Ÿ˜Œ

forest pecan
#

๐Ÿ˜Œ

ocean quartz
jovial warren
#

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

frail glade
#

So I wonder if we should expect an announcement today.

old wyvern
frail glade
#

Hopefully that means today.

old wyvern
#

Yea

frail glade
#

Imagine SlimJar and Kotlin 1.5 releasing at the same time??

old wyvern
#

๐Ÿ˜ฎ

ocean quartz
#

Doable ๐Ÿ‘€

old wyvern
#

Definitely

forest pecan
#

@old wyvern hurry up nerd

ocean quartz
#

All that's left is the mirror

old wyvern
#

Lit

#

Im almost done rewriting the application builder api as well

frail glade
#

Let's gooooo.

jovial warren
frail glade
#

Probably will be updated when they do the actual GitHub release.

jovial warren
#

yeah

frail glade
#

Weird. I had dependabot suggest that I upgrade to Kotlin 1.5 4 days ago.

#

Ooo, shadow 7 also came out.

#

If I switch to Shadow 7 and then use SlimJar, is that going to break anything? As Shadow 7 requires Gradle 7.

ocean quartz
#

Need to test that yeah, last time I tried it kinda broke, but it wouldn't even compile so need to test on a different project

frail glade
#

I'm already using Gradle 7 atm but I'll hold off on updating Shadow.

jovial warren
#

wait shadow 7 is out?

#

omg finally

#

the support for application.mainClass

#

also, I wonder whether CFR or Fernflower is the better decompiler

#

currently decompiling the vanilla JAR so I can try and make a Gradle project from it

obtuse gale
#

really???

old wyvern
#

Naming ๐Ÿ’ฏ

obtuse gale
#

P or NP ๐Ÿคก

jovial warren
#

man CFR is so much faster and decompiles so much better than Fernflower

obtuse gale
#

doesn't ij use ff?

#

when looking at decompiled classes through it

ocean quartz
#

I think so

jovial warren
#

yeah IJ uses FF

#

but compared with CFR, it appears that FF sucks ass

jovial warren
#

hey would anyone here have a clue how to reverse apply a ProGuard mapping file to a JAR?

old wyvern
static zealot
#

omfg I finally did it... Took me like an hour to add a console stop command to my discord bot...

obtuse gale
#

lol

static zealot
#

I really wanted to use like a command library or something but then I realised all I need is a fucking stop command ... xD

boreal needle
#

ooh ive found an intellij bug

steel heart
#

become jetbrains bug catcher and get free intellij ultimate ๐Ÿ˜„

#

(if that exists)

boreal needle
#

i already have free ultimate

steel heart
#

thats limited tho

jovial warren
#

lol

humble silo
#

Does anyone here actually pay for it?

jovial warren
#

nope

#

why do you think we all use it?

humble silo
#

Ok i was worried lol, the student license is so easy to get

ocean quartz
#

OS license is even easier, their requirements are so small

humble silo
#

Huh, well i should probably look into that soon

ocean quartz
#

teeny tiny

boreal needle
#

i could probably qualify with my pathetic collection of messy java

#

and that's saying something

#

intellij can convert java to kotlin they said, it works really well they said

onyx loom
#

no one said it works well ๐ŸŒš

static zealot
ocean quartz
#

IJ is like "ah a Java user, !! everywhere!"

boreal needle
#

can confirm there are many !!s

ocean quartz
frail glade
#

Yeah I don't trust IJ to convert Java to Kotlin because of how it types and handles null ability.

static zealot
static zealot
#

2.6.2

#

I'm so dumb

#

wait nvm same thing

#

xDF

ocean quartz
#

๐Ÿฅฒ

frail glade
#

Was just about to say

static zealot
#

Could not find net.dv8tion:JDA:4.2.1_262.

ocean quartz
static zealot
#

oh wait yeah now I forgot the other repo

#

shit

#

๐Ÿฅฒ ๐Ÿ”ซ

boreal needle
#

yeah i just found that lmao

frail glade
#

Try changing it to just +

boreal needle
#

it feels great not needing to have 300 million overloads

frail glade
#

It'll calculate the latest version for you

static zealot
#

now to figure out why the hell JDA#shutDown doesn't actually execute queued RestActions...

hot hull
#

Yikes, first blue screen

static zealot
static zealot
hot hull
#

ยธNot nice sad_fingerguns

#

Literally had nothing opened

static zealot
#

๐Ÿฅฒ

ocean quartz
# hot hull Yikes, first blue screen

Had one a few days ago installing Nvidia drivers, pc was crashing every few minutes, had to run in safe mode to uninstall all graphic drivers and install again ๐Ÿฅฒ

hot hull
#

I mean I don't think I updated anything

#

Hoping this is just a one off

onyx loom
#

switch to linux

hot hull
#

I will smack you

onyx loom
#

oh no

#

please dont

half harness
#

lol

boreal needle
#

smack him

half harness
unkempt tangle
#

Why does protocolsupport use enderchests as chest blocks?

half harness
#

lmao

#

chests exist in 1.8

sweet cipher
#

Canโ€™t put chests next to each other in 1.8

onyx loom
#

its because of the way chests were changed in 1.13/1.14

half harness
#

intellij is taking like 10 minutes to commit to github ๐Ÿ˜ฉ

#

is there a way to skip this?

unkempt tangle
#

what you mean?

#

Chests does not behave like chest in 1.12?

onyx loom
#

i cant remember what they changed exactly, but they did change

lavish notch
#

You cannot place chests next to each other in 1.12 and below.

half harness
#

whats the git command to commit & push?

lavish notch
#

*More than 2

onyx loom
#

git commit

unkempt tangle
#

huh

onyx loom
#

git push

unkempt tangle
#

tYou must

#

Just replace the conflict with atrap chest

half harness
#

๐Ÿ˜ฆ intellij isn't committing, im trying to use cli but now its ignoring the gitignore

#

i hate this

ocean quartz
#

GitKraken fingerguns

boreal needle
#

is there a way to make dokka more java-user-friendly

#

or to get javadoc working with kotlin

ocean quartz
#

What do you need?

boreal needle
#

porting this code over to kotlin but its primarily used in java projects

ocean quartz
#

Like show me an example of your javadocs that you want to convert and I'll try converting a bit for you

boreal needle
#

wdym

#

i mean getting javadoc itself to generate from kotlin code

ocean quartz
#

Ah you can't

#

Thought you meant just the comments

boreal needle
#

rip

sinful mirage
#

@oak raft

oak raft
#

no

sinful mirage
#

wanna play with me like last time

#

when my mom and dad left

oak raft
#

No I hate you

half harness
#

๐Ÿ‘€

#

๐Ÿ˜ฒ

sinful mirage
#

you said u loved me

oak raft
#

I lied

frail glade
#

Someone needs to make a plugin like Essentials where each command has its own jar.

  1. Create
  2. Profit
  3. ??
onyx loom
#

๐Ÿคจ

sinful mirage
#

do u know who imagine dragons are?

oak raft
#

me?

onyx loom
#

well i would hope 99% of people do

sinful mirage
#

no the sky.... smh

oak raft
#

This is a public discord I don't know who you could be talking to

sinful mirage
onyx loom
#

of course

eternal compass
#

I'm legitamitley scared of myself now. I just wrote the ugliest code on earth, but its the only way I can get stuff to work

#

it passes like 8 arguments into itself

onyx loom
#

@oak raft disappointed

oak raft
#

ofc I know who they are

#

they did the box right?

onyx loom
#

ok

sinful mirage
onyx loom
#

yh man

#

ha

#

funny!

#

gotem!

oak raft
#

he got u good ngl

sinful mirage
oak raft
#

who

sinful mirage
#

this dick

oak raft
#

ha

onyx loom
#

ha!

oak raft
#

funny!

sinful mirage
#

hahahahahah

onyx loom
#

he got u good!

oak raft
#

gotem!

sinful mirage
lunar cypress
sinful mirage
oak raft
#

it's :kekw:

compact perchBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
โ€ข HelpChat Paste

sinful mirage
#

wait does anyone in this server speak python?

onyx loom
#

yeah i speak parseltongue

#

sup

sinful mirage
sinful mirage
#

he'd beat my ass tho ๐Ÿฅฒ

oak raft
#

I'll do the same

sinful mirage
#

bet

eternal compass
#

๐Ÿ‘€

oak raft
#

no

sinful mirage
#

ill dm addy

oak raft
#

nevermind

sinful mirage
oak raft
#

please don't hurt me ๐Ÿ˜ฑ

sinful mirage
#

burger king kekw

half harness
eternal compass
#

I told you its ugly

#

and it only almost functions

half harness
#

also, just have a NamespacedKey constant

eternal compass
#

oh wait I'm dumb

onyx loom
#

typing final is oddly satisfying

half harness
#

also, make Map the param

#

not HashMap

eternal compass
#

ok done

onyx loom
#

whats the shortcut to create constructors / getters + setters etc

old wyvern
#

alt + insert

onyx loom
#

thank

half harness
#

you

obtuse gale
#

you're welcome

old wyvern
#

to