#dev-general

1 messages ยท Page 89 of 1

gentle coyote
#

S*T*0.6

lunar cypress
#

well it would certainly be helpful if it registered my output

#

idk what to do

gentle coyote
#

i see it coming. johnny is going to be shortest again lol

lunar cypress
#

my solution is correct

#

but it says "Nothing" as output again

prisma wave
#

i can't beat 122

#

๐Ÿ˜ฆ

jovial warren
#

nah I can't do this

old wyvern
#

bardy

#

whats ur py soln?

#

share

#

66 chars

lunar cypress
#

I'm afraid the website does not cooperate

#

nothing works

gentle coyote
#

don't use clojure

old wyvern
#

wdym nothing works?

#

havent had any issues till now

lunar cypress
#

no output

#

again

old wyvern
#

change ur language

#

I tried 3 till now all seems fine

lunar cypress
#

don't have time now

old wyvern
#

welp

lunar cypress
#

well I'm just going to submit this

prisma wave
#

damn

#

that was tough

old wyvern
#

ayy

#

gg

lunar cypress
#

I could have gotten 3 probably

prisma wave
#

gg

old wyvern
#

my first first

#

xD

prisma wave
#

nice

old wyvern
#

@gentle coyote

#

@spring canyon

gentle coyote
#

I'm in

old wyvern
#

yup

gentle coyote
#

Johnny isn't

old wyvern
#

@lunar cypress you in?

gentle coyote
#

das_ said he has to go AFK for a while

old wyvern
#

@jovial warren

#

ah

lunar cypress
#

"Nothing" again

#

nice

#

love that

prisma wave
#

๐Ÿ˜ฆ

lunar cypress
#

ffs

#

This is not fun

gentle coyote
#

it worked

lunar cypress
#

yeah

#

now it did, all of a sudden

old wyvern
#

lol

lunar cypress
#

but it's not fun when you have no idea when it does and when it doesn't

old wyvern
#

weird

lunar cypress
#

it's completely random it seems

lunar cypress
#

This is gonna be the last one for me

old wyvern
#

alrighty

#

same

#

@prisma wave

#

1 more game boi

prisma wave
#

yeah me too

#

let's go

#

29 seconds ๐Ÿ‘€

lunar cypress
#

this one worked

#

I think it doesn't like it when I consume sequences

old wyvern
#

ayy gg

prisma wave
#

gg guys

lunar cypress
#

which is pretty much the only thing you do in clojure

gentle coyote
#

It's LITERALLY string(charCode) in Go lmfao

prisma wave
#

rip

old wyvern
#

xD

prisma wave
#

yeah kotlin is just charCode.toChar()

lunar cypress
#

so beautiful (apply str (map char (repeatedly charCount read)))

gentle coyote
#

@spring canyon is there again

old wyvern
#

its only (char)i in java

spring canyon
#

๐Ÿ‘‹

prisma wave
#

so beautiful
i'm not sure about that one

#

1 more?

old wyvern
#

๐Ÿ‘€

#

Sure

prisma wave
#

since it was a short one lol

lunar cypress
#

nah im out

prisma wave
#

ok

#

cya

#

wp

spring canyon
#

Bye

old wyvern
#

bm coming?

gentle coyote
#

It's fun tbh

prisma wave
#

yep

#

very fun

old wyvern
#

It's fun tbhYUPPP

spring canyon
#

Never had so much fun while programming for ages

gentle coyote
#

Not again

spring canyon
#

(i hate and love regex btw)

prisma wave
#

yeah this is really fun lmao

gentle coyote
#

I'm the worst in this game it sucks

old wyvern
#

๐Ÿ˜„

#

Lets hold a match everyday

#

this seems very fun

gentle coyote
#

1 more?

old wyvern
#

Sure

prisma wave
#

yes

prisma wave
#

we need to do at least 10 of these a day

old wyvern
#

yess!

onyx loom
#

last game

prisma wave
#

eh

old wyvern
#

xD

prisma wave
#

give or take a few

#

almost last game

spring canyon
#

xd

gentle coyote
#

I think I'm addicted to this game lmao

spring canyon
#

Shortest

#

Finally

#

No presure

prisma wave
#

oh god

spring canyon
#

Wow

#

Interesting problem

jovial warren
#

alright back from dinner now

onyx loom
#

WB

prisma wave
#

wb

#

guess that means we've got to do more

jovial warren
#

nah it's good

#

I'm gonna be moving to arch now anyway

#

just gotta double-check I backed everything up on my external

#

everything I want/need anyway

spring canyon
#

wb

old wyvern
#

ooofff

#

3

#

dammit

#

3 chars

prisma wave
#

damn

#

nice try

onyx loom
#

someone give me a simple program to work on string manipulation n shit

prisma wave
#

with regex?

onyx loom
#

no

prisma wave
#

hm

old wyvern
#

clash with us @onyx loom

#

xD

onyx loom
#

๐Ÿ™„

prisma wave
#

idk any sort of big string manipulation usually needs regexes

onyx loom
#

would if i could

#

just simple shit

#

like

#

u got a big string input

#

then u take out a word

#

ok ima do that

#

damn i dont need u guys ๐Ÿ˜ 

prisma wave
#

use regex for that lol

gentle coyote
#

I just can't get it shorter

old wyvern
#

Take a webpage html and extract a certain string

prisma wave
#

ew

old wyvern
#

I've had to do that

#

and it was gross

#

we had one night to write a vpn detection shit

prisma wave
#

oh dear

old wyvern
#

we had more time but a teammate fucked us

gentle coyote
#

1 more?

prisma wave
#

sure

onyx loom
#

10:20pm : 1 more?
3am: 1more?

old wyvern
#

10 years later: 1more?
me: YES

onyx loom
#

the addiction is real

prisma wave
#

1 more won't hurt

steel heart
#

Lol

onyx loom
#

what

#

the f is ur name

gentle coyote
#

the addiction is real
true

old wyvern
#

yes MOREE

#

waitin for das

spring canyon
#

Sorry

#

I'm brain afk

old wyvern
#

@gentle coyote @spring canyon

gentle coyote
#

he isnt ready yet

old wyvern
#

ok

spring canyon
#

Whatever

#

Go on

#

That's it for me, bye

gentle coyote
#

cya

old wyvern
#

ciao man

prisma wave
#

bye

old wyvern
#

?

#

wha

#

xD

prisma wave
#

exactly the same as yours

old wyvern
#

o.o

#

I dont think mine can go any smaller tbh

prisma wave
#

me neither

old wyvern
#
import math
n = int(input())
for i in range(n):
    x = int(input())
    print(bin(x).split("b")[1])
#

welp

#

gg

#

xD

#

draw

prisma wave
#

yeah lol

#

gg

#

wp

obtuse gale
#

Hello,

Anyone know why this happens?
Caused by: com.comphenix.protocol.reflect.FieldAccessException: No field with type net.minecraft.server.v1_12_R1.IChatBaseComponent exists in class PacketPlayOutScoreboardObjective.

is says that is has to do with this line
packet.getChatComponents().write(0, WrappedChatComponent.fromText(displayName));

Code:
https://paste.helpch.at/ixicixalih.java

Error:
https://paste.helpch.at/igogiviquz.rb

prisma wave
old wyvern
#

^

gentle coyote
#

One more @old wyvern @prisma wave ?

old wyvern
#

Sure

prisma wave
#

hmmmmmmm

#

yeah ok

prisma wave
#

this is actually the last one though

#

like for real

old wyvern
#

Alrighty

prisma wave
#

probably

old wyvern
#

xD

gentle coyote
#

maybe

steel heart
#

What would happen if Long.MAX_VALUE + 1L ?

topaz bay
#

overflow

#

Youd get Long.MIN_VALUE

steel heart
#

Ouh

#

Thatโ€™s nice

topaz bay
#

I wouldnt say that

obtuse gale
#

@prisma wave what do you mean

#

was you taling to me?

prisma wave
#

yes

steel heart
#

Ah my enemy

prisma wave
#

@old wyvern @gentle coyote gg

#

ah my enemy

obtuse gale
#

oh

old wyvern
#

ggggg

gentle coyote
#

ggwp

obtuse gale
#

okay

old wyvern
#

xD

obtuse gale
#

moment

prisma wave
#

@steel heart you will pay for your crimes

old wyvern
#

AnTiKotSquad

steel heart
jovial warren
#

BaseComponent is bungeecord-chat isn't it

prisma wave
#

yeah

#

but also in spigot

#

for json messages

steel heart
jovial warren
#

spigot is maintained by md_5 ofc it's in spigot lol

old wyvern
#

or more like a pet thing

#

idek

jovial warren
#

I still remember when I did this in my code:

ComponentBuilder whatever = new ComponentBuilder(string)
Bukkit.broadcastMessage(whatever.toLegacyText())

or something like that

old wyvern
#

o.o

jovial warren
#

now that was stupid

#

building a component from a string then converting it back to a string lol

#

Sounds like human trafficking to me
lol

#

a post like that is how you joined Prevarinite lol

old wyvern
#

xD

jovial warren
#

I'm rewriting that punishments plugin in to separate modules to support bukkit and bungee by the way

#

oh and it's written in Kotlin

old wyvern
#

same for that chat plugin

steel heart
#

Yugi youโ€™re a free dev right

old wyvern
#

o.o

#

Yugi youโ€™re a free dev rightWhat does that even mean?

steel heart
#

After you get paid atleast?

jovial warren
#

I'm a free dev

old wyvern
#

free dev?

jovial warren
#

I don't believe in getting paid for something I do as a hobby

steel heart
#

Ok can you code Minecraft for me but in cow language Bom?

jovial warren
#

I also don't believe my quality of work is worth being paid for

#

rewrite minecraft? no chance

topaz bay
#

facts

jovial warren
#

and in cow language?

#

you out of your mind

#

facts
lol

steel heart
#

Well I mean ppl earn money on selling full static plugins

old wyvern
#

Ok can you code Minecraft for me but in cow language Bom?Moo

jovial warren
#

static plugins?

old wyvern
#

he means overuse of static

steel heart
#

Yes

#

Yeah

#

And with a really horrifyingly quality

jovial warren
#
moo example() {
    mooo x = Moo()
    x.moooo(3)
}
#

lol

#

worst language ever

onyx loom
#

moo

jovial warren
#

I just made that up by the way

prisma wave
#

moo

steel heart
#

oom

jovial warren
#

Moo can be the root class for all classes lol

old wyvern
jovial warren
#

tf

steel heart
#

True mooer

old wyvern
#

xD

#

Moo.moo(-> Moo.moo(-> Moo.moo(-> Moo.moo(-> Moo.moo(-> Moo.moo(-> Moo.moo(-> Moo.moo(-> Moo.moo())))))

distant sun
#

Nice name @steel heart

#

Very proud of you

jovial warren
#

thought I might as well repost my earlier request-free lol

old wyvern
#

[Service] Kotlin Developersew

jovial warren
#

well I write in Kotlin now so Java developers ain't really gonna cut it lol

#

also you should learn Kotlin @old wyvern

old wyvern
#

I already do kotlin

onyx loom
#

@distant sun i do not condone your disgusting language

old wyvern
#

but i like java

jovial warren
#

you out of your mind xD

old wyvern
#

๐Ÿ‰

#

xD

jovial warren
#

yeah those seeds are your brain cells and the red stuff is all the crap you been filling your head with we know

#

lol

old wyvern
#

๐Ÿ™ โ˜ ๏ธ

#

I dont have that many brain cells

#

sad

versed ridge
#

@jovial warren Isn't the code in the background on your website in java though

steel heart
#

@distant sun We have to stop them together thonking1

jovial warren
#

@versed ridge no it's JS

#

actually yeah that's Java

#

good point

old wyvern
#

wha

jovial warren
#

mainly because the website is based off of (and when I say based off of, I mean virtually copied) from another website I liked

prisma wave
#

ain't many kotlin developers round these parts

onyx loom
#

we will overcome these java thots

old wyvern
#

I downloaded google web designer

prisma wave
#

good idea

old wyvern
#

now gotta learn

#

welp

jovial warren
old wyvern
#

that bg tho

jovial warren
#

if you look they're virtually the same

#

as I said, my creativity span

old wyvern
#

That inital bg looks weird

#

welp

distant sun
#

@onyx loom hf with VB >:)

onyx loom
#

SHUT UP

distant sun
#

Ez

onyx loom
#

kotlin is goated

old wyvern
#

Whats wrong with VB?

jovial warren
#

I hope @jaunty maple doesn't mind that much that I virtually copied his website

#

also VB?

#

isn't that visual basic?

distant sun
#

@onyx loom

old wyvern
#

yes

distant sun
#

Ye

onyx loom
#

yes

jovial warren
#

@distant sun get out

old wyvern
#

I started with vb6

#

โ˜ ๏ธ

distant sun
#

Nou

jovial warren
#

I started with Python and HTML mostly

#

I think

#

although my HTML was limited to a few copy-pastes

prisma wave
#

imagine not starting with java because you're an 11 year old who wants free plugins for their server

jovial warren
#

the main language I learned to code in was Java

#

imagine not starting with java because you're an 11 year old who wants free plugins for their server
fuck you I was like 13

#

xD

prisma wave
#

ha

steel heart
#

Gaby has the highest role here and therefore he should be the one that ppl should listen to

old wyvern
#

How old are you rn?

prisma wave
#

me?

old wyvern
#

both

jovial warren
#

I'm 15

prisma wave
#

im 16

old wyvern
#

o.o

distant sun
#

Weak

old wyvern
#

u gaby?

distant sun
#

18

old wyvern
#

same

steel heart
#

u yugi?

old wyvern
#

18

#

almost 19

steel heart
#

Ah Iโ€™m dumb

distant sun
#

Take it easy kids

prisma wave
#

damn you lot are old

jovial warren
#

don't call me a kid matey

onyx loom
#

YEAH GABY

#

KIDS RISE UP

old wyvern
#

I never called anyone a kid?

steel heart
#

Why is everyone so old Jesus like get young fr

jovial warren
#

not you @old wyvern

old wyvern
#

oh

jovial warren
#

Take it easy kids
this nut

old wyvern
#

xD

jovial warren
#

where's everyone from?

old wyvern
#

India

onyx loom
#

u dont wanna know ๐Ÿ’€

jovial warren
#

if I didn't want to know I wouldn't have asked genius

old wyvern
#

u?

jovial warren
#

UK

old wyvern
#

I see

jovial warren
#

or to give it it's full name, the United Kingdom of Great Britain and Northern Ireland

steel heart
#

Ngl sweden is pro country

prisma wave
#

UK boys

#

rise up

onyx loom
#

risen

jovial warren
#

rising

steel heart
#

And fall down again

prisma wave
#

nice

jovial warren
#

and you can get out @steel heart

onyx loom
#

get out @steel heart

steel heart
#

Why though

#

kotlin is a mess though

jovial warren
#

all in favour of kicking captain dumbass out?

onyx loom
#

???????????????????

steel heart
#

So I see no point

onyx loom
#

I

steel heart
#

Just cuz Iโ€™m cooler

#

Jesus

prisma wave
#

should "!Kotlin.isCool" go?

onyx loom
#

YES

jovial warren
#

you're definitely something @steel heart

#

wouldn't say it's "cooler"

prisma wave
#

I think so

steel heart
#

Yeah my name is though

#

And you canโ€™t deny a fact smilingBlackGuyWithFingerOnHead

prisma wave
#

your name SUCKS

jovial warren
#

what if it isn't a fact though

onyx loom
#

your name SUCKS

steel heart
#

No I donโ€™t want u 2 guys to suck my name

#

Not worthy it

onyx loom
#

๐Ÿ™„

steel heart
#

Itโ€™s too good

jovial warren
#

this guy is beyond hope

prisma wave
#

it's a trash name

steel heart
#

Actually not

prisma wave
#

really

#

bad

onyx loom
#

all u gotta do is remove that !

#

and we good

steel heart
#

People being partial is beyond hopes

old wyvern
#

welp gn peeps 3.5am

jovial warren
#

what do you prefer over Kotlin then?

onyx loom
#

gn

jovial warren
#

gn

steel heart
#

Gn

#

Better now

onyx loom
#

NO

ocean quartz
#

Package private, disgusting

jovial warren
#

remove the ! and it'll be better

prisma wave
#

how's this

onyx loom
#

perfect

jovial warren
#

and that won't return any errors

steel heart
#

Ewww

#

Harddrive wipe out on initialization @prisma wave

ocean quartz
#

How about this

jovial warren
#

better

prisma wave
#

nope

jovial warren
#

how do you change your display name?

prisma wave
#

my tests succeded

steel heart
#

Wow this is like all political anti organizations

#

This needs a stop

prisma wave
#

right click > change nickname @jovial warren

steel heart
#

if (kotlin) throw new RuntimeException(โ€œBadโ€);

prisma wave
#

Type Language cannot be resolved to Boolean

onyx loom
#

IS THAT

prisma wave
#

noob

onyx loom
#

JAVA????????

#

๐Ÿคข

ocean quartz
steel heart
#

nah dude

onyx loom
#

๐Ÿคฎ

steel heart
#

kotlin is a bool variable

onyx loom
#

wew

prisma wave
#

why is kotlin a Boolean

jovial warren
#

assertTrue(Kotlin.isBetterThan().java()) doesn't return any errors

prisma wave
#

that seems like bad variable naming if you ask me

#

the tests don't lie

onyx loom
#

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

#

they dont indeed

jovial warren
#

assertTrue(Kotlin.isBetterThan().js()) also has no errors

prisma wave
#

assertTrue(kotlin.goodness > java.goodness)

onyx loom
#

anything returns true

ocean quartz
#

assertTrue(Kotlin.isBetterThan(Lang.JAVA)) this is a little better imo

steel heart
#

lol imagine kotlin

jovial warren
#

assertTrue(Kotlin.isBetterThan().otherJVMLanguages()) indeed also has no errors

prisma wave
#

assertTrue(kotlin.goodness == Long.MAX_VALUE)

onyx loom
#

๐Ÿ˜ฎ

steel heart
#

If java wouldnโ€™t exist then kotlin wouldnโ€™t either

jovial warren
#

true

prisma wave
#

true

#

but that doesn't make java better

steel heart
jovial warren
#

Kotlin is there to fix Java's problems though

ocean quartz
#

Means Kotlin is an evolution of Java

prisma wave
#

^

ocean quartz
#

While yall stuck in the past

steel heart
#

It does make kotlin dependent on java which is bad

prisma wave
#

it's not though

steel heart
#

Noob lang has to be dependent

prisma wave
#

kotlin compiles to JVM bytecode, JS, or native code

jovial warren
steel heart
#

Uh okay but still noob Lang

prisma wave
#

it's just most commonly used on the JVM

ocean quartz
#

It's not, English is a germanic language, doesn't mean it's dependent on it's ancestor language

steel heart
#

Lol

#

Wym

prisma wave
#

we're not all speaking anglo-saxon

jovial warren
#

he's got a point

#

alright guys be back in about 5-10 minutes

prisma wave
#

kk

steel heart
#

1 dude down

jovial warren
#

everyone say goodbye windows

onyx loom
steel heart
#

This is the state of kotlin

prisma wave
#

adios windows

#

also not true

steel heart
#

And will forever be

prisma wave
#

kotlin was better than java on the very day it came out

steel heart
ocean quartz
jovial warren
#

there ya are

onyx loom
#

u gotta feel for java there

steel heart
#

Who need friends

#

Lol

onyx loom
#

its just abit sad for them

#

unlike kotlin, which is so popular

steel heart
#

Popular?

jovial warren
onyx loom
#

its the coolest kid in the school

steel heart
#

Ok IJ is nice

jovial warren
#

"Is that a Java programmer?"
laughing
"KOTLIN IS AN OBJECTIVELY SUPERIOR LANGUAGE"

ocean quartz
#

Was actually watching a video from a JetBrains dev doing a presentation and she said she prefers Java, but agreed that Kotlin is much better language with less boilerplate

prisma wave
#

well then that settles it

#

although

jovial warren
#

a jetbrains dev is a little bit biased

prisma wave
#

kotlinconf 2019 had a very interesting talk about the future of java

jovial warren
#

since jetbrains made kotlin lol

prisma wave
#

would definitely recommend giving this a watch

ocean quartz
#

I mean being a JetBrains dev, you'd assume she'd be bias towards Kotlin but she still chose Java

jovial warren
#

the end of Kotlin?

#

nah

prisma wave
#

it could if oracle gets their act together

ocean quartz
#

Java 15 is actually pretty nice

prisma wave
#

yeah I wouldn't have many problems using anything above java 11

jovial warren
#

I'm sticking with Java 8 until it gets so outdated that nobody uses it anymore

prisma wave
#

you should stick with it until it's out of LTS

jovial warren
#

nah fuck the later versions

prisma wave
#

which is next year iirc

ocean quartz
#

Which is getting pretty close

steel heart
#

kotlin will die ngl

jovial warren
#

Java 11 can kiss my ass for all I care

prisma wave
#

dude

jovial warren
#

Kotlin won't die

prisma wave
#

java 11 is actually nice

ocean quartz
#

Java is getting Kotlinized, which means it's doing something right

steel heart
#

Java in general is nice

#

Itโ€™s still java

rotund egret
#

Minecraft die next year (question mark)

jovial warren
#

@ocean quartz it's still got loads of boilerplate in it though

steel heart
#

If Hytale releases

rotund egret
#

Lmao

ocean quartz
#

Yeah, though it's getting better

jovial warren
#

Kotlin is relevant until Java says fuck boilerplate

rotund egret
#

Hytale wont kill MC

jovial warren
#

which will likely be never

ocean quartz
#

Lol Hytale will do nothing to MC xD

jovial warren
#

tf is Hytale

rotund egret
#

Exactly

prisma wave
#

Kotlin is relevant until Java says fuck boilerplate
java 15 has records which is a good start

ocean quartz
#

Hypixel's blocky game like Minecraft

#

They are pretty different though

rotund egret
#

Hycrafttale

jovial warren
#

Java still includes those shitty getters and setters though

prisma wave
#

not with records

#

records are basically data classes

onyx loom
prisma wave
#

YES

#

PIN IT

onyx loom
#

fuck i fucked it up

jovial warren
#

@onyx loom MY GUY

rotund egret
#

I mean, it looks cool, I'll probably play around with it.
but it's not in the running to destroy MC any time soon

ocean quartz
#

To make Java better I would get rid of the need for getters and setters, make val and var and get rid of static

jovial warren
#

change Java to Kotlin at the bottom first though

onyx loom
#

it still says java programmers be like at the bottom

#

ya

jovial warren
#

yeah

onyx loom
#

just noticed

#

MY BAD

prisma wave
#

java 10 has var

#

static has its uses

#

getters and setters will probably stay forever tho

jovial warren
#

also you can probably clone tool that text out pretty nicely

ocean quartz
#

Ik, but get rid of it, turn it into object like Kotlin

#

It's easier to understand and use

jovial warren
#

alright switching to phone while I get arch up and running

prisma wave
#

that would break pretty much every java program ever

ocean quartz
#

Yeah i know i know, was just saying, what imo would make it better

jovial warren
#

when big tech companies like google are choosing Kotlin over Java though

onyx loom
prisma wave
#

Great

onyx loom
#

for some reason the bottom was showing KotlIn instead of Kotlin, no fuckin idea why so i just cropped it

prisma wave
#

An Java user

jovial warren
#

you could still make it lool better by just clone tooling the old text

onyx loom
#

eh im too shit lmao

jovial warren
#

photoshop does a good job

prisma wave
#

AN
JAVA
USER

#

smh

onyx loom
#

๐Ÿ™„

rotund egret
#

AN(other)

onyx loom
#

photoshop is 30 years old apparently

#

wow

#

just noticed it as i was opening it

jovial warren
#

you paid for that?

onyx loom
#

HAPPY?

prisma wave
#

yes

#

much happier

onyx loom
#

no i got it free for being a student

rotund egret
#

Can't believe it hasn't been updated in 30 years

prisma wave
#

i'm so happy I could go and write some kotlin

jovial warren
#

you what?

rotund egret
#

Crazy

onyx loom
#

runs out tomorrow however

prisma wave
#

F

jovial warren
#

oh I got the ya know what version

onyx loom
#

adobe gave away their products for free to students until may 30

jovial warren
#

if I tell you I'll get muted again lol

ocean quartz
#

Oooh smart casting in Java 19

prisma wave
#

kind of

ocean quartz
#

O wait

#

nvm

prisma wave
#

is that the pattern matching?

ocean quartz
#

is the Java 15 one

prisma wave
#

yeah

ocean quartz
#

Yeah watching the video you sent

prisma wave
#

it's pretty interesting

#

although pattern matching doesn't really compare to smart casting

ocean quartz
#

I love watching this stuff

prisma wave
#

yeah me too

ocean quartz
#

Yeah smart casting is much better

#

Though, it's a nice change

steel heart
#

That's just a preview?

prisma wave
#

yes

steel heart
#

yes

#

?

prisma wave
#

java 15 is in very early stages I think

steel heart
#

indeed

#

hopefully mojang will upgrade to jdk15

ocean quartz
#

Has pretty nice features though, specially the null pointer exception change

steel heart
#

yeah

#

useful npes

prisma wave
#

yeah the new NPEs sound great

steel heart
#

NPEs should deserve more cred after 15

prisma wave
#

newbies will finally be able to fix their own NPEs

steel heart
#

true

ocean quartz
#

If you ask what is null on your npe in java 15, then ..

prisma wave
#

you're an idiot

steel heart
#

you actually need to leave

#

I made a horrible plugin you want to see it?

prisma wave
#

yes

onyx loom
#

๐Ÿ‘ code ๐Ÿ‘ review

steel heart
#

let me commit

#

if i dont get ddosed again

prisma wave
#

https://youtu.be/te3OU9fxC8U?t=1749 @jovial warren this shows a bit where destructuring is useful (since you were asking about it yesterday)

Recording brought to you by American Express. https://americanexpress.io/kotlin-jobs
Kotlin's introduction was a breath of fresh air at a time when the pace of innovation in Java felt glacial. Since that time, development of Java has rapidly increased with an emphasis on fixin...

โ–ถ Play video
steel heart
#

Java 19?

#

ok

prisma wave
#

they have a lot of future features planned

steel heart
#

yh

ocean quartz
#

Yeah part was pretty nice yeah

steel heart
#

km u also have to assist me a little on a thing on that plugin as well

prisma wave
#

ok

steel heart
#

just no kt stuff pls

prisma wave
#

fine ๐Ÿ˜ฆ

toxic oracle
#

what is the command for the bot

#

to check a ymk

#

yml*

prisma wave
#

=yaml

compact perchBOT
#
Config Parser

Link me to a config and I'll check to see if it's valid.
=yaml <paste link>

toxic oracle
#

ty

ocean quartz
#

Nice fun TextChannel.queueMessage(message: Message) = sendMessage(message).queue() removed all the .queue() calls from the code

onyx loom
#

poogers

prisma wave
#

Very nice

#

I feel like you could expand that to something like kotlin inline fun TextChannel.queue(task: TextChannel.() -> JDAQueueThing) { task().queue() } just to be fancy

#

then you could do like kotlin channel.queue { sendMessage("Hello") }

#

although yours is probably nicer

ocean quartz
#

That is nice yeah, probably will use for something else though
Since the way i have it is a little more compact

onyx loom
#
    println(string[string.length-1])

or

    string.last()```
prisma wave
#

First and last

#

Without a doubt

ocean quartz
#

I think first and last seems better, though i don't think there is any difference

prisma wave
#

Practically it's not different no

#

but first and last are much more readable and less error prone

onyx loom
#

alr ye ty

#

agreed

#

tytytyty

prisma wave
#

Bear in mind

#

If the String is empty first() and last() will throw an exception

onyx loom
#

easily fixable

#

i think

prisma wave
#

firstOrNull and lastOrNull exist

ocean quartz
#

Ooh just found this thing and it's pretty cool ;o
This is my plugin, almost a year into it without releasing

prisma wave
#

That looks like a strange alien mutating

#

Watching everything change to .kt was quite satisfying though

#

How did you make that?

ocean quartz
#

Ikr, you can also see i work a lot for a few days then it's like a month without touching it xD
It's called Gource

#

You basically install then run a command on the repo's folder

prisma wave
#

Looks pretty cool

#

I'm not sure I've got any big projects I could use but I'll give it a try tomorrow

little fossil
#

Can I get some help ?

compact perchBOT
#
FAQ Answer:
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait

Source

solemn monolith
#

Is there a way to use custom fonts with js canvas? If so, how'd that work? ๐Ÿค”

pallid gale
#

You can use any font installed on the machine running it

#

ctx.font = `43px ${client.config.secondary_font}`;

solemn monolith
#

๐Ÿ˜ฎ

#

and secondary_font would be a path to the font?

frail glade
#

It's a string

viral skiff
solemn monolith
#

yea but there must somthing that points towards the font file right?

viral skiff
#

I have managed to get results but it says "i don't have access"

#

After all, my youtube api key has enabled the youtube data v3 enabled.

distant sun
#

yea but there must somthing that points towards the font file right?
@solemn monolith ye

solemn monolith
#

Well, apparently no

#

it just has to be installed

#

and then it can be used

distant sun
#

Well that or you can point to the file iirc

solemn monolith
#

Which will be easier on a vps, yea true

distant sun
#

:)

heady birch
#

@viral skiff Are you sure the api key is sent via GET?

#

Usually in a header

#
Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
viral skiff
#

I am not really sure

#

What else other method can be used?

heady birch
#

other method?

#

Spring + kotlin

viral skiff
#

What?

#

i use discord.js

frigid badge
#

why are you not using a library

heady birch
#

yoiutube libary

obtuse gale
#

welp

#

its been like a week and a half since i changed intellij themes

#

time for a new one

topaz bay
#

obsidimod @obtuse gale

obtuse gale
#

hm?

topaz bay
#

use that theme

obtuse gale
#

this?

#

The websites in like chinese

topaz bay
#

ew wtf?

#

Wow... it does seem like thats what it is...

#

My theme was originally obsidimod

#

But ive modified it a lot over the years

obtuse gale
#

ah

#

I was previously using obsidian

topaz bay
obtuse gale
#

oo

#

AHH

#

HELP

#

im assuming thats a bug

topaz bay
#

no?

#

kotlin?

obtuse gale
#

its so bright

topaz bay
#

Just turn it down

#

Im assuming thats a smart cast?

obtuse gale
#

thats literally just me calling a method

topaz bay
#

Hover over it

#

Is it a smart cast?

obtuse gale
#

o

#

yeah

#

also

#

Like i imported the jar as a colour scheme

#

What do i set as my theme?

topaz bay
#

My theme is just darcula

#

These are the values for my smartcasts

#

I dont mind the bright background, but I do like being able to read the text

#

lol

obtuse gale
#

lol alright

topaz bay
#

You should also turn on semantic highlighting

#

If you havent already

obtuse gale
#

where even is all this stuff lol

topaz bay
#

Editor > Color Scheme > etc

#

You can customize colors per language

obtuse gale
#

ah

#

wait

#

CUCUMBER

topaz bay
#

lol

old wyvern
#

edge updated to a new icon and shit ๐Ÿ‘€

topaz bay
#

edge updated to a new everything xD

#

its chromium now

old wyvern
#

xD

#

lol microsoft gave up xD

topaz bay
#

Which I am forever thankful for

#

Its a great move for them

old wyvern
#

true

heady birch
#

Anyone know what theme this is

#

I want to set this for intellij

obtuse gale
#

oof edges new logo is sad

#

all those years with the old one

topaz bay
#

Nah

#

2012 is iconic

obtuse gale
#

I remember growing up with 2006 tho lol

topaz bay
#

I feel 0 nostalgia for that logo

#

That logo can fucking die

obtuse gale
#

bruh

#

kids these days smh

heady birch
#

that aint even the oldest

old wyvern
#

@heady birch XCode theme

jovial warren
#

the 2006 logo brings me back to the good old days of windows xp lol

#

microsoft edge, also known as the browser that literally no one uses lol

#

IE did better in it's time

hot hull
#

Says the man who uses opera

#

Eeeee

jovial warren
#

nah mate I use waterfox now

#

waterfox is a lightweight fork of firefox

#

and firefox is lightning fast from what I've read up

#

almost done installing waterfox and discord

topaz bay
onyx loom
#

edge has potential now its on chromium ๐Ÿค”

topaz bay
#

:)

obtuse gale
#

I remember back in the day both my parents thought firefox was like the best browser

#

it mightve been at the time

jovial warren
#

it kinda still is

obtuse gale
#

but like i remember them thinking they were genius for downloading firefox

hot hull
#

Best browser = book

onyx loom
#

smh frosty

#

u be living in 1930s

obtuse gale
#

Best browser is barrys google function thingo

jovial warren
#

firefox is really well-optimised, and it's open-source

onyx loom
#

ah yes. the function only staff can use

obtuse gale
#

best brwoser

jovial warren
#

if you google fastest browser, most lists will put firefox at the top

quiet depot
#

cli browser is the only way

obtuse gale
#

and if you type it into bing BomBardy

onyx loom
#

๐Ÿค”

obtuse gale
#

Promoted by Microsoft

onyx loom
#

lmao

obtuse gale
#

Then directly under it

onyx loom
#

thats basically the obama meme

heady birch
#

lynx

onyx loom
#

with him putting the medal on himself

jovial warren
#

lol @obtuse gale

#

that's a good one

onyx loom
#

im suprirsed ms hasnt gave up on bing yet

jovial warren
#

yeah since literally no one likes it

#

or uses it

#

but Microsoft have this very much "our way or the highway" kinda motto

#

it's no wonder they make a lot of things that literally no one uses

obtuse gale
jovial warren
#

no way

#

npm is maintained by Microsoft?

#

and it's that much of a monstrosity?

#

wow

#

apparently Microsoft's CEO once said this about Linux too: "a cancer that attaches itself in an intellectual property sense to everything it touches"

old wyvern
#

wha

onyx loom
#

yep

old wyvern
#

oh 19 years ago

viral skiff
#

why are you not using a library
@frigid badge What do you mean?

frigid badge
#

npm was bought my github (which in turn is bought my ms) so that's why it's maintained by microsoft @jovial warren

#

@viral skiff why are you not using a library to talk to youtube rather than directly using their rest api

#

@jovial warren they're embracing linux a lot more now though as well as opensource etc

#

they're less shitty than they used to be

viral skiff
#

@frigid badge If you are able to find a library to do that, sure tell me.

#

I usually use npm and stuff.

frigid badge
#

what language?

#

for your project

viral skiff
#

js

remote goblet
#

npm is typically js

frigid badge
#

wasn't sure if he was talking about the library or about the conversation of npm above

#

hence my question

viral skiff
#

Alright

frigid badge
#

read the documentation

viral skiff
#

Since my request url is different

frigid badge
#

seems quite shitty for a library like that

#

didn't even wrap the endpoints

#

smh

heady birch
#

When I looked earlier it was wrapped

#

Javascript tab

prisma wave
onyx loom
#

Ws all round for kotlin

prisma wave
#

๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

hot hull
#

We doing the thingy again today?

prisma wave
#

We'd better be

#

They were really fun

hot hull
#

Piggy said he wanted to join, but he aussie so timezones

onyx loom
#

clash of code?

#

he said hell be on in a few hours, of which its been a while since he said that

obtuse gale
#

imagine timezones

hot hull
#

Imagine life

prisma wave
#

No such thing as timezones

obtuse gale
#

^

jovial warren
#

lol

prisma wave
#

Just /time set day ez

hot hull
#

Also, since earth is flat, timezones don't actually exist

jovial warren
#

get out

obtuse gale
#

yea

jovial warren
#

just get out @hot hull

#

"since earth is flat"

obtuse gale
#

Have you heard the flat earth theory where when the dude cant see out the window in the morning (fog) its because NASA is destroying the world, then later NASA rebuilds it

jovial warren
#

just no

prisma wave
#

tf

#

At least try and be convincing

hot hull
#

What have you been smoking Aj?

obtuse gale
#

its on the official flat earth society forums somewhere

#

imma try and find it

prisma wave
#

what's their explanation for timezones?

obtuse gale
#

fun fact I actually got banned from the flat earth society

prisma wave
#

well done

onyx loom
#

lmao

hot hull
#

I mean you've got atleast 2 brain cells, how could you not have been banned?

#

less than 2 brain cell gang <o/

jovial warren
#

flat earth society? more like the three brain cell society

obtuse gale
prisma wave
#

less than 2 brain cell gang <o/
Aka Java developers :)

onyx loom
#

liam miller 1975

hot hull
#

oi BM

jovial warren
#

Aka Java developers :)
true

obtuse gale
#

thats what i go by on some forums online lol

#
  • not my actual name
jovial warren
#

that's some facts right there BM

hot hull
#

We got atleast 5 no?

prisma wave
#

yeah 5 seems fair

obtuse gale
#
  • nor birth year
prisma wave
#

Straight fax

jovial warren
#

yeah maybe 5

#

although sounds a bit lenient to me

prisma wave
#

But only like

#

The top 1% of Java devs

jovial warren
#

I'd say 4? maybe 4.5 brain cells? 5 is too lenient lol

hot hull
#

And the rest?

prisma wave
#

2

hot hull
#

Fuck

prisma wave
#

It's true I'm afraid

jovial warren
#

people using Java 15 have around 6 or 7 brain cells maybe

prisma wave
#

lmao

obtuse gale
jovial warren
#

lol

#

and don't tell me

#

you got banned again

obtuse gale
#

ill try logging in

jovial warren
#

wait what happens if you make a post on there saying the earth is round lol

#

probably get banned

obtuse gale
#

It gets moved to a category called

#

complete nonsense

#

and you get banned

jovial warren
#

lol

#

I can't believe you get banned for stating facts

obtuse gale
#

wait apparently i never activated this second accouimt

#

nope

#

its banned

#

new email time

jovial warren
#

the scrolling in arch linux seems to take much longer than in windows lol

#

time to sort that out

quiet depot
#

are you using a flavour of arch?

#

or just plain old arch

prisma wave
#

Scrolling?

jovial warren
#

just plain ol' arch

#

yeah scrolling

#

you know, with the scroll wheel

#

also, I'm using i3 for my window manager

#

it's a tiling wm

jovial warren
#

hey anyone wanna do those code clash thingys?

hot hull
#

If we got enough people rn sure

jovial warren
hot hull
#

Looks like it's gonna only be me and you Bardy

obtuse gale
#

Ill join if you wanna do another one after that

#

Ill fail hard tho lol

prisma wave
#

I gotta cook stuff but can probably join 1

hot hull
#

Jesus Bardy

jovial warren
#

yeah this one is difficult

#

or is it just me

hot hull
#

If I knew what they mean lmao

old wyvern
#

Im in

#

Off you guys started

#

tag me for next round

hot hull
#

Okay it was actually easy

old wyvern
#

o.o

#

show code

#

what was the problem??

prisma wave
#

damn frosty taking the W

old wyvern
#

reverse? fastest?

hot hull
#

Just basic a * x + b

#

But it's math in english, which confuses me

old wyvern
#

line

#

oh

#

i see

obtuse gale
#

theyre all hard to me

#

lol

hot hull
old wyvern
#

assertTrue(kotlin.isGood)๐Ÿ‘€

hot hull
#

Like just that

old wyvern
#

usernames have lies