#dev-general

1 messages ยท Page 283 of 1

old wyvern
#

๐Ÿ˜ฌ

surreal quarry
#

nice

compact perchBOT
#
๐Ÿ“‹ Your paste, PulseBeat_02
https://paste.helpch.at/dujokisipi

A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.

forest pecan
#

wtf

ocean quartz
#

You're welcome

forest pecan
#

my code is too good to be in discord?

#

damn

#

oh

#

๐Ÿฅฒ

prisma wave
#

what

#

what the

old wyvern
#

xD

static zealot
#

what in the

old wyvern
#

btw pulse progess on foobar?

forest pecan
#

i didnt start level 3 yet

#

i was doing some usaco

#

cause gold had dynamic programming in it

old wyvern
#

usaco?

forest pecan
old wyvern
#

ah

forest pecan
#

gold division has dynamic programming in it

#

and thats in foo bar level 3 apparantly

#

with like shortest path algorithms

#

and stuff

#

as well

old wyvern
#

ah I see

forest pecan
#

my dad's professor was one of Dijkstra's students

#

lmao

prisma wave
#

wow

old wyvern
#

nice

somber tulip
#

For web development what tool do you guys use? Do you use visual studio or a jetbrains alternative?

#

or other

forest pecan
#

if you want something super lightweight you could do brackets

#

like lightweight ide

#

very lightweight not many many features

#

but usually most ppl go vsc

#

i think there is a jetbrains php ide?

#

Yeah phpStorm

jovial warren
#

imagine wanting to use PHP amirite

somber tulip
#

I don't know much about web development at the moment so whatever would be easiest to learn with. Not sure if more features or less would be better.

jovial warren
#

use WebStorm

forest pecan
#

Yeah thats also another one

#

from jetbrains

jovial warren
#

only problem with WebStorm though is that you need to pay for it

somber tulip
#

Haha, I have to learn php at uni ๐Ÿฅฒ

#

I have the education licence so i think I have access

#

I think

forest pecan
#

Nice

#

yeah

jovial warren
#

yeah you do

#

nice

forest pecan
#

you get access to all products

#

its so nice

somber tulip
#

Awesome

jovial warren
#

ikr

forest pecan
#

idk why jetbrains ide is so expensive though without it

jovial warren
#

I get it with the GitHub Student Developer Pack

jovial warren
forest pecan
#

Yeah ig but idk if its worth spending the hundred bucks

#

per year

#

lol

#

or not 100

#

500 bucks per year for the ultimate

old wyvern
#

200ish I think

#

Isnt that for companies?

somber tulip
#

I guess it would be for corporate companies

forest pecan
#

per user

#

its not company

hallow crane
#

DrJava is a great IntelliJ alternative

old wyvern
#

For individuals its 249

forest pecan
#

500 for first year, then 400 for next year, then 300 for the third and on

#

oh

#

Oh yeah nvm

old wyvern
forest pecan
#

that was for organizations

#

yea

old wyvern
#

I mean for a year its not that bad I guess

forest pecan
#

i like how intellij itself is like 150 bucks but getting every product in jetbrains is 250

#

lmao

old wyvern
#

Yea all the other products are just IntelliJ IDEA Ultimate with a few plugins bundled with and some changes for menus

forest pecan
#

yea ig

old wyvern
#

You can use Ultimate instead of any of the other IDEs if you want

forest pecan
#

yeah

forest pecan
#

oh yeah that

late grove
#

This might be a hard-to-explain question, but does anyone know of a website that I can host that does something like this?

old wyvern
#

uh

#

What is that supposed to be?

#

A chat box?

late grove
#

No, a place for my clients to leave a review for me, and for all the reviews to be in one place.

surreal quarry
#

your spigot profile fingerguns

prisma wave
#

i just managed to have an entire shave in the time the gradle daemon took to start wtf

surreal quarry
#

lmfao

hot hull
#

Lmao

distant sun
#

@surreal quarry what os do you use?

surreal quarry
#

github

#

or do you mean something else

distant sun
#

operation system

surreal quarry
#

oh its ubuntu

#

with i3

distant sun
#

o

#

i3 as in the cpu or?

surreal quarry
#

window manager

distant sun
#

ahh

#

looks good though

surreal quarry
#

its a terrible name but yea i like it

static zealot
#

I should start getting used with other OS than windows.

surreal quarry
#

yea windows bad

static zealot
#

not really

surreal quarry
#

dual boot

#

then you can use linux for most still, windows for anything else like apps that dont work, gaming, etc

static zealot
#

no idea what dual boot is or how to set it up and idk what the requirements for that are xD

#

as in PC components

surreal quarry
#

it would work fine iwth a normal pc

#

you just install 2 OS give each a bit of the hard drive and then when you start your pc it asks you which OS youwanna boot into

static zealot
#

oh well the hard drive part might be hard because I have like 100 GB left

#

I think I'll do a windows reinstall at some point. I just need to find everything I need and get them on a USB stick

surreal quarry
#

yea

static zealot
#

oh nvm I have 200 GB in total 30 for C and 170 for D

#

well probably less space for ubuntu since most of that memory is games

surreal quarry
#

if you install windows first, i know at least w/ ubuntu it recognizes windows and makes it really easy

static zealot
#

even tho I uninstalled a lot I don't play anymore

surreal quarry
#

im assuming manjaro and others are similar

static zealot
#

how much does the os take? Like Ubunt 20.40 or whatever is the best

#

or which is the best I guess?

surreal quarry
#

if i reinstall i would go w/ manjaro which is arch based

static zealot
#

believe me I have no idea what arch based means. xD

#

ah Arch Linux

surreal quarry
#

yea

#

the main difference is the package manager

#

arch's package manager is much better

static zealot
#

but idk never used linux, do the commands mostly transfer?

#

talking about the line commands

#

because I kinda want to learn to use those

surreal quarry
#

from windows -> linux or between different linux distros

#

for different distros i believe its the same except the package manager, and windows -> linux is sorta similar, but you will need to learn some new one. you use them so much though that it doesn't really matter you pick the main ones up in about a week at most

prisma wave
#

windows cmd sucks compared to something like bash

surreal quarry
#

^

prisma wave
#

aren't they the same?

frigid badge
#

zsh > bash

prisma wave
#

true

frigid badge
#

zsh + oh my zsh + powerlevel10k

#

ez

prisma wave
#

i think i use all of those

surreal quarry
prisma wave
#

definitely zsh + oh my zsh

surreal quarry
#

zsh good

prisma wave
#

idk what the theme is

#

๐Ÿ‘

prisma wave
forest pecan
#

any tips

static zealot
#

y

#

you have the scroolbar xD

#

but its small af

forest pecan
#

oh wat

#

lmao

static zealot
#

oh nvm

#

that's for the projects

#

my bad

forest pecan
#

oh

static zealot
#

wait it is

#

zoom out

#

you'll see this

#

xD

#

hmm I'm bad at this dk

forest pecan
#

oh

#

my mac screen is too small

#

thats why lmao

static zealot
#

but the overflow-y doesn't work tho I see

forest pecan
#

yeah

static zealot
#

ah found something dk if it will help but try setting height: 100% for your body

#

I just found this on a stackoverflow post

forest pecan
#

lets see

static zealot
#

@forest pecan one question. how did you make the /PortfolioWebsite ? can you just do /ProjectName and it will display that project?

half harness
#

But if I try matching it it doesn't work

static zealot
#

what doesn't work?

half harness
#

System.out.println(Pattern.compile("\\_(\\d*?)\\_").matcher("org.bukkit.craftbukkit.v1_16_R3").group(0)); this

#

"No match found"

old wyvern
#

What do you want to match there?

ocean quartz
#

Read the warning Dkim

half harness
#

System.out.println(Pattern.compile("_(\\d*?)_").matcher("org.bukkit.craftbukkit.v1_16_R3").group(0));

#

new code

#

still won't work

ocean quartz
#

Also why *??

static zealot
#

\d* matches digits

half harness
static zealot
forest pecan
#

Yeah

static zealot
#

oh I didn't know

#

that's cool

ocean quartz
#

\d+ - 5 steps
\d*? - 10 steps

forest pecan
#

Mhm

#

\d**********?

static zealot
#

I wondered how you can listo ther pages

forest pecan
#

Yea

half harness
#

afk, pls ping me if u come up with an answer :))\

ocean quartz
static zealot
#

@half harness no explanation just pinging

static zealot
#

xD

ocean quartz
#

Pretty bad habit of asking for help and going afk "because someone will fix it for me" instead of trying to figure it out by yourself while someone else helps

onyx loom
#

๐ŸŒ

static zealot
#

@half harness idk what this is but _(\\d+?)_ it works xD

prisma wave
#

@Override
public void onEnable() {

}
static zealot
#

yes?

forest pecan
#

how to crash your server in only 70 bytes

#
class a extends JavaPlugin{@Override void onEnable(){System.exit(0);}}
old wyvern
#

๐Ÿฅฒ

forest pecan
#

i should use it on my life

#

what happens if I do

Thread.currentThread.stop();

irl

old wyvern
#

You escape the matrix

prisma wave
#

i love writing breaks for every single switch case SO MUCH

#

its really ENGAGING and THOUGHT PROVOKING

static zealot
#

for real tho

old wyvern
#

Go ๐Ÿ˜Œ

#

Explicit fall through

surreal quarry
#

why are you doing this to yourself mrister bitten

prisma wave
#

๐Ÿ˜ฅ

prisma wave
#

trying to resist the urge to give into lombok rn

surreal quarry
#

they won't let you use a superior language? smh

#

oh god

old wyvern
prisma wave
#

well

old wyvern
#

No

surreal quarry
#

hey its not your problem after you turn it over

old wyvern
#

No

prisma wave
#

i could probably persuade them to use kotlin

#

but

#

it's a framework so im not sure they'd be happy if i used a language they didnt know

old wyvern
#

Persuade them to use Elara

prisma wave
#

tempting

old wyvern
#

Very

surreal quarry
#

if you put them through lombok's hell they'll eventually learn that kotlin is the way

prisma wave
#

i just wrote about 30 classes just so i could have a single line loggingComponent.getLogger().warning

#

god

old wyvern
#

๐Ÿ˜‚

surreal quarry
#

rip

old wyvern
#

ENtERpriZe

prisma wave
surreal quarry
#

why lmfao

prisma wave
#

idk

#

overabstractions

#

and

surreal quarry
#

theres no way it had to be that complicated

prisma wave
#

well

#

i wanted to make it very extendable and very customisable

#

so

#
Logging:
  Prefixes:
    Info: "&a[Info]"
    Warn: "&c[Warning]"
    Error: "&4[Error]"
    Debug: "&9[Debug]"
  Disabled:
    - Debug
``` i made this
#

and then i needed a proper serialization toolkit

#

then i could add different logger abstractions that used that

#

and then it was ready ๐Ÿ™‚

#

wait no it's not

#

need another component to translate the colour codes ๐Ÿ™ƒ

surreal quarry
#

lol

half harness
surreal quarry
#
    "fuck you!".log()
}```
prisma wave
#

if only

#

no

#

this has to be 100% extendable

#

50 different interfaces

static zealot
#

I tried .find() and it seemed to return true but .group(0) just gave an error

old wyvern
#

Just import elara/logger

static zealot
#

whoever invented hcaptcha deserves nothing but good things in life /s

half harness
#

hmmm

prisma wave
#

word cannot express how much i enjoy writing @obtuse galeable or @NotNull before every single thing

#

it's so rewarding ๐Ÿ˜Œ

#

oops

half harness
#

lmao

forest pecan
#

lol

static zealot
#

because it says I am human

#

but also

static zealot
#

I am not

forest pecan
#

hes a bot

#

!!!

static zealot
#

but how the fuck is the captcha wrong? Like hCaptcha and its creator can both suck my balls

old wyvern
#

Have you tried the new shadow captcha?

static zealot
#

what even is that?

#

xD

old wyvern
#

Try to login on the minecraft website to find out ๐Ÿฅฒ

static zealot
#

ah yeah tried it xD

#

but still

old wyvern
#

I gave up at one point and used the audio option

static zealot
#

hcaptcha gives you 2 pages of things moving so its very blury

static zealot
#

and I completed it

#

like it says its fine

#

but also says captcha is wrong

#

so what the fuck do I do now? refresh and do it again

#

of course

forest pecan
old wyvern
#

๐Ÿ˜‚

forest pecan
#

lmao

half harness
#

๐Ÿ‘€ groupCount returns 1

static zealot
#

sometimes they give trains for example and they give a door of a train

#

but I have to guess its a train door

forest pecan
#

or the one

#

where there is a traffic light

#

thats like 0.11 cm

#

in the other box

#

and you are like

#

should i click that?

static zealot
#

well usually I do

#

and it works

#

like it most of the times accepts

#

both

forest pecan
#

oh not for me lmao

static zealot
#

not clicking and clicking

forest pecan
#

yea

static zealot
#

I have to guess that that behind the guy is a train

#

...

forest pecan
#

lmao

#

why do they also get like

#

people to stand in the middle of photos

#

lmao

static zealot
#

well all their photos are bad

#

like they're training the AI on very bad photos

#

I guess

#

googles captcha trained them enough to see most clear photos

#

now they need to take it one step further

#

btw if you didn't know captcha data is used to train AIs

forest pecan
#

oo

#

intersting

static zealot
#

like the page is white its 1:26 and I have to stare at a 10x10 pixels photo

#

to see if 2 of the 100 pixels is a train

#

I've literally spent last 15 minutes with this instead of doing what I wanted to. I even forgot what I was doing

forest pecan
#

lol

static zealot
#

ah yeah

#

domain for my github

half harness
#

I GOT IT

#

YESSSSSS

#

๐Ÿฅณ

#

Code: ```java
final Matcher matcher = Pattern.compile("(\d+?)").matcher("org.bukkit.craftbukkit.v1_16_R3");
matcher.find();
System.out.println(matcher.group(1));

static zealot
#

nicee

#

wait what's the difference?

half harness
#

I had to do find()

forest pecan
half harness
#

;-;

static zealot
#

.......

#

xD

forest pecan
#

what are you trying to do, extract the version?

half harness
#

๐Ÿ˜ซ

forest pecan
#

bruh lol

half harness
#

took me 3 hours

forest pecan
#

you can just do this

half harness
#

but i did it

static zealot
#

server#getVersion?

half harness
#

i need a number

static zealot
#

isn't that a thijng?

half harness
#

yes

forest pecan
#

this returns the v with it

half harness
#

;-;

forest pecan
#

but you can substring

#

Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];

#

v1_16_R3 is what ends up being outputted

half harness
#

but

#

i need the 16

#

from that

static zealot
#

VERSION = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];

forest pecan
#

Yea

static zealot
#

or

#

Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3].split("_")[1];

#

if you want to get the 16 I guess

forest pecan
#

idk what would you be using the 16 for tho

half harness
#

-_-

#

why didn't u tell me earlier

#

๐Ÿ˜ซ

#

actually

#

why didn't I think of that

#

or anyone else that saw my question :c

static zealot
#

well because they're not as smart xD

half harness
#

O_o

static zealot
#

now time to see why my domain isn't working

forest pecan
#

what the name

#

i wanna ddos

#

AHMhm

#

I meant

#

Visit and check out

static zealot
#

xD

half harness
prisma wave
#

ok

#

This is not a bug ๐Ÿ™‚ *

static zealot
#

xD

half harness
#

also

#

why does it say im on liquidbounce

#

every other time it says im on intellij

#

:c

static zealot
#

don't remember

#

xD

forest pecan
#

lmao i was like how do you know this shit

#

xD

static zealot
#

xD

#

ok what the hell

#

github recommends using the dig command to test but git bash doesn't even find it

forest pecan
#

lmao

prisma wave
#

im sure linux has it ๐Ÿ™‚

surreal quarry
static zealot
surreal quarry
#

a big black screen with a thing in the top left and right

static zealot
#

but why would they recommend it if it doesn't exist? ๐Ÿ˜ฆ

surreal quarry
static zealot
#

ok good

#

thanks

static zealot
#

well not in git bash

#

and that's what they recommend to use

#

well anyways I know its just for me

#

it will show up

#

eventually

surreal quarry
#

clear your cache

static zealot
#

no idea how

#

xD

#

1 sec

surreal quarry
#

open your chrome history

static zealot
#

I know how

#

lmao

surreal quarry
#

lol

static zealot
#

yeah not on chrome

surreal quarry
#

oh wack

#

well just google it for your browser

static zealot
#

yeah I know how

#

I just thought of something else lmao

#

I will switch to chrome tho I think

#

but I like Opera Gx a bit to much xD

half harness
#

edge > chrome

surreal quarry
#

im not using windows fingerguns

half harness
#

o

quiet sierra
#

netscape

half harness
#

btw is 2048 the limit for mob hp?

#

๐Ÿ˜”

quiet sierra
#

Might be

surreal quarry
#

possiblke

half harness
#

i can't put higher

surreal quarry
#

then yes

#

that is the limit

half harness
#

Health must be between 0 and 2048.0, but was 100000.0. (attribute base value: 100000.0)

surreal quarry
#

that is quite literally what the error is telling you

#

that 2048 is the max

half harness
#

lol

quiet sierra
#

2048 is a weird max

#

2^11

half harness
#

1024 hearts

quiet sierra
#

Its exponent is not a multiple of 2 even

surreal quarry
#

its probably something with like bytes

#

but also probably not

#

idk

quiet sierra
#

It's just a weird measurement

surreal quarry
#

yea

quiet sierra
#

They could've used Short like everywhere else

forest pecan
#

its 2048 so it doesnt fill your screen with red ass hearts

#

lmao

#

at that point a side of your screen is just hearts

surreal quarry
#

if you need higher dkim you can decrease the damage

quiet sierra
#

2048 does fill your sceren

#

What if you use NMS

forest pecan
#

uhhh

#

i dont think that is possible

surreal quarry
#

you could probably make the client think they have more hearts

half harness
forest pecan
#

yeah but thats kinda hacky. just make it so each heart value is worth more

#

by decreasing damage

#

or smthing

regal gale
#

Boundary break :)

quiet sierra
#

And that isn't hacky?

forest pecan
#

doesnt require nms

#

lmfao

#

just listen to attack event

#

set attack damage

#

lmao

#

not hacky at all

half harness
#

im so stupidddd

surreal quarry
#

wait

#

you're trying to cancel all damage

half harness
#

?

#

yes

#

BUT

surreal quarry
#

so you're first thought

#

was

half harness
#

lol

surreal quarry
#

lets give the entity 10,000 hearts

half harness
#

set max health

#

lmao

forest pecan
#

??

surreal quarry
#

instead of cancelling the damage

half harness
#

๐Ÿคท

surreal quarry
#

you decided to fill their whole fucking screen with red

#

big intelligence

forest pecan
#

lmao

half harness
#

lolll

regal gale
#

Big brain 101

#

Good job m8

#

Even though this exists.. event.setCancelled(true)

forest pecan
#

uhh

#

knockback

#

event.setcancelled gets rid of knockback and damage

#

but setdamage sets the damage to 0

half harness
#

i don't want kb

#

but i want the damage look

#

where the mob flashes red

#

and stuff

surreal quarry
#

mob.flashRed()

half harness
#

basically cancelling the event but with the red flash

surreal quarry
#

its a totally real method

#

that exists

half harness
#

d;spigot Player#flashRed

ruby craterBOT
#
boolean isLeashed()```
Description:

Returns whether the entity is currently leashed.

Returns:

whether the entity is leashed

half harness
#

๐Ÿคจ

regal gale
#

Yeah the docdex doesn't have it yet

surreal quarry
#

^

#

its coming soon to a DocDex near you

half harness
#

okay

#

i have an issue

#

nevermind i fixed it

#

actually i have another issue

surreal quarry
#

its because you aren't using flashRed

half harness
#

๐Ÿ™„

surreal quarry
#

i promise you no one is gonna scroll up to find it

#

just ask again

#

or link it

half harness
#

oh wait i didn't ask

#

I thought I did thonking

#

ok i fixed that issue

regal gale
#

Such madlad...

surreal quarry
#

you've sent like 13 messages about your issues

#

and didn't mention what the actual issue was once

half harness
#

oops

surreal quarry
#

lol

static zealot
#

idk why but I feel like my headphones have more bass out of nowhere

#

I'm at 30% youtube volume and 50% headphones volume and its fucking loud

#

well its middle of night but still

half harness
#

i always have my headphones volume at 36

#

not 35

#

36

#

don't ask why

static zealot
#

ah nvm I was wrong

surreal quarry
#

i always have my headphones volume at ||this is offtopic||

static zealot
#

for some reason its 100% on youtube side

#

nvm then

#

ah this is more like it

#

oh damn I clicked wrong channel xD

#

fuck I've cleared my cache and history and all that and still doesn't work ๐Ÿ˜ฆ

#

I hate this

half harness
#

should i put my super weird plugin into #showcase

#

๐Ÿคท

#

i dont want downvotes

static zealot
#

no

surreal quarry
#

democracy will decide

half harness
#

ok

static zealot
#

I will downvote xD

#

lmao jk

half harness
#

;-;

static zealot
#

put it

surreal quarry
#

i won't downvote unless its bad

static zealot
#

if you want to showcase it

half harness
#

uh

static zealot
#

I usually upvote bad stuff as well

#

so dw about my vote really

half harness
#

uh i have to open up mc without hacks then

surreal quarry
#

i dont think anyone would have noticed

static zealot
#

lmao

#

yeah they will

#

and they'll destory him

surreal quarry
#

i guess if you have a big overlay

static zealot
#

when they'll find out

half harness
surreal quarry
#

ah yes

#

i think i might have noticed

static zealot
#

Fucker Bed

#

love it

half harness
#

lmao

#

actually

#

i figured out how to disable the hud

#

ghost client ๐Ÿ‘€

surreal quarry
#

just post the showcase

#

i want to downvote it

#

jkjk

half harness
#

hmm

#

maybe when i put this plugin into actual use

#

๐Ÿคท

#

its a little useless right now

#

oh well

#

ill showcase

surreal quarry
#

nice

half harness
#

uh

#

anyone know how to make sharex not blurry?

static zealot
#

damn my back hurts

surreal quarry
#

idk dkim

#

i use obs\

half harness
#

obs makes my mc fps go to 8

surreal quarry
#

lol

half harness
#

hm

#

whats a good way to remove mobs

#

right now I make players remove by uuid

#

but thats sorta weird

static zealot
#

damn anyone can borrow me 100$ to buy a desk chair? XD or just borrow the chair

half harness
#

i have tabcompleters and a command to show what mob it is tho

surreal quarry
#

you could make them stand near it

#

get the closest mob to them

half harness
#

hmm

#

good idea

surreal quarry
#

destroy any evidence of it every existing with 20,000 megatons of explosives

#

or just kill it normally

#

up to you

half harness
#

๐Ÿ˜ณ

static zealot
#

nice visual code github integration works

half harness
distant sun
prisma wave
#

They didn't need to call us out like that ๐Ÿ˜ฉ

static zealot
#

hmm pulse kinda made me start working on websites again but I have no idea what to do xD

forest pecan
#

lmao

static zealot
#

xD

forest pecan
#

damn the gradient

onyx loom
#

pog

static zealot
#

it destroys my eyes

forest pecan
#

i like to do web dev

#

but the only issue is screen sizes

#

which is a fuckmess to deal with

#

you have to use like vs

#

vc

#

i forgot

#

the unit

#

you use which is relative to the screen

static zealot
#

flexboxes

#

or whatever

forest pecan
#

yeah

static zealot
regal gale
static zealot
#

thien my other chair broke finally and I now sit on a chair with no back

regal gale
#

F

static zealot
#

yeah

#

I've been using the other one for like 5 years now

#

xD

#

maybe a bit more

regal gale
#

Are the gradient there generated?

static zealot
#

yeah its css's inline-gradient and I just give it 3 rgb values

regal gale
#

Nice

static zealot
#

it gives you the css line directly

#

and you can preview it

#

which is nice

#

even tho I use a live server so it auto updates my website

regal gale
#

Fresh Java-made here ๐Ÿ‘€

static zealot
#

nice

#

I guess I should make a protofolio website and showcase absolutely nothing?

#

btw @forest pecan did you get the scrollbar to work?

regal gale
#

Lmao

forest pecan
#

i have to play my clarinet lmao

#

xD

#

and then i can get on my computer and code

#

the issue was that on my old mac screen the screen was too smal

#

so i didnt see the div

#

and i was like confused af

#

xD

static zealot
#

well its not just yours

#

mine as well

#

I just zoomed out a lot

#

there should be a scrollbar there. that's what the hieght:100% should fix

forest pecan
#

Ah

#

Yeah

static zealot
#

well gl playing your clarinet

#

also why clarinet?

onyx loom
#

i played that in primary school

static zealot
#

ah I thought he chose to play it. I never liked things you have to blow xD. but at the same time I've not really played any instruments at all

onyx loom
#

drums and piano are very cool

#

altho theyre like everyones goto instrument

prisma wave
#

I played violin for 5 years in high school

#

But I was shit

ocean quartz
#

I played violin for about 5 years as well, haven't touched it in over 10 lmao

prisma wave
#

nice lol

onyx loom
#

๐Ÿ˜‚

static zealot
#

@half harness is /remove all a thing? if not you should add that as well

forest pecan
static zealot
#

fontawesome is pretty nice. weird that I've not heard about it before

half harness
static zealot
#

ugh do it like this

#
UUID:
  world: world
  coords: ```
half harness
#

good idea

#

afk

static zealot
#

or even better yml UUID: world: world coords: x: y: z:

#

@half harness ^

#

hmm anyone here sing VS Code?

#

is there a way to change TAB to do 2 spaces instead of 4?

ocean quartz
#

Yeah

regal gale
#

Your opinion please? ๐Ÿ‘€

static zealot
#

I like it

#

Matt can you tell me where please?

ocean quartz
#

Go to settings and search for tab and you'll find tab size

static zealot
#

kk

ocean quartz
#

2 spaces ftw

regal gale
#

I prefer 4 lol

#

Easier to track down

ocean quartz
#

Java yes, html, css, js, nay

static zealot
#

oh found it. thank you very much

#

4 for html no

#

css js as well

ocean quartz
#

Yeah 2 for all those

regal gale
#

I still use 4 for js at least

#

HTML is 2

static zealot
#

omg this is so amazing

#

it automatically changed

#

the existent ones as well

half harness
static zealot
#

yeah I know

#

xD

half harness
#

hmm

static zealot
#

used yaml because it looks nice in discord

half harness
#

oh

#

the coords thing is kinda.. thonking

static zealot
#

hmm yeah maybe

#

its to many lines I guess

#

but a great idea came to mind

half harness
#

I think I should just make it int then just put coords: x, y, z

#

๐Ÿ‘€

static zealot
#

yeah

#

and use json

#

to put the full coord

half harness
#

JSON?

static zealot
#

on hover

half harness
#

๐Ÿ‘€

static zealot
#

yep

half harness
#

๐Ÿ‘€

#

ooo

static zealot
#

and on click they can copy it

half harness
#

fancy

#

FANCYY

static zealot
#

same for uuid

#

and whatever else you have there

half harness
#

hmm

#

the thing is

#

you can't directly copy to clipboard, so u have to (somehow) put in chat... what text should I put in hover ๐Ÿ‘€

#

"click to something"

static zealot
#

hmm can't you? oh I for some reason tought you can

#

just make it recommended in chat

#

as command

#

or whatever its called

half harness
#

wot

static zealot
#

like it opens the command terminal and pastes it there

half harness
#

yes

static zealot
#

and they can just ctrl+a and ctrl+c

half harness
#

but

#

what text should I put in hover

static zealot
#

ah yeah copy to clipboard is 1.15+ only

half harness
#

ah rip

#

I want to make it every version compatible ๐Ÿ˜

static zealot
#

but suggest text is good enough

#

I guess

half harness
#

I also just realized

static zealot
#

or even check version and do copy to clipboard for 1.15+

half harness
#

would it give an error if I have ZOMBIFIED_PIGLIN("ZombifiedPiglin", EntityType.ZOMBIFIED_PIGLIN); in my enum?

#

and I have a /spawn random

half harness
#

hmm

#

should I just make 10 enum classes

#

i can't think of anything else

#

also why do I only have 1 upvote in #showcase ๐Ÿ˜”

#

I can't use interfaces and implementations for enums ๐Ÿ˜ซ

#

rip

static zealot
#

well I guess its time to read 100 pages on what flexboxes are and how to use/make them

half harness
#

uhhh

static zealot
#

well actually idk if they're 100 xD

#

probably 1-2

#

oh and finally

#

I can see my website updated as well

#

jesus that took a while

half harness
#

this is bad

#

Already at 1.12 and so far every version had a mob addon

#

i dont like the way its going ๐Ÿ˜ซ

static zealot
#

xD

half harness
#

now im at 1.11

#

NOO

#

parrot

#

illusioner

#

don't even know what that is

static zealot
#

ugh idk

half harness
#

40 new mobs from 1.10 -> 1.16

static zealot
#

because 1.11 ?

half harness
static zealot
#

I wonder how many mobs are there

#

in 1.16.5

half harness
#

oh my the 41 mob difference is so big

#

i don't even like have to scroll

half harness
#

in 1.8?

#

๐Ÿคจ

obtuse gale
#

Oh well you're on your own with that mmlul

half harness
ocean quartz
#

You can still do it in 1.ass iirc

half harness
#

okay, 1.8 - 1.16

half harness
obtuse gale
#

1 ass

#

Yes

half harness
#

huh?

ocean quartz
half harness
#

what is 1.ass

ocean quartz
#

1.8

obtuse gale
half harness
#

wait

#

d;1.8 Bukkit#getEntity

ruby craterBOT
#
public static String getIp()```
Description:

Get the IP that this server is bound to, or empty string if not specified.

Returns:

the IP string that this server is bound to, otherwise empty string

half harness
#

;-;

ocean quartz
half harness
#

;-;;;;

#

how do I get entity from uuid in 1.8?

obtuse gale
#

Amazing

half harness
obtuse gale
#

Truly amazing

half harness
#
public Entity getEntityByUniqueId(UUID uniqueId) {
    for (World world : Bukkit.getWorlds()) {
        for (Entity entity : world.getEntities()) {
            if (entity.getUniqueId().equals(uniqueId))
                return entity;
         }
    }

    return null;
}
#

๐Ÿคข

#

wait

#

theres no craftworld documentation right?

#

xD

#

CraftWorld#getHandle().b(uuid)

ocean quartz
half harness
#

๐Ÿ˜…

#
public Entity getEntityByUniqueId(UUID uniqueId) {
    for (World world : Bukkit.getWorlds()) {
        for (Entity entity : world.getEntities()) {
            if (entity.getUniqueId().equals(uniqueId))
                return entity;
         }
    }

    return null;
}
```lag?
obtuse gale
half harness
#

whats a parallel stream?

obtuse gale
#

A stream

#

But runs in parallel

tranquil crane
#

does anyone else have IntelliJ constantly running out of memory even though you have like 4gb allocated to it?

obtuse gale
#

Eyup

half harness
#

my ij is using 1.3gb ram rn

tranquil crane
#

how exactly does it have high memory usage

#

yet still have 3.5/4gb free

obtuse gale
#

Because

tranquil crane
#

time to just throw 16gb at it and see how it reacts

half harness
#

would Bukkit#getEntity make a MethodNotFoundException?

obtuse gale
#

Does it exist?

half harness
#

nope

#

wait

#

whats the exception name

#

ClassNotFound?

obtuse gale
#

MethodNotFoundError?

half harness
#

thats not a class

half harness
#

ploogins ๐Ÿ™‚

#

NoSuchMethodError

tranquil crane
quiet depot
#

whats codeglance

tranquil crane
#

the sidebar thingy there

quiet depot
#

ah like sublime

tranquil crane
#

ye

quiet depot
#

try disabling that

tranquil crane
#

:(

obtuse gale
#

lol

quiet depot
#

my ij uses like 400 megs iirx

#

iirc*

tranquil crane
#

mine just freezes every once in a while for a solid minute and it's just obnoxious

quiet depot
#

oof

#

u using the latest ver?

tranquil crane
#

I'm not at the moment

#

this was happening on a build older than this one before I updated though

quiet depot
#

what jvm are you using?

tranquil crane
#

I jump between adoptopenjdk 8 and 13

#

currently on 8

quiet depot
#

what jvm is intellij using though

tranquil crane
#

uh one sec will have to go digging for that

obtuse gale
#

oh god kill me please

#

opened up an old project

#

my eyes hurt

tranquil crane
#

the gradle jvm is 1.8.0_242, not sure how to find the one intellij is using

quiet depot
#

fefo i cut times by half on docdex, found a super optimized jaro winkler impl

obtuse gale
#

:o

#

"found"? lol

#

what it do

half harness
#
        for (World world : Bukkit.getWorlds()) {
            for (Entity entity : world.getEntities()) {
                if (entity.getUniqueId().equals(uuid)) {
                    return entity;
                }
            }
        }
        return null;
```if I run this every tick, will it cause lag?
obtuse gale
#

most likely

quiet depot
#

thereโ€™s a few metrics in the jaro winkler algorithm

half harness
#

hm

obtuse gale
#

why would you

tranquil crane
#

it certainly wouldn't make your server feel very good

#

cause lag though? probably not

half harness
#

like tps drop

#

or

obtuse gale
#

maybe a couple at most

half harness
#

I can make it async and use callbacks

tranquil crane
#

making that async kind of sounds like a bad time

half harness
#

but for now ill make it sync and see the lag

#

oh

#

yes

#

true

#

hmm

#

what can I do ๐Ÿ˜ซ

quiet depot
#

common characters and transpositions

half harness
#

piggy give me some of your wisdom

#

oh

tranquil crane
#

what exactly is your overall goal here

half harness
#

:c

half harness
obtuse gale
#

why would you run that on every tick,,

quiet depot
#

typically most impls of the algorithm have separate loops for counting

#

this impl does it all in one

obtuse gale
#

why not just have your own uuid -> entity map or something

half harness
#

bc

quiet depot
#

additionally Iโ€™ve stopped using strings, only using ascii byte arrays now

half harness
#

a plugin might remove a mob

tranquil crane
#

do you have the uuid stored in a yaml file or something

half harness
#

yes...

#

but I don't have the entity stored in the file

obtuse gale
#

because memory-wise it wasn't that much kek

half harness
#

anyways ive been procastinating enough, I've got a big assignment due tmr morning that I haven't started

quiet depot
#

idk about itโ€™s effect on performance

tranquil crane
#

ChunkLoadEvent -> get entities matching the uuids, cache them, every like 5 seconds or so loop over the whole map and remove any where Entity#isValid is false

quiet depot
#

but it saves a bit of memory so whatever

obtuse gale
#

lol

half harness
#

maybe ill run that loop every 2 ticks

#

bc i need it as accurate as possible

obtuse gale
#

mate

half harness
#

OR

obtuse gale
#

make it every second

#

you'll lose nothing

half harness
#

hmm

#

ok ima close ij now

#

๐Ÿ˜ซ time to do some actual work

tranquil crane
#

you could make it 5 seconds and lose nothing, the chances of a player finding that mob within 5 seconds of it appearing in the world is so astronomically small

quiet depot
#

why not just listen for the spawn event

obtuse gale
#

it isn't called on chunk loading

quiet depot
#

o

tranquil crane
#

yes ^

#

well

#

actually no

#

if you listen to ChunkLoadEvent you can do Chunk#getEntities

obtuse gale
#

There is an event Reason or whatever but it literally states it never gets called and yeah it says you should do that instead ^^^

#

"You Can't Just Shoot A Hole Into The surface of Mars"

#

epic

tranquil crane
#

I mean

#

you can

tranquil crane
#

that's a big hole

static zealot
#

someone knows a cool font? I'm trying to have a big Blitz show on my page xD

#

and I'm bad at fonts I usually just use defaults

#

lmao

half harness
half harness
#

๐Ÿ˜„

#

but i meant compared to others

#

the one right above me has 10 more

forest pecan
#

im wondering

#

im trying to find a way

#

to display my github projects on my website

#

with some cool icon or smthing

#

im not sure how to tho

static zealot
#

hmm I'm pretty sure there are some tools for that but I don't remember who posted them

#

damn I am 99% sure I've seen something for that when I was searching for custom profile README things

forest pecan
#

Yeah

static zealot
#

I wonder if you can use the github-readme-stats repo to use on your own website not just github

#

because that does have extrapins option

forest pecan
#

Yea that would be cool

static zealot
#

idk how it would be done tho

forest pecan
#

Rip

static zealot
#

oh wait

#

its possible

#

says at bottom omg

half harness
#

uh

#

if my server lags

static zealot
half harness
#

the mob gets to move