#general

3141 messages · Page 1345 of 4

potent fossil
#

ok

spiral robin
#

Hello z

mental meadow
#

hello

upper flicker
#

:peepoClapJammin:

upper flicker
#

oh god

mental meadow
#

best subreddit

twin lagoon
#

@mental meadow panda_flush

mental meadow
twin lagoon
#

literally @ashen cliff

mighty storm
#

wasnt reddit down yesterday

cunning raft
#

yes

potent fossil
#

between what hours? i was using it

mighty storm
#

uhh it was like 3-4 pm cst

potent fossil
#

oh ok i was asleep at that time

mighty storm
#

💤

tidal ravine
#

hi

mental meadow
#

simple needs his beauty sleep

tidal ravine
#

I m new in learning java and I try to make a player event that do a sound do somone know what the event name is called ? so player.soundmessage for example

#

or is there a way to find all playerevents

mighty storm
#

perfectly balanced

mighty storm
mental meadow
tidal ravine
#

Thanks a lot

mighty storm
#

:3

worn ember
#

quick game of dota 2 before bed i thought

potent fossil
#

ded moment

warm anchor
ancient bolt
#

God my windows partition is just barely staying together at this point

#

Need to rebuild soon but it's impossible to buy any components right now

worn ember
true canyon
spiral robin
#

bax GWcmeisterPeepoLove

worn ember
true canyon
#

oof

crystal compass
#

is it safe for me to update from java 8 to 11

#

like nothing could potential break my shit

spiral robin
#

Backup first ofc

crystal compass
#

backing up 100gb

#

feels bad

potent fossil
#

i mean you should be running regular backups anyway

ancient bolt
#

I can't say not to back up

#

but I will say I wouldn't bother to back up just for upgrading java 8 to java 11

potent fossil
#

yeah i don't see a need simply for that, but in general backing up is good practice if you have none i would at least have at least one regardless kek

upper flicker
#

I always recommend backing up before doing anything demon or simple tell you to do however

ancient bolt
#

get the covid vaccine

spiral robin
#

demon peepoClap

warm anchor
#

Demon you underestimate people's ability to fuck things up lol

untold copper
#

good morning uwuwuwuwu

magic river
#

I'm kind of surprised how far along https://pcsx4.com/ appears to be

PCSX4

PCSX4 is an open-source beta PS4 Emulator & debugger project written in C++ allowing you to Play PS4 games natively using H/W-assisted virtualization on PC & Mac.

#

It just uses virtualization for the CPU and Vulkan or Metal to emulate the GPU API

#

Dunno if they run the PS4 "firmware" directly or do high level emulation of it

#

Probably run it directly because who wants to write an OS?

ancient bolt
#

ill probably be able to emulate a ps5 before I'll be able to buy one at a sane price

viral hornet
#

Fuck the sane price, I just cannot find stock anywhere lol

#

Following a twitter account that alerts when there's stock online/in-store at places here, but they still sell out in minutes.

gleaming finch
#

pcsx4 is fake

#

last I remember

#

the only real ps4 emulator is orbital

limpid comet
#

all i want is a switch

spare venture
#

It’s relatively obtainable in the US

#

Not easy but much easier than other countries

minor badge
#

@viral hornet what do you want?

#

some stores over here still have low & high end GPUs & CPUs; nothing middle-end, and shipping is fairly expensive, though

upper flicker
#

do your stores have tacos though?

minor badge
#

yes

upper flicker
#

well then what are you still doing here

minor badge
#

we have several taco chains

#

it's 5am

#

nothing is open

upper flicker
viral hornet
#

Ghost ping ?

#

Hello ?

vital flax
#

Hola alguien de los staff habla español?

viral hornet
warm anchor
#

I've seen 3090 here but I decided that I rather suffer with my slow 2080ti /s

true canyon
#

One of these days I'm getting a 3080...

potent fossil
vital flax
#

Hello please help, On my server I have sharpness 15 swords and all the settings at lvl 15, but look, I have a sharpness 15 sword and I hit a full skin player, it kills him with 2 hits and I would have to kill him with 1 hit and do much more damage, please help

#

[Traductor Google]

wraith oracle
#

así que, tenes espadas con sharpness 15 pero por alguna razón no matan de un solo golpe?

so, you're saying you have sharpness 15 swords in your server, and they should kill the player with a single hit but they don't?

#

also, use #paper-help (even though this doesn't seem like a paper issue)

potent fossil
#

paper-help is general server support so that's good

minor badge
minor badge
warm anchor
#

Same here lol 3090 in stock everything else empty

mighty storm
#

1181 hour uptime isnt bad right

minor badge
#

there are some sold secondhand, but the prices aren't too sane lol

golden gust
#

sub 2 months, week

#

I mean, sub 2 years, weak

mighty storm
#

i had 50 years once

wraith oracle
#

why would anyone buy a 3090

minor badge
#

1.5k EUR for a MSI 3080 Suprim X if anyone wants though kek

wraith oracle
#

it is like buying a threadripper for a gaming pc

viral hornet
golden gust
#

god, joys of being a council estate

#

I played the demo on the ps2 like, far too many times

minor badge
#

@viral hornet there are some secondhand here, but still bad prices at 850-ish€

viral hornet
#

Jesus

coarse lily
minor badge
#

@coarse lily 1.9k€

#

only in stock at computermegastore (overpriced store)

coarse lily
#

Friend has been looking. Lemme ask if he thinks that's worth it:)

limpid comet
#

hi proxi and ocelot

minor badge
#

i'll look at some EU stores too

#

bluely peepoGiveloveCowboy peepoGiveloveCowboy

limpid comet
#

hows proxi job going

golden gust
limpid comet
#

i forgot this was even my nick

golden gust
#

what don't you forget these days

#

next you're gonna forget that this ain't your grass

limpid comet
#

my brain is mush

coarse lily
#

Hey blue

limpid comet
untold copper
#

can someone tell me what tf is alpha and beta

golden gust
#

numbers

#

or, wait, no, letters

#

shut up blue

untold copper
#

what do they doooo

golden gust
#

i like the part where you gave some form of remote context

untold copper
#

I have no idea where they came from in class

#

.-.

#

last class we were doing ez stuff

#

now we're here doing alpha and beta

golden gust
#

yes, and we tooootallly know what class you're in...

untold copper
#

these 2 are alpha and beta apparently

#

oooooh

#

so we don't have to know what they are

#

we are just assuming them to be zeros of a quadratic polynomial

#

smh why this is confusing

minor badge
#

those are hieroglyphics

golden gust
#

ye an ur a potatis

untold copper
minor badge
#

if this is mathematics, they're just unassigned variables

limpid comet
minor badge
#

in physics & probably chemistry, they're sometimes assigned with some constant some smart person found out a couple hundred years ago

untold copper
#

oh

#

thanks

limpid comet
#

e

untold copper
minor badge
#

am on finance for the next 11 months

limpid comet
#

omg proxi nice job

#

are you a ""contractor"" or an employee

minor badge
#

employee

limpid comet
#

thats very epic

#

that means benefits right

#

someone i know was a contractor and they couldn't get benefits

minor badge
#

tonnes of them, yes

limpid comet
#

that must be nice

#

and also money

warm anchor
#

Proxi being epic riestare

limpid comet
#

ok here's a question

#

if i learn kotlin will that help me understand gradle build scripts

#

because i cannot understand them at all

coarse lily
#

Haha

golden gust
#

I mean, it's like java

minor badge
#

perhaps a bit

golden gust
#

syntax is one thing

limpid comet
#

its the syntax i have problems with

minor badge
#

it's mostly syntax ^

golden gust
#

understanding how the shit it's all bolted together and what on the hell of a... chemical assistance... the dev was on

minor badge
#

properties are java beans, getProp, setProp with pretty syntax
closures are just lambdas; it is the single argument
extensions are "pretend I'm T"
nullability is Optional<T>

limpid comet
#

cat wtf is that from

#

proxi that helps a bit

#

thank you

#

i think i'm gonna try writing my school project's backend in kotlin

#

just to learn it

minor badge
#

and remember that {} always creates a closure if it's not attached to special syntax such as if, when, when, fun

#

this means kotlin { println("wee") }
will never print "wee"

golden gust
#

from some discord am in full of nerds basically

limpid comet
#

so what you're saying is that code would kinda be the same as doing this in javascript?

(() => {
  console.log("hi");
});
minor badge
#

yes

golden gust
#

dumcord that bigclive preaches about in his streams

minor badge
#

it's never called, so never ran

limpid comet
#

but still created

#

interesting

minor badge
#

you can use the invoke operator (x()), or a variant of the run method (run {})

#

the run method exists as run, let, apply, and also, which all do different things but also the same thing

#

and wait till we get to delegates, you'll hate those :D

void void
#

anyone have an smp please and thank u

#

:))

minor badge
#

@coarse lily smh open your server to the public already

untold copper
#

yes

#

please

void void
#

we do be lookin doe

untold copper
#

you can try wafflecraft

void void
#

nope

#

i need a vanillia

untold copper
#

yeah its vanilla

void void
#

basic SMP

untold copper
#

yes

void void
#

how may people?

untold copper
#

wafflecraft

#

like

#

10

void void
#

bet ip?

golden gust
#

use a server list 🤷‍♂️

#

||"Me thinks the lady doth protest too much" ~ AvE||

minor badge
#

shut up cat

#

dumb

golden gust
#

I mean, I could be quoting worse

vital flax
#

Es de paper

minor badge
#

@limpid comet peepoGiveloveCowboy

#

how are you tonight blue

coarse lily
#

I've done that, cat.

#

Or a variation on it.

coarse lily
lean kiln
#

and in purpur they will tell you to ask the dev of whatever net.brcdev.shopgui is

coarse lily
#

And fix whatever that HolographicDisplays error is

lean kiln
#

looks like HolographicDisplays/ProtocolLib have problems too

#

yea

coarse lily
#

jmp and I agree.

#

jmp/ocelot 2024.

magic river
#

bigclive has streams?

golden gust
#

Yea

#
magic river
#

He looks pretty much exactly how I thought he would

golden gust
#

he shaves with a funnel too

magic river
#

Maybe not as many wrinkles but I guess that just means he isn't a welder and/or doesn't smoke

lean kiln
#

A British TV licence is NOT required to view my videos or almost every other video on YouTube.

#

wow I thought I needed one

golden gust
#

BBC would tell you you had to if they could

lean kiln
#

kek

magic river
#

You can always tell welders cheat on their mask because the have farmer tans and wrinkles

golden gust
#

apparently some woman was told that she'd be breaking the law if people with a license watched sports, etc in her house on their mobiles

#

so, you know, sorta makes sense why he would have that there

#

el bastardos

magic river
#

The TV license folks are like the mafia, they pretend they have power and try to push you around

#

Unlike the mafia they won't burn your house down or break your legs for telling them to fuck off

golden gust
#

am saying that the people who designed some stuff in gradle where probably taking a little something when designing stuff

coarse lily
#

I think he's implying that people do drugs and write bad code

magic river
#

That's the sex, weed, and booze chill channel 😛

golden gust
#

You got a license for that?

lean kiln
#

sadly i live in california so yes

#

I think I got confused about what license you were talking about though

zealous wedge
#

gradle is an experience

lean kiln
#

it is indeed

golden gust
#

well, tv, and was kinda a joke about the age verification for adult content that the UK was proposing

lean kiln
#

lol I remember that

#

I guess they realized they would have to ban vpns too

spiral robin
#

Zml

#

Have a lovely night xoxo

limber knotBOT
#

you too aber :3

#

sleep well

potent fossil
#

what about me @spiral robin

limber knotBOT
#

you're not allowed to sleep yet

golden gust
#

I was gonna joke and say to set you both on fire and then I dropped my keyboard on my foot, sooo...

potent fossil
#

gg

spiral robin
#

u too @potent fossil peepo heart wave

potent fossil
#

pepelove bye qt

minor badge
#

simple is also an experience flooshed

golden gust
#

That's what she said

spiral robin
#

@minor badge @minor badge @minor badge @minor badge @minor badge @minor badge peepoClapJamminMoment peepoClapJamminMoment peepoClapJamminMoment GWcmeisterPeepoLove GWcmeisterPeepoLove GWcmeisterPeepoLove

minor badge
spiral robin
golden gust
#

wow, calm down buddy

#

your pelvis'll pop out if you're not careful

spiral robin
ashen cliff
void void
#

is there a way to downgrade a map?

mental meadow
#

Load a backup

spiral robin
#

no one supports downgrading

#

@mental meadow pleadcry

mental meadow
#

Also good morning (?)

winter inlet
#

Good morning

spiral robin
#

23:11 FeelsSleeperMan

mental meadow
#

I haven't slept yet but it's morning now

potent fossil
#

who has a gradle w/ kotlin dsl project using paper

#

plz share

minor badge
potent fossil
#

thank u <3

minor badge
mental meadow
#

Gib Gib Gib

olive marlin
visual egret
#

sup

untold copper
#

hai

visual egret
#

now im learning docker because pterodactyl exists

olive marlin
#

Docker is nice. And have surprisingly good docs for most of the features.

minor badge
#

"surprisingly good"

#

a huge portion of the software industry uses it, so it does make sense

olive marlin
#

A huge portion also uses Ansible and their docs are a mess. Though would be nice to know exact numbers to compare.

limber knotBOT
#

Didn't they say that DockerHub's data usage was up in the petas?

#

It's at least no small number 😄

olive marlin
#

Apparently 15PB of images, but that doesn't mean much. Some people are just stupid and make 5GB docker images and push them from each CI build (had that happen sadly)

vernal moth
#

Worth noting that 15PB isn't actually that much

olive marlin
#

And that also doesn't say how much people are actually exposed to docker.

#

Since it's what matters when talking about documentation.

untold copper
vernal bone
#

Hello! If someone here rooted a phone before, I have a few questions:

  • What is the safest way of doing it?
  • Which application would you recommend if the method requires one?
limber knotBOT
#

use Magisk

#

best way afaik

#

safest way depends on your phone

cosmic raft
#

morning

potent fossil
#

just go on xda-developers, find your phone model, and open a rooting guide

vernal bone
#

There is a billion tutorials on YouTube, I can't decide which one is the best.

potent fossil
#

use xda-developers, not youtube

limber knotBOT
#

don't follow yt tutorials

#

use xda yeah

vernal bone
#

Okay, thank you! 👍

limber knotBOT
#

it became harder to root your phone these days... SafetyNet is one of the biggest threats since it blocks a lot of stuff...

#

also A/B Rom phones are a pain to work with

#

can't we go back to android 4.4 times and just root our phones with "KingRoot" lol

vernal bone
#

I've got a few options

limber knotBOT
#

use magisk

#

it is the best way like i said

minor badge
#

can confirm, magisk is the best way nowadays

vernal bone
vernal moth
#

Magisk is also somewhat good at fooling securitynet, but idk what the state of that is nowadays

limber knotBOT
#

Google updated the Secnet in new versions and afaik Magisk cannot stop it atm

twin lagoon
#

digitalocean AMD

mental meadow
ashen cliff
#

It was when I tried it.

#

Maybe we have different apps?

cosmic raft
#

does DO not suck yet though?

twin lagoon
#

what part of DO sucks

cosmic raft
#

The fact they (used to?) only give you 16 IPv6 addresses

twin lagoon
#

wot

#

they've never done this from what i've seen

cosmic raft
#

Yes they 100% did

twin lagoon
#

not in years or maybe it's per-region

#

i've never had IP issues

cosmic raft
#

and yes

#

still only 16

#

Enabling IPv6 on a Droplet gives you access to its 16 additional IPv6 addresses.

twin lagoon
#

why would you need more

#

oh and i thought you meant only ipv6

cosmic raft
#

Unique hostnames for each address, useful for IRC and other things where hostnames are visible to users

twin lagoon
#

imagine using ipv6 rtx_boi

cosmic raft
#

Korobi is IPv6 only

#

the magic of cloudflare

vernal moth
#

Pure magic

#

Also

ashen cliff
#

Nice slide.

mossy vessel
#

Bild

#

Gta V - Berlin edition PepeLaugh

vernal moth
#

It's hamburg ^^

#

The sentence at the end is the best

#

"junge der hat das Polizeiauto gerippt" 😂

#

They got him btw

#

but at what cost

tranquil bone
#

Electric, the peer issue got "solved" by assigning a subdomain to the server address. Using cloudflare. Is this because most ISPs got CloudFlare cached?

#

I am now quite happy with the package we got from ReliableSite

#

Thought you might be interested in knowing : -)

#

Only issue is that we have to assign subdomains for those who want to host with us. Trying to figure out a better way to tackle this issue as some may want to have their raw address pinged in one second instead of five.

mossy vessel
#

Oh I read Germany and thought of Berlin lol

#

Good approach

twin lagoon
#

@mossy vessel panda_flush

ashen cliff
#

I assume he couldn't just run him over / hit him, since the car auto engages brakes. 🤔

ashen cliff
#

Bro!

#

Balkan cars don't have this kind of "NEW" technology.

#

But we do have adaptive cruise control from 2005.

meager tusk
#

Balkan cars don't need "NEW" technology bro.

ashen cliff
#

Just put a "CIGEL" on that gas pedal.

meager tusk
#

We have 1989 Mercedes Benz bro.

olive garden
#

.g cigel

ashen cliff
#

700k or nothing.

twin lagoon
#

krusic have you seen the balkan internet switch i sent yesterday

meager tusk
#

Best* bro.

limber knotBOT
#

Michale sux

twin lagoon
#

wtf PepeHands

olive garden
#

I have never driven a car with cruise control 😢

ashen cliff
#

Bro. I see everything bro.

twin lagoon
ashen cliff
olive garden
#

ahhh

#

full gas on highway?

meager tusk
#

Yes bro.

ashen cliff
#

Always.

meager tusk
#

Everywhere. Not just on highway bro.

ashen cliff
#

Bosnian highway bro!

meager tusk
#

I put my feet on window bro.

#

CIGEL on gas pedal bro.

#

And Malboro on right hand.

ashen cliff
#

Red!

olive garden
#

you guys are crazy

meager tusk
#

Fact!

meager tusk
ashen cliff
meager tusk
#

You get free AK-47 bro.

#

Courtesy of brother Tito to Balkan.

olive garden
#

which country in specific?

meager tusk
#

Balkan.

ashen cliff
#

Yes.

olive garden
#

did you do the impossible and unite the Balkan region?

ashen cliff
#

Always united bro!

meager tusk
olive garden
#

ah

ashen cliff
#

Also don't forget bro! Always start in third gear.

olive garden
#

happens from time to time, I guess that's what I get for being Balkan's neighbor

meager tusk
olive garden
#

okay, I do not wish to go to Balkan

ashen cliff
#

Bro! What is a turn signal? Is that the thing Elon promoted on Twitter?

meager tusk
#

And when someone honk at you stop, drag them out, and beat them up bro.

#

Bro, Mitteleuropa say "good for driving" or something but they drive 5kmph so don't care too much for them bro.

olive garden
#

I think that's the US, not central europe

meager tusk
#

No bro. That's everyone except Balkan.

meager tusk
ashen cliff
#

We also drive Diesel cars 10km a day max!

#

Always under 1.5k reves bro!

meager tusk
#

Fact!

worn ember
#

@slim nymph i have a question regarding emails. What flags emails as spam? We currently have an application that goes through sendgrid, but we noticed a lot of our mails end up in the junk/spam folder depending on the inbox (provider?). Would getting a dedicated ip for the mails solve this at all? I'm asking since that feature is at least 80euro/m and then whatever extra for x amount of mails. And since you're working in the business i figured i'd ask you zoop

vernal moth
#

Basically magic

#

Email suck so much

#

Might be worth to check your email content on one of those spam Check Sites

#

Since that's also something they flag, not just the infrastructure

ashen cliff
#

Also tell the providers you aren't spam.

worn ember
#

theres nothing really "fishy" about the emails tbh

#

just invites etc

olive marlin
#

DED just put too much sand in his grid.

worn ember
#

so yeah we think it might be the fact we share ip's with other users that use it for malicious intent

vernal moth
vernal moth
#

🤷‍♂️

#

At least you don't have obvious issues then

ashen cliff
#

🤔

worn ember
#

yeah

vernal moth
#

Lemme check a email i send from work

#

It will be horrible

visual egret
#

port fowarding is hurt

vernal moth
#

Ok nevermind 9.9/10

ashen cliff
#

What's the missing 0.1?

vernal moth
#

No DKMI

worn ember
#

for me its DKIM_Signed

#

yeah

vernal moth
#

Well DMARC

minor badge
#

mfw gandi cucked me again

#

this time my existing username is too long for their login page

twin lagoon
#

proxi 😔

minor badge
#

here's to hoping resetting password automatically logs me in...

worn ember
#

use a shorter username then smh

#

or edit the html page

#

to remove the limit

minor badge
#

it's checked on their side

worn ember
#

why do they even allow it to register then lol

visual egret
ashen cliff
#

More than 5 images on a single page?

#

Standard.

vernal moth
#

libre office

#

You deserved that

#

If you can't afford actual office, use google docs

limber knotBOT
#

mfw hating on open source software

vernal moth
#

I hate bad open source software ^^

#

Just as I hate any bad software

limber knotBOT
#

thank god LibreOffice works pretty good

#

I've used it for 15 years exclusively and never had issues lol

vernal moth
#

Thank God I don't need to use any office related shit anymore

olive marlin
# worn ember why do they even allow it to register then lol

There's a website that allows you to look through everyday food boxes from different providers (not sure how to best translate it).
It allows you to create account with email alias (email containing + sign) and logs you in automatically. You can use the service and get emails normally. You can reset your password just fine too. The only thing you can't do when you have such email is log in xD

limber knotBOT
#

or whenever open office came out lol

vernal moth
#

It all sucks and IJ is much better

ashen cliff
#

Add more than 60 images to a single slide. kekwhyper

merry talon
limber knotBOT
#

also at least suggest OnlyOffice instead of gdocs lmao

merry talon
#

only thing I can suggest is switching to postmark

#

sendgrid and the other free services are used a lot for spam

#

a $10 monthly fee can help mitigate that

ashen cliff
worn ember
#

we already have everything set up with sandgrid, i dont think we'll be switching anyway

#

sendgrid?

#

idk

#

words are hard

untold copper
#

Why won't google lemme access this

ashen cliff
limber knotBOT
#

I mean, the error says so?

cosmic raft
#

learn to read

untold copper
#

I am the developer

#

I am using the same email

#

To sign in

potent fossil
#

lol

limber knotBOT
#

have you tried giving yourself access?

warm anchor
worn ember
#

have you tried yeeting yourself

untold copper
#

shouldn't I be having access to my own account tho

#

by default?

warm anchor
#

Not if it’s under parental control runs

untold copper
worn ember
#

@warm anchor are you gonna watch dragons blood when it comes out?

warm anchor
#

I will try but I set my expectation low like dead’s joke

worn ember
#

dead men tell no tales

warm anchor
#

Heheee

worn ember
#

its been a good day

warm anchor
#

That’s like 200 mmr gain

#

Wow

worn ember
#

i also lost like 300 lmao

#

almost legend 1 again

untold copper
worn ember
#

VERY COOL

cosmic raft
#

urgh

#

this is hell

visual egret
#

life is hell

vernal moth
#

What you working with kash?

waxen panther
cosmic raft
#

but that is impossible, jeez

vernal moth
#

Heh

#

I had fun with the grammar for MiniMessage

cosmic raft
#

hoooooowwww

quasi valley
#

yes

visual egret
#

hi kneny

quasi valley
#

hello oskar

visual egret
#

whats up

next frost
#

grammars are love

#

until you need to use them

cosmic raft
#

but I have no idea how to turn a file into grammar/lexer format <.<

vernal moth
#

Oh you trying to do a plugin? I did that before

#

Gimme a sec

cosmic raft
#

alright

next frost
#

you want to define a grammar for a file format?

cosmic raft
#

define grammar/lexer for a scripting language basically :P

next frost
#

existing scripting language?

vernal moth
#

This was my project

cosmic raft
#

yes @next frost

vernal moth
#

The grammar is generate by right clicking somewhere iirc

#

And you need a intellij plugin dev plugin

next frost
#

seems like there's an antlrv4 adapter, so if there's an antlr grammar you probably can use that

cosmic raft
#

There is no existing grammar for it

next frost
#

oof

cosmic raft
#

how tf did you make that <.<

vernal moth
#

Iirc i had to right click on one file and it generates something

#

Or what no i think that bnf is what you write

#

It's the grammar

cosmic raft
#

Yea

#

HOW the fuck do you write it

#

:P

worn ember
#

nani "use this template" button

#

didnt know that was a thing

vernal moth
#

The first things are config options, where you define java classes

cosmic raft
#

let me IM you something

vernal moth
#

Then you define tokens

#

And but them together to expressions

#

This seems like a smallish grammar

next frost
#

that looks super chaotic without syntax highlighting

vestal jasper
#

^

vestal jasper
#

MMM

next frost
#

At that point they should probably think about making it multi file

#

But I think it wouldn't be that bad with syntax highlighting

visual egret
#

hypixel found in the wild

#

out of all the compaines they chose an mc server? 🤔

austere ivy
#

an mc server with 120k+ average users on a daily basis, yeah that about makes sense to me

cosmic raft
#

It shows a random company afaik

worn ember
#

"online gaming" more like minecraft

visual egret
#

doesent appear to randomise it unless its stored in cookies or something

vernal moth
#

Hypixel was basically driving that CloudFlare product, it was like created for them, or with them at least

cosmic raft
#

aaargh

#

bnf is horrible

vernal moth
#

It is

#

And that's not even the worst part about writing compilers 😂

cosmic raft
#

I'm not writing a compiler :P

#

I just want to be able to have IntelliJ syntax highlight it, and then maybe add completion suggestions after

vernal moth
#

Yeah i know

#

But it's similar, the parser and Lexers are pretty much the same i guess

cosmic raft
#

I have no clue where to begin

#

I cannot even find a BNF file for the Java language

#

nor Kotlin

austere ivy
#

what the heck happened here?

cunning raft
#

probably everyone saying the exact same thing

austere ivy
#

excellent deduction

next frost
#

the jls uses a bnf style syntax for their grammar

muted storm
#

It's like when someone says "nice". There has to be a massive chain of just "nice"

waxen panther
#

yeah its so funny when they say the same thing again 😀

cosmic raft
#

bah

waxen panther
#

i like it when one of them randomly gets downvoted its so hilarious !

cosmic raft
#

feel like giving up with this

austere ivy
#

hello Aikar 👋

vestal jasper
#

It's kashike what aren't they doing

austere ivy
#

and also hi stef :)

wide chasm
#

Do you, like, need advanced highlighting? Cause if not, IntelliJ has an option to generate some super basic highlighting depending on the file type.

vestal jasper
#

reddit

slim nymph
worn ember
#

its not really blacklisted tho, at least not on the blacklists that were shown on the mail validation site

#

unless they use different criteria

cosmic raft
next frost
#

is there any documented grammar for that lang?

austere ivy
velvet garden
#

ok, money talk. if you had to choose, would you sell your VIP packages as subscription-based or one-time purchases?

untold copper
#

subscription based

velvet garden
#

i'm trying to decide but I can't lmao

worn ember
#

monthly guarantees more steady income, whereas one time could be higher price so guaranteed one time income

austere ivy
#

subscription based if you want to make money and also make everyone hate you

#

low subscription based might work fine though

untold copper
#

^

worn ember
#

depends what you have to offer

cosmic raft
#

I saw a server last year that offered both - I think it was one rank that was one-time, and another that was subscription based

#

subscription-based on gave new pets that followed you around as they were released or something

untold copper
#

les go

#

poggers :3

visual egret
#

plugin jars

untold copper
#

now I can just copy paste a bat from somewhere and run it using task scheduler

untold copper
visual egret
#

thonk why dont you just download them from spigot tho

#

thats what i do

untold copper
#

...

#

I dont want to download the same thing 1390412387 times

austere ivy
untold copper
#

yeah it works for them

wraith oracle
#

but then again, it is hypixel

untold copper
#

then make it subscription based

#

when you have tons of money

#

make it like hypogxel

visual egret
#

the best way to accept payments at the moment is tebex or what

untold copper
#

craftingstore i would suggest

visual egret
#

ooh

#

never heard of it

worn ember
#

make your own

visual egret
#

ya know i thought that at first

#

then i realised my code would be in charge of peoples payments

untold copper
worn ember
#

you could use paypals api

#

not much that can go wrong there

#

either it works or it doesnt

visual egret
#

bro wut

visual egret
worn ember
#

that literally goes for anything involving payments

#

not different for tebex either

waxen panther
velvet garden
#

ALTHOUGH

#

Mojang did loosen the commercial usage guidelines a while back, should probably familiarize myself with the updates..

ashen cliff
#

MFW out server is the only server in our country that still has permanent ranks. kekwhyper

void void
#

Hey

#

is it alright to ask basic json questions here

minor badge
#

sure

void void
#

so here, I'm writing a bot that should be able to centralize user and verification handling, for umm, some things

#

I want to be able to take the group in json, and load the user and the reason as to why they're verified

#

I manage to get it set up where I could load the users and what groups they are verified in, but I'm trying to reverse it

#

see, i want to reverse it so it can be like

#

Found User @foo verified in group @bar for reason: pizza

#

maybe i'm not explaining this properly

#

see, this is kinda what i want to do

#

but it's not, because like

#

the "reason" string isn't binded to the user "user", that's just like, counted as another user

#

you know?

#

would this be what i want?

#

or maybe, alternatively

#

i can create a new json file for each group, and then just store it like username and reason

#

yeah maybe that's what i want

worn ember
#

i have no clue what ur saying tbh

void void
void void
#

i have issues putting what i want into words

#

uhh ok

#

nvm i might know how to do this

ashen cliff
#

Cursed associative arrays.

austere ivy
#

I genuinely don’t understand memes like this

#

maybe I’ve had it too good with Java and intelllij but if I remove a piece of code that other code relies on, even without IntelliJ’s clear indexing and whatnot, Java’s compiler gives me clear explanation of what went wrong

zealous wedge
#

why would people want to hear software student memes anyways

void void
visual egret
#

what if you cause a bug and not an error brian

zealous wedge
#

computers are best when you don't have to think about them

visual egret
#

i think i found the best way to store passwords and backup certificates

austere ivy
ashen cliff
austere ivy
#

declarative programming gets a bit fuzzier though, and also programming languages which have GOTO and COMEFROM there can be issues

visual egret
#

brian python exsists

#

you dont realise theres an error until it breaks

wide chasm
#

All these memes are generally people who programmed for 3.5 days and got a bug

zealous wedge
#

ah yes COMEFROM, the perfect instruction

austere ivy
visual egret
#

its hell untill you discover pycharm

austere ivy
#

anything with dynamic typing is really really horrible to use

worn ember
#

me: sends message to player
message: sends to server
me: wait, thats illegal

zealous wedge
#

vscode has gotten fairly nice Python support

golden gust
#

I mean, I've had java's compiler errors go ten miles to shit before

#

Like, linting is hard af, and am surprised that the java devs have seemingly spent a good chunk of time getting it right

zealous wedge
#

yeah, the variety of error checking and static analysis tools available in Java is really incredible

vernal moth
zealous wedge
#

it means kotlin has a ton of catching up to do too

vernal moth
#

Ie, a method call that seems useless

austere ivy
#

I dunno. I just recently made a small project with JavaScript and I really disliked the dynamic typing. Having only runtime errors made debugging and testing a pain, and their JSDocs type “hinting” whatever is also incredibly frustrating, and is basically back to strong typing where you have to specify the types but without the compile-time type checks

worn ember
#

well that explains it omegalol

zealous wedge
#

lol

waxen panther
#

well done as always sir ded

worn ember
#

zoop i was born for this

austere ivy
#

ded is best coder

austere ivy
#

but yeah very true I didn’t think about that mini lol

worn ember
#

i tend to not touch other peoples code to prevent that lol

olive marlin
#

You might delete method override which is necessary.

vernal moth
#

Oh good recent example, a coworker refactored some lib i wrote into a new maven structure (to use different parent poms and split modules a bit). He nuked the meta-inf folder because he thought it's useless, since non of his other projects used then, and they always container dum manifest files nobody really needs.
Turns out, this project was a spring project and I added a spring.factories file to do some spring auto configuration magic. Nobody noticed until in prod i randomly saw mah gzip headers where missing, removing the auto config had the effect of not enabling my gzip filter

#

I made him write integration tests downstream to check that compression is always enabled going forward :P

worn ember
#

i hope he was fired for that /s

austere ivy
worn ember
#

its more of an issue when no one knows why its breaking xD

vernal moth
#

Was ok, I knew where gzip was getting set, so i just had to figure out why the filter wasn't being added, took me an hour or so to remember that spring factory thingy

wide chasm
#

I apparently had two classes accidentally using javax's Nullable instead of JetBrains's for apparently years. I didn't have javax included in my project. A couple days ago, WE marked a dependency in a dependency of theirs as excluded. The code now broke. And it was supposed to be a non-breaking update dammit /s

vernal moth
#

Oh transitive dependencies are so fun

#

Wasted 3 days on that last week

#

Did a maintinance update on the monolith that does the backend for our websites, bumped all maven and npm deps, had a fun time

#

I also compile like every app using java 11 at work now, so that's nice

vernal moth
worn ember
#

dependabot: heres an update
me: MERGEEE
CI: excuse me sir, its broken now

topaz mortar
#

😄

vernal moth
#

I wish we had automatic PRs for dep Updates at work then I wouldn't only do it 3 times a year :/

worn ember
#

do you use gh at work?

#

or some internal tool

void void
#

ohhh

#

@worn ember its a whitelist

#

thats what i wanted ;p

topaz mortar
#

If I remember right Spring Boot is able to define factories without stuff in meta inf.

#

DED guess Gitlab

worn ember
#

yuck

grizzled grove
#

going on to say that I'm running paper with about 50 plugins and media confusion, with about 10 bungeecord players with fake network at 1gb of ram 😆

austere ivy
#

btw if anyone is looking for a more lightweight Spring Boot alternative, maybe look into Spark. I did some web server stuff a bit ago and tried Spring, but I hated how much it took ahold of your project, and it didn’t integrate into a plugin nicely (which is what I was trying to do). found Spark and it’s super easy to use and integrate into just about any plugin, would highly recommend

golden gust
#

spark looks interesting but it's nowhere on the same level as spring

austere ivy
#

I was just doing a basic web API kinda thing so it worked for me

worn ember
#

not really a fan of spring

austere ivy
#

emphasis on the lightweight part

worn ember
#

maybe partially cuz i need to retake my spring boot final omegalol

zealous wedge
#

yeah I much prefer fall

waxen panther
#

xd ded, x-fricking-d

austere ivy
vernal moth
minor badge
#

spring is epic

waxen panther
#

ur epic

minor badge
#

wtf

vernal moth
#

Spark is nice if you just need a quick and dirty rest endpoint

#

For anything bigger it's useless

golden gust
#

I mean, you're comparing an enterprise level microservice style library to a quick and dirty server

#

spring offers a looooot of crap built in which is amazing if not a bit scary

minor badge
#

you wanna try my bean, cat? ;)

austere ivy
#

I didn’t really go into spring boot much, so again take what I’m saying with a huge grain of salt

golden gust
#

if you insist

austere ivy
#

wait no, don’t.

zealous wedge
#

beans!

worn ember
#

it means exactly what you think it means

fallen mantle
#

hey can i change gamemode in console?

topaz mortar
vernal moth
#

If you want modern cloud native alternatives to spring, micronaut and quarkus

worn ember
grizzled grove
#

where do I see examples of paper.yml with beautiful settings other than that spgot guide?

vernal moth
#

Spark works just fine with kotlin btw

#

.optimize

golden gust
#

.docs

limber knotBOT
vernal moth
#

All the resources!

worn ember
#

well ok then

grizzled grove
#

oh i already saw that

worn ember
#

dude just ran off with my pork

austere ivy
#

unbelievable 😔

ashen cliff
#

Turn off mipmap.

worn ember
#

whomsnt

austere ivy
#

does adventure being built-in to paper also mean that MiniMessage is built-in too?

#

or is minimessage still separate?

waxen panther
#

not yet

#

eventually™️

austere ivy
#

alright, so just the adventure paper lib is included then?

vernal moth
#

Whenever I get my shit together basically

topaz mortar
# worn ember well ok then

The cute little foxes. I think we do not have an api for item representing like foxes represent food in its mouth.

waxen panther
#

yea brian

austere ivy
#

mini btw thank you for mm it is amazing peepoheart

spiral robin
vernal moth
waxen panther
vernal moth
#

Reviewing that PR would be helpful

#

With stuff you want changed or you find still missing

austere ivy
vernal moth
#

:+1:

sick cedar
austere ivy
worn ember
#

wut now

austere ivy
#

ninety fine percent tp smh get with the acronyms bruv

worn ember
#

bruhmoment

#

that stands for bruhmoment btw

void void
#

looking at this code from first glance, this probably won't work

#

how could i check if something exists, and if it does not, try to load it then

#

or maybe i should check if it exists and try to load if not in my get method?

austere ivy
worn ember
austere ivy
void void
#

i'm trying this now

worn ember
#

most likely also want to catch IOExcetion and not Exception (depending on what error it throws if it cant find it)

void void
#

if it doesn't exist

#

then i want it to exist, like i want it to be made fresh

#

you know

worn ember
#

are these files?

void void
#

json files yes

austere ivy
#

if getData called loadData if the data was null, that might look a bit cleaner, but what you have seems like it’d work fine.

#

get the data, if it’s null load it with a try catch, and/else return the data

#

makes sense to me

worn ember
#

create if not exist

austere ivy
#

might want to look into using completablefutures or optionals instead of null if it’s a public API

#

if it’s not and you’re sure that null will always be checked, then it’s fine

worn ember
#

i dont see how this is related to completable futures tho

austere ivy
#

I’m assuming load data does some blocking network io

#

if it doesn’t, I don’t really see why loading and getting are separate if it’s already in memory. possibly a cache?

#

also @void void next time you ask a question like this, #paper-dev might be a better place to put it

void void
#

oh sorry

#

i want this to be better structured honestly

austere ivy
#

yup no worries

void void
#

a central bot

#

it's not like, on the paper api

austere ivy
#

asking it in #paper-dev still a bit better than #general imo. you never get much constructive talk out of paper general lol ;p

void void
#

ah ok

golden gust
#

I mean, paper dev is paper dev

mental imp
#

Хай

waxen panther
#

same

mental imp
golden gust
#

if you're not doing paper dev, paper-dev is off topic

mental imp
austere ivy
golden gust
#

general is the general offtopic channel

austere ivy
#

ah ok, sorry @void void lol I was wrong

golden gust
#

shoving people into domain specific dev channels just causes headaches given the assumption that, if you're asking in there, you're working on something in that domain

austere ivy
#

understood, sorry

golden gust
#

you better be

austere ivy
void void
#

o ok

spiral robin
void void
#

@austere ivy do you think i should just load all chats at initialization?

#

or should i load a chat and store it into the cache only when it's demanded

#

maybe initialization is better

golden gust
#

I mean, I got half a clue what you're doing and don't have the mental capacity to care but, like

#

if your intent is to create files for each whatever, that's not gonna scale too well

austere ivy
void void
#

damn, maybe my original design was better

void void
#

right now, I want to make a very general purpose whitelist bot

austere ivy
#

bot for discord?

void void
#

so let's say you are in a marketplace that only allows verified sellers, i want to create a bot that tracks down the seller, so if they change the username it's updated, etc

#

nah, telegram

austere ivy
#

ah k

visual egret
void void
austere ivy
#

how are you storing said whitelist? and what do you mean by “tracks down the seller”?

void void
golden gust
#

think of minecraft

void void
#

one i'm in right now, the current way to verify users is that there is a channel list with the @s of the verified sellers

golden gust
#

you change your username, your UUID still stays the same

visual egret
#

^

void void
#

though sometimes they will either change their username, etc, and then someone else snatches it up

visual egret
#

thats what i was speaking about

void void
#

then someone can like, scam someone under their name

#

i'm making a bot to prevent that

visual egret
#

but UUID's exist

void void
#

yes

#

every telegram user has their own UID

#

which is how i want to store the data

austere ivy
#

why do you not just grab the current UUID of whatever name was white listed and permanently store that

#

Oh seems like what you’re doing

untold copper
#

setting up auto backups using rclone and python is exhausting

void void
#

ok, well

#

if creating a new file for each chat that uses it is a problem

#

here was what my original design looked like

visual egret
golden gust
#

your average desktop FS ain't designed to scale well

austere ivy
#

once again how are you storing the whitelist? just as channel chats?

golden gust
#

that's often why apps split up folders instead of having dozens of 12028319319043829432 files in a single folder

void void
#

im about to start from the ground up

golden gust
#

FSes like btrfs make stupid metric fucktons of files in a single folder less performance eating, but, when you got actual databases available 🤷‍♂️

austere ivy
worn ember
#

nice, cant hotswap classes when some file doesnt compile in a module that isnt even on the classpath omegalol

void void
#

but now i want to do this

austere ivy
# void void yes

that technically would work but using literally any database would probably work a lot better

#

how are you planning on hosting the bot? can you also run an SQL server of some kind?

void void
#

what about something like this?

#

@spaghetti is the spaghetti chat, where tehbrian and awesome are both verified, but in the pasta chat, tehbrian is still verified while awesome is not

#

just like, that's how i want it to work

austere ivy
#

if you like how json stores data, then you might wanna look into mongodb

void void
#

but i also wanted it to be open source, so people who don't trust me or you know, whatever, can run it too

austere ivy
#

you can pay for them to host your data or you can just host a server yourself

void void
#

but i want it to be as easy to use as possible

#

minimal setup

austere ivy
#

oh, hmmm

golden gust
#

at the end of the day, don't turn minamalism into a dildo for you to fall on

austere ivy
#

minimal setup for the end user probably means that you don’t want them trying to find a way to host a databas-

golden gust
#

things like sane databases have been designed to deal with stupid issues like "what happens if the server dies mid save", etc

austere ivy
#

cat what in the heck is that analogy

golden gust
#

if this is info that you wanna ensure is safe and have some form of scalability, like, use proven tech, no need to re-invent the wheel here

void void
#

but like

golden gust
#

Hey, you ever fallen on one, it fucking hurts

#

Wai, I mean

#

er

void void
#

this isn't going to be used like, a lot lot

#

like there will probably be like, 2-3 users that can easily be re-added per day in the event of a crash

#

and every other user (100+ users usually) will be already cached

golden gust
#

yea, but, are you going to be watching it 24/7? are you gonna know when it fails?

void void
#

there's not gonna be like a bunch of mad user adds or anything

austere ivy
void void
#

okay

#

MongoDB then?

golden gust
#

you're working on something you felt that you had the justifiable need to do it properly

#

take it as the time to learn how to toy with stuff and you'll have more knowledge/experience and have the tool you wanted which will last until oracle breaks it one day

void void
#

what if i make configuration options?

#

so they can swap between json and mongo

austere ivy
#

the way I see it, you’ve got three main choices for storing the data:

  • an actual (no)SQL server, such as mongodb or some other database. pros is that it’s quite scaleable, cons is that the end-user has to set up a database.
  • litesql, which is like an sql database but stored on files. much much easier for users, and you get to use a proper(ish) database in the code. (note, I’ve never personally used litesql, so I might have no idea what I’m talking about)
  • flatfile. store json files or something to disk. I do this in one of my discord bots and it works relatively well, but the performance is most definitely not as good as a proper database, and you don’t get fancy features that sql has like what cat said (what if the server crashes? etc.)
golden gust
#

if you want local store, use h2

#

well, local db

#

never used it but it's basically seems to be the accepted alternative to sqlite

void void
#

i like the idea of having config options between json/mongo

#

but i have a quick question

austere ivy
# void void what if i make configuration options?

that would probably be the path I would take. make a database controller interface that outlines what the databases do, and then add implementations for each type (mongodb, flatfile, etc) and pick whichever one based on the config

void void
#

I knew how to read the data when it was sorted by individual chats

#

but how would i do it in this new case scenario

austere ivy
void void
#

json

#

so i want a Map<String, Chat>

#

the string should be the chat name, i.e @spaghetti and the Chat should have a list of User which has constructor perms for id and the reason

austere ivy
#
  1. json isn’t a database, it’s a file type, make sure you get the jargon out (it’s annoying I know lol) 2. if you’re handling json, then there are a whole lot of libraries for parsing the json to and from Java objects. I like moshi, but jackson and gson are also widely used
ashen cliff
#

is that it’s quite scaleable
kekwhyper

void void
austere ivy
#

might want to rename Users in the Chat to verifiedUsers just to be a bit more explicit

void void
#

ok

#
    private Map<String, String> loadData(String name) {
        Gson gson = new Gson();
        InputStream inputStream = Main.class.getResourceAsStream("/" + name + ".json");
        if (inputStream == null) {
            return new HashMap<>();
        }
        InputStreamReader reader = new InputStreamReader(inputStream);

        Type type = new TypeToken<Map<String, String>>() {

        }.getType();

        return gson.fromJson(reader, type);
    }
#

this was my method of loading data from the .json files

#

it loaded data that was like

#

basically just like

#
{
  "brian": "awesome"
}
#

what i'm confused on is how do i get the chat name

#

then get the contents there

austere ivy
#

hm, it seems like you’re on the right track overall, but I’ve got some things I need to do. I’m sure someone else will help with this specific thing. just keep writing implementations for different database types and you should be on the right path

#

ping me later if you need anymore help though

void void
#

awesome thanks

broken yarrow
minor badge
#

you know you can do bitwise operations right

broken yarrow
#

.

#

how

#

?

minor badge
#

1 or 2, 1 and 2, 1 xor 2, 1 shr 2, 1 shl 2

broken yarrow
#

ok can u do it so i can see?

minor badge
#

i just did

#

broken yarrow
#

can anyone else hepl please

merry talon
#

...

broken yarrow
#

@here