#dev-general

1 messages ยท Page 447 of 1

quiet depot
#

why are you still trying to do collaborative coding

forest pecan
#

video files are very good at being compressed

lunar cypress
#

he's losing it too

onyx loom
#

because i highly doubt that it is a normal occurence, GIF bitrates are usually shite, + theyre like 20fps

forest pecan
#

are gifs compressed?

quiet depot
#

u guys should take my advice

prisma wave
#

?

quiet depot
#

it never works

onyx loom
#

yes

prisma wave
onyx loom
#

well, it depends ig pulse

#

not all video files are compressed too

forest pecan
#

That is true. But I was talking about literally like

#

if I have a gif

#

convert it to an mp4

#

with the same settings

#

it literally takes less space lol

#

i dont understand lmao

onyx loom
#

something to do with the codec id imagine

old wyvern
#

um bm

prisma wave
#

oh hey it worked!

#

sick

onyx loom
#

im not entirely sure how it works, but thats my best bet

#

i am no professor here

prisma wave
old wyvern
#

the login button in jb tools doesnt seem to work

forest pecan
#

i dont like gifs either way lol

old wyvern
#

uh

prisma wave
#

ah yeah

forest pecan
#

theres gotta be a better way

prisma wave
#

it's a bit buggy

#

uh

onyx loom
#

depends what ur doing

old wyvern
#

What should I do to login?

prisma wave
#

i think there is a workaround i just cant remember what it is

onyx loom
#

gifs can be nice

old wyvern
#

welp

forest pecan
#

@jovial warren

#

code with me

old wyvern
#

Ah this issue seems to not have been fixed

#

April 5 2021 last comment

prisma wave
#

๐Ÿฅถ

#

code with me utterly useless too

#

cant delete folders

#

no terminal

#

no git tab

old wyvern
#

It does have those

#

bardy just needs to give you permissions for it

prisma wave
#

oh

#

welp

#

he's afk so

ocean quartz
#

Just commit changes and pr stuff, code with me is nice if you are in call and stuff other than that it's kinda ๐Ÿ˜ฌ

old wyvern
#

๐Ÿฅฒ

prisma wave
#

yeah

old wyvern
#

Ok I think Ill just use vscode for now

#

Or actually no

forest pecan
#

just use google docs

#

my guy

#

easiest collaborative ide

old wyvern
#

I might be able to login from ij rather than jb tools

old wyvern
forest pecan
#

very good

prisma wave
#

why is ij now installing a new JDK

#

what

#

what is happening

#

this is so cursed

half harness
#

lol

steel heart
#

It indexed jdk 10 times once for me

forest pecan
#

lol

prisma wave
#

wack ass software

#

i miss emacs

forest pecan
#

samir

ocean quartz
old wyvern
#

That should be good enough

#

flattening it into a set should give us what we want

stuck harbor
#

still exists, it does

prisma wave
#

cant use emacs for JAVA

stuck harbor
#

well

#

you know what i will suggest

#

so i'll leave it at that

sweet cipher
stuck harbor
#

no

sweet cipher
#

Oh

#

JavaSkript?

lunar cypress
#

Will yay always refer to the AUR?

prisma wave
#

how so?

#

it should do

#

but it'll also search in the other repos

lunar cypress
#

Because I'm wondering when something is available on the official Manjaro Stable repos and the AUR which it will pick

forest pecan
#

what the heck is geti

lunar cypress
#

the Manjaro one is newer

lunar cypress
#

Can I use yay everywhere I can use pacman?

stuck harbor
#

im over here using pamac

#

hey pamac is convenient

stuck harbor
#

no more pacman -Syu -Dbi -PPI -YMCA firefox

#

just pamac install firefox

#

simples

old wyvern
#

๐Ÿ˜Œ

stuck harbor
#

i see pacman commands and be like have i got ppi?

prisma wave
stuck harbor
#

shhh

lunar cypress
#

I find the pure-option system also kind of irritating

stuck harbor
#

but the question is

#

have u got ppi?

#

its the eternal question

prisma wave
#

WTF

#

anyone recognise this?

onyx loom
#

LOL

#

SOMEONE has CLEARLY STOLEN a meme

prisma wave
#

avid r/kotlinmemes browser

onyx loom
#

92 members ๐Ÿ˜ฎ

#

can we get to the big one hundo

jovial warren
#

what did I miss lol

#

I come back and there's like 3 people who tried to join

#

BM join back

ocean quartz
#

Ayyy, flattened up to much more readable tree

{
  "net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT": [
    "net.kyori:adventure-platform-viaversion:4.0.0-SNAPSHOT",
    "net.kyori:adventure-platform-facet:4.0.0-SNAPSHOT",
    "net.kyori:adventure-text-serializer-craftbukkit:4.0.0-SNAPSHOT",
    "net.kyori:adventure-text-serializer-bungeecord:4.0.0-SNAPSHOT",
    "net.kyori:adventure-text-serializer-gson:4.7.0",
    "net.kyori:adventure-text-serializer-legacy:4.7.0",
    "net.kyori:adventure-platform-api:4.0.0-SNAPSHOT",
    "net.kyori:adventure-nbt:4.7.0",
    "net.kyori:adventure-text-serializer-gson-legacy-impl:4.7.0",
    "net.kyori:adventure-api:4.7.0",
    "net.kyori:adventure-bom:4.7.0",
    "net.kyori:examination-string:1.1.0",
    "net.kyori:examination-api:1.1.0"
  ]
}
steel heart
#

Nice

stuck harbor
#

oh my

sweet cipher
#

Still undreadable

#

Idk what it does

stuck harbor
#

just write ur own code man

#

no more imports

#

just do it all urself

#

re-invent wheel

sweet cipher
#

Skript

steel heart
#

Reinvent life with Skript

stuck harbor
#

oh no

sweet cipher
#

Are there imports in Skript?

stuck harbor
#

there are no packages in skript

#

no libraries

sweet cipher
#

Easy fix then

#

Removes all imports

ocean quartz
#

There might be some dependencies missing there though, i'm not sure if i am doing the recursion right thonking

onyx loom
#

i thought u did ๐Ÿค”

frail glade
#

Keep up the good work, Matt.

prisma wave
#

oh huh

onyx loom
ocean quartz
#

What does Kotlin have in common with Python?

boreal needle
#

no semicolons

ocean quartz
#

Legit the only thing I can think of

stuck harbor
#

apparently all modern languages are like python now

#

rust is basically just steroids python ig

frail glade
#

They both have the same amount of letters in their name.

boreal needle
#

similar instantiation syntax

ocean quartz
old wyvern
#

They both have a single o in their names

boreal needle
#

they both end in n

onyx loom
#

they both have a t

old wyvern
#

Does this only include what needs to be losded or does it contain even shadowed and compile time dependencies?

ocean quartz
#

Includes everything shadow would shade I think

old wyvern
#

Oo so this needs further filtering

#

@jovial warren Mic not working, seems to have broken after linstalling manjaro ๐Ÿ™‚

#

Altho the default one on the laptop still works

#

But to use that ill need to unplug earphones

jovial warren
#

lol

ocean quartz
# old wyvern Oo so this needs further filtering

I'm not sure, first I'm gonna make sure it's getting every dependency needed, the way I'm doing is ugly and I don't think goes too deep
Once I get that I'll try downloading them and comparing to the result from shadow

old wyvern
#

Ah alrighty

ocean quartz
#

SlimJar, trying to get all transitive dependencies

distant sun
#

Oh nice

prisma wave
#
    private static final Comparator<SemanticVersion> COMPARATOR =
            Comparator.comparingInt(SemanticVersion::getMajor)
                    .thenComparingInt(SemanticVersion::getMinor)
                    .thenComparingInt(SemanticVersion::getPatch);

beautiful

frail glade
#

o.o

onyx loom
#

quality over quantity ๐Ÿ‘€

frail glade
#

Less lines of code = faster

#

Inline that all to 1 line.

onyx loom
#

๐Ÿ˜ฎ

prisma wave
#

PluginLibraries ( PlusOne )
libraries ( MinusOne )

#

@everyone

loud gyroBOT
#

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

onyx loom
#

fuck u matt

ocean quartz
#

Wow

onyx loom
#

democracy says that everyone must PlusOne

ocean quartz
#

I mean is it only going to be for plugins?

prisma wave
#

maybe

#

maybe not

onyx loom
#

PluginDependencyManager btw

prisma wave
#

should Repository#download(Artifact) return a byte[] or an InputStream?

#

or something else

ocean quartz
#

Maybe input stream

prisma wave
#

probably

#

separation of concerns

frail glade
#

Wait, is BM actually working on PDM or something?

onyx loom
#

๐Ÿ‘€

#

him and bardy yea

#

join vc!

frail glade
#

Cooking atm, maybe later.

onyx loom
#

aw ๐Ÿ˜ฆ

prisma wave
#

RE write BABY

frail glade
#

What's different? Working relocations?

prisma wave
#

eventually

old wyvern
#

๐Ÿ˜

jovial warren
prisma wave
old wyvern
onyx loom
#

s tier meme format

old wyvern
#

Does the right side guy actually exist?

onyx loom
#

i sure hope so ๐Ÿ˜ณ

old wyvern
#

xD

onyx loom
#

hes my lord and saviour

prisma wave
#

yeah ive seen him in the ivory tower a few times

old wyvern
#

Ah, another simon follower

#

Awesome

prisma wave
forest pecan
#

@prisma wave just copy luck's relocation

#

and use that for relocation

#

lol

ocean quartz
#

That's what we do for runtime and sometimes for compile time, if you have shadow it'll hook into it and let it handle that instead

static zealot
old wyvern
#

@prisma wave btw bm any idea why my mic wont work after setting up the dual boot?

#

๐Ÿฅฒ

forest pecan
#

@old wyvern

old wyvern
#

Yea?

forest pecan
#

speak

old wyvern
#

Mic isnt working pulse

prisma wave
#

probably

#

check volume mixer?

forest pecan
old wyvern
#

One sec

old wyvern
forest pecan
#

ikr

old wyvern
#

@jovial warren HOW DARE YOU!!

steel heart
#

Lmao

#

Pulse helpful yeah definitely

old wyvern
#

I've said this once, I say it again, you WILL be hung!

jovial warren
#

someone suggested Clojure and I said I wouldn't use that functional trash

prisma wave
#

@lunar cypress

onyx loom
#

clojure fastest jvm language confirmed

steel heart
onyx loom
#

kotlin persistent collections? ๐Ÿคก
just have them built into stdlib ๐Ÿ‘

#

the results dont lie

lunar cypress
#

I have been summoned

prisma wave
#

redpill bardy

lunar cypress
#

*hickeypill

prisma wave
#

my bad

ocean quartz
#

Aight so this is all that's needed for for all the transitive dependencies without repeating or anything:

config.incoming.resolutionResult.allDependencies.map { it.requested }.toSet()

I was trying to recursively get it from the other way but this already does that lol
@prisma wave If you wanna use ^

old wyvern
#

Simon will hunt bardy down himself

#

Also bm

#

Mixer is all full

old wyvern
#

Mic just shows very minute noise

prisma wave
#

huh

onyx loom
#

shame

prisma wave
#

what mic is it

old wyvern
#

its a earphone

#

This doesnt seem to work on windows as well now btw

#

Works on my other pc and phone

#

Laptops mic seems to work

#

Just not the connected devices

prisma wave
#

huh

#

drivers maybe?

old wyvern
#

Probably, altho I have absolutely no idea what to do

#

Shouldnt driver issues only affect linux tho?

jovial warren
#

retracting my claim that Haskell is trash because that was a joke, but seriously, how does someone sleep at night writing code like this: m >>= (\x -> k x >>= h) = (m >>= k) >>= h

prisma wave
#

maybe just a headphone issue then?

#

if it doesnt work on windows either

old wyvern
frail glade
#

I've heard some windows patches lately have messed with people's audio.

ocean quartz
#

The syntax is pretty hard to understand at first, but I am sure you'd get used to it
I mean Kotlin was weird at first

old wyvern
prisma wave
#

odd

jovial warren
prisma wave
old wyvern
frail glade
#

Thought it happened to me for a solid 2 days until I googled my issue and I found out I have a physical switch on my headphones that I accidentally hit to break the sound.

old wyvern
#

Think of it as similar to map

prisma wave
#

flatMap

ocean quartz
#

Yup and the weirdest was writing the type like : Type but hey, now I actually prefer that

old wyvern
#

True yea

old wyvern
#

I guess ill just have to stick to vc on phone till I can find out how to get this fixed

prisma wave
#

i guess it's an example

ocean quartz
#

repositories.map { it.name } -> , , , ", M, a, v, e, n, R, p, o, ,, L, c, l, m, 2, B, i, t, r, y, J, C, 3, 4, 5, 6, 7, thanks gradle ๐Ÿฅฒ

frail glade
#

LOL

prisma wave
#

what

jovial warren
prisma wave
#

Unit ๐Ÿคข

#

all my homies use ()

jovial warren
#

anyway gn all

prisma wave
#

ciao

old wyvern
#

I meant m as in the generic monad in that case

prisma wave
#
fun main :: [String] -> IO ()
fun main = do { 
    println "Hello World"
}

hasklin ๐Ÿ™‚

old wyvern
#

๐Ÿ˜ฎ

prisma wave
#

monads ๐Ÿฅฐ

#

blessed

#

imagine kotlin but pure

old wyvern
#

Imagine Elara

prisma wave
#

imagine ๐Ÿฅฒ

old wyvern
#

๐Ÿฅฒ

ocean quartz
#

Ayy

[
  "net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT",
  "net.kyori:adventure-nbt:4.7.0",
  "net.kyori:adventure-bom:4.7.0",
  "net.kyori:adventure-api:4.7.0",
  "net.kyori:adventure-key:4.7.0",
  "net.kyori:examination-api:1.1.0",
  "net.kyori:examination-string:1.1.0",
  "net.kyori:adventure-text-serializer-gson:4.7.0",
  "net.kyori:adventure-text-serializer-gson-legacy-impl:4.7.0",
  "net.kyori:adventure-text-serializer-legacy:4.7.0",
  "net.kyori:adventure-platform-facet:4.0.0-SNAPSHOT",
  "net.kyori:adventure-platform-api:4.0.0-SNAPSHOT",
  "net.kyori:adventure-platform-viaversion:4.0.0-SNAPSHOT",
  "net.kyori:adventure-text-serializer-craftbukkit:4.0.0-SNAPSHOT",
  "net.kyori:adventure-text-serializer-bungeecord:4.0.0-SNAPSHOT"
]
  ---  
{
  "MavenRepo": "https://repo.maven.apache.org/maven2/",
  "maven": "https://oss.sonatype.org/content/repositories/snapshots/",
  "MavenRepo2": "https://repo.maven.apache.org/maven2/",
  "BintrayJCenter": "https://jcenter.bintray.com/",
  "maven2": "https://repo.mattstudios.me/artifactory/public/",
  "maven3": "https://hub.spigotmc.org/nexus/content/repositories/snapshots/",
  "maven4": "https://repo.mattstudios.me/artifactory/public/",
  "maven5": "https://repo.mattstudios.me/artifactory/public/",
  "maven6": "https://repo.mattstudios.me/artifactory/public/",
  "maven7": "https://repo.extendedclip.com/content/repositories/placeholderapi/"
}
old wyvern
#

ayyy

prisma wave
#

๐Ÿ˜Ÿ

ocean quartz
#

Very repeated lmao

prisma wave
#

pdm kinda lacking

old wyvern
#

pdm already does this right?

prisma wave
#

yeah

old wyvern
#

ah alright

prisma wave
#

the rewrite doesnt tho ๐Ÿ˜Ÿ

old wyvern
#

Isnt the rewrite just an extra module currently?

steel heart
#

Matt what is that for btw

ocean quartz
#

SlimJar

prisma wave
#

nope full rewrite

steel heart
#

Ah

old wyvern
#

oooo

#

cool

#

My exams end in T-2 days

#

๐Ÿ˜Œ

ocean quartz
#

So you're actually doing a full rewrite?

onyx loom
#

well see about that one

#

the next commit will be next year probably

ocean quartz
#

Gradle: "Failed to delete some children" ๐Ÿ˜ณ

onyx loom
#

๐Ÿคจ

prisma wave
#

yeah bro I totally won't get bored after a day and give up

old wyvern
prisma wave
#

There's another rewrite branch that's been abandoned for a few months too

old wyvern
#

child abuse

prisma wave
#

They deserve it

steel heart
#

Yugi slimjar is java right

old wyvern
#

Yes

#

The gradle plugin uses kotlin tho

#

pull from upstream on your fork

#

Its like from a month ago or something

#

lol

arctic juniper
#

what's today's functional language?

onyx loom
ocean quartz
#

Same as yesterday's

#

Haskell

prisma wave
#

always has been

onyx loom
#

always will be? ๐Ÿ˜ณ

ocean quartz
#

The menu is a bit scarce

prisma wave
#

Until elara comes out

#

I mean maybe Emacs Lisp ๐Ÿ˜ณ

#

It's actually kinda hot

ocean quartz
#

Perfect, now just need to resolve the jar ๐Ÿ˜…

prisma wave
#

๐Ÿ˜ฉ

#

we need to end the free market

distant sun
#

Are the repos added by you or? @ocean quartz

ocean quartz
#

I have slim "net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT" and it maps it like that, with all the dependencies the configuration needs

distant sun
#

Nike

ocean quartz
#

Transitive was a pain in the ass to get xD

stuck harbor
steel heart
#

Yeah itโ€™s infinitely painful matt

distant sun
#

Link to slimjar?

ocean quartz
#

Also @old wyvern, tested it now and yeah it's exactly what needs to be downloaded to work

onyx loom
#

its a sign

prisma wave
#

Clojure good?

onyx loom
#

obviously

stuck harbor
#

ofc

prisma wave
#

๐Ÿฅฐ

stuck harbor
#

I've been using some chicken scheme recently

#

its pretty good

elder sapphire
#

hi, im having some issues with gradle in a client im doing, can i post my question herE?

stuck harbor
#

its like scheme but it transpiles? to C code

stuck harbor
#

also don't ask to ask

elder sapphire
#

k thanks

distant sun
prisma wave
#

-1 stars

old wyvern
#

๐Ÿ˜”

ocean quartz
onyx loom
#

lol

old wyvern
#

๐Ÿ‘€

pale shell
unkempt tangle
#

How can I redirect an hostname + port to another hostname + different port on android?

cinder flare
#

hosts file

unkempt tangle
#

No it requires a ip adress to hostname

#

And no ports

old wyvern
half harness
#

looking at my bedwars plugin's timings.... is there a way to look more specifically where the lag is happening?

ocean quartz
#

That screenshot tells a lot

sweet cipher
#

It is very helpful

#

Like always

oblique heath
#

i can tell exactly what's going on

half harness
#

it just shows the methods, I'm asking if theres a better method than using timings ;-;

sweet cipher
#

Spark maybe?

oblique heath
#

you can manually set up timers within your plugin

sweet cipher
#

So what method is slowing it down?

half harness
#

seems like all the schedulers

sweet cipher
#

Yeah

half harness
#

woah

#

whats with the command

#

lol

#

i think its the /bw stop command

ocean quartz
#

How about you send the timings lol

half harness
#

since that unloads the world

half harness
sweet cipher
#

You might have to delete the whole plugin and start over

half harness
#

wha

sweet cipher
#

Sometimes it's just what you have to do

half harness
#

no thanks

sweet cipher
#

Write it in skript, you will see a major performance increase

half harness
#

ah

#

hmm

sweet cipher
#

Matt I have a new idea for your chat plugin, adding reactions to messages

oblique heath
#

dkim what is this

Bedwars::Task: me.dkim19375.bedwars.libs.scoreboard.type.SimpleScoreboard$1 (interval:1)
#

can you send a link to the code surrounding that

half harness
#

alr

oblique heath
#

oh god

half harness
half harness
oblique heath
#
updateTask = new BukkitRunnable() {
  @Override
  public void run() {
    update();
  }
};
updateTask.runTaskTimer(ScoreboardLib.getPluginInstance(), 0, updateInterval);
#

what is this runnable abuse

half harness
#

wdym runnable abuse?

oblique heath
#

it's updating the scoreboard every second

#

or less potentially

sweet cipher
#

Yes it is

#

Why not update the scoreboard when things happen?

oblique heath
#

that way you don't waste time rebuilding it every single updateInteveral

#

not to mention it'll make it more responsive too

sweet cipher
# ocean quartz Not possible

You could store saved messages, then when people click the message and add a reaction, resend all the messages and include the reactions

half harness
#

uhh i totally didn't make the delay 1 tick

oblique heath
#

since you no longer have to wait for the next second

#

...

#

fix that

half harness
#

yes

#

i just did

half harness
#

20?

#

since it includes countdown

oblique heath
#

i actually have a semi decent implementation of an event based scoreboard

wind bolt
#

Hey guys! Just wanted to let everyone know that https://github.com/SimplexDevelopment/SimplexCore is releasing in alpha next week! We are looking for developers to be alpha testers for our plugin. If you are interested please feel free to download the release to be posted May 1st 2021, and dm me with any bugs you encounter when using the plugin. Thanks!

half harness
#

and i dont want it go from 10..8..7..5..4..3..1

oblique heath
#

maybe i'll try OSing that by itself

sweet cipher
half harness
half harness
#

i dont want it to be too slow

#

but not too fast

oblique heath
#

i mean it shouldn't be interval based at all

#

as a very half-baked solution you can do that but you should really switch to event based asap

sweet cipher
#

Yeah there isn't really a reason to have intervals for a scoreboard that only needs to change when events happen in the game

oblique heath
#

^

sweet cipher
#

Scoreboards for things like displaying money need an interval, because there isn't really an event for that

oblique heath
#

nope

#

you update them whenever you update a player's money

#

so they don't need an interval either

sweet cipher
#

How would you know when a player's money is updated?

#

Just like in general Ivan

old wyvern
#

Does Vault not have events?

sweet cipher
#

Not bedwars

#

Oh it might

#

Idk

half harness
#

how would i update it then? set it to like 1000 ticks, then 1 tick when i want to update?

#

then set back to 1000?

#

because i cba forking it

oblique heath
#

if the change of a player's money/stats/whatever doesn't have an event

half harness
#

and changing it mysekf

oblique heath
#

it's bad and you shouldn't use it anyways

half harness
sweet cipher
#

You just... change the stuff when the event happens?

oblique heath
sweet cipher
#

No need for a runnable

wind bolt
oblique heath
#

oh it's private

#

dkim as a very simple solution

#

you can just fork it and change one word

#

private void update() { to public void update() {

sweet cipher
#

Lol

old wyvern
#

Fork what

oblique heath
#

then set your update variable to a million

#

some random scoreboard lib dkim is using

old wyvern
#

Is this not his own plugin?

half harness
old wyvern
#

Lol

half harness
sweet cipher
#

Oh it's not your own scoreboard?

old wyvern
#

Find a better library

oblique heath
#

^

half harness
#

;-;

sweet cipher
#

Scoreboard's aren't even that hard to make

half harness
#

ill just fork this

ocean quartz
#

Or make a lib

half harness
oblique heath
#

if this guy is using an update interval for this scoreboard, the rest of the lib does not instill confidence

ocean quartz
#

That's how my libs happened

sweet cipher
old wyvern
#

Spam sending chat messages stutters the chat for people, and this will be worse for people with worse connections.

ocean quartz
#

Chat is async, messages would get messy, I send a message per player, storing that would be a nightmare

oblique heath
#

i think the best you could do as far as chat reactions go is what android does when apple devices react to messages

sweet cipher
#

What if you add the chat to a queue as people send it?

old wyvern
#

You could have a separate ui to just disolay reactions

oblique heath
#

which is

robert: i need me a bob the builder
marie: what?
robert emphasized "i need me a bob the builder"
sweet cipher
#

I was thinking the reactions just go directly underneath the message

#

Or a hover thing would work

#

Click and it opens a gui, and hovering also shows the current reactions

#

It would be pretty cool I think

#

Just an idea though, if it's bad then don't do it

old wyvern
#

Can hovers contain like scoreboard variables?

sweet cipher
#

I don't think so

old wyvern
#

Ri

#

Rip

sweet cipher
#

I think it's just stored as the message is sent

#

So as people send messages, they are added to a queue, that stores say 100 previous messages.
Then, when a reaction is added, clear the chat and resend the messages, and add any new messages to the queue to be sent.
Or, you could just do a gui reactions thing like Yugi said.

#

Probably wouldn't fit into the chat plugin idea though to use guis

#

I might just make it later just to try it out lol

ocean quartz
#

Plus other issues, it'd require resource pack for emojis

sweet cipher
#

I don't think it does

#

You can use utf characters (I think thats what they are called), right?

#

I know that Hypixel can do it

ocean quartz
#

But they don't looks good at all

sweet cipher
#

They look fine to me, at least most of them

#

idk

#

I might end up trying it lol, seems like a fun challenge

#

There could also be an option to disable emojis for people with worse connections, and just not resend messages to them

half harness
#

intellij is acting weird today

#

usually it fixes its color mistakes but its not ๐Ÿ‘€

sweet cipher
#

Thatโ€™s Java right?

half harness
#

yes

sweet cipher
#

Whatโ€™s the point of that method?

half harness
#

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

#

oh

distant sun
#

Private constructor?

half harness
#

used to be a private method

#

i just edited the code to make it public

sweet cipher
#

Kind of seems pointless to have a private constructor just for that

half harness
#

lol

#

wait

sweet cipher
#

Waiting

half harness
#

yes

#

please wait

#

its public constructor

sweet cipher
#

Lol

half harness
#

๐Ÿค”

sweet cipher
#

Just needed to have the extra static to make it fancy

half harness
#

lol

ocean quartz
#

I mean it's a factory pattern, it's normal to have private constructor with it

sweet cipher
#

Whatโ€™s the reason for it when all it does is give you the object, and the same parameters would be used for both the constructor and the factory pattern

obtuse gale
#

It looks nicer and the chained method calls align nicer when wrapped ๐Ÿ™‚

obtuse gale
#

I believe that is an actual design pattern, I don't remember the name lol

eternal compass
#

I have no words.
I am helping some guys develop a cool KitPVP server, and there are 2 guys, one of which defines all of his variables in one line

#

like Int test; String test2; List<Boolean> test3;, with no returns

#

its awful

oblique heath
#

ew

#

the last thing i want to see is a square block of code, and that's what that leads to

gusty glen
oblique heath
#

hold on

#

doesn't

saveDefaultConfig();

reset the current config and replace it with the default one

gusty glen
#

no, it does nothing if the file already exists

oblique heath
#

ah alright

eternal compass
gusty glen
#

๐Ÿฅถ not for a code the way it was xD

eternal compass
#

How does that make it harder?

gusty glen
#

well, like all my classes were static

oblique heath
#

actually wait

cinder flare
oblique heath
gusty glen
oblique heath
#

on line 17

cinder flare
#

yikies

gusty glen
oblique heath
#

fancy

gusty glen
cinder flare
#

yeah it definitely was

obtuse gale
#

Keep in mind that this.getClass() may not necessarily return the same as Pair.class

obtuse gale
#

getClass returns the class at runtime (Class<? extends T>)

#

whereas Whatever.class returns.. well, the class representing Whatever exactly (Class<T>)

#

e.g. Bukkit.getServer().getClass() returns CraftServer.class

gusty glen
#

so you're suggesting to change getClass() != o.getClass() to !(o.getClass() instanceof Pair.class)?

half harness
obtuse gale
#

because Class is always an instanceof a Class, regardless of the parameterized type (type erasure ๐Ÿคก)

gusty glen
obtuse gale
#

Although type erasure isn't always there uh.. it's only for instances, extended/anonymous classes don't get the parameterized type erased

#

cuz

#

java

ocean quartz
cinder flare
#

lmao

#

it's kinda quirky tbh

gusty glen
#

it used to ran twice because I was lazy and didn't want to properly think in a solution for the duplicate code issue that I was having. I basically ran through the entire Entity list once, adding them to the list, and then once more, but this time only for entites that are Ageable (to cover the babies), so I lazied and just added a isBaby = true as the last line of that for loop

eternal compass
#

I'm using the remote coding function of InteliJ with an eclipse user:
Why can't I refactor a class to another file? It simply doesn't give me the option

gusty glen
#

there was processing that I had to do, the code is to add AttributeModifier to each Entity type individually

#

this time I solved this issue with recursion, I just recall the function once again if the Entity is Ageable, with the isBaby set to true

half harness
#

java ๐Ÿคข

#

i thought you used kotlin

gusty glen
#

yeah dkim, I know, java sucks

half harness
#

i refactored my plugin to kotlin, you can too fingerguns

gusty glen
#

I use Kotlin, all my recent projects are Kotlin, I love Kotlin, but this one was not in Kotlin and I didn't want to migrate all my projects to Kotlin, I still need to keep some of them in Java so I can show that I know how to program in Java aswell lol, why almost all my Kotlin projects are private?

forest pecan
#

yo

half harness
#

oy

forest pecan
#

who wants to hop on to my server to test a video

#

lol

gusty glen
#

my recent projects

half harness
#

lua?

gusty glen
#

yes, lua xD

cinder flare
#

was that for roblox or something lmao

forest pecan
#

lol

gusty glen
#

wow addon

cinder flare
#

ah makes sense

forest pecan
#

aww nobody wants to be rick rolled?

#

damn it

half harness
#

im on 1.8

forest pecan
#

go on 1.16.5

#

lol

half harness
#

cba

forest pecan
#

just do it for 5 seconds

#

lmao

half harness
#

๐Ÿ˜ฉ

forest pecan
#

๐Ÿ˜„

half harness
#

๐Ÿ˜ซ

#

star

cinder flare
#

im busy studing for my calc final ๐Ÿ˜ 

forest pecan
#

๐Ÿ˜„

cinder flare
#

otherwise I would

half harness
#

im busy coding bedwars ๐Ÿ˜ 

#

otherwise I would

forest pecan
#

wow studying instead of getting rick rolled

#

imagine

half harness
#

i dont get why this scoreboard doesn't work

forest pecan
#

i guess i have to record it and send it to you

#

smh

cinder flare
#

pulse you gotta understand homie

forest pecan
#

lol

cinder flare
#

I have calc test on either monday or tuesday

#

then I'm done for 4 months

forest pecan
#

xD

cinder flare
#

so im putting in the fucking work to make sure I get a 3.5 GPA or above

#

then I can chillax and get rickrolled and make bedwars plugins and all that

#

for 4 months

forest pecan
#

lol

#

nice

cinder flare
#

life is pain

gusty glen
#

pain is pain

gusty glen
cinder flare
#

calculus

#

mostly derivatives

#

a few integrals

gusty glen
#

do you like calculus?

cinder flare
#

i mean it helps you think about a lot of useful stuff

cinder flare
#

but i moderately dislike how much time and remembering is required to solve problems like these on the fly

cinder flare
#

and I need to maintain a 3.5 to keep my scholarship

#

sooooo

sweet cipher
#

I just mean good luck on the exam, I couldnโ€™t be bothered to scroll up more

cinder flare
#

oh lol ty ty

forest pecan
#

enjoy the rick roll

gusty glen
cinder flare
#

4

sweet cipher
#

3

cinder flare
#

A -> 4.0, B -> 3.0, C -> 2.0, D -> 1.0, F -> 0.0

#

then you average all your scores from this semester and last semester

gusty glen
cinder flare
ocean quartz
forest pecan
#

lmao

half harness
#

oh matt

gusty glen
half harness
#

u said u were the one who looked at kotlin projects for role request?

ocean quartz
#

Yeah

cinder flare
#

can i get dev role for my web dev final ๐Ÿคก

gusty glen
#

one day I'll finally get my dev role

half harness
ocean quartz
forest pecan
#

thumb nail wont update

#

๐Ÿ˜ซ

half harness
#

gotta be a gif

gusty glen
ocean quartz
forest pecan
#

one day it will update

half harness
#

ill apply in 2 years

cinder flare
#

ill apply once I finish my bachelors degree in computer science lmao

#

then maybe ill know enough to make my own programming lang

sweet cipher
#

StarSkript

half harness
#

yes

cinder flare
#

it won't be a scripting lang wtf

#

it'll be yet another jvm lang lmao

oblique heath
#

SeaStar

half harness
#

did you not get the joke ;-;

cinder flare
#

what the reference to Skript?

obtuse gale
cinder flare
half harness
cinder flare
#

WAIT

oblique heath
#

i like SeaStar

cinder flare
#

C*

oblique heath
#

because you can use a sea star as the logo

#

and it still sounds like C star

cinder flare
#

what's a sea star

sweet cipher
oblique heath
#

a starfish

sweet cipher
#

Or trademark

obtuse gale
#

lol

cinder flare
#

oh I see

sweet cipher
oblique heath
#

sea star is just the more accurate name for it

cinder flare
#

i've never heard anyone call a starfish a sea star before

#

though to be fair I'm not big on fish

sweet cipher
#

Mean

#

Did you know goldfish are smarter than humans?

cinder flare
#

does a goldfish know what a monad is

#

cause I don't

#

i'd like to ask it, if it's available

sweet cipher
#

They are too smart, they donโ€™t want to talk with humans, it lowers their intelligence

cinder flare
#

sheeeesh

obtuse gale
#

Type erasure is a mapping from types (possibly including parameterized types and
type variables) to types (that are never parameterized types or type variables)

Take away the parentheses and you're left with

Type erasure is a mapping from types to types

๐Ÿ‘๐Ÿ‘๐Ÿ‘

cinder flare
#

yeah from types you like to a generic type

hot hull
#

I never understood what that means

quiet depot
#

@hot hull when ur code is compiled

#

List<String> is turned into List

#

but type erasure is a lie

steel heart
#

Sometimes the type parameter is kept right

quiet depot
#

yes

steel heart
#

Like even after compile

quiet depot
#

type parameters used in the class structure can be retrieved at runtime

#

e.g. type parameters on fields

#

or in a class you extend

#

and type parameters can be retrieved at runtime in a method body if the class you're initializing is abstract (e.g. typetoken)

steel heart
#

Oh yeah so like refiable types or whatever itโ€™s called

#

Ah yeah like TypeTokens

quiet depot
#

yeah

#

exactly

#

was just editing that into my msg as u said it

steel heart
quiet depot
#

but

#

d;guice typeliteral

ruby craterBOT
#
public class TypeLiteral
extends Object```
TypeLiteral has 12 methods, and  1 extensions.
Description:

Represents a generic type T. Java doesn't yet provide a way to represent generic types, so this class does. Forces clients to create a subclass of this class which enables retrieval of the type information even at runtime.

For example, to create a type literal for List<String>, you can create an empty anonymous inner class:

TypeLiteral<List<String>> list = new TypeLiteral<List<String>>() {};

Along with modeling generic types, this class can resolve type parameters. For example, to figure out what type keySet() returns on a Map<Integer, String>, use this code:

TypeLiteral<Map<Integer, String>> mapType
= new TypeLiteral<Map<Integer, String>>() {};
TypeLiteral<?> keySetType
= mapType.getReturnType(Map.class.getMethod("keySet"));
System.out.println(keySetType); // prints "Set<Integer>"
quiet depot
#

typeliteral > typetoken

#

they're definitely not the exact same thing

#

i promise

steel heart
#

d;methods guice TypeLiteral

ruby craterBOT
#
Methods:
com.google.inject.TypeLiteral#get
com.google.inject.TypeLiteral#getFieldType
com.google.inject.TypeLiteral#getExceptionTypes
com.google.inject.TypeLiteral#TypeLiteral
com.google.inject.TypeLiteral#hashCode
com.google.inject.TypeLiteral#getType
com.google.inject.TypeLiteral#getParameterTypes
com.google.inject.TypeLiteral#getReturnType
com.google.inject.TypeLiteral#equals
com.google.inject.TypeLiteral#toString
com.google.inject.TypeLiteral#getSupertype
com.google.inject.TypeLiteral#getRawType```
quiet depot
#

d;methods guava typetoken

ruby craterBOT
#
Methods:
com.google.common.reflect.TypeToken#isArray
com.google.common.reflect.TypeToken#writeReplace
com.google.common.reflect.TypeToken#method
com.google.common.reflect.TypeToken#toString
com.google.common.reflect.TypeToken#of
com.google.common.reflect.TypeToken#getRawType
com.google.common.reflect.TypeToken#getTypes
com.google.common.reflect.TypeToken#unwrap
com.google.common.reflect.TypeToken#isSubtypeOf
com.google.common.reflect.TypeToken#isPrimitive
com.google.common.reflect.TypeToken#getComponentType
com.google.common.reflect.TypeToken#getType
com.google.common.reflect.TypeToken#constructor
com.google.common.reflect.TypeToken#TypeToken
com.google.common.reflect.TypeToken#isSupertypeOf```
quiet depot
#

see

#

type token has more

steel heart
#

d;guice TypeLiteral#getRawType

ruby craterBOT
steel heart
#

Yeah

quiet depot
#

yeah that kinda destroyed my sarcasm

#

they're the exact same

#

it seems guava just has the utils on the class itself

#

whereas in guice the utils are separated

steel heart
#

I was hoping TypeLiteral would return Class<? extends T>

#

On getRawType that is

hot hull
#

Ah I see

quiet depot
#

guice has some really cool utils that I don't think guava has

#

d;methods guice types

ruby craterBOT
#
Methods:
com.google.inject.util.Types#setOf
com.google.inject.util.Types#mapOf
com.google.inject.util.Types#arrayOf
com.google.inject.util.Types#listOf
com.google.inject.util.Types#collectionOf
com.google.inject.util.Types#supertypeOf
com.google.inject.util.Types#subtypeOf
com.google.inject.util.Types#providerOf
com.google.inject.util.Types#javaxProviderOf
com.google.inject.util.Types#newParameterizedTypeWithOwner
com.google.inject.util.Types#newParameterizedType```
steel heart
#

Oo

quiet depot
#

with that u can go like

#

Types.setOf(String.class)

#

and it'd return a type of Set<String>

steel heart
#

Whyโ€™s that useful?

quiet depot
#

because guice uses types to bind things

steel heart
#

new HashSet<String>() just?

quiet depot
#

no but like the actual Type

steel heart
#

Ah well yeah makes sense

quiet depot
#

like the reflective type

#

not an instance

#

e.g. Set.class is a type, of Set

#

but you can't go Set<String>.class

#

that's not possible

#

so that's where this util comes in

steel heart
#

Yeah that makes more sense now

quiet depot
#

I believe it's useful for gson & guice

#

I think gson has similar utils

steel heart
#

Afaik TypeToken solves it solidly

quiet depot
#

oh right

#

typetoken integrates the utils in

steel heart
#

and possibly TypeAdapter

#

yeah

quiet depot
#

ah found it

hot hull
#

How would one make these same size

quiet depot
#

use html frosty

#

width & height attributes

hot hull
#

I did, it doesn't change it tho

quiet depot
#

cap

#

show code

hot hull
#

height doesn't work, lemme change and I'll show you

#

<img align="left" height="300" width="400" alt="Frosty's Github Statistics" src="https://github-readme-stats.vercel.app/api?username=Frcsty&show_icons=true&hide_border=true&theme=dark&icon_color=00f6ff&count_private=true&include_all_commits=true" />

#

width works, height doesn't

quiet depot
#

you need units

#

I think

#

maybe not

#

idk

#

try adding px

hot hull
#

You don't ;C

quiet depot
#

r u sure?

#

try it

#

remember this isn't real html

hot hull
#

Just moves the image downwards, same as before

#

This week was pathetic ;C

quiet depot
#

man i barely code anymore

#

my wakatime is like 0

hot hull
#

I've been at work last week hence no work, but will probably increase drastically now

#

That's cause you work for free Piggy ๐Ÿคก

quiet depot
#

wym

#

๐Ÿ˜ฆ

#

that's from this month

#

so bad

hot hull
#

Most of your latest projects have been your own no?

quiet depot
#

ye

distant sun
hot hull
#

Damn c++ nerd

quiet depot
#

i barely code anymore because of time

#

not because of motivation

distant sun
#

Shut up frosty

hot hull
#

And you're about to tell me you don't have time, when you're chatting here like 25/8

quiet depot
#

that's called procrastination

hot hull
#

smh

hot hull
quiet depot
#

i multitask

#

i'm also doing math homework rn

hot hull
#

ew math

distant sun
#

Ew homework

quiet depot
#

I feel like i've been fairly productive this weekend

hot hull
#

I've still got so much school shit to do

#

shoot me please

quiet depot
#

I wrote a fat chemistry report, finished an english speech, worked for 8 hours on gaby's stupid fucking server, and now i'm doing math

#

all while also maintaining conversations in here

hot hull
#

worked for 8 hours on gaby's stupid fucking server
๐Ÿคก

hot hull
#

change the 4 to 5 Gaby

distant sun
#

I have a deadline for 16 may for a huge project and all the info our professor gave us was "I have uploaded the project on moodle, you have to finish it by 16 may"

quiet depot
#

ayy

#

moodle

hot hull
#

moodle is shit

quiet depot
#

fun fact moodle originated from western australia, where I live

distant sun
#

Nah is actually cool

hot hull
#

What dumbass decided that you shouldn't get notifications when professors add a lecture

distant sun
#

What sucks is their mobile app

hot hull
#

I'm subscribed to all the notifications, yet I've gotten not one so far

distant sun
#

Thats why I made this :))

hot hull
#

Gaby

#

I beg you

#

Please send

distant sun
#

Sure

hot hull
#

โค๏ธ

#

I was going to make that myself like a few months ago but I gave up cause my brain is too small to even figure out where to approach it, cause the events system is dumb

distant sun
#

Agree, their api is annoying + php

onyx loom
#

nice gaby

#

if this was any earlier i wouldve asked for it too, but i finish college in less than a month fingerguns

quiet depot
#

@onyx loom british college or university

onyx loom
#

british college

quiet depot
#

going to uni after?

onyx loom
#

no ty

distant sun
#

good choice

onyx loom
#

college was already enough pain

jovial warren
#

College ew

#

Sixth Form better

#

Actually saying that, they're starting to get a bit closer together I think now

hot hull
#

Fuck education all together, get a job, start building your carreer

frigid badge
#

^

stuck harbor
#

pfffffft

#

career shmashmeer

#

I just need to learn every single way mafs can be used

jovial warren
#

Imagine needing a degree though to pursue your career

tropic cypress
#

What is the best IDE for Java you think?

quiet depot
#

intellij

#

butttt how do u get job without degree

jovial warren
stuck harbor
jovial warren
quiet depot
#

maybe in a country like the uk or the us

#

yes

#

i did just call th euk a country

#

deal with it

stuck harbor
#

eeeeee

jovial warren
#

It is a country

tropic cypress
#

I was thinking about IntelliJ too, thnks

quiet depot
#

and england is my city

jovial warren
#

It's a country made up of countries

#

I need a degree to teach anyway

stuck harbor
#

...teach?

#

are you mad?

jovial warren
#

Perhaps

stuck harbor
#

in this economy?

jovial warren
#

I want to teach secondary computer science

quiet depot
#

i don't think u should go straight into teaching

frigid badge
#

whatever makes you happy do it

quiet depot
#

have a normal computer science career

#

then retire into teaching

stuck harbor
jovial warren
#

No

quiet depot
#

that's what I want to do

#

best of both worlds imo

jovial warren
#

I don't want to do that because I don't want to work a normal development career

#

Because I'm more interested in helping others than I am helping myself

stuck harbor
#

go into game dev, they are starting to unionise now

quiet depot
#

bardy, would you rather a teacher fresh out of uni or someone who actually has experience in what they're teaching. And no, your hobbyist projects don't count as experience here

tropic cypress
#

Do I need another OS for Java or is Windows OK?

jovial warren
#

Game development mostly also requires game designing

quiet depot
tropic cypress
#

thanks

jovial warren
#

Also, secondary computer science doesn't really require that experience anyway

hot hull
#

Piggy

quiet depot
#

hi

hot hull
#

You keep saying you need education in AUS, when it's literally the same as every other place

jovial warren
#

I don't want to be a university professor, I want to be the UK equivalent of what I guess the US would call a middle/high school teacher

hot hull
#

If that doesn't work, just go punching kangaroos

jovial warren
#

Teaching the 11-18 year olds

#

That's my target age group

hot hull
#

Bardy, just don't be one of those professors who use outdated software ๐Ÿคก

frigid badge
#

the lil rats age group

jovial warren
quiet depot
#

nah, just don't be one of those professors that force your students to use specific tools

#

let 'em use what they want

hot hull
#

Just force them to use Paint IDE

jovial warren
#

If we're teaching Python in the curriculum and one of my students wants to use Java or Haskell, or even C, I will fight to make sure they get their IDE

quiet depot
#

if ur teaching python in the curriculum

#

change the curriculum

hot hull
#

What social media would be good for acquiring contacts of potential employers/clients

quiet depot
#

linkedin

hot hull
jovial warren
#

Also, I think Python is a good choice to get started

hot hull
#

See if I say I'm a student, that expects me to use my current education, which is from a different field

quiet depot
#

what about c

jovial warren
#

Since you don't concern yourself with advanced stuff that your average CS student won't understand

frigid badge
#

this is secondary school piggy

#

theyโ€™re 15 year olds

quiet depot
#

oh yeah

hot hull
#

ripe age to start

frigid badge
#

that donโ€™t care about programming

quiet depot
#

most of them are in there to play games on the computers lol

frigid badge
#

exactly

#

bardyโ€™s goal would rather be to show them into it and maybe convince them to try it

quiet depot
#

barry

frigid badge
#

auto correct

#

on phone rn

hot hull
#

Imagine if people chose the education that excites them (not that that's possible) instead of choosing the easiest one

quiet depot
#

ah

hot hull
#

Do I just say I'm not a student at this point?

quiet depot
#

well are you enrolled in an education institution?

#

oh

#

no

#

you just put your previous education thing

hot hull
#

Well yes, but it's a different field, than what this is for

unkempt tangle
#

Stay frosty

quiet depot
#

frosty I'd just put everything on there

#

even if it's not super closely related

hot hull
#

ah okay

quiet depot
#

so high school certificate/diploma & current uni info

#

lemmo is probably good to ask about linkedin

#

he uses it more than me

hot hull
#

so high school certificate/diploma & current uni info
You funny

unkempt tangle
quiet depot
#

y is that funny

hot hull
#

@frigid badge Am I able to change my details after I've set them up?

hot hull
frigid badge
#

yes

hot hull
#

k good

quiet depot
#

i just assumed u were in uni

#

because you said u were in education

hot hull
#

I am

frigid badge
quiet depot
#

yes

hot hull
#

kindergarten

#

Can we start shooting employers like this

onyx loom
#

๐Ÿ‘๐Ÿ‘๐Ÿ‘

jovial warren
#

why donโ€™t you email them and ask if theyโ€™d be willing to let you use IntelliJ on their systems

#

if you ask nicely, you might actually get

onyx loom
hot hull
#

I mean they require a degree in CS so it's out of the question, but still

jovial warren
#

CP?

hot hull
#

I keep typing CP instead of CS for some fucking reason

jovial warren
#

ah

#

lol