#dev-general

1 messages · Page 576 of 1

wind patio
#

yes, streams

ocean quartz
#

m, r, a, b, s

#

Lovely names

wind patio
#

member -> m
role -> r

#

¯_(ツ)_/¯

#

code is not public, so, if I understand it it's fine fingerguns

static zealot
#

you should name your variables so that everyone can understand them. member_member_yes_it_is_a_member_member

#

it is good practice

wind patio
ocean quartz
static zealot
#

yeah. fortunately only had to work with those once and even then it was a mess. it wasn't my code

#

that's one of the very few things I'm glad I learnt in school

#

it saved me so many times

#

in school I used to have like thisTypeOfVariableNameBecauseItIsGood

wind patio
#

well, I just tend to use shorthand variable names for streams, since they're often long as it is

wind patio
static zealot
#

xD

dense dew
#

whats wrong with it

static zealot
#

me myself and I

dense dew
#

like the variable names or something else too

wind patio
#

it's not too bad in that case I showed, but

#

the way teachers expect students to use variable names is sometimes a bit absurd

sweet cipher
#

Also the braces are wrong

cinder flare
#

oh god Allman

#

absolutely disgusting

#

go back to C#

half harness
wind patio
#
{

}
``` gang
wind patio
half harness
#

ah

#

i was going to say

#

that looks a lot like c#

#

👀

wind patio
#

yeah, well, colors

half harness
#

colors?

wind patio
#

Visual Studio

half harness
#

oh

wind patio
#

default color set

half harness
#

i meant the variable names, function name, and allman 🥲

#

c# naming is interesting

ocean quartz
half harness
#

why does c# do that 😩

ocean quartz
#

Blame Bill

half harness
#

so it's either

#

$0

#

or $10-$15

wind patio
#

yeah, once I switched to Java I noticed how weird is pascal case

half harness
#

oh u used to use c#?

wind patio
#

well, I started from C++, then in university we started with C# for OOP

half harness
#

oh

wind patio
#

then for data structures we started using java

#

and, got into java since then

#

C# lives in memories

#

🥲

onyx loom
#

I'm here for my daily duty of defending allman

wind patio
#

allman is { } in newlines, correct

static zealot
wind patio
#

I'm guilty of allman usage in java

prisma wave
#

good

lunar cypress
#

one of bm's wrongest opinions

wind patio
#

how is

if(true) {

}

better than

if(true)
{

}
lunar cypress
#

more concise

half harness
#

they both bad

lunar cypress
#

that too

half harness
#
if (true) {

}
#

😌

lunar cypress
#

because missing whitespace

#

but other than that

wind patio
#

jeez

half harness
#

lol

sly sonnet
#

vsc shm

cinder flare
sly sonnet
#

just imagine

cinder flare
sly sonnet
#

using vsc

cinder flare
wind patio
#

how about this

cinder flare
#

better than Allman

ocean quartz
cinder flare
#

ooh the git blame i love it

wind patio
#

also, this is one of the best conventions out there

#

personally, this is the best curly braces placement out there

#

so clean

ocean quartz
#

Haskell

half harness
#

lol

cinder flare
#

all this strawmanning, we still know you use allman 😠

wind patio
#

Only all men use allman

cinder flare
#

thank god we have women in stem

dawn hinge
#

I need bleach.

wind patio
#

you just saw clean code

#

you're very welcome

old wyvern
dawn hinge
sweet cipher
sweet cipher
#

Why do I get a NoClassDefFound error with LegacyComponentSerializer
with adventure, but things like Component work?

half harness
#

ah

#

u need to add legacy serializer

#

implementation 'net.kyori:adventure-text-serializer-legacy:4.8.1'

#

i think

#

that should work

sweet cipher
#

Oh thank you

#

Do I have to relocate that too?

half harness
#

uh

#

lemme see my relocations

#

oh i just relocate net.kyori

sweet cipher
#

Ok thank you

half harness
#

np :))

old wyvern
#

@ocean quartz is season 4s protagonist reiner? 😬

ocean quartz
#

Nah, just shows a lot of him
Don't want to spoil much though

old wyvern
#

Ah alrighty

#

The five episodes are really pushing reiner as the good guy now 😂

ocean quartz
#

Well he isn't a bad guy tbh

#

You'll understand

autumn gust
#

lol

cedar jolt
#
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css"> 


                    <li><a href="index.php"><i class="fab fa-twitter"></i></a></li>
                    <li><a href="index.php"><i class="fab fa-tiktok"></i></a></li>
                    <li><a href="index.php"><i class="fab fa-youtube"></i></a></li>
                    <li><a href="index.php"><i class="fab fa-discord"></i></a></li>
                    <li><a href="index.php"><i class="fab fa-reddit"></i></a></li> ```
#

How about now, all icons work other than the tiktok one

quiet depot
#

that's even more outdated...

cedar jolt
#

I'm using a craftingstore theme i was provided with.

#

so the font-awesome is whatever they originally included.

quiet depot
#

ok

#

that doesn't change the fact that it's outdated and as a result of which, doesn't have the tiktok icon

cedar jolt
#

yeah i just realised sorry 🤦‍♂️

#

so what's the best way to proceed

#

with getting it updated

quiet depot
#

update

#

use the new stylesheet

cedar jolt
#

where do i access that; sorry if it's a dumb question.

quiet depot
#

change 5.5.0

#

to 5.15.4

cedar jolt
#

did you have the stylesheet - <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css"> doesn't seem to work.

quiet depot
#

link works fine for me

cedar jolt
#

it causes all icons to not work for me ?

#

nvm

#

we're good now, was taking ages to upload - thank you!

steel heart
#

@prisma wave dis your cousin?

prisma wave
#

oh my

#

oh my goodness

steel heart
#

😌

wind patio
#

Is there a faster way to find string size? Help

untold remnant
#

Like

Code:

String test = "Test"

Console:

4
wind patio
#

yeah, I want to reduce it from O(n) to O(log(n)) at least

#

I don't think O(1) is possible though

static zealot
#

wait. what?

wind patio
static zealot
#

you're such a troll M0dii.

#

smh

wind patio
#

found that code on internet

#

I was like, '... what?'

#

truth is people do shit like this fr

static zealot
#

lmao. it took me a second to figure out it is a troll tho.

ocean quartz
wind patio
old wyvern
#

Welcome to the Minecraft Community!

steel heart
#

Should I even mention the place?

old wyvern
#

Spigot discord?

ocean quartz
#

Probably not

old wyvern
#

Matt

#

does eating the warhead titan mean eren can use its power as the attack titan now?

steel heart
#

No

ocean quartz
#

Yes sir

steel heart
#

Well kinda

old wyvern
#

😮 😮

steel heart
#

If he’s in touch with a uh royal blood thing iirc

#

Like physically

old wyvern
#

oh wait what

#

Isnt that for the founding titan powers?

steel heart
#

Thought it was for all those powers

old wyvern
#

oh weird

steel heart
#

confusion

old wyvern
#

In that case the warheads powers seem kind of useless to eren

ocean quartz
#

Pretty sure he can use it willingly, only founding needs royal

steel heart
#

Yeah well maybe not, Im unsure lol but that’s what I thought at least

old wyvern
#

Ah

#

Like he doesnt transform into the other titan right?

#

Just the power to create weapons?

wind patio
steel heart
#

Not that guy

#

He still thinks I stole his 100 lines of code

ocean quartz
steel heart
#

I can’t go near him without getting accused lol

static zealot
#

the.

#

fuck?

steel heart
#

Heard the Matt titan is really powerful

ocean quartz
#

Good movie

old wyvern
#

Exorcist: Extended cut

old wyvern
steel heart
#

M0dii u got dev role?

old wyvern
#

There were originally the 10

ocean quartz
steel heart
#

Yup lol

old wyvern
#

🥲

wind patio
#

🥲

steel heart
#

Ah okay I’ll send it here than also

ocean quartz
#

the queue

old wyvern
#

the queue

#

the queue

ocean quartz
#

These queue reviewers need to step up their game, lazy bastards

steel heart
#

I can queue review

#

🤨🤨

old wyvern
#

😂

wind patio
#

yeah, uh, I need help, but, you will just have to guess what's wrong, because I don't share my personal code

#

thief

steel heart
#

😫

#

@ocean quartz hoe does onoe apploe as quoe revioer

old wyvern
steel heart
#

🥲

wind patio
#

cannot be more true that that

#

lovely repo upkeepers

ocean quartz
obtuse gale
steel heart
#

Oh it’s that simple?

obtuse gale
#

Rip that kid

wind patio
old wyvern
wind patio
#

what's a null

prisma wave
#

imagine having null

old wyvern
#

😌

#

Maybe all the way

prisma wave
#

😌

half harness
oak patrol
#

how do i use the stratos world generation plugin with purpur 1.17 ?

oak patrol
#

oh k

half harness
#

oh 😳

static zealot
#

dkim

steel heart
#

I saw that dkim

static zealot
#

yes

#

we saw that dkim

steel heart
#

Anyways finally is always executed

static zealot
#

yes. if the catch handler is not good

#

like you're trying to catch the wrong

#

exception

steel heart
#

So even if any error in let’s say the catch block gets thrown like
try {

} catch (Exception e) {
throw new RuntimeException();
} finally {
//will always run
}

static zealot
#

it will still execute the finally stuff

steel heart
#

If you would have it in the finally block, if something was thrown in the catch block of if a non Exception derivative was thrown the finally block will still run

sweet cipher
#

Finally doesn’t always run

steel heart
#

?

sweet cipher
#

If the program is shut down during the try/catch part, then the finally isn’t run

steel heart
#

Pretty sure it does unless you’re calling System::exit

#

At least it tries to

sweet cipher
#

If the program is forced stopped it won’t

#

Or if you turn off your computer

steel heart
#

There’s a shutdown hook

#

Yeah turn of your pc sure but logically shouldn’t happen unless you’re a complete dodo

prisma wave
#

finally can override return :)

sweet cipher
#

Yeah make sure to always have return null in the finally block

steel heart
#

😬

steel heart
prisma wave
#

probably

eternal compass
#

I stg discord...

#

I accedently bought nitro classic instead of normal nitro (it wasn't my fault, long story), and so I decided to just use it this month, and not boost my server.

#

now I can't join another server until I leave like 50 because of the nitro full limit

#

which isn't in classic?

stuck harbor
#

lol

eternal compass
#

like classic is supposed to be full without boosts, no?

stuck harbor
#

this is why i like matrix

#

or irc

eternal compass
#

but

#

but

#

but-

prisma wave
#

not even any stickers

stuck harbor
#

classic is what nitro used to be

#

what i had when i used nitro

half harness
eternal compass
#

my banner!

#

noooooo

#

lame

#

super lame

stuck harbor
#

man i enjoy having an early supporter badge

#

it shows that i put up with the hell of old discord

eternal compass
#

also, anyone want to help me with dumb typescript stylesheet stuff? 😄

stuck harbor
#

🤢

#

just use php

old wyvern
#

waitttttttt

#

season 4 isnt finished

#

its still airing

#

I thought it ended

eternal compass
stuck harbor
#

hypertext preprocessor is a fun language

#

modern syntax

#

good integrations

forest pecan
#

Does anyone remember the proper way to turn TextComponents into Strings. I have an ItemBuilder which accepts a TextComponent, but on Spigot I'm not sure how I could change it into a String so I can set it onto my ItemStack

half harness
#

(net.kyori:adventure-text-serializer-legacy:4.8.1)

forest pecan
#

Yeah i just found it

#

thx

gusty glen
#

@ocean quartz does your Gui framework remove the GuiItem uuid nbttag when the player takes the item from the gui?

static zealot
#

noyes

prisma wave
#

It does not afaik

static zealot
#

yeah. it does not

ocean quartz
#

^

gusty glen
# ocean quartz ^

Do you think it would make sense to add some code to remove it in case the item is taken from the GUI (asking because items with different NBT tags does not stack)?

ocean quartz
#

I don't remember who, but someone asked about this not long ago, I said I can add a strip method or something like that
But not remove automatically as that would be a bit annoying
What I normally do when it comes to using items that are removable is to use the storage gui and add slot actions instead of item actions

hot hull
#

'twas me

gusty glen
#

But as far as I saw, there is no method that allows to insert an item onto a specific position that accepts item stack, not even in StorageGui

ocean quartz
#

Hmm something i can definitely add
Though you can get the inventory and add it straight to it on the storage gui

gusty glen
static zealot
#

@half harness what about now? xD

half harness
static zealot
half harness
static zealot
#

you think a lot Ic

half harness
#

mhm

#

\🧠

static zealot
#

lol

cinder flare
eternal compass
#

datagrip is so nice 😌

#

I just tried it

#

for the first time

#

I needed to inspect an sqlite file from prod. servers

cinder flare
#

dude right

#

it makes SQL join statements an absolute breeze

ocean quartz
#

Huh, looks exactly like the built in system in Intellij Ultimate thonking

#

Does it have anything that the ultimate version doesn't?

static zealot
#

its free?

ocean quartz
#

It isn't

ocean quartz
static zealot
#

idk

#

lmao

#

was just saying

#

never heard of it until now

eternal compass
#

and its free for me with student, so 🙃

eternal compass
ocean quartz
#

Ah so it's basically same thing
Also IJ ultimate is free for student too

eternal compass
#

I do use it in IJ when I want to though 🙂

sweet cipher
#

How do I set an item to a slot in a different page
with triump-gui paginated gui?

ocean quartz
sweet cipher
#

Oh

#

Well

sweet cipher
static zealot
#

bcz

ocean quartz
sweet cipher
#

Oh

static zealot
#

lies

#

its just laziness

sweet cipher
#

Why not store pages and just open those?

eternal compass
#

so I can just double click and boom

prisma wave
#

ij ultimate can too

sweet cipher
#

Lol

#

Also, does disableAllInteractions not stop
swapping with hotbar items?

ocean quartz
#

Don't think it stops a few things, better to just cancel

sweet cipher
#

Oh ok thanks

sweet cipher
eternal compass
#

I have ij ultimate

#

and I tried that

#

it errors out

prisma wave
#

since i used it in my most recent commission

#

extensively

ocean quartz
#

It can, Jarry uses it

old wyvern
#

Larry

#

oh wait

#

its actually jarry

#

lol

ocean quartz
#

Lmao

static zealot
#

yes. smh

ocean quartz
#

Barry's 5th cousin

static zealot
#

man. I love it. I have so much work that I don't even know from where to start so I end up spending the entire day doing nothing bcz I'm not able to decide from where to start.

eternal compass
#

I can just open with IJ

#

and it works?

ocean quartz
#

Yeah

eternal compass
#

I swear it didn't

#

lemme try again

static zealot
#

it works. since like 2 updates ago

#

or something

ocean quartz
#

When i get back to pc I'll show you

eternal compass
#

trying now

#

okay fine

#

it works now

ocean quartz
eternal compass
#

but it never used to

static zealot
#

ok. nvm the

#

n

#

I Don't have ultimate

old wyvern
prisma wave
#

hello!

cinder flare
old wyvern
#

hello!

sturdy magnet
#

ok i first posted there

#

and deleted and gone here

prisma wave
#

Not configuration help

sturdy magnet
#

ok sorrz

cinder flare
#

that already exists but not Javascript

prisma wave
#

goodbye

cinder flare
#

the String formatting expansion or whatever it's called

sturdy magnet
#

i need java8+

#

both java8+16

old wyvern
#

Man papi realy do be having an expansion for everything

#

😌

prisma wave
#

papi turing complete

old wyvern
#

clearly

#

PAPI PAPI expansion

cinder flare
old wyvern
#

soon™️

cinder flare
old wyvern
#

Joshua I think your issue is still relying on a turing machine

prisma wave
#

yes!

old wyvern
#

Try one built on the wonderful lambda calculus as instructions instead

cinder flare
#

yeah let's get some lambda in this bitch

prisma wave
#

papi expansions are just glorified functions

old wyvern
#

😌

#

Haskell Expansion soon™️

#

Once I find a working interpretter

prisma wave
#

😮

#

just require them to have ghc installed

cinder flare
#

pure and everything

old wyvern
prisma wave
#

depends

#

i guess most of them are pure yeah

old wyvern
#

Also, idea on improving the current js expansion for the memory issue

#

Instead of creating a new context for execution on every evaluation, how about running each script as a isolated function in the same context

static zealot
#

yo

#

how does location yaw work? can it be negative? in the spigot api

cinder flare
old wyvern
#
"(params....) => {\n" + script + "\n}";
obtuse gale
#

in the spigot api
yep

#

spigot api poo poo

static zealot
#

there is a kotlin extension btw.

surreal quarry
#

didn't sx write it

prisma wave
#

sxtanna 😔

old wyvern
#

Thats what he was referring to

static zealot
#

made by our dear sx

surreal quarry
#

sadge

old wyvern
#

lol

prisma wave
#

everywhere i go, i see his face

old wyvern
#

Did he add you?

prisma wave
#

nope

#

probably because i may have ignored terfs

old wyvern
#

lol

#

@ocean quartz I finished whats released of s4

#

I actually thought it ended

cinder flare
#

stranger things???

#

soon i hope

old wyvern
#

seems there are more episodes to come out in 2022

old wyvern
cinder flare
#

oh lol

old wyvern
#

Stranger things 4 is coming this november I think

ocean quartz
ocean quartz
old wyvern
#

oh wtf

#

xD

#

Im still absolutely confused with everything that went down

#

How is zeke using erens supposed powers?

cinder flare
ocean quartz
#

Oh get ready to get even more confused when you watch the last part

old wyvern
#

You already saw it?

ocean quartz
ocean quartz
old wyvern
#

But the founding titan is with eren

#

zeke shouldnt be able to use it till he eats him

ocean quartz
#

Yeah and Zeke has royal blood, so he can use it

ocean quartz
#

Get ready for the last one then, it's even more confusing 🥲

old wyvern
#

I thought the condition was having the founding titan and being of the royal bloodline

ocean quartz
#

Idk man, the author doesn't like its own rules

old wyvern
#

yea weird

#

Great story tho

#

s3 wasnt too great

#

s4 seems to be ok

ocean quartz
#

Not my favorite anime for a reason
I liked it all until season 3 ended

old wyvern
#

first 2 were great

#

yea

ocean quartz
#

I wish it was just about paradis nothing more

old wyvern
#

🥲

ocean quartz
#

There was so much to be explored in there
There is a giant city under the city

#

That's where Levi is from

old wyvern
#

They already showed that in s2 I think?

ocean quartz
#

Yeah

old wyvern
#

When the hunter wa sintroduced

#

yea

ocean quartz
#

Just didn't get explored

old wyvern
#

mhm

#

Slugterra AoT version

ocean quartz
#

Watch Attack on Titan: No Regret

old wyvern
#

Whats that?

ocean quartz
#

Best AOT content they've made
It's Levi's backstory

old wyvern
#

Oh, is it a movie?

ocean quartz
#

An OVA, so 2 episodes

old wyvern
#

ah

#

like relight

#

I think

ocean quartz
#

Kinda, the Levi one i canon though

old wyvern
#

😮

sly sonnet
#

isnt like anime in japanese or smth

stuck harbor
#

most

sly sonnet
#

y'all wathing it for own pleasure or what?

#

i dont understant the point in waching it if u dont understand the language

stuck harbor
#

subtitles?

eternal compass
#

Well you can get it dubbed I think.
I've never watched it myself though, so I could be wrong

stuck harbor
#

its good entertainment

#

I like ghibli

#

I can't get into most other anime

#

the main japanese stuff I like is their food

#

that stuff is soooo nice

dawn hinge
#

god damn

#

that looks nice

stuck harbor
#

it really is

old wyvern
#

Oii

#

Huge

#

🥲

#

Oh shit, its comin this way 🥲

#

Or not

dawn hinge
#

wtf?

#

it's so huge

wind patio
#

Ain't huge, just long legs

prisma wave
#

^

ocean quartz
forest pecan
#

why the hell does tabnine remove the ability to press tab

ocean quartz
#

Try pressing 9

vivid sleet
#

@obtuse gale vertical

half harness
#

since it already supports dropping items by picking them up and dropping them outside of the inventory

#

but I want to make a way to detect the difference between those two

#

and I don't think a boolean named droppedWithQ is a good name 🥲

#

or droppedWithoutPickingUpItem

half harness
surreal quarry
#

dWpUI

half harness
#

nvm, turns out that I did implement something to detect those drops, but only if the inventory is opened

#

ill just merge it with DROP_SELF

jovial warren
#

I would've said a tri state would've been better

#

Or multi state, since it's scalable, and you'll just need a new enum entry for some new idea

quaint isle
#

no better feeling than logging onto your alt account to sneakily recommend your own plugin in a reddit thread just to see some stranger has already done so 😏

dense dew
#

node js for backend oke?

prisma wave
#

absolutely not

dense dew
prisma wave
#

anything but node

dense dew
lunar cypress
#

php troll

dense dew
prisma wave
#

js bad

#

php bad

#

etc bad

dense dew
#

then what

#

and why its bad

prisma wave
#

JS is bad because it's JS

#

PHP is PHP

#

honestly any other language would be fine

#

go, java, typescript if u really wanna go down that route

#

um

#

what other languages exist

#

python, i guess

#

ruby!

#

ruby is nice

#

underrated

#

ruby fell off

dense dew
#

i like js 100x more than java 😔

prisma wave
#

L

dense dew
#

java 🥴 🥴 🥴

dense dew
half harness
#

kotlin > all

#

sorry bm

#

but

#

kotlin < haskell

dense dew
#

typescript
ye i ll use ts ofc

prisma wave
#

dkim i will shoot you

half harness
#

o

dense dew
#

if you know js you can create papi placeholders = profit 🙂

gloomy radish
#

hi, in which channel will I be able to ask for a small help

static zealot
gloomy radish
#

oh thanks 🙂

ocean quartz
prisma wave
#

Scala placeholders

#

Clojure extension

half harness
#

Jython

onyx loom
#

kotlinscript expansion 🥴

prisma wave
#

😵‍💫

onyx loom
#

haskell expansion

prisma wave
#

AAAAAAAAAAAAAAAAAAAAAAAAAAA YEAH

quaint isle
#

but there was no link in my message 😦

#

frick you bot

#

😠

ocean quartz
#

The bot noticed your opinion was WRONG!!

pallid gale
#

loose the bad word and we'll be good

#

link detection is aggressive at the moment due to all the steam/nitro spam scams

obtuse gale
#

Should I buy VPS that will be in my house or should I buy online VPS?

pallid gale
#

Renting means you don't need to take care of the hardware or power bills

sweet cipher
#

What languages should I use for front end / back end for a website

prisma wave
#

Elm for frontend and Haskell for backend

sweet cipher
#

Ok thanks

onyx loom
#

true!

steel heart
sweet cipher
#

Ok thank you

steel heart
#

Also if u can use typescript, I urge you to use that instead of javaskript

#

Ye that’s all (:

sweet cipher
#

Ok

#

Why makes typescript better?

onyx loom
#

because its javascript with a type system

sweet cipher
#

Oh

prisma wave
#

Typescript bad elm good

steel heart
#

Well TypeScript is like Java but better

static zealot
half harness
potent nest
#

no

eternal compass
prisma wave
#

proof?

eternal compass
prisma wave
#

no

#

But

#

That's not important

#

Given my plan was only to get the server list ping working, I consider it finished + a great success

#

so

#

sit

eternal compass
#

Given my plan was only to get the server list ping working, I consider it finished + a great success

So you're an underachiever

#

therefore bad

#

therefore fred good

prisma wave
#

No, I set myself up to succeed

#

Realistic goals

frigid badge
#

bm very successfull

#

proud of u

prisma wave
#

exactly

#

Thanks babe

dense dew
#

gitkraken good?

eternal compass
#

terminal git 😌

#

or actually IJ git

prisma wave
#

IJ is the only good git client

#

The rest are cringe and bad

onyx loom
#

I agree

ocean quartz
#

Piggy approves

dense dew
#

😮

eternal compass
#

lies

prisma wave
#

terminal isn't included

#

terminal is superior ofc

lunar cypress
prisma wave
#

OH

#

i forgot

#

sorry

#

magit

#

is the best

lunar cypress
#

skull

eternal compass
#

IJ

humble silo
eternal compass
#

yessir

static zealot
#

end me please

#

I love obfuscation

eternal compass
eternal compass
#

the worst are the I!iii!III1III111I ones

static zealot
#

yes. but still

#

one method that does a simple replace literally goes thru 20 classes 30 methods and 10 variables

#

can't find a deobfuscator for it either.

#

like all I need is one... one method. to offset a symbol

#

what's funny is that some methods are literally given away by the built in messages/errors xd

steel heart
#

WanderingPalace probably knows

#

They know nms from what I understood

static zealot
#

I want to kms rn

#

its not nms

steel heart
#

Oh

#

Then ur fucked

static zealot
#

yes. I know

#

I made a bit of progress tho

steel heart
#

Couldn’t you use something like a deobfuscator

static zealot
#

tried

steel heart
#

Oh fair

static zealot
#

haven't found one that know

#

s

steel heart
static zealot
#

what obfuscation this uses

#

I bet its like something custom

#

that's obfuscated with another custom obfuscator

#

that's obfuscated with some random obfuscator

#

xD

steel heart
#

🥲

static zealot
#

the decompiler also lets me to go 1 way but not go back to references

#

yo. anyone know if there's like some unciode characters that offsets text somehow?

jovial warren
#

what are you decompiling? lol

static zealot
# potent nest what do you mean?

found another way. but basically you know how you can have custom images for fonts in minecraft, people do that for like background of GUIs. And by default it would be placed to much to the right. and I was looking for a way to move the iamge to the left. found a font that gives you basically - pixels. so it offsets the images/text to the left.

static zealot
#

yo

#

what was the thing called

#

there was a website

#

that would basically allow you to find more updated versions of a repo

#

or something like that

#

or was that the refined github exptension? I Forgot

#

oh

#

there's literally a button

#

called Find usefull forks

cinder flare
#

oh that sounds really nice actually

#

i spent a lot of time opening every fork to see if it had any actual commits

eternal compass
static zealot
#

it might be with the refined github extension but when you go to the forks page

eternal compass
#

aah

static zealot
#

on the right

static zealot
#

@heady birch how u doin? xD

#

any chance u gonna OS kb any time soon?

#

the write/erase animations break with hex colors 😦

ocean quartz
#

When PAPI3 is out

static zealot
#

well. that's not too long then

cinder flare
#

2030 is coming up soon

onyx loom
#

true

ocean quartz
#

It's coming out "tomorrow"™️

wind patio
#

anyone knows a good way to split a string in "somewhat" equal parts?

#

let's say I have a string
this string is for testing purposes, I just need to split it
I wan't to split it in two, but I want the first part to be at least X length

ocean quartz
#

Substring length / 2

wind patio
#

if it's longer, then split in 3

cinder flare
#

if you want the first part to be X length, just traverse the string until that point, then to the next space, and split there

wind patio
#

ex. what I want to output
str1 would be this string is for testing purposes,
str2 would be I just need to split it

#

and so on

ocean quartz
#

Will it always have a comma?

wind patio
#

no, just an example

#

it can be anything

wind patio
#
        int minLength = 4;
        
        String[] split = str.split(" ");
        
        StringBuilder sb = new StringBuilder();
    
        for(int i = 0, curr = 0; i < split.length; i++, curr++)
        {
            sb.append(split[i]).append(" ");
            
            if(curr > minLength)
            {
                parts.add(sb.toString());
                
                sb = new StringBuilder();
    
                curr = 0;
            }
            
            if(i == split.length - 1)
                parts.add(sb.toString());
        }
#

First line is length 6, second is only 5

static zealot
#

so you want it to be split more even or what?

wind patio
#

no, for some reason the first line is longer

#

than all the others

#

my brain is too fried today to figure it out

#

It's basically text wrapping

#

when you have one long like like

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tristique turpis at odio fringilla, non efficitur leo feugiat.
```
I just want to wrap it nicely
```
Lorem ipsum dolor sit amet, consectetur 
adipiscing elit. Fusce tristique turpis at 
odio fringilla, non efficitur leo feugiat.
```
#

Well, anyways, I think I fixed it.

half harness
#

I need to write a wiki for bedwars sometime 😩

#

since its so complicated xD

obtuse gale
#

Hey -- currently having this issue when I paste in a schematic of our spawn the server just crashes and 1/4 of it pastes or none of it at all, and it breaks some of the warzone for some reason.

I think there might be an issue with the world edit but honestly I have no idea, hoping somebody here can give me a pointer

half harness
#

and don't crosspost

static zealot
#

so @half harness ?

half harness
static zealot
#

ok

#

gonna try and recover all that

#

fuck.

#

the problem is not even the hard work bcz its not a lot. its my bad memory. I forgot what I changed

half harness
#

o

#

wait

#

wdym resetted ur pc

#

like

#

reset the files?

#

or

static zealot
#

like reinstalled windows and linux

#

ye

half harness
#

O

#

no backup?

static zealot
#

fully cleared the drive

#

no. I went thru all files like literally 6 times.

#

but this one I forgot about

#

for some reason

#

its the only thing I Forgot

#

I remember it was like 3 commands that were basically 5 minutes to make and a couple spelling mistakes that I fixed

#

don't remember anything else

potent nest
half harness
#

really?

#

oh 🤷

#

i haven't used it in a while

#

but its still faster than WE
(by faster i mean doesn't-make-your-tps-0-or-crash-the-server)

obtuse gale
#

It just threads the block changes

#

In some ways yes it is slower, but it has less of a chance of crashing your shit

potent nest
#

It’s not slower, it just doesn’t try to do everything in one tick

half harness
#

doesn't worldedit do it in 1 tick?

#

or does it spread it out too

obtuse gale
static zealot
#

like spreads it out

potent nest
#

It’s still faster as it has less overhead, uses multiple threads and a few very bad hacks into nms code

potent nest
static zealot
#

@half harness good news. I believe I atleast uploaded the jar to my remote server. so time to decompile.

half harness
#

😮

#

ggs

obtuse gale
#

hello @potent nest

#

have a good evening

half harness
#

uh oh

obtuse gale
#

What?

potent nest
obtuse gale
#

😄

static zealot
#

me too!

#

yes!

#

I was trying to ssh into my server. took me a minute to realise its offline.

jovial warren
static zealot
#

@half harness bad news. turns out for some reason I have an old version on the dedi

half harness
#

..

#

embed?

#

but RIP

jovial warren
#

lol

#

what a noob

still lava
#

could anyone help with my smp

humble silo
#

what

#

how are they in here?

ocean quartz
#

Oh

#

?help

compact perchBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

sweet cipher
still lava
sweet cipher
#

No

#

Thanks

#

Ask here

#

Probably the better channel

ocean quartz
#

Not here

static zealot
#

I'm so fucking confused. why the fuck do I have an old version on the dedi? I fucking tested it. what's wrong with me.

humble silo
#

Is my discord glitching or something? It says you have no roles

#

i have no idea whats going on anymore

humble silo
#

what

#

...

#

i am so dumb

#

lol

sweet cipher
#

Lol

ocean quartz
#

Lmao

static zealot
#

good news @half harness. I actually have the updated version. I've got no idea how I got the old one.

half harness
#

gg

#

lol

static zealot
#

idk what happened

#

I just downloaded it, opened and it was like a 2 months old one

#

closed connection, redownloaded and it was good

#

well first time I used command line

#

so maybe that's the problem? tho I really don't see why

half harness
#

hm

#

¯_(ツ)_/¯

dense dew
#

angular vs vue

static zealot
#

Task :prepareKotlinBuildScriptModel UP-TO-DATE
Could not resolve: io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT
Could not resolve: io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT

BUILD SUCCESSFUL in 27s

Last time, it was that I should use java 16, now I use java 16 and still, same shit

#

someone save me please

#

1 sec. sending paste

obtuse gale
#

build.gradle

static zealot
#

yes. yes. 1 sec. well more seconds

#

imma try invalidating ij cache.

#

nope. didn't work.

obtuse gale
#

blitz

static zealot
#

btw. in File | Project Structure I have this:
Project Settings | Modules | Dependencies

static zealot
#

Project Settings | Project

obtuse gale
#

set the Java sourceCompatibility to 16 as well

static zealot
obtuse gale
#

no it's not that lol

#

in groovy you can put it at top level scope I think

#

just sourceCompatibility = JavaVersion....

static zealot
#

ty

half harness
#

I use another plugin too: https://github.com/gradle-nexus/publish-plugin which lets me automatically close and release.. but if I try applying it to the api module, I get this error: ```
A problem occurred evaluating project ':api'.

Failed to apply plugin 'io.github.gradle-nexus.publish-plugin'.
Plugin must be applied to the root project but was applied to :api

#

:/

#

and if I put everything in the base module, it starts building all the other modules, so I stopped it just in case it uploaded the entire jar :p

quiet sierra
#

done working for today

#

was like 10 minutes of work

#

maybe less

humble silo
#

Has anyone gotten kotlinx coroutines working with jigsaw? Im just gonna do the async stuff myself since jetbrains has added absolutely no support for jpms(the stdlib is fine, idk they wouldnt modularize the kotlinx stuff too)

old wyvern
#

Could be specific on the actual issue?

ocean quartz
ocean quartz
#

Why are you using apply plugin?

half harness
#

so that i can run the task in the api module

#
nexusPublishing {
    packageGroup.set("io.github.dkim19375")
    repositories {
        sonatype {
            nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
            snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
            username = project.findProperty("mavenUsername")
            password = project.findProperty("mavenPassword")
        }
    }
}
```and so that i can put this in there
#

in the base I use plugins {}

ocean quartz
#
plugins {
    id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
    id 'maven-publish'
    id 'signing'
}

Just put that there, you only need those in the subproject it makes no sense for it to be global

half harness
#

i made it global to test

#

but the error still happens

#

¯_(ツ)_/¯

ocean quartz
#

Without apply?

half harness
#

yes

#

every other plugin works fine

#

just that one plugin

ocean quartz
#

Did you remove it from the base project?

half harness
#

yes

ocean quartz
#

Show me both again

ocean quartz
#

Remove publish and signing from base as well

static zealot
#

oh. new LTT video with Seth Curry. I believe that's like a basketball player or something.

#

cool

ocean quartz
#

And that's still not working?

half harness
#

nope :/

ocean quartz
#

Huh, no idea then

half harness
#

rip alr
do u know an alternative plugin/method?

frail glade
#

SQL is going to be the death of me, I swear.

surreal quarry
#

sql is a joy to work with!?!?!?

old wyvern
#

GraphQL 😌

cinder flare
#

wait until you have to do Oracle SQL

#

and PLSQL upsidedowntears

surreal quarry
#

i'd like to see MattQL continue the mattopoly

old wyvern
#

Me thinking SQL is just going to be declarative shit

#

Our professor calmly introducing outputs and looping

#

😔

#

Absolutely disappointing

surreal quarry
#

:)

old wyvern
ocean quartz
#

Tbh i thought about reworking Exposed's Dao system to reduce redundancy

frail glade
#

I'm working on a hypothetical backend change to guilds to do real relational data and I'm already at 14 tables iirc

obtuse gale
#

Hello

#

I’m having a problem

#

With discord

#

Is here a discord moderator that can help me?

surreal quarry
#

not a discord help server fingerguns

obtuse gale
#

Oh

sweet cipher
#

Just a help server on discord

eternal compass
#

we should get some discord staff on here for this

humble silo
#

who joins this server thinking that there are gonna be discord staff? (no offense, RiN) is it advertised weirdly somewhere?

half harness
#

¯_(ツ)_/¯

#

and the name is "HelpChat"

pallid gale
#

*depending on region

half harness
#

o

humble silo
#

Its at the very bottom of the list for me, after all the actual discord help stuff, but alr

humble silo
eager fern
humble silo
#

i thought the server was called Papi help chat or something lol

ocean quartz
#

It also says this though

half harness
#

not for HELLSHOWERS tho

#

lol

#

same for me

#

idk why yours says minecraft community 🥴

half harness
obtuse gale
#

Imagine a place

cedar jolt
#

Not really sure if this is the channel to ask it in, but I'm looking at creating a custom score system based around a players kills and KDR, like an average of both combined to form an overall score.

#

Anyone know of a formulae I could use to work out that said average?

#

I.E you get X points for killing someone, Y points if your KDR increases and -Y points if it decreases.

humble silo
urban sleet
#

Haven't been able to figure this out, is there a way to * hypothetically * bypass a force-resourcepack plugin?

urban sleet
cedar jolt
#

Idk if that's possible?

#

Would it be better just to have the top players judged off kills xD

#

Or KDR

cedar jolt
urban sleet
#

Rip

humble silo
#

well sure, but thats like no info to go off... Im not the right person to ask about how to judge a players skill level anyways, do you not have an idea in mind about how you want it to work?

cedar jolt
#

If they have a custom one why would you wanna bypass itz it's obviously custom for a reason

#

I.e custom menus etc.

urban sleet
#

Because I'm trying to figure out one thing they do

#

I've pretty much figured it out

cedar jolt
#

X being the kills, y being the kdr

cedar jolt
#

Most of them use ItemAdder smh

obtuse gale
urban sleet
#

This

urban sleet
cedar jolt
#

Yes that's item Adder

#

Wait which server is thay

#

They might be doing the Chinese character method

urban sleet
#

No it's not.. mineclub isn't using itemsadder

cedar jolt
#

Ahh

#

Yep they're using the manual way

urban sleet
#

I know how to make the menu

#

I'm talking about the balance placeholder

#

The "595"

cedar jolt
#

Righteo

urban sleet
#

Is it paper with CustomModelData and they made one for each number?

humble silo
cedar jolt
#

Hmmm so would kills alone be enough

urban sleet
#

The comma is seperated