#dev-general

1 messages · Page 241 of 1

static zealot
#

glad I switched from whatever I was using

ocean quartz
#

For normal prints i still use Lightshot, because its screenshot editing is better than sharex, but everything else sharex wins

static zealot
#

maybe. I don't need to edit tho. And I love that it can post directly to my imgur

#

same with gifs

prisma wave
#

self hosted >

obtuse gale
steel heart
#

<<<<<

old wyvern
#

<>

obtuse gale
#

<

old wyvern
#

<<>>

obtuse gale
#

o>

old wyvern
#

<!-->

obtuse gale
#

\o>

ocean quartz
old wyvern
#

<o/

obtuse gale
#

|<o>|

old wyvern
#

{>o<}

steel heart
#

[ <?) . <?) ]

old wyvern
#

{[[-][-]]}
{\------/}

static zealot
steel heart
#

(⌐□_□)–︻╦╤─

ocean quartz
#

Just get one

old wyvern
#

(╯°□°)╯︵ ┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

prisma wave
#

ez

lavish notch
steel heart
#

┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻

ocean quartz
#

Also can yall like, not spam? xD

lavish notch
ocean quartz
#

Yes

forest pecan
#

auto updating is not that hard

#

the keys are still there

hot hull
#

auto updating is fucking disgusting

forest pecan
#

its disgusting agreed

#

but it isnt super hard or anything

#

unless you are renaming keys

ocean quartz
#

Why is it disgusting?

forest pecan
#

in that case it would be nasty

#

renaming keys would be horrible

#

but adding or removing

#

is ez

hot hull
#

Ah yes let me update the plugin, I wasn't aware there was additions, the default thing happens to have OP shit set as default, woops lookie now entire eco fucked

lavish notch
hot hull
#

You get what I'm trynna say?

ocean quartz
lavish notch
#

I'd want it to automatically add it for the user.

ocean quartz
steel heart
#

ᕕ(╭ರ╭ ͟ʖ╮•́)⊃¤=(————-

hot hull
#

let me give a better example, let's take AutoSell for example, you update the plugin and it has an auto updating config which adds a new sell feature let's say, the default has a default value for that feature set which happens to be some OP value in the point of view from your servers economy. Let's say you weren't aware of that and just load up the plugin without changing the config at all, you go on with your day, now the users figure out that feature and they get a shit ton of eco breaking stuff because that was the plugins default, meaning now the eco is broken because the plugin auto updated the config

#

Really don't know how else to explain it lol

forest pecan
#

well that isnt really the dev's fault

#

unless the dev purposely adds a feature

#

where the plugin ALWAYS autoupdates

#

when a new download

ocean quartz
#

That has nothing to do with being auto updating, that's the dev's job to make sure it'll be implemented safely into their system
And also the server owner's job to read updates

forest pecan
#

without the server owner's job

hot hull
#

But it's minecraft, noone fucking reads update notes lmao

forest pecan
#

their fault

#

lmfao

hot hull
#

Y'all thinking of a perfect scenario

forest pecan
#

their consequence

#

xD

ocean quartz
#

That's their fault lol

forest pecan
#

Yeah life isnt fair

hot hull
#

y'all stoopid

forest pecan
#

no u

#

u stoppid

hot hull
#

The heck tho

java.lang.UnsupportedOperationException: Retrieving groups by name is not supported on this platform.
at kotlin.internal.PlatformImplementations.getMatchResultNamedGroup(PlatformImplementations.kt:29) ~[?:?]
at kotlin.text.MatcherMatchResult$groups$1.get(Regex.kt:288) ~[?:?]
at kotlin.text.jdk8.RegexExtensionsJDK8Kt.get(RegexExtensions.kt:34) ~[?:?]
at com.github.frcsty.frozenactions.wrapper.ActionHandler.execute(ActionHandler.kt:62) ~[?:?]
prisma wave
#

let config = ConfigKey("setting.name")

print(config.get(String))

prisma wave
#

elara standard library

ocean quartz
#

And does it include PDM?

prisma wave
#

somewhere yes

#

near the bottom

ocean quartz
#

😢

forest pecan
#

bruh where elara lang

#

inside that

prisma wave
#

#1

old wyvern
#
let minecraft = Minecraft()
run(minecraft)
forest pecan
#

numbers supposed to start at #0

#

you arent a programmer

#

smh ikr

prisma wave
old wyvern
#

precisely

prisma wave
#

type Entity = Player | Zombie | Creeper | Cow | Enderman | ArmorStand | Skeleton

old wyvern
#

exquisite

prisma wave
#

Minecraft in elara

forest pecan
#

type Object = $

#
public class $ {
}
prisma wave
#

type OptionalInt = Optional<T> where T = Int

steel heart
#

u want to get bamboozled also?

#

stop then

#

@prisma wave is UUID.randomUuid() or what its called heavy?

prisma wave
#

not that I know of

ocean quartz
steel heart
#

ii

#

oo

#

nice

ocean quartz
#

Generating 10000 uuids took 193ms

prisma wave
#

interesting, I wonder how it makes sure they're actually unique then

forest pecan
#

this better babe?

#

😊

#

Lol

prisma wave
#

private volatile final static synchronized class A$B

ocean quartz
#

An average of 13.73μs per uuid
Does it make sure it's unique? I thought it didn't

prisma wave
#

Idk

#

I thought that was the point

#

randomUUID is always unique

#

Maybe it's just so big that it's pretty much impossible to get a duplicate

obtuse gale
#

Supposedly

prisma wave
#

yea

#

Supposedly

ocean quartz
#

Since a UUID has a finite size there is no way for it to be unique across all of space and time.
If you need a UUID that is guaranteed to be unique within any reasonable use case you can use Log4j 2's Uuid.getTimeBasedUuid(). It is guaranteed to be unique for about 8,900 years so long as you generate less than 10,000 UUIDs per millisecond.

obtuse gale
#

Run it for long enough and it is no longer unique

prisma wave
#

The media will tell you that it's unique, but that's what they want you to think

forest pecan
#

wait

obtuse gale
forest pecan
#

what is transient

prisma wave
#

doesn't get serialized

forest pecan
#

how come i never seen this before

#
transient
#

im so confused

#

i never seen this keyword before

obtuse gale
#

If the class implements Serializable, that object is not taken into consideration

prisma wave
#

No idea why they made that a keyword

#

Actually I do know

#

Because annotations didn't exist

ocean quartz
prisma wave
#

just use a Set and check the size

#

Smh

#

No more for any O(n) operations

ocean quartz
#

Not as fun

#

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space lmao

prisma wave
#

smh

#

I'm sure a HashSet could do it in 2MB of ram

#

Or less !!

ocean quartz
#

Alright i am gonna do a set 🙄

surreal quarry
#

you cqan use underscores for numbers like that?

ocean quartz
#

Yeah

#

@prisma wave With a set lmao Java heap space

prisma wave
#

😔

#

You're probably doing it wrong

ocean quartz
#

I guess jvm can't do it, i bet Elara could 😔

prisma wave
#

obviously

obtuse gale
old wyvern
#

The universe was written in elara

prisma wave
#
[1..100_000_000].map(_ => UUID::randomUUID()).distinct().size == 100_000_000
old wyvern
#

its fits everything

hot hull
#

insert aham joke

prisma wave
#

hmm that is not idiomatic

ocean quartz
prisma wave
#
import elara/uuid

[1..100_000_000].mapDistinct(_ => randomUUID()).size == 100_000_000 
#
import elara/uuid

let uuids = generateSet(100_000_000, _ => randomUUID())

uuids.size == 100_000_000
old wyvern
#
import elara/uuid
buildSet(100_000_000, randomUUID).size == 100_000_000
ocean quartz
#

Giving IJ 6GB now

surreal quarry
#

25mil didn't give any repeats

ocean quartz
#

Also removing the toString, might help too

old wyvern
prisma wave
#

I wonder what the actually most efficient way of doing it is

surreal quarry
#

sounds like we wont get a duplicate

#

lmao

prisma wave
#

checking for duplicates that is

#

You could short circuit the loop after encountering a duplicate

ocean quartz
obtuse gale
#

Yeah but give it a boundary lmao

surreal quarry
#

still doesn't fix the problem of actually getting through enough iterations to find a uuid

ocean quartz
old wyvern
#

A trie is probably more efficient

#

not sure

ocean quartz
#

Time for 1 billion

prisma wave
#

Encoded as a long or string

ocean quartz
#

Huh?

old wyvern
#

its not off topic tho?

#

oh you boosted

ocean quartz
#

This channel is literally off topic xD

surreal quarry
prisma wave
#

Yeah a Trie would definitely be better

old wyvern
#

mhm

#

only store the diff chars

prisma wave
#

elara standard library had better have one

old wyvern
#

deff

ocean quartz
#

You can't break on a repeat that's sad

old wyvern
#

Btw

#

Android will make people hate google

#

The limitations on that shit

#

god

#

and each manufacturer adds their own limitations

#

ffs

prisma wave
ocean quartz
#

Yeah that's what i did instead

#

Giving it 12GB of ram now

old wyvern
ocean quartz
#

You can also return@repeat

old wyvern
#

try with that matt

#

or this

ocean quartz
#

Let me try this way first then i'll do the trie

old wyvern
#

Alrighty

ocean quartz
prisma wave
#

parallelStream it

surreal quarry
#

!=

obtuse gale
#

Not equals

prisma wave
#

!=

#

Font ligatures

obtuse gale
#

prisma wave
#

makes them look like mathematical symbols

#

Or just nicer in general

obtuse gale
surreal quarry
#

masks save lives

#

pog

obtuse gale
#

Nice lol

ocean quartz
surreal quarry
#

F

prisma wave
#

rip

#

trie

ocean quartz
#

Would trie use less memory?

prisma wave
#

probably

#

definitely

#

well almost definitely

obtuse gale
#

What is a trie and why have I never heard of such thing thonk

prisma wave
#

like a tree but it's done by characters

#

So for example

| h
|    i
|    ello
|            world
#

They all fall under the H branch because they start with an h

#

And then partitioned off into substrings

obtuse gale
#

More like a "command" in a sense

ocean quartz
#

Learn it

obtuse gale
#

I came out of the womb writing in brainfuck already

#

True story

old wyvern
#

it should map out to nodes as needed

#

new nodes are only created for new characters

#

Havent checked if that specific implementation is correct, was just the first one from a quick search, but hopefully it is

#

Gaurav Sen has a yt video that explains the structure well

half harness
#

funny how everyone in this server uses intellij while everyone in codedred uses eclipse 😂

#

interesting

onyx loom
#

the difference between the two servers intelligence is immeasurable

surreal quarry
#

imagine using eclipse

#

in 2020

#

lmao

forest pecan
#

?paste

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
HelpChat Paste - Usage
Hastebin

half harness
#

?

forest pecan
hazy widget
#

I'm kinda new to java and i just using a tutorial but this doesn't work

hazy widget
#

.getAttribute

#

Ow

half harness
#

for support

hazy widget
#

Ok

half harness
#

this is just dev chat

forest pecan
surreal quarry
obtuse gale
#

aaah

#

so you decoded

#

then you GAY

surreal quarry
#

👀

forest pecan
#

yes

#

he gay

surreal quarry
obtuse gale
surreal quarry
#

shhh

#

he dont know it makes him gay

obtuse gale
#

<url> ;)

forest pecan
#

too bad i got an ad

#

when ads save you right before

#

😊

surreal quarry
#

imagine not having adblocker

#

L

forest pecan
#

Lol

half harness
#

i havent seen a yt ad in months due to an awesome adblocker

#

:DDDDDD

surreal quarry
#

i havent seen an ad in years

#

built: different

half harness
#

opinion on technovision?

#
+ uses IntelliJ
+ uses java conventions
+ uses multiple classes and packages
- doesn't use gradle or maven
forest pecan
#

uh

#

you dont watch that

half harness
#

lol

forest pecan
#

you better dont

#

lmfao

half harness
#

im just seeing

#

bc of the other guy

surreal quarry
#

why is this man checking the command name when hes doing the command in a separate class

half harness
#

mentioned technovision

forest pecan
#

Oh lol

half harness
#

¯_(ツ)_/¯

forest pecan
#

#bot-commands message

surreal quarry
#

lol

#

also why is he not using ChatColor#translateAlternateColorCodes

#

and hes not using gradle or maven

#

smh

half harness
#

i barely ever use translatealternativecolorcodes tbh

surreal quarry
#

that doesn't mean its good to not use it

#

just make a chat util

half harness
#

i only know codes for a, b, c, r, l, 6, and k

onyx loom
#

"" + ChatColor.GOLD + "" 🙂

surreal quarry
#

just google

#

the codes

half harness
#

and dont feel like opening up a webpage

#

just for 1 color code

#

when I can just do ChatColor.RED

surreal quarry
#

you would learn them after like a day

half harness
#

a = red

surreal quarry
#

nope

half harness
#

oops

#

ye

#

a = green

surreal quarry
#

ea

half harness
#

b = blue

#

(lighwhy aren'tm y messages senfing

#

oops

#

my typing sucks when i cantsee what i type

#

c = red

#

d = idk

#

f = white i think?

#

r = reset

#

l = bold

onyx loom
#

d pink

half harness
#

k = obfhhucate

onyx loom
#

1.16 hex colours 🙂

half harness
#

6 = gold iirc

#

thats all i know

surreal quarry
#

you should use translateAlternateColorCodes

#

you would learn them in like a day

half harness
#

oh and 4 = dark red

#

2 im assuming is dark green

#

and 3 im assuming is dark blue

#

and idk what 1 is

onyx loom
#

1 is dark blue

half harness
#

oh

#

oops

#

lol

surreal quarry
#

3 is like teal

#

there you go

half harness
#

because I've used that site so many times

#

also trasnalteAlternativeColorCodes is so longgggggggggggggggggggggggggggggggggggggggggggggg

onyx loom
#

just make a chat util

half harness
#

¯_(ツ)_/¯

#

woah they call gold dark yellow

#

that looks like orange to me

#

¯_(ツ)_/¯

surreal quarry
#

just use kotlin

#

and extension functions

half harness
#

; - ;

onyx loom
#

it is far more easier to read a color method rather than ChatColor enums

half harness
#

im too lazy to open up a webpage

obtuse gale
surreal quarry
#

no

#

.

obtuse gale
#

why not

half harness
#

wuts so bad about that

#

😬

#

?

obtuse gale
#

what the fuck is that

ocean quartz
#

That entire class

obtuse gale
#

matt

#

delete that

#

please

#

I BEG YOU

ocean quartz
#

The youtuber he sent

obtuse gale
#

MY EYES

#

NOOO

half harness
#

WHAT

#

WHAT IS SO BAD ABOUT THAT_ _

surreal quarry
#

be better

half harness
#

it looks nice

obtuse gale
#

no it does not wtf

half harness
#

unless

#

ur talking about static..?

#

but

#

other than that

#

i cant find anything bad about it

surreal quarry
#

why is there an init method

#

please

ocean quartz
#

"Other than that"?

#

Lol

half harness
ocean quartz
#

It's like dating a guy, other the the fact that it's a dude it's fine

half harness
#

i thought thats just something that u guys know bc im nub

surreal quarry
obtuse gale
#

static, public, non final, there is an init method that immediately calls another private method (making it sorta useless lol)

onyx loom
#

its 2020 kappa

ocean quartz
#

Exactly

half harness
#

ack anyone know how to prevent discord from freezing

#

on a 1.1 ghz cpu

onyx loom
#

no?

half harness
#

😦

onyx loom
#

dont have a 1.1ghz cpu lmao

half harness
#

im literally typing without seeing

onyx loom
#

what time are u living in? 2001?

half harness
#

and my messages are sometimes delayed

#

lol

surreal quarry
#

get a new cpu

half harness
#

hey at least i have windows 10 pro fingerguns

#

idk y

surreal quarry
#

why

#

linux is free smh

half harness
#

but 99% of apps run on windows

forest pecan
#

i use windows

#

and i code on windows, mac

#

sometimes linux

#

i just use windows cause i play video games as well

surreal quarry
#

dual boot. code on linux, play games on windows

forest pecan
#

and its easier to open video games in windows

surreal quarry
#

but i dont pay for windows lmao

forest pecan
#

i got it for free

#

you dont have to pay

#

you know you can just download it

#

lmfao

half harness
#

what is dual booting

obtuse gale
#

you have two feet

half harness
#

like having two operating systems running at the same time?

obtuse gale
#

then

#

you have two boots

#

dual booting

surreal quarry
#

when i start my pc i decide if i want to boot linux or windows

half harness
#

two OSs running at same time = my computer dies

forest pecan
#

@obtuse gale

surreal quarry
#

not at the same time

#

one or the other

half harness
#

but then im never gonna use linux

obtuse gale
#

lol not running at the same time

half harness
#

y use linux

obtuse gale
forest pecan
#

fast

obtuse gale
#

I am going to marry your daughter

forest pecan
#

for coding

half harness
#

oh

obtuse gale
#

when she is 25

#

and I'm like 57

onyx loom
#

no memory hog

forest pecan
#

lol

half harness
#

rip my 4gb memory

obtuse gale
#

:3

forest pecan
#

too bad

#

what if i have a son

#

:d

half harness
#

i have a different pc with 3.1 ghz cpu and 8gb memory

ocean quartz
obtuse gale
half harness
#

but im too lazy to use that one

#

and im on laptop right now

obtuse gale
#

you know me pulse

#

lol

forest pecan
#

oasjfipsajf

forest pecan
#

wdym

#

tests if you can hear all ranges

#

ya know

ocean quartz
#

Makes me wish i didn't

half harness
#

👂

forest pecan
#

its good for u

surreal quarry
static zealot
#

anyone can answer this? ^ please. thanks. k. have. great. day. night. here.

forest pecan
#

so this was the problem i got stuck on for the usaco contest on the weekend

#

benjamin qi is a famous person who won 2 ioi's internationals first place each

#

but look on line 206

static zealot
#

oh no

forest pecan
#

i dont think he intended it

#

hes going to be bullied lmfao

static zealot
#

I mean cum means how in Romanian ... xD

forest pecan
#

I how

#

lol

static zealot
#

no...

#

that's not how it works

#

the translation of cum

forest pecan
#

yea obviously

static zealot
#

to english

#

is how

#

lmao

forest pecan
#

oh

#

XD

static zealot
#

cum is a romanian word as well

#

it just means "how"

#

not ... cum

forest pecan
#

well

static zealot
#

anyways good night

forest pecan
#

yeah lol

#

gn

#

wait a minute

#

its not just there

obtuse gale
#

Tf y'all talking about cum

#

Disgusting

#

> I cum
PulseBeat_02 - December 22nd 2020

forest pecan
#

@obtuse gale you have no evidence whatsoever it is me

#

that marking is a lie

#

i would not say such things

obtuse gale
#

lol

forest pecan
quick flume
#

@hot heron const decay = (a, b, c) => (a * b) / (a + c); does that actually take an input?

hot heron
#

yeah

quick flume
#

that's kinda cool

hot heron
#

you call them both the same way

#

Yeah I just realized you could do that

#

but I can't decide if I like it better or not haha

quick flume
#

i've never seen that

#

but const?

hot heron
#

Why not?

#

it's a function anyway, not like you're going to reassign it

quick flume
#

is it constructor?

hot heron
#

no, constant

quick flume
#

but it's not constant

hot heron
#

const just means it can't be reassigned

quick flume
#

hmm i suppose it is

#

just weird in my brain

#

it definitely looks cleaner

hot heron
#

I have a file with a bunch of helper math functions like this and I liked the prospect of essentially dividing my # of lines by 3

quick flume
#

basically

#

I think that if it's just 1 line in the function then why not

hot heron
#

Yeah, definitely only for one liners

quick flume
#

fs

ocean quartz
obtuse gale
#

Lmao

#

That I was not expecting

umbral mica
#

insert fuckperms here

regal gale
buoyant hatch
#

Anyone free? I need someone to review my server setup real quick. just to be clear this is not an advertisement i just need you to join and tell me what is bad and how i can improve it. the more people the better.

hot hull
#

Do I update java, or do I rewrite my lib in java, (👍 for java, 👎 for rewrite)

quiet depot
#

wat

#

do both

hot hull
#

Well my test server is on java 15, but the person who's plugin this is for is probs on 8 so..

#

I really don't want to rewrite this lib, cause it's so smexy in kotlin

quiet depot
#

then do neither

hot hull
distant sun
#

lol what

prisma wave
#

train

forest pecan
#

train

onyx loom
#

train

half harness
#

train

hot hull
onyx loom
#

ive actually never had this problem before

obtuse gale
#

^

#

I dont think ive ever updated windows tbh

hot hull
#

I'm on win 7 so I haven't had that issue as well fingerguns

onyx loom
#

yuck

hot hull
#

no u

onyx loom
#

ur basically using java 8 and 1.8 frosty

#

so outdated

#

disgusting

hot hull
#

I'm using latest

#

And java 15

normal talon
#

old school

hot hull
#

eat my ass

normal talon
onyx loom
#

uh huh

#

in terms of windows tho

#

thats a different story

half harness
normal talon
hot hull
#

No, win7 is a completelly valid thing to use

quiet depot
#

man i'd love to use java 15

#

but dcevm is 11 only D:

hot hull
#

dcevm?

quiet depot
#

can someone merge dcevm into openjdk kthx

#

dynamic code evolution virtual machine

#

or something like that

normal talon
#

isn't that ✨ impossible ✨

quiet depot
#

isn't what impossible

hot hull
#

time to clean out the projects folder, it's becoming a mess

normal talon
#

dynamic code evolution virtual machine

quiet depot
#

well it's not

#

because it exists

forest pecan
#

frosty

#

i found you

#

Yeah

#

lmfao

hot hull
#

google bahroo

half harness
#

no nitro 😦

oak moat
ocean quartz
#

God that looks so buggy

foggy pond
#

I hate C, so so much

ocean quartz
#

+1

oak raft
#

What’s up fellow developers hehehe😌😌

old wyvern
static zealot
#

=joke

compact perchBOT
#
Hey son,

What do you call cheese by itself? Provolone.

oak raft
#

U guys think I should apply for dev role

#

=joke

compact perchBOT
#
Hey son,

Some people eat light bulbs. They say it's a nice light snack.

steel heart
#

=joke

compact perchBOT
#
Hey son,

What do birds give out on Halloween? Tweets.

onyx loom
ocean quartz
#

Should I write the API of my plugin in Java or keep it in Kotlin? thonking

obtuse gale
#

Yes

ocean quartz
#

Gotcha, thank you

hot hull
#

Java Matt

ocean quartz
#

Hmm, any specific reason why?

prisma wave
#

is the entire project in kotlin?

hot heron
# quick flume fs

I did find an issue with the arrow function thing. with the function keyword it's declared globally and can be called before the line it's on. But with const/arrow function, it can only be called after that line

prisma wave
#

if so, make the api kotlin too

ocean quartz
#

It's all in Kotlin yeah

quick flume
#

makes sense, constants usually go at the top anyway right @hot heron ?

hot heron
#

It depends

#

So yeah, still not a huge issue but definitely something to consider

quick flume
#

yepp

static zealot
#

someone help me xD

#

what the hell is a nameserver/

surreal quarry
#

like for adomain?

static zealot
#

yep

surreal quarry
#

im pretty sure it represents like where its hosted or something

static zealot
#

oh

#

fuck

surreal quarry
#

your dns provider will usually set it and you dont have to worry about it

#

if you mess it up i think most hosts have a way to reset it

static zealot
#

welp then where the fuck do I point records from? lmao this panel is so trash

half harness
#

nameserver is a thing

#

for DNS

surreal quarry
#

what are you trying to do

half harness
#

nameservers just let something else control iirc

#

idk

static zealot
#

well I'm trying to point someone's subdomain panel.DOMAIN to his dedi

#

but the problem is

#

they don't have a control panel like namecheap does

half harness
#

huh?

static zealot
#

thought that maybe its something to do with nameserver

surreal quarry
#

what ive done in the past is just point * to the dedi, and handle subdomains with nginx

static zealot
#

well how the hell do I point?

#

xD

surreal quarry
#

A record

static zealot
#

yeah but how

#

like I don't know how

surreal quarry
#

1 sec

static zealot
#

on namecheap I have this panel

surreal quarry
#

lemme send a ss of my

static zealot
#

where I can do all this

surreal quarry
#

add new record

static zealot
#

but the domain

#

this guy bought

#

doesn't come with a panel

surreal quarry
#

oh i thought that ss was the panel lol

static zealot
#

ah it is mine

#

but I'm not doing mine

#

that's what I'm saying

#

he doesn't have a panel like I do xD

surreal quarry
#

does he have access to change the nameservers

static zealot
#

yeah

surreal quarry
#

kk i have an idea then

static zealot
#

Romania Top Level Domain I went here

#

logged in

#

but yeah no way to point records

#

like easy ways I mean

surreal quarry
#

im sure other places do it, but i believe digi ocean will handle your domain for you if you set the nameservers to theirs

#

its been a while since ive done it but im pretty sure its possible

static zealot
#

yeah but do they handle .ro domains? xD

surreal quarry
#

i think it would do any domain

#

as long as it has the nameservers

#

although i dont see the dns option anymore on DO

static zealot
surreal quarry
#

yea you need to do it with a droplet it looks like

static zealot
#

fuck man why couldn't he listen to me and buy a .com

#

he had to rush and couldn't wait 2 hours for me to wake up

surreal quarry
#

i dont think thats the issue i think he just picked an ass hosting company]

static zealot
#

that too

#

lmao

#

thats why I wanted him to pick a .com instead

#

so he can buy it from namecheap

#

but he really wanted a .ro lmao

surreal quarry
#

id try to refund it and get one at a normal host lmao

#

cause like you can prob get a .ro at godaddy or namecheap or something

static zealot
#

he ain't getting a refund believe me xD

surreal quarry
#

lmao

static zealot
#

no James

#

tried

#

none of them have .ro

surreal quarry
#

actually yea thats tuff

#

idk why a hosting company wouldn't have a dns panel

#

like whats the point of a domain

#

if you dont control dns

#

that makes no sense

static zealot
#

wait

#

can't I move domains?

#

to other hosting companies?

surreal quarry
#

maybe

#

that would be the changing nameservers thing again

#

its worth a shot

static zealot
#

yeah just need to find a good company lmao

static zealot
#

yeah but no .ro

#

I tried xD

surreal quarry
#

they dont even let you transfer

static zealot
#

Domains with this extension aren’t transferable

surreal quarry
#

damn

#

best bet is probably to cut his losses and get a domain thats not a .ro from a normal company lmao

static zealot
#

yeah that's what I'm telling him rn

#

like there's actually

#

no good company

#

that accepts .ro

#

only shady companies

surreal quarry
#

yea lol

#

just go with like a .net or .com or something lol

static zealot
#

ok actually

#

I found one

#

that has an website

#

with css...

#

not just html

#

lmao

surreal quarry
#

loll

static zealot
#

ugh

#

cloudfare

#

aparently?

#

anyone has link

#

to info about that

#

Mackenzie told me

#

I could use their nameservers

#

lmao

prisma wave
#

Digitalocean is ehh

surreal quarry
#

DO wouldnt work here anyways i dont think

ocean quartz
surreal quarry
#

do it in kotlin just write it in a way that you know will work in java

hot hull
#

Not really

ocean quartz
#

It should work just as well in Java
Just curious about Frosty's answer

surreal quarry
#

iirc stuff like inlines dont work in java etc i just meant dont do stuff like that

hot hull
#

I mean regex doesn't work from a kotlin lib in java for me

prisma wave
#

inlines disappear at compile time

hot hull
#

Cause I use java 15 sad_fingerguns

ocean quartz
#

Kotlin 1.4.21 supports Java 15 iirc

onyx loom
#

o

winter iron
#

If i want to access another plugin from my plugin, can i add the other plugin as a library and use OtherPlugin.getPlugin(OtherPlugin.class) or should i get it through plugin manager

#

plugin.getServer().getpluginmanager().getplugin("otherplugin");

prisma wave
#

either works

winter iron
#

does it really matter which

prisma wave
#

the first one means you don't have to cast though

#

not particularly

distant sun
#

You still need to have it as a library

winter iron
#

Ye

#

i do

#

just wondering whats the better way

#

ill just do the first

half harness
honest halo
#

Ok thanks

obtuse gale
#

You're welcome

prisma wave
#

please don't take credit for my work.

#

You're welcome

steel heart
half harness
#

🤔

hot hull
#

How does a bungee config.yml file work for a plugin, since there's no saveDefaultConfig and shit how does one save it

prisma wave
#

The Hard Way ™️

#

with YamlConfiguration and files

#

etc

hot hull
#

Oh god

obtuse gale
#

getResource

#

Streams

#

Files

surreal quarry
#

triump config isn't specific to spigot is it

ocean quartz
#

Nah

static zealot
#

Someone tell me

#

if that looks right

#

for a minecraft server dns settup

#

not my domain so don't laugh at me

#

lmao

prisma wave
#

does it work

obtuse gale
#

spookycraft xDD

static zealot
#

yeah

#

and as @lavish notch said that's double spooky

#

because its .ro xD

static zealot
#

been waiting for like 30 minutes now I'll try once again

lavish notch
static zealot
#

lmao

#

in case maybe I should change priority or wieght

obtuse gale
#

Hey @static zealot can we get a ?faq explaining why video tutorials are (more than often) bad? :d found a message on another discord and I think it could be very useful in here

#

what

static zealot
#

give me the message ...

obtuse gale
#

no

#

come get it you sucker

static zealot
#

ok then no you can't have a ?faq

obtuse gale
#

ok

static zealot
#

k bye

obtuse gale
#

deal

half harness
#

what

obtuse gale
#

wait no

half harness
#

what was that

#

sdasjhdiusahd

obtuse gale
#

Are videos to learn good?

Sort answer: No!
Long answer: almost never.

But why?

Programming videos can be split roughly into two broad categories :

  • videos that aim at teaching a language, usually from scratch for people with no background in programming
  • videos that aim to showcase a situation, a library or a framework (these are OK)

Video materials for learning a language, especially the multi hours ones, tends to have really low added value. Here's why:

  • Firstly, the format is basically a lecture. This works in classes because you can ask the teacher direct questions. This not always possible or easy with video tutorials. This means that you are left to yourself the same way you would have been with a text tutorial

  • Secondly, it is really helpful to be able to revisit a previous section of the material. This is really difficult with videos. Usually by the time the timecode has been found (especially in a 6h long video) the question / reason to check back went stale or maybe completely forgotten.
    Also to re-watch that portion you will have constantly do small jumps back in the timeline. On the other hand, with a text tutorial you can easily backtrack on a piece of text and read it as many times you find it useful

  • Thirdly, it is also useful to be able to have two different sections open at the same time (because the latter refers to a previous notion for instance). This is downright impossible to do comfortably with videos. With a text based tutorial you can just open two tabs side by side and compare by reading

  • Lastly, watching videos is a passive activity by nature. Classes tends to not to be by having direct questions to students or with lab times later on. Videos kinda have the second one, sometimes, but the first one is near impossible. Reading is a lot more active

On a final note, it will greatly depend on the video maker but it's a lot easier to copy and tinker with the code from a text tutorial than a video

prisma wave
#

hmmmmmmmm

static zealot
#

but fefo

#

I disagree

#

there are good videos

#

like the coursera ones

#

lmao

obtuse gale
#

there are good ones, yes

static zealot
#

also

#

you've seen the CodeNinja or whatever his channel is?

#

that guy has some good videos

obtuse gale
#

but most videos and literally all that "teach spigot" are.. trash

static zealot
#

let me find

obtuse gale
#

dude I'm not saying all videos are shit

#

holy fuck

#

don't add it then

#

k good night

static zealot
#

ah

#

TNN

#

the net ninja

#

I strongly disagree

#

:))))))

onyx loom
#

split roughly into two broad categories

#

the good videos are such a tiny portion they dont have a category 🥲

obtuse gale
#

well at least I made some xp with that message

#

so

#

yuh

#

was worth it nonetheless

onyx loom
#

lmao

static zealot
#

ok please

#

explain

#

Classes tends to not to be by having direct questions

#

is this correct? because idk english

#

and it sounds incorrect

onyx loom
#

full sentence?

static zealot
#

Classes tends to not to be by having direct questions to students or with lab times later on.

#

no I don't

onyx loom
#

sentence before?

static zealot
#

Are videos to learn good

Programming videos can be split roughly into two broad categories :

  • videos that aim at teaching a language, usually from scratch for people with no background in programming
  • videos that aim to showcase a situation, a library or a framework (these are OK)

Video materials for learning a language, especially the multi hours ones, tends to have really low added value. Here's why:

  • Firstly, the format is basically a lecture. This works in classes because you can ask the teacher direct questions. This not always possible or easy with video tutorials. This means that you are left to yourself the same way you would have been with a text tutorial

  • Secondly, it is really helpful to be able to revisit a previous section of the material. This is really difficult with videos. Usually by the time the timecode has been found (especially in a 6h long video) the question / reason to check back went stale or maybe completely forgotten.
    Also to re-watch that portion you will have constantly do small jumps back in the timeline. On the other hand, with a text tutorial you can easily backtrack on a piece of text and read it as many times you find it useful

  • Thirdly, it is also useful to be able to have two different sections open at the same time (because the latter refers to a previous notion for instance). This is downright impossible to do comfortably with videos. With a text based tutorial you can just open two tabs side by side and compare by reading

  • Lastly, watching videos is a passive activity by nature. Classes tends to not to be by having direct questions to students or with lab times later on. Videos kinda have the second one, sometimes, but the first one is near impossible. Reading is a lot more active

On a final note, it will greatly depend on the video maker but it's a lot easier to copy and tinker with the code from a text tutorial than a video
@obtuse gale cool

#

xD

obtuse gale
#

You know what

#

Fuck off

static zealot
#

fuck

#

its over 2k

#

can't even paste it so I execute the command

#

can you make it shorter lmao

obtuse gale
#

Sure ig

static zealot
#

please do

#

thanks

#

doesn't even tell me how much over lmao

#

let me chgeck

#

check

#

2013

#

lmao

#

13 characters

#

please remove

#

thanks

obtuse gale
#

Sort answer: **__No!__**
Long answer: almost never.

Programming videos can be split roughly into two broad categories : 
- those that aim at __teaching a language__, usually from scratch for people with no background
- those that aim to __showcase a situation__, a library or a framework (these are **OK**)

Video materials for learning a language, **especially the multi hours ones**, tends to have really low added value. Here's why:

- Firstly, the format is basically a lecture. This works in classes because you can ask the teacher direct questions. This not always possible or easy with video tutorials. This means that you are left to yourself the same way you would have been with a text tutorial

- Secondly, it is really helpful to be able to revisit a previous section of the material. This is really difficult with videos. Usually by the time the timecode has been found (especially in a 6h long video) the question / reason to check back went stale or maybe completely forgotten.
Also to re-watch that portion you will have constantly do small jumps back in the timeline. On the other hand, with a text tutorial you can easily backtrack on a piece of text and read it as many times you find it useful

- Thirdly, it is also useful to be able to have two different sections open at the same time (because the latter refers to a previous notion for instance). This is downright impossible to do comfortably with videos. With a text based tutorial you can just open two tabs side by side and compare by reading

- Lastly, watching videos is a passive activity by nature. Classes tend to not to be by having direct questions to students or with lab times later on. Videos kinda have the second one, sometimes, but the first one is near impossible. Reading is a lot more active

On a final note, __it will greatly depend on the video maker__ but it's a lot easier to copy and tinker with the code from a text tutorial than a video```
#

code block cuz formatting c:

static zealot
#

something's wrong with discord

#

lmao

#

but it still crates a message.yml

obtuse gale
static zealot
#

idk mate

#

does it count spaces?

#

or new lines

obtuse gale
#

well yes

static zealot
#

ah yeah

#

the other only counts

#

characters

#

fuck

#

wait

#

I think I know

#

=faq

compact perchBOT
#

@static zealot,

FAQ • Invalid Usage

=faq <key>
=faq <add/edit> <key> <message>
=faq delete <key>
=faq raw <key>
=faq list
?<faq key>

static zealot
#

nvm

#

that would only add

#

characters

#

maybe just leave it as a paste?

#

or make it 2 parts?

obtuse gale
#

I mean you could strip out the whole first bit

#
- those that aim at __teaching a language__, usually from scratch for people with no background
- those that aim to __showcase a situation__, a library or a framework (these are **OK**)

Video materials for learning a language, **especially the multi hours ones**, tends to have really low added value. Here's why:

- Firstly, the format is basically a lecture. This works in classes because you can ask the teacher direct questions. This not always possible or easy with video tutorials. This means that you are left to yourself the same way you would have been with a text tutorial

- Secondly, it is really helpful to be able to revisit a previous section of the material. This is really difficult with videos. Usually by the time the timecode has been found (especially in a 6h long video) the question / reason to check back went stale or maybe completely forgotten.
Also to re-watch that portion you will have constantly do small jumps back in the timeline. On the other hand, with a text tutorial you can easily backtrack on a piece of text and read it as many times you find it useful

- Thirdly, it is also useful to be able to have two different sections open at the same time (because the latter refers to a previous notion for instance). This is downright impossible to do comfortably with videos. With a text based tutorial you can just open two tabs side by side and compare by reading

- Lastly, watching videos is a passive activity by nature. Classes tend to not to be by having direct questions to students or with lab times later on. Videos kinda have the second one, sometimes, but the first one is near impossible. Reading is a lot more active

On a final note, __it will greatly depend on the video maker__ but it's a lot easier to copy and tinker with the code from a text tutorial than a video```
static zealot
#

ok

#

name it pls-no

#

is that good? xD

obtuse gale
#

lmao sure ig

static zealot
#

done

#

?pls-no

compact perchBOT
#
FAQ Answer:

Programming videos can be split roughly into two broad categories :

  • those that aim at teaching a language, usually from scratch for people with no background
  • those that aim to showcase a situation, a library or a framework (these are OK)

Video materials for learning a language, especially the multi hours ones, tends to have really low added value. Here's why:

  • Firstly, the format is basically a lecture. This works in classes because you can ask the teacher direct questions. This not always possible or easy with video tutorials. This means that you are left to yourself the same way you would have been with a text tutorial

  • Secondly, it is really helpful to be able to revisit a previous section of the material. This is really difficult with videos. Usually by the time the timecode has been found (especially in a 6h long video) the question / reason to check back went stale or maybe completely forgotten.
    Also to re-watch that portion you will have constantly do small jumps back in the timeline. On the other hand, with a text tutorial you can easily backtrack on a piece of text and read it as many times you find it useful

  • Thirdly, it is also useful to be able to have two different sections open at the same time (because the latter refers to a previous notion for instance). This is downright impossible to do comfortably with videos. With a text based tutorial you can just open two tabs side by side and compare by reading

  • Lastly, watching videos is a passive activity by nature. Classes tend to not to be by having direct questions to students or with lab times later on. Videos kinda have the second one, sometimes, but the first one is near impossible. Reading is a lot more active

On a final note, it will greatly depend on the video maker but it's a lot easier to copy and tinker with the code from a text tutorial than a video

static zealot
#

this is quite

#

the text wall

static zealot
#

like it doesn't work

#

at all

obtuse gale
#

Sounds terrible

static zealot
#

hmm

obtuse gale
#

New SSD arrived CH_PepeRave

onyx loom
#

pog

static zealot
#

fucking hell

#

ptero

#

is saying that the server is running

#

but when I try connecting to the ip

#

doesn't work at all

#

lmaoooo

lavish notch
static zealot
#

never said I'm smart

#

lmao

#

just leaking private messages smh

#

lmaoooo

#

but still

#

that didn't help at all

#

so its not that MM

half harness
#

thats localhost

#

127.0.0.1 is localhost

static zealot
#

ye I changed to 0.0.0.0

#

lmao

obtuse gale
#

you can do shit like this <T extends Foo & Bar>????????????

#

why did no one ever told me that???????

static zealot
#

you don't deserve to know

obtuse gale
#

not like I'll ever use it but OMG

steel heart
#

But you have to declare the class first iirc then interfaces or smtng

obtuse gale
#

What

steel heart
#

Pretty sure you’d have to type <T extends Event & Cancellable> other way around won’t work or if it was the opposite

obtuse gale
#

I mean it's just like when you make a class, it can only extend one class/abstract class but implement any number of interfaces, same thing applies in that

#

Out of all the "extends", one only can be abstract class/class and the rest itercafes

#

Interfaces

steel heart
#

Ofc

steel heart
obtuse gale
#

Yes

steel heart
#

No

obtuse gale
#

Ok

steel heart
#

Nok

hot heron
#

@quick flume I found a good use case for the lambda functions like that

#
module.exports = {
   decay: (a, b, c) => (a * b) / (a + c),
   intervalAdd: (a, b, c) => b + Math.floor(a / c),
   decayMulti: (a, b, c) => 1 + ((a * b) / (a + c)),
   bigBase: (a, b, c) => b + c * a,
   log: (num) => Math.log(Math.max(num, 1)) / 2.303,
};```
#

Works really nicely for the disc bot i'm working on

obtuse gale
#

lmao yes

forest pecan
#

so

#

like it allows

#

both?

obtuse gale
#

so it has to be a class that implements both, yes

forest pecan
#

Yeah

obtuse gale
#

point one

forest pecan
#
interface ThickConsumer<A,B,C,D,E,F,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z> {
  void accept(A a, B b, C c, D d, E e, F f, H h, I i, J j, K k, L l, M m, N n, O o, P p, Q q, R r, S s, T t, U u, V v, W w, X x, Y y, Z z, A a, B b, C c, D d, E e, F f, H h, I i, J j, K k, L l, M m, N n, O o, P p, Q q, R r, S s, T t, U u, V v, W w, X x, Y y, Z z);
}
#

^^ just in case if you forget the alphabet

obtuse gale
#

oh god

forest pecan
#

what happens after Z tho

#

like actually

#

can you have more than 26 types of those generics

#

i dont think you can

#

cause java will think its an actual class

#

but you can make an extra class

obtuse gale
#

Z<ThickConsumer> :]

forest pecan
#

which has more generics

#

Oh

#

Or that

#

Lmfao

half harness
#

What is mojang_1.16.4.jar and patched_1.16.4.jar?

#

(in cache folder of paper minecraft server)
Anyone know?

quiet depot
#

u can have more than 26 type params

obtuse gale
#

is there a limit?

quiet depot
#

it’s convention for them to be a single capitalized letter, but it’s not enforced

#

idk fefo

quick flume
#

oh nice @hot heron

obtuse gale
half harness
#

wdym "modded one"

obtuse gale
#

paper

half harness
#

bc i thought all the modded code was in paper.jar

obtuse gale
#

craftbukkit + spigot + paper

#

the paper jar you download is not the actual server jar

#

that is illegal to distribute lol

half harness
#

wait so does "patched" have everything in "mojang"?

obtuse gale
#

so what they do instead is give you a jar that has the modifications to apply to the vanilla jar

obtuse gale
half harness
#

ah okay

#

wait then what's the point of the mojang jar

#

since patched has everything in it anyways

obtuse gale
#

they first download it when you run the paper.jar, and on top of that one apply the modifications

half harness
#

ohh

#

thxthx!

#

anyone know a good obfuscating tool

obtuse gale
#

they are borderline useless tho

#

look at minecraft, it was always released obfuscated and that didn't stop people from making obfuscation maps for modding

half harness
#

still

#

obfuscated > not obfuscated