#dev-general

1 messages · Page 329 of 1

quiet depot
#

circlejerk contribution?

#

or school

hot hull
#

No reason at all

jovial warren
#

C# has absolutely diabolical conventions, I can second this notion

prisma wave
#

yeah haskell is one of the languages that you could realistically use without an IDE

hot hull
#

Just cause why not

old wyvern
#

Yup

#

ghcid is good enough for anything

quiet depot
#

weird lang to learn for a why not

#

why not brainfuck

jovial warren
#

lol

old wyvern
hot hull
#

Nah that's what BM's site suggested

prisma wave
#

lmao

hot hull
#

So that's what we doing

onyx loom
#

just a fun thing

jovial warren
#

it's a new thing Piggy

quiet depot
#

idk why nots r usually weird langs

onyx loom
#

frosty had the magical idea

hot hull
#

And no, you can heck out with brainfuck

old wyvern
#

F# is actually not too weird

quiet depot
#

but f# isn’t meant to be weird

jovial warren
#

we each learn a new functional programming language every week

prisma wave
#

you don't "learn" brainfuck

hot hull
#

I mean F# syntax is pretty straightforward

prisma wave
quiet depot
#

u could try learn apl, that’s a why not lang

old wyvern
#

🤷

jovial warren
#

Haskell's syntax is a bit complex sometimes, but it's not bad

#

the things you can do with Haskell are pretty insane

hot hull
#

Yugi, when you starting on the renderer :))

old wyvern
#

Did you install eveything for developement bard?

jovial warren
#

not yet

#

I haven't started yet lol

quiet depot
#

what renderer

old wyvern
jovial warren
#

I got more important things to do

hot hull
#

ew classes

old wyvern
quiet depot
#

is this for the map gen thing?

old wyvern
#

yes piggy

jovial warren
prisma wave
#

ghcup

jovial warren
#

that might eventually make it's way into Krypton with some Kotlin tweaks

old wyvern
#

Make sure to install ghcid

#

building with stack everytime for errors is going to cause brain damage

jovial warren
#

wat dis

old wyvern
#

Handles type checking and stuff while you are writing in an external terminal

jovial warren
#

also, anyone wanna help me clear up some code that I totally didn't steal straight from Mojang?

old wyvern
#

.pl

jovial warren
#

yeah no idea how that Kotlin code got interpreted as whatever .pl is

old wyvern
jovial warren
#

Perl????

prisma wave
#

perl maybe

jovial warren
#

how tf is that Perl?

prisma wave
#

im pretty sure hastebin's detection is either really bad, or just random

jovial warren
#

anyway... yeah... have fun with that xD

hot hull
#

Me likey

static zealot
#

oh

hot hull
#

I love how dark mode is selected as default ❤️

prisma wave
#

rider is really nice

onyx loom
prisma wave
#

beautiful

onyx loom
#

does f# have a keyword like it in kotlin?

prisma wave
#

dont think so

onyx loom
#

writing fun for the params is so weird

prisma wave
#

yea

#

you dont use those much anyway

#

it's usually better to define a named function

stuck harbor
#

man

prisma wave
#

eg ```fs
let square x = x * x
let isEven n = n % 2 = 0

[1..10] |> List.map square |> List.filter isEven

onyx loom
#

ah right yea, that makes a lot more sense

#

and cleaner ig

prisma wave
#

mhm

#

much more readable

#

you can use List.iter instead of for x in y do also

#

it's basically forEach

onyx loom
#

ah right

#

yeah didnt know what it was called

#

not being able to print ints without using the $ or % shit is abit weird too

#

but ykno, language isnt too bad so far 👍

prisma wave
#

yea it's nice

#

theres probably a reason for that

#

i think you can do like .ToString() as well

#

o maybe not

#

java has the % stuff btw, that's what String.format is

onyx loom
#

yeah

#

so far its been like everywhere in the docs xd

prisma wave
#

yeah lol

hot hull
#

They lied to me

#

Unless I'm missing something

prisma wave
#

works fine for me

astral quiver
#

I'm back baby doll

hot hull
#

Am I just dumb or am I missing something, it doesn't write anything

half harness
#

what language is that

onyx loom
#

f#

hot hull
#

F#

onyx loom
#

do u need to create the file frosty

#

o nvm

#

FileMode

hot hull
#

Enough for today, I'll watch some yt on it later

prisma wave
#

You probably need to flush the stream / writer

unkempt tangle
#

Anyone aware of an small gui application to cut/split audio files?

half harness
#

windows photo viewer or whatever it's called :))

unkempt tangle
#

Not overbloated crap

prisma wave
#

audacity?

unkempt tangle
#

Tiny-er

half harness
#

why

onyx loom
#

wym audacity is so simple

unkempt tangle
#

Too many windows

onyx loom
#

?

unkempt tangle
#

I just wanna type in 00:23 til 03:33

#

Would be possible with ffmpeg cli

#

but I wand something handier

regal gale
#

Online audio editor 👍. Tiny-er for u

half harness
#

lmao

unkempt tangle
#

Nah

half harness
#

now you want bigger?

#

._.

onyx loom
#

ur best bet is honestly audacity

#

its great

unkempt tangle
#

I know audacity

#

But too many confirmation windows

half harness
#

iTs nOt tHe RiGhT sIzE

regal gale
#

Wot

unkempt tangle
#

Too many clicks

#

To achieve what I want

half harness
#

just code one yourself if you really hate all the others

regal gale
#

Online audio editor is your best bet rn lmao

weary epoch
#

Gianluca is in a discord for trading in hypixel skyblock

regal gale
#

There's no other way

unkempt tangle
#

no one says I hate them

regal gale
#

You hate it :)

weary epoch
#

@prisma wave tutorial when?

onyx loom
unkempt tangle
#

I would rather use ffmpeg

half harness
#

then use ffmpeg...

unkempt tangle
#

You fool

#

Get lost

weary epoch
#

If you don’t know how to drag click don’t talk to me

unkempt tangle
#

Already

half harness
#

lol

half harness
unkempt tangle
weary epoch
#

Fine if you don’t know how to god bridge or moonwalk don’t talk to me

half harness
onyx loom
#

sounds like a you problem

half harness
#

I can godbridge 40+ blocks

unkempt tangle
#

Therefore I was asking for ideas.

weary epoch
#

If you can’t Telly bridge don’t talk to me

half harness
#

I can telly bridge

#

sorta

#

just once

#

then i have to reposition

#

then i can do once

#

then reposition

#

etc

onyx loom
#

make a quick program to cut the audio automatically 🙂

half harness
regal gale
#

Also I forgot to tell something

weary epoch
onyx loom
half harness
weary epoch
#

Barely anyone can telly

half harness
weary epoch
#

FINE if you can’t andromeda bridge 40+ blocks don’t talk to me

regal gale
#

P.S: You all are kids for still Minecraft PvP til this date

#

k thx

half harness
#

can you andromeda bridge 40+ blocks?

#

it has to be something that you can do

weary epoch
#

I can download vape client

half harness
half harness
#

jk im not gonna pay for hacks

#

thats stupid

regal gale
half harness
#

no its not!

weary epoch
half harness
#

exactly

half harness
weary epoch
#

Maybe

#

But I’ll destroy you

#

And your bloodline

half harness
#

did u 1v1 remence yet

weary epoch
#

We 1v1 before

#

You were so bad

half harness
#

who won?

#

oh

#

lol

weary epoch
#

Me every single time

half harness
#

lets 1v1 again

forest pecan
#

hey i wanna 1v1

#

but i get to use hacks

#

deal?

#

for 100 bucks

half harness
#

i have anticheat :))

weary epoch
#

In buildUHC I dropped my sword on purpose and used my axe instead

#

An ITON axe

half harness
forest pecan
#

real men play on hypixel uhc and destroy hackers

half harness
#

pulse

forest pecan
#

and bhoppers

half harness
#

i thought u were an anti-1.8

forest pecan
#

doesnt mean i dont play it

half harness
#

what???

weary epoch
half harness
#

Hey 1.8 sucks it's the absolute worst
uses 1.8

forest pecan
#

i hate hosting the server on that, but it doesn't mean i don't like playing it...

#

i never said i hated playing on it itself lmao

half harness
#

........

#

pulse exposed

forest pecan
#

?

#

what

half harness
#

lol

regal gale
forest pecan
#

Exactly

#

dkim

#

get outta here

#

non

weary epoch
#

I severely doubt that you can telly bridge when you couldn’t beat me 2 months ago (I didn’t know how to butterfly and sprint reset back then)

half harness
#

._.

#

non?

half harness
forest pecan
#

that's you

#

non

#

you are blue

#

i am pink

half harness
#

im not that good at pvp

weary epoch
#

Who’s this random in the chat this man needs to get tier 2 for imagine perms his name is @half harness

forest pecan
#

bro ikr

#

@half harness must only click 2 cps

#

imagine

half harness
#

what

weary epoch
#

Dkim is major cap

half harness
#

also

#

do u guys jitter or butterfly

weary epoch
#

He probably scroll clicks or auto clicks

regal gale
#

You forgot the most important thing of all

half harness
#

;-;

weary epoch
regal gale
#

Bow shots

weary epoch
#

Get out of here bow spammer

half harness
#

bow shots?

regal gale
#

And means I can use auto-aim on u

weary epoch
#

Leave this discord server

half harness
#

lol

regal gale
#

Without anti-cheat blocking da way

weary epoch
#

Bow spamming isn’t skills

half harness
regal gale
#

I ruled an entire server around 3 yrs ago only with bow lmao

#

I hate swords and axes

#

Now, ew pvp mc. It sucks

half harness
#

so yea i guess i was capping a little lol

regal gale
#

Also

weary epoch
half harness
#

ok 😢

#

stop spamminggg

#

we're obv talking about java

regal gale
old wyvern
forest pecan
#

i cant butterfly click cause my fingers are fat

hot hull
half harness
#

lol

#

STAFF

#

ok bye

regal gale
#

Good boi 👍

weary epoch
#

Hi frosty

#

Can you godbridge?

regal gale
old wyvern
half harness
weary epoch
#

SORRY

half harness
weary epoch
#

Hi frosty can you code it so you can godbridge

half harness
#

😂

old wyvern
regal gale
weary epoch
#

I said the word code

old wyvern
weary epoch
#

So that means it’s developing related

regal gale
half harness
#

lmao

regal gale
#

Since it's a request

weary epoch
#

I will request for you to shut up

quiet depot
#

@compact perch What channel is this?

half harness
#

admin 😱

compact perchBOT
#

@quiet depot, I didn't get that. Can you repeat?

weary epoch
#

For free obviously

quiet depot
#

no

onyx loom
#

☹️

quiet depot
#

fuck you barry

#

go die

regal gale
#

Lmao

half harness
#

@compact perch how are you

onyx loom
#

🥲

regal gale
#

Dyno better

half harness
#

@loud gyro 😍

#

@loud gyro > @compact perch

weary epoch
quiet depot
#

@compact perch what channel is this?

compact perchBOT
#

@quiet depot, I didn't get that. Can you say it again?

quiet depot
#

no

#

what

#

why

half harness
#

lmaooo

#

@compact perch what channel is this?

quiet depot
#

who is toxic

old wyvern
#

Barry dumb

weary epoch
#

Banning you rn

half harness
#

wow

weary epoch
regal gale
#

@compact perch can you kill yourself

weary epoch
#

Bots have feelings TOO 🥲

quiet depot
#

ok I think dialogflow is actually broken

forest pecan
#

shit

#

wasn't me

#

i promise

weary epoch
regal gale
#

Piggy try ask him to kill himself to shut the bot 😂

weary epoch
#

I got the bots discord token

regal gale
#

That would be really cool

quiet depot
#

@compact perch what channel is this

compact perchBOT
weary epoch
#

The bots token is: veuskb7823762828?byejevd USA

half harness
#

would it be possible to have a string that only my bot can have, and it cannot be retrievable by decompiling or anything?

quiet depot
#

no

hot hull
#

No

half harness
#

rip

#

i guess ill just have to trust some ppl

#

lol

quiet depot
#

you never have to trust anyone

#

there's always ways to protect things

#

you're just trying to protect it wrong

half harness
#

or i can obfuscate

#

ye

quiet depot
#

that's not the solution either

weary epoch
half harness
#

oh

forest pecan
#

obfuscation doesnt od anything

#

lol

half harness
#

then what do I do

hot hull
#

Don't obfuscate

quiet depot
#

the simple fact is that only you need access to the bot's files, where the token is

half harness
#

wdym

#

the ppl i have to trust can see all the files

quiet depot
#

yeah

half harness
#

so if i put config, they see that

quiet depot
#

remove that ability

#

problem fixed

half harness
#

oh-

quiet depot
#

they don't need those files

half harness
#

what-

#

but-

#

yes they do

quiet depot
#

they really don't

#

they never do

forest pecan
#

just make a separate server

#

lol

half harness
#

hm

#

but

quiet depot
#

give me a good reason why they need them

half harness
#

okay

#

I'll explain more

quiet depot
#

and i'll tell you why they don't

forest pecan
#

LOL

half harness
#

basically, i have a bot inside of a plugin (or that's my plan, im not on pc rn), so that i can "communicate" between the server and discord

#

in order to communicate, I'd have to have a bot/plugin

#

and there are a bunch of other people (i think like 5) that have access to server files

quiet depot
#

yep, why do they need access to the server files?

weary epoch
#

I should make a hacked client and get mega rich by making it paid

half harness
#

or

#

what if i use mysql somehow

quiet depot
#

ok, why can't they configure it in localhost, then just give you the configs

half harness
#

idk

forest pecan
#

dont let them configure

#

they give you

forest pecan
#

not really

#

i made modpacks before

#

i had to send them by zips

quiet depot
#

it's probably less work frankly

forest pecan
#

on mega

opal fractal
#

configure a filezilla user

#

its done i think

forest pecan
#

what..

quiet depot
#

lol

half harness
#

lol

forest pecan
#

lol

quiet depot
#

enes that's not how it works I'm afraid

forest pecan
#

sir, Firezilla is an ftp/stp file viewer

#

you can edit files

#

there is no "user" thingy

hot hull
#

Can't you just lock that file?

quiet depot
#

yeah filezilla is just a client, you can't impose restrictions on a specific client, that can only be done on the server side

forest pecan
#

too many configs

quiet depot
#

i'm assuming he's using a shared host frosty

forest pecan
#

too many files to lock

hot hull
#

Yikes

half harness
#

i think the server hosting i use removed ftp access a while ago (so only web file explorer)

quiet depot
#

what the fuck

forest pecan
#

WHAT

quiet depot
#

stop using that host

forest pecan
#

????

#

yeah

#

just sotp

#

lol

#

web file explorer what the fuck

opal fractal
#

its mess

quiet depot
#

you're basically using wix for minecraft at that point

forest pecan
#

lol

half harness
#

but

quiet depot
#

no buts

half harness
#

we're just using the host because it's $1/gb, and the server is indev

hot hull
#

Bruh please remove but from your vocabulary

quiet depot
#

any host that doesn't give you real file access (i.e. not over a web browser) honestly can't be classified as a real host at that point

#

it's just a wix

#

dkim typically localhost serves that purpose

half harness
#

well they used to have it...

#

but now i assume they probably still do, but i can't find it

quiet depot
#

anyway

surreal quarry
#

Then they probably dont

quiet depot
#

regardless of whether you have sftp access or not

forest pecan
#

why are you using a server without ftp

quiet depot
#

they still don't need file access lol

forest pecan
half harness
#

yes they do

quiet depot
#

why?

forest pecan
#

no they dont

#

you are being lazy

#

lmao

#

do it the hardway

#

maintain security

#

dont ask the question the first place if you gonna not allow it

half harness
#

plus im just the dev, im not the owner

#

although I have contact with the owner

quiet depot
#

then why do you even care??

forest pecan
#

Then tell the owner

#

and also that

#

why do you care lmao

half harness
#

because im the one making the bot

hot hull
#

And?

half harness
#

that was the whole point of this convo ;-;

hot hull
#

They should be using their own bot token for it

half harness
quiet depot
#

their server, security is their problem

#

feel free to bring up the security issues to the owner

#

but if they choose not to do anything

#

that is entirely on them

#

so you make the bot how you please

half harness
#

alright

#

ok

#

ill dm him

forest pecan
#

is this a server?

#

and you are the dev?

half harness
#

yes

forest pecan
#

it seems the owner is not experienced

#

you should leave

#

im telling you that you shouldn't work for servers where the owner

#

has no idea what they are doing

half harness
#

hes experiened-

hot hull
#

90% of the mc community :kek:

forest pecan
#

how?

half harness
#

but

forest pecan
#

no sftp?

#

is that experienced?

#

no buts

half harness
#

i dont want to just straight up leave

quiet depot
#

idk pulse some owners are willing to learn

weary epoch
#

@forest pecan you’re right the owner is dumb and bad at math I heard he dropped out of kindergarten

forest pecan
#

Lol

hot hull
#

encription, be gone

weary epoch
#

FTP isn’t that good

quiet depot
#

ftp is awful

half harness
#

ok i gtg

quiet depot
#

you should always prefer sftp, or ftps

half harness
#

thx for the info 🙂

quiet depot
#

definitely stray far away from any hosts that only have ftp

weary epoch
forest pecan
#

well ftp is not secured

#

right

weary epoch
#

Someone that understands security

forest pecan
#

cause secured file transfer protocol

#

compared to file transfer protocol

quiet depot
#

I actually know fuck all about security, i'm not the guy you should be listening to

forest pecan
#

well this is basic stuff

#

tbh

quiet depot
#

yeah

forest pecan
#

people should know this

#

lol

quiet depot
#

that's why I know about it

forest pecan
#

dkimMoment++;

#

lol

weary epoch
#

[MVP++++++++] Dkimnoob123: anyone selling superior dragon armour for 2k coins?

forest pecan
#

omg

#

so true

#

tho

quiet depot
#

is 2k a lot for you guys?

#

funny has like hundreds of millions

forest pecan
#

in like sb?

quiet depot
#

yea

forest pecan
#

i have 40 million

#

right now

weary epoch
forest pecan
#

cause i dont grind

quiet depot
#

funny wastes millions on shit he doesn't need

weary epoch
forest pecan
#

lol

quiet depot
#

like he bought a sword for 70 mil or something ridiculous from the auction

onyx loom
#

sweat

forest pecan
#

reasonable

#

cause its midas

#

prolly

quiet depot
#

he doesn't even play that much

#

u guys should see his island

#

i'm not sure if you guys know but cube is actually a pro builder

forest pecan
#
#

Yeah

obtuse gale
forest pecan
#

Sir stfu

#

lol

quiet depot
#

@compact perch what channel is this

compact perchBOT
weary epoch
forest pecan
#

@compact perch what channel is this

quiet depot
#

lol i think your stats are better than this

#

but he has more coins

#

so whatever

weary epoch
#

Sir go stub your foot and then poop your pants but your water won’t work so you can’t shower and you ran out of toilet paper and you have to just sit there with it

forest pecan
#

lmao

hot hull
quiet depot
#

is it possible to see how many coins u have in the clan

hot hull
#

As one should be

quiet depot
#

thru that site

forest pecan
#

its an api thing

#

you need to enable it

#

in settings in hypixel

#

for skyblock

quiet depot
#

i'll just join hypixel real quick

forest pecan
#

there is a bank api, an inventory api, and a skills api or smthing like that

quiet depot
#

how do u check it when u join?

forest pecan
#

go into skyblock

#

then click in the settings

#

then profile

#

then api settings or smthing

#

then enable it

quiet depot
#

no

#

how do u check the balance in game

forest pecan
#

oh

onyx loom
#

invite me to helpchat guild 🙂

forest pecan
#

well do you want purse

onyx loom
#

i promise i will add value to the guild 🙂

forest pecan
#

or bank

quiet depot
#

ask cube

#

bank

#

i can see my purse on that site

#

it's empty

weary epoch
#

My brother is beating up another orphan I gtg for a minute

forest pecan
#

can't you just go to the bank

#

and see

#

lol

onyx loom
#

what is wrong with u

quiet depot
#

idk pulse

#

I don't play skyblock

#

when I play with cube he just drags me around with the party warp thing and tells me what to do

#

it's usually pretty fun so I never attempted to go solo

forest pecan
#

Yeah at the hub

#

there is this giant gold pot thingy

#

area

#

next to where you spawn

#

its to the left of you

#

you go inside that

weary epoch
forest pecan
#

and then click on the npc

#

and then you can check

quiet depot
#

wtf

forest pecan
quiet depot
#

we only have 35 mil

forest pecan
#

xD

quiet depot
#

cube must have spent it on something

forest pecan
#

coops

#

lol

quiet depot
#

or maybe i've just been remembering incorrectly

weary epoch
#

Imagine not bazaar flipping

quiet depot
#

@pallid gale how much money did u have in skyblock

#

anyone on hypickle rn?

weary epoch
#

No

#

Someone offered me a free dragon set

onyx loom
#

@prisma wave F# match is disgusting

weary epoch
#

So later you know imma be using it

#

@prisma wave yes when is the tutorial you lazy noob

quiet depot
#

cube's sweaty ass base

prisma wave
onyx loom
#

match blah with
| "blah"

weary epoch
#

ITS BEEN like 2 god damn months

#

You have no willpower

prisma wave
#

no

#

im busy

prisma wave
weary epoch
#

How do you expect to get a job if you can’t do things you don’t like

onyx loom
#

everything

#

| is completely useless

#

with is disgusting

prisma wave
#

better than haskell

#
case x of 
| a -> blah
onyx loom
#

oh god

prisma wave
#

i dont mind it

forest pecan
#

can you deserialize a json into a multihashmap

#

cause im getting map rn

onyx loom
#

atleast haskell is less chars :bigbrain:

forest pecan
prisma wave
#

🙄

#

match with sounds good

weary epoch
#

Did you finish elara

onyx loom
#

technically itll never be finished

formal arrow
#

how to put an enchanted item ?

onyx loom
#

theres always something that can be improved on

onyx loom
formal arrow
#

no in deluxemenu

prisma wave
#

wiki

onyx loom
steel heart
#

ftr its called HashMultimap and is a SetMultimap btw

forest pecan
#

i meant that

steel heart
#

Idk if gson provides a serializer for you, if not use a type adapter maybe

#

or if guava injects some serializers to gson

forest pecan
#

dont think it does

steel heart
#

hmm probably not

prisma wave
#

just convert to a map and back

forest pecan
#

with collection of stuff

#

as its values

#

right

steel heart
#

wait have you tried TypeToken<Map<K,Collection<V>> ?

#

then ofc Multimap#asMap

forest pecan
#

I tried the collection but it didnt work

#

here some info:

half harness
#

without the ip

forest pecan
#

i don't you think you understand

#

thats not the point

prisma wave
#

you could do a MITM attack fairly easily

forest pecan
#

the point is so hackers don't listen also

#

what files you send

half harness
half harness
forest pecan
#

"Main in the middle"

#

or what i described

prisma wave
#

man in the middle*

half harness
#

wdym

forest pecan
#

Observations in traffic

#

don't ask why

#

it exists

half harness
#

what is man in the middle

forest pecan
#

smh

half harness
#

I-

forest pecan
#

i cant explain to someone who didnt know generics

#

for such a long time

#

lmao

half harness
#

;-;

#

java generics?

#

they ez now

forest pecan
#

the idea is sftp is when the files you send are encrypted

#

meaning listeners in the middle

prisma wave
forest pecan
#

can't know what you are sending

#

because it is encrypted

#

ftp doesn't have that much security

half harness
#

but how would you know what machine to listen to?

forest pecan
#

its not about which machine

half harness
#

oh

forest pecan
#

they track traffic

half harness
#

like

#

all

#

traffic?

forest pecan
#

Yes

half harness
#

👀

forest pecan
#

they can do that

half harness
#

😱

#

ic

forest pecan
#

They can manipulate traffic as well

prisma wave
#

basically

#

if it doesnt have encryption

#

dont use it

#

terrible idea

half harness
#

uh

forest pecan
#

its similar to http

#

and https

half harness
#

the host i use didn't have sftp back when it had ftp

#

and i know some other hosts

prisma wave
#

🥶

half harness
#

that dont have sftp

forest pecan
#

thats bad

prisma wave
#

it's 2021

#

and they dont have sftp

#

damn

half harness
#

at first when i heard about sftp a while ago

#

i thought it was a bad version of ftp 😂

forest pecan
#

??

half harness
#

dont question lol

prisma wave
#

ftp is a bad version of sftp

half harness
#

well ye i know that now

forest pecan
#

just remember

#

if any word has the letter 's' in it

half harness
#

ok

forest pecan
#

use it

#

xD

#

if it doesn't, don't

half harness
#

xD

forest pecan
#

lol

half harness
#

my name doesn't have s in it

forest pecan
#

dont use it

#

lol

half harness
#

oh-

wind patio
#

might be an odd question

#

I'm using npp

#

and I want to replace a number, for ex. (1, ((2,, etc.) to ('1', in multiple lines using regex

#

is there a way to do it using backreference?

distant sun
#

\((\d+), -> \('\1',

jovial warren
#

YES

#

that's gonna be so much easier

#

goodbye whacky, messy and annoying bit masks, hello easy to work with long arrays!

#

up with 1.17, down with 1.16.5! xD

hot hull
jovial warren
#

oh btw, just wanna ask something. in terms of APIs, should I:

  • create my own API in Kotlin from scratch
  • implement Sponge
  • implement Bukkit
hot hull
#

create your own api

#

But please don't look at bukkit

jovial warren
#

yeah I think Bukkit's out of the question

#

Piggy said I should implement Sponge

hot hull
#

I mean sponge ain't that bad so perhaps

jovial warren
#

and Sponge has a really nice ecosystem

distant sun
#

fun deposit(amount: Double) = run { balance += amount }
PlusOne or MinusOne?

static zealot
#

d

#

i

#

a

#

will stop now

half harness
#

y sneaky?

static zealot
#

or you can do fun deposit(amount: Double) { balance += amount }

onyx loom
#

expression functions have implicit returns, u need the run so it actually works

distant sun
#

cant assign a property on an one line function

static zealot
#

‫ Fixed!!! ‫Double.deposit() = run { balance += this }

#

or was it this? actually

#

not it

onyx loom
#

this

distant sun
#

lol no

onyx loom
#

altho its eh

jovial warren
#

looking at Sponge, tbh, I don't really like it actually, I'll probably just make my own API

frigid badge
#

ah why don't you like Sponge? Just curious

forest pecan
#

cause it soaks up my tears

onyx loom
#

funny!

forest pecan
#

🥲

half harness
#

🙂

forest pecan
#

hey non

#

stfu

#

i can punch you to make you cry

half harness
half harness
half harness
hot hull
#

Cleans up the puddle of tears

half harness
#

💦

jovial warren
#

and since this is a Kotlin project, I'm prioritising Kotlin usability over Java usability

#

I mean, it's a great API, it's just not very nice for use in Kotlin imo

#

and it's not quite ready for 1.16 yet, which is the only version that Krypton supports atm (and will likely only be 1.16.5+)

hot hull
#

Bardy, we still don't have access to the users chat size right

jovial warren
#

wdym?

half harness
#

code a kotlin client fingerguns

#

recode minecraft fingerguns

jovial warren
#

client? fuck that

half harness
#

lmao

#

would you do it if i gave u a million dollars

jovial warren
#

I have to worry about rendering, textures, being dictated to by the server, etc.

forest pecan
#

client always ass

jovial warren
#

with the server, it's just data

#

no rendering BS

hot hull
#

So is it in there, I cba to check every new version kek

jovial warren
#

literally click it

#

there's 6 things

#

locale, view distance, chat mode, chat colors, displayed skin parts, and main hand

#

(that's a packet sent when a player activates a jigsaw block, which is used for generating certain structures)

forest pecan
#

Do these look okay

jovial warren
#

not bad I guess

prisma wave
#

better than other logos

jovial warren
#

yeah... we're both gonna have lots of fun with that one

#

since you're gonna have to provide me with structure data and then I've gotta send a new chunk data packet I think with the new structure placed in the right place in it

hot hull
#

First time hearing about that block kek

jovial warren
#

yeah I didn't know about it until I remember reading some article or watching a YT video about it lol

hot hull
#

Seems like an issue for future me

onyx loom
#

big brain plays by Groovy 🌚

lunar cypress
#

if you count gradle builds...

onyx loom
#

lol

half harness
#

why do ppl say oracle is bad?

forest pecan
#

who said that

#

lol

half harness
# forest pecan who said that

someone said that they dont know java (they know python and c++) because their professor said that oracle was very bad

onyx loom
#

what a reputable source

lunar cypress
prisma wave
#

i would love to be a monad

#

i dont think my IQ is high enough though

#

i'd spin into existential crisis

onyx loom
prisma wave
#

While you were out getting drunk, chasing women, I perfected my inner monadic self
😌

onyx loom
#

whos the REAL virgin

static zealot
jovial warren
half harness
#

oh

#

example?

onyx loom
#

jdk

half harness
#

but

#

jdk is free

jovial warren
#

when they took over Sun, they tried to make OpenOffice proprietary and, well, that went as well as you could expect

half harness
#

adoptopenjdk

onyx loom
#

until u use it for commercial use

#

AOJDK is not by oracle

half harness
#

wait

jovial warren
#

Oracle JDK is a kinda open-source kinda proprietary license

half harness
#

how did AOJDK get the jdk code then?

jovial warren
#

they didn't

hot hull
#

Adopt Open JDK only jdk you should use fingerguns

half harness
#

then

onyx loom
#

they just look at the jvm bytecode spec and implement it

half harness
#

o

jovial warren
#

Oracle publishes these things called "JSR"s, which are basically the Java equivalent of RFCs, which contain all the standards for implementations

half harness
#

they coded the jdk?!

jovial warren
#

and then they write their own implementation

half harness
#

ohhh

jovial warren
#

there's not just one JDK, same as there's not just one JRE

#

the two main JREs are HotSpot and now GraalVM

#

HotSpot is made by OpenJDK, and it's one of the fastest JREs ever made

#

GraalVM is made by Oracle, and actually allows you to compile code from other languages (such as Python) into Java bytecode to run on the JVM

#

it's also very performant, not sure how it compares to HotSpot though

lunar cypress
#

the two main JREs are HotSpot and now GraalVM
GraalVM is based on hotspot

jovial warren
#

actually apparently HotSpot is maintained by Oracle now

lunar cypress
#

but is it really used that much?

#

More than OpenJ9?

jovial warren
#

¯_(ツ)_/¯

lunar cypress
#

i thought you knew when you said "two main JREs"

jovial warren
#

I haven't a clue what OpenJ9 is lol

lunar cypress
#

a jvm by eclipse

jovial warren
#

ah right

obtuse gale
#

Bardy be like

jovial warren
#

-_-

prisma wave
#

🤣

frigid badge
#

lmao

#

used to be a lot of ppl here

jovial warren
#

yeah the Kotlin circlejerking used to be insane

ocean quartz
#

The circlejerk seems to have moved to rust

jovial warren
#

but BM and Sx were mainly the heart of that, and BM's moved onto "functional programming", and Sx... well, we all know what happened to Sx...

obtuse gale
#

He DIED

#

Effectively

jovial warren
#

he made massive breaking changes to PAPI, pissed off clip, and got banned

#

end of story lol

static zealot
#

well. yes but no. and no but yes.

prisma wave
#

random person has a problem in #development
"Yeah that's just Java being dumb, haha. I use Kotlin, so I never have these problems. Kotlin has many more modern features that Java lacks. Kotlin was released in 2016 and has since become the main language for Android development. Kotlin was created by JetBrains and has lots of cool stuff such as exhaustive pattern matching, control flow functions, and null safety in the type system, which is done with a Type T? being a union of T and {null}."

frigid badge
#

reminds me of the vlad meme

jovial warren
#

I mean, most of the time, null problems are just Java being dumb

#

BM wtf happened to you

#

I miss the Kotlin circlejerking 😦

prisma wave
#

because developers have an irresistable primal urge to sound smart

#

no

#

i cant do it anymore

#

i've been FPPilled

half harness
#

kotlin is good

lunar cypress
#

haha, whoa there, having trouble with your imperative and static language?
Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language, yet remains completely dynamic – every feature supported by Clojure is supported at runtime. Clojure provides easy access to the Java frameworks, with optional type hints and type inference, to ensure that calls to Java can avoid reflection.

Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system. Clojure is predominantly a functional programming language, and features a rich set of immutable, persistent data structures. When mutable state is needed, Clojure offers a software transactional memory system and reactive Agent system that ensure clean, correct, multithreaded designs.
Just a heads up...

prisma wave
#

LMAO

prisma wave
#

it's true

#

if there's an opportunity to sound clever

prisma wave
#

you literally can't resist it

jovial warren
jovial warren
prisma wave
#

oh you made a typo in plugin.yml?

Haskell /ˈhæskəl/ is a general-purpose, statically typed, purely functional programming language with type inference and lazy evaluation. Developed to be suitable for teaching, research and industrial application, Haskell has pioneered a number of advanced programming language features such as type classes, which enable type-safe operator overloading. Haskell's main implementation is the Glasgow Haskell Compiler (GHC). It is named after logician Haskell Curry.

think it over...

lunar cypress
#

we're reaching new levels of self awareness here

prisma wave
#

we've transcended

jovial warren
#

I can't wait until I can start circlejerking Krypton haha

onyx loom
#

random person has a problem in #development
"Yeah that's just Java being dumb, haha. I use Kotlin, so I never have these problems. Kotlin has many more modern features that Java lacks. Kotlin was released in 2016 and has since become the main language for Android development. Kotlin was created by JetBrains and has lots of cool stuff such as exhaustive pattern matching, control flow functions, and null safety in the type system, which is done with a Type T? being a union of T and {null}."

#

just grabbing my xp

jovial warren
#

Oh you're having performance issues because Minecraft is shit and designed to primarily run single-threaded? Why not try Krypton? It's fast, lightweight, and reliable! Written in Kotlin from the ground up, the developers have spent countless hours optimising performance, to the point that it can now handle around 1000 players online at once with minimal issues! Get your copy of Krypton today, at https://ci.kryptonmc.org

#

sounds like an advert you'd see on TV haha

#

also, don't question my ambition with the performance statement lol

#

I swear that should just be a data class

#

since the only time it's overridden is anonymously (I mean by using object : PacketInfo to create an anonymous class lol)

prisma wave
#

Uh

#

I think there was a reason possibly

jovial warren
#

I'll give a cookie to the first person who can tell me the issue with that code (I already know what it is)

#

it's not so much an "issue" btw, it's just that something is made redundant

static zealot
#

is it a variable?

jovial warren
#

try again

#

wow the late response lol

#

second line

#

what doesn't happen that should

forest pecan
#

getIfPresent

#

and null check

#

lol

static zealot
#

well I mean that serverID variable is also useless unless you use it somewhere else?

#

idk

distant sun
#

response.code() != 200 || !response.isSuccessful aren't these the same?

jovial warren
#

Maybe, it's more subtle than that though

#

I have a cache

#

What's the purpose of a cache?

static zealot
#

to cache

jovial warren
#

Right

#

So what happens when something is assigned a cached value? What happens after that in that method?

static zealot
#

a lot. idk I'm out bye

forest pecan
#

lol

jovial warren
#

Oh come on, you're all gonna kick yourselves when I tell you what it is I swear lol

#

I assign the cached value, but I never return to stop querying the API for a fresh one

half harness
#

cache = store temp data sorta

jovial warren
#

So it'll query the API every time, whether it's cached or not

half harness
#

then you dont need a cache

#

the cache would prevent querying every time

#

but if you query every time

#

the cache is useless

jovial warren
#

That's the entire point I was trying to make lol

half harness
#

oh

#

lol

prisma wave
#

import elara/cache
let cache = cache.fetch(key)

#

cant mess it up

#

🙂

jovial warren
#

Lol

hot hull
#

import elara/sturdy rope
rope.tie(user, tree)

prisma wave
#

🙂

forest pecan
#

whats user

#

whos the user

#

ah

jovial warren
forest pecan
#

the user of elara

#

i see

#

or

#

that

#

lmao

jovial warren
#

xD

hot hull
jovial warren
errant geyser
#

hastebin isn't great at that

prisma wave
#

ElaraBin will fix that

obtuse gale
#

Forge event subscriptions are static methods :why:

prisma wave
#

Forge is a cesspit that's even worse than bukkit

ocean quartz
jovial warren
#

anyone know what kind of ExecutorService I should use for user authentication thread(s)?

#

I was thinking either single thread, cached pool, or fixed pool, but I can't seem to decide

#

though do coroutines need more than a single thread generally for small tasks?

prisma wave
#

Use the IO dispatcher

#

For IO

jovial warren
#

is making a request to a remote API and receiving a response better done on the IO dispatcher?

prisma wave
#

Any IO should be done on that dispatcher

#

Literally any

jovial warren
#

I guess

#

also, this is so I can trade Call<GameProfile> for a suspend function lol

#

trying to think if authenticating asynchronously is even a good idea or not, since things could go quite badly if I start trying to send packets that depend on the user's UUID before I actually receive it

prisma wave
#

Pretty sure the vanilla server does it asynchronously

jovial warren
#

yeah it does iirc

#

but er... yeah... this ain't no vanilla server

#

the way this is designed means that if I don't get that UUID before beginPlayState is called (literally right after authenticateUser), it's gonna complain for not being initialised

#

I mean, atm, Krypton is probably worse than the vanilla server in terms of single-threaded usage lol

prisma wave
#

then fix it 🙂

jovial warren
#

immediately questions my eeeeeeeeeeeeee orrrrrrrrrrrrrrrrrrrrrr donkey programming

static zealot
#

o

#

l

jovial warren
#

still don't know how I'm going to make concurrency work with this lol

#

might have to use channels or something

#

also, I do love how I can just walk through water like it's nothing because the client doesn't know it's meant to slow me down lol

#

and how you can just endlessly through fall the void lol

errant geyser
#

I can help you.... make it worse

jovial warren
#

why don't you help me make it better instead 🙂

#

it's literally just reading lol

errant geyser
#

I'm already working on 2 projects of my own, plus the mailserver thing