#dev-general

1 messages · Page 281 of 1

jovial warren
#

when the rest of the project uses them

distant sun
#

True

regal gale
#

Hope the previous dev than mine coding for someone's project doesn't piss off thonking

#

Few days ago I literally changed every formatting from b) approach to my a) approach

hot hull
#

Why the fuck do I have to keep logging into github on IJ??

old wyvern
#

2fa but no token provided?

hot hull
#

I have to keep adding my token, it doesn't find any repos

#

What is this bullshit

#

The way 2018.3 had github stuff was so much better

old wyvern
#

thats weird

#

Works fine for me

hot hull
#

Nothing works for me

#

lol

#

idk why I even bothered blurring but mk

quiet depot
#

and take a scerenshot

hot hull
#

Okay fixed it holy shit

prisma wave
#

Single line if statements are a terrible mistake

jovial warren
#

you're a terrible mistake

prisma wave
#

true but

#

Single line if statements are even worse

jovial warren
#

I hate the anti external emoji policy we have around here

distant sun
#

🧑‍🚀

jovial warren
#

I'm limited to built-ins and HelpChat emojis

quiet depot
#

don't boosters get externals

jovial warren
#

I wanna use :kekw: but I can't

#

oh yeah, I think they do

#

one may be correct

compact perchBOT
distant sun
#

they so

#

do*

jovial warren
#

righty then

#

ah that's better

distant sun
#

Told ya

jovial warren
#

also, isn't it now spin time?

distant sun
#

??

jovial warren
#

or is that not a thing any more

#

I swear that was a thing

distant sun
#

Not you

#

Does the invite works for you?

jovial warren
#

nope

distant sun
#

Bruh

#

Maybe it takes time to enable

jovial warren
#

maybe

distant sun
#

=flex

compact perchBOT
#
<:discord:699228850537889854> - HelpChat Stats

Here are some guild wide stats for your eyeballs. :eyes:

XP Generated:

xp16,008,798

Level Ups:

levelups 18,130

Pastes Created:

pastes 37,773

Commands Ran:

commands 117,464

Images Generated:

images 62,425

Words Scrambled:

words 62,738

Total Messages:

messages 3,661,023+

Guild Members:

members 8,438

Date Created:

calendar Mar 29 2016

jovial warren
#

=flex

compact perchBOT
#
<:discord:699228850537889854> - HelpChat Stats

Here are some guild wide stats for your eyeballs. :eyes:

XP Generated:

xp16,008,798

Level Ups:

levelups 18,130

Pastes Created:

pastes 37,773

Commands Ran:

commands 117,465

Images Generated:

images 62,425

Words Scrambled:

words 62,738

Total Messages:

messages 3,661,025+

Guild Members:

members 8,438

Date Created:

calendar Mar 29 2016

distant sun
#

Time to see how LPs api works

jovial warren
#

this is one of the only servers I haven't left yet lol

#

LuckPerms' API?

distant sun
#

I can help ya

#

Ye

jovial warren
#

I can help thee

#

what task does thee wish to perform?

distant sun
#

Get the prefix of the highest rank a player has on multiple tracks and join them by comma

jovial warren
distant sun
#

🤣

#

Will look at their code for placeholders

jovial warren
#

I'm getting confused between highest rank and current rank lol

distant sun
#

Current

#

We have multiple tracks such as staff and donors

#

I want to get the current rank's prefix on each track and join them by a comma

jovial warren
#

just get a shallow list of their groups, filter them by those on a track, get the prefix of each of them, and join them?

#

you can get groups with User#getInheritedGroups

distant sun
#

Aight

jovial warren
#

make sure the flag RESOLVE_INHERITANCE is not set though, as otherwise it'll return a deep list of groups (including inherited groups)

quiet depot
#

fixed it

#

restart ur client for it to work

jovial warren
#

sure ya did

quiet depot
#

i had to reset the vanity in settings

#

cuz it died

jovial warren
#

oh you actually did

#

nice

distant sun
#

Nice

jovial warren
#

no but QueryOptions is

quiet depot
#

d;luckperms querypotions

ruby craterBOT
#
public interface QueryOptions```
QueryOptions has 12 methods.
Description:

Represents the parameters for a lookup query.

#
void setAI(boolean ai)```
Description:

Sets whether an entity will have AI. The entity will be completely unable to move if it has no AI.

Parameters:

ai - whether the mob will have AI or not.

jovial warren
#

querypotions

#

you didn't know?

#

QueryOptions.nonContextual(EnumSet.complementaryOf(EnumSet.of(Flag.RESOLVE_INHERITANCE))) is what I use lol

distant sun
#

What happen if you set it to false lol

quiet depot
#

o i need to add the trash button on non paginations too

jovial warren
#

they cannot move, target, anything

distant sun
#

Interesting

jovial warren
#

they don't do anything at all

#

lazy bastards

quiet depot
#

gaby enabling/disabling ai is a vanilla feature

distant sun
#

Wont that be a better way to freeze them rather than cancel move event?

quiet depot
#

you can do it via a command

distant sun
#

Lol ok

jovial warren
#

now I didn't know that

quiet depot
#

entitydata

distant sun
#

Probably /execute

jovial warren
#

ah

quiet depot
#

or at least it used to be called entitydata

jovial warren
#

or in /summon

quiet depot
#

yea that too

#

I think they redid the commands so it's not called entitydata anymore

#

but it's still possible

distant sun
jovial warren
#

/summon pig 1 0 {"entitydata":[{"ai": false}]}?

quiet depot
#

d;enumset#complementaryof

ruby craterBOT
#
public static <E extends Enum<E>> EnumSet<E> complementOf(EnumSet s)
throws NullPointerException```
Description:

Creates an enum set with the same element type as the specified enum set, initially containing all the elements of this type that are not contained in the specified set.

Parameters:

s - the enum set from whose complement to initialize this enum set

Returns:

The complement of the specified set in this set

Throws:

NullPointerException - if s is null

distant sun
#

Interesting

quiet depot
#

is enumset an lp class?

jovial warren
#

it creates an enum set that contains all the elements not in the specified enum set

quiet depot
#

gaby that's not the right thing

jovial warren
#

that is the right thing

quiet depot
#

no it's not

jovial warren
#

it bloody is

#

because it's what I use lol

distant sun
#

Fight

quiet depot
#

urs is complentaryof

#

this is complementof

distant sun
#

typo

jovial warren
#

typo

quiet depot
#

o

distant sun
#

ty bb

jovial warren
#

that came from my bigbrain , that's why I made a typo lol

jovial warren
quiet depot
#

unacceptable

#

typos are hereby forbidden

jovial warren
#

as a patron of Luck's, you'd think I'd know this inside out by now

distant sun
#

Lol

jovial warren
#

or a sponsor, I should say

quiet depot
#

luck is interested in docdex Hype

jovial warren
#

yeah I saw

distant sun
#

Nike

jovial warren
#

it will be useful to have DocDex in the LuckPerms Discord

distant sun
#

And any other discord

quiet depot
#

and docdex in spigot discord soon™️ #694661573125472256 message

distant sun
#

You convinced md4_head?

quiet depot
#

didn't take much convincing

#

i made a suggestion post for the discord on the forums and he was interested

distant sun
#

Nike x2

quiet depot
#

is that a discord bot list

distant sun
#

Yes

quiet depot
#

i'm gonna wait for 1.0.0 release

#

which is gonna be really soon because it's basically ready for prod

distant sun
#

Coolio

quiet depot
#

I just need to do some more testing on byte strings to see if I want them or not

jovial warren
#

top.gg is a pain in the fucking ass to get on to

#

it takes about a month to get reviewed

distant sun
#

Interesting approach pig

#

Thats cuz you suck bb

jovial warren
distant sun
#

And your bot is not docdex :>

quiet depot
jovial warren
#

no, every bot takes that long

quiet depot
#

i'm not sure I want to do that

#

I don't really want to pester users to vote

distant sun
#

You dont need to use that

jovial warren
#

you don't need to pester them to vote

#

if they like the bot, they vote for it

#

if they don't, they don't

#

leave the bot to make it's own future

distant sun
#

Just put the vote link somewhere on the help message and thats it

jovial warren
#

independence for Discord bots lol

quiet depot
#

word of mouth is working somewhat so far

jovial warren
#

why is MEE6 still a top bot lol

quiet depot
#

d;info

ruby craterBOT
#
DocDex | Info

Website | Github | Invite

DocDex (Documentation Index) is a bot developed using JDA and Java 11, which can display information on javadoc objects, from a fuzzy query.

Servers

15 (20,219 Users)

Javadocs

93 (Default: jdk)

quiet depot
#

15 servers

#

it's going great

prisma wave
#

How many users is HC?

distant sun
#

Pig, please add search bar to javadocs smh

jovial warren
#

is it easy to add JavaDoc sites to it for things like self-hosting?

prisma wave
#

Cuz 20000 is quite a lot

distant sun
#

8.4k@prisma wave

prisma wave
#

o

#

Where are the others coming from

jovial warren
#

also, imagine turning that intent on

quiet depot
#

what intent

distant sun
#

Guild_members probably

jovial warren
#

the sensitive one

#

GUILD_MEMBERS

quiet depot
#

i'm confused

#

I didn't enable anything

#

i just get the number thru the api

jovial warren
#

you don't use gateway intents?

quiet depot
#

not that i'm aware of

jovial warren
#

you using JDA 4?

quiet depot
#

i think so

jovial warren
#

if you do, not using them is deprecated

#

all the old constructors are deprecated, and they've been replaced with the new static method builders

quiet depot
prisma wave
#

Sounds familiar

quiet depot
#

bm intellectualsites also uses the bot

#

and I think they have a similar count to us

#

so that accounts for over half of the members

#

and idk about the rest

prisma wave
#

Oh cool

quiet depot
#

and yes bardy, using 4.2.0

distant sun
#

Is guice worth to learn?

quiet depot
#

yes

#

but what you're looking at isn't really guice

#

it's my code

distant sun
#

Ik

#

I just assumed addBinding is for Guice

quiet depot
#

yeah it gets to guice eventually

distant sun
#

Nike

#

How does guice work though? Just add the annotation and boom?

jovial warren
#

imagine using createDefault

#

also, imagine not using Spring KEKW

distant sun
#

Spring for what?

jovial warren
#

the bot you goose

quiet depot
#

ye gaby basically

#

it requires a tiny bit of manual configuration

jovial warren
#

you can write Discord bots with Spring

distant sun
#

For what purpose lol bb

jovial warren
#

Spring's rapid, that's what purpose

#

and it's DI and other shit is really nice

quiet depot
#

bardy everything spring can do I can do

jovial warren
#

fair

#

but you can't do it as good

prisma wave
#

AbstractFactoryBeanProviderFactoryAPI

quiet depot
#

watch me do it better

distant sun
quiet depot
#

gaby my usage of guice is highly atypical

#

there's honestly no point of even looking at my code till you can use the framework to a high degree on your own

distant sun
#

Ok

quiet depot
#

if you're looking to use it in ploogins

#

mrdienns has a guide on spigot

#

which is where I started

jovial warren
#

if you manage to make a system that's faster and easier to use than Spring Boot with the portability and extensibility that it has, then I'll give you £100 lol

prisma wave
#

Ding

prisma wave
#

import elara/ding

startDingApplication()

quiet depot
jovial warren
#

faster, easier to use, more portable and extensible than Spring?

#

gl

prisma wave
#

Not sure spring is "portable"

jovial warren
#

kinda is

#

only relies on the JVM

prisma wave
#

It adds like 50MB to a jar and doesn't work particularly well in some contexts

#

Eg plugins

jovial warren
#

yeah for Minecraft plugins it's not good

#

for Discord bots though

#

web applications as well

prisma wave
jovial warren
#

true

#

Spring Boot though mostly just works out of the box

quiet depot
#

bardy in all honesty rpf will never be a full competitor to spring

#

spring is just too big

jovial warren
#

not what it's designed for either

distant sun
#

Looks interesting @quiet depot

quiet depot
#

it makes ur code cleaner gaby

#

it's literally magic

distant sun
#

Fr

#

Does it compile to normal DI or?

prisma wave
#

No

#

Well kind of

quiet depot
#

it generates code at runtime

prisma wave
#

Yeah

jovial warren
#

also, how did you get a hold of a YourKit license for this?

quiet depot
#

mad connections bardy

distant sun
#

Runtime means when a class is used?

quiet depot
#

when the application is running

distant sun
#

Ahh

prisma wave
#

Dagger is a similar library that actually does compile to pure DI

jovial warren
#

what = good free profiler?

prisma wave
#

Used a lot in android because it's faster

quiet depot
#

bardy i don't think they care about the project size

#

any old os project could probably do

prisma wave
#

what's wrong with Intellij profiler?

#

Wait does intellij even have one?

#

I can't remember

jovial warren
#

does IntelliJ even have a profiler? yeah idk

quiet depot
#

so like there's two things you can do at runtime when you need to access shit gaby.

  1. reflection - slow
  2. code generation - faster
hot hull
quiet depot
#

code generation is literally creating classes and shit out of thin air that calls ur code

prisma wave
#

ASM 😍

distant sun
#

Interesting

jovial warren
#

runtime is the time... when... things... are... ran...

#

kinda in the name ngl

distant sun
#

f off bbg

jovial warren
#

a bit like compile time is the time when things are compiled

hot hull
prisma wave
#

Yes

#

No

#

Idk what it stands for

jovial warren
#

and programming time is the time when heads are smashed into desks

prisma wave
#

It's a bytecode manipulation library

quiet depot
#

which guice uses in 5.0.0

#

prior to that it used cglib

prisma wave
#

Yeah

jovial warren
#

ASM is ridiculous

prisma wave
#

It's also what elara is gonna use for the compiler

jovial warren
#

ASM allows you to manipulate bytecode using Java code

#

you can literally change anything

#

like if you thought reflection was powerful, reflection has nothing on ASM

prisma wave
#

the downside is that it's much more difficult

quiet depot
#

javassist makes it really easy

jovial warren
#

ASM is used in OpenJDK apparently, and also the Groovy and Kotlin compilers, and Gradle

prisma wave
quiet depot
#

feels bad

#

is asm purely additive?

#

or can it actually modify

prisma wave
#

Not sure, I think it can modify

jovial warren
#

does it use a lot of native C or what?

prisma wave
#

Probably not

#

Bytecode is just a binary file

#

It has a specification

#

So writing it programmatically isn't that difficult

quiet depot
#

o thx for boost bardy

#

tell me when u want the multi

jovial warren
#

you only just noticed? KEKW

quiet depot
#

yes

jovial warren
#

whenever

quiet depot
#

whenever doesn't really suit me i'm afraid, would rather you just tell me

jovial warren
#

do it

quiet depot
#

=multi spin

compact perchBOT
#
New XP Multiplier...
jovial warren
#

come on

#

right, talk time

quiet depot
#

does asm use the instrumentation api?

prisma wave
#

No idea but I doubt it

#

It's independent afaik

quiet depot
#

ah

#

it probably does have some native hooks then, because some class related things are native

prisma wave
#

o like what?

quiet depot
#

class loading has a native component

prisma wave
#

I was under the impression it just wrote bytes

onyx loom
#

3x multi kekw

quiet depot
#

hang on bm i'll link u

prisma wave
#

ok

#

Unrelated but my windows install just corrupted

#

🥲

jovial warren
quiet depot
#

feelsbad

#

how'd that happen?

jovial warren
#

dis why Windows trash

#

even though I'm using Windows rn so I can't really say much

prisma wave
#

Something went wrong when I setup dual booting I think

#

The updates have been failing for months now

#

So I guess I shouldn't be surprised

quiet depot
#

my dual boot has been working perfectly surprisingly

#

it's especially surprising because I used some free tool i found on the internet to literally clone windows onto a smaller ssd

prisma wave
#

Yeah mine usually works perfectly too

#

o lol

#

Sketchy

quiet depot
#

yeah

#

was extremely surprised when it worked

prisma wave
#

On the bright side I can just boot into Linux, back stuff up, and reinstall windows

quiet depot
#

and not just worked

#

but worked really well

jovial warren
#

wouldn't boot when old SSD was plugged in first of all, but worked fine when it wasn't

quiet depot
#

was even more sketch because the target ssd was smaller

jovial warren
#

then it eventually just failed to boot regardless

jovial warren
quiet depot
#

idk it was one of the easeus products

jovial warren
#

yeah I tried that

#

actually no, I had Todo Backup

#

it wanted me to pay some license fee though and I was like

quiet depot
#

I tried a few easeus tools

#

well I tried 2

#

can't remember which 2

jovial warren
quiet depot
#

first one wanted me to pay to migrate

#

but the second one had the same feature, but on the free ver

#

so used that

onyx loom
quiet depot
#

lots of native stuff in there

prisma wave
quiet depot
#

I personally encountered the issue of natives when I was trying to reliably remove classes from the classpath a while back - i.e. not waiting for the gc

#

it's not possible if you're interested, or maybe it's just extremely difficult

prisma wave
#

Does ASM handle the actual classloading though?

jovial warren
prisma wave
#

And if it did, couldn't it just use a ClassLoader rather than native implementations

jovial warren
#

a.k.a the distro that tries to turn Arch Linux into a fixed release distro

#

a.k.a Manjaro

quiet depot
#

why are we discussing this

#

why don't we just check asm source

prisma wave
#

the distro that makes arch easy to install

#

True lol

jovial warren
prisma wave
#

incompetent

#

Smh

#

Ive installed arch before

jovial warren
#

u = incompetent

#

jk

quiet depot
#

i tried installing arch once

prisma wave
#

I just cba to go through hours of work for a distro that isn't much better

quiet depot
#

and yeah

#

here we are today

#

finally on linux

#

using ubuntu

prisma wave
#

Nice

jovial warren
#

first time I installed Arch, I was on a call with my friend, and he'd have to tell me to read the docs every 30 seconds

onyx loom
#

incompetent linux users? 🤨

jovial warren
prisma wave
#

kind of an oxymoron lol

jovial warren
onyx loom
#

lol

prisma wave
#

Linux users are scientifically proven to have the biggest brains

quiet depot
#

nothing wrong with ubuntu bardy

jovial warren
#

those kids who, as Tom Scott said, "the type who's downloaded a few dodgy scripts off the internet, and now thinks they're a really good hacker because of it"

prisma wave
#

I associate Ubuntu with Gnome but apart from that it's fine

quiet depot
#

ya know bardy

prisma wave
#

Ok

quiet depot
#

we can't really hate on ubuntu

#

I was reading the other day, and they said something along the lines of that linux wouldn't be anywhere near as popular as it is today, without ubuntu

prisma wave
#

Should I spend an hour or two moving all of my installed games onto another drive, or just reinstall them all

#

Yeah Ubuntu is the gateway distro

#

Lol

quiet depot
#

yep

#

and unlike other gateways (such as python)

#

ubuntu aint shit

jovial warren
prisma wave
#

🥲

jovial warren
#

and JavaScript

prisma wave
#

Don't go hating on js

jovial warren
#

you know, thinking about programming languages, I said this the other day, is it funny how at least like 80% of the world's most popular programming languages are those that you can just botch together and make work without that much effort?

#

JavaScript, Python, PHP, etc.

#

the lazy man's languages

quiet depot
#

java can be included in that list

prisma wave
#

You can do that with most languages

#

^

#

You can write shit code or nice code in any language

#

Pretty much

#

Apart from maybe Rust

quiet depot
#

do u guys know who jon skeet is?

#

and pls don't google

prisma wave
#

Nope

jovial warren
#

no but what I'm saying is that languages like JS, Python and PHP are basically designed to be written poorly

quiet depot
#

bardy u aware of the legend known as jon skeet?

prisma wave
#

I would disagree

jovial warren
#

no clue

prisma wave
#

PHP made some shitty design decisions so it's definitely the worst in that list

quiet depot
#

well fun fact, you've both probably used code from him in the past

jovial warren
#

proceeds to ignore Piggy's instructions and use Google

prisma wave
#

JS and Python might have their flaws but they're not bad languages

quiet depot
#

jon skeet has the most stackoverflow answers

prisma wave
#

o

#

oh yeah

jovial warren
#

oh yeah, rings a bell now

prisma wave
#

I think I recognise the name now

quiet depot
#

I see his name every now and then when on stackoverflow

#

man has no life

prisma wave
#

🥲

jovial warren
#

I wonder what programmers did before Stack Overflow lol

prisma wave
#

Be smart

onyx loom
prisma wave
#

You don't learn python

#

You just know it

jovial warren
prisma wave
#

Assuming you have previous programming knowledge

onyx loom
#

🤨

prisma wave
#

It's so unbelievably easy

#

You know it in about 5 minutes

jovial warren
#

I could pick up the basics of JS in less than a day

prisma wave
#

JS definitely made the good decision of using let 🙂

jovial warren
prisma wave
#

Haskell also uses let

#

But only sometimes

jovial warren
#

let bad

onyx loom
#

wow

prisma wave
#

Back up your point

#

Many great languages use let

jovial warren
#

let just bad

quiet depot
#

cmon bardy think harder

#

why is it bad

#

there's a legitimate reason

prisma wave
#

OCaml, f#, rust, Haskell, js, and the obvious

#

All good languages that use it

quiet depot
#

bm wanna translate some ocaml to java for me?

jovial warren
#

Haskell is basically what happens when you try to make a programming language based around maths

prisma wave
#

Idk ocaml

#

I could try maybe

quiet depot
#

actually i'm not sure you can

quiet depot
#

I have a feeling it's just a c hook in ocalm

prisma wave
#

Fun fact the lambda calculus is older than Turing machines

quiet depot
#

well bm

#

you up for translating some c to java?

distant sun
#

good old C

prisma wave
#

Uhh

#

I could try

quiet depot
prisma wave
#

I haven't used C much

quiet depot
#

I need to know if there's anything special about that jaro winkler implementation, or if its speed is purely due to the fact it's made in c

#

before any translation happens

prisma wave
#

Probably the latter

#

I can't read it very well on GH mobile lol

quiet depot
#

you know what would be a great addition to the english language

#

"durely"

distant sun
#

Gh mobile is sooo bad

quiet depot
#

purely due

#

durely

jovial warren
#

C good language

prisma wave
#

You could try making some Java bindings

jovial warren
#

C conventions bad though

prisma wave
#

🙄

quiet depot
#

i thought jni was slow

#

like really slow

jovial warren
#

C uses allman

onyx loom
prisma wave
#

Idk

distant sun
jovial warren
#

actually, I think it uses K&R variant 2 (Linux kernel)

prisma wave
#

But it works for most of the JVM

quiet depot
#

I don't think c has an official convention

#

but yeah the kernel uses k&r

prisma wave
#

Yeah I don't think it does

#

The kernel uses both lol

quiet depot
#

don't think its meant to

distant sun
#

__$ome_va__riable_e

prisma wave
#

Allman for procedures but k&r for other blocks

#

I think

quiet depot
#

o

#

ew

prisma wave
#

yeah it's a bit weird

jovial warren
#

K&R OTBS good

prisma wave
#

not even gonna try and convince you otherwise

#

If sx couldn't then I've got no chance

jovial warren
#

you think allman good?

prisma wave
#

Yes

distant sun
#

Ew

prisma wave
#

Although I usually forget to use it lol

jovial warren
#

or K&R Linux kernel?

#

how do you write if else statements?

prisma wave
#

depends

jovial warren
#

like dis? ```java
if (statement)
{
// stuff
}
else
{
// other stuff
}

distant sun
jovial warren
#

because das ugly

prisma wave
#

I have K&R as my default on Intellij but if I can remember to switch then Allman style

#

Certain languages also only permit K&R which is slightly sad

#

And by certain languages I mean Go

jovial warren
#

good you mean

inner umbra
#
if(statement) {
    // Code
}else {
    // Code
}
distant sun
#

Py is the best

jovial warren
#

spacing ew

quiet depot
#

ew yapps

distant sun
#

Yaml coding style

jovial warren
#

proper spacing

#

I can't stand those who don't put a space after if

prisma wave
#

Go has its conventions baked into the language though, so it makes sense that Allman doesn't compile

distant sun
#

GOod

jovial warren
#

also, anyone who does this:```java
if (statement)
// stuff on new line

onyx loom
#

i honestly hate that if closing bracket is on the same line as else

prisma wave
#

Ikr

#

Allman is so much more readable

onyx loom
#

😂😂

prisma wave
#

wtf

jovial warren
distant sun
#

What kind of psicho are you kalibear

jovial warren
#

you're one of those I see

prisma wave
#

You got the several people typing

inner umbra
#

Depends what I have but lets say its 1 line I usually will do

if(statement) {method();}
else {return;}
onyx loom
#

wtf whyd that just edit my message

jovial warren
#

what is that

quiet depot
#

what the fuck yapps

jovial warren
#

nah, single-line yeet the braces

onyx loom
#

🥶

prisma wave
quiet depot
#
if (statement)                     {
    System.out.println("hello")    ;}
else if (otherStatement)           {
    System.out.println("bye")      ;}```
#

my favourite format

#

no cap

jovial warren
#

that's cursed

inner umbra
#

🤦

#

Imagine a 500 line class

jovial warren
#

just put all your code on a single line, problem solved 🙂

prisma wave
#

I don't even have a windows usb on me that I can use

#

Literally unusable

hot hull
quiet depot
#

y r u booting into windows

onyx loom
#

i dont even have a usb

prisma wave
#

games

onyx loom
#

🙂

jovial warren
quiet depot
#

what games

hot hull
#

You should as well Bardy

prisma wave
jovial warren
prisma wave
#

My Linux install is on the same drive

quiet depot
#

oof

prisma wave
#

Does it mean partition?

inner umbra
quiet depot
#

no bm

#

it'll destroy your whole drive and redo it

prisma wave
#

Great...

hot hull
#

I should be shot as well Yapp, would make things so much easier

quiet depot
#

should've installed it on a separate drive bm

jovial warren
#

yeah Windows is more convenient

prisma wave
#

but I want fast boot up times for both 😔

quiet depot
#

then get an ssd for both

hot hull
#

Just get another pc dumbass

jovial warren
prisma wave
#

I'm not made of money smh

stuck harbor
#

or are you?

prisma wave
#

I thought 1 TB SSD would be fine

jovial warren
#

you can pick up an SSD for less than £100 these days

quiet depot
#

the drive is the second cheapest component these days

jovial warren
#

my 500 GB M.2 SATA SSD cost me like £75

prisma wave
#

Ik but

onyx loom
#

ewwwwww

quiet depot
#

get a job

onyx loom
#

m.2sata

prisma wave
#

This doesn't fix my current issue 🥲

jovial warren
#

and yes, I got a SATA M.2

quiet depot
#

wtf bardy

prisma wave
#

I have a job

jovial warren
#

because I dumb

quiet depot
#

lol

onyx loom
#

very dumb

stuck harbor
#

m.2 yum

quiet depot
#

m.2 yum

jovial warren
#

no idea why I didn't get an NVMe

quiet depot
#

but m.2 sata is well

#

stupid

stuck harbor
#

yeah

onyx loom
#

why would anyone want m.2 sata and why has it been brough to the market

jovial warren
#

I didn't actually read and so I didn't actually really know it was SATA until I plugged it in the hyper M.2 slot and it didn't work lol

onyx loom
#

i dont get it

quiet depot
#

they're useful in cheap laptops kaliber

onyx loom
#

yeah, laptops

quiet depot
#

no

#

cheap laptops

#

because a good laptop will have nvme

jovial warren
onyx loom
#

but why has it been brought to desktop 😔

stuck harbor
#

lol WD as well

quiet depot
#

they're the same thing kaliber

#

like u can take ur m.2 drive out of ur laptop and stick it in ur pc

#

although it'll probably be the wrong size

jovial warren
#

Western Digital are a very reputable and well-established brand

quiet depot
#

laptops usually use the small ones

prisma wave
#

FUCK OF F windows

quiet depot
#

not in the ssd world bardy

prisma wave
#

Smghejsbwjsjfjrhwh

#

I literally can't do anything until I get a usb

onyx loom
#

lol

jovial warren
quiet depot
#

ssd is samsung's category

onyx loom
#

^

#

samsung >>>

hot hull
#

BM, quick hint btw, download windows on your phone, then boot from that

jovial warren
#

fun fact actually, I'm getting a new dog today

hot hull
prisma wave
jovial warren
#

just randomly switching the topic

quiet depot
#

bm android or ios?

hot hull
prisma wave
#

Android

quiet depot
#

lucky

hot hull
#

Android should be possible

jovial warren
#

if it's Android, you can pretty much do anything

prisma wave
#

O

quiet depot
#

do u use kde connect?

prisma wave
#

Yeah

#

It's nice

quiet depot
#

i wish I could use it on ios

jovial warren
hot hull
#

Your fault for having an iphone

#

L

jovial warren
#

imagine buying an iPhone

prisma wave
#

ios bad

jovial warren
#

imagine being one of those

hot hull
#

Damn so many smart people here today

jovial warren
#

also, about time to see some people who agree iOS bad

#

I mean, iPadOS though

prisma wave
#

Ima try a chkdsk and if that fails I'll try the android shit

quiet depot
#

the android shit?

#

oh right

jovial warren
quiet depot
#

i saw someone put ubuntu on an iphone the other day

prisma wave
#

Yeah that's definitely possible

quiet depot
#

or was it windows

#

nah ubuntu

jovial warren
#

the new iPad Pro is really fucking good

#

the 12.9 inch one

quiet depot
jovial warren
#

I mean, Apple do naively believe that the iPad will somehow replace the laptop and the PC, but that's another story lol

prisma wave
#

For the average user it probably could

#

Most people just want a web browser and MS Word

quiet depot
#

and google

jovial warren
#

true

quiet depot
#

but I might not have google soon 😦

jovial warren
onyx loom
prisma wave
#

chkdsk ETA 1:34:29 🥲

jovial warren
#

also, if you think you've seen web design btw, think again

#
Apple (United Kingdom)

The new iPad Air features an all-screen design, 10.9-inch Liquid Retina display, A14 Bionic, support for accessories and a choice of five finishes.

quiet depot
#

i've seen loads of sites like, and better than this

jovial warren
#

show me better

#

I'm curious now lol

quiet depot
#

just google "web design portfolio sites"

#

you'll find loads

jovial warren
#

I wanna see what web developers are capable of

quiet depot
#

or like "cool portfolio sites"

#

idk

jovial warren
#

looks like Google AU better than Google UK

quiet depot
#

make sure to turn darkreader off, or run in incognito

onyx loom
jovial warren
#

a.k.a the extension that works like 3% of the time and does just about nothing good

quiet depot
#

works for me

jovial warren
#

Dark Background and Light Text better

onyx loom
#

works for me

jovial warren
#

¯_(ツ)_/¯

#

for me it doesn't work that well on quite a few sites

#

or it didn't shall I say

compact perchBOT
#
✳️ Global Multiplier Expired!

The global multiplier has ran out and has been reset!

jovial warren
#

I use a lot of other extensions though for dark mode

jovial warren
#

it is isn't it

stuck harbor
#

yep

#

I wish my website was that good

#

but I'm better at backend dev so eh

quiet depot
#

@stuck harbor you don't technically want a website like that

#

at least as a portfolio

#

because it's a nuisance to get information from

stuck harbor
#

well yeah, but it's still cool as an example of skillz

quiet depot
#

it's flashy

stuck harbor
#

skillz

quiet depot
#

yep

jovial warren
stuck harbor
#

lol

#

my frontend design is mainly programmer art

jovial warren
#

lol

stuck harbor
#

which is an actual style, apparently

jovial warren
#

I don't have a frontend

#

I'm probably gonna set up Jekyll with the Hyde theme

stuck harbor
#

mm very nice

hot hull
#

I need a portfolio site design if someone wanna design a sketch

onyx loom
hot hull
#

Nah

half harness
#

python dev O_o

stuck harbor
#

ewwwwwwwwww

#

kidding

#

python is good for some things

#

as C is good for some things

#

and rust is good for ALL things

#

all things work in rust

regal gale
#

First time in such a long days that IJ crashed on me thonking

stuck harbor
#

ooof

#

get a better pc yeet

half harness
#

im trying to clone a paid anticheat's repository (since its os) but its slowly killing my pc..... it's not too bad right now

stuck harbor
#

does gradle have separate debug and release modes?

half harness
#

run and debug?

stuck harbor
#

I mean, separate compilation modes

#

like gpp, u can compile as debug or release

half harness
#

idk what debug compilation is 🤷

stuck harbor
#

well its compiling with less optimizations

#

so it compiles quicker

#

I'm just wondering if such a thing exists in gradle

half harness
stuck harbor
#

well, read it

half harness
#

what is "input files"

stuck harbor
#

...

half harness
#

😅

quiet depot
#

iwanio most optimizations happen at runtime via the JIT

half harness
#

I'm assuming files to be built?

quiet depot
#

so no

stuck harbor
#

ah

#

thanks

half harness
stuck harbor
#

lol jesus

half harness
#

actually

stuck harbor
#

I've seen longer in maven

half harness
#

iirc yesterday i got like 3 minutes because it took gradle 2 and a half minutes to startup

quiet depot
#

yeah first runs take a while

stuck harbor
#

mhm

quiet depot
#

lots of stuff to download

half harness
#

time to see how good this $8 anticheat really is

quiet depot
#

what anticheat is it

half harness
#

uh

quiet depot
#

just link pls

half harness
#

ok

#

I was a tester for the anticheat and now since its paid im not tester anymore 😢

quiet depot
#

well

#

its code's bad

prisma wave
half harness
#

o

quiet depot
half harness
#

rip

prisma wave
#

I just spent an hour waiting for chkdsk to finish and it did nothing

#

ffs

quiet depot
#

lol

prisma wave
#

I tried to do a system restore sorta thing and it said something about the F drive being corrupt

#

Not sure which that is tho lol

quiet depot
#

ah that would be the drive mapped to F

prisma wave
#

yeah, I just don't remember which it is lol

quiet depot
#

/s

prisma wave
#

I have a shared ntfs partition on my hard drive that I use on Linux and windows so I think it's that

quiet depot
#

would highly recommend going out and buying an ssd just for windows

#

before trying to fix this

prisma wave
#

Yeah I might do that

#

Gonna run out of sata cables soon lol

#

Ugh I've got to root my phone to make it into a bootable usb

#

I've only had it like a year I don't really wanna void the warranty yet

jovial warren
#

@quiet depot DocDex is now officially in the LuckPerms Discord btw

quiet depot
#

o

hot hull
#

no

jovial warren
#

yes

obtuse gale
#

where di you guys learn to code ?

jovial warren
#

a friend of mine and an online udemy course mostly

#

and Google

quiet depot
#

interwebs

jovial warren
#

and of course Stack Overflow

obtuse gale
#

Ohh

quiet depot
#

reading other peoples code helped me a lot

#

well, tinkering with it

obtuse gale
#

So if I am a newbie where should I start ?

forest pecan
#

?learn-java

compact perchBOT
#
FAQ Answer:

Start with this -
https://docs.oracle.com/javase/tutorial/java/concepts/index.html
Breeze through this skipping stuff that doesn't seem relevant like bitwise operators-
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html
and then hit this
https://docs.oracle.com/javase/tutorial/java/javaOO/index.html

They're the first three from this larger thing - https://docs.oracle.com/javase/tutorial/java/index.html
Which you should definitely go through overall. But those three should be enough for slightly better understanding of wtf is happening here without feeling like a huge time sink
That one is a small part of this larger site - https://docs.oracle.com/javase/tutorial/index.html
wherein "Essential Java Classes" and "Collections" also have good useful stuff

hot hull
#

The fuckers in here peer pressured me into learning

forest pecan
#

LMAO

quiet depot
forest pecan
#

i was called shitass when i tried to code when i was at the modded discords

#

its way more toxic over there

#

to newbies lmfao

obtuse gale
#

Hmm...

#

BTW with newbies I meant who know nothing about coding....

quiet depot
#

d;info

ruby craterBOT
#
DocDex | Info

Website | Github | Invite

DocDex (Documentation Index) is a bot developed using JDA and Java 11, which can display information on javadoc objects, from a fuzzy query.

Servers

16 (31,892 Users)

Javadocs

93 (Default: jdk)

quiet depot
#

@jovial warren ez 30k

jovial warren
#

ez

forest pecan
#

lmao

jovial warren
#

2 ez

quiet depot
#

30k on 16 servers

#

surely that's good

forest pecan
#

i got into gold for the usaco 🥲

hot hull
#

(Default: jdk)
!!!

quiet depot
#

frosty ur issue is low priority

#

andre has had an open issue for 18 days

#

gotta do that first

forest pecan
#

lmao

hot hull
#

;C

#

Can I PR?

quiet depot
#

well yes

#

but

#

do you really want to touch my code?

#

actually you touched papi 3 and survived so go for it

hot hull
#

lmao

#

I sm0rt, when I'm not dumb

quiet depot
#

although with papi 3 you were interacting with a specially designed api

#

eh we'll see

forest pecan
#

wait should you return hashset

#

instead of set

#

cause of liskovs

hot hull
#

ew no

#

return Set

quiet depot
#

frosty r u on windows

hot hull
#

u mean this?

public Set<T> something() {
  return hash set
}
#

Yes Piggy

quiet depot
#

can u run something for me real quick, i don't want to switch to windows

hot hull
#

run what 👀

quiet depot
#

a cs to java converter i found on the interwebs

#

wait nvm i'm an idiot

hot hull
#

Can't argue with that cursed_fingerguns

quiet depot
#

beautiful emote

hot hull
#

yes

quiet depot
#

best thing i've ever made in paint

hot hull
#

indeed

quiet depot
#

absolutely not

#

100% sure

#

jda

forest pecan
#

Yep mhm DocDex was made in some C++ or C# shit

quiet depot
#

docdex is made in java using jda

forest pecan
#

lol

#

xD

quiet depot
#

yeah not possible

#

sorry mate

forest pecan
#

🥓

hot hull
#

You suck Pulse

forest pecan
#

LOL

forest pecan
#

LMFAO

quiet depot
#

we all suck

forest pecan
#

💀

hot hull
#

That's a fucking scam

quiet depot
#

i'm learning so much about similarity algorithms and data structures through docdex

#

hell i might just make google next

forest pecan
#

like finding similar results

#

to what is being searched

#

right

quiet depot
#

yes

#

there's a lot of ways to do it

#

huge number

forest pecan
#

its a lot of math

quiet depot
#

idk

#

docdex knows lol

#

but i don't

forest pecan
#

piggybaby? lmao

quiet depot
#

docdex knows it but cant tell u

forest pecan
#

Hey porkchop

#

could u help me a dinner

quiet depot
#

just check maven efe

hot hull
#

efe

quiet depot
#

or github

hot hull
#

Just use + and see what the latest version is

#

then change it to that lol

quiet depot
#

yeah that's honestly what I do lol

hot hull
#

Why effort yourself checking github, ew

quiet depot
#

problem with using + tho is sometimes it'll select a beta version

#

so u still have to check every now and then

hot hull
#

just + instead of the specific version yea

#

bruh

#

Imagine reading chat

#

Time to play around with java 15 for the first time

forest pecan
#

java 15 is considered latest

#

lmao

quiet depot
#

yes

#

yes

hot hull
#

perhaps

forest pecan
#

is it smarter to eat bacon when it comes off the stove with all the oil or eat it after it dries

quiet depot
#

yes

hot hull
#

fresh Pulse

forest pecan
#

is it smarter to be dumb than to be smarter

hot hull
#

no

forest pecan
#

*rephrase

#

is it smarter to be Frosty than to be smarter

hot hull
#

no

forest pecan
#

is it smarter to be dumb than to be Frosty

hot hull
#

yes

hot hull
#

How would I have a clean modular design without using actual modules

quiet depot
#

yes

forest pecan
#

yes

hot hull
#

rope it is

quiet depot
#

i'm not the person to ask cuz i don't know good practices for jda

#

i only learnt today from bardy that ur meant to use gateway intents

hot hull
#

stoopid

#

I have a bot which crashes your lobby if you wanna check it out efe fingerguns

forest pecan
#

Yo link?

#

i wanna disgusie it as some music bot or shit

#

and crash my friends server

#

lmao

hot hull
#

Litebans discord integration

#

It doesn't close the connection so if you start spamming the command the server will eventually die

forest pecan
#

lmao

hot hull
#

Don't lmao me

surreal quarry
#

lmao

wind patio
#

lmao

hot hull
#

Fuck

#

@chilly jungle Could use that ban right about now cursed_fingerguns

onyx loom
#

damn u really are big brain frosty

surreal quarry
#

smh pinging staff

#

what i smol brain

stuck harbor
#

smol bran flake

onyx loom
#

if u dont close the connection that u means u dont have to reopen the connection, ez speed gains aSmartTap

stuck harbor
#

mhm

lunar cypress
#

By parsing the message content accordingly or if you don't care where it is in the message getMentionedUsers/Members

winged mica
#

How can i convert an ArrayList to an Object[]?

regal gale
#

d; List#toArray

ruby craterBOT
#
Object[] toArray()```
Description:

Returns an array containing all of the elements in this collection. If this collection makes any guarantees as to what order its elements are returned by its iterator, this method must return the elements in the same order. The returned array's runtime component type is Object.

The returned array will be "safe" in that no references to it are maintained by this collection. (In other words, this method must allocate a new array even if this collection is backed by an array). The caller is thus free to modify the returned array.

Returns:

an array, whose runtime component type is Object, containing all of the elements in this collection

regal gale
#

@winged mica ^

winged mica
#

ok

forest pecan
#

why would you want to

#

get an object[]

#

lol

#

just wondering

surreal quarry
#

i just spent like 2 hours debugging that hologram thing

#

to find out that i've been supplying the wrong type