#voice-chat-text-0

1 messages ยท Page 86 of 1

vocal basin
#

if you can't afford x2 memory usage, then, I think you can't reach O(N)

#

this uses x3 memory
you can reduce to x2

#

merging first and third loop

#

and removing the max_arr

sharp urchin
#

at the moment

#

:{

#

will look into it surely:]

#

i have another question

#

does this -> for i in range(len(L)-1,-1,-1): == for i in range(6,-1,-1) ???

#

given for this input

vocal basin
#

iff ``len(L) == 7`

sharp urchin
#

yehhh

#

ty

devout mica
#

sorry about that

sharp urchin
sharp urchin
#

@vocal basin just a random question

#

have you solved any question like this before which i presented earlier?

#

cuz i still dont know how this idea clicked in your head

#

so was just interested

vocal basin
#

I have solved similar problems (including more complex ones)

vocal basin
sharp urchin
vocal basin
#

WebStorm

vocal basin
#

although it costs money

#

(idk any free ones that have support for it out of the box)

somber heath
#

@devout radish ๐Ÿ‘‹

#

@tropic bear ๐Ÿ‘‹

tropic bear
#

heyyy

#

how u doing guys

#

do u have any sources about vpns ? like how vpns works on server side (detail explained) and client side

vocal basin
# tropic bear do u have any sources about vpns ? like how vpns works on server side (detail ex...

What is a secure "tunnel"? When I started to learn about computers the name confused me. I couldn't imagine how it works on a technical level. In this video we build upon knowledge from the previous videos, to develop an intuition for what a tunnel, VPN or proxy is.

LiveOverfont (advertisement): https://shop.liveoverflow.com

  1. Server Explaine...
โ–ถ Play video
tropic bear
tropic bear
#

so what's the topic of this channel?

vocal basin
somber heath
#

General conversation. Often Python. Often not.

tropic bear
#

i had some idea about it idk if it's possible or not

vocal basin
tropic bear
#

and also client side

vocal basin
#

for traffic redirection, proxy may be enough

tropic bear
vocal basin
somber heath
#

@whole bear๐Ÿ‘‹

tropic bear
#

like a proxy with a spider algorithm

#

the focus is to destroy log tracking

vocal basin
tropic bear
#

when u check logs u see one requests comes from somewhere goes somewhere and next request comes from somewhere else goes somewhere else

somber heath
#

@quaint plinth๐Ÿ‘‹

wise cargoBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.

quaint plinth
tropic bear
#

i think we can do this btw

vocal basin
# tropic bear u mean there is no way to route my traffic over tcp protocols?

Why it's a bad idea to build a Virtual Private Network using TCP. Dr Steve Bagley on TCP over TCP...

https://www.facebook.com/computerphile
https://twitter.com/computer_phile

This video was filmed and edited by Sean Riley.

Computer Science at the University of Nottingham: https://bit.ly/nottscomputer

Computerphile is a sister project ...

โ–ถ Play video
obsidian dragon
#

was I kicked from chat?

somber heath
#

@jaunty reef๐Ÿ‘‹

obsidian dragon
#

3rd time from this discord only

somber heath
vocal basin
#

it just disconnects

tropic bear
vocal basin
quaint plinth
#

how can I verify my voice?

tropic bear
vocal basin
wise cargoBOT
#

Voice verification

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

tropic bear
#

i mean how if u use udp u have to read packets on server sides and change their headers to tcp protocols and send them over the internet to the destination right?

#

so isn't it easier to use tcp at first step?

somber heath
#

@indigo sundial๐Ÿ‘‹

vocal basin
#

TCP assumes the underlying protocol doesn't make much checks

#

if the underlying protocol itself is emulated via TCP, that would mean double or more effort to check the correctness

tropic bear
#

I got it

vocal basin
#

if you're trying to make a proxy designed specifically for TCP, that would probably not be a VPN

tropic bear
#

I just didn't knew that ip level is under transport

tropic bear
#

and thanks for your helping dude it was useful

vocal basin
#

routes TCP over TCP

vocal basin
tropic bear
#

so what about it they are using tcp protocol and route traffic to the vpn servers right?

vocal basin
#

most so-called "VPNs" aren't really VPNs
for example, browser extensions

#

because the browser doesn't have the privileges to manage networks

tropic bear
#

look I just thought that if I use tcp and a encryption above my data, it's not vulnerable against something like man in middle attacks

#

because it's what is issue in our country

vocal basin
vocal basin
#

although tor has questionable legality in some places

somber heath
#

@woeful notch๐Ÿ‘‹

vocal basin
#

HTTP proxies aren't guaranteed to

#

if it's made correctly, the only MITM threat is the proxy itself

#

there's already a thing for minecraft proxying

vocal basin
#

from authors of PaperMC

tropic bear
#

and we want to make it correctly

#

but the problem is im just a full-stack application developer and web developer IDK much about networking I think I have to read some books about it lol

vocal basin
#

"> full-stack developer
what device drivers have you written?"

tropic bear
#

I'm using react for web and react native to develop cross platform programms

#

and also django for backend

#

๐Ÿ˜„

vocal basin
#

"the problem with full stack developers is that you can't push them"

#

"push" is an operation of adding an element to the stack

tropic bear
#

lol

#

I read about data structures

#

so Im not top right?

#

Im out of stack

#

lol

vocal basin
#

I use VS Code
maybe a little too much

#

Java is the first thing that VS Code recommends to do

#

"just use Rider instead"

glad sandal
#

1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9

#

1 2
2 4
3 6
4 8
5 10
6 12
7 14
8 16
9 18

#

[{ 1 0 0 0}] [{ 2 0 0 0}]
[{ 1 0 0 0} { 2 0 0 0}] [{ 2 0 0 0} { 4 0 0 0}]
[{ 1 0 0 0} { 2 0 0 0} { 3 0 0 0}] [{ 2 0 0 0} { 4 0 0 0} { 6 0 0 0}]
[{ 1 0 0 0} { 2 0 0 0} { 3 0 0 0} { 4 0 0 0}] [{ 2 0 0 0} { 4 0 0 0} { 6 0 0 0} { 8 0 0 0}]
[{ 1 0 0 0} { 2 0 0 0} { 3 0 0 0} { 4 0 0 0} { 5 0 0 0}] [{ 2 0 0 0} { 4 0 0 0} { 6 0 0 0} { 8 0 0 0} { 10 0 0 0}]
[{ 1 0 0 0} { 2 0 0 0} { 3 0 0 0} { 4 0 0 0} { 5 0 0 0} { 6 0 0 0}] [{ 2 0 0 0} { 4 0 0 0} { 6 0 0 0} { 8 0 0 0} { 10 0 0 0} { 12 0 0 0}]
[{ 1 0 0 0} { 2 0 0 0} { 3 0 0 0} { 4 0 0 0} { 5 0 0 0} { 6 0 0 0} { 7 0 0 0}] [{ 2 0 0 0} { 4 0 0 0} { 6 0 0 0} { 8 0 0 0} { 10 0 0 0} { 12 0 0 0} { 14 0 0 0}]
[{ 1 0 0 0} { 2 0 0 0} { 3 0 0 0} { 4 0 0 0} { 5 0 0 0} { 6 0 0 0} { 7 0 0 0} { 8 0 0 0}] [{ 2 0 0 0} { 4 0 0 0} { 6 0 0 0} { 8 0 0 0} { 10 0 0 0} { 12 0 0 0} { 14 0 0 0} { 16 0 0 0}]
[{ 1 0 0 0} { 2 0 0 0} { 3 0 0 0} { 4 0 0 0} { 5 0 0 0} { 6 0 0 0} { 7 0 0 0} { 8 0 0 0} { 9 0 0 0}] [{ 2 0 0 0} { 4 0 0 0} { 6 0 0 0} { 8 0 0 0} { 10 0 0 0} { 12 0 0 0} { 14 0 0 0} { 16 0 0 0} { 18 0 0 0}]

vocal basin
#

if it saves to the file, there might be concurrency issues, I guess?

#

X array, Y array

glad sandal
#

one moment

#

@coarse ridge

#

brb

vocal basin
#

[[1,2,3],[2,4,6]]
is a transposed version of
[[1,2],[2,4],[3,6]]

glad sandal
#

yeah

vocal basin
vocal basin
#

@coarse ridge
one array per dimension
those are not arrays of points

#

same as in matplotlib

hoary olive
#

Hello AF

glad sandal
uncut meteor
#

I'm probs going to use something like this as a service to write display metrics on a dashboard for one of my projs.
thanks for showing me @glad sandal

sharp urchin
#

@hoary olive yo

hoary olive
#

i see you updated your about me ๐Ÿ˜… agreed

glad sandal
ancient lily
#

@sharp urchin hello

cobalt crater
#

hi how are you

sharp urchin
#

always bttr than ystrdy

#

:}

cobalt crater
cobalt crater
#

?

#

are you american

sharp urchin
#

am not

cobalt crater
sharp urchin
#

brb

cobalt crater
sharp urchin
somber heath
#

@steel elm ๐Ÿ‘‹

#

@nimble flame ๐Ÿ‘‹

nimble flame
somber heath
#

@near bear ๐Ÿ‘‹

near bear
#

hello

#

would ye guys say that javascript is "good" for AI development inside websites? because I don't know how to connect python to websites without using flask or <py-script>

#

sorry disconnected

#

could you repeat

#

isn't it always better to use a newer version of python, I know that some libraries don't work because they have not been updated but still because it has better features when it come to debugging

Also I'm coming back to python, it's been a while so sorry if some questions seem dumb

#

haven't used it much latley so I forgot everything

#

BRB gtg for 20mins

somber heath
#

@jagged island It's apparently not big enough to supernova.

ashen wave
#

How to make a OAuth2 bot in python i am a little confused because its not working as expected so can someone show me how to make this?

vivid palm
vocal basin
#

that would mean you can't stream browsers

whole bear
#

Good night folks !

vocal basin
#
  • spoofing what's streamed is quite easy
vivid palm
#

hey yu

#

get it

vocal basin
vivid palm
#

kek

#

you must get that all the time

#

one of my childhood friends also had that name

vocal basin
#

I'm not actually fully aware of what happened to them

#

I'll change the name back to "AF" (or maybe even the full form of the name) when my nitro subscription ends (25th of February)

vivid palm
#

you can still have server specific nicks w/o nitro

#

unless the pfp is part of the Yu persona

vocal basin
old heart
#

A Python script walks into a bar and orders a drink. The bartender looks at him and says, "Sorry, we don't serve your kind here."

The Python script replies, "What do you mean? I'm just here to grab a drink."

The bartender responds, "I know what you are. You're one of those snakes. You're always slithering around, causing trouble and making a mess of things. I don't want any trouble in my bar."

The Python script, feeling offended, decides to leave. As he's walking out the door, he turns around and says, "You know what? I don't need your bar. I'll just go hang out with my fellow developers on Discord. They appreciate me for who I am."

The bartender, feeling a bit guilty, calls after him, "Hey, wait! I'm sorry. I didn't mean it like that. Come back and have a drink on me."

The Python script, feeling generous, decides to give the bartender a chance. He walks back to the bar and says, "Okay, I'll have a drink. But only if you promise not to make any more snake jokes."

The bartender nods and says, "I promise. No more snake jokes."

The Python script orders his drink and starts to relax. But just as he's about to take a sip, the bartender leans in and whispers, "Hey, did you hear the one about the Python who swallowed an elephant whole?"

The Python script sighs and says, "I knew it. I should have stuck with Discord."

vocal basin
#

oof
I can't play this game anymore

old heart
#

Well, its 2023, you did well friend!

vocal basin
#

turn off echo cancellation

#

echo cancellation kills music

#

and voice sometimes

vivid palm
#

ooh i love this one

#

it's so cheezy

#

i love

tidal salmon
#

@leaden comet @vivid palm what's happening

vivid palm
#

lemon's singing

tidal salmon
#

The thong song?

vivid palm
#

we had a whole sampling

old heart
#

very much enjoyed the conversation all, I'm off now. Great music Lemon rocket_cat

vocal basin
#

still experimenting with image generation

unborn storm
#

because that reminds me of what some can do

vocal basin
#

cellular automation takes more computational resources per pixel

#

current animation algorithm takes only twice more time than just making a video from a zero array

vocal basin
#

the generation part doesn't really get influenced (time-wise) by the number of dimensions because most time it's spending is in python not numpy

vivid palm
#

i changed the afk setting to 1hr lol

vocal basin
unborn storm
#

heaps are funny

vocal basin
#

same thing

unborn storm
#

mhhh not really ?

vocal basin
#

priority queues are implemented via heaps

#

quite often

#

!d heapq

wise cargoBOT
#

Source code: Lib/heapq.py

This module provides an implementation of the heap queue algorithm, also known as the priority queue algorithm.

Heaps are binary trees for which every parent node has a value less than or equal to any of its children. This implementation uses arrays for which heap[k] <= heap[2*k+1] and heap[k] <= heap[2*k+2] for all k, counting elements from zero. For the sake of comparison, non-existing elements are considered to be infinite. The interesting property of a heap is that its smallest element is always the root, heap[0].

unborn storm
#

oh so you, priority qeue

#

sorry, i don't have the english exact names

#

thought of just a simple queue

#

but yeah, indeed, if you have priorities, then it'' basically like a queue

vocal basin
limpid sparrow
leaden comet
vivid palm
vocal basin
leaden comet
vocal basin
vocal basin
#

@somber heath

vocal basin
#

and no noise, accidentally

#

video with the same settings (different seed)

vocal basin
#

what happens when the priority has no dependence on the previous priority:

#

results don't vary much from the stack variant

vocal basin
#

this even inverts the previous priority
the only thing it seems to do is add some noise

unborn storm
velvet tartan
unborn storm
limpid cove
glad crow
#

hello all

glad crow
#

i would talk but my mic is trash

#

@somber heath havent seen u in a bit

#

@limpid cove train a neural network

#

youve never trained a neural network?

limpid cove
#

no

glad crow
#

rn im training a neural network to detect CSAM

#

as a contract

sharp urchin
#

hmm ...first one i have seen in this server

glad crow
#

"enthusiast" would be a better word

sharp urchin
#

ohh ok ...

limpid cove
#
package main

import (
    "context"
    "fmt"
    "os"

    "dagger.io/dagger"
)

func main() {
    if err := build(context.Background()); err != nil {
        fmt.Println(err)
    }
}

func build(ctx context.Context) error {
    fmt.Println("Building with Dagger")

    // define build matrix
    nimVersions := []string{"latest"}
    goVersions := []string{"1.18", "1.19"}

    // initialize Dagger client
    client, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stdout), dagger.WithWorkdir(".."))
    if err != nil {
        return err
    }
    defer client.Close()

    // get reference to the local project
    src := client.Host().Directory(".")

    // create empty directory to put build outputs
    // TODO: this directory should be named after the project
    outputs := client.Directory()
    for _, nimVersion := range nimVersions {
        fmt.Printf("Build for Nim versions: %s\n", nimVersions)
        for _, goVersion := range goVersions {
            fmt.Printf("Build for Go versions: %s\n", goVersions)
            // get `golang` image for specified Go version
            goImageTag := fmt.Sprintf("golang:%s", goVersion)
            golang := client.Container().From(goImageTag)

            // get nim image for specified nim version
            nimImageTag := fmt.Sprintf("nim:%s", nimVersion)
            nimlang := client.Container().From(nimImageTag)

            // mount cloned repository into `golang` image
            golang = golang.WithMountedDirectory("/src", src).WithWorkdir("/src")
            // mount cloned repository into `nim` image
            nimlang = nimlang.WithMountedDirectory("/src", src).WithWorkdir("/src")

            // create a directory for each os, arch and version
            path := fmt.Sprintf("build/%s/%s/%s/", nimVersion, goVersion, "linux")

            // build application
            gobuild := golang.WithExec([]string{"go", "build", "-o", path})
            nimbuild := nimlang.WithExec([]string{"nim", "js", "--out:" + path, "./frontend/app.nim"})
            // copy build artifacts to root directory of the project
            fmt.Println("Copying build artifacts to root directory of the project")
            fmt.Printf("gobuild: %v\n", *gobuild)
            fmt.Printf("nimbuild: %v\n", *nimbuild)
            // get alpline image
            // alpine := client.Container().From("alpine")
            // mount cloned repository into `alpine` image
            // alpine = alpine.WithMountedDirectory("/src", src).WithWorkdir("/src")
            // copy build artifacts to root directory of the project
            // gobuild.WithExec([]string{"cp", path, "."})
            // nimbuild.WithExec([]string{"cp", path, "."})

            // get reference to build output directory in container
            outputs = outputs.WithDirectory(path, golang.Directory(path))
            fmt.Printf("golang outputs: %v\n", outputs)
            
            outputs = outputs.WithDirectory(path, nimlang.Directory(path))
            fmt.Printf("nimlang outputs: %v\n", outputs)

        }
    }
    // write build artifacts to host
    _, err = outputs.Export(ctx, ".")
    if err != nil {
        return err
    }
    return nil
}```
glad crow
#

jkjk

#

pytorch is a hefty package to install

limpid cove
#

Building with Dagger
Build for Nim versions: latest
Build for Go versions: 1.18
Copying build artifacts to root directory of the project
gobuild: {0xc0001a85c0 {0xc000194180}}
nimbuild: {0xc0001a8680 {0xc000194180}}
golang outputs: &{0xc0001a87c0 {0xc000194180}}
nimlang outputs: &{0xc0001a8900 {0xc000194180}}
Build for Go versions: 1.19
Copying build artifacts to root directory of the project
gobuild: {0xc0001a8dc0 {0xc000194180}}
nimbuild: {0xc0001a8e80 {0xc000194180}}
golang outputs: &{0xc0001a8fc0 {0xc000194180}}
nimlang outputs: &{0xc0001a9100 {0xc000194180}}
#1 resolve image config for docker.io/library/nim:latest
#1 ...

#2 resolve image config for docker.io/library/golang:1.18
#2 DONE 0.3s
input:1: container.from.withMountedDirectory.withWorkdir.directory lstat /tmp/buildkit-mount2081978398/build/latest/1.18/linux: no such file or directory

glad crow
#

so quiet

vocal basin
glad crow
#

wonderful

#

discord dies

#

died

vocal basin
#

"this is fine"

#

ohno

#

the new preview

#

it's very not correct

vocal basin
#

(for multiple attachments)

glad crow
#

my workstation has 64

vocal basin
#

python used 10 physical + 2 swap

glad crow
#

but my cloud instance has 512

#

for ML

#

and 2x RTX 6000s

vocal basin
vocal basin
#

half the time of rendering is spent in opencv, and half in numpy
(almost nothing in python itself)

glad crow
#

what are you rendering?

glad crow
#

ah u rendering using the gpu?

#

hopefully

vocal basin
glad crow
#

๐Ÿ‘€

#

what cpu are u rendering on

vocal basin
#

Ryzen 5 1500X

glad crow
#

do u have a gpu?

vocal basin
#

Radeon RX 590
so, no CUDA, only OpenCL

glad crow
#

ah

vocal basin
#

I can rewrite in OpenCL

#

but it's not a time investment I'm willing to make

glad crow
#

id prefer to keep my braincells

#

lol

vocal basin
#

rendering part is easily paralleliseable

#

it takes things generated by the stack algorithm and merges them in different ways

glad crow
#

30 gigs of nsfw pictures im downloading

#

to train a nurel network

#

i never thought id do such a thing

vocal basin
glad crow
#

can i see ur code?

vocal basin
# glad crow can i see ur code?

if you can explain what the following line does, then maybe
(named constants replaced for values)

colours[:, :, :3] /= np.maximum(1e-9, np.sqrt(np.sum(colours[:, :, :5] ** 2, axis=2))).reshape((1080, 1920, 1))
vocal basin
vocal basin
glad crow
#

it looks like it normalizes an image?

#

height width and colors

vocal basin
glad crow
#

hmm

vocal basin
#

or maybe I forgot the correct term

#

yes, with 3 it's normalisation

glad crow
#

well

#

im an ai nerd so

#

better with torch and scikit

#

@zinc sinew its not better than my av

#

@somber heath and I had a good conversation about python avs a few weeks back

vocal basin
glad crow
#

@zinc sinew what does it use?

zinc sinew
glad crow
#

for detection

zinc sinew
#

regex

glad crow
#

Heuristic or Sigs?

zinc sinew
#

oh hueristics

#

wait whaats the difference

glad crow
#

oh god

vocal basin
glad crow
vocal basin
zinc sinew
vocal basin
#

!d ast

wise cargoBOT
#
ast

Source code: Lib/ast.py

The ast module helps Python applications to process trees of the Python abstract syntax grammar. The abstract syntax itself might change with each Python release; this module helps to find out programmatically what the current grammar looks like.

An abstract syntax tree can be generated by passing ast.PyCF_ONLY_AST as a flag to the compile() built-in function, or using the parse() helper provided in this module. The result will be a tree of objects whose classes all inherit from ast.AST. An abstract syntax tree can be compiled into a Python code object using the built-in compile() function.

glad crow
vocal basin
glad crow
#

Signature-based detection involves scanning files and looking for a specific pattern or signature that matches a known virus or malware. When a signature is identified, the anti-virus software can then take action, such as quarantining or deleting the infected file. Signature-based detection is effective in identifying known viruses and malware, but it can be less effective against new or unknown threats.

Heuristic-based detection, on the other hand, involves using rules and algorithms to detect behavior or characteristics that are commonly associated with malware. Heuristics-based detection can help identify new or previously unknown malware by analyzing the behavior of the program, which can include things like system calls, file access patterns, and other activities that are indicative of malicious behavior. Heuristic-based detection is more flexible than signature-based detection, but it can also produce more false positives and require more system resources to analyze every file.

glad crow
#

mine mainly relied on heuristic but it had a signature based runner

glad crow
#

can i see ur code so far?

zinc sinew
#

sure

#

ill send you a prototype i made since ive only been working on graphics for my final version

sly gazelle
#

can i get help with my Homework??

glad crow
#

alr

zinc sinew
glad crow
zinc sinew
sly gazelle
#

I dont now if i can send files in here or not to show yall

vocal basin
#

!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.

zinc sinew
#

you can copy paste code

#

yep

glad crow
zinc sinew
#

good question

#

the most it uses at once is 4

vocal basin
zinc sinew
sly gazelle
vocal basin
sly gazelle
#

i keep getting a error and i dont now why ill send what i have to far to you

zinc sinew
sly gazelle
#

print("Your Bank-Loan Department\n")
print("The purpose of this form is to calculate and display your monthly payment on a loan\n")
Name=input("Enter Customer's Name:\n")
number=input("Enter Loan Amount:\n")
payment=input("Enter Number of Payments:\n")
varible=1.5float(number)
newV=1.5 **float(payment)
newVy= newV
varible
newVyz= newV-1
total= newVy/newVyz

wise cargoBOT
#

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.

zinc sinew
#
print("The purpose of this form is to calculate and display your monthly payment on a loan\n")
Name=input("Enter Customer's Name:\n")
number=input("Enter Loan Amount:\n")
payment=input("Enter Number of Payments:\n")
varible=1.5float(number)
newV=1.5 **float(payment)
newVy= newVvarible
newVyz= newV-1
total= newVy/newVyz```
zinc sinew
#

yeah

#

otherwise it should work as specified

glad crow
#

trying to get my av woking

sly gazelle
#

Traceback (most recent call last):
File "C:\Users\olabi\Desktop\HW3_Israel_Akinlabi_SP23.py", line 13, in <module>
varible=1.5*float(number)
ValueError: could not convert string to float: ''

#

thats the error i get

zinc sinew
sly gazelle
#

i set my input as something ??

zinc sinew
#

oh

vocal basin
sly gazelle
#

i put 10000 for the loan amount, then for numbers of payment i put in 36

vocal basin
#

where do you run the program?

#

and how do you enter the input?

#

if you're using something like web environment, then, I guess, there might be issues

sly gazelle
glad crow
#

@zinc sinew almost done

zinc sinew
#

i made a simple one liner that should solve the problem

vocal basin
# sly gazelle

on the first run, there is an error because you didn't put anything as an input

zinc sinew
#
n= int(input())
payment = (rate*(1+rate)^n/((1+rate)^n-1))
#

oof i forgot to multiply by L

glad crow
#

@zinc sinew what cpu do u have?

zinc sinew
vocal basin
#

also: don't solve homework for other people, answer the questions instead

zinc sinew
#

right

glad crow
wise cargoBOT
#

8. Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them.

zinc sinew
glad crow
zinc sinew
#

you can use parentheses and so on

#

if you need to go any further with it theres a module called math which adds more functionality

vocal basin
#

!e

print(2^3)
wise cargoBOT
#

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

1
zinc sinew
#

but as shown i forgot that the power symbol doesnt work like that

vocal basin
#

!d math

wise cargoBOT
#

This module provides access to the mathematical functions defined by the C standard.

These functions cannot be used with complex numbers; use the functions of the same name from the cmath module if you require support for complex numbers. The distinction between functions which support complex numbers and those which donโ€™t is made since most users do not want to learn quite as much mathematics as required to understand complex numbers. Receiving an exception instead of a complex result allows earlier detection of the unexpected complex number used as a parameter, so that the programmer can determine how and why it was generated in the first place.

zinc sinew
glad crow
#

!e

def hello():
  hello()
wise cargoBOT
#

@glad crow :warning: Your 3.11 eval job has completed with return code 0.

[No output]
zinc sinew
#

he forgor to run the function

glad crow
zinc sinew
sly gazelle
zinc sinew
#

it would ask you for the input

#

ive fixed it to ask you for the specified numbers

#
rate= int(input())
print("input how many payments youve already made")
n= int(input())
print("input the amount of the loan")
L = int(input())
payment = (rate*(1+rate)**n/((1+rate)**n-1)) * L```
sharp urchin
#

@vocal basin needed to ask a question

#

how to learn algorithms?

#

should i like see a yt for it and then solve them yeh?

zinc sinew
vocal basin
#

!pep8

wise cargoBOT
#

PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.

More information:
โ€ข PEP 8 document
โ€ข Our PEP 8 song! :notes:

sharp urchin
#

m not sure if that was meant for me

#

if it was then i cant see a section for algos

sly gazelle
# zinc sinew it would ask you for the input

it gave me this : Traceback (most recent call last):
File "C:/Users/olabi/Desktop/Test3.py", line 7, in <module>
rate= int(input())
ValueError: invalid literal for int() with base 10: '1.5'

vocal basin
zinc sinew
#

oof

vocal basin
zinc sinew
#

righty

sharp urchin
#

i am guessing

#

there is a yt for it which is 6hrs long so i am thinking to have a look

vocal basin
#

there are systematical ways to learn algorithms

sharp urchin
#

so i wanted to improve

#

have learnt few aglos till now which i am using

zinc sinew
#

which is as tedious as redefining them

sly gazelle
vocal basin
#

idk if leetcode shows others' solutions

#

if you can't understand those solutions, you can google the problem

#

there also are courses on algorithms
whether good or bad, those courses at least provide some awareness

#

Wikipedia has quite good information on algorithms/data structures

#

there might be some other sites too

sharp urchin
#

courses have always helped me

vocal basin
sharp urchin
#

the site would do it for me if you can provide

#

only the names of the algos is what i need

vocal basin
#

I or someone else who is aware of what the names stand for would have to translate the list
(automatic translation doesn't understand those names)

vocal basin
vocal basin
sharp urchin
#

cool ty :]

vocal basin
#

that looks like somewhat old code

sharp urchin
vocal basin
sharp urchin
#

for how many years have you been programming?

#

if you dont mind tellling

vocal basin
sharp urchin
vocal basin
sharp urchin
#

i am guessing this was the code written by you

#

ahhhhh

#

!!1

#

my bad

vocal basin
sharp urchin
#

ohh

vocal basin
#

I once tried installing it but it had some requirements conflicting with the rest of the things

#

Docker support was added only in 2023

whole bear
#

yikes

wise cargoBOT
#
Missing required argument

code

whole bear
#

Hi. Please difference between Python Virtual Environment and Python Virtual Machine

somber heath
#

@finite bloom ๐Ÿ‘‹

finite bloom
#

yo

#

cant you hear me

#

?

finite bloom
#

๐Ÿ˜„

#

i made an ad skipper

#

like automatically skips ads

#

i can hear you u know?

#

what are you struggling with?

#

@somber heath

#

mhm

somber heath
#

I don't follow.

wise cargoBOT
#

Hey @finite bloom!

It looks like you tried to attach file type(s) that we do not allow (.mkv). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.

Feel free to ask in #community-meta if you think this is a mistake.

finite bloom
#

bruh

#

@somber heath

#

whats the problem

#

?

#

@somber heath

wise cargoBOT
#

Hey @finite bloom!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

finite bloom
#

thats the ad skipper

#

but you need to have the images so it can work

#

:)

somber heath
whole bear
#

Whoa.. this answer is ready for publication.. in a book! Thanks!

somber heath
#

I disagree.

whole bear
#

You did it with ChatGPT? ๐Ÿค”

somber heath
#

You're welcome.

#

Are you familiar with the term "fighting words"?

whole bear
#

"segregated filesystem environment" <- this is advanced

#

No, what is "fighting words"

somber heath
#

Words which constitute a verbal assault designed to provoke a physical altercation.

#

I was making a joke.

whole bear
#

๐Ÿ˜ฆ

#

I like answer. I need Virtual Environment, no need for graphics card

#

So I need Python Virtual Environment

#

What is TOX?

somber heath
#

"Hurr, how dare you suggest I lowered myself and used ChatGPT Have at thee!" sort of thing.

whole bear
#

You speak like Monkey Island

#

Pirate

somber heath
#

Yarr.

#

Never used it.

whole bear
#

So I don't need this

#

Only Virtual Env

somber heath
#

I've never used it. This is not to suggest that you won't.

#

Do you have a particular need for it?

whole bear
#

No, just project setup

#

All the things I need

#

For Python development

#

What is good first program to write?

#

Hallo

#

print("hello, world")

#

link?

somber heath
#

YouTuber: Corey Schafer. Playlists.

whole bear
#

142 videos

#

๐Ÿคฆโ€โ™‚๏ธ 142 is much but one to start..

#

which one start?

#

ok i choose

#

i want to watch anaconda

#

11min24sec

somber heath
#

!resources

wise cargoBOT
#
Resources

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

whole bear
#

i am watching

#

he says no need to use anaconda if you dont have problems with python

#

i dont have problems lol

#

i think i need to watch all of these videos

#

you watch it all? @somber heath

#

white belt to black belt

#

ok. i watch this videos

#

i want to learn it all

#

is mac best or windows for python

#

@sharp urchin which is best please

sharp urchin
whole bear
#

linux hard core

#

linux h4ckr

sharp urchin
#

also as far as ik it doesnt really matter until unless you dont have keys or a screen on your system

whole bear
#

is linux the virtual machine above?

#

linux inside mac?

#

i want easy to install

#

i have mac

#

also have windows

#

@sharp urchin which you use

sharp urchin
#

windows

whole bear
#

ok. so i will use too

#

mac faster. m1

#

ok let's do one exercise in python

#

@sharp urchin you have simple exercise?

sharp urchin
#

hello @warm jackal

#

how are ya

whole bear
#

@warm jackal hey. MIT <- Uni + sys

#

amenable?

#

@warm jackal you have a python beginner exercise

#

they break window

#

you can put stink bomb

#

like youtuber

#

stink bomb but they steal package any ways

#

@warm jackal you dont read chat

#

@sharp urchin what is

sharp urchin
#

nm

whole bear
#

??

sharp urchin
#

was testing a thing

whole bear
#

it's like a spam?

sharp urchin
#

no

whole bear
#

@sharp urchin please help with the python

sharp urchin
#

whats your problem in python?

whole bear
#

@sharp urchin learning help, please

#

@somber heath i bet you no listen to mountain things

#

mountain is lost text stream

#

nobody is in mountain channel right now

sharp urchin
#

i am doing good

#

:}

#

hows is your health now

#

i hope your better

#

glad to hear tht ...wish you a fast recovery

whole bear
#

@sharp urchin you occupied but in chat. doing what..?

sharp urchin
#

if you are interested:]

#

while i listen to people speak on speaker

whole bear
#

what is interesating discussion

#

@somber heath which discussion? topic?

#

he say that you were there

#

but why no python in chat channel

#

ok i go watch video tutorials

#

@obsidian dragon the name

#

@obsidian dragon you python programmer

#

@obsidian dragon you secret python programmer?

sharp urchin
#

nvmm

whole bear
#

unofficial

sharp urchin
#

whats that

#

secret

whole bear
#

let's make it official

#

like marriage

#

@obsidian dragon why you say that.

#

@warm jackal i wanted to do the exercise but i found tutorials

#

tae bo?

#

@obsidian dragon what is tae bo

#

@obsidian dragon ?!

#

but i ask python why you say tae bo

somber heath
#

Do your ears hang low? Do they wobble to and fro? Can you tie them in a knot? Can you tie them in a bow?

whole bear
#

@obsidian dragon you watch python tutorial?

#

what is difference between python module and python package please

sharp urchin
#

list of function, classes , objects , etc stored = module

somber heath
#

A Python package will typically refer to the files provided for download. A module is a .py file or multifile Python project structure in a folder made up of several such .py files.

sharp urchin
#

group of modules = package

#

in simple terms

icy sinew
#

hi , what are you guys doing??

somber heath
#

@keen sable๐Ÿ‘‹

whole bear
#

@lapis thunder ๐Ÿ‡ง๐Ÿ‡ท

lapis thunder
whole bear
#

@lapis thunder Neymar!

lapis thunder
#

noo

#

he is bad

whole bear
#

why bad

#

he leader of world cup team no?

lapis thunder
#

he only knows how to fall.
does not compare to Ronaldo, Ronaldinho, Romario, Kaka and Robinho

sharp urchin
#

literally said this ."I apologize for the confusion once again. You are correct, there is still an error in the code I provided." 10 times

lapis thunder
whole bear
#

ronaldinho -> brujo

#

ronaldo -> fenomeno

#

โšฝ ๐Ÿ‡ง๐Ÿ‡ท ๐Ÿ† ๐Ÿ† ๐Ÿ† ๐Ÿ† ๐Ÿ†

sharp urchin
#

aight imma take my dog for a walk now

#

catch yall later

#

:]

#

byeee

icy sinew
#

XD whats going on here ??

lapis thunder
#

only children like Neymar.

icy sinew
#

mbappe?

lapis thunder
#

mbappe is so better than Neymar

icy sinew
#

agreed!

whole bear
#

mbappe super strong

#

what happen to cr7? like play with basics? to make goal?

#

or for money

icy sinew
#

i feel bored.

#

@somber heath sorry i am not a native speaker of english. i cant understand your accent

#

๐Ÿ™‚

somber heath
#

@whole bear๐Ÿ‘‹

#

I said this is around the time of week and day it starts to get busy.

#

@west prism๐Ÿ‘‹

west prism
#

I haven't used voice chat before

somber heath
#

I've never skydived.

#

Though I did fall out of a tree, once.

#

@lapis talon ๐Ÿ‘‹

lapis talon
#

hi

#

I am muted for some reason

wise cargoBOT
#

Voice verification

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

lapis talon
#

!voice

#

I see

#

Do you know anything about model.fit?

#

I am following a tutorial and it is giving me valueError for some reason

#

tensorflow

#

I will give that a try then, thanks

rugged root
#

Mornin

#

Hey x10

#

@warm jackal I'm not afk

#

Your mom is afk

#

@dreamy stump Yo

dreamy stump
dreamy stump
somber heath
#

@dreamy stump๐Ÿ‘‹

dreamy stump
#

wrong message

rugged root
#

The intent was understood

dreamy stump
#

how do i fix internet issues

rugged root
#

Hey Griff

dreamy stump
#

my internet

#

my wifi

rugged root
#

@uncut meteor At least 1

somber heath
#

How does the problem present?

rugged root
#

Interwubs

dreamy stump
#

my internet is gud, but I can't join voice channels properly

#

and talk properly

rugged root
#

@lapis talon Yo

lapis talon
#

Hello

dreamy stump
#

I can try, but probably wont be able to

rugged root
#

How's it going

lapis talon
#

Trying to solve a model.fit issue from a tutorial video

dreamy stump
lapis talon
#

I am following it by the book but it is giving me a valueError

somber heath
#

If a spider is wearing a dashing suit, is he wearing threads?

rugged root
#

I was. I stepped down because I couldn't dedicate the time to the admin duties that it deserved. I wanted to make room for folks who could

#

Granted, I'm still staff

rugged root
dreamy stump
#

ye it says former admins

rugged root
#

@vocal basin Sup

rugged root
#

Octet?

vocal basin
#

octet is a typical byte

rugged root
#

Spocktet

dreamy stump
#

hold on

vocal basin
dreamy stump
#

switzerland's flag is not rectangular?

vocal basin
dreamy stump
#

but like, it's a square

#

not a rectangle

rugged root
vocal basin
#

squares are rectangles

rugged root
#

Hexa Deca

#

So 6 10

dreamy stump
#

ok imma stop, it's like arguing that 2 is not 2, it's 1+1

rugged root
#

@uncut meteor There's only one that matters

uncut meteor
#

a real gem

somber heath
#

@dreamy belfry๐Ÿ‘‹

vocal basin
#

I don't remember what's the lower limit for the bit size of char in C

dreamy belfry
#

helloooooooooooooo

rugged root
#

Yo

#

@somber heath And because you're truly truly truly outrageous

dreamy belfry
#

my username means BLACKCAT

rugged root
#

Golf Echo Mike

#

If memory serves..... allthatglitters was a cheat code in Warcraft 2

dreamy belfry
#

u guys don't teach SQL??

rugged root
#

I mean we can help with it

somber heath
#

@sweet kelp๐Ÿ‘‹

rugged root
#

But we don't like teach it teach it

#

I haven't said anything relevant to him, really

#

Other than correcting him

vocal basin
dreamy stump
#

it's really just that

rugged root
#

Spot on

#

I thought I was talking

#

It's crazy

uncut meteor
#

banananas

#

8 octals

dreamy stump
#

isnt that better?

rugged root
#

That's for private times

#

If you're not very excited about your fruit, would that be a blahnana?

#

Or a mehndarin orange

rugged root
dreamy stump
dreamy stump
#

to be a horrifying combo

rugged root
#

Empeaches

uncut meteor
#

walking on the peaches

dreamy stump
#

hold on I got some pepperannas

vocal basin
rugged root
#

No

#

My brain

#

No

#

I hate it

dreamy stump
#

I got rid of it

rugged root
#

@uncut meteor Just wrapping a whole slice around a pineapple

#

Not even cut up

vocal basin
#

pizza on pineapple
I sadly still remember that picture

rugged root
vocal basin
#

mock brain

dreamy stump
rugged root
#

Letting my meds do the thinking for me

#

By the power of Vyvanse and Zoloft I command thee!

dreamy stump
#

so I have a proxy brain too ig

rugged root
#

BitWarden

dreamy stump
#

Keepass 2

#

bruh I was searching for how is word volountire spelled and I have found nothing but some arabic websites

vocal basin
#

diceware

dreamy stump
vocal basin
dreamy stump
#

hold on I got some butter

#

what is the wor(be)st thing to mix that with

vocal basin
dreamy stump
#

no diceware is a password generator

vocal basin
#

it's not for keeping
it's for generation

dreamy stump
#

I edited first

#

you stole it from me

#

copyright

#

you can also lookup passwords in diceware iirc

vocal basin
#

you can't lookup passwords

#

only the original set of words

vocal basin
wide gorge
#

call me sniper

dreamy stump
#

that is absolutely related to what we are talking about

dreamy stump
wide gorge
#

python discord

dreamy stump
wide gorge
#

no, i don't want a backend for a discord bot, i want the discord server

vocal basin
wide gorge
dreamy stump
#

pycord

vocal basin
ancient lily
#

hello @somber heath

vocal basin
#

original pycord that is

#

py-cord, however, is

dreamy stump
#

bruh

#

bruh it actually is py-cord

#

even in pip install

dreamy stump
vocal basin
#

because they (developer(s) of py-cord) decided not to check whether the name has already been picked before choosing it

dreamy stump
#

because if you google it, it shows the py-cord lib

#

which is related to discord

vocal basin
dreamy stump
#

but if you google it you can see the word Discord on your scren

#

and even more than once

#

that is all that matters

#

nobody cares about pypi

vocal basin
vocal basin
#

1995

#

and in 2014 people started paying more attention to it

dreamy stump
vocal basin
dreamy stump
rugged root
#

Rhythm and Bruise

#

If there's a brawl between the band members

#

Same

#

I didn't either

#

Wish I could relate

#

They on vacation?

#

@amber raptor

#

Ah that would do it

#

I was thinking maybe she was adding to the body count

#

"Have to go to more funerals! MORE!!!!!!"

#

Very understandable

#

@sweet lodge Yo

sweet lodge
rugged root
#

Oh no

#

OH NO

#

Why

sweet lodge
#

Guido's containers?

#

Oh Windows?

rugged root
#

What would they even gain from that

sweet lodge
#

But .NET is Windows only!!

rugged root
#

It's not though

vocal basin
rugged root
#

Wow

vocal basin
rugged root
#

Sounds right

sweet lodge
#

You can RDP

#

Sounds like a PITA

vocal basin
rugged root
#

Yeah it's...

#

Jesus

vocal basin
sweet lodge
rugged root
#

I really should look into how much of a feat of bullshit it is to go from framework to core

#

I've been curious

sweet lodge
sweet lodge
# rugged root I really should look into how much of a feat of bullshit it is to go from framew...

Scott Hanselman has been blogging for 20 years and podcasting for 16 and largely on legacy hardware and operating systems. All of the stuff heโ€™s been doing on the side and like many companies he's created a lot of technical debt. He discovered something very concerning about his hosting provider and decided to move into the cloud.

This technica...

โ–ถ Play video
#

Really cool guy BTW

vocal basin
# sweet lodge (am memeing)

((yes, I understood that; but a remark if there accidentally is someone who read that and who didn't understand))

rugged root
sweet lodge
rugged root
#

Wow, even the doc section is fairly slim

#

I know it shouldn't be that tough

#

Just hadn't looked at it

vocal basin
rugged root
#

Fair, they're still having to maintain legacy GUI frameworks for that exact reason

#

Word

#

In fairness, Blazer is awesome

sweet lodge
#

I did that

#

Is not terrible

rugged root
#

Huh, it's interesting... With regards to WF (Windows Workflow Foundation), they actually link to an unofficial alternative on their docs

#

It is kind of cool seeing them lean on the community

#

Yeah

sweet lodge
# sweet lodge I did that

Moved my container to Azure, so I had write an API to run locally to pass requests through to on premise resources

rugged root
#

It'll be interesting to see their list of reasons

#

And hearing you go "no, no, no, you're dumb, this is a thing in Linux, no, you're still dumb...."

sweet lodge
rugged root
#

Just putting x's next to the bullet points

#

Understandable

#

If you want help with that....

#

I'm always happy to rebutt

sweet lodge
#

Yeah why are they

rugged root
#

Like... it's the same with some minor exceptions

#

Shoot them

rugged root
sweet lodge
#

Oh I know

#

Deprecations/removals/whatever can suck

rugged root
#

"No we're not shutting down the security firewall because you want it to be more convenient for you"

vocal basin
#

have no time to learn
wtf

rugged root
#

Right?

sweet lodge
#

My boss still wants MFA removed

rugged root
#

We've already established that your boss is a waste of flesh

sweet lodge
#

"too inconvenient"

rugged root
#

And will take the whole company down with him

sweet lodge
rugged root
#

I'm grateful that mine aren't

#

Mainly because they have to deal with their own - yeah in tech

#

Fair

sweet lodge
#

oh no

rugged root
#

Wonder often there's a D scenario where management essentially abandoned the team or had someone in the team temporarily take up the torch and just went "Eh, this person actually is good, we'll keep them there"

rugged root
#

Back in a sec

vocal basin
#

The kind of talk that only Bryan Cantrill of Joyent can give, one which (enthusiastically) explores the importance of leadership principles ranging from the Gettysburg Address to Uber and exhorts the audience to think about how they might consider and apply these lessons to their own organizations.

โ–ถ Play video

Leadership Without Management: Scaling Organizations by Scaling Engineers
Bryan Cantrill

โ–ถ Play video
sweet lodge
#

be back later, meeting

somber heath
#

@native fossil๐Ÿ‘‹

#

@compact flare๐Ÿ‘‹

glad crow
#

hello

hoary olive
#

Hello Hem, Dawg, AF, Opal

glad crow
#

i am 100% ethically hacking an exposed webserver

#

with a default cyberpanel login

somber heath
#

@cold delta ๐Ÿ‘‹

#

@warm nest๐Ÿ‘‹

warm nest
#

Hey

cold delta
#

Sup?

hearty bramble
#

hi

warm nest
#

I'm starting with Python, I've heard of Image generator with Open AI

vocal basin
#

isn't stable diffusion separate from OpenAI?

#

because, unlike OpenAI, it is open

warm nest
#

So, I want to learn how to create images for my online classes

#

So I can add that to the classes materials

#

Thanks!

vocal basin
#

scrabble ripoff?

#

or something

sharp urchin
#

enable games in here :{

#

sir hemlock

#

justice!

slim edge
#

Only self-made games

sharp urchin
#

:{

surreal wyvern
vocal basin
sharp urchin
#

yeh i understand

#

i was just playing around

glad crow
# surreal wyvern

youre trying to find the longest wod you can make with each row of the matrix?

sharp urchin
vocal basin
# surreal wyvern

In computer science, a trie, also called digital tree or prefix tree, is a type of k-ary search tree, a tree data structure used for locating specific keys from within a set. These keys are most often strings, with links between nodes defined not by the entire key, but by individual characters. In order to access a key (to recover its value, cha...

sharp urchin
#

and unable to do so

#

ohh i have read about it!!

surreal wyvern
glad crow
#

@somber heath cant you just take a list of the english dictionary, split the words into individual letters, then check if each row's characters are in each word, if yes, then its the longest.

vocal basin
#

!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.

sharp urchin
#

@chrome pewter hows kali doing for you?

glad crow
sharp urchin
vocal basin
#

kali is worth only for instrumentation it provides

sharp urchin
#

just know kali

chrome pewter
sharp urchin
#

for ethical hacking

hoary olive
#

fedora is awesome

chrome pewter
#

like hping3, wp-scan

glad crow
hoary olive
#

Debian is better

vocal basin
glad crow
sharp urchin
#

๐Ÿ˜ .

glad crow
#

i know kali

#

used kai

hoary olive
#

Fedora was the first one to use pulseaudio for example

vocal basin
sharp urchin
hoary olive
#

it did what ubuntu used to do

glad crow
#

just install the metsploit tools on fedora ๐Ÿคฃ

hoary olive
#

ubuntu kinda sucks nowadays

#

Mint >>>

chrome pewter
#

but because of board exam I am not continuing it rn @sharp urchin

sharp urchin
surreal wyvern
hoary olive
#

i had VB some years ago

chrome pewter
#

I tried ddos attack on my school site @sharp urchin

surreal wyvern
wide gorge
hoary olive
#

its half drag and drop half code, i dont get it, its stupid

wide gorge
#

when i created a programming language

#

i used trees

vocal basin
hoary olive
chrome pewter
#

I was only able to get from respond time 250ms to 2500ms

hoary olive
#

AF are you up for some chess later on?

#

20m?

chrome pewter
hoary olive
vocal basin