#dev-general

1 messages Β· Page 202 of 1

potent vale
#

But you are free to tell me about it

prisma wave
#

I'd love to

quiet depot
#

it's like kotlin but good

#

they share like no similarities at all

onyx loom
#

elara doesnt feature division yet, great language

quiet depot
#

apart from being on the jvm

potent vale
#

youre saying kotlin is not giid?

ocean quartz
#

@empty flint You mean it not working correctly like the example you sent yesterday?

empty flint
#

yes

prisma wave
#

elara is a language that's flawless, it has many features such as:

fast (runs 5 lines in about 1ms)
has multiplication and division now
no floating point support
print function

empty flint
#

but it still gets colored

#

it's weird

quiet depot
#

5 lines per ms

ocean quartz
#

Yeah fixed it, just haven't released yet

quiet depot
#

the speedy gonzales of the snails

empty flint
#

Ah gotcha

prisma wave
#

wdym

#

that's very fast

potent vale
#

Hmm

prisma wave
#

for an interpreted language

empty flint
#

Let me know when you do release it please πŸ™‚

onyx loom
#

1ms is unnoticeable to the human eye 🌝

prisma wave
#

exactly

#

the human eye can't perceive less than 5ms

quiet depot
#

because computer benchmarks are based on what the eye can tell

#

of course

#

my bad

heady birch
#

Alls fine till you write a pacemaker in it πŸ™‚

onyx loom
#

yes

prisma wave
#

yep

potent vale
#

You made elara?

ocean quartz
#

I have giant glasses my eyes are no longer like mare humans, i can notice everything!

prisma wave
#

@potent vale mhm

empty flint
#

it has many features such as:

fast
@prisma wave πŸ˜‚

quiet depot
#

hmm

#

idk

#

I have a slight feeling

#

JUST AN EVER SO SLIGHT FEELING

#

that, that, is in fact, 6 lines

prisma wave
#

it's actually 9

onyx loom
#

even ebtter

quiet depot
#

wowza

heady birch
#

Piggy how do I merge papi3 root repo changes into my fork?

prisma wave
#
let a = 5
print(a)
let b = 15
print(b)
print(1 - 2)
let test = "LOOOL"
print(test)
print(3 * 4)
print(5 / 4)```
ocean quartz
#

Still above 1es though smh

quiet depot
#

pull request niall

prisma wave
#

if we do some maths, we can see that elara takes about 100us for a single line

#

therefore

#

fast

quiet depot
#

yeah as I said before

empty flint
#

1ms is unnoticeable to the human eye 🌝
@onyx loom No but when you gotta do something 100k times, 1ms or 2ms makes a huge difference

quiet depot
#

speedy gonzales of the snails

#

feel free to advertise that

onyx loom
#

bruh

quiet depot
#

blocky it was a joke lol

onyx loom
#

i aint even gonna reply to that

#

thanks for the clarification pig

prisma wave
#

1MS FOR 99 lines

#

NICE ONE elara

#

CAPS lock

empty flint
#

lmao

ocean quartz
#

Yesterday string builder was doing 10k in 1ms, elara still slow!

onyx loom
#

😳

prisma wave
#

😦

onyx loom
#

u best be prepared for some heated debates

prisma wave
#

elara 1.1:

  • optimized string builder
quiet depot
#

smh

heady birch
#

It asking you to review my own repo

quiet depot
#

imagine starting on 1 instead of 0

#

you're not a real programmer kid

prisma wave
#

fast

quiet depot
#

jesus

#

that's so fucking slow

prisma wave
#

how

ocean quartz
#

Elara 1.1.2 - performance boost
"What changed?" - Things

prisma wave
#

0.007ms per line

quiet depot
#

lol nah idk

frigid badge
#

that's pretty slow

#

should've been buffered

prisma wave
#

interpreted

#

no optimizaitons

quiet depot
#

i've got no clue how fast shit can or is meant to be

#

i'm just shit talking

prisma wave
#

it's very fast

#

trust me

quiet depot
#

yeah sure

#

i'm not convinced

onyx loom
#

trust the owner of the language with the language name in his username

potent vale
#

To know if its slow or fast, lets compare it

prisma wave
#

precisely

quiet depot
#

elara

#

paste the entire file here

prisma wave
#

i bet "kotlin" and "java" would run at about 300ms

quiet depot
#

ima run it in lua

prisma wave
#

the 1000 lines?

potent vale
#

I dont judge by myself im a human, i let the results judge

quiet depot
#

yeah

prisma wave
#

it's literally just print(3 * 4) print(5 / 4)
over and over again

#

lol

quiet depot
#

yeah paste it

#

pls don't make me generate it myself

prisma wave
#

😬

quiet depot
#

effort much lots not got today

ocean quartz
onyx loom
#

o

prisma wave
heady birch
#

plz add PlaceholderContext#hasArgument(int) getArgument(int)

prisma wave
quiet depot
#

hey if it's faster than light, at least it can say it truly exists

prisma wave
#

true true

onyx loom
#

nothing is faster than light
elara: hold my beer

ocean quartz
#

But if it's faster than light it doesn't matter

quiet depot
#

of course it matters

prisma wave
#

elara is the key to intergalactic travel

quiet depot
#

it's possibly the only thing that matters

ocean quartz
#

It's just energy

quiet depot
#

energy is just the abstraction

frigid badge
#

elara just bends spacetime to be faster than light

heady birch
#

PlaceholderContext could be made more useful

prisma wave
heady birch
#

boolean hasArgument(final int index);

prisma wave
#

kotlin is slower

#

how

heady birch
#

String getArgument(final int index);

prisma wave
#

bruh how is kotlin slower

foggy pond
#

Any good API for making custom mobs (Custom AI, Mythicmobs like)

heady birch
#

@quiet depot
T getArgument(int index, Class<T> type) throws SomeWrongTypeException
Idk just brainstorming

foggy pond
#

(For 1.16 possibly)

prisma wave
#

?????????

#

ok these are awful microbenchmarks but COMPILED kotlin literally does it in 87ms whereas elara takes 7

#

wtf

foggy pond
#

wha

prisma wave
#

basically

heady birch
#

Plot twist, elara results were in seconds

prisma wave
#

elara is faster than the JVM already

foggy pond
#

😒

prisma wave
#

plot twist

#

no

quiet depot
#

@prisma wave lua takes 0.9ms

#

get fucked

prisma wave
#

😦

#

lua is compiled tho

quiet depot
#

no it's not

prisma wave
#

is it not?

#

oh

#

ok but it has been optimized over like 20 years

quiet depot
#

yeah lol

hot hull
quiet depot
#

looks good

#

i gotta look at gabys thing

#

got distracted

hot hull
#

The api is smexy ngl

quiet depot
#

which parts?

hot hull
#

bukkit sponge and nukkit garbage tho

ocean quartz
#

Sponge isn't bad

hot hull
#

Could be better fingerguns

quiet depot
#

@distant sun found the problem

static zealot
#

java doesn't have when? big sad 😦

quiet depot
#

newer java vers do

hot hull
#

newer java be like kotlin

static zealot
#

oh well 1.8 doesn't have it and that's what I'm mostly going to use 😦

hot hull
#

Might as well use kotlin at that point Blitz

static zealot
#

well the tutorials for kotlin are shit.

frigid badge
#

@static zealot smh

#

bet you use mc 1.7 too

static zealot
#

they are like. you don't rly need to know java to learn knotlin using this tutorial but you still need to know java xD

quiet depot
#

@distant sun pushed a fix

#

ur placeholders are still broken, but at least the correct one is chosen now

distant sun
#

How so

#

And what was the issue

static zealot
#

so so

quiet depot
#

And what was the issue
@distant sun the values are 0

#

issue was that I was only checking the first argument when searching for a placeholder match

#

it uses the whole thing now

distant sun
#

Uh

#

Ttyl

#

Are you leaving soon?

quiet depot
#

no

distant sun
#

Good

quiet depot
#

don't think so

#

depends if my circadian rhythm kicks in

distant sun
#

Your what

quiet depot
#

A circadian rhythm is a natural, internal process that regulates the sleep-wake cycle and repeats on each rotation of the Earth roughly every 24 hours. It can refer to any biological process that displays an endogenous, entrainable oscillation of about 24 hours.

static zealot
#

Piggy please stop using big words around here. You make us feel bad

#

for being stupid

#

thanks!

distant sun
#

You mean go to sleep?

quiet depot
#

yes lol

hot hull
#

kek

distant sun
#

Lmao

static zealot
#

xD

quiet depot
#

I honestly didn't know this wasn't common knowledge

#

I learnt about it in primary school for gods sake

static zealot
#

I didn't ..

#

I never heard of that in my life

distant sun
#

Akka dakka

hot hull
#

Ofc you did, it's useless shit

static zealot
#

I barely remember anything from my 12 years of school bcz writing and reading I've learned during kindergarten

#

so that doesn't count.

frigid badge
#

well it isn't your circadian rhythm that makes you sleepy or what kicks in

#

it's actually a different hormone which builds up

#

which resets when you sleep

quiet depot
#

blue light prevents the hormone from building up, correct?

#

or at least prevents the effects from being registered

#

lemme just get a flashlight and shine it in my eyes when I feel drowsy

frigid badge
#

bluelight prevents melotonin

#

there's this video which explains it pretty neatly

quiet depot
#

oof

#

I remember watching that channel yonks ago

#

when he didn't have that legendary moustache

frigid badge
#

lmao

static zealot
#

fun fact. When I was smaller I thought kindergarten is called kindergarden and I was like how can a garden be kinder than others? xD

frigid badge
#

lmao

static zealot
#

there are still probably hundreds of words I don't actually know what they mean I just assumed they mean something and went with that but won't bother to check any time soon.

quiet depot
#

blitz in all fairness, that's probably a super common mistake

#

even among natives

#

I personally know I used to make the mistake

static zealot
#

also I am like trash at pronouncing things in english. The spelling is not that bad but when you ask me to talk I just can't xD and I know that's bad and I'm trying a lot but its a problem when for 8 years your teachers didn't teach you shit and I had to learn it by myself using google translate while playing minecraft.

frigid badge
#

does anyone know if google blocks imap connections from azure ips?

static zealot
#

question: What is difference between arrays and lists? Arrays have 2 dimensions while lists have just one? or am I wrong on this one as well?

quiet depot
#

lists and arrays are one dimensional

#

an example of a two dimensional array is String[][]

static zealot
#

oh

#

that's good to know.

quiet depot
#

a list, List<List<String>>

static zealot
#

oh its a list of lists makes sense

hot hull
#

ugly

quiet depot
#

yeah avoid them

#

the only time I've ever needed a list of lists, is when doing pagination

static zealot
#

oh I should avoid them? My teacher told me they are pretty useful. She teached C++.

quiet depot
#

I should really refrain from talking about shit I'm not certain on damnit

#

idk if they're bad

#

chances are you'll never need them though

prisma wave
#

You could probably just use a Map most of the time

frigid badge
#

two dimensional arrays are useful in like geo stuff.

#

at my work we have a piece of software which detects asbestos in houses from air pictures

#

and it uses a load of two dimensional arrays

heady birch
#

Out of interest what is that written in?

frigid badge
#

uh, python & c# iirc.

heady birch
#

Also from air pictures? thats quite clever

frigid badge
#

it was for a client

static zealot
#

yeah I mean we didn't learn about Maps. idk if there are maps in c++ xD

heady birch
#

Must have like super zoom or?

frigid badge
#

I don't really know the specifics of it, they supply the pictures

#

it was already made before I worked there

hot hull
#

If only there was a clean way of getting tps smh

heady birch
#

count ticks

#

divide by seconds

quiet depot
#

yeah

#

4head

hot hull
#

Imma smack both of you

frigid badge
#

i mean honestly it's not that hard

#

just need money

static zealot
#

wait but what's the difference between Array and List then?

quiet depot
#

a list is an ordered collection of elements

#

an array is an ordered collection of elements

#

a list is a supertype, an array is a concrete type

#

a list could be a linkedlist, or an arraylist

#

(arraylists use arrays btw)

#

whereas an array is always, simply an array

prisma wave
#

arrays also are fixed size

#

Whereas I'm pretty sure the contract of List is that it can grow and shrink

heady birch
#

hello

#

must convert mysql column

#

remove PK from address

#

move data from address to id

prisma wave
#

it's saturday idiot

static zealot
#

wait minecraft live in 1 hour?

steel heart
#

Yes

hot hull
#

@prisma wave idot*

ocean quartz
#

That's so random lol

#

Like, her response

static zealot
#

its not random. I think its pretty good.

#

I think she said it as in he just woke up to reality

#

bcz he asked something that its suppose to have just 1 answer

#

I might be just stupid and overthink it but yeah what do I know

heady birch
#

Thats a good point actually

#

out smarted

static zealot
#

I mean here we say something similar a lot. well not similar its just good morning sunshine but its sarcastic.

#

guys you don't understand how good github is. Like my whole coding is just going on github, finding programs and stuff that do things I want my program to do and just copy them.

steel heart
#

lol

#

I mean yeah github is well made

heady birch
#

true british engineering

static zealot
#

xD

#

I should thank Matt and especially Glare for all the awesome cod I made. xD

steel heart
#

how to be hacker, copy pasta code, use it, hack

static zealot
#

oh method overloading seems nice. Its nice when you learn new things.

ocean quartz
#

Wow stealing my code!

static zealot
#

oh I forgot to delete my messagE?

#

you saw nothing Matt

#

also I didn't actually steal it.

#

you just gave me the idea to make the methods .parsePAPI and .log or whatever I named them.

#

instead of just using PlaceholderAPI..whatever..

#

I just never thought about that.

#

I didn't actually steal your code. I made my own methods.

ocean quartz
#

I'm just kidding xD

static zealot
#

but from waffle I 100% did

ocean quartz
#

Coding is basically stealing code from others and changing it to be yours xD

onyx loom
#

stackoverflow in a nutshell

hot hull
onyx loom
#

how far off is papi 3 do u reckon?

hot hull
#

idfk, I'm just a slave

onyx loom
#

ah sounds about right

#

u could potentially do some cool stuff with the new api in kotlin

frail glade
#

We discussed the use of Kotlin very early on but decided against it.

#

What new API stuff are you referring to?

#

@onyx loom It looks like your PR still has issues. Do you just want to open a new one with only the biome_formatted change? Looks like we already have the other 2 placeholders you PRed.

onyx loom
#

whats the issue?

frail glade
#

Says there is still conflicting files.

onyx loom
#

oh did u merge some other stuff again?

frail glade
#

I don't think I did at least

#

I just know the only think we actually probably need from that PR is the biome_formatted placeholder.

onyx loom
#

ah nvm its saying there is more commits than my version, but its from a different branch

frail glade
#

You probably merged the changes in.

#

Might be cleaner to close and re-open with minimal diff of the biome_formatted placeholder.

onyx loom
#

if u wanna just throw that code in and push it urself go ahead. probable easier lol

frail glade
#

Will do then

#

Thanks

onyx loom
#

πŸ‘

frail glade
#

Wait does this just do the same as biome_capitalized?

#

What's the purpose of this new placeholder?

onyx loom
#

thats a thing?

#

lol wth

frail glade
#

Does that do the same thing as yours?

onyx loom
#

when was that a thing thonking

#

yea

frail glade
#

Might've been in 1 of the PRs πŸ˜›

#

I'll just close yours then and move this to the testing stage.

onyx loom
#

np lol

frigid badge
#

could've just rebased or merged

#

instead of closing and making new prs etc

hot heron
#

@quiet depot Did you have to web scrape to make 10k people systematically? Or is there a person generator with an API?

distant sun
onyx loom
hot hull
#

@quiet depot So I pushed papi shit, but I don't think I've the braincells to push the server expansion shit

#

@distant sun If you around, I need guidance

onyx loom
#

would someone mind helping me flatten it out? not really too sure if i can

prisma wave
#

invert the first if

#
if (!input.startsWith("top_") {
  return;
}```
#

the rest really isn't that bad

#

although I think you have a bug

onyx loom
#

😬

prisma wave
#
 if (!String.valueOf(placement).equals(args[2])) {
                        placement++;
                    }```
you don't continue here, so it will always return after the first iteration
onyx loom
#

ah possibly

prisma wave
#

actually this whole loop is quite weird

onyx loom
#

i just converted that from an Iterator so thats new atm lol

prisma wave
#

what's the point of iterating over topPlayers at all?

onyx loom
#

i need to get the wins of the player from the List

#

the List only provides their placement

prisma wave
#

i'm fairly sure you could just do ```java
return String.valueOf(topWinners.get(Integer.parseInt(args[2]) - 1).getWins());

onyx loom
#

wait a minute

#

i may be stupid

prisma wave
#

assuming the input is like top_wins_3, then that would get the 3rd element in the list and return getWins()

#

lol

onyx loom
#

im so confused why i wrote this now

static zealot
#

yes me too

onyx loom
#

because thats basically what i did for

if (args[1].equals("player")) {
            return topWinners.get(Integer.parseInt(args[2]) - 1).getName();
        }```
static zealot
#

and I bet em as well

prisma wave
#

kinda surprised IJ didn't point that out tbh

onyx loom
#

thanks

prisma wave
#

np

onyx loom
#

no more arrow code aCrabRave

obtuse gale
#

Hello fellow developers

#

Are you all developing?

#

I am developing, like developers usually do, because I am one of them. I hope you are too.

#

:)

empty flint
#

What's the ::method notation called again?

prisma wave
#

function reference

#

or method reference

heady birch
#

Enum

quiet depot
#

@quiet depot Did you have to web scrape to make 10k people systematically? Or is there a person generator with an API?
@hot heron there was a generator that allowed me to generate 50 at a time, with a bit of inspect element, that changed to 10000. Sorry, I don’t know what the site was called

hot heron
#

Lol nice, I found one that let's me generate up to 10k in a csv. So I can use that and use some python to do what I need from there

lapis dawn
#

wait wut

#

generate 10k people?

hot heron
#

Yeah there are sites to generate fake people

#

Like a fake name with fake details

regal gale
#

FakeNameGenerator is very popular

#

I've been using it since 2017

#

Actually... to skip the survey thing..

hot heron
#

I'm listening...

obtuse gale
#

Gamers, I need your help

#

I need a somewhat large dataset of LuckPerms data

#

To test shit

#

Why am I even asking in this channel

#

How large

#

And to test what lol

#

Well larger than my 2 groups 1 user localhost lol

#

To test a thing I added to bulkupdate

#

You can just lp export --upload and send the generated code to not have any miniscule files roaming around

quiet depot
#

Lol nice, I found one that let's me generate up to 10k in a csv. So I can use that and use some python to do what I need from there
@hot heron link?

hot heron
#

Looks like you can order up to 100k lol

hot hull
#

@quiet depot so I've cloned the server expansion, how do I properly import papi shit now?

obtuse gale
#

secondly

#

I don't seem to have the programmer mindset they asid you are supposed to have on quora

#

they said i am supposed to be a problem solver

#

but for some reason i take longer than other people to think of solutoins

#

but when i do

#

the experience is just SO REWARDING

#

i just cant stop coding

#

its addicting

#

so yeah

#

anyone have any advice?

umbral mica
#

the experience is just SO REWARDING
the feeling of working on something for several hours, then finally getting your idea to actually work as intended is the best.

obtuse gale
#

wow i feel like i am bonding already

#

i already have made similar views with a person

#

this might go better than the other servers!

dawn hinge
#

the feeling of working on something for several hours, then finally getting your idea to actually work as intended is the best.
^^

obtuse gale
#

2 people!

#

Wow this is the best day ever

hot hull
#

The feeling of working on something for 10 hours and then it not working is best tho fingerguns

obtuse gale
#

should i conunt that as a -1

#

but then again

#

what anbout all the other people on this server

#

what about their views

#

its kind of like shroedingers cat

#

where the cat is half dead half alive

#

thier views are half and half which cancel out

#

so yes i will count as -1

#

therefore now im back to 1 person

#

😭

#

it appears i aint gettin any advice

#

so i will leave

#

and move on to the next server

#

its too bad i felt like i was bonding already

#

until @hot hull showed up

#

😭

empty flint
#

Is there a way to interpolate Strings in Kotlin using numbers?

quiet depot
#

@quiet depot so I've cloned the server expansion, how do I properly import papi shit now?
@hot hull wym import?

#

you don't even need to put it in ur ide

#

just copy the files over

hot hull
#

oh god, that's even worse than I thought..

empty flint
#

Or maybe I'm overthinking this but how does localization with ResourceBundle work when your String contains variables?

quiet depot
#

oh god, that's even worse than I thought..
yeah sorry

#

there's probably a better way

#

i just don't know how

#

I didn't set this up with prs in mind

hot hull
#

go merge weeb

#

Would be nice if you could just push those specific classes from the papi project itself to their own repos

#

Also, not sure how properly the config is made, as I've no idea how any of that works

quiet depot
#

@hot hull lol

hot hull
#

lol what

quiet depot
#

4head

#

check hacktoberfest pls

#

make sure it actually registered

#

I having a feeling it didn't

hot hull
#

Where does one check that

quiet depot
hot hull
#

yup it registered

#

wait no

#

Maintainers of the repository can add the "hacktoberfest" topic to their repository if they wish to participate.

quiet depot
#

aight

#

2 secs

#

@hot hull does it show now?

#

also fix package pls

hot hull
#

Yup works now

#

What's the package supposed to be :p?

quiet depot
#

you made it one folder

hot hull
#

ah

#

well how tf does one edit this kek

quiet depot
#

idk

#

why'd you use the online thing to edit it lol

hot hull
#

Doubt you even can

#

gimme a bit

#

Mark the second one as invalid since it's a useless one

quiet depot
#

@hot hull huh?

#

I'm confused

#

why didn't you just update your first pr?

hot hull
#

Cause effort

#

Don't judge me

quiet depot
#

...

#

it's one or the other lol

#

second one is complete, so i'll remove the first

hot hull
#

I mean sure

dawn hinge
#

nope

heady birch
#

Keep going with the programming you'll get alot out of it

dawn hinge
#

they left

#

f add i guess

obtuse gale
#

Thesourcecode discord server lol

heady birch
#

Inbite

obtuse gale
#

u arent accepting friend requestsl ol

heady birch
#

Nevermind their is a verification barrier

obtuse gale
#

lol what?

#

isnt it a captcha

heady birch
#

no Oauth

obtuse gale
#

ah

#

I think I joined before that existed

heady birch
#

Poor bear tell him to come back here

obtuse gale
#

lol why

hot hull
#

God I sometimes hate it when colors don't show up properly when using kotlin ;CC

prisma wave
#

Always been fine for me

heady birch
#

Yeah sounds like a frosty thing to me.
Windows is looking for a solution to the problem.
We found 1 useful solutions:

  • Use rust
prisma wave
#

rustc: E84829

  • Cannot make plugins in rust
    Solution: idiot
heady birch
#

Must make bindings πŸ™‚

#

rustyspigot

obtuse gale
#

getting there

heady birch
#

Nice

#

Naughts and crosses

obtuse gale
#

Now ive gotta work out why its slightly lower lol..... probably a spigot thing

#

then make it so it like doesnt yeet the background

heady birch
#

Just subtract a bit from Y

obtuse gale
#
        val newMap = MapBuilder.create().addRenderers(mapView.renderers).addRenderers(renderer).build().createItemStack()``` yeah... in terms of the background I tried just adding the old renderers to a new map but that apparently doesnt work...
distant sun
#

Hmm, cant store the X and O map and then clone them for each game?

obtuse gale
#

well I can, but the background is different for each, since each map has a piece of the grid on it

distant sun
#

Ah :(

obtuse gale
#

so idk what to do

distant sun
#

Never been a fan of canvas, sry

obtuse gale
#

hm

#

I could try sometinhg

#

kinda dodgy I think but it might work

#
        val renderer =
                if (position == 1 || position == 2 || position == 4 || position == 5)
                    ImageRenderer.create(MapImageHandler.fromText(text.toString(), MapImageHandler.bottomAndRightImage))
                else if (position == 3 || position == 6)
                    ImageRenderer.create(MapImageHandler.fromText(text.toString(), MapImageHandler.bottomHorizontalImage))
                else if (position == 7 || position == 8)
                    ImageRenderer.create(MapImageHandler.fromText(text.toString(), MapImageHandler.rightVerticalImage))
                else if (position == 9)
                    ImageRenderer.create(MapImageHandler.fromText(text.toString(), ImageTools.createSingleColoredImage(Color.WHITE)))
                else ImageRenderer.createSingleColorRenderer(Color.RED)```
#

Can I make that neat lol

#

Why the hell does it sometimes render it as a combination of two things...

#

That should be impossible

eternal blade
#

from where i can download nms versions?

distant sun
#

Build tools

prisma wave
#

Magic numbers bad

distant sun
prisma wave
#

illegal

distant sun
#

Elara

prisma wave
#

Elara

eternal blade
#

Gaby where exactly

#

??

obtuse gale
eternal blade
#

yea but i want only the nms with out spigot or craftbukkit

obtuse gale
#

if you run this for your relevant version it installs it to your local maven repo

#

Which you can then add via your build tool

eternal blade
#

i lost you

prisma wave
#

yea but i want only the nms with out spigot or craftbukkit
@eternal blade then you depend on minecraft-server iirc, but that still needs BuildTools

#

BuildTools is the only legal way of getting access to nms afaik

unreal briar
#

@obtuse gale You need 1 center piece, 1 corner piece and 1 middle piece (left, top, bottom, right). Rotate the map item to achieve required results

#

make it symmetric

obtuse gale
#

Ive got that sorted out

#

Its just sometimes it runs twice for some reason I think, I believe thats whats causing the problem

#

ok so its not being ran twice ._.

#

bruh im lost

hot hull
#

Hey lost, I'm dad

obtuse gale
#

hey dad,

hot hull
#

No clue what's what ,-,

obtuse gale
#

bro this is the most frustrating shit ever lol

obtuse gale
#

someone pls tell me why sometimes this generates a map with a o and x on it, when text is only one of them

#
        val renderer = when(position){
            1,2,4,5-> ImageRenderer.create(MapImageHandler.fromText(text, MapImageHandler.bottomAndRightImage))
            3,6-> ImageRenderer.create(MapImageHandler.fromText(text, MapImageHandler.bottomHorizontalImage))
            7,8-> ImageRenderer.create(MapImageHandler.fromText(text, MapImageHandler.rightVerticalImage))
            9-> ImageRenderer.create(MapImageHandler.fromText(text, ImageTools.createSingleColoredImage(Color.WHITE)))
            else -> ImageRenderer.createSingleColorRenderer(Color.RED)
        }```
obtuse gale
#

bruh this is the weirdest thing ever

#

it only happens if someone blocks someone else from winning

#

which tbh I dont even know how the code knows if someones about to win

obtuse gale
#

This literally shouldnt be possible

prisma wave
#

@heady birch 150 to change a database?

frigid badge
#

I already told him what to do

heady birch
#

I think you missed the point though

frigid badge
#

why are you deleting so many messages

#

jeez

heady birch
#

Lol

#

Must be flooding barrys logs πŸ™‚

frigid badge
#

nah

#

I've just seen you delete these messages

#

since I'm in these channels just reading/watching

quiet depot
heady birch
#

It seems simple as long as I can first of all generate this primary key

quiet depot
heady birch
#

main is that new? I guess they changed it

quiet depot
#

yeah gh was worried that people were going to connect the usage of the word with slavery

#

mind you only gh had this concern

#

literally no one asked for this

obtuse gale
#

Racism is no more

quiet depot
#

but there it is

#

yes aj

#

this alone solved the problem

obtuse gale
#

Clearly

quiet depot
#

gh really doing their part ya know

frigid badge
#

I can't explain why but it annoys me sooooo much

obtuse gale
#

^

quiet depot
#

it's annoying because it's petty

#

it's insanely petty

heady birch
#
mysql> ALTER TABLE airframe DROP PRIMARY KEY;
ERROR 1553 (HY000): Cannot drop index 'PRIMARY': needed in a foreign key constraint

I dont think it will be a good idea to ignore this

frigid badge
#

smh

#

you dumb

#

I gave you this step

#

yesterday

heady birch
#

In the vaguest possible way.

heady birch
#

Its midday now let me re read it

frigid badge
#

yes vague indeed

#

SET FOREIGN_KEY_CHECKS=0;

heady birch
#

I'm either being over paranoid but how am I going to re-add all the constraints to use the new id column?

obtuse gale
#

Apparently the terms blacklist and whitelist are also racist ._.

quiet depot
#

sorry for interrupting, won't bring it up again, just wanted to post this

The main thing that fucks me off with this is the illusion of positive change that comes with it. Like when people on Facebook do 20 situps to "raise awareness of cancer". It does fuck all to make a meaningful difference yet it allows everyone to sit back in their chairs and pat themselves on the back thinking they did something awesome.
https://www.reddit.com/r/programming/comments/h8w36t/github_will_no_longer_use_the_term_master_as/fut842k?utm_source=share&utm_medium=web2x&context=3

heady birch
frigid badge
#

@heady birch
1st you disable foreign key checks
2nd you then loop over all rows and update the relations and set their column to the id.

#

then you change all foreign key constraints

#

and then you change the primary key

heady birch
#

Stuck at 1. Can't generate values for id. Hibernate will not activate the @GeneratedValue unless it is also the @Id (primary key) on the field

frigid badge
#

don't use hibernate

#

for the generation

#

of ids

heady birch
#

Hibernate disables insert batching at the JDBC level transparently if you use an identity identifier generator

#

I mean I could make it AI field via SQL. But then I kind of have inconsistent id generated between table. will probably be fine

obtuse gale
#

Hello gamers

frigid badge
#

I mean just switch the primary key beforehand then

heady birch
#
mysql> SET FOREIGN_KEY_CHECKS=0;
Query OK, 0 rows affected (0.00 sec)

mysql> ALTER TABLE airframe DROP PRIMARY KEY;
ERROR 1553 (HY000): Cannot drop index 'PRIMARY': needed in a foreign key constraint

Do I need to run the SET on the server level (im in a USE) at the moment

#

Sorry my pure SQL is not very good I live behind abstraction layers as you can probably tell

frigid badge
#

do ALTER TABLE airframe DISABLE KEYS;

#

might help

#

also no need to drop it

#

you can switch it iirc

#

and your db is only used by you atm right otherwise you need to lock the tables

heady birch
#

Yes I have dumped the current database to file and shutdown the spring instance

frigid badge
#

alright neato

heady birch
#

Although that alter statement also didn't help

frigid badge
#

disable the keys for the related tables too

#

y'know just send me the db dump

heady birch
#

To do?

frigid badge
#

to help

#

also

#

no need to drop the primary key first

#

we can generate the ids ourself using the db

#

and then switch over to hibernate later

#

and just change the hibernate sequence value

quiet depot
#

niall

#

not lombok

#

ik what that is

#

the other two tho

#

(creating a spring web thing)

heady birch
#

No idea about dev tools, configuration processor (supposedly) will add support for any custom property files you make I believe

frigid badge
#

you are missing crnk

#

smh

quiet depot
#

i'm making a store thing

frigid badge
#

or elide

heady birch
#

Nice. You dont need crnk or elide. Just thymeleaf lol

quiet depot
#

so clients can pay me through stripe, and download their shit

#

what do I need?

frigid badge
#

thymeleaf is GARBAGE

quiet depot
#

it'll have a login thing

#

and a download thing

#

and a stripe thing

heady birch
#

Depends on your requirements

quiet depot
#

those are my requirements

frigid badge
#

just make an api and a frontend πŸ˜‰

heady birch
#

Do you want monolithic? or ^^^^

quiet depot
#

separate

frigid badge
#

YES

heady birch
#

Good luck πŸ™‚

frigid badge
#

someone who has brains

heady birch
#

Maybe you will finish by.... 2025?

frigid badge
#

and knows how to make quality

quiet depot
#

lol

#

so what do I need to check

frigid badge
#

just the processor I'd imagine

heady birch
#

I am not at liberty to provide support anymore

frigid badge
#

idk what devtools is might be useful

quiet depot
#

i've already checked the mysql driver

old wyvern
frigid badge
#

security def

heady birch
#

(I am actually not 100% sure) - You will want JPA + Security most likely

#

And template engines -> thymeleaf

quiet depot
#

what do I need a template engine for

#

this shit is just providing json api lol

frigid badge
#

you don't need one

quiet depot
#

which security component though niall?

#

there's 5

heady birch
#

πŸ™„ Use something like crnk or elide like lemmo said. If you figure out how to secure the application using either of them let us know

#

Spring Security

frigid badge
#

you don't necessarily need to use elide or crnk

#

just makes life easier

#

since you don't need to write all that boilerplate

quiet depot
#

aight "Web" category

heady birch
#

Just spring web/mvc what ever they call it now

quiet depot
#

Rest Repositories?

heady birch
#

Spring Web

quiet depot
#

ok

heady birch
#

Uh yeah I guess. Not actually sure what Rest Repositories is. but it sounds like it might be useful

#

I am not sure if you need Spring Session- I always add it- but Spring Security may have it anyway

quiet depot
#

nah session is part of the web stuff

frigid badge
#

you don't need session

#

since it's a stateless rest api

quiet depot
frigid badge
#

DUDE

#

HOLY

quiet depot
#

?

frigid badge
#

that's sick

#

that's like what elide/crnk do

#

but elide and crnk have more features

quiet depot
#

am I missing anything crucial?

frigid badge
#

make sure to dockerize it πŸ˜‰

#

aka you can copy ecloud's image

#

& pipeline

quiet depot
#

lol

#

i'll consider it

#

i'm not sure my vps can handle docker

#

or even run it

#

it's openvz

frigid badge
#

it probably can

#

it's only heavy for windows users

#

since it uses vms

heady birch
#

Lol

frigid badge
#

on linux it's just native docker

#

and even then for me docker is like what

#

it's using 30mb ram

#

on windows

quiet depot
#

ez

heady birch
#

Lemmo honestly I'm kind of lost with this database should I continue with turning off the key checks?

frigid badge
#

just turn of all the key checks yeah

#

and just manually fill in the ids afterwards

heady birch
#

Manually? theres 11k rows

frigid badge
#

you have to loop over the entire set anyway

heady birch
#

Oh I see programmatically manually- not by hand πŸ˜„

frigid badge
#

yes

#

either using pure sql or just some random java script or whatever

heady birch
#

Darn all these columns need renaming as well

#

Ok hear me out- can I just slap @GeneratedValue on the current airframe primary key field?

frigid badge
#

no

heady birch
#

And it will just generate for new ones?

#

What would happen?

frigid badge
#

idk what you mean

#

lol

#

just skip your existing stuff for now

#

just work on purely the db

#

then fix your entities in your code

#

can you send me a dump of your current db

#

or is it classified

distant sun
#

Lemoooooo

frigid badge
#

yes

distant sun
#

Help me with portforward :(

quiet depot
#

how does one require assistance with that

#

it's one of the more trivial tasks

distant sun
#

Shut up pig

#

Yes

#

When it works

quiet depot
#

just stop being a 4head??

distant sun
#

😑

heady birch
#

I would- but its large- and I worry about leaving an account detail in their or something. but I can provide snippet

#

Well its only got my account in lol

frigid badge
#

I just need the blueprint for the database in sql and a bit of example dataset

heady birch
#

I will send the ones related

#

Pure sql or this fancy table thing

frigid badge
#

sql

#

I have datagrip open ready to rumble

quiet depot
#

wew

#

intellij took a whopping 9 minutes & 14 seconds to initialize that project

distant sun
#

You suck :c

quiet depot
#

i blame my internet

#

gaby you actually need help port forwarding?

distant sun
#

Ye ye

#

Yes :(

quiet depot
#

what are you stuck on?

distant sun
#

Port forwarding 🀣

#

I followed this tutorial but it still says the port is closed

quiet depot
#

lol

#

ok

#

go to 192.168.0.1

#

and just take a big fat screenshot of the entire page

heady birch
#

Thats pretty much the ones with data on. the other has like 0 and 4 rows I can change manually

distant sun
#

Is Tenda if that's what you want to know

quiet depot
#

doesn't help

#

I need to see

distant sun
#

K

quiet depot
#

every router calls the options different things

#

they all have different uis

#

I could google an image, but it's more reliable for you to just show me

distant sun
frigid badge
#

but my man

#

I don't have a model

#

or an operator

#

or

heady birch
#

Cool router

#

Oh do you need them?

lavish notch
quiet depot
#

show me internet settings & advanced settings

prisma wave
#

package?

distant sun
#

directory?

quiet depot
#

it's a folder/directory

#

not a package bm

prisma wave
#

o

quiet depot
#

I THINK

#

BIG FAT ASSUMPTION RIGHT THERE

#

i don't know for certain

heady birch
#

@frigid badge you know what I think I will come back to this later or tomorrow or something

frigid badge
#

a directory is the same as a package anyway

distant sun
quiet depot
#

virtual server

distant sun
#

uu

frigid badge
#

damn you have a modern portal

distant sun
#

btw I tried to setup port forwarding on my old router

#

fr haha

quiet depot
#

ez

#

have fun

distant sun
#

??

heady birch
#

Just fill out the fields

frigid badge
#

^^

quiet depot
#

do you need me to guide you through that too lol

distant sun
#

internal ip 192.168.0.108 ?

heady birch
#

Wan = usually the same as lan

frigid badge
#

the ip of the server

distant sun
#

my ipv4?

quiet depot
#

the internal ip gaby

#

192.168.0.108 so if this is the ip pointing to your server on your network

#

then that

distant sun
#

what about wan port?

quiet depot
#

25565

frigid badge
#

well what port do you want to expose?

distant sun
#

and lan port 25565 as well?

frigid badge
#

depends on what port the server runs

distant sun
#

25565

quiet depot
#

petition for routers to block the forwarding of port 21 to discourage the usage of ftp

frigid badge
#

most isp block port forwarding below ports 1000 anyway

quiet depot
#

really?

frigid badge
#

yeah

quiet depot
#

why 1000?

#

1024 makes more sense

#

that's the unix "superuser zone" iirc

frigid badge
#

don't know exact stuff

#

it's around 1000 is what I mean

quiet depot
#

o

old wyvern
#

What does the superuser zone mean?

frigid badge
#

you have to be root/superuser

#

to open ports below x

old wyvern
#

ah

frigid badge
#

or bind to ports

old wyvern
#

oh

distant sun
#

wew it worked

#

ty πŸ™‚

frigid badge
#

and now watch gaby's internet fall out in a few hours.

quiet depot
#

lel

#

gaby how many people you hosting?

heady birch
#

Was I typing for all that time?

quiet depot
#

not sure niall, didn't notice

frigid badge
#

bet there's loads of port crawlers

#

@heady birch yes

distant sun
#

is just for testing =/

heady birch
#

Lol haha left keyboard button pressed

distant sun
#

will probably create a server on the vps

#

since one the plugins I use has "limited ip addressed per license"

quiet depot
#

ewg?

distant sun
#

last night I went over that limit and couldnt start the server for a few hours smh

#

ew no

#

advanced enchantments

frigid badge
#

how is the even allowed

distant sun
#

yes

frigid badge
#

thought a plugin should be able to work at all times even without a connection

#

or is it non spigot

distant sun
#

it is

quiet depot
#

lemmo it probs does work without a connection

#

the piracy stuff just doesn't kick in if there's no internet

distant sun
#

can you even run a server without internet .. ?

frigid badge
#

easy way to bypass that then lol

#

@distant sun yes why not

quiet depot
#

there's no easy way for leakers to bypass that

distant sun
#

block external connection 🀣

frigid badge
#

sure there is

#

you can block connections

quiet depot
#

if leakers aren't buying their plugins, they're probably on some cheap ass shared hosting, they can't install software to block connections like that

distant sun
#

luck has a tool for that

quiet depot
#

oh

#

welp nvm then

distant sun
frigid badge
#

honestly find the mc community greedy as shit

quiet depot
#

A plugin with malicious intent could (most likely) find a way to bypass it, yes.

#

eh

#

there's no way some developer paranoid enough to have limited ip uses wouldn't implement a bypass

distant sun
#

exactly

#

shut down the server if it can't connect to the license server :smart:

frigid badge
#

you dumb

#

thought a plugin should be able to work at all times even without a connection

distant sun
#

is annoying because I have a dynamic ip and for example yesterday the power went down 3 times

frigid badge
#

well

#

there's this thing on your dashboard

quiet depot
#

my ip is meant to be dynamic but it barely ever changes

frigid badge
#

I saw in one of the screenshots

#

which you probably can get a static ip from

#

and you also have literal tools to update ips

distant sun
#

I mean, I don't mind being dynamic

frigid badge
#

ddclient for example

quiet depot
#

lemmo that's probs just for static ips on the local network, no? (not ddclient, idk what that is)

frigid badge
#

maybe idk his router lol

quiet depot
#

I don't think isps offer static ips like that

#

they're usually part of the plan you're subscribed to

distant sun
#

Β―_(ツ)_/Β―

#

is the first time i had problems with my ip being dynamic

frigid badge
#

I use dns reservation anyway for static ips

distant sun
#

idk tbh

#

yeye you rich boy

frigid badge
#

I'm not rich at all lmao

#

I'm not poor either

#

but not rich imo

distant sun
#

you need god in your life lemmo

#

trust me

frigid badge
#

nonono

lavish notch
#

@ocean quartz Mind if I shoot you a DM about your GUI lib?

frigid badge
#

rip asktoask

heady birch
#

You usually have to pay extra for a static address dont you? assuming it meant for the broadband

distant sun
#

should I close the port when i dont use it?

quiet depot
#

yea niall

frigid badge
#

@distant sun yes

distant sun
#

kappa

frigid badge
#

could've easily used upnp for that

distant sun
#

time to learn more about networks and such ig

frigid badge
#

it isn't really necessary

quiet depot
frigid badge
#

it tries to get your view

heady birch
#

this is if you are using template engine

frigid badge
#

you shouldn't have spring mvc

#

you need spring boot

quiet depot
#

i have boot

frigid badge
#

or whatever the fuck it is called

ocean quartz
#

@lavish notch Sure thing

frigid badge
#

spring is one of the most confusing stuff

distant sun
#

any way I can fix my theme on kotlin without having to reset the setting of my IDE .. ?

heady birch
#

Do you not need the MVC as part of the Rest repositories

frigid badge
#

nah

#

wouldn't make sense

quiet depot
heady birch
#

Oh yeah mvc

distant sun
#

btw what do you use vmware for?

heady birch
#

spring

quiet depot
#

vmware is for creating vms

distant sun
#

our uni will give is free license for that but idk what is it lol

frigid badge
#

@distant sun to create and use vms

heady birch
#

Esxi is cool as well

distant sun
#

aight

frigid badge
#

I use it to work on my kernel for example

#

or if I have to do IOS development

heady birch
#

Your building a kernel? cool

quiet depot
#

yikes

distant sun
#

my schedule is cool

#

3 hours of algebra and 4 of chemistry lol

quiet depot
#

how do you misspell it when the correct spelling is merely two messages above

frigid badge
#

idk why he can't spel it correctly..

quiet depot
#

yeah niether

frigid badge
#

lmoa

heady birch
#

πŸ˜•

distant sun
#

welp lemmo is an IOS noob

frigid badge
#

lol

#

I just like learning stuff

heady birch
#

IOS noob and guy writing his own kernel dont go together

potent vale
#

Depends how far the kernel goes

frigid badge
#

I'm a noob in the kernel part anyway

#

just tryna learn it

potent vale
#

You use linux?

heady birch
#

Ever used COSMOS? I thought that thing was pretty cool

frigid badge
#

@potent vale nah

#

always been way too lazy to dualboot it

potent vale
#

I recommend it

frigid badge
#

I mean I work with it all the time anyway

quiet depot
#

games though

frigid badge
#

I don't game on pc

potent vale
#

Games yes

#

But theres DXVK

#

And directx is coming to linux finally

frigid badge
#

I'm probably getting a mac

potent vale
#

Oh no πŸ˜‚

#

For that money you can build an amazing pc

frigid badge
#

not my money

#

work will pay for it

heady birch
#

I have old mac book from 2011 works fine today dont plan on replcing for next 5 years

frigid badge
#

and I don't want an incredible pc

potent vale
#

In that case get a quantum pc

frigid badge
#

with rgb stuff etc

#

just want a macbook pro

heady birch
#

Honestly they just work you dont have to worry about additional antivirus e.g

potent vale
#

Got macos, windows and linux

frigid badge
#

what distro

potent vale
#

Booted into macos once

#

Never again

frigid badge
#

probably hackintosh?

potent vale
#

Arch linux

#

Yes

onyx loom
#

if ur not playing games or anything like that and using it for work i dont see a problem with mac

frigid badge
#

is hackintosh anything like actual macos or not

quiet depot
#

it is macos?

potent vale
#

Yup

#

It is the actual macos

heady birch
#

I think its exactly the same just modified to run on non apple hardware or whatever

frigid badge
#

since it has like loads of issues

quiet depot
#

it's pretty stable last I heard

potent vale
#

It doesnt

#

Its very stable

#

Just needed it for xcode

frigid badge
#

I use a vm for xcode πŸ˜›

heady birch
#

Darn xcode is so annoying

quiet depot
#

you guys tried the jetbrains ios ide?