#general

3141 messages ยท Page 1346 of 4

broken yarrow
#

"/

minor badge
#

?kick @broken yarrow read the answers you get?

leaden oxideBOT
#

dynoSuccess TACOMAN#1285 was kicked | read the answers you get?

spiral robin
void void
#

hey proxi are you free to help me rq with a gson problem

minor badge
#

perhaps

void void
#

ok awesome

cosmic raft
#

.ask

limber knotBOT
#

If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.

void void
#

L24 of the top class is null

#

here's the Chat class

zealous wedge
#

there's no "id" field in that json

void void
#

oh i'm confused

void void
#

then i guess i want to make a subsection of the id

#

ohhh

#

I do this now

#

but it prints nothing instead of null

minor badge
#

in such a case, you'd usually use either an array (bad!), or a standard json object (good!) such as {"id": "123", "text": "sample"}

void void
#

am i doing a standard json object now

#

oh yeah i am

untold copper
#

I have to figure out how to rename a file from a remote machine that is on google drive via a janky python library i found somewhere

#

perfect

wraith trail
#

file from a remote machine that is on google drive
wat

#

is your remote machine at google?

untold copper
#

wrong terminology

#

have to figure out how to use rclone from my pc (via a python lib cos my code is python) to rename a file on google drive

wraith trail
#

I see

void void
#

ok i got it working

#

where it's printing the id

untold copper
#

current issue I am facing is after compressing, If i rename with date and time, then I won't be able to specify what file rclone has to lock on to upload, and the file name will obviously keep changing

#

so current plan is to compress with a generalized name and then rename

#

so that the same file doesn't get overwritten

ashen cliff
#

What not just make a script?

untold copper
#

like, a batch file?

ashen cliff
#

Yes.

untold copper
#

Because I can't figure out how to compress stuff with batch files

#

and I don't know how to write batch files

#

BUT I do know some python

#

probably better to do it in 1 language

ashen cliff
#

Then write it in Python.

untold copper
#

thats... what I'm doing

#

current issue I am facing is after compressing, If i rename with date and time, then I won't be able to specify what file rclone has to lock on to upload, and the file name will obviously keep changing

ashen cliff
#

If i rename with date and time, then I won't be able to specify what file rclone has to lock on to upload
Store the name in a variable?

untold copper
#

...

#

.....

#

......

#

krusic you

#

fricking genius

ashen cliff
#

Like, I don't understand how that's even an issue.

untold copper
olive marlin
#

Snoopa always dry your code smh

untold copper
#

dude

#

this is like

#

my first time writing a proper program

#

that actually does something useful

#

and I don't know how to write a program kekw

#

its basically just a lot of googling and piecing together code from here and there

#

im pretty proud of the file compression script that was put together tho

import os
import zipfile

def zipdir(path, ziph):
    # ziph is zipfile handle
    for root, dirs, files in os.walk(path):
        for file in files:
            ziph.write(os.path.join(root, file), os.path.relpath(os.path.join(root, file), os.path.join(path, '..')))
  
zipf = zipfile.ZipFile(r"G:\forge_server\world.zip", 'w', zipfile.ZIP_DEFLATED) #PATH TO BACKUP
zipdir(r'G:\forge_server\world', zipf)
zipf.close()
olive marlin
#

and I don't know how to write a program

its basically just a lot of googling and piecing together code from here and there

I mean, that's exactly what programming is lol

untold copper
viral hornet
#

Bloodstone clappywappy

void void
#
{
  "id": "fizzbuzz",
  "users": [
    {"foo": "bar"}
  ]
}
ashen cliff
#

I'ma call that an associative array.

meager tusk
#

I googled my way into a programming career.

void void
ashen cliff
#

Same brother.

void void
#
{"foo": "bar"}
#

do you know of a way to deserialize this with gson

#

cause right now

meager tusk
#
public class Something {
private String foo;
void void
#

this doesn't work

meager tusk
#

maybe something like this kek

ashen cliff
#

I just turn everything into arrays. Can't stop me.

void void
#

because i need to do something like assign the key to a field

untold copper
#

dafuq is an array

#

oh and

#

before I forget to say this:
I love open source code

olive marlin
meager tusk
#

I love balkan closed source code.

untold copper
#

like, thank you for putting your code somewhere from where I can easily copy paste it!

void void
#

it's all different

meager tusk
#

okay then Map<String, Object> or something

#

lol

untold copper
#

and not be forced to link it back and/or give you any credit!

void void
#

i don't understand what u mean

meager tusk
#

use a map of string to object, gson should deserialize to it fine

#

if the keys are ambiguous that is

golden gust
#

I mean, that format is just broken

#

you're creating a users array, but then totally flopping on what json actually is and represents

#

hint: if you want two values, you want two keys

void void
#

yeah but then

#

how do i represent a single user

meager tusk
#

what are you trying to do

void void
#

because {"1661034423": "sample"} is supposed to be a single user in the array of users

meager tusk
#

that

#

no

golden gust
#

you create a id key

meager tusk
#

^

#

use an object

golden gust
#

and a reason key

untold copper
#

ok i go tape together some code now bye

golden gust
#

json is designed to represent mapped data

meager tusk
#
{
  id: id,
  reason: reason
}
golden gust
#

show it as mapped data

ashen cliff
#

mapped.

golden gust
#

shut up slav

ashen cliff
#

Just map it yourself... as arrays.

meager tusk
#

Wow.

golden gust
#

don't you have some potato to drink?

ashen cliff
#

No.

meager tusk
#

That's offensive bro.

ashen cliff
#

We drink CORN.

void void
#

yay it's working

golden gust
#

it's only offensive if you're talking to somebody who can't take a joke

void void
#

that's what i was looking for the entire time @meager tusk

meager tusk
#

that format?

void void
#

yes

#

i didn't know how to explain it in words

#

but that is literally exactly what i tried to ask someone for

meager tusk
#

oke

#

gg

golden gust
#

I mean, if you think that's bad, my life story a few years ago was basically

#

a paki, an indian, a nigerian and a whitey walk into a flat together

meager tusk
#

We have so many of these types of jokes with albanians it's insane.

ashen cliff
#

๐Ÿ‘ tar.

worn ember
#

Goat

ashen cliff
#

No.

pale summit
#

m

slim nymph
visual egret
#

heh lol

waxen panther
#

lol โ—

void void
#

hey @meager tusk appreciated the help

#

i'm nearly done with this project, but there's one more thing

#

so i'm writing the functionality for the command to add a whitelist

#

how would i update the array in the json file

#

so that it's persisted across bot restarts

meager tusk
#

appending an entry to the object array and serializing it lol

void void
#

uhhhhhhhhhhhhhhhhhhhhh

#

ill try thanks

cosmic raft
#

ATB, Topic, A7S - 'Your Love (9PM)' out now!
Download & stream here: https://umg.lnk.to/YourLove9PM

Follow ATB:
โ†’ Instagram: https://www.instagram.com/atbandre/
โ†’ Facebook: https://www.facebook.com/ATB
โ†’ Twitter: https://twitter.com/atbandre

Follow Topic:
โ†’ Facebook: https://www.facebook.com/topicproductions
โ†’ Instagram: https://www.inst...

โ–ถ Play video
spiral robin
#

@cosmic raft blobcopter

cosmic raft
#

@spiral robin dance!

spiral robin
worn ember
cosmic raft
#

@spiral robin like it?

spiral robin
#

Yes

mossy vessel
#

(Almost) 24h, but yay

cosmic raft
#

:D

#

@mossy vessel like it?

void void
#

Hey

#

What's the save alternative of this

vernal moth
#

I like the sample

void void
vernal moth
#

Lol

mossy vessel
#

she queen ๐Ÿ˜

void void
#

I want to save all my map data to gson

vernal moth
#

90's best music

mossy vessel
#

Time were songs weren't less than 2 minutes long

vernal moth
#

Made possible by repeating the same word over and over again ๐Ÿ˜‚

mossy vessel
#

That... is fine.

cosmic raft
# vernal moth Made possible by repeating the same word over and over again ๐Ÿ˜‚

Einer der grรถรŸten Dance Hits der 90'er: Daft Punk mit Around the World.
Holt euch den Track auf iTunes: http://goo.gl/3yLsVB ________________________

Warner Music Germany:
Abonniert unseren Newsletter: http://www.warnermusic.de/newsletter
Folgt uns auf Facebook: https://www.facebook.com/warnermusicde
Warner Music auf Youtube: http://www.youtube...

โ–ถ Play video
vernal moth
#

yeah

#

Or just a catchy syntie riff

#

And then you got gems like this

#

Still better than mumble rap!

golden gust
#

back when music was real

vernal moth
#

It's so funny, scatman literally has better flow than many modern rappers

worn ember
#

i love that song

left swift
#

Only boomers think today's music isnt real music

golden gust
#

Check out more great videos from the 90's here: http://smarturl.it/Ultimate90 Click to follow on Spotify: http://smarturl.it/BomfunkSpotify Click to Buy โ€˜Freestylerโ€™: http://smarturl.it/Freestyler Taken from the album โ€˜In Stereoโ€™ click here to buy: http://smarturl.it/BMCsInStereo Subscribe to on VEVO: http://smarturl.it/BMCSVevo ----------------...

โ–ถ Play video
vernal moth
#

Ah yes

vernal moth
golden gust
#

I mean, I don't generally care for music in the charts

worn ember
#

usually those are just ass ass tiddy

golden gust
#

Like, there is a song here and there which ends up on there but it's not where I generally look for enjoyable music

#

Like, I remember when shit like EDM was coming up into the mainstream a bit

#

people listening to songs on repeat like "listen to this dope shit" and like, "Yea, I played it to fuck last year"

vernal moth
#

My music taste is like all over the place

worn ember
#

idrc about the genre, if i like the song i like the song

vernal moth
#

My most listened artists is something like em and deadmau5 and stuff

worn ember
#

i even have a few screamo songs i like lol

golden gust
#

My audiotory processing is generally ass, so I tend to lean more towards easier to understand stuff and maybe like rare intrumental

vernal moth
#

But also got linking park, some german stuff, but i think generally it's edm (needs good melody), a bit of rap (only good ones from germany and the US, like eminem and logic), bit of mainstreamy rock, green day, linking park, that kinda shit) idk

golden gust
vernal moth
#

I also like songs with nice lyrics

#

And I like to sing

golden gust
#

yes, and people wish you wouldn't

visual egret
#

ptero is hell

#

cant wait until im done doing all install stuff then i can finally be happy again

worn ember
#

handpan is my new favorite instrument

golden gust
austere ivy
golden gust
#

God, I wanna live off grid

worn ember
#

oh yah, some good old DnB

left swift
#

I wAs BoRN iN WroNG GeNeRAtION

golden gust
#

So, like, I can just get some huuuuge ass speakers

worn ember
mossy vessel
#

God, I wanna live off grid

worn ember
#

like a week or two ago

vernal moth
golden gust
#

Yea, I saw, i mean, the service died and then kinda like, was just never the same when it came back

worn ember
#

fix knows all about it, but ig he's banned lul

golden gust
#

Like, two of the big communities I used to lurk kinda deaded when it came back

#

one sorta just became practically like a pop station

vernal moth
#

Drum and bass is weird, i think i only got one dnb song my in playlist

olive garden
worn ember
#

idk i cant see his username

#

unless he changed it

olive garden
#

he left you moron

worn ember
#

oh lmao

#

fair

#

wouldn't want to be here either pepe_run

vernal moth
golden gust
#

Kinda wish I'd of saved my plug.dj playlists, bleh

vernal moth
#

If spotify ever shuts down am lost

worn ember
#

same

#

omg mini i love that song

austere ivy
worn ember
#

thanks for bringing it back in my life

vernal moth
#

I discover some songs pretty randomly

golden gust
#

For Merchandise http://www.trendsetting.spreadshirt.com

Welcome to my new established Music channel.

Follow MORITZ GUHLING
https://soundcloud.com/moritzguhling
https://www.facebook.com/moritzguhling

*If any producer or label has an issue with any of the uploads please get in contact (shushack@gmx.ch) with me and I will delete it immediately ...

โ–ถ Play video
worn ember
#

dnb isn't the same as it used to be sad

golden gust
#

I mean, it was nicer when it was more undergroundy

worn ember
#

yeah

vernal moth
#

Go to 3:35

#

I listened to that song on repeat for ages

golden gust
#

ah, yes, some fetty wap

worn ember
#

hah

vernal moth
#

Of course

worn ember
#

good

vernal moth
#

Saw that one on TV first actually ๐Ÿ˜‚

#

Really cool version

worn ember
#

nice

#

i almost convinced my dad to get spotify, but he wants to stick to his cd's lul

vernal moth
#

I converted everybody

#

They didn't want to at first, hur dur, they don't even have my stuff, hur dur i like CDs more

#

And then they tried it

#

And it got everything they wanted, and stuff they didn't know they wanted

#

And now we got a spotify family account ๐Ÿ˜‚

worn ember
#

well he uses his cd's to soundtest his speakers he repairs and puts together, and you can clearly hear the difference in quality on such systems lol

golden gust
#

I mean, I know I sure as heck would never convert my grandma, she's like, as close to tech illiterate as can be

worn ember
#

we compared a few songs on spotify with the ones on cd

golden gust
#

bt, hey, she can knit and use a sewing machine, so, that's cool

worn ember
#

and they just sound so much better on cd

vernal moth
#

Even elderlies can use tech

#

Just gotta show them

golden gust
#

Well, yea, it's compressed, so defo not cd quality

worn ember
#

better than ripping off yt at least

golden gust
#

general gist is that it's often seem to be as "good enough"

vernal moth
#

My grandma's sister writes more emails than me ๐Ÿ˜‚

golden gust
#

but, like, if you want proper full quality, you really want something which offers flac or wav

vernal moth
#

Spotify is launching uncomrpessed or smth soon

worn ember
#

๐Ÿ‘€

olive garden
#

can I download songs with spotify to listen to while offline?

twin lagoon
#

yes

vernal moth
#

Spotify hifi

#

.g spotify hifi

worn ember
#

ik you can on mobile

golden gust
#

if you pay, yes

worn ember
#

but idk if you can on desktop

vernal moth
#

Bots drunk

golden gust
#

yea, you can on desktop

olive garden
#

I rarely go offline on a desktop

golden gust
#

.ddg test

olive garden
#

and if I do, I have bigger issues

golden gust
#

.kill Trigary

olive garden
#

fuck you too

golden gust
#

I mean, is dead in general apparently

worn ember
#

rip

#

!stats

limber knotBOT
#

Uptime: 4 days, 14 hours, 40 minutes, 27 seconds
Message Handling: 2ms / 0ms (mean/median)
Messages from IRC: 75263 (5.916%)
Messages from Discord: 1196905 (94.08%)

worn ember
#

that still works lul

golden gust
#

diff bot, just scissors is ded

olive garden
#

thank you, so maybe I should consider buying spotify

worn ember
#

10 a month is kinda yikes but ig its worth it if you use it a lot

olive garden
#

10 EUR?

worn ember
#

yeh, idk if it scales in your currency

olive garden
#

I have a student discount

vernal moth
#

Just get spotify family, it's 15 euro and 5 accounts

worn ember
#

i mean, really no point if i'm the only one using it lul

olive garden
#

I ain't have 5 people in my family who can use a smartphone

vernal moth
#

Friends? Family?

olive garden
#

*and want to

vernal moth
#

It's cheaper once starting with a second person

olive garden
#

my sis wants spotify, so that's 1

worn ember
#

yeah whatever, it wont break the bank lol

#

thats one hour of work a month, i can manage that omegalol

olive garden
#

I'll have no income after covid is over, every penny counts!

waxen panther
#

dont worry im sure we've got another year or two left in this lovely pandemic PMA

worn ember
#

shouldnt it be the other way aroudn

olive garden
#

I work from home and do uni from home and have no social life at home

worn ember
#

relatable

olive garden
#

covid being over will kind of change that

#

so no, it shouldn't be the other way around

worn ember
#

tbh college from home saves me 3hours of commute a day

olive garden
#

it's also easier to get food

#

and probably cheaper

orchid jackal
#

what

worn ember
#

ok... rtp is finally abstracted enough it could probably run on roblox now

olive garden
#

time to recode it!

worn ember
#

v3

#

actually i'm already on v3 lul

#

v4

untold copper
#

it took me 4 HOURS to figure out how to generate this file

#

...

worn ember
#

why is it saturday there already

#

thats illegal

woven otter
#

anyone knows why 1 key is acting as two?
basically I bought a keyboard for my laptop plugged in and bam 0 acts as printscreen and 0 for some fucking reason. I have no keybinds set whatsoever

untold copper
#

wrong keyboard language

worn ember
#

yeet the 0 key

#

and just use ()

left swift
#

Just use O

worn ember
#

0h

orchid jackal
#

anyone know something that's like multiverse but better

left swift
#

9O78

orchid jackal
#

i make new worlds in my server a lot and i don't wanna restart it every time

left swift
#

Bungeecord

spiral robin
#

Incendo hyperverse monkaGiga PepeLa

worn ember
#

wasnt city making one

#

yeah that one

golden gust
#

you don't need to restart to add worlds with mv?

waxen panther
#

who ghost pinged me

worn ember
#

cuz he hates you

spiral robin
#

Hello brocc

#

Sell this man hyperverse

orchid jackal
#

multiverse is problematic for me

waxen panther
#

i am not hyperverse dev

spiral robin
#

Ok idiot

left swift
#

What about hypoverse

spiral robin
#

๐Ÿฅฐ

left swift
#

Who buying my IP

worn ember
#

hippoverse

visual egret
#

anyone know how to skip ```
The authenticity of host 'github.com (140.82.114.3)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.

wraith trail
#

remove it from your authorized keys known hosts

visual egret
#

ive tried to add SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 to /home/container/.ssh/known_hosts but it insists on showing that message

wild escarp
#

just establish the authenticity duh

visual egret
#

problem is

#

Pterodactyl doesent let me type input into that

worn ember
#

pee on it to establish your dominance

visual egret
wraith trail
#

ssh -o StrictHostKeyChecking=no

worn ember
#

@vernal moth listen to the amazing handpan https://youtu.be/Gx8Fn3Qq_ag

If you feel like it, support our music and leave a donation here https://www.paypal.com/paypalme/yataomusic

Want to learn to play handpan? Come to our workshops or follow our online tutorials:
tutorial: https://youtu.be/bS9ixGYAL7o
workshops: https://yataomusic.com/workshops

Visit https://yataoshop.com to get your own handpan, made by the make...

โ–ถ Play video
wraith trail
visual egret
wraith trail
#

.man git

void void
#

hey everyone

#

quick question

wraith trail
#

.g git manpage

#

read the bit about git_ssh

void void
#

I wrote a type adapter for the whitelist class

wraith trail
#

there

unkempt drift
#

YOU SHALL NOT GOOGLE.... ๐Ÿ˜ˆ

void void
#

i'm curious

#

now i know how to store my whitelist to a json object

#

how do i write the object to the file?

#

just so that i can finish persistence

worn ember
#

same way you write anything else to a file, that doesnt change

wraith trail
#

maybe I should write a better google command

worn ember
#

well ig you need to use gson to parse it first

wraith trail
#

one that actually uses google

#

and that you can scroll on

#

actually the second maybe not

untold copper
#

python being dumb again

type = local
nounc = true~
2021-02-27 01:58:19,694 RClone [DEBUG]: Invoking : rclone listremotes --config C:\Users\Krish\AppData\Local\Temp\tmpf3pwwzzw
2021-02-27 01:58:19,887 RClone [DEBUG]: b''
2021-02-27 01:58:19,942 RClone [WARNING]: 2021/02/27 01:58:19 Failed to load config file "C:\\Users\\Krish\\AppData\\Local\\Temp\\tmpf3pwwzzw": open C:\Users\Krish\AppData\Local\Temp\tmpf3pwwzzw: The process cannot access the file because it is being used by another process.
visual egret
#

not python

#

more like windows

worn ember
#

do you already have the json string?

untold copper
#

ok time for bright ideas

#

lets restart the pc

void void
worn ember
visual egret
left swift
#

Who is jason and why so people like their string

worn ember
#

cuz we can

untold copper
#

back

worn ember
#

sounds like a you problem

void void
#

do u know why :c

worn ember
#

ur overwriting the part

void void
#

what should i do

worn ember
#

wait

void void
#

ok

minor badge
worn ember
#

are those separate files?

void void
#

no

#

i want to write every single whitelist to data.json

#

here's one whitelist (i wrote this by default)

worn ember
#

yeah, use a stringbuilder and append to it, but thats not valid json you're writing here

void void
#

when i try to add another whitelist, they're whitelisted

visual egret
void void
visual egret
#

wait, the entire thing or just the stuff starting with -o

worn ember
#

basically you need to parse a list of the objects

void void
#

wait, i'm confused

#

what's wrong

minor badge
#

why do you need taht in the first place actually, @visual egret ?

worn ember
olive garden
worn ember
#

i'm bad at explaining stuff

void void
#

isnt that what the gson.toJson supposed to do

worn ember
#

yeah but ur just parsing one part

olive garden
#

welcome to the club drek

worn ember
#

you're parsing them all individually instead of parsing them all together into the proper json structure

visual egret
void void
worn ember
#

so essentially it should be List<Whitelist> that you parse

minor badge
#

remove any line containing github.com from your known hosts file

golden gust
#

ssh once, it will ask you, then answer it, and it'll already be a known host and be able to work

#

no need to disable security mechanisms?

void void
#

like this

minor badge
#

sed -i '/github\.com/d' $HOME/.ssh/known_hosts @visual egret

worn ember
#

try it, not sure that'll work

olive marlin
#

Doesn't know hosts store those values encrypted though?

rugged imp
#

Anyone knows anything about command blocks?

worn ember
#

.ask

limber knotBOT
#

If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.

void void
#

i'm doing this all from idea

untold copper
#

anyone have any idea on how to use rclone via python

#

using the os lib

void void
#

would it even modify the file in data.json in my idea?

untold copper
#

or something

olive marlin
#

So that you can't tell what hosts you connected to in the past or something.

void void
#

cause it's not working right

#

but it's like doing nothing

#

the line i provide as l1 in the data.json in intellij isnt being changed

olive marlin
#

I'd probably accept it yourself manually and the mount it.

void void
#

even if i remove all lines

#

nothing changes

worn ember
#

what you need to do:
read the data into the pojo (plain old java object)
modify the pojo to your liking
convert the pojo back to the gson object and write it

visual egret
#

since the file is empty in the first place

minor badge
#

oh

#

ssh-keyscan github.com > $HOME/.ssh/known_hosts then

worn ember
#

if its a list of items, you need to read all of them, modify the element you want and then write all of them again

minor badge
#

that's doing the same as it would ask you to say yes to

worn ember
#

read the link i sent above, it explains everything

void void
#

ohh wait

#

im all fucked up right now

rugged imp
#

Okay so I want people to be able to teleport to a certain location, but that will cost a certain item. I reckon that the best way to do that is via command blocks, but how?

void void
#

@worn ember i realize, how my shit was formatted before i wouldnt even be able to support multiple users i don't think

#

so here, is this way better

rugged imp
#

I got chestshop if that could be useful

void void
#

cause if i just had the one {} it wouldn't let me add another one when i tried to do it in idea

worn ember
#

yup

void void
#

so what is that

#

is that an array of objects

#

or object of arrays

worn ember
#

array of objects

vernal moth
#

Android are you on?

#

Ok*

void void
#

great

#

i gotta figure out how to read from the array in my adapter

worn ember
#

its a feature zoop

void void
#

because now if i try to run my code

#

it does

#

java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $

vernal moth
worn ember
vernal moth
#

Lemme use a channel that isn't private ^^

#

It's for every app

worn ember
#

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

golden gust
#

i see your phone turned australian

olive marlin
#

You stole Kneny's phone?

worn ember
#

ask kneny to read it

rugged imp
#

Okay so I want people to be able to teleport to a certain location, but that will cost a certain item. I reckon that the best way to do that is via command blocks, but how? I have chestshop that I can use for the people to sell the item to a shop and then tp if that is simpler.

worn ember
void void
#

but i did this instead

golden gust
#

use $HOME, don't hardcode paths

worn ember
#

i think collection can be List but yeah pretty much that

void void
#

hm

#

ok now back to my original problem

worn ember
#

good boy

void void
#

ahh ok

#

so im gonna implement a new object for this

#

you know, i was doing that earlier

#

but then i simplified the code a lot and think i didnt need it

#

but i guess ill reimpl

worn ember
#

I AM TITANIUM

golden gust
#

Good job there is a video on how to work with a rod like you

visual egret
golden gust
#

Once again

#

are you sure that that is the correct home folder?

#

have you tried using $HOME instead

#

Also

#

ssh has this helpful feature where it will ignore perms on files if they're too open

visual egret
#

with $HOME its the same

void void
#

aw man

#

now i got a bigger problem

limpid comet
#

is oskar trying to setup ssh github

visual egret
#

no

#

ssh github was easier than this

void void
#

or maybe not

#

theres a root list section there

#

i want that

visual egret
waxen panther
visual egret
#

i wanna commit die

void void
#

ok @worn ember check this out

vernal bone
#

git commit -m "die"

void void
#
    Gson gson = new Gson();
        String json = gson.toJson(whitelists);
        System.out.println(json);
vernal bone
#

There u go kekw

worn ember
void void
#

so look

visual egret
void void
#

i run it without making any changes to the list

#
[{"id":1337,"name":"sample","reason":"no good reason"},{"id":420,"name":"blaze it","reason":"just a test"}]
#

prints out this

#

now i'm gonna add another person to whitelist

#

and see what it prints

waxen panther
#

ok?

void void
#

ok

#

it adds me just fine to the newo ne

#

still i don't understand why it doesn't affect the file

#

i read what you sent me, but it still didn't really help me out

rugged imp
#

How do I lower the despawn time for certain items?

vernal bone
#

Am I the only one who thinks that the "Shuffle Random Songs" option with music players are rigged?

waxen panther
#

they are yes its not secret

#

apple music for example used to be completely random but people complained it didnt feel random enough

#

so now they have "smart random"

vernal bone
#

Woow, I got scammed than

#

I have a Nightcore playlist of 613 songs, but keep getting the same ones every single time...

meager tusk
#

wtf.

visual egret
#

whatever fuck this il just put it into the start script

#

maybe that will work

limpid comet
#

@waxen panther

#

did u see startmc stats

waxen panther
#

yes very pog

visual egret
#

wat

#

send

void void
#

wait a second

#

is maybe the reason it's not working because

#

you can't write to files on windows while they're being used?

#

or something

#

like i can't think of any other reason why this shouldn't work

vernal bone
# meager tusk they ARE?

I mean..What are the odds of getting the same ~10 songs when launching the app 3 times and clicking the random song button?

#

Out of 600 other ones

meager tusk
#

I've noticed that but never thought about it

#

Interesting

#

I wonder why that's done

void void
#

oh i have something new @worn ember

#

so i was running it as a program instead of in my IDE

#

and when i tried to save i got this

worn ember
#

how much am i getting paid for these sessions?

void void
#
java.io.FileNotFoundException: file:\C:\Users\TMB\Desktop\WhitelistBot-1.0-SNAPSHOT.jar!\data.json (The filename, directory name, or volume label syntax is incorrect)
void void
worn ember
#

well yeah look at the path my dood

void void
#

yeah

worn ember
#

clearly thats not valid

void void
#

theres an exclamation point

#

after the .jar

#

but why is that?

worn ember
#

idk, but ur path is wrong, use the datafolder not the jars location lol

#

new File(plugin.getDataFolder(), data.json) iirc

void void
#

this isnt a plugin

worn ember
#

that looks for data.json in your plugins directory

#

oh

#

well then use the right path

#

lol

void void
#

that was the right path .-.

golden gust
#

you're tryna get a file out of the jar

olive marlin
#

getResource looks for resource from your jar file.

worn ember
#

what these guys said

#

lmao so we have this competition going on at my job, "take a shot for every bugfix"

#

this is gonna end well

golden gust
#

remembers the long list of quick bugs he couldn't be assed dealing with

worn ember
#

haha most of them are quick fixes tbh

golden gust
#

makes me wonder how many projects there are which have issues where somebody could fix it in 2 seconds if they could justify the capacity to look at it

worn ember
#

you should ask that in your internal channels

void void
#

should I generate a new file outside of the jar file?

golden gust
#

if you wanna store the file on disk, you need to save/load it from the disk

void void
#

I wanted to store it in the jar

#

but I guess I can't?

worn ember
golden gust
#

if you want the app to be able to modify it, no

void void
#

makes sense

worn ember
#

jars are pretty much readonly

limpid comet
#

even if you managed to read/write it while its in the jar, say if someone deleted the jar and re-downloaded it to update or something, all that data would be gone

twin lagoon
#

@limpid comet tacoplead

limpid comet
#

hi @twin lagoon pogu

olive marlin
#

Michale pepeclap

twin lagoon
worn ember
#

this be dead

limber knotBOT
#

anyone willing to help out someone where one day LAN clints can no logner connect saying I need to enable IP forwarding.

golden gust
#

am ded but sounds like you enable bungee mode

#

either you shouldn't have that enabled or they're connecting to the wrong thing

vital marten
#

hehe firedoge go brrr

waxen panther
vital marten
#

its offical too

limber knotBOT
#

I had enabled that bungie mode to allow the plugin dynmap, but that was like 2 weeks before they stopped being able to connect

#

they are connecting to ip, even specifying port

#

bungee has no relation to dynmap

#

sorry, I may be mixed up to what I had to enable, I'm looking through files

magic river
#

My nightly isn't doing that :/

worn ember
olive marlin
mental meadow
#

that color scheme is epic

worn ember
#

epic beans

wraith oracle
#

might consider switching to Firefox Nightly again

#

I remember I had to switch because Google would purposefully slowdown Youtube

#

which I use the big majority of my time so

#

and Edge is just nice

potent fossil
#

Edge

limpid comet
#

i use edge

stiff yarrow
#

I had a dream that lady gaga was a software engineer, came into paper discord, started contributing to paper, had a falling out with aikar and then started her own paper fork and due to her celebrity took market share away from paper and it was a lot of drama

limpid comet
#

strange

hallow swallow
#

Hello i need forge for 1.12.2 what i need to download?

waxen schooner
#

that is a strange dream indeed

stiff yarrow
#

my dreams are pretty out there some times

mental meadow
#

I'm sorry but I would leave Paper for Lady Gaga Paper Forkโ„ข๏ธ

stiff yarrow
#

P-P-P-Poker Fork ๐ŸŽต

mental meadow
#

smh

crystal compass
#

do yall think I need to back up my 100gb of data to go from java 8 to 11

true canyon
#

No. But we do think you should back up your data.

olive marlin
#

I don't think so. But I backup my whole world always, no matter how small the change.

crystal compass
#

i have a daily backup cron task setup alr

#

but I dont feel like making a manual backup

zealous wedge
#

use btrfs/zfs and take a filesystem snapshot

crystal compass
#

what the crap is that

#

lool

olive marlin
#

That's a file system.

stiff yarrow
#

file systems

#

brtfs is for cool kids

crystal compass
#

damn

stiff yarrow
#

ext4 gang ๐Ÿ‘ด

worn ember
#

i'm just fat and 32

stiff yarrow
#

you're so fat you're extended fat

crystal compass
#

. . .

worn ember
olive marlin
#

Let you do COW snapshots - so when you go ahead and modify file, then filesystem makes a copy of it and gives it to you.

worn ember
#

how nice

crystal compass
#

so which one is better ๐Ÿ‘€

olive marlin
#

Very quick to take a snapshot.

worn ember
#

Yes

crystal compass
#

awkward

#

my cronjob to backup my server daily stopped working in 06/2020

olive marlin
#

Choose whichever. ZFS is older and more mature, btrfs is looking nice.

worn ember
#

looks like ur cron got fired

olive marlin
#

That's why you should monitor stuff.

zealous wedge
#

zfs has a gpl-incompatible license, so there is drama about that

stiff yarrow
#

don't you guys just love gpl drama

worn ember
#

caring about license

stiff yarrow
#

๐Ÿฟ

crystal compass
#

so I literally have to install a new file system? or

stiff yarrow
#

low key think gpl was made for drama purposes

crystal compass
#

lol

mental meadow
#

zml > zfs

olive marlin
#

Oh, right. Forgot there needs to be some weird way to install it or something.

zealous wedge
#

lies on the zfs

worn ember
#

what does zml stand for?

crystal compass
#

boi i swear i don't feel like bricking my dedi today

zealous wedge
#

your guess ded :)

worn ember
#

zoo machine learning

zealous wedge
#

yes, learning for zoo machines

worn ember
#

i knew it

stiff yarrow
#

brtfs scurrs me so I'll stay on ext4

mental meadow
#

ze magnificent love

worn ember
#

i just use whatever windows uses

olive marlin
worn ember
#

NTFS i suppose

potent fossil
#

idk what to do with my life now that sabrina is cancelled and over. another covid loss

stiff yarrow
#

Windows files system ๐Ÿ˜ฑ

potent fossil
#

very Sad

worn ember
#

why would i need symlink when i can just copy paste folders

zealous wedge
#

oh no :( i've heard good things about that show

potent fossil
#

first 3 seasons are great, 4th is rushed covid ending + cancellation

#

very ungood

zealous wedge
#

one of the people i did my lift ticket with was on that show

upper flicker
#

reeeeeeeeeeeeeFS

stiff yarrow
#

I couldnโ€™t get past 3 episodes of Sabrina and I tried 3 times

potent fossil
#

oh yeah?

#

that's cool

zealous wedge
#

supposedly it was a super nice crew and a bunch of fun stunts

stiff yarrow
#

It seems like the kind of show Iโ€™d like on paper but I always get bored

potent fossil
#

i was really really enjoying it, and it could've gone so much further

worn ember
#

paper show wen

potent fossil
#

but, they rushed the 4th season and killed it

zealous wedge
#

rip

vestal jasper
zealous wedge
#

covid filming is kinda a pain though

vestal jasper
#

aight boys time to shittalk @static badge

worn ember
#

we should recreate minecraft drama and make it into a soap

potent fossil
#

i mean i agree, i kinda wish they would've just?? erm. put it on the shelf and then continued in 2022 or even 2023

stiff yarrow
#

Wealthy people donโ€™t believe in covid though, so that means filming never stops

zealous wedge
#

well the provincial government does so

#

they went and got a plan together, depending on the show i've heard crew gets tested anywhere from every week to every day, and they're back out filming even with covid restrictions

stiff yarrow
#

Low key hoping I get a vaccine by may

zealous wedge
#

oregon seems to be doing things at least, my dad got vaccinated

#

supposedly yall are at a million people vaccinated now?

potent fossil
#

i mean they legitimately took a show that had genuine ability to explore so many different mythological scenarios and put it in a Lovecraft universe and watched as the entire show fell apart ending up in everyone you love either dying or losing their powers. I mean, I am by no means a film or arts student but it was kind of offensive to me as a viewer

#

I spent a lot of time getting invested in a show for them to do me dirty like that

zealous wedge
#

pfft film doesn't care about viewers, they only care about money

stiff yarrow
#

Iโ€™m an Oregon person zoidberg

zealous wedge
#

your time could be coming up

worn ember
#

we had one week of nice weather and the parks were booming with people and now we're on our way to wave 3

#

this is turning into a CoD zombie game

potent fossil
#

anyway yeah, very sadge, apparently the writers of it are pissed too and will be continuing a fifth and sixth season in comic book form

#

which i will buy because they hooked me

stiff yarrow
#

I signed up to get texted when I can get a vaccine

potent fossil
#

same

stiff yarrow
#

Oregon has some website for it

potent fossil
#

still waiting :/

worn ember
#

you guys are getting vaccines

potent fossil
#

wat

worn ember
#

its that "you guys are getting paid" meme

potent fossil
#

o

worn ember
#

keep up simple

potent fossil
#

well i signed up but have heard a whole lotta nothing

worn ember
#

yeah well i gave up on hoping for the summer festivals

#

that shit is gonna go nowhere

cosmic raft
#

in case you did not see simple

potent fossil
#

also like 83% of my town is a bunch of boomers who moved here 30 years ago to retire and eventually die but none of them are dead yet, so we've got a town nearly filled with Trump supporting anti-vac anti-covid racist old people

cosmic raft
#

ATB, Topic, A7S - 'Your Love (9PM)' out now!
Download & stream here: https://umg.lnk.to/YourLove9PM

Follow ATB:
โ†’ Instagram: https://www.instagram.com/atbandre/
โ†’ Facebook: https://www.facebook.com/ATB
โ†’ Twitter: https://twitter.com/atbandre

Follow Topic:
โ†’ Facebook: https://www.facebook.com/topicproductions
โ†’ Instagram: https://www.inst...

โ–ถ Play video
potent fossil
#

let me try to listen to this

worn ember
#

lmao

#

boomer town

potent fossil
#

Yeah unfortunately not a joke

worn ember
#

go spread some covid to thin the herd

potent fossil
#

You drive down a residential street here and all you see are trump banners, if someone had a biden banner it was torn down by a 75 year old man who can't handle alternative views

#

Anyway

worn ember
#

thats why you put 30amps on the board

potent fossil
#

what even is this kash

cosmic raft
#

music

worn ember
#

dudes pacer gonna fry

potent fossil
#

do you only listen to house music

cosmic raft
#

no

potent fossil
#

there's something about listening to house music in a quiet room all by myself that makes me not want to listen to house music

worn ember
#

is that even house?

potent fossil
#

Idk, sounds like something a club would play. Maybe too many lyrics for that

vestal jasper
#

god I love the first house opening

worn ember
#

its edm but not house lol

#

i quite like it kash pats

cosmic raft
#

I find my music mostly on spotify simple

potent fossil
#

oh right, house is the super fast almost mechanical edm

#

idk, i just cant vibe to edm atm

worn ember
#

do you listen to sad depressive music?

cosmic raft
#

No

#

not all the time

potent fossil
#

I've been listening to 2010's throwback pop recently

#

kek

worn ember
#

simpler times

cosmic raft
#

here simple

#

I listen to this playlist often

#

maybe you will find stuff in it you like

worn ember
#

lmao

cosmic raft
#

rip

worn ember
#

time to move country

crystal compass
#

vpn time

potent fossil
#

to listen to music? no

crystal compass
#

unlucky country

worn ember
#

throw the whole country away

#

wait did you move already simple?

mental meadow
#

bigFM

#

lol

cosmic raft
#

here @worn ember

#

something more your style

waxen panther
worn ember
#

mfw snapshat be giving me panty ads

cosmic raft
mental meadow
#

no

#

why don't you move to germany already xD

worn ember
#

i mean its not bad

cosmic raft
#

oh even better

#

here @worn ember

#

sad songs that make you cry mix (sad music playlist | sad slowed songs | depressing songs)

I always listen to depressive songs when I feel sad, so I hope you like this depressing mix will make you feel better.

Latest update of playlist:
โ€ข 7/2/2021

๐ŸŽถ Spotify:

ยปยป sad songs ยป https://open.spotify.com/playlist/70VaOHyjpsWcmA4gxosExZ?si=M8NH-TMXT...

โ–ถ Play video
worn ember
#

no expresso depresso songs

potent fossil
worn ember
#

so i saw my friend get beat up on cam earlier by his sister lmao, dude his nose was bleeding
never a dull friday night

#

context was weird so i'm not even gonna bother explaining

spiral robin
#

Hello @potent fossil

worn ember
#

feel it in your bones

potent fossil
#

Hello @spiral robin!

spiral robin
crystal compass
#

aight updating to java 11 was a success

potent fossil
#

grats

mental meadow
#

simple uwu

worn ember
#

j11? never heard of it

waxen panther
#

seems like ded

void void
#

๐Ÿ‘Œ

olive marlin
#

Question to people who use Windows - roughly how much space does it really use nowadays?
I remember that after some updates and stuff it was taking a lot of space a few years ago.

#

My case - buying a small SSD to install Windows for bios/firmware updates and maybe play something once in a blue moon.

warm anchor
#

officially it requires 20G for 64bit but with all the drivers and shit mine Windows folder is about 22G

#

that's not counting any app you may need (in program files)

olive marlin
#

Hmm, that's significantly less than I remember. I thought it took like 80G after updates etc.

warm anchor
#

I think the cache file isnt counted lol

olive marlin
#

Pretty sure also Windows VBox image was over 20GB, let me see if I can find it.

warm anchor
#

I just looked at my windows folder

potent fossil
#

my Windows folder is 30gb

#

i've got other shit on there but yea, base storage is 30 or so

warm anchor
#

mine is relatively new install so yeah not much junk in it yet krappa

mental meadow
#

31,1gb here

#

time to clean up

warm anchor
#

~~does it just grow bigger overtime lol

potent fossil
#

probably system restore points during updates

#

which are more or less just incremental backups afaik

mental meadow
#

plus update cache

#

windows caches a lot of temp files when updating

#

it can be like 10GB after a year or so

potent fossil
#

kek

mental meadow
#

Thats where disk cleanup comes in handy ๐Ÿ˜„

olive marlin
#

Where did I pull my 80gb or so from then?

#

I swear I remember it taking significantly more.

#

I guess I can just buy 512GB SSD instead and have peace of mind.

merry talon
#

wow AstraZeneca is the coolest sounding name ever

#

too bad they're probably super evil

potent fossil
mental meadow
potent fossil
mental meadow
#

just run disk cleanup and remove temp files and update cache

potent fossil
#

o

mental meadow
#

Is there something worse than SQL in PHP?

cunning raft
#

kotlin

potent fossil
#

SQL in Perl

mental meadow
#

it has become apparent that I'm to stupid for html forms

potent fossil
#

u r not stupid

mental meadow
#

apparently yes. the inputs in the form need a name and not just an id :'')

potent fossil
#

yea

#

id is the actual element identifier, name is what gets passed as the 'key' for the input

#

often same but not always

merry talon
#

I don't think you necessarily need ids?

#

it's just for styling mainly

#

or js bullshittery

potent fossil
#

you shouldnt need them for the actual form submission

#

but idk what aurora is doing

mental meadow
#

bootstrap needs the ids for labeling

#

but it works now ๐Ÿ˜„

merry talon
#

bootstrap in current year

mental meadow
#

It's backend stuff and I'm lazy

#

(frontend is also bootstrap but that wasn't me)

merry talon
#

this is so weird

#

that has to feel super unnatural

#

and awkward

cunning raft
#

<@&748618676189528155>

mental meadow
#

wtf

#

why

cunning raft
#

why what

#

me or the other guy?

mental meadow
#

the other guy

cunning raft
#

prob trying to get others to join

mighty storm
#

wha

cunning raft
#

<@&748618676189528155>

mighty storm
#

oh

#

im already here bro

cunning raft
#

you typed .1 second before i hit send D:

mighty storm
#

they get one more chance

cunning raft
#

that's the second time they've done that now lmfao

mighty storm
#

no links

#

if ur lonely join vc

merry talon
mighty storm
#

rory.cat for a cute sitE

mental meadow
#

?kick @proper violet Stop with the weird spam stuff

leaden oxideBOT
#

dynoSuccess AleLopez#0994 was kicked | Stop with the weird spam stuff

mighty storm
#

well i aint the mod so whatever

dull swallow
#

random question, is there a service I can pay for to make it where I hide my home IP address to the people playing on my server kinda like a VPN

warm anchor
#

So vpn?

mental meadow
#

eternitymeowhuggies

warm anchor
#

Aurororororra rielove

dull swallow
#

From what I understood you could not use a VPN to do it. We have about 23 people playing on my home hosted server but I wanted to make it more secure

#

server has been running since 2016

cunning raft
#

tcpshield may be what you're looking for

dull swallow
#

thank you will check it out

#

@cunning raft is this just DDOs protection or does it change the IP address as well?

spiral robin
cunning raft
#

there is a free plan

#

just try it

dull swallow
#

That is awesome thank you for the help, this seems like the fix to my problem

mental meadow
#

aber uwu

magic river
#

It's a VPN that does port forwarding pauseLUL

spiral robin
#

Aurora koriLove

potent fossil
mental meadow
#

fancy ๐Ÿ˜ฎ

spiral robin
#

Go to bed @potent fossil

mental meadow
#

the suffering is over i think

#

nvm it isnt

#

aaaaaaa

#

I hate php

spiral robin
#

PHP peepoClapJamminMoment

#

What's wrong

#

I can try to help

zealous wedge
#

o no aurora meowhuggies

potent fossil
mental meadow
#

So I have a text input field in a form that gets saved into the database. I'm using utf8_encode when saving it and utf8_decode when getting it from there. So far so good, works fine. When I have a รผ in the database it gets displayed correctly and I can then save it. But when I type in a รผ manually it breaks again

potent fossil
#

what part breaks

mental meadow
#

oh

#

it isn't the รผ

#

it's the รŸ

potent fossil
spiral robin
#

ah yes

mental meadow
#

the query just fails

spiral robin
#

Any specific error

mental meadow
#

mysql_result(false, 0)

spiral robin
mental meadow
#

why tf is the field set to latin1_swedish

#

why swedish

#

well, problem found

#

unicode it is

void void
#

yall have any SMP's?

coarse lily
#

Sure we have some.

void void
#

a classic smp not too many members?

coarse lily
#

Classic how?

mental meadow
void void
#

no

#

just no mods

#

and no plugins

#

and ect

#

not too many players

mental meadow
#

this is not a marketplace or serverlist^^

void void
#

obv can u stop giving me attitude please

#

there is no need

#

but if u want me to leave i can

potent fossil
#

It's in the rules

#

Which is why she is passively letting you know

#

Ok bye

coarse lily
#

๐Ÿคท๐Ÿปโ€โ™‚๏ธ

spiral robin
#

pepela

mental meadow
#

๐Ÿ˜ฆ

potent fossil
#

@spiral robin

spiral robin
#

What

mental meadow
#

what did i just watch

#

wtf

spiral robin
#

Students in my cohort are forming a Google document to present to the deans about a professor they're having issues with

#

This is spooky

potent fossil
#

you watched something amazing aurora

spiral robin
#

Im not taking part as I don't have issues and I don't want my name involved

potent fossil
#

Good boy

mental meadow
#

but drama!

vernal moth
#

If ppl always would act that way, the world would be a sad place, lol

potent fossil
#

depends what 'issues' they're having

#

if the 'issues' are "omg prof so hard" and it stems from them not doing their fucking work (extremely common), then i would be on aber's side

mental meadow
#

on the other hand, if the issues are 'sexual harassment' or similar then it would be bad to not be involved

potent fossil
#

absolutely

#

so it just depends on the context

vernal moth
#

Yeah

#

In other news, i apperently ripped out a toe nail while dreaming tonight