#dev-general

1 messages ยท Page 435 of 1

timber oak
#

So all methods in A should be accessible in B and C?

forest pecan
#

if everyone developed their own library we would all know SOLID in no time

#

unless they are designing a shitty

#

library

lunar cypress
#

Take java collections

timber oak
#

I don't see how they wouldn't work

steel heart
timber oak
#

If they are in the parent class

sweet cipher
timber oak
#

Yeah

sweet cipher
#

So sometimes people have methods just do nothing in a subclass

lunar cypress
#
List<String> list = new ArrayList<>();
list.add("");
```this works```java
List<String> list = List.of();
list.add("");
```this blows up
forest pecan
#

Or

#

ImmutableList.of("");

timber oak
forest pecan
#

(:

steel heart
#

No he argued for half an hour trying to prove public fields are better pulse lol

sweet cipher
forest pecan
#

wait

#

let me try find thsi shit

#

where is this

#

lol

old wyvern
sweet cipher
#

It kind of defeats the purpose of subclasses

old wyvern
#

All child classes must have somewhat of a similar outcome

timber oak
#

So, all methods in the parent class should also be used in the subclasses?

forest pecan
#

lol his packet api is a mess but also not a mess

#

it follows some conventions

#

but not others

old wyvern
#

As in, If you were to use the parent somewhere, all child classes must be substitutable in its place without breaking anything

steel heart
#

Of course valdemar it also depends on your needs for instance we might have the classes
Animal
Leopard
Dog
GoldenRetriever
Labrador

steel heart
#

If you need Animal then of course go with Animal, if you need dog go with Dog

timber oak
#

So the subclasses are just other version of the parent class? Kinda

#

or what

lunar cypress
#

It's a principle to apply when you extend or implement a type

sweet cipher
old wyvern
#

The way it does something may differ

#

But the outcome must be similar

#

or justifyable

sweet cipher
#

Like a database class, if you have an sql database class and yml database, they both might have a save() method, but save differently

steel heart
#

^

#

Jayjay

old wyvern
#

Forget "How", focus on "What" ๐Ÿ˜ , guess where this is going

sweet cipher
#

Antarctica?

old wyvern
#

Switch

#

to

#

Haskell

sweet cipher
#

Lol

timber oak
#

Alright, pretty sure I understand now

obtuse gale
old wyvern
obtuse gale
timber oak
#

Wait so dependency inversion is just liskov?

old wyvern
#

๐Ÿ‘€

oblique heath
#

๐Ÿ‘๏ธ๐Ÿ‘๏ธ

old wyvern
#

They are related tho

lunar cypress
#

Forget "How", focus on monadmonadmonad

old wyvern
#

=

#

<==<

oblique heath
#

hey kid, wanna buy some...
๐Ÿ‘๏ธ๐Ÿ‘…๐Ÿ‘๏ธ
monads?

old wyvern
#

==>

oblique heath
#

buck fiddy

steel heart
old wyvern
#

What was that

lunar cypress
#

wot

forest pecan
#

@hexed kettle

#

you tried

#

lol

oblique heath
#

an illegal link apparently

lunar cypress
#

invite link

old wyvern
#

Bot?

lunar cypress
#

with a wall of text

old wyvern
#

lol

forest pecan
#

he posted a discord link

old wyvern
#

sadge

timber oak
forest pecan
#

@hexed kettle lmfao

lunar cypress
# timber oak Which different things though?

they say fundamentally different things.
LSP just states that you should be able to replace any type with a subtype, while dependency inversion says you should depend on abstractions rather than implementations

steel heart
#

One as Johnny said substitutable subtypes, one depending on high level (abstraction) instead of low level which often would be done by dependency injection

#

Oh yeah what Johnny said

forest pecan
#

ServiceLoader good or bad

old wyvern
#

What service loader?

#

This?

forest pecan
#

yes

timber oak
old wyvern
#

No idea pulse

sweet cipher
timber oak
sweet cipher
#

It is

lunar cypress
#

Yes

sweet cipher
#

Try making a new List in IntelliJ

#

See what happens

#

Then try new ArrayList

lunar cypress
#

Implementations implement an abstraction

timber oak
#

ehhh what

old wyvern
#

Heres a easier way to think:
Abstractions define what is to be done,
Implementations of these abstractions define how it is to be done

#

So at a high level, you should only care about what is being done, rather than how it is being done

timber oak
#

How can there be more than one way to do it though? When you say how

steel heart
#

But just in general ServiceLoader would be nice

sweet cipher
old wyvern
# timber oak How can there be more than one way to do it though? When you say `how`

There are always multiple ways to perform an action.

Lets take a very simple example, You want to fetch the name and age of a person, this is the what, i.e, "fetch the name and age of a person"

This could be achieved through a number of different ways such as by a web request, a db query, or whatever else, each of these are the hows

timber oak
#

Makes sense, so what is "high level" based on importance for the program/plugin or what?

steel heart
#

Valdemar I would generally say that interfaces are functionalities where they specify a behavior. Abstract classes are data structures which have a common code for reusability. Then normal classes are just data structures. You implement an interface/functionality, you extend a data structure/class. Probably off topic what I said but ye๐Ÿ˜›

old wyvern
#

High level as in the action it performs, its relative

timber oak
#

the boolean

forest pecan
#

anyways

old wyvern
#

Because of how captures work, you cant mutate captured values, you can only mutables things that this value holds references to

forest pecan
#

Yeah cause Java doesnt want to access an object while its being modified

#

you can either use Atomic or make it final

steel heart
#

Yeah what yugi and pulse said

forest pecan
#

atomic has blocking

steel heart
#

one element array

#

Lol didnโ€™t think of that

timber oak
#

Why does java not like that though? And how is it being modified while Im getting it?

#

Because it's in a runnable?

forest pecan
#

its not always the case

#

but it could

#

happen

#

so thats why its enforced

#

never a guarantee

obtuse gale
#

Look man I'mma spit some facts

#

Java sucks

forest pecan
#

but C++

steel heart
#

Valdemar itโ€™s actually to prevent memory leaks

forest pecan
#

casting void to int

#

lol

timber oak
steel heart
#

Yes

old wyvern
forest pecan
#

some random ass thread could just peek up and modify the object

#

even if it doesnt exist

steel heart
#

That method there is implemented by you, not necessarily run. Letโ€™s say youโ€™d be able to reference variables from that method inside the run method then it would have to keep track of that variable even though the outer method might have ended termination long time ago.

old wyvern
#

It simply passes the required variables onto the anonymous class, and since java is pass by value, the reference inside the anonymous class is different but just pointing to the same object, mutating this object only changes the object inside the anonymous class

#

Which is why java disallows this

timber oak
#

ahhh okay

forest pecan
#

mutation is dangerous

#

lol

old wyvern
#

C# allows this and generates a intermediary reference class but that just leads to another set of problems

forest pecan
#

๐Ÿคก

timber oak
#

I kinda wanna start learning C#

old wyvern
#

Sure, give it a go

humble silo
#

Is it worth it to put a bunch of time and effort into getting Minecraft in java 11?

timber oak
#

Mostly to try out game development in Unity though

steel heart
#

Not much difference chestly

old wyvern
#

Thats what I mostly use it for as well vald

humble silo
#

Ik, i just really wanna use the module system

forest pecan
#

not much difference to change and people can finally UPDATE

humble silo
timber oak
humble silo
#

lwjgl uses sun.misc stuff so i might eventually just need to re-write part of it...

old wyvern
#

About 2 yearsish, part of the curriculum

timber oak
#

Because I think I'll start out with Unity then after some time I'll maybe go over to UE because it's better but more difficult

#

I think

#

Less limits in UE

old wyvern
#

UE has a much better visual scripting system

timber oak
#

Unity is way easier to begin with when I have basic java knowledge though, at least I hope I do lol

#

Since C# is a lot like Java

forest pecan
#

C++ is a great language change my mind

old wyvern
humble silo
forest pecan
#

i have to call destroy every single time i type new

obtuse gale
forest pecan
#

lol

steel heart
humble silo
#

no, html actually

forest pecan
#

The compiler, yes

old wyvern
#

Not neccesserily

#

It doesnt need to

humble silo
#

compiler is built on html

forest pecan
#

well

#

early compilers

#

for Java were made in C/C++

old wyvern
#

Yes, but its now written in java itself I believe?

humble silo
#

Didnt they use to use Java in web broswers instead of JS or something?

old wyvern
#

Not a replacement for js afaik chest

#

applets yes

humble silo
#

we need those back

#

#ruintheinternet

old wyvern
#

Security vulnerabilities

humble silo
#

exactly

forest pecan
#

the compiler is written in java

#

but the jre is written in C

obtuse gale
#

๐Ÿฅฒ

humble silo
#

ew

old wyvern
obtuse gale
#

h

humble silo
#

coffeescript

old wyvern
#

ElaraBrowser will run Java applets

forest pecan
obtuse gale
#

When your Java installation completes, you may need to restart your browser (close all browser windows and re-open) to enable the Java installation.

old wyvern
#

That was my only point pulse

forest pecan
#

but in general, they should be written in C/C++ lol

old wyvern
#

Why?

onyx loom
#

elaraplets

forest pecan
#

well if we wrote the jre in python

#

lol

humble silo
old wyvern
#

Rust

#

Go

#

Haskell ๐Ÿ˜Œ

forest pecan
#

Correction: Low level languages

old wyvern
#

Rust is low level?

forest pecan
#

Well yes but actually no

old wyvern
#

well

#

I mean

forest pecan
#

lol

old wyvern
#

even c++ is high level in a sense

#

But if you consider c++ low level

#

so is rust I assume

forest pecan
#

Yeah

humble silo
#

why is objective c considered one of the worst programming languages of all time?

#

is it that bad?

lunar cypress
#

If you want to get technical no programming languages except assembly languages are low level

old wyvern
#

^

forest pecan
#

If C++ is considered high level what is python

humble silo
#

dang lua is on the list

#

of 2019*

obtuse gale
#

I mean C++ is a high level language, but it allows for low level crap

obtuse gale
forest pecan
#

lmao

old wyvern
steel heart
#

C++ on drugs?

old wyvern
steel heart
old wyvern
#

Want a pack?

humble silo
#

Im so hungry im about to start crying

#

kindof

steel heart
#

E A T

humble silo
#

ramen?

steel heart
#

Yummy

forest pecan
#

im eating steak

#

rn

humble silo
#

nice

#

ok

old wyvern
humble silo
#

ramen

forest pecan
#

eat ramen at 1 am

lunar cypress
#

I suppose the question is what you define high level as. Do you define it as "relatively moved away from the hardware" or "supporting abstract programming concepts beyond the cpu instructions"

steel heart
#

Ramen time

forest pecan
#

spicy

humble silo
#

i didnt eat lunch

forest pecan
#

do you live in the middle of the us?

#

lmao

humble silo
#

seattle

#

wa

forest pecan
#

Makes sense

old wyvern
#

Then just have lunch ig, is it normal to have ramen in the after noon?

humble silo
#

idk

forest pecan
#

Sure

humble silo
#

ok adios

old wyvern
#

ciao

forest pecan
#

you talking about ramen like the fast one?

#

where you just add hot water

#

or like actual ramen

humble silo
#

no im not going to any effort

forest pecan
#

you can eat those anytime

#

lmao

lunar cypress
old wyvern
#

What is the "actual" ramen?

humble silo
forest pecan
#

ramen is an actual dish

#

you know yugi

#

lol

steel heart
#

Hmm interesting Johnny. Havenโ€™t really thought about that one lol

old wyvern
#

I dont ๐Ÿ‘€

#

Like chowmein?

forest pecan
#

Ramen () (ๆ‹‰้บบ, ใƒฉใƒผใƒกใƒณ, rฤmen, Japanese pronunciation: [ษพa๊œœหmeษด]) (literally: "pulled noodles") is a Japanese noodle soup. It consists of Chinese wheat noodles served in a meat or (occasionally) fish-based broth, often flavored with soy sauce or miso, and uses toppings such as sliced pork (ๅ‰็„ผ, chฤshลซ), nori (dried seaweed), menma, and scallions. Nea...

#

No

steel heart
#

Gonna save it (:

old wyvern
#

Oh

#

Looks weird

forest pecan
#

chao mien is like stir fry noodles

old wyvern
#

Yea

old wyvern
#

Is ramen not fried?

forest pecan
#

not always

steel heart
#

Ramen noodles (:

obtuse gale
#

we need #food back ๐Ÿ˜ซ

old wyvern
#

So just boiled?

lunar cypress
#

yes we do

#

Im gonna bake a cake again on friday

forest pecan
#

well, you could boil or fry it

#

if you fry it the ramen will turn into a snack

old wyvern
#

That sounds.... mildly... disgusting

forest pecan
#

it tastes great

#

im not capping tho

#

if you fry the noodles only

lunar cypress
#

how could fried noodles possibly be disgusting

forest pecan
#

i didnt do that obviously. i bought one from a brand

lunar cypress
#

worst you can get is they taste like nothing

old wyvern
#

Wouldnt boiling without frying just make it watered down dough?

forest pecan
#

that fried/dried noodles

#

nah

old wyvern
#

Just boiled

obtuse gale
#

john

#

he's damn serious

old wyvern
#

Johnny*

old wyvern
#

I do the same for gab

lunar cypress
#

Have you never eaten non-fried noodles?

obtuse gale
#

Johnathan :)

old wyvern
#

Nope

forest pecan
#

Lmao

lunar cypress
#

lol ok

old wyvern
lunar cypress
#

it's very common

old wyvern
#

I see

#

Does it taste any different?

forest pecan
#

We don't really see fried noodles actually that often

#

It tastes very good actually

old wyvern
#

Better than fried?

forest pecan
#

i mean, they are good in their own ways

steel heart
#

Non fried noodles HyperGasm

old wyvern
#

Alright, I need to find a place that sells these

forest pecan
#

Although, I commonly see soup noodles (the boiled noodles) pretty common around my area

lunar cypress
#

Find yourself an Italian restaurant

forest pecan
#

that works too lmao

#

thats how spaghetti is made

old wyvern
#

I might just order home

humble silo
#

Doesn't this look great?

#

Ew

obtuse gale
#

oh god

half harness
#

lol

lunar cypress
#

perfect

forest pecan
#

is that a plate?

#

lmao

half harness
#

that looks like a pot

lunar cypress
#

probably a bowl

old wyvern
#

Boil it?

humble silo
#

Best type

forest pecan
#

lmao what

old wyvern
humble silo
#

I'm gonna eat it cold

forest pecan
#

you will throw up or smthing

#

it wont taste good

humble silo
#

Ok ok

half harness
#

f my scoreboard isn't working

forest pecan
#

at least boil it

#

or smthing

obtuse gale
half harness
#

:c

lunar cypress
#

You already put it in water

forest pecan
#

or add hot water and stir it

humble silo
#

The water is boiled

forest pecan
#

how old is the ramen btw

#

lol

humble silo
#

Idk a month?

old wyvern
forest pecan
#

lmao

humble silo
#

Right

lunar cypress
#

my former vietnamese flat mate ate that all the time

#

the same way

old wyvern
#

With an inside out bowl?

#

๐Ÿฅฒ

forest pecan
#

my mom be like "either way you are getting the nutrients bro. It's just in a cheaper way"

lunar cypress
#

idk what the fuck an inside out bowl is

humble silo
#

Is this how it works?

old wyvern
#

xD

old wyvern
lunar cypress
#

lol

humble silo
#

Yum time to eat

old wyvern
#

dont forget to heat it till the plastic melts

forest pecan
#

eat the packet

#

i heard it tastes good

old wyvern
#

Thats where the flavour is at

forest pecan
#

Yeah the plastic

old wyvern
#

Yum

forest pecan
#

For the extra flavor, tap in some bolts and screws

lunar cypress
#

do you know those silica packets from packages

forest pecan
#

Yeah lol

old wyvern
lunar cypress
#

awesome flavour

old wyvern
#

ikr

forest pecan
#

im not capping, but you can eat those without dying unless you eat like 20 of those

old wyvern
#

Anybody had cyanide?

#

Pretty great they say

forest pecan
#

They aren't super harmful but they will taste nasty

old wyvern
forest pecan
#

lmao nah

old wyvern
#

lol

forest pecan
#

its the medical youtuber

#

i forgot the name

old wyvern
#

Vladmir Putin the Second?

forest pecan
#

Chubbyemu

#

lmfao

old wyvern
lunar cypress
#

you can find big threads online of people discussing the taste

forest pecan
#

Nooooo u cant just eat silica gel packets for breakfast
I have a podcast second channel at @Heme Review
See references below to read more about silica gel

A Man Had An Accident With A Weight Loss Chemical. This Is What Happened To His Organs. โ–บ https://youtu.be/ChPeG19qKUo
A Man Swallowed A Fishbone. This Is What Happened To His Liver. โ–บ https...

โ–ถ Play video
old wyvern
#

Oh god

#

eq

lunar cypress
#

eww

old wyvern
#

Please delete that embed

forest pecan
#

dude the intro tho

#

lol

old wyvern
#

tf is that

lunar cypress
#

the forbidden cauliflower

old wyvern
#

a bust lung?

forest pecan
#

lol

old wyvern
#

a fried kidney?

#

superman?

forest pecan
#

superman?

#

damn

forest pecan
#

never knew it would that tasty

humble silo
#

Wow

#

Who wants to see the side???

forest pecan
#

Credit
LEGO Train: https://youtu.be/emP0en2gtHI
LEGO Rescue Helicopter: I actually filmed that myself since I couldnโ€™t find a clip of it and I said to myself โ€œwhy not use the toilet?โ€ And I threw my LEGO copter into the toilet no questions asked, the video must go forth.
LEGO Police Boat: https://youtu.be/XvbFzpVdJQ0
LEGO plane: https://youtu.be...

โ–ถ Play video
old wyvern
#

Fuck state, Im just gonna have this write to a db and use that for reactions

old wyvern
forest pecan
#

lol

humble silo
#

Can raw pork kill you?

forest pecan
#

yes

humble silo
#

Perfect

forest pecan
#

they can have parasites

#

and worms

humble silo
#

More the merrier

#

Also more protein ๐Ÿ›

old wyvern
#

According to "Contagion", it might also kill about a million people or so

lunar cypress
#

There's that one picture of the insides of a woman who only ate raw meat for years or something

#

Its disgusting af

old wyvern
lunar cypress
#

Everything full of worms

old wyvern
#

๐Ÿ˜–

old wyvern
#

Ok, too much

#

xD

lunar cypress
#

there it is

forest pecan
#

who the hell eats that shit

obtuse gale
#

A chinese woman

lunar cypress
#

On that note good night

humble silo
old wyvern
#

Im leaving as well

#

gn

forest pecan
#

the bao zi

humble silo
#

Well everything is raw

#

But besides that

#

Jkjk

cinder flare
#

I, too, have like 30 things of ramen in my pantry

humble silo
#

Who says im in college?

forest pecan
#

ur mom

cinder flare
#

lol

humble silo
#

Im in the streets

cinder flare
#

that's just the typical college meal

humble silo
#

fending for myself

cinder flare
#

oh

humble silo
#

yes

#

ik

cinder flare
#

well makes even more sense

forest pecan
#

how do you code

#

then

cinder flare
#

he writes it on the sidewalk

humble silo
#

trash can coding

cinder flare
#

and someone codes it for him

humble silo
#

or that

forest pecan
#

lol

humble silo
#

in the coals

forest pecan
#

what if you took an arm

humble silo
#

I have this large 20 pack of ramen

forest pecan
#

and used the arm

#

to write

humble silo
#

and im trying not to go through it immediately

#

but its very hard

forest pecan
#

weird. I thought you were a chest

#

you aren't supposed to take anything

humble silo
#

hmm

#

ill have to rethink that

forest pecan
#

lol

static zealot
#

Gian just promoting his github again in #showcase xD

onyx loom
#

standard

humble silo
#

Where do people get these nice profile pictures?

static zealot
#

which ones?

onyx loom
#

mine kappa

humble silo
#

wel

#

the nice custom ones

#

Someone make one for me

#

lol

onyx loom
#

which ones are u talking about

obtuse gale
#

probably like Gian's or Skylar's

forest pecan
onyx loom
#

blitz's pfp tho

forest pecan
#

what about mine

onyx loom
#

ugly

humble silo
forest pecan
#

๐Ÿฅฒ

onyx loom
#

blitz pfp is a masterpiece

static zealot
onyx loom
#

damn u sexy

forest pecan
#

I wanna sex

obtuse gale
#

Same

onyx loom
#

same

obtuse gale
#

wow what a bunch of virgins

forest pecan
#

lmao

onyx loom
#

๐Ÿฅฒ

static zealot
forest pecan
#

but im not either

#

/s

#

i have no gf and im a virgin ๐Ÿฅฒ

static zealot
#

k

ocean quartz
#

You're young though

obtuse gale
cinder flare
#

you got it all figured out!

half harness
#

anyone want to help test out my bedwars plugin :p

half harness
#

;-;

forest pecan
#

quick

#

which one

sweet cipher
#

or

forest pecan
#

lmfao

obtuse gale
#

Did you guys see how nice console commands look on Paper now while you're typing them?

oblique heath
#

o.o

obtuse gale
#

Trying to replicate the in-game look & feel

#

red for unknown cmds

#

or invalid cmds/argumends

humble silo
#

Im so tired

#

and its like 6pm

obtuse gale
obtuse gale
#

where on earth do you live

humble silo
#

Ive told you so many times

obtuse gale
#

not me

humble silo
#

I wont expose my ip which is 192.0.0.1

#

i have best ip

#

i mean

#

no

#

not eastern

#

dumbo

cinder flare
#

6 pm, pacfic

#

yea

humble silo
#

no

cinder flare
#

im tired too okay

humble silo
#

chestly time

obtuse gale
#

lol

cinder flare
#

west coast

humble silo
humble silo
cinder flare
#

im in mountain

#

you're in pacific

humble silo
#

I also mountain

cinder flare
#

what

humble silo
#

yes

cinder flare
#

are you in arizona

humble silo
#

im so tired

#

no

cinder flare
#

you

#

're

humble silo
#

ive told you where i live too

cinder flare
#

not in mountain then

humble silo
#

my exact adress

cinder flare
#

it's 7:44pm in mountain

humble silo
#

Im in house

#

guess which house

#

hint

#

its in the PST timezone

obtuse gale
#

your neighbor's

humble silo
#

exactly incorrect

cinder flare
#

fucking what

humble silo
#

bad swear

#

Im pretty sure i have the mind of a 5 yo rn

#

i literally cant think

humble silo
cinder flare
#

ugh I still need to do calc homeowrk

#

fuck

#

why can't school just be over already

humble silo
#

cause

#

well

#

I dont have stuff due till friday

#

and im tired

#

so its not happening

cinder flare
#

bro next week is finals week for me

#

I just gotta finish out a few assignments and then take my finals and it's over

humble silo
#

I have two full months left, though monday was actually my first day in person in like 13 months

#

so that was interesting

late dove
#

yo so Im learning how to use maven? Except for one of the plugins im looking for a repo for i cannot find, can I still use the normal intellij dependencies(add jars or directories) and maven dependencies for my project?

cinder flare
#

first off, yikes to the maven thing

#

and second, yes you can use local libraries you download, just put them in a libs folder and add them to your maven local

humble silo
#

or install them into your maven folder

#

thats kindof annoying though

humble silo
late dove
#

so ok im in my .m2 repositories folder, but how do i go ab putting my local dependencies into the project

#

?

cinder flare
#

dude 2 seconds to google

#

i believe in you

humble silo
#

I was really dumb like 2 months ago and i made a dependency mangaement thingy that would search a directory for jar files and either install them in maven or gradle

#

it didnt work and caused me pain

#

well it did work actually

#

but not wel

late dove
#

thanks LOL

ocean quartz
#

Don't use system scope though

obtuse gale
#

Yet another reason for me to be even lazier when considering fully switching to linux

cinder flare
#

i gleefully await the day they announce they're replacing the Windows backend with a POSIX compliant one

obtuse gale
#

lol

cinder flare
#

then you can install the Windows desktop environment on any linux system >:)

obtuse gale
cinder flare
#

dude they have everything on github now

#

best acquisition ever

obtuse gale
#

They do

obtuse gale
cinder flare
#

lmao Microsoft Teams for debian

#

yikes

obtuse gale
#

are image fully considered "embeds" now?

#

well I guess they are

cinder flare
#

wtf is happening

obtuse gale
#

oh god stop me please

#

yoooooo

cinder flare
#

lol they didn't turn off autocorrect lining

obtuse gale
#

oh only for images though?

#

I can't seem to remove that one without deleting the message

cinder flare
#

that's just a file download

#

not an embed

obtuse gale
#

I mean I literally just copy/pasted like I'd do with an image

obtuse gale
obtuse gale
#

unless

#

maybe it needs a message too ๐Ÿ‘€

ocean quartz
#

Thanks I was looking for the pin assignments for the MC68H(R)C908JL3E

obtuse gale
#

I gotchu bro ๐Ÿ’ช

cinder flare
#

finally I can manufacture my.. uh... button?

hot hull
#

You dontt

static zealot
#

Well I dont see it on phone at least

#

Lmao

#

Damn BM at 900k xp

ocean quartz
#

Literally no life smh

obtuse gale
#

no u

ocean quartz
#

Ooo i'm almost passing Aboo

static zealot
#

Lmao

#

Oh damn thats a huge sticker

obtuse gale
#

Lol

static zealot
#

๐Ÿ’ฉ

#

๐Ÿ”ด๐ŸŸ ๐ŸŸก๐ŸŸข๐Ÿ”ต๐ŸŸฃ๐ŸŸคโšซโšช

#

Ok good night

#

Lmao

oblique heath
regal gale
#

๐Ÿ’š

hot hull
static zealot
#

No

hot hull
#

Fix your sleep schedule nerd

ocean quartz
#

Never

static zealot
#

K nerd. You finally did yours and noe you are acting all cool and shit

hot hull
#

Mine was never fucked to begin with

forest rover
#

hi

forest rover
forest pecan
#

Itโ€™s like 12 am and Iโ€™m writing shitty code

#

Someone help lmao

#

Who wants to see the shit code

humble silo
#

Ive decided to switch over to only using sun. classes

#

I good coder

#

and i got this wanky new compiler that doesnt complain when i do it in java 11

#

i mean what?

humble silo
#

though i will hate on u if its better than mine

#

ftr

forest pecan
#

Itโ€™s just that it could be better

#

I will send you a package

humble silo
#

no it must be truly trash

forest pecan
humble silo
#

why would you check it in if its that bad??

forest pecan
#

Cause Iโ€™m about to sleep

#

And when I wake up I gotta go somewhere

#

And I bring my laptop

humble silo
#

#heavyweight constructors

forest pecan
#

Which got the IDE

#

lol

#

Yeah

#

Thatโ€™s what Iโ€™m talking about

#

The constructors are so DRY

humble silo
#
 final File downloaded = new File(library.getImageFolder().toFile(), FilenameUtils.getName(url));
    try {
      FileUtils.copyURLToFile(new URL(url), downloaded);
    } catch (final IOException e) {
      e.printStackTrace();
    }
    images = ImageUtilities.getFrames(downloaded);
    frameDuration = ImageUtilities.getGifFrameDelay(downloaded);
    scheduler = Executors.newScheduledThreadPool(1);
forest pecan
#

Mhm

humble silo
#

in a constructor ftr

forest pecan
#

I need to sleep lmao

humble silo
#

why didnt you just put that in your build method of the builder?

#

Pulse, im disapointed, i dont see any sun. usage here

forest pecan
#

Well ideally, i would put it as its own method

humble silo
#

Why use string when you could allocate and set space with Unsafe?

forest pecan
#

I am a bad coder

#

Iโ€™m sorry

#

I shouldโ€™ve switched to haske

#

Ahm

humble silo
#

No, its ok, you just need to start using sun.

#

its the answer

forest pecan
#

Yeah

humble silo
#

I got this great native library that adds pointers and everything into java too

#

And it will shut down the jvm if you try to use any features that make java java

#

Im not funny

forest pecan
#

Show me

#

Lol

#

Pointers in java tho

#

Lmao

humble silo
#

im kidding lol

#

that would be the best

forest pecan
#

๐Ÿฅฒ

humble silo
#

Well go start the grind

#

I dont know c++ well at all so its ur job

obtuse gale
#

Did someone say C++?

#

๐Ÿ˜

forest pecan
#

The only thing I hate about it is the stupid destroy thing

#

lol

#

Though it makes sense

#

Cause there ainโ€™t any GC

obtuse gale
#

Wait until you hear about smart pointers ๐Ÿ˜‰

forest pecan
#

Whatโ€™s that

humble silo
#

Please dont break my mind yet

#

I dont want to go insane

forest pecan
#

Coding in C++ actually requires skill cause if you fuck up pointers you could just cause memory corruption Lmao

cinder flare
#

smart pointers are just pointers that make you want to end your life less

forest pecan
#

Kek

ocean quartz
#

I would be a dumb pointer

humble silo
#

lol i didnt actually put it on my resume

#

that would be funny though

cinder flare
obtuse gale
#

But it's a tradeoff

obtuse gale
#

Because then you have to think about ownership

cinder flare
obtuse gale
#

๐Ÿ˜ณ

cinder flare
#

is kinda like rust

obtuse gale
humble silo
#

what show is that again?

#

oh btw

forest pecan
#

C++ be livin on the edge

cinder flare
forest pecan
#

He-Ra?

#

They-Ra?

humble silo
#

you like?

humble silo
cinder flare
forest pecan
#

now import every single class in the jdk

cinder flare
#

all 5 seasons

forest pecan
#

Lmao

humble silo
#

really?

cinder flare
#

straight fire

#

yea

humble silo
#

You have money????

#

dang

cinder flare
#

wdym what platform then

humble silo
#

lol

cinder flare
#

netflix is like, the most default

humble silo
#

im just kidding

#

ikr

forest pecan
#

Maybe one day I can sell my plugin

#

):

cinder flare
#

MML finna be payin for Pulse's netflix subscription

forest pecan
#

I donโ€™t get any money lol

#

I do it cause of motivation

#

Oh

#

xD

#

Stars on a gh repo surprisingly motivate more than I thought

humble silo
#

You can be another SuperDeluxeAsyncWhateverItsCalled

forest pecan
#

Yes lmao

cinder flare
forest pecan
#

Yes@

cinder flare
#

coke

humble silo
#

Im so sad, ive never gotten a star sad_sunglasses

cinder flare
#

yes

forest pecan
#

With that giant coc k

#

It motivates me

#

Each day I code

humble silo
forest pecan
#

I come closer 3 inches everytime I push a commit

cinder flare
#

haha math joke

#

god life is pain

forest pecan
#

Okay itโ€™s like 1 am right now I need to sleep cause Iโ€™m high

#

Lol

cinder flare
#

also why the integral symbol look like shit

forest pecan
#

Idk

cinder flare
#

it looks like its got a thing in the middle

forest pecan
#

Itโ€™s all your fault

cinder flare
#

๐Ÿ˜ฆ

forest pecan
#

๐Ÿ˜ฎ

obtuse gale
#

Looks fine on mobile

forest pecan
#

Looks like a cane in mobile

#

For me

oblique heath
#

how silly would it be to only access an sql db from one connection pool on one server, and use sockets to request a query through that pool

#

rather than connecting straight to the sql db from a bunch of servers at once

cinder flare
#

why]

oblique heath
#

because connection pools eat up a lot of connections

#

and sql can't exactly handle infinitely many

cinder flare
#

how many servers we talkin

#

cause im sure it can handle like 4-5 servers at least wroth

oblique heath
#

well lets say 30

#

or 50

cinder flare
#

who tf has 30 or 50 servers

oblique heath
#

i hope to :3

cinder flare
#

not even like hypixel does that

oblique heath
#

...

#

hypixel has literally thousands of server instances lmao

humble silo
#

Im gonna go to bed its late my time

#

almost 9

#

imagine that

cinder flare
#

i know but they don't all connect to a single sql database lmao

oblique heath
#

exactly

cinder flare
#

that's when you use other kinds of databases

oblique heath
#

hmm

#

like what? redis?

cinder flare
#

that'd be a good start

#

and mongodb is a classic

oblique heath
#

hm

hot hull
#

Imagine storing data

#

Pathetic

steel heart
#

Hypixel uses redis a lot

#

Unsure if they actually use mongo

jovial warren
#

they probably use Mongo where Mongo is useful

#

using Mongo to store permission/punishment data is a curse

#

but Mongo has its uses

steel heart
#

Yeah in that sense presumably

jovial warren
#

Mongo is basically a frontend to JSON, meaning you can store objects within objects

#

which is useful when you want children that are not repeated

steel heart
#

The point with mongo is to store unstructured data tho

jovial warren
#

(e.g. Paperโ€™s downloads API uses Mongo because it allows them to have all the builds under a single version object, and further down the tree)

hot hull
jovial warren
steel heart
#

Yes thatโ€™s what itโ€™s main usage is for

jovial warren
jovial warren
steel heart
#

The data is unstructured not json lol

jovial warren
#

Mongo is a frontend to JSON

#

all Mongo data is stored in JSON

#

thatโ€™s just a fact

prisma wave
#

Bson

lunar cypress
#

JSON data is unstructured

#

You can impose an additional structure, but it's not required for json

jovial warren
#

fair

steel heart
#

Yes itโ€™s stored in json format? But itโ€™s able to handle unstructured data at a good speed thatโ€™s like itโ€™s main usage and itโ€™s an irrefutable fact

jovial warren
#

true I guess

#

example of where Mongo sucks though is LuckPerms

#

since you need an entry to relate to other entries in other tables

steel heart
#

Yeah thatโ€™s probably one instance

jovial warren
#

(users have their permissions in a different table, and those need to be related)

steel heart
#

Havenโ€™t personally thought about that but it sounds correct not to use mongo there

jovial warren
#

but Mongo triumphs for unstructured and non-relational data, for example the Paper downloads API

steel heart
#

Hmm yeah I mostly use it for logs

jovial warren
#

who tf stores logs in a database table

#

do you know what a log file is?

#

I just use RollingRandomAccessFile in my Log4J 2 config and it handles all the logging and GZIPping for me

#

may or may not have stolen it straight from vanillaโ€™s Log4J 2 config

steel heart
#

Lol yeah Idk I mean the data is unstructured and it wouldnโ€™t need a lot of files

jovial warren
#

the only problem with my thing is that with the amount of times I start and stop Krypton, you end up with a hell of a lot of old zipped log files

quiet depot
#

ur still meant to have a strict schematic when using mongo

jovial warren
#

I mean, they take up very low amounts of storage (GZIP seems to be able to compress like 10 MB worth of text log data down into a matter of kilobytes), but it still makes me scroll

jovial warren
#

an unstructured database is about as useful as a chocolate fire guard

#

the whole point of databases is so you can organise data into something that wonโ€™t make you go insane

jovial warren
#

lol

#

I wonder if any other British people here have heard that one before

#

not sure if itโ€™s a British phrase, English language phrase, or just not a common phrase at all lol

jovial warren
#

how?

#

isnโ€™t the entire point of databases to organise and structure data?

lunar cypress
#

No?

lunar cypress
#

The point of databases is to store data, first and foremost

#

Idk why working without a schema would render your schemaless supporting database useless

oak coyote
#

Iโ€™m just too distracted by the โ€œchocolate fire guardโ€ rn

jovial warren
#

but whatโ€™s the point in using a database for unorganised data? if you want unorganised data, you might as well just store it all in a text file

lunar cypress
#

no, tf?

#

how is that comparable in any sense?

jovial warren
#

true I guess

#

Iโ€™m confusing organisation with structure

oak coyote
#

Letโ€™s put it in a database then my pc wonโ€™t go brrr anymore

lunar cypress
#

"I can add attributes to pieces of data as I like"
"well why don't you store everything in a text file then??"

oak coyote
#

Wait a second thatโ€™s not how this works ๐Ÿ˜ฑ

#

I donโ€™t use databases enough Iโ€™m just lazy to create them as Iโ€™ve never learnt all the theory behind them

lunar cypress
#

And if we get to entirely different databases it doesn't even make sense to force the use of a schema

#

look at datalog

#

Sure you can use schemas and you probably should when you can, but for the layout of the database it doesn't matter at all

#

The only thing you really get is indices

jovial warren
#

unorganised data is an anti pattern though, as itโ€™s not going to be very readable is it

oak coyote
#

Youโ€™re still going with this ๐Ÿคฆโ€โ™‚๏ธ

jovial warren
#

lol

prisma wave
jovial warren
#

yeah my stepdad uses that one too

#

tempted to showcase Krypton lol

#

because why not

lunar cypress
#

that just sounds like you threw a bunch of buzzwords together

jovial warren
lunar cypress
#

well... yeah, but what kind of point is that? Putting all your data in /dev/null is useless too and nobody is arguing that

jovial warren
#

lol

#

facts

#

imagine putting all your data in /dev/null yourself though

#

/dev/null as a service

prisma wave
quiet depot
#

ai blockchain deep machine learning python algorithm

steel heart
#

๐Ÿฅฒ

lunar cypress
#

Clojure vectors are faster than Java arraylists confirmed??
676.048785 +- 64.531253 ms/op
860.381775 +- 200.338442 ms/op

#

(adding 1M elements to an empty collection)

old wyvern
#

Try javas vectors

#

The growth rate might have been what made arraylists slower

lunar cypress
#

I wonder where the big error for arraylists comes from

old wyvern
#

Big error?

lunar cypress
#

yes

#

200ms

old wyvern
#

Oh tgat

#

Hmm

lunar cypress
#

10 iterations with 3 forks

quiet depot
#

@lunar cypress are those tests ready to run?

lunar cypress
#

nope, some are still skipped for some reason that I'm trying to find

jovial warren
#

should Java vectors be used where the data will most likely be resized often?

lunar cypress
#

the jmh gradle plugin doesn't put thousands of null bytes in the results file anymore at least

quiet depot
#

I don't get how that plugin works

#

while it's running it has a text file with all the tests in plaintext

#

then once it's finished it's all converted to hex

#

surely I'm missing something

quiet depot
#

do they provide a tool you're meant to use with the hex file?

#

no?

lunar cypress
#

No, you provide the result format you want to have

quiet depot
#

oh so when we did it before, you manually set it to that?

lunar cypress
#

no, I set it to txt or csv

#

the fact that they put null bytes in the results file was a bug

#

apparently

#

because it's gone 2 patch versions later

#

and now they put the interim results on stdout

#

which also makes a lot more sense

quiet depot
#

last time I personally used jmh though it wasn't like that

#

maybe I used it differently

lunar cypress
#

what was it like

quiet depot
#

it just put them in console

#

like how maven does it

quiet depot
#

yeah but this was before whatever patch you're talking about

#

3 months ago

lunar cypress
#

yes I'm talking about the plugin

#

Which is supposed to be a thin wrapper of jmh

quiet depot
#

just checked, I was using the plugin too

lunar cypress
#

but it didn't use the same default behaviour

quiet depot
#

what plugin were u using?

#

maybe I was using a non official one by accident

lunar cypress
#

this is non official

quiet depot
#

yeah that's the one I used too

lunar cypress
#

there is no official gradle plugin

quiet depot
#

o

lunar cypress
#

which version did you use

quiet depot
#

0.5.2

lunar cypress
#

then they must have introduced a bug

quiet depot
#

or my shit memory is making things up and idk what i'm talking about

lunar cypress
#

also I just realised that picking a random index from 0 to a fixed size when the collection size is getting smaller continuously blows up

#

I'm a genius

rare condor
#

hi, can anyone tell me how to create my own MySQL database, because i never did it before

quiet depot
#

on localhost?

rare condor
#

ye

jovial warren
#

install MariaDB first

quiet depot
#

do you have the gui mysql client thingo installed?

#

I'm assuming this is windows

rare condor
#

okay, give me a sec i will install it

quiet depot
#

if you're installing mariadb you'll probably need to uninstall mysql first