#dev-general

1 messages ยท Page 321 of 1

obtuse gale
#

I mean I don't know how Java will treat that, because you don't have signed/unsigned so fuck that

#

It also shifts the sign bit

#

I think

#

Or maybe it's a rotate

#

Idk

#

But it does the job surely

half harness
#

lol

jovial warren
#

unsigned shift fills the leftmost bits with 0's instead of filling it with the sign bit

#

only works for right shifts ofc

obtuse gale
#

Yeah meaning it shifts the sign bit too

#

Cool

#

Does Java have a rotate left/right?

jovial warren
#

>>>

#

that's an unsigned right shift

#

then >> is a signed right shift

#

in Kotlin, we don't have the operators, so we use ushr and shr respectively

obtuse gale
#

It does not have a rotate

jovial warren
#

what's a rotate?

obtuse gale
#

It rotates the bits, instead of shifting and filling with 0s it stacks the bits you're shifting out in the other end

#

Like

jovial warren
#

rotates the bits? you mean a bitwise OR?

#

or a complement (which flips all the bits iirc)

obtuse gale
#
00011010
00001101
10000110
01000011
10100001
11010000
jovial warren
#

nah we don't have that

obtuse gale
#

That's an unsigned rotate

#

What a shame such low level instructions do that natively but you have to design that crap yourself on higher level languages

#

I mean not like you use it everyday

#

Lmao

jovial warren
obtuse gale
#

O

half harness
#

fefO

obtuse gale
#

d;jdk Integer#rotateLeft(int)

ruby craterBOT
#
public static int rotateLeft(intย i, intย distance)```
Description:

Returns the value obtained by rotating the two's complement binary representation of the specified int value left by the specified number of bits. (Bits shifted out of the left hand, or high-order, side reenter on the right, or low-order.)

Note that left rotation with a negative distance is equivalent to right rotation: rotateLeft(val, -distance) == rotateRight(val, distance). Note also that rotation by any multiple of 32 is a no-op, so all but the last five bits of the rotation distance can be ignored, even if the distance is negative: rotateLeft(val, distance) == rotateLeft(val, distance & 0x1F).

Parameters:

distance - the number of bit positions to rotate left
i - the value whose bits are to be rotated left

Returns:

the value obtained by rotating the two's complement binary representation of the specified int value left by the specified number of bits.

obtuse gale
#

Ooo

#

Not native though

#

Sadge

half harness
#

wdym

obtuse gale
#

A native method is one that is implemented in C/C++ and communicates with the JVM using JNI (Java Native Interface or something like that)

#

That gives you a lower level of control over what you can do

jovial warren
#

iirc most JDK native code is implemented directly, since JNI is trash

obtuse gale
#

It's a bit odd to work with, not very comfortable

#

But yeah I mean it makes sense that JDK native methods are implemented directly

jovial warren
#

from what I've heard, JNI is also slow and inefficient

#

to the point that it basically defeats the purpose of using native stuff

obtuse gale
#

Heard that too but super vaguely; I get it that the transition can be somewhat "expensive" but it's essentially C/C++ code that's running, what happens between the entry and exit points has no weird ass Java slowdowns (unless you're communicating with the JVM)

#

It would need to be a really heavy task (or something Java really sucks at doing) for it to be worth it

jovial warren
#

heard JNA is better than JNI

obtuse gale
#

What's that?

jovial warren
jovial warren
#

don't know why people still use Ant

hot hull
obtuse gale
#

From what I read in the readme that is

lunar cypress
#

Yes

jovial warren
#

ah

lunar cypress
#

It can generate jni bindings

hot hull
#

Someone please :sad:

jovial warren
#

gimme a bloody minute

hot hull
#

latest paper fucked up the logger sadge

#

all errors are now white kek

jovial warren
#

#43

#

opening a GUI async

#

very nice

surreal quarry
obtuse gale
hot hull
#

Nah it's not being opened async Bardy

#

it's being populated async, and opened sync

jovial warren
#

ah right

hot hull
#

You can't open a gui async :p

jovial warren
#

also, arrow code

hot hull
#

bruh how is that arrow code

surreal quarry
#

try

  1. adding an item you make manually (not in the config)
  2. Populating in sync
hot hull
#

There's legit none that can be changed ;C

#

I'll try that James

jovial warren
hot hull
#

Yea but there's nothing that can be changed, unless I extrapolate the switch

jovial warren
#

I remember my friend used to do that with AnyDesk lol

jovial warren
hot hull
#

Yea non config items work fine

#

bruh if this is paper fucking up imma be mad

jovial warren
#

check the config items are 1. being parsed correctly and 2. being retrieved correctly

hot hull
#

Cause latest version has some items

#

Yea I've already debugged all that and it showed correctly

#

Hence my confusion

ocean quartz
#

What does the Item.getItemStack return?

#

Can you print its value and show me?

hot hull
#

item stack serialized from the section, already debugged that and returns proper values, sec tho

#

I'm literally so fucking mad rn

#

all good, I'm just a complete retard

onyx loom
#

we know

hot hull
#

Why must you hurt me this way

surreal quarry
#

lol

half harness
#

or use Objects#nonNull

hot hull
#

Leave

half harness
#

what

#

i thought streams were good

#

no?

hot hull
#

Not applicable in this case (nicelly)

half harness
#

:(

half harness
onyx loom
#

die

hot hull
#

Leave

half harness
#

WHY

hot hull
#

A simple
@SuppressWarnings("ConstantConditions")

#

is enough

half harness
#

lol

ocean quartz
half harness
#

wdym

ocean quartz
#

It's much slower than a normal for

half harness
#

ok

hot hull
shrewd minnow
#

hello, a question

hot hull
#

Hello, ask away

shrewd minnow
#

i'm trying to create some custom placeholders

#

they are working if i do /papi parse

#

but they don't from the langfile

onyx loom
#

are u parsing the placeholders with PlaceholderAPI.setPlaceholders?

shrewd minnow
#

no

surreal quarry
#

you need to be

#

thats how placeholders work

shrewd minnow
#

yeah i tought about it but i understood from the wiki that you have to parse every langfile call, right?

hot hull
#

@obtuse gale I have 2 milka's with whole walnuts ๐Ÿ˜ป

shrewd minnow
#

soo

surreal quarry
hot hull
#

Because you're the only one in here who knows what a Milka is

surreal quarry
#

@obtuse gale

shrewd minnow
#

if i have 2 or more placeholders in one string

surreal quarry
#

it will work fine

half harness
shrewd minnow
#

oh, ok

half harness
#

I have a util method that parses placeholders and applys color codes in one method ๐Ÿ™‚

#

its good idea

surreal quarry
#

Wow ๐Ÿ™‚

onyx loom
#

!!!

surreal quarry
#

That's a great idea! ๐Ÿ™‚

half harness
half harness
onyx loom
#

but is it an extension function

#

didnt think so

half harness
#

what is that

onyx loom
ocean quartz
#

It's the future

half harness
surreal quarry
#
fun String.colorize(player: Player? = null) = ChatColor.translateblah('&', PlaceholderAPI.setPlaceholders(this, player))```
ocean quartz
#

"&cTest string %placeholder%".parse()

half harness
#

translateblah lol

surreal quarry
#

yes

#

that is also an extension

#

if you want it to be

ocean quartz
#

I love the code blocks on mobile the colors look so good

surreal quarry
#

lmao

static zealot
#

can't tell if that's sarcasm or not. time to check how it looks on phone

surreal quarry
#

theres no color

static zealot
#

oh

ocean quartz
#

Not sarcasm

surreal quarry
#

wait what

static zealot
#

I really don't use discord on my phone

onyx loom
surreal quarry
#

theres not color on mobile?

#

whattt

ocean quartz
onyx loom
static zealot
#

it looks good

#

on phone

surreal quarry
#

apple trash

ocean quartz
#

Git gud

#

Get a decent phone next fingerguns

surreal quarry
#

๐Ÿฅฒ

static zealot
#

iphone ๐Ÿคฎ

#

jk I don't hate iphones. I don't love them either

#

Man Server.pro waiting time has really gone up by a lot

onyx loom
#

its shite

static zealot
#

well its free... xD

#

I don't care if its shit because its free

onyx loom
#

localhost >

static zealot
#

yeah...

ocean quartz
#

Iphones are good phones, i just don't like how apple does shit

static zealot
#

about that

#

my laptop barely runs MC alone

onyx loom
#

well then

static zealot
#

pretty sure it will crash with MC and a Server running at the same time

onyx loom
#

its time for u to get an upgrade

static zealot
#

also I'll have about half a frame per second

#

yeah...

#

that's why I go for free

#

lmao

#

if I had money I'd just buy a better dedi and host my test server on it

half harness
prisma wave
onyx loom
#

idk

#

its disgusting

half harness
#

i dont click 20 cps

#

i can't rn

#

busy

#

ill do it in 6 hours

#

-_-

onyx loom
#

scared

half harness
#

1.16?

#

oh

#

im going to lose

#

i barely pvp anymore lol

#

i code a lot now

#

i still pvp more in 1.8

#

i dont remember the last time i 1.16 pvped

#

and ive never been on 1.16 pvp server

#

i dont even know if any exists

#

:p

#

probably does

#

but i dont know of any

#

me too!

#

oh no

#

matt is here

ocean quartz
#

Didn't you just show a video of you pvping like a week ago?

half harness
#

before I used to pvp like 3 hrs a day, now I do like half an hour a day

#

me too

#

i dont go to those FFA stuff

#

sumo and skywars is the best where I'm at

#

I dont take any kb in sumo

#

even tho i have 9 cps

ocean quartz
#

Then how does that affect how good you are? Maybe minecraft doesn't have that much skill huh?
High skill games like League of legends you can stop playing for a while and come back and still do good

half harness
#

because cps isn't that important

#

well

#

anything above 9 isn't

#

i think we should talk somewhere besides this chat

half harness
#

or not talk bc me busy

ocean quartz
onyx loom
#

it is yea

#

an underrated esport is rocket league, no joke

#

that game has such a high skill gap

ocean quartz
#

That is very true

#

Minecraft too /s

onyx loom
#

๐ŸŒš

#

dont offend anyone here matt

#

@errant geyser slap this man

ocean quartz
#

But that's the goal

half harness
#

๐Ÿ™„

onyx loom
#

rocket league is great

#

so shush efe ๐Ÿ™‚

errant geyser
#

Rockqueta league is not trash

ocean quartz
#

Ofc not lol

#

Minecraft is not made for pvp

half harness
#

efe did u pvp remence

#

did u win or lose

#

oh f

#

i barely won against remence

#

oh

#

i love bridge

#

but i suck at it

#

lmao

#

i can do the opposite

#

i can right click dragclick

#

yes

#

oh

#

ok

#

can u double click rmb

#

u should learn to godbridge

#

and flex ๐Ÿ˜ค

#

lol

ocean quartz
#

I always read that as dogbridge for some reason lmao

half harness
#

๐Ÿคฃ

#

๐Ÿถ

onyx loom
#

cus its a dogshit game thats y ๐Ÿคก

distant sun
#

how the heck do I install php and all these expansion on a windows server

half harness
#

๐Ÿ˜ฆ

errant geyser
half harness
#

i never win at bridge because I always, always, go against level 150+

#

its annoying

#

then I watch yts go against like level 20s

#

its not flex

#

i always lose

#

:c

old wyvern
#

what expansions do you mean?

distant sun
#

extension

half harness
#

lol

ocean quartz
errant geyser
#

selenium

half harness
#

efe do u use lunar, blc, forge, or smth else?

#

oh

#

i always use forge

ocean quartz
half harness
#

ok

ocean quartz
distant sun
#

shh

#
C:\Users\dumit>php -v
PHP 8.0.2 (cli) (built: Feb  3 2021 18:36:40) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.2, Copyright (c) Zend Technologies```
easy
jovial warren
#

I'm like ๐Ÿค this close to sending the client a chunk loaded from a file rn lol

onyx loom
#

just do it

#

not hard

oak raft
half harness
#

ye, but i always go against like level 100+

onyx loom
#

i love jumping off them

oak raft
#

๐Ÿ˜ณ

jovial warren
ocean quartz
onyx loom
#

oof

#

have fun ๐Ÿ˜ƒ

ocean quartz
#

Thanks ๐Ÿ˜ญ

surreal quarry
#

"No"
close with comment

stuck harbor
#

lol

half harness
#

lol

ocean quartz
#

Tbh

surreal quarry
#

or just keep it on your fork :)

ocean quartz
#

Idk why it'd need a test though, it's such a simple fix, and it's literally just making it like Netty and Jetty

half harness
#

xD

surreal quarry
#

you changed like 2 lines tho, what is there to even test xD

#

yea

onyx loom
#

tell him to test it himself

#

problem solved

surreal quarry
#

"No test needed, it works fine"

obtuse gale
#

what is ktorio? Factorio but made in Kotlin?

surreal quarry
#

"Merge ASAP"

stuck harbor
#

my web server is so fun

#

so many php modules

onyx loom
half harness
#

it's a framework for quickly creating connected applications in Kotlin with minimal effort

surreal quarry
stuck harbor
#

so many

obtuse gale
#

Ah

ocean quartz
#

Ktor is super fun to work with

half harness
# obtuse gale Ah

Ktor is an asynchronous framework for creating microservices, web applications and more.

obtuse gale
#

Yeah factorio looking good

stuck harbor
#

why would u do web stuff... on jvm?

#

madness

#

madness

ocean quartz
#

Ask Spring

half harness
#

spring is good

surreal quarry
#

verizon is better

half harness
#

๐Ÿ™„

#

its like 5 lines of code

#

to make get request

surreal quarry
#

Version.get

stuck harbor
#

Verizon?

ocean quartz
stuck harbor
#

the ISP?

half harness
half harness
half harness
ocean quartz
stuck harbor
#

probably owned by vmware

surreal quarry
stuck harbor
#

VMware own everything

jovial warren
#

okay I stuck with something

half harness
#

i prefer java

stuck harbor
#

use a lisp tho

#

clojure, abcl

ocean quartz
half harness
#

oh

surreal quarry
half harness
#

but

#

NO THANKs

#

im not clicking that

surreal quarry
#

consider clicking that

#

so you can start using kotlin

half harness
#

nahhhhhhhhh

hot hull
#

Fuck my hand is shaking

surreal quarry
#

por que?

hot hull
#

Interesting

half harness
#

wot

ocean quartz
#

Stop doing coke Frosty

hot hull
#

Never!

jovial warren
surreal quarry
#

@half harness why do you prefer java

jovial warren
#

I have an array of longs and I know the bits per block

hot hull
#

How about each week I learn the basics of a language I get given by BMs site

#

That sounds fun

surreal quarry
#

that does sound fun

stuck harbor
#

I need a good jvm langauge

onyx loom
#

K

hot hull
#

And if it's a duplicate language I learn more, really fun

stuck harbor
#

that is cool

surreal quarry
#

this week we start with elixir ๐Ÿฅฒ

hot hull
#

Nah we start next week on monday

surreal quarry
#

lol

onyx loom
#

im down

stuck harbor
#

does elixir jvm?

onyx loom
#

except clojure

stuck harbor
#

wh

hot hull
#

Nah even clojure

#

If there's brainfuck I'm skipping that tho

half harness
surreal quarry
#

thats not a reason you prefer java

hot hull
#

learn kotlin, if you know java it's simple

half harness
#

well

#

i worded it wrong

surreal quarry
#

it will take you like 2 days

half harness
#

uh

#

i dont think so

hot hull
#

Trust me it will

surreal quarry
#

to get the basics yes

hot hull
#

if not less

stuck harbor
half harness
#

learning java basics and drilling it into my head took like a month

surreal quarry
#

they are very similar

stuck harbor
#

kotlin is too similar to java imo

surreal quarry
#

aside from some syntax and boilerplate

half harness
#

uhhh i dont think so ๐Ÿคจ

stuck harbor
#

boring

hot hull
onyx loom
#

LMAO

stuck harbor
#

man

#

why everyone hating on clojure?

onyx loom
#

lithp

stuck harbor
#

it will take over one day

hot hull
#

Not hating, since I haven't tried it yet, just the syntax gives me a headache

stuck harbor
#

man

#

it's better than java's {}

onyx loom
#

curly brackets good

half harness
#

I like {} and ;

#

and also having specific variable types
thats just my opinion

surreal quarry
#

you have specific types

#

you just don't have to write them

ocean quartz
stuck harbor
#

clojure has type hints mm

half harness
onyx loom
#

hints?

stuck harbor
#
[^JavaPlugin this]
#

iirc

onyx loom
#

wat

prisma wave
#

erlang vm

ocean quartz
#

I see, it runs in Elaralang vm

surreal quarry
#

what do you guys use for clojure

#

IJ?

stuck harbor
#

same as everything else

#

vim

prisma wave
#

yeah vim is good for clojure

jovial warren
#

(2 * chunk.level.sections.size) + chunk.level.sections.size + ceil(chunk.level.sections.sumBy { it.blockStates.size }.countOneBits() / 8.0f).toInt() my head hurts xD

stuck harbor
prisma wave
#

IJ is also pretty good tho

prisma wave
stuck harbor
#

it works for me

#

my projects are quite smol tho

hot hull
#

Such as another thing you own

#

Your net worth

stuck harbor
#

man

#

:(

jovial warren
#

you remember how I said I was ๐Ÿค this close to having chunks be read from files? I'm also ๐Ÿค this fucking close to just scrapping this and giving up

stuck harbor
#

man

jovial warren
#

this is fucking impossible

stuck harbor
#

ya wouldn't be like that with clojure

#

also

#

why doesnt spigot use an ECS?

#

mad

jovial warren
#

I have to calculate the size of all the data in bytes

hot hull
#

Don't give up bardy

jovial warren
#

like wtf

stuck harbor
#

I am, in fact, an Entity, Component, and a System

prisma wave
hot hull
#

What're the slots for armor

#

oh wait I know where that's written down, in FJ!

#

nvm it's not, shit fucking plugin

onyx loom
#

its ur plugin

#

that u abandoned ๐Ÿ˜ญ

hot hull
#

ikr, the dude who made it is a fucking idiot

jovial warren
#

I need to count the total bits of that

#

there are 16 chunk sections

#

the bits per block varies

#

this is just fucking pissing me off

#

WHY MOJANG

#

WHY

#

fucking data size IN BYTES WTF

onyx loom
#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

jovial warren
#

why does this exist

obtuse gale
#

'cause Notch thought it was a great idea

#

The best of ideas

jovial warren
#

well Notch can go FUCKING JUMP off a CLIFF

#

right, lemme think

#

so, 4096 indices pointing to state IDs in the palette

#

each index being bits per block in size

#

I know what it's time for

#

it's pen and paper time

heady birch
#

Bitshift

lunar cypress
#

Sometimes Nightcode

stuck harbor
#

cursive is licensed tho

lunar cypress
#

you mean it has a licence?

#

almost every piece of software has that

stuck harbor
#

no its paid software

lunar cypress
#

Not for personal use

stuck harbor
#

for commercial use at least

#

man personal use sucks

#

just use vim

lunar cypress
#

ok bill gates

jovial warren
lunar cypress
#

*non-commercial use

old wyvern
#

bard

#

you familiar with the scp command?

stuck harbor
#

mad

#

scp evil

#

satan

old wyvern
#

uh

jovial warren
#

why ain't you just using SFTP?

stuck harbor
#

or SSH :)))

prisma wave
#

ftp ๐Ÿ™‚

jovial warren
#

also, Google search shows me it's just like rsync

#

rsync superior

prisma wave
#

anyone wanna help make CLJFTP?

jovial warren
#

FTP inferior

old wyvern
#

bruh xD

jovial warren
#

rsync only transfers differences, and works over SSH

old wyvern
#

Im having an issue with it trying to resolve the client side drive as a hostname xD

jovial warren
#

lol

old wyvern
#

It seems to work with me just specifying the file name

#

But I have no idea where the file is

#

not in the folder PuTTy was in

jovial warren
#

file for what?

old wyvern
#

so... xD

#

its a certficate

jovial warren
#

what kind?

frigid badge
#

tls prob

old wyvern
#

SSL

#

.

frigid badge
#

tls better

old wyvern
#

Might be, lemme confirm

jovial warren
#

not gonna question that you're generating TLS certificates using your own untrusted CA

stuck harbor
#

efe use vim, bigger ecosystem :)

old wyvern
#

Im not generating anything

#

I was given these xD

jovial warren
#

so what you after then?

old wyvern
#

Its on the server

jovial warren
#

what are they for?

surreal quarry
#

pog hello world in clojure done

old wyvern
#

for an XMPP server

#

running ejabberd

onyx loom
surreal quarry
#

i did

stuck harbor
stuck harbor
old wyvern
#

Anyone have any idea where the scp cmd saves the file to if we dont specify the absolute location xD

#

?

frigid badge
#

lol

#

just use 'find'

#

and wouldn't it say where it's going?

old wyvern
old wyvern
#

It just said echod the exact same file name

frigid badge
#

show me the command you are using

#

why are you not specifying the destination though lol

old wyvern
old wyvern
frigid badge
#

type it out

#

use "" around it

old wyvern
#

ohh

#

ok lemme try that

#

๐Ÿฅฒ

#

didnt work

frigid badge
#

type the command out without the classified parts

#

just replace those

old wyvern
# frigid badge type it out
scp <hostname>:/ect/ssl/ejabberd/domain.pem "C:\Users\vaish\OneDrive\Desktop\Internship\TCA\ServerCert\domain.pem"
frigid badge
#

oh

old wyvern
#

Wrong slash?

frigid badge
#

just have your working dir be ServerCert

old wyvern
#

oh wait

frigid badge
#

then you don't need the entire path lol

old wyvern
#

ik what im doing wrong

#

xD

#

Im running that from the server

#

LMAO

#

xD

old wyvern
#

๐Ÿ˜‚

jovial warren
#

and better yet, it doesn't work

frigid badge
#

@old wyvern I'll send you an invoice for my time

#

๐Ÿ˜›

old wyvern
#

xD

jovial warren
#

basically, I need the length in bytes of all that data produced by the loop below

forest pecan
hot hull
#

There's more milk in that than water if it's british

forest pecan
#

watch the whole thing

#

lol

frigid badge
#

nice meal

forest pecan
#

lol

frigid badge
#

lmfao

hot hull
#

lmfao

forest pecan
#

idgaf

surreal quarry
#

late

hot hull
#

Thas cool

#

wat?

#

Made what?

#

BLS or something I think it's called

jovial warren
#

right, I'm trying to translate some Java code to Kotlin, but for some reason they're not producing the same result

#

Java code: ```java
public static int getVarIntSize(int value) {
for (int i = 1; i < 5; i++) {
if ((value & -1 << i * 7) != 0) continue;
return i;
}
return 5;
}

#

Kotlin code: ```kotlin
fun varIntSize(value: Int): Int {
for (i in 1 until 5) {
if ((value and -1 shl i * 7) != 0) continue
return i
}
return 5
}

#

Java code does what I want, Kotlin code outputs 5 every time

hot hull
#

until 5 inclusive I pressume?

jovial warren
#

ffs

old wyvern
#

Precedence

jovial warren
#

I hate precedence

#

I figured it out lol

#

if ((value and (-1 shl i * 7)) != 0) continue this is the correct line

half harness
jovial warren
#

fucking precedence

surreal quarry
#

3head

jovial warren
#

it's Mojang code

#

5head

half harness
prisma wave
surreal quarry
#

you're slow

hot hull
#

For fucking spaghetti

jovial warren
hot hull
surreal quarry
#

for fellow starlight

hot hull
#

So I got a riven from the sortie, and it got stolen..

prisma wave
#

kotlin messes with everything

jovial warren
#

shut up

#

how many times do I have to tell you

#

that is NOT HELPFUL

#

FFS

old wyvern
#

Also, does wf have pvp?

hot hull
#

A lich stole it, I need to kill the lich to get it back

#

It has player pvp yea

old wyvern
#

Ah

hot hull
#

Conclave

old wyvern
#

is it through the thing on the right of the ship?

prisma wave
hot hull
#

no

jovial warren
#

fair enough

prisma wave
#

and in a way I am helping

jovial warren
#

but you saying Kotlin bad is not helpful

prisma wave
#

By encouraging you to use better languages

jovial warren
#

because I know what comes next

#

fucking called it

#

knew it

prisma wave
#

Obviously

jovial warren
#

I'm not in the mood for this

prisma wave
#

๐Ÿ˜Š

onyx loom
#

lol

forest pecan
half harness
forest pecan
#

:smh

half harness
#

its literally

hot hull
#

for fucks sake

half harness
#

what google says

forest pecan
#

you dumb?

#

lol

half harness
#

._.

forest pecan
#

look at the first definition

#

sir can you google properly

#

lol

half harness
#

i can't google

prisma wave
#

use something lightweight ๐Ÿ˜Š

#

for example i3wm + Emacs

#

@abstract hearth isn't the syntax for embeds literally the same as normal discord.js?

abstract hearth
#

it is, but cuts out alot of parts

stuck harbor
forest pecan
#

?

dawn hinge
#

No

forest pecan
#

what

jovial warren
#

fucking hell

#

jesus fucking christ that was a pain

#

and that barely works yet

#

but it works

static zealot
#

what is that?

jovial warren
#

the chunk at 0, 0 from a world my friend gave me

static zealot
#

the fact that the water isn't flowing?

jovial warren
#

no

#

the fact that I loaded a chunk from a file and sent it to a client

static zealot
#

ah I see

#

good job

hot hull
#

cool

static zealot
#

So I finally got to test my plugin and everything's a mess. 100+ lines of messages of what's going wrong. without the actual errors

hot hull
#

show

static zealot
#

also there might be more that will come after I fix since actually my player data isn't even saved

#

what the errors? or my bad messages explaining what's wrong?

jovial warren
#

hey anyone wanna come and test Krypton 0.7?

#

168.119.171.28:25565

distant sun
#

Hey Admins and Mods!

You may have heard about a feature for bots currently in beta called Slash Commands! Essentially, the way users interact with bots is about to become much simpler - it's as easy as typing "/" to bring up all the commands that bot can do. Slash Commands come with features like autocomplete, validation, and error handling. No more typing up memorized commands, which means bots no longer need to read user messages!

We're excited for how this update will unlock more fun with bots, and since we know many of you are careful with where and how you manage bot permissions, we wanted to give you a special heads up on what this is and what small actions you can take today to prepare for the upcoming release.

What this means for you
- We are launching a new permission: "Use Slash Commands."
- Currently, if you've wanted to avoid bot spam in certain channels, you may have turned off read/send message permissions for bots.
- However, if those bots use Slash Commands in the future, you'll need to configure this new permission in order to keep your channels consistent with how they're set up today. Otherwise, Slash Commands may be able to get around your old permissions setups. Commands are sent directly to the bot and not through reading user messages.
- Go through your channels and decide where you do and do not want to allow Slash Commands to be used (yes #botspam, no #null).

You can see this permission option today on desktop, and on mobile in a few days.

Thanks for all your hard work!

P.S. Attached is a lil preview of Slash Commands in action. https://cdn.discordapp.com/attachments/667560445975986190/814205014125969478/commands.mov

jovial warren
#

fuck slash commands

#

the API for slash commands is fucking rushed

distant sun
#

I like the messages

jovial warren
#

yeah it's not bad

#

also, join

#

๐Ÿ™‚

distant sun
#

Im not on pc rn

jovial warren
#

๐Ÿ˜ฆ

#

I mean, I guess I have my alt

half harness
jovial warren
#

yeah but yours is probably Spigot

half harness
#

wdym

jovial warren
#

this one has no Mojang code

half harness
#

๐Ÿ˜ฎ

#

lol

jovial warren
#

this is Krypton

half harness
#

i thought it was minekraft

jovial warren
#

168.119.171.28:25565

#

it was MineKraft, is now Krypton

half harness
#

im on 1.8 client rn

jovial warren
#

1.16.5 lol

half harness
#

although my server is on 1.16

#

but

#

my 1.16 client won't start

#

so im using 1.8

jovial warren
#

MultiMC?

half harness
#

nope

jovial warren
#

yeah you can't join Krypton on anything less than 754 (1.16.4) unfortunately

half harness
#

aw rip

jovial warren
#

also, wdym your 1.16 client isn't working

#

download MultiMC lol

half harness
#

crashes on start

#

i dont like multimc

jovial warren
#

just try it

half harness
#

well

#

what does it do

jovial warren
#

how can you say you don't like it if you don't even know what it does?

half harness
#

just name all its features thats not in vanilla, and i might

#

because I've tried it before

#

and it confused me so i just switched back

jovial warren
#
  • install forge/fabric with 1 click
  • custom log4j configs
  • many, many different profiles and different accounts with easy switching
  • easy mod installation
#

shall I keep going?

half harness
#

yes

jovial warren
#

fuck you

half harness
#

lol

jovial warren
#

just get it

#

it's maintained by a Mojang employee iirc

forest pecan
#

multimc is great

#

who said it was bad

#

Dkim imma go ddos you

#

๐Ÿ–ฅ๏ธ โ–ถ๏ธ Your IP

jovial warren
#

one thing I do love about dkim is that he says things are bad without even trying them or knowing what they do

#

like how is that proper grounds

forest pecan
#

Also known as a Dkim Moment

#

Someone's gotta make a dictionary of all Dkim Moments possible

jovial warren
#

lol

#

also, on a bit of a random note, wanna know what the best thing about git is?

forest pecan
#

wat

#

lol

jovial warren
#

the fact that you can make different changes on different branches all at the same time and merge them into one and it just kinda works

#

the entire purpose of git

surreal quarry
#

"The best thing about git is that it works"

#

i agree

jovial warren
#
  • BomBardyGamer, 2021
#

xD

stuck harbor
#

man

surreal quarry
#

lol

forest pecan
#

guys want to know the best thing about humans is?

stuck harbor
#

torvalds is just like 'lemme create a protocol that makes a multi million dollar company'

jovial warren
stuck harbor
#

'and a kernel that most people use'

forest pecan
#

s e

jovial warren
frigid badge
#

where's the issue id in the branch name

#

i cry

jovial warren
#

wdym?

#

there is no issue ID lol

frigid badge
#

feature/000-disconnect

#

issue number, whatever

jovial warren
#

there's no issue number either

frigid badge
#

oh you didn't make issues

#

bad

jovial warren
#

-_-

frigid badge
#

xD

jovial warren
#

Krypton isn't enterprise software lol

#

and I haven't ever used git like this before

lunar cypress
#

ew, issue numbers in branch names?

frigid badge
#

yes issue numbers in branch names

#

organised ๐Ÿ™‚

steel heart
#

@forest pecan

#

How do I make plugin with maven

surreal quarry
#

why not just link the issue to the PR

forest pecan
#

lol

surreal quarry
frigid badge
#

a branch isn't a pr though

surreal quarry
#

true

forest pecan
#

Conclure like legit or are you just joking

#

lmao

steel heart
#

@forest pecan also speaking of pr, need any to your media plugin?

forest pecan
#

Gradle

stuck harbor
#

I always make a PR on a branch, even if I'm working on it still

forest pecan
#

lol

stuck harbor
#

so I can track progress

jovial warren
#

also, I'm gonna create your favourite file when I get on tomorrow btw @frigid badge

forest pecan
#

I dont like maven

jovial warren
#

guess what it is

forest pecan
#

i really dont xD

#

but idk

surreal quarry
#

||Dockerfile||

forest pecan
#

its bi

steel heart
#

Didnโ€™t you alr fix gradle

frigid badge
#

yayy

forest pecan
#

g

jovial warren
frigid badge
#

does it start with a D

forest pecan
#

xD

jovial warren
#

maybe

forest pecan
#

and i fucked up somewhere

frigid badge
#

oeh

steel heart
#

Oh let me fix then I guess

#

If you have any changes please push them pulse

jovial warren
#

/opt/krypton good work dir xD

#

anyway, gtg now, gn all

frigid badge
#

/app

#

/home/krypton/

forest pecan
#

im depressed on why i made this class

surreal quarry
forest pecan
#

lol

#

Yeah honestly

steel heart
#

@forest pecan what the fuck

#

Why every nms version

forest pecan
#

lmao

#

idk

steel heart
#

Tell them to hate themselves if they use something like that

forest pecan
#

i did it for java verison

#

lol

ocean quartz
forest pecan
#

Well, would you just make another class

#

to store what info it is?

#

and the type of cpu architecture it is

#

cause i don't think there is any other way to store these links tbh

stuck harbor
#

ew freebsd

#

if ur gonna go bsd, go with openbsd

forest pecan
#

FreeBSD sucks

ocean quartz
#

@prisma wave There is no generics way to check if a class is nested right?

class Parent {
  class Child1
  class Child2
}
// Something like, this won't work, but I wanted something like that
fun <reified T : Parent>

I guess a solution would be to have the children implement a common interface

prisma wave
#

Yeah they'd have to have an interface

#

Maybe a sealed class so you can get exhaustive matching

ocean quartz
#

Let me try with sealed

#

Actually might be simpler to have an interface

#

Never seen this keyword before

prisma wave
#

yea there's crossinline too

#

For inlining weirdness

obtuse gale
#

Hello

#

Have a good evening

ocean quartz
#

How much i wanted this in Java

quiet depot
#

omg bm face reveal

obtuse gale
#

Lol

half harness
#

Lol

prisma wave
#

It's not me

#

I promise

quiet depot
#

sure sure

prisma wave
#

If it was me I'd choose a better picture

obtuse gale
#

If you had one...

prisma wave
#

๐Ÿ˜ญ

onyx loom
#

wtf is this pfp

#

please get rid of it right now

prisma wave
#

Fine

#

Nvm it's gonna have to stay for a while

onyx loom
#

oh no

surreal quarry
#

there's definitely a chance its him

#

a good one too

forest pecan
#

BM is a 12 year old?

surreal quarry
#

maybe

#

its possible

half harness
#

lol

prisma wave
#

Bruh it's literally not me

half harness
#

uh huh

surreal quarry
#

it might be

prisma wave
#

I'll try and find the video it's from

surreal quarry
#

there is no definitive proof for either side currently

half harness
#

that's an even better face reveal

obtuse gale
prisma wave
#

๐Ÿ™„

half harness
prisma wave
#

Can't convince anyone these days

surreal quarry
#

biristermitten second channel reveal

half harness
#

mhm

obtuse gale
#

Amirite

forest pecan
#

Sometimes, I wished I was coding in Kotlin

#

but other times, I wish i was coding in java

#

but sometimes, I wish i was coding it Jotlin

obtuse gale
#

I wish I was dead

forest pecan
#

time to rewrite my enum class

#

cause its ugly

#

lol

prisma wave
quiet depot
#

bm i didn't know ur name was andrew

#

i thought it was alex

prisma wave
#

๐Ÿฅฒ

#

My dad's called andrew

lunar cypress
#

my dad too

#

if you translate

quiet depot
#

gonna have to break the cycle here, my dad's name isn't andrew

prisma wave
#

damn

quiet depot
#

it's andre ||no it's not actually||

prisma wave
#

O

#

Close enough

lunar cypress
#

^

ocean quartz
#

Sealed didn't work there BM, but i got a way for it to work

prisma wave
#

Oh alright

#

Nice

onyx loom
#

the frick is this pfp now lol

#

default discord thonking

#

what happened to tf2 โ˜น๏ธ

ocean quartz
#

I miss Heavy ๐Ÿ˜ฆ

quiet depot
#

hoovy

#

but it was a solider

#

not a heavy

ocean quartz
#

Oh yeah you're right

prisma wave
#

smh

#

Won't let me upload the old gif on mobile

onyx loom
#

๐Ÿ˜ญ

obtuse gale
#

Oh no

prisma wave
#

NVM

#

WE'RE BACK

quiet depot
#

what do soldier's eyes look like

obtuse gale
#

Big

quiet depot
obtuse gale
#

That's disgusting

quiet depot
#

lol

prisma wave
#

I don't think you ever see them in the game

obtuse gale
#

Shorts though

prisma wave
unkempt tangle
#

Senpaiii

prisma wave
#

Hello

unkempt tangle
#

Hi

forest pecan
#

What the fuck lol

#

It uses maven

#

What the fuck

#

It literally copied all the classes over from JSONSimple into the library

#

Instead of using the built in Gson

obtuse gale
#

LMAO

#

I just found out HikariJSON is a thing...??

hallow crane
#

wat why

obtuse gale
#

Idk

regal gale
#

@half harness that horrific framerate in #showcase though....

obtuse gale
#

Classic dkim

tranquil crane
#

2 frames per hour

half harness
#

lol

junior edge
#

Anyone want to help me develop a bungeecord server?

surreal quarry
half harness
#

should i try making a simple anticheat without packets or anything? (just for fun)

#

or is it too complicated lol

ocean quartz
#

Anticheat is a sea i'll never dive in, when you think you got a boat working you sink

half harness
#

o

fierce junco
#

can someone help me

obtuse gale
#

legit the right answer from my VB question yesterday was to turn the While loop into an If by just returning on the first iteration

fierce junco
#

anyone?

obtuse gale
#

with?

fierce junco
#

i own a server

#

and want to fix

#

io.netty.channel.abstractchannel$annotatedconnectexception

#

when people log on it says that

#

any fix for that

#

?

steel heart
#

ConnectionException

#

Idk probably not a trivial fix

hot hull
#

That's dumb

#

Like really dumb

old wyvern
#

๐Ÿ˜•

hot hull
#

||But I believe I suggested something of the sorts||

#

L

old wyvern
#

I tried everything now

#

None of these solution seem to work

#

Stackoverflow has let me down

hot hull
#

A main class of a plugin

jovial warren
hot hull
#

kewl

jovial warren
#

also somehow found a use for draft PRs

#

love how that's 173k lines because the blocks registry file is 171k lines lol

jovial warren
#

@frigid badge is it just me or is Docker Desktop for Windows really annoying to setup lol

hot hull
#

Thoughts on this style for an item deserializer

<key>:
 material: STONE
 amount: 5
 display: "This is 5 Stone"
 lore:
   - "Some lore to accompany this item"
 enchantments:
   DURABILITY: 2
   DAMAGE_ALL: 0
 effects:
   potion-color: RED
   SPEED:
     amplifier: 0
     duration: 60
   INVISIBILITY:
     amplifier: 0
     duration: 15
 flags:
   - "HIDE_UNBREAKABLE"
#

All being optional ofc (except material)

jovial warren
#

looks good to me

old wyvern
#

Someone please kill me

#

I have lost my will to live

hot hull
#

I kill you, you kill me, sounds good?

old wyvern
#

Sure

hot hull
#

One day I sure do hope someone fixes this stupidity