#development

1 messages ยท Page 1468 of 1

vernal rivet
#

Dead

lyric mountain
#

It's already rotting

crimson vapor
#

lmao

lyric mountain
#

Almost becoming petrol

crimson vapor
#

my science work is still in flash

hollow sedge
#

My friends tell me that coding in flash is mainly graphical

crimson vapor
#

im not sure

#

never done it

#

still in my powerpoint class KEKW

hollow sedge
#

Powerpoint class??

crimson vapor
#

IT program in my school

vernal rivet
#

Computer application class, f

crimson vapor
#

so powerpoint

hollow sedge
#

Who uses powerpoint

#

This is so sad

crimson vapor
#

actually

outer zenith
#

well i am in college

crimson vapor
#

powerpoint is so much fucking better than that fucking shit called google slides

#

not even in the same league

outer zenith
#

and its a bit fucky

vernal rivet
#

I mean powerpoint > Google's bs

lyric mountain
#

PowerPoint is one of the mainstream presentation apps actually

outer zenith
#

that we have to learn cpp

crimson vapor
#

yeah

outer zenith
#

in school

#

rather than java

#

cpp shit

crimson vapor
#

I want to learn cpp and c#

#

but

#

no time

outer zenith
#

all the weird syntax compared to other languages

vernal rivet
#

C# is fairly easy ngl

hollow sedge
#

nah it can get very complicated imo

vernal rivet
#

C# > java anyday of the week except Mondays, because that's my sleep in day

hollow sedge
#

true

sage bobcat
#

One message removed from a suspended account.

vernal rivet
#

PascelCase is superior lmao

hollow sedge
#

nah

#

snake_case will always have a special place in my heart

vernal rivet
#

Rust is pretty lit ngl

#

But what's better. SCREAMING_SNAKE_CASE

lyric mountain
#

TORGUE_CASE

hollow sedge
#

global variables use that

#

(in python)

vernal rivet
#

Yert

#

Nah

#

Env uses it

hollow sedge
#

sorry yeah thats what i meant

vernal rivet
#

System environment variables are in that

lyric mountain
#

Do you know what I hate? _variablename

vernal rivet
#

Ew

lyric mountain
#

Why underline before names?

hollow sedge
#

i think those are for methods that are only used within the module

vernal rivet
#

That's disgusting, at least use camelCase with it lmao

hollow sedge
#

and not supposed to be used by like the people who import that module

vernal rivet
#

They are private variables

hollow sedge
#

ye

lyric mountain
#

Ah, yeah, hiding the uglies

hollow sedge
#

always hide the uglies

vernal rivet
#

Yes, aka py

outer zenith
#

i can code python in my sleep

vernal rivet
#

.NET 5 is so powerful

outer zenith
#

and java is versitlie

lyric mountain
#

Java is love

vernal rivet
#

I don't like py. Fucking whitespace syntax

outer zenith
#

camelcase > underscore

hollow sedge
outer zenith
#

just do print("Hello world")

#

a working program

outer zenith
hollow sedge
#

just do console.log("Hello world")

outer zenith
#

so...

hollow sedge
#

a working program

outer zenith
#

cause whitespace is better for readibility

hollow sedge
#

just do Console.WriteLine("Hello World")

#

a working program

vernal rivet
#

Just do Console.WriteLine("Hello World");

hollow sedge
#

oh i forgot the semicolon ๐Ÿ˜ญ

vernal rivet
#

Lmao

hollow sedge
#

i apologize

outer zenith
#

but thats more characters lol

hollow sedge
#

its only more characters because of the method names though

#

lol

lyric mountain
#

Intellij be like: sout -> enter -> "Hello world"

vernal rivet
#

Syntax fucking Error, where is my semicolon that I asked for

hollow sedge
#

and it's built into python as a function

vernal rivet
#

But c# is lit, and should be taught instead of java ngl

lyric mountain
#

Nah

hollow sedge
#

^^ i agree

outer zenith
#

nah

#

java >

hollow sedge
#

yeah

#

.NET is incredibly powerful

vernal rivet
#

Nah c# > java.

outer zenith
#

while im not good at using external libraries in java

#

java is still the most solid language

vernal rivet
#

Yea have you see the run time for .NET 5

lyric mountain
#

No lang wars

hollow sedge
#

dude if you cant use external libraries you havent used the language

outer zenith
#

no i can

#

like not many tho

#

like i haven't done webscrapign

#

and lot of applicationss of codign

#

outside of python

hollow sedge
#

ah

vernal rivet
#

Java is solid, but c# is more fun, and is much much more versatile than java sadly

hollow sedge
#

yeah python is just so intuitive

outer zenith
#

^

#

if u want fun

#

python

#

easy

#

verrsatile and fun

vernal rivet
#

happy_boy I hated py when I had to use it for school

outer zenith
#

lmao

#

prob because u had to use it for school

vernal rivet
#

I only use it if I need to build something that requires me to use py to do that. But that's all

#

Nah I hated whitespace syntax

lyric mountain
#

C# more versatile, laughs

vernal rivet
#

I get that it's for structure, but my structure is not what py wants, and basically ruins my style.

lyric mountain
#

But anyway

vernal rivet
#

C# is a go fyi

#

Gp*

lyric mountain
#

Gp?

outer zenith
#

the thing is

vernal rivet
#

General Purpose

outer zenith
#

no matter the language

#

i use whitespace format

#

even when its not necessary

vernal rivet
#

shrug I prefer dealing with braces over whitespace

outer zenith
#

lmao

#

braces are just another unecessary addition

vernal rivet
#

Not really

#

Teaches what scopes are, and are easier for newer people to understand. Also helps with seeing what is in scope.

vivid wigeon
vernal rivet
outer zenith
#

thats what indents do too

vernal rivet
#

They laugh, but don't understand that their weak language's runtime is much much slower than .NET 5's runtime. Not even py could compete against it.

lyric mountain
#

Like, while I'd really want to argue about that (you must not consider only windows), I don't want to be yeeted by some mod

#

Also, py is slow af, nothing against

hollow sedge
#

who cares

lyric mountain
#

But interp langs are always slower

vernal rivet
#

I mean you still have .NET Core 3.1 should be universal

#

.NET Framework is windows only from what I remember

outer zenith
#

i mean i personally don't care if its slow

hollow sedge
#

yeah it is

outer zenith
#

like what am i

#

a corporate

#

no

hollow sedge
#

honestly its not that slow that it cant be used by any company anyway

#

it has its use cases

vernal rivet
#

^^^

outer zenith
#

especially AI

#

which is another reason why i like py

vernal rivet
#

Being slow can be good, but in runtimes, .NET 5 is powerful, that it can run stuff faster. That's all it means. But you still have to deal with it's build step and stuff.

#

I mean almost any language can deal with so. Just some better at it. Both py and c# can do so pretty well

hollow sedge
#

i dont think being slow can necessarily be good

#

but it can be okay in some situations

vernal rivet
#

shrug but in the end. C# is good. Py is ok, some may think it's god tier, but I mean that's saying too much. I will say it's good, and that Glass is god tier. Fight me

hollow sedge
#

๐Ÿ‘Š

vernal rivet
#

You can't deny that glass is god tier.

hollow sedge
#

idek what glass is

vernal rivet
#

Look up glass esolang

hollow sedge
#

unless you're talking about the object

#

"It combines an unintuitive postfix notation with heavy object-orientation" yeah no thank you

vernal rivet
#

Tell me that isnt god tier shit right there lol

hollow sedge
#

why does esolangs look exactly like wikipedia

#

oh its powered by mediawiki

vernal rivet
#

Because it is. Esolang is esoteric language. They are legit jokes. They have english as well lol

hollow sedge
#

oh lol

vernal rivet
#

Glass is a joke. It's not meant to be use, but I joke about it, because that syntax is god tier ๐Ÿ‘Œ

hollow sedge
#

nah fam

#

that looks like a nightmare

vernal rivet
#

That's a joke

#

Lmao

hollow sedge
#

i get that its a joke

#

but how messed up do you have to be to make this

vernal rivet
#

Lmao idk, I mean someone thought it would be ok to make lolcode

hollow sedge
#

fair

vernal rivet
#

Lol

hollow sedge
#

i mean i could see this being used for code golf

vernal rivet
#

Yert

young flame
#

hhidkk

#

@hollow sedge meme commands or roleplay commands

hollow sedge
#

no comprendo

lyric mountain
#

Hello World is almost 10 lines of code

outer zenith
#

like what is ur bot

#

ur bot is what

gilded olive
#

a bot

hollow sedge
gilded olive
#

Oh yea JSFuck is ....

lyric mountain
#

Imagine working with JSFON

#

Most secure data interchange ever

outer zenith
#

and what do u mean role play commandd

lyric mountain
#

Probably kiss, hug, laugh, etc

gilded olive
#

ez

#

Pull gifs from like tenor or giphy

hollow sedge
#

yeah ^

drifting wedge
#

i think the issue is the java file isnt even running

outer zenith
#

roleplay

#

obv

outer zenith
#

eclipse

#

pretty simple

lyric mountain
#

No, download intellij

hollow sedge
#

intellij is the best IDE

outer zenith
#

eclipse >

hollow sedge
#
  • for java
lyric mountain
#

Eclipse is a mess when it comes to libs

#

Or vcs

#

Or project management

drifting wedge
#

i wanna use vsc

hollow sedge
#

thats version control

drifting wedge
#

eclispe is poopy

hollow sedge
#

not vs code

#

wait you did mean version control right

lyric mountain
#

Me? Yes

hollow sedge
#

yeah ok

vernal rivet
#

Vsc does a very poor job when it comes to java

lyric mountain
#

Like, vscode is too barebones to be useable for java

vernal rivet
#

^^^

lyric mountain
#

I mean, it's just a fancy text editor

hollow sedge
#

this is why you dont use java

drifting wedge
#

ok

#

well what can i use for java?

vernal rivet
#

Yes you can use vscode for java, but doesn't mean it's efficient

lyric mountain
#

Intellij

drifting wedge
#

with vsc i cant even run it

#

java scratch?

vernal rivet
#

Intellij

lyric mountain
#

It has community version

vernal rivet
#

Mhm

lyric mountain
#

Also, I highly recommend some package manager like maven or gradle

vernal rivet
#

I personally like Gradle but both work. Just different formats

lyric mountain
#

Gradle is more readable I think

vernal rivet
#

Maven uses xml

#

Gradle uses it's own format I think

lyric mountain
#

Yep

#

Maven is better for libs because it's lightweight af

vernal rivet
#

Mhm

young flame
#

autoplay on and 50% volume

#

or should i do 100% volume and autoplay off

vernal rivet
#

50/100, or 5/10?

young flame
#

50/100

vernal rivet
#

Maybe, what library?

young flame
#

djs

#

well mainly anyways

#

i have html for oauth2

vernal rivet
#

Yea

#

50/100 is fine

young flame
#

alr

vernal rivet
#

You could do 70/100 maybe

young flame
vernal rivet
#

100/100 for djs from what I remember is like 300% if it's default. Idk if that's fixed

young flame
#

it changes the song

#

but there is no sound

#

but im to tired to fix iT

hollow sedge
#

it might be easier to code if you dont use 4 databases...but that's just me

lyric mountain
#

Fix it ralph

young flame
#

and i had to recode everything smhhh

hollow sedge
#

which one did you pick

young flame
#

moonsql

hollow sedge
#

also you literally did it in an hour

#

somehow

#

can you tell me why i should use moonsql

#

can you show me what moonsql is

young flame
#

my programmings hands type faster then i can think

hollow sedge
#

does it have a github repo

young flame
#

thats why im always miss spelling words

hollow sedge
#

its still wrong but ok

young flame
hollow sedge
#

why

earnest phoenix
#

I shake when I code because I'm scared I might make a shitty syntax error.

young flame
#

idk

#

just never made it public

hollow sedge
#

why not

young flame
#

maybe next month ill make a npm for it

earnest phoenix
young flame
#

nah

#

im copyrighting him to smh

hollow sedge
#

lol hold up

#

why cant you make it public on github tho i dont understand

young flame
young flame
#

i can choose if i want it public or not smh

#

i dont want it public rn

hollow sedge
#

im saying why not whose db is it

young flame
#

what

hollow sedge
#

listen

earnest phoenix
#

listening

hollow sedge
#

if i made a db, i would want people to use it

#

so i would make it public

#

thanks auric

earnest phoenix
#

np

young flame
#

you would

#

not me smh

hollow sedge
#

can you stop using smh ๐Ÿ˜ญ it makes me sad

earnest phoenix
#

it seems like Reign wants to make his own decisions tbh

#

so let's respect that

quartz kindle
young flame
#

ty auric

earnest phoenix
#

np

hollow sedge
#

how am i not respecting that

young flame
hollow sedge
#

i literally cant make any decisions for you im just asking why

young flame
#

you can choose which one you want

hollow sedge
#

wait what

earnest phoenix
hollow sedge
#

ok so regardless of whether i can use it or not

#

why would i use it (what's the use case)

#

over other databases

young flame
#
database.storing('format', json)
```this
#

or sqlite

earnest phoenix
#

json tf

lyric mountain
#

Lul

young flame
hollow sedge
#

format is a string but json isnt

lyric mountain
#

Wouldn't it be better to make a pseudo-orm using sqlite?

earnest phoenix
#

na im joking

hollow sedge
#

ez

lyric mountain
#

Like, using json in text fields

young flame
#

format is choosing an formatting option for string stuff in the db

lyric mountain
#

Ah

young flame
#

json choose how it stores it

hollow sedge
#

whats the use case for moonsql though

#

over plain sqlite

young flame
#

its like mongo db but without the website

#

and way easier to use

lyric mountain
#

So, redis?

hollow sedge
#

how would it be easier than mongodb

#

so like quick.db but for mongodb?

young flame
#
var options = {
    // db_name: The name of the file that will save in the folder to hold all user warning data.
    db_name: "Ikigai"
}

options.format(config.format)
hollow sedge
#

but actually using sql

young flame
#

kinda like that

hollow sedge
#

๐Ÿ˜•

vernal rivet
#

Quick.db is dogshit. I mean what??? What are we complaining about?

young flame
#

config.format is the code frm before

hollow sedge
#

mongodb is pretty easy to use

lyric mountain
#

I mean, isn't sql purpose being using actual queries to reduce local-side processing?

earnest phoenix
young flame
#

i like the keys

#

@lyric mountain idk what i want to do with it doe

hollow sedge
#

who doesnt like keys

vernal rivet
#

Maybe maybe not PandaDevil no one will know

young flame
#

like have a folder called /(cusotm storing name)/ and then like the db

#

or something

#

like how i did my backups using moonsql

vernal rivet
#

If you want local, then quick.db is your best option, or if you want a more advanced option, then enmap exist

young flame
#

or something like that

lyric mountain
#

Oh no

#

Json-based guild storage

young flame
vernal rivet
#

Don't use json for heavy data

young flame
vernal rivet
#

Json is made for lightweight data, like configs

hollow sedge
#

It's a waste of time to make it though

vernal rivet
#

Yea

lyric mountain
#

You could use redis

young flame
#

.___.

lyric mountain
#

Almost like normal json

#

Fast

#

And lightweight

vernal rivet
#

Quick.db as well

young flame
#

eh ill think about making it redis or something

lyric mountain
#

Idk quick.db

young flame
#

json, sqlite and redis eh?

vernal rivet
#

Doesn't like quick.db, smart

lyric mountain
#

No, not that

#

I'm a sql user

vernal rivet
#

Lol

young flame
#

same

lyric mountain
#

Postgres + sqlite for cache

vernal rivet
hollow sedge
#

I recently started using postgres after using mongo and I got to say, I love the query language

young flame
#

idk im pretty happy with how moonsql turned out

#

might change the name doe

lyric mountain
#

Postgres's sql is lovely

#

Meanwhile, firebird is shit

hollow sedge
#

Designing databases is more fun that I thought lol

young flame
#

whats firebird

#

facts

#

i like a good challenge

#

that being said coding a appp in coffeescript is

lyric mountain
young flame
#

horrible

mellow kelp
young flame
#

i tried it

lyric mountain
#

It's slow af, hard af, buggy af and af in general

young flame
#

i cried so many times

mellow kelp
#

one does not simply code in coffeescript

young flame
#

AND IT ONLY WORKED FOR ONE THING SMH

#

i coded the app right

#

took 5 months

#

i run it

#

and the only thing that works

#

is the fucking start button

lyric mountain
#

And most importantly: firebird lags A HELL LOT if you make many transactions

hollow sedge
#

Imagine spending more than a week on something

young flame
lyric mountain
#

Maybe 500 transactions per second AT MOST

young flame
#

i spent 2 months on the bot im coding now

#

mainly because im lazy

#

and take 4 week breaks

hollow sedge
#

Do you guys think it's worth it to have a denormalized table for like a medium-sized application

earnest phoenix
#

I spent 2 years of coding my bot, since it's just the same code from applications.

lyric mountain
#

Denormalized?

hollow sedge
#

By medium I mean like thousands of users

earnest phoenix
#

2 weeks on making the dashboard tho since reactjs is easy

young flame
#

i wanna buuy it

#

but idkk

vernal rivet
#

Are we talking shit about stuff now?

hollow sedge
# lyric mountain Denormalized?

Basically like storing all information about a certain thing in one table rather than logically separating them to improve performance

young flame
#

its 2k its gonna take weeks to get 2 k again smhh

vernal rivet
#

Cause Google's apis are shit

lyric mountain
#

Oh, no, keep stuff separate

#

Create one database for each user if you must (if your db has schemas)

hollow sedge
#

But performance :(

#

I realize that

#

I mean have a separate version AND a denormalized one

lyric mountain
#

Big fat tables are sometimes slower than smaller relative tables

#

Also, it allows u to specifically get one info if you need

hollow sedge
#

Possibly, but the rows would be fat

#

Not necessarily the table

lyric mountain
#

Fat rows? How much?

#

Like, are u storing whole jsons in a row?

hollow sedge
#

I'm not explaining it well

#

But it's a concept that is supposed to improve performance

zenith terrace
#

anyone know why this message.guild.members.cache.filter(m => m.user.bot).size works sometimes and doesn't at the same. For one of my bots it doesn't say all the amount of bots in the server, but on another server the code works and says the correct amount of bots in a server

hollow sedge
#

For example instead of querying multiple tables for a ton of info, you would only go to a couple

mellow kelp
lyric mountain
#

Remember that sql is already optimized to handle many tables at once

#

Sometimes it's a O(1) operation

hollow sedge
#

Eh that's true

mellow kelp
lyric mountain
#

Having primary keys, the time will probably be constant

zenith terrace
#

ee ok

hollow sedge
#

Hm probably

#

I think the benefit of doing that scales with the amount of data

lyric mountain
#

Like, I've seem both worlds

#

The place where I work use big fat "yo mamma" tables, and it's painful to maintain

#

My bot uses a lot of tables with relationships everywhere, and never had issues regarding time

hollow sedge
#

Lol yeah I see that

lyric mountain
#

Not to say, they store xmls in table rows ๐Ÿ˜†

oak cliff
#

@earnest phoenix dont be asking people to vote for your bot, thank you.

lyric mountain
#

Wut, where?

oak cliff
#

i deleted it.

earnest phoenix
#

who is the fucking snitch here

oak cliff
#

no one

#

I read it

hollow sedge
#

bruh

earnest phoenix
#

sure

oak cliff
#

cause its my job

hollow sedge
#

wouldnt be a problem if someone did anyway

oak cliff
#

now dont do it again

earnest phoenix
#

@Cloudfox#6783

#

it will

hollow sedge
#

dude just leave

#

stop

earnest phoenix
#

no

#

i hate snitches

lyric mountain
#

It'll not, it's in the rules

oak cliff
#

cool, we dont care

hollow sedge
#

ok well i hate you

earnest phoenix
#

@oak cliff

#

shut up

hollow sedge
#

we dont always get what we want

earnest phoenix
#

don't be

lyric mountain
#

Oh my

oak cliff
#

cloud, dont escalate things.

earnest phoenix
#

so bad boy

oak cliff
#

-m 371024183531929614

gilded plankBOT
#

๐Ÿค Muted !Xabi#0001 (@iron bear)

hollow sedge
#

lol

hollow sedge
lyric mountain
#

I don't understand such people, like, everyone's anxious about getting their bot approved then suddenly people like that appear out of nowhere

young flame
#

tf you saying sorry for smh

young flame
hollow sedge
#

lol i think so, but sometimes you just dont realize that you're going too far๐Ÿคท

young flame
#

stitchPat stating your opinion isnt something to say sorry to

#

its collective criticism

#

@lyric mountain wanna watch ngnl together?

#

๐Ÿ‘‰ ๐Ÿ‘ˆ PleadingHearts

lyric mountain
#

Nah, don't want to have season 2 anxiety again

young flame
#

aww oki

lyric mountain
#

Still dreaming about a sequel

#

If only manga had gone further, same with overlord

drifting wedge
#

how can i run java files?

#

eclipse is shit

#

and vsc doesnt even wanna run the file

mellow kelp
#

intellij gang

drifting wedge
#

same issue

lyric mountain
#

Just click the green arrow

#

Like, there's no trick

drifting wedge
#

ant run file not found

lyric mountain
#

Ant, why?

#

Did u create or open the project?

drifting wedge
#

yes

lyric mountain
#

If you created, you're not supposed to select anything at the first screen

#

At the second u select "command line application"

#

Then set ur project and package name

drifting wedge
#

why cant i use vsc for java?

#

eclipse sucks lmao

#

@lyric mountain

lyric mountain
#

Vsc is a text editor

#

It's too weak to be used for java

#

Eclipse indeed sucks

#

That's why we recommended intellij

drifting wedge
#

i tried too

#

lemme give u error

lyric mountain
#

If you had Ant errors, u didn't try it the right way

#

Ant is a package manager

#

U probably created an Ant project

outer perch
lyric mountain
#

Everyone is

outer perch
#

sadly, I just finished 12th grade

lyric mountain
#

But eclipse is so bad

outer perch
#

didn't get in any course

lyric mountain
#

Like, it had everything to be one of the big IDEs

drifting wedge
#

i want my code in main.java right?

lyric mountain
#

No

#

You want a main method, not a main class

drifting wedge
lyric mountain
#

You can name it Main tho

#

No imgs, sorry, I've disabled them to use data

drifting wedge
#

FILE

lyric mountain
#

All u need is a public static main method

drifting wedge
#

idea

#

out
src

#

uhh i only need 1 file right?

lyric mountain
#

Yes, but you also need such folders

drifting wedge
#

MY BRAIN HURTSS

lyric mountain
#

What's inside src folder?

#

Nothing?

drifting wedge
#

Main.java

lyric mountain
#

Ok

drifting wedge
#

and something.iml

lyric mountain
#

Inside that class , whats inside?

#

Wait

#

Iml inside src?

#

Anyway, Main class should be like this:

drifting wedge
#
  public static void main(String[] args){
    System.out.println("Hello World");
  }
}```
#

main.java

lyric mountain
#

Yeah, that

#

When you run it, does it give any error?

drifting wedge
#

wait wtf

#

this is main.java

lyric mountain
#

Damn, 1% battery

drifting wedge
#

import javafx.applicationf.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class Main extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception{
        Parent root = FXMLLoader.load(getClass().getResource("sample.fxml"));
        primaryStage.setTitle("Hello World");
        primaryStage.setScene(new Scene(root, 300, 275));
        primaryStage.show();
    }


    public static void main(String[] args) {
        launch(args);
    }
}
lyric mountain
#

Ok, wtf

#

You've created a javafx project

drifting wedge
#

can i just have a java file?

#

no projects?

lyric mountain
#

You can

#

Actually, there are no projects unless you're using package managers

#

All intellij do is organize the files in folders

drifting wedge
#

new java class file?

lyric mountain
#

No

#

You can't use that project

#

It's a javafx project

drifting wedge
#

uhh i right click folder

#

create file

#

says: java class

lyric mountain
#

Download intellij, then do this:

  • Create project
  • Java
  • Don't check any option
  • Use template -> command line project
  • Rename project and package names
  • Finish
#

It'll give u the barebones of java program

cerulean ingot
#

should i re-code my advanced suggestion bot or should i make an advanced member counter bot (like a vc count)?

lyric mountain
#

Now I gotta go, my battery won't handle it anymore

#

Just remember: use intellij, eclipse is harder

drifting wedge
#

alr

#

ty

lyric mountain
#

Ok, got the charger

drifting wedge
#

ok plez help lmao

#

intellij doesnt even wanna run it

#

@lyric mountain

twilit geode
#

I cant figure out how to collect custom emoji reactions in a filter

const filter = (reaction, user) => {
                return ['check', 'xMark'].includes(reaction.emoji.name) && user.id === message.author.id;
            };
twilit geode
#

as long as you have 90 years experience 0-0

sudden geyser
#

IntelliJ's UI notlikenoot

drifting wedge
#

i gave up on java already lmao

#

cznt even run it

#

cant*

sudden geyser
#

try harder

twilit geode
drifting wedge
#

its very shit

twilit geode
#

well yes

#

but actually no

mellow kelp
#

i tried eclipse

#

didn't like it that much but ig it works for other people

sudden geyser
drifting wedge
#

i made it

#

i jusr cant run it

#

button is grayed out

twilit geode
#

oop

#

did you save...

sudden geyser
#

it shows how to run it

drifting wedge
#

ill check out tmr

#

ty

twilit geode
#
        message.channel.send(embed).then(sentMessage => {
            sentMessage.react(emotes.check).then(() => sentMessage.react(emotes.xMark));
        
            const filter = (reaction, user) => {
                return ['check', 'xMark'].includes(reaction.emoji.name) && user.id === message.author.id;
            };
            // yes or no to setup
            sentMessage.awaitReactions(filter, { max: 1, time: 60000, errors: ['time'] })
                .then(collected => {
                    const reaction = collected.first();

                    if (reaction.emoji.name === emotes.check) {
                        embed.setDescription("Do you want me to set up roles - :diamond_shape_with_a_dot_inside:, channels - , or both?")
                        sentMessage.edit(embed)
                    } 
                    if (reaction.emoji.name === emotes.xMark) {
                        message.reply('Action Aborted.');
                    }
                })
                .catch(collected => {
                    message.reply('You timed out, please run =setup again.');
                });
#

its not collecting the emotes

sudden geyser
#

If it's grayed out you probably don't have any run configurations set

twilit geode
#

in the filter

drifting wedge
#

i cant find java

sudden geyser
#

Typically you can just open your main java file and press the green arrow next to it

undone solar
#

Good evening everyone,
i would like the bot to change the channel visibility permissions for evryone to off

drifting wedge
#

i made my own file

#

its legit java.java

#
    public static void main(String[] args){
        System.out.println("Hello World");
    }
  }
sudden geyser
#

The name of the file needs to be the same as the class name

#

So it should be called Main.java

drifting wedge
#

oh

#

lmao

sudden geyser
#

and show your directory tree pls

drifting wedge
#

entire file

lyric mountain
#

Im back

lyric mountain
#

When u wrote the public static void main methody, a gree arrow should've appeared on its side in intellij

#

Press it

drifting wedge
#

these r configs

lyric mountain
#

No images

#

You need no config

drifting wedge
#

class name is Main

#

file name is Main

lyric mountain
#

Yes

#

Both class and filename must be the same

drifting wedge
#

arrow now shoqwing

#

its gray

lyric mountain
#

Just press the green arrow on the left side

#

Near the line numbers

drifting wedge
#

mem

#

WORKEEED

#

ur all poggers

#

:poggers bro

lyric mountain
#

Like, when you first create a project you won't have the starting file setted

drifting wedge
#

o ok

#

welp, cya when i make the next google!

#

jk

lyric mountain
#

You need to press that arrow once, then the header arrow should light up

drifting wedge
#

uhh what is java used for?

lyric mountain
#

What isn't java used for is the real question

#

You can do pretty much anything

#

Well, maybe except microship coding

drifting wedge
#

ik but what do people use it for?

lyric mountain
#

Anything u want

drifting wedge
#

mhm

#

r there libraries?

lyric mountain
#

I use it for bots, server, custom apps, etc

lyric mountain
drifting wedge
#

alr

#

pog

#

nice

lyric mountain
#

But I recommend using a package manager for libraries

drifting wedge
#

mhm

lyric mountain
#

Handling .jar files can get messy

drifting wedge
#

honestly imma try to finish up python and js before lmao

lyric mountain
#

Learn how to use vanilla java, then start learning how to use gradle

#

Vanilla java already has a ton of useful stuff

#

Play a bit with it

#

Btw, what java did u install?

#

Version I mean

twilit geode
#

does anyone have a solution to my issue?

drifting wedge
#

Goal is, finish up python, and learn js, Cpp and Java

lyric mountain
drifting wedge
#

Prob by mid 2021 wanna know like how to make simple programs

twilit geode
#

it just doesnt collect them

lyric mountain
drifting wedge
#

Wat Lang @twilit geode

twilit geode
#

It works with unicode emotes, but i just copy pasted them

twilit geode
drifting wedge
lyric mountain
#

Ah, you're safe then

#

You'll be able to taste lambdas

#

Maybe text blocks too

drifting wedge
#

Uhh js is useful right?

twilit geode
lyric mountain
#

His code is a up there

drifting wedge
#

Wait what backend frameworks for Java are there?

twilit geode
drifting wedge
#

?

lyric mountain
#

Java is fullstack actually

drifting wedge
#

Web backend

lyric mountain
#

You choose it

#

There are many frameworks

drifting wedge
#

What options?

twilit geode
#

a p p l e t

lyric mountain
#

Easiest and, imho, best one is springboot

twilit geode
#

tehe

lyric mountain
#

One-line webserver setup

#

All you need is a couple annotations above your server handler class

twilit geode
crimson vapor
#

hmmm

#

same for js then

lyric mountain
#

Technically anything can be a one-liner if you're brave enough

twilit geode
#

but f other devs amir

earnest phoenix
#

a

crimson vapor
#

f for yourself trying to read

twilit geode
crimson vapor
#

lol

distant bramble
#

Lol

crimson vapor
#

I use semicolons

#

for my js code

twilit geode
#

i dont teehee

lyric mountain
#

Semicolons are essential

crimson vapor
twilit geode
#

#maxiumlazy

lyric mountain
#

They are the cherry of any code

crimson vapor
#

and I have autoformat on

twilit geode
crimson vapor
#

I think it makes it look nicer

twilit geode
#

i mean yea

crimson vapor
#

yio

twilit geode
#

but like

#

lazy

crimson vapor
#

should I rewrite my shit in 1 commit?

twilit geode
#

also

crimson vapor
#

like 3k lines in one commit

twilit geode
#

CaN sOmEoNe HelP

#
        message.channel.send(embed).then(sentMessage => {
            sentMessage.react(emotes.check).then(() => sentMessage.react(emotes.xMark));
        
            const filter = (reaction, user) => {
                return ['check', 'xMark'].includes(reaction.emoji.name) && user.id === message.author.id;
            };
            // yes or no to setup
            sentMessage.awaitReactions(filter, { max: 1, time: 60000, errors: ['time'] })
                .then(collected => {
                    const reaction = collected.first();

                    if (reaction.emoji.name === emotes.check) {
                        embed.setDescription("Do you want me to set up roles - :diamond_shape_with_a_dot_inside:, channels - , or both?")
                        sentMessage.edit(embed)
                    } 
                    if (reaction.emoji.name === emotes.xMark) {
                        message.reply('Action Aborted.');
                    }
                })
                .catch(collected => {
                    message.reply('You timed out, please run =setup again.');
                });

it no go brr

crimson vapor
#

go('brrrr')

#

there

twilit geode
crimson vapor
#

idk im tired and can't think

#

and this code is in like 200 different places rn

#

working on middleware and routes and api at the same time

twilit geode
#

have fun!

crimson vapor
#

fun!

twilit geode
#

c o d i n g i s f u nhell

crimson vapor
#

nah I enjoy it

#

tbh

#

unlike writing it actually makes sense

#

its like a game

#

how far can you get without throwing an error and taking a break

twilit geode
#

NVMD

#

big dumb

crimson vapor
#

how loud can you make your music before you need to pause it to think

#

little game I like to play with myself

lyric mountain
#

Until your dog start asking u to turn it down ig

crimson vapor
#

that too

#
const { Router } = require('express');
const router = Router();

router.use(async (req, res, next) => {
  if (req.session.userData) {
    next();
    return;
  } else res.redirect('/login?r=' + req.url);
});

module.exports = router;
``` best fucking authentication middleware
distant bramble
#

Lol

crimson vapor
#

reee I need to start writing user management routes

twilit geode
#

=setup

#

oop

crimson vapor
#

wrong channel

cerulean ingot
#

what bot should i make? server template bot, server maker bot, re-code my advanced suggestion bot, or make a guess the number bot

crimson vapor
#

don't make a bot

#

make a web server or smth

#

an api

#

anything

hollow sedge
#

Yea

crimson vapor
#

smh I accidentally used callbacks instead of async/await

mellow kelp
#

bruh moment

crimson vapor
#

whatever ill just fix it later

sudden geyser
crimson vapor
#

I cba to recode this

lyric mountain
#

Oh, I have an innovative bot idea

#

Make a...

#

CORONA BOT

sudden geyser
#

For example, mod mail was something I always saw people made exclusively for a server. Then someone made a public bot and that was immediately popular, but then again, the person who made it already had a popular bot so I don't know if they promoted it there

mellow kelp
#

Who would have thought about that

sudden geyser
hollow sedge
#

Make a spanish flu bot

crimson vapor
#

its not imo

#

so much shit you can do

hollow sedge
#

Yeah it's not

crimson vapor
#

im rewriting my file storage server thing

#

sharex server

#

cdn

mellow kelp
# sudden geyser the web is boring!

ฬ“อ‡อ wองฬณอ€hฬฝฬซฬจaอŠอˆฬงtฬŠอ•อ ฬ“อ…ฬตdอ—ฬ™ฬจiอ—ฬ™ฬขdฬƒอ–อž ฬˆออŸyองฬคอŸoอจฬฏฬขuอฬงฬ• อŠฬŸอjฬƒฬŸฬ›uอจฬฎฬทsฬฝฬ˜ฬดtฬŠฬ—ฬก อฬนฬธsอชฬฏอกaอžอšฬกy

crimson vapor
#

whatever you wanna call it

cerulean ingot
#

what bot would you use/like more? server template bot, server maker bot, re-code my advanced suggestion bot, or make a guess the number bot

hollow sedge
#

None of those

sudden geyser
#

none of those really

hollow sedge
#

They all already exist

crimson vapor
lyric mountain
#

Make a role-playing gif api, I'd be forever grateful lul

#

Many people look for one

sudden geyser
#

Discord already has templates, your suggestions bot is yours, guessing numbers is easy

lyric mountain
cerulean ingot
#

they all do?!

lyric mountain
#

Weeb stuff

crimson vapor
#

oh

cerulean ingot
#

damn that sucks

crimson vapor
#

fucking weeb shit

mellow kelp
#

yes

#

weeb gang rise

crimson vapor
#

nah

sudden geyser
#

it isn't a bot if it doesn't have a userinfo serverinfo and basic action commands

crimson vapor
#

no weebs here

#

bad

mellow kelp
#

im actually vibin to konosuba ost rn

crimson vapor
#

wow

#

weeb

sudden geyser
#

Listen to the Made in Abyss soundtrack

#

infinitely better

hollow sedge
lyric mountain
#

Nah, crossing fields all the way

mellow kelp
#

pog

sudden geyser
#

You need to โœจ think different โœจ

cerulean ingot
lyric mountain
#

(choir plays in the background)

lyric mountain
#

Like, try to make a modular bot

mellow kelp
#

how about a simple bot maker

#

like an electron app or something

hollow sedge
#

No bot makers :(

cerulean ingot
#

wdym

mellow kelp
#

dang

#

y?

lyric mountain
#

No, I mean, make a bot that allows server owners to create modules/commands

#

Then enable them only to that server

hollow sedge
#

People just spam out bots that suck

mellow kelp
#

yea true

earnest phoenix
#

me looking at chat for source codes (/j, i know there wont be one)

mellow kelp
#

looks menacingly at botghost

cerulean ingot
#

create modules?

hollow sedge
#

Lol

cerulean ingot
#

wdym

lyric mountain
#

Like

#

Make a barebones bot

#

With a single command

#

A command to create a custom-written command

#

Then save such command exclusively to that server

#

Literally a DIY bot

cerulean ingot
#

what if they cant code

lyric mountain
#

Although you'd need to make it easy af

lyric mountain
#

Idk, like, make it as straightforward as possible

cerulean ingot
#

hmm idk

lyric mountain
#

With handrails everywhere

crimson vapor
#

password changing works

cerulean ingot
#

any other ideas?

#

what?

lyric mountain
#

Wut

#

password changing works

twilit geode
#

are their ways to add objects to json things

cerulean ingot
#

fuck

crimson vapor
#

password

lyric mountain
#

Hey hey hey

cerulean ingot
#

ok yeah

twilit geode
#

or do I just need to make a class

cerulean ingot
#

self bot

crimson vapor
#

word

#

ass

cerulean ingot
#

fuck

#

shit

#

self bot

crimson vapor
#

@earnest phoenix

mellow kelp
#

bruh

lyric mountain
#

@ember atlas selfbot here

crimson vapor
#

discord js go brrrrr

cerulean ingot
#

ew

twilit geode
#

boss is ofline

distant bramble
#

Lol

cerulean ingot
#

python go brrrrrrr

ember atlas
#

where at

twilit geode
#

err dnd

cerulean ingot
#

look

#

fuck

#

fuck

ember atlas
#

dick

lyric mountain
ember atlas
#

fuck

twilit geode
#

that

#

lol

cerulean ingot
#

pussy

hollow sedge
#

Lol

mellow kelp
#

bruh a self bot

crimson vapor
#

ass

cerulean ingot
#

ass

lyric mountain
#

E X P O S E D . E X E

ember atlas
twilit geode
#

eat my succulent ass

crimson vapor
#

delete their bot

cerulean ingot
#

yay

twilit geode
#

yay

lyric mountain
cerulean ingot
#

idk what to make for my bot

crimson vapor
#

shit my bad

cerulean ingot
#

that diy bot

#

idk

crimson vapor
twilit geode
#

so is there a way to add objects to json... things...

ember atlas
#

Ok and back to development chats only

cerulean ingot
#

ive thought of a lot but its all used apparently

crimson vapor
#

you can add an object to json

lyric mountain
twilit geode
#

like i could have emote.id and emote.escaped

#

at the same time

crimson vapor
#

yea

lyric mountain
#

And would maybe teach people programming logic basics

crimson vapor
#

lol

twilit geode
#

an example would be wonderful

crimson vapor
#

programing logic is literally fucking if then else

#

like how hard is it

hollow sedge
#

It's hard when you start

crimson vapor
#

not really

#

the docs are the hardest KEKW

hollow sedge
#

Ok genius

lyric mountain
cerulean ingot
#

cus u code in js lol

crimson vapor
#

hmmm

#

js good

#

js easy

cerulean ingot
#

not imo

crimson vapor
#

js poggers

twilit geode
#

j is better

crimson vapor
#

what lang you use? py?

mellow kelp
#

ts for scaling

twilit geode
#

butttt

#

yk

cerulean ingot
#

python

crimson vapor
#

what the fuck is py

#

like

#

whitespace

#

ewwww

lyric mountain
#

About the diy bot, you'd need to create a custom lang

cerulean ingot
#

yeah

lyric mountain
#

Maybe something really abstract

cerulean ingot
#

that would be cool

lyric mountain
#

Like scratch

cerulean ingot
#

but i cant make a website for it bc idk how to

mellow kelp
#

the big three boys

#

html

#

css

#

js

hollow sedge
#

html
sass
js

cerulean ingot
#
@bot.command()
async def pythonisbetter(ctx):
    await ctx.send("python go brrr")```
lyric mountain
#

I don't mean an actual scratch

crimson vapor
#

its nice doing my code all in the same languages

mellow kelp
#

html

#

sass

#

jsx

#

angular

lyric mountain
#

Maybe some instruction-based coding

mellow kelp
#

ts

#

react

#

vue

hollow sedge
#

Ok but why html

#

react
node js

mellow kelp
#

why not

crimson vapor
#
function fuckWhitespace() { return "Fuck whitespace, all my homies use single lines of code." }; fuckWhitespace()```
sudden geyser
#

liar

#

you have whitespace in there

crimson vapor
#

spaces !== whitespace

lyric mountain
#

Actually, he meant line break

sudden geyser
#

pretty sure they're still whitespace

#

yes kuu

mellow kelp
#
function fuckWhitespace(){return'Fuck_whitespace,_all_my_homies_use_single_lines_of_code.'};fuckWhitespace();
crimson vapor
#

when I mean whitespace I mean required tabs and spaces

mellow kelp
#

whitespace is also

crimson vapor
#

yeah but thats required for every sintax

mellow kelp
#

why do you think regex uses \s as any whitespace

#

minified code gang

lyric mountain
mellow kelp
#

bruh imagine coding in minified

crimson vapor
#

brb I smell food

sudden geyser
#

This is power! js fuckwhitespace=()=>"fuckwhitespace,allmyhomiesusesinglelinesofcode.";fuckwhitespace()

mellow kelp
#

haha es6 go brr

lyric mountain
sudden geyser
#

if it can fit in your mouth

cerulean ingot
#

im not going to do the diy bot

#

i would have to make a command to exc code too

lyric mountain
#

Idk then, that's the only unique thing I've not seem here on disc

hollow sedge
#

you dont need a command to execute code

#

you could just import modules

cerulean ingot
#

idk

#

im going to think of another idea sorry

#

but thank you

hollow sedge
#

yeah i dont think thats really a good idea anyway

cerulean ingot
#

^^