#general

3141 messages · Page 582 of 4

jagged egret
#

ah gotcha

pulsar wigeon
#

it's a fork

#

as we commonly call them in oss

jagged egret
#

it's been awhile since i've done stuff with computers, let alone databases lol so I'm still rusty

limber knotBOT
#

rust

#

it's the open source fork by the original mysql dev replacing mysql as mysql is orcale owned

#

and as everybody knows: oracle is shit

#

oracle really do be shit

#

who uses oracle database?

#

i've seen they're the most used

pulsar wigeon
#

corps

slim nymph
#

fizz buzz enterprise

limber knotBOT
#

old businesses

pulsar wigeon
#

$$

limber knotBOT
#

they use it bc it works

#

and they're old and scared of everything

#

I mean oracle supports that if you pay them ¯_(ツ)_/¯

#

usually you don't get that from an open source community, lol

slim nymph
#

some businesses literally wont use software if its free

limber knotBOT
#

I use Postgre just because good documentation

#

yeah

#

support packages are very important

#

afaik oracle even ships custom database software if the client really needs that

#

try getting a custom fork supported by the mariadb devs, lol

short yarrow
#

I looked at it and I thought this is what everyone's code looks like except mine

slim nymph
#

unelss that business accepts the risk and builds a cheap model on open source, which is common

limber knotBOT
#

lmao

#

there's maven and gradle

slim nymph
#

use open source, contribute to open source

limber knotBOT
#

that's how you know they mean business

#

both, at the same time

slim nymph
#

im pushing my company to embrace open source more

limber knotBOT
#

may ask what's that Hydraxus

slim nymph
#

trying to start the lead on open sourcing stuff

limber knotBOT
#

very nice sentiment, but being on the cutting edge is a good way to get cut

slim nymph
#

apparently im the first to ask lol, and its a huge fucking company

limber knotBOT
#

many businesses will very rationally just stick to what works despite any costs or licensing fuckery

golden gust
#

depends

slim nymph
#

we are mixed, we have so many subsidiaries some are .net, some oss

jagged egret
#

sudo apt install mariadb-server is stuck at 95% 🤔

limber knotBOT
#

can you provide any more details than that

slim nymph
#

my work is oss based

jagged egret
#

who

golden gust
#

older companies will generally be relying on proprietry software, given that a lot of the time, that's all that was available

limber knotBOT
#

iso

golden gust
#

that and the cost/effects of migrating an existing company from one solution to another can be pretty crazy when you have years upon years of operational data

void void
jagged egret
short yarrow
#

@still smelt it's meant a joke. When I first saw it I thought like this is exactly how people that know their shit write code haha

limber knotBOT
#

just wait, iso

jagged egret
#

ok

limber knotBOT
#

same thing applies to video editing

golden gust
#

having worked with autocad here and there, I can confirm that there is nothing in terms of opensource at the same level

limber knotBOT
#

imo Blender is way better than any proprietary video editor ¯_(ツ)_/¯

#

there's great OSS video editing softwares that overcome almost every challenge adobe premiere faces

void void
#

Hello i need help with my server the fish event takes for ever

golden gust
#

heck, jumping cad packages is a royal PITA, things like autocad are also based on really old systems, with oddball commands for doing things which don't translate across platforms too well, you'd literally break a LOT of workflows if you jumped somewhere else

#

the cost savings of using an OSS variant is far from outweight by the hit it would have on devs

void void
#

Viper i dont want to change it but i am serious it ist workingµ

golden gust
#

well, not devs, I mean, the engineers who do the drawing

void void
#

it tokes for ever

short yarrow
#

holy shit autocad is $1.5k per year

golden gust
#
  1. No idea what you mean by an event takes forever, likely misspoken
#
  1. Wrong channel
pulsar wigeon
#

that's why r# adds IJ keybindings to VS barty

limber knotBOT
#

isn't office 365 SaaS now

#

or rather

#

office 365 is office saas

pulsar wigeon
#

yes but still integrates with desktop

golden gust
#

Because the paid option is cheap as all shit when you consider enterprise, and actually has a level of QA which.. .well, works

jagged egret
#

how long should I expect to wait phoenix616

limber knotBOT
#

ideally until it's finished ¯_(ツ)_/¯

jagged egret
#

lol claro

golden gust
#

not to mention that most of your office staff is generally not tech-wizzes, as well as OS alternatives having their own stupid issues

#

comparatively

#

autocad, etc, is expensive as fuuuuck

#

But, you look at how much you're paying these people to use that software, it's nothing

limber knotBOT
#

could take a look at htop to see if it still does something I guess

short yarrow
#

Imagine doing it as a hobby or trying teaching yourself 😩

limber knotBOT
#

how does the irc relay discord webhook get profile pictures

pulsar wigeon
#

same nick on discord

limber knotBOT
#

how does it know what my discord acct is?

#

o

#

o

upper flicker
#

it just checks for a matching name

#

there is no nsa identity system

limber knotBOT
#

yeah, you can easily troll people like that

#

runs

jagged egret
#

well now I know why it took so long

limber knotBOT
#

test

#

rip

#

why did you change your name

#

curiosity

short yarrow
#

After working with teammates in high level CS courses it feels like a good amount of people have no idea what they're doing

limber knotBOT
#

you know I could've stolen your name in the meantime

#

and you wouldn't have been able to get it back

#

:)

#

yeah well i'll just yell to the nearest oper

#

I'll take "what is nickserv?" for 100

#

at the top of my lungs

#

also yeah LOL i registered Airee

#

go for it

jagged egret
#

anyone know how to fix mariadb lol

#

it won't even start

limber knotBOT
#

look at the log?

#

sure just add my private key

#

no scam

#

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCo5idOLahKgz+avJECx4CM2U/WL1omDm4mNmBQzdrnwyKfMcf6SymSipiTOTcLZGhf+X0LdXpFCVCNXMbLINPSTMhGh4nuNmdv8B/kgc2cZwp/W8bnfhaV6BLuz7bbBWu+oU380EnpdVYK1t2W6LYuUNwweacqkWLAvl7+Qfh0EBWJAyQRi1wjqLWV9qjMhwXCJVugUJRiz1sCGcfzjrTlNTq9nO8FwkX7OL6lLUovm0WBlDVp6h6RaRI/vhnh9r8WkpQ0PRaP1c3YGqbzyvADojKNFzxq9S5ORcb7fcHRrcvz4HyvLdv8GnqU5M8lvDfsksJXZBJynNGXJ+9kiNxb

short yarrow
#

Are there actually pretty big differences mysql, postgres and maria?

outer parcel
#

postgres yes

#

maria and mysql no

limber knotBOT
#

what happens if you accidentally send your private key

#

i guess the servers that have added my key over the years are fucked

#

monkas

upper flicker
#

you make a new private key and stop using the old one entirely

limber knotBOT
#

Luckily I started using random generated password about 2 years ago

jagged egret
#

this is the only thing I can find

pulsar wigeon
#

apparmor kekw

limber knotBOT
#

lmao apparmor

jagged egret
#

what's apparmor

limber knotBOT
#

selinux but bad

#

what distro are you on?

#

that's gotta be like ubuntu 19 or higher?

jagged egret
#

ubuntu

#

uhmmm

limber knotBOT
#

lsb_release -a

ashen cliff
#

Can we get SELinux?
No we have SELinux at home.
SELinux at home: AppArmor.

limber knotBOT
#

if ur unsure

#

LMAO

#

wheezing

jagged egret
#

ubuntu 18.04.4 LTS

#

this is on my laptop too, I just need a db for testing

limber knotBOT
#

systemctl disable --now apparmor

#

it'll try to use polkit but yeah

#

you should probably sudo that if you aren't root

#

i never use sudo because i'm a madman and an awful person

#

what a mad lad

#

just log in as root 5Head

#

yeah I just run my minecraft network inside root account

#

okay well

#

i'm not that bad of a person

#

i also use selinux

jagged egret
#

fixed it

#

ran sudo aa-remove-unknown and then I was able to run sudo service mariadb start

#

I did

#

ok so i ran mysql_secure_installation, set a password and everything, but now running mysql -u root -p throws an access denied error no matter what password I use

#

welp

#

gonna reboot

ashen cliff
#

Won't help.

#

Do without -p

jagged egret
#

same thing happens

ashen cliff
#

🤔

marble roost
#

anyone around that has experience with mongodb?

#

i've been trying to fix something for hours now

jagged egret
#

idk how

ashen cliff
#

You shouldn't need to enter the root password locally, due to how Debian sets up MariaDB by default.

#

(and I assume Ubuntu doesn't change that).

jagged egret
#

cheers

#

Got to step 5, the first command is still saying access denied

#

what should I do? uninstall and reinstall it?

#

do I need to purge any files manually

golden gust
#

you might not need -p

iron zephyr
#

Where can I ask for plugin recommendations? 😄

golden gust
#

mariadb has a unix auth thingymajig which uses your current user as basically auth

limber knotBOT
#

ye michael

golden gust
#

you need to be logged in as root

marble roost
#

i'm replacing a document with another one with the mongo java driver, nothing out of the ordinary. for some reason, it freezes.

            System.out.println("Saving document..., _id = " + realm.getUniqueId());
            realmCollection.replaceOne(Filters.eq("_id", realm.getUniqueId()), document);
            System.out.println("Document saved");

i even enabled debug logging for mongodb and everything still works. the code never gets to the last line, but the driver doesn't say anything, not even in debug mode. is there anyone that could help me by any chance?

twin lagoon
#

@vernal moth ^

limber knotBOT
#

attach a debugger and start walking thru the stack ^^

marble roost
#

according to yourkit the thread is just waiting

golden gust
#

the stack will basically tell you where it's waiting

jagged egret
#

wait so I can't use mariadb if I'm not logged in as root?

#

no me gusta eso

golden gust
#

hav u her bow sudo?

#

that won't work due to the local user auth

jagged egret
#

do I need to erase files manually

#

but when uninstalling it

golden gust
#

you'd --purge iirc

jagged egret
#

what if i already ran apt get remove D:

golden gust
#

eerrr... it gets funky as dpkg tracks state and stuff

jagged egret
#

aaaaaugh why does this have to be so complicated

golden gust
#

ah, apt purge, apparently

jagged egret
#

i'm an idiot

golden gust
#

for the record, you said it

jagged egret
#

i just kill -9 gnome-shell

golden gust
#

but, yes

#

lol

jagged egret
#

how do I get it back lol

#

idek

#

i screwed up guys

#

what do i do

#

i only have discord 😂

golden gust
#

if you can run a process, just run it

limber knotBOT
#

pinches KennyTV Nose.

fallen oracle
#

Yeah I can do that but I still have to pass the class lol

#

I have all As except 1 class.

#

Which I have a D in.

static badge
#

wtf is pass/fail

jagged egret
#

it was from the system monitor, I thought I was killing the apt install mariadb-server because it hung again

#

had to restart 😅

tepid leaf
obsidian grove
jagged egret
#

eyyy it's running

#

right after install :D

copper sage
sweet turret
#

Would paper work for RLCraft?

ashen cliff
#

No.

jagged egret
#

what's RLCraft

ashen cliff
#

Mods.

jagged egret
#

Ahhh

limber knotBOT
#

vert dat fuk left again

mortal zinc
solid hull
jagged egret
#

oh gosh in the latest snapshot Mojang added freaking more walls

#

also mojang y u gotta be putting so many particles in the air in biomes

upper flicker
#

I like the ambiance sounds and music in the new nether biomes

#

💯

ashen cliff
#

So to be GDPR compliant, you have to delete everything about a user if you ban them...
Imagen reverting every interaction to the world he made.

mortal zinc
#

"the flattening" really made all these new blocks possible lol

static badge
#

personally identifiable information isn't it

jagged egret
#

that's not 'about a user' (NAL)

mortal zinc
#

i guess one has to ask what minecraft really is about then, if you want to ponder their direction now a days

magic ice
#

lmao z I read your message as "ambulance sounds"

mortal zinc
#

seems more about the cosmetics than survival

jagged egret
#

this update, yes

#

hopefully next update will be the cave update

mortal zinc
#

ah yeah, caves are quite lackluster

#

maybe at some point they should experiment with the aether again, but I know they have an island sky world type in the generator

jagged egret
#

abt a year ago I heard someone say "Isn't it ironic that the two most boring things are mining and crafting in a game called Minecraft?"

mortal zinc
#

LOL

#

hahaha

#

well the crafting book really made crafting easier

wide chasm
#

I like mining tbh

jagged egret
#

right this was before the crafting book

#

i forget when that came out

wide chasm
#

1.12... maybe?

jagged egret
#

no recuerdo

upper flicker
#

the ambulance sounds are quite nice as well, yes

jagged egret
#

1.12 si

wide chasm
#

Yey

jagged egret
#

what kind of noise are used in world generators

#

for biomes, etc

vernal moth
jagged egret
#

noice

vernal moth
#

the code is so horrible tho 😂

#

the neighbor check is hideous

restive wyvern
fallen jungle
#

> Dictionary with Vector3 as the key thinking_gun Those aren't int vectors are they

cobalt shuttle
fallen jungle
#

Nvm they're int vectors

jagged egret
#

would it be better to have a table_<worldname> with entries for blocks like chunk_x, chunk_z, block_x, block_z, y, type_index or one blocks_table with world_id, chunk_x, chunk_z, block_x, block_z, y, type_index and a worlds_table with world_name, world_id?

#

i'm worried the blocks_table would get really big really fast with all the worlds in one table

sweet turret
#

so would paper even work for RLCraft or am I just trying to do something crazy lol

jagged egret
#

no it wouldn't

#

we already said that

sweet turret
#

Oh I missread that lol

#

I've been looking up guides on spigot for making a PVP server has anyone here tried one that they liked?

jagged egret
#

if your server follows a guide to a T to get set up it's going to be another cookie-cutter server, no?

sweet turret
#

But I'm just trying to learn at this point

#

So far this is my 4th attempt and not very happy with the results so I thought I would follow a guide and then build from there

fallen jungle
#

@jagged egret is that for configuration?

jagged egret
#

no it's for a mysql db

#

why does my mysql db report 4 connections o.o I'm the only one connected, in theory

sweet turret
#

I think that is pretty standard

#

I host a lot of websites and work with mysql it always reporting a lot of connection

tight plank
ashen cliff
#

Pools.

jagged egret
#

aaah

void void
#

yeh connection pools open up to like 10-12 connections at a time iirc

#

and keep them alive constantly

placid thicket
#
>....=>.... [13:14:25 INFO]: This server is running Paper version git-Paper-162 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
>.... [13:14:25 INFO]: Checking version, please wait...
>.... [13:14:25 INFO]: Previous version: git-Paper-155 (MC: 1.15.2)
>.... [13:14:25 INFO]: You are 2 version(s) behind
>.... [13:14:26 INFO]: DemonicSpade lost connection: Disconnected
>.... [13:14:26 INFO]: DemonicSpade left the game
>.... [13:14:55 INFO]: false
>.... [13:14:55 INFO]:
>.... [13:15:10 INFO]: PerplexedLake issued server command: /tpa Vi_Angry_iV
>.... [13:15:11 INFO]: false
>.... [13:15:11 INFO]:
>.... [13:15:18 INFO]: Vi_Angry_iV issued server command: /tpaccept
>.... [13:15:24 INFO]: false
>.... [13:15:24 INFO]:
>.... [13:15:36 INFO]: false
>.... [13:15:36 INFO]:
>.... [13:15:50 INFO]: false
>.... [13:15:50 INFO]:

this just started happening after i ran /version

upper flicker
#

version doesnt trigger that

#

youve got some other fun going on somewhere

placid thicket
#

odd, cause it has never happened before 0.o

#

and it hasn't stopped doing it once every few seconds

heady spear
#
final World worldObj = Bukkit.getWorld(world);
        checkNotNull(worldObj, "Critical error during regeneration.");

What an informative error message <.<

#

this code is giving me a headache

static badge
#

is that world edit code

#

wouldn't be surprised

#

mods

placid thicket
#

anyone got any ideas how i can track that down?

jagged egret
#

binary search

heady spear
#

That's not very good either

#

but I guess you're kind of pushing the limit, depending on what type of server it is, so it's not terrible

placid thicket
#

beats my 10tps on 1.14 with 8 players XD

heady spear
#

how? <.<

#

I ran 1.14 just fine with 75 players .-.

placid thicket
#

shitty hardware mostly... that and hosts refuse to use the recommended args like they are the plague

pearl raven
pulsar wigeon
#

you realize you're not limited to one host right

placid thicket
#

yeah but i got what i was expecting out of a $7 host XD

limber knotBOT
#

Are this discord's bost made with Java?

#

bots*

upper flicker
#

the bridge is in kotlin

limber knotBOT
#

UwU

upper flicker
#

xD is cloudbot so python

#

I think kash's bot is java

sturdy onyx
cosmic raft
#

yes

#

99.9% Java, 0.01% Other

upper flicker
#

the other is FORTRAN so watch out

cosmic raft
#

sounds too similar to fortnite

#

so no

#

rate my code

#

no

upper flicker
#

wasnt there somebody who used to join and call me by my name

#

whatever happened to them

#

@cosmic raft 0/10 I can still understand whats going on

cosmic raft
#

can you?

#

tell me then! :D

#

for the issues method

upper flicker
#

tbh I think its an interesting style

#

I dont know that tehre's anything wrong with it in this context

#

I can see some places not liking it I guess

cosmic raft
#

where? :D

upper flicker
#

thinking stereotypical enterprise code houses

#

ye old 90's java houses

static badge
#

I can see why you use 2 space indent

#

you really do abuse indents don't you

cosmic raft
#

abuse?

#

@upper flicker one thing is for sure though

#

It has great stacktraces :)

static badge
#

exactly what I'm talking about

jagged egret
#

what are "IN parameters"? I'm reading the PreparedStatement javadoc and it's not clear what that references

cosmic raft
#

hehe

#

I forgot the naming I used for generated events

#

net.kyori.event.asm.generated.955ee51180.ApplyFeature-issues-IssuesEvent-8.execute

tranquil solstice
#

I made a chat app called HyperChat.

#

The main chatroom is General.

jagged egret
#

it just throws all teh users in the same room?

tranquil solstice
#

No.

#

I mean that's the one I'm in xD

#

Recently I added password hashing (with salt).

#

General with capital G.

ashen cliff
wide chasm
#

@tranquil solstice Please don't advertise.

tranquil solstice
#

It says Social/Off-Topic

#

but okay.

upper flicker
#

I think its a little vague

#

we should probably clarify what is and isnt allowed further

#

I dont personally have any issues with this sort of thing but we'll have a more formal conversation in one of the mod channels

#

this isnt the only rule/nonrule vague thing

heady spear
#

A big flaw with the mod channel is that I'm not in it

upper flicker
#

no anything from cityweebstret is the most important thing we gotta add tbh

ancient bolt
#

This is what we mean when we say running a project sucks tbh

heady spear
#

You called me intelligent, I'm clearly a superb fit

upper flicker
#

yeah but thats only half of what I said 😉

#

with your king and his hats

heady spear
#

I don't recall the other part

tranquil solstice
#

t joined t left Seriously, people keep doing that xD. It's HyperChat not OneLetterJokeChat...

heady spear
#

y r all ur files dumped in a single directory

tranquil solstice
#

Uh...

#

Why not?

#

Putting everything in a src/ directory doesn't make it better.

heady spear
#

Who the hell said that you were supposed to do that? <.<

tranquil solstice
#

Cause that's what alot of projects do...

#

But anyways...

Why not?

static badge
#

look even big C projects use directories

#

fucking C

heady spear
#

I'm going to let you figure that one out on your own

upper flicker
#

I dont mind as much for random web projects

tranquil solstice
#

Cause it's a mess?

#

xD

upper flicker
#

then again I really dont do much web stuff

heady spear
#

At least you have a dark theme

tranquil solstice
#

Yeah.

#

I also added password hashing.

heady spear
#

but y the rounded corners in the input box?

#

that's very offensive

tranquil solstice
#

Which was a hassle...

heady spear
#

and also the buttons and the User list text needs some margin

#

it looks like they're trying to escape

tranquil solstice
#

Yeah I'm not that good at designing...

upper flicker
#

neither is city but he'll share anyway

#

runs

tranquil solstice
#

hmm

heady spear
#

Okay I'll let you know I'm actually the best designer ever

tranquil solstice
#

You mean like margin away from the edge of the screen?

heady spear
#

yes

tranquil solstice
#

Oh

ancient bolt
#

@static badge go doesn't

static badge
#

isn't go kinda pepega

upper flicker
#

yes

tranquil solstice
#

Just did.

#

See now.

ancient bolt
#

it's a trash langauge yeah

upper flicker
#

oh good I said that yesterday and I was worried you were gonna show up and slap me

tranquil solstice
#

I think I put a bit too much margin...

upper flicker
#

is your day to day still go demon?

ancient bolt
#

no hasn't been for a while

upper flicker
#

we're a tight knit group here

tranquil solstice
#

What about that?

ancient bolt
#

my year or so with Go has taught me how awful it is

#

I'm a java dev now writing...python another trash langauge

#

😦

static badge
#

didn't you make streams in go for the memes KEKWHYPER

tranquil solstice
#

For networking/web related projects, I use Node.JS.

ancient bolt
#

@tall garden was the other dev on that go project and he also has a great appreciation for how shit the language is

upper flicker
#

@tranquil solstice we're mostly fine with the occasional chat about your fun personal project but putting it in your username makes it look less like a fun personal project and more like spam

tranquil solstice
#

Yay, now I can close that github issue with the settings icon in front of the top of the scrollbar... solved 2 problems at once

#

Well I had it for like 3 months and 2 stars...

#

Meanwhile my other project MMD had 25 stars...

upper flicker
#

yeah I get that, we've all been there. hell a lot of us still have repos just like that

#

just, you kinda see where Im coming from?

tranquil solstice
#

Yeah, sorry.

upper flicker
#

no worries

ancient bolt
static badge
#

tfw there's only one like on your youtube video

#

and it's your like 😦

heady spear
#

Please don't actually use this. will most definitely use this

static badge
#

make plotsquared require it

tranquil solstice
#

What do y'all think about NodeJS?

heady spear
#

Java 12 tho

ancient bolt
#

I need to flush out the implementation with it

#

yeah and upgrade it to java 14

#

it only has 2 events implemented

upper flicker
#

this is a community of people who work in Java/Kotlin/C/++ etc

#

you may see a lot of unbridled hate towards nodejs

#

be warned

tranquil solstice
#

heh

ancient bolt
#

eyykar loves it but it's trash

tranquil solstice
#

ok

heady spear
#

also yall should use all of my plugins because they're super awesome and you won't regret it :)))

#

this is not an ad, this is a PSA

upper flicker
#

kinda looks like an ad

#

and false advertising at that

heady spear
#

I have so many failed projects that I've poured my heart and soul into.

#

Not that I have a soul

static badge
#

no heart either

heady spear
#

I have half a heart tbh

tranquil solstice
#

You wouldn't believe how many people have the nerve to decompile Minecraft, edit it, and run it, but don't know how to fix a small gradle problem. xD

upper flicker
#

@ancient bolt if you really want people to not use it, make it require the --enable-preview compiler and runtime flags

static badge
#

make it require your own jdk fork

#

that'll do em in

#

"no build instructions fuck off"

ancient bolt
#

I mean you can pr it if you want

upper flicker
#

@tranquil solstice as long as its not an problem with a repo using ant

#

then youre on your own

static badge
#

I'm too retarded to set up a jdk fork

tranquil solstice
#

What?

heady spear
#

buck!!

#

we should all use buck!

#

or bazel, but bazel is actually pretty cool

upper flicker
#

what is buck

static badge
#

.g buck

limber knotBOT
#

(DiscordBot) https://www.buckknives.com/ -- Buck® Knives OFFICIAL SITE - Shop knives, tools, gear,...: "Quality made, life-time guaranteed knives for the outdoors, hunting, fishing, survival and work. Pocket, folding, or fixed blade knives to fit your..."

tranquil solstice
#

No, I mean I don't have a problem. But there's 7 "issues" on my MMD repo about gradle this, gralde that.

jagged egret
#

lol

heady spear
#
static badge
#

knives Pog

ancient bolt
#

the the buck

upper flicker
#

oh yeah Im sure

static badge
#

oh it's another build tool

heady spear
#

bazel works way better with java tho

upper flicker
#

we should rebuild based on ninja instead, just because its called ninja

heady spear
#

it even has shitty maven support

static badge
#

can we go back to just raw javac

#

things were better in those days

heady spear
tranquil solstice
#

Cityweebstret, do you think the margin is better now?

jagged egret
#

how does one use coloured log output

heady spear
#

I don't think

static badge
#

at least it's not eclipse export to jar

heady spear
#

I mean it's a little bit better yes

upper flicker
#

the short answer is you dont

#

people get upset

#

the easy answer is just get the console command sender and send them chat messages xD

#

unless you want it logged to file with ascii color codes

tranquil solstice
#

Colored log output...

upper flicker
#

then there's a log4j xml somewhere

#

because there was a ticket about that

static badge
#

monkaW using xD in 2020

tranquil solstice
#

I spent 8 hours adding that to my fabric server mod...

static badge
#

z no

ancient bolt
#

I've logged to files with ascii codes

#

if you have a terminal that understands it it can help

heady spear
#
java_library(
    name = "everything",
    srcs = glob(["guava/src/**/*.java"]),
    deps = [
      "@maven//:com_google_code_findbugs_jsr305",
      "@maven//:com_google_errorprone_error_prone_annotations",
      "@maven//:com_google_j2objc_j2objc_annotations"
    ],
)

looooook you can import maven dependencies

void void
#

using ninja directly

heady spear
#

it's horrible but it's maven!!

void void
#

mfw

#

everybody uses meson these days

upper flicker
#

I think the general aversion is because of stuff that wants to parse it

void void
#

also who wanted to share go hate

#

i want to hate it too

#

hold up i have this one code snippet

#
if err != nil {
    return err
}
#

nuff said

static badge
#

maybe we should filter the colour codes from being logged

void void
#

fuck this language

static badge
#

to the file

heady spear
#

my super awesome logging framework does that

wide chasm
#

Go is very interesting

void void
#

i've done golang for 2 years now and i'm more than done with it

heady spear
#

that's why people should use my super awesome projects

wide chasm
#

That's the best I can say about it

tranquil solstice
#

I spent 8 hours adding colored logging to my fabric server mod involving making a class with about 30 color and formatting variables I made, along with figuring out how to include JNA (Java Native Access) in gradle and use it.

upper flicker
#

@static badge they are never written to file

heady spear
#

what the hell did you need JNA for

upper flicker
#

not with paper anyway

static badge
#

wait then what's the deal then

void void
#

you simply could've used minecrell's TCA...

upper flicker
#

somebody wanted them to be

static badge
#

90% sure they're written

tranquil solstice
#

Fixing windows' console mess for them...

void void
#

and borrow paper's log4j config

upper flicker
#

making me open GH and look at tickets

#

for shame

tranquil solstice
#

I had to call a win32 api if the mod was on windows to enable a certain hidden terminal mode that was needed for asci codes to work.

static badge
#

ah yes

void void
#

holy shit what horror is that go-streams library

static badge
#

win32 api

heady spear
#

smh when people take more than 2h to review your PR

void void
upper flicker
#

dont get leaf going on win32

static badge
#

did you enjoy your time using it

heady spear
#

I hate collaborative programming

tranquil solstice
#

No, I hated it.

static badge
#

smh when people take more than 2 seconds to review pr

pulsar wigeon
#

just force push to master city

static badge
#

reeeeee

heady spear
#

I'm not Jesse

#

do I look like Jesse

tranquil solstice
#

But in the end, it made colored logging easy as pie 😄

upper flicker
static badge
#

there's nothing wrong with pushing to master kappa

tranquil solstice
#

(This was a fabric server mod)

upper flicker
#

probably a TCA change compared to the old logger system in CB/S

#

since supposedly spigot does log with ansi codes by default

#

good thing loggers arent api

tranquil solstice
#

Fabric controlled the logging config, so I had to do this.

static badge
#

interesting to see people use fabric more

#

back in my day it was modloader / forge

void void
#

why shouldn't one use fabric tbh

#

it's epic and also supports snapshots very quickly

static badge
#

and the good old extract into jar method KEKWHYPER

void void
#

REEEEEEEE

#

i remember having hard time with that bs

#

couldn't get fly hack and xray working pepewow

worthy wren
void void
#

so i either flied or mined diamonds

#

but not both

tranquil solstice
#

Now it's as easy as 🥧 :
Just setup the logger like this:

import static net.hypercubemc.hyperfabric.AnsiCodes.*;
Logger log = LogManager.getLogger("hyperfabric");
void void
#

mfw it wasn't that long time ago

#

8 years or so kekw

tranquil solstice
#

Then:

log.info(colorBlue + "[HyperFabric] Loaded HyperFabric v" + version + " successfully!" + formatReset);
#

Done

void void
#

that's not... comfortable

tranquil solstice
#

Result: The colored line in the console:

heady spear
#

Use String.format

#

not using String.format should be illegal

#

there's no reason to ever concatenate strings using +

void void
#

well doing concat will inline it into string constant

vestal jasper
#

@static badge back in my day we replaced classes in the jar peepoJuice

void void
#

don't you know that city

heady spear
#

it's ugly

void void
#

ur ugly

heady spear
#

at least I'm smart

tranquil solstice
#

I use fabric so I can mod the server (no client mods needed) on a snapshot release of Minecraft.

upper flicker
#

"Use String.format"

#

no u

void void
#

no ur not smart either

tranquil solstice
#

Back before fabric, that wouldn't happen. Ever.

void void
#

you just proved that you aren't

heady spear
#

people that don't use String.format probably use println as well 🤢

void void
#

no shit why ps is so broken all the time

vestal jasper
#

Sysout and concat or bust

heady spear
#

it has never been broken

void void
#

bad city smh my head

heady spear
#

not even once

void void
#

println

#

yeah use print

#

always print not println

tranquil solstice
#

Why though?

heady spear
#

printf wtf

void void
#

to save space and have every message appended to a single line

#

imagine logging multiple lines

#

smh

tranquil solstice
#

Wait

#

I didn't even use printLn() xD

heady spear
#

String.format("mikro is %s", "dum")
so convenient!!!!

void void
#

city is bad too

#

calling me dum

#

rude boi

heady spear
#

ofc it is

void void
#

noshit yeah

heady spear
#

did you need to read to find that out lol

tranquil solstice
#

I used log.info()

void void
#

same thing

tranquil solstice
#

Which one is shorter and easier?

#

A: +

#

So + is better.

void void
#

import static java.lang.System.out;

heady spear
#
  • signs r dumb
void void
#

out.print("xyz");

#

there we go

upper flicker
#

people who use string.format probably use streams all over

#

actually streams are probably cheaper

heady spear
#

format > everything else

tranquil solstice
#

I went a bit overboard with AnsiCodes.java though...

static badge
#

format tends to hurt

#

but streams could hurt even more

#

imagine implementing string.format via a char stream

tranquil solstice
static badge
#

oh dear god no

tranquil solstice
#

Continued...

void void
#

no

#

nononononono

#

delete this right now

heady spear
#

y is that not an enum

void void
#

including your discord account

tranquil solstice
#

Did you forget:ohno:?

heady spear
#

everything should be an enum

tranquil solstice
#

Oh darn

#

PaperMC doesn't have :ohno:

upper flicker
#

you were saying spotted?

tranquil solstice
#

Someone should add :ohno:

static badge
#

wait what'd I miss

tranquil solstice
#

From the fabric discord.

void void
#

wtf is ohno

upper flicker
#

link the emote url

void void
#

that?

heady spear
#

get nitro

upper flicker
#

lets see it

static badge
#

what'd I mis

#

what's going on

#

I'm confused

#

help0

void void
#

no help only info

upper flicker
#

thats how we like you

#

its okay

pulsar wigeon
#

^ohno

tranquil solstice
#

Yes

static badge
#

oh

tranquil solstice
#

Was just getting that

#

But...

#

You missed the AnsiCodes.java file.

void void
#

that emote is meh

#

paper discord deserves something edgier

#

amirite

#

bruh

tranquil solstice
#

Here is what you missed:

#

wait what...

void void
#

thank you, very cool

tranquil solstice
#

That is what I meant.

#

(screenshot continues)

heady spear
#

we need this one

void void
#

no

tranquil solstice
#

Someone add ohno...

upper flicker
#

demon added a bunch of taylor emotes ohno

tranquil solstice
#

Oh

#

Yay!

#

ohno react 😄

upper flicker
#

no I dont browse emotes

#

I just use the :: thing

tranquil solstice
#

I meant ohno

#

What, these?

#

What's wrong with them?

upper flicker
#

only thing I see wrong is the names

tranquil solstice
#

Heh

void void
#

class could be final as well

upper flicker
#

pfffft

tranquil solstice
#

The joke was that it's LONG.

upper flicker
#

no one does that mikro

void void
#

i do

upper flicker
#

well arent you a good kid 😦

void void
#

😊

tranquil solstice
#

If you think that's bad, before I fixed it, HyperChat allowed you to type any html element (including <script>) into the chat box.

void void
#

ah yes

#

xss

tranquil solstice
#

and it would be parsed...

#

Heh that was fun...

#

Fixed that though.

void void
#

imagine getting fukd by random tryhard chatroom

tranquil solstice
#

lol

#

Now it should be secure though; Passwords are hashed and I have an xss filter library.

upper flicker
#

@still smelt the console is 'interactive' it shows colors to bring your attention to them

#

file logs are 'static'

#

they have to be human readable and parseable by other stuff

tranquil solstice
#

Did you notice some of the formatting strings in the screenshot?

heady spear
#

All parameters should be final, so should 99% of classes :]]]

void void
#

^

heady spear
#

every variable that shouldn't be mutable should definitely be made final 😄

void void
#

first smart thing i've seen coming out of city's mouth

upper flicker
#

if you're using like image processing to parse the console output you're on your own

#

love to see your proof of concept though

#

probably just the mspaintide guy though

void void
#

parsing console output with ocr...

#

just apply black/white filter and crank contrast up

tranquil solstice
#

formatBlink, formatCrazyBlink, formatFirstAltFont, formatSecondAltFont, formatFranktur, formatReverseVideo...

heady spear
#

you can't use it too much

calm cave
void void
#

it's good

#

because you ain't going to go over Byte.MAX_VALUE anyway

upper flicker
#

use the data type that you need and expresses what youre doing

#

internally the jvm will use an integer anyway

#

but if your code makes more sense with a byte, use a byte

#

idk why iterating blockpos in a chunk would make any more sense with a byte personally

#

but its your code

#

so

#

¯_(ツ)_/¯

void void
#

internally the jvm will use an integer anyway

#

huh

tranquil solstice
#

formatBlink, formatCrazyBlink, formatFirstAltFont, formatSecondAltFont, formatFranktur, formatReverseVideo...
I wonder what would happen if I use those to get the server owner's attention to fix something immediately... 😁

void void
#

don't do that it's fucking cancer

#

luckily blink doesn't work in most of the terminals now

pulsar wigeon
#

not necessarily

tranquil solstice
#

Blink should

#

CrazyBlink won't though.

olive garden
#

JVM pads to 32 bits internally

pulsar wigeon
#

all integer types generally take 32 bits (or 64 for long)

upper flicker
#

they do that for performance reasons

olive garden
#

so 4 bytes and a single byte both take 4 bytes of memory

void void
#

TIL

upper flicker
#

how the JVM represents types internally is all closed door/behind the scenes/nunya bizniz/dont rely on it

#

so

#

just try not to care I guess

unreal quarry
#

I had a hell of a time getting blink to work in the GUI, btw.

olive garden
#

bitwise operations aren't even defined for byte and short

#

so yeah, don't care about it unless you have a reason to

pulsar wigeon
#

yup, they're promoted to ints

#

i mean, they work the same. as to bools

#

the result is just truncated to the correct number of bits anyway

heady spear
#

isn't this because a word is typically 4 bytes?

tranquil solstice
#

Oh yeah, I used Google's Lighthouse tool to figure out how to speed up HyperChat to make it really fast. Once I fixed most of the issues, for one, my performance score went up to 94%, best practices 93%, SEO 100%, and accessibility 100%.

#

And my page load speed went from ~4 seconds to ~1 second.

#

Really useful.

pulsar wigeon
#

no

#

style guides exist for a reason

heady spear
#

declare all variables separately .-.

olive garden
#

wow

pulsar wigeon
#

i.e. readability, maintainability...

void void
#

cursed snippet

pulsar wigeon
#

not for code golfing

tranquil solstice
#

Oh yeah, speaking of styles, I use a particular coding style for HyperChat...

olive garden
#

you just blew my mind:

  • I didn't know these two features could be used at the same time to achieve something like this
  • seeing that code made me shoot myself in the head
heady spear
#

as long as it's not md_5's bungeecord style then it's fine

upper flicker
#

I dont even like declaring multiple variables on the same line

#

and youre doing it with different types

#

jesus

void void
#

just declare everything as an object

#

and do casting later

ashen cliff
#

Global declarations.

heady spear
#

that is very smart actually, dynamic typing

void void
#

no not var

#

just

#

Object

#

yeah it's 2000 iq tier

#

see javascript

tranquil solstice
#

It's SnoopyStyle. 😁 Take a look at the main code (Server.js, chat.html, chat.js, chat.css) and tell me how aweful it is...

void void
#

no thanks

#

maybe city wants

#

for PS

#

@heady spear go kang the code

tranquil solstice
heady spear
#

stop. sharing. your. project. every. other. second.

#

also stop bullying me, plotsquared code is amazing

void void
#

s/./👏/

#

damnit

tranquil solstice
#

But 15 minutes passed, not 2 seconds.

void void
#

share it once more uuuh

pulsar wigeon
#

no you actually have been mentioning it constantly

tranquil solstice
#

(Mention !== Link)

pulsar wigeon
#

shove it down our throats more

heady spear
#

!== bruh

void void
worn ember
olive garden
#

that's what she said

heady spear
#

stop being sexist

olive garden
#

that's what they said

heady spear
#

better

#

But still wrong because women are obviously not allowed to speak

worn ember
#

thats what [object Object] said

heady spear
#

What is this? hippie land. smh

tranquil solstice
#

.toString()

worn ember
#

@olive garden wanna do a drinkning competition? first one to throw up on cityweeb loses

olive garden
#

few issues:

  • there are travel bans in place
  • I wouldn't have to drink to throw up on city
#

I'm sorry, that was rude

void void
#

why did i guess the latter option...

heady spear
#

that was very mean

olive garden
#

you know I love you

heady spear
#

I am very upset

void void
#

cry us a river babe

heady spear
#

Let me commit scooter ankle 😦

#

I'm very sinusoidal 😦 Internet bullies r real

void void
#

it's a weeb speak

fallen oracle
#

sinusoidal 😆

worn ember
#

so you get a runny nose?

fallen oracle
#

LOL

void void
#

lmao

ashen cliff
#

pi

void void
#

.wa A\sin(2 \pi f t + \varphi) = A\sin(\omega t + \varphi)

limber knotBOT
#

(DiscordBot) Real solutions: f<0, (1 - sqrt(5))/(4 π f)<=t<=(-3 - sqrt(5))/(4 π f), ω = 2 π f, f>0, (-3 - sqrt(5))/(4 π f)<=t<=(1 - sqrt(5))/(4 π f), ω = 2 π f - Solutions for the variable ω: ω = 2 π f, Re(sin^(-1)(2 π f t + ϕ)) = -π/2, Re(sin^(-1)(2 π f t + ϕ))... - https://is.gd/u1t7Hc

Wolfram|Alpha brings expert-level knowledge and capabilities to the broadest possible range of people—spanning all professions and education levels.

worn ember
#

Today i feel like shooting some vipers

twin lagoon
#

mikroskeem stop speaking enchantment table

#

what the fuck is that

tranquil solstice
#

Worse: Math speak

pulsar wigeon
#

mikro just copied whatever viper wrote

heady spear
#

"you can't just sovle a function" that's an equality you potato

void void
#

mfw

heady spear
#

...

tranquil solstice
#

Off topic: Ternary operators are 🚫

worn ember
#

sure

void void
#

no

worn ember
#

no

ashen cliff
#

no

twin lagoon
#

what are ternary operators

void void
#

cond ? a : b

tranquil solstice
#

SnoopyStyle says: No ternary operators.

upper flicker
#

ternaries are fine when used correctly

#

if youre nesting them ever, youre hitler

worn ember
#

Z, ur fine too yeet

void void
#

i nested 5 of them once

#

hehe

worn ember
#

mikroscam

void void
#

darkeyescum

#

wait hold up

#

no

worn ember
heady spear
#

a = b ? (c ? d : e) : (f ? g : h);
this is fine

fallen oracle
#

You can nest those? 👀

tranquil solstice
#

SnoopyStyle also says: No classes.

void void
#

delete your style

pulsar wigeon
#

delete your discord while you're at it

void void
#

yes please

tranquil solstice
#

(In javascript)

heady spear
#

delete your bullying

worn ember
#

cant tell if retarded or just autistic

void void
#

delete city

tranquil solstice
#

That style only applies to javascript projects.

heady spear
#

restarts OVH box, can't access it for an hour 😄

void void
#

let's tell github that snoopy is from iran and he'll get banned right away :^)

worn ember
ashen cliff
#

Intel SSDs?
Intel SSDs.

void void
tranquil solstice
#

Classes in javascript are dumb.

heady spear
#

OOP is dumb overall

ashen cliff
#

Programing is dumb.

worn ember
#

i only ever used OOP kekw

heady spear
#

what the hell does pointers and malloc have to do with anything? <.<

tranquil solstice
#

Ikr...

heady spear
#

Hello have u heard of C++

worn ember
#

new programmer whut that

tranquil solstice
#

Javascript of the client side, javascript on the serverside, javascript everywhere. 😁

void void
#

javascript kernel when

#

javascript f i r m w a r e boys

worn ember
#

theres already a JS os

ashen cliff
tranquil solstice
#

(NodeJS is javascript server side)

void void
#

imagine your broadcom wifi chip running js

heady spear
#

we know what nodejs is wtf

#

who r u

ashen cliff
#

(not what you are looking for tho)

void void
#

inb4 they already do

#

explains why broadcom is so shit tho

worn ember
#

you are too

void void
#

ok

heady spear
#

dark bully me instead wtf

#

r u cheating

ashen cliff
#

Broadcom 10GB SFP cards are ok,
WiFi avoid at all cost.

worn ember
#

i thought sweden would be a wasteland of dead bodies by now

#

so i moved on

heady spear
#

we have less deaths than u guys so

#

how r u alive

void void
#

apple uses broadcom wifi chips 😩

worn ember
#

yeah cuz ur mom a hoe

heady spear
#

she isn't anymore

ashen cliff
#

Who doesn't?

pulsar wigeon
#

less deaths total or per capita

heady spear
#

both

worn ember
#

both really

#

lmao

pulsar wigeon
#

wait where is ded from

heady spear
#

belgium

pulsar wigeon
#

o

worn ember
#

we have 2.2k confirmed deaths

heady spear
#

we have less than 700 😄

void void
#

.g estonia corona confirmed deaths

limber knotBOT
#

(DiscordBot) https://en.wikipedia.org/wiki/2020_coronavirus_pandemic_in_Estonia -- 2020 coronavirus pandemic in Estonia - Wikipedia: "29 March: Two more confirmed deaths of coronavirus patients, bringing the total to 3 deaths in the country. 30 March: Health Board requested..."

The 2019–20 coronavirus pandemic was confirmed to have spread to Estonia when the first case of COVID-19 was confirmed in Tallinn on 27 February 2020. By 11 March, 15 people in Estonia had been diagnosed with the virus, all of them had been infected outside the country, mostly...

worn ember
#

they have 17k deaths...

static badge
#

corona is gonna murder third world countries

heady spear
#

Estonia is Finland--

tranquil solstice
#

Also SnoopyStyle: No typescript.

void void
#

no finland is fake

worn ember
#

it reached india now

heady spear
#

no Finland > Estonia

ashen cliff
#

Finally, can't wait for Serbs to do all the killing.

heady spear
#

it is

void void
#

no finland has retarded tax shit

#

findland yes... gotta find it first smh

heady spear
#

It's next to ethiopia

#

mikro is african

#

there's that ship that sucked at being a ship and decided to be a submarine instead

#

called estonia

static badge
#

.g estonia ship

limber knotBOT
#

(DiscordBot) https://en.wikipedia.org/wiki/MS_Estonia -- MS Estonia - Wikipedia: "MS Estonia was a cruise ferry built in 1979/80 at the German shipyard Meyer Werft in Papenburg. The ship sank in 1994 in the Baltic Sea in one of the..."

MS Estonia was a cruise ferry built in 1979/80 at the German shipyard Meyer Werft in Papenburg. The ship sank in 1994 in the Baltic Sea in one of the worst maritime disasters of the 20th century. It is the second-deadliest peacetime sinking of a European ship, after the RMS Ti...

olive garden
#

lmao city

void void
#

there's... some controversy going around with that ship

static badge
#

did it disappear in spooky triangle

tranquil solstice
void void
#

well it sunk

heady spear
#

The baltic sea is spooky

#

also super gross

#

yucky

#

ew

void void
#

you should stop washing yourself there

heady spear
#

u'd be dirtier than when u started

void void
#

implying i'll get dirty

tranquil solstice
#

Any guesses for the programming language?

void void
#

i don't do nasty shit

heady spear
#

ur a dirty boy tho

#

I can feel it in my funny bone

void void
#

no u

heady spear
#

I'm dirty alright

void void
#

city sneak to estonia somehow

#

bring me 3 towers of snus thanks

heady spear
#

ew no

#

snus should be outlawed

tranquil solstice
#

Any guesses for the programming language?

heady spear
#

no

tranquil solstice
#

This ^

heady spear
#

stop spamming

void void
#

can you fucking stop

ashen cliff
#

I can confirm, he can't.

void void
#

isn't it obvious already that nobody gives a shit

#

zbk, InventoryTweaks perhaps?

#

not sure how updated it is

#

but it used to be pretty neat mod

#

if you need forge

#

then fabric ain't gonna help you tho

#

it's completely diff modding platform

#

👌

heady spear
#

md_5 wow

#

worth joining that discord just for this

pearl ibex
#

Wowie.

#

Hi. :P

#

Kash!

jagged egret
#

Does anyone know a good video series explaining multithreading/concurrency?

pulsar wigeon
#

.g java concurrency in practice

limber knotBOT
void void
#

hmmh, i'm bored a bit

#

might as well send me too

pulsar wigeon
#

i mean you can prob find a pdf

void void
#

i can give you some homework back

pulsar wigeon
#

but like ¯_(ツ)_/¯

void void
#

can't you uh

magic ice
void void
#

set that via from some java property

#

or was that gtk related

jagged egret
#

I have a pdf but I'd like videos if there are - i learn better visually I think

heady spear
pearl ibex
#

Concurrency. pepega Java Map<String, Object> data = new ConcurrentHashMap<>();

#

Somehow managed to write a config "framework" two years ago.

#

Now I don't understand a shit of my code.

#

Gonna rewrite that from scratch.

#

Absolutely not.

tranquil solstice
#

Yes lol.

pearl ibex
#

Fuck Scratch

pulsar wigeon
#

snoopy if you could refrain from sending executable files over discord that'd be great thanks

pearl ibex
#

Wiz will tell ya. :P

tranquil solstice
#

Hmm?

pearl ibex
#

Ban him, wiz.

#

:P

#

:>

tranquil solstice
#

Okay, but I don't see anything in the rules prohibiting "sending of executable files."

pulsar wigeon
#

i don't care

#

i'm telling you, in my capacity as a mod, not to do it

#

is that clear?

molten orbit
tranquil solstice
#

I said

Okay

pulsar wigeon
#

and then decided to pick a fight about it i guess

tranquil solstice
#

Anything after the "okay" is a side note.

pulsar wigeon
#

mhm

pearl ibex
#

Hell nah.