#general

3141 messages · Page 35 of 4

worldly condor
#

yeah they updated it

proud inlet
#

my activation is working fine 😛

acoustic pilot
#

Note with IJ update, if you have outdated plugins, when you open the upgraded version it might not correctly index your JDK so update the plugins and then restart IDE and for me that fixed the indexing process.

proud inlet
#

prior to update it automatically updated the plugins

acoustic pilot
#

didn't for me. two plugins were outdated post-upgrade. upgraded IJ through the toolbox

#

such as the lombok plugin

#

didn't update on its own

proud inlet
#

it did for me

#

who knows

#

Oh wait i did not updated through toolbox

finite wave
#

Toolbox is super easy

proud inlet
#

Yes on my other PC i updated now with toolbox but the plugins where not updated

#

yes i use it

#

but not on my mac

#

i like keeping it of junk 😄

acoustic pilot
#

Anyone else rocking Dracula from Material Theme UI?

atomic marten
#

I use gruvbox

worldly condor
#

gruvbox ? wat

proud inlet
#

NANO!

#

gruvbox doesnt look that bad

spiral garden
#

owo new jetbrains version

#

also apparently a computer networks competition here is half a CCNA exam

merry talon
#

holy shit

#

I just accidentally ran a clean task on my src dir instead of my dist dir

#

thank god vs code saved most of it cached

#

I'm gonna start commiting more often

acoustic pilot
#

Mm, Material UI's Dracula with contrast mode, and nyan cat progress bars, hawtness.

atomic marten
#

Gruvbox is easy on the eyes

worldly condor
#

someone gimme good tut on kotlin

#

i wanna learn dat

limber knotBOT
#

.g kotlin in action free pdf

red halo
#

🤢

ornate spindle
#

so how damaging would it be if spigot or whatever implemented a feature that allowed you to set a cap on how many chunks can be ticked at the same time

pulsar wigeon
red halo
#

lol is this old minecraft

pulsar wigeon
#

mebe

red halo
#

the auth servers

#

r

#

ded

pulsar wigeon
#

oic

limber knotBOT
#

.mcstatus

red halo
#

no the old auth servers for pre beta 1.8 are gone

pulsar wigeon
#

talking about pre-yggdrassil auth lol

shell vine
#

anyone else notice big usercache file takes much longer to startup in 1.13 than 1.12

proud inlet
#

What movie/series to watch? Urgent 😄

pulsar wigeon
#

forgot all about that

proud inlet
#

lol

worn ember
#

free headaches

worldly condor
#

^^

void void
#

Hey anyone here on a desktop?

#

I'm on phone with no JavaScript console

#

Need to debug my website

proud inlet
#

sure

#

@void void url?

void void
#

societyproject.group

proud inlet
#

you better fix that https redirect

#

not working 😛

#

ERR_TOO_MANY_REDIRECTS

void void
#

Oh

#

I disabled https for debug

#

Hold on changing nginx config

proud inlet
#

roger

#

Web server is down

worldly condor
#

i have created multi module project with gradle and with minecraft development plugin. How do i apply dependencies on all 3 modules without putting them on every single moudle's build.gradle file ?

void void
#

Now check

hoary meteor
void void
#

Welcome

#

Did the website load?

proud inlet
#

yes

#

kind of slowish

void void
#

Yeah I disabled cache

#

Check JS consolr

#

For some reason CSS doesn't load

proud inlet
void void
#

Idk why

proud inlet
#

no errors

#

you dont have any css files in the head

worldly condor
#

@proud inlet look PM

void void
#

Check the new website

#

The link which says new website

#

It was supposed to be very spruced up but it just has no CSS

worldly condor
void void
#

because that's exactly what you're doing?

#

allprojects {}

golden gust
#

Don't use tables for laying stuff out

#

Web devs stopped doing that like a decade ago

void void
#

Wait what are you talking about the main page?

#

Because the bug isn't on the main page it's the new website not loading any CSS

worldly condor
golden gust
#

Also, you've not got any css rules?

void void
#

ivan you should've simply replaced subprojects with allprojects

#

If you send a manual request to the css urls it will display rules

#

also why so old shadow plugin?

#

But on the website it displays no CSS rules

#

5.0.0 is out lol

#

Like wtf

worldly condor
#

@void void idk. the mcdev ij plugin configured dat

void void
#

yeah... don't always trust automatics

#

Does the CSS load

worldly condor
limber knotBOT
#

last time I checked the mcdev plugin didn't even generate gradle for bukkit?

void void
#

define "doesn't apply"

worldly condor
#

MiniDigger: it didn't created a build.gradle for the common

slim nymph
#

you got scalped

void void
#

hahah

worldly condor
#

but he told that the translation is acurate

#

now merge my PR, please 😃

void void
#

maybe evolving into an human finally? 👀

worldly condor
#

DemonWav didn't created the multi module creation very good

#

think i need to trust the good old maven

#

and do it alone

void void
#

multi module support in gradle is kinda crap anyway, even i haven't figured it out properly

#

especially with kts ffs

pulsar wigeon
#

multi module?

void void
#

well, sub-projects support or w.e you'd call it

proud inlet
#

Im dyanakiev 😄

acoustic pilot
#

subprojects are gradle calls them

pulsar wigeon
#

oh

acoustic pilot
#

as*

pulsar wigeon
#

gradle works fine with subprojects wat?

void void
#

have to apply e.g kotlin plugin in root project and then in subprojects {} block

#

if i don't do that in root project, then gradle bitches about unresolved references in subprojects {} block

pulsar wigeon
#

oh, are you talking specifically about mc-dev's generation

#

not about gradle in general

austere ivy
#

howdie

void void
#

i am speaking about gradle in general tbh :D

acoustic pilot
#

maven masterrace

worldly condor
#

i will have core, bootstrap, bukkit and bungee

void void
#

...if i don't do that in subprojects block, then kotlin plugin isn't applied in subprojects (obviously)

worldly condor
#

think its ok

austere ivy
#

maven > gradle

main juniper
void void
#

maven is ok if you don't need to do some advanced stuff

acoustic pilot
#

which is 90% of the time (not needing to adv stuff)

void void
#

ye

#

pretty much

acoustic pilot
#

like yeah it's nice you can script advanced scenarios in gradle, but those situations are the minority, gradle treats them as the majority.

void void
#

i like gradle's buildSrc functionality

dark loom
slim nymph
#

"5-hour ENERGY® | Made for Hard Working People | 5hourENERGY.com‎" lol nice ad title

finite wave
#

I think they released 2019.1

void void
#

did they?

#

i saw 2019.1 beta release

finite wave
#

How dafuq do i delete something from jetbrains toolbox @slim nymph

limber knotBOT
#

I saw that, I think it's just saying that the install is set to track EAPs too

void void
#

wait

limber knotBOT
#

Click the settings thing and then uninstall from there

void void
#

ahhh 2019.1 is out

finite wave
#

Oh thats a settings button

#

I thought it was just a glorified design button

void void
#

well that's what i literally said

#

:p

finite wave
#

Oh

#

K, well i said it first

limber knotBOT
#

Yea, was running the RCs recently

#

They updated the splash in like the last RC, before that it was some weird static thing, and then i seem to recall it was the weird static thing but without the static, and now

finite wave
#

Such fancy <34

limber knotBOT
#

electroniccat: thank god they changed the splash before release

finite wave
limber knotBOT
#

(DiscordBot) Rammstein - Deutschland (Official Video) - length 9m 23s - 142,924 likes, 1,871 dislikes (98.7%) - 455,562 views - Rammstein Official on 2019.03.28 - NSFW****

slim nymph
#

oh shit: Fixup and Squash actions are now available from the context menu of the VCS Log tab providing you with the ability to quickly create commits with the fixup! and squash! commit messages.

#

that can be EXTREMELY helpful for paper development

orchid pelican
#

What does your guys paper development environments look like.

slim nymph
#

a folder and IDEA?

cosmic raft
#

intellij

#

lol

orchid pelican
#

Like you don’t make the patch files manually right?

slim nymph
#

p rb

#

look at paper script

orchid pelican
#

In the paper repo ?

slim nymph
#

yes

#

the file named "paper" at root of repo

#

i have 'p' aliased to that

#

and ec aliased to my personal forks version

#

and p12 for paper 1.12 lol

orchid pelican
#

So you work on source and then the script makes the parched and then patches for you

pulsar wigeon
#

give it some water :(

slim nymph
#

um im not sure what you just said

#

but when we run paper patch, it gives us fully pathed repos

#

we edit said repos, then 'save the state' with paper rb

orchid pelican
#

Ahh gotcha

slim nymph
#

its basically snapshots

orchid pelican
#

Ye that’s dope

slim nymph
#

we can rebase, reorder, edit, delete, add, anywhrre to the whole commit stack

#

then snapshot save the new state of the patches

orchid pelican
#

I’ll need to look into that

slim nymph
#

i wonder what kind of nightmare would spigot have been if I hadnt created this system for him all those years back

#

I'm the one who started this patch process for spigot 😛

orchid pelican
#

If only the while project went in that direction

slim nymph
#

just spigots scripts are now so far behind papers in friendlyness

void void
#

For some reason nginx is being dumb

slim nymph
#

me open a 2b2t link at work? no thanks lol

#

saw some porn content on the reddit the other day thankfully reddit masked as NSFW

void void
#

Lol I tried to ask on a non-2b discord because no one trusts links on the other ones

#

But seems like no one trusts an honest question

#

Im stranded on a phone

slim nymph
#

its not that i dont trust the link safety, i dont trust the SFW nature of the content lol

void void
#

And I can't access JavaScript console

#

Idk how to prove it's sfw...

#

Society project isn't like that we just measure queue length and do world downloads

#

Oh wait I'll attach a screenshot

cosmic raft
#

its sfw

void void
cosmic raft
#

@heady spear wtf your name

void void
#

Is it loading css

cosmic raft
#

yes

void void
#

Oh wtf

#

Wait its all good???

#

WTF CACHING LOL

cosmic raft
#

yes

slim nymph
#

have you cleared browser cache

#

did you turn it on and off again

void void
#

I tried clearing

slim nymph
#

could be CF Edge Cache

void void
#

Oh

#

I'm using cloudflare

#

Very sad

orchid pelican
#

Is 2b2t dead

gusty idol
#

If I wrote a plugin using JDK 8 will it work with JRE 9, 10, 11 and 12 too?

void void
#

No it's too big

orchid pelican
#

@gusty idol yes

gusty idol
#

But if I wrote it using JDK 12 it wouldn't work on JDK 8, would it?

orchid pelican
#

Correct

#

And java is only 11 I think

cosmic raft
#

12

orchid pelican
#

Is there a jdk 12 ?

cosmic raft
#

yes

orchid pelican
#

When was that released

gusty idol
quasi valley
#

there are even pre 13 builds I think

cosmic raft
#

this month

orchid pelican
#

Dang

#

Is it an lts

wide chasm
#

12 isn't.

#

8 is, 11 is, 14 will be.

void void
#

Holy f*** it actually renders perfectly if I use a page renderer

#

REEEEE

#

I'm so mad.

gusty idol
#

Should I stick with Java 8? Isn't it the current LTS and don't most people use Java 8?

cosmic raft
#

11 is the latest LTS

orchid pelican
#

My host is only at 8

gusty idol
wide chasm
#

Java 11 adaption is incredibly slow.

orchid pelican
#

So I can’t use 11

void void
#

WTF is wrong with my site

slim nymph
#

not everything is ready to deal with modules

void void
#

Still renders like this

orchid pelican
#

I want to use it but honestly guava has everything I wanted from 11

cosmic raft
#

no it doesn't

wide chasm
#

I am using Java 11 without modules and everything seems to work fine.

void void
#

For me it does on mobile

orchid pelican
#

Wait what’s this module talk about with 11

cosmic raft
#

lol

orchid pelican
#

So a standard for what maven has been doing for how long ?

cosmic raft
#

no

#

not even close to the same thing

#

try reading

orchid pelican
#

Ye I’m phone rn

#

Oh ok that’s cool actually

#

Not like I can use it but it’s cool

slim nymph
#

full control over whats an API vs not to the outside world regardless of use of the public keyword

#

ive hated that java didnt have a way to say 'anyone in my package and children'

#

ie module-scope

#

i wish they would of added module scope as a keyword instead of the more complicated nature of module definitions instead though

#

let the manifest define what packages are part of your module

void void
#

Finally fixed caches ahahahaha

#

I'm so happy

pulsar wigeon
#

internal in C# totally isn't abused at all tho

slim nymph
#

well anyone violating api contracts is unrelated 😛

#

I just hate that Im forced to bundle all my classes into same package, cant separate them into other packages

#

and at this rate itll be a while before libraries can safely mandate 11 :/

limber knotBOT
#

just use UUIDs

#

runs

#

I would go with at least 6 characters then

wide chasm
#

That's only 1.6 million combinations, I'd opt for more characters. (the 4 characters)

#

You wouldn't want to have duplicates in the first place.

limber knotBOT
#

take a look at something like alphaID

slim nymph
#

@void void store it as int, if you really want you can print it in hex form...

#

of course

wide chasm
#

I'd go with more if I were you.

lavish lichen
#

@slim nymph do you know if this might be a bug with paper

slim nymph
#

or just dont do any. use an int, convert to hex form if you want a shorter number

lavish lichen
finite wave
#

NO

#

Thx

lavish lichen
#

they are both not opped and it says they are when tabcomplete

finite wave
slim nymph
#

prob an mc bug

finite wave
#

Or yeah ^^

lavish lichen
#

kk

void void
#

All done on a phone lol

gusty idol
#

What's that

void void
#

A queue length graph for 2b2t

cosmic raft
#

why done on a phone

ornate spindle
#

mfw I just realised that entityJoinedWorld in 1.12.2 is actually tickEntity when compared to the mcp

cosmic raft
#

@ornate spindle indeed

#

bad name on spigot's part

#

nothing new there

ornate spindle
#

now I understand why MCP is so beloved

limber knotBOT
#

that naming is actually on grum :P

#

phoenix616: came in a commit by grum, but not necessarily by grum; many people worked on version bumps and then had it squashed

slim nymph
limber knotBOT
#

¯_(ツ)_/¯ their fault if they don't attribute commits properly

ornate spindle
#

I really hope that ends up on 1.12.2 also, but doubt it based on the progress

slim nymph
#

no it wont

pulsar wigeon
#

it'll end up on 1.14 or 1.15 :^)

ornate spindle
#

😦

slim nymph
#

it wont even make 1.13 at this rate

ornate spindle
#

I feel it'll be next to impossible to backport it

slim nymph
#

no it wont

#

paratask will be a separate project

ornate spindle
#

wouldn't it be based off the current chunks though

slim nymph
#

though if 1.12 is still active and you do the work to backport it and its implemented correctly, id prob take it

#

that specific task isnt chunk based

ornate spindle
#

sorry meant the other stuff in Regionized & Parallel Processing

void void
#

Integrate custom recipe creator

slim nymph
#

yeah lot of the other stuff def wont be backportable w/o the same major effort

#

@void void we already have that in paper

void void
#

On 1.12.2 is?

slim nymph
#

Recipe.setIngredient(ItemStack)

#

no

ornate spindle
#

only thing I could see maybe being backportable along with the tracker would be the entity and tile entity ticking

slim nymph
#

no...

#

E/TE is the absolute hardest one

cosmic raft
#

@slim nymph not worth doing for 1.13, 1.14 refactors entity tracking

ornate spindle
#

rip

cosmic raft
#

none of the existing classes exist in 1.14

slim nymph
#

@cosmic raft i wont even be ready for it lol

#

im trying to get my ow ndamn server to update, which looks like 1.14 will land before i can

void void
#

1.13.x will need i9 to have perfect tps?

slim nymph
#

i27

#

just wait for 1.14 then skip 1.13

#

looks like ill be skipping 1.13 myself

cosmic raft
#

It requires an Intul e8-1337Q

shrewd belfry
#

i exist here now. cool.

slim nymph
#

welcome to existence

shrewd belfry
#

thanks

void void
#

where did you exist before then?

slim nymph
#

invaded by a sponger

shrewd belfry
#

spigot

#

i was just mildly interested in sponge lmao

limber knotBOT
#

lol

cosmic raft
#

they sent a request from the Minecraft guild, only one we share

#

lol

#

Thanks for letting us know you need to change your account password.
Update it by clicking the button below.

#

I didn't request a password change, but thanks Sony

gusty idol
#

Shit

#

I took a long at ACF

#

It indeed looks way better than my thing

#

How does it not need you to use plugin.yml

ancient bolt
#

fuck it's hard to make java ignore invalid certs

native thunder
#

You can register in bukkit's command map

jolly violet
#

TIME TO FLOSS BOYS

limber knotBOT
#

Although that's more competition for a RockPro64

#

Amaranth: interesting

#

you ordered a ROCK64 already?

#

Yeah, right after we talked about it I ordered a board, aluminum case, and power brick

#

oh wow

upper flicker
#

I was thinking about getting a rock64 or similar competitor

#

might hold off for that now

limber knotBOT
#

Kingston A400 120GB SSD for $28.99.. hmm

#

The ODROID-N2 with 4GB costs more than I spent on that whole kit btw

#

Although hardkernel is usually really good about working with upstream and keeping things up-to-date

upper flicker
#

I'm probably more in the market for a rock64pro

#

which is closer to odroid prices

#

unless they're cheaper from resellers I guess

#

havent really done much than spitball around

limber knotBOT
#

USD$82 for an ODROID-N2 with 4GM RAM

#

ROCKPro64 is $80

upper flicker
#

yep

limber knotBOT
#

only bought samsung ones in the past

vivid iron
upper flicker
#

some of the benchmarks put it about average with other sata ssds

#

idk about price/performance etc

#

but if you can find a deal idk why not

cosmic raft
#

$28.99 for 120GB, which isn't bad

proud inlet
#

what do you mean for good?

#

its ssd and its cheap

#

it should work just fine

#

what for you gonna use it?

cosmic raft
#

storing the nuclear launch codes

upper flicker
#

make sure to encrypt it then fingerguns

cosmic raft
#

yeah

#

using rot13 and base64

upper flicker
#

wow

#

pretty secure

proud inlet
#

sha256

#

uh never mind just store in plaintext and add random characters at the beginning the to verify str replace them

shrewd belfry
#

genius

proud inlet
#

thanks

cosmic raft
#

base64(rot13(base64(rot13(value))))

jolly violet
#

i use SHA 25543278965273895783512 to encrypt so hard that your mother

proud inlet
#

what is rot13 tho

jolly violet
#

rotate 13 degrees

limber knotBOT
cosmic raft
#

ROT13 ("rotate by 13 places", sometimes hyphenated ROT-13) is a simple letter substitution cipher that replaces a letter with the 13th letter after it, in the alphabet. ROT13 is a special case of the Caesar cipher which was developed in ancient Rome.
Because there are 26 lett...

proud inlet
#

The ROT13 encoding shifts every letter 13 places in the alphabet. Numeric and non-alphabetical characters remains untouched.

#

oh lol never heard of this

jolly violet
#

did you vaginate your password though?

#

then it is not secure

#

go away

cosmic raft
#

Why did the chicken cross the road?

#

Gb trg gb gur bgure fvqr!

proud inlet
#

we need bot for this

cosmic raft
#

.rot13 do we now

limber knotBOT
#

(DiscordBot) qb jr abj

proud inlet
#

lol..

pulsar wigeon
#

.-.

proud inlet
#

do you judge me?

shrewd belfry
#

wow

jolly violet
#

ooh phool i like that word

proud inlet
#

who deletes this

#

i dont care

jolly violet
#

PHOOL

#

you are phool

#

.rot13 phool

limber knotBOT
#

(DiscordBot) cubby

jolly violet
#

cubby pog

proud inlet
jolly violet
#

oh i love indians they smell so good

proud inlet
#

ew.

jolly violet
#

phool phool pe bani ya YA YA

#

.rot13 chungus

limber knotBOT
#

(DiscordBot) puhathf

void void
#

I saw it

#

Dimitar

jolly violet
limber knotBOT
#

(DiscordBot) Phool Phool Pe Bani Teri Tasveer | Kavita Krishnamurthy, Udit Narayan | Phool Songs | Madhuri - length 8m 13s - 26,269 likes, 6,415 dislikes (80.4%) - 15,577,006 views - Gaane Sune Ansune on 2018.02.10

jolly violet
#

this shit is trash

proud inlet
#

@void void so you offer?

void void
#

No

proud inlet
#

😭

jolly violet
#

it's actually hilarious

finite wave
#

private boolean gender; fite me

#

I’m bored

proud inlet
#

I dont think that irc bridge is GDPR safe

limber knotBOT
#

ur not gdpr safe

jolly violet
#

how can you have a boolean called gender.. isn't the point of a binary option that each is worth 50%? girls are worth fucking 0.2%

#

more like a booleanot

finite wave
#

Sry

proud inlet
#

what does gdpr stand for? global d? privacy ?? 😄

jolly violet
#

gigantic dick pubic rasputin

proud inlet
#

i knew it

finite wave
#

private boolean hasDick = true;

proud inlet
#

why private?

shrewd belfry
#

insecurities

proud inlet
#

are you woman but secretly man?

finite wave
#

I’ve got trousers on

jolly violet
#

i'm going to stimulate myself with vigor

#

who wants to join

finite wave
jolly violet
#

tushy

finite wave
#

It’s actually so outdated that it has weird math concepts

tropic flame
#

most confusing but best 15 seconds of my life

finite wave
jolly violet
#

my dad just ran into the house at 95 mph and is screaming in the bathroom

#

it sounds like hail over the ocean

#

what the fuck

#

he's literally screaming like a goddamn autist

#

shit in silence you moron

limber knotBOT
#

... how do people typically deal with bot swarms raiding a server?

#

just have one that lasted only a couple minutes

#

had*

jolly violet
#

you suck it up or use egg's plugin

#

oh he shit his pants nice

limber knotBOT
#

egg's plugin question mark

cosmic raft
gloomy sphinx
#

Does paper have any additions to jukeboxes? apparently spigots is very strict

upper flicker
#

we only deal in juiceboxes here

austere ivy
#

potato

static badge
#

yikes juiceboxes

upper flicker
#

at least its not a leaf

static badge
#

2 ur retarded

upper flicker
#

3 ur bad

austere ivy
#

@jukeboxe

#

@jukebox

#

why is it not tagging me

static badge
#

do you have 3 functioning braincells

austere ivy
#

no

#

I have 200 billion

#

and 3

#

neg

jolly violet
#

they don't call me Brian the Magnificent for nothing whips out massive hamburger

tropic flame
cosmic raft
#

god, flashbacks

#

watching a youtube video

#

mentioned "master/slave IDE pins"

#

go back to hell, master/slave pinning

shy zodiac
worn ember
#

I'll take 5.

void void
#

@cosmic raft install your damn windows updates

cosmic raft
#

no!

void void
#

😦

cosmic raft
ancient bolt
#

that's piracy man

#

so evil

void void
#

they are legal backups of his dvds

cosmic raft
#

at least I run non-pirated operating systems and software like intellij etc

ancient bolt
#

pushes his stack of 3TB drivers further away

#

nothing to see here

cosmic raft
#

kek

ancient bolt
#

definitely not lots of illegal pirated content on these drives

cosmic raft
#

all legal

#

cat videos

stiff yarrow
#

@cosmic raft remember moving the jumper on your motherboard to reset CMOS PogU

ancient bolt
#

yes

#

all of it

cosmic raft
#

@stiff yarrow yes

#

and bypass passwords

upper flicker
#

I still have a jumper on my motherboard for that ._.

stiff yarrow
#

I mean they all still have it

#

but now I have a fancy button

upper flicker
#

wow

stiff yarrow
#

fancy cmos reset button

ancient bolt
#

I have a nice button

#

motherboard also has power and reset buttons

#

super cool

upper flicker
#

tbh most of them probably do now

ancient bolt
#

and a reset DRAM button

#

in case you fuck your ram config up

stiff yarrow
#

changing RAM timings in 2019

ancient bolt
#

and i think there's a couple other neat buttons on there

#

but ignore them for the most part

#

it's more dealing with OCd ram

#

rather than timings

cosmic raft
#

my motherboard comes with: 1 x Clear CMOS jumper(s)

slim nymph
#

this dark reader chrome addon is quite nice. my eyes are happy

#

does a pretty good job at making every website decently readable in dark

cosmic raft
#

some it does terribly

#

I use GitHub Dark for github still

#

it has nicer colours

ancient bolt
#

yeah i use github dark

#

and prefer native dark themes

#

but otherwise dark reader is nice

jolly violet
#

i use labia tones

#

soft pink and hurricane red

acoustic pilot
#

So with YAML at least, you can preserve the order of keys (SnakeYAML can), but Configurate doesn't expose anything like a Yaml Factory that can be passed in to control the creation of the Yaml object, which would be necessary to do this. Gotta write my own loader, or use reflection 😛

#

But good to know it's possible

cosmic raft
#

@acoustic pilot yaml factory? you mean to create the Yaml?

acoustic pilot
#

Yeah

cosmic raft
#

what would you need to do to make it preserve order? code?

acoustic pilot
#

Ugly, though lol

cosmic raft
#

you'll have a hard time doing that too

#

as it's stored in a ThreadLocal internally

#

(hard time using reflection)

acoustic pilot
#

Yeah I'd have to replace the ThreadLocal if I wanted to use reflection

#

Custom loader seems cleanest

cosmic raft
#

definitely

acoustic pilot
#

Also I think Bukkit uses a cleaner approach to ordered keys

#

Might use whatever they are using

stiff yarrow
#

@acoustic pilot are you using YAML solely for preserving the order of keys peepoGiga

cosmic raft
#

It uses org.bukkit.configuration.MemorySection#getValues

acoustic pilot
#

Well I don't particularly care what the configuration backend is

#

Because I don't intend to store much there

#

Most of my stuff I will have configured in teh database.

#

The configuration is only necessary for things like actually storing the database credentials lol

stiff yarrow
#

I have been naming things cleverly to order them, although one thing I straight up named Z-something

acoustic pilot
#

Yeah I probably wouldn't do that 😛

#

With HOCON you can't really do it because of config merging and stuff, I think

#

Or so I remember reading on lightbend/config's GH

cosmic raft
#

just use system environment for configuration

#

runs

acoustic pilot
#

My configuration needs actually are really simple, I've thought about using properties lol

cosmic raft
#

what are your configuration options?

acoustic pilot
#

Mainly in the core plugin it would store database credentials, in every other plugin I would have them configured through the database.

#

And I assume I'd add some other configuration stuff down the line, but the idea is most configuration will happen in the database.

cosmic raft
#

properties passed in the command line would work too, docker friendly too :3

acoustic pilot
#

Could also just pass in hikari.properties directly into Hikari, too

#

Hm, yeah I think I can do everything from the database, only need the database configuration to be on disk in one plugin. Even my RabbitMQ can be configured in the database.

cosmic raft
#

why use database for that

#

that's weird

acoustic pilot
#

Why not? 😛

cosmic raft
#

because that's something that, to me, should be configured just like you're configuring the database

#

shouldn't require connecting to one service to connect to another

acoustic pilot
#

The database is a required service for any plugin

#

It's going to have to be there, always

cosmic raft
#

doesn't change what I said :P

acoustic pilot
#

It's merely getting the configuration from the database, which again, is required.

#

So it makes no real difference

#

So I think it does change what you said.

limber knotBOT
#

cuz he dont wanna ssh/sftp into his serbur ever again

#

maybe he building web panel for configs

acoustic pilot
#

Panel is farther down the line, but yes that is one of the ideas, too.

limber knotBOT
#

ayyy

cosmic raft
#

don't see why on earth you'd change settings like that on the fly like that

#

my configurations have always been git managed

#

easier to track changes and rollback

limber knotBOT
#

if only some plugins would stop re-ordering keys every time they load

#

like paper and spigot.yml

#

bukkit.yml iirc doesn't change so why do those

cosmic raft
#

do they?

limber knotBOT
#

ya

#

every restart they move around

acoustic pilot
#

Some stuff isn't git friendly, yeah

#

As it wasn't intended to be used that way

static badge
#

personally i store my db zipped in json form on git

upper flicker
#

yaml is unordered so yeah

acoustic pilot
#

For some things it does work great though, like mcMMO config was always good for git versioning

upper flicker
#

you save and it goes lolololol

limber knotBOT
#

not for me and most other plugins tho?

#

linkedhashmap?

static badge
#

2 it uses a linked map

acoustic pilot
#

For Bukkit's configs it uses a LinkedHashMap for keys for order is preserved if using the Bukkit Config API

upper flicker
#

idk what snakeyaml is doing

acoustic pilot
#

but Spigot/Paper don't use that API

upper flicker
#

yaml itself has no ordering in the spec

limber knotBOT
#

that's what I figured

cosmic raft
#

spigot/paper use bukkit's api

#

code is almost exactly what bukkit does to load

limber knotBOT
#

something's different ¯_(ツ)_/¯

acoustic pilot
#

oh wait yeah it does, it uses YamlConfiguration so it actually would be using the same Representer, too

static badge
#

find and inspect the src of the plugins

cosmic raft
#

The difference is Bukkit uses setDefaults, we set default values

#

that's about the only difference I can see

static badge
#

you use default values because that makes managing it easier :>

cosmic raft
#

wat dat

static badge
#

what is that cancer and why

limber knotBOT
#

history for bukkit.yml vs history for papaer.yml

#

paper

acoustic pilot
#

bukkit.yml and spigot.yml are pretty much loaded the same way

#

So the problem is somewhere else

static badge
#

and what are the diffs

cosmic raft
#

The difference is Bukkit uses setDefaults, we set default values

basically just that

#

the rest is pretty much exactly the same

limber knotBOT
#

hmm the last few commits were one line diffs actually

#

new stuff, so maybe ordering was fixed

#

have a 39+- diff from a commit 2 months ago

cosmic raft
#

lets see it

limber knotBOT
#

that one had a config version change, found another with 29

cosmic raft
#

config version change in it too?

limber knotBOT
#

no

cosmic raft
#

diff?

limber knotBOT
#

ugh idk how to copy diff on gitlab

cosmic raft
#

ctrl + c

upper flicker
#

but how do i paste

acoustic pilot
#

Yeah it was definitely broken in the past. I have my old server configs still on BitBucket, the diffs were bad

cosmic raft
#

alt + f4

limber knotBOT
#

ya it doesn't take the +- stuff

acoustic pilot
#

So if it works now it's a recent fix

cosmic raft
#

view it in patch format?

acoustic pilot
#

Or fairly recent

static badge
#

take a screenshot

upper flicker
#

burn a leaf

static badge
#

2 if there's anything I've learned it's ur retarded

#

but ur not ashamed of it

limber knotBOT
#

this commit has 130 changed files lol

#

I'll try tho

acoustic pilot
#

Basically just a bunch of this kind of stuff

#

Every commit

#

That was in 2015

static badge
#

must've used a hashmap for storing them or something

#

or serialized it to one before

#

something retarded certainly

limber knotBOT
acoustic pilot
#

paper.yml and spigot.yml were in every commit

limber knotBOT
#

ya

static badge
#

jesus

cosmic raft
#

even bukkit back then used a linkedhashmap

acoustic pilot
#

Let's see what bukkit.yml diffs looked like

limber knotBOT
#

I purge my repo from time to time to clear up space hence only 5 months

acoustic pilot
#

Old stuff btw

#

Password is irrelevant 😃

limber knotBOT
#

lol

acoustic pilot
#

bukkit.yml was always clean

static badge
#

gon hack ur db now

#

git fukt

acoustic pilot
#

btw kashike, I haven't written a custom loader yet, but I get the feeling it wouldn't work any way.

#

Just by looking at the object mapper code

#

Fields are cached in a hash map, so when it gets serialized back to the node, order isn't guaranteed, I would assume.

cosmic raft
#

mmm.. probably

ancient bolt
#

I showed my coworker that you can change final fields in java with reflection

#

he was like that's awful

#

😄

orchid pelican
#

Lol

acoustic pilot
#

And then there's SimpleConfigurationNode which also forces map values to be returned as an ImmutableMap

ancient bolt
#

ah fuck 2019.1 updated

#

i need to do my thing

#

oh no i don't

#

I already did my thing

#

horray

#

hurray?

#

w/e

#

oh yes i do

#

I need to release a build for2019.2

upper flicker
#

oi demonwav

#

im on 2019.2 and my plujen is borken

#

wtf r u doin pls fix nao kthxbai

ancient bolt
#

tmw I forget to merge forward before merging back

craggy sail
upper flicker
#

that doesnt look guitar hero enough

ancient bolt
#
git checkout 2019.1
git merge dev
git checkout dev
git merge 2019.1
upper flicker
#

so when are browsers going to decline prompts for notification access by default. There's like 2 that I want them from and a million I dont

ancient bolt
#

sigh

#

you can set that in chrome preferences already

#

in site settings

#

set default to no

upper flicker
#

yeah but its not oob

#

I need my oob

ancient bolt
#

ur wat

#

oh

upper flicker
#

when I was back for holidays

#

open up my parents pc and immediately get like 15 notifications

#

monkaS blah blah

ancient bolt
#

this is what peak performance looks like

#

you might not like it

#

etc

stiff yarrow
#

peak performance blush_peepo_2

limber knotBOT
#

(electroniccat) Microsoft Windows XP Welcome Music - length 5m 25s - 2,251 likes, 40 dislikes (98.3%) - 284,479 views - MicrosoftWindowsUser on 2007.09.08

upper flicker
#

look at mr uses branches

ancient bolt
#

a coworker is working for a client that doesn't understand why branches are useful

static badge
#

only thing that peaks once is 2's braincell count

ancient bolt
#

and wants them to just commit directly to HEAD (with CVS)

upper flicker
#

if they're from CVS they probably dont know why they're useful

#

"ok so I can have 50 copies but why"

#

because they used them like once and then tried to merge that shit and when fuuuuuuu

ancient bolt
#

CVS stands for "cancer versioning system"

#

so throughout jetbrain's different intellij dependencies

#

they have groupids including com.jetbrains.intellij, org.jetbrains.intellij, org.jetbrains.idea, and com.intellij

#

and a few others

#

and com.jetbrains.intellij is the groupId for the actual intellij

slim nymph
#

@cosmic raft re dark reader, i just found it has different 'modes', like for spigot it was a weird blue background but 'static' mode helped make it normal

cosmic raft
#

github dark > dark reader
for github

slim nymph
#

yeah im turning it off on stuff that has good dark modes

upper flicker
#

why is it so blue

limber knotBOT
#

Spent 12 hours trying to figure out a bug triggered when I changed our code from generated commonjs modules to ES modules

slim nymph
#

spigot blue user style

#

i hate that orange

#

i used blue spigot previously

upper flicker
#

so weird in blue

slim nymph
limber knotBOT
#

Turns out when using commonjs modules a library's isPromise check was failing for an async function we were having it call so it expected us to call the callback it provided to us (and we did) but with ES modules the check passed like it should and it ignored the callback and used the return from our function

#

Our functions all returned void so it was setting everything to undefined

#

I spent half my day trying to figure out if our polyfill for promises was resolving twice since it looked like the callback was getting triggered twice, turns out one of those was us and one of those was the library being helpful

#

I feel like this was a terribly dumb issue to spend a whole day on

slim nymph
#

O.o

#

not using core-js?

upper flicker
#

idk if thats imgur or the theme

#

but those fonts are rough

limber knotBOT
#

I am using core-js, I was trying to figure out if it was broken :P

ancient bolt
#

I wonder if they do those releases manually and are just like "fuck I don't want to do all of these dependencies"

limber knotBOT
#

Probably :P

#

The worst thing is all my async getComponent() functions were actually returning the return value of calling that callback so I just have to change return callback(null, component); to return component;

#

We almost had it :P

slim nymph
#

fucking hell why does javadocs have to be so strict

austere ivy
#

how do I reach peak performance

slim nymph
#

how do you even correctly write a code block in a javadoc

#

do you really gotta <

austere ivy
#

¯_(ツ)_/¯

#

who needs javadocs

ancient bolt
#

@upper flicker 😮 fuck jetbrains hasn't released their first 2019.2 EAP build to the maven repo yet

static badge
#

I use pre

austere ivy
#

code explains itself amirite

pulsar wigeon
#

<code><![CDATA[

ancient bolt
#

What will I do 😦

slim nymph
#

i did pre

static badge
#

worked for me

pulsar wigeon
#

<itemStack> and <string> are xml tags there

#

well, if javadoc's parser works anything like c#s

#

tbh i have no clue how it works but

ancient bolt
#

rider has a 2019.2 snapshot versions for whatever fucking reason

slim nymph
#

i really dislike javadocs being html.

ancient bolt
#

Kotlin uses markdown in kotlindocs but it's missing some (imo) really key & important features from javadoc

#

so it's like

#

one or the other, they both kinda suck

slim nymph
#

looks like i need {@code}

pulsar wigeon
#

yea you either need to use html escapes like Iterator&#60;ItemStack&#62

#

or code

ancient bolt
#

{@literal @}

#

is a javadoc thing

#

fyi

pulsar wigeon
#

which will autoescape everything in the tag

pulsar wigeon
#

looks right

ancient bolt
#

You didn't do what I said

upper flicker
#

that should be right

#

its only a little cancer

ancient bolt
#

you can't put @literal in @code like that

slim nymph
#

what i really dislike about this is that its now less friendly to copy/paste from the IDE

ancient bolt
#

at least I don't think you can

pulsar wigeon
#

pretty sure you can

ancient bolt
#

oh shit that is disgusting

slim nymph
#

this said to do that

ancient bolt
#

brb gonna puke

golden bolt
ancient bolt
#

biggest issue with {@literal @} is it includes the leading space in front of the @

upper flicker
#

suppose I should move that irc notification too

ancient bolt
#

Which is annoying as shit

austere ivy
#

I don't even write javadocs

ancient bolt
#

godocs says there's no formatting in godoc

austere ivy
#

just write it all in comments

ancient bolt
#

all you got is pre-formatted with 4 spaces

austere ivy
#

have people decompile your code

ancient bolt
#

no links, nothing

#

it sucks

austere ivy
#

does that even work I don't think so

upper flicker
#

no

ancient bolt
#

just include a string in your code

#

a string for each method

#

called <methodName>Docs

#

It'll survive compilation then

upper flicker
#

why am I building the docs with java 10

#

wonder if 11 is stricter

austere ivy
#

I use java 8

#

¯_(ツ)_/¯

static badge
#

probably n ot stricter

upper flicker
#

I wanna stab whoever thought the right syntax for listing available java versions was status

austere ivy
#

dude just make array of string called comments

static badge
#

violent

austere ivy
#

actually

#

a hashmap of string

upper flicker
#

but hug whoever included the switcher script in arch

slim nymph
#

i believe you did have some issue with 11 in past Z, it feels familiar

austere ivy
#

with the line the comment is supposed to be and then the comment itself

upper flicker
#

will test locally

austere ivy
#

so like 11, "This line does this"

#

boom I support hashmap commenting

ancient bolt
#

switcher script is dope in arch

upper flicker
#

status is bad

#

but the rest is amazing

ancient bolt
#

but I need to be able to switch faster / on other platforms with more versions

#

so I wrote my own scripts

#

and it works on mac too

upper flicker
#

On other systems I just write a function for it in bashrc yeah

austere ivy
#

switcher script?

#

uh I think you can do:

limber knotBOT
static badge
#

ah yes

upper flicker
#

that damn still

#

brutal

austere ivy
#
switch (boolean?) {
    case (1):
        "please remind me how to do a switch statement I'm too tired for this"
}
static badge
#

wtf is that shit

austere ivy
#

help

static badge
#

use if else for boolean

ancient bolt
#

don't use if

#

ever

#

there are better ways

austere ivy
#

like this?

if (boolean):
    then {
        System.printline("hello"):
    }
    else
    { System.printline('goodbye"): }
#

?

#

like ternary

static badge
#

what in god's fucking name is that

pulsar wigeon
#

a seizure, presumably

atomic marten
#

' followed by "

#

kill it with fire

static badge
#

aikar why is ur jd change in the reuse buffers commit

ancient bolt
#

@austere ivy this is the canonical way of writing that (boolean ? (Runnable) () -> System.out.println("hello") : (Runnable) () -> System.out.println("goodby")).run();

cosmic raft
#

don't worry

#

i'll save you @static badge

#
public class Permuter                                {
    private static void permute(int n, char[] a)     {
        if (n == 0)                                  {
            System.out.println(String.valueOf(a))    ;}
        else                                         {
            for (int i = 0; i <= n; i++)             {
                permute(n-1, a)                      ;
                swap(a, n % 2 == 0 ? i : 0, n)       ;}}}
    private static void swap(char[] a, int i, int j) {
        char saved = a[i]                            ;
        a[i] = a[j]                                  ;
        a[j] = saved                                 ;}}
static badge
#

stop that retarded shit before I die

austere ivy
#

I guess rather than:

if (boolValue) {
    doStuff(1);
} else {
    doStuff(2);
}

you could uh..

int num = boolValue ? 1 : 2;
doStuff(num);

right?

static badge
#

you write ur code branchless

austere ivy
#

GOODNESS GRACIOUS thank you so much Kashike

#

I've never seen that before I'm going to use that in my code now

upper flicker
#

branches are expensive

#

just never use them

austere ivy
#

like I've seen these:

ancient bolt
#

mfw I literally gave you the best way to do it without branches

austere ivy
#
if (whatever)
{
    System.out.println("whatever");
}
ancient bolt
#

my way is branchless and fast

austere ivy
#

but like whoa

ancient bolt
#

You don't appreciate my way

upper flicker
#

your way still has branches

ancient bolt
#

no

#

there is no if and no else

upper flicker
#

rip

atomic marten
#

its still doing a comparision

unreal quarry
#

System.out.println(boolean ? "hello" : "goodby"); @austere ivy

static badge
#

I can show you a branchless way

ancient bolt
#

comparisons are cheap

#

branches are slow

upper flicker
#

lol

austere ivy
#

if { else}

#

thanks Billy

static badge
#

if failed to predicte *

#

predictable branches are very cheap

#

i.e loops

#

with a counter

austere ivy
#

ur cheap

atomic marten
#

dont write complicated if statements

#

compiled programming 101

upper flicker
#

how will I implement AI then

atomic marten
#

store the if booling above

#

then use it in if

static badge
#

branchless variant: int a = (boolean ? 1 : 0) + 1

#

jit should optimize out that to just use the boolean value itself

#

you will get 2 if true, 1 if false

austere ivy
#

what

static badge
#

I gave you ur branchless variant

ancient bolt
#

Another branch-less way of building AI:

try {
    (b ? "" : null).getClass();
    // if branch
} catch (final NullPointerException e) {
    // else branch
}
slim nymph
#

this PersistentStructureLegacy file is such yuck to import

cosmic raft
#

The 3D Pinball for Windows - Space Cadet official music sounds like something that would be used in a keygen

limber knotBOT
#

(DiscordBot) 3D Space Cadet Pinball Music full - length 8m 48s - 2,368 likes, 39 dislikes (98.4%) - 162,675 views - Thi Be on 2013.08.15

ancient bolt
#

@upper flicker for you ^

upper flicker
#

thanks

austere ivy
#

@ancient bolt why for him

ancient bolt
#

he asked how to make AI

austere ivy
#

oh I can answer that

#

if statement

ancient bolt
#

ifs aren't allowed

#

hence my above code

austere ivy
#

ok

#

how about else statement

ancient bolt
#

also not allowed

#

hence my above code

austere ivy
#

that's.. still a branch

#

try catch is still kinda a branch

ancient bolt
#

no

austere ivy
#

deviating from the regular top to bottom structure of code

#

right?

ancient bolt
#

i will ban you

#

agree with me or be gone

static badge
#

ternary is a branch

#

change my mind

austere ivy
#

ok I agree but what even is a branch o-O

static badge
pulsar wigeon
#

a branch is where leaves grow

ancient bolt
#

a branch is spotted's parent

pulsar wigeon
#

therefore we should avoid them at all costs

austere ivy
#

but like.. what does Java define a branch as?

ancient bolt
#

it doesn't

pulsar wigeon
#

are you asking about jls specs or jvm specs?

static badge
#

who gives a fuck what java thinks a branch is

#

it doesn't matter

ancient bolt
#

java just has jump instructions

static badge
#

what really matters is what it jits to

#

and then from there you can tell what branches and what doesn't

pulsar wigeon
#

i mean semantically, java does refer to break/continue(/return?) as branching statements

static badge
#

semantically it's something that goes in two code paths

ancient bolt
#

i'll have you know that try-catch blocks don't compile to jump instructions 😃

static badge
#

err

#

not quite

austere ivy
#

oh wow really ok?

pulsar wigeon
#

that doesn't necessarily mean anything about what things compile to

austere ivy
#

wait where can we magically see this "JIT" to

static badge
#

asm output

austere ivy
#

I'm completely unfamiliar with what JIT does to code so is there like a simulator or something

static badge
#

a branch is just basically a jump

ancient bolt
#

-Xbatch -XX:-TieredCompilation -XX:+PrintCompilation

austere ivy
#

goto

pulsar wigeon
#

there's a jvm flag to print jitted asm

austere ivy
#

oh no

#

asm?

ancient bolt
#

the fuck do you think it compiles to

cosmic raft
#

a small mouse

austere ivy
#

uh

#

bytecode

slim nymph
#

java runs on potatoes

austere ivy
#

well if it's running on my laptop