#voice-chat-text-0

1 messages Β· Page 160 of 1

lucid blade
maiden beacon
#

Is cs50 wortheet?

#

Worth heat?

#

Mmm

sour willow
#

hello 8080, gofek, opal

#

KIK i dont think a certificate can change css, nor javascript, some parts of html like iframe possible

#

yeah IE used to have such a problem but on modern browsers shouldnt exist (with iframes specifically in IE9 with self signed certificates)

#

csrf?

wise cargoBOT
#

You may not use this command on users other than yourself.

#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

viscid lagoonBOT
#

You've already sent out a request for a player 2.

#

@lunar haven Seems like there's no one here to play. Use .connect_four ai to play against a computer.

#

Chuck Norris once shifted a bit so hard, it ended up on a different computer.

#
Command Help

**```
.emoji <emoji>

*A group of commands related to emojis.*

**Subcommands:**
**`emoji count [category_query]`**
*Returns embed with emoji category and info given by the user.*
**`emoji info <emoji>`**
*Returns relevant information about a Discord Emoji.*
dreamy swallow
#

hi#

#

I was trying to find the way to voice chat

#

i am allowed

#

not

#

no

#

not allowed

lucid blade
#

#NoTaLlOwEd

dreamy swallow
#

tht

lucid blade
#

πŸ˜„

dreamy swallow
#

the # is next to me enter key

#

yeha

lucid blade
#

Β£

dreamy swallow
#

arivoli

#

that is a tamil name

#

south india

#

where are u guys from?

#

nice

rare surge
#

hiii

vivid jacinth
#

Not tagging me 😒

rare surge
#

i cant vc for some reason

#

yo how do i use google apis without paying 😭

#

for opencv

vivid jacinth
#

haha

rare surge
#

@lucid blade yo good one

vivid jacinth
rare surge
#

@lucid blade yo good one

#

@lunar haven bro what you talkin about πŸ’€

#

chill

#

yall gotta lower your gaze man yall wildin 😭

viscid lagoonBOT
#

Chuck Norris writes code that optimises itself.

#
Wikipedia Search Results

Udder
is one pair, and in some animals, there are many pairs. In animals with udders, the mammary glands develop on the milk line near the groin, and mammary

Male cow
male Male cattle inaccurately depicted in popular culture as possessing udders or producing milk, such as in the film Barnyard This disambiguation page

whole bear
#

what

tame pelican
#

it was a misinput

#

my bad lol

glad knoll
#

yes?

#

sup?

gentle flint
#

wind and rain

#

and no trains

glad knoll
#

oopss

gentle flint
#

so I can't go to work today

fresh ember
#

leave again

glad knoll
#

I don't have permission to speak

#

Not gonna leave

fresh ember
#

byee

#

see ya

glad knoll
#

Byee

#

Nope

#

So what are you up to?

#

I see

#

What do you do?

#

Like engineering?

#

Okay

#

No

#

Hahaha

#

Sorry i heard if i need cyber security consulting

#

Yesss

#

I lovee it

#

Avacado sandwich

gentle flint
glad knoll
#

Where do you live @gentle flint

gentle flint
#

Amsterdam

glad knoll
#

Oh okay

#

How can i get permission for vc?

frosty star
#

haay

somber heath
wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

glad knoll
#

Okay thank you

#

Btw i joined the community long back

#

Not today

somber heath
#

@sonic trellis πŸ‘‹

gentle flint
sonic trellis
#

not verified g sheesh

glad knoll
#

Yes

#

πŸ˜‚πŸ˜‚

sonic trellis
#

yeah saw but I dont wanna spam

glad knoll
#

Yes i read them

sonic trellis
#

now i have some time off from work gonna start hanging out here

#

peace

#

i have peace haha

viscid lagoonBOT
glad knoll
#

I'm leaving too

#

See you all evening IST

glacial dragon
#

Wanna learn how to make typo πŸ˜‚

whole bear
#

i need words lol

#

down bad

#

.

#

.

#

:*)

#

@dry jasper bro u a legend giving advice to kids

sour willow
#

gotta see this lmfao

#

πŸ’€ bro i dont think you realise this isnt a war

#

kid just tell it to ur dad

#

*πŸ’€ πŸ˜‚ *

whole bear
#

@turbid sandal to stop getting bullied start breathing air first 🀣

dry jasper
#

0day

whole bear
#

@turbid sandal breath airr

#

breathe airrr

sour willow
#

didnt 8080 do drugs?

#

pretty sure he used to

whole bear
#

no drugs no cig no vape

#

get yo ass to the gym

#

or do any physical activity

#

broo even if u got no gym

#

get yo ass to the ground do push ups

#

sit ups

#

squats

sour willow
#

i think youve seen to many motivational videos ryken

whole bear
sour willow
#

guys i need some suggestions

whole bear
sour willow
#

nvm figured it out

whole bear
#

i need words

#

on god

#

.

#

hello

#

words needed

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1688557856:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

The <@&831776746206265384> have been alerted for review.

sour willow
#

k time to drill

whole bear
#

'str' object has no attribute '_meta'

frosty star
#

ayoayo

sour willow
#

damn the drilling couldnt go any worse

#

damn i messed up bad time

pale trout
#

ok, this is a test.

whole bear
#

@vale pine

#

chat here

#

also no time limit

vale pine
#

ooh cool

#

which stack do u want to work on?

whole bear
#

i am new to this shit

vale pine
#

like front end, cybersecurity, backend, full stack, mobile development, AI

vale pine
vale pine
#

I see thats ok youll find it out quickly

whole bear
#

wanna call in priv dm

pale trout
#

What's going on here?

#

ok no one called me

vale pine
pale trout
#

I advise him to start with C++

vale pine
whole bear
pale trout
#

At least it will work in the best programming language ever

#

Oh, python for school. Then okay.

#

I want to invent a time machine

lucid blade
whole bear
whole bear
rugged root
#

For the lolz

#

Why else

rugged root
#

@somber heath Hey buuuuuudddddddy

somber heath
#

Now all we need is Chris.

#

Dev dev dev.

#

Soup ear I or.

#

Threads or treads? You decide!

#

Binstagram.

#

Farcebook.

rugged root
#

Arsebook

#

Not bad

#

About what I do

cosmic bison
#

poor-man's assert.

Also I have a question:

If you have lets say this module here

// mymod.bcl

// defaults to private
struct MyType {
  x: i32;
}

public define my_func() -> MyType {
  // implementation
}

What happens if you try to run my_func from another module. It returns a private type. Should this be allowed?

rugged root
dry jasper
cosmic bison
#

@scenic trail You get them from a certain saul goodman?

cosmic bison
#

lol

scenic trail
#

this has 16

#

lol

rugged root
#

@dry jasper What were you going to say/ask?

#

Sorry, attention span broke

jolly terrace
rugged root
#

Whatcha workin' on

#

Give me a little bit, trying to do some things for work

#

No no, I was asking you, Zhax

#

Oh my god I can't type

obsidian dragon
#
   function submit() {
      index = $("index").value;
      timestamp = $("timestamp").value;
      details = $("description").value;
      category = $("category option:selected").text;
      project = $("project option:selected").text;

      result = $("result");
      result.value =
        `
{
    "index": ${index},
    "timestamp": ${timestamp},
    "category": "${category}",
    "project": "${project}",
    "details": `${details} `
},
`
    }
vocal basin
#

does strict JS allow $ in identifiers?

rugged root
#

I think it does with JQuery

vocal basin
#

'use strict' I mean

cosmic bison
#
import pygame
pygame.init()

W, H = 600,600
window = pygame.display.set_mode((W,H))
while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            pygame.quit()
            quit()
    window.fill((255,255,255))
    pygame.display.update()
obsidian dragon
#
<html>

<head>
  <title>osyra42's logbook</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="style.css">
  <script src="jQuery.js"></script>


  <style>
    body {
      background-color: #000000;
      color: #ffffff;
      font-weight: bold;
      font-size: 14px;
    }

    input,
    textarea,
    select,
    button {
      background-color: #222222;
      color: #dddddd;
      width: 250px;
      height: 32px;
      margin: 3px;
    }

    #details {
      width: 350px;
      height: 330px;
    }

    #result {
      width: 350px;
      height: 570px;
    }
  </style>

  <script>
    function submit() {
      index = $("index").value;
      timestamp = $("timestamp").value;
      details = $("description").value;
      category = $("category option:selected").text;
      project = $("project option:selected").text;

      result = $("result");
      result.value = `
{
    "index": ${index},
    "timestamp": ${timestamp},
    "category": "${category}",
    "project": "${project}",
    "details": \`${details}\`
},`
    };
  </script>
</head>

<body>
  <pre>
index     <input type="number" id="index"/>
timestamp <input id="timestamp"/>
category  <select id="category"/>
  <option></option>
  <option>Javascript</option>
  <option>Python</option>
  <option>Hardware</option>
  <option>Media</option>
</select>
project   <select id="project">
  <option></option>
  <option>Logbook</option>
  <option>Vanity</option>
  <option>Discord</option>
  <option>Star Drive</option>
  <option>PC FIxIT</option>
  <option>Quicklinks</option>
  <option>Youtube</option>
  <option>Book</option>

</select>

details
<textarea id="details"></textarea>
</pre>

  <button id="submit" onclick="submit();">write code for me</button>
  <br><br>


  <textarea id="result"></textarea>

</body>

</html>
#
    {
      "index": 12,
      "timestamp": 1687665600000,
      "category": "Javascript",
      "project": "Logbook",
      "details": `- updated deployment location to <a href="https://osyra42.github.io">https:\//osyra42.github.io</a>\n- removed <span>-code</span> from all categories and use full language name\n- added proper case to all summary elements `
    },
rugged root
#

Missouri things. How do you think this city name is pronounced? Bois D'Arc

nimble epoch
#

Ah hemlock

#

I was wondering when you'd join

gentle flint
#

Prideaux

rugged root
#

Yo

nimble epoch
#

I was here a lot a year ago. We spoke then too

#

maybe more than a year ago

rugged root
#

Yeah yeah, I think I vaguely remember?

#

I've slept many days since

nimble epoch
#

Yes we became best friends

#

And you forgot

gentle flint
#

Prideaux Castle is a multivallate Iron Age hillfort situated atop a 133 m (435 ft) high conical hill near the southern boundary of the parish of Luxulyan, Cornwall, England, United Kingdom. It is also sometimes referred to as Prideaux Warren, Prideaux War-Ring, or Prideaux Hillfort. The site is a scheduled monument and so protected from unautho...

nimble epoch
#

😦

rugged root
#

Not intentionally forgot

nimble epoch
#

It's alright. I understand. Cool people can forget others

#

It's okay

#

see. This was from a year ago

vocal basin
#

awful typesetting

nimble epoch
#

This too

#

I'm just trying to prove a point

#

Hemlock became too cool for me

vocal basin
nimble epoch
#

Lmaoo

gentle flint
nimble epoch
gentle flint
nimble epoch
#

Where is this?

#

Yeah it's pretty messed up

gentle flint
nimble epoch
#

is hemlock a reference to the poisonous plant?

gentle flint
rugged root
nimble epoch
#

lord doesn't sound good

#

Mr hemlock has a better ring to it

#

You've got an interesting github profile

#

Where did you learn to code like that

rugged root
#

Define "like that"

nimble epoch
#

Like a pro

vocal basin
#

professionally stuffing scripts into auto-py-to-exe

rugged root
#

My code is far from professional

nimble epoch
#

Have you ever watched that movie limitless?

#

You kind of sound like Bradley cooper from that movie

#

I am about halfway through the show

#

It's a shame it got cancelled

vocal basin
nimble epoch
#

Would you take nzt if it was a thing?

#

You could find a work around with all that brain power no?

#

Alright, I'm going to hop off

rugged root
#

See ya

nimble epoch
#

I'm going to hope you don't forget me again

#

Hey hemlock remember me? We spoke sometime ago?

rugged root
#

Is the sometime ago the 1 minute or so?

gentle flint
nimble epoch
rugged root
#

Nope, doesn't ring a bell

nimble epoch
gentle flint
#

The Rookworst (Dutch pronunciation: [ˈroːkΚ‹Ι”rst] (listen); smoked sausage) is a type of Dutch sausage in which ground meat is mixed with spices and salt and stuffed into a casing (originally made of intestine, but these days usually made of bovine collagen). Described as a Bologna-type sausage, it is common in the Netherlands and is also export...

gentle flint
#

I'd rather eat it myself

nimble epoch
#

Plome

#

That's an interesting name

#

Now I can't stop saying the word

#

oh we've met before as well

#

lol

#

Saw that coming

#

You've got the majestic elven genetics

#

Tall, strong, long narrow feet

#

Mevsssss

#

thug?

#

groot?

gentle flint
#

yes

rugged root
nimble epoch
whole bear
#

i just want to ask a question on vc but it doesn't let me😭

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

rugged root
#

@whole bear What's your question?

somber heath
whole bear
#

i just wanted to ask why i need a usb drive to switch my os

nimble epoch
#

Nice

whole bear
#

there's this thing i found on the internet about bootable usb drives but i really don't get the concept can someone explain?

rugged root
#

You mean for like Linux distros and stuff?

whole bear
#

yeah i want to switch to linux mint on my crap pc

somber heath
#

Think of a usb drive like another hard drive. Your computer hardware can choose to select which hard drive to boot from.

#

So when you boot up into the usb, you can then install the os onto your hard drive.

whole bear
#

is it a must?

nimble epoch
#

I tried to use a bootable drive. They're usually slow because of the usb connection. Not many people recommend it. I partitioned my hard disks and now I dual boot

whole bear
#

but you said that it was kind if a trial version

somber heath
#

There are other options, depending on what you have available to you. USB is generally pretty standard

#

You can boot up into the usb and use it, but you generally don't keep your activity unless you explicitly open up your hard drive.

whole bear
#

thanks opal

nimble epoch
#

How much slower is it while using live usbs?

#

Is it noticeable?

somber heath
#

Conclusion: Variable.

#

Depends.

nimble epoch
#

So the only major difference is the time to boot?

somber heath
#

Only one way to know.

nimble epoch
#

Progress?

somber heath
#

Or files "saved".

nimble epoch
#

What's the point of a live usb then?

somber heath
#

Your environment is usually living on ram.

nimble epoch
#

Ahh

somber heath
#

So when you shut down you lose it.

nimble epoch
#

You can't store it on the external device?

somber heath
#

You can.

nimble epoch
#

the progress I mean

somber heath
#

Like files and stuff.

#

You can install onto a usb, but...it's probably not the usual way of doing things.

whole bear
#

sorry to burst your bubble guys i really don't know much about computers i just wanted start off somewhere and linux caught my attention, would you guys try to explain like i am a 2 year old?

#

like first off what even is booting

#

english is my second language

somber heath
#

Free, generally open source, a workhorse of an os. You do, however, take somewhat into your own hands the maintenance of the system. It's a computer literate person's operating system.

whole bear
#

ohhh

#

so that's why

nimble epoch
#

depends on the make

#

f12 for dell

whole bear
#

thanks guys πŸ™

nimble epoch
#

Haha

#

Good talk. I will be back in a couple of years

whole bear
#

oh i have another question

#

so if a bootable usb boots the pc then what does a live usb do? what does live mean

#

im sorry i got off randomly it was an urgent matter

rugged root
#

You're fine, no worries

somber heath
#

If operating systems were houses.

MacOS: Home owner's association. Everything is perfectly manicured and functional, but you get fined if a blade of grass is out of place.

Windows: Your typical suburban bliss. Trees line the streets on which children play. It's built on landfill, but nobody notices and it's standard practice, so nobody cares.

Linux: Underground bunker. Solid, reliable, indestructible. You have to select your own interior decoration and amenities, but you are often provided with a catalogue.

whole bear
#

thanks for the explanation though, i could understand

rugged root
#

Happy to help

whole bear
#

do i need 50 messages to get verified?

somber heath
#

That is one part of the process, yes.

whole bear
#

oh

somber heath
#

Keep having text conversations. πŸ™‚

#

It'll be done before you know it.

rugged root
#

!stream 596355670878715914

wise cargoBOT
#

βœ… @calm swallow can now stream until <t:1688575416:f>.

obsidian dragon
rugged root
#

!d collections

wise cargoBOT
rugged root
#

!d itertools

wise cargoBOT
#

This module implements a number of iterator building blocks inspired by constructs from APL, Haskell, and SML. Each has been recast in a form suitable for Python.

The module standardizes a core set of fast, memory efficient tools that are useful by themselves or in combination. Together, they form an β€œiterator algebra” making it possible to construct specialized tools succinctly and efficiently in pure Python.

For instance, SML provides a tabulation tool: tabulate(f) which produces a sequence f(0), f(1), .... The same effect can be achieved in Python by combining map() and count() to form map(f, count()).

rugged root
#

!d functools

wise cargoBOT
#

Source code: Lib/functools.py

The functools module is for higher-order functions: functions that act on or return other functions. In general, any callable object can be treated as a function for the purposes of this module.

The functools module defines the following functions:

rugged root
#
if __name__ == "__main__":
  # code goes here
#

!paste

wise cargoBOT
#
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.

calm swallow
#

customtkinter.set_appearance_mode("dark")  # Modes: "System" (standard), "Dark", "Light"
customtkinter.set_default_color_theme("blue")  # Themes: "blue" (standard), "green", "dark-blue"

app = customtkinter.CTk()
app.geometry("1920Γ—1080")

print("Hello World")




app.mainloop() ```
vocal basin
#

if you're going to rely on ChatGPT for everything, that will steal your job

#

traffic jams on roads?
demolish roads

#

the more the time passes, the more it turns from a joke into the only sane advice

#

radon is the issue

#

not just radioactive

#

risk of inhaling radioactive gas

#

therefore long-time effects

#

@calm swallow radioactive part itself isn't used in fertiliser

#

seems like

#

two separate things get mined
one is used for fertiliser
another is radioactive waste

calm swallow
#

OH

#

Sorry I guess I missed that lol

#

if radon is on the road that is definitely scary

rugged root
#

!tvmute 929134336261906462 1d You were asked to stop being disruptive.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @ancient wedge until <t:1688665681:f> (1 day).

ancient wedge
#

hey

vocal basin
ancient wedge
#

I couldnt hear any of you

#

I was fixing my mic

cosmic bison
#

oh

amber raptor
#

Well, you get a day to fix it.

ancient wedge
#

I fixed it

vocal basin
ancient wedge
#

I couldnt hear anyone

#

I was seeing if I could

vocal basin
#

how is "fixing your mic" related to that?

ancient wedge
#

I couldnt hear anyone?

#

I was trying to fix it?

#

like what

vocal basin
#

a microphone isn't something you hear through

ancient wedge
#

bro who

vocal basin
#

normally, at least

ancient wedge
#

asked

#

goofy

#

get on the game

#

1v1

#

dont duck

vocal basin
ancient wedge
#

goofy

#

say your pack

gentle flint
#

@rugged root made a new handle fridge from a discounted towel rack

#

this was the towel rack

ancient wedge
#

bruh

gentle flint
#

this is the handle

ancient wedge
#

this is your humor

vocal basin
#

Rust has it private by default

#

C doesn't have notion of private/public in general

#

I think C# uses private by default

amber raptor
#

Java/C# both have public/private

somber heath
amber raptor
#

Python has concept of private as well it's just not enforced

#

?

vocal basin
#

nvm

#

can't read

cosmic bison
amber raptor
#

Sure but my point is Public/Private methods are nothing new. C#/Java enforce it, Python has concept via Naming but doesn't enforce it

vocal basin
#

C++ has private/public too

cosmic bison
#

I need enforcement for safety reasons. Because there is unsafe behavior that needs to happen but I would likely to make it accessible in a safe way

amber raptor
#

yea, I don't know C++, I learned C in college and never bothered with C/C++ after that.

ancient wedge
#

im lagging

#

I keep getting disconected

vocal basin
#

rather collision avoidance

somber heath
#

!e ```py
class MyClass:
def internal_call(self):
self.__name_mangled()

def __name_mangled(self):
    print('Hello, world!')

instance = MyClass()
instance.internal_call()
instance.__name_mangled()```

wise cargoBOT
#

@somber heath :x: Your 3.11 eval job has completed with return code 1.

001 | Hello, world!
002 | Traceback (most recent call last):
003 |   File "/home/main.py", line 10, in <module>
004 |     instance.__name_mangled()
005 |     ^^^^^^^^^^^^^^^^^^^^^^^
006 | AttributeError: 'MyClass' object has no attribute '__name_mangled'
cosmic bison
ancient wedge
#

where the bros at

#

im trynna bend

cosmic bison
#

!e

class MyClass:
    def internal_call(self):
        self.__name_mangled()

    def __name_mangled(self):
        print('Hello, world!')

instance = MyClass()
instance.internal_call()
print(dir(instance))
vocal basin
wise cargoBOT
#

@cosmic bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | Hello, world!
002 | ['_MyClass__name_mangled', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'internal_call']
ancient wedge
#

what the frick

#

my fricking internet

rugged root
#

Perhaps take a break from vc and figure out your net issue

ancient wedge
#

im trying

vocal basin
ancient wedge
#

@rugged root that you?

#

damn you look good

#

😝

wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | a
002 | b
vocal basin
ancient wedge
#

can I get help

vocal basin
#

httpx?

ancient wedge
#

ye

amber raptor
#

More you work in this industry, more you realize it's all just shit

#

I'm actually hoping for industry massive contraction

whole bear
#

hi guys

gentle flint
nimble epoch
#

hi

gentle flint
#

hi

nimble epoch
vocal basin
#

can't produce a sound this high
yet

nimble epoch
#

why fuck aws?

vocal basin
#

metrics fail when they become goals

#

Goodhart's law is an adage often stated as, "When a measure becomes a target, it ceases to be a good measure". It is named after British economist Charles Goodhart, who is credited with expressing the core idea of the adage in a 1975 article on monetary policy in the United Kingdom:Any observed statistical regularity will tend to collapse once p...

amber raptor
#

Yes?

amber raptor
vocal basin
#

not yet retired fully

#

but anyway it's kind of dying

#

I think the only Framework project I worked on never advanced past 4.5 or something

#

4.6.1

vocal basin
whole bear
vocal basin
#

just what one gets in response to making 6 typographic errors

vocal basin
#

@lunar haven what happened

lucid blade
#

rip

vocal basin
#

@lucid blade or they want you to think there's something more

#

Zircon had quite a lot of whisteblowers too

lucid blade
vocal basin
#

idk, wasn't paying enough attention

vocal basin
#

(was)

somber heath
#

Uh huh.

vocal basin
#

using metrics as a target for performance is a part of the larger error of openly comparing employees in general

#

metrics in such context are more effective as tools not policies

#

as a manager, one can use them to help make informed decisions rather than guide those decisions

cinder dawn
#

@lunar haven

calm swallow
#

lol

vocal basin
#

tbf, there's always nuance
large companies might benefit even from open metrics if their current management is totally broken

#

same as large companies benefiting from dumb filters on interviews like leetcode-style questions
just simplify the process

ancient wedge
#
  File "/home/runner/zio-accounts/venv/lib/python3.10/site-packages/discord/app_commands/commands.py", line 828, in _do_call
    return await self._callback(interaction, **params)  # type: ignore
  File "main.py", line 44, in setup
    async with db.cursor as cursor:
AttributeError: __aenter__

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/runner/zio-accounts/venv/lib/python3.10/site-packages/discord/app_commands/tree.py", line 1248, in _call
    await command._invoke_with_namespace(interaction, namespace)
  File "/home/runner/zio-accounts/venv/lib/python3.10/site-packages/discord/app_commands/commands.py", line 853, in _invoke_with_namespace
    return await self._do_call(interaction, transformed_values)
  File "/home/runner/zio-accounts/venv/lib/python3.10/site-packages/discord/app_commands/commands.py", line 846, in _do_call
    raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'account' raised an exception: AttributeError: __aenter__
#
@client.tree.command(name='account', description='view your account')
async def setup(ctx: discord.Interaction):
  async with aiosqlite.connect("main.db") as db:
    async with db.cursor as cursor:
      await cursor.execute('SELECT memberid FROM users WHERE guildid = ?', (ctx.guild.id,))
      data = await cursor.fetchone()
      if not data:
        await cursor.execute("UPDATE users SET memberid = ? WHERE guildid = ? AND coins = ?", (ctx.author.id, ctx.guild.id, 100))
      else:
        await cursor.execute('SELECT coins FROM users WHERE memberid = ? AND guildid = ?', (ctx.member.id, ctx.guikd.id,))
        coins = cursor.fetchone()
        embed = discord.Embed(title=f"{ctx.author}'s Account", descriptio=f'Coins: {coins}')
        await ctx.response.send_message(embed=embed)
    await db.commit()
vocal basin
#

I'd guess this to be the issue

async with db.cursor() as cursor:
ancient wedge
#

yea

#

but now i have to figure out how to get author id

#

from slash command

vocal basin
kind wharf
ancient wedge
#
ing exception in command 'account'
Traceback (most recent call last):
  File "/home/runner/zio-accounts/venv/lib/python3.10/site-packages/discord/app_commands/commands.py", line 828, in _do_call
    return await self._callback(interaction, **params)  # type: ignore
  File "main.py", line 48, in setup
    await cursor.execute("UPDATE users SET memberid = ? WHERE guildid = ? AND coins = ?", (ctx.author.id, ctx.guild.id, 100))
AttributeError: 'Interaction' object has no attribute 'author'
stuck furnace
#

Or just "game theory is harder than statistics" πŸ˜„

vocal basin
#

that too

ancient wedge
#
call
    raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'account' raised an exception: AttributeError: 'Interaction' object has no attribute 'author'
ancient wedge
#

now just no response

#

no error

vocal basin
ancient wedge
#

then what does

vocal basin
#

this line seems wrong too
do you support only one member per guild?

await cursor.execute('SELECT memberid FROM users WHERE guildid = ?', (ctx.guild.id,))
ancient wedge
#
async def setup(ctx: discord.Interaction):
  async with aiosqlite.connect("main.db") as db:
    async with db.cursor() as cursor:
      await cursor.execute('SELECT memberid FROM users WHERE guildid = ?', (ctx.guild.id,))
      data = await cursor.fetchone()
      if data:
        await cursor.execute('SELECT coins FROM users WHERE memberid = ? AND guildid = ?', (ctx.user.id, ctx.guild.id,))
        coins = cursor.fetchone()
        embed = discord.Embed(title=f"{ctx.author}'s Account", descriptio=f'Coins: {coins}')
        await ctx.response.send_message(embed=embed)
      else:
        await cursor.execute("UPDATE users SET memberid = ? WHERE guildid = ? AND coins = ?", (ctx.user.id, ctx.guild.id, 100))
        await ctx.response.send_message("Account made!")
    await db.commit()
vocal basin
#

then that line should also depend on user id

ancient wedge
#

huh

vocal basin
#
SELECT 1 FROM users WHERE memberid = ? AND guildid = ?
ancient wedge
vocal basin
# ancient wedge

reason why it happens:
you're using UPDATE which changes existing records instead of creating new records

ancient wedge
#

so set

vocal basin
calm swallow
#

i g2g but it was nice meeting/talking with you guys

ancient wedge
#

so what is it

#

set

#

?

vocal basin
#

INSERT INTO or REPLACE INTO

#

I used to know about x.509 or whatever it is

#

used to

ancient wedge
#
        await cursor.execute("INSERT INTO users SET memberid = ? WHERE guildid = ? AND coins = ?", (ctx.user.id, ctx.guild.id, 100))
vocal basin
#

if I remember correctly, it should look something like this

INSERT INTO users(memberid, guildid, coins) VALUES (?, ?, ?)
tepid edge
#

C=EN,ST=none,L=none,O=Wikipedia,OU=none,CN=*.wikipedia.org,E=none@none.com

vocal basin
ancient wedge
#
        await db.execute("INSERT INTO users(memberid, guildid, coins) VALUES (ctx.user.id, ctx.guild.id, 100")
#

this right?

vocal basin
#
await cursor.execute("INSERT INTO users(memberid, guildid, coins) VALUES (?, ?, ?)", (ctx.user.id, ctx.guild.id, 100))
ancient wedge
#

@vocal basin how do I make it display my coins

vocal basin
ancient wedge
#

ok

#
await cursor.execute("INSERT INTO users(memberid, guildid, coins) VALUES (?, ?, ?)", (ctx.user.id, ctx.guild.id, 100))
split crag
#

yo

#

yup, finally

#

I'm a new user

vocal basin
# ancient wedge

await cursor.fetchone() returns (1,)
you can use the following to unpack it:

(coins,) = await cursor.fetchone()
split crag
#

too many nortifications

#

it's a user prob

vocal basin
#

"system problem"

desert wolf
#

lol

split crag
#

🀣

#

🀣 no racist, no racism. At this, I even don't know why, I forgot

viscid lagoonBOT
vocal basin
#

definitive guide to locating pings fast

split crag
#

I just want to be aware about python and it's skills

ashen plinth
#

@lunar haven which official python tutorial; are you mentioning to refer to?

vocal basin
#
#

python tutorial is quite short for how comprehensive it is
it's not a course, rather just an overview

split crag
#

I'm a .NET dev, and as long as I know, the big python plus it's the best to handle large amount of data , right?

ashen plinth
#

thanks. which topic in this tutorial were you referring to?is it bfs, dfs or something else?

vocal basin
#

eh

split crag
#

c# ,yes

ashen plinth
#

okay

vocal basin
split crag
#

I don't know python

ashen plinth
#

can we enrol to this mit ocw Algo course anytime or only during certain time when the course is live we have to enrol?

split crag
#

right πŸ‘

ashen plinth
#

Good, thank you. I will start it then. Yeah, you are working on this material for many hours in the stream

vocal basin
#

NumPy is also somehow related to Fortran

split crag
#

I need to go. take care πŸ˜‰

vocal basin
#

f2py is part of NumPy project, I think

ashen plinth
#

I am new to programming, so just started with data structures and yet to work on algorithms.

vocal basin
#

Fortran, language from 1957
last release in 2018

ashen plinth
#

@lunar haven @vocal basin When you started with DSA, which courses did you go through before this MIT OCW?

vocal basin
#

what do you mean by "before"?

#

ah

#

gofek

vocal basin
#

C, C++ and Rust are likely best for learning data structures and algorithms

ashen plinth
#

Princeton and stanford, that's good. You were going through this mit course at a good speed. For Stanford, was it CS50 or another course?

vocal basin
#

tbf, algorithm-related articles on Wikipedia are often quite good

#

also, papers where algorithms originate from

ashen plinth
glad knoll
#

Hi @lunar haven

vocal basin
#

last sections of articles are often useful

glad knoll
#

About to sleep xD

desert wolf
ashen plinth
desert wolf
glad knoll
#

What are you upto now?

vocal basin
#

papers often contain reasoning for why that structure/algorithm was invented

ashen plinth
#

I know google scholar

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

ashen plinth
#

yes

vocal basin
#

sci-hub is illegal in some countries

desert wolf
#

shrugs

stark ingot
#

hi sorry i couldn't hear anything for a little lol

desert wolf
#

lol

glad knoll
#

Hahahaha

stark ingot
#

🀣

glad knoll
#

Alright I'm gonna sleep now

supple magnet
#

Just listening for the most part while I am working

glad knoll
#

Good night

#

It's 2AM

#

Sorry lol

stark ingot
#

sleep well

glad knoll
#

You too

#

Definitely i need to

#

I work a lot hehe

viscid lagoonBOT
#
Wikipedia Search Results

Serotonin
Serotonin (/ˌsΙ›rΙ™ΛˆtoʊnΙͺn, ˌsΙͺΙ™rΙ™-/) or 5-hydroxytryptamine (5-HT) is a monoamine neurotransmitter. Its biological function is complex and multifaceted

Serotonin syndrome
Serotonin syndrome (SS) is a group of symptoms that may occur with the use of certain serotonergic medications or drugs. The symptoms can range from mild

stark ingot
#

it affects mood, emotions, and digestion

vocal basin
stark ingot
#

🀣

vocal basin
#

AVL paper defines it as 0

stark ingot
#

i worked in pharmacy for 3 years, its stuck in my memory

robust bone
#

just watch the movie recently

#

@lunar haven

vocal basin
#

Shkreli reference

stark ingot
fallen quartz
#

whats up boss

stark ingot
#

if you get it

pearl ledge
#

I'm a noobie Hi !

viscid lagoonBOT
#

Chuck Norris's Internet connection is faster upstream than downstream because even data has more incentive to run from him than to him.

stark ingot
#

🀣

vocal basin
#

and?

fallen quartz
#

what time zone are you in?

ancient wedge
#

@vocal basin why wont it tell me i have 100 coins

fallen quartz
#

lol

neon vigil
#

i think gofek has me muted πŸ₯Ή

ancient wedge
#

@vocal basin

#

I should have 100

vocal basin
#

how does the code currently look?

ancient wedge
#
@client.tree.command(name='account', description='view your account')
async def setup(ctx: discord.Interaction):
  async with aiosqlite.connect("main.db") as db:
    async with db.cursor() as cursor:
      await cursor.execute('SELECT memberid FROM users WHERE guildid = ?', (ctx.guild.id,))
      data = await cursor.fetchone()
      if data:
        await cursor.execute('SELECT 1 FROM users WHERE memberid = ? AND guildid = ?', (ctx.user.id, ctx.guild.id,))
        (coins,) = await cursor.fetchone()
        embed = discord.Embed(title=f"{ctx.user}'s Account", description=f'Coins: {coins}')
        await ctx.response.send_message(embed=embed)
      else:
        await cursor.execute("INSERT INTO users(memberid, guildid, coins) VALUES (?, ?, ?)", (ctx.user.id, ctx.guild.id, 100))
        await ctx.response.send_message("Account made!")
    await db.commit()
viscid lagoonBOT
vocal basin
ancient wedge
#

oh

regal bolt
#

hi guys

vocal basin
#
@client.tree.command(name='account', description='view your account')
async def setup(ctx: discord.Interaction):
  async with aiosqlite.connect("main.db") as db:
    async with db.cursor() as cursor:
      await cursor.execute('SELECT 1 FROM users WHERE memberid = ? AND guildid = ?', (ctx.user.id, ctx.guild.id,))
      data = await cursor.fetchone()
      if data:
        await cursor.execute('SELECT coins FROM users WHERE memberid = ? AND guildid = ?', (ctx.user.id, ctx.guild.id,))
        (coins,) = await cursor.fetchone()
        embed = discord.Embed(title=f"{ctx.user}'s Account", description=f'Coins: {coins}')
        await ctx.response.send_message(embed=embed)
      else:
        await cursor.execute("INSERT INTO users(memberid, guildid, coins) VALUES (?, ?, ?)", (ctx.user.id, ctx.guild.id, 100))
        await ctx.response.send_message("Account made!")
    await db.commit()
regal bolt
#

I don't understand your question

#

I'm student in BI with Python

ancient wedge
#

it works thank you

regal bolt
#

yeah

#

I try learning about this thinks...lol

stark ingot
#

making my brain hurt

stark ingot
#

some anti depressent ones

regal bolt
#

I'm working in company and I'm trying to put technology

vocal basin
regal bolt
#

insert an agile logistics control

#

I'm a transport coordinator

vocal basin
viscid lagoonBOT
#

Her daughter is named Help I'm trapped in a driver's license factory.

#

You've used up your limit for Wolfram|Alpha requests.
Cooldown: 8 hours

#
Certainly not.

You are not authorized to use this command.

#
Wikipedia Search Results

Keen
up keen in Wiktionary, the free dictionary. Keen, Keen's, or Keens may refer to: Keen (surname) Thomas Keens (1870-1953), British politician Keen (band)

Dafne Keen
Dafne Keen FernΓ‘ndez (born 4 January 2005) is a Spanish-born British actress. She made her debut starring as Ana "Ani" Cruz Oliver on the television series

#
Wikipedia Search Results

WHET
WHET (97.7 FM) is a radio station broadcasting a classic country format. Licensed to West Frankfort, Illinois, United States, the station serves the Marion-Carbondale

Northern saw-whet owl
northern saw-whet owl (Aegolius acadicus) is a species of small owl in the family Strigidae. The species is native to North America. Saw-whet owls of the

sterile lichen
# vocal basin for what?

Or do SOC ```py
async def fetch_user_data(cursor, user_id, guild_id):
await cursor.execute('SELECT 1 FROM users WHERE memberid = ? AND guildid = ?', (user_id, guild_id,))
return await cursor.fetchone()

async def fetch_user_coins(cursor, user_id, guild_id):
await cursor.execute('SELECT coins FROM users WHERE memberid = ? AND guildid = ?', (user_id, guild_id,))
return await cursor.fetchone()

async def create_new_user(cursor, user_id, guild_id, coins=100):
await cursor.execute("INSERT INTO users(memberid, guildid, coins) VALUES (?, ?, ?)", (user_id, guild_id, coins))

@client.tree.command(name='account', description='view your account')
async def setup(ctx: discord.Interaction):
async with aiosqlite.connect("main.db") as db:
async with db.cursor() as cursor:
data = await fetch_user_data(cursor, ctx.user.id, ctx.guild.id)
if data:
(coins,) = await fetch_user_coins(cursor, ctx.user.id, ctx.guild.id)
embed = discord.Embed(title=f"{ctx.user}'s Account", description=f'Coins: {coins}')
await ctx.response.send_message(embed=embed)
else:
await create_new_user(cursor, ctx.user.id, ctx.guild.id)
await ctx.response.send_message("Account made!")
await db.commit()

regal bolt
#

would you have any ideas or something similar to have a better control with fuel and maintenance costs

#

it would be more or less like this

#

I intend to use something to apply it with the data I have from the company

#

how could it start? example?

#

tell me less speed

#

my enblish is terrible

#

lolololo

vocal basin
regal bolt
#

right...thanks

sterile lichen
#

Nvm its a placeholder for SQLite automaticaly converts them

whole bear
#

hey

#

what are you guys coding here

#

hii

proud tulip
#

bruh, wait, im gonna change my nickname

whole bear
#

what's up bro

#

?

#

@lunar haven bruh

#

@lunar haven talk with me

#

which game is best

#

any girl is here

#

😒

#

yahh

#

i found girls on discord

#

check = True
while check:
number = input("give number")
if number < limit:
check = False

#

whats your current code

proud tulip
#

hi

whole bear
#

leave it at 999

#

set it to 1000 then

#

are you making your game with tkinter ?

#

oh

ashen plinth
#

for a leetcode problem

#

sorry I didnt follow

#

[:] is everything I think

#

start: stop: step

#

default is 1 for step

proud tulip
#

you can open python online and test if you want

whole bear
#

@lunar haven it displays the last 3 elements of the list

#

i think

ashen plinth
proud tulip
#

ye, i see

ashen plinth
#

we have list/array, tuple, set are iterables. guess dict also. which are the other iterables?

steady vault
#

he

#

y

#

:C

#

gofek wanna help me make an external or what

#

you get 30% of profit

ashen plinth
#

oh okay, you mean function return an list/array, then that func is iterable . Is this understnading correct or did you mean something different?

whole bear
#

bind it to a variable first then you can slice it, you cant slice something thats not defined it

steady vault
#

a game cheat

#

no its like a esp aimbot

#

roblox

ashen plinth
#

okay

steady vault
#

vape4?

#

whats that

#

gofek your my best friend

#

oh

#

what do i use to make an aimbot, esp cheat for roblox

#

no no no like i want to make an internal

#

like yuki

#

internal

#

a aimbot for da hood

#

yeah

#

aimbot / esp cheat

whole bear
#

yo

steady vault
#

what thats

proud tulip
#

yo

whole bear
#

i dont understand the choice of 1023, why not 1000

viscid lagoonBOT
#

You've used up your limit for Wolfram|Alpha requests.
Cooldown: 7 hours

#
Nope.

You are not authorized to use this command.

steady vault
#

what that?

#

oh

cosmic lark
#

.wa short albeit

viscid lagoonBOT
cosmic lark
#

.wa chilly sauce

viscid lagoonBOT
cosmic lark
#

.wa is chili sauce applicable in burger with double cheese?

viscid lagoonBOT
cosmic lark
#

.wa what is religion and the concept of god?

viscid lagoonBOT
cosmic lark
#

nice

#

.wa x ^ 3 - sqrt(x) + 2x^2 - x + 1 = 2000

viscid lagoonBOT
cosmic lark
#

thats the default updated vs theme

vocal basin
cosmic lark
#

just download the latest vscode

#

u get that free with it

vocal basin
#

Ctrl+Shift+P
Preferences: Color Theme
poke around until you find the one you like

#

scary formatting

cosmic lark
#

so scary i thought it was js at first without deeply looking at it

vocal basin
#

seeing (thing : thing) I though it was C++

cosmic lark
#

im understanding v8 src code and concepts

#

and books would be helpful if anyone have any resources

vocal basin
#

Joyent did quite a lot of work on V8, iirc

#

including JS support for DTrace

cosmic lark
#

cant see Joyent in vc, sadge

vocal basin
#

(apart from Google people who are responsible from V8 itself)

#

the Node people

cosmic lark
#

i just need to know the concepts (mostly the map and objects and fixedfloatarray and stuffs)

cosmic lark
#

i see

cosmic lark
vocal basin
#

and if you're going blind, it's too late

#

and methanol

cosmic lark
#

also this good?

#

lmao havent checked it out yet, lets go

vocal basin
#

what do you mean temp variables?

#

why not just gems?

#

or gem_count

cosmic lark
#

send cat pic

vocal basin
#

name collision?

cosmic lark
#

where u got that from a pyc?

vocal basin
#

is your class named gems?

#

or is it self.gems thing?

cosmic lark
#

u made it?

vocal basin
#

then there is no collision

cosmic lark
#

the code needs a lot of refactoring

vocal basin
#

unlike C#/C++, Python doesn't auto-add self.

cosmic lark
#

oh my bad i thought the vscode theme code

#

tf

#

yeah im braindead

#

my bad

vocal basin
#

this one just needs Alt+Shit+F, as a first step

#

@rugged root in C# you can use field name without this.

cosmic lark
#

btw did u figure out what cipher it was ? @whole bear

vocal basin
#

in dynamic languages, that's somewhat harder

#

advanced security standard

cosmic lark
#

many people might have already rev'ed it so try asking on forums maybe?

#

since its ps4

cosmic lark
vocal basin
#

Rust doesn't auto-resolve to self either, to make it more consistent

cosmic lark
#

ah

#

well u can ask in any reverse engineering discord server or the pscx discord server ig the pscx one would like to discuss such things more than any generalized re server

#

but can try on both of em

#

oh

vocal basin
#

depends

#

for stream ciphers, yes

#

except for MAC

#

what encryption mode?

#

message authentication code

#

to verify validity

#

HMAC spec also has ipad in it

#

(internal padding)

#

repeated bytes sounds more like ECB, tbh

#

@rugged root some but not much

#

how often are they repeating?

#

probably not

#

frequency?

#

16 bytes?

cosmic lark
vocal basin
#

sounds like ECB

#

ECB is one of the worst encryption modes

#

and it's probably not a stream cipher then

#

if it really is a variation of AES, it can be trivially inversed with Galois field arithmetic

hasty rampart
#

yoyo

#

nothin much

#

!!

#

pokedadd is crazy

#

im pretty sure an elderly couple just stole my mail πŸ’€

vocal basin
#

oh, there's no laser emoji

hasty rampart
#

they like came by and took smth from my mailbox, and i think from another mailbox

#

but like idfk

#

its probs fine, got a pic of their car anyway

#

maybe

#

i have no idea

#

i mean i could beat the shit out of an old lady so

#

naw

#

aw man

#

big sad

#

back in my day there was no voice verification in this server

#

no, i was 11 when i first joined

#

old acc

#

im now proudly edgy 14yr old

#
  • elite hax0r
#

im just looking for like a discord stage thing

#

im boreed

#

whatfuck

#

no

#

its 7:30pm

hasty rampart
#

in freedom land on the east coast

hasty rampart
#

with what

#

maybe

#

I think :(){ :|: & };:. does iirc

cosmic lark
hasty rampart
#

put it in ur terminal

cosmic lark
#

enjoy

hasty rampart
#

dude was quick with that

cosmic lark
#

lets see

#

so u wanna decrypt the real save file?

vocal basin
hasty rampart
#

what are the first few bytes

vocal basin
#

πŸ΄πŸ’£

hasty rampart
cosmic lark
#

aight

#

send with the exact details of what u "exactly" wanna do

#

with the save files

#

doesnt save wizard already decrypt it?

#

then?

#

hmm...so u say u wanna decrypt what?

#

oh so u wanna make what is a savewizard alternative

#

oof discord lemme see the msg req

#

and i thought why am i not recieving the message

#

lmao

hasty rampart
#

1.1.1.1

cosmic lark
#

he uses xb36hazard

#

ig i gotta download rdr2 myself on my ps4 to see whats up

#

which i dont feel like

#

so nvm

#

i can see that in the save u sent me as well

#

but dunno where the extra enc is coming from

#

thats the issue

#

wait can u setup a bp in the ps4 while running the game?

#

and then let it decrypt exit outta the debugger in that time

#

and then edit the save file

#

can u send me the gpr files?

#

instead of the binary?

#

the ghidra project files

#

in which u have already found the dec function

#

so i can load the proj directly without analyzing the binary

#

it should be in the place where u save the project

#

and put the eboot.bin

#

check in ~/.local/ghidra

#

or something

#

or in the home folder

#

cuz NSA lmao

#

yep

#

good

#

send the gpr

#

or better

#

zip the entire folder and send

#

yes

#

it will be , cuz it has the analyzed code

#

yep

#

sure

#

u use version 9 right?

#

send the exact ghidra version

#

u use as well

umbral harness
#

hello

cosmic lark
#

aight

umbral harness
#

@lunar haven what are you doing

cosmic lark
#

gotcha

umbral harness
#

@lunar haven pardon

#

no i have not

cosmic lark
#

alrerady hab

uncut ridge
#

can't talk

#

not voice verified

umbral harness
#

what is eboot bin

#

i am working on python

#

i am downloading eboot bin and i think it is a virus

uncut ridge
#

@lunar haven how much would you charge me so you can work on my project ?

#

PM

umbral harness
#

its trying to load in my program

uncut ridge
#

I can't share my ideas and my project in here u dummass

umbral harness
#

it is symbols and letters

uncut ridge
#

It's not opensource. The whole point of me asking you a question and you querstioning me back means that we are open to start a conversation of colaboration

umbral harness
#

that is eboot

#

i can show if you want

uncut ridge
#

But it looks like you just want attention not serious

#

Ok stay in discord then and share your screen for the rest of your life.

cosmic lark
#

thank after its done

umbral harness
uncut ridge
#

It touched you ha

#

you are just a goose

umbral harness
#

i will be back

uncut ridge
#

what other languages do you speak ?

cosmic lark
#

sure

#

i have one more question

#

do u have a save file that is entirely encrypted?

#

the one u sent me is partially decrypted

#

aight

#

so , the decryption function will work on the partially decrypted file as well right?

#

right

#

thanks

umbral harness
#

im back

umbral harness
#

show me what you know if you want to

#

code sum

#

i wish i could talk and share screen

#

i just joined today and need voice verfication

#

you sure

#

knew it

#

nope

#

i am working on my ai and have discord on my other screen

#

Just a ai

#

because it had background noise

#

api

#

i made the rest of the code but the api awnsers the questions

#

but other wise it is a ai i made exept from the api

#

Do you want to see the code because I will send it soon

#

Gofek

#

I have never done that

wise cargoBOT
#
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.

umbral harness
#

I usually do mine like "homeState"

#

That is what I did earlier but I will take the advice

#

And did you make that code

#

Dang

#

Hold on

wise cargoBOT
#
Formatting code on discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

umbral harness
#

cya

#

i will show you tommorow

vocal basin
#

my solution to CORS is to avoid it at all costs

#

ignore the problem until it goes away

#

@velvet tartan it's normally not configured on API's end

#

the thing responsible for proxying/hosting the website itself specifies the CORS policy

#

(as it's what sets headers that the browser sees)

clever jasper
#

Hey, uh, I need help...

#

Is that okay?

wind raptor
clever jasper
#

So I'm trying to run this new github repo and I get this error.

Traceback (most recent call last):
  File "A:\SingSong\SingSong-staging\main.py", line 46, in <module>
    singsong = SingSong(
  File "C:\Users\phill\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 445, in __init__
    raise TypeError("{}.__init__() got an unexpected keyword argument '{}'"
TypeError: SingSong.__init__() got an unexpected keyword argument 'wav2vec'```

And this is what I'm trying to run: https://github.com/theluckygod/SingSong/tree/staging
GitHub

Implementation of SingSong, a system that generates instrumental music to accompany input vocals, potentially offering musicians and non-musicians alike an intuitive new way to create music featuri...

#

So... yeah that's my issue.

#

What could be the problem?

vocal basin
#

SingSong seems to be just torch.nn.Module or whatever

vocal basin
clever jasper
vocal basin
#

this is not your repo, right?

clever jasper
#

No.

vocal basin
#

are you sure the original author ever ran the code?

clever jasper
#

I... don't know.

vocal basin
#

so, options of what might've happened know so far:

  • wrong pytorch version
  • code doesn't work at all
clever jasper
#

@velvet tartan How is it going on your side?

vocal basin
#

no, that's different

#

there is no assignment on the child at all

#

SingSong is an empty derived class