#dev-general

1 messages · Page 475 of 1

quiet depot
#

or

#

ur class lasts 24 hours

#

minus a few minutes

pale shell
#

24hrs yes

#

intense lessons

quiet depot
#

no nvm cuz it's on the same monday

#

so time travel

#

that's interesting

pale shell
#

bm time travel confirmed ??

prisma wave
#

Those are room numbers lol

pale shell
#

lol

#

you didn't give us context smh

quiet depot
#

like we were talking about time

#

there's no time on that timetable lol

prisma wave
#

that is a good point

#

it is periods

#

1st period
2nd
3rd etc

pale shell
#

Just don't turn up pepekekw

jovial warren
#

Man you still use paper timetables? What is this? 1997?

prisma wave
#

¯\_(ツ)_/¯

quiet depot
#

i use paper timetables too

pale shell
#

piggy, don't you have lessons?

jovial warren
pale shell
#

you should be in class now right

jovial warren
#

A pretty poorly designed app and website

quiet depot
#

utc+8

#

we're not really allowed electronics lol

prisma wave
#

smh

jovial warren
#

That actually tells you to rotate your device if you use the app landscape on Android

quiet depot
#

school has been going for a stone age kinda vibe

pale shell
#

+8 ?

jovial warren
#

That's how crap the app is

pale shell
#

uh so it's 9:41 ?

quiet depot
#

no

#

you're in utc+1

prisma wave
pale shell
#

no??

jovial warren
#

Yes

hot hull
pale shell
#

i'm in utc+0

jovial warren
#

We're in BST rn...

hot hull
#

utc+1 best

pale shell
#

wtf

#

they stopped that dude

jovial warren
#

Omg you didn't know?

#

No they didn't...?

pale shell
#

BREXIT

#

it stopped

jovial warren
#

Look it up

#

We're in BST

pale shell
#

it stopped because of brexit

quiet depot
#

if you think it's 8:42 where i am right now, after adding 8 hours to your own time

hot hull
#

Brexit Stoopid Timezone

quiet depot
#

you're clearly in utc+1

hot hull
#

you right Bardy

pale shell
#

we leave brexit it stopped

#

its UTC

prisma wave
jovial warren
#

Not true

pale shell
#

no

jovial warren
#

Just wrong

pale shell
#

we don't have to change clocks anymore

jovial warren
pale shell
#

It's winter ??

hot hull
#

bruh so much confusion regarding timezones

jovial warren
quiet depot
#

it's not winter for u

jovial warren
#

It's Spring

pale shell
#

fucking feels like winter

hot hull
#

Soon to be summer :happy:

quiet depot
#

summer trash

#

winter good

jovial warren
pale shell
#

i want florida summer all year round

quiet depot
#

mainly cuz my winter is hotter than your guys' summer

hot hull
#

lol

pale shell
#

yeah you guys just weird

#

you don't know what winter means

hot hull
#

Have you ever seen snow Piggy?

pale shell
#

you don't get ❄️'s you probs never seen one in your aussie life

quiet depot
#

always makes me giggle when I see people putting jackets on and stuff when autumn comes around

#

yes i've seen snow

#

not in australia

#

went to canada a year or two ago

hot hull
#

Mr worldwide

prisma wave
#

nice

jovial warren
#

@pale shell still can't believe you thought BST was abolished because of Brexit lol

pale shell
#

it was

jovial warren
#

Omg you're stupid

pale shell
#

no

jovial warren
#

Look

pale shell
#

thats google

jovial warren
#

We are in BST rn

pale shell
#

google knows jack shit

prisma wave
#

🤨

hot hull
#

Piggy

#

I have yet to purchase a new monitor :p

jovial warren
#

Go on

quiet depot
#

mildly disappointing

jovial warren
quiet depot
#

imagine doing daylight savings

pale shell
#

ok i will

hot hull
#

Still trynna figure out which one I want and how much I want to spend on it

quiet depot
#

ah

#

that's the wrong attitude

pale shell
#

I don't follow anything they say

quiet depot
#

go into the store

#

have a look around

#

pick one

jovial warren
quiet depot
#

you can't go wrong

#

no bardy

lost forge
pale shell
lost forge
hot hull
#

Yeah nah, not buying one from a physical store, prices are jacked high as fuck on electronics recently

pale shell
#

Told ya they'd sort it 👍

quiet depot
#

you don't have to buy it from the store

hot hull
#

I mean, effort tho

pale shell
#

frosty, watched a bunch of yt videos on what the best monitors are and pick one what'll be useful for you

lost forge
pale shell
#

And read articles

prisma wave
#

AAAAAA

pale shell
#

f

prisma wave
#

RUDDY government

pale shell
#

i was pinged then

prisma wave
#

trying to enforce the concept of daylight savings

#

What happened to my rights!!

pale shell
#

ban barry

#

i wonder who's gonna make it through SIP wise.

#

I got a feeling BM you'll get through

prisma wave
#

wat

#

SIP?

pale shell
#

SIP..

#

smh

#

S - I - P

prisma wave
#

Wat

pale shell
#

smh

#

S - I - P

prisma wave
#

Semigroup

pale shell
#

no

prisma wave
#

Interface Polymorphism

pale shell
#

sip

#

i cba to type it out

#

YOUR ROLE

#

you applied for it smh

prisma wave
#

oh

#

what does the P stand for

pale shell
#

oh

#

LOL

#

SIT*

#

happy ?

obtuse gale
pale shell
#

hey i make up new words ok

jovial warren
prisma wave
jovial warren
#

Where did that actually come from btw?

pale shell
#

=translate

#

=TRANSLATE

prisma wave
#

The content on the paper looks accurate when it comes to "characteristics", and the edits on the wording make it sound nicer.
I can not think of something I would like to edit, especially because the wording is something I struggle myself. I think the paper looks really good.
Good job, and thank you.

pale shell
#

idk what ya'll are saying

#

Fernando Poov?

jovial warren
#

Lol

prisma wave
#

Fer·nan·do Pó·ov

pale shell
#

Fernando Poov

#

????????

oak raft
#

my teacher is telling us about methods 🙂

obtuse gale
#

fancy

oak raft
#

very

prisma wave
oak raft
#

Ok

half harness
#

if ur talking about the fernando poov

oak raft
half harness
#

You

prisma wave
#

stinky

oak raft
#

I love clion

jovial warren
half harness
#

bardy ignoring me 😢

#

even ponged him so he would see it

prisma wave
#

classic

jovial warren
#

Ffs dkim

#

Is that actually where it comes from

onyx loom
#

Fer·nan·do Pó·ov

prisma wave
#

Fer·nan·do Pó·ov

half harness
obtuse gale
#

Fer·nan·do Pó·ov

pale shell
#

Kotlin does stuff the same as Java but in a way more basic and I love it.

#

For those not using Kotlin, ya'll missing out.

prisma wave
#

Ever heard of haskell

oblique heath
#

haskell does stuff the same as kotlin but in a way more awesome way

#

you're missing out

hot hull
#

¸Y'all need to sthu with haskell

prisma wave
#

if you don't know what a monad is you're missing out

half harness
prisma wave
prisma wave
oblique heath
#

prolog does stuff the same as java but in a much more logical way

#

if you don't use prolog you're missing out

prisma wave
#

so true

#

Go does the same thing as java but in a much more fast way

#

If you don't use go you're missing out

half harness
steel heart
#

I was originally confident with jsr305 but Idk anymore

ocean quartz
#

It depends, I personally go with JetBrains annotations
Adventure goes with checker framework

prisma wave
steel heart
#

like lol

ocean quartz
#

Checker is more safe
While JetBrains is basically just for the IDE, which i find good enough

steel heart
#

aight I shall use jetbrains then

#

it also has ApiStatus with some stuff like NonExtendable etc which is very fitting for an api

half harness
pale shell
#

I know it's gonna annoy ya'll, but imo Haskell is overcomplexed for what it is and Kotlin is an amazing language to work in.

steel heart
#

java good tho

prisma wave
#

what are you basing this opinion on

#

Your years of Haskell experience?

pale shell
#

I mean from examples I've seen

steel heart
half harness
#

if not ill show it

pale shell
#

I dont think so

half harness
#

if so, for bm's sake, i won't show it

#

oh

#

okay

prisma wave
#

What's "overcomplexed" about main = print "Hello World"

half harness
#
import Data.Char

p :: String -> IO ()
p ip = putStrLn $ fc ip
main = do {
  r;
}
r :: IO ()
r = do
  p . g $ m gl
gl :: [String]
gl = c "ghi" (-6)
g :: [String] -> String
g = head . tail
f :: [String] -> [String]
f i = filter (v) i
fc :: String -> String
fc st = filter (ic) st
ic :: Char -> Bool
ic ch = ch /= '\''
m :: [String] -> [String]
m i = f $ fmap (\x -> x) i
v :: String -> Bool
v _ = True
c :: String -> Int -> [String]
c i cf = (\x -> show $ chr $ ord x + cf) <$> i
``` smh imagine not knowing what this does
pale shell
#

yes, that's the basic go into more detail and then you see where it gets more complex

#

that is overcomplexed to the extreme

steel heart
#

lol

prisma wave
#

How so?

pale shell
#

c i cf = (\x -> show $ chr $ ord x + cf) <$> i

prisma wave
#

Any examples?

#

lmao

steel heart
#

its arguably as complex as any language can be

ocean quartz
#

Like the video Yugi sent yesterday said, Haskell is for smart people, it's a much more complicated language

pale shell
#

ok i see what you saying

prisma wave
#

dkim's code is not a good example of haskell code

steel heart
#

(λx.λy.(λz.(λx.z x) (λy.z y)) (x y))(λx.λy.(λz.(λx.z x) (λy.z y)) (x y))(λx.λy.(λz.(λx.z x) (λy.z y)) (x y))

pale shell
#

I prefer Kotlin tho 🙂

oblique heath
#

is that l a m b d a c a l c u l u s

prisma wave
#

Funnily enough

pale shell
#

I don't wanna start an argument but I think Haskell isn't for me and Kotlin is nicer to work with

#

this is the first time I've really touched Kotlin bm.

prisma wave
#

and you've not touched Haskell at all

#

Therefore don't judge it

steel heart
#

object orientation, impurity and mutability are good stuff

pale shell
#

I've seen it tho fingerguns

steel heart
#

?

prisma wave
ocean quartz
#

I myself am not smart enough

half harness
steel heart
#

.

#

google?

prisma wave
#

"kotlin is simple"

pale shell
#

that is simple ??

pale shell
#

ITS NOT??

prisma wave
#

meanwhile Haskell, ```
test value = do
let newVal = value ++ "hi"
putStrLn newVal

half harness
#

don't know the language = complicated
know the language = simple

prisma wave
#

Very complicated tbf

steel heart
#

>>= :: (a -> m b) -> a -> m b -> (a -> m b) -> a -> m b -> (a -> m b) -> a -> m b -> (a -> m b) -> a -> m b ->

half harness
steel heart
#

yeah

half harness
#

but still

steel heart
#

the simplicity of haskell

pale shell
#

sorry for arguing :/

half harness
#

if you look at what it does

half harness
#

it's simpler to understand

ocean quartz
#

I mean Dkim, i can easily find a complex Kotlin code that you won't understand just like the Haskell one you sent

pale shell
#

I prefer Kotlin tho

prisma wave
#

dkim's code isn't even real code

steel heart
#

stop trying to depict haskell as overly simple with just a simple 2 liner main function

half harness
steel heart
#

it gets complex if you want it to be

oblique heath
#

so does kotlin

steel heart
#

yeah

half harness
#

everythings complicated

steel heart
#

unlike the holy language Skript

half harness
#

except for skript 🙂

prisma wave
pale shell
#

I think kotlin is gonna pull me in.

ocean quartz
#

Every language gets hard to read if you write it that way

half harness
oak raft
#

Will my knowledge of C# / Java help me at all with c++?

oblique heath
#

loads

steel heart
#

yes

ocean quartz
#

No

steel heart
#

ofc it will

ocean quartz
#

C++ will eat you alive

oak raft
#

😱

pale shell
#

Matt, you the MF-GUI guy right

ocean quartz
#

I wonder

onyx loom
#

the mfgui guy

pale shell
#

Ye

#

the mfgui guy

#

lol

prisma wave
#

hs-gui

pale shell
#

oh no

#

bm. No.

#

don't get any ideas lol

prisma wave
#

hrypton will need an official GUI library

#

And it will of course be pure

pale shell
#

hyrpton?

ocean quartz
prisma wave
#

maybe

onyx loom
#

that was the 20th obligatory joke of haskell per day

prisma wave
pale shell
#

I can't be the only person who has no IntelliJ theme right

prisma wave
#

Emacs theme

ocean quartz
#

Yes you are

pale shell
#

I never use a theme there's no point

onyx loom
#

there is

pale shell
#

how

onyx loom
#

who doesnt want a pikachu as their background? @ gaby 😌

prisma wave
#

🤢

onyx loom
#

excuse me

pale shell
#

you can't even have backgrounds?

prisma wave
#

source: trust me bro

onyx loom
#

u can

#

but material theme alone is godlike

pale shell
#

didn't know that

half harness
# half harness ```hs import Data.Char p :: String -> IO () p ip = putStrLn $ fc ip main = do {...

"deobfuscated": ```hs
import Data.Char

printValue :: String -> IO ()
printValue text = putStrLn $ removeQuotes text
main = start
start :: IO ()
start = printValue . getSecondValue $ mapUseless getSecret
getSecret :: [String]
getSecret = cipher "ghi" (-6)
getSecondValue :: [String] -> String
getSecondValue = head . tail
filterTrue:: [String] -> [String]
filterTrue input = filter (getTrue) input
removeQuotes :: String -> String
removeQuotes string = filter (isQuotes) string
isQuotes :: Char -> Bool
isQuotes input = input /= '''
mapUseless :: [String] -> [String]
mapUseless text = filterTrue $ fmap (\x -> x) text
getTrue :: String -> Bool
getTrue _ = True
cipher :: String -> Int -> [String]
cipher text offset = (\x -> show $ chr $ ord x + offset) <$> text

(all i did was rename the stuff, if i simplified the code itself it'd be ```hs
main = putStrLn "b"
#

:)

prisma wave
#

That's not deobfuscated

#

Christ

half harness
#

(all i did was rename the stuff, if i simplified the code itself it'd be

prisma wave
#

AAAAAAAAA

#

Okay so explain how it works

half harness
#

uh ok

onyx loom
#

where is import Control.Monad

#

bad program

half harness
#

no i cba explaining it

#

too much stuff

prisma wave
#

control monad 😌

half harness
#

lol

prisma wave
#

replicateM

#

forM

#

forever

#

Control flow.monad

#

Incredible

#

They said it couldn't be done

#

They said "Haskell is useless"

pale shell
prisma wave
#

They made while loops into haskell

ocean quartz
half harness
#

atom one dark 🙂

prisma wave
#

The Matt monopoly continues to grow

half harness
#

matt's colors 🤢

pale shell
#

matt's colors?

onyx loom
#

MF-Colours

ocean quartz
#

Yes, they are beautiful

pale shell
#

dkim do you agree

half harness
#

no

#

3 reasons

pale shell
#

weasons

ocean quartz
#

Weasons uwu

pale shell
half harness
#

;-;

#
  1. intellij sometimes autoremoves it and puts on light mode which hurts
pale shell
#

3 weasons pepekekw

onyx loom
#

what awe youw weasons

pale shell
#

no @onyx loom

prisma wave
pale shell
#

just no

prisma wave
half harness
#

ok

#

matt can u post a screenshot

#

of it

#

btw

#

so that i can make sure

#

that my reasons

#

are up to date

prisma wave
#

holy crap

pale shell
#

bm do your job

prisma wave
#

Haskell logo kinda looks like the >>= operator

#

incredible

pale shell
#

smh

half harness
#

bm tutorial now

prisma wave
#

haskell tutorial yes

ocean quartz
pale shell
#

bm people are spamming and you not warning them

half harness
#

😮

prisma wave
pale shell
#

you're staff

#

😠

half harness
#

so i only have 2 reasons now

onyx loom
ocean quartz
#

I haven't changed my colors, at all lol

half harness
pale shell
#

Matt, I may have broken your lib.

half harness
#

what does ur method look like?

#

like ```kt
fun test() {}

ocean quartz
prisma wave
onyx loom
#

why does it not work

half harness
#

forEach 😍 😍

prisma wave
#

side effects 🥴 😖

#

no

onyx loom
#

no

prisma wave
#

cringe

onyx loom
#

cringe

ocean quartz
prisma wave
#

kotlin bad

onyx loom
#

oh makes sense

#

yeah kotlin bad

prisma wave
#

imagine having this 🤣 🤣

#

I'm gonna type

onyx loom
#

no

#

cringe

prisma wave
#

no

#

Cringe

onyx loom
#

cringe

#

imagine liking nf 🤣

#

edgy af 🤣

ocean quartz
pale shell
#

man kotlin does stuff so good wtf ???

half harness
#

wait im still typing

onyx loom
#

u tell us

#

where is this from?

half harness
# ocean quartz
  • forEach and firstOrNull colors.. I think they blend too much to the background
  • the strings - aaaaa they're so vibrant
    || note that i only used matt's color for like a day before intellij decided to give me light mode, so I might have just not gotton used to it, but this is just what i first thought of it ||
onyx loom
#

well its not in jdk 🤷‍♂️

pale shell
#

val moneyLore = listOf<String>() this is correct right? (making a string list)

half harness
#

thats an immutable list

onyx loom
#

sure?
except for the fact that nothing will be added to that list

half harness
#

use emptyList then

pale shell
#

but can i add to?

ocean quartz
half harness
#

or mutableListOf

onyx loom
#

what dkim said

pale shell
#

oh ty

#

Sorry i didn't know

ocean quartz
prisma wave
half harness
#

i think the 🤢 color is good, but your green just POPS out

#

inconsistent

pale shell
#

val moneyLore = emptyList<String>() ?

ocean quartz
#

My green is beautiful

half harness
prisma wave
#

No don't

pale shell
#

?

prisma wave
#

Make it immutable 😌

half harness
#

do ```kt
listOf(
"blah",
"blah",
"blah"
)

pale shell
#

you can do that?

half harness
pale shell
#

oh shit that cool

onyx loom
#

lol

half harness
#

yes

#

kotlin is cool

onyx loom
#

List.of() without the .

prisma wave
#
[ "blah", "blah", "blah" ]```
onyx loom
#

wym vomit dkim

prisma wave
#

replicate 3 "blah"

onyx loom
#

collection literals would be so nice in kotlin 😩

ocean quartz
prisma wave
#

Yes kotlin bad

half harness
ocean quartz
#

And it's actually the same for mobile

half harness
#

yours is just poppy poppy pop

ocean quartz
onyx loom
#

whats wrong with poppy poppy pop

ocean quartz
#

Just as vibrant on mobile

half harness
ocean quartz
#

Yes

half harness
#

the first is a lot more vibrant

#

a lot more brighter

ocean quartz
#

Second one is just as vibrant

half harness
#

what

ocean quartz
#

Just a different tone of green

half harness
#

this vs

half harness
#

compared to all the other colors in matts colors

ocean quartz
#

Nah, it's perfect

half harness
#

it's just my opinion

#

🤷

#

also iirc some stuff didn't have colors

#

but i couldn't find it in ur image

#

weird

static zealot
#

anyone wanna work with me on a better Block Particles? Or maybe someone has one?

#

(By better I mean add the same effects but you can use your own particles instead of just the preset ones)

#

or does someone maybe have a lib for this?

ocean quartz
#

Nicole's PlayerParticles beat block particles by a lot

static zealot
#

by the sound of it that's for Players not for blocks

ocean quartz
#

You can do static particles on blocks

static zealot
#

you know what's funny? I was actually on Nicole's github rn looking for a lib or something like that xd

#

I assumed she'd have something like this

#

xD

#

well I guess I'll try and see

#

I love the command as well

#

oh I've used this before. I don't remember why I removed it. Maybe by accident and forgot to read it? xD

#

idk but I know a lot of people use kotlin for android apps.

oblique heath
#

yeah kotlin is big for android apps

ocean quartz
#

Kotlin became the main for android yeah

static zealot
#

are written in kotlin

pale shell
#

I feel like Kotlin has sped up my coding a bit.

hot hull
#

Potato code?

pale shell
#

?

static zealot
#

wtf is potato code?

pale shell
#

I mean, there's less checks to do, etc.

static zealot
#

sounds like something I'd do

lunar cypress
#

German code

static zealot
#

but how do you know in what sense he said it?

#

What if he meant it in a good way

#

?

#

you can't just assume things in 2021. smh

hot hull
#

Show code Odin

static zealot
#

||pretty sure he didn't mean it in a good way but anways|| xD

#

aren't you suppose to name util classes NameUtil in java?

#

idk java so don't bully me

half harness
#

y r u using eclipse

ocean quartz
#

Self hatred

forest pecan
#

wtf are those class names

#

wtf

obtuse gale
#

@ocean quartz pls help me

#

what's the diff between maven and mavenJava for maven-publish publications

jovial warren
#

no difference at all

#

look at the name of that string parameter

#

it's called name iirc

ocean quartz
#

Yeah there isn't any difference, i just do maven

jovial warren
#

I call Krypton's ones mavenKotlin

prisma wave
#

oxymoron

obtuse gale
#

huh

ocean quartz
#

Whatcha plublishing? blurryeyes

hot hull
#

nudes

forest pecan
#

ur mom

obtuse gale
hot hull
#

Gotta get that bread ya know

ocean quartz
#

Feet pics?

hot hull
#

Well are you paying?

prisma wave
#

just used Control.Monad 🥰

jovial warren
hot hull
#

What a beauty

obtuse gale
#

oooh labels

#

haven't seen those in a while

jovial warren
#

I swear Kotlin doesn't even have labels lol

static zealot
#

it does

jovial warren
#

well, it does, just not in that way

#

wait what

#
loop@ for
#

wat

#

since when was that a thing

static zealot
#

well at least 1 yeart

obtuse gale
#

since inception

prisma wave
#

30000230 & 0x7f

#

what's this

#

actually more importantly

#

will it always be in the range 0-255

jovial warren
#

context.exe not found

ocean quartz
#

Java labels are nasty

#

They remind me of goto

obtuse gale
#

there is a goto keyword lol

static zealot
#

how do u make IJ use gradle 7.0? 😢

obtuse gale
#

but it does nothing

prisma wave
#

i think it will be right?

obtuse gale
#

I believe it's just reserved and if you use it it won't even compile

prisma wave
#

a & 128 will never be greater than 128

#

pls

jovial warren
ocean quartz
#

I remember we made something to annoy our teacher where every loop was done with a goto in C 🥲

jovial warren
#

looks like playground doesn't like big loops

#

or it's just broken again

obtuse gale
pale shell
#

Anyone know of a way to generate a yml file using a certain format automatically?

obtuse gale
#

yml 🤢

pale shell
#

it's how the rank prices are stored in this plugin :/

static zealot
obtuse gale
#

GEE OK

prisma wave
#

but it looks like it won't be more than whatever

obtuse gale
#

well it basically & 0's every bit that's on the left

prisma wave
#

head [x | x <- [1..maxBound :: Int], x .&. 0x80 > 255] 🤤

obtuse gale
#

so yeah it's a fancy modulus for powers of two

prisma wave
#

okay

#

cringe mojang

jovial warren
prisma wave
#

haskell already answered it 😎

#

but yes

jovial warren
#

I was gonna do from Long.MIN_VALUE to Long.MAX_VALUE but we'd be here all year lol

prisma wave
#

no need

jovial warren
#

I do wonder how long it would take your CPU to loop 18 quintillion times though

half harness
prisma wave
#

kotlin bad

obtuse gale
jovial warren
#

changing the subject, I need a new Krypton core team member

#

preferably one much more useful and beneficial to the project than BM was

half harness
#

me /s

#

bm started making hrypton 😢

prisma wave
#

i was useful

obtuse gale
#

well I would

half harness
#

bm is a traitor

obtuse gale
#

but

jovial warren
obtuse gale
#

kt is so not my forte

half harness
#

🥲

jovial warren
half harness
#

well I would

#

but

obtuse gale
#

bardy if you teach me proper kt I'll do something

jovial warren
#

with pleasure

#

when do we start?

#

lol

prisma wave
#

learn haskell

obtuse gale
#

like I know some and I know how to write kt code

prisma wave
#

better language

obtuse gale
#

idk proper kt

jovial warren
#

BM shut the actual fuck up

obtuse gale
#

lol

half harness
#

i have like 5 projects

jovial warren
#

I will actually come to your small, irrelevant island and hunt you down

obtuse gale
#

same tbh lol

prisma wave
#

go on

jovial warren
#

if my parents would let me go places on my own I would

prisma wave
#

bring them too

jovial warren
prisma wave
#

i'll fight all of you

#

at once

#

with one hand

#

the other hand will be coding in haskell

prisma wave
#

intellij haskell plugin is utter horseshit

#

terrible

jovial warren
#

oh btw, any idea how I could restructure that code emily?

prisma wave
#

only shows 1 error at once, so you think everything works and then suddenly 500 other errors appear

jovial warren
#

yes

#

because blocks won't work for me lol

obtuse gale
#

is TextCoordinates just a vec3?

prisma wave
#

WHAT

jovial warren
#
class TextCoordinates(val x: String, val y: String, val z: String) {

    companion object {

        val DEFAULT_LOCAL = TextCoordinates("^", "^", "^")
        val DEFAULT_GLOBAL = TextCoordinates("~", "~", "~")
    }
}
prisma wave
#

INDENTAT ion

obtuse gale
#

ah

jovial warren
#

basically straight from vanilla lol

half harness
#

😌

jovial warren
#

no

half harness
#

gtg

jovial warren
#

you know the reason why I didn't compress all the files to that is because Nicole said she actually kinda likes my style

#

and I like my style

obtuse gale
jovial warren
#

dkim style is actual torture

#

especially since dkim can't code anyway KEKW

#

jk lol

boreal needle
#

whats a companion object?

#

is that like static fields

static zealot
#

something like that

oak raft
#

emily

#

c++ looks like aids

boreal needle
#

c++ is aids

obtuse gale
#

no it's not

boreal needle
#

no it is

obtuse gale
#

how come

oak raft
#

maybe I haven't looked into it enough

#

but it just looks...

#

like aids

obtuse gale
#

what examples have you looked at?

oak raft
#

Unreal Engine

static zealot
#

man I love telling people that I've had 4 years of C++ and only thing I remember is NULL, cout << and cin >> xD

obtuse gale
#

NULL isn't even C++ lol

#

it's C

static zealot
#

well then just cout << and cin >>

obtuse gale
obtuse gale
#

have you ever actually used it how you're supposed to?

oak raft
obtuse gale
#

ew videos

oak raft
#

same thing

obtuse gale
#

4:45 hours jesus christ

static zealot
obtuse gale
#

ew the dude is using raw pointers

oak raft
#

so docs are superior?

obtuse gale
#

ew

static zealot
#

pointers were declared using & iirc

#

and they were pain

#

that's all I remember

#

xD

obtuse gale
#

yes but you shouldn't them

#

it's discouraged

#

by literally everyone and even the core guidelines

static zealot
#

well idk I don't use C++ at all

oak raft
#

Why can't unreal use rust

#

why c++

obtuse gale
#

well I do have to say that how your code looks depends on the framework/API you're working with

#

because they will enforce the usages of different things

static zealot
#

oh yeah I remember there was ofstream and ifstream for file reading and writing

obtuse gale
#

mhm

static zealot
#

but for real now is NULL not a thing in c++? I can swear I used to use that

#

here

obtuse gale
#

I mean it is available in C++, C++ has to be C compliant

static zealot
#

ah

#

Ic

obtuse gale
#

But you don't really use that

static zealot
#

well Idk I was just using it xD

obtuse gale
#

yeah

static zealot
#

oh and I remember I can use if (!variable) which would basically mean if (variable != null)

jovial warren
obtuse gale
#

if not null, if 0, if false

oak raft
#

Why does C++ make up 99% of video games

jovial warren
#

an object is literally a singleton without the boilerplate

oak raft
#

why not a better language

static zealot
#

I remember using a while (true) to literally crash the school computer

prisma wave
jovial warren
#

C++ is actually a really good language

hot hull
#

Go

oak raft
#

elara

static zealot
#

I was just printing 1s and 0s lmao

#

until it blue screened

jovial warren
#

if used right that is

oak raft
#

but fr, literally anything else

prisma wave
#

Go probably too slow for really intensive games, and lack of tooling makes it a dealbreaker

#

elara is... elara

hot hull
#

Rust

prisma wave
#

maybe rust

jovial warren
#

C++ has been around for literal decades, and it's here to stay

prisma wave
#

but rust is new

hot hull
#

I mean it has the speed

prisma wave
#

we might see more rust game engines in future yeah

oak raft
#

So, the only reason it's still around is because it's a fast ass language?

prisma wave
#

but 99% of the industry is trained in c++ and 99% of tools use c++ so

jovial warren
#

C++:
"First appeared: 1985"

obtuse gale
#

coroutines :flooshed:

jovial warren
#

just write your game in x86 assembly cursed_fingerguns

#

AT&T syntax

#

anyway, going back to restructuring that whacky suggestCoordinates method

#

it's a complicated one, since there's a lot going on

prisma wave
#

what in tarnation

obtuse gale
#

idfk

prisma wave
#

cursed

#

also

obtuse gale
prisma wave
#

Handshake 754 "localhost" 11 184 this doesn't seem right...

#

protocol version reads fine but port and next state are very wrong?

jovial warren
#

make sure you're writing varints and not ints

oak raft
prisma wave
#

im not writing anything

#

it's reading

#

and yes

jovial warren
#

actually the port is a short iirc

prisma wave
#
    0x00 -> do
      protocolVersion <- getVarInt
      address <- getString
      port <- getWord8
      nextState <- getVarInt
      return $! Handshake protocolVersion address port nextState
``` ik
jovial warren
oak raft
#

Ah okay

obtuse gale
jovial warren
#

it's a ushort

prisma wave
#

OH WAIT

#

yeah

jovial warren
prisma wave
#

Handshake 754 "localhost" 3000 1 PROGRESS

jovial warren
#

calm down, you haven't cured cancer

prisma wave
#

i will soon

jovial warren
#

also, that status request packet won't work in a million years

prisma wave
#

blessed

jovial warren
#

tf is Word8 btw

prisma wave
jovial warren
#

look at what you're writing

#

you need more than that

prisma wave
#

ik

#

havent got that far yet

#

and i cba to do a full thing

prisma wave
#

yeah

jovial warren
#

I wonder who author name here is

prisma wave
#

problem???

jovial warren
#

seems like a very stupid idiot deciding to write a server in some shitty language like Haskell

prisma wave
#

to a smooth brain, yes it might look like that

jovial warren
#

"to a smooth brain"

#

excuse me sir?

prisma wave
#

to someone with brain cells it's much more sophisticated

half harness
#

if bardy is a smooth brain

#

what am i

prisma wave
#

you tell me

jovial warren
#

since when am I a smooth brain

half harness
#

ok

prisma wave
ocean quartz
#

Me

half harness
#

so how many brain cells do i have

prisma wave
#

why

half harness
#

hm

prisma wave
#

i am distraught

#

i forgot about packet states

pale shell
#

Anyone know a way to loop write a yaml thing? I don't wanna write

  '29':
    Prefix: '29'
    Cost: 100000000000
    CMD:
    - lp user %player% perm set essentials.warps.Z

300+ times

prisma wave
#

case packetId of
0x00 -> Handshake

NO it wont ALWAYS be handshake

#

😩 😫 🥲 😭

#

and now we need MORE RECURSION

#

AAAAAAAAA

jovial warren
#
fun String.matchesSubString(other: String): Boolean {
    var i = 0
    while (!other.startsWith(this, i)) {
        i = other.indexOf(Char(95), i)
        if (i < 0) return false
        i++
    }
    return true
}
```this seems disgusting
prisma wave
#

because it is

#

var 🤢

jovial warren
#
public static boolean matchesSubStr(final String first, final String second) {
    int i = 0;
    while (!second.startsWith(first, i)) {
        if ((i = second.indexOf(95, i)) < 0) {
            return false;
        }
        ++i;
    }
    return true;
}
```translated this
pale shell
#

Why do I sense a very long day coming up of copy paste edit, copy paste edit on repeat?

prisma wave
#
  case (state, packetId) of
    (Handshaking, 0x00)
``` oh what a beauty
#

you wouldnt get this in Kotlin!!

pale shell
#

kotlin better.

prisma wave
#

okay translate that code to kotlin then

#

without using if/else

pale shell
#

no

steel heart
#

switch (state) {
case Handshaking -> switch (packetId) {
case 0x00:
}
}

#

maybe

#

idk

#

lol

prisma wave
#

gross

#

nested switches

steel heart
#

idk if there's a way to flat it

#

yet

prisma wave
#

but yeah that's pretty much equivalent

#

probably not

#

java bad clojuremoon

steel heart
#

source?

pale shell
#

i swear there's gotta be a simple way to write this yaml stuff on repeat easily and i'm just too dumb not to know how

prisma wave
#

no tuples

oak raft
#

Currently praying for c# support on unreal engine 5

obtuse gale
#

just components

#

nice

oak raft
#

Anyone wanna pray with me?

pale shell
#

c++ ftw

steel heart
#

sure

oak raft
#

c# ftw fingerguns

pale shell
#

no

#

c# is basic

oak raft
#

yeah that's why it's good

pale shell
#

no

oak raft
#

ez to learn and read

pale shell
#

just use c++

obtuse gale
#

I mean it just depends on the framework you use

#

C# can be hard too

oak raft
#

c# is ez clap when it comes to unity

obtuse gale
#

and C++ can be nice when using nice APIs

oak raft
#

it's literally java with a different name

obtuse gale
#

and slower

#

and with a weird ass styling

ocean quartz
jovial warren
oak raft
#

oh wait

#

I misunderstood

#

well yeah but I think unreal is great to learn

#

for a game dev

#

so far it's looking better than unity

ocean quartz
#

Nah, unity will look just as good as unreal for the average dev, unless you have a giant team to make it worth using unreal

obtuse gale
#

Yeah unreal is for the serious stuff

#

But for the actually serious stuff the company makes their own engine lol

obtuse gale
#

So I'll go with yes

#

(:

jovial warren
#

lol

#

if it breaks then I'm blaming you xD

oak raft
#

Isn't RAGE a fork of unreal?

ocean quartz
#

Doubt it

static zealot
#

definitely not going to steal from DMenus

jovial warren
#

smh

prisma wave
#
Right h@(Handshake _ _ _ nextState) -> sequenceT (handlePacket h, return $ packetStateFrom nextState)

@old wyvern any ideas why it needs me to specify the Ambiguous type variable ‘m0’ arising from a use of ‘return’ prevents the constraint ‘(Monad m0)’ from being solved. when handlePacket h is an IO (Maybe OutgoingPacket)?

jovial warren
#

should be ```kotlin
class BlitzMenus(context: PluginContext) : Plugin(context)

static zealot
#

🥲

ocean quartz
prisma wave
#

actually maybe an xy problem - i need to convert (a, IO b) into IO (a, b)

static zealot
ocean quartz
#

Ah sad, i was gonna contribute if you made it a like official project 😩

static zealot
obtuse gale
prisma wave
#

  Multiple declarations of ‘name’ ☹️

#

i hear "Control.Lens" will fix this

ocean quartz
prisma wave
#

Who needs paper when you have hrypton

fresh fable
static zealot
#

yeah Matt I think this won't even be a personal project lmao. Its kinda boring

#

xD

onyx loom
#

that lasted long blitz

static zealot
#

yeah Ik

#

all I did is add dependencies, make the plugin.yml and start the main class lmao

ocean quartz
#

Damn, don't give up!!

static zealot
#

already did

half harness
#

🥲

ocean quartz
jovial warren
#

hey blitz

#

why don't you try making a Krypton plugin?

#

I want some feedback on the API anyway

static zealot
#

bcz I'm lazy

#

think that answer is good enough xD

jovial warren
#

please

#

🥺

#

does anyone wanna write a Krypton plugin to give me feedback on the API?

hot hull
#

I mean sure

jovial warren
#

yay

prisma wave
#

Fer·nan·do Pó·ov

half harness
#

Fer·nan·do Pó·ov

steel heart
#

@jovial warren sure

#

In java tho but still acceptable I hope

jovial warren
#

yeah should still work

#

lemme just publish 0.19.5

static zealot
#

FFS BBG... fix your wiki

jovial warren
#

what = wrong with it?

#

actually it's gonna be really outdated

#

on it

static zealot
#

I PRd

#

extreme changes

jovial warren
#

PRed

prisma wave
#

IntelliJ Haskell plugin is actual horseshit

#

Breaks every 3 seconds

jovial warren
#

just like Haskell is actual horse shit

#

walked right into that one

prisma wave
#

very low hanging fruit

prisma wave
#

Quite predictable even

#

although shows a severe lack of knowledge, as the plugin is in fact written in Scala, not Haskell

#

Therefore Scala is bad, but Haskell is not

gusty glen
#

intellij is bad

onyx loom
#

why they used scala smh

#

we need a haskell plugin written in haskell

gusty glen
#

"can't expose inline methods through interface", "still haven't found a way to fix freaking type erasure screwing up my generics cache", and some extra issues that I have

jovial warren
prisma wave
prisma wave
jovial warren
#

me

onyx loom
#

who needs java interop

jovial warren
#

that's your source

onyx loom
#

we are the interop

gusty glen
jovial warren
#

source for Haskell being good BM?

onyx loom
#

haskell is the BEST

#

it CLEARLY says BEST

jovial warren
#

says the Haskell subreddit

onyx loom
#

well theres the SOURCE

half harness
onyx loom
#

r/haskell is full of intelluctuals 😌

jovial warren
#

because as we all know, two things are true in this world:

  • there is no such thing as having a subjective opinion
  • Reddit is the source of all factually correct information on the internet
prisma wave
half harness
onyx loom
#

reddit is extremely factual

half harness
#

finally

#

i got the emoji

jovial warren
#

ffs embed

onyx loom
#

nice embed

#

its because u didnt use haskell

prisma wave
onyx loom
# half harness smh

"is kotlin good"
only gets an argument as to why its better than java, not a very hard thing to do

half harness
jovial warren
#

Kaliber like you actually believe that Haskell is somehow even good, let alone better than Kotlin

prisma wave
onyx loom
#

🤣

prisma wave
#

it's not their fault they use a shit language

onyx loom
#

such a SHAME

jovial warren
half harness
prisma wave
jovial warren
#

and that, in reality, you still like programming in

prisma wave
#

clojure good

jovial warren
#

you just like to lie on here for the circlejerking "fun"

prisma wave
#

not true

jovial warren
#

is true

#

cannot deny

prisma wave
#

i literally can

jovial warren
#

go on then

#

@half harness You're sending messages to quickly!