#dev-general

1 messages · Page 319 of 1

surreal quarry
#

AUR 🥲

forest pecan
#

I use Ubantu

stuck harbor
#

the AUR is pretty close to a central one

hot hull
#

world gen go brrrrrrrrrr

surreal quarry
#

I need to switch to arch based

stuck harbor
#

world gen easy /s

forest pecan
hot hull
#

I mean don't ask me how to do shit when it comes to world gen cause I've no idea

stuck harbor
surreal quarry
#

Ye

stuck harbor
#

minecraft keeps telling me to update and I'm like 'the maintainer hasnt yet, so stfu!'

ocean quartz
hot hull
#

Time to snatch some stuff up

stuck harbor
#

lol

hot hull
#

Like I wasn't kidding when I said I didn't know shit about world gen so don't judge

stuck harbor
#

my commit history is so barren

half harness
#

is it normal to have a library that I use and shade in all of my projects?

ocean quartz
#

I have 4 of them

hot hull
half harness
ocean quartz
half harness
#

u use guis in every plugin?

stuck harbor
#

who doesn't?

half harness
#

me

ocean quartz
#

^

stuck harbor
#

madlad

hot hull
#

guis are the future old man

half harness
#

lol

stuck harbor
#

mhm

half harness
#

and why use a separate config lib?

#

spigot already has one

#

and its good 😋

stuck harbor
#

spigot is bollocks

#

kidding

hot hull
#

Spigot is utter dog shit

surreal quarry
half harness
#

oh

stuck harbor
#

just blanket wrong

half harness
#

does TriumphConfig have ConfigurationSerializable? 😤

surreal quarry
#

It’s not even remotely close to triumphconfig

ocean quartz
#

@hot hull Based my world gen on the information on this video https://www.youtube.com/watch?v=wbpMiKiSKm8

Welcome to this series on procedural landmass generation. In this introduction we talk a bit about noise, and how we can layer it to achieve more natural looking terrain.

A quick summary:
'Octaves' refer to the individual layers of noise.
'Lacunarity' controls the increase in frequency of each octave.
'Persistence' controls the decrease in ampl...

▶ Play video
ocean quartz
hot hull
#

Yea same

#

:kek:

half harness
#

easily

#

and deserialize

ocean quartz
half harness
#

what if you only want certain fields to serialize, and have a custom deserializing method?

ocean quartz
half harness
#

wot

stuck harbor
#

make the ones u dont wanna serialize transient

#

right?

half harness
#

what is transient

ocean quartz
surreal quarry
#

Transient not in kotlin

stuck harbor
#

meh

half harness
surreal quarry
#

Not in kotlin

half harness
#

what does transient in java do?

ocean quartz
ocean quartz
surreal quarry
#

Oh really?

stuck harbor
#

lol annotations

#

hurts head

surreal quarry
#

Never knew about that

stuck harbor
#
@SupressWarnings('unused')
#

annotations have no semicolon

#

bad design 0/10

ocean quartz
#

Semicolons bad

stuck harbor
#

:0

half harness
#

semicolons are good

#

imo

ocean quartz
#

Why?

half harness
#

imo

ocean quartz
#

What purpose does it server?

half harness
#

because they show that the statement is done

ocean quartz
#

So does the end of a line

stuck harbor
#

close the bracket ;)

onyx loom
#

lol

half harness
#

🤨

ocean quartz
onyx loom
#

what?

half harness
#

🤷

#

but

#

what if

ocean quartz
#

Give me an example of what you mean

half harness
#

um

#

okay i give up

#

but semicolons are beautiful

ocean quartz
#

Disgusting

half harness
#

o

ocean quartz
#

I'm glad they are optional in TypeScript

onyx loom
#

#

since when are they beautiful lmao

#

in what world

half harness
#

uh

onyx loom
#

🥲

stuck harbor
#

in this world /s

half harness
#

what is the definition of the tear emoji

stuck harbor
#

we are not in earth tho

#

we are on earth

ocean quartz
# half harness what is the definition of the tear emoji

Tear Emoji is a sad face with a single tear running from one eye, down the cheek. This emoji shows a stronger sense of hurt rather than general sadness. The Crying Face Emoji appeared in 2010, and now is mainly known as the Tear Emoji, but also may be reffered as the Sad Emoji.

stuck harbor
#

lol

#

oof matt

half harness
#

🥲

stuck harbor
#

: reversed_hand_with_middle_finger_extended: jesus christ

#

I mean

half harness
#

lol

stuck harbor
#

why is that emoji name so long

half harness
#

who knows

jovial warren
#

type that into Discord

#

it just gives you the middle finger lol

hot hull
#

🖕

stuck harbor
#

that

half harness
obtuse gale
#

Oh

half harness
obtuse gale
#

Who's ever going to type such long thing instead of :middle_finger:

stuck harbor
#

that's the point

#

need I say woosh?

obtuse gale
#

I mean, that's just well described but not useful for quick typong

#

*typing

stuck harbor
#

my dude

#

that's why I posted it

half harness
#

:reversed_human_right_hand_with_the_middle_finger_extended:
that should be the name

stuck harbor
obtuse gale
#

That's a train.

half harness
stuck harbor
obtuse gale
jovial warren
#

so have fun with that 🙂

hot hull
#

Need to save these links lol

jovial warren
#

lol

#

oh btw, fun fact that I've only just found out, did you know that Bukkit actually appends it's own NBT tags to player data files?

#

that's where it's storage for when the player first and last played is

hot hull
#

Make a better system for all this shit thanks

jovial warren
#

okay for now I'm just going to completely scrap custom world generation settings and just use presets lol

hot hull
#

That's cool

stuck harbor
#

record?

#

what is

hot hull
#

java 15

stuck harbor
#

ew

surreal quarry
#

what is

#

it looks like a method

#

that is a class

#

oh is it like a data class

stuck harbor
#

man

#

also that IDE

hot hull
#

Jump out the window

stuck harbor
#

I do not see gruvbox in neovim there sonny boy

jovial warren
#

ffs Frosty KEKW

surreal quarry
#

frost

jovial warren
surreal quarry
#

what is record

jovial warren
#

it is a Java data class

hot hull
#

Noone judges my ide theme thank you very much

surreal quarry
#

god i’m so smart and intelligent and smart

ocean quartz
#

Frosty you should use Fira Code Medium font

surreal quarry
#

ew

hot hull
#

Nein

jovial warren
#

Fira Code Medium superior

stuck harbor
#

my man

jovial warren
#

Fira Code Medium superior

stuck harbor
#

that's literally

surreal quarry
#

jetbrains mono

stuck harbor
#

I randomly picked that one

jovial warren
#

Fira Code Medium is superior to JetBrains Mono

#

that is a fact

surreal quarry
#

weong

hot hull
#

Current one

surreal quarry
#

objectively

stuck harbor
#

I do enjoy jetbrains mono

jovial warren
ocean quartz
#

Yikes Frosty

stuck harbor
#

my man

ocean quartz
#

At least use a mono spaced one

#

Fira is great

surreal quarry
#

lol

jovial warren
#

actually you're looking at the wrong page Frosty

stuck harbor
#

use a font with symbols

jovial warren
#

Segoe UI is the default IDE font, not the editor font

hot hull
#

I know

stuck harbor
#

jetbrains mono has a lot of symbols which is gooood

surreal quarry
#

fira also has them

stuck harbor
#

like != is =/=

hot hull
surreal quarry
#

but jb mono is better

jovial warren
#

Fira Code Medium is the objectively superior font

ocean quartz
hot hull
#

No

jovial warren
#

do it

surreal quarry
hot hull
#

I refuse to change it cause then my brain gonna be cucked again

jovial warren
#

it's a really good font

#

trust

steel heart
#

Default IntelliJ font though

surreal quarry
#

jb mono is best

jovial warren
#

I think that's JetBrains Mono @steel heart

surreal quarry
#

that is supported by the scientific method

jovial warren
#

right, can we just agree one thing though

surreal quarry
#

light theme good?

jovial warren
#

anyone who doesn't use compact sidebar is a nut

surreal quarry
#

yea

stuck harbor
#

man

hot hull
#

I don't see a difference

surreal quarry
#

you changed the wrong one

stuck harbor
#

I dont even know what that is

jovial warren
#

and also, anyone who uses JetBrains mono as an IDE font rather than an editor font should be shot

stuck harbor
#

:!gradle shadowJar build

hot hull
#

Nah I changed the correct one

jovial warren
#

it's thicc

#

look at it

surreal quarry
stuck harbor
#

my vim java setup is thicc

surreal quarry
#

you are a psycho

hot hull
#

my eyes burn

stuck harbor
#

it works well on my machine

jovial warren
#

also, what font size do you guys use btw?

#

editor

surreal quarry
#

what plugin do you use for completions iwanio

stuck harbor
surreal quarry
#

can’t check i’m at school

stuck harbor
jovial warren
#

I use 15

surreal quarry
#

does it work well?

stuck harbor
#

for me

#

yes

jovial warren
#

some people for whatever reason use fucking 12

surreal quarry
#

i tried to set it up a while back and couldn’t get it working

jovial warren
#

I've seen people use 12 as their editor font size

surreal quarry
#

so i just use IJ and ideavim plugin

stuck harbor
#

I edited ben awad's typescript setup

jovial warren
#

and I'm like how tf do you even see that

stuck harbor
#

I use 12 iirc

jovial warren
#

WTF

stuck harbor
#

I have good eyesight

surreal quarry
#

i might go down if i get a smaller monitor

jovial warren
#

how

stuck harbor
#

24 inch 1080p display

#

gruvbox theme

jovial warren
#

my monitor is 21" and I sit about a metre away from my desk

stuck harbor
#

good font

jovial warren
#

and I can hardly see 12 at the best of times

stuck harbor
#

lol u blind

surreal quarry
#

gruvbox is so ugly

stuck harbor
#

no

surreal quarry
#

atom one dark >>>

stuck harbor
#

gruvbox awesome

jovial warren
#

I mean, I suppose I do sometimes have to wear glasses because I'm short sighted

stuck harbor
#

brooown

surreal quarry
#

wrong

jovial warren
#

Atom One Dark superior

surreal quarry
#

+1

jovial warren
#

that's a fact

onyx loom
#

u know what else is superior

#

me

stuck harbor
#

false

ocean quartz
#

Very similar but, mono is just too skinny
Fira medium

stuck harbor
#

I'll settle with Nord tho

ocean quartz
jovial warren
#

ikr

#

Fira is nice and thicc

#

mmmmm

#

xD

ocean quartz
#

Normal Fira is almost exactly like mono

#

Very hard to see the difference

surreal quarry
#

those are very similar lmao

ocean quartz
#

Biggest difference is on the ligature

surreal quarry
#

yea

stuck harbor
#

aren't they all the same image?

surreal quarry
#

shut

ocean quartz
#

Nope

stuck harbor
#

same framing and everything

surreal quarry
#

same code

#

different font

stuck harbor
#

actually nvm

#

the try is a bit higher on the third

ocean quartz
#

Tried to take the screenshots from the same location, not perfect though

stuck harbor
#

very good for doing it by hand tho

#

👍

jovial warren
#

we need a Fira Code Thicc

stuck harbor
#

I do like a good meme font

jovial warren
#

cough Comic Sans cough

ocean quartz
#

Let's go extra thicc

jovial warren
#

is that bold? KEKW

ocean quartz
#

Semibold

jovial warren
#

also, I'm trying to decide if font ligatures good

ocean quartz
#

Very good

half harness
prisma wave
#

Why are you overriding the accessors

hot hull
#

That's how records work

onyx loom
#

am i the only one that thinks frostys ide looks nice then?

prisma wave
#

You don't need to override them though...

hot hull
#

Does it matter? nein.

prisma wave
#

It generates accessors for every field by default

stuck harbor
old wyvern
#

lmao

prisma wave
#

It's like overriding toString to just call super.toString

hot hull
#

I removed it now

prisma wave
#

Pointless

#

Ty

hot hull
#

np

jovial warren
#

omfg no way

#

look what it says

#

"Unix time"

#

that is literally the first time I have seen Minecraft be sensible and use Unix time in fucking ages

lunar cypress
#

what else does it use

jovial warren
#

ticks

#

and it uses ticks relative to so many different things

lunar cypress
#

ticks and timestamps are not equivalent

#

using them as a measure serves different purposes

jovial warren
#

it's the difference between an instant and a duration isn't it

lunar cypress
#

where would you rather use unix time where ticks are used right now?

jovial warren
#

actually I wouldn't use Unix timestamps, I would use durations measured in either milliseconds or seconds

lunar cypress
#

and since the entire game is based on ticks it makes sense to measure in game durations in ticks

#

otherwise things like "3 seconds" could mean pretty much anything

#

in terms of in game duration

jovial warren
#

yeah what I was suggesting is just completely scrap ticks entirely

lunar cypress
#

??

#

and how would you coordinate the game?

jovial warren
#

as I said, seconds or milliseconds

#

like regular human beings

hot hull
#

What you can't do math Bardy?

half harness
#

lol

hot hull
#

pathetic

lunar cypress
#

then you lose coordination

jovial warren
lunar cypress
#

because you can't control bandwidth or packet loss and the likes

heady birch
#

Let's say, hypothetically, for arguments sake, a users underpowered server was running at 10 ticks per second as opposed to the optimal value of 20 ticks per second, now let's also assume that, said user has installed a plugin that does cool downs. now, our user is very strict about spamming on their server, so they have imposed a 100 tick (or 5 second) cool down between each chat message sent. Okay, so, due to the users server running at half the expected ticks per second, the cool down is in fact increased to 10 seconds because of external factors due to the environment of the server that cannot be helped.

prisma wave
#

lmao

surreal quarry
jovial warren
#

lol

heady birch
#

But this could actually happen right (if durations were in ticks)?

jovial warren
#

sounds like it could

heady birch
#

Hopefully no one is running a server under 19 TPS though

lunar cypress
#

that is exactly what would happen

jovial warren
#
data class World(
    val name: String,
    val regions: List<Region>,
    val allowCheats: Boolean,
    val border: WorldBorder,
    val clearWeatherTime: Int,
    val dayTime: Long,
    val difficulty: Difficulty,
    val difficultyLocked: Boolean,
    val endDimensionData: EndDimensionData,
    val gamerules: List<Gamerule>,
    val worldGenSettings: WorldGenerationSettings,
    val isHardcore: Boolean,
    val isInitialized: Boolean,
    val lastPlayed: LocalDateTime,
    val mapFeatures: Boolean,
    val isRaining: Boolean,
    val rainTime: Int,
    val randomSeed: Long,
    val spawnLocation: Location,
    val isThundering: Boolean,
    val thunderTime: Int,
    val time: Long
)
```this is horrible lol
#

@heady birch especially because the server is single-threaded, so if the main thread lags, everything lags

#

unless it's scheduled the sane way using a ScheduledExecutorService

hot hull
#

Disgusting

jovial warren
#

which one? lol

jovial warren
#

improve it xD

heady birch
#

public T World.get(Key<T>)

onyx loom
#

whats wrong with it

prisma wave
#

struct World

hot hull
#

Please do split some of these things into sub classes

#

Would make so much more sense

jovial warren
#

and also make it harder to turn a file into

onyx loom
#

sounds like a waste

hot hull
#

Bruh stop being lazy

#

Structure matter

#

s

heady birch
#

class World {
Map<String, String> settings = ..
}

hot hull
#

:kek:

jovial warren
heady birch
#

String for everything

#

It makes it more versatile

onyx loom
#

niall stuck in the past

jovial warren
#

oh yeah, because that's a good idea

prisma wave
#

why use enums when you could use strings?

hot hull
#

Why use strings when you could use int ids

half harness
#

enum > string :))

hot hull
#

magic values all the way

heady birch
#

no need for int

jovial warren
ocean quartz
onyx loom
#

just throw out everything u know about programming, strings are all we need

heady birch
#

Block {
boolean isDirt,
boolean isStone,
boolean isWood
...
}

prisma wave
#

wot

prisma wave
half harness
#

-_-

ocean quartz
#

That's as far as i can go

prisma wave
#

uh

ocean quartz
#

Actually

obtuse gale
jovial warren
prisma wave
jovial warren
ocean quartz
#

Oh my god I need to try that out

jovial warren
#

yeah but imagine writing all your code in binary

half harness
#

LinkedList<Byte> :))

jovial warren
#

that's big brain

#

no compilers

#

no assemblers

#

no interpreters

#

no runtimes

onyx loom
#

why use silicon if u can use quantum physics

jovial warren
#

actually, I can do myself one better

heady birch
#

Store everything in its own ByteBuf

jovial warren
#

electronic signals

prisma wave
#

fun fact rust can run on quantum computers

jovial warren
#

just program in electronic signals

hot hull
#

In the time you've been debating this, you could've already made it.

onyx loom
#

😮

heady birch
prisma wave
#

no

onyx loom
#

lol

prisma wave
#

but it's close enough

onyx loom
#

so fast it might aswell be on quantum pcs

prisma wave
#

Box<Vec<Arc<Qubit<T>>>> 🙂

stuck harbor
heady birch
#

😖

stuck harbor
#

lol qubit

#

quantum mechanics hurt my head

jovial warren
#

oh also, guess what Krypton almost has btw @heady birch

prisma wave
#

qubit goes brrr

#

fast

jovial warren
#

scoreboards

#

KiteBoard for Krypton soon™️ xD

hot hull
#

Just copy paste kiteboard into it

onyx loom
#

ah yes, thatll work

#

🙂

hot hull
half harness
#
public @NotNull void print(@Nullable Level k, @Nullable String t) {
    Logger s = Bukkit.getLogger();
    assert k != null;
    s.log(k, Objects.requireNonNull(t));
    return;
}
```:)
hot hull
#

Have you ever heard of variable names?

half harness
#

uh

#

but real question

prisma wave
half harness
#

what exactly does assert do?

onyx loom
#

asserts something

prisma wave
#

nothing

onyx loom
#

lol

#

nothing without a jvm parameter

prisma wave
#

^^

#

assuming you've enabled it, assert b is the same as ```java
if (!b) throw new AssertionError();

#

it's for debugging

#

just dumb

half harness
#

ic

prisma wave
#

because debuggers exist

jovial warren
#

yeah but Java was created at a time where debuggers weren't a thing

#

at least, not in the same capacity as they are now

lunar cypress
#

and it's not for debugging

old wyvern
jovial warren
#

Turing Machines

prisma wave
#

ew

old wyvern
#

bad

prisma wave
#

lambda calculus

old wyvern
#

Lamda Calculus >>>>> Turing Machines

#

Alan Turing is a curse

#

was*

#

If not for Turing we would be in the idealistic lambda world

#

😮

lunar cypress
#

too far 4Weird

old wyvern
#

😌

prisma wave
#

average alan turing fan: 🥴 😢 feels_dumb_man
average alonso church fan: 😎 💪 🥵

old wyvern
lunar cypress
onyx loom
#

sounds fun

old wyvern
#

Nah, we got alonso for the rescue

#

Nazis dont stand a chance

prisma wave
#

enigma machine doesnt stand a chance against good old recursion

old wyvern
#

🇷

ocean quartz
onyx loom
#

delete this

#

right now

prisma wave
#

oh my god

obtuse gale
#

Beautiful

#

Someone pin that message

#

Everyone shall see it

ocean quartz
#

YES!

jovial warren
dawn hinge
#

Amazing

onyx loom
#

now do it in java 🙃

ocean quartz
#

I'd rather die

prisma wave
#

use rust

stuck harbor
#

lol

ocean quartz
#

Gonna try, let me get Clion

stuck harbor
#

lol

ocean quartz
#

Time to learn rust

stuck harbor
#

yess

half harness
#

o boy

prisma wave
#

good language 🙂

lunar cypress
#

you don't need clion for rust

#

it's as good as any other jetbrains ide

prisma wave
#

im sure rust actually optimises EXPENSIVE strings into CHEAP byte arrays

#

no jetbrains rust ide 😔

heady birch
#

When you meet ZERO COST abstractions, theres no going back

prisma wave
#

cargo init mf-gui

lunar cypress
#

To be fair, you need a very high IQ to understand Rust.

prisma wave
#

incredibly high

#

i dont think some of the great minds of history could do it

#

alan turing? didnt know rust

#

albert einstein? didnt know rust

#

alexander the great? possibly knew rust

#

ada lovelace? probably didnt know rust

heady birch
#

Such thing as NeTTY for Rust Library: Tokio

prisma wave
#

fast, reliable, scalable

heady birch
prisma wave
#

sounds like rust all right!

heady birch
#

yeah I am told every rust operation is O(0.5)

prisma wave
#

wow!

ocean quartz
old wyvern
lunar cypress
#

🤓☝️ akshually, ...

old wyvern
#

Yes

ocean quartz
#

This is a nightmare lol

hot hull
#

Life? Yea ikr

prisma wave
#

🥲

ocean quartz
#

Cuz of this

`assoc_char_funcs` is unstable: recently added
prisma wave
#

surely you can still use it?

ocean quartz
#

Doesn't let me

prisma wave
#

#![feature(assoc_char_funcs)] try this?

hot hull
ocean quartz
#

Nope

#

Got is to not error

prisma wave
#

what

lunar cypress
#

what do you need that for anyway

heady birch
#

Johnny help

jovial warren
#

hey er...

#

I may or may not have found something

#

that is now god tier

#

it can fucking read and write MCA files

forest pecan
#

did you get realize that

#

lmao

jovial warren
#

wdym

#

did I just realise that there's libraries that do this for me? yes, yes I did

forest pecan
#

yeah that

#

xD

#

I used that library when on my mc server

#

one of my friend's pigstep disc got stolen

#

and i had to search region files

#

lmao

jovial warren
#

might just extract the reading and writing part of this so I can use my own types and stuff

lunar cypress
jovial warren
#

anyone know how to initialise an empty array in Kotlin?

#

e.g. in Java, you can do new int[16], I want the Kotlin equivalent of that

#

I want to allocate an array with an initial capacity and no elements

#

nvm, got it

#

arrayOfNulls does what I want

ocean quartz
#

Only over 1h

#

Nice

onyx loom
#

oh my god

#

the mad man done it

prisma wave
#

oh my god

hot hull
#

What's that

jovial warren
#

that's nothing lol

ocean quartz
jovial warren
#

++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++. get on my level

stuck harbor
#

owwwwwwww

forest pecan
#

brainfuck?

#

more like

#

fuckbrain

onyx loom
#

time to do it in haskell and clojure now matt 🙂

prisma wave
#

in theory it wouldnt be that hard in haskell

stuck harbor
prisma wave
#

lemme try

ocean quartz
#

This language is cool, but for beginners it's pretty tough

stuck harbor
#

y u using clion for rust?

prisma wave
#

yeah rust has a very steep learning curve

forest pecan
#

cause he can

prisma wave
#

very steep

hot hull
forest pecan
#

oh god

stuck harbor
#

frusty stop posting tiktok eeee

#

i cant view on plebian pc

ocean quartz
stuck harbor
#

man use vim :)))))

ocean quartz
#

Never

stuck harbor
#

just try it

onyx loom
#

just ij?

stuck harbor
#

its not like a drug or anything

#

just try vim

prisma wave
#

uh depends

#

im using vim rn

stuck harbor
#

gooood

prisma wave
#

IJ has a plugin

onyx loom
#

o

prisma wave
#

dont really need ij for single files

stuck harbor
#

nor do u need it for multiple

prisma wave
#

depends on the language

stuck harbor
#

man i played 2 ow support placement matches on competitive

#

got carried rather hard

prisma wave
#

nice

stuck harbor
#

people kept on using ana before me :((((

ocean quartz
#

You doing it in haskell bm?

prisma wave
#

yup

#

trying anyway

hot hull
stuck harbor
#

man

#

im doing a kernel update

ocean quartz
#

Frosty, tiktok is ass

stuck harbor
#

okay boomer

ocean quartz
#

Specially on pc, the website is horrible

stuck harbor
#

well its not for pc

#

thats like using insta or snap on pc

#

dumb

onyx loom
#

lol website version u cant even change the volume

#

its just on or off for audio

ocean quartz
stuck harbor
#

man

#

stop complaining about something u dont even use right

onyx loom
#

no

ocean quartz
#

Lol

onyx loom
stuck harbor
#

they shouldn't

onyx loom
#

theyve put enough time to put it on the web, theyre gonna keep supporting it

ocean quartz
#

And yet they do, their fault

hot hull
#

I'll stop now

#

@old wyvern So Octavia Prime just dropped, Imma be farming that tommorrow, wanna join? reversed_fingerguns

errant geyser
#

To contribute to the whole TikTok thing, it's practically just a data collection app that millions of people willingly download to post cringe videos of themselves they'll regret rather soon

ocean quartz
#

Eh, so is google, facebook, etc, that's not my issue with it, just find most of them very unfunny and the website sucks

timber oak
#

Looks exactly the same

prisma wave
#

lol

#

yeah

#

it's a self-hosted hastebin

steel heart
timber oak
errant geyser
half harness
errant geyser
timber oak
#

Wait they can't be storing the data forever

errant geyser
#

Yes, they can

timber oak
#

That'd just use so much storage after time

errant geyser
#

Not all of them are permanent

prisma wave
#

it's probably like a year

timber oak
#

So basically just a better version of hastebin?

prisma wave
#

mhm

errant geyser
#

Any that get sent to mine unless I archive it manually get deleted after a week I think, or whenever the total storage size exceeds some amount that I thought was reasonable iirc

errant geyser
timber oak
#

kk, thanks everyone

obtuse gale
#

I'm going to grind on codeacademy to get more falmiliar with java

stuck harbor
#

lol codeacademy

obtuse gale
#

is it good

#

or

stuck harbor
#

meh

#

its aight

obtuse gale
#

do you recommend anything else?

stuck harbor
#

nah, I guess it's just not how I learn langauges

obtuse gale
#

oh ok

#

ty

dawn hinge
#

?learn-java

compact perchBOT
#
FAQ Answer:

Oracle Docs:
You should start with this, breeze through this(skipping stuff that doesn't seem relevant like bitwise operators), then 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

Online Courses:
If you want some free online courses, you can find them on Coursera. Yes they are paid but you can chose to take them for free with the only disadvantage being the fact that you don't get a certificate at the end. Some of the best courses can be found Here.
You can also take a look at Udemy but from what I've seen most of those courses are paid.

Other services:
Some other cool services that will help you learn java are SoloLearn and JetBrains Academy.

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!

dawn hinge
#

@obtuse gale ^^

obtuse gale
#

ohhh

#

thanks

dawn hinge
#

Yep

obtuse gale
#

Im debating between coursera and sololearn

errant geyser
#

They're both free, try a bit of each and see what you prefer

dawn hinge
#

Yep

half harness
#

Is it normal that its taking 8 minutes (so far) to "Import 'ProjectName' Gradle project"?

#

for just one project

#

ah nvm it finished

#

but whyd it take so long lol

prisma wave
#

GOT IT

onyx loom
#

because u have a celeron

lunar cypress
#

that sounds more like an intellij problem

onyx loom
prisma wave
#

ew it php highlighted

onyx loom
#

🤣

prisma wave
#

thats better

#

this is very cursed

#

it literally goes booleans -> chars -> string -> int -> char -> string

onyx loom
#

🥲

#

could be worse

#

i was expecting it to be a lot worse lmao

prisma wave
#

it's not that bad

#

it was just confusing

obtuse gale
#

i can code basic plugins but i mostly skipped so many things so im taking a full course now to learn everything

prisma wave
#

because the source material makes no sense 🥲

onyx loom
half harness
ocean quartz
obtuse gale
#

Ye thanks!

prisma wave
#

ty ty

obtuse gale
#

I need help

compact perchBOT
#

There is no time to wait! Ask your question @obtuse gale!

lunar cypress
#
charFromBool True = '1'
charFromBool _ = '0'
```haskell's pattern matching truly is the richest of its kind
prisma wave
#

lmao

obtuse gale
#

im trying to learn all the basics of java as when i code plugins now, it takes like 10 google searches to code anything 😆

prisma wave
#

would you say an if is cleaner than pattern matching?

lunar cypress
#

idk enough about haskell to be the judge of that

prisma wave
#

in this case it probably is

#

pattern matching booleans seems like the equivalent of when(true)in kotlin

gleaming shell
#

what the heck happen here in console when I did a database: Kicked whilst connecting to survival: [LP] A database error occurred whilst loading permissions data. Please try again later. If you are a server admin, please check the console for any errors.

obtuse gale
#

If you are a server admin, please check the console for any errors.

gleaming shell
#

oh

#

wonder where that was

obtuse gale
#

/luckperms

half harness
#

ok

#

ahh bot

#

i have a question

compact perchBOT
#

There is no time to wait! Ask your question @half harness!

half harness
#

aw

#

it includes pings?

#

well, efe, askkk

static zealot
#

ugh

half harness
#

????

onyx loom
#

lol.

static zealot
#

are you serious rn efe?

half harness
#

im busy

#

mc minecraft is annoying

#

oops i said minecraft twice

#

🤦

lunar cypress
# prisma wave GOT IT
(defn bools->byte [bools] 
  (->> bools 
       (map-indexed vector)  
       (filter second) 
       (map first) 
       (map (partial - (count bools) 1)) 
       (reduce bit-set 0)))

(let [message ...]
  (println (->> message (map bools->byte) (byte-array) (String.))))
```now I had to do it
onyx loom
#

theres so many things wrong with that lol

#

i think clojure is the shortest chars so far 😳

prisma wave
static zealot
#

public ItemStack​(@NotNull Material type)

#

maybe this ?

prisma wave
#

wait that's cheating

half harness
#

public void Checknull(ItemStack I) {
if(i!= null)
{
return null;
}
return new ItemStack(null);
}
here

onyx loom
#

return new ItemStack

prisma wave
#

you missed the reundant extra step

onyx loom
#

public void

static zealot
#

that as well

onyx loom
#

return null

static zealot
#

that as well

#

there's so much wrong with you efe

ocean quartz
#

The errors are?

half harness
#

._.

onyx loom
#

bruh

static zealot
#

u don't

half harness
#

i give up

static zealot
#

that's the whole point of void

onyx loom
#

b r u h

#

Unit 🙂

#

literally cant tell if ur trolling

static zealot
#

because you're not funny mate

lunar cypress
#

@prisma wave somethings still wrong though hold on

static zealot
#

you keep telling others to not act funny but you're not funny either

prisma wave
half harness
#

😐

prisma wave
#

yours doesnt have the useless conversions to "1" and "0" right?

surreal quarry
#

go?

prisma wave
#

the thing i just sent is rust

onyx loom
#

thjats rust

prisma wave
#

does it though

surreal quarry
#

isn't fn main a thing in go as wel

prisma wave
#

func main

surreal quarry
#

oh 2 letters off

#

lol

prisma wave
#

yea lol

#

kotlin in between the 2

onyx loom
#

FUN

#

because it fun 😊

half harness
#

🙄

prisma wave
#

func because it func 😊

half harness
#

better than my old pfp

onyx loom
#

ah yes

#

funcy

prisma wave
#

i love func

lunar cypress
#

Just constructs the byte directly

#

I just used the wrong order

prisma wave
#

ah

#

i dont think we can beat that in terms of size

jovial warren
#

oi

#

wdym

#

Kotlin good

prisma wave
#

gonna try in f#

onyx loom
#

bardy always rushes to helpchat whenever anyone speaks upon kotlin

steel heart
#

Kotlin ew?

onyx loom
#

no

prisma wave
#

yes

onyx loom
#

no u

prisma wave
#

thx

steel heart
#

Kotlin is like 2020

onyx loom
#

whats 2021

steel heart
#

Elara?

onyx loom
#

no

#

thats 2022+

steel heart
#

Oh true

onyx loom
#

2021 = rust/haskell CLEARLY

static zealot
#

?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

prisma wave
#

what

static zealot
#

wall of text 💟

steel heart
#

?player

compact perchBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

steel heart
#

?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

lunar cypress
#

got it now

onyx loom
#

#bot-commands please guys! thanks! 🙂

surreal quarry
#

can someone send it again, i missed it

static zealot
#

oh you missed it?

prisma wave
#

immature

static zealot
#

?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

surreal quarry
#

thanks

jovial warren
surreal quarry
#

ill need it a gain in a few messages

prisma wave
#

corrupt and stupid staff !!!

static zealot
#

yes I'm immature.

#

yes I'm corrupt.

steel heart
#

?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
#

yes I'm stupid.

prisma wave
onyx loom
prisma wave
#

lmao

#

u lot have too much time

#

join the challenge

static zealot
#

yoooooooooo

#

I got an idea

#

since we're so many here

prisma wave
#

ah that's pretty clean

jovial warren
static zealot
#

what a bout we play some clash of code?

surreal quarry
#

jenkins brings me pain

onyx loom
#

i have too much time because i spend too little on my actual homework

#

just dont worry about that

jovial warren
jovial warren
onyx loom
#

but like, is ur homework a week late 🙃

surreal quarry
jovial warren
#

I had 6 lessons today and I've done 0 lessons of work

jovial warren
#

it's more difficult than most

lunar cypress
static zealot
#

@jovial warren @onyx loom @prisma wave @old wyvern @ocean quartz @surreal quarry @steel heart @half harness @lunar cypress @hot hull @distant sun @stuck harbor @forest pecan @obtuse gale wanna join some clash of code? here's link

#

I love mass pinging ♥️

half harness
#

I JUST SINGLE CLICK GODBRIDGED 40 BLOCKS!!!_ _ _ _

onyx loom
#

stfu dkim

prisma wave
#

i guess i can join

surreal quarry
prisma wave
#

f# can wait

onyx loom
#

3 in coc so far

#

f# CAN wait indeed

#

JOIN!

surreal quarry
#

JOIN!

static zealot
#

I wonder who I didn't ping and is usually playing with us

#

I feel like pinging again xD

onyx loom
#

frosty was a useless ping

surreal quarry
#

just ping the developer role

#

🌚

onyx loom
#

he already sleeping 100%

static zealot
#

I can't

surreal quarry
#

just do it

static zealot
#

they made it an unpingable role

surreal quarry
#

<@&346970042854014978>

#

F

static zealot
#

told ya

#

@prime peak

surreal quarry
#

its a scam

static zealot
#

@hardy mirage

surreal quarry
#

<@&639756260874387476>

onyx loom
#

if i win this coc do i get developer role

surreal quarry
#

<@& @static zealot

#

for roles

static zealot
#

nice xD

#

oh

#

yeah I forgot

#

<@&457243404485525515>

#

so we start?

onyx loom
#

guess so

surreal quarry
#

ye

onyx loom
#

6 people aint bad

static zealot
#

or we waiting 20 more seconds?

#

14 now

#

10

#

9

#

5

surreal quarry
#

3

#

2

#

1

static zealot
#

2

#

1

surreal quarry
#

0

static zealot
#

starting

surreal quarry
#

im fast as fuck

#

i win these

prisma wave
#

i kinda cba to do this one

steel heart
#

@prisma wave when a data structure is homogeneous or heterogeneous what does that mean

prisma wave
#

it's just effort

static zealot
#

and I think I'm done

static zealot
#

lets hope its 100

#

fuck yeah

onyx loom
#

oh shit 3 min left

prisma wave
#

python lists are heterogeneous in that you can have [1, "3", True]

#

whereas a List<String> in java can only contain strings

steel heart
#

Ah

static zealot
#

fuck mine is so messy and long for kotlin

#

but it works

#

49 lines for some reason

steel heart
#

Wouldn’t List<Object> be heterogeneous

prisma wave
#

i think so

jovial warren
#

how

static zealot
#

@jovial warren you want the answer?

#

I can copy paste it if you want

jovial warren
#

no

#

won't help anyway

#

look what I'm using

static zealot
#

why? xD

#

I can't

#

I finished

jovial warren
#

I've got 4/5

static zealot
#

but you can change it btw

#

during the game

jovial warren
#

I don't get why Python doesn't seem to wanna convert one of them into a char

static zealot
#

maybe you didn't loop enough?

jovial warren
#

fuck it

#

look at it

static zealot
#

80% ain't that bad tho

jovial warren
#

literally nothing wrong with it

lunar cypress
#

website bugged, nice

jovial warren
#

literally nothing wrong

#

at all

#

look at the code

#

apparently the character it was giving me wasn't in range(0x11111111) or something like that

#

which if it's valid ASCII then it has to be

static zealot
#

man my code is so bad

onyx loom
#

lmao i submitted last second

#

didnt get to finish

static zealot
#

like why? val shift = input.nextLine() val shiftInt = shift.toIntOrNull()

lunar cypress
#

i have literally no idea why it doesn't read the spaces correctly in that last test

static zealot
#

why didn't I just use shiftt?

onyx loom
#

blitz u thought urs was bad kek

static zealot
#

I mean mine works xD

jovial warren
#

yeah mine should've got me 100%

static zealot
#

you're still second

jovial warren
#

there's literally no reason why it shouldn't've

#

yeah ik but still

lunar cypress
jovial warren
#

no

prisma wave
#

do another

#

that one was annoying

jovial warren
#

it said the char wasn't in range(0x1111111) I think

static zealot
#

yeah a bit long

#

I love the short ones

#

or the reverse mode ones

#

even tho those are harder

jovial warren
#

which it should be if it's a valid ASCII range

static zealot
#

btw I sent a new link here

#

Kaliber, BM

onyx loom
#

bardy, pls kekw

#

i need that emoji

#

so fitting

static zealot
#

man these guys in general-plugins... I give them the answer few days earlier, they ask the same question today

surreal quarry
onyx loom
#

thanks james

#

i should put that in terrible-plugin

surreal quarry
#

+1

static zealot
#

k launching

onyx loom
#

if i had more time i wouldve cleaned it up, but eh

static zealot
#

wtf is this

surreal quarry
#

wtf

#

lmao

forest pecan
#

did someone ping me

#

smh

jovial warren
#

oh fucking hell

onyx loom
#

fuck this

surreal quarry
#

incoming 32 nested for loops

onyx loom
#

new one????????

static zealot
#

yes pulse

#

new one?

forest pecan
#

was it u

surreal quarry
#

sure

forest pecan
#

lol

static zealot
#

yeah Pulse

onyx loom
#

i cba with the image shit ones

forest pecan
#

@static zealot fuck you

#

lol

static zealot
#

....

#

fuck you too

prisma wave
#

this one isnt hard i dont think

onyx loom
#

too much for my small brain