#dev-general

1 messages · Page 604 of 1

frail glade
#

It applies paper on top of a vanilla jar

#

And does yarn mappings

brittle leaf
#

why is there no mention of this anywhere

wintry plinth
#

I’ve never used it but I want to, especially for private projects that utilise NMS but always had to use the silly names, so if you use a mapping, and let’s say #doThis, on compile it’ll change it in source to say #aV

obtuse gale
brittle leaf
#

im not in the paper discord

obtuse gale
#

gg/papermc

frail glade
brittle leaf
#

ive hit the limit for servers smh

distant sun
#

Thats cool, glare

frail glade
#

And then it compiles back into spigot stuff

#

So in your workspace you get to work with the real code

wintry plinth
#

When it compiles

frail glade
#

Yes

wintry plinth
#

That’s so cool

wintry plinth
#

Damn gonna have to use this for a private spoofer I have

#

Because for 1.8 to like 1.15 I had the obfuscated method names and variables

#

How far back do we have mappings for?

frail glade
#

Pretty sure you can only use this in 1.17+

#

Don't hold me to that though but I'm like 80% sure it's only newer versions.

wintry plinth
#

Oh haha, I mean would be fair enough because ancient versions are pointless to support, but would be dope haha

forest pecan
#

just dropped 1.16 support cause its easier to do ci with 1.17 + 1.18 😆

#

cause 1.16 only supports java 16, and 1.17/1.18 supports java 17, and i really wanted to upgrade anyways

oak raft
#

What looks nicer?

if (true)
{

} else 
{

}

or

if (true)
{

} 
else 
{

}
ocean quartz
#

None, allman 🤮

obtuse gale
#

Neither

#

if () {
} else {
}

oak raft
#

This is C++

eternal compass
#

Still ugly

oak raft
#

Ok well I'm not gonna use

if () {
} else {
}
``` in c++ tho
quiet depot
#

k&r or die

oak raft
quiet depot
#

actually turns out I'm not a k&r guy

#

1tbs

#

so 1tbs or die

oak raft
#

Well

#

🪦

ocean quartz
ocean quartz
#

Haskell be like

sick belfry
#

I personally use this:

if() {
/*coooooooooodeeeeeeeeee*/
} else {
/*coooooooooodeeeeeeeeee*/
}

Readable check
Doesnt hurt your eyes while seeing it check
You dont suffer while coding with it check

obtuse gale
#

I’m just more of a fan of compact code

prisma wave
#

Haskell style is ```cpp
if (expression)
{

} else 
{

}
#

I think

#

But it's hard to say because it doesn't have if / else blocks

wintry plinth
#

I do that but without indenting {} when doing PHP, just because it’s like the standard

#

But I don’t do it myself, formatter ftw

frail glade
#

Better option: don't use php

wintry plinth
#

Better option: Update DeluxeChat

frail glade
#

$500 I'll get out of bed and add in hex rn

wintry plinth
#

For $500 I’d be wanting to take over the project!! Lol

#

then I can release updates quicker than the current rate 😂

frail glade
#

Yugi when do you want to deploy sj to my repo or whatever? I ran into the gson bug and deployed an updated version to my repo to use it

frail glade
#

Idk what time it is for you rn

old wyvern
#

Its 2:45 for me rn

#

Pm

wintry plinth
#

Bloody hell

old wyvern
#

Studying for exams

wintry plinth
#

It’s only 9am here

old wyvern
#

I'll be free in the after noon

frail glade
#

Damn okay you're 11 hours ahead of me

old wyvern
#

Could you make a user/token for io.github.slimjar?

#

Then I can just push to that later

frail glade
#

Ye I can do that

old wyvern
#

And make a release removing the annoying mirror bs

#

Alrighty awesome

frail glade
#

Yeah cause I have like 99.8% update over 3 years on that puppy. Only goes down when OVH dies or I do an update

old wyvern
#

Awesome 💯 💯 💯

frail glade
#

I'll give it its own repo but then also make it show on the public repo so it can be grabbed from etiher.

old wyvern
#

Sure 💯

sly sonnet
#

While browsing spigotmc forums I found something stupid...

public void onQuit(PlayerQuitEvent e) {
    e.setCancelled(true);
}

You can't just restrict player from leaving your server, right? xd

frail glade
#

Correct

gleaming shuttle
#

how do i do reaction roles for like stuff fo ryour profile on a server

distant sun
#

if it was a signature, that's common wxip

gleaming shuttle
#

idk how to code or anything so

sly sonnet
distant sun
#

https://carl.gg has reaction roles

sly sonnet
#

xd

gleaming shuttle
#

thanks

#

prefixes for carl bot? whats that mean

#

stuff he says randomly?

sly sonnet
#

a prefix usually is for commands

gleaming shuttle
#

idk how or what to do with that

sly sonnet
#

imagine prefix !

#

!help

#

!role

#

it goes before command

#

it is needed for the bot to understand you want to execute a command

distant sun
#

something to indicate to the bot that your message is a command

gleaming shuttle
#

jeez now i know im actually dumb lol, i have no idea whats happenign

#

it says general, idk what to put, is it important to type anything there?

distant sun
#

that's only if you want a custom prefix

#

by default I think it is c!

wintry plinth
kindred hatch
#

😄

frail glade
#

Oooh good one write that down

sly sonnet
kindred hatch
#

Gianluca @GiansCode 13h
They don't want you to know this:
@EventHandler
public void onDDoS(DDoSEvent event) {
if (event.getDDoS().isActive()) {
event.setCancelled (true);
}
}
16
t214
103
ScottehBoeh @ BoehMod @Sc... 11h
But what if !event.isCancellable()? ;-;
21
3
Mitch
SK1ER
@Sk1er_
Replying to @ScottehBoeh @GiansCode and
@ev...

frail glade
#

Always an easy fix

wintry plinth
sly sonnet
#

unpopular opinion

wintry plinth
#

🤣

frail glade
#

Bahaha

#

Okay I chuckled

wintry plinth
#

Hahaha

frail glade
#

What'd you use to make that so fast? Just Photoshop?

wintry plinth
#

Had to hunt for the generator

sly sonnet
#

@jovial warren
[11:42:17 WARN]: Nag author(s): '[Ome_R]' of 'WildStacker' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
the fuck man?

frail glade
#

Ahh

wintry plinth
#

Was harder on mobile I had to screenshot

#

Save png didn’t work lmao

frail glade
#

Why are you tagging Bom for that and hwy did that make me laugh so hard

sly sonnet
#

i know, but why not?

frail glade
#

Idk 😂

#

I think I'm sleep deprived so that way too funny the way that came across in my mind

wintry plinth
#

Hahaha, got the giggles

#

As soon as you said write it down I was like Google Bart Simpson thing lmao

frail glade
#

Yeah

distant sun
remote goblet
frail glade
#

Today is the day to be mad a plugins that are obfuscated for literally no reason.

tranquil crane
#

every day is a good day to be mad at plugins that are obfuscated

hot hull
#

Every day is a good day to be mad

sly sonnet
#

mad cuz bad

hot hull
#

Why wouldn't it be Glare

wintry plinth
#

Not some crap player warp

#

Because that can be easily remade

hot hull
#

not 99%

#

100%

#

Small dick energy if you obfus your code

frail glade
#

My only reason to do that would be to minimize jar size lmao

hot hull
#

meh

frail glade
#

Spigot do be shafting us on jar size limits :(

wintry plinth
kindred hatch
#

ew

frail glade
#

I'd just throw MiniMOTD on and let it change my player count on the ping list

wintry plinth
#

But then they join and nobody

#

Like dudes do rn, people just join and then leave because there’s no one ingame

frail glade
#

Time to make live acting NPCs

wintry plinth
#

Yessss do it

jovial warren
sly sonnet
#

Uhh... Why didn't gradle create the /src directory?

#

Ah, nvm, when I clicked New -> Directory, it said I can create them

sterile python
#

Good morning guys, I just wanted to wish y’all a merry chrismast. I know Discord is filled with copied-pasted messages that people don’t read but I really wanted to write with my heart today. In this server I met some people with who I developed a big and deep relationship even if it was virtual. Thanks to all the staff for this server, it is the best furry roleplaying one.

gleaming shuttle
#

can someone give me a link to an easy good music bot

oak patrol
wintry plinth
#

Yeah, you didn’t know?

oak patrol
#

bruv i definitely didnt

wintry plinth
#

Have you not joined the #furry-talk channel?

oak patrol
#

no i didnt ;-;

#

lmao

wintry plinth
#

Wow, I’m shocked, it’s the rave

oak patrol
#

lol

sterile python
oak patrol
#

didnt know that tbh

#

;-;

wintry plinth
#

Learn something new, even better on Christmas Day

onyx loom
#

HelpChat, the land of the furries

sly sonnet
#

FurryChat

#

furrycube

ocean quartz
hot hull
#

kek

wintry plinth
#

LOL

wintry plinth
oak raft
distant sun
steel heart
oak raft
#

Hello

#

So I have a raspberry pi, and the plan is to ssh into it through my desktop. However, first I have to install the raspberry pi OS on it right?

cinder flare
#

i mean yeah you gotta run something on it

obtuse gale
#

Java development environment
Python env screenshot

cinder flare
#

dude what even is that lol

#

that shit looks ancient

oak raft
#

Uh

#

It stretched

#

But it’s fine now

obtuse gale
#

Also that looks like windows XP lol

oak raft
#

Blurry pic but the resolution’s fine now

#

So what I’m installing here is called Raspian iirc

cinder flare
#

it used to be called Raspbian

#

but they changed the name

oak raft
#

Oh ok

#

Well my screen’s black

#

I’m assuming that’s normal and I gotta wait?

#

Anyway I just realized I have a PiSwitch I forgot to install

#

Except it’s usb-c and the usb-c slot is taken by the power supply…

oak raft
cinder flare
#

wow im impressed people actually use the video of a raspi

#

i just ssh into those bad boys headless

oak raft
#

Headless?

cinder flare
#

No X server

#

just terminal

#

Runs a lot better too

oak raft
#

Oh that’s cool

#

Eh, my Pi seems to be done installing things. So do I need to shut it off and access it though my desktop now? Or is there something else I have to do with the pi

cinder flare
#

I mean you didn't even need more than ssh to update too

#

you can literally just drag and drop Raspbian onto a microSD card and slot it in and bam lol

oak raft
#

I only have one microsd card and that’s the one I put into the Pi tho 🥲

cinder flare
#

huh?

oak raft
#

This thing

#

Ok forget that imma just do it headless the way you mentioned

#

Do I need to turn the Pi off for this

oak raft
#

Nevermind it's all working

#

Do you guys recommend I use Putty or nah

steel heart
#

I like it, so yeah I’d recommend it (:

oak raft
#

Alright I'll take a look, however smile faces like this (: should be illegal

obtuse gale
#

@white breach Wasted my time, if you don't want to scammed, don't make plugins for him.

#

wasn't gonna

wintry plinth
#

LOL

remote goblet
#

we literally share the same mind rem

#

(: or adding a nose

#

is so noncy to me

obtuse gale
#

Hey i want to get all the Names out of a YAML file (in java). The YAML File is build like this:

Name of Location:
  ==:
  world:
  x: 
  y:
  z: 
  pitch:
  yaw:
Another Name of Location:
  ==:
  world:
  x: 
  y:
  z: 
  pitch:
  yaw:
``` so now i want to get all Name of Locations + their stuff below it so i can add it into a hashmap
remote goblet
#

by the way

#

you get save and get a location directly from FileConfiguration

#

FileConfiguration#getLocation("path")

obtuse gale
#

Thank you and i'll continuing to text in Development, sorry for posting here

obtuse gale
#

Anything else

brittle leaf
#

i figured out how to use nms for itemstack nbt and now have a way to store my custom encahntments on the item

obtuse gale
#

Good shit Luna proud of you

brittle leaf
#

ill move the code from my command to a seperate method so i can use it else where

#

but its a start

#

i was trying to figure out why it just wiped the nbt data of my item but figured it out eventually

dense dew
#

today i discovered

#

that commenting code
is really good thing

#

🤔

oak raft
obtuse gale
#

Hey

#

hi

#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @obtuse gale!

obtuse gale
#

from my server

#

so Can anyone Setup Reactions Emoji Verification

#

oh lmao

#

hey

#

where i can download deluxe chat for 1.18

wintry plinth
#

In the channel

#

Verify your spigot and you’ll get access

obtuse gale
#

i verified now

#

hmm, i verified my account The bot confirmed it but I still can't see the channels

#

ok now

#

thx

#

I still can't see the channel for deluxe chat

#

@chilly zenith

#

you'll have to wait until one of the admins updates the database

#

they should get online soon tho

wintry plinth
#

Yeah the bot here works where the quicker you ping the admins, the quicker you get the channel

Thats a joke, pls don’t, just be patient

oak raft
#

missing an E

#

rip

wintry plinth
#

E for Effort

obtuse gale
#

damn time to wait then

chilly zenith
obtuse gale
#

how long does it usually take for deluxechat verification? I've been waiting for hours, it's the only thing I'm missing

sick belfry
#

?database

compact perchBOT
#
FAQ Answer:

Have you linked your spigot account and don't have the premium plugin role yet?

Spigot doesn't allow us to check for buyers automatically, so we have to do it manually. This means that we can only update the buyers list in our system every 24-48 hours.

If you wish to see when the database was last updated, you can by using the /buyercheck status command.
Once the buyer's list has been updated for that plugin, you can recheck your roles by using the /spigot check command, then you should have the role, and will be able to view the respected plugin's channel!

obtuse gale
#

deluxe chat for 1.18, but I already saw that we have to wait

hallow crane
#

👍🏻

chilly zenith
onyx loom
#

=check @obtuse gale

compact perchBOT
#
Forced Spigot Purchases Check!

Successfully checked that user for new purchases!

onyx loom
obtuse gale
versed vortex
#

i can't get lunar client logo (next to name) or cosmetics to work on an offline server

I'm using Skins restorer and Velocity forwarding is set to NONE

#

does anyone know what I need to do?

#

and if I set the forwarding mode to bungeeguard, it shows lunar cosmetics, but doesn't render optifine cape or playerskin

cursive ginkgo
#

Hello, I've been trying to make an expansion using the wiki guide and spigot wiki guide

#

both of them are using placeholderhook expansion which are no longer supported for some reason

#

r placeholders via a PlaceholderHook class which is no longer supported!

#

i'm using this class btw extends PlaceholderExpansion

surreal quarry
versed vortex
#

oh thanks

#

i figured it out

#

i just needed to set spigot.yml bungeemode to true

sly sonnet
#

Is it ok to create a main class object of a plugin to get a non-static method? 3dthink

hot hull
#

It'll throw an error if you do that

compact perchBOT
sly sonnet
#

Ah, okay, forgot about that

#

thanks

hot hull
#

bruh 1.18 mc be hogging ram

wintry plinth
static zealot
#

A LOT

#

hope that helped

wintry plinth
#

What do you define a lot? Lmao

prisma wave
#

lots

#

more than a bit

wintry plinth
#

Well, usually speaking 8GB to MC is decent enough for good performance

static zealot
#

at this point I Feel like you're trolling heychazza#0001. So I'm going to stop entertaining you now

wintry plinth
#

Haha

hot hull
#

A fair bit

wintry plinth
#

Wtf

#

Ok yeah that’s insane

static zealot
#

LMAO

hot hull
#

Legit eating up anything that's left

wintry plinth
#

Max I go is 6-8GB, wouldn’t see going anywhere further, but holy shit you over here with 12gb

static zealot
wintry plinth
#

at this point I Feel like you're trolling BlitzOffline#0531. So I'm going to stop entertaining you now

hot hull
#

but where's the fun in limiting it

wintry plinth
#

I should offer a chunk loading service

#

“Need your blockgame server chunks loaded quickly?”

hot hull
#

Okay yea it was limited to 2 gigs but for some reason still using 12 lmao

#

It just crashed btw

wintry plinth
#

Oh memory leak

hot hull
#

Seems to be behaving properly after setting it to 7gb

obtuse gale
#

bruh lol

#

8 gb on 1.18 client mc?

#

you running pc melting shaders or something?

hot hull
#

No lol, default textures with optifine

obtuse gale
#

not you

#

Chazza

wintry plinth
#

Oh, no I don't run shaders, I just want my mc optimised enough so I can launch quick and get good fps

hot hull
#

oh

obtuse gale
#

I run 1.18 mc with 1 gb of ram

wintry plinth
#

oh wew

obtuse gale
#

120 fps no stutter

wintry plinth
#

dang

obtuse gale
#

didn't even know I was using 1 gb of ram

wintry plinth
#

tbh ive never tried shaders

hazy wing
wintry plinth
#

I do wonder how it'll run

#

I've been trying to benchmark my laptop

hazy wing
#

do u mean graphics card ram?

frail glade
#

I always forget that MMC defaults to like 512MB or 1GB of RAM on new version profiles so it's like weeks in before I realize I'm trying to shove everything on such little RAM.

obtuse gale
#

no?

hazy wing
#

bruh

hazy wing
#

120 fps in 1 gb ram

#

and in 1.18

obtuse gale
#

yes

wintry plinth
#

Whats graphics card ram? Kappa I don't have that

hazy wing
#

impossible

wintry plinth
#

#SoC lol

frail glade
#

Then I just change it to 8GB or whatever and I'm good.

obtuse gale
#

well its not? shrug

#

its probably impossible for a pc that is a toaster

frail glade
#

10G to the server, 8G to the client, that's how we roll.

wintry plinth
obtuse gale
#

I give a max of 2 gb of ram to my clients

wintry plinth
#

I have shared ram across gpu and cpu lol

hazy wing
#

whats your ram

wintry plinth
#

i have 32gb, but im on apple silicon

#

so its shared ram

#

so if gpu needs more, it allocates more to gpu, or cpu etc

frail glade
#

I have like 32 or 64 I can't remember

hazy wing
wintry plinth
#

64?! fucking hell

#

what a beast

hazy wing
#

64? why do u need 64 bruh

frail glade
#

But I literally only run dev environments so I could get away with 1 - 2 GB on the client and maybe 3GB on the server

obtuse gale
#

I use 2 gb of ram with shaders and a 256x256 texture pack

hazy wing
#

i guess its fine when people like LTT buy 2tb ram laptops its for content but why the fuck does a normal person need 64 gb ram

obtuse gale
#

but I also throw on like 7 mods + fabric

obtuse gale
#

I am not lol

#

I just don't have a shit top

wintry plinth
#

Im using fuck all ram rn

hazy wing
#

its so obvious man

frail glade
#

When you're running 5 instances of IntelliJ, Discord, 50 browser tabs, MC, Server, and other misc stuff, it adds up.

obtuse gale
#

You just have a potato for a pc

frail glade
#

I think it's 32 actually, I'd have to check.

obtuse gale
hazy wing
#

i legit have 8gb ram w/ 1gb vram with 30 fps on sildurs medium shaders

obtuse gale
#

well whatever lol

wintry plinth
#

o xd

hazy wing
#

fps in my default settings is 230

frail glade
#

Spring Boot go brrr with RAM

wintry plinth
#

Intellij/phpstorm boots up hella quick now

#

with optimisations

hazy wing
#

i get triggered when i see 10 tabs open

frail glade
#

Define quick

wintry plinth
#

a few secs

hazy wing
#

imagine spam clicking ctrl + t

wintry plinth
#

from boot to fully usable

frail glade
#

Yeah I turned off my AV scanning on anything related to work and it fixed 90% of my issues

#

When npm used to take 3 minutes kekwiggle

hazy wing
#

does anyone know javascript here

#

i just said it-

frail glade
#

On installs for projects

wintry plinth
#

o shit

#

i have that issue with my droplet

#

npm installs take foreverrr

frail glade
#

I turned off that and switched to yarn and it takes like 20 seconds now.

hazy wing
#

wdym, initializing projects or installing packages

wintry plinth
#

I had to change something to use a arm64 java

#

and now like nice boots

frail glade
#

Installing packages

hazy wing
frail glade
#

But IJ initializing used to take a bit too like index scanning until I turned off AV scanning on that

hazy wing
#

and never used it

frail glade
#

Someone once explained to me years ago that npm = spigot and yarn = paper in terms of speed

wintry plinth
#

Glare idk what kinda machine you use, but if you're running on ARM, defo apply this: https://mustafaakin.dev/posts/2021-12-08-running-intellij-idea-with-jdk17-for-better-render-performance/

hazy wing
#

i just use vsc for javascript and eclipse for java

#

vsc is pretty good to say the least, for javascript python

frail glade
#

Nah I'm amd I'm pretty sure

wintry plinth
#

I might have to try yarn

#

I heard its fast

hazy wing
#

yea

wintry plinth
#

It only installs stuff in 1 place vs like node shit in every project

hazy wing
#

thats incorrect afaik

#

it downloads it in node_modules as usual

wintry plinth
#

I thought yarn stores dependencies in 1 folder in your home folder

hazy wing
#

in the project folder

#

nah

#

i've used yarn alot before

#

python is really good for low end pcs because it stores packages in the home folder

wintry plinth
#

Oh I see why, it uses a home location to cache the dependency, so when you install it pulls from cache rather than downloading every time

hazy wing
#

and doesn't take out much ram on run

#

hm

frail glade
#

Yarn and NPM both have global folders for installs but yeah it's per-project on both of you don't specify global.

wintry plinth
#

What makes yarn faster then

hazy wing
frail glade
#

Cloudflare Pages go brrr

wintry plinth
#

I tried vercel lately, so good

static zealot
#

did you guys know that 1 kilogram of iron weighs the same as 2.20462 pounds of feathers?

wintry plinth
#

ok

hazy wing
wintry plinth
#

free

hazy wing
#

oh ok

static zealot
#

omg. I Completely forgot to make my own paste bin using cloudflare pages

wintry plinth
#

I use it for my personal site

hazy wing
#

u should also try railway.app, people have been using it alot these days

wintry plinth
#

choo choo

obtuse gale
timid drift
hazy wing
#

or similar forks with better functionalities

wintry plinth
#

Honestly, sqlite is amazing for most stuff

#

People look past it

hazy wing
#

yea true but its just as insecure as it can be, i mean its storing stuff in a semi-exposed file

wintry plinth
#

What do you mean?

hazy wing
#

i believe it makes a hidden file containing stuff

#

i dont know if its only for certain packages tho

wintry plinth
#

its a .sqlite file

hazy wing
#

oh yea

static zealot
#

lol

wintry plinth
#

but SQL isn't "insecure", its as insecure as you make it, you can do stuff like encrypt columns

#

With a key to decrypt

#

So your app can reverse it, but someone who gets in cant

hazy wing
#

its pretty bad if you have a complete open source project and you dont know how to use gitignore and you're storing very sensitive information in it

wintry plinth
#

Honestly, I'd say thats on them if they cant use a gitignore

hazy wing
#

yea same

#

most of the time the people are the one doing stuff they really dont want to and mess up badly

wintry plinth
#

Yeah lol

hazy wing
#

like pushing sqlite files into a huge project with alot of stars and forks and stuff

#

they get noticed pretty easily

wintry plinth
#

Or pushing env variables o.0

#

even worse 😂

hazy wing
#

damn

obtuse gale
#

lol

hazy wing
#

i used to use discord.js to make bots on discord, and there was 2 times where i accidentally pushed my env with the bot token on a public github repo
thankfully discord finds these type of stuff and regens the bot token as soon as possible and dm the bot owner

wintry plinth
#

Yeah, super cool

prisma wave
#

copilot lied to me pensivekevin

#

wtf

#

stupid celeste server

#

😔

obtuse gale
#

ok

#

idc

prisma wave
#

did it sound like i was asking for your opinion?

static zealot
#

ok. we still don't care

distant sun
#

TZ2339 reminds me of C++ errors

tranquil crane
prisma wave
#

sorry

obtuse gale
prisma wave
#

clearly

#

poor docker

#

it sounds so sad

sick belfry
#

how the fuck are this possible

#

no mods

#

just a resource pack

frail glade
#

Maps

obtuse gale
#

Magic

quiet depot
sick belfry
frail glade
#

Armor stand?

sick belfry
#

whaaaaaaaat

#

well now time to sleep

sly sonnet
#

that photo is from player's pov

#

if you look closely behind those images is end skybox

static zealot
#

and the first ones are armor stands

rancid gazelle
static zealot
rancid gazelle
static zealot
#

I believe you are only allowed to post one message per month and then in that you can post multiple services

#

hmm. need to check with cube.

rancid gazelle
#

K

static zealot
sly sonnet
sick belfry
#

should be there because is programming help related

obtuse gale
#

well ok

#

sorry then

eternal compass
#

there's a gradle task for testing plugins

barren storm
#

what do i use to compile plugins

#

i cant rmember the name

forest pecan
#

ive been waiting for like 2 months already

#

and still no github copilot

#

bruhhh

wintry plinth
#

LOL

gusty glen
#

one random sql question, does LIMIT affect performance in any way when the query is expected to delete 2 rows (from a friendship table)? Is worth to put LIMIT 2 at the end (to improve performance, if it does), or I'm better off just keeping it simple and not adding the limit (because it doesn't improve anything)?

wintry plinth
obtuse gale
#

i mean you add a limit whenever you need to limit something

wintry plinth
#

When I had 80mil rows, I would append LIMIT and only delete like 10k at a time

wintry plinth
gusty glen
obtuse gale
#

well, if you're doing e.g. DELETE ... WHERE col = 'val' and col is unique, I wouldn't be surprised if the sql engine optimized that away (given that it's unique)

#

if it wasn't then it's probably good to add a limit there

wintry plinth
#

^ especially with the correct indexes

obtuse gale
#

mhm

wintry plinth
#

God, going back to when I was dealing with 80-90mil rows was a nightmare

#

Especially when I used to batch delete every so often and had to throttle it so I didn’t strain DB

steel heart
#

I just let google excel lite handle the dirty work

obtuse gale
#

Microsoft Access

prisma wave
#

MongoDatabase

cinder flare
barren storm
#

theres binary tar.gz, binary zip, source tar.gz and source zip

wind patio
cinder flare
# wind patio

i like how two of those are minified javascript, one is a stock image of binary, and the last is a matrix program, none of which are even close to resembling an actual terminal lmao

potent nest
#

It’s a meme

cinder flare
#

yeah i got that

#

just kinda funny to post in a channel of developers

distant sun
#

I love how configurate has a CommentedConfigurationNode but it doesn't save comments 🥲

potent nest
#

configurate isn't YAML-specific, and the snakeyaml version currently used by configurate doesn't properly support comments iirc

distant sun
#

Makes sense

steel heart
#

Well yaml specs explicitly says that comments aren’t bound to any node or scalar or sth which makes it hard for libs to support all type of comments as they can be almost everywhere

distant sun
#

fuck yaml

steel heart
#

I wrote this in the spigot server not too long ago but hopefully it demonstrates it

#

just to demonstrate how messy it is:

#valid comment
--- #valid comment
#valid comment
Time: 2001-11-23 15:01:42 -5 #valid comment
#valid comment
User: ed #valid comment
#valid comment
Warning: #valid comment
#valid comment
  This is an error message #valid comment
#valid comment
  for the log file #valid comment
#valid comment
--- #valid comment
#valid comment
Time: 2001-11-23 15:02:31 -5 #valid comment
#valid comment
User: ed #valid comment
#valid comment
Warning: #valid comment
  A slightly different error #valid comment
#valid comment
  message. #valid comment
#valid comment
--- #valid comment
#valid comment
Date: 2001-11-23 15:03:17 -5 #valid comment
#valid comment
User: ed #valid comment
#valid comment
Fatal: #valid comment
#valid comment
  Unknown variable "bar" #valid comment
#valid comment
Stack: #valid comment
#valid comment
- file: TopClass.py #valid comment
#valid comment
  line: 23 #valid comment
#valid comment
  code: | #valid comment
#valid comment
    x = MoreObject("345\n") #valid comment
#valid comment
- file: MoreClass.py #valid comment
#valid comment
  line: 58 #valid comment
#valid comment
  code: |- #valid comment
#valid comment
    foo = bar #valid comment
#valid comment
distant sun
#

yup, it is stupid ngl

steel heart
#

😔

obtuse gale
young condor
#

If I add the 1.18(.1) to the build path in my IDE, it is normal that it is not registering anything (1.17 fully registers everything, and I am able to make a plugin enabler, unlike 1.18)?

potent nest
#

what does "registering anything" mean?

young condor
#

I mean

#

When you create the loader

#

(on your language its Main)

#

You need to make the class extend JavaPlugin

#

But using 1.18 it is not working.

#

I hope it is just because of 1.18 basically just changes the terrain, and does literally nothing else.

potent nest
#

I still don't understand where the actual issue is

#

like at compile time? at runtime?

young condor
#

Eeeeh----

#
package null.null.null;

public class Loader extends JavaPlugin() {

}

This one

prisma wave
#

🥴

potent nest
#

😵‍💫

young condor
#

'k then it looks like I am really bad at English .-.

young condor
#

(idk why I wrote register files xd)

crystal slate
#

Looking to hire a paid plugin dev, add me

prisma wave
#

no

potent nest
young condor
#

Using the build path stuff

#

'cause this is how I learned it.

potent nest
#

you should use maven or gradle

young condor
#

👀

#

Whewre

#

trhe

#

pistol

#

is

#

?

prisma wave
#

so true

young condor
#

I do not understand mavens.

#

The same with gradles.

#

I just wanna know if the problem is with the jar itself

potent nest
#

most likely yes

young condor
#

Then I guess I really should change to Paper... 🤔

potent nest
#

you just punish yourself if you don't use maven or gradle

young condor
#

Why I am punishing myself by not using them?

fallow thorn
#

Guys i need help again

#

How my object is an object

prisma wave
#

yep

static zealot
#

@cinder flare. Its here!

#

now time to spend another 2 months not updating it

fallow thorn
#

Do you know object is??? ! @prisma wave

ocean quartz
#

BlitzJoin

fallow thorn
#

i dont extend it

fallow thorn
#

Why

ocean quartz
#

Every class extends object

fallow thorn
#

Why i cant see

static zealot
ocean quartz
#

Nice

#

Do it

prisma wave
fallow thorn
#

if i extend other object i extend object?

prisma wave
#

yes

fallow thorn
#

F#?!?

#

what is it

#

@prisma wave but i dont have it in code

prisma wave
#

ok

fallow thorn
#

i still extend it????

#

how to remove

static zealot
#

holy shit

#

holly shit*

fallow thorn
#

Help pls

static zealot
#

can't find the meme

ocean quartz
prisma wave
fallow thorn
#

interface can

#

i think

static zealot
#

Java is designed so that every class extends the class Object - either directly or indirectly.

prisma wave
fallow thorn
#

hmm

obtuse gale
#

Interfaces also extend Object

static zealot
#

google. imagine using it

fallow thorn
#

i am bad at google

ocean quartz
#

The question is, why do you want to remove it? lol

fallow thorn
#

id know

ocean quartz
fallow thorn
#

learning java

obtuse gale
#

Every class extends Object

#

That's all you need to know

fallow thorn
#

ok thanks

forest pecan
#

Object doesn't extend Object

#

(:

#

Gottem

static zealot
fallow thorn
#

so int extend object?

forest pecan
#

thats called a primitive

#

primitives don't extend Object

fallow thorn
#

hmmmmmmmm

forest pecan
#

but the wrapper types do

fallow thorn
#

wrapper?

static zealot
#

Integer

#

for example

forest pecan
#

Integer, Long, etc

fallow thorn
#

Oooooooo

#

ok thanks thanks

#

i make anticheat

obtuse gale
#

Expect to finish it three years from now

fallow thorn
#

why

obtuse gale
#

You don't learn Java in an afternoon, let alone make a whole anti-cheat

fallow thorn
#

i learn java and make anticheat

forest pecan
#

you don't know what int is, and you trying to make anticheat?

#

anticheats require a good math knowledge too

#

and a shit load of patience to look at raw values

#

sooo, good luck

fallow thorn
#

ok

#

hmm

#

its not open

#

why

#

ok

prisma wave
#

lol

#

are u trolling

fallow thorn
#

anticheat yes learn java no

old wyvern
#

Yes, I am trolling

#

😌

fallow thorn
#

need to learn java

old wyvern
#

Ridiculous

fallow thorn
#

but i tried anticheat

old wyvern
#

Object Oriented my ass

fallow thorn
#

@prisma wave @prisma wave

old wyvern
#

You're on his naughty list

#

No gifts for you

fallow thorn
#

why

#

=C

old wyvern
forest pecan
#

Only wrapper types

old wyvern
#

Ikr!!

#

Fuck objects

forest pecan
#

Now we can do Integer num = new Integer(5); num = null;

#

mmmm

#

i love null

#

mmmm

fallow thorn
#

so primitive dont extend and others object extend object

old wyvern
old wyvern
fallow thorn
#

why

old wyvern
#

Because they arent?

#

They arent reference types

#

they live on the stack

#

No object properties

fallow thorn
#

wierd

#

java is wierd

old wyvern
#

Thank you!

prisma wave
#

SO TRUE

old wyvern
#

IKR!

prisma wave
#

learn haskell if u wanna make an anticheat

#

not java

old wyvern
#

^

fallow thorn
#

i dont extend object and object still extend object

old wyvern
#

Its very easy

prisma wave
#

extend 🤢

fallow thorn
#

bad java

prisma wave
#

so true

fallow thorn
#

i should learn haskell?

old wyvern
#
import Minecraft.Anticheat (isHacking)
onAnyEvent:: Event -> Maybe Banned
onAnyEvent e = if isHacking e then Just $ ban (player e) else Nothing
old wyvern
fallow thorn
#

is haskel a programmeraring langauge?

old wyvern
#

Its a neccessity

old wyvern
hot hull
#

It's a kind of soup

fallow thorn
#

hmmmm

old wyvern
#

You wake up at 6 and perform the six-sage chakra meditation

fallow thorn
#

but minecraft owns java

old wyvern
#

After which you turn into a Lambda Sage

old wyvern
#

Silly me

fallow thorn
#

yes

#

ok

old wyvern
#

Some say the first java compiler was written from redstone

#

Then it formed sentience

#

And moved out

fallow thorn
#

hmmmmmm

#

realy

old wyvern
#

Absolutely!

fallow thorn
#

ok

prisma wave
#

ban has side effects

old wyvern
fallow thorn
#

😄

old wyvern
#

returned a BannedPlayer

prisma wave
#

🥴

old wyvern
#

it doesnt actually ban

prisma wave
#

oh ok

old wyvern
#

Side effects bad!

prisma wave
#

true...

fallow thorn
#

side effect????????

forest pecan
#

anyone here know xgo from golang?

old wyvern
prisma wave
#

xjoe

old wyvern
#

Some functions give you alergic bronchitis

fallow thorn
#

xgo?

old wyvern
#

Hence side effects

forest pecan
fallow thorn
#

hmmmm

forest pecan
#

cross compiler with docker

fallow thorn
#

ok

forest pecan
#

for golang

prisma wave
#

PURE functions

fallow thorn
#

is function method

#

or no?!?

#

@prisma wave

#

@old wyvern

#

@forest pecan

forest pecan
#

bruh

#

why are you pinging

fallow thorn
#

sory

#

need answer

#

hmm

prisma wave
#

@everyone

loud gyroBOT
#

The 'everyone' mention is disabled so you can't annoy people.

forest pecan
#

In short, a pure function is a function that doesn't have side effects. And side effects usually come from mutating variables that are not within its own scope (for example, mutating method parameters), causing possible unintended side effects outside the method to occur

#

very shitty explanation

fallow thorn
#

hmm

#

is method function?????????

#

@prisma wave

forest pecan
#

dude

fallow thorn
#

yes?

forest pecan
#

are you asking to get banned

#

Lmao

#

stop pinging

fallow thorn
#

sort

#

=C

#

sorry

#

ok bye

static zealot
#

BYE

fallow thorn
#

@prisma wave

prisma wave
#

yeah dude

#

what7s up

fallow thorn
#

cant use haskel and minecraft

prisma wave
#

you can

#

trust me

fallow thorn
#

girl in paper tell not

#

paper discord

prisma wave
#

damn

#

who

#

let me speak to her

fallow thorn
#

manya

#

pls do

hot hull
#

girl clearly don't know what she talking about

barren storm
#

what maven do i intstall

steel heart
#

You install the one called gradle

#

mmyes (:

forest pecan
#

Lol

barren storm
steel heart
#

how come not gradle if I must ask

static zealot
#

I have the answer to that cow

#

1 sec

barren storm
#

and im jus tryna compile a few plugins

steel heart
#

Well I’m honored and indulged to tell you

#

Gradle is basically maven

#

Just more concise

#

And better

#

And faster

static zealot
steel heart
#

And gooder

static zealot
#

piggy has it all. kek

steel heart
#

And if you use gradle you’re one of us

#

how cool isn’t that

barren storm
#

so if i already installed maven then no point in gradle

static zealot
#

well yes.

steel heart
#

Yea point in gradle

static zealot
#

read the second link

#

its faster

#

and its better

barren storm
#

hmmm

steel heart
#

mmmhm

barren storm
#

maven never workin bruh

steel heart
#

True that

#

Hence gradle

barren storm
#

i got build failure

#

but me not know why

#

how do i figure out why my build is failing

#

and how to fix it

#

org.bukkit.Location cannot be converted to java.lang.String

#

main error im seeing

steel heart
#

Where in your code is that

barren storm
#

i'm not compiling my own code, i'm trying to compile a public source

#

i have no experience w this kind of stuff whatsoever, but when i try to compile it it's giving me an error and the build fails

steel heart
#

Hmm

#

Looks like the public source has incorrect code grammatically/syntactically speaking

#

Can you send the class where the issue occurs?

barren storm
#

sorry, class?

#

idk what that means lol

#

this is what happens when i start the compile

ocean quartz
#

epicspawners

barren storm
#

Yes.

ocean quartz
#

Iirc you can't compile it because songodacore is private

barren storm
#

that must be new

#

compiled it less than 6m ago

#

just don't have it anymore

ocean quartz
#

Hmm i guess it's no longer private, but it used to be

barren storm
#

so if it's not private then what could the issue with me compiling it be?

ocean quartz
#

[ERROR] /C:/Users/benro/Desktop/EpicSpawners-master/src/main/java/com/songoda/epicspawners/EpicSpawners.java:[225,59] incompatible types: org.bukkit.Location cannot be converted to java.lang.String
[ERROR] /C:/Users/benro/Desktop/EpicSpawners-master/src/main/java/com/songoda/epicspawners/EpicSpawners.java:[237,24] no suitable method found for updateHologram(org.bukkit.Location,java.lang.String)

barren storm
#

I'm not really exactly sure what that means but I did see it.

wintry plinth
#

It was always public but they made it near impossible to compile, it would depend on so much other stuff

#

and they don't provide support as its "internal"

barren storm
#

so i'm not gonna have a lot of luck compiling it you mean?

ocean quartz
barren storm
#

even if i knew how, i wouldn't.

#

so no.

ocean quartz
#

No idea then

barren storm
#

weird.

wintry plinth
#

Maybe its changed since then

barren storm
#

i did it aswell not too long ago, and it never had any issues.

#

i was looking forward to compiling it

#

fingers crossed that somebody can help!

brittle leaf
#

due to the rather poor reputation of songoda and any of its plugins that use it i would recommend wildstacker over epicspawners.

prisma wave
#

MongoDatabase

obtuse gale
#

MongoDatabase

prisma wave
#

Real ones know

obtuse gale
#

relieved

barren storm
#

i know a lot of people dislike their plugins but to be honest i like this specific one a lot and it never posed as a problem for me

brittle leaf
#

if your wanting to compile a spawner plugin that is, if your hooking into it then do the major ones

barren storm
#

if i have no other choice then to pay for epicspawners then ill use something else

#

but if i can compile it then i'd like to do that

ocean quartz
#

RoseStacker 😌

brittle leaf
#

ive seen mentions of rosestacker but not used it myself, im assuming its good?

ocean quartz
#

Yes sir

#

Really good dev

barren storm
#

Ooh wow.

obtuse gale
#

Nicole MiyanoLove

ocean quartz
brittle leaf
#

it uses persistentdatacontainers over nms, interesting

barren storm
#

That actually looks really clean and well done.

#

and it's not just spawners, it stacks multiple things.

#

how does it perform vs epicspawners?

prisma wave
#

Nicole on deez nuts

brittle leaf
#

id assume alot better

barren storm
#

ive heard epicspawners has performance issues for some but i never had an issue

#

but if rosestacker has no complaints like that then 💯

steel heart
#

Epic spawners did have some issues with performance when I used it but that was when like 1.8 was the real shit but since there were no alternatives we used it, presumably fixed now

hot hull
brittle leaf
wintry plinth
static zealot
#

MongoDatabase

prisma wave
#

not a real one smh

#

That word used to be blocked

#

Because it was similar to songoda

#

Which was also blocked

wintry plinth
#

blocked on spigot?

prisma wave
#

no in here

wintry plinth
#

oh LOL

prisma wave
#

You weren't allowed to say songoda for a period of time

wintry plinth
#

ye I left in like 2018 i think

#

was here from 2014/2015 (whenever helpchat discord became a thing after skype), stayed until 2018 or 2019, then didn't come back until early this year

static zealot
#

when you leaving again?

brittle leaf
#

ongoDa

wintry plinth
brittle leaf
#

regex be like: banned

static zealot
wintry plinth
static zealot
#

(:

ocean quartz
#

Ü

static zealot
#

∀W∀W ƎOſ

steel heart
#

UwU

barren storm
#

do yk

ocean quartz
#

Idk, sorry

deft aurora
forest pecan
static zealot
#

yo. anyone using flameshot? when you use their flameshot gui command how do you actually take the screenshot after you finish adding text or whatever you do? do you just press enter? bcz for some reason My keybind got changed to ctrl + c to save it. And I can't set it back to enter. It just removes it when I set it to enter

wintry plinth
#

Prob don’t

static zealot
#

if I have a .flatpak app how do I run it? Bcz turns out I was quite a bit outdated. kek.

barren storm
#

is the TAB plugin premium thingy changed inthe config or in some sort of code?

#

wc

static zealot
#

I believe they're both free now and you pay if you want to help the creator

barren storm
#

hm, i had thought if you wanted the premium version it was paid and non-premium was free

static zealot
#

used to be like that

#

but it changed

barren storm
#

gotcha

#

thanks!

static zealot
#

heyyyy it works

#

well. it doesnt save the capture to my pictures folder anymore but it at least copies it to my clipboard

#

and not its also saved

#

cool

prisma wave
#

oh hey thats me!

onyx loom
#

discord mobile

static zealot
#

ugh

onyx loom
#

fake news

#

not me

static zealot
#

I agree

#

u guys probably seen this already but it just randomly showed in my feed and I think its pretty nice https://www.youtube.com/watch?v=Igh-vBI2LXc

There are no hard distinctions between what is folder and what is code, nor between what is language and what is object. A thing is not necessarily either true or false; it can be both true and false.

LINKS:
GitHub repo for folders https://github.com/SinaKhalili/Folders.py
Original Folders blog post http://danieltemkin.com/Esolangs/Folders/
On ...

▶ Play video
obtuse gale
#

LOL, bukkit itself does

distant sun
#

d;jdk Files#copy

ruby craterBOT
#
public static Path copy(Path source, Path target, CopyOption... options)
throws FileAlreadyExistsException, IOException, SecurityException, UnsupportedOperationException, DirectoryNotEmptyException```
Description:

Copy a file to a target file.

This method copies a file to the target file with the options parameter specifying how the copy is performed. By default, the copy fails if the target file already exists or is a symbolic link, except if the source and target are the same file, in which case the method completes without copying the file. File attributes are not required to be copied to the target file. If symbolic links are supported, and the file is a symbolic link, then the final target of the link is copied. If the file is a directory then it creates an empty directory in the target location (entries in the directory are not copied). This method can be used with the walkFileTree method to copy a directory and all entries in the directory, or an entire file-tree where required.

The options...

This description has been shortened as it was too long.

Parameters:

source - the path to the file to copy
target - the path to the target file (may be associated with a different provider to the source path)
options - options specifying how the copy should be done

Throws:

FileAlreadyExistsException - if the target file exists but cannot be replaced because the REPLACE_EXISTING option is not specified (optional specific exception)
IOException - if an I/O error occurs
SecurityException - In the case of the default provider, and a security manager is installed, the checkRead method is invoked to check read access to the source file, the checkWrite is invoked to check write access to the target file. If a symbolic link is copied the security manager is invoked to check LinkPermission("symbolic").
UnsupportedOperationException - if the array contains a copy option that is not supported
DirectoryNotEmptyException - the REPLACE_EXISTING option is specified but the file cannot be replaced because it is a non-empty directory (optional specific exception)

Returns:

the path to the target file

distant sun
#

🤡

static zealot
#

kek

obtuse gale
#

I mean that class was added in 2011

#

credit where it's due

sly sonnet
distant sun
#

and java 7 was released 2 months after, on July 2011 🤣

obtuse gale
static zealot
#

yes. so bukkit better

#

clearly

obtuse gale
#

if they only had waited two months lol

static zealot
#

XD

distant sun
#

I love how he didn't even updated his code to use nio or whatever

static zealot
#

I Love Water

safe lily
#

I have a design structure related question:
So I am currently working on a Npc system, and I have a NpcRegistry (Hashmap with a uuid key and a Npc class value), where Npcs are being added to when you create them, so I can properly make changes to them at runtime.

Now it comes to the entity part.
I want every npc (which is a fake player, send to joining players through packets) to have a second line of a name, displayed by an empty armorstand. To keep track of both the npc as well as the hologram/armorstand entity, I have to store them somewhere.

Would you have a Hashmap, where all the corresponding entities to the Npc are being stored under its uuid, or..? Ideas and tipps are very much appreciated 🙂

sick belfry
safe lily
#

then I'd need to store the entity uuid of the NPC as well

#

..and Merry Starmas to you as well!

sick belfry
#

havent played with them for a while but it would avoid some errors and stuff maybe?

safe lily
#

My thoughts were, that if you don’t send the packets to the players anymore, the NPCs aren’t there either

sick belfry
#

yeah