#voice-chat-text-0
1 messages ยท Page 86 of 1
this uses x3 memory
you can reduce to x2
merging first and third loop
and removing the max_arr
never mind i am unable to do so
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
iff ``len(L) == 7`
sorry about that
its fine:}
@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
I have solved similar problems (including more complex ones)
ohh ok...
I was participating in competitive programming in 2017~2021
:{}oooo i see thts why
WebStorm
@cedar solar
it does feature React Native if I'm not mistaken
although it costs money
(idk any free ones that have support for it out of the box)
heyyy
how u doing guys
do u have any sources about vpns ? like how vpns works on server side (detail explained) and client side
Maybe ask in #networks.
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
- Server Explaine...
thanks dude
ah fine thanks i think i got the answer
so what's the topic of this channel?
for something more detailed I'd suggest looking through OpenVPN's source/docs
General conversation. Often Python. Often not.
no i wanted to make my own vpn server scripts
i had some idea about it idk if it's possible or not
most other use-cases are based on it including commercial ones
and also client side
vpn or just proxy?
for traffic redirection, proxy may be enough
both of them
depends on the level you proxy at
@whole bear๐
from what I remember, VPNs redirect internet layer traffic (IP, ICMP, ...) over transport layer (UDP)
when u check logs u see one requests comes from somewhere goes somewhere and next request comes from somewhere else goes somewhere else
@quaint plinth๐
!rule 5 (just to remind)
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
hey opal
u mean there is no way to route my traffic over tcp protocols?
i think we can do this btw
you shouldn't
https://www.youtube.com/watch?v=AAssk2N_oPk
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 ...
was I kicked from chat?
@jaunty reef๐
3rd time from this discord only
Not by administrative action.
that's how discord is now
it just disconnects
why isn't it more secure and stable than udp?
TCP offers nothing for security
TCP cares too much about delivering packets
i.e. it can be called "too stable" in some sense
how can I verify my voice?
ye i know i wanna make my secure tunnels but
specifically, routing TCP over TCP results in the protocol breaking
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
oh
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?
@indigo sundial๐
VPNs don't care if the routed thing is TCP or UDP
VPNs route packets on the IP level (TCP/UDP build on top of it)
UDP is closer to how low-level protocols behave -- that's why it's commonly used
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
I got it
if you're trying to make a proxy designed specifically for TCP, that would probably not be a VPN
I just didn't knew that ip level is under transport
yes I have to read more about them
and thanks for your helping dude it was useful
for example, SOCKS/SOCKS5
routes TCP over TCP
(roughly)
so what about it they are using tcp protocol and route traffic to the vpn servers right?
most so-called "VPNs" aren't really VPNs
for example, browser extensions
because the browser doesn't have the privileges to manage networks
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
extensions, I guess, are mostly HTTP-over-HTTP
there's also tor
tor operates around TCP level also (it's SOCKS5, from what I remember)
although tor has questionable legality in some places
@woeful notch๐
(real) VPNs protect from MITM
same for TCP-over-TCP
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
"Velocity"
from authors of PaperMC
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
"> full-stack developer
what device drivers have you written?"
I'm using react for web and react native to develop cross platform programms
and also django for backend
๐
(it'd be interesting how many people I'd be able to quote saying something like that)
"the problem with full stack developers is that you can't push them"
"push" is an operation of adding an element to the stack
I use VS Code
maybe a little too much
Java is the first thing that VS Code recommends to do
"just use Rider instead"
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}]
if it saves to the file, there might be concurrency issues, I guess?
X array, Y array
[[1,2,3],[2,4,6]]
is a transposed version of
[[1,2],[2,4],[3,6]]
yeah
(e.g. if the response is returned before the write is complete)
this looks perfectly correct number-wise
@coarse ridge
one array per dimension
those are not arrays of points
same as in matplotlib
Hello AF
Thank you so much for the help @vocal basin @flat sentinel @uncut meteor @coarse ridge
b := new(bytes.Buffer)
rw := bufio.NewReadWriter(bufio.NewReader(b), bufio.NewWriter(b))
chart.Render(rw)
rw.Flush()
c.Set(fiber.HeaderContentType, fiber.MIMETextHTML)
return c.SendStream(rw)
incase you want to write straight to the client without creating a file first. chart is the charts.NewLine() struct
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
@hoary olive yo
wassup
i see you updated your about me ๐
agreed
No worries, I am interested if you are open to present your project :D
@sharp urchin hello
hi how are you
goood ๐
do you speak Moroccan language
you should came to morocco . its a beautiful place
yeh have seen it in yt and stufff
i'm not voice verified but hi
@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
@jagged island It's apparently not big enough to supernova.
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?

that would mean you can't stream browsers
Good night folks !
a lot of things code-related being streamed involve browsers
- spoofing what's streamed is quite easy
funny how the first appearance of it here is after two people ping me (they both seem to have been banned/kicked later)
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)
you can still have server specific nicks w/o nitro
unless the pfp is part of the Yu persona
taken from a game (includes the pfp and the banner)
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."
oof
I can't play this game anymore
Well, its 2023, you did well friend!
@leaden comet @vivid palm what's happening
lemon's singing
we had a whole sampling
very much enjoyed the conversation all, I'm off now. Great music Lemon 
still experimenting with image generation
have you looked into cellular automaton ?
because that reminds me of what some can do
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
i guess yeah
most of the overhead comes the necessity to use 10D colour space instead of 3D
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
i changed the afk setting to 1hr lol
current algorithm uses a stack
I guess there might be options to replace it with a priority queue
you could also use a heap
heaps are funny
same thing
mhhh not really ?
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].
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
it gets randomised sometimes also
@cobalt fractal pls make
a normal queue results in quite an uninteresting result
@somber heath
heap, no copying, directional, no distance-based reordering
and no noise, accidentally
video with the same settings (different seed)
so here it's almost like a stack
what happens when the priority has no dependence on the previous priority:
results don't vary much from the stack variant
that would be equivalent to having 8 separate stacks, I think
this even inverts the previous priority
the only thing it seems to do is add some noise
hello all
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?
no
your an AI engineer?
hmm ...first one i have seen in this server
"engineer" is a strong word
"enthusiast" would be a better word
ohh ok ...
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
}```
ew is that a go nerd?
jkjk
pytorch is a hefty package to install
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
so quiet
with a video, differences between heap and stack are more apparent
(heap thing produces more error-looking results)
some apps add the padding so the whole image can be seen
but not discord
(for multiple attachments)
my workstation has 64
python used 10 physical + 2 swap
I have 16 installed
rendering part uses 5 + 2
half the time of rendering is spent in opencv, and half in numpy
(almost nothing in python itself)
what are you rendering?
this but different
for now, no
Ryzen 5 1500X
do u have a gpu?
Radeon RX 590
so, no CUDA, only OpenCL
ah
rendering part is easily paralleliseable
it takes things generated by the stack algorithm and merges them in different ways
30 gigs of nsfw pictures im downloading
to train a nurel network
i never thought id do such a thing
as I said, no python iteration
heap+copy
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))
different priority calculation
i can give it a guess
what would be the guess?
if you replace 5 for 3, that would be normalisation
hmm
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
this limits colour luminosity while keeping it uniform
(by sampling it from an isotropic 5D space)
@zinc sinew what does it use?
we'll see about that
for detection
total av and a bunch of compiled source codes
regex
Heuristic or Sigs?
oh god
it kind of normalises a 5D value
but, because extra dimensions are not needed, it actually doesn't
im making an av and dont know the difference between signature-based and heuristics detection
๐ฅน
regex is quite weak
fair
!d 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.
as ai puts it:
if you for any reason need to parse python
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.
right
mine mainly relied on heuristic but it had a signature based runner
can i see ur code so far?
sure
ill send you a prototype i made since ive only been working on graphics for my final version
can i get help with my Homework??
alr
whats ur assignment
๐
I dont now if i can send files in here or not to show yall
!paste
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.
how many for loops is too many for loops?
with heap emulating a stack
the rest are for getting the paths to all the sample material
this is what i want to solve
what part are you having trouble with?
i keep getting a error and i dont now why ill send what i have to far to you
whats the error and what part of your code is it pointing at'
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= newVvarible
newVyz= newV-1
total= newVy/newVyz
!code
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.
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```
asterisks lost
trying to get my av woking
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
hmm
input is empty
i set my input as something ??
oh
what did you input to the program after it asked for loan amount?
i put 10000 for the loan amount, then for numbers of payment i put in 36
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
@zinc sinew almost done
i made a simple one liner that should solve the problem
on the first run, there is an error because you didn't put anything as an input
n= int(input())
payment = (rate*(1+rate)^n/((1+rate)^n-1))
oof i forgot to multiply by L
^ is a bitwise operator
@zinc sinew what cpu do u have?
i8
also: don't solve homework for other people, answer the questions instead
right
fr tho
!rule 8
8. Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them.
i7 i forgot which one my laptop hafd
how many cores?
you can write most equations in variables like so
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
!e
print(2^3)
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
1
but as shown i forgot that the power symbol doesnt work like that
!d math
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.
thx
!e
def hello():
hello()
@glad crow :warning: Your 3.11 eval job has completed with return code 0.
[No output]
he forgor to run the function
how many cores ur cpu have?
idk lemme check
and what would i place into the brackets?
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```
@vocal basin needed to ask a question
how to learn algorithms?
should i like see a yt for it and then solve them yeh?
also remember that input always takes what its given as a string so youll need to change type accordingly
!pep8
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:
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'
there probably are detailed explanations to solving specific problems
that's, for example, how you can get familiar with dynamic programming as a concept
oof
it wasn't
it was a response to n= int(input())
righty
hmm so practice questions is the only key?
i am guessing
there is a yt for it which is 6hrs long so i am thinking to have a look
there are systematical ways to learn algorithms
which are? cuz like i am solving problems now but they are n^2
so i wanted to improve
have learnt few aglos till now which i am using
just make sure your inputs are set to ints and not strings
which is as tedious as redefining them
float not int
and how do ik its set to ints ? sorry for asking for alot im new lol
solve the problem in the way you can
try to improve it
when you can't improve it any longer, start looking at how other people solved it and try to learn
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
imma do these
courses have always helped me
I know one which focuses on things used for competitive programming, but it's not in English
the site would do it for me if you can provide
only the names of the algos is what i need
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)
there is a giant list on Wikipedia if you need to search for a specific topic
https://en.wikipedia.org/wiki/List_of_algorithms
The following is a list of well-known algorithms along with one-line descriptions for each.
there's very little that you might need to use
This is a list of well-known data structures. For a wider list of terms, see list of terms relating to algorithms and data structures. For a comparison of running times for a subset of this list see comparison of data structures.
cool ty :]
that looks like somewhat old code
what!!!
the most common automatic problem solution testing system out of all used in Russian schools
Python and C#: since 2017
first program in any language: 2006
then hows this 23 years old?
it's obviously not my code
(I'm only familiar with the system as a user, not as an administrator)
ohh
I once tried installing it but it had some requirements conflicting with the rest of the things
Docker support was added only in 2023
yikes
code
Hi. Please difference between Python Virtual Environment and Python Virtual Machine
@finite bloom ๐
what are you working on recently
๐
i made an ad skipper
like automatically skips ads
i can hear you u know?
what are you struggling with?
@somber heath
mhm
I don't follow.
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.
Hey @finite bloom!
You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.
A virtual environment is a segregated filesystem environment, but everything is still running on the host operating system. A virtual machine is an emulated computer, so you have an emulated CPU, drives, ram, etc, graphics card, etc.
Whoa.. this answer is ready for publication.. in a book! Thanks!
I disagree.
You did it with ChatGPT? ๐ค
Words which constitute a verbal assault designed to provoke a physical altercation.
I was making a joke.
๐ฆ
I like answer. I need Virtual Environment, no need for graphics card
So I need Python Virtual Environment
What is TOX?
"Hurr, how dare you suggest I lowered myself and used ChatGPT Have at thee!" sort of thing.
I've never used it. This is not to suggest that you won't.
Do you have a particular need for it?
No, just project setup
All the things I need
For Python development
What is good first program to write?
Hallo
print("hello, world")
link?
YouTuber: Corey Schafer. Playlists.
142 videos
๐คฆโโ๏ธ 142 is much but one to start..
which one start?
ok i choose
i want to watch anaconda
11min24sec
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
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
i dont know much abt these though but for performance wise i would recommend mac
also as far as ik it doesnt really matter until unless you dont have keys or a screen on your system
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
windows
ok. so i will use too
mac faster. m1
ok let's do one exercise in python
@sharp urchin you have simple exercise?
@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 https://www.youtube.com/watch?v=iWeu2dxHRDg
Merry Christmas ya filthy animals. The FINAL Glitterbomb has autonomous drones :) You can still get a CrunchLabs Build Box for Christmas! Let's build some cool stuff together https://crunchlabs.com
Shoutout to my friends at T-Mobile for sponsoring a portion of this video and hooking up all the boxes on their network. I met with their CMO ...
@warm jackal you dont read chat
@sharp urchin what is
nm
??
was testing a thing
it's like a spam?
no
@sharp urchin please help with the python
whats your problem in python?
@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
i am doing good
:}
hows is your health now
i hope your better
glad to hear tht ...wish you a fast recovery
@sharp urchin you occupied but in chat. doing what..?
on a call
if you are interested:]
while i listen to people speak on speaker
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?
nvmm
unofficial
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
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?
@obsidian dragon you watch python tutorial?
what is difference between python module and python package please
list of function, classes , objects , etc stored = module
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.
hi , what are you guys doing??
@keen sable๐
@lapis thunder ๐ง๐ท
yes!!
@lapis thunder Neymar!
he only knows how to fall.
does not compare to Ronaldo, Ronaldinho, Romario, Kaka and Robinho
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
where are you from?
XD whats going on here ??
only children like Neymar.
mbappe?
mbappe is so better than Neymar
agreed!
mbappe super strong
what happen to cr7? like play with basics? to make goal?
or for money
i feel bored.
@somber heath sorry i am not a native speaker of english. i cant understand your accent
๐
@whole bear๐
I said this is around the time of week and day it starts to get busy.
@west prism๐
I haven't used voice chat before
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!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
hey
she is
@dreamy stump๐
wrong message
The intent was understood
how do i fix internet issues
Hey Griff
@uncut meteor At least 1
How does the problem present?
Interwubs
@lapis talon Yo
Hello
I can try, but probably wont be able to
How's it going
Trying to solve a model.fit issue from a tutorial video
btw, weren't you admin before?
I am following it by the book but it is giving me a valueError
If a spider is wearing a dashing suit, is he wearing threads?
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
oh ok
Can you show me the code that's causing the error?
ye it says former admins
@vocal basin Sup
Octet?
octet is a typical byte
Spocktet
hold on
there's a thing called octet stream
switzerland's flag is not rectangular?
it's a square, therefore a rectangle, isn't it?
Hmm, sadly I'm not sure. It's looking like the folks in that channel are helping you out, though
squares are rectangles
yeah, but they are squares tho
ok imma stop, it's like arguing that 2 is not 2, it's 1+1
@uncut meteor There's only one that matters
a real gem
@dreamy belfry๐
I don't remember what's the lower limit for the bit size of char in C
helloooooooooooooo
my username means BLACKCAT
u guys don't teach SQL??
I mean we can help with it
@sweet kelp๐
But we don't like teach it teach it
I haven't said anything relevant to him, really
Other than correcting him
seems like, char isn't specified to signed or unsigned
(it just must be an integer)
it's like SELECT * FROM mommy_table
it's really just that
That's for private times
If you're not very excited about your fruit, would that be a blahnana?
Or a mehndarin orange
That sounds like a horrifying combo. And yet I'm intrigued
and if you're a crime? blood lime?
that's what me and coding exist for
to be a horrifying combo
walking on the peaches
hold on I got some pepperannas
'Ba' + + 'a' + 'apple'
pizza on pineapple
I sadly still remember that picture
Well... Proxy brain
mock brain
how is that?
Letting my meds do the thinking for me
By the power of Vyvanse and Zoloft I command thee!
I have a cat to do that
so I have a proxy brain too ig
BitWarden
Keepass 2
bruh I was searching for how is word volountire spelled and I have found nothing but some arabic websites
diceware
did you wash the dishes?
everyone knows what you're sampling from
but the length is big enough to make secure
set of 7776 "words"
no diceware is a password generator
it's not for keeping
it's for generation
I edited first
you stole it from me
copyright
you can also lookup passwords in diceware iirc
diceware exists at least since 2014
call me sniper
Crimea was Ukranian until that year so you stole it from me
that is absolutely related to what we are talking about
what is pythond
python discord
no, i don't want a backend for a discord bot, i want the discord server
pydis
probably better
pycord
fun fact: pycord isn't even related to discord
hello @somber heath
it actually is
because they (developer(s) of py-cord) decided not to check whether the name has already been picked before choosing it
the name comes from Decord not Discord
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
.
the 7776 word list existed way before that, seemingly
1995
and in 2014 people started paying more attention to it
Ukraine existed in 1995 tho
and what does is it have to do with the topic?
uhm... uhhhh... because Ukraine has a letter r in it and so does word
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
yo
What would they even gain from that
But .NET is Windows only!!
It's not though
maybe building something for windows desktop is a viable usecase
Wow
but, like, not server side
Sounds right
just compiling them in isolation
(.NET Framework)
(am memeing)
I really should look into how much of a feat of bullshit it is to go from framework to core
I've been curious
Apparently it's not actually that terrible
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...
Really cool guy BTW
((yes, I understood that; but a remark if there accidentally is someone who read that and who didn't understand))
Worth it just for the fun
Wow, even the doc section is fairly slim
I know it shouldn't be that tough
Just hadn't looked at it
I somehow missed the moment .NET Core got renamed to .NET
Fair, they're still having to maintain legacy GUI frameworks for that exact reason
Word
In fairness, Blazer is awesome
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
Moved my container to Azure, so I had write an API to run locally to pass requests through to on premise resources
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...."
Everyone always invents all kinds of excuses when they don't want change
Just putting x's next to the bullet points
Understandable
If you want help with that....
I'm always happy to rebutt
Yeah why are they
Trust me, I do it all the time
"No we're not shutting down the security firewall because you want it to be more convenient for you"
have no time to learn
wtf
Right?
We've already established that your boss is a waste of flesh
"too inconvenient"
And will take the whole company down with him
also this
actually this has been speeding up I think
I'm grateful that mine aren't
Mainly because they have to deal with their own - yeah in tech
Fair
oh no
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"
That's kinda me
Back in a sec
on the management thing
https://youtu.be/9QMGAtxUlAc
https://youtu.be/1KeYzjILqDo
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.
Leadership Without Management: Scaling Organizations by Scaling Engineers
Bryan Cantrill
be back later, meeting
(title for the second one)
hello
Hello Hem, Dawg, AF, Opal
Hey
Sup?
hi
I'm starting with Python, I've heard of Image generator with Open AI
I'm checking it here: https://platform.openai.com/docs/api-reference/completions/create
An API for accessing new AI models developed by OpenAI
So, I want to learn how to create images for my online classes
So I can add that to the classes materials
Thanks!
Only self-made games
:{
enabled activities allows streaming youtube (because of watchalong)
which may be undesirable
youre trying to find the longest wod you can make with each row of the matrix?
lmao i am trying to find a word
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...
im using same thing
@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.
!paste
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.
@chrome pewter hows kali doing for you?
fedora > kali imo
idek what those are๐
kali is worth only for instrumentation it provides
just know kali
umm I just learned some tools
for ethical hacking
fedora is awesome
like hping3, wp-scan
fedora linux
Debian is better
its drivers, specifically
thats my man
i am guessing you know kali as well?
๐ .
Fedora was the first one to use pulseaudio for example
used it for a short time
nice yo
it did what ubuntu used to do
just install the metsploit tools on fedora ๐คฃ
but because of board exam I am not continuing it rn @sharp urchin
i wonder if there exists some famous language or tools which you havent used
VB
i had VB some years ago
I tried ddos attack on my school site @sharp urchin
@somber heath
i know these things
its half drag and drop half code, i dont get it, its stupid
after being allowed to?
yk its illegal to do that
I was only able to get from respond time 250ms to 2500ms
but it was not that much efficient
Its only allowed if you have permission from the site owner doesnt matter
efficient or not, doing it without permission is both illegal and unethical
