#dev-general

1 messages ยท Page 251 of 1

old wyvern
#

use string templates

surreal quarry
#

"$variable in string"
"${some.variable} in string"

prisma wave
#

gjwufjwfiuh

#

HORRIBLE

surreal quarry
#

what the

#

fuck

onyx loom
#

var ๐Ÿ˜ฌ

surreal quarry
#

this is KOTLIN

old wyvern
#

var

#

use val

prisma wave
#

with(event){} :))

surreal quarry
#

use extension functions

#

please

onyx loom
#

IJ is literally warning u about var too lmao

old wyvern
#

final by default

#

use var only when neccessary

#

Altho this is just to prevent you from making mistakes mostly

surreal quarry
#
fun SomeEvent.blah() {}```
prisma wave
#
let blah(SomeEvent e) => {}
old wyvern
#

^

onyx loom
#

when {
blah -> blah

prisma wave
#

match {
blah => blah
}

surreal quarry
#
when (variable) {
   something -> doSomething()
   otherThing -> doOtherThing()
   else -> doElse()
}```
prisma wave
#

true -> blah
false -> blah

surreal quarry
#

true -> {}
false -> {}
handle each of then

prisma wave
#

it's pattern matching

#

almost

ocean quartz
#

This is useless, it can only be true or false

prisma wave
#

not really

onyx loom
#

yea use a normal if for that

surreal quarry
#

but yea when isn't really useful there just do kt if (!player.hasPerms()) { // ... return true; }

old wyvern
#
when(expression) {
    value1 ->
    value2 ->
    range or type checks?
}
ORRRRR
when {
  condition1 ->
  condition 2 ->
}```
onyx loom
#

when is only useful when u have multiple outcomes, which will stop u from using if-else which looks disgusting

surreal quarry
#

wdym

onyx loom
#

wha

compact perchBOT
prisma wave
#

horrid

surreal quarry
#

do it in 10 lines or less

#

or bully

onyx loom
#

im struggling to find whats hard

#

ok

prisma wave
#

i think you could do it in about 15 lines

#

maybe less

onyx loom
#

CLASSIC kotlin

old wyvern
#

ha

surreal quarry
#

iโ€™m gonna try when i finish eating

old wyvern
#

You COULD do it in one line

compact perchBOT
old wyvern
#

๐ŸงŠ

surreal quarry
#

nice di

#

good start

#

there no static keyword and iโ€™m not telling you how to do it

onyx loom
#

"static" in kotlin

old wyvern
#

thats an abstract class

#

Why are you trying to construct it

#

Did you mean to use YamlConfiguration?

ocean quartz
#

One class inside the other with the same name .-.

old wyvern
#

There you defined a type

prisma wave
#

static val lol: String = "hello"

old wyvern
#

In the other case you called a constructor

#

type is specified with a : here

onyx loom
prisma wave
#

it doesnt work ๐Ÿฅฒ

#

try it

onyx loom
#

what what

old wyvern
#
val <VARIABLE_NAME>: <TYPE> = <EXPRESSION>
onyx loom
#

i cant believe uve made me open IJ

#

fuck u bm

prisma wave
#

ez time waste

#

const val ๐Ÿ˜„

#

ooh

onyx loom
#

i know how to use static in kotlin, but that defo werent the way so i was confused if they added it in an update ๐Ÿคฃ

old wyvern
#

You COULD copy paste and let IJ convert to see

onyx loom
#

๐Ÿ™„

prisma wave
#

i promise

#

ctrl alt shift k

ocean quartz
#

In kt it'd be

class Brodcaster(private val plugin: Main) {

    private val MESSAGE_DELAY = 5*320l ;
    private val ROOT = "BrodcastMessages";

    private val config = plugin.getConfig();

    init {
       createDefaults();
    }
prisma wave
#

spoilers

ocean quartz
#

Oh

#

Mb

old wyvern
#

No I meant like it just triggers when you paste java code into kotlin file

#

You can also use the shortcut bm suggested

#

Did it not ask you if you wanted to convert>

#

?

#

||Feels like the missionaries all over again||

#

weird

ocean quartz
#

Can't put code in spoilers lol

old wyvern
#

Are you sure you pasted into a kt file?

old wyvern
onyx loom
#

?

prisma wave
#

?.let

#

declarative null check ๐Ÿ™‚

surreal quarry
#

did it in 12 lines if you dont include imports/package/whitespace lol

onyx loom
#

put it in a paste james

ocean quartz
#

Which class are you trying to do in few lines?

surreal quarry
#

the one efe sent

ocean quartz
#

Let me try

surreal quarry
#

if config.set returned the plugin i could cut another line smh

onyx loom
#

o

prisma wave
#

hey i recognise that meme

onyx loom
#

๐Ÿคฃ

surreal quarry
#

very good meme from very good community

ocean quartz
#

Lmao there is a typo startBrodcast

surreal quarry
#

lol

prisma wave
#
import bukkit/scheduler

struct Broadcaster {
  Plugin plugin
}

let delay = 5 * 320
let root = "BroadcastMessages"

extend Broadcaster {
  let createDefaults => {
    plugin.config[root] = (0..3) map (s => "&6Default Message $s".color())
    plugin.saveConfig()
  }

  let pickMessage => plugin.config.getStringList(root).random()
  
  let startBroadcast => bukkitScheduler.scheduleSyncRepeatingTask(plugin, pickMessage.apply(Bukkit::broadcastMessage), 0, delay)

}```
#

how's that

onyx loom
#

disgusting

prisma wave
#

excuse me?

distant sun
#

@ocean quartz how do you tell to your core lib what plugin to use for tasks?

surreal quarry
#

pretty good

prisma wave
#

thank you

#

that's better

surreal quarry
#

however i cant help but notice you cheated by forgetting a method

prisma wave
#

WHOOPS

distant sun
#

@ocean quartz code?

#

๐Ÿ”—

prisma wave
#

struct good

#
import bukkit/scheduler

struct Broadcaster {
  Plugin plugin
}

let delay = 5 * 320
let root = "BroadcastMessages"

extend Broadcaster {
  let createDefaults => {
    plugin.config[root] = (0..3) map (s => "&6Default Message $s".color())
    plugin.saveConfig()
  }

  let pickMessage => plugin.config.getStringList(root).random()
  
  let startBroadcast => bukkitScheduler.scheduleSyncRepeatingTask(plugin, pickMessage.apply(Bukkit::broadcastMessage), 0, delay)

}```
#

fixed it

surreal quarry
#

nice

#

is there a reason you dont just put the methods in the original struct lmao

prisma wave
#

structs aren't objects

#

they're just data, no functionality

old wyvern
#

There are no "methods"

surreal quarry
#

ah ok

prisma wave
#

you extend a struct to add "methods"

old wyvern
#

Yea but it acts more like extension functions

prisma wave
#

pickMessage.apply(Bukkit::broadcastMessage)
@old wyvern thoughts on this btw? or we could go F# and do pickMessage |> Bukkit.broadcastMessage

#

i think it's hot

surreal quarry
#

first is better imo

onyx loom
#

F#

#

thats hot

prisma wave
#

the second would be a language feature rather than a standard library thing

distant sun
hollow spade
#

F

surreal quarry
#

Block#move

prisma wave
surreal quarry
#

easy

distant sun
#

man that's horrible lol

surreal quarry
#

no

prisma wave
surreal quarry
#

i doubt it

old wyvern
#

Yea

prisma wave
#

good

surreal quarry
#

d;spigot block#Move

prisma wave
#

it's cool

distant sun
#

pls no yugi wtf

ruby craterBOT
#

There was no direct match for that query, did you mean any of the following?: block#getx() block#gety() block#getz() fallingblock#remove() boss#remove()

prisma wave
#

what's wrong with it

distant sun
#

everything

half harness
distant sun
#

could use |> for lambda or smth (still horrible)

distant sun
half harness
#

lol

#

oh

prisma wave
#

|> isn't a lambda tho

half harness
#

oops

#

;-;

prisma wave
#

in F# it's the pipe operator

surreal quarry
#

dont even know about hacktoberfest

distant sun
#

H O R R I B L E @prisma wave

onyx loom
#

ur horrible

prisma wave
#

nah it's nice

distant sun
#

how the fuck am I supposed to track the package now ..

onyx loom
#

u dont ๐Ÿ™‚

distant sun
surreal quarry
old wyvern
prisma wave
#

let result = 512 |> square |> toStr |> rev

#

tbf

old wyvern
#

Functions exist as entities themselves

prisma wave
#

im not sure it's necessary

onyx loom
#

ok now thats disgusting

distant sun
#

mkay

onyx loom
#

one |> is nice

distant sun
#

@obtuse gale

prisma wave
surreal quarry
#

@obtuse gale

#

you asked for it smh

distant sun
onyx loom
#

true

#

no

steel heart
#

annoying doesnt mean hard

distant sun
#

why not use a more COMMON syntax?

prisma wave
#

lol

#

such as?

old wyvern
#

Like?

surreal quarry
#

{==>

distant sun
#

definitely not |>

old wyvern
prisma wave
#

tbf im not sure elara needs it if we can already chain receivers, eg let result = 512.square().toStr().rev()

old wyvern
#

This is just something on top

surreal quarry
#

{[;==^2-=->

distant sun
steel heart
#

$:

prisma wave
#

:=

steel heart
#

)

surreal quarry
#

)=>

old wyvern
#

same as

let a(Int a) => {
}

and

let a  = (Int a) => {
}

being valid

ocean quartz
prisma wave
#

hm true

distant sun
#

offtopic, has anybody tried game development such as unity?

old wyvern
#

Yes

ocean quartz
#

Yeah

old wyvern
#

I study game developement

distant sun
#

lucky mf

distant sun
#

I study math analysis smh

old wyvern
#

That sounds nice

onyx loom
#

yugi gonna make new fortnite ๐Ÿคจ

distant sun
#

makes sense @ocean quartz

old wyvern
#

Mine is just a specialization in Game dev tbf

surreal quarry
prisma wave
#

brister mitten
professional language designer

distant sun
old wyvern
#

xD I wish

distant sun
#

id like to give it a try but I hate the design part

steel heart
#

I program the programming language Skript which ngl is better than I thought

old wyvern
#

Game Design

#

Thats awesome

steel heart
#

everybody here should use Skript

onyx loom
#

ban this man

distant sun
#

no if you suck at any kind of design ๐Ÿคฃ

old wyvern
#

We had a Game Design class every month for our first year

#

I mean its not graphical or anything

#

Just stories and user interactions

steel heart
distant sun
#

ahh, that's not what I meant

onyx loom
#

idk about that chief

#

skript ๐Ÿ˜ฌ

steel heart
#

JavaSkript > Skript > Kotlin > Java

old wyvern
#

You meant graphical designing i guess

distant sun
#

I'm talking about the visual part of the game

old wyvern
#

Like modelling

#

ah

#

yea same

#

I dont prefer it

distant sun
#

like, I can probably learn a thing or two about programming part but would stuck on design ๐Ÿคฃ

old wyvern
#

We just used models from mixamo and some my friends made for our project exhibition

old wyvern
distant sun
#

ye I saw that

old wyvern
#

You can probably buy assets later on if your game goes real well

ocean quartz
#

@prisma wave Question, if I create a sealed class that extends another class, would it contain child unoverridden functions?

prisma wave
#

wdym?

old wyvern
#

^ this is just gold

#

or rather a gold mine

ocean quartz
#

Doesn't sealed class, block some functions? Or am i thinking this wrong?

prisma wave
#

I don't think so?

steel heart
#

thats basically enum but with generics ?

#

isnt it

prisma wave
#

eh kind of

#

sealed class is just a class with a restricted set of subclasses

old wyvern
#

Technically its just a package protected abstract class right?

ocean quartz
#

Ooh okay, i had the impression it would restrict public functions, that's a bummer

distant sun
#

@old wyvern can you just download them?

old wyvern
#

They also provide all sorts of animations

#

That was litrally our saving grace for my project

#

got an S ๐Ÿฅณ

distant sun
#

lol I see

#

but I guess you focus more on the technical side of game dev, right?

#

since game dev and game design are two different domains

ocean quartz
#

Gab let's make Minecraft 2

distant sun
#

agree

old wyvern
#

Me personally, yes. but a lot of my batchamates are also into Audio and Modelling

distant sun
#

damn

old wyvern
distant sun
#

what uni do you go to Yugi?

old wyvern
#

VIT

distant sun
#

o

#

I want to study CS as well ๐Ÿ˜ญ

old wyvern
#

You can probably still apply for some lateral entry programs

distant sun
#

still ๐Ÿ˜ฆ

old wyvern
#

I mean getting a CS job doesnt really require CS anymore does it

#

If you like it, focus on it more

#

One of my friends got out with EEE and now works in zoho as a mobile app lead

distant sun
#

yea, I need to find a domain that I like though

old wyvern
#

Have you given game development a go yet?

distant sun
#

no but tbh looks interesting

#

didnt had much free time since uni started unfortunately

old wyvern
#

Ah fair enough. Do you have vacations this year?

distant sun
#

and before that my pc couldnt handle unity

old wyvern
#

Same tbf

#

my last laptop took ages to open Unity

#

My first class I felt so annoyed waiting an hour for the shit to load

distant sun
old wyvern
#

Ah

distant sun
#

what year are you?

old wyvern
#

2nd

#

entering 4th sem

distant sun
#

oh, ok

old wyvern
#

Having an interim weird semester rn

distant sun
#

tf 4 semesters?

old wyvern
#

Not sure how this fits in?

old wyvern
#

B tech is for 4 years

distant sun
#

each year?

old wyvern
#

no 2 sems a year

distant sun
#

smh yugi

old wyvern
#

xD

distant sun
#

who say it like that

old wyvern
#

like what?

distant sun
old wyvern
#

Thats how its said here

#

Regional difference probably

distant sun
#

ye ig

old wyvern
#

Do you guys refer to each semester of year separately?

#

Like 1st sem of 2nd year ...ect?

distant sun
#

im 1st year rn and is kinda boring and annoying since I couldnt go to a CS uni ๐Ÿ˜ฆ

#

ye

old wyvern
#

ah

old wyvern
#

Math will be helpful either way tho

distant sun
#

Fuck math

old wyvern
#

xD

distant sun
#

Too much stupidly complex stuff

old wyvern
#

Its ussually fun once you get the hang of it

distant sun
#

and I hateeeeee stuff that is not practical

old wyvern
distant sun
#

Where is a tone of theory

old wyvern
#

Issue is they dont speak about applications before teaching

distant sun
#

we are doing vectors and other stuff at algebra but the applications are to weird for me tbh

#

like, the teacher explain them as something that you can't reproduce irl

old wyvern
#

huh

#

wdym something that you can't reproduce irl

distant sun
#

not the right therm

#

like something that only exist in theory

old wyvern
#

eh its more of techniques to solve in a lot of cases

#

Like they just go through diff methods of finding solutions

#

Which is why you might not know where to apply them

distant sun
#

I like math, I always did, but these stuff are explained very poor and seem impossible

old wyvern
#

yea true

#

learning yourself from the web usually does a lot more than what they teach

distant sun
#

I KNOW

#

man i found this woman on youtube who write formulas and stuff backwards on a glass placed in front of the camera

old wyvern
#

yo what xD

#

damn

distant sun
#

at first I thought is an edit

#

let me see if I can find the video

ocean quartz
#

I think a youtube channel called Because Science also did that, it's freaky

old wyvern
#

Yea that sounds really hard to practice

#

gn

surreal quarry
#

did BM's episode 1 ever go up

old wyvern
#

He posted the draft

#

he said he has some retakes to take I think

ocean quartz
#

Yeah and needed to adjust the audio

surreal quarry
#

ah ok

distant sun
#

MIT grad shows how to find derivatives
nice ..

old wyvern
#

That looks so weird to look at

#

Like shes writing on the board by writing forward but its still on top

ocean quartz
#

She even writes with the wrong hand

old wyvern
#

leftie

#

Or mirroring

distant sun
#

dedication

#

meanwhile I have an autistic 70 yo teacher

obtuse gale
#

AAAAAA

old wyvern
#

Anyway, gtg almost 3 am

obtuse gale
#

AAAAAAAA

distant sun
#

which let us study on our own ..

old wyvern
#

Good night ๐Ÿ™‚

obtuse gale
distant sun
#

gn yugi

ocean quartz
#

Gn!

forest pecan
#

help

#

i fell

#

and i cant get up

onyx loom
#

shame

steel heart
#

Kotlin will help you

forest pecan
#

kotlin pill?

#

btw im confused is the minecraft that is played on phones

#

is that bedrock edition?

#

ik there is a windows 10 edition

ocean quartz
#

It's both bedrock edition

forest pecan
#

so geyser

#

will support that?

ocean quartz
#

Should

forest pecan
#

thats insane lol

half harness
#

Is it possible to host a maven repo from just a jar?

ocean quartz
#

Huh?

half harness
#

uh

#

so when I use jitpack

#

It uses the github code

#

but I just want it using a jar file (in the release)

#

is it possible?

ocean quartz
#

Not on jitpack

half harness
#

uh

#

then on what?

ocean quartz
#

Local

half harness
#

uhhh

#

any free hosting that isn't local?

#

besides jitpack

ocean quartz
#

Not that i know of, other then maven central

half harness
#

is maven central free and good ๐Ÿ™‚

ocean quartz
#

Yes but it requires source, every other one will

half harness
#

hm

ocean quartz
#

Just used local lol

half harness
#

wdym?

#

I don't want everyone to use my plugin to host their own repo

ocean quartz
#

What?

#

That sentence makes no sense xD

half harness
#

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

half harness
#

XD I'm literally on that

#

page

#

right

#

now

#

lol

#

the same exact site

half harness
#

gradle seems more confusing xD

#

that or I just suck at googling

#

Also when should I use compileOnly and when should I use implementation?

#

because I see lots of plugins use compileOnly and I don't know if i should use it also (since jitpack says to use implementation)

#

please @half harness if anyone answers.. as I really need one soon!

ocean quartz
half harness
#

๐Ÿ‘€ I just went on that

obtuse gale
#

Psst Matt

ocean quartz
obtuse gale
ocean quartz
#

Too much trouble

half harness
ocean quartz
#

Yes

half harness
#

thxthxthx!

obtuse gale
#

It's like 3 keystrokes at most lol

half harness
#

should i use ```gradle
dependencies {
compileOnly fileTree(dir: 'libs', include: ['*.jar'])
}

ocean quartz
half harness
#

then all jar files in libs folder

ocean quartz
#

Fuck, when you edit it pings

half harness
#

?

obtuse gale
#

It doesn't ping

#

It's like when you do this @ocean quartz

half harness
ocean quartz
#

Oh okay, it's odd

obtuse gale
#

It doesn't really ping

half harness
#

๐Ÿ‘€

half harness
#

you said that implementation shades

#

and that's what I use shadowjar for

ocean quartz
#

I didn't say implementation shades, things that are marked as implementation will shade

obtuse gale
#

If you have a shading plugin fingerguns

half harness
#

ohhh

#

okay

prisma wave
half harness
#

wut

#

๐Ÿ‘€

#

that

#

i

ocean quartz
#

He doesn't want public, bm

lunar cypress
#

That's on him

prisma wave
#

your loss

half harness
#

ack im stupid I just used the jar file for my mc server from my projectdir/libs (where I put my local dependency) and thought it was projectdir/build/libs ;-;

ocean quartz
half harness
#

o

#

uhhhhHH

onyx loom
#

yes thats very important

half harness
#

๐Ÿ˜ฌ

onyx loom
#

EXTREMELY important

#

and remove via plugins ๐Ÿ™‚

half harness
#

um but what if I don't want to restart the whole server and wait 1 minute which feels like 1 hour

half harness
#

and takes too long to switch

onyx loom
#

um but what if u get random errors and dont know whats causing them?

half harness
#

and makes my computer die

onyx loom
#

oh right ofc, its from plugman :clojuremoon:

half harness
ocean quartz
half harness
#

wut

#

how?!

ocean quartz
#

/reload lol

half harness
#

I thought restart > plugman > reload

ocean quartz
#

Yikes

half harness
#

โ—

#

โ‰๏ธ

obtuse gale
ocean quartz
#

Yup

half harness
#

lmao

obtuse gale
#

/reload is literally /plugman reload every single plugin

#

That's horrendous

#

That's catastrophic

ocean quartz
#

It's all catastrophic

obtuse gale
#

Reloading single plugins is way better than throwing everything to shit

ocean quartz
#

Just restart, like everyone

obtuse gale
#

I do

#

But don't go around saying that shit man

ocean quartz
#

Was talking to dkim

half harness
#

arghh MC server soft "command remembering" system is getting annoying

#

do u guys use a server wrapper

obtuse gale
#

??

half harness
#

๐Ÿ™„ I guess that means no

#

question:

#

Will this break anything since I have another plugin that has VaultBaltop has a dependency?

obtuse gale
#

"this"?

half harness
#

the image

obtuse gale
#

Right, it's cropped on mobile

half harness
#

o

obtuse gale
#

Yes it may potentially cause harm on plugins that depend on that

half harness
#

actually i need to restart server

obtuse gale
#

You would need to disable those first

half harness
#

makes sense

#

I wish there was a way to restart the server with restarting it

#

like a /reload that works

obtuse gale
#

/restart fingerguns

half harness
#

;-;

ocean quartz
#

Run your server on IJ and hotswap fingerguns

half harness
#

woah

#

how?

ocean quartz
#

Piggy has a good guide on it, but i don't remember

half harness
#

lol im using a github gist so that I can remotely control my plugin

#

๐Ÿคฃ

lost forge
#

Trying to re-brand my warps plugin as i've completely re-designed it, and trying to think of a good name, wanting it more unique... Anyone got good ideas?

static zealot
#

Warps+

lost forge
#

Was thinking something a little more unique and original ๐Ÿ˜›

quiet depot
#

Warps 2

static zealot
#

PlusWarps++

#

pretty original. don't think I've seen something like this

#

OmegaWarpsPlusUltraExtra+

hot hull
#

Omega, what all does it do

lost forge
#

I settled on HyperWarps (surprised it wasn't taken)

hot hull
#

FrozenWarps fingerguns

lost forge
#

warps then freezes half way (halve all the coords for the warp then freeze the player)

hot hull
#

Thanks for the idea

hot hull
#

@ocean quartz Quick suggestion, have the Italic format disabled by default on mf messages, as it conflicts with stuff like _<username>_ (for convinience sake fingerguns)

ripe zinc
#

java.lang.NoClassDefFoundError: kotlin/collections/CollectionsKt why would I suddenly be getting this error?

prisma wave
#

not shading the standard library?

onyx loom
#

not using pdm

ripe zinc
#

how would I go about shading it?

prisma wave
#

shadowJar

#

assuming you're using gradle

#

which you should be

steel heart
#

fatJar reversed_fingerguns

prisma wave
#

๐Ÿ™„

#

๐Ÿ˜ฌ

#

๐Ÿฅถ

ripe zinc
#

yeah I am

steel heart
#

Obviously something gone wrong

old wyvern
#

P

prisma wave
#

D

old wyvern
#

M

steel heart
#

!

prisma wave
#

๐Ÿ˜

steel heart
#

Also anyone here has used ListenableFuture? Is it better than Completablefutures?

ripe zinc
#

oh pdm is bm's lol

prisma wave
#

yes

#

much better

#

bug free

onyx loom
#

bug free

prisma wave
#

mhm

#

obviously

old wyvern
#

WHO is bm

onyx loom
#

good question

prisma wave
#

who is bm

steel heart
#

Bomber Mitten

#

Boomer Mitten

#

Bald Mitten

old wyvern
#

WHO

onyx loom
#

WHO

prisma wave
#

looks just like me

old wyvern
#

Exactly

prisma wave
#

bald?

old wyvern
steel heart
#

Itโ€™s fake hair

hot hull
#

Is it bad that I don't know who that is?

steel heart
#

He looks like bm

#

Ofc I donโ€™t know him

prisma wave
#

the ceo of covid

old wyvern
#

Yes

#

Thats the director of the WHO

hot hull
#

WHO let the dogs out?

old wyvern
#

Yes

#

Yes they did

#

Back in china

#

Donald trump is fake

#

He never existed

onyx loom
#

reliable source

hot hull
#

If you think the virus is fake, then just wait a bit, let natural selection sort shit out fingerguns

#

humanity should die yes

old wyvern
#

We dont exists

#

Nothing exists

#

No as in

#

We specifically

#

Dont "Exist"

quiet depot
#

we are a matrix?

old wyvern
#

As in a personality

quiet depot
#

yeah

#

that's more like it

old wyvern
#

Atleast in some way

#

According to the many worlds interprey

#

Interpretation

#

We branch to a "new world" on every decision

quiet depot
#

what does the many worlds interpretation have to do with existing

old wyvern
#

Think a bit more

#

Once branched

#

Which branch is you?

#

Are all branches you?

#

Is the reminiscent of some random first branch that has nothing to do with who you are now also you?

prisma wave
#

yes

old wyvern
#

Then your personality is not defined

#

Its simply a probability

#

With existtance only upon joining your system

#

Or as in "on observation" the state collapses

#

From the text book words

#

Or rather the wave collapses to a state actually

#

But yea

prisma wave
#

๐Ÿคจ

quiet depot
#

I wouldn't say they're you

old wyvern
#

Then do you exist at any point

quiet depot
#

Yes

old wyvern
#

Anything so as to even think would make a branch

quiet depot
#

that's a certainty

old wyvern
#

Every thought is a decision

#

If every minute thing you do branches you

#

And all possibilities do occur

#

There is no person

#

As in its a illusion

quiet depot
#

of course there is a person

#

you must consider time here

#

every instance

#

if time is not considered then yes, there is no person

#

there is nothing

#

apart from light

old wyvern
#

Even with time

#

There is no point where you wouldnt diverge

quiet depot
#

can the universe split concurrently?

#

according to that theory

old wyvern
#

Maybe?

quiet depot
#

you'll have to excuse my lack of knowledge here, for i'm a mere programmer

#

because if it can not split concurrently, and time is factored in

#

then it is certain that you exist

old wyvern
#

๐Ÿ˜‚

#

Maybe we can

#

Or rather it can

prisma wave
#

Parallel stream

quiet depot
#

unfortunately whether it's concurrent or not only matters to an observer like us who can experience time .-. As yugi said, we don't really exist, but that's not due to mwi afaik

#

not that I know anything about anything

old wyvern
#

But either way

quiet depot
#

wym harsh

old wyvern
#

Mwi doesnt really do much except try to present a possible explanation for scrodingers cat

quiet depot
#

the universe doesn't factor in emotions lol, how is it harsh

old wyvern
#

Which they actually made intially to mock quantum theory

old wyvern
#

๐Ÿ˜‚

quiet depot
#

what does that mean

#

u've got me all confused

old wyvern
#

I have no damn idea

quiet depot
#

even though I was already confused

old wyvern
#

Im equally confused

#

Oh i read that wrong

#

My bad

#

I thought you were being sarcastic

quiet depot
#

oh no lol

prisma wave
#

Intellectual conversation starter

#

what's everyone's favourite syntactical feature in any programming language

onyx loom
#

not lisp

prisma wave
#

๐Ÿ™„

distant sun
#

Not |>

prisma wave
#

๐Ÿ™„

quiet depot
#

:= for declaration and = for reassignment

prisma wave
#

That is pretty nice

#

ngl

distant sun
#

Whats delegation?

prisma wave
#

in kotlin terms or in general?

quiet depot
#

giving something to something else

#

I think

prisma wave
#

yea pretty much

distant sun
#

val a = 5
val b := a?

prisma wave
#

oh

#

declaration

#

lol

quiet depot
#

nah gaby

prisma wave
#

in Go, probably the same in V it's like ```go
a := 5
a = 4

onyx loom
#

๐Ÿ™„

quiet depot
#

in vlang it's like this:

a := 5
// won't work
a = 6

mut b := 5
b = 6```
onyx loom
#

actually

prisma wave
#

hey don't go trashing Go

onyx loom
#

thats nice

distant sun
#

What's the equivalent in java?

quiet depot
#

java doesn't have an equivalent

prisma wave
#
int a = 5;
a = 4;
quiet depot
#

java only uses =

onyx loom
#

altho i wouldnt say better than val

prisma wave
#

it's not the same

prisma wave
onyx loom
#

ehh

distant sun
#

Ah, ok p1g

onyx loom
#

if ur skimming over smth it might be hard to spot, idk

prisma wave
#

fun fact python has := too

distant sun
#

That makes it a shitty thing tbh

prisma wave
distant sun
#

Pig imma pr smth to barry

onyx loom
#

ig

distant sun
#

You better merge it

prisma wave
#

a := 5, a = 5 look the same because you're making a equal to 5 in both

#

idk

#

that's just a theory

onyx loom
#

i still prefer val ๐Ÿ™‚

quiet depot
#

val is verbose when comparing to v's style

distant sun
#

And whats wrong with that

quiet depot
#

a lot

#

look at every argument against java

#

they'll all mention verbosity

onyx loom
#

lol

distant sun
#

Yea

prisma wave
#

speaking of verbose, has anyone ever heard of F#

quiet depot
#

ya

prisma wave
#

very nice language

onyx loom
#

how does vlang look anyway pig

distant sun
#

But, like, I want to KNOW what the f somethig means

prisma wave
#

v.v
v := "v"

quiet depot
#

it's easy

#

if there's no prefix, it's immutable

#

if it starts with mut

#

it's mutable

distant sun
#

C's spltkn for String#split is that good?

prisma wave
#

what

quiet depot
#

no

#

no one likes c lol

#

apart from linus

distant sun
#

Then what is wrong with stuff being verbose :((

prisma wave
onyx loom
#

๐Ÿ˜ฌ

prisma wave
#

lol

distant sun
#

Amazing system

onyx loom
#

click it

prisma wave
#

no

onyx loom
#

y not

prisma wave
#

you can just tell there's at least 30 viruses on that site

distant sun
#

strtok @prisma wave

onyx loom
#

smh

prisma wave
#

uhhhhhhhhhhhhh

distant sun
#

What did you expect efe lmfao

onyx loom
#

its not like the viruses will do anything ๐Ÿ™„

prisma wave
distant sun
#

triple x movie website

prisma wave
#

but anyway

onyx loom
#

exactlly

#

they just want a place to stay ๐Ÿ™‚

prisma wave
#
// 'name' is inferred to be a string based on usage.
let printMessage name =
    printfn "Hello there, %s!\n" name

// 'names' is inferred to be a sequence of strings.
let printNames names =
    names
    |> Seq.iter printMessage

let names = [ "Ana"; "Felipe"; "Emillia" ]
printNames names

what does everyone think of this

#

|>

onyx loom
#

gaby will have an opinion on |>

prisma wave
#

it's definitely unique

distant sun
#

|> is just horrible mate

prisma wave
#

but i think it's a clever way of doing things

#

meh

distant sun
#

Whats it purpose?

prisma wave
#

piping

old wyvern
#

^

distant sun
#

And in normal terms?

#

Chain methods?

prisma wave
#
names |> Seq.iter printMessage
``` is the same as ```fs
Seq.iter printMessage names
``` I believe
#

yeah

distant sun
#

Ok why |> and not . as EVERYONE ELSE?

prisma wave
#

hmm?

onyx loom
#

unique

quiet depot
#

ew it uses let

prisma wave
#

this is very different to .

distant sun
#

Also why ; for array values lol

prisma wave
#

idk

onyx loom
#

use commas

distant sun
#

Cant copy the text but im talking about let names

onyx loom
#

also why spaces for the []

prisma wave
#

Yeah

#

That's probably just to make it easier to read

distant sun
#

Too many questionable things smh bm

onyx loom
#

nah

#

no spaces is better

prisma wave
#

The |> is good because it means you can use receivers like methods

old wyvern
distant sun
#

What's next, <o/ for callbacks?

onyx loom
#

๐Ÿ˜‚

#

why not

prisma wave
#

Apparently there's also >> for composition and <| for a backwards pipe

distant sun
#

Anyways, gl with your project

prisma wave
#

Project?

distant sun
#

=pl auctionhouse

compact perchBOT
#

v2.1.12 by klugemonkey
An AuctionHouse plugin for 1.13.2+ with a familiar interface.

Downloads:

78,407

Likes:

174

Reviews:

145

distant sun
#

Does anybody know this guy? Like have this discord or smth

distant sun
prisma wave
#

oh ofc

#

Tt

#

Ty*

#

It's going well

#

Kind of

distant sun
#

Ye until you meantion this abomination |> ๐Ÿคฃ

quiet depot
#

yeah don't do that bm

onyx loom
#

no

prisma wave
#

I wasn't gonna do it anyway

#

Elara doesn't need it

onyx loom
#

do what u think is best

remote goblet
prisma wave
#

It already has an alternative

distant sun
#

Ik ori

prisma wave
#

Although we did consider it

#

For chaining infixes

onyx loom
#

oh god, <| ?

distant sun
#

Should have stop right there

#

Man looks like a thing you would use for console lol ---<| TEXT HERE |>---

prisma wave
#

F# only uses them because it doesn't have parentheses and commas

quiet depot
#

not a bad thing

prisma wave
#

So they are necessary to denote precedence and resolve ambiguity

distant sun
prisma wave
#

Whereas elara has parens so it doesn't need them

#

Yeah elara has them

#

Ehhh

#

not awful

distant sun
#

Similar to hogwards, they send people after you

quiet depot
#

literally free money for you lol

distant sun
#

If its a premium plugin

#

Or?

prisma wave
#

Not bad, rewriting a lot of the interpreter because my implementation of the type system sucked a lot

prisma wave
#

omg

#

elara will not have |>

#

Happy now?

onyx loom
#

no

distant sun
#

I need that on paper

prisma wave
#

๐Ÿ™„

#

Utterly ridiculous

distant sun
#

German keyboard?

#

Dont you just use qwerty?

#

What

onyx loom
#

ew

distant sun
#

Tf

prisma wave
#

dvorak

distant sun
#

W tf ?

#

Why

#

Ok ..

#

Z looks nice in bottom left corner for me

#

Thats the only difference?

onyx loom
#

special characters have different places

distant sun
#

Ok ..

distant sun
#

But I only use that when I need them

frigid badge
#

we just use US International as our layout

#

we do have a dutch layout though if necessary but only difference is like replacing the dollar sign with an euro sign iirc

#

yeah neighbour

#

๐Ÿ˜‰

#

I live a bit more south

#

in Noord-Brabant

#

near from you what

#

it's only like 250km

#

omw

distant sun
#

When does the bike arrive @frigid badge

frigid badge
#

which bike

distant sun
#

Yours

frigid badge
#

I haven't bought it

hot hull
#

When do my winter tires for the lambo arrive @frigid badge

frigid badge
#

once you buy them smh

hot hull
#

Oh u mean I gotta buy them

frigid badge
#

I'll write a check

distant sun
#

what would this be AuctionHouse::Task: com.spawnchunk.auctionhouse.menus.ActiveListingsMenu$2 ( Timings )?

#

a lambda or

prisma wave
#

probably

#

although it could be an anonymous class

#

which lambdas are ofc

distant sun
#

too many tasks omg

signal tinsel
#

I wanna mess around with some search stuff

#

Anyone have a somewhat big dataset to search?

quiet depot
#

what format does this dataset need to be in

signal tinsel
#

Uhh don't care

#

I can reformat it

quiet depot
#

multiple datasets or just one?

signal tinsel
#

The more the better

#

Why not

#

More stuff to experiment with

quiet depot
#

you'll need 7z to extract the archive

#

not doing this with zip

#

2 secs

signal tinsel
#

Aight

#

Wait I need json

#

Eh wahtever I'll format myself

quiet depot
#

it's already json

signal tinsel
#

Okay that's nice

#

Can you dm me with it or smth?

signal tinsel
#

Okay

barren cloud
#

Do you guys have any idea about forwarding player to different ports on same DNS?

quiet depot
signal tinsel
#

Aight thanks

quiet depot
#

expands to ~1.6GB of searchable data

distant sun
#

hmm, how tf do I open a 15gb tar.gz file ๐Ÿคฃ

quiet depot
#

tar -xzf blah.tar.gz

distant sun
#

not a valid option

#

does that unzip it?

quiet depot
#

yes gaby

distant sun
#

mhm

quiet depot
#

@signal tinsel how are you searching it btw?

#

if you deserialize all those objects and load it into memory

#

well, you can't

distant sun
#

mhm ok p1g

quiet depot
#

there's too much

signal tinsel
#

No, not gonna

#

I'm just gonna experiment

quiet depot
#

aight

signal tinsel
#

We'll see what I do

quiet depot
distant sun
#

any idea if coreprotect is OS?

quiet depot
#

believe it is

signal tinsel
#

First trying to open a data file in sublime text lmao

distant sun
quiet depot
#

guess not then

signal tinsel
#

Its not working

quiet depot
#

open it without syntax highlighting

#

try change the extension to something else

signal tinsel
#

Oh it loaded

#

Now I'm gonna try to figure out what this data is for

quiet depot
#

could just look at the project I linked which uses it lol

signal tinsel
#

Meh

signal tinsel
#

@quiet depot I've spent 20 minutes writing a python script to make it into a readable format

#

Aka prettify the json

#

Lmao

#

And now it won't even load at all

#

Okay now lets see what to do with this

#

Hmm, not much of a useful dataset

prisma wave
#

Is there any way of making a gradle module's repositories transitive? atm i have to add them all to the root module just to get dependencies to resolve

ocean quartz
#

Wouldn't api make it transitive?

#

Oh wait, repository

#

I think it'd need to be on root module yeah

prisma wave
#

that's annoying

#

so much for "independent modules"

#

just gonna have 30 repositories in the root buildscript and the others empty

lunar cypress
#

I don't really understand the issue

#

What do you want to do

ocean quartz
hot hull
#

Well how will you escape it if they type in chat lol

#

Or their name get's parsed in a gui

#

You feel me? Don't worry about it, I just gotta remember to always remove it

ocean quartz
#

Yeah might be better for you to remove it instead, since i feel like it's too core to be disabled by default

hot hull
#

๐Ÿ‘Œ

prisma wave
#

Which I guess makes sense, but it would be nice to have it working

#

3.87 seconds

#

Yeah lol

distant sun
#

1s - 1000ms

prisma wave
#

1000ms

#

Oh wait

lunar cypress
#

What's the problem with adding the repos to all submodules if you don't want to repeat yourself

distant sun
#

38.7s

prisma wave
#

So it's 38.7 seconds

prisma wave
lunar cypress
#

Repo declarations don't really affect the modules

#

Just additional sources for dependencies that in the worst case will not be used

ripe zinc
#

normal dragon probably has properly set up phases

#

no?

prisma wave
#

Yeah ik it doesn't matter, it just seems odd having to add a repo everywhere for a dependency that's only used in 1 module

steel heart
#

What is procedural programming now again?

prisma wave
#

pretty much oop without the objects

#

kind of

ripe zinc
#

should kotlin extension functions be in their own respective classes?

ocean quartz
#

I normally have them as top level

ripe zinc
#

yeah, but do you put them in one file?

#

or like, where you used/made them?

hot hull
#

What's internal, I assume package enclosed?

distant sun
#

project apparently

ocean quartz
#

Module

hot hull
#

Interesting

ripe zinc
#

would a module be the whole project?

hot hull
#

If you only use a single module yes

ocean quartz
#

It can be, but for example in my case on my project i have 2 modules, api and plugin

ripe zinc
#

Ah, ok gotcha

#

so putting the functions in their own dedicated class(file?) is standard?

ocean quartz
#

File yeah

jovial warren
#

okay maybe trying to make a generic config processor using snake YAML wasn't such a great idea lol

ocean quartz
#

Generic?

jovial warren
#

trying to use something that @heady birch made and make it bukkit and bungee compatible without having to deal with bungee's shitty config API

ocean quartz
#

Shhhh

#

Oh, i just use my fork of ConfigMe for configs

jovial warren
#

does it add in Kotlinised improvements?