#dev-general

1 messages · Page 527 of 1

winged oyster
#

it would be java

obtuse gale
#

c++?

half harness
#

they just said java .-.

timber oak
#

Mate I think you're the wrong place if you want to learn something like that

obtuse gale
#

.-.

obtuse gale
#

is making a plugin profitable? depends how unique the plugin is right?

half harness
#

um

#

depends how much work you put on it

winged oyster
half harness
#

a more-effort bedwars plugin will be more profitable then a low-effort bedwars plugin

winged oyster
#

but yeah selling plugins can easily get you some money on the spigot market

half harness
#

even though they're not original

obtuse gale
#

how long you guys learn java?

half harness
#

~10 months so far

winged oyster
half harness
#

i dont use java anymore though

obtuse gale
#

phyton?

timber oak
#

If you just want to make money you shouldn't go for plugins imo

half harness
#

no

winged oyster
#

i learned the basics around 7 years ago but i only started actually using it regularly about 5 years ago

obtuse gale
winged oyster
half harness
half harness
obtuse gale
half harness
#

making sure

#

lol

winged oyster
obtuse gale
#

;-;

winged oyster
#

i still don't fully understand reflection

obtuse gale
#

i learn java for 5 days to make "hellow world"

half harness
#

can't spell hello correct smiling_face_with_3_tears

obtuse gale
#

lol

winged oyster
obtuse gale
#

nah... i use an apps

half harness
obtuse gale
#

its like a compatition apps

#

so... i just be no 1 everyday

#

learning java

#

then off

timber oak
#

Also, trust me, learn java BEFORE spigot, it will help you so much

winged oyster
#

^^^^^^

obtuse gale
#

i always want to learn java

half harness
#

?learn-java

compact perchBOT
#
FAQ Answer:

Online Courses:
Online courses are also great for learning java. Some websites that offer them are:

  • Coursera - Free unless you want a certificate
  • PluralSight - Great courses from what I've seen. Mostly Paid
  • Udemy - Never used them myself but they seem to all or at least most be paid.
    My first ever course was one from Coursera. - I can say it was pretty good at introducing me to the programming world as a whole not just java.

Oracle Docs:
Oracle docs can help a lot at learning and understanding java:

  • Start with this,
  • Breeze through this (skipping stuff that doesn't seem relevant like bitwise operators),
  • Hit this.
    They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
    That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff

Other services:
Some other cool services that will help you learn java are:

As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!

obtuse gale
#

just lack of time

winged oyster
obtuse gale
#

ouh

winged oyster
#

I've heard a lot that w3schools is really outdated but i have no idea how accurate that is

half harness
# compact perch

lol funny enough i've used none of these to help me learn java

obtuse gale
#

hmm staff lurking 100% sure

half harness
#

and some quick googling sometimes

#

but no courses

timber oak
winged oyster
#

I learned from a game development youtube series

timber oak
#

I found some university site that taught java way better imo

half harness
#

recently though i took the java sololearn course to see how much i knew and completed it so quick 🥲

winged oyster
#

the best place to learn java is probably mooc.fi

obtuse gale
#

learning for first time like... bruh what this dev did?... really messy... learn java for years... "now ik why it's messy"

half harness
#

hava ftw

obtuse gale
#

hava?

timber oak
obtuse gale
#

yeh matt

winged oyster
#

let me find the link

obtuse gale
half harness
#

smh

winged oyster
half harness
#

edited

obtuse gale
#

smh

#

Yo matt

#

Lurking

winged oyster
obtuse gale
#

No caps

timber oak
#

This is the one I used GioD

obtuse gale
#

Yeh someone delete tht bot

#

sus

timber oak
#

Finally someone who used it lol

obtuse gale
#

Delete

half harness
obtuse gale
#

sus

#

CAPPING

timber oak
obtuse gale
#

Hm nothing

#

Open the wiki

timber oak
#

Oh no, Skript

obtuse gale
#

Skripting boi

ocean quartz
#

#placeholder-api For papi help, if it's a skript issue i doubt anyone here knows anything about it

serene moon
#

Oke

winged oyster
#

what language should i learn when i'm done with my last major java project? i'm thinking about rust cause i've heard it's really neat and recent but kotlin also seems like a good alternative

obtuse gale
#

C++

half harness
#

ah

#

kotlin is so nice

winged oyster
#

probably not a great question to ask but i'm interested in hearing feedback from people who do what i do

timber oak
#

Python imo

half harness
#

uh

timber oak
#

Great language to know

half harness
#

i disagree

obtuse gale
#

Python this year m8

#

Learn Python

timber oak
#

Well, it really depends on what you want to use the language for

obtuse gale
#

Or learn Unreal Engine and make some moneyh

half harness
#

rust is cool too

ocean quartz
half harness
winged oyster
#

maybe python, i'm not as big on machine learning as i was a couple years ago but i'm still interested in it

obtuse gale
half harness
#

haskell bad

old wyvern
winged oyster
obtuse gale
#

I did something in Unreal software... It's FPS game.. kinda buggy af

timber oak
#

What would you use the language for GioD?

winged oyster
half harness
#
import Data.Char

p :: String -> IO ()
p ip = putStrLn $ fc ip
main = do {
  r;
}
r :: IO ()
r = do
  p . g $ m gl
gl :: [String]
gl = c "ghi" (-6)
g :: [String] -> String
g = head . tail
f :: [String] -> [String]
f i = filter (v) i
fc :: String -> String
fc st = filter (ic) st
ic :: Char -> Bool
ic ch = ch /= '\''
m :: [String] -> [String]
m i = f $ fmap (\x -> x) i
v :: String -> Bool
v _ = True
c :: String -> Int -> [String]
c i cf = (\x -> show $ chr $ ord x + cf) <$> i
```made this myself in haskell ![mmLol](https://cdn.discordapp.com/emojis/251441267496583169.webp?size=128 "mmLol")
ocean quartz
old wyvern
winged oyster
#

Ah alright

old wyvern
#

Facebook uses it for spam filtering

old wyvern
#

Github uses it to detect languages

obtuse gale
#

I can't hold dev eyes

winged oyster
#

i should've specified earlier that i'm trying to do web development

old wyvern
#

Use Elm

half harness
winged oyster
#

so that's why kotlin and rust stuck out to me

half harness
#

kotlin will be easy to learn tho

old wyvern
#
obtuse gale
#

What Haskell for

half harness
#

since u know java already

old wyvern
#

General purpose

winged oyster
#

i've seen some really pretty haskell code

timber oak
obtuse gale
#

@ocean quartz How long you learn Java or any programming

half harness
#

ohh no

old wyvern
half harness
winged oyster
#

python can be good but there are 100% better languages

obtuse gale
#

Who the f use Python for Web Dev wth

winged oyster
timber oak
#

JavaScript is better surely

ocean quartz
timber oak
#

But python isn't bad for web development

ocean quartz
#

Nice

old wyvern
half harness
#

lol

obtuse gale
half harness
#

.

#

ok

obtuse gale
#

Why

ocean quartz
#

Your answer doesn't answer any of my questions lol

obtuse gale
half harness
winged oyster
#

alright, thank you all for the feedback

obtuse gale
ocean quartz
#

Probably like 7/8 years ago, i don't remember anymore

obtuse gale
#

Till now?

#

or on off

ocean quartz
#

Till now

obtuse gale
#

Jess

#

I need senpai

winged oyster
#

Oh wow, i started 7 years ago but it was really on/off

obtuse gale
#

I need senpai to teach me

winged oyster
#

imo

obtuse gale
#

course?

timber oak
#

Agreed

obtuse gale
winged oyster
ocean quartz
#

I think i started learning C in school when i was 16

timber oak
obtuse gale
#

How long to be semi expert on Java

winged oyster
#

you could be an expert in a year if you study every day and code regularly

obtuse gale
#

24h per/day?

winged oyster
#

there's no real definition of "expert"

obtuse gale
#

Professional?

half harness
obtuse gale
#

Master?

#

phD?

half harness
#

if you do everything in one day you might forget it the next day

obtuse gale
timber oak
#

You have to specify then, you can master a lot of different things just within Java

ocean quartz
#

So C in 2013, Java in 2014, so 7 years since I started with Java

obtuse gale
#

or sleep only 2h

old wyvern
#

You might end up with syntax errors

obtuse gale
#

Yeah

#

Maybe

old wyvern
#

🥲

winged oyster
#

i'd say if you used mooc.fi, you could probably do 1 lesson every day and then be decent in about 2 weeks

#

and that'd be a good starting point to learn spigot

obtuse gale
#

guru is bad?

winged oyster
obtuse gale
#

guru website

#

learning

#

cooking, programming & etc

winged oyster
#

haven't ever used it

#

but feel free

timber oak
obtuse gale
#

Oh f... Part 1 already long

winged oyster
#

yeah java's not a small language

obtuse gale
#

Thanks m8 imma bookmark the website

winged oyster
#

no problem

#

I'm not really sure what's the best way to learn spigot, i learned it by watching a 2-3 youtube videos and browsing the forums

obtuse gale
#

Youtube sux

#

fax

#

Cuz it's use old language

#

I tried to follow some of it not working

ocean quartz
obtuse gale
#

:D

winged oyster
#

if you prefer youtube, another good way to learn java is probably freecodecamp

#

freecodecamp is awesome

obtuse gale
#

Thanks again ❤️

frail glade
prisma wave
#

😌

boreal needle
#

if i only change build scripts should i still increment the version?

jovial warren
#

no

#

anything that's not public API shouldn't increment the version

obtuse gale
#

patch version tho 👀

#

that is to say things that use the api depend on major.minor only

eternal compass
#

okay you're probably all gonna hate on me for this, but I started converting my bot from Javascript to Typescript, and its soo nice

#

(compared)

#

and it makes webstorm actually useful

#

and I can define models of data to give myself, so its consistent

obtuse gale
#

TS good

onyx loom
#

why would we hate u for that lol

#

the only way ud be hated would be if u were using php 👀

prisma wave
#

That's like the least hateable thing possible

steel heart
forest pecan
#

its not on right now

#

it should be short circuiting xD

steel heart
#

¯_(ツ)_/¯

eternal compass
onyx loom
#

TS good

steel heart
#

No no no

#

TS is oo

#

JS is literally scripting

#

Magnanimous difference

eternal compass
#

Well...

#

Ts is a js superset

#

So technically all my js is ts, no?

steel heart
#

Yes but all ts isn’t valid js

eternal compass
#

Right

old wyvern
#

Elm good

steel heart
#

And if you use ts I hope you’re not just writing js code fred lol

eternal compass
#

I'm not lmao

steel heart
old wyvern
#

Give Elm a try when you have time, The compiler pretty much assists you through most of the issues

eternal compass
#

I might OS the bot at some point for code review purposes

steel heart
old wyvern
old wyvern
eternal compass
#

Oh intresting

#

Maybe I'll try it

steel heart
#

Ever tried php?

eternal compass
#

Yes

old wyvern
#

Yes, PTSD included

eternal compass
#

I wrote an api in php, worst 3 days of my life

old wyvern
#

Ever written 5 pages of html on paper?

eternal compass
#

Oh and I attempted a pmmp plugin, I stg

old wyvern
#

🥲

eternal compass
obtuse gale
#

TIL you can do this in gradle.settings.kts

onyx loom
#

squirtgun pogSpin

steel heart
#

you would not need any parenthesis with groovy thus groovy is better

lunar cypress
#

But I love parentheses

obtuse gale
#

(oh i
(know you
(do)))

lunar cypress
#

😌

steel heart
#

😔

forest pecan
#

☹️

gusty glen
pulsar violet
#

My discord settings are correct but I can’t verify

old wyvern
#

Elm is supposed to be easier to use. Im not familiar enough with purescript to compare more.

gusty glen
#

bruh, clojure have nil and dynamic types

#

henceforth haskell > clojure

pulsar violet
#

how can i get the bot check

cinder flare
#

Bro did they change the discord highlight color again

#

the top bar that says you have new messages is way darker

#

and it looks like @'s were darker too

pulsar violet
#

ohoh i use it

cinder flare
#

that is 100% a different color

half harness
#

i like it

#

more darker

#

more saturation

#

😋

cinder flare
#

I was used to the old one

#

now my brain gets surprised when I see it

half harness
#

lol

obtuse gale
#

i prefer it

ocean quartz
#

Me too

humble silo
obtuse gale
#

higher contrast, makes my eyes happy :D

cinder flare
#

it feels too blurple

#

i want more blue

half harness
#

😒 scenebuilder's fault

ocean quartz
#

Top secret package name

half harness
#

lol

obtuse gale
#

com.github.dkim1235412.tornadofxdiscorddkim1231utils

half harness
#

🥴

#

🤐

#

bam, 50 -> 0 warnings

#

48 of them i did suppress all

#

🤡

ocean quartz
#

"Fixing" 🤡

half harness
ocean quartz
#

Nahhh, do more before committing like 1000 or so more

half harness
#

more deletions than insertions Thonk

ocean quartz
#

5 Commits

half harness
#

what app is that btw?

ocean quartz
#

GitKraken

half harness
#

oh

#

ive heard u talking about it sometimes

#

uh

#

whys half my files red

#

O_o

#

welp ig more batch of code to commit

#

lol 1 change splitted up into 2 commits because git weird

half harness
obtuse gale
#

cli fingerguns

ocean quartz
obtuse gale
obtuse gale
#

oh my god

#

i just found something horrific wtf

#

why is this a thing

#

you can have multiple static (or not) initialization blocks

ocean quartz
#

Omg really? Wtf

gusty glen
gusty glen
steel heart
cinder flare
obtuse gale
# cinder flare wait sorry what are initialization blocks
class AssClass {
  static final String STATIC_FIELD;
  final String nonStaticField;

  static {
    // static init block
    STATIC_FIELD = "";
  }

  {
    // non-static init block
    // kinda like a no-args constructor, I suppose this is to help follow the 'DRY' principle
    nonStaticField = "";
  }
}
ocean quartz
cinder flare
#

so what's the difference between that and just doing static final String STATIC_FIELD = ""; in one line

#

i've literally never seen those used before

obtuse gale
#

for real?

cinder flare
#

yea?

steel heart
#

Might be initialization order

cinder flare
#

i dunno I guess my 3 classes in java did not prepare me for the real world

#

DS&A 🥲

obtuse gale
#

well for instance hm you have a static final Method field

#

to get a method you need to call Class#getDeclaredMethod which may throw an exception

frail glade
#

Don't listen to anyone that tells you static abuse is real. It doesn't exist.

obtuse gale
#

you would use the static init block to try catch

cinder flare
#

how often do you find yourself storing a Method in a variable tho

obtuse gale
#

I mean whenever I use reflection?

ocean quartz
#

Static abuse is a social construct

steel heart
#

Nms 🥲

cinder flare
#

okay guess I'm just not on the mirror side of java yet

frail glade
#

I think we do that for player locale and ping in the Player expansion.

obtuse gale
#

actually I can't think of any project that does not use static init blocks thonking

#

non-static ones are pretty rare imo

potent nest
obtuse gale
#

Woah never thought of that

#

That's funny lmao

prisma wave
#

Evil code

#

That's an anti pattern iirc

#

I think it can break GC or something

potent nest
prisma wave
#

This was it

#

Because it compiles to an anonymous subclass, there's a reasonably high chance it will hold a reference to some field in the parent class, which means it then can't be GC'd

potent nest
#

yeah, that's typical issues with anonymous classes

prisma wave
#

mhm

#

It's also significantly slower

potent nest
#

I didn't find anything about speed

#

but anonymous classes are always fun to deal with

prisma wave
#

That was on a different answer

#

As can be seen, the double brace initialization has a noticeable execution time of around 190 ms.

Meanwhile, the ArrayList initialization execution time came out to be 0 ms. Of course, the timer resolution should be taken into account, but it is likely to be under 15 ms.

potent nest
#

Uh that doesn't sound reliable tbh

prisma wave
#

Probably not

#

I reckon there would be a pretty significant difference if you could be bothered to run a proper benchmark though

potent nest
#

time to run some benchmarks I guess

quiet depot
#

double brace initialization will get you instantly denied from developer role here

#

very evil

#

use a map/list builder

#

said map originally because normally I see people using double brace for maps

potent nest
#

doing the evil stuff is fun

#

using languages in a sane way is boring

prisma wave
potent nest
#

I guess so too

prisma wave
#

but still evil nonetheless

potent nest
#

yeah

sturdy swan
#

This chat kinda ded

lunar cypress
#

this is literally the most active chat on the server

boreal needle
#

400xp in one day

#

is it doable?

pallid gale
#

¯_(ツ)_/¯

boreal needle
#

let's find out :D

#

also could you please invite me to the hypixel guild when its less dead

pallid gale
#

can do

boreal needle
#

thanks

pallid gale
#

remind me when im online and so is hypickle

boreal needle
#

yep will do

jovial warren
onyx loom
#

lmao

prisma wave
#

lmao

lunar cypress
#

copying code WeirdChamp

prisma wave
#

Should've used mit smh

jovial warren
prisma wave
#

How so?

jovial warren
#

because the file is dual licensed under MIT and GPL v3

#

so I wouldn't be able to use it anyway

prisma wave
#

Embarrassing GPL moment

jovial warren
#

you would get these issues with MIT...

#

MIT still requires that the notice be preserved

prisma wave
#

Yeah but at least you'd be using a good license

jovial warren
#

we've had this conversation before

#

and just no

prisma wave
#

just yes*

jovial warren
#

I can pick whatever license I want, and I think GPL is more suited for this project, so this is licensed under GPL

#

there is no "better" or "worse" license, it is a matter of what license most suits your project, that's why there are different licenses with different terms in the first place

boreal needle
#

is the plugin api also gpl

jovial warren
#

no

#

I opted for Velocity's licensing, where the API is under MIT and the backend is under GPL

prisma wave
#

Yeah but MIT is better

boreal needle
#

ah ok

#

is the api stable yet?

jovial warren
#

the API being under MIT means you can use it freely at will, but the backend imposes restrictions

jovial warren
prisma wave
#

Thank god I can make closed source forks of the api without an implementation 😌

jovial warren
#

that's why the API is under MIT, because idgaf if people do exactly that

#

however, the backend, which is what I have spent hours and hours of my own time and effort making, is what I want to protect

prisma wave
jovial warren
#

yes there is

#

I just said

prisma wave
#

How could you even modify the API without modifying the backend in some way (apart from a totally separate implementation)

jovial warren
#

I want you to be able to use the API without having to worry about adhering to GPL

prisma wave
#

So if a plugin uses "nms" it therefore has to be GPL

jovial warren
jovial warren
boreal needle
#

what about if it uses reflection and doesnt actually build against the backend

jovial warren
#

then it can get away with being MIT

#

or whatever license

#

but that's not the point

boreal needle
#

brb going to write a bukkit wrapper that only uses reflection

jovial warren
#

the whole point of making the backend GPL is to restrict copying, not usage

#

the restriction of usage is just what comes with GPL

lunar cypress
#

agane

#

same discussion

jovial warren
#

but that shouldn't be an issue anyway, since I will at least try to provide as much as I can in the API so you won't even need the backend

jovial warren
# lunar cypress same discussion

because BM still wants to try and convince me that I'm somehow objectively wrong in my licensing choices, which is just not a fact

prisma wave
#

gpl bad

#

:)

jovial warren
#

in your opinion

#

GPL has its uses

#

in mine and most of the open source community's opinion

prisma wave
#

GPL is for the stallman worshipping open source nazis

lunar cypress
#

I think we should all switch to the cbt licence

prisma wave
#

Chad MIT users don't care

#

cbt 🤨

boreal needle
#

dbad best license

prisma wave
#

That seems pretty good actually

boreal needle
#

or the cdl

prisma wave
#

😌

onyx loom
#

no license at all best license

prisma wave
#

no license implies full copyright afaik

boreal needle
#

varies depending on country iirc

lunar cypress
#

There is no "default open source" in any country

prisma wave
#

i think that's github's policy anyway

lunar cypress
#

If you provide no lincence no serious person is going to use your project

#

Because you could just sue them

onyx loom
#

exactly, best license

prisma wave
#

😌

jovial warren
boreal needle
#

imo the cdl is better

old wyvern
#

Can anyone just create a license as they want?

boreal needle
#

wdym

#

you can just write a license and then its a license

old wyvern
#

Ah

boreal needle
#

as long as its all legally sound then you can enforce it

lunar cypress
#

I'm not sure whether this one is completely legally sound

#

I would rather pick a sound license with some experts behind it instead of just sound funny

prisma wave
#

Jetbrains projector is cracked

lunar cypress
#

Is it

old wyvern
#

Is jdk16 supposed to block reflection even on public fields/methods?

quiet depot
#

no

old wyvern
#

I thought the module limitations only affected private/protect..ect..

quiet depot
#

don't think so

old wyvern
quiet depot
#

oh

old wyvern
#

which is public

quiet depot
#

yeah sorry

#

misunderstanding

#

it definitely blocks that

#

what do you need addURL for

quiet depot
#

oh god

old wyvern
#

To append to the classpath

quiet depot
#

for what

#

appending to classpath is usually a bad idea

old wyvern
#

To add a dependency to the same classloader

quiet depot
#

for slimjar?

old wyvern
#

Yes

prisma wave
#

Had to change a few of the run scripts

#

But it's so nice being able to run IJ on my 3GB laptop

quiet depot
#

load the depending project in your own class loader implementation, you should then be able to call the addURL method in URLClassLoader

old wyvern
#

Already have that option

quiet depot
#

what purpose would an alternative serve

old wyvern
#

Both are provided for users who want to use it

quiet depot
#

I think the only way is to get the user to pass the jvm arg to disable security

old wyvern
#

Already have a way with bytebuddy, but it seems to have issues on specific hosts when they rename their jdk installation

lunar cypress
quiet depot
#

on another note po3 is now setup with skyblock on hc dedi

old wyvern
#

Will you be adding others to it?

quiet depot
#

yes

#

if people want to join

old wyvern
#

Can I join?

quiet depot
#

they can

#

yes

old wyvern
#

oh, you said it was whitelisted

quiet depot
#

whats ur username

old wyvern
#

Vshnv

quiet depot
#

i will add you

old wyvern
#

Alrighty

quiet depot
old wyvern
quiet depot
#

instructionsin pinned

old wyvern
#

Alrighty

quiet depot
#

make an issue

old wyvern
#

Alrighty

boreal needle
#

whats po3

cinder flare
#

Project ozone 3, the server modpack

boreal needle
#

oh theres a server?

quiet depot
#

yes

boreal needle
#

can i join?

quiet depot
#

yes

boreal needle
#

:D

quiet depot
half harness
#

is it 1.8 fingerguns /s

quiet depot
#

no

#

1.12

half harness
#

oh

#

i thought it was 1.15 or something like that

quiet depot
#

it's modded

old wyvern
#

ok yea, UrlClasspath, doesnt seem to work even if I use it directly without reflection targeting 16

#

Time to try more unsafe hacks

quiet depot
#

that actually explains a lot

#

I did a bit of experimentation with the urlclassloader internals, including urlclasspath, attempting to remove items from the classpath at runtime

#

even when there were no traces of a class in the urlclassloader (or any of it's sub elements), for some reason the class persisted in memory

#

I just assumed something native was holding onto it

jovial warren
#

you're running a PO3 server? nice

old wyvern
#

ah

jovial warren
#

never actually played PO3, heard it's pretty involved

cinder flare
#

Cause I've only ever seen GPL cause problems

old wyvern
#

Other classes could be holding instances of the class

cinder flare
#

That's the whole reason LLVM exists lmao

quiet depot
#

wat

old wyvern
#

Any of the classes loaded from that classloader could still have references in some other class

cinder flare
#

Ya originally LLVM was gonna be part of GCC but then they turned it down cause they wanted a broader license so that corporations and stuff could use it, and now that's why LLVM has become so good and used

obtuse gale
#

1.17.1 pre-1 kek

frail glade
#

The stuff changed is actually huge.

#

They moved skull texture setting off the main thread.

#

Which is like... pretty big.

obtuse gale
#

async Minecraft soon™️

distant sun
#

It took only 9 years, thats good

prisma wave
half harness
cinder flare
obtuse gale
old wyvern
#

Holy shit

#

I think it worked

prisma wave
cinder flare
#

Aw that's cool

half harness
#

uhh so for my little game, I have it so that you can navigate your circle around the screen, and the enemy circle (a bot) has to try catching you.
However, I want to make it multiplayer... but a couple factors like window sizes make it really difficult.
Any suggestions?

#

Already tried making it multiplayer but then gave up and removed it :/

old wyvern
#

@quiet depot I got it to work, had to fetch the internal path field and add to that

quiet depot
#

try remove stuff

old wyvern
#

One sec

#

I have a feeling something is going to crash xD

#

Hmm, removing the URL itself doesnt seem to change it, lemme try clearing the remaining two fields as well

obtuse gale
#

What the hell are you trying to hack lol

old wyvern
#

Originally wanted to append urls to a classloader, now trying to clear all urls from the classloader 🌞

obtuse gale
#

Lol

old wyvern
#

cleared all 4 List/Map ones

#

Only 2 left are for the closed flag and some other thing for the loader

quiet depot
#

nice

#

so yeah idk

#

i never figured it out

jovial warren
obtuse gale
#

Hm?

jovial warren
#

there's quite a bit of proprietary derived code in Krypton, some of which I don't even know where to start with replacing

#

look at that table

obtuse gale
#

LMAO

#

Good luck xD

jovial warren
#

I actually don't know what to do

#

most of that is copied because I either couldn't think of a better idea or couldn't think of my own solution

prisma wave
#

Uses GPL license to stop people from stealing code

18th June "velocity" incident

:smiling_face_with_tear:

jovial warren
#

oh btw, you know the code that astei pointed out that's copied from Mojang? guess who wrote that code BM

prisma wave
#

Which one

jovial warren
#

the reading of strings

prisma wave
#

There was a lot afaik

#

Pretty sure I copied that from wiki.vg

#

It's like 2 lines anyway

jovial warren
#

more like about 10 or 12 lines

prisma wave
#

Oh nvm

#

well

#

I am no longer a contributor so I cannot take any responsibility for this

#

In fact there's no proof that commit was even done by me, as it's not signed!

jovial warren
#

yes you are lol

prisma wave
#

Krypton SCUM trying to FRAME and DISCREDIT me

jovial warren
#

wat

#

you're the one trying to discredit yourself here, genius

prisma wave
#

No proof

jovial warren
#

yes you did

#

it's clearly on the Git log

#

I did not come up the thames on a bike mate

cinder flare
#

BM hurry, git-replace-branch your way out of there

jovial warren
#

he can't push to the repo lol

cinder flare
#

not yet 😉

prisma wave
#

It wasn't me

#

You can't prove it was

jovial warren
#

lol

cinder flare
jovial warren
#

extra r in occurrences

cinder flare
#

oh my god I literally went letter by letter and I didn't see that

jovial warren
#

lol

half harness
#

lol

timber oak
#

Any way to actually use credential-cache?

eternal compass
#

I made something that works, are y'all proud of me? ;p

#

(and isn't all one file)

winter iron
#

One file is the way to go

#

Saves storage

#

No need for extra unwanted file headers

#

Taking up a few bytes

obtuse gale
#

is there a way i can block my server's ports so i still have a bungeecord server right but, you can only join with proxy
? someone bypassed whitetlistx with a python script

cinder flare
#

wait wait, don't even use classes! then you don't have to worry about silly stuff like dependency injection and static getters

#

everything is just there!

prisma wave
#

Don't use classes 😌

#

Very sound advice

cinder flare
#

haha

#

im motivated, I'm gonna learn Scala this weekend

#

it's gonna happen

prisma wave
#

😌

obtuse gale
cinder flare
prisma wave
#

This ain't a support channel

obtuse gale
#

oh

thick patrol
cinder flare
#

Could be a legacy message

#

Looks like 1.6 might allow you to send the server version as text instead of numbers

ocean quartz
thick patrol
#

oh sick, thanks

obtuse gale
#

KennyTV

#

Protocol dude

cinder flare
#

mmm on github too

#

man I love FOSS

ocean quartz
#

Mr television

obtuse gale
cinder flare
#

bet his domain is kenny.tv smiling_face_with_3_tears

cinder flare
obtuse gale
#

😌 😔

eternal compass
cinder flare
#

you can still use it

#

just says it won't work

eternal compass
#

and then the version is set to whatever

cinder flare
#

The server should respond with a Response packet. Note that Notchian servers will for unknown reasons wait to receive the following Ping packet for 30 seconds before timing out and sending Response. wait is this why it takes so long for servers to show their MOTD

distant sun
cinder flare
#

i don't see what's wrong with that

#

the f is part of the string

distant sun
#

f means format

cinder flare
#

yes I know

#

it's a format string

ocean quartz
#

Try a different theme

#

Like Atom one dark 😌

distant sun
#

die

ocean quartz
#

With pleasure

distant sun
#

glad to hear

cinder flare
#

or use Matt's material theme colors

#

they looked pretty good to me when I was using pycharm

ocean quartz
#

Ofc it does 😌

cinder flare
#

though make sure to change the font size 😉

#

I have my own version of it in my dotfiles repo lmao

ocean quartz
#

Or do what I do and toggle this setting

cinder flare
#

ew no

#

it needs to be consistent

#

By default, most Linux distros come preinstalled with the easy to use iptables. easy to use clownroll

distant sun
#

it is probably just a typo

static zealot
cinder flare
#

cause then I'll lose my perfect number and it'll trigger me

#

same with like chair height or blanket orientation lmao

static zealot
#

I actually used to be exactly the same with IJ. I wanted that perfect number (which I Think was 12 or 13) but then I realised there's times I just want to see it better

cinder flare
#

hmm I see

#

I usually don't have a hard time with stuff, and it being too big makes me claustrophobic and makes it harder for me to parse the language

ocean quartz
cinder flare
#

ah okay

#

if i need to see I usually just use presentation mode lmao

humble silo
cinder flare
#

it's ktor

humble silo
#

Lol... the file

cinder flare
#

oh didn't realize that was a specific link lmao

humble silo
#

Np

cinder flare
#

that looks like the jetty api

humble silo
#

Well its in bytecode, and whats a .api file type? Is that a kotlin thing?

cinder flare
#

I have no clue, probably just a custom file they parse as KT

prisma wave
#

yeah that's definitely a kotlin thing

#

not entirely sure what it's for

#

but it probably helps the compiler or something

humble silo
#

Any reason why they would do that then?

#

Huh

#

I have found anything about it googling unfortunately

ocean quartz
#

Probably some binary compatibility thing for multi platform

humble silo
#

It doesn't have anything special in it though besides not being abstract or a interface and not implementing its methods

#

This is weird, it definitely isn't Java bytecode

ocean quartz
#

Yeah i'm assuming it's something for compatibility with Native, IOS, etc

ocean quartz
humble silo
#

What do androids run when you are writing a app in kotlin then?

cinder flare
#

it compiles the Kotlin to JVM

#

but Ktor also works on other things than android

ocean quartz
#

Iirc android has its own vm
But Kotlin also "compiles to" swift, and native

cinder flare
#

mmm swift

humble silo
#

Android runs Java then?

cinder flare
#

yes there was a whole lawsuit about it

prisma wave
#

swift is kotlin but good

#

uses let 😌

cinder flare
#

friendship with objective-c ended, now swift is my best friend

humble silo
#

I thought it only compiled to js and Java, weird

cinder flare
#

it just feels so good

cinder flare
#

every update thing I read is about it

humble silo
#

Lol no I have just didn't really know anything about it

ocean quartz
#

Kotlin multiplatform has all sorts of things, but made mainly so you can run on PC, android, and ios without changing anything

humble silo
#

Pc like Mac and windows? Dang

ocean quartz
#

Yeah

humble silo
#

Oh wow, I am totally doing that instead of using cpp and opengl lol

cinder flare
#

man I want to make a compiler

ocean quartz
#

Ktor is great 😌

humble silo
#

Wow way too much work

cinder flare
humble silo
#

Eh, I rather take the multiplatform one lol

#

Also I really don't know cpp at all

#

And it seems like a pain to learn

cinder flare
#

true it is

#

it unlocks great power though tbh

#

i guess I'm biased since I want to be a systems developer lol

humble silo
#

As a skill in general?

humble silo
cinder flare
humble silo
#

Sure I guess so, but besides all the memory stuff what else is there?

cinder flare
#

I mean everything

#

higher-level languages use pointers they just don't let you do arithmetic on them

#

learning how compilers work, how the JVM works, how memory management works

#

all cool stuff to know

ocean quartz
cinder flare
#

my brain 🙂

ocean quartz
#

Sounds horrible xD

humble silo
ocean quartz
#

Though very challenging

cinder flare
#

my dream is to do Rust full-time

#

but I'm also vibin with maintaining C/C++ 🙂

humble silo
#

I'm pretty sure I would kill someone after a week, you do you though.... lol

cinder flare
#

I also am just super interested in how stuff works though

#

like I wanna make my own language and compiler, that's some crazy shit

humble silo
#

Lol well I would be happy to try it out if you did make one

ocean quartz
#

I wanna do game dev, i wish i could do it in Kotlin, but C# is good enough

cinder flare
#

I don't think I have enough knowledge yet, I'm waiting until I take like Fundamentals of Computation Theory and similar at uni

humble silo
#

On other things its the last day of school! I kinda thought this year wasn't gonna end lol

cinder flare
#

But I am hoping to contribute to Elara 🙂

ocean quartz
#

Though Unreal 5 is looking very tempting

cinder flare
humble silo
#

Dang, when does it start up again?

cinder flare
#

Early september

humble silo
#

Wow so what have you been doing with yourself?

cinder flare
#

well tbh not much, but I did just get a job programming at my uni for the next 3 years

humble silo
#

Nice! Are you excited for it or was it just the only thing you could get?

cinder flare
#

oh I am hyped for it

#

I work on the school's entire systems

cinder flare
#

everything that my uni has a website for, i work on it

static zealot
cinder flare
humble silo
cinder flare
#

mainly django

#

but we also do stuff with banner

humble silo
#

Ew python

#

Lol sorry I'm biased

cinder flare
#

oh no I agree

humble silo
#

Never heard of banner

cinder flare
#

but it's whatever, graduating with 3 years of real on-the-job development experience is very worth working with python

#

Banner is like the classic business suite of applications for all the schools in my state

#

so it does like financial stuff, student management, payroll, hr, and something else

humble silo
#

Oh wow, so what would you be working on if you don't mind me asking?

cinder flare
#

i'm honestly not sure currently, I just started like yesterday basically

#

but I think primarily the main portal for our university

humble silo
#

Oh alright, well it sounds interesting to say the least! Lol

#

God typing on mobile is impossible

cinder flare
#

oh yeah I am so hyped for my future career prospects after this

#

most people get like 1, maybe 2 summer internships

#

3 years for me

humble silo
#

Totally crazy! So you just finished your first year then?

cinder flare
#

Yea it was pretty boring ngl

#

but I think I got most of the easy prerequisites out of the way, so the next two semesters will be very good I feel

humble silo
#

It was the eays classes that were boring then? Like intro to comp sci or something?

#

Easy*

cinder flare
#

yeah CS 1400 and 1410, Intro to Java and Object-Oriented Programming lol

#

even DS&A was too easy imo

humble silo
#

Intro to Java was a prerequisite???? For what?

cinder flare
#

for everything in CS

#

my uni uses Java for all programming-related CS courses

humble silo
#

Oh wow that socks lol

cinder flare
#

python for the data science shit

humble silo
#

Sucks*

cinder flare
#

I don't think it's that bad

humble silo
#

Python or data science?

cinder flare
#

uh neither

humble silo
#

Ok gtg lol

cinder flare
#

using java

#

oh lol

humble silo
#

Oh lol, alright see ya

old wyvern
# humble silo Android runs Java then?

Android isnt exactly a jvm afaik, you can just compile jvm bytecode to android runtime bytecode. The lawsuit was because it shades in java sdk packages sometimes

#

the jvm is stack based, android runtime works at register level

cinder flare
#

turns out I'm a genius guys

old wyvern
#

lol

cinder flare
#

out of 1.2M people who took this, I knew java better than 95% of them

onyx loom
#

smh i expected better

#

100%

cinder flare
#

dude it was so weird

#

half of the questions were essentially how does array indexing work and the other half were like complicated string combinations and shit

old wyvern
#

Have you tried the pluralsight one?

ocean quartz
cinder flare
#

I have not, though I do get free pluralsight from my job

cinder flare
old wyvern
#

You dont need any of the packages to take the tests

ocean quartz
#

Oh lmao

cinder flare
#

oh dang really

old wyvern
#

the skill tests are open to anyone

#

2 attempts every month or something

#

@ocean quartz Does mf-gui use JavaPlugin#getProvidingPlugin?

ocean quartz
#

Yeah

#

In two places

old wyvern
#

😬

ocean quartz
#

Why? ;o

old wyvern
#

It breaks when loaded onto a diff classloader

#

Check the latest issue on slimjar

cinder flare
old wyvern
#

It should be fine from the next release I guess tbh

cinder flare
#

I did not know what I was doing

#

I am impressed I got top 30%

old wyvern
#

Found a way to load into any urlclassloader even on 16

#

But it uses unsafe 🥲

ocean quartz
#

Why tf is he even slimjaring mf-gui, it's 60kb lol

old wyvern
#

No idea xD

#

He has a library witten that combines many libraries or something, idk

cinder flare
#

y'all are over here being super smart and talking about classloaders and shit

#

meanwhile I barely score 70% on my linux test on linkedin 🥲

old wyvern
#

lol

ocean quartz
#

I'll reply in the issue 😩

steel heart
#

got a feeling it will gonna break many libs then

cinder flare
#

crankin it out bois

old wyvern
#

Probably not

steel heart
#

I mean I have seen tons of libs depending on JavaPlugin::getProvidingPlugin

static zealot
cinder flare
#

LinkedIn skill assessments

#

I guess to prove to employers that you know what you're doing?

#

I did the Java, Linux, and Git ones lol

static zealot
#

oh Ic

#

I don't think I have a linkedin account

cinder flare
#

well there's your first problem

static zealot
#

tho I said a few months ago I'd make one

cinder flare
#

you set that bad boy up right and it autogenerates a resume for you

#

very useful!

static zealot
#

why the fuck does Krita open a .csv file?

#

by default

cinder flare
#

I think you can store vector images as .csvs

static zealot
#

Ic

#

I should've converted this to a .xlsx

#

idk if libre calc can do that

cinder flare
#

yea that's the excel format

static zealot
#

I Don't remember why it even is a .csv

#

but it is

#

and Excel used to ask me to convert but I refuesd xD

#

refused*

cinder flare
#

bro wtf it's only 2pm

#

i hate waking up early

static zealot
#

23;11

#

lmao

#

waking up early

cinder flare
#

yeah I woke up at 6am

#

the day is dragging on

static zealot
#

wtf.. their security check is broken

#

can't even make an account xD

obtuse gale
#

Ghee

cinder flare
#

woah there's another timezone to the right of EST

#

i didn't even consider th at

obtuse gale
#

Surprisingly enough

#

Yes

static zealot
#

yeah its fucking broken. welp fuck. time to wait another 5 months until someone will remind me to make an account

obtuse gale
#

Time zones suck and we should all use UTC

cinder flare
#

well no they don't

#

the whole point is that the day makes sense everywhere

static zealot
#

oh yeah

#

instead of asking what time it is

#

you ask how much sun is outside

#

or where's the sun on the sky at this time for you? xD

obtuse gale
#

but if you say "I'm free from hh:mm" it will be the same everywhere and I don't have to calculate time zones and shit (DST jfc) to know what time is it here

winged oyster
#

Daylight savings 🤢

obtuse gale
#

The mere fact that daylight savings time exists proves how time zones are bad at being time zones

#

Why the fuck

cinder flare
#

okay daylight savings time is fucked up I'll agree

#

but timezones are good

obtuse gale
#

Entirely unrelated to the sun positioning

winged oyster
#

China has a system in place where the whole country operates on the same timezone, and it works out well for them (i think)

obtuse gale
#

Basically unlinking the two

cinder flare
#

I konw

static zealot
#

but then how tf am I suppose to know if someone's sleeping or not rn?

cinder flare
#

but the afternoon is still a thing

#

I'm saying it won't be early morning at 4 am

#

which would be weird and not right

obtuse gale
static zealot
#

smiling_face_with_3_tears  

obtuse gale
#

So you just check "oh hey it's 7, they be sleeping"

cinder flare
obtuse gale
#

Anywhere you are

obtuse gale
#

We already do that

cinder flare
#

so you won't inherently know

static zealot
#

emilyy I wouldn't want to live in a world ruled by you

cinder flare
#

yes but I know that people generally sleep at night time in their respective timezones

#

so if I know blitz' timezone, I know generally when he'll be asleep

obtuse gale
#

Or he can state "I sleep from this to that hour" and it's an absolute value

#

Regardless of where you are and if the sun's position in the sky you know he sleeps from "this" to "that"

cinder flare
#

but who cares

static zealot
#

nah man.

cinder flare
#

time should reference the sun's position

#

that's what makes sense

static zealot
#

yes I Do sleep during the day sometimes when I break my sleeping habit but I Wouldn't want to sleep during the day and work during the night

#

forever

#

so nah

#

no thanks

obtuse gale
cinder flare
#

well for normal people they do

#

and they provide a good framework for the day

#

it's only if I'm on here talking to people from across the world that I even care about other times

obtuse gale
#

How does the time zone let you assume if they sleep during the day or not?

cinder flare
#

but I would be very annoyed if my time shifted 7 hours

obtuse gale
#

Exactly what I said

#

It doesn't

cinder flare
#

I'm saying for normal people who sleep during the night, it lets you predict when they're sleeping

#

which your weird system doesn't let you do without someone explicitly telling you their universal sleeping time

#

also my last few messages are the most important points

obtuse gale
cinder flare
#

Well it's not

obtuse gale
#

But you know cavemen didn't know any better

cinder flare
#

And I still think it would be

#

it's human instinct to be awake during the day

#

and that's why a bunch of people independently invented their scale of time to conform to that

static zealot
#

emilyy at this point I can't even tell if you're trolling or not

cinder flare
#

then timezones were standardized to ensure consistency