#general

3141 messages ยท Page 156 of 4

merry talon
#

Some of them can give it a run for its money

#

the 1270 v6 is crazy good

unreal quarry
#

i havent seen any xeon keep up with my 5ghz i7 ๐Ÿ˜‰

merry talon
#

well 5ghz is a different story

unreal quarry
#

watches the ball go out of the park

#

homerun \o/

rose pier
#

@unreal quarry Which server is that? One at OVH?
And how many players etc does it handle before starting to struggle?

void void
#

the E-2136 out performs the 1270 v6

unreal quarry
#

i havent fully stretched her legs yet

#

just got it like a week ago

#

still setting things up (one man showing it sucks)

austere ivy
#

Billy.

rose pier
#

Nice.

austere ivy
#

๐Ÿ‘ ๐Ÿ‘

unreal quarry
#

i know its taking 1.14.1 like a champ so far

austere ivy
#

DEV

#

SERVER

#

๐Ÿ‘ ๐Ÿ‘

rose pier
#

Hah. I'm in the same situation.

unreal quarry
#

only thing that brings it to its knees is a WorldBorder fill

#

lol

austere ivy
#

Can we have a :clapclap: emoji?

rose pier
#

Bootstrapping a server is a lot of work.

#

What kind of server is it going to be?

unreal quarry
#

not sure yet. i'm just doing what my wife says

#

lol

#

she's in charge of this one

#

i'm the the geek behind the curtain making things work

rose pier
#

Haha okay.

austere ivy
#

So..

smoky tinsel
half ferry
smoky tinsel
#

Am I blind

#

I'm so confused

wide chasm
#

What's the output supposed to be?

smoky tinsel
austere ivy
#

99 bottles of beer on the wall.

#

99 bottles of beer.

#

Take one down, pass it around.

#

98 bottles of beer on the wall.

rose pier
#

After subtracting 1 the number of bottles left is eventually 1. But it was 2, so word is still "bottles", though it should now be "bottle".

austere ivy
#

if (bottles == 1) {
bottle();
}

#

lol

#

You could just have the string built (or chosen) at the end depending on how many.

smoky tinsel
#

ohhh yeah you're right

wide chasm
#

Also, you can do beerNum--;

austere ivy
#

Also beerNum -= 1, rather than beerNum = beerNum - 1.

unreal quarry
#

or they can use a damn for loop

austere ivy
#

Either one wo--

#

:(

#

beerNum--, yeah.

wide chasm
#

A for loop with beerNum-- though ๐Ÿ˜‰

unreal quarry
#

or a do while loop

austere ivy
#

You're basically recreating a while loop.

#

er.

#

for loop.

unreal quarry
#

i wish we used do while loops more often

#

they're neat

wide chasm
#

I can't remember the last time I've used them tbh.

rose pier
#

It has been... a while?

unreal quarry
#

lol

wide chasm
#

... Maybe...

austere ivy
#

Oh that wouldn't work.

#

Look.

#

They need to output something every time that they decrement, but AFTER the first iteration.

#

But before the next.

#

Could that be done with a do while?

wide chasm
#

Sure

austere ivy
#

I don't think so.

#

Well, it could.

wide chasm
#

If you use enough if statements anything can be done.

austere ivy
#

But better than what they're doing right no?

#

now*?

unreal quarry
#

for loop is best, tbh

#

would solve the problem of having to decrement it inside the loop at all

smoky tinsel
#

I think because it's only the first chapter they don't wanna confuse the reader

austere ivy
#

They need to output "beerNum-1 + bottles of beer on the wall!"

#

Oh yeah.

smoky tinsel
#

there's a chapter on loops later on

austere ivy
#

You could literally just do what I said, lol.

#

A bit hacky I guess since you're not actually changing the amount of beer on the wall.

wide chasm
#

Why are they using loops, if the chapter about loops is later in the book, course, whatever?

austere ivy
#

System.out.println((beerNum - 1) + " bottles of beer on the wall!");

#

ยฏ_(ใƒ„)_/ยฏ

smoky tinsel
#

beginning is just introducing the concepts and then they elaborate further on

unreal quarry
#

wait.. did we just do brain's homework for him?

smoky tinsel
#

this is what they have for loops in the first chapter

austere ivy
#

WHERE'S THE

#

ENHANCED FOR LOOP

wide chasm
#

No mention of .forEach, I'm disappointed /s

unreal quarry
#

those are both for loops still ๐Ÿ˜›

austere ivy
#

What about uhhh..

#

uh

unreal quarry
#

you could create your own loop using if statements, labels, and gotos

#

runs

wide chasm
#

I usually use JNI to call my Assembly code to use a bunch of jump if zero calls to create a loop.

austere ivy
#

Gotos?

#

Java has gotos?

unreal quarry
#

yup

austere ivy
#

No way really??

#

It's not april fools yet >:(

unreal quarry
#

well, its got something that does the same thing

austere ivy
#

Labels?

unreal quarry
#

you can jump to a label

austere ivy
#

Yarr, matey.

wide chasm
#

You have break label.

#

And continue label, but only if the label labels a standard loop.

unreal quarry
#

Damn

austere ivy
#

Label labeling labels.

unreal quarry
#

He's right

#

I don't think I've ever used them before lol

wide chasm
#

I've used both of them before, but it's not really something I want to use often.

unreal quarry
#

Ok, what about creating a loop using recursive methods

#

^_^

austere ivy
#

๐Ÿ‘€

thorn finch
austere ivy
#

I'm an expert in that, actually.

wide chasm
#

I usually define a static variable, then nest x methods deep, which then throw some custom exception upwards and each catch clause increments the static variable.

vague ermine
austere ivy
#
public class Main() {
    Main(int num) {
        System.out.println(num + " bottles of beer on the wall.");
        System.out.println(num + " bottles of beer");
        System.out.println("Take one down, pass it around.");
        System.out.println((num-1) + " bottles of beer on the wall.");
        Main main = new Main(num-1);
    }
    public static void main(String[] args) {
        Main main = new Main(99);
    }
}
wide chasm
#

Is that even recursion?

austere ivy
#

Technically it's calling itself, so yeah.

wide chasm
#

Java's GC really loves you

austere ivy
#

I mean it's a constructor calling it's own constructor.

#

๐Ÿ‘

unreal quarry
#

But that'll go negative

austere ivy
#

Yeah I anticipated that.

smoky tinsel
#

later on in the book

austere ivy
#

Booting up Intellij for testing is hard though >:(

smoky tinsel
#

god 600 pages

wide chasm
unreal quarry
#

That's almost as bad as brainfuck

wide chasm
#

This is worse.

#

Although I think I have some code for it lying around for finite loops.

void void
#

Any link to download shop and. Jobs?

#

Premade

unreal quarry
#

@void void you tried looking on the sites where they offer plugins? theres many of them

austere ivy
#
public class Main() {
    Main(int num) {
    String word;
    if (num <= 0) {
        System.out.println("No more bottles of beer on the wall.");
        System.out.println("No more bottles of beer.");
        System.out.println("Dadada, dadada, something something something beer on the wall.");
    break;
    }
    if (num > 1) {
        String word = "bottles";
    } else if (num == 1) {
        String word = "bottle";
    }
        System.out.println(num + " " + word + " of beer on the wall.");
        System.out.println(num + " " + word + " bottles of beer");
        System.out.println("Take one down, pass it around.");
        System.out.println((num-1) + " " + word + " of beer on the wall.");
        Main main = new Main(num-1);
    }
    public static void main(String[] args) {
        Main main = new Main(99);
    }
}
#

๐Ÿ‘

void void
#

But premade jobs?

#

Not plugin to make them

austere ivy
#

OH I FORGOT THE BREAK

wide chasm
#

lol

austere ivy
#

There we go, now push to production :sipstea:

wide chasm
#

force push

austere ivy
#

reset head

wide chasm
#

Travis deploy!

#

Or Jenkins or whatever

austere ivy
#

What's it? git reset --hard

#

Or something like that, haha.

wide chasm
#

Idk, I just let IntelliJ do my git stuff

austere ivy
#

Me too :(

#

I memorized this though:

#

git commit -m "Hello hello jello."

#

wait

#

before that, git stage --all

#

or -A I think

wide chasm
#

git add . or something

austere ivy
#

and then git push -u origin master

#

--FORCE

#

Just kidding don't do that haha.

limber knotBOT
#

Always force push!

wide chasm
#

Reset head, force push to master, merge everything to master, no going back, this code is perfect!

limber knotBOT
#

Use the force guys!

wide chasm
#

Yesterday I was in a nightmare. GitHub couldn't merge for me and I had to use... the terminal shivers

austere ivy
#

shudders

#

I'm guessing you're not a vim user? Lol.

wide chasm
#

No

austere ivy
#

Me neither.

#

It's missing a lot of features like..

#

CLICKING??
D

#

DO PEOPLE NOT USE MOUSES??

#

We're regressing as a society, I tell you.

limber knotBOT
#

Nano master race

austere ivy
#

HERETIC.

tardy lynx
#

45% cpu with 7 players on a raspberry pi

wide chasm
#

I just use Notepad++ and use JetBrains' IDEs for everything else.

limber knotBOT
#

running a server on a rpi

tardy lynx
#

Most of us are in the same area though

limber knotBOT
#

You like roasted berries? ๐Ÿ˜‚

void void
#

So is there premade jobs?

limber knotBOT
#

notepad++

void void
#

What to searh

limber knotBOT
#

not vs code

wide chasm
#

It's just for changing a config.yml file, please don't hurt me.

austere ivy
#

I use TextEdit for everything like basic config.

#

VS Code for everything else and IntelliJ for Java.

tardy lynx
#

nano > notepad > intellij

austere ivy
#

nano < notepad < intellij

#

You reversed your arrows there, buddy.

acoustic pilot
#

I had a Sublime Text license from 2012 that I was able to upgrade last year

austere ivy
#

Actually come to think of it, what's nano?

acoustic pilot
#

So I just use that for all the basic editing

smoky tinsel
#

I use textedit

#

mac user unfortunately rip

austere ivy
#

Me too.

#

Help me. Haha.

limber knotBOT
#

My watch has more cpu power, lol

unreal quarry
smoky tinsel
#

I so wish I had an actual gaming rig

unreal quarry
#

runs away

smoky tinsel
#

minecraft eats my computer

#

m i n e c r a f t

austere ivy
#

Me too :(

smoky tinsel
#

Billy you are really invested in this beer problem lol

unreal quarry
#

its beer

limber knotBOT
#

How can you not be invested in beer?!

wide chasm
#

I'm going to make it in A0A0, give me a few days.

austere ivy
#

Very nice, Billy.

#

Tell you what, I'll try my hand at optimizing that.

smoky tinsel
#

can't even drink beer yet sigh

austere ivy
#

Let me open up IntelliJ (takes roughly 8 minutes)

unreal quarry
#

no loops @austere ivy !

#

loops is cheating

austere ivy
#

No loops.

#

Yeh.p.

pulsar wigeon
wide hazel
#

FINALLY had time to put a face on my main site ๐Ÿ˜›

austere ivy
#

Wz, no.

pulsar wigeon
#

is it a sadface

austere ivy
#

Egg I don't see it anywher?

#
  1. I don't see your face anywhere.
#
  1. That's a nice home page.
#

The search bar at the top is.. a bit odd.

wide hazel
#

I could put my face on it I suppose

austere ivy
#

Other than that looks great.

wide hazel
#

there

austere ivy
#

How much does a server from you cost?

smoky tinsel
#

damn that looks so cool

wide hazel
#

removed the search bar

#

lol

austere ivy
#

Looks much sleeker, 10/10 amazing very nice!

#

short.egg82.ninja

smoky tinsel
#

I have a website and its like $60 AUD ay year

#

year*

austere ivy
#

I'm very impressed!

smoky tinsel
#

for hosting

austere ivy
#

How much does a server from you cost?

smoky tinsel
#

ohhh wait

unreal quarry
#

wtf is with that search bar's recomendations? its picked the most random shit i've typed into this PC (not always on Google) in the last year

wide hazel
#

lol

#

iunno

#

I removed it anyway

austere ivy
#

Is it crashing?

#

Or is my internet crashing?

#

Poor kaboomey

#

Ah there we go.

wide hazel
#

the domains cost $15/yr and the box $20/mo, with the game server costing another $20/mo

austere ivy
#

So uh. How much does a server from you cost?

#

Y'know since you have ptero.

wide hazel
#

the time and game panel are for my own ease-of-use, but everything else should be publicly-accessible

austere ivy
#

I'll pay you 30$ a month ๐Ÿ‘€

wide hazel
#

lol

#

never thought about renting out the game server, but eh

#

I use it to host Terraria, Factorio, and Minecraft for my friends

smoky tinsel
#

wait you have your own server?

austere ivy
#

Terraria?

wide hazel
#

it's for a modpack, but yeah

austere ivy
#

Did someone say Terraria ๐Ÿ‘€

#

Hourcount?

wide hazel
#

haven't started yet

#

fresh new world

#

we've been on Factorio and GW2 mostly

smoky tinsel
#

it's such a good game and cheap asf especially on sales

#

such a steal

austere ivy
#

I have 450 hours on Terraria, but I really want Factorio :(

#

Someday.

wide hazel
#

totally worth the cost

austere ivy
#

I love that kinda stuff, pipes and automation.

#

Used to sink a lot of stuff onto mc modpacks like direwolf 1.7.10 or 1.6.4 pack.

#

Automated a ton of stuff, really fun.

#

Egg I can't sign up for your shortener, it's not sending me a verification email :(

wide hazel
#

modpack I chose is a 1.12 pack

#

because am not dumb

rare herald
#

@static badge code h8er

austere ivy
#

It won't let me sign in ๐Ÿ‘€

wide hazel
#

for what?

#

most of the services I provide require reCAPTCHA and a valid e-mail

austere ivy
#

Haha.

#

Try resetting password

#

sorry there is no account associated with that email

#

Try signing up again

#

sorry there is an account associated with that email

wide hazel
#

for what service?

austere ivy
#

ยฟยฟ??

#

Shortener.

wide hazel
#

ah, yeah, there's an account

#

should have sent an e-mail I think

#

activated now either way

austere ivy
#

Amazing I love it.

wide hazel
#

lol

austere ivy
#

I'm taking your services hostage >:D

wide hazel
#

sure, why not ๐Ÿ˜›

austere ivy
#

Cool website egg! Very impressive!

wide hazel
#

I don't care much until a custom shortlink gets in my way or leads to malware- then I'll remove it

#

otherwise, knock yourself out

austere ivy
pulsar wigeon
wide hazel
#

lol

#

thankfully I have the power to disable or delete things

#

because, ya know, admin

#

the paste service is a bit harder for me to manage because private/encrypted/browser, but I'm not sure I care much about that

austere ivy
#

23 clicks already!?

#

Whoa I'm famous!

#

Thanks for the free monetization egg ๐Ÿ‘€

wide hazel
#

lol

merry talon
austere ivy
#

Same happened to me.

#

Ask egg to activate your account.

merry talon
#

@wide hazel ACTIVATE MY ACCOUNT REEEEE

wide hazel
#

weird, mailgun SMTP timing out

#

will have to fix

#

sure, activated

merry talon
#

smtp sucks

#

you should use their api

wide hazel
#

would if I had the option

merry talon
#

oh

#

shit

tardy lynx
#

Would switching to an SSD improve TPS?

austere ivy
#

@unreal quarry

#
public class Main {
    Main(int num) {
        String word = num == 1 ? "bottle" : "bottles";

        System.out.println(num + " " + word + " of beer on the wall.");
        System.out.println(num + " " + word + " of beer.");
        System.out.println("Take one down, pass it around.");

        num--;
        if (num <= 0) {
            System.out.println("No more bottles of beer on the wall.");
        } else {
            System.out.println((num) + " " + word + " of beer on the wall.");
            Main main = new Main(num);
        }
    }

    public static void main(String[] args) {
        Main main = new Main(99);
    }
}
#

It actually compiles and works completely, lol.

#

Thanks constructors!

#

The no-method (other than main) loop!

merry talon
#

@tardy lynx not TPS per se, but it will run smoother

heady spear
#

That's the ugliest tail recursion I've seen

austere ivy
#

Oh yeah?

unreal quarry
#

you set word each iteration too.. thats not optimization :S

heady spear
#

It could increase TPS if random access file operations are performed on the main thread

austere ivy
#

Well then participate.

#

Billy how ELSE are you supposed to do it?

unreal quarry
#

look at mine

austere ivy
#

Pass it through?

unreal quarry
#

its changed once

austere ivy
#

You're not using constructors.

merry talon
#

yeah what @heady spear said on 1.14

#

but that usually shouldn't be a problem with paper

unreal quarry
#

who said anything about constructors?

austere ivy
#

me >:)

unreal quarry
#

smh

austere ivy
#

:D mwuahahaha

merry talon
#

that's some r/oopgore

unreal quarry
#

my recursion was prettier

austere ivy
#

Well my recursion is constructive.

#

ba dum tsh

unreal quarry
#

mine would beat yours in benchmarks

#

should compare both of them with Integer.MAX_VALUE bottles of beer

heady spear
#

I wonder if the compiler would be able to turn unrecursify that shit, considering he's also creating new objects each iteration

unreal quarry
#

new task: find out how many bottles of beer cause a StackOverflowError

merry talon
#

Integer.MAX_VALUE + 1

austere ivy
#
public class Main {
    public static void main(String[] args) {
        Game game = new Game(99);
    }
}

class Game {
    Game(int num) {
        String word = num == 1 ? "bottle" : "bottles";

        new Print("%s %s of beer on the wall.\n%s %s of beer.\nTake one down, pass it around.", num, word, num, word);
        num--;

        if (num <= 0) {
            new Print("No more bottles of beer on the wall.");
        } else {
            new Print((num) + " " + word + " of beer on the wall.");
            Game game = new Game(num);
        }
    }
}

class Print {
    Print(String string, Object... formats) {
        System.out.println(String.format(string, formats));
    }
}
merry talon
#

that's bait

austere ivy
#

Not bait, it's a game, silly.

#

Technically I can save performance by not using another class.

heady spear
#

if (num <= 0) { new Print("No more bottles of beer on the wall.");
I'd perform this check at the beginning of the method instead

austere ivy
#

It breaks the intended output though.

heady spear
#

as it's the base case

austere ivy
#

99 bottles of beer on the wall, 99 bottles of beer, take one down, pass it around, 98 bottles of beer on the wall.

#

1 bottle of beer on the wall, 1 bottle of beer, take one down, pass it around, no more bottles of beer on the wall.

#

NOT

heady spear
#

No? when calling the constructor at the end of the method, just use --num

austere ivy
#

1 bottle of beer on the wall, 1 bottle of beer, take one down, pass it around, 0 bottles of beer on the wall.

#

No more bottles of beer on the wall.

pulsar wigeon
#

that's some terrible design

austere ivy
#

It's just not the intended output.

heady spear
#

You know there's "return" right?

austere ivy
#

Hey if you wanna try then, it is a competition.

#

Go ahead and try yourself :P

heady spear
#

I'm just saying, if you're gonna do recursion at least do it properly :p

merry talon
#

and recursion is retarded for that anyway lul

wide hazel
#

nedz upd8

heady spear
#

check for the base case, which in this case is 0 bottles and return, otherwise print the message, reduce and call the constructor again. Only difference is that the if statement is moved =)))

#

egg has broken jenkins build lmfao noob*

wide hazel
#

lol

woven otter
#

do that game but instead of using class Game run it in a new thread instead

#

@austere ivy

wide hazel
heady spear
wide hazel
#

ikr?

#

latest Jenkins is awesome

#

plus I proxied it through Apache so not only do I get it on port 80/443 on a custom subdomain, but it's also protected by ModSecurity + ModEvasive

#

and CloudFlare

#

and AppArmor

heady spear
#

how's apache as a proxy? I've only ever used nginx for that

wide hazel
#

works the same as Nginx really

#

I add rules as I run into 403s and that's about it

#

though that's for ModSec

heady spear
#

Not too bad, I haven't really used apache a whole lot to begin with

wide hazel
#

it works fine. Not exactly a powerful web server and I still manage to host a million projects on it

#

while keeping everything separate

patent kayak
#

nginx is best ๐Ÿ˜ƒ

wide hazel
#

PHP-FPM is amazing

heady spear
#

I should make kvantum work as a reverse proxy too :)))

#

HackVM is sweet, although I haven't used it in years as I refuse to touch php

wide hazel
#

been playing with Laravel, which a lot of the apps I run happen to be coded with

heady spear
#

Apparently it's called HHVM, whoopsie

#

it's pretty neat though, the JIT compilation is pretty nice

#

but then again, if you're using HHVM you might as well just use hack

carmine hinge
#

uh

heady spear
#

It's PHP but with type annotations, generics, lambdas and added bugs. I love it.

wide hazel
#

"and added bugs" neat! ๐Ÿ˜›

carmine hinge
#
starlegacyโžœ~ยป ssh mc.starlegacy.net                                                                                                                                                                     [11:28:41]
The authenticity of host '####' can't be established.
ECDSA key fingerprint is SHA256:####/####################.
Are you sure you want to continue connecting (yes/no)? no
#

wh

#

??

#

why tho

wide hazel
#

?

carmine hinge
#

why mee

wide hazel
#

whut

carmine hinge
#

it says the key changed

wide hazel
#

oh

#

try a VPN?

#

might be someone on your network fiddling with things they shouldn't

carmine hinge
#

i'm at home

#

thats unlikely

#

nobody else here knows how

#

know how to even attempt*

#

i dont even know how

wide hazel
#

might be somewhere up your chain as well, though unlikely

#

VPN would at least create a tunnel to another location

#

worth a check

#

just in case

#

if your host key changed something's wrong

amber tinsel
#

Where do you see that @meager perch

carmine hinge
#

i dont get any message on juicessh on my phone ๐Ÿค”

#

even on the same wifi network though

wide hazel
#

oh, finally

#

standard CD quality

tardy lynx
#

nah still not CD quality

wide hazel
#

depends on the CD

merry talon
#

you wouldn't go to apache from nginx

wide hazel
#

most of the ones sold in stores are ~384

merry talon
#

that's a solid downgrade

tardy lynx
#

My CDs are 1411kbps

carmine hinge
#

i'm tempted to just enter yes so I can get it over with ;-;

wide hazel
#

have you ever tried to include ModSecurity into Nginx?

#

not worth

#

with Apache, it's a simple apt install

merry talon
#

I don't know what that does

#

so I probably don't need it

carmine hinge
#

@wide hazel what are the odds this is nothing to worry about

wide hazel
#

I don't know what medicine is, so I probably don't need it ๐Ÿ˜›

#

@carmine hinge slim

carmine hinge
#

._.

merry talon
#

that's not the same thing thonk

austere ivy
#

I've created something..

#

so awful

merry talon
#

nginx is massively popular and no one uses that

#

so ๐Ÿคท

wide hazel
austere ivy
#

goodness

#

gracious

wide hazel
merry talon
#

why would I use any software that would allow that to do anything

wide hazel
#

also that

#

bugs happen

amber tinsel
#

I dont have that @meager perch

wide hazel
#

I'm certain Facebook didn't just go "well we should just not use software that has security holes" before it got hacked

merry talon
#

no easy bugs like that which a web server module will protect against exist anymore if you keep your shit updated

#

they're all complex software specific stuff

austere ivy
#

https://short.egg82.ninja/freevbucks

wide hazel
#

it's another layer of security that helps

#

least that URL is taken now

merry talon
#

if you want, I guess

#

definitely not a reason to connsider using apache though xD

wide hazel
#

right, what do I know, I'm only going to college for security, have a Security+, and am getting a career in it ๐Ÿ˜›

austere ivy
#

https://short.egg82.ninja/freevbucks for free v bucks

wide hazel
#

lol

merry talon
#

you gave me two examples that shouldn't ever matter if you're using software from the current decade

#

I'm basing my conclusion off of that

wide hazel
#

it's also the custom URL which is more easily remembered

#

or shared

#

"software from the current decade"

#

alright

#

HeartBleed

merry talon
#

and modsecurity is your only protection against that?

wide hazel
#

how about the last year?

#

oh, you want web? Alright

#

don't like WordPress?

#

I got you covered

#

Nginx has its fair share as well

#

no software is perfect

#

security in layers

#

ModSecurty is yet another layer an attacker has to fight through in order to get into your box

merry talon
#

just don't see how a web server module can be an effective measure against these things

wide hazel
#

the WordPress and Joomla links I added

#

WAF would protect against those

#

and some Apache and Nginx exploits as well

#

if you send a web server something that looks suspect ModSec won't even let Apache process it

#

(or Nginx)

austere ivy
#
public class Main {
    Main() {
        System.out.print("1");
        Main main = new Main(new Main());
    }
    Main(Main main) {
        System.out.print("2");
        Main main = new Main();
    }```
#

Output:
12
12
12
1...

unreal quarry
#

brian, you're tring to kill me, huh?

merry talon
#

suppose that could help if you want to run those gross packages, but keeping nginx up to date is good enough for me, especially since no WAF can be perfect either

#

but I do agree compiling nginx to add something is a pain

wide hazel
#

sure, in a world where zero-days don't exist

austere ivy
#

Ye, yea.

merry talon
#

the WAF won't help you with those either

#

since a zero day is by definition something unknown before lol

wide hazel
#

that's exactly the kind of thing Modsec protects you from

#

it doesn't just have a bunch of definitions of attacks

#

it looks at behavior

merry talon
#

oh

austere ivy
#

Here are some low tier memes ripped straight from r/programmerhumor"

#

Wait a minute

#

Oh, okay.

reef robin
merry talon
#

you know I may want something like that for jenkins

#

seems like every other day it's yelling at me about an update that fixes multiple vulns

wide hazel
#

that's one of the reasons I use it

#

software is buggy- it happens

#

WAFs protect from a ton of things

unreal quarry
#

my last jenkins server got hacked

#

that was fun

wide hazel
#

should have used ModSec ๐Ÿ˜›

#

(with OWASP rules)

austere ivy
#

Anyone here like Algodoo?

#

Nop?

#

Man you guys are missing out.

merry talon
#

jenkins has docker images for jdk11 and alpine but not both

#

ignore the ping part

austere ivy
#

A L G O D O O

void void
#

guys link to download jobs and shop

#

premade?

wide hazel
#

?

void void
#

jobs that are alrady made

#

i i only put the files

#

not to make them from scratch

wide hazel
#

confused

austere ivy
#

???

bright ermine
#

Hey what is always_handle_packets: true mean?
what happens if I put it to false?

void void
#

i get a weird tps spike with no plugins

#

quick lag spike and tps goes down to 17

#

just few datapacks

#

prob just 1.14.1 for ya

wide chasm
#

I said I'd make the "bottles of beer" thing in A0A0, so in case someone wants it (you probably don't), here it is https://hatebin.com/phyaqvjznu. (I can't be bothered to add line delimiters though.)

merry talon
#

@wide chasm what kind of linter do you use for that? :D

wide chasm
#

None, you just hope it works. Code quality isn't a thing in this language.

merry talon
#

doesn't seem very web scale

wide chasm
#

This doesn't scale at all. If you add an empty line somewhere in there, the entire program fails, and maybe if you're lucky it gives you some random stuff as well.

lilac zodiac
merry talon
#

well, people like being explicit

mild trellis
merry talon
#

could be a c replacement

#

rust beware

wide chasm
#

C is better than this.

#

This language removes its own code. C doesn't do that.

strange garnet
tropic flame
cursive sundial
thin anchor
#

So I have 1.14.1 almost playable, besides reducing mobs villagers etc down to zero anyone have any tips? Any flags currently more appropriate than aikar? This is a survival world thatโ€™s not pre-generated with default world borders. Currently tps seems to be affected by entities and my main issue is periodic โ€œnot a crash, not respondingโ€ messages until it finishes saving or whatever itโ€™s doing

wide hazel
#

go back to 1.12 or even 1.13

#

if you really have to, I guess pre-gen the world

#

maybe use a mob stacking plugin

#

I mean

#

or wait for 1.15

#

mayyyybe 1.14.2 will fix some of this. Maybe.

tardy lynx
#

Use 1.12.2

thin anchor
#

Yeah, wish I could go back, long story there. Pre-gen not really an option although I could pre-gen a bit of it. Thank you

tardy lynx
#

My players are fine with the server being 1.12

#

Just mention it in the description so people aren't suprised

thin anchor
#

I donโ€™t do map resets or Iโ€™d be with you on that.

golden gust
#

You can set a world-border and gen it in there

#

You're not going to see new ores and stuff in those chunks, however

tardy lynx
#

You could setup a 2nd server with 1.12, with a new world

thin anchor
#

Yeah, I mean I know 1.14+ is dumpster fire material currently. Just seeing if anyone has had any luck at all.

tardy lynx
#

Not even gonna try

#

Meanwhile, 9 players with 1.12.2 on raspberry pi, with no problems

#

Big thanks to everyone who's contributed to paper to make this possible

golden gust
#

Trick for 1.13.2 on a pi: disable async chunks

tardy lynx
#

oof

sharp ibex
#

@void void

#

Kaby Lake: 3.5GHz Quad-Core E3-1230 v6 Kaby Lake Xeon

#

ddr4

#

good dedicated server?

golden gust
#

Depends on your needs really

void void
#

Yup that's pretty good garb at least a pair of SSD for RAID 1 or NVMes or if you want to amp things up get NVMes in RAID 10 (4 or more of them)

sharp ibex
#

20-30 players

#

20-30 plugins

golden gust
#

That should be fine then

#

(plugin count doesn't really matter)

void void
#

Just make sure you get the fastest drives you can afford and on RAID 1 at least.

sharp ibex
#

i havent got experience with setting up dedicated server

#

any uh

#

guides

void void
#

Then you shouldn't be buying one unless you plan on hiring an admin.

#

Go shared instead if you wanna mitigate the drama.

sharp ibex
#

is it difficult to learn?

void void
#

It is why else do you think system admin is a multi year career path

#

?

golden gust
#

Meh, you don't need to be a pro

#

The hard part is getting past the fear of the terminal and a common issue people have is the fear of reading

void void
#

You do, what about security audits? Complying to GDPR? etc etc etc?

golden gust
#

Read up on it, spin up a vm on virtualbox and learn

#

it's for a minecraft server, you're not dealing with PCI compliance and all that BS

void void
#

You CAN DIY but isn't going to happen over night and yea you STILL have to be GDPR compliance regardless since IPs are personal data.

#

that why I say I am storing those at login.

sharp ibex
#

ah

#

terminal similar to cmd prompt?

void void
#

Seriously don't be buying one if your not going to willing to learn how to use it properly. If you are get a trash 128-256MB to practice on.

#

VPS that is.

sharp ibex
#

chill im not some 14 yr old, not gonna throw money at something i cant use lol

#

will look into it first

void void
#

I understand but the rest of the recommendation is also don't revisit until you spend at least a good number of days doing so. Then after that pratice deploying a base line Minecraft server on a 4GB VPS and running it for a week or so THEN once yoru profieicent at that THEN maybe go get the box.

rose pier
#

I hardly think you need to worry about GDPR and security (beyond basic stuff any blog post will tell you) when running a casual server.

void void
#

Better be safe than sorry though.

acoustic pilot
#

You don't have to worry about it in such cases, no. And sys admining is easy, anyone can pick up the basics within a day.

void void
#

If some bad guy get in via plugins or what not and send a DoS/DDoS/SPAM/etc guess who responsible for that?

rose pier
#

Imo the barrier of entry here in being "safe" is too high to get anything done at all.

void void
#

Yup the VPS owner.

rose pier
#

It doesn't really matter.

#

Just keep backups of your stuff.

void void
#

It does when they put you in the slammer.

acoustic pilot
#

Renting bare metal is almost always better than renting shared if you actually need the hardware. Can't trust asshat providers not to oversell.

rose pier
#

Your server gets suspended, you buy a new one.

#

Restore backup, move on.

void void
#

You do realize that they can report you to legal authorities right if there a serius attack and/or such going on right?

rose pier
#

Nobody's coming after you because you run a server which got hacked.

acoustic pilot
#

GDPR is a fairly weak law, suggest you brush up on it.

cursive oracle
#

does async chunk take so much power

void void
#

They do as they are low hanging fruits as they says.

acoustic pilot
#

The consequences of a casual person violating GDPR are almost non-existent.

void void
#

No one expects to be taken over so bad guys take advantage of that.

rose pier
#

Starting with some small server is good advice. To get familiar with the setup etc.

void void
#

Exactly just don't go all out until you understand Linux as a whole and understand how to secure/audit it as well.

golden gust
#

Majority of the things you're saying are just as applicable to shared hosting too

rose pier
#

@sharp ibex I recommend starting with a cheap Kimsufi dedicated server. You can get one down to EUR 5/month which is sufficient to start up a minecraft server and do testing on it, and have a few players playing. Learn all you need on that, and then upgrade to a bigger one depending on your needs and just copy over your server files.

void void
#

No it not, the shared host is responsible for a large portion of that.

#

Yea your still responsible for YOUR account but they secure everything else below that.

acoustic pilot
#

TLDR: 1. GDPR shouldn't even enter into your decision to rent hardware, it's not going to affect you. 2. You can learn the basics of sys admining within a day of tutorials, and are actually encouraged to do so, as doing so will save you a lot of money and time in the future, would mostly disregard anything being suggested by the other dude.

golden gust
#

if you have abuse on your server, it'll either just affect you (more malicous file deletion) or for cases like a DDoS attack from a shared host they'd also suspend your account

acoustic pilot
#

It's really not hard to understand how liability works.

void void
#

Exactly I am on a dockerized enviroment so the hacker wouldn't get far if they tried.

golden gust
#

Which is achievable easily with pterodactyl if you want that

void void
#

As long as I don't install something fishy like the bestserver.jar out on the open.

golden gust
#

Most hosts use multicraft however and use the "just run it as a standalone user" vs containers

void void
#

No they use both and Multicraft does support that since 2.1

#

It manual implementation though.

golden gust
#

supports it but not setup by default

void void
#

Exactly but I asked them about the stupid issues I had and they said they use Docker too.

#

So they did customized it for that.

golden gust
#

which is something your host did

#

Not all hosts do that

void void
#

Exactly.

acoustic pilot
#

Would imagine the bulk of them are running the default set up

void void
#

Pay to show around.

golden gust
#

Many just barely escape "run the script" levels

void void
#

Yea LOL.

acoustic pilot
#

Yeah, probably just bought an install script off Mc-Market and started their hosting business

void void
#

Even web hosts are like that.

#

like "oh we can't change defaults"

upper flicker
#

bouncing the vps the irc bridge is on

acoustic pilot
#

Most managed hosts are terrible as they don't even let you tweak start up flags.

upper flicker
#

rip those 15 people

void void
#

That's good though so you/someone else can't brick yours/their server. You imgiane just some idiot (oh I will configure 32GBs and not pay for it! Haha suckers!)

limber knotBOT
#

Uptime: 0 days, 0 hours, 0 minutes, 57 seconds
Message Handling: 61ms / 61ms (mean/median)
Messages from IRC: 0 (0%)
Messages from Discord: 2 (100%)

#

Hallo from the other side

acoustic pilot
#

Well it's just another argument to simply invest the few hours it takes to learn SSH/screen and manage the server yourself.

limber knotBOT
#

is rlly nice over here

#

spr gr9

#

magical

#

!stats

golden gust
#

!stats

acoustic pilot
#

Simple flags are used for some important performance tuning

golden gust
#

Well, rip then

upper flicker
#

ye I dont persist the counts

#

I dont care enough about those 2 pieces of data to serialize them anywhere

#

it was relevant then too

acoustic pilot
#

ur irrelevant

upper flicker
#

someone was asking about why it didnt match discord's search results

golden gust
#

Imagine if we loaded it with the discord and IRC stats

#

That would be a sad chase

upper flicker
#

well if we count all of IRC back to when we were on esper and stuff

#

idk it might just give it a run for its money

#

be a hell of a lot closer anyway

acoustic pilot
#

there's a good 3 or 4 years worth of prior IRC history isn't there ๐Ÿ˜›

upper flicker
#

yeah

#

idk how long we've been here either though

#

this channel is newer

#

the original general is now #paper-help and even that isnt all that original

tropic flame
#

I don't remember if Eclipse would also do that

dusky magnet
tropic flame
#

hmm? @meager perch

#

do you use VS Code?

#

(or VS Codium)

#

I mean IntelliJ has that too, probably

#

I've just never used IntelliJ ๐Ÿ˜„

#

just switched from Eclipse to VS Codium recently, performance reasons, I don't wanna switch back now so I guess that's good

cosmic raft
#

Editor -> General -> Code Completion -> Autopopup documentation in (ms)

#

might be moved somewhere else

austere ivy
acoustic pilot
#

when is WSL 2 releasing

upper flicker
#

1907 or 2003 (lol 2003)

#

I think they changed it to 19H2 and 20H1 naming specifically for that reason

#

it didnt really sound like it was on the table for 1907 though

#

probs gonna be 20H1

atomic marten
#

Read someone say docker like it was a perfectly secure environment

#

No canโ€™t be, that grape juice must of gone bad

limber knotBOT
#

throw that shit down the drain then

#

that's disgusting

atomic marten
#

?

limber knotBOT
#

grape juice going bad

wide hazel
#

"perfectly-secure for our needs" or "perfect security"?

#

because containers are pretty good

atomic marten
#

Referring to a wine

wide hazel
#

there's a docker wine?

atomic marten
#

And it was a paranoid person saying they use docker cause itโ€™s secure

#

No that was for the irc person

wide hazel
#

ah

#

docker is pretty sure

#

it's a good layer

atomic marten
#

If your paranoid docker alone isnโ€™t enough tbh

wide hazel
#

depends on your threat actor

#

still depends on your threat actor

atomic marten
#

If your paranoid and you can access your server

#

Itโ€™s not secure enough

wide hazel
#

stiiiilll depends on your threat actor

atomic marten
#

Iโ€™m referring to a conversation earlier here

#

About using shared hosts environments and whatnot

limber knotBOT
#

(DiscordBot) https://www.ncbi.nlm.nih.gov/pubmed/21211096 -- The structure of genetic and environmental risk factors for...: "Jan 7, 2019 ... Comorbidity between the phobias was accounted for by two common liability factors. The first loaded principally on animal phobia and..."

atomic marten
#

People are the easiest to exploit to gain access

#

Donโ€™t let people access and security went up

limber knotBOT
#

yeah man people suck

atomic marten
#

I do

limber knotBOT
#

we should rise up and exterminate them ey fellow bots

atomic marten
#

Or just be a favorite

#

Favoritism goes a long way

#

My professors made a special course just for me for topics they donโ€™t teach there for free blobshrug

#

The power of favoritism

#

You can always just practice it

#

Smh

#

Itโ€™s only unethical if you get caught

#

Itโ€™s only illegal if you did something malicious

#

And get caught

wide hazel
#

"it's"?

#

what's "it's"?

upper flicker
#

magic

acoustic pilot
#

tacos

upper flicker
#

happy saturday all

wide hazel
#

FUCK I want tacos now

atomic marten
#

Lmao

acoustic pilot
#

too bad you can't have any

rare herald
#

Feliz fin de semana

wide hazel
#

my bank account says I can

atomic marten
#

I like to advertise chick-fl-a on Sunday

wide hazel
#

tacos are cheap

#

good tacos are less cheap but still cheap

#

really good tacos are not cheap, though

atomic marten
#

No idea

wide hazel
#

we have white castle?

acoustic pilot
#

white castle, in n out, whataburger would be the more niche burger joints

atomic marten
#

I want carne asada tacos now

merry talon
#

most tacos are good tacos

wide hazel
#

in n out is also good

#

but not tacos

limber knotBOT
#

that's a really uninspired name for a taco

#

literally just "cooked meat taco"

wide hazel
#

yep

limber knotBOT
#

no thanks I like my poultry raw

wide hazel
#

lol

limber knotBOT
#

because I am a man

atomic marten
#

Itโ€™s steak tacos

limber knotBOT
#

I'm tired of them putting chemicals in the tacos that make the frigging birds gay, do you understand that?

acoustic pilot
#

with some variation of cheese, guacamole and sour cream, depending on the place

limber knotBOT
#

thwack thwack thwack pissed

atomic marten
#

And pico

wide hazel
#

birds don't exist

#

they're all government robots

limber knotBOT
#

sounds like NPC talk to me egg

#

are you an NPC

wide hazel
#

maybe

#

can you prove it?

limber knotBOT
#

is this the great replacement

wide hazel
#

muahahaha

limber knotBOT
#

they're replacing people with bots

#

^-^ It's okay, some people like guys

#

prove it to me baby

#

Ew no

#

see

wide hazel
#

hahaha

limber knotBOT
#

btfo

#

if some guys like other guys how come no one likes me

acoustic pilot
#

ur a mutant

golden gust
#

Theres this thing called standards

limber knotBOT
#

yeah but that's because they keep putting uranium in my tacos

golden gust
#

^ doesn't help either

atomic marten
#

Finally decent weather here

#

40c

limber knotBOT
#

toasty

atomic marten
#

Cozy

golden gust
#

We have gray clouds

atomic marten
#

Oof

limber knotBOT
#

no, those are chemtrails

atomic marten
#

I did yesterday

acoustic pilot
#

sounds like a burning pit of hell fire

tardy lynx
#

lol my server actually sligjtly dropped tps for a short while

acoustic pilot
#

20c here

atomic marten
#

Cold

limber knotBOT
#

27c

golden gust
#

probs thought about jetting off

limber knotBOT
#

comfy weather

#

looking at 35 a week from now

#

must be that global warming

atomic marten
#

Iโ€™m a Floridan tho

limber knotBOT
#

are you florida man?

#

I'm a big fan

atomic marten
#

I was born there I moved a bit further north

golden gust
#

IT'S SPREADING

limber knotBOT
#

all the best things do

atomic marten
#

It did a long time ago

golden gust
#

But we gotta focus on modern issues!

limber knotBOT
#

modern issues require modern solutions

upper flicker
#

we should build a wall around florida and make florida pay for it

limber knotBOT
#

everyone dab on fuzen until he comes back to the wretched hive of scum and vilany from whence he came

#

s/comes back/goes back

#

Correction, <^-^> everyone dab on fuzen until he goes back to the wretched hive of scum and vilany from whence he came

#

^-^7

atomic marten
#

Hydrogen bombs are pretty modern

golden gust
#

Sounds like the best solution

limber knotBOT
#

what are you, a craigslist fencer

#

hydrogen bomb, like new

atomic marten
#

No, I like to help people hand around

#

*hang

#

Mfw

golden gust
#

First, we take out their spawn point

#

Then, we let darwins law deal with the reast

acoustic pilot
#

with the melting ice sheets and rising sea levels, eventually florida and louisiana will together sink and the alligators will take care of teh problem for us!

limber knotBOT
#

quick someone find where fuzen has his bed

#

I'ma burn that sucker down

atomic marten
#

implying Iโ€™m ever in my bed

golden gust
#

obv my spelling hits me a few points in that aspect, might misread some sign and male into a mine field looking for the tracks

#

walk*

limber knotBOT
#

are you more of a stay in the corner on the chair type of person fuzen

atomic marten
#

Of the couch

limber knotBOT
#

very progressive of you

atomic marten
#

Thank you

#

Means a lot

#

It took a lot of inches to get there

limber knotBOT
#

bet it took quite a few miles for you to get anywhere in the world

austere ivy
#

@meager perch

atomic marten
#

Took a lot of years to go those miles

austere ivy
#

My computer canโ€™t run texture packs very well

#

I consider downgrading to an 8x8 pack

atomic marten
#

So much flattery today

limber knotBOT
#

I would hate to leave a deserving person unrewarded fuzen

atomic marten
#

Daw, your making me cry

limber knotBOT
#

hope you've not forgotten the safeword then

atomic marten
#

The pleasure comes with my tears

limber knotBOT
#

tmi

#

man it'd been a minute since I've last had a decent online banter sess

#

life's crazy busy

austere ivy
#

@meager perch

#

Help me, please.

#

What's your GPU/CPU?

#

BRUH.

#

How'd you get those!?

#

How'd you get the money!?

#

ยฟ?ยฟ?

#

My brain's confused.

#

@static badge help??

#

Someone's trying to use Cardboard.

#

???ยฟยฟยฟ what do.

static badge
#

.g cardboard t3hbrian

limber knotBOT
#

(DiscordBot) https://github.com/T3hBrian/Cardboard -- GitHub - T3hBrian/Cardboard: Super extra high performance...: "Super extra high performance Paper fork that aims to make Minecraft huge way way a lot much less laggier. - T3hBrian/Cardboard."

static badge
#

your fork is useless

#

tell them to use paper

burnt garden
void void
#

l m a o

#

brian ur fork is shit

#

admit it

austere ivy
#

My fork is better than your fork.

#

Oh wait.

#

You don't have one.

#

๐Ÿ˜‰

void void
#

yeah because i contribute to paper

austere ivy
#

I mean just look at the features:

void void
#

with code what gets accepted

austere ivy
#
  1. Has my name plastered all over it.
#

I mean is there anything more that you need???

static badge
#

brian tries to bait everyone part 43

austere ivy
#

I'm not baiting I just forgot this: /s

#

???

void void
#

lul

austere ivy
#

Hello o/

#

That's the person, he needs help with something so I directed him here.

void void
#

hi

#

I need help

#

for pom.xml

austere ivy
#

I think the fault is that I made it too professional looking. I mean just look at this amazing logo that totally didn't take me more than 5 minutes to make:

#

If only Cardboard was the quality of the logo ๐Ÿ‘€

#

My original plan was to make it a complete joke and non-compilable but I do have some things I'd like to modify so maybe I should turn it into an actual fork.

limber knotBOT
#

yeah man I hate it when the stuff I make is too good

static badge
#

magma nothing u make is good

austere ivy
#

Since Cardboard is a good name and that's a half decent okay logo, :p

#

^-^ is magma?

static badge
#

yeah

limber knotBOT
#

like I once wrote code so good I discovered the compiler has an error message that says "bro the world doesn't deserve this, make it shittier"

static badge
#

filthy weeb name

austere ivy
#

So what do you need, @void void?

limber knotBOT
#

I wouldn't use this name if md_5 hadn't insisted on it

void void
#

I need to pom.xml

static badge
#

did you get locked into that name lul

limber knotBOT
#

yeah by the big guy himself

austere ivy
#

Are you familiar with how Maven works?

void void
#

this

upper flicker
#

that's not a meaningful statement

#

this what

void void
#

Maven

upper flicker
#

maven what

#

its in the README

limber knotBOT
#

Z750็ˆถ that's what I keep telling java

#

"this" what

austere ivy
#

Z7, he came looking for help in the CARDBOARD DISCORD.

limber knotBOT
#

:D

austere ivy
#

My joke fork that added VR support, remember? lol.

upper flicker
#

idk what he wants

austere ivy
#

Poor guy was thinking that Cardboard was a good idea :(

static badge
#

he posted an error somewhere

austere ivy
olive talon
static badge
#

ah yes

#

missing pom in paper-api

#

did you patch first?

#

./paper patch?

austere ivy
#

Not going to lie it did make me happy when I had a notification for my server.

#

It's very empty there :(

#

I see the only way I can attract people is by scamming them. I see it now! My true calling! A scam artist!

static badge
#

you mean baiting

austere ivy
cosmic raft
#

its ok

#

leaf is just mean

austere ivy
#

<3

cosmic raft
#

if it makes you feel better

#

leaf can make fun of me instead

#

i'm watching the twilight movies again

void void
#

Is there a video I don't know how to do?

static badge
#

interesting

austere ivy
#

Never watched those lol.

static badge
#

what were those movies about again

austere ivy
#

I wouldn't want you to be made fun of :(

static badge
#

one vampire dude wanting to get some chick and the wolf guy getting a hardon for their baby?

#

wasn

#

t that the plot?

cosmic raft
#

and if it is?

static badge
#

so it is LUL

austere ivy
#

@static badge are you a weebulus

static badge
#

.g weebulus

limber knotBOT
static badge
#

.g define weebulus

limber knotBOT
rose turtle
austere ivy
#

I think we have a concrete case of the weebies, Leaf is a weebulus.

#

Oof.

static badge
#

can't bait me that easily

austere ivy
#

I'm being..

#

I'm not..

#

I'm not baiting I'm..

#

I'm not sure what I'm doing.

#

But it's not baiting.

static badge
#

you are baiting

tardy lynx
#

Thanks CoreProtect

austere ivy
#

No.

#

I'm just like..

#

.. uh

#

sarcasm.

#

CoreProtect is the best plugin to ever exist, possibly, maybe ever.

#

I have it on my server and I love it.