#ot0-no-stealth-portals-please

3246 messages · Page 21 of 4

short oyster
#
  • high energy song, the rest of his shit varies a looot (Right Now - Jasiah)
  • Waterparks is weird high energy shit but good shit, lead singer is whiny though
  • yonaka
  • MGK's Ticket to my Downfall album
  • DREAMERS
  • The Wrecks
  • Circa Waves
  • Mother Falcon <-- gooood shit right here
  • grandson
  • Junebug - Fencer
pale mesa
#

so vers? i see 👀

serene dagger
#

well now i want one of those hard candy thingies that came in a 3 pocket bag filled with sour powder candy u dip them in

visual helm
#

My neighbors are queer, I have woken up to them having sex, and I freak out cuz I don't want to be a perv so I run and put music on, lol

pale mesa
#

honestly, if i wake up to anyone having sex, i will probably run

visual helm
#

haha it is really weird

lofty cypress
#

Just cheer for whoever's on top

ruby trellis
pale mesa
#

ah make it weirder i see

visual helm
#

well I don't know if I am allowed to say this but since they are Lesbians, I am not sure who'd be on top

ruby trellis
#

either one of them.

#

could be both, who knows.

pale mesa
#

is this convo pg13 or nc16

ruby trellis
#

yes

visual helm
#

They also smoke a lot of weed and I am pretty sure I have a constant contact high

lofty cypress
#

They'd probably stop if you make it weirder

deep heath
deep heath
ruby trellis
#

as long as the mods are not here everything is A-ok

deep heath
ruby trellis
#

it is not illegal unless they catch you.

visual helm
#

did anyone see that fucknut the other day impersonating lemon over and over again?

ruby trellis
#

yeah why

visual helm
#

someone said we should change topics, I thought it was a funny anecdote

dusty aspen
#

Someone impersonated joe too

ruby trellis
#

i am joe

visual helm
#

since bans are IP based they must have been using proxies or a vpn or something, a lot of trouble just to troll

sick olive
ruby trellis
#

i want a capri sun

visual helm
#

damn, forgot about them

deep heath
#

I don't know how much talking about sex stuff in general way is pg13. age of consent varies in different countries, so educational stuff should be okay... in theory. but a lot of adults in power claim that any talk about sex is sexual... <looks at own gov and lobbyists against sex ed>

ruby trellis
#

good because i actually have never tasted one.

pale mesa
#

wait discord allow ip bans??

ocean walrus
#

Hi :D

ruby trellis
#

yeah but the server owners do not enforce the IP ban. Discord does.

visual helm
#

@pale mesa I believe so?

sick olive
#

IIRC, someone said bans are IP-based

ruby trellis
ocean walrus
#

Why what's happening

ruby trellis
#

welcome to Python server sex ed

sick olive
ocean walrus
#

Oh

#

Lmfao

dusty aspen
visual helm
#

okay who stood in front of a mirror and said "Rust" three times?

dusty aspen
ruby trellis
#
#include <ncurses.h>

void draw_circle(WINDOW* screen, int y, int x) {

}

int main() {
    int x_rad = 5;
    int y_rad = 5;

    WINDOW* stdscr = initscr();
    noecho();
    nocbreak();
    clear();

    wborder(stdscr, 0, 0, 0, 0, 0, 0, 0, 0);
    wprintw(stdscr, "%i, %i\n", LINES / 2, COLS / 2);
    draw_circle(stdscr, LINES / 2, COLS / 2);


    getch();

    endwin();
}
#

i am drawing circles in THE SAND

lofty cypress
#

Imagine using ncurses and not curses

dusty aspen
ruby trellis
#

listen. i am a professional.

ocean walrus
#

Are you though

visual helm
#

imma run that

ruby trellis
#

i like to think i am.

ocean walrus
#

OK

sick olive
visual helm
#

will that function run stand alone or is there more code

ruby trellis
#

just that.

#

i want to make it squish and expand

#

by hitting h j k and l

jade wedge
# dusty aspen

what if i want only acc ban if there are many people sharing one ip

ocean walrus
lofty cypress
#

int main but no explicit return

#

What kind of professional are you

dusty aspen
ruby trellis
#

like i said, i am professional.

ocean walrus
#

Imagine returning

visual helm
#

@ruby trellis use godot?

dusty aspen
#

Or you make a bot kick a "banned" user whenever they enter

ruby trellis
#

nope, only game engine i have ever touched is Roblox Studio.

ocean walrus
#

int main(void)

ruby trellis
#

PROFESSIONAL. ahem.

serene dagger
lofty cypress
#

Maybe you should reconsider this whole C proselytism thing

ruby trellis
#

fuck ANSI C all my homies use K&R C.

ocean walrus
#

I like the pointer operator on the variable name

visual helm
#

man this one job i worked, we got so much roblox fraud

ruby trellis
visual helm
#

that is the only reason I heard of it

lofty cypress
#

C preaching, better?

dusty aspen
#

Does anyone actually use EXIT_SUCCESS and EXIT_FAILURE from stdlib.h?

ocean walrus
#

foo *bar = whee

ruby trellis
#

i do ^^

#

sometimes

dusty aspen
#

okay

ruby trellis
jade wedge
# dusty aspen you don't 🤷‍♂️

there are so many people on a same ip like in a family a girl wants to join she was not banned but her brother was banned wond't an ip ban result a his sister cannot join the server

ocean walrus
#

When the mood strikes

ruby trellis
lofty cypress
#

NICE

visual helm
#

yeah but I didn't work for them, I worked for a webhost and ppl would always try n register phishing domains for roblox

ruby trellis
#

hey hey hey
all i said was that C is epic, not that i was good at it. 🥴

lofty cypress
#

Fair

ruby trellis
#

ugh, those people need to touch some fucking grass.

ocean walrus
#

Imagine not being good at every language in existence

visual helm
#

I am good at English

ocean walrus
#

Are you though

lofty cypress
ocean walrus
#

For all you know your speaking French

jade wedge
#

true

ocean walrus
visual helm
#

nyet comrade

ocean walrus
#

Oui

serene dagger
#

im randomly banned from shit cuz dynamic ip, weeeeeeh

visual helm
#

@serene dagger sounds like a range ban, they ususall expire

ocean walrus
#

I know one word in Japanese

ruby trellis
#

aaaaa fucking christ Vector magnitude.

visual helm
#

konichiwa?

jade wedge
ruby trellis
#

kawaii

ocean walrus
visual helm
#

:p

ruby trellis
#

sugoi

ocean walrus
#

Arrigato

lofty cypress
#

Baka

ruby trellis
#

i am japanese so i know all the words.

ocean walrus
visual helm
#

domo arrigato mr roboto

ocean walrus
#

Si

ruby trellis
#

joking i am Spanish, which is only half as cool.

serene dagger
deep heath
ocean walrus
ruby trellis
#

what the fuck does that mean

ocean walrus
#

Question

visual helm
#

we have lotsa Spanish in the US

ocean walrus
#

Nadar

ruby trellis
ocean walrus
#

Owehapsn

visual helm
#

comb yo beard, I don't wanna hear that

ruby trellis
visual helm
#

joe can

serene dagger
visual helm
#

wow you can post lotsa stuff in here compared to some other channels

ruby trellis
#

yeah arrays are cool but hashtables are even cooler.,

deep heath
#

I think there's one Polish word that everyone (who played some multiplayer games, at least?) understands

visual helm
#

@deep heath I know one or two but couldn't spell them

ocean walrus
#

hashmap sounds better

serene dagger
#

i am a disappointment 😎

ocean walrus
#

imagine calling it hashtable

#

amateurs

ruby trellis
#

alright hashmap user

#

hashtable is a lot cooler to say.

ocean walrus
#

hashmap superiority

deep heath
ocean walrus
neat sparrow
#

hashtable sounds so british

visual helm
#

@serene dagger You sure are son, when are you going to be more like your brother

ruby trellis
#

sounds like a YOU PROBLEM.

lofty cypress
median swallowBOT
#

associative awway

visual helm
#

'couldva'

ocean walrus
#

hashmap

dusty aspen
#

hashmap is better fight me

ocean walrus
#

array of buckets

deep heath
ocean walrus
#

array o' buckets

ocean walrus
ruby trellis
#

how do you people like the sound of hashmap?

ocean walrus
#

it just sounds so smooth

ruby trellis
#

hashtable
table

hash

hashtable

ocean walrus
#

and professional

lofty cypress
#

map better

visual helm
#

sounds like a map to get high

ocean walrus
#

maphash

ruby trellis
#

i will have you know i am the most professional out there.

ocean walrus
#

lies

serene dagger
visual helm
#

😮

mortal hull
visual helm
#

alliteration

ruby trellis
#

change that to 'eh' and you are a true Canadian.

mortal hull
#

no, alliteration is at the start of the word

ruby trellis
#

hesh mehp

ocean walrus
sonic glacier
#

assonance aint it

mortal hull
#

that's assonance

visual helm
#

@mortal hull curse you and your knowledge

mortal hull
#

yeah

ocean walrus
#

too smart

ruby trellis
#

fuck hashmap and hashtable.
all my homies say heshmehp

ocean walrus
#

to be left alive

dusty aspen
ruby trellis
#

please do

mortal hull
#

associative array is bad

serene dagger
#

i like the dissociative a... wait a second i dont lemon_angrysad

cursive agate
#

Being a mod is annoying

#

and i am a harsh person

visual helm
#

porcupine case?

serene dagger
#

modding is boring but if you have your own religion its worth it 😎

ocean walrus
#

lmao

cursive agate
ocean walrus
#

that is indeed starcy

serene dagger
#

that is correct

ocean walrus
#

or is it

#

maybe starcy isnt starcy

cursive agate
#

wanna get married?

serene dagger
#

yes but not with you

ocean walrus
#

lmfao

cursive agate
#

sad

serene dagger
#

i mean i just want a wedding party tbh

ocean walrus
#

hm

serene dagger
#

weddings are fun

ocean walrus
#

perhaps

#

I've been to quite a few

serene dagger
#

yeah last time i wasnt able to get drunk so i need a refund, well i didnt pay but i want another wedding

ocean walrus
#

lmao

#

I've only been to traditional indian weddings

serene dagger
#

i only been to catholic weddings they're fine except when they do funny gender role things

ocean walrus
#

indian weddings are cool

#

theres good food

visual helm
#

i will eat all the food

mortal hull
#

it's played on a board so...

ocean walrus
#

lmao

limber scaffold
#

new trim what do we think

ocean walrus
#

pretty

#

now make your beard blonde too

dusty aspen
#

you look nice

ocean walrus
#

perhaps

limber scaffold
#

excellent idea

ocean walrus
#

my genius never disappoints

serene dagger
#

blonde beard pog

hollow holly
ocean walrus
#

omg

hollow holly
#

I wasn’t there though cause I was sick ;(

ocean walrus
#

where was my invite!!?!?

hollow holly
#

My brother went and bragged about it

dusty aspen
#

I've never been to a wedding 😔

hollow holly
hollow holly
ocean walrus
ocean walrus
hollow holly
#

Most of them are a bit boring

dusty aspen
#

yeah but like, it's still an experience

ocean walrus
#

I've mostly been to indian ones, its pretty lively

hollow holly
#

Anyone ever overthink something way too much

dusty aspen
#

yes definitely

hollow holly
#

There was this club in my school and the results come out in a while but I’ve been overthinking a lot about all the parts in my interview and how I might not get the position cause of it and just overthinking everything

#

Even though I gave the same advice to not worry about it to someone else

dusty aspen
#

that's normal

#

or at least, normal to a good amount of people

ocean walrus
hollow holly
# dusty aspen that's normal

My mind has pretty much fixated on it for the past few days and whenever I think about it I go in a rabbit hole of all the bad parts of it and then I tell myself to not worry about it then I worry about the next part, etc.

serene dagger
#

weddings are fun just skip the ceremony and go straight to the party

midnight forge
dusty aspen
hollow holly
#

Yeah it’s so weird

#

Like a cycle of everything that was bad in it that I’m failing to see the good

ocean walrus
#

wat

dusty aspen
#

that sounds like legalese almost

hollow holly
#

Unnecessarily verbose english, essentially

#

Used in law

#

“People were allowed to disagree from the general ideologies until their beliefs became public and people weren’t tolerant of it”

#

it says that homosexual people were allowed to deviate from what was considered normal (heterosexuality) until it was found out they were homosexual and then people weren’t tolerant of it in that context

hollow holly
#

Up to you to decide whether itd be a good claim

lone quest
#

why doesn't this find the highest and biggest number?

viral hull
#

People were tolerant of what others did or said in private, but stopped being tolerant if others did or said those things in public.

#

It's the "I don't care what people do in the privacy of their own bedroom, but I don't want my kids seeing two men kissing in the park" kind of "tolerance"

#

better than "I heard he's gay so let's murder him", worse than actual tolerance.

stone gyro
# lone quest https://www.toptal.com/developers/hastebin/kosapetiki.cpp

Your limits are wonky all over the place. This accesses scores[10], which is out of range:

  double scores [10];
  int big;
  int small;
  
  for (int i = 1; i <= 10; i++) {
    cout << "Score " << i << ": ";
    cin >> scores[i];    
  }

and then the next loop goes up to twenty. That's a lot of uninitialized memory you're accessing.

stone gyro
#

first loop is still wrong

lone quest
viral hull
#

you skip the first score (which is scores[0]) and access a score beyond the last score (the last one is scores[9], but you access scores[10])

stone gyro
#

For a scores[10] array, the valid indexes to access are 0 to 9 inclusive, not 1 to 10 inclusive.

dusty aspen
#

You're still doing the same thing

#

on line 5

viral hull
#

on line 11, you mean?

lone quest
viral hull
#

line 5 is fine, line 11 is wrong.

lone quest
viral hull
#

you need to start at 0 - so either i needs to start at 0, or i starts at 1 and you access the element at i-1 instead of at i

dusty aspen
viral hull
#

for (int i = 0; i <= 10; i++) { is wrong - that loop will fire 11 times, and try to read in 11 elements - but you only made space for 10.

stone gyro
#

The loop limits are fine now. line 25 isn't right, though. compare to 17

lone quest
#

fixed that now

#

small = scores[i]

stone gyro
#

yeah

#

also, now that I notice... your scores are doubles, but big and small are both ints. That isn't right. either they should all be ints or all doubles, depending on what the inputs are supposed to be

viral hull
#

you figure out big correctly now - as long as the largest number is larger than 0

#

if someone gives you 10 negative numbers, you'll incorrectly decide that big is 0

lone quest
#

so no invalid input

viral hull
#

so are negative numbers valid inputs?

lone quest
viral hull
#

ok. What are the valid inputs?

lone quest
viral hull
#

they must be greater than or equal to 0 - is there a maximum?

lone quest
#

less than 100 greater than 0

viral hull
#

got it.

lone quest
#

like inputting grades

viral hull
#

is this homework?

lone quest
#

yeah

#

is that not allowed?

#

sorry if it's against the rules, I won't do it again

viral hull
#

no, it's allowed - I'm trying to figure out the right type of help to give 🙂

#

you're not initializing small right now. So, your program likely doesn't figure out small correctly.

#

every time you check to see whether an element is smaller than small, you're hitting undefined behavior, because small has never been initialized.

lone quest
stone gyro
viral hull
#

right. if your scores are of type double, big and small need to be double, too.

viral hull
#

otherwise, if the biggest is, say, 90.3, you'll report 90

#

ok.

lone quest
#

so if I want to find the average of all scores, would I do the same thing and add them and divide by a count?

viral hull
#

then - you've made small start at 0. Run your program - does it work?

#

(it doesn't, but I want you to see why)

lone quest
viral hull
#

what does it say small is when it runs?

lone quest
#

because I made it 0

#

it should be small = scores[i]

viral hull
#

see if that fixes it.

lone quest
viral hull
#

you're starting with small initialized to 0, and on every iteration of the loop, you compare it to see if one of your inputs is smaller than small - which it never will be, because none of your inputs are ever smaller than 0

lone quest
#

so I don't initialize small

viral hull
#

you must initialize small. If you don't initialize it, then every comparison is indeterminate

lone quest
#

I initialize it later

#

not in the beginning

#

like this

#

wow that took awhile

viral hull
#

that'll work. if you're going to do it that way, you should do the same thing for big

#

instead of initializing it to 0, you can initialize it to scores[0]

lone quest
#

why isn't it = 0 in the beginning?

viral hull
#

for consistency - and because it makes the code work for any number. If you do that, it will work for all negative numbers as well, which is better

#

since you're not doing input validation, it's better to make the code work for every possible input

lone quest
viral hull
#

what you have isn't wrong, assuming all the numbers are in the valid range. But it would be easier to read and understand if you treat big and small to work the same way.

#

You'd remove double big = 0 and add double big = scores[0] after reading in the scores, before the first for loop

viral hull
#

compute the total, divide by the count

#

since you know there's exactly 10 scores, the average is the total divided by 10.

waxen narwhal
#

I got an interview for a data analyst position, I was wondering if that is any coding since I am a computer engineering student. Does anyone know? It seems like data analysis is mostly excel/making charts. ALso what python librarys are needed? I know Numpy is one

civic elk
#

i found this in a program i downloaded lmao

viral hull
civic elk
#

matplotlib too probably

lone quest
#

like out of the 10 inputs, I entered in 5 twice

viral hull
#

the inefficient way is nested loops - for every element, check if any element after it is equal to it. The efficient way, but with more up front work, is sorting it and then seeing if any element is equal to the next element.

lone quest
#

I can find if it's a duplicate value, just not which value

viral hull
#

you've added to count without ever initializing count

#

you're missing a count = 0

lone quest
#

alright, changed that

viral hull
#

and - what you're doing right now is finding if an element is a duplicate of the one immediately after it. If your inputs are:

1
0
1
0
1
0
1
0
1
0

then your program won't think there's any duplicates

lone quest
#

ohh

#

so do I use an if statement to check?

fathom yew
#

old Risen returns lemon_hyperpleased

sick olive
fathom yew
#

lol

#

see this @sick olive

sick olive
#

oh

fathom yew
#

yeah

#

I started rust btw

#

and also started PoP!_OS btw

#

but not Arch btw

#

xD

teal storm
#

yooooo my friend helped me make a parser !! ><

#
luthor :: String -> TokenStream

parse :: TokenStream -> AST

eval :: AST -> Integer
#

here's the grammar, it was very simple

stmt = "print" expr;
expr = term ( "+" term ) *;
term = litr ( "*" litr ) *;
stone gyro
#

luthor??

teal storm
#

fjknfds cuz it's the lexing function

#

and cuz lex is defined in haskell prelude so i had to chose something else to avoid name conflict

pliant canyon
stone gyro
#

lmao

pliant canyon
#

amazing

solid prawn
#

bruh

toxic jay
#

when, at 4am, the caffine kicks in

fathom yew
#

I have these partitions in my HDD (yes it's totally messed up), how can I combine the G ones and the Unallocated ones into.. um... groups.

#

Somewhat like this...
----F---- Unallocated ----G----

neat sparrow
#

by not using windows diskpart gui

#

use the cli version

#

which is diskpart

fathom yew
#

oh, what to do in that?

fathom yew
neat sparrow
#

yeah

fathom yew
#

ohk

neat sparrow
#

I forgot how to use it though so I just use tutorials

frozen narwhal
#

Hey guys, How can i see metadata ? A friend of mine had some messages printed in a private facebook group and then leaked, we don't know who leaked and we think that metadata could help us

neat sparrow
#

metadata of what exactly?

frozen narwhal
#

she sent the image for me, and i dowload it, idk if this causes some trouble

fathom yew
frozen narwhal
neat sparrow
#

"How to merge partition and unallocated using diskpart command"

frozen narwhal
#

because i already dowload some pdf-it was a balance sheet- online and could see the author of it,

neat sparrow
frozen narwhal
#

Can i make something with this ?

magic carbon
#

Should people break the computers

fathom yew
neat sparrow
#

no

fathom yew
#

yes!

neat sparrow
#

But if you break my computer it's gon' get wicked ni-

fathom yew
#

anyways, how can I see the path of any disk on windows? I mean like when installing linux it shows paths of each disk like /deb/sda etc

fathom yew
#

wot?

upper turret
#

how did you manage to even do that

fathom yew
#

no, I am asking of how to do that 😂

fathom yew
upper turret
#

no, the amount of partitions

fathom yew
pliant canyon
#

merge them

fathom yew
pliant canyon
#

right click an existing partition thats useful

#

and click expand or something

fathom yew
#

uh wait, I don't want to merge unallocated with G:

magic carbon
fathom yew
#

uh they aren't

magic carbon
#

Yeah

viral hull
fathom yew
#

I found out a way of fixing that mess. || I barely have any useful stuff in any of those disks, I'll backup the important things delete all of the disks in my HDD (because C drive is in my SSD) and then I'll make partitions of the unallocated space of the same size as I have now and it'll be cleaner than what it is now || seriously 😂

jade wedge
#

this will mess up even more

fathom yew
#

._. how?

jade wedge
fathom yew
#

yeah, I am also using the gui

mystic mauve
#

how is deleting everything and starting over going to mess it up worse>

#

that's the best way to do it.

#

I don't even know how you managed to get it that fucked to begin with. You are correct with your plan Risen, just make your backup, nuke everything and start over

jade wedge
mystic mauve
#

yes...that's fine?

jade wedge
#

just make sure he uses another pc

mystic mauve
#

works exactly as expected in this case

fathom yew
mystic mauve
#

you don't have to do that from another PC?

#

It's not his boot drive, those are all secondary drive letters.

jade wedge
mystic mauve
#

He's not deleting C

#

Pay attention, look, read, stop using all caps.

fathom yew
mystic mauve
#

And for the love of god, please do not try to provide aide if you do not know what you're doing, or aren't going to take the time to actually read and comprehend the situation.

jade wedge
mystic mauve
#

Especially when it comes to things that can actually cause data loss, or worse.

fathom yew
fathom yew
#

Damn one drive on chrome crashed while becking up and my pc is lagging really bad 😂

fathom yew
#

I had never expected that I would have to destroy my hard drive just because I messed it up while creating partitions lol

serene dagger
#

tried to stop crying by sleeping but failed so now I'm here weeeeeh

pliant canyon
#

society

serene dagger
#

ppl suck at parenting and i self inserted, felt personal

#

cant imagine abusing kids under the pretense of "they dont know whats best"

#

well nvm i can imagine feels disgusting and literally cry over it wtf

#

yall know of ANYONE who's ever gone "gee i sure am glad my parents removed any agency i had and decided in my stead"?

neat sparrow
#

what's that?

serene dagger
magic carbon
#

What's the problem with crying?

serene dagger
#

nothing, i got a problem with what it caused it

magic carbon
#

I misinterpreted you

jolly sun
#

.NET 6 LTS released

#

Are y'all jumping train or nah

fathom yew
#

ayy clean af again! Just have to put my files ad folders back in

pliant canyon
#

wish i had some of that unallocated space

neat sparrow
#

fr

fathom yew
pliant canyon
#

i do but it never hurts if u have more

fathom yew
#

so?

pliant canyon
#

so

fathom yew
#

uh I am totally confused

pliant canyon
#

for things i could do if i had more space

stone gyro
#

.NET 6 looks cool in a lot of ways

fathom yew
pliant canyon
#

u cant give me space in any way lol

serene dagger
jolly sun
stone gyro
#

record structs 👀

jolly sun
#

Like, when .NET 5 was released, I let it sit for 6 months before cruising Udemy for courses. None of them got updates for it

hearty prawn
stone gyro
#

Also, lmao:

Hot Reload enables you to skip rebuilding and restarting your app to view a new change — while your app is running — supported in Visual Studio 2022 and from the .NET CLI, for C# and Visual Basic.
Literally a month ago, I saw someone on this discord ask if C# had that; in an argument about C# and Java

fathom yew
#

Well I would need them if I had good RAM because if did then I would be able to play much better games and they require more storage

fathom yew
#

I'll mail them my hard drive lol (lame joke)

#

well break into half and then send them because I need half of it 🤷‍♂️

dusty quarry
#

Yall made me hungry rn

hearty prawn
# fathom yew how?

I THINK I SENT THIS LMFAO -> a simple file upload/send server which downloades the files onto their other drive would work as "sharing them"

fathom yew
#

-_- that's sharin' files, we're talkin' 'bout sharin' storage. (damn so many abrvs in this)

magic carbon
#

Can rats be controlled with arduino

fathom yew
#

yes

sick olive
#

AMD announced 128 core CPUs for 2023

magic carbon
#

How?

jagged obsidian
#

ok

polar rose
#

hi @jagged obsidian

jagged obsidian
#

Now it displays properly

#

But crashes when I press play

polar rose
#

uh ok now click on the buttons ig?

jagged obsidian
#

exit works though

polar rose
#

so like did it actually close the window or not

jagged obsidian
#

it closed the window

polar rose
#

okay then

#

what error did you get?

jagged obsidian
#

TypeError: int() argument must be a string, a bytes-like object or a number, not 'builtin_function_or_method'

#

at line 197 if self.score >= int(self.high):

polar rose
#

hm ok

#

lemme look into that

jagged obsidian
polar rose
#

THATS REALLY RIGGED

jagged obsidian
#

fr lmao

polar rose
#

its supposed to say REEF

#

Play and Exit

jagged obsidian
#

second run:

polar rose
#

I'll show this to the arcade devs hol up

jagged obsidian
#

yea seems like an arcade problem

polar rose
#

can you try once more?

jagged obsidian
#

ok

#

another one

polar rose
#

uh/

jagged obsidian
#

can't wait to play eef

polar rose
#

this is really weird, its not supposed to happen

jagged obsidian
#

It's an Arcade problem

polar rose
#

:/

jagged obsidian
#

probably a bug, i'm on Linux btw if that matters

polar rose
#

i think maybe that does...

jagged obsidian
hearty prawn
#

GTRHHGB

#

@oak hemlock

jagged obsidian
#

👍

oak hemlock
polar rose
#

omg yes re my 1st game!

hearty prawn
#

I JUST

#

ANSWERED 10 FRENCH QUESTIONS

polar rose
#

i cant wait to finish development on re

oak hemlock
jagged obsidian
hearty prawn
#

AND GOT THEM CORRECT WITHOUT CHEATING

oak hemlock
oak hemlock
hearty prawn
#

IT WAS JUMBLED WORDS

#

I DID IT CY

oak hemlock
#

yes

#

congrats

hearty prawn
#

thanks@!HJbreuyfh

#

also i need help

oak hemlock
#

yes you do

hearty prawn
#

just because i haven't slept in a while doesnt mean im sick

polar rose
#

uhhh so guys. i want to convert something i read from a file (which is a number, thank you) to an int but its giving me an error :(

hearty prawn
#

anyways i want to make a wikihow ass website to put shit tons of ads on but i SUCK at django lmfao

#

adding another endpoint in django is hardd

jagged obsidian
magic carbon
#

are you talking money here

hearty prawn
#

yeah

magic carbon
#

What you need

#

I will wake up my uncle

hearty prawn
#

nothing i'm going to use flask

#

why would you wake up your uncle

polar rose
hearty prawn
#

let him sleep

polar rose
#

what should i edit?

hearty prawn
#

@oak hemlock hii help

jagged obsidian
hearty prawn
#

is flask an OKAY library to make a website in

oak hemlock
#

Yes

hearty prawn
#

i'll migrate the code to django if it takes off

polar rose
#

um yes i know i forgot to add it ig

oak hemlock
#

Flask is good

hearty prawn
#

pog time to start development

#

alSO im making akike 8 youtuber channels

polar rose
#

lemme try and see if it works

hearty prawn
#

4 kids ones and 4 scuffed news ones

#

kids channels make bank

#

i shall profit of children

jagged obsidian
#

profiting off children

hearty prawn
#

oh right 3 am me.

jagged obsidian
#

seems kinda... suspicious

polar rose
#

i shall eat children

oak hemlock
polar rose
#

OH GREAT

hearty prawn
#

pop OS aint bad i've hear

oak hemlock
#

it's quite useless

polar rose
#

back to the no error but still error error.

#

none type i hate you

oak hemlock
#

I'm convinced that Pop!_OS is just a marketing scheme

hearty prawn
#

i'm old school even though im 14 and i'm scared as fuck since i paid like 2 grand for my machine

jagged obsidian
#

POP OS IS GOOD

oak hemlock
#

"but it supports my drivers !!!"
no more than Ubuntu

hearty prawn
#

i'm just gonna stick with macos and not use linux or I will break my pc

oak hemlock
#

hate Pop!_OS

jagged obsidian
#

ok then ill install arch linux

oak hemlock
#

._.

hearty prawn
#

also my new phone came like a week ago so fun

#

do yall wanna see new setup

oak hemlock
#

do we know each other

jagged obsidian
#

I've installed arch like 3 times

polar rose
#

aaaa why does this have to happen

jagged obsidian
#

fdisk, mkfs, genfstab, pacstrap, yk

oak hemlock
#

a ton of unnecessary pain

magic carbon
#

Pacstrap what dis

hearty prawn
#

imagine wont send

jagged obsidian
#

it's lightweight thoooo

hearty prawn
oak hemlock
polar rose
#

yugyughszvat4wsuh

hearty prawn
#

cable management at it's finest

oak hemlock
jagged obsidian
#

THEN WHAT DISTRO DO I USE

oak hemlock
#

I'd suggest an Ubuntu flavor

polar rose
hearty prawn
#

ubuntu best

hearty prawn
oak hemlock
#

Xubuntu and Kubuntu (or KDE Neon) are great

jagged obsidian
#

fuck this ima install gentoo

oak hemlock
#

._.

polar rose
#

haha yes im so mad why wont my stupid code work

oak hemlock
#

you're beyond saving

#

good luck

jagged obsidian
#

i'm joking, my pc is 5 yrs old

#

amazing

hearty prawn
jagged obsidian
oak hemlock
#

sad

hearty prawn
#

I WORKED HARD, BRO I WENT TO IKEA AND BECOME BOB THE BUILDER AND MADE A DESK

oak hemlock
hearty prawn
#

yes there is an ikea in india now

hearty prawn
polar rose
#

me, a windows user: 👍🙂🔫

hearty prawn
#

windows kinda cringe

oak hemlock
#

oh

jagged obsidian
#

i can see you're a windows user @polar rose

polar rose
oak hemlock
#

I know nothing about setups tbh

hearty prawn
#

unix ftw

jagged obsidian
#

paths in your code has a forward slash

oak hemlock
#

too poor for that

hearty prawn
#

lmfao

polar rose
hearty prawn
#

my setup didn't cost THAT much

oak hemlock
jagged obsidian
#

wHat do you mean

oak hemlock
#

I'm pretty sure most Python path handlers are slash agnostic

polar rose
#

\👍 \🙂 \🔫

hearty prawn
#

desk was around 80 dollars and then monitor was another 120 then keyboard mouse costed like 100 bucks

oak hemlock
#

I could be wrong... I don't mess with Windows paths

hearty prawn
#

300 bucks but i got most of them on sale and with vouchers and shi

#

so i paid more like 150

magic carbon
polar rose
#

you can use backward slashes or forward slashes, it doesn't matter

oak hemlock
#

hate Manjaro \😔

hearty prawn
jagged obsidian
#

WHY DO YOU HATE ARCH SO MUCH

oak hemlock
#

I don't hate Arch

jagged obsidian
#

Arch-based distros you hate?

oak hemlock
#

Indeed

jagged obsidian
#

but why

oak hemlock
#

lol

#

idk if I want to go into it

jagged obsidian
#

they have an install gui?

oak hemlock
#

No???

polar rose
#

@jagged obsidian can you do python3 -m arcade and see what version of arcade you're running? a dev said 2.6.5 fixed the issues

hearty prawn
oak hemlock
jagged obsidian
oak hemlock
#

like seriously

hearty prawn
#

why?

#

they aren't aimed towards programmers

polar rose
hearty prawn
#

like for shitty computers

#

to make them work i think

oak hemlock
polar rose
#

yeah well my laptop is shitty

hearty prawn
#

idk they look sleeeek asf

jagged obsidian
#

Zorin OS? haven't heard that in a long time

oak hemlock
#

because people who do know what they're doing

polar rose
#

from 2016, 4 gb ram amd e2 7th gen lmao

oak hemlock
#

don't use Zorin or Elementary

hearty prawn
jagged obsidian
#

but zorin good ui thoooo

hearty prawn
#

bro that's their market, old people and people who don't know what they're doing

oak hemlock
hearty prawn
#

like a off brand windows

oak hemlock
#

Zorin and Elementary are purely for the Google image searchers

hearty prawn
#

i remember loading up zorin on my grandmas old laptop and it worked okay

jagged obsidian
hearty prawn
#

but then she got a new one

magic carbon
#

Windows by Vin Diesel

oak hemlock
#

who say "hey, this looks nice. I'm sure it's reliable!"

#

and do no further research

hearty prawn
#

it does look nice though

jagged obsidian
#

exactly

oak hemlock
#

sure, and Manjaro looks nice

#

and Manjaro's one of the most unstable distros to exist

jagged obsidian
#

i don't like manjaro ui

oak hemlock
#

made by some of the most incompetent devs

hearty prawn
#

wOW

magic carbon
#

Why I have manjaro

polar rose
#

are you guys talking about linux . . . ?

jagged obsidian
#

Yes.

hearty prawn
#

okay looks like i need to make my own linux distro AGAIN

polar rose
#

o h

oak hemlock
#

You cannot go wrong with Ubuntu or a flavor

#

that is my advice

hearty prawn
#

i'm going to make another ubuntu based distro

magic carbon
#

Without a usb drive

oak hemlock
#

You can make it look however you want with little configuration

polar rose
#

idk sh8 about linux

jagged obsidian
#

do i really need to install the ubuntu "bloated" distro

oak hemlock
#

and it'll be stable as fuck

jagged obsidian
#

or does the minimal installation option fix that

oak hemlock
#

"bloat" is very subjective and has no good meaning within this conversation

jagged obsidian
#

hmmmm

oak hemlock
#

Arch in the long run would be more "bloated" simply because it doesn't split packages

polar rose
#

the devs solution was to setup the view before switching lets see if it works

oak hemlock
#

meaning you're downloading developer headers and source every time you install a package

#

Ubuntu is not "bloated" and those who don't like snaps (understandably so) can simply uninstall it

jagged obsidian
#

ubuntu ui does look nice now though....

oak hemlock
#

Do yourself the favor and not Google image search for distributions

#

because you're in control of your DE

#

If it looks terrible, install a couple themes

polar rose
#

@jagged obsidian did i have to use strip to convert it to an int?

  File "C:\Users\Lenovo\Desktop\Reef 2D\Reef.py", line 90, in setup
    self.high = int(file.read())
ValueError: invalid literal for int() with base 10: ''
oak hemlock
#

If you like macOS UI, cool. There are a stupid amount of themes like that in the stores

jagged obsidian
#

This guy scares me

polar rose
#

he has nice ... ears

jagged obsidian
oak hemlock
#

but there are plenty of distributions that just shouldn't exist

#

and people all fall into the same trap

polar rose
#

his nose looks . . . like something

polar rose
magic carbon
#

Testosterone

hearty prawn
#
from flask import Flask

app = Flask(__name__)


@app.route('/')
def index():
    return 'uwu'



app.run(host='127.0.0.1', port=8000)
```  flask quickstart
jagged obsidian
hearty prawn
#

while django quickstar is just wOW

polar rose
#

oh wait it actually does not

hearty prawn
magic carbon
#

Well

#

It's not mine

polar rose
#

uwquqw

#

the momento of truth

#

will my code work?

jagged obsidian
#

probably

polar rose
#

nope.

hearty prawn
#

app.run(debug=True) make it this since uh

polar rose
#

nope. ofc not.

hearty prawn
#

well c'mon hot reload is amazing.

oak hemlock
#

lol

jagged obsidian
#

use flask run instead

polar rose
#

curse you, silly mistakes

jagged obsidian
#

python3 -m flask run perhaps

hearty prawn
#

nah

#

I’m a cool kid

polar rose
#

hm ok it should work now

polar rose
#

i wonder how many kids in india even get like a 70$ setup, let alone 300$

#

im saying that as a 13 yr old who's been pestering his parents for 3 months for a new laptop for 500$ 🥺

jagged obsidian
#

i don't think your parents are happy

polar rose
#

for my setup i have:
a 2016 trashy lenovo laptop
its charger
its adapter
a hp mouse which randomly shuts off
a half tattered mousepad

#

"setup"

jagged obsidian
#

that's ok just get another mouse

polar rose
#

i prefer my trackpad anyway lol

oak hemlock
#

I had to switch back to Windows

jagged obsidian
#

what

polar rose
#
  File "C:\Users\Lenovo\Desktop\Reef 2D\Reef.py", line 90, in setup
    self.high = int(file.read())
ValueError: invalid literal for int() with base 10: ''

again

oak hemlock
#

My hybrid GPU setup just wasn't working well

jagged obsidian
oak hemlock
#

I know this for a fact

#

plus I despise Pop!_OS anyways

polar rose
#

guys yalls got any idea as to why my file is just turning... blank every time i run my code?

oak hemlock
#

The only distribution that'd have any difference in result would be Arch simply because it gets updates quicker

sullen elm
jagged obsidian
polar rose
#
        if self.score >= int(self.high):
            with open("Assets\High Score.txt", "w") as file:
                file.write(str(self.score))

self.score is 0

sullen elm
#

Yep

polar rose
#

its 0 dude

#

not blank?

sullen elm
#

You're opening in write, which will wipe the file

#

So only one number is ever going to exist in there

polar rose
#

aw man what do i do then

sullen elm
#

At a time

oak hemlock
#

open in append mode

jagged obsidian
#

open it in append a

polar rose
#

im implementing a high score system to my game

polar rose
jagged obsidian
#

we can see

oak hemlock
#

JSON might be a better method for this

sullen elm
#

^

polar rose
#
        if self.score >= int(self.high):
            with open("Assets\High Score.txt", "a") as file:
                file.write(str(self.score))
jagged obsidian
polar rose
#

i have no experience with json, arcade is my 1st library

sullen elm
#

If you're going to save like, the name of the user as well or something JSON might be a better choice

polar rose
#

and yes i just want 1 number in the file.

oak hemlock
jagged obsidian
#

i mean yea

oak hemlock
polar rose
#

i dont want all highscores right

oak hemlock
#

I'd think you would, for a leaderboard

#

and sort by values

polar rose
#

i dont want a leaderboard

oak hemlock
polar rose
#

this is my first game, first library

magic carbon
#

Friends library

polar rose
#

lemme just try it with append

oak hemlock
#

so it'd wipe, then write the number... it should've been fine

sullen elm
#

The issue would be related to wherever you're reading it

polar rose
#

im reading it... at the top?

sullen elm
#

Could you send the code?

polar rose
#
        with open("Assets/High Score.txt", "r") as file:
            self.high = int(file.read())
#

The whole file, you mean?

oak hemlock
#

relevent section with read/write

#

not spliced like you have already

jagged obsidian
#

all sections with read/write operations

polar rose
#

ok

#
        with open("Assets/High Score.txt", "r") as file:
            self.high = int(file.read())
sullen elm
#

So wait, what was the previous issue you were encountering? What error was it that you were getting?

polar rose
#
arcade.draw_text("High Score: " + self.output, 15, 575, arcade.color.AIR_SUPERIORITY_BLUE, 20, font_name = "Simpleton Gothic")
jagged obsidian
#

what

#

that isn't relevant afaik

polar rose
#

uh wait lemme show you what output is

oak hemlock
#

maybe it would be better to have the whole code at this point

polar rose
#
self.output = str(self.high)
oak hemlock
#

this is not very helpful lol

jagged obsidian
polar rose
#

ooof ill just send the whole file

jagged obsidian
#

then

oak hemlock
#

!paste

obtuse swallowBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

jagged obsidian
#

send us the new one

obtuse swallowBOT
oak hemlock
#

lol

polar rose
#

ugh.

oak hemlock
#

ctrl + a + c

polar rose
#

i just pasted it earlier in pastebin lemme look for that one

#

actually ill just do it again its old

oak hemlock
#

yeah

polar rose
#

im using idle rn to save on ram cos discord and chrome take up so much together and i dont have much

#

:/

#

ugh i wanna use vsc

oak hemlock
#

uh

#

Well, Chrome is known for taking a stupid amount of RAM

polar rose
oak hemlock
#

Discord as well

#

VSCode... not so much

polar rose
#

i only have 4 gb :/

oak hemlock
#

so use something like Firefox or Microsoft Edge and open Discord on the website

#

that'll save you a good chunk

polar rose
#

nah

#

im just gonna close idle

#

and as soon as someone can find out whats wrong w my code ill open up...

#

surprise surprise
||notepad lol||

jagged obsidian
#

so what was the problem again

oak hemlock
#

I don't see a problem here

polar rose
#

uh

#

lemme run it then, itll only take me 3 gazillion years to open pwsh

jagged obsidian
#

pwsh what

#

oh powershell

polar rose
#

powershell

oak hemlock
#

good lord I hate Windows

polar rose
#

no u

oak hemlock
#

I open notepad and my computer has a heart attack

polar rose
#

powershell is very useful

jagged obsidian
#

i have 16gb yet still use linux

oak hemlock
#

I have 16 GB as well

jagged obsidian
#

Nice

oak hemlock
#

and I'd use Linux if NVIDIA wasn't a pain in the butt

polar rose
#

i have 4 gb ._.

oak hemlock
#

NVIDIA, Unity, game developers

#

all pains in the butt

dusky inlet
oak hemlock
jagged obsidian
polar rose
#

probably

oak hemlock
dusky inlet
#

oh

#

valorant moment

polar rose
#

im gonna take out my ram and put it in rice for 48 hrs guys brb after thats done

oak hemlock
#

nah that's Aboo :faint:

#

Genshin Impact for me, mostly

jagged obsidian
#

i wish genshin ran on linux

oak hemlock
#

plus Curseforge doesn't support Linux

oak hemlock
#

which you definitely shouldn't want to do

polar rose
#

if it still won't work, im not gonna add high scores :/

jagged obsidian
dusky inlet
#

hi

oak hemlock
#

@polar rose to be frank, your code is kind of a mess

polar rose
#

oh wow my program went to not responding

oak hemlock
#

✨ nowhere ✨

#

:qiqi_fallen:

polar rose
jagged obsidian
#

use more classes!!!!
add a HighScoreManager, Player class

#

and write documentation!11

oak hemlock
jagged obsidian
#

something something about KISS principle

oak hemlock
#

like some of these classes are erring on "god object" mode

polar rose
oak hemlock
jagged obsidian
#

no god objects here

dusky inlet
#

be the change you want to see

jagged obsidian
#

here in clean code land we have 10 line classes

oak hemlock
jagged obsidian
#

atp just rewrite the game or something

polar rose
#

welp which one exactly? im pretty sure i cant change anything without arcade screaming at me

oak hemlock
#

wait I get what you mean now

dusky inlet
polar rose
#

fuckshit python is not responding im removing the whole high score thingy

jagged obsidian
polar rose
#

at least exit works

sullen elm
#

Flashbacks to bio last year

jagged obsidian
#

then what does it mean!!!!!

#

aosdhfaosudfh

#

i did not learn about that

sullen elm
#

A highly used coenzyme in the body, basically an energy carrier

polar rose
#

OH MY GODS IT WORKED (HIGH SCORE DOESN'T WORK BUT IT LOADED)

oak hemlock
#

I never had to learn about that in biology 😔

polar rose
#

idled too long :/

jagged obsidian
#

okay but how does that relate to me saying "atp just rewrite the game or something"

dusky inlet
#

atp

oak hemlock
#

or maybe I did

#

nvm, that makes sense

jagged obsidian
oak hemlock
#

I don't memorize the name :faint:

dusky inlet
#

yes ik

#

but its also

polar rose
#

okay my code crashed after clicking restart yay

oak hemlock
#

atp install memory \😩

polar rose
#

im gonna keep trying hah

jagged obsidian
polar rose
#

im not rewriting evrything, no thank you

oak hemlock
#

tbh rewrites are fun

jagged obsidian
#

amazon search "8gb ram" | amazon buy

oak hemlock
#

gross

polar rose
#

also if you're wondering why i define "none" in the init function its kinda necessary

#

i dont know why or what but the docs say it is so IT IS

oak hemlock
#

wait

jagged obsidian
#

give me all of them

#

sed

oak hemlock
#

@polar rose I think I noticed your problem

#

with the high score

polar rose
#

noice one more error which is longer than my code itself \🤓

oak hemlock
#
        if self.score >= int(self.high):
            with open("Assets\High Score.txt", "a") as file:
                file.write(str(self.score))
#

See if you can spot it \😩

polar rose
#

yeah?

jagged obsidian
polar rose
#

WELL

#

someone told me to make it append

plain osprey
jagged obsidian
#

ah backslahses

oak hemlock
#

dunno about that tbh

polar rose
#

afaik thats not a problem

oak hemlock
#

not in this context

polar rose
#

all my assets use backlashes and they work

oak hemlock
#
In [5]: print("foo\H")
foo\H
sullen elm
#

\H won't cause an issue

jagged obsidian
#

Wtf why

oak hemlock
#

it would be problematic for \n and stuff

jagged obsidian
#

ah ok

polar rose
#

cereal whats the problem tho

sullen elm
#

\U is a common one, since that's the unicode escape character

oak hemlock
sullen elm
#

And used in windows a lot for \User or whatever it was

jagged obsidian
polar rose
#

I wanna ||give you up||.
I wanna ||let you down||.

jagged obsidian
#

I wanna ||run around||
And ||desert you||

polar rose
oak hemlock
#

well that was when we thought that was your problem

#

you want it to wipe if you only want one score