#general

3141 messages ยท Page 54 of 4

void void
#

pls no

#

like my telegram login code

upper flicker
#

hamburgerz

void void
#

oh yeah that was definitely blocked last time I tried, telegram

#

Don't remember if I was on a wifi though...

#

I am gonna have to try

upper flicker
#

supposedly*

#

according to the good folks on HN

#

I've never been

#

you can tell me if its true

void void
#

I'll find out pretty soon, leaving sunday

upper flicker
#

where's your actual destination if you're getting a lay over in china

void void
#

Manila

upper flicker
#

oh cool

void void
#

I purposefully pay for reallllllly cheap flights. I mean, the layover is worth the savings of 400-500 US

#

:L

upper flicker
#

inb4 737 max

void void
#

let me look what plane it is

#

787-9

#

only paid 400 or so for the flight

#

kek

#

also 2 meals per flight

#

(last time, anyway)

upper flicker
#

not bad for $400

#

I mean, for air service anyway

void void
#

yeah China Eastern has its quirks....like none of the flight attendants speak English

#

BUT

#

it's k

vestal jasper
#

I like how the person with the deleted issue literally made the account to report the issue

#

feelsgood

finite wave
#

I'm out

void void
#

people on the forum, both the askers and helpers, have a collective IQ of 2

pulsar wigeon
#

code snippet is a++

cosmic raft
#

and again in episode 9

#

woo!

gusty idol
#

What am I supposed to write then IntelliJ?

void void
#

why are you casting

pulsar wigeon
#

tbf this is the same guy who doesn't know what a static initializer is

gusty idol
#

That call will return a fake player list because of Mockito black magic

#

It will return a List<Player>

pulsar wigeon
#

it doesn't matter what it returns

#

the method says it returns a collection

gusty idol
#

Dude

#

Yes

#

But CraftServer returns a List too

pulsar wigeon
#

and a list is more specific than that

gusty idol
#

I need to cast it

pulsar wigeon
gusty idol
#

I want to get a mocked player

pulsar wigeon
golden gust
#

Your cast is the issue, the issue there is that you're casting incorrectly, but there should be no reason to cast there

gusty idol
#

Dude

hard viper
#

The get it from iterator

#

And not by casting

gusty idol
void void
#

lol

golden gust
#

as stated, you'll need to use the iterator

hard viper
#

Can we please throw out people not knowing basic java already.

gusty idol
#

The method returns a Collection

#

I can't just call .get(int) on it

hard viper
#

Now, go and learn basics of java.

gusty idol
#

I know basic Java

#

It just made more sense to me to just do a cast

hard viper
#

You obviosly don't if you have no knowledge about iterators and java Collection framework

gusty idol
#

I wouldn't have though about using an iterator only to get the first element of a List

void void
#

why

#

you're iterating

#

even if you get first

#

you're still iterating

pulsar wigeon
#

i mean, technically if it's an arraylist it's randomaccess

hard viper
#

The thing is - it might not be a list.

pulsar wigeon
#

tho i don't know that list in general specifies that

#

it shouldn't

gusty idol
#

The thing is, it HAS to be a list

void void
#

understanding what that warning is is essential to understanding why it doesn't work

hard viper
#

No.

pulsar wigeon
#

because linkedlist isn't random access

void void
#

so you reeally should go study

gusty idol
#

Because that code is in a unit test

golden gust
#

The interface doesn't state that

gusty idol
#

There's no CraftServer when running unit tests

golden gust
#

Your implementation might enforce that, but the API doesn't

gusty idol
#

There's just my Mockito black magic

pulsar wigeon
#

"black magic"

void void
#

well its not magic, you're just programming incorrectly

pulsar wigeon
#

why don't you go black magic your IDE then

#

that will solve all your problems

golden gust
#

Casting to a list is not safe there, and java generics don't really work in your favor here either

gusty idol
#

HAHA HE SAID "black magic" LET'S MAKE A JOKE

pulsar wigeon
#

that wasn't a joke

void void
#

it's the classic squares are rectangles but rectangles are not necessarily squares situation

hard viper
#

Obey the api interface.
crab1crab2crab3crab4crab5
crab6crab7crab8crab9crab10
crab11crab12crab13crab14crab15
crab16crab17crab18crab19crab20

gusty idol
#

@golden gust Even if I'm sure that this can only return a List when running the unit tests?

golden gust
#

The API states that it returns a Collection

pulsar wigeon
#

i was pointing out that your dismissal of basic programming principles and substitution of the words "black magic" in preference to that don't make your code any more correct

void void
#

good luck bois

hard viper
#

You can't be sure 100%, because u can forget about that later.

gusty idol
#

says "black magic"
oh wow he must not know how to code

void void
#

no

pulsar wigeon
#

that wasn't the inference drawn

hard viper
#

And then replace it with other impl, and now you haave a runtime error instead of compile time.

stable oriole
#

๐Ÿฟ

pulsar wigeon
#

i already knew you can't code from before

void void
#

we get that you can't code from the fact that you're casting stuff without knowing what you're actually doing

#

"why am dont work"

#

it's very clear

gusty idol
#

So I should still use an iterator?

void void
#

you just don't know

hard viper
#

Yes.

golden gust
#

Yes, you should use the iterator to get the first element, that way you're writing against the API properly

gusty idol
#

@void void I know what I'm doing. I know my mocked implementation of Server#getOnlinePlayers()

void void
#

me: uses api as a suggestion

#

me: why doesnt it work

pulsar wigeon
#

if you knew what you were doing you wouldn't have to ask stupid questions

gusty idol
#

I just hadn't thought about using an iterator to be "safer"

pulsar wigeon
#

like "why is there an NPE in my static initializer when the object is obviously null" or "why is intellij warning me that my unchecked cast is an unchecked cast"

gusty idol
#

Meanwhile, you didn't get that I mocked Server methods with Mockito either

pulsar wigeon
#

i know you did

void void
#

it's very clear this person has no idea what casting means, and by extension probably doesn't understand polymorphism very clearly, and through that probably doesn't know java very well

gusty idol
#

Seriously?

void void
#

yes

pulsar wigeon
#

mocking methods doesn't change the method's signature

hard viper
#

We know you did, that doesn't save you from the fact, that you are writing bullshit.

pulsar wigeon
#

you're not writing your own api

#

you're just writing a mock implementation

void void
#

"mine returns a list so it means api has to return a list hwah"

gusty idol
#

I know that because of my implementation, that cast cannot cause problems, but I hadn't thought about using an iterator to obey the Bukkit API better

hard viper
#

Even if you use it in tests only, that cast is basicly a time bomb.

gusty idol
#

Ok

void void
#

and it's ticking @hard viper

#

๐Ÿ˜„

hard viper
#

One day you change something, and it explodes.

gusty idol
#

I mean, I'm no expert either

void void
#

lol what is this flame war

gusty idol
#

But I think I know the basics of Java GWsocksAngeryBob

#

Anyways, thanks

pulsar wigeon
#

you still can't comprehend that static initializers run before your tests ยฏ_(ใƒ„)_/ยฏ

hard viper
#

The don't put timebombs in your code is a part of basics.

gusty idol
#

@pulsar wigeon Let me explain

hard viper
#

Tho it's about programming in general

gusty idol
#

The unit test class had a @BeforeAll-annotated method that would call another class's method, that would initialize the mocked server

pulsar wigeon
#

you don't need to explain that bs

void void
#

@void void just a normal day in th is channel

pulsar wigeon
#

i know exactly what was happening from your stacktrace

#

which you couldn't comprehend

hard viper
#

static initializers run first always. Annonations won't help there.

void void
#

^ this

#

o wait we have emote for that

gusty idol
#

Yes I couldn't comprehend it because @BeforeAll-annotated methods run before any JUnit test in the class, right?

void void
#

oi

hard viper
#

So static initialized of a class will run before anything marked as @BeforeAll or whaterver.

pulsar wigeon
#

no one said anything about test methods

#

i said static initializers

void void
#

a static initializer, IN JAVA, separate from ANY libraries; they always run first at first reference of a class

#

so this is why we say go learn java ๐Ÿ˜ƒ

gusty idol
#

I know that GWsocksAngeryBob

void void
#

do you

gusty idol
#

yes

void void
#

i dont believe you

#

lol

gusty idol
#

I didn't have a static initializer

#

Actually, I did, but in a class that didn't appear in the stacktrace

pulsar wigeon
#

well i'd say post your code

void void
#

well im going back to my project

pulsar wigeon
#

but you apparently deleted it

gusty idol
#

I deleted my code yeah

gusty idol
#

Ja

#

Fixed

void void
#

matrix?

gusty idol
#

thanks

void void
#

nvm

#

its just my lounge

#

thelounge

#

yep

#

oh this is the original pic

gusty idol
#

Yes that was fixed

#

You guys told me to use an iterator

void void
#

so basically he casted Collection to List

#

wait the issue changed

#

lol

#

it's kinda bad if you don't know if collection is actually a list - you need to do instanceof check OR simply use iterator as you're doing now

pulsar wigeon
#

simple i'm talking about yesterday's issue

#

not the cast thing

void void
#

oh

#

lol

pulsar wigeon
#

he was creating an instance of something that called Bukkit#createInventory in clinit, before his mock ran and mocked that method

#

so CraftInventoryCreator.INSTANCE was null

#

triggering the NPE

void void
#

nice

#

careful with static initializers lol

#

BUT WAI IT DOESNT WERK

#

/s

#

because it's bl... wait nvm

gusty idol
#

@pulsar wigeon But the method that initialized the mocked server HAD to be run before the test, and that something was only instantiated inside the test

#

So I still don't get it GWchadMEGATHINK

void void
#

have fun wiz

pulsar wigeon
#

i'm going home

gusty idol
#

I'm not going to ask you to help me though

pulsar wigeon
#

not planning on helping you, you're too retarded to be helped

gusty idol
#

Because I'm not sure if it's a good idea to try to write unit tests for inventory-based GUIs

#

I'M NOT RETARDED

hard viper
#

Now you need to learn some more advanced java regarding class initialization sequence.

void void
#

insert reeeeeeee here

hard viper
#

You will learn some new intresting things. Like the order of intializers.

void void
#

but my annotations!!!

#

why is your inv initialized in static initializer even lol

hard viper
#

And the trap of final/nonfinal fields initialization

void void
#

this man is either about to embarrass himself or drop my new favorite flame screenshot

hard viper
#

He is trying to learn at least. Give him credit for that.

gusty idol
#
// I had something like this

@BeforeAll
static void initialize() {
    // This would create a mocked Server and give it an implementation of `Server#createInventory(InventoryHolder, int, String)`
    // It would then call `Bukkit#setServer(Server)` to set the mocked server as the Bukkit server
    TestsCommon.initialize();
}

@Test 
void testBasicGUI() {
    GUI gui = new GUI("Title", 3); // The GUI class's ctor would call `Bukkit#createInventory(InventoryHolder, int, String)`
    // Other code...
}```
pulsar wigeon
#

except if that was the issue, the stacktrace would have said at ...testBasicGUI

#

not at ...<clinit>

void void
#

wait hol up

gusty idol
#

So what? Did IntelliJ not auto-save before I ran ./gradlew clean test build?

limber knotBOT
#

I suggest running it in intellij directly to ensure that it saves

gusty idol
#

Ok

void void
#

was about to say something about annotations about (test) class instances but never mind, it does not apply here at all

limber knotBOT
#

(or saving before, there is an option to display which files are saved btw)

gusty idol
#

Is it a good idea to try to write unit tests for inventory-based GUIs though

void void
#

what do you want to test there exactly?

gusty idol
#

I want to test if the GUI framework's features work properly

#

If when I simulate a click on a GUI button by a player, the button's listener is called without exceptions occurring or something, for example

wide chasm
#

Like I said before, I don't think you'd want to unit test that stuff.

gusty idol
#

Or if navigation buttons for scrollable GUIs should work properly

hard viper
#

That's not unit tests tho, that's integration tests.
And yes, doing tests is a good idead in general.

#

Just don't let them consume all of your time.

gusty idol
#

Although "real" testing by creating a plugin would still be required, to be really safe

#

Wouldn't the unit tests at least help notice basic mistakes when compiling?

#

Or, integration tests

#

Wait, so, should it be called integration testing because I'm testing all of the framework's features and not just a specific part of the code?

#

Did I understand it correctly?

hard viper
#

Yes.

gusty idol
#

Ok

hard viper
#

Just make sure that your tests actually test something useful, and are not here just for the count.

gusty idol
#

Here are some examples of tests that I wrote but for my command framework (yes, I know, you guys will prefer ACF anyway)

#

They don't look useless by their names, do they?

hard viper
#

Well, based on how your subcommand framework is implemented those 1-5 looks suspicious.

gusty idol
hard viper
#

Will break if you add more subcommands, which might be both bad or good thing.

gusty idol
#

?

hard viper
#

If that tests an actual command, and not the mocked one, then you are screwed. Since adding more commands to actual command will break the test.

gusty idol
#

That tests a command written for unit tests

void void
#

fuzzing tests are great to write

hard viper
#

Also ImmutableList.of() -> Collections.emptyList()

void void
#

^

hard viper
#

Fuzzing tests are hard to write tho.

void void
#

ye

gusty idol
#

Why is the second one better?

void void
#

i wrote bunch of them for my C project

#

discovered 3-4 corner cases here and there, realized that my project is really buggy on 32bit cpus etc.

hard viper
#

Because second one is a part of a java standard library.

#

Also your test doesn't have an expected fail, you may want to write that.

gusty idol
#

Oh yeah I forgot that ImmutableList came from com.google.common

#

Isn't this an expected fail?

            Arguments.arguments(
                "foo",
                ImmutableList.of()
            ),```
hard viper
#

Also looks like that test only tests single level of autocomplete.

gusty idol
#

It expects to get no completions returned

#

Yeah I have an idea

#
            Arguments.arguments(
                "a",
                Collections.singletonList("add")
            ),
            Arguments.arguments(
                "LiS",
                Collections.singletonList("list")
            ),
            Arguments.arguments(
                "remove",
                Collections.singletonList("remove")
            )```
#

This should make the test more useful

hard viper
#

If you have an autocomplete for subcommand of a subcommand you might also need to test that.

gusty idol
#

Oh

#

I don't have that

#

But I have a test for the auto-completion of an argument of a subcommand

#

The argument isn't another subcommand though

#

It's just a a basic boolean

gloomy warren
#

The server has not responded for 730 seconds! Creating thread dump What have I done?

void void
#

youve broken the laws of skyrim

#

pay your fine or serve your sentence

gloomy warren
#

It's not Skyrim, it's AWE ๐Ÿ˜„

void void
#

r/whoosh

gloomy warren
#

No help needed... Just some sleep and better API usage

void void
#

noice

vestal jasper
void void
#

Hey

#

You're finally awake!

#

did you guys know "Todd Howard" is a curse word in Skyrim

#

"profane language"

#

godless beings

upper flicker
#

Its a curse word here too

void void
#

Todd Howard yourself

upper flicker
#

enough you todd howard

void void
#

thinking_gun fine, im gone

tender lark
hard viper
merry orchid
#

would anyone know if theres a way to have a trigger going on like example
4 teams Blue/Yellow/green/red
each team has 75 Lives
The Endstone for example is the source if that if it gets breaken there goes each time 1 health off..
and when it hits 0 the team losses

void void
#

ye its called an event handler

void void
#

lmao

#

of course it is

#

good answer tbh

#

oy vey where's ivan btw

#

did he uhhh

#

get banned

#

nvm discurd derped

covert tulip
vestal jasper
#

@static badge ur retarded

#

preemptive no u

static badge
#

ur retarded

vestal jasper
#

ur retarded

static badge
#

nice cancerous profile picture btw

vestal jasper
#

tacos aren't cancerous

static badge
#

yeah they've found the next level of pure retardation

soft wing
#

๐Ÿ˜ฎ

toxic comet
#

is there a national paper day

unreal quarry
peak dirge
#

National Clippy Day?!?

#

YES!

vestal jasper
#

text components make me sad

#

why is it when I make one thing bold that EVERYTHING following it is also bold even if I reset things

#

meaning I have to explicitly say EVERY piece afterwards is not bold

slim nymph
#

no...

unreal quarry
#

TIL I narrowly missed being in an EF-1 tornado, yesterday

slim nymph
#

just send RESET

#

or another color

vestal jasper
#

That's not how it's working for me

slim nymph
#

code

#

oh wait component api, im thinking legacy

vestal jasper
#

Yeah component api

slim nymph
#

but yes code

vestal jasper
#

Lemme isolate some

slim nymph
#

when you set bold, everything in that piece is bold

#

send non bold in a diff component

unreal quarry
#

Components can only have 1 color and 1 style. If you want more you need more components

slim nymph
#

good: <bold>bold text</bold>not bold text
bad: <bold>bold text<notbold>not bold text</notbold></bold>

vestal jasper
#

Right so I create a list of TextComponents shove them into an array and put them into a hover event

#

lemme remove the random shit I have in there also

unreal quarry
#

This is why I just use TextComponent#fromLegacyText to translate into a BaseComponent[] array for me

#

Too much work to do that shit by hand

vestal jasper
#

The behaviour changes when putting them into a hover vs sending them as a chat message

#
            val hoverOne = TextComponent("This should be bold.\n").apply { isBold = true; color = ChatColor.GRAY; }
            val hoverTwo = TextComponent("This should not be bold.").apply { color = ChatColor.AQUA; }

            val boldTest = TextComponent("This is a Component API test.").apply {
                hoverEvent = HoverEvent(HoverEvent.Action.SHOW_TEXT, arrayOf(hoverOne, hoverTwo));
            }

            player.sendMessage(boldTest);```
#

if I just run player.sendMessage(hoverOne, hoverTwo) then the second one is not bold

static badge
#

wtf is this kotlin garbage

vestal jasper
#

My solution to this problem has been to just use extension functions to reset and reapply things

#
fun TextComponent.resetAndGray(): TextComponent {
    return this.apply { color = ChatColor.GRAY; isBold = false; isStrikethrough = false; }
}

fun TextComponent.resetAndColor(chatColor: ChatColor): TextComponent {
    return this.apply { color = chatColor; isBold = false; isStrikethrough = false; }
}```
#

But it's pretty annoying that I have to do this

#

Considering taking a look at kash's (or was it leaf's?) text lib

gloomy warren
#

ComponentBuilder?

#

new ComponentBuilder("bold text").bold(true).append("not bold").bold(false).create();

glacial matrix
void void
#

oh shit its encryptedcurse

stiff yarrow
#

@merry orchid best way to get that done is hire a dev

merry orchid
#

yup

#

im hiring a dev for 1 month paying โ‚ฌ70..

woven otter
#

how many hours of work

merry orchid
#

โ‚ฌ7/1 hour

stiff yarrow
merry orchid
#

but had it little cheapah

#

i asked for a to big of a plugin ig..

stiff yarrow
#

well don't expect quality work when you're paying slave wages LUL

void void
#

mcdonalds money

stiff yarrow
#

mcdonalds pays a lot more than that

merry orchid
#

i asked for a annihilation full remake

stiff yarrow
#

mcdonalds pay like 15/hr

merry orchid
#

gets on how old you are

void void
#

i thought it was wayyy lower in the US

#

ยฏ_(ใƒ„)_/ยฏ

glacial matrix
#

i feel bad that i didn't joined this discord since day 1

stiff yarrow
#

can't tell if boy is bragging about ripping some poor naive dev off

woven otter
#

annihilation full remake for 70Eur lefbad

merry orchid
#

lel it wasnt me who came with that bid

stiff yarrow
#

basically guilt tripped some child into doing a month of work for him for slave wages

merry orchid
#

i asked what ever he found acceptable

#

he said he had 2 other plugins to finish yet and would need a month in total

stiff yarrow
#

sounds like a dev whos making his life harder and doesn't know the value of work

merry orchid
#

welp idm it aslong as i can get what im paying for

stiff yarrow
#

I'd be suspicious of any dev whos taking another project on with 2 already on the side

#

and hes only asking 70 euro

#

red flags everywhere

merry orchid
#

alright alright i'll search further

slim nymph
#

its prob a kid

#

to a kid 7$/hr seems good

merry orchid
#

alright

slim nymph
#

hell to some adults it might be acceptable who want just a little extra cash and enjoy it, but as yallve heard me say plenty of times....

merry orchid
#

Falcon market seems trustable then..

slim nymph
#

a devs time is worth more than that

stiff yarrow
#

yeah I didn't want to say it but I was also thinking you hired some kid

static badge
#

unless it's ur time

pulsar wigeon
#

yea some people get paid 75k/yr+benefits to stare at reddit 9-5 Kappa

slim nymph
#

i should start charging spotted 20$/unban

pulsar wigeon
#

depending where you are

slim nymph
#

_> wiz lol

stiff yarrow
#

you should

#

we'd never see him again PogU

woven otter
#

Well I have done commissions for <5$/h but every time I realize that it's a mistake

slim nymph
#

if money doesnt matter to you, sure do it for w/e

#

but if your goal is to make legit income off work, least charge a fair price

#

but this community cant afford real world prices

#

so, gotta compromise to whatever level you are willing to

void void
#

might be worth learning to code so you can do it yourself ๐Ÿ˜ƒ

woven otter
#

Yeah I guess that's true. Compromise to anything you find acceptable

#

Aikar? Mind helping me with question about annotations in #paper-help ?

slim nymph
woven otter
#

oh

slim nymph
#

but i dont know, ive never done actual compile time processors

woven otter
#

sorry

slim nymph
#

i only do runtime code

woven otter
#

oh alright

static badge
#

compile time is more difficult

slim nymph
#

note youd be requiring porjects to actually add your code as an annotation processor too

stiff yarrow
#

@woven otter learn to value your time and not take jobs that pay dogshit wages

woven otter
#

@stiff yarrow Yeah thanks. I guess I reconsider those projects

slim nymph
#

my hourly rate if i was to even take a project (which i have no plans to in the next 40 years at this rate, at which my rate will be much higher), is 75-100/hr ๐Ÿ˜›

stiff yarrow
#

jesus aikar I thought I charged a lot

#

you're my hero PogU

vestal jasper
#

:pog:

#

shit

#

@stiff yarrow where's my pog dude

slim nymph
#

I would never work for minecraft level wages lol

stiff yarrow
#

do you have nitro v?

slim nymph
#

thats fair price in real world

vestal jasper
#

Yes I do

stiff yarrow
#

idk what minecraft level wages is

slim nymph
#

real world * 0.15

stiff yarrow
vestal jasper
#

You should hire me to rewrite mcMMO in kotlin

#

Your contributor count will drop overnight

static badge
#

that's gross

stiff yarrow
#

it'd take you like 6 months to do that

#

I ain't paying for 6 months of work

vestal jasper
#

That's 6 month of contract work

static badge
#

could pay him $1 every week

stiff yarrow
#

I'll pay you to write it in D tho

static badge
#

that'd be interesting to see

#

an entire plugin using jni

woven otter
#

I mean anything starting at 10$/h is pretty decent because it's pretty much above the average wage(assuming 40 hour workweek )in my country

stiff yarrow
#

no it isn't

vestal jasper
#

How about this. I'll write in brainfuck that streams kotlin code to an arbitrary number of files

slim nymph
#

in other countries yeah it does change dynamic

stiff yarrow
#

I wouldn't take below 30/hr on most projects

#

remember you're working on the internet

slim nymph
#

the US does have a much higher wage for SE

stiff yarrow
#

global economy

#

don't charge people on the internet what people in your country get paid

slim nymph
#

my fIrst job I was paid 21/hr

woven otter
#

Yeah I guess that's a good argument

slim nymph
#

then boosted to 30/hr~ within a few years

stiff yarrow
#

I'm imagining aikar gets paid a lot at his current position peepoGiga

slim nymph
#

lets just say I get paid a lot more than that now ๐Ÿ˜›

stiff yarrow
#

what languages do you work in at work

icy pelican
slim nymph
#

PHP and JS. the JS isn't bad, as its all modern stuff now. the PHP.... yeah it has some frustrations.

#

but ive more biased to nodejs lately

#

holy fuck IBM pays a lot

stiff yarrow
#

sort of

slim nymph
#

sort of?

stiff yarrow
#

I know a senior engineer at IBM

slim nymph
#

its quite high on the scale there

upper flicker
#

IBM also treats their senior staff pretty poorly

stiff yarrow
#

yeah hes not making 100k

upper flicker
#

and straight up gets rid of people as they get older

stiff yarrow
#

I can tell you his real # if you want in DM

upper flicker
#

so you know, cash in while you can

slim nymph
#

well location matters

stiff yarrow
#

hes getting paid below industry averages for his position

#

he got offered a job at a new company for 30k raise recently

slim nymph
#

sadly our company doesnt really match other companies in the area, but we have a great work environment, so its a trade off

upper flicker
#

so it took him like ten minutes to decide to leave?

#

or did he get screwed on benefits

slim nymph
#

i could get like a 20-30k raise going to another company

stiff yarrow
#

@upper flicker funny enough hes turning down that offer to go work at a game dev company that pays about the same as his IBM position

slim nymph
#

thats the key, its not 100% about money

upper flicker
#

that could be worth if its fun

stiff yarrow
#

yep

slim nymph
#

some pays better, but shit job

stiff yarrow
#

thats why hes going down the game dev route

static badge
#

i bet u'd love to work on overwatch 2

upper flicker
#

yeah I'd fix it

#

rm -rf /

static badge
#

that fix is only valid for paper

upper flicker
#

I rm -rf paper all the time

static badge
#

see

upper flicker
#

because the build system is amazing

#

monkaS

static badge
#

even 2 agrees paper deserves to be deleted

upper flicker
#

rm -rfv conrete/

#

I wanna watch it burn

static badge
#

that'd work but u misspelled it

slim nymph
#

hey the only time our builds get fucked to need rm rf is when md5 goes does dumb shit

upper flicker
#

thats how its spelled

static badge
#

conrete is ur retarded spelling

upper flicker
#

oh yeah you call it concete

static badge
#

I remember that stupid fucking meme

upper flicker
#

I mean clearly its supposed to be conrete

#

but w/e

static badge
#

do you know how long I misspelled my script for concrete 2

#

./conrete build

#

u caused that

vestal jasper
#

ur retarded

#

jk monkaPixel

upper flicker
#

should really just write random shit over the disk

#

dont want any of that shit to be recoverable

static badge
#

if it's paper it already isn't recoverable

#

it's a heaping pile of trash on fire

upper flicker
#

leafs are more flammable than paper

static badge
#

concrete isn't

vestal jasper
#

leaf

static badge
#

yes dumfuk #2?

upper flicker
#

yeah but you cant break paper with conrete

#

paper breaks rock

#

u lose again

vestal jasper
#

who is #1

static badge
#

2 is dumfuk #1

vestal jasper
#

excuse me I'm offended

#

why am I not #1

static badge
#

concrete wins against paper 2

upper flicker
#

#`

#

idk I think you just got it

vestal jasper
#

I'm too retarded to type a 1

#

see?

static badge
#

see u try to be retarded

#

2 is a natural

#

that's the difference

vestal jasper
#

it literally took me 5 attempts to fix the typo

upper flicker
#

still better than leaf

vestal jasper
#

leaf wouldn't care

#

he'd just leave it

static badge
#

u've literally attached urself to the taco cult

vestal jasper
#

it's better than being a retarded leaf

static badge
#

ur a retarded taco

upper flicker
#

named yourself after a space healer cat leaf thing from a teen drama novel

static badge
#

u named urself after an intel chipset that failed

upper flicker
#

still better than your preteen novelas

stiff yarrow
#

this joke again

static badge
#

no u

vestal jasper
#

I named myself after a song

stiff yarrow
vestal jasper
limber knotBOT
#

(DiscordBot) Tool - Vicarious - length 9m 4s - 88,005 likes, 4,108 dislikes (95.5%) - 21,375,415 views - 1qazxsw21 on 2007.12.20

stiff yarrow
#

oh btw guys I saw a video dedicated to half my nickname yday

static badge
#

nos?

stiff yarrow
limber knotBOT
#

(DiscordBot) A 20 Year Old DOOM Record Was Finally Broken - length 18m 22s - 13,528 likes, 650 dislikes (95.4%) - 356,408 views - Karl Jobst on 2019.04.05

static badge
#

wat

vestal jasper
#

Wait the video I linked to has terrible audio quality

#

nice

static badge
#

u named urself after something lacking quality

vestal jasper
#

no

static badge
#

yes

vestal jasper
#

ur too retarded to understand

#

I updated the link

static badge
#

ur too retarded to be not retarded

stiff yarrow
#

audio quality seems fine here?

vestal jasper
#

compare the first link with the 2nd one

limber knotBOT
#

(DiscordBot) Tool - Vicarious - length 9m 4s - 88,005 likes, 4,108 dislikes (95.5%) - 21,375,415 views - 1qazxsw21 on 2007.12.20

#

(DiscordBot) Tool-Vicarious - length 7m 15s - 50,239 likes, 2,509 dislikes (95.2%) - 11,156,378 views - nothingspecial22 on 2008.07.07

upper flicker
#

leaf is pretty bad quality

woven otter
#

rude

static badge
#

2 u were so bad in quality intel cancelled ur ass

upper flicker
#

no u

stiff yarrow
#

@vestal jasper but that's not the video I linked

vestal jasper
#

I never said your video had bad audio quality

#

I said mine did

stiff yarrow
#

oh sorry I misread

vestal jasper
stiff yarrow
#

anyways, as you can tell from watching that 20 min video I linked that I'm sure you all watched Kappa half my nickname is from being a doom fanboy when I was a child pog

vestal jasper
#

I actually watched it when it was published

glacial matrix
#

Who are using 1.13.2 paper here?

#

How did you guys manage to build without fawe?

glacial matrix
#

but that version is hell

#

look at the reviews

#

it is not that stable for 1.13.2

slim nymph
#

and thats what was wrong with FAwE ๐Ÿ˜›

stiff yarrow
#

there's this alternative to fawe called world edit, dunno if you've heard of it Kappa

slim nymph
#

when you build your house out of dog crap, cant expect it to stay viable forever

#

fawe is one series of hacks on top of another

stiff yarrow
#

wow classic puts out pvp content roadmap

#

what happened to phase 5 peepoGiga

unreal quarry
#

Phase 5 only available to Windows 9 users

slate light
slim nymph
#

https://github.com/KlaroYT/paper This paper spigot fork has the most performance. The server starts very fast and don't creates many files. It's perfect for server networks which has starting servers like subservers.

static badge
#

oh yes

upper flicker
#

did we find another fork that publishes the nms

#

ah yep

static badge
#

ding ding ding ding ding!

#

we have a winner!

slim nymph
#

and 'relicenses' the entire repo as MIt

static badge
#

pfft just deletes the license

#

mfw deletes license in one commit

#

new license in another

static badge
#

has a code of conduct too

pulsar wigeon
#

this is great

upper flicker
#

deletes license

#

adds coc

static badge
#

damn 2 forks are getting competitive

upper flicker
#

seems about right

pulsar wigeon
#

changes Paper to paper

#

sneaky sneaky

#

no one will realize what it is now

vestal jasper
#

This is a fork of the paper spigot version

cosmic raft
#

hey Z

vestal jasper
#

this reads so weirdly

cosmic raft
#

we should stop using travis for ci

vestal jasper
#

holy

static badge
#

lul

vestal jasper
#

wow leaf nice lul emote

static badge
#

wtf is with these commits

#

"let's change the pom

#

one

#

line

#

at

#

a

cosmic raft
static badge
#

time

#

"

upper flicker
#

travis ci webhook nice

#

should add one of those for PRs so we can get more notifications

vestal jasper
#

leaf about that pr

#

๐Ÿ‘€

static badge
#

yes ma'am?

#

oh yeah there are changes required

#

I should hire you to nag 2 about all my other PRs

vestal jasper
#

@static badge make the requested changes

#

I'll go thhrough the other ones and nag you about thos too

static badge
#

like is #1712 really that hard to pull :>

#

or #1847

vestal jasper
#

actually it looks like #1940 is the only one with pending requested changes

#

pending as in you haven't responded to it

static badge
#

yeah ik

#

I'm very good at keeping up with my own PRs :>

#

wonder if I need to resolve merge conflicts for others

vestal jasper
#

I'll start monitoring your PRs and spam pinging you when you start slacking

#

want them here or in concrete

#

or both

static badge
#

well if they don't get pulled by next year they'll be in concrete

vestal jasper
#

@heady spear

static badge
#

city is retarded

vestal jasper
#

city is retarded

static badge
#

city is the most retarded next 2 u and 2

vestal jasper
#

I'd say it's
City
You
Me

#

in order of most to least

static badge
#

wtf

#

ur retarded

vestal jasper
#

no u

#

ur retarded

#

you can't even get PRs accepted

#

it's been like 3 days with pending changes

static badge
#

LUL

#

im currently updating other PRs so hold ur socks on

vestal jasper
#

kk

heady spear
#

Suck my dongle v

vestal jasper
#

demote me

heady spear
#

Love me babe

#

What can I do to make things right?

static badge
#

leave :>

upper flicker
#

@heady spear babe what is all this about you talking shit

heady spear
#

It is just lax trying to frame me

#

He said youโ€™re dumb and then photoshopped me into the picture

upper flicker
#

wow

#

you think you know somebody

static badge
#

imagine thinking you know anything 2

upper flicker
#

youre kind of a rude leaf

static badge
#

ur pretty smart for having 2 braincells

upper flicker
#

at least we've moved onto backhanded comments

heady spear
limber knotBOT
#

I mean, can't say that they're wrong

heady spear
#

About the pp?

limber knotBOT
#

The last part

heady spear
#

Sorry I can't see hate

static badge
#

outdated patch applies without conflict

orchid pelican
#

no one saw that

austere ivy
#

hmmmmmmmmmmm

limber knotBOT
#

irc sees all

heady spear
#

I did

orchid pelican
#

dont you

#

dare

heady spear
#

It's in a far better server

orchid pelican
#

speak of this madness

#

its late

#

its very late

heady spear
#

That's why

orchid pelican
#

only 3% of my brain cells are at capacity

heady spear
#

3% of 0 is still 0

orchid pelican
#

does irc show edits?

upper flicker
#

no

austere ivy
#

irc sees NOTHING

#

irc garbage

upper flicker
#

It was the discord guild for city's favorite project

austere ivy
#

but irc > discord /shrug

heady spear
#

The guild is a social experiment

austere ivy
#

I don't get it what's wrong with FAWE

heady spear
#

I'm trying to see how many monies I can steal from people

austere ivy
#

like

#

it's faster than worldedit (atleast 1.12)

#

so ยฏ_(ใƒ„)_/ยฏ

upper flicker
#

city's on the inside

#

he has secret details

#

he knows where the bodies are buried

heady spear
#

It's also less poopoo

orchid pelican
#

nothing can be less poopoo

#

i call a buffer underflow\

heady spear
#

We r adding an hentai channel too

#

And possibly some furry RP stuff

orchid pelican
#

grilled cheese emote?

heady spear
#

My tale is soooooo long

#

starts purring

upper flicker
#

just all my wats

static badge
#

alright what the fuck is this

upper flicker
#

glances at leaf's profile pic

static badge
#

I come back from updating my PRs and this is going on

#

2

heady spear
#

Does paper want to join my best furry network?

upper flicker
#

3?

static badge
#

u need to moderate ur guild better

upper flicker
#

I mean

#

probably yeah

static badge
#

mfw

upper flicker
#

I could turn up the discord nsfw filter

#

so it triggers on random things again

heady spear
#

Leafyboi here is Furry McSharpClaw

upper flicker
#

done

heady spear
#

His soul is blue and he's afraid of loud motor vehicles

upper flicker
#

its good youve put so much thought into this... I think

limber knotBOT
#

official cloud system I like official cloud systems

static badge
#

city is going downhill currently

limber knotBOT
#

"currently"

heady spear
#

I'm getting rid of some potential energy to gain kinetic energy

limber knotBOT
#

You make it sound like a new trend

heady spear
#

I'm hot

upper flicker
#

You either die a spottedleaf or live long enough to see yourself become the aerocet

heady spear
#

Ew

upper flicker
#

furry mcsharpclaw*

static badge
#

oh no

#

2

#

ur retardewd

#

shit

upper flicker
#

mfw

heady spear
#

I have a resting duck face

static badge
#

ur still retarded

heady spear
#

This is serious

static badge
#

resting retarded face

heady spear
#

We're not talking about you

#

Calm down leafy

static badge
#

whoa now

vestal jasper
#

ur retarded

static badge
#

ur retareded

vestal jasper
#

not u

#

city

static badge
#

oops

#

ur still retarded

vestal jasper
#

ur retarded

heady spear
#

Fu v

static badge
#

ur retarded

vestal jasper
#

you would city

upper flicker
#

well at least this didnt completely devolve

vestal jasper
#

fu z

#

wait no

static badge
#

only thing that's appeared to devolve is ur braincell count 2

vestal jasper
#

i'm becoming as toxic as leaf

#

literally harassing anyone who types

#

then again it is z

static badge
#

yeah 2 doesn't matter

vestal jasper
#

he's prob the least retarded though

static badge
#

most retarded

vestal jasper
#

least retarded is still retarded

static badge
#

ur retarded

limber knotBOT
#

whos the most retarded

#

(hint: its me)

void void
#

Tsingtao is a good beer tbh

finite wave
#

Weiss beer

#

Mhm

orchid pelican
#

hold on hold my beer

limber knotBOT
#

uuuug, weiรŸbier

#

das not real beer

#

best beer is kรถlsch and comes out of kรถln (cologne)

oblique glade
quasi valley
#

I thought the bayerischen Schnitzel are the beer addicts

limber knotBOT
#

see, bavaria isn't germany

#

they don't speak our language, they don't drink our beer and they don't eat our bratwurst

quasi valley
#

Ah I forgot

limber knotBOT
#

they speak bayrisch, drink weiรŸbier and eat weiรŸwurst

#

they are strange ppl

quasi valley
#

WeiรŸwurscht*

limber knotBOT
#

๐Ÿ˜‚

void void
surreal moth
#

i have a question for java compiler and generics
as you know, java 5 gave us generic type parameter, it can write:

List<Integer> ints = new ArrayList<Integer>();

and java 7 style is:

List<Integer> ints = new ArrayList<>();

java 10+ can write:

var ints = new ArrayList<Integer>();

So my question is;
ใƒปcompile that example speed is javac 5 < javac 7 < javac 10 in Oracle's and OpenJDK's ?
ใƒปdoes internal impl omit generic type check when right type is diamind nor left type is var ?
ใƒปhow's specified with upperbound, lowerbound, and raw type?

finite wave
#

@surreal moth Last one is not inferred.

hard viper
#

Last one shouldnt compile

surreal moth
#

i meant
List<? extends T> some = new ArrayList<>()
and
List<? super T> somesome = new ArrayList<>()
and
List what = new ArrayList<>()
can't compile them neither?

finite wave
#

You can

finite wave
surreal moth
#

owo
java 10 example should be
var ints = ArrayList<Integer>();
that was just Object

finite wave
#

Yeah, it needs to be able to infer the type.

worn ember
#

suiting name

finite wave
#

Thx, i set it myself so i wouldnโ€™t get pms

woven otter
#

but you're a dev

finite wave
#

Yes

#

There

worn ember
#

TempleOS

finite wave
#

JanOS

worn ember
#

Nope.gif

void void
deep shoal
#

what happens if I call

#

Bukkit.getPluginManager().disablePlugin(myPlugin)

#

before myPlugin has been enabled

finite wave
#

Not much

#

Because why would u do that?

deep shoal
#

my plugin's initialisation

#

has failed

#

I don't want my plugin to ever be "enabled"

finite wave
#

Where are you initizalizing it?

olive garden
#

Can dumptrackamn's JsonConfiguration serialize BookMeta? Aren't there issues with JSON deserializing numbers are doubles, while BookMeta only accepts integers? Just wondering.

deep shoal
#

in a static { } block

#

in one of the clases

#

I just set up a connection to the database

finite wave
#

@north haven Can answer u @olive garden

#

@deep shoal Do it in onEnable.

deep shoal
#

no bc

#

idk the onEnable order

finite wave
#

And throw and exception if it canโ€™t connect.

deep shoal
#

and other plugins need to use this one

#

when they are enabled

finite wave
#

Depend on the plugin

#

If the others depend on it. Yours will load first.

deep shoal
#

people told me last time that wasn't the case

finite wave
#

Hmm? @bright walrus

#

@golden gust

#

Idk

void void
#

isn't it weird that sudo apt install openjdk-11-jre I get java 10? ๐Ÿค”

#

wot

#

(running ubuntu 18.04)

deep shoal
#

if X depends on Y and Y's onEnable disables itself, will X's onEnable be called?

vestal jasper
#

I'm pretty sure that's normal, Fredrik

#

I've heard that numerous times before

#

(Normal as in intended behaviour)

golden gust
#

your plugin should be loaded before dependencies, but, there are some cases where that might not occur, such as other plugins on the server; Never had any issues myself outside of circular dependencies, but I've seen others suffer due to it

#

And yea, 11 installing 10 is normal due to some "we'll update the package to 11 when it's dropped given that it's the LTS", and that, I have no idea

deep shoal
#

how about this one

#

if X depends on Y and Y's onEnable disables itself, will X's onEnable be called?

#

also just wondering now how my plugin can get its own name

golden gust
#

I wanna say no, it won't

wide hazel
limber knotBOT
void void
#
java --version
openjdk 10.0.2 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)

I wanted java 11?

#

and i wrote openjdk-11-jre?

slim nymph
#

@olive garden yes it can. JsonConfiguration does not use GSON or simple-json which yes has trouble with numbers. it uses a different library json-smart that can deal with numbers better.

olive garden
#

I see, thanks!

slim nymph
#

I've been serializing inventories for 6 years with JsonConfiguration

wide hazel
#

Ouch

slim nymph
#

ouch?

vestal jasper
#

ouch.

slim nymph
#

whats ouch

wide hazel
#

It's big

unreal quarry
#

E t phone home

slim nymph
#

my serialized inventories are peanuts compared to chat logs

wide hazel
#

That's fair

unreal quarry
#

Boss is working with me and a random helper today since my assistant called in...

Boss: You guys take a break
Me: Breaks are for pussies, let's finish this first
Random: Wth man
Boss: I wish I could work you to death, but the law forbids it. Take a break..
Me: :(

green edge
#

=))

unreal quarry
#

Probably why my assistant called in the day before his vacation..

#

These old guys are union, so they want their break at an exact time. I'm more "I'll take a break between things" I hate having to stop in the middle of something

void void
#

better to have structured breaks imo

unreal quarry
#

Well, yeah, but give +/- 15-30 minutes though. Nothing I do take longer than 30 minutes. If I'm between jobs at 9:20 I'll break from 9:20-9:35. If I'm still running at 9:30 I'll wait til 9:45 for it to finish before taking a break. These guys will literally shut machines down mid run and drop whatever at 9:30 on the dot. Its so weird to me

#

But I'm just a dumb mellenial :P

void void
#

what was the link again to use for latest paper?

#

with wget

limber knotBOT
slim nymph
#

that has more details @golden gust ๐Ÿ˜›

#

@void void

void void
#

i feel stupid now, first header says "I just want to download the latest jar"

#

thx

golden gust
#

Oh, I actually had some download speed issues with latest

slim nymph
#

prob because we dont have cache'ing on it

golden gust
#

I was creating some script other day for a docker image, and basically ended up having to make latest resolve the build number and fetch that

slim nymph
#

I really wish wed make it redirect to the versioned URL instead

vestal jasper
#

My cat just tapped my shoulder and ran away

#

๐Ÿค”

slim nymph
#

@cosmic raft can we do that? then we can proper cache every download

static badge
#

he's trying to tell you "ur retarded"

vestal jasper
#

ur retarded

north haven
#

@olive garden I use json-smart in JsonConfiguration which seems to be the only library that can handle doubles correctly.

olive garden
#

I see, thanks

#

Aikar already pointed it out :)

north haven
#

ok cool

torn basalt
limber knotBOT
#

sup peeps

olive garden
#

o/

limber knotBOT
#

oooh shit, I just signed a contract for my new flat

#

fucking finally \o/

finite wave
#

Noob

#

Took u long enough

limber knotBOT
#

can discord ppl pls stop renaming?

#

I bet you are either jan or bram

#

altho bram doesn't write here

olive garden
#

The future is here: single-use names

limber knotBOT
#

s/ lโ€‹33โ€‹t โ€‹haโ€‹xoโ€‹r/ uber n00b/

#

Correction, <DiscordBot> <10Iโ€‹โ€™mโ€‹** uber n00b**> Took u long enough

#

fixed

#

someone knock me out for 4 days

#

im so bored and i dont wan wait for vacation

vestal jasper
#

:)

limber knotBOT
#

do smth fun

vestal jasper
#

irc omegalul

limber knotBOT
#

irc so foon

#

you could donate some money to inventivetalent for example and get access to her new super secret project

#

nthx

#

unless is cool

#

it is

#

wat is

#

am not authorized to answer that question

#

pm me summary w/o spoilers kthx

#

wat i has to donate, why is it worth my monies

finite wave
#

Smh

limber knotBOT
#

calling purchases "donations" ๐Ÿค”

#

its not a purchase

#

i dont get it

#

why would i donate if i know nothing about it besides "yh iz cool"

#

if you get something in return then it's a purchase, lol

#

because you are a nice person and like supporting cool ppl?

#

? lol

#

its not like she has a shop where she sells early access stuff, lol

#

i mean the way you describe it is to purchase access to something iz spr c0000000l do et, if u dont ur bad

gusty idol
#

How could I make a method run before all JUnit tests of all classes ๐Ÿค”

limber knotBOT
#

define a test suite

#

das the website

#

ok...

unreal quarry
#

My website is better, mini. I echo the date from php. ^_^

golden gust
#

php

gusty idol
#

php

golden gust
#

not embracing our JS overlords

#

psh

gusty idol
#

I was thinking of Go

unreal quarry
#

Pssh. I've been php since 2001. Can't teach this old dog new tricks. Especially when php works fine :p

finite wave
#

Haskellll

unreal quarry
#

Btw, my website is running on a pi zero w ^_^

limber knotBOT
#

anyone know of a drone that doesn't have a camera built in, but instead just lets my mount my gopro? the karma is off the market, so wouldn't buy that

finite wave
#

Yes

limber knotBOT
#

model?

finite wave
unreal quarry
#

Spying on your neighbors, eh?

limber knotBOT
#

no

#

I'm going to the philippines and want some aerials

unreal quarry
#

Holy balls those are cheap... I thought drones were still $1k+

limber knotBOT
#

the "pro" ones are

#

these ones expect flight time of 20 mins max

#

(around)

unreal quarry
#

Ok, so these are the cheap kids ones that never calibrate right so you always end up crashing it

limber knotBOT
#

Not that bad no, but the pro ones have things like gimbals and more rotors for stabilization etc

gusty idol
#

How do I make all classes of a package part of a suite thonk

finite wave
#

There are two karmas in stock

gusty idol
#

Is there no equivalent of @SuiteClasses for packages

limber knotBOT
#

yes but gopro doesn't support them anymore

gusty idol
limber knotBOT
#

so problems? fuk u sux

finite wave
#

Oh

heady spear
#

Hi beauties how r u?

pulsar wigeon
#

hi ugly

rugged vigil
fallen oracle
#

Welcome.

dapper geode
gaunt elm
wet sun
ancient bolt
#

I need to buy better earbuds for general listening

void void
#

i can never listen any music with earbuds

#

daily headset user, everything sounds so much better

ancient bolt
#

headsets are not practical

#

and you haven't tried high quality earbuds if you think headset is automatically better