#dev-general

1 messages · Page 428 of 1

arctic juniper
#

james stop

boreal needle
#

if you react with that emoji then I will be sad

sweet cipher
#

Pay-per-chunk

prisma wave
#

crikey! what a lot of 🥲 reactions! what's the meaning of all this then???

boreal needle
#

:c

lavish notch
#

"Krypton"

jovial warren
#

lol James

arctic juniper
#

no but really

jovial warren
oblique heath
surreal quarry
jovial warren
arctic juniper
#

: as a service

#

fuck /dev/null

#

all my homies use :

prisma wave
#

what the heck

jovial warren
#

I'm actually really tempted to get one of these mugs now

arctic juniper
#
echo 'hi' > :```
#

I did yes > : and I couldn't C-c it

#

sad

prisma wave
#

that's not very scalable

jovial warren
#
while true
do
  cat /dev/urandom >> /dev/null
done
surreal quarry
#
FROM scratch
ENTRYPOINT ["cat", "/dev/random"]```
Very scalable
lunar cypress
lavish notch
#

@jovial warren

arctic juniper
#

so why can you use braces with for, but not with while

prisma wave
jovial warren
surreal quarry
#

what is the point

#

of the while true

#

lol

jovial warren
#

just to loop forever

surreal quarry
#

it already does that

#

kinda

jovial warren
#

you what

arctic juniper
#

what

jovial warren
#
while true
do
  cat /dev/urandom >> /dev/null
done
arctic juniper
#

why are you appending to /dev/null

#

who does that

#

weirdo

jovial warren
surreal quarry
#

vrganj

obtuse gale
jovial warren
arctic juniper
#

I wonder if you can make /dev/null be an actual device

#

imagine like a usb with a tiny lcd display saying how much shit you deleted

lavish notch
#

"Krypton"

boreal needle
obtuse gale
#

c:

surreal quarry
#

mv / /dev/null

jovial warren
lavish notch
lunar cypress
onyx loom
#

smiling_face_with_tear

lunar cypress
#

Kinda wanna open minecraft again to see what you've been up to the past months

jovial warren
#

yeah it's still online

prisma wave
surreal quarry
#

nice

lunar cypress
#

hold on

jovial warren
#

lemme restart it and delete my player file so I can actually play

static zealot
lunar cypress
#

you cant do that

jovial warren
#

gimme a min

prisma wave
dawn hinge
#

I can

pale shell
#

bm dont do that

#

stopped

surreal quarry
#

not when he looks like the guy on the right

jovial warren
#

back up again Johnny

old wyvern
#

KNPE

jovial warren
#

had to delete my player file to get me out of the cursed chunks

jovial warren
old wyvern
#

KNPE!

prisma wave
#

HNPE

old wyvern
jovial warren
#

what threw it?

lunar cypress
#

so true!

old wyvern
#

I just want to run ./myprog and not do anything

#

bliss

lavish notch
old wyvern
#

Btw, game of life shouldnt end up just filling everytime right?

lunar cypress
#

LMAO

jovial warren
#

lmao

surreal quarry
#

loll

old wyvern
#

My implementation seems to have been cursed

jovial warren
#

watchdog killed it because a tick took too long

#

it's back up now

#

not sure what caused that

lunar cypress
#

"block placing kinda works"
less than one second later
"server closed"

jovial warren
#

lol

onyx loom
#

?

onyx loom
#

LOL

#

its been a lie this whole time 🤣

old wyvern
#

What has

onyx loom
#

compare the 2 pics

old wyvern
#

Oh hes fat?

onyx loom
#

🥲

prisma wave
#

"yes, my program takes no input and produces no output, why do you ask?"

onyx loom
#

new meme format

prisma wave
#

Hascolo

#

nice one

onyx loom
#

yes

oblique heath
#

it says hascool for me

prisma wave
#

how do i open a file in emacs

lunar cypress
#

Are you in evil mode

jovial warren
#

you can reconnect now Johnny lol

prisma wave
#

idk

#

probably

#

whatever the default is

static zealot
lunar cypress
#

yeah that's the default, it uses more vim-like bindings I've heard?

#

I have it disabled

prisma wave
#

it seems to

#

there's i and :wq etc

lunar cypress
#

it uses Space as the the prefix key for most things I believe

#

Doom shows you options

#

You can also search for things by name and read the docs inside emacs etc but idk any of these for evil mode 🥲

#

I know for regular emacs C-h is where the help bindings are

#

Maybe SPC h in evil

prisma wave
#

is it called evil mode because it's bad

lunar cypress
#

It seems to be popular among doom users

prisma wave
#

huh

lunar cypress
#

But I cba learning it right after I worked my way through the emacs tutorial with the regular keybinds

prisma wave
#

well C-h and stuff seems to work

lunar cypress
#

oh okay in that case

jovial warren
#

adding getBlock and setBlock to Chunk in the API worries me lol

lunar cypress
prisma wave
#

there's C-x C-v but that's kinda messy

jovial warren
#

lol

#

pw is chunk data 🥲

lunar cypress
#

C-x C-f is regular emacs "find file"

#

which means open file

gusty glen
#

I learned a bit yesterday, bristen

prisma wave
#

oh?

gusty glen
#

=> is flatMap

lunar cypress
#

they use a couple of weird terms

#

they call cutting killing

#

and pasting yanking

prisma wave
prisma wave
jovial warren
#

ffs why does watchdog sometimes just kill the server for no reason

#

maybe because the server gets an issue and just can't solve it

prisma wave
#

can you do doom sync from inside the editor

lunar cypress
#

yes I believe so, there should be a command

jovial warren
#

well this world has a fucked chunk I guess

gusty glen
#

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

jovial warren
#

that's shift right assign

prisma wave
#

how isn't it?

#

no it's not

jovial warren
#

Haskell's weird

gusty glen
#

=> is flatMap

prisma wave
onyx loom
#

javas weird in the same regard

jovial warren
#

imagine not following the standardised bitwise operators

gusty glen
#

At least now I know what is a monad

#

I mean, kinda

prisma wave
#

>>= is a direct equivalent - o >>= b == opt.flatMap(b)

#

yes

gusty glen
#

Functor = have map
Monad = have flatMap (Functor + flatter)

lunar cypress
#

But rather than running doom sync and restarting Emacs, Doom provides M-x doom/reload for your convenience (bound to SPC h r r and C-h r r). This runs doom sync, restarts the Doom initialization process and re-evaluates your personal config. However, this won’t clear pre-existing state; Doom won’t unload modules/packages that have already been loaded and it can’t anticipate complications arising from your private config.
@prisma wave

prisma wave
prisma wave
#

ty

#

i did :!doom sync which seemed to also work

prisma wave
#

there's Applicative too

jovial warren
#

and that also applies to the C family

gusty glen
lunar cypress
#

Is :! the same as M-! (run shell command)?

prisma wave
#

haven't looked much into arrow

prisma wave
jovial warren
#

the C family contains some of the most widely used programming languages there is

prisma wave
#

Applicative in haskell is map and pure

#

i presume it's the same in arrow

prisma wave
jovial warren
#

fair

onyx loom
#

im not too sure u can apply standardisation because of popularity

prisma wave
#

^

gusty glen
#

@prisma wave

jovial warren
#

shift

prisma wave
jovial warren
#

fair

#

yeah but I thought Haskell would be better than that

prisma wave
#

if you really wanted you could make your own operator for shifting

jovial warren
#

in Haskell?

prisma wave
#

yes

jovial warren
#

👀

prisma wave
#

custom operators

#

with configurable associativity and precedence

onyx loom
#

omg haskell good???????????????

prisma wave
#

obviously

prisma wave
#

what's ev()?

gusty glen
#

eval

prisma wave
#

ah right

#

is arrow lazy then?

gusty glen
#

yup

prisma wave
#

nice

#

very nice

gusty glen
#

the only non lazy monad was deprecated if I'm not mistaken

jovial warren
#

is that functional Kotlin?

gusty glen
#

yup

#

Now there are Option, Either, Validate I think as "default" monads, and a LOT of resources for you to build your own monads (I have no idea how to make one that is actually useful though)

prisma wave
#

what's Validate?

gusty glen
#

^ resources for you to build your own monads

jovial warren
gusty glen
#

iirc

prisma wave
#

ah nice

gusty glen
#

I think the next plugin I make, I'll try to use Arrow as much as possible to test it

lunar cypress
prisma wave
#

ah i'll have a look, ty

#

what's SPC?

lunar cypress
#

space bar

prisma wave
#

oh ofc lol

lunar cypress
#

Perhaps when I'm a bit more used to this kind of editor I'll give evil mode another try as well

prisma wave
static zealot
#

does anyone have mc 1.16.5 opened rn?

oak raft
#

I do

static zealot
#

can you join my server, execute a command and leave? I'll dm ip

oak raft
#

sure

oblique heath
#

do you guys want to see a SPECTACULAR minecraft plugin specimen

#

the furry profile picture aside

dawn hinge
#

...

cinder flare
#

I literally want to die

#

why is Excel so dumb

#

I just want a stupid chart of time count per letter

oak raft
#

google sheets fingerguns

cinder flare
#

i have to use excel for this project

lavish notch
#

Excel < Access

#

Prove me wrong

#

🤣

distant sun
gusty glen
#

Arrow-Kt

distant sun
#

And what is arrow-kt

ocean quartz
#

Functional programming lib for kt

gusty glen
#

Λrrow is a library for Typed Functional Programming in Kotlin.

prisma wave
#

Haskell in kotlin

forest pecan
#

That’s not an A

#

You lier

old wyvern
#

Haskell in Haskell better

prisma wave
#

Indeed

#

However

#

Functors in plugins

old wyvern
#

Btw bm, you installed stack with curl right?

#

Or wget?

#

Does the working directory matter when using that mode of installation?

prisma wave
#

uh

#

Probably not

old wyvern
#

Ah alright, just wanted to make sure

prisma wave
#

Doesn't ghcup install stack?

old wyvern
#

Not sure, stack can install local ghc as needed afaik

prisma wave
#

yeah but that's more characters to type

old wyvern
#

wdym?

#

Oh for like the install command?

#

Lol

prisma wave
#

stack ghc < ghc

old wyvern
#

You're always using a local ghc when creating a stack project right?

#

Stack new installs one I think

#

Or might be stack setup actually

#

Oh nvm its only if necessary

obtuse gale
gusty glen
#

but... why...

forest pecan
#

@obtuse gale who’s code is that

obtuse gale
onyx loom
obtuse gale
#

you illiterate swine

forest pecan
#

I’m on mobile

#

Auto correct is white

#

*shit

#

Omfg

obtuse gale
#

lmao

boreal needle
#

lmao

obtuse gale
#

I can tell

onyx loom
#

android

boreal needle
#

that timing

obtuse gale
forest pecan
#

🥲

#

Mobile emojis are scuffed on iPhone

forest pecan
obtuse gale
obtuse gale
forest pecan
#

Oh lol

#

Yeah

obtuse gale
#

that's terrifying

onyx loom
#

cursed

forest pecan
#

xD

old wyvern
#

Truely

silk kite
#

Anyone know what this is all about, lol

#

UUID doesn't match any minecraft account

forest pecan
#

why did you leak an ip

silk kite
#

Its not a player IP

forest pecan
#

wot

lunar cypress
#

pulse is gonna boot up his kali vm and hack you now

forest pecan
#

u sure?

silk kite
#

Try and lookup the uuid and the playername

forest pecan
#

launching ddos attack in a minute 🤡

obtuse gale
#

it's based on the name itself

silk kite
#

So I know there's bots and stuff which crawl mc servers to check their status and whatnot, but this server isnt listed on any server directories so I dunno what the deal is

spiral junco
silk kite
#

Also, apparently the username mcsrvstat is an available account name

forest pecan
boreal needle
#

we're everywhere yk

forest pecan
#

lmao

spiral junco
#

i fell in here like an hour ago

forest pecan
#

oh lol

boreal needle
#

the water goodness is spreading to the masses

forest pecan
#

lmao

silk kite
#

I wonder if its got anything to do with the website mcsrvstat.us

#

But then I'm curious how they can connect using a username that is supposedly available for use

boreal needle
#

offline mode i presume

forest pecan
#

Yeah

#

thats prolly why

silk kite
#

Yeah Im thinking thats why they must have got immediately disconnected with the message "enable IP forwarding for bungee blah blah, etc"

#

so they didnt even connect at all

forest pecan
#

well they do it to see what players are online

#

well hm

#

shouldnt that be already available?

#

idk

silk kite
#

Yeah from the server query, you dont need to connect for that though (if the server has enable-query set) so idk why they'd bother trying

boreal needle
#

version info maybe?

#

stuff like viaversion screws with query data

silk kite
#

Fair enough.

lavish notch
forest pecan
#

bro omfg it reminds me

#

when you have this issue

#

but the issue just isn't possible

#

ever had that feeling?

stuck harbor
#

yeah

forest pecan
#

its so annoying too

silk kite
#

Do you all write your own documentation for your own projects' codebase or just forget what everything does like a chad when you come back to it several months later

forest pecan
#

comments

#

and javadocs too

#

combined

boreal needle
#

javadocs

silk kite
#

Comments are great for individual functions but I'm talkiing about large scale projects with loads of different/independant modules

forest pecan
#

comments are useful anywhere

#

i use both javadocs and comments tho

#

the real issue is what actually happens inside the method. sure you could have a javadoc

#

on the header of the method

#

but if you had some logic you wanted to step through

#

which is complex, id use comments along with it

silk kite
#

Is javadoc like a documentation automation thing? Where you structure your comments a certain way, and it automatically generates a wiki for you?

boreal needle
#

yes

forest pecan
#

Well they arent normal comments. And ig you could say they have more customizability?

boreal needle
#

i have a custom stylesheet on mine but the layout is the same

forest pecan
#

you can only place javadocs in certain places tho

#

like only in classes, constructors, methods, fields, some others

#

but not within methods or anything like that

boreal needle
#

javadocs are mostly for documenting interfaces

forest pecan
#

Yeah

obtuse gale
#

Yeah just add jd to every single API endpoint

#

everything else gets nothing (:

forest pecan
#

well tbf, do you ever expect the user

#

to read the code for the api

#

lol

#

i mean maybe if the javadocs are not detailed enough

#

they open up the code

spiral junco
#

speaking of javadocs lucy u havent put my stylesheet in :(

pale shell
#

Why don't people just give good docs anymore

forest pecan
#

cause we are illiterate

#

and cant explain stuff

#

well

#

lol

pale shell
#

It helps so many other devs but we just don't do it

#

Like no docs means you gotta go hunting for shit

forest pecan
#

well even just javadocs itself isnt always enough always

#

you may need some sort of guide

#

with code or smthing

#

about how to interact the components

#

to form whatever you want

#

unless javadocs specifies what to do, but that would be just 🤡

boreal needle
pale shell
#

I mean it took like 4 years for te to add docs yet its still a bad plugin

pale shell
fleet prism
#

hi so iam minecraft Dev in HyFlame network and we are looking for more devolpers

obtuse gale
fleet prism
#

i made a message in request-free chanel

#

yes i did that there

forest pecan
#

then dont ask here

#

lmfao

obtuse gale
#

then wait until someone replies

fleet prism
#

oky thx ❤️

forest pecan
#

yea devs dont work free sadly

fleet prism
#

its not free

#

he will gain new skills , knowldge from programming new things

forest pecan
#

bruh

fleet prism
#

thats not free at all

#

xD

obtuse gale
#

...

forest pecan
#

...

pale shell
#

Also you want people to do it in 1.8.8?

fleet prism
#

yes

forest pecan
#

you realize most of here know a lot of stuff right?

#

and we are just losing more time

#

not gaining knowledge

#

lmfao

obtuse gale
fleet prism
#

thank you anyway .. i gaved it a shot ..

pale shell
#

😂 Fefo

forest pecan
#

lol

#

you violated him

fleet prism
#

i meant when we get allot allot of income yes the dev will get money ..

forest pecan
pale shell
#

So put it in request paid??

obtuse gale
#

ah gee

fleet prism
#

we have core i 9 9900k

forest pecan
#

lmfao

fleet prism
#

ram 128 gb

forest pecan
#

what

#

xD

fleet prism
#

dedicated

#

host

#

^^

spiral junco
#

i gaved a shot at alot of things in my life not much were yes

pale shell
#

So you can afford that but not a dev?

#

Okay...

fleet prism
#

we have 2 devs

#

but need 1 more

pale shell
#

????

forest pecan
#

?

spiral junco
#

?

pale shell
#

They not good enough??

fleet prism
#

me and another one but we need 1 more dev

#

its a big network . will be in the feature

#

so we need allot of devs .. ^^

obtuse gale
#

well, whoever is interested will see the message and get in contact with you

pale shell
#

So you want 3 devs for a small server?

fleet prism
#

yea i hope so .

#

not small lol

spiral junco
#

whats the server?

fleet prism
#

its not small why the hell i pay 200$ for core i 9 9900k if its small?

#

and the server is just opned like 2 weeks ago

pale shell
#

I mean, if you can buy that you can pay a dev

fleet prism
#

we don't want to waste money .. if someone want to join our team welcome if not also welcome ..

forest pecan
#

good luck lol

fleet prism
#

i didnt get any money from programming to the Network but i get some really good knowldge that helped me with my premium plugins .. i sold

pale shell
#

Devs work a shit ton to get things to the point where'd the consumer would be happy.

fleet prism
#

++ i know that fell bro ..

spiral junco
pale shell
#

You probably haven't ever tried coding on the scale you're expecting. If you would've ever tried then you'd understand why the people wouldn't work for free. They have bills and such to pay.

forest pecan
#

there's no way you sold premium plugins. On what marketplace?

#

X to doubt if its spigot

pale shell
#

Atleast I'm getting xp for this rant KEKW

fleet prism
forest pecan
#

LMFAO

spiral junco
pale shell
#

Mc market is awful.

forest pecan
#

lol

fleet prism
#

why people here are toxic xD

pale shell
#

We're not, we're telling the truth.

fleet prism
#

i know the truth we don't need to pay more things if anyone interested welcome ..

pale shell
#

You're trying to underpay people for hard labour, and then you call us toxic for telling you the truth.

spiral junco
forest pecan
#

lol spitting facts

fleet prism
#

the owner paid me 50$ .. after finishing like 6 plugins [big ] but i fell him he don't want to waste more money ..

#

so i told him that i will get 30% of income ..

obtuse gale
#

you are trying to justify the fact you aren't getting paid properly

fleet prism
#

everytime he get money from server . ranks , keys , anything else ..

pale shell
#

If you're not willing to spend money on devs to give you what you want you're going to get good stuff.

forest pecan
#

and one question. If you are a developer, why are you asking for more developers.

#

it should be the owner

fleet prism
#

will be

pale shell
#

You can get a free dev, he'd give you a shit plugin or you can pay up and get a good developer to do a good job

fleet prism
#

then how much it will cost to get a good devolper who can make a uhc run plugin?

ocean quartz
fleet prism
pale shell
#

The only reason I'm carrying on with this is because I get xp KEKW

forest pecan
#

if you think about it

sweet cipher
#

Muntder I would love to work for you

forest pecan
#

unless you talking about hypixel recipes

spiral junco
pale shell
#

Uhc run?

ocean quartz
fleet prism
sweet cipher
#

Are back doors allowed?

fleet prism
#

we don't use people xD

obtuse gale
#

oh hey fish

#

you evolved

pale shell
sweet cipher
#

Oh yeah I did

dawn hinge
sweet cipher
forest pecan
#

you know this is illegal

#

right

sweet cipher
#

Maybe pyramid scheme actually

forest pecan
#

not illegal, but no dev

fleet prism
forest pecan
#

is stupid enough

#

to take that

#

lmao

#

"we're gonna pay you later"

fleet prism
#

ok thank you so much ❤️

forest pecan
#

how do you know your server's gonna blow

sweet cipher
#

This color is actually nice

dawn hinge
#

^^

obtuse gale
#

it really is

#

it was my fav :(

forest pecan
#

Yeah

#

ugly purpkle

#

smh

fleet prism
#

we just opned

sweet cipher
#

Pulse yours is good too

forest pecan
#

Yeah

fleet prism
#

and we have allot of big youtubers

dawn hinge
#

Pay for developers too then

sweet cipher
#

Most servers that just opened close quickly

#

Like mine lol

forest pecan
fleet prism
#

not talking about 1k or 4k

ocean quartz
#

Money to pay youtubers but not devs thonking

fleet prism
#

iam talking about 50k or more maybe 100k

#

subs

obtuse gale
sweet cipher
#

Why pay devs when they can work for free?

#

Wait actually it’s not free

spiral junco
fleet prism
#

haha

sweet cipher
#

They get experience and knowledge

ocean quartz
fleet prism
sweet cipher
#

forest pecan
#

you realize hes joking right

#

if you fall for this

#

im going to shit my pants lmfao

obtuse gale
fleet prism
#

i know haha

obtuse gale
#

no one's gonna join you my dude

forest pecan
#

you sure you know?

obtuse gale
#

just saying the truth

fleet prism
#

i just wanted another dev bcz i don't even got time for devs , exams etc

sweet cipher
#

Your owner has their priorities wrong if they are paying advertisers but not good devs

spiral junco
lavish notch
sweet cipher
#

On an unrelated topic, would anyone like to code my plugin for me for free? You will learn a lot.

#

I actually am getting frustrated by it lol

spiral junco
# fleet prism the owner xD
hypocrite

noun [ C ]

someone who says they have particular moral beliefs but behaves in ways that shows these are not sincere```
sweet cipher
#

Have you ever eaten a hippo?

ocean quartz
spiral junco
forest pecan
sweet cipher
#

Work for me instead

forest pecan
#

nah

#

work for me

sweet cipher
#

No

dawn hinge
#

Cute panda

sweet cipher
#

Me

forest pecan
#

you will be a good sl

#

u

#

ave

sweet cipher
#

I will work for you pulse, then they will work for me

forest pecan
#

wow

#

more slu

#

aves!

sweet cipher
#

Is the word blocked or something?

forest pecan
#

no i just dont wanna say it

#

lmao

sweet cipher
#

Oh lol

spiral junco
#

work for me i have cookies i will give you instead of money and good experiences

sweet cipher
#

No blue name though

forest pecan
#

"good experiences"

#

hmmmm

spiral junco
#

*website cookies that track you

sweet cipher
#

Accept all

forest pecan
#

Accept PP

spiral junco
forest pecan
#

owo

sweet cipher
#

I’m going to have a bunch of questions for my plugin later probably but I am not on my computer right now, whoever helps gets a feeling of pride.

#

And accomplishment

forest pecan
#

will you help me grow 5 inches

sweet cipher
#

Yes

forest pecan
#

ty

#

i dont have to take viag

spiral junco
#

Yes

sweet cipher
#

Width or height or other

forest pecan
#

ra

forest pecan
#

i need to last longer

sweet cipher
#

Are you 2 ft tall right now?

forest pecan
#

hm i think we got a different idea of growing 5 inches

#

hmmm

#

hmmmmmm

sweet cipher
#

Nono

spiral junco
forest pecan
#

hmm

sweet cipher
#

Autocorrect is so annoying

forest pecan
#

Yeah

#

fish how long?

spiral junco
#

autwo cowwect owo

sweet cipher
#

5 years

forest pecan
#

damn

spiral junco
#

i will owoify your sentences

pale shell
#

Wtf

spiral junco
#

just say a phrase and ill owo it

forest pecan
#

hi

sweet cipher
#

A

spiral junco
pale shell
#

?

#

I don't get wtf you're putting

#

It's not even a word

spiral junco
#

haii! I dont get wat da fuwk youw putting owo O.o

#

difficult sentence to owo

#

say a diffrent one

obtuse gale
#

daddy please 🥺

spiral junco
#

no

distant sun
#

...

spiral junco
#

bonk

#

rn

obtuse gale
#

angri

spiral junco
distant sun
#

@ocean quartz docs for msg when? 🥺

forest pecan
obtuse gale
#

I think carl bot has an owoify command lol

spiral junco
#

wat

spiral junco
ocean quartz
spiral junco
#

its in the owo bot

distant sun
obtuse gale
#

weda pwease owofy my phwase

spiral junco
obtuse gale
#

unu

obtuse gale
#

gawwyy n.n

ocean quartz
#

Which builders?

distant sun
#

item builders noob

forest pecan
spiral junco
#

omg owo has a lorem ipsum sample

#

OwOfire: Wowem ipsum dowow sit amet~ consectetuw adipiscing ewit~ sed do eiusmod tempow incididunt ut wabowe et dowowe magnya awiqua. Ut enyim ad minyim venyiam~ quis nyostwud

ocean quartz
distant sun
#

🙂

#

lmk when I can contribute

forest pecan
#

theres no null in kotlin

#

right

half harness
#

there is

#

i was just going to ask a question relating to nullability

#

lol

#

? = null

#

sorta

onyx loom
#

null safety

half harness
#

yea

#

with ?. in kotlin, is there a way to make it like "put this instead of it is null"?
since rn I have kt val variable = someMethod()?."test" but not variable is nullable

#

and if statements look ugly

onyx loom
#

?: ?

half harness
#

oh

gusty glen
half harness
#

wat

#

wait

#

im confusing myself

#

lol

onyx loom
#

u just remove the ?. and use elvis instead

#

iirc

gusty glen
half harness
#

nvm i fixed it

#

i was being stupid

#

lol

#

i was doing someMethod?.someProperty

forest pecan
#

wtf my code works in test but when on a server it fails

#

dog shit

half harness
#
val variable = someMethod()?.someProperty?: "backup"
gusty glen
#

please put a space before ?:

onyx loom
#

remove ?.

half harness
#

i can't

#

oh wait

onyx loom
#

sure?

gusty glen
#

?

half harness
#

what

#

someMethod is nullable

onyx loom
#

thats why ?: is there

gusty glen
#

^

half harness
#

uh

#

yea

onyx loom
#

?. means that itll fall through if its not null
?: means that itll do something else if it is null (basically null check)

half harness
#

ik

#

i was just confused

#

since i was trying to combine them

#

ish

#

agykjndwashzdkjas

#

is it normal having an entire enum dedicated for permissions?

#

lol

#

or is it useless

onyx loom
#

i wouldnt say its useless

half harness
#

okay

#

time to think of permissions

#

for bedwars

#

time to copy other plugins

gusty glen
#

probably for commands

onyx loom
#

permission to break the bed 🤡

gusty glen
#

why is it called "bed" wars?

half harness
half harness
#

the objective is to defend ur bed

#

and break other's beds

gusty glen
#

so it could be anything

#

?

half harness
#

?

#

yea

#

cubecraft has eggwars

#

uses dragon eggs

gusty glen
#

I see

#

how you're dealing with the world creation btw

#

👀

onyx loom
#

eggwars was pog

#

i used to spawn kill people on that for jokes

#

id keep their egg alive then get like 50 kills before ending the game 🤡

half harness
#

i doubt it'll work

#

if i have the permission bedwars.a.b, and if I do hasPermission("bedwars.a"), will it be true or false?

gusty glen
#

false

#

i think

half harness
#

aww

onyx loom
#

ye i think permissions have to be exact

half harness
#

rip

onyx loom
#

hence why people create blah.* exists probably

half harness
#

in luckperms

#

anyways

#

time to make a permission to leave the game

#

😛

onyx loom
#

permission to leave the server: false

half harness
#

lol

#

should i have a global main lobby or per game?

#

so would it be like yml lobby: somelocation or ```yml
games:
somebedwarsmap:
lobby: somelocation

#

hmmm

#

ill do global

obtuse gale
#

what

#

@half harness

#

I got dinner

half harness
#

nice

#

what u eating?

obtuse gale
#

Some leftover lasagna

#

Neat

half harness
#

🤤

#

accidentally just pressed the build button

#

oops

onyx loom
#

yes

pale shell
onyx loom
#

o

#

i guess is odin is right

pale shell
half harness
#

poll:
a) on bedwars game end, teleport to a specific location
b) on bedwars game end, teleport to location before game joined

#

i cba making it configurable

surreal quarry
#

c) configurable

half harness
#

-_-

dawn hinge
#

d) all above

pale shell
#

C

half harness
#

fine

pale shell
onyx loom
#

lmao

half harness
#

gtg

dawn hinge
#

Really dkim

pale shell
#

Dkim just runs

half harness
#

ok im back

oak raft
#

welcome back

half harness
#

thx

oak raft
#

no problem

#

❤️

half harness
oak raft
half harness
#

hm i think i got all the commands so far

#

oh jeez

#

this is going to take a while

frail glade
#

Bruh

half harness
#

lol

#

(for bedwars)

oak raft
#

How long have you been working on this?

half harness
#

uh

#

4/1/2021 according to File Explorer

#

😛

#

so like 2.5 weeks

forest pecan
#

Okay this is so weird

#

my code works in testing but not in server?

#

makes literally no fucking sense

obtuse gale
#

damn okay

oak raft
#

What's the code supposed to do?

ocean quartz
#

I'm dropping the support for legacy, tired of trying to make this work
If people don't want components don't update lmao

forest pecan
obtuse gale
#

fuck off barry

forest pecan
#

lmao

obtuse gale
#

that ain't barry but whatever

ocean quartz
#

I gotchu

forest pecan
#

OMFG

#

I FIXDEDD IT

obtuse gale
#

is there a max per message or %?

ocean quartz
#

Yeah i think so

#

Probably like 5

half harness
#

its 6

#

🙂

ocean quartz
#

It's 5

half harness
#

wat

#

🙂 🙂 🙂 🙂 🙂

obtuse gale
#

\🥲

ocean quartz
#

5 is the limit, 6 passes

obtuse gale
#

🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲

half harness
#

\🥲

forest pecan
#

haha im going onto the mc server

#

i hope the itemframes work

obtuse gale
#

lol

half harness
ocean quartz
#

Without needing all that abstraction stuff, this looks so much better

oak raft
#

Is that done using the mf gui framework or whatever it's called?

ocean quartz
#

Yeah

oak raft
#

oo

#

I plan on taking a look at that

obtuse gale
#

niice

ocean quartz
#

Might wanna wait for the update, it'll change a lot

oak raft
#

Yeah I'll wait. You actually reminded me to get back to learning Kotlin

#

I stopped Kotlin for C++ but I realized that I'm starting too many things and not finishing them so I'm going back to Kotlin fingerguns

ocean quartz
#

God i hate that Java can't have default parameters so I have to make a constructor for each case 😩

sweet cipher
#

What do you mean default parameters?

humble silo
humble silo
#

this one?

ocean quartz
# sweet cipher What do you mean default parameters?

So let's say you want 2 types of constructors, in Java you would do

public class MyClass {
    
    private final String name;
    private final int age;

    public MyClass(final String name, final int age) {
        this.name = name;
        this.age = age;
    }

    public MyClass(final String name) {
        this(name, 0);
    }

}

// Now both this work
new MyClass("Matt", 24);
new MyClass("Matt");

You can imagine how with more this would turn very confusing
In Kotlin you do

class MyClass(private val name: String, private val age: Int = 0)

// Same thing, now you can
MyClass("Matt", 24)
MyClass("Matt")
oblique heath
#

that's nifty

ocean quartz
# humble silo this one?

Nah it should be just "Fira code medium"
You might need to toggle the "show non monospaced fonts" (even though it's monospaced)

frail glade
#

So much cleaner it seems with Kotlin.

ocean quartz
#

Ikr

#

The scrolling gui class will now have like 4 constructors and 4 deprecated constructors

frail glade
#

Wowza

#

So will it still properly handle 1.8 - 1.16 is the age-old question.

ocean quartz
#

Yeah I'll make it work on 1.8-1.16, if you pass a component and it's an old version it'll serialize to string to not cause issues

frail glade
#

Awesome

#

Whelp, I'm excited to try it out.

obtuse gale
hot hull
#

How is it at 10 hours and I've done jack shit

obtuse gale
#

hello

#

@pallid gale @quiet depot

#

can you help me with something

hot hull
#

Pog

obtuse gale
#

i not sure i am at the right server

#

what this servernhelping at?

quiet depot
#

What do you need help with?

obtuse gale
#

something with my laptop

quiet depot
#

this server is for development support & spigot plugin help

#

We're not primarily a tech support server but you can try asking in #off-topic

obtuse gale
#

ok see you there 🙂

distant sun
#

Lmao

sonic shuttle
lunar cypress
#

woops

#

I didn't mean to post that

#

bcs after I looked at it it's actually not that great lol

quiet depot
#

why'd it get removed banana?

old wyvern
sonic shuttle
prisma wave
#

you got rekt

sonic shuttle
sonic shuttle
prisma wave
sonic shuttle
#

yeah but no one is using that

prisma wave
#

46 stars thank you very much

#

Imo standardising a dependency manager is either pointless or should be done by spigot

sonic shuttle
#

yep

#

or even bukkit

prisma wave
#

is using C++ for OpenGL worth it

#

Alternatives would be java + lwjgl / libgdx or maybe rust or go

#

For some extra context I have pretty much no experience with C++

obtuse gale
#

where can I learn coding for minecraft

somber tulip
#

?learn-java

compact perchBOT
#
FAQ Answer:

Oracle Docs:
You should start with this, breeze through this(skipping stuff that doesn't seem relevant like bitwise operators), then hit this.
They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff

Online Courses:
If you want some free online courses, you can find them on Coursera. Yes they are paid but you can chose to take them for free with the only disadvantage being the fact that you don't get a certificate at the end. Some of the best courses can be found Here.
You can also take a look at Udemy but from what I've seen most of those courses are paid.

Other services:
Some other cool services that will help you learn java are SoloLearn, W3Schools and JetBrains Academy.

As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!

somber tulip
#

My personal favourite is JetBrains Academy

half harness
old wyvern
#

Haskell 😌

lunar cypress
prisma wave
#

That's probably a good idea

#

LWJGL is basically the same right

prisma wave
half harness
#

the super super basics are easy

#
main = putStrLn "Hello World"

```edited to make bm happy
half harness
#

lol

obtuse gale
#

better

half harness
#

lol

#

() 🤢

#

$ > ()

old wyvern
#

Nah, you're just having a seizure

#

No we dont

half harness
#

🥲

prisma wave
#

good luck explaining to a beginner what classes, static, public, arrays, void, printstreams are

#

I'm not saying java is bad but java basics are considerably harder than most languages

obtuse gale
#

oh I know that

#

static is bad

#

🙂

prisma wave
#

The type of System.out

#

Not really

quiet depot
#

I'd say this is a pretty accurate learning curve

#

for java

#

except perhaps the second slope is a bit steep

obtuse gale
#

in the balls

prisma wave
#

That's a use of classes but it's not the definition of a class

prisma wave
quiet depot
#

some people never get past the dip in the curve

prisma wave
#

Because as you said "java basics are easy"

#

Learning a language isn't just learning the syntax

#

Ok

#

The main entity in functional programming is obviously the function

#

Almost everything in Haskell is a function

#

yes

obtuse gale
#

in the balls

prisma wave
#

Ik this is contrived and with my same argument you could say haskell basics require knowledge of pure functions, Monads, etc

#

But saying java basics are easy isn't really true

quiet depot
#

oh bm python bad

#

here's my reasoning

prisma wave
#

uh oh

quiet depot
#

I tried out python a little while back with reasonable expectations

#

and after fairly little use of the language I was greeted by major design flaws

obtuse gale
#

python actually makes me want to vomit

#

I'd rather use scratch

quiet depot
#

"Python doesn't have type coercion"

#

btw hyperskill was what I was using at the time

#

so I was told python doesn't have type coercion, and for the most part that held true, until I met booleans

#

what the fuck

#

what on earth is wrong with booleans

prisma wave
#

What

#

Truthiness ?

quiet depot
#

why can strings be coerced to a boolean value

#

but a number can't be added to a string without an explicit cast

prisma wave
quiet depot
#

just a sec gotta find an example

#

aight so yeah "truthy and falsy"

#
a = 5

if a:
  print(a)```
#

that code prints 5

#

yet I can't do

age = 9
print("I am " + age + " years old")
#

that in my eyes is a huge inconsistency

prisma wave
quiet depot
#

no but you can do it with strings aswell, the example I just found was for a number

prisma wave
#

im not sure truthiness is the same as coercion per-se

#

It's just a bit of quality of life

quiet depot
#

it seems the same

#

types getting implicitly changed (casted isn't exactly the right word) to a boolean

#

so why can't my number be implicitly changed to a string?

obtuse gale
quiet depot
#

I know what you do, it's like str(age) or something

obtuse gale
#

printf or ?

#

oh..

quiet depot
#

you have to explicitly cast everything else

#

except booleans

obtuse gale
#

lmao

prisma wave
#

You could argue by the same measure that age + "years" in java is an inconsistency

#

that's type coercion

quiet depot
#

age + "years" wouldn't compile

obtuse gale
#

but "years" * age does 🙂

quiet depot
#

it does?

#

oof

obtuse gale
#

yeah it repeats

quiet depot
#

well java aint perfect

#

but we're not talking about java

obtuse gale
#

I mean

#

yeah I was thinking bout python lol

quiet depot
#

I'm not here to defend java

#

it's got many flaws

#

however imo python's flaws are more significant

prisma wave
#

if you're gonna say the entire python language is bad because of one inconsistency, do the same with java

#

I don't think python is perfect but it's not a bad language by any means

#

Of course not

quiet depot
#

but that's not its only flaw (flaws now, not necessarily inconsistencies (inconsistency is a flaw but not all flaws r inconsistencies)), you've got the underscores and shit, the slowness, the forced dynamic typing

prisma wave
#

the underscores aren't great

#

dynamic typing is mitigated by type hints