#development
1 messages · Page 162 of 1
send it again for good measure
Uh so
I was trying to get this bot set up in my server
https://top.gg/bot/683004822202351927
But every time I tried
It failed
Says the application owner has to step in
And I have no idea how to approach them.
That usually means the application owner needs to verify their bot for it to be available to more servers
You can’t do anything
Visit the support server to get an invite for the bot, read documentation and get support!
Or if it says that then yeah
Except that I don't know where to find it?
Right side of the page
unfortunately html is mostly meant for making a website. i'd be impressed if someone manages to somehow make one with html
You quite literally can’t…
says who
i know. that's why i'd be impressed if someone manages to do it
what tips do u guys have for a computer engineering class
oh good god
?
ignore the class and learn stuff by yourself on google and youtube
i wouldn't recommend computer enginerring
so why not take
free?
In my sixth year which is equal to senior I just had scratch and basic python in a class called “programming”
will they do javascript
since i already know quite a bit about it i think i’d be easy tbh
you're not really going to be working with javascript unless you're in computer science
very likely to be, that's one of the tools they use to teach basic code flow
also pseudocode
and yeah, you wont be coding in computer engineering, that's for computer science
I mean, you will be coding, just not with usual languages
CS classes teach you how to learn, the actual learning is done through sideprojects and self-study
iirc from the computer engineering class provided at my high school (i didn't take it), it mostly tackles c+ or c++
CE starts with c usually and keep going down till u start working with logic gates directly
then it enters the hardware part of computing
ok
c+?
xD
lel
That’s what my highschool computer engineering class offered
im sorry whaaaa
the all powerful holyC
language used by the pope
W high school
bruh
the. what do u do
you do computer science
u do hardware
hardware bruh
and low-level shenanigans
^
well, no, but you learn how they work
and learn how to make chips and boards
depends what you consider "program"
you do program hardware, just not with regular languages
my school doesn’t offer computer science classes
what languages
assembly
Depends entirely on the school
Ah yes, assembly, used by the egyptions
and will be used till the end of the time
It’s what computer engineering uses
why
javascript looks simpler
are you saying i’m going to be programming in 1 and 0s
bruh
it looks because it is, that's what a high-level language is
lmao
no
do high schools offer computer science classes
you see e0c, hardware requires minimal languages
u can use C most of the time, but some things will require finetuning, with asm
answer
funny that you asked "who", and not "what"
back to the topic, with hardware you cant afford sugary languages
lol
i don’t wanna program in assembly
i wanted to program in javascript
since i already know it it would beeasy
🙁
then go do online courses
100% you say
yes
javascript is like photoshop, you know how do use it and how to build things with it, but you have no idea how it works under the hood because all the complicated formulas and algorithms are already done for you
Fortran is ancient ;)
why do i need to know that
so, what is this line doing: let val = (5 / 2) | 0
its doing math 
funny that I learned that thing not so long ago
You already know hes talking out his ass
thats what computer science and computer engineering teach you, both of then look at how things work under the hood, computer engineering looking much deeper under the hood
bro that is math
I doubt even tim could say he knows js 100%
yes, but what is the | 0 doing there?
and what will be the output
if I do console.log(val)
hint its a bitwise or (Ithink)
yeah, theres penty of stuff in js ive never used before
bro idk
then it ain't 100%
Then don’t take computer engineering
lmao
it'll output 2
that's javascript
thats not even math related issue
You do not know 100% javascript
test me right now
Nobody knows everything about javascript
i will get it correct this time
they just did
the | 0 operation downcasts the value to integer, aka fast flooring
💀
ask me another javascript question
back to overconfidence
lmao
Take the linkedin javascript skill assessment
so why was battleless unmuted again?
Tell me if you pass
yeah cus i think i already know all of javascript
I thought we learned from the first time
bias moderators
That’s just a basic test as well
no I think they should of kept you muted 💀
what does var do?
cus my mute time was over
???
why my mute time was finished
Idk
it would of been better for everyone
knew it was e0c, anyway about the question
what does ("b" + "a" + + "a" + "a") return?
im not e0c
lmao that one is classic
baaaaaaaaaaaaaaa
nope
????? ❓
wrong
banana
well
baNaNa
it returns baNaNa
bru
its cause of the empty value when adding
because ++ cannot increment a string
ok
i see
definitely didn't use google inspect element
that makes sense

it resolves to + (+"a")
no it doesn't, it should error
but that’s a trickery question
but js doesn't error
Ask chatGPT how many ns are in banana
when will that actually be useful
what does var do?
what const does
no
assign variable
it proves you understand JS's unique type coercion rules
😭
that's a VERY important thing to know, and bare js basics
😐
the whole reason let exists
Ima be honest I never learned js properly either, but at least I am wanting to learn

yes
I did
💀
oh ok
Literally how I learned js was making a discord bot
ok what level am i at javascript
Didn't know shit
2
0
0 ❓❓❓
and im being generous
you see, it's impossible to know 100% of a language
Tim is probably the closest we have to a 10 here ngl
I mean, voltrex IS js
He literally works on it
Well that’s cheating because he makes the language
how am i a 0

bruh i am at least a 5
Bruh
Fair enough lol
you haven't even learned half of what js is
What defines knowing a percentage of a language?
now you just need to become a script kiddy
Let me dim it down to your level. It’s like how if you try to know every word that exists, you won’t find an end
There isn’t a way to define it
Ah shit I was late
hard to give any percentages for what the 3 represent
Please 💀
❓
you're the level before initiate /s
…
Are you trying to test me or are you trying to stoop me to your level
but i am entirely js
you can think about like wood, in order ti build thinga with wood, you need to know a lot about it, its types, properties, ways to work on it and protect it from issues, the more you know about wood the better stuff you can make with it, but there is a LOT of wood all over the world, you will likely never know everything about it
no other languages
wood
ok
Bro you aren’t gonna get anywhere if you don’t know any other languages
🪵
they’re too hard
Think like water 
someone get that reference
when you think you know all the woods but then you mahogany
i tried lua but couldn’t understand it
and suddenly you have a murder scene in your office
Start learning the basic commonly used languages
Erm that’s not what I’m talking about
No you don’t have to do 8 programming languages, go with the top 4
can i just go to rust
No
Well actually sure
You CAN
But should you? No
You don’t understand anything about memory semantics
One message removed from a suspended account.
One message removed from a suspended account.
Hi
also rust looks nothing like c-like languages
One message removed from a suspended account.
what are memory semantics
One message removed from a suspended account.
One message removed from a suspended account.
Precisely
Why did I see that coming
One message removed from a suspended account.
also ironic for you to appear here JUST as waffle mentions rust
rust c:
One message removed from a suspended account.
My beloved
One message removed from a suspended account.
yes lul
One message removed from a suspended account.
yet
I’m going to another channel before I have an anuerysm
One message removed from a suspended account.
No
nah, just the return of him
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
Java
One message removed from a suspended account.
Java also has more use cases in enterprise level work tbh, it’s more popular
One message removed from a suspended account.
is javascript or java more useful
One message removed from a suspended account.
One message removed from a suspended account.
both are interchangeable (c# <-> java)
That’s all up to how you use it
One message removed from a suspended account.
i am making a website right now
it’s so cool
One message removed from a suspended account.
Oh no
i am using chakra ui it’s a life saver
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
The chances of you sticking to anything is pretty low because you have absolutely 0 patience and the attention span of a tiktok addict
as long as u remember java isn't as lenient as js
One message removed from a suspended account.
why do you guys act like i am not a good javascript programmer
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
because if i say that it’s not what i’m looking for
One message removed from a suspended account.
no
i don’t want to have a big argue with you i will be banned
so let’s live in peace
🌸🌺🪷
refrain from using bruh and no then
so, you wanted to learn java, what editor do you plan to use to begin with
im not allowed to say no????
What I find golden is him asking for help then arguing with the people trying to help him

visual studio code
not as the only word in the message
One message removed from a suspended account.
wrong, vscode is terrible for java
that’s not true
ok bud, not arguing with ya
start by downloading intellij community edition
just stating facts
if im arguing it’s for a reason i don’t try to argue for no reason
then install java 17
i defend myself
doesn’t that cost@money?
which can be done from inside intellij
the ultimate edition yes
community is free
wait don’t i get it for free if i’m a student
sure
you do, but you wouldn't know what to do with the extra features
One message removed from a suspended account.
Not entirely, sometimes if it’s student it can be offered for free but check with the school to make sure they didn’t already pay for it
well
java and js are nothing alike
i have webstorm already for free
only thing you'll use from javascript into java is the remotely similar syntax
One message removed from a suspended account.
the javascript version
even that seems like a stretch 
webstorm doesn't include java support
You use intellij IDEA as the preferred IDE
going from a interpreted language to a typed language is going to be whats confusing for him
but so can i get the java version for free with student?
Although eclipse is “viable” according to 77 year old ancient programmers
Bro just use replit
replit???
You can
ok
I fucking hated every second of it
One message removed from a suspended account.
lmao
One message removed from a suspended account.
intellij will be the de-facto ide for coding, the drawback is that you'll feel heavy withdrawal symptoms should you be required to use something else
It’s easier for him
No
right @wheat mesa 
Probably
Yes
Exactly
ok guys
One message removed from a suspended account.
Long time
Depends on how much you want to learn
how long
With your skill level, probably 20 years
proficiency
to the level of haku years
Or longer
hm depends, about 3 weeks to grasp the fundamentals
but then the line goes exponential
do i know the fundamentals of javascript
Well, my class did 1 hour a day for the entire school year (180 days) in my AP comp sci class, we went through the basics
I think the most “advanced” data structure we did was array lists
bruh arrays
Not arrays
that’s easy no?
what’s the difference
not at all what you are thinking
funny that arraylists are easier to use than plain arrays
yep
ArrayLists are dynamically sized
ArrayLists is like a dynamically sized array?
Basically what you’re used to in Javascript arrays
TreeList is particularly my favorite if I'm dealing with fast insertions
i already know javascript arrays
they're different
Doesn’t mean that the whole language is the same
like, u cant do someVar[-1]
You can’t just jump straight to that
cuz IndexOutOfBoundsException
ok
In fact you can’t even index an arraylist because there’s no operator overloading
naaah
Nobody
that would be a pass
I can help, but with text
what is battleless
❓
and only after you've at least tried
^^^ same
why can’t you guys help in vc
Because you’re insufferable I’m sorry but it’s true
One message removed from a suspended account.
And I’m busy
One message removed from a suspended account.
One message removed from a suspended account.
Bro it’s not easy to teach JavaScript to you via vc
Java
voice is easier to learn and help
in my case it's cuz I'm neither a native speaker nor have the willingness to teach something in vc
not JavaScript
text is harder
Shut
but you seem proficient in english
Ok there’s something so simple you can use
just do it with text ffs
Or just learn it yourself like a normal person
It’s called codeacademy or chatGPT, if you don’t understand that then no one can help
text is harder
It’s really not
console.log(“hello world”)
That’s not correct in Java
what’s console log in java
Okay I was going to post something but auto mod might get mad cause of how big it is

System.out.println()
“This is too hard”
System.out.println(“hello world”)
Its crazy if he says that to printing to output
I don’t know if I can sit here anymore i’m going back to a different channel
One message removed from a suspended account.
is that right
That’s not the full program
One message removed from a suspended account.
Wait until he sees C++ 
One message removed from a suspended account.
That will error by itself
One message removed from a suspended account.
you can leave if you want
One message removed from a suspended account.
or block me so you don’t see the messages
No
System is the class containing runtime-related stuff
out is the console output
println is the print operation (with linebreak)
My only source of entertainment is here
ChatGPT actually just gave some good advice to self teaching yourself a language
because where would u print it?
public class Main {
public static void main(String[] args) {
System.out.println("hello world");
}
}
idk, maybe another console, or a file, or a network request, whatever
java is strict
you can’t just do the print code and run?
you need to put the tittles in the I's
One message removed from a suspended account.
One message removed from a suspended account.
Java is quite literally OOP no?
well, u technically can now in java 21
One message removed from a suspended account.
Every Java file must have a public item of some sort as of right now
One message removed from a suspended account.
One message removed from a suspended account.
can do that in java 21 too
and i dropout do i get my money back
One message removed from a suspended account.
One message removed from a suspended account.
😐
You usually pay each semester
One message removed from a suspended account.
One message removed from a suspended account.
Where they’ll cover you a bit
what’s a good job that’s easy
McDonalds worker
nothing
One message removed from a suspended account.
i need a livable wage
One message removed from a suspended account.
tbh
One message removed from a suspended account.
Ah yes your dreams are to aspire to be “livable”
i think it’d be easier to just live in a car
One message removed from a suspended account.
One message removed from a suspended account.
yeah i want to live
inb4 your car is broken into, stolen and now you are on the streets
and watch youtube
Please go to the military. It’s easier to learn the hard way
One message removed from a suspended account.
i don’t wanna not watch youtube or have phones
One message removed from a suspended account.
aren't u forced to go there at 18?
One message removed from a suspended account.
or is it just brazil?
No?
no ?
One message removed from a suspended account.
Tf?
just brazil then
yea just brazil
One message removed from a suspended account.
lol
but in the military he can't be on his phone 24/7 🥺
^
when u complete 18yo u need to go to military for a year
i need my phone
tho u can be dismissed if u live in small enough cities
I think you mean the selective service draft which is only selecting eligible members for the military in case of a war at 18
Thats not just brazil
or have any physical condition
some other countries do it too
Now if you are drafted in the US you kinda HAVE to
One message removed from a suspended account.
sorry i like my country but not that much
Then go cyber 💀
Unless you come up with some wacky way of getting out of it
nothing a stair cant solve
One message removed from a suspended account.
Yes cause the military is just about fighting on the front lines
well yeah
not legal ways
This aint 1937 anymore bud
if world war 3 happens i would have to go
There's other fields in the military
One message removed from a suspended account.
No
If world war 3 happeend you wouldn't be the only one
One message removed from a suspended account.
so what’s a good career option
You are talking to strangers right now
That’s not how it works. The selective service draft ONLY selects members in case soldiers are desperately needed
IT area is a good option, ofc u need to be willing to learn
One message removed from a suspended account.
forever
One message removed from a suspended account.
One message removed from a suspended account.
lmao
Which he is not by the sounds of it
One message removed from a suspended account.
Even printing to the console was too hard for him
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
Bro please go 17C, you can learn advanced programming if the drill sergeants can stand you
IT is something you REALLY need to have a passion for
if you fuck up, you can really fuck up
some years, a college, and a lot of google searches
One message removed from a suspended account.
maybe a portfolio or 2
One message removed from a suspended account.
by far the most common and easiest approach for you
Highly questionable
I mean if he doesn't want to put in effort into anything else, thats the way to go
Web dev is less about programming knowledge and more about design skills
or find another profession unrelated to programming
Just because programming is popular doesn't mean you gotta do it
One message removed from a suspended account.
which is WHY I hate it
One message removed from a suspended account.
Same, I suck at design
Same here
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
Yo
One message removed from a suspended account.
do you just constantly have it in japanese that looks japanese
One message removed from a suspended account.
One message removed from a suspended account.
Thats one way to learn
One message removed from a suspended account.
some milestones for u @earnest phoenix, if u didn't give up already:
- hello world
- arrays
- java collections (List, Set and Map)
- generics
- calculator (terminal)
- swing
- calculator (swing)
- threads
- syncronization
- snake (swing)
by the end of this you already know the basics of java
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
700 messages what happened here in 4 hours
One message removed from a suspended account.
well not old lib, it's the official std lib for gui
One message removed from a suspended account.
One message removed from a suspended account.
Been aroun since java was invented
One message removed from a suspended account.
I mean, it is but been updated since it was introduced
ofc it's still unnecessarily complicated
One message removed from a suspended account.
especially tables
One message removed from a suspended account.
I swear swing was the one with the most outdated docs ever tho
but it's somewhat usable for simple learning projects
plus if u ever hit a java position job u need to know it
I might start going at C++ again now that im out of school and have more time
One message removed from a suspended account.
india is the backbone of the world
One message removed from a suspended account.
who is battleless
haven’t seen them here
in order?
yes
what do they do?
ok
it
depends on where u land
?
sysadmin deals with databases, maintanance ends in maintaining computers and printers, programmers end in programming
well, u asked for a good paying job
and i don’t have the intelligence to complete a computer science source
for 4 years
too much
the less people willing to work at something, the higher the pay
Become an Eletrician its difficult but hey, the more dangerous the job the better the pay

If you want good pay you need to fill in niche positions
idk, carpenter
He might nail his hand instead of the board
Even it doesnt pay as much anymore unless you have really specific skills
Bro even wants his money on a silver platter 💀
Sounds like you just want an easy life, which is not possible
if living good without working 80 h/w was easy, nobody would be working
If you want good pay you need to work hard and do it good
Honestly why are you guys even still entertaining him
Its like 4 months ago all over again

well i don’t want to work two full time jobs
then dont
i want to work the average 40 hours a week
One message removed from a suspended account.
im just asking for advice bruh
idk what i wanna do lol
Bro then become a windmill service technician
maybe the military is best for me
IT works 56 h/week
That is high paying
at least around here
Then go welding underwater
One message removed from a suspended account.
full time is 40 hours a week
It pays a shit ton and u only need to work like 10 days a month
Oil rig is best
oh wait, I miscalced
One message removed from a suspended account.
GITHUB_SHA = ${{ github.sha }}
GITHUB_RUN_ATTEMPT = ${{ github.run.attempt }}?
It’s just rlly difficult and crazy
it's actually 40 h/week
Wtf
fr?
is it easy
?
8 hours per day, 5 days per week
yea that’s 40
I calculated 7 days
ok guys i decided
other areas around here work saturdays too
imma be a mcdonald’s manager
💀
you'd break in 3 days
🤣
just joking probably like military or construction
UPS driver
No it’s hard and you need to go underwater in the ocean in crazy tides with like 20kg of tools
Construction requires math
But it pays a crazy ton with not much work
not really it depends what your doing
a lot of positions don’t require advance math
and you get to see little sharkies :D
I feel like battleless might be a little spoiled and now thinks everything just comes to you without working for it
Spoiled maybe but I’m thinking just sheltered as fuck
Or undereducated
The latter
not even that, being a manager in a restaurant is perhaps the worst possible position to be in
you need serious mental strength not to break under daily consumer pressure
I can tell you confidently don’t be a manager for Whataburger
Most managers can’t properly manage that place
One message removed from a suspended account.
One message removed from a suspended account.
X)
just remember: customer is always right
yeah you'd break in less than 3 days
just remember: customer is never right
never?
No no, you ask people to fix for you
no
^
Work a retail job
that's even worse for someone like them
That’ll make you realize that 45% of customers are just idiots 😭
One message removed from a suspended account.
One message removed from a suspended account.
ok
i think i'm the smart customer tbh
One message removed from a suspended account.
One message removed from a suspended account.
r/iamverysmart material
:/
🙂
in my opinion that statement is false
confidently incorrect
this chat is entertaining again :^)
myes
🍿
a model interfering with its training data?
well makes sense at high temperature levels
One message removed from a suspended account.
One message removed from a suspended account.
nah its an openai response
One message removed from a suspended account.
Hey, where is a good place I can learn type script. Google takes me all over the place
One message removed from a suspended account.
One message removed from a suspended account.
Thank you
I can confirm, you are wrong. It’s 95% not 45%
The number of customers that do stupid shit amazes me
I’ve seen customers look me in the eyes and just leave a frozen item on the shelf

a wait
Why do you want just 1
php flavor
if that is the case then only grab the number 1 why use regex
nw
Im having trouble setting a webhook address on the topgg website.
can someone help me? My bot is listed on a cloud hosting service.
Ive updated the port fowarding and im still not receiving any data from top.gg
i tested the code on a temporary webservice to make sure everything works as inteded.
this cant be used on my production version because the url changes every time its launched.
im certain the problem is the webhook address im using
wdym "the url changes every time it's launched"?
if u dont have a fixed address u cant use the webhook
or any webhook at all
this is why i cant use the test environment i was using. my production version has a static address. but its wrong somehow. im not getting any data from topgg
This condition will always return 'false' since the types 'T' and 'string' have no overlap.
157 fit === "materials" ? `${emojis.materials[item as string] ? emojis.materials[item as string] + " " : ""}${toTitleCase(item as string)}`
private async removeItem<T = "materials" | "consumables" | "arsenal" | "tools">(
profile: profile,
cmd: SlashCommand,
fit: T,
item: ItemType<T>,
amount: number
) {
let item = fit === "materials" ? ...
}
How would this always turn false?
wouldn't fit be either materials, consumables, arsenal or tools?
Guess I'll just cast fit to be string but if you have cleaner solutions please tell me
superset
i'd recommend you either
declare fit variable to be of "materials" | "consumables" | "arsenal" | "tools" type
or use extends instead of = for T type parameter in removeItem
i'd recommend casting from string to "materials" | "consumables" | "arsenal" | "tools"
I used extend like you said
and now it works and I dont need to cast to unknown and then to string
ty
btw is the type guaranteed to be that?
if so you can declare explicitly that
so you don't have to cast later down the run
yeah
it can't be anything else than these 4
and how exactly would I do that? I haven't rlly done much with generics yet
are them guild commands or global?
what?
im sry but i didnt understand

