#dev-general

1 messages · Page 83 of 1

lunar cypress
#

I can't say much about that lol

#

I use a german keyboard

#

so literally all characters are annoying to type

prisma wave
#

sounds annoying lol

lunar cypress
#

Have to hit that sweet Alt Gr + 7 for curly braces

prisma wave
#

qwertz is strange

ocean quartz
#

Ugh same for Portuguese keyboard, that's why i use an English one

prisma wave
#

Have to hit that sweet Alt Gr + 7 for curly braces
jesus christ

lunar cypress
#

maybe why I like lisp lmfao

ocean quartz
#

It'd be good for Python

prisma wave
#

anything's good for python

#

i could write python on a kid's toy keyboard

lunar cypress
#

true, works well with python as well

#

I wonder, is there anyone who doesn't like python?

#

Like, not on a large scale

#

but generally

prisma wave
#

generally python is actually reasonably nice to work with

#

if you try and use it on a large scale you're dumb

#

but it's pleasant enough for scripts and things

lunar cypress
#

yeah

#

I think if I had to teach programming to someone, I'd pick python as the language

#

It's so simple

prisma wave
#

likewise probably

lunar cypress
#

I played a few rounds of clash of code with a few friends today and using python there is almost like cheating

#

the code for every single task ends up being 3 lines of code or something

prisma wave
#

i've not heard of clash of code, looks pretty interesting

#

helpchat should host a contest with it or something

lunar cypress
#

I hadn't either until today

#

It's fun

#

Although I am very bad at those things

#

give me time and I will solve anything cleanly, but I am extremely slow under pressure

prisma wave
#

yeah i'm the same

#

add a timer to anything and it all falls apart

lunar cypress
#

yeah lol

#

he won with that

prisma wave
#

what a clean and intelligent solution

#

clearly a master of programming

onyx loom
#

w0w

lunar cypress
#

it's really sad when you have a perfect solution in mind (like in my case regex) but don't have time to research how it's done if it turns out that you don't remember it correctly

prisma wave
#

and then something like that wins

#

very sad

lunar cypress
#

he was ashamed, didn't want to share it at first lmao

prisma wave
#

and rightly so

#

he should be ashamed

lunar cypress
#

but yeah, we could do that here as well some time

prisma wave
#

i think that would be pretty fun

#

setup a little tournament to find out the true best programmer in here

lunar cypress
#

or the best mathematician

prisma wave
#

well yes

#

i guess it's both

lunar cypress
#

one of the tasks earlier today was reverse engineering log

#

fun

prisma wave
#

😬

#

that sounds unpleasant

#

you're meant to do that in <15 minutes?

lunar cypress
#

By reverse engineering I mean seeing input and output and figuring out what it does

prisma wave
#

oh yeah

#

i thought you meant the log implementation or something lol

#

or do you

lunar cypress
#

nah, I just used Math/log

#

although I had to look up the rules again

prisma wave
#

phew

lunar cypress
#

it's doable, but I would have never figured this out on my own

#

what the hell do I know about sample function values of log

prisma wave
#

like loga * logb = logab?

#

i think that's one of the laws

#

it's been a while

lunar cypress
#

division

prisma wave
#

oh yeah

lunar cypress
#

log10(a) / log10(b) = logb(a)

#

I think

prisma wave
#

seems about right

#

i've not done log stuff in quite a while

#

although that would apply to any base, not just 10 right?

lunar cypress
#

I think so

prisma wave
#

yeah i don't think base 10 is special

rotund egret
#

I think it's more just meant to imply that it wouldn't work with two different bases I assume

#

eg. log2 / log5

prisma wave
#

oh yeah

#

makes sense

ocean quartz
prisma wave
#

Looks pretty good!

ocean quartz
#

Ikr, now it can dynamically register and unregister commands at runtime

onyx loom
prisma wave
#

now make a kotlin dsl :D

#
command {
  prefix = "?"
  name = "test"
  argumentLimit = 2
  autoDelete()
  executor = { args, message -> 
    message.channel.sendMessage(args.contentToString()).queue()
  }
}```
#

Is that not a thing of beauty

ocean quartz
#

Much more

#

I can easily do that yeah

prisma wave
#

yay

brave minnow
#

@quick flume Si ton tonton tond mon tonton alors mon tonton sera tondu par ton tonton
=> If your uncle shave my uncle then my uncle will be shaved by your uncle

quick flume
#

oh... ya

#

I love seeing those memes

#

you hear the one about the raspberry or something

#

just mur mur mur mur mure mur

#

basically

brave minnow
#

I love too it makes me laugh to see non-fr just WTF BRUH in front of french :')

quick flume
#

I love how this is in dev general somehow 🤷‍♂️

brave minnow
#

sry you mention 2 channel I clicked the wrong ^^'

quick flume
#

french is all fake 🤷‍♂️

prisma wave
#

dev general should be exclusively for kotlin circlejerking

brave minnow
#

it's a conspiracy prepare 👀

prisma wave
#

And that's final

quick flume
#

it's three languages in a trench coat trying to be it's own

brave minnow
#

no that's private 🤔

prisma wave
#

It's both

quick flume
#

now english, english is the worst

brave minnow
#

in some sort

#

what do you mean è_è

quick flume
#

sentence structure 10/10

brave minnow
#

french is the best latin language è_é

pale shell
#

Kotlin

brave minnow
#

(nope it's not lol)

pale shell
#

Kotlin is

brave minnow
#

@pale shell Kotlin is not latin thonking

quick flume
#

I prefer latin

pale shell
#

Yes it is

#

Kotlin is Latin

prisma wave
#

not sure about that one

brave minnow
#

I never understood latin ,-,

quick flume
#

not a latin language

pale shell
#

Its what the pink dog coming out my drawer is saying

prisma wave
#

French is the best thing to come out Latin

#

out of*

pale shell
#

No

quick flume
#

question

prisma wave
#

answer

quick flume
#

do you know what best means?

pale shell
#

The pink dog told me to say it this way

#

It means me

brave minnow
#

tbh I don't even know any Latin word (at least more than the common that we can see everywhere)

pale shell
#

I'm the best

#

Also what the pink dog said

brave minnow
#

no you can't è_è

#

bro stop to eat those wild mush '-'

prisma wave
#

è

pale shell
#

Have you guys ever seen a pink dog?

prisma wave
#

yes

pale shell
#

Where

prisma wave
#

a bald one

brave minnow
#

I've seen a pink panther it's better

pale shell
#

No I mean

#

I proper pink dog

#

Oh wait I'm sorry you don't get it on your 10x10ft island

#

You get green dogs there

prisma wave
#

🤔

pale shell
#

Wait no that's Ireland

brave minnow
pale shell
#

You get orange dogs right

#

No that's a purple dog

prisma wave
#

@brave minnow I WAS THINKING OF THEM

#

I just couldn't remember the name

brave minnow
#

he's pink or one of us is colorblind 👀

pale shell
#

No you weren't

#

You

brave minnow
#

in french it's Courage le chien froussard 👀

pale shell
#

My screen is grayscale so

#

You're French??

#

@prisma wave do your thing

brave minnow
#

maybe 🔫 😶 🥖

pale shell
#

Bonjour

prisma wave
#

j'adore le français

#

où est sxtanna

#

il le parle aussi

brave minnow
#

too much french in here D:

prisma wave
#

:(

brave minnow
#

ça fait peur ;-;

pale shell
#

You understand it no?

#

I can speak French too!!!

prisma wave
#

n'aie pas peur

brave minnow
#

no I don't I'm only french native bro thonking

pale shell
#

Ready for it?

#

baguette

prisma wave
#

wow

brave minnow
#

WOW the fk you know those hard words bro ? '-'

pale shell
#

I can rap in French

brave minnow
#

no don't it's not a good idea '-'

pale shell
#

baguette gang baguette gang baguette gang

#

All about the baguette gang

prisma wave
#

j'ai besoin de practice car l'école est terminée alors ce serait bon à dire avec quelqu'un qui parle le langue

#

I think that's mostly correct

brave minnow
#

well I'm gonna jump of a cliff to land in dolphin's paradise now '-'

pale shell
#

No it's wrong

#

You didn't say baguette

brave minnow
#

that's pretty incorrect bro x)

prisma wave
#

lmao

#

Really

pale shell
#

Je suis une fille française;);)

prisma wave
#

I thought it was like

#

90% correct

pale shell
#

No

#

0.9%

brave minnow
#

correction childrens -> J'ai besoin de m'entraîner car l'école est terminée/finie**,** alors ce serait bien de parler avec quelqu'un qui parle la langue

pale shell
#

Children??

#

CHILDREN??????

brave minnow
#

OwO

#

I'm flapping you can't reach me

prisma wave
#

oh tbf that's close

#

ty for correction

pale shell
#

Oh wait, I forgot @onyx loom and @prisma wave is here

#

:)

#

They young af

prisma wave
#

You said 16 year olds weren't children the other day

pale shell
#

Well they are

prisma wave
#

double standards

brave minnow
#

how old are you @pale shell ? 🤔

pale shell
#

Kotlin knows

#

I'm old af

prisma wave
#

no I don't

#

I forgot

brave minnow
#

@prisma wave quel âge as-t-il ? 🤔

pale shell
#

Yes you do

#

I told you

#

j'ai 21 ans

prisma wave
#

@brave minnow malheureusement je ne sais pas parce que j'ai oublié

brave minnow
#

21 ans c'est à peine plus âgé que moi 😮

pale shell
#

Ok, you just called me old

#

Wtf

brave minnow
#

no x)

pale shell
#

I need proof of you not calling me old

#

:(

prisma wave
brave minnow
#

21yo is barely more than me

pale shell
#

I don't understand that

brave minnow
#

that's wwhat I said '-'

pale shell
#

I mean Mitten is veery old

brave minnow
#

Je sais pas tout a commencé ici 👀

pale shell
#

Now you're just bullying me

brave minnow
#

are you good bro ? ;-;

pale shell
#

No

#

coin Free money coin

prisma wave
#

je sais pas quoi dire

pale shell
#

Wot

onyx loom
#

huh

#

who @ me

prisma wave
#

cette conversation est mort

pale shell
#

Kotlin Mitten

brave minnow
#

morte*

onyx loom
#

o

pale shell
#

He tagged you

onyx loom
#

ok

#

kotlin is pretty good however

pale shell
#

Wot

#

What happend to you

#

Kotlin is ok

#

Nothing else, just oj

prisma wave
#

oui morte*

onyx loom
#

just speaking with my chest 😤

pale shell
#

You can talk using your chest?

#

How?

#

!remindme 3 months

#

Shoot this isn't reddit

prisma wave
#

@onyx loom knowledge that kotlin is good comes from literally every organ in the body because it's common sense

#

my gall bladder is giving kotlin some pretty high praise rn

pale shell
#

Does anyone else use light mode?

prisma wave
#

Absolutely not

pale shell
#

How come

onyx loom
#

absolutely not

brave minnow
#

do anyone know a good sql/no sql (mainly sql but both will be good) API/library I can use that is making more than just mariaDB or just postgres but working with them all ?

prisma wave
#

An API for SQL AND NoSQL?

#

You'd need a lot of abstraction for that. Not even spring has a common library for both (as an ORM anyway)

brave minnow
#

at least for sql ?

prisma wave
#

If you want to do most of it yourself I would just use Hikari. If you want something easier you could get an ORM like Hibernate or SimpleORM

brave minnow
#

like mariadb mongodb postgres the top 3 ?

#

(and mysql for those who don't know mariadb o_o)

prisma wave
#

Mariadb and MySQL are pretty much the same I believe

#

Postgres should work with Hikari and / or an ORM. mongo is different

brave minnow
#

yep but mariadb > mysql still

prisma wave
#

true

brave minnow
#

@quick flume do an expansion need to be a one class ?

topaz bay
#

mariadb is a drop in replacement for mysql

#

like keydb to redis

#

You dont need a special implementation for it

brave minnow
#

mmmmh I just want to be as wide as I can with having as less API/library as I can

topaz bay
#

The best solution is most likely for you to just do it yourself

#

You should design your frontend to be as high level as you wish, and then custom make your backend to fit it

brave minnow
#

I don't think I'm that good :/

topaz bay
#

Then maybe this isn't the time for you to be implementing such features into whatever youre making?

brave minnow
#

an extension

#

I know how to code in java I just havn't experienced much database without odbc

prisma wave
#

a custom made SQL library for an extension seems kinda overkill lol

brave minnow
#

a bit lol

topaz bay
#

an extension on what?

brave minnow
#

papi

topaz bay
#

And I was not saying to write your own sql library?

#

That term doesnt even really describe anything

prisma wave
#

The best solution is most likely for you to just do it yourself

#

although I guess that could be interpreted many ways

topaz bay
#

You dont need to write a library to replace the functionality that a library gives you

#

And like I said, thats an abstract term anyway

#

What even is an sql "library"

brave minnow
#

like odbc/jdbc

prisma wave
#

SQL wrapper then

topaz bay
#

JDBC is an API

#

And so is ODBC

brave minnow
#

maybe I don't really know how it is named

topaz bay
#

They are both basically design frameworks

#

They themselves do nothing

brave minnow
#

yep so an API that'll work with multiple database so I can just make like put your host put your pass and here we go

#

(and the database obviously)

topaz bay
#

The issue with that is that not all systems authenticate in the same way

#

And not all systems have a defined "database"

brave minnow
#

why isn't it as simple as pdo ?! ;-;

topaz bay
#

like redis for example

brave minnow
#

I won't use redis :/

prisma wave
#

realistically you should probably just support mysql/mariadb and yaml

topaz bay
#

thats nosql though?

brave minnow
#

I even never heard about it until I started looking for plugins

topaz bay
#

even mongo doesnt have "databases" does it?

brave minnow
#

I don't know enough to use it

#

mongo is nosql iirc

prisma wave
#

or if you want to be really fancy allow the config to take a jdbc URL or something

#

mongo is NoSQL he's

#

yes,

#

Yes**

brave minnow
#

YEs***

topaz bay
#

yEs****

prisma wave
#

YES******

topaz bay
#

Oui

prisma wave
#

ffs

brave minnow
#

***735

topaz bay
#

I win

#

:D

brave minnow
#

no I wrote it in l33t you can't beat me MOUHAHhahaha (calm down on caps you crazy man)

prisma wave
#

hehe

#

true

brave minnow
#

so isn't there something like pdo but in java ?

#

(I'm a web dev don't throw me rocks ;-;)

prisma wave
#

The closest thing I can think of is an ORM

#

Which I guess PDO kind of is

topaz bay
#

How is PDO different from JDBC?

prisma wave
#

^

brave minnow
#

PDO is just like "Hey bro throw me a fkin file in da face and here we go !!" So ...

prisma wave
#

Lmao

#

I mean

topaz bay
#

So yeah... how is it different?

prisma wave
#

that's not that different

topaz bay
#

JDBC is just an API, you decide what backend you want to use

#

You would right generally the same code whether you want to use sqlite, mysql, or maria

brave minnow
#

Isn't jdbc a bit different for every dB ?

topaz bay
#

Just with maybe some minor query syntax differences

#

No?

prisma wave
#

jdbc is the same

topaz bay
#

With JDBC, you work with the API classes

prisma wave
#

The SQL syntax might be different

topaz bay
#

Sort of like how bukkit works

#

You decide the backend with the driver

brave minnow
#

Are there object sql like dB ?

topaz bay
#

kuery

#

lol

prisma wave
#

shut

topaz bay
#

NO

#

But anyways, theres like... 15 quadrillion java sql orms

#

Its like the #1 thing people make

prisma wave
#

^

#

Orms are cool

#

until you get Hibernate with its 10MB size

#

then it's less cool

brave minnow
#

Well I'll go for maria/my postgres and mongo that are the most popular 🤷

prisma wave
#

sounds good

#

you might end up with a pretty big jar size though

#

3-4 drivers + an orm

topaz bay
#

might is an understatement

prisma wave
#

will*

brave minnow
#

Well it'll be made to integrate language translate in every fkin placeholders that are or will exists I think it's necessary

#

And custom too

prisma wave
#

tbh

topaz bay
#

?

prisma wave
#

I think an ORM, and mongo are completely unnecessary for this

brave minnow
#

Yeah but in the case you're using mongo for whatever like website other plugins and more it'll be useful

prisma wave
#

the queries you could write yourself easily, there wouldn't be any relationships to setup I don't think

#

I guess so

#

It depends because the spigot jar size limit is like 4MB, not sure about the ecloud

#

If mongo takes you over the limit I would forget about it

#

Most people use SQL

brave minnow
#

Why would it go over ? It's just integration of mongo not the dB itself

prisma wave
#

because you need a driver

#

to interact with the database

brave minnow
#

Waffle I summon you ... Please ? 🥺

topaz bay
#

What in the hell are you making

prisma wave
#

some sort of l18n for placeholders

topaz bay
#

??

prisma wave
#

I'm not sure tbh

topaz bay
#

why would that have anything to do with databases?

brave minnow
#

Don't know What l18n is tbh but it'll be custom multi languages placeholders integration

topaz bay
#

lol

prisma wave
#

l18n = localisation

topaz bay
#

internationalization*

prisma wave
#

same thing

#

kind of

topaz bay
#

l10n is localization

prisma wave
#

Hm

brave minnow
#

Store language of user like
Me -> fr
Kotlin -> en
A random Guy -> de
A Guy from the other side of hearth -> ch

topaz bay
#

the number is how many letters there are btw

prisma wave
#

oh I see

#

That's clever

topaz bay
#

very

prisma wave
#

I always wondered what the numbers meant lol

topaz bay
#

@brave minnow why would you need to do that?

prisma wave
#

@brave minnow I'm not exactly sure what you want still

topaz bay
#

the client sends the player's locale

#

Player#getLocale

#

It also sends a packet when the player changes the language in the client IIRC

prisma wave
#

Things like %player_name% would be the same no matter the language?

topaz bay
#

And theres an event you can listen to

brave minnow
#

@topaz bay not exactly for example I'm using 4g and not wifi (over 300GB this month lol) and the game can't locate me

topaz bay
#

what???

brave minnow
#

What What ? thonking

topaz bay
#

wdym the game cant locate you?

brave minnow
#

I don't really know like I tried with plugins that are supposed to locate players and it says unknown for me

topaz bay
#

Wdym "locate"

#

I dont understand

#

The client sends the player's client language in the settings packet

#

Before you even actually fully join the server

brave minnow
#

ow yes sry

topaz bay
#

I actually use this in a plugin I made today xD

brave minnow
#

yeah but for example I use my game in english altought I'm french 🤷

topaz bay
#

Then they can just set their game to french?

#

And the placeholders would update to be appropriate

brave minnow
#

no translations are cursed '-'

topaz bay
#

?

brave minnow
#

look at the screen it won't show in this channel

topaz bay
#

I see it..

#

I dont understand...

brave minnow
#

french translation are cursed that's all don't ever play in french if you learned it '-'

#

but yes your idea was good and I'll use it I think 😄

#

when a class extends PlaceholderExpansion does it extends JavaPlugin either ?

#

btw how am I supposed to make mutli-config files in an expansion ? ;-;

#

btw @topaz bay what's the format returned for the game language ?

topaz bay
#

the client sends in the format, language_country

#

But Java parses with language-country

#

its just a replace('_', '-')

#

and then pass that into the locale function

#

Now I just need to like... add translations for the actual message

brave minnow
#

wait for my expansion 👀

topaz bay
#

Absolutely not

brave minnow
#

;-;

distant sun
#

wait so you are making a server @topaz bay ?

topaz bay
#

huh?

prisma wave
#

@topaz bay nice

#

Although I think any system like this will fall apart when it comes to a language like Arabic or mandarin

distant sun
#

voxmc

topaz bay
#

what about it?

distant sun
#

are you making a server or what

topaz bay
#

Maybe...

#

Maybe not...

#

Thats classified

distant sun
#

tell me nerd

topaz bay
#

japanese works

#

This is from a library btw

#

You could just add more language files

#

it uses a resource bundle

pale shell
#

Sx is making a server o.O

topaz bay
#

...

distant sun
#

why not name it sxcraft

topaz bay
#

choke

distant sun
#

rip sxtanna

pale shell
#

I feel sorry for the players

#

:))

distant sun
#

^^

#

couldnt say it better

topaz bay
#

You both can fucking choke

distant sun
#

Im fine, ty

topaz bay
#

In fact, let me go ahead and preban you guys

onyx loom
#

what about me

topaz bay
#

What are you users?

frail glade
#

I, for one, am excited to try out the server he's writing.

topaz bay
#

xD

frail glade
#

It'll probably be super efficient too.

distant sun
#

nah jk

#

I want to see it

pale shell
#

Preban?

topaz bay
#

???

pale shell
#

I can buy unban :))

#

You'd never have a reason to ban me from a server

prisma wave
#

SxyCraft

topaz bay
#

@prisma wave dont entertain them

pale shell
#

Alex isn't it late for you

prisma wave
#

You're right

#

Sorry

#

No technically it's early

onyx loom
#

bamboozled

prisma wave
#

@pale shell @distant sun you two are very immature. Not impressed

pale shell
#

I'm not Inmature

prisma wave
#

No you're immature

pale shell
#

I just don't wanna grow up

#

:)

prisma wave
#

k now I sleep

pale shell
#

Growing up means I have to pay taxes

prisma wave
#

I've read my 2 pings

#

fun's over

onyx loom
#

me too

pale shell
#

Oh wait, I've never paid those ever

prisma wave
#

adios amigos

onyx loom
#

sleep is good

#

adios

pale shell
#

@prisma wave

prisma wave
#

@pale shell you pay VAT

pale shell
#

No

prisma wave
#

lmao

#

Yes

pale shell
#

I don't lol

prisma wave
#

Yes you do

pale shell
#

I bypass it

onyx loom
#

omg

pale shell
#

:))

prisma wave
#

...

onyx loom
#

how

prisma wave
#

you just get the shops to take 20% off their prices?

pale shell
#

I do it illegally

onyx loom
#

u are making me stay awake now

pale shell
#

Is weed legal? No. Do I still do it? Yes

distant sun
#

@prisma wave what

prisma wave
#

you just get the shops to take 20% off their prices?

#

@distant sun being mean to sx

pale shell
#

I bypass it

distant sun
#

What x2

prisma wave
#

literally everything has VAT included

#

you can't "bypass it"

distant sun
#

Hes being mean to us daily

pale shell
#

Yes you can lol

distant sun
#

Smh

onyx loom
#

bruh moment

prisma wave
#

if you pay £1 for something at a shop 20p of that is VAT

pale shell
#

Just need to know how to do it.

prisma wave
#

You can't bypass that

pale shell
#

:)

#

You can Alex

onyx loom
#

so how much is a bar of chocolate

prisma wave
#

bullshit

pale shell
#

I get to get all my tax back at the end of the year

topaz bay
#

I am not fucking mean @distant sun

pale shell
#

Yes you are sx

onyx loom
#

I get to get all my tax back at the end of the year
what

prisma wave
#

you can't get a vat refund lmao

pale shell
#

You can

onyx loom
#

odin. go sleep.

pale shell
#

You have to apply for it

#

Why

onyx loom
#

🙄

pale shell
#

It's only 9pm

onyx loom
#

its past ur bed time

pale shell
#

7pm*

prisma wave
#

"sometimes"

pale shell
#

99.9% of the time if you know what you doing

prisma wave
#

VAT only gets refunded for business expenses

#

nah I'm calling bs

#

Unless you can tell me how I'm not buying it

pale shell
#

How

#

You apply via a forum

prisma wave
#

...

pale shell
#

On the gov site

prisma wave
#

the government forums?

onyx loom
#

forum????????

prisma wave
#

I bet they've got a nice xenforo theme

onyx loom
#

gov site forum????????

#

😂😂😂

pale shell
#

Omfg

topaz bay
#

oh fuck...

pale shell
#

You know what a form is right

onyx loom
#

nah. they prob use enjin

topaz bay
#

I just realized Im going to have to buy xenforo...

prisma wave
#

You said forum

topaz bay
#

trash...

pale shell
#

Same thing

prisma wave
#

just pirate it

#

Easy

pale shell
#

Why trash

#

It's cheap af

prisma wave
#

I'm probably not allowed to say that

onyx loom
#

2 completely different things

prisma wave
#

It's £500

#

^

pale shell
#

Since when

prisma wave
#

Forum != Form

pale shell
#

Last time I checked it was like 140£

prisma wave
#

Not for all of it

pale shell
#

For all of it ye

#

They must have upped the price

frail glade
#

Oh wait Sxtanna are you making an actual server? I was lead to believe you were writing a server software implementation. Or are you writing an open source server?

brave minnow
#

sleep guys ;-; it's 4:20 I must wake in less than 5h SLEEP ;-;

prisma wave
onyx loom
#

no u

topaz bay
prisma wave
#

"not all of it"

topaz bay
#

jeez...

pale shell
#

$160.00

topaz bay
#

Good thing you can fucking self host

#

100 a fucking MONTH

prisma wave
#

You can selfhost xenforo?

topaz bay
#

....

prisma wave
#

Well ofc you can

#

But I mean

topaz bay
#

Alex..

onyx loom
#

i bet that has VAT too

brave minnow
#

no u

topaz bay
#

LMFAO

frail glade
#

Yeah but you still have to purchase the license

topaz bay
#

The screenshot was for discourse

prisma wave
#

since when is it a subscription?

pale shell
#

It's 160 one time payment

prisma wave
#

oh lol

frail glade
#

Themes and plugins are also extra

prisma wave
#

Not for all of it

pale shell
#

???

topaz bay
#

Im looking into alternatives

prisma wave
frail glade
#

I've seen that

pale shell
#

Enjin

ocean quartz
#

PHPBB isn't that bad

frail glade
#

Just make discourse look like xenforo

prisma wave
#

it's $695 for everything

#

just make your own forum software

pale shell
#

Yes but you're adding shit

prisma wave
#

Ez

pale shell
#

Don't add shit

topaz bay
#

this is kinda hot

prisma wave
#

that's why I said "not for all of it"...

frail glade
#

You don't need it installed, you don't need to remove branding, or the media stuff

pale shell
#

It's light mode

#

I don't like light mode

prisma wave
#

True true

brave minnow
#

self made forum is better 👀 (not at all because it takes time and blablabla but fk I wanna do it)

prisma wave
#

Was just a proof of concept

brave minnow
#

what could be useful to link between website and server ?

pale shell
#

Just use kotlin

topaz bay
#

whats light theme?

pale shell
#

The thing what gives you a free flashlight

topaz bay
#

bruh...

pale shell
#

You turn it on and you get a flashlight

topaz bay
#

Do people just like... not use dark reader?

onyx loom
#

but the flaslight is bad for u

pale shell
#

That's a good extension

#

Dark reader has saved my eyes so many times

topaz bay
#

I never see white

#

Literally never

onyx loom
#

me neither :)

pale shell
#

Turn it off and look at it lol

brave minnow
#

I never see anything I'm blind thonking

topaz bay
#

Wow... I just discovered a bug in my website

#

lovely...

pale shell
#

Squash it

onyx loom
#

eat it

pale shell
#

I found a bug in someone else's site but I'll let them find it

brave minnow
#

That's not gud :o

pale shell
#

They're in here so

topaz bay
#

🙃

pale shell
#

Looks fine

topaz bay
#

Casually just like... doesn't fill the entire viewbox

#

It does not look fine... LOL

pale shell
#

It does lol

#

It's centred, it's dark mode. It's fine.

topaz bay
#

Do you not see all the CLEARLY unfilled space???

brave minnow
#

This is fine ?

pale shell
#

That's part of the dark mode

onyx loom
#

still dark space

frail glade
#

That for your server

pale shell
#

It's the void

brave minnow
#

Dark still part of dark theme

pale shell
#

Donor bot

topaz bay
#

Supposed to look like that ^

pale shell
#

Same as before

frail glade
#

Interesting name

topaz bay
#

You think so?

pale shell
#

BoxMC

frail glade
#

But there's a .com

#

That's also a server

topaz bay
#

Yup

#

Fuck those guys

pale shell
#

Yikes

topaz bay
#

They have the github org too

#

I had to improvise

frail glade
#

What

topaz bay
#

I don't even think they use it

frail glade
#

Oh

topaz bay
#

And that PISSES ME OFF

frail glade
#

Why'd you go on that name?

pallid gale
topaz bay
#

Theyre website is also TRASH

#

I actually think the owner is in this server

brave minnow
#

Luks gud too mi broh thonking

topaz bay
#

@burnt pagoda hey, do you use your github org?

#

Totally was kidding about the website being trash btw

#

<3

onyx loom
pale shell
#

F

#

He won't see it

burnt pagoda
#

Nah we hardly use it

#

What's up?

topaz bay
#

Can I like... have it?

burnt pagoda
#

Nah, that's weird

topaz bay
#

capital. d. colon.

#

I mean, lets me fair here...

#

I would make great usage of it

#

:D

brave minnow
#

Seems like communism with extra steps thonking

frail glade
#

Oof

topaz bay
#

Welp

#

I tried

#

Guess I'll go die now

frail glade
#

Mhmm

onyx loom
#

cya

topaz bay
#

Might sue him, see if the courts will agree with me

#

LOL

frail glade
#

Why'd you choose that name in the first place

topaz bay
#

Technically, its the name of a opengl game engine I wrote in Go

#

Thought it was cool

frail glade
#

Ahh

pallid gale
#

Yeah, should of attempted to go unique

#

smh

topaz bay
#

I literally found out about their server as I went to buy the domain

onyx loom
#

chathe.lp

pallid gale
#

Someone didn't do their research then

topaz bay
#

Fuck research

#

I'll give ya $5

#

MAX

pallid gale
#

idk why you're wasting his time

#

It's your fault for getting the .net domain

topaz bay
#

Youre framing this as if I'm serious, and I have an issue with the clash

frail glade
topaz bay
#

I'm kidding

#

@frail glade that is 100% true

pallid gale
#

need cu.be/something

frail glade
pallid gale
#

but its like 12k

topaz bay
#

I already bought it

frail glade
#

Why is it so expensive O.o

topaz bay
#

Thatll be $5k @pallid gale

#

:)

pallid gale
#

oo its only 2.7k now

#

thats nice

frail glade
#

Going to get it?

pallid gale
#

god no

#

I don't get paid to be here

frail glade
#

Offer them $250

pallid gale
#

shame .cube isnt one

onyx loom
#

i mean if everyone in this server contributes ull get the domain for 50p

ocean quartz
pallid gale
#

seems legit

storm latch
#

@ocean quartz if you're getting a domain, use porkbun

#

they're the cheapest I've found

#

all round

#

and great overall

ocean quartz
#

Not getting one ;p
Was just checking since everyone was too

#

Ty though

errant geyser
#

day 25876, I'm about 90 years old and the staff team still haven't roasted me yet. Piggys family are long dead now so I can't make that kind of joke anymore. End my suffering, take a glance at my code but just be warned if you look at old projects your going to actually die, please refrain from that kthxbye

hot hull
#

you're

heady birch
#

😦

pallid gale
#

one day

#

one day it will be reviewed

frail glade
#

One day

winter ravine
#

oh lol i managed to run my local server in intellij idea

errant geyser
#

Did you follow Piggys guide by any chance?

brave minnow
#

is there a way to create config file in papi expansion or do I need to create my YamlConfiguration and File ?

topaz bay
#

@prisma wave have you updated to the eap?

#

for ij?

quiet depot
#

@topaz bay mybb is nice

prisma wave
#

I have now @topaz bay

topaz bay
#

@quiet depot but flarum though

quiet depot
#

i hate flarum & discourse

#

I don't like the design at all

topaz bay
#

Why?

#

?

quiet depot
#

they're really different design wise from more traditional forums (like xenforo, mybb, phpbb)

#

they call it modern

#

I just think it's ugly

topaz bay
quiet depot
#

god no

#

with a theme though, most certainly

#

maybe design wasn't the right word

#

ergonomics perhaps

#

I've used discourse/flarum on velocity forums, and paper forums

#

I just don't like the feel

topaz bay
#

?

#

Which of them use flarum?

quiet depot
#

Not sure if either of them do, flarum and discourse are very similar though

#

afaik

topaz bay
#

They both look exactly the same, and it looks nothing like discourse or flarum..

#

?????

#

I think they both use discourse actually

quiet depot
#

oh sponge forums too I think

topaz bay
#

What is the issue with the ergonomics of these?

quiet depot
#

looking at paper forums as an example, I think this is visually ugly. It's extremely barebones design, probably closer to pure text than to spigotmc.org. The information is there, but it's not presented nicely at all.

#

yeah look i don't really know what i'm talking about

#

I can't actually make a solid argument about this

#

it's as simple as I don't like it

versed ridge
#

I agree

#

:P

topaz bay
#

Im confused

#

I dont understand what you mean by "The information is there, but it's not presented nicely at all."

#

On the left, we have the major categories, front and center, with their individual tags

quiet depot
#

that was my attempt to relate it to ergonomics, by piggy backing off the design issues

topaz bay
#

I just dont understand how this is worse than spigot forums or xenforo

quiet depot
#

well i'm not gonna bother making a proper argument, as far as i'm concerned rn it's personal preference

topaz bay
#

How tf can you hate something based on nothing

rotund egret
#

I hate suckers for no particular reason

topaz bay
#

like.... the candy?

#

like... a lollipop!?!??!

#

Who tf hates lollipops? damn weirdo

rotund egret
#

They're an annoyance on my soul

topaz bay
#

lmfao

#

You basically flavour your spit, and then drink it

#

Its great

quiet depot
#

my hate is based on that fact that I don't like the feel of it, and the design of it, which may or may not be the exact same thing. I can't explain the issues in detail though, it's as simple as that. For example, some pleb driving a car for the first time, without previous exposure to cars, and the engine just dies due to some internal issue. they probably don't know exactly what went wrong, or even that it was due to the engine. As far as they're concerned, the car just stopped working

topaz bay
#

I will never understand how people can come to conclusions without actively thinking about it.

heady birch
#

😎 pro clutch control on the lawn mower

rotund egret
#

Arrives at mechanic
M: What's wrong?
D: Car broke

topaz bay
#

It makes no sense in my brain

heady birch
#

You know peoples brakes break

#

Why don't they just stick in in reverse

#

Gearbox vs your life

topaz bay
#

That doesnt work does it?

#

Oh wait, maybe it does work on automatics

#

But not on manuals

heady birch
#

I think it does?

#

But I ain't gonna try it

topaz bay
#

I'm like 40% sure it wouldnt work

#

But Im also a fag, so what do I know about cars

heady birch
#

Sometimes it's difficult to put it into first even with clutch down going like 15 mph

topaz bay
#

ew...

#

@pale shell unstar

#

now.

pale shell
#

?

#

no

heady birch
#

Lol

topaz bay
#

NOW

heady birch
#

I might PR

topaz bay
#

dont touch my language

heady birch
#

With my superior syntax

pale shell
#

i'll think about it

hot hull
#

Someone should pr, and change all the syntax to

        {
        ;
        }
heady birch
#

No

topaz bay
#

odin doesnt use semi colons

prisma wave
#

semicolons suck

onyx loom
#

semicolons suck

topaz bay
onyx loom
#

@ java

topaz bay
#

arrow code

#

lol

onyx loom
#

lol

#

arrowcode

#

xd

pale shell
prisma wave
#

that's hideous @topaz bay

#

i'm ashamed

topaz bay
#

Not very much I can do about it

#

Thats the algorithm, pretty much bare bones

#

Its the core of a lot of functionality, I will not be updating its flow to make it look prettier

#

fuck that

prisma wave
#

yeah good point

heady birch
#

@topaz bay Add annotation support

#

@topaz bay Add annotation support

prisma wave
#

i'm still allowed to consider it ugly though

heady birch
#

@topaz bay Add annotation support

prisma wave
#

lmao

topaz bay
#

what

#

the hell

heady birch
#

@topaz bay Add annotation support

topaz bay
#

@prisma wave I also think its ugly..

#

so like..

#

¯_(ツ)_/¯

onyx loom
#

delete it

topaz bay
#
/* This implementation does not implement composite functions,functions with variable number of arguments, and unary operators. */

while there are tokens to be read do:
    read a token.
    if the token is a number, then:
        push it to the output queue.
    else if the token is a function then:
        push it onto the operator stack 
    else if the token is an operator then:
        while ((there is a operator at the top of the operator stack)
              and ((the operator at the top of the operator stack has greater precedence)
               or (the operator at the top of the operator stack has equal precedence and the token is left associative))
              and (the operator at the top of the operator stack is not a left parenthesis)):
            pop operators from the operator stack onto the output queue.
        push it onto the operator stack.
    else if the token is a left parenthesis (i.e. "("), then:
        push it onto the operator stack.
    else if the token is a right parenthesis (i.e. ")"), then:
        while the operator at the top of the operator stack is not a left parenthesis:
            pop the operator from the operator stack onto the output queue.
        /* If the stack runs out without finding a left parenthesis, then there are mismatched parentheses. */
        if there is a left parenthesis at the top of the operator stack, then:
            pop the operator from the operator stack and discard it
/* After while loop, if operator stack not null, pop everything to output queue */
if there are no more tokens to read then:
    while there are still operator tokens on the stack:
        /* If the operator token on the top of the stack is a parenthesis, then there are mismatched parentheses. */
        pop the operator from the operator stack onto the output queue.
exit.
prisma wave
pale shell
#

wtf was that

topaz bay
#

the explanation of the algorithm

pale shell
#

put it in =paste 😠

onyx loom
#

@prisma wave ??????????????????

#

ARE U OK

topaz bay
#

@prisma wave it wrong

prisma wave
#

i am trying to bruteforce it

topaz bay
#

Youre doing... it wrong...

prisma wave
#

what's wrong with that

hot hull
#

What isn't wrong with that

prisma wave
#

it's entirely possible i've not noticed something

#

pls correct me

#

this has been going for 10 minutes

pale shell
#

@prisma wave you found the thing yet

prisma wave
#

no

#

that's what I'm doing

pale shell
#

why not

#

just ask funnycube 😠

prisma wave
#

...

#

i've already explained why i'm not gonna do that

pale shell
#

i don't get why you want it makes your life easier

topaz bay
#

im hungry

pale shell
#

eat then

prisma wave
#

@topaz bay aide-moi

#

you can't just tell me i'm doing it wrong without saying what's wrong

pale shell
#

you're wrong

topaz bay
#

avec quoi?

#

oh mais oui, je peux fais cas toujours

topaz bay
#

non

#

LOL

prisma wave
#

😦

#

ik there are optimizations that could be done

#

but like...

#

it looks like it would work even if it's a bit slow

topaz bay
#

I mean, if were being real here

#

This is just generally a bad idea

prisma wave
#

"This" meaning what exactly?

#

brute forcing it?

topaz bay
#

It should just be aligned to chunks, with the scan tasks being parallelized , at that split

lunar cypress
topaz bay
#

Oh wait, is this not that fucking think from yesterday?

#

With that guy?

prisma wave
#

uh

#

maybe

hot hull
#

kek

prisma wave
#

@lunar cypress yeah alright

topaz bay
#

Oh its totally not

#

Lol...

#

What are you doing?

prisma wave
#

i'm trying to find out the coefficients of a cubic function from its values

hot hull
#

Time to get railed

prisma wave
#

because we have 1 equation but apparently that's wrong

topaz bay
#

Yeah, fuck that, Im not going anywhere near that

#

I dont like math... I dont like numbers in general

prisma wave
#

hmm

#

:/

#

@lunar cypress my solution is hideous

lunar cypress
#

wanna see

#

share code

prisma wave
#
import java.util.*
import java.io.*
import java.math.*

/**
 * Auto-generated code below aims at helping you parse
 * the standard input according to the problem statement.
 **/
fun main(args : Array<String>) {
    val input = Scanner(System.`in`)
    val N = input.nextInt()

    

    // Write an answer using println()
    // To debug: System.err.println("Debug messages...");

    println(N.toString().last())
}``` mine is just this
#

what's yours?

lunar cypress
#

you can click on share code on the site

#

and see the other solutions

prisma wave
#

oh yeah

#

yours looks a lot better done

#

it's actually clever lol

lunar cypress
#

Yeah I mean in this particular case it doesn't really make a difference how you do it

hot hull
#

I'll join later lmao, I gotta get this school shit finished

lunar cypress
#

so far these have been a lot easier than yesterday, I gotta say

prisma wave
#

that one was pretty easy

lunar cypress
#

hope it stays like that because then I actually have a chance

#

the last one we did was formatting a single string

onyx loom
#

easiest way to detect a certain input type? e.g only detecting an int

#

do i have to try catch etc

lunar cypress
#

nah, last digit

#

oh

#

lmao

hot hull
#

Ints.tryPrase <o/

lunar cypress
#

unrelated

hot hull
#

Parse*

prisma wave
#

@onyx loom in kotlin it's toInt() or toIntOrNull()

onyx loom
#

ty ty

#

i knew i didnt have to catch

prisma wave
#

The first will throw an exception if it's not an int, the second will be null

topaz bay
#

doesnt kotlin have a readline function?

lunar cypress
#

yep

prisma wave
#

Yeah it does

onyx loom
#

ye

prisma wave
#

but it's just readLine() iirc

#

No readInt() or anything

topaz bay
#

readLine().toIntOrNull() ?

prisma wave
#

oh well yeah

#

that's kinda what I suggested

lunar cypress
#

are you joining bm?

prisma wave
#

Ye 1 we

#

Sec*

lunar cypress
#

still got 15

#

wut

#

I got kicked out

topaz bay
#

lol

#

get rekt

#

ur bad

hot hull
#

What the fuck is this shit

prisma wave
#

i missed it lol

#

😭

#

hold up

#

regarding that brute force i'm an idiot

#

there are no integer solutions...

hot hull