#dev-general

1 messages ยท Page 263 of 1

winter iron
#

๐Ÿ˜ฆ

old wyvern
#

@prisma wave

half harness
#

d;spigot Damgeable#setMaxHealth

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: damageable#getmaxhealth() damageable#resetmaxhealth() damageable#gethealth() damageable#setmaxhealth(health) damageable#setmaxhealth(double)

old wyvern
#

join clash

half harness
#

d;spigot Damgeable#setMaxHealth(health)

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: damageable#setmaxhealth(health) damageable#sethealth(health) damageable#getmaxhealth() damageable#resetmaxhealth() damageable#setmaxhealth(double)

prisma wave
#

5 mins

#

Eating lunch

old wyvern
#

ok

hot hull
#

Gonna start, you'll join next one

half harness
#

๐Ÿ˜ฆ

#

;-;

winter iron
#

do I just use evil !!

quiet sierra
#

You'll have to manually add a resistance or protection

winter iron
#

1 second build times

#

gotta love it

obtuse gale
#

made it to work on time

#

its now midnight

#

What a tragedy

regal gale
#

Finished

#

Ezpz

old wyvern
#

test 4 seems to be failing me

regal gale
#

For me, this is easy asf

static zealot
#

ezz

#

what you guys doing?

#

coc?

regal gale
#

Yeah

static zealot
#

oh damn

#

lets see how much I've got

#

oh

#

not much

#

wait what's this?

#

all divisors of the number?

regal gale
#

Yeah, could be

old wyvern
#

oh yea that makes sense

#

I went with something else

#

lol

regal gale
#

Same with the others, maybe

#

They're taking longer than I thought

obtuse gale
#

Ok

half harness
#

i left

static zealot
#

ok almost got it but ain't got it xD

regal gale
#

They're still on it thonk

hot hull
#

bruh I was doing something completelly different

old wyvern
#

There we go

#

same

regal gale
#

Everyone did lmao

obtuse gale
#

Lol

old wyvern
#

I was doing a division

#

like backtracking division by 2 from right

hot hull
#

That is fucking disgusting Yugi

static zealot
#

damn was so close

old wyvern
#
let res a 
            | a == 1 = "1"
            | (n `mod` a) == 0 = (res (a - 1)) ++ " " ++ (show a)
            | otherwise = (res (a - 1))
prisma wave
#

is that

old wyvern
old wyvern
#

The one

#

the only

prisma wave
#

Yes

#

Holy

regal gale
#
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        List<String> list = new ArrayList<>();

        for (int i = 1; i <= n; i++) {
            if (n % i == 0) {
                list.add(String.valueOf(i));
            }
        }
        System.out.println(String.join(" ", list));```
I cheese the system ._.
old wyvern
#

The magnificent

static zealot
#

welp if I had 20 more seconds

#

lmao

prisma wave
#

Is that like pattern matching yugi?

#

or a when expression

old wyvern
#

Guards

#

Yea

hot hull
#

Why list thien, ew

regal gale
#

I have no choice ๐Ÿ‘€

old wyvern
#

It can pattern match the arguments or validate expressions afaik

prisma wave
#

Sounds fancy

old wyvern
#

mhm pretty cool

hot hull
#

Could've just used a string and then trimmed that additional space

regal gale
#

Not catchy-looking for me

prisma wave
#

Ok but why not use streams

hot hull
#

BM you joining?

#

"catchy-looking" lmao

hot hull
old wyvern
#

Streams were the better choice

regal gale
#

Anyway, I already figured out how to do the test in the first 3 minutes, but stuggling with the " " separate part

static zealot
#

omg

#

I'm so dumb

#

I've just realised why mine wasn't working

#

I made it go to n/2 and didn't add n myself

#

lmaoo

obtuse gale
#

i can join next one

hot hull
#

Oh god oh no

static zealot
#

ugh

#

hmm

#

ah

#

ugh

#

oh

#

hmm

prisma wave
#

Yeah I will join next one

#

Probably

regal gale
#

I never got to Fast mode before thonk

static zealot
#

lmaoo Frosty

hot hull
#

ffs Blitz

static zealot
#

got you

#

by 1 second

hot hull
#

Fuck you

static zealot
#

that's like

#

the third time

hot hull
#

I was using kotlin at the start, but switched to java at the middle

#

The fuck is this BLitz :ew:

HashMap<String, Int>()

static zealot
#

shh

hot hull
#

mutableMapOf()

static zealot
#

it works right?

#

first I got scared like what the fuck is this? took me like 30 seconds to understand what it wanted lmao

regal gale
#

And... electricity's out, great ._.

#

Btw, I don't get any of the output

hot hull
#

excuses.

static zealot
#

ugh its just calculate the sum from all cities that have the substring in their name

regal gale
#

It said me to expect 9 from input 3, that's my main source of not understanding ._.

hot hull
#

3 is the amount of cities

#

Was a pretty clear instruction ruleset ngl

regal gale
#

Well, let me fix my brain for a while first catthonk

#

Welp, electricity's back now

#

Guess I have to wait for another clash then

old wyvern
#

Haskell being haskell ๐Ÿ™‚

#

I have no idea what im writing anymore

regal gale
#

Someone's just shorting the circuit causing the breaker to pop

prisma wave
#

right

#

im here

#

30 seconds left

static zealot
#

you got 33 seconds xD

old wyvern
#
import System.IO
import Control.Monad
main :: IO ()
data Place = String Int 
main = do
    hSetBuffering stdout NoBuffering 
    input_line <- getLine
    let n = read input_line :: Int
    let places = []
    replicateM n $ do
        input_line <- getLine
        let input = words input_line
        let city = input!!0
        let population = read (input!!1) :: Int
        places = (Place city population) : places
        return ()
    search <- getLine
    let value (Place _ i) = i
    let searchFor [] _ = ""
    let searchFor _ [] = ""
    let searchFor query (x : xs) 
                                | matches query x = value x
                                | otherwise = searchFor query xs
    let matches (a : as) (Place str i)
    putStrLn "total"
    return ()
```peace
#

idk anymore

prisma wave
#

i think i could've done it in a minute

old wyvern
#

xD

old wyvern
#

Im just gonna do a few in kotlin now for a break

#

๐Ÿ™‚

regal gale
#

That's too much, jesus

prisma wave
#

ill take over the haskell duties ๐Ÿ™‚

old wyvern
#

The deity language lives

prisma wave
#

Monads โ˜บ๏ธ

old wyvern
#

xD

prisma wave
#

its been so long

#

ive forgotten how to do things

#

noooo its smallest

old wyvern
#

xD

#

no python in shortest btw @regal gale

hot hull
#

probably smallest you can get it in java

old wyvern
#

No

#

Streams frost

hot hull
#

No thank you fingerguns

old wyvern
#

๐Ÿ˜‚

prisma wave
#

that was actually surprisingly easy

old wyvern
#

oii

#

haskell beats Java

#

xD

hot hull
#

scam

old wyvern
#

The true language

half harness
#

smallest ones are usually simple

old wyvern
#

All praise the haskell!!!

prisma wave
#

yea but I mean

#

Simple to implement in haskell

#

compared to yugi's last one lmao

old wyvern
#

xD

static zealot
#

sorry frosty xD

#

Kotlin better

prisma wave
#

wow

#

Haskell beats kotlin

#

classic

static zealot
#

I mean

#

probably could've done some improvements

old wyvern
#

Blitz you should use kotlins readLine instead for shortest

hot hull
#

There still so much you could've compacted there Blitz

static zealot
#

on mine

prisma wave
#

haskell is actually readable unlike yours ๐Ÿ™ƒ

old wyvern
#

No need for scanner

prisma wave
#

99% of the time it's smaller to do it functionally

quiet depot
#

docdex is getting added to spigot \o/

static zealot
#

o

prisma wave
#
readLine()!!.split(" ").map {
    it.sumBy(Character::getNumericValue)
}.reduce(Int::times)
quiet depot
#

ew

prisma wave
#

yeah it's messy

old wyvern
quiet depot
#

yea

prisma wave
#

but more compact than blitz's

old wyvern
#

nice

quiet depot
#

ok don't actually know if it's a certainty

#

but md seemed open to it

regal gale
#

I ended up the most stupid code ever...

quiet depot
#

and asked how to use it

#

so i'm guessing it's a yes

obtuse gale
#

Oooo

half harness
static zealot
#

594

#

damn

old wyvern
#

lol

prisma wave
#

oof

quiet depot
#

tbh I'm not really sure of any other way to phrase that sentence dkim

regal gale
quiet depot
#

apart from appending the word "discord" to the end

prisma wave
#

uh

#

join yugi's

regal gale
#

Come on, I can't think at that time lol

regal gale
#

At first, I made only 115 codes in total

#

And then at last minute, I realized I am multiplying 0

old wyvern
#

Also

#

Got to 2k

prisma wave
#

on coc?

old wyvern
#

๐Ÿ‘€

#

Yea

prisma wave
#

nice

regal gale
#

This is why I love reversed ._.

old wyvern
prisma wave
#

thats everyone right

#

oh wow

#

that's pretty good

static zealot
#

yep we can start

quiet depot
#

bm what browser do yuou use

prisma wave
#

chrome

quiet depot
#

okie

old wyvern
#

Shall I start?

static zealot
#

ye

prisma wave
#

yeah

#

gl

hot hull
#

oh god

static zealot
#

hm

prisma wave
#

hmm

static zealot
#

hmmm

hot hull
#

biggest fucking hmmmmmmmmm

static zealot
#

this seems sus

#

oh wait

#

lmaoo

#

they gave us the answer

#

in the code

#

well at least in kotlin

prisma wave
#

oh

static zealot
#

well not answer

prisma wave
#

lol

static zealot
#

but the explanation

prisma wave
#

a clue

#

yeah lol

#

nice one

static zealot
#

ain't going to solve this one lmao

quiet depot
#

i'm confused

#

my code is right

#

the algorithm is right

#

it's printing the wrong value

obtuse gale
#

Therefore your code is wrong

static zealot
#

worst code ever

#

but seems to work

#

nvm

#

20%

#

fuck yea

#

it did pass all 4 tests tho

#

so that's nice xD

#

can someone send a screenshot of the last examples? thanks

obtuse gale
#

No

quiet depot
#

ah oops

#

i'm an idiot

prisma wave
static zealot
#

ah I see

#

damn

#

welp was close enough

#

that's why you should always read the instructions

#

damn and it was such an easy fix

#

just check the absolute values instead of the values

hot hull
#

idfk

static zealot
#

Frosty

#

first value is the sum of 2 numbers

#

second is the difference of the same numbers

#

find the numbers

#

but you gotta be careful at how you're printing them as well

#

because that's what I failed at

prisma wave
#

??

#

20%

#

what

regal gale
#

I am stuck at 20% too now

prisma wave
#

oh piggy's way is smart

regal gale
#

This is what I am stuck

quiet depot
#

share code thien

regal gale
#

Things reversed back at each random test

quiet depot
#

click the button

old wyvern
#

rip haskell agan

#

almost this time

regal gale
#

I think I am missing the minus somehow

prisma wave
#

๐Ÿ˜ญ

old wyvern
#

very close

prisma wave
#

that one was weird

#

idk what went wrong

old wyvern
#

Output was messign with me

prisma wave
#

yea it's always
lower
higher

regal gale
#

Welp... i realized the error..i forgot the minus

prisma wave
#

๐Ÿฅฒ

quiet depot
#

thien make sure to share code next time

#

so others can look

prisma wave
#

^

regal gale
#

Isn't there a button to look?

quiet depot
#

you have to click the share button for others to look

hot hull
#

You need to share it

old wyvern
regal gale
#

Oh

prisma wave
#

o

#

weird

regal gale
#

I am just new to coc

prisma wave
#

scary haskell

old wyvern
#

xD

oak raft
#

clash of clans ๐Ÿ˜ฎ

quiet depot
#

yep

#

come join the clan

old wyvern
#

clash of clash of...

oak raft
#

ok bet

#

send the invite

regal gale
#

Lmao

quiet depot
#

blitz, thien u joining?

oak raft
#

wow the game looks so different

regal gale
#

I am on

quiet depot
#

it's clash of clans i promise

old wyvern
#

@static zealot

static zealot
#

yep

#

here

#

joined

old wyvern
static zealot
#

please don't kill me

prisma wave
#

shall we start

old wyvern
#

Yes

prisma wave
#

ok

quiet depot
#

should definitely limit it to reverse btw

#

shortest and fastest are aids

prisma wave
#

too late lol

#

fastest is fine

#

oh god

hot hull
#

uh oh

old wyvern
#

oh god

prisma wave
#

wait

#

oh this is easy

static zealot
#

it will him cost.

oak raft
#

they let you program in clash of clans now? holy

#

it's been awhile since I've played

static zealot
#

more math

#

damn

oak raft
#

what language r uguys using

prisma wave
#

F#

static zealot
#

kotlin

old wyvern
#

Haskell

hot hull
#

fingerguns

Failure
Process has timed out. This may mean that your solution is not optimized enough to handle some cases.

prisma wave
#

๐Ÿฅฒ

static zealot
#

welp math's hard

old wyvern
#

bm lol, I didnt think of that

prisma wave
#

it's just || log2 || lol

#

yea it's super easy

#

apart from rounding and such

old wyvern
#

yea I just iterated backwards

static zealot
#

ye I know but I need to round

old wyvern
#

xD

static zealot
#

and I don't know what needs to be rounded

prisma wave
#

you need to ceil technically

static zealot
#

ye but doesn't work on all

prisma wave
#

it does

old wyvern
#

why?

prisma wave
#

if you + 1

old wyvern
#

The value is always a multiple of 2

prisma wave
#

is it?

old wyvern
#

By the question, yes

prisma wave
#

i thought the first example was 7

#

and that's 3 because 3 days* = 8

static zealot
#

oh damn I had to +1 not -1

hot hull
#

output is 3

static zealot
#

welp I know math lmao

old wyvern
#

oh? wait

hot hull
#

oh yea that's squares

prisma wave
#

it's log + ceil

old wyvern
#

are you sure?

static zealot
#

ye

old wyvern
#

Can someone send ss of question?

prisma wave
#

worked for me

#

^^

static zealot
#

log(n+1, 2) and ceil it

#

I used n-1 instead

prisma wave
#

yeah

static zealot
#

that's why it didn't work at first

#

@hot hull send ss of question please. thanks

hot hull
#

There was once a king in India who was a big chess enthusiast and had the habit of challenging wise visitors to a game of chess. One day a traveler was challenged by the king. The traveler used to play this game all his life and had a lot of experience. To convince his opponent, the king offered the traveler anything he could name. The traveler modestly asked just for a few grains of rice in the following manner: The king was to put a single grain of rice on the first chess square and double it on every consequent one. The king agreed to the deal and did not think about what he just did.

Having lost the game and being a man of his word the king ordered a bag of rice to be brought to the chessboard. He started placing rice grains according to the deal: 1 grain on the first square, 2 on the second, 4 on the third, 8 on the fourth, and so on until he realized what huge amount of rice it will him cost.

Your are now given a number N, which says how many grains of rice you want. Print out the minimum number of squares F, starting with the first square, that would be needed to get the number of N rice grains.

Information: Due to the maximum byte size of numbers in some languages, the input values won't exceed eight bytes (default long value).

old wyvern
#

including examples frost

prisma wave
#

and the inputs

#

^

hot hull
#

Input 7 output 3

prisma wave
#

yea

#

ty

old wyvern
#

hmm

prisma wave
#

you need to +1 i think

old wyvern
#

me?

prisma wave
#

not for the first example

#

but for the second

#

no just in general

old wyvern
#

oh

prisma wave
#

we've already established that

#

but

#

idk

hot hull
#

idfk

prisma wave
#

actually afk for 5 mins

old wyvern
#

ok

#

pig you in?

oak raft
#

I feel important ๐Ÿ˜Œ

old wyvern
#

@prisma wave you back?

#

1:47 to start

prisma wave
#

Start without me, I'll catch up

old wyvern
#

Alrighty

hot hull
#

famous last words

prisma wave
#

๐Ÿฅฒ

distant sun
#

inviteee

hot hull
#

We had this one yesterday fingerguns

prisma wave
#

oh yeah lol

#

it was fastest last time though i think

hot hull
#

Yea

#

idk why these ppl slacking

#

share BM

prisma wave
#

i might have copied the rev from stackoverflow

#

pretty sure it could just be ```fs
let rev str = Seq.rev str |> String.concat ""

hot hull
#

yeye that's hideous

prisma wave
#

no it's not

#

it's beautiful

#

apart from the ugly nested lambda

hot hull
#

@onyx loom nuke plz

prisma wave
#

but that's just cuz i was lazy

onyx loom
#

ok

quiet depot
#

fuck this

prisma wave
#

did you just insert the reverse into the middle?

#

that's what i did at first

#

it has to be like intertwined

#

orig[n] + reverse[n]...

onyx loom
#

hello people of the helpchat discord server

quiet depot
#

didn't pick up on that

onyx loom
#

"Kaliber" has joined "clash of code"

prisma wave
#

brilliant

#

yeah, i only knew it because we had it yesterday

#

where it described the problem lol

#

because it was fastest

onyx loom
#

why no one else joining ๐Ÿ™„

prisma wave
#

sad

onyx loom
#

oh hey frosty!

prisma wave
#

very sad

onyx loom
#

cant wait to get 0%

prisma wave
#

oh no

hot hull
#

oh no indeed

prisma wave
#

bruh i dont even know how many days most months have

half harness
#

30

#

31

#

365 / 12

onyx loom
#

28 ๐ŸŒ

#

is this just gonna be a huge fucking when expression

half harness
#

30.41666..

hot hull
#

I stg there's a util to do this

onyx loom
#

bruh what

#

frosty

#

why do i keep failing the non-leap year ๐Ÿ˜ญ

prisma wave
#

are you just checking divisible by 4?

hot hull
#

Lmao when y'all see my solution

onyx loom
#

๐Ÿ˜ญ

prisma wave
#

leap years arent that simple

onyx loom
#

i specifically added t hat y % 4 != 0 just to make sure it couldnt fail it, but it still does

hot hull
#

SPOILER!
||YearMonth.of(y,m).lengthOfMonth()||
import: ||java.time.YearMonth||

half harness
#

wat

onyx loom
#

o

hot hull
#

You'll need an import tho

#

Which good luck

prisma wave
#

bruh

onyx loom
#

java std?

hot hull
#

You have std's yes

onyx loom
#

๐Ÿ˜

#

is it in stdlib

half harness
#

d;jdk YearMonth

ruby craterBOT
onyx loom
#

o

half harness
#

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

old wyvern
#
_if(m == 2,_if(y%4==0 and (y%100~=0 or y%400==0),29,28), _if(m<7,_if(m%2==0,30,31),_if(m%2==0,31,30)))```
#

Ah yes

prisma wave
#

hideous

old wyvern
#

๐Ÿ˜‚

hot hull
#

Yugi

#

Imagine calculating yourself

old wyvern
onyx loom
#

why do u check 100 and 400

onyx loom
#

๐Ÿ˜‚

hot hull
#

kek

onyx loom
#

i totally didnt copy

#

i passed all except for 1, so ill take the W with me calculating it myself

old wyvern
#

I had to make a ternary

hot hull
#

Could've atleast cleaned the imports..

old wyvern
#

๐Ÿฅฒ

onyx loom
#

yea i just used the website frosty, so didnt know which were unused so i cba

prisma wave
#

oof

hot hull
#

same kali

prisma wave
#

4 character difference

hot hull
#

it shows you which are unused tho

onyx loom
#

o

hot hull
#

god damn it

hot hull
#

There's nothing to compact here is there?

import java.util.*import java.time.YearMonth
fun main(args:Array<String>){
val input=Scanner(System.`in`)
val m=input.nextInt()
val y=input.nextInt() 
println(YearMonth.of(y,m).lengthOfMonth())}
onyx loom
#

i love the way he calculated it himself and still managed to get less chars than u ๐Ÿคฃ

#

args

static zealot
#

input to i

hot hull
#

oh fuck

old wyvern
#

No

hot hull
#

I didn't see that

old wyvern
#

Scanner

prisma wave
#

readLine instead of scanner

onyx loom
#

args is useless

static zealot
#

also

#

name it i

#

instead of input

hot hull
#

I don't use kotlin for coc

static zealot
#

that will also help

old wyvern
#

#Elara for coc

prisma wave
#
open System

let readInt = Console.In.ReadLine >> int
let m = readInt()
let y = readInt()

let isLeapYear year = year % 4 = 0 && year % 100 <> 0 || year % 400 = 0

let allDays = [31; 28; 31; 30; 31; 30; 31; 31; 30; 31; 30; 31]

printfn "%d" (if isLeapYear y && m = 2 then 
  29
else
  allDays.[m - 1])
      

here is uncompressed code

#

i think it's quite nice

onyx loom
#

am i missing something in leap years

#

why tf are u checking 100 and 400

prisma wave
#

because there are exceptions to the % 4 rule

static zealot
#

^

onyx loom
#

๐Ÿ˜

prisma wave
#

1800 isn't a leap year but it is divisible by 4

#

etc

onyx loom
#

god sake

prisma wave
#

๐Ÿฅฒ

onyx loom
#

why it gotta be so hard

prisma wave
#

calendars dumb

hot hull
#

I mean there's also a way to use a Calendar to do it

static zealot
#

Kaliber join

hot hull
#

more chars tho fingerguns

onyx loom
#

no i gotta do work now

static zealot
#

oh

#

I gotta do some as well but

#

nah

#

coc ftw

hot hull
#

Last one for me

onyx loom
#

i have 1 hour to finish it and i havent started fingerguns

static zealot
#

what's that?

onyx loom
#

good question

hot hull
#

Start Yugi

onyx loom
#

i dont even know

static zealot
#

let me help you

#

we'll do it in 20 minutes

#

and you can play coc for 40 minutes

prisma wave
#

unrelated but algebraic data types kinda work

hot hull
#

oh no

dry coral
#

i will join

#

link

static zealot
#

ok this is ezz

#

well understanding it was xD

static zealot
prisma wave
#

bruh idk

static zealot
#

hmm I thought it is if 1 letter appears in one but not in the other. but doesn't see m to be that lmao

prisma wave
#

lets try this

dry coral
#

lmao

prisma wave
#

i doubt it's right

dry coral
#

i did this for a python course

prisma wave
#

yeah lol

#

o

#

share code

dry coral
#

lmao

#

its too simple in python

prisma wave
#

๐Ÿ˜

dry coral
#

its just checking if its an anagram

ocean quartz
# prisma wave

So declaring variables is like let type T but parameters are T type?

prisma wave
#

Yeah, kind of

onyx loom
#

oo matt makes a good point there

prisma wave
#

type is a keyword

#

it's not just making a variable

hot hull
#

It failed on 1

#

idk why tho

prisma wave
#

typed variables are like let var: Int = 3

dry coral
#

frosty just check if its an anagram

prisma wave
#

which is a bit inconsistent, but i cant think of a better way ๐Ÿฅฒ

ocean quartz
#

But still the parameters seem to be the opposite of how variables are, which is kinda odd

prisma wave
#

well typically you don't use typed variables

#

there are very few situations where you'd need them

dry coral
#

send a new one

static zealot
#

never have you guys seen such code

#

as mine

prisma wave
#

I did suggest doing it like java does, so ```rust
let typeInference = 3
Int specific = 4

#

but

ocean quartz
#

So on parameters it'd be (var: Int) as well?

prisma wave
#

im not sure that looks any better

dry coral
#

@hot hull

#

did u see how easy

#

it is in python

prisma wave
#

parameters are Type name

#

most things are Type name

#

apart from variables (at the moment)

onyx loom
#

๐Ÿฅฒ

prisma wave
#

ik, it's messy, but suggest a better way

dry coral
#

join the coc @hot hull @static zealot

static zealot
#

nah

#

got to do something

prisma wave
#

๐Ÿ˜ฆ

ocean quartz
#

Hmm okok
Well i think I'd be just better to be consistent, since that's how vars are declared it'd make sense for parameters to be too, or even just invert them if the : is an issue

prisma wave
#

yeah im not exactly happy about this arrangement

#

different orders look good in different places imo

#

I think Type name looks good for structs

#

but not so much for vars

#
struct Person {
  String name
  Int age
}```
onyx loom
#

i have a genius idea

#

what if we use 100% of our brain power

#

and do Type: var ๐Ÿ™ƒ

prisma wave
#

๐Ÿฅฒ

ocean quartz
#

Well

struct Person {
    name String
    agr Int
}

Doesn't look bad either
(what language did you use for the color?)

onyx loom
#

prob rust

prisma wave
#

yeah rust

#

yeah it doesn't look bad

#

im not sure it looks better though

ocean quartz
#

True

dry coral
#

lol idk why it isnt working

prisma wave
#

๐Ÿฅฒ

dry coral
#

just make a new one

#

i know how to do it but python being stupid

regal gale
#

I skipped like 2 matches already lol

prisma wave
#

im probably done now

#

got stuff to do

regal gale
#

Freaking short circuit again

#

Anyway, I still love coc's reverse more than the other two

prisma wave
#

reverse is fun

#

more ADTs in elara

#

a slightly more practical example

onyx loom
#

omg

#

pog

prisma wave
#

very pog

oak raft
#

how'd u come up with the name elara

static zealot
#

its a moon

prisma wave
#

I just looked up moon names and took one that sounded pretty

lunar cypress
#

Is an intersection type an adt?

static zealot
#

and it hasn't been used

prisma wave
#

I'm not qualified to answer that question

oak raft
#

ur very qualified

prisma wave
#

But I couldn't think of another way of describing them ๐Ÿ™ƒ

#

Not in Type Theory

oak raft
#

in everything

prisma wave
#

๐Ÿ˜ณ

oak raft
#

quick

#

4x6

prisma wave
#

24

#

Wow

oak raft
#

see?

prisma wave
#

That was quick!

surreal quarry
#

BM what is linking Named and Aged to person? the fact that it has a name and an age?

obtuse gale
#

Everything has an age

#

Nothing is timeless

surreal quarry
#

except elara executions

#

takes no time at all

prisma wave
#

The point is that a Person is also a Named, and an Aged

#

Even without an explicit link

#

Because it's contract based

surreal quarry
#

ah nice

stuck harbor
#

oh wow

static zealot
#

o ๐Ÿ˜ฆ

#

sad pepe squidward face

#

that's a fucking lie

#

there are some in there I never even used

onyx loom
#

๐Ÿฅถ

#

๐Ÿฅฒ

#

๐ŸŒ

static zealot
#

first line

#

second one:

#

I've never used reload. well not in the past 2 months lmao

half harness
static zealot
#

and yet its there

half harness
#

u use a lot of emojis

static zealot
#

the TCPShield one I've never used either lmao.

#

ugh I don't

#

the US flag. don't remember using it lmao

half harness
#

lol

prisma wave
half harness
#

๐Ÿฅฒ

static zealot
#

also observe the fact that I don't have nitro. if anyone is feeling kind I always accept donations lmao

half harness
#

I never had nitro

#

makes sense

wanton sentinel
#

What color type is this?

#

0x88FFFFFF

half harness
#

um

static zealot
#

FFFFFF is hex

#

dk what's the 0x88

wanton sentinel
#

Im using it in java

obtuse gale
#

A light cyan

#

Probs

#

Google it lol

#

"hex color <color>"

wanton sentinel
#

How would I use RGB colours in Java?

prisma wave
#

depends where you wanna use them

wanton sentinel
#

at the end of this

#
            this.drawHollowRect(pos.getAbsoluteX(), pos.getAbsoluteY(), renderer.getWidth(), renderer.getHeight(), );```
stuck harbor
#

0x08FFFFFF sounds like a memory address to me

prisma wave
#

true lol

wanton sentinel
#

It's a colour

prisma wave
#

shouldn't it be 0x8FFFFF?

#

without the 0

wanton sentinel
#

idk

prisma wave
#

anyway

#

assuming you're using awt, drawRect doesn't take a colour parameter

lunar cypress
#

the first byte can represent the alpha channel or something

#

sometimes

prisma wave
#

ah yeah

lunar cypress
#

or rather the last byte

winter iron
#
private fun registerCommandCompletion(ch: CompletionHandler) {
        ch.register("#crateId", CompletionResolver {
            return@CompletionResolver cratesMap.keys.toList()
        })
    }
#

this not working

#

or smth

stuck harbor
#

cool

wanton sentinel
#

Well what should I do?

winter iron
#
fun onCommand(sender: CommandSender, @Completion("#players") targetName: String,
                  @Completion("#crateId") crateId: String, @Optional amount: Int?) {
#

not completing ๐Ÿ˜ฆ

half harness
#

wat is dat

winter iron
#

MF

prisma wave
#

uh isn't it without the #

#

in one of the places

#

idk which

prisma wave
wanton sentinel
#

I don't really want to use this.drawHollowRect(pos.getAbsoluteX(), pos.getAbsoluteY(), renderer.getWidth(), renderer.getHeight(), 0x88FFFFFF; memory address

winter iron
#

shows # in both places on the wiki

static zealot
#

@winter iron what's it not completing?

#

the player names? or the other ones?

winter iron
#

other one

#

the crateId

static zealot
#

have you registered it ?

wanton sentinel
#

huh

static zealot
#

correctly ?

#

oh wait I've just seen the above lmao

prisma wave
#

what

winter iron
#

ye

#

should be

#

is there something im missing

wanton sentinel
#

Brister

#

0x88FFFFFF

#

I'm using awt

lunar cypress
#

yes and what is your question

obtuse gale
#

What about it

half harness
lunar cypress
#

also drawHollowRect is not in awt

winter iron
#

bm have u registered completions before in kotlin?

half harness
#

i have no experience in making skins

static zealot
obtuse gale
winter iron
#

ok

obtuse gale
steel heart
#

@forest pecan

forest pecan
#

@steel heart

#

im eating chilli

obtuse gale
#

Sup Pulse

steel heart
#

I smell fat cap on a wack stack

forest pecan
#

hi

#

no u

#

u fat

#

u cap

#

u sack

prisma wave
steel heart
#

Pulse why r u gay

prisma wave
#

it shouldnt make a difference tho

#

anyway

#

now seems like a good time to @ocean quartz

winter iron
#

@static zealot Nope

#

no difference

static zealot
#

why did you even make a function for all that?

winter iron
#

i did

#
init {
        loadCrates()

        registerCommands(plugin.commandManager)
        registerEvents()
    }
    
    override fun registerCommands(cm: CommandManager) {
        registerCommandCompletion(cm.completionHandler)

        cm.register(CratesGiveCommand(plugin, this))
        cm.register(CombineCratesCommand(plugin, this))
    }

    private fun registerCommandCompletion(ch: CompletionHandler) {
        ch.register("#crateId") { cratesMap.keys.toList() }
    }
steel heart
winter iron
#

i might be having more completions

#

im gonna change the commands to self register too ๐Ÿ™‚

steel heart
#

no

#

pls donot

winter iron
#

xd

#

why

steel heart
#

less maintainability

winter iron
#

heh

forest pecan
#

dont watch this

#

if you are on windows 10

onyx loom
#

bruh

#

u couldve said earlier

winter iron
#

i guess my completion is not gonna get complete

prisma wave
#

this seems like

#

windows bad

#

?

surreal quarry
#

compootar hav viros

#

windows very bad

winter iron
#

just make ur own os

surreal quarry
#

with linux you can fingerguns

steel heart
#

@forest pecan fuck you

hot hull
#

It'll crash your discord

winter iron
#

Just make your own kernal

hot hull
#

It just stops playing on mobile reversed_fingerguns

steel heart
#

my pc crashed

surreal quarry
#

see what happens

hot hull
#

Do it

onyx loom
surreal quarry
#

i canโ€™t rn

onyx loom
#

it only crashed discord for me

steel heart
#

yes cuz cpu etc

#

my pc is dodo potato

onyx loom
#

lol bad pc

surreal quarry
#

what even is the video

#

the part that crashes discord

forest pecan
hot hull
#

If your pc is a potato, then mine would probably explode

forest pecan
#

wtf

#

you have green heart

steel heart
#

lol

forest pecan
#

unacceptable

#

stick your head into the toilet

winter iron
#

Im not sure if the completion is working at all on MF

#

i just changed to #empty

#

and it stills completes for players

#

seems to be that when u add completions for first parameter its fine

#

but any parameter after doesnt work ๐Ÿ˜ฆ

prisma wave
#

JS or TS

#

kind of an obvious question ik

#

but

steel heart
#

JS ๐Ÿคก

prisma wave
#

TS is effort tho

#

and it has so many keywords

#

JS just works

jovial warren
forest pecan
#

yeah lol

jovial warren
#

oh also, talking about Discord, an easter egg seems to have just been removed in the latest update today

#

on startup, you now here the "Discordo" sound that you used to hear from violently clicking the home button (the one in the top left), and violently clicking said home button doesn't seem to play the sound any more

#

or is that just me

ocean quartz
#

Still does it for me on latest update

jovial warren
#

do you hear it on startup?

#

because if you don't, that's really weird

ocean quartz
#

Yeah

#

On startup and when spamming the home button too

onyx loom
#

oh yeah i still have it too

half harness
onyx loom
#

i just updated my discord like an hour ago too

jovial warren
#

ever since I did it and updated, I don't seem to have it any more, I just hear it on startup

forest pecan
onyx loom
#

lmao u can hear the disconnect sound aswell

old wyvern
#

Doesnt for me, weird

ocean quartz
#

Just updated and it did

old wyvern
#

Let me try again

obtuse gale
old wyvern
#

uhh doesnt seem to play on start up

old wyvern
#

spam click it

half harness
obtuse gale
#

Oh that

ocean quartz
#

Oh wait

#

Yugi was faster

#

Oops

obtuse gale
#

ye lol

#

L

onyx loom
#

L

half harness
#

thats

#

slow

hot hull
half harness
#

tiktok ๐Ÿคฎ

#

oh

#

well frosty does

#

lol

#

does tiktok have any copyright rules?

#

๐Ÿ˜

hot hull
#

Np reversed_fingerguns

onyx loom
#

incognito mode

hot hull
#

Talking keywords to your phone is supposed to also trigger ads, idk if that's true, and if it is, idk how tf that's allowed

onyx loom
#

๐Ÿฅฒ

#

"companies"

hot hull
#

Messenger went to complete shit due to new privacy rules, you can't even send pictures properly anymore lmao

onyx loom
#

whatsapp now sends ur data too fingerguns

hot hull
#

We just switched to discord

onyx loom
#

๐Ÿคฃ

#

the takedowns in cod are so unnecessary and this CLEARLY explains why

prisma wave
#

develpment general

onyx loom
#

yes

prisma wave
#

unbelievable

onyx loom
#

very important development general for life

obtuse gale
#

#shrodinger

#

Absolutely, you can clearly see the two different quantum states the snowman is in

hot hull
#

efe make this in mc, I might use it for my snowman game

obtuse gale
#

Kill the snowman

hot hull
#

Wrong recording but that

#

Wait sec

#

Better cut

#

It would yea, I just cba

#

No lmao

#

Although death animations on a fucking snowman

#

That'd be godly

obtuse gale
#

ngl that plugin is dope

#

Every heard of LibsDisguise?

#

For real

hot hull
#

Kek

half harness
#

doesn't LibsDisguise just hide the player and spawn a mob

#

or smth

#

thats what it looks like

obtuse gale
#

Uses packets but yeah p much

half harness
#

any way to hide the mob from the player being disguised?

obtuse gale
half harness
#

how do I use prtocollibb

obtuse gale
#

Key word: advanced

half harness
#

;-;

obtuse gale
#

You need to know at least the 6 levels of Java

half harness
#

?

#

which is?

obtuse gale
#

Have you not heard of the levels of Java?

#

Layers?

half harness
#

nope

obtuse gale
#

silence intensifies...

half harness
#

ExampleWasTaken
3 months ago
Okay...first you start of with a version, support ended for years ago. Secondly, you are using deprecated methods because you don't known the news ones anymore? As a developer who calls this series "advanced" I expect you to know what that means. In case you don't, I'll explain it for you: "deprecated" means the only reason it's in there is, for backwards compatibility. And yet, it will be taken out at some point.

The topic of this series might advanced but the rest is crap (excuse my language, but it's almost rude to label something like this "advanced"!)!

#

oof

#

my point is

#

I can't find any tutorial on protocollib

obtuse gale
#

first you start of with a version, support ended for years ago.
Hahahahahaha

#

1.8 plebs

half harness
#

i dont like coding in 1.8

#

1.8 mc is good

obtuse gale
#

Yesterday you said you only had 1.8 in your dependencies lol

half harness
#

1.8 spigot is bad

half harness
#

nothing i can do about it

#

ik

#

only pvpers who don't dev all day play 1.8

#

wdym?

prisma wave
#

1.8 ๐Ÿ˜

half harness
#

1.8 minigames > 1.16 minigames

#

1.8 smp < 1.16 smp

#

1.8 dev < 1.16 dev

#

it depends

#

on what you're doing

hot hull
#

It doesn't

half harness
#

๐Ÿ™„

#

most* 1.8 minigames

#

especially pvp

hot hull
#

Pvp is shit on 1.8 lmao

#

Say no to mice abuse!

half harness
#

๐Ÿ™„ whatever I don't know what I can say to you guys anymore about this..

#

it's personal preference

#

I enjoy 1.8 pvp

#

you enjoy 1.16 pvp

ocean quartz
#

You refuse to evolve

hot hull
#

I don't enjoy 1.16 pvp, I enjoy bazookas and miniguns

ocean quartz
#

You'll be a pikachu forever

half harness
#

okay

half harness
onyx loom
half harness
#

what is a bazooka

onyx loom
#

o 3 pings ๐Ÿฅฒ

hot hull
#

Boutta get the rope

#

What snowman shit we talking about now?

half harness
#

๐Ÿ˜›

#

anyone know any good protocollib tutorial?

hot hull
#

Not what I asked tho efe..

#

I'm saying make the stone barrier thingy kek

#

Because I'm gonna need it for an ability in the plugin

#

It's not, I just cba

#

And it has to be an animation lol

#

Same

late grove
#

Is this the place for "tech talk", or would off-topic be better?

obtuse gale
#

Welcome to my tech talk