#voice-chat-text-0

1 messages · Page 43 of 1

cursive saffron
#

I havent really done anything yet

#

oh yeah I know that

#

she wants us to comment our every action

#

use lowercase varaibles

#

etc basic stuff

#

so its readable

thick hamlet
#

also TODO comments are useful

cursive saffron
#

I know becuase its pretty self explanitory

#

once you get used to it

#

nope

somber heath
#

!e py v = 123.123456 text = f'{v:.3f}' print(text)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

123.123
cursive saffron
#

I cant python at all so ...

#

they are formatted strings right?

#

they can be used to print stuff too

#

and if im correct strings are a lot like variables

#

a string is a container

#

yeah

#

I see

somber heath
#

!e py name = "Peter" age = 17 text = f'Hello, {name}. You are {age} years old.' print(text)

cursive saffron
#

brb like 15 sec

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

Hello, Peter. You are 17 years old.
cursive saffron
#

no im 18

#

ik im just joking

#

print(f"{stu_name:15}

#

is that what this is for?

#

im assuming thats what it does

somber heath
#

!e py name = "apple" print(repr(f'{name:3}')) print(repr(f'{name:10}'))

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 'apple'
002 | 'apple     '
cursive saffron
#

.rstreip

#

whats that

#

oh wait

#

is that the quotation marks?

#

that is being moved

#

ohhhhhh

#

OHH so thats how they formatted it I see

thick hamlet
#

I did not know that

cursive saffron
#

so im tryna see where I would put grade in then '

somber heath
#

!d str.ljust

wise cargoBOT
#

str.ljust(width[, fillchar])```
Return the string left justified in a string of length *width*. Padding is done using the specified *fillchar* (default is an ASCII space). The original string is returned if *width* is less than or equal to `len(s)`.
cursive saffron
#

yeah Im tryna figure out where I can add stu_grades

#

think I got to count it over

#

sorta

#

I cant alter this really tho

#

it has to be her way for whatever reason

#

yeah

#

no

somber heath
#

!e py for letter in "abc": print(letter)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | a
002 | b
003 | c
vocal basin
somber heath
#

!e py letter = "a" print(letter) letter = "b" print(letter) letter = "c" print(letter)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | a
002 | b
003 | c
vocal basin
wise cargoBOT
#

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

'  apple   '
somber heath
#

!e py fruits = ["apple", "orange", "pear"] for fruit in fruits: print(fruit)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | apple
002 | orange
003 | pear
cursive saffron
#

I see Ive seen this bef4

somber heath
#

!e py my_list = [] my_list.append("apple") print(my_list) my_list.append("orange") print(my_list) my_list.append("guava") print(my_list)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | ['apple']
002 | ['apple', 'orange']
003 | ['apple', 'orange', 'guava']
somber heath
#

!e py things = ["apple", "pear", "orange"] text = "*".join(things) print(text)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

apple*pear*orange
vocal basin
#

!e

a = ['apple']
b = a
c = a[:]
print(a, b, c)
a.append("orange")
print(a, b, c)
wise cargoBOT
#

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

001 | ['apple'] ['apple'] ['apple']
002 | ['apple', 'orange'] ['apple', 'orange'] ['apple']
somber heath
#

!e py print("Hello,\nworld.")

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | Hello,
002 | world.
vocal basin
vocal basin
cursive saffron
#

k

#

hi

vocal basin
#

!e

original_tuple, original_list = ('apple',), ['apple']
renamed_tuple, renamed_list = original_tuple, original_list
original_tuple += ('orange',)
original_list += ['orange']
print(renamed_tuple, renamed_list)
wise cargoBOT
#

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

('apple',) ['apple', 'orange']
polar ocean
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!

south torrent
#

someone know why when i create a table in sqlite3 its not have a different color?

warm jackal
#

!voice

wise cargoBOT
#

Voice verification

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

warm jackal
robust lichen
rugged root
peak raven
#

Are ChatGPT and AlphaCode going to replace programmers?

robust lichen
#

they're mediocre

warm jackal
peak raven
# robust lichen no

maybe in upcoming days/years if it's get the updated libraries and stuff like that?

robust lichen
somber heath
#

Obsoleet. Old tech that's still better than the modern shit.

rugged root
#

HA

zenith radish
rugged root
#

@gentle osprey What's your question? I mean typically we don't help with Excel things, but if it's something quick and simple....

rugged root
#

They DM'd me a question about it

sweet lodge
#

I happen to excel with that program

rugged root
#

Or rather, asking for help about it

sweet lodge
#

@rugged root !!

#

Laugh at my pun!!

rugged root
#

Oh my god I'm blind

sweet lodge
#

But on a more serious note, yeah, ask the question @rugged root and/or I can get you pointed in the right direction

#

Even if the answer is "Use Python because honestly, who understands what =IFERROR(INDEX(F2051:I2051,MATCH(TRUE,INDEX((F2051:I2051<>0),0),0)),"") even means?"

warm jackal
rugged root
#

Kubernetes be like:

rugged root
#

@fierce summit 👋

fierce summit
#

How are you?

rugged root
#

I'm okay. How about you?

fierce summit
#

I'm pretty stressed

#

I'm like 85-90% sure that I have ADHD, I have to complete a task until sunday midnight (c++ program), and I'm worried about the reaction of my family and friends if I really have ADHD

honest pier
#

@rugged root 😔 🥴

#

also doesn't that mean you have a few dayas

fierce summit
warm jackal
rugged root
#

I would think friends would be more understanding

fierce summit
#

I'm gonna go and try to do that cpp program. Bye @rugged root

rugged root
mortal burrow
#

So who is coming up with the benefits?

rugged root
#

Benefits?

mortal burrow
#

like cash back, rewards ect

#

airline miles

rugged root
#

The individual credit card companies

#

Not like the big Master Card, Visa

#

Those that work through those networks

mortal burrow
#

but like was said, it comes from the fee charged to the merchants

rugged root
#

Capital One will have their own, etc

mortal burrow
#

so there must be some negotiations with the network.

#

or someone in the network stack

rugged root
#

It comes from them banking on you not paying it all off and incurring interest

#

Like coupons. They give those to incentivize people to go in and get the product, and potentially get more things while there

glossy mesa
#

OpenAI turned into HR

rugged root
#

I'd never heard of young metro before this very moment

#

And I'm still confused

vocal basin
#

there can be more than one site on one IP

glossy mesa
# rugged root I'd never heard of young metro before this very moment
Know Your Meme

“If Young Metro Don’t Trust You” is one of the DJ tags of producer, Metro Boomin’. The phrase has become popular on Twitter, tweeted along with images that detail the consequences of not being approved by Metro Boomin’. The tag became popular on twitter jokes following its use in the songs Jumpman, by Drake and Future; and Father Stretch My Hand...

rugged root
#

Oh huh

#

Shows how old and out of touch I am

glossy mesa
#

That's all that matters

rugged root
#

🐐 ?

#

Oh wait

#

Greatest of all time

#

Right, remember that one now

glossy mesa
#

That's correct

#

Goated is pretty much the process of becoming a goat, more or less.

rugged root
#

Gotcha, cool

#

@mortal burrow What is your push to talk button? Just curious

mortal burrow
#

`

rugged root
#

Ah, okay

mortal burrow
#

^ that's it

#

do you recommend something else?

rugged root
#

Keeps saying you're typing, that makes sense now

#

No no, just curiosity

#

I have a button on my mouse. Caps lock isn't bad

quasi condor
#

Paracetamol, also known as acetaminophen, is a medication used to treat fever and mild to moderate pain. Common brand names include Tylenol and Panadol.
At a standard dose, paracetamol only slightly decreases body temperature; it is inferior to ibuprofen in that respect, and the benefits of its use for fever are unclear. Paracetamol may relieve...

rugged root
#

Not true, your KDR goes up

#

@tiny seal How've you been, bud?

tiny seal
#

@tiny seal good, quite a few things happend so I had no time/energy for discord. How have y been?

rugged root
#

I struggle with that question every day of my life

#

"No no, so I had to sacrifice the squirrel so I could summon the demon...."

tiny seal
#

@midnight agate start with so there are these grown men disagreeing about computers

rugged root
#

@lavish rover Hey buuuuuuuuuuuddddddddddddddyyyyyy

tiny seal
#

well, join a tate club and claim to be super sigma male

rugged root
#

We're the ones that can afford to buy the games?

#

And like wasting our time

tiny seal
#

@rugged root surviving as in good or bad?

rugged root
#

Well Joi (my wife) has been really sick for a couple months. Like tachycardia (spiking heart rate and blood pressure from doing mundane things), swelling in the spleen, overall other sicknesses. She had to be let go from her job due to the sickness, so we're currently just on my income. Just trying to keep everything balanced

limpid pagoda
#

hey

rugged root
#

yo

rugged root
#

Hey Sammy

stray niche
limpid pagoda
#

Hey can anyone tell..
Is cloud computing important for AI??

rugged root
#

Can be yeah. Training models and what have you require a lot of processing power

limpid pagoda
#

I have to choose an elective..from cloud computing and statistics and probability ...so I should go with CC right ?

#

Well if you would have to choose one ...if your main focus is AI then what would you choose?

rugged root
#

Uhhhhhhhhh hmmm

sturdy panther
#

I suspect stats is more difficult to learn by yourself.

limpid pagoda
#

yh thanks

rugged root
rugged root
#

@idle egret Sure, what's your question?

idle egret
#

i can;t get to download pygame

rugged root
#

Is it giving you an error?

#

What are you trying

idle egret
#

yup

#

i go to

#

cmd python --version

#

it give me 3.11.1

rugged root
#

What OS?

idle egret
#

windows

#

10

#

x64

rugged root
#

Gotcha. Continue

idle egret
#

then i got to pip

#

and it workes too

#

then i do pip install pygame

charred sleet
#

hey there

idle egret
#

it starts and look what happens

charred sleet
#

if anyone can help me in my project

#

i am a beginner

rugged root
#

What kind of help?

charred sleet
#

pls join vc 1

charred sleet
#

a module installation

#

name:- face recognition

rugged root
idle egret
#

im getting it rn

rugged root
idle egret
charred sleet
#

yeah its not properly installing

rugged root
#

OS?

charred sleet
#

i think it has some several steps to install

#

windows 11

#

i am also getting somewhat same error

idle egret
rugged root
#

Ah, so it may be the same solution then

#

You'll need the build tools for visual studio (you don't have to use visual studio, these are just so that pip can properly compile some of the libraries)

#

Getting the link now

idle egret
#

the module on vs is not working

amber raptor
#

And did you read documentation?

rugged root
#

When it asks you what modules you need to install, you'll get the C/C++ compiler one. You don't need the others

idle egret
#

this ?

rugged root
#

This one

honest pier
#

that's a windows moment

idle egret
#

i install it then what ?

rugged root
#

Close and reopen your terminal and then try to pip install again

idle egret
#

aght

rugged root
idle egret
#

im trying it rn

rugged root
#

Oh derp

#

Meant to ping the other guy, sorry!

rugged root
idle egret
#

yow man

#

can i call you ?

rugged root
#

I can't at the moment, what's going on

idle egret
#

this is getting on my nerves

#

can you un suppress me just to talk in vc ?

#

then put it back on

#

im in channel

stray niche
#

@rugged root fixed my sleep. Sort of

rugged root
#

Was going to say, you're here when it's like midnightish

stray niche
#

Yea actually going to sleep now. Popped in to say hi, won't be on for the next two days.

rugged root
#

Same in fairness

#

Well you know where to find me

stray niche
#

Yessir

#

I know where you live

#

Have a nice weekend y'all

rugged root
#

@jagged island How've you been?

#

Sorry, wasn't trying to ignore

jagged island
twin pond
#

Its 12.22am here

#

Anyone up huh

peak raven
#

hi everyone

#

can anyone help me with an iOS emulator for mac?

#

like bluestacks and noxplayer for android

robust lichen
stray niche
#

👋

cunning lake
#

hey

#

who is coding in python right now ?

placid nacelle
#

hi i need help

#
  File "C:\Users\Administrator\Desktop\Nowy folder (2)\ad.py", line 5, in <module>
    from discord.utils import get
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\utils.py", line 30, in <module>
    from nextcord.utils import (
ImportError: cannot import name 'Protocol' from 'nextcord.utils' (C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\nextcord\utils.py)```
#

how to fix?

vernal bridge
#

I would have to see your code

heady needle
#

im having so much trouble trying to install pygame on my mac smh

placid nacelle
pallid hazel
#

dayum was a fight.. but go my 1st self made script running in a local docker.. next step, rule the world

tulip plover
#

sort Method

#

spam = [2, 5, 3.14, 1, -7]

spam.sort()

#

!e spam = ['ants', 'cats', 'dogs', 'badgers', 'elephants']
spam.sort()
print(spam)

wise cargoBOT
#

@tulip plover :white_check_mark: Your 3.11 eval job has completed with return code 0.

['ants', 'badgers', 'cats', 'dogs', 'elephants']
tulip plover
timber lake
#

hi

forest gorge
#

damn sucks i cant talk in vc

#

guess

#

imma have to

#

send 50 messages

#

before i cna talk

#

gues

#

imma

#

have to

#

draw

#

my sentances out

#

like this

whole bear
#

:((

whole bear
#

!e

print("hello world")
wise cargoBOT
#

@whole bear :white_check_mark: Your 3.11 eval job has completed with return code 0.

hello world
bronze pasture
#

which root terminal command to apply to upgrade Python from old to latest?

somber heath
#

@slim crown 👋

chrome pewter
#

pyttsx3

#

@somber heath

somber heath
whole bear
#

i heard it

#

@robust lichen

#

You mic,

#

Your*

chrome pewter
#

@whole bear your keyboard

whole bear
#

What about it?

vernal bridge
#

Why are we so toxic today?

somber heath
vernal bridge
#

I see

somber heath
#

!e py text = "That's a nice looking ass." new_text = text.replace("ass", "butt") print(new_text)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

That's a nice looking butt.
somber heath
#

!e py text = "The king was assassinated." new_text = text.replace("ass", "butt") print(new_text)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

The king was buttbuttinated.
high mantle
#

Hello 🙂 New so cant speak, but listening 🙂

#

@zenith radish if goal is to avoid tax and stuff like that, check for crypto payment method / convert $US to it... it's a good heaven

#

crypto is good to avoid stuff usually enforced

somber heath
#

brb

high mantle
#

listening to you @zenith radish , i dont think it's a "technology" or wrong usage problem you are encountering... I think it's more a "communication issue"... just my 0.02$PaissaScientist

#

I understand

#

There's rules to inject money in starting company from company creators personal pocket (limitations) That's a "lawyer" topic i think

#

or an "accountant"

#

btw... trying to participate to voice chat via typing since i'm not authorized... just tell me if anoying / unconstructive... hehe

zenith radish
#

all gucc

high mantle
#

that's just my opinion and experience: I've rarely seen people able to think UX design AND dev logic... I think both requires skills not fitting with the other ones...

#

if that make sens

zenith radish
#

I agree 100%

high mantle
#

Dev are more logical
UX designer are more "Empathic / putting themselves into client shoes "

#

aka emotional

#

(I'm a graphic designer working sometimes on UX btw and a 3D modeler for games )

#

🙂

vital galleon
#

Anybody in here could help with API calling in React/Nextjs?

#

just overall structure with API calling

high mantle
#

@vital galleon Maybe this help 🙂

To make an API call in a React application, you can use the fetch function, which is a built-in function for making HTTP requests, or you can use a third-party library like axios. Here is an example of making an API call using the fetch function in a React component:

`import React, { useState, useEffect } from 'react';

function MyComponent() {
const [data, setData] = useState(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState(null);

useEffect(() => {
async function fetchData() {
setLoading(true);
try {
const response = await fetch('https://api.example.com/endpoint');
const data = await response.json();
setData(data);
} catch (error) {
setError(error);
}
setLoading(false);
}
fetchData();
}, []);

if (loading) {
return <p>Loading...</p>;
}

if (error) {
return <p>Error: {error.message}</p>;
}

return (
<div>
{data.map(item => (
<p key={item.id}>{item.name}</p>
))}
</div>
);
}`

In this example, the MyComponent component makes an API call to the specified endpoint when it is first rendered. It displays a loading message while the API call is in progress, and displays an error message if there was an issue with the API call. If the API call is successful, it displays the data that was returned from the API.

To make an API call using axios, you can do something like this:

`import React, { useState, useEffect } from 'react';
import axios from 'axios';

function MyComponent() {
const [data, setData] = useState(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState(null);

useEffect(() => {
async function fetchData() {
setLoading(true);
try {
const response = await axios.get('https://api.example.com/endpoint');
setData(response.data);
} catch (error) {
setError(error);
}
setLoading(false);
}
fetchData();
}, []);

if (loading) {
return <p>Loading...</p>;
}

if (error) {
return <p>Error: {error.message}</p>;
}

return (
<div>
{data.map(item => (
<p key={item.id}>{item.name}</p>
))}
</div>
);
}

`

#

but i'm not a dev so lul
just trying to help as i can with limited knowledge blobimminent

#

Also, if someone has a chance to hit #unix and have a look at my question, would appreciate 🤓 But no rush PaissaScientist

vital galleon
high mantle
#

@vital galleon
Yes, it is possible to make an API call in a React application and return just the data, rather than a component. To do this, you can define a custom hook that makes the API call and returns the data. A custom hook is a function that follows a specific naming convention (it must start with the word "use") and can contain other hooks.

Here is an example of a custom hook that makes an API call and returns the data:
`import { useState, useEffect } from 'react';

function useData(url) {
const [data, setData] = useState(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState(null);

useEffect(() => {
async function fetchData() {
setLoading(true);
try {
const response = await fetch(url);
const data = await response.json();
setData(data);
} catch (error) {
setError(error);
}
setLoading(false);
}
fetchData();
}, [url]);

return { data, loading, error };
}
`

This custom hook makes an API call to the specified URL when it is first called, and returns an object with the data, loading state, and error state.

To use this hook in a React component, you can import it and call it like this:
`import React from 'react';
import { useData } from './useData';

function MyComponent() {
const { data, loading, error } = useData('https://api.example.com/endpoint');

if (loading) {
return <p>Loading...</p>;
}

if (error) {
return <p>Error: {error.message}</p>;
}

return (
<div>
{data.map(item => (
<p key={item.id}>{item.name}</p>
))}
</div>
);
}

`
This component calls the useData hook when it is rendered, and the hook makes the API call and returns the data. The component then displays a loading message while the API call is in progress, and displays an error message if there was an issue with the API call. If the API call is successful, it displays the data that was returned from the API.

#

Hope it helps

vital galleon
#

I've thought about the next.js Api's that are generated when creating a project

  • Soon realized not a good tool as it would be after SSR build/run and most likely be CSR (I may be wrong)
#

(currently reading this info bomb xd)

robust lichen
#

blah blah

#

string

#

blah hi blah

high mantle
#

parser you speaking of ?

zenith radish
#

A cluster of specifications closely related to XML have been developed, starting soon after the initial publication of XML 1.0.

robust lichen
#

/movie-watch/watch-in-broad-daylight-the-narvarte-case-full-91309

zenith radish
#

!

high mantle
#

@robust lichen if you dont already know, there's ressource like this fore regex 🙂
https://regexr.com/

#

No worries, trying to help 🤓

zenith radish
#

!e py a = "/movie/watch-in-broad-daylight-the-narvarte-case-full-91309" a = a.replace("/movie/", "/movie-watch/") print(a)

wise cargoBOT
#

@zenith radish :white_check_mark: Your 3.11 eval job has completed with return code 0.

/movie-watch/watch-in-broad-daylight-the-narvarte-case-full-91309
high mantle
# vital galleon I've thought about the next.js Api's that are generated when creating a project ...

Next.js is a framework for building server-rendered React applications. When you create a new Next.js project, it includes a built-in API route that allows you to create server-side APIs for your application. These APIs are accessed using the /api route, and they are designed to be used with server-side rendering (SSR) in mind.

Next.js APIs are implemented as functions that are exported from the /pages/api directory in your project. When you create a new API route in this directory, Next.js will automatically create an endpoint at /api/[route] that you can access from your client-side code.

Here is an example of a simple Next.js API that returns a list of users:

`// /pages/api/users.js

export default (req, res) => {
res.json([
{ id: 1, name: 'Alice' },
{ id: 2, name: 'Bob' },
{ id: 3, name: 'Charlie' }
]);
}`

To access this API from a React component, you can use the fetch function or a library like axios. For example:

`import React, { useState, useEffect } from 'react';

function MyComponent() {
const [data, setData] = useState(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState(null);

useEffect(() => {
async function fetchData() {
setLoading(true);
try {
const response = await fetch('/api/users');
const data = await response.json();
setData(data);
} catch (error) {
setError(error);
}
setLoading(false);
}
fetchData();
}, []);

if (loading) {
return <p>Loading...</p>;
}

if (error) {
return <p>Error: {error.message}</p>;
}

return (
<div>
{data.map(item => (
<p key={item.id}>{item.name}</p>
))}
</div>
);
}
`

In this example, the MyComponent component makes an API call to the /api/users endpoint when it is first rendered. It displays a loading message while the API call is in progress, and displays an error message if there was an issue with the API call. If the API call is successful, it displays the data that was returned from the API.

vital galleon
#

Are you pulling this off of chat gpt 👀

high mantle
#

Of what ?

vital galleon
#

Open AI's new chat bot that outputs responses to questions

high mantle
#

No ?!... I'm just browsing qucik, recap ?... To help you ?... o.O
I like to process data / help people like i can

#

i've been browsing around react docu recently

#

but abandoned the project lul

vital galleon
#

Ohh okay, its just really good and I am shook pepeOO

robust lichen
#

//*[@id="vidcloud-player"]/div[3]/div[12]/div[4]/div[2]/div[13]

high mantle
high mantle
vital galleon
#

Its pretty incredibly broken right now

#

like its a super tool for developing

high mantle
#

why broken ?

vital galleon
#

broken - term of expression for something that is insanely overpowered

#

my apology on the lack of clarification

high mantle
#

Oh!

#

No worries

vital galleon
#

@zenith radish Isn't Microsoft Pro-Open source now?

#

I interned there this last summer and I recall that 😄

high mantle
#

Im french canadian, english isnt main language so hehe

vital galleon
#

They killed me with a project fully in powershell 😢

high mantle
#

@vital galleon if you're motivated, head to #unix and maybe you can point me something for my question ? ❤️

#

only if motivaterd, not forcing

vital galleon
#

You are looking for a color visualizer?

high mantle
#

@zenith radish there is a lot of chanel, was confused where to post... i'm doing python to use on arch sooo i took a chance to post in unix

#

PyCharm atm

#

really ?

vital galleon
#

I personally use VSCode

high mantle
#

OH!

#

No

vital galleon
#

with extensions that help Identify

high mantle
#

French canadian, english isnt perfect, my apologies if explanation are not good, let me reiterate :

#

🙂

vital galleon
#

@robust lichen Just opt for Chat GPT for now 🙂

high mantle
#

I'm trying to understand what structure is the best for me to use in my python developement since i'm more a guy used to rely on "visual element" to "gps" around something.... I'm only using terminal & arch since this summer... I've been using GUI all my life before...
So the fact that i'm easily "lost" in my .py is because i dont have indicators to remember me how i've been structuring everything since "x" project started"
Like, first attempt yesterday, the result of it was this ( I only have a video of it left saldy) was looking like this: very first python (no dev background)
Currently i'm re-starting from scratch to #1 practice & #2 make it better / more structured / easy to navigate...
But is it better to make big chunky functions including many "child" fuctions in it ? or it's easier to isolate each functions in unique .py ? I'm lost....

#

That was a wall of text, my apologies lul

#

sorry ?

vital galleon
#

this may be useful in terms of output

#

printing

high mantle
#

exactly that

#

what youve just said

#

that's hard to find on docu/wiki

#

that kind of tip

#

I'm looking for guidance, not the '"truth" 🙂

#

I got you

#

Breakdown the problem

#

im encountering

#

EXACT

#

xD

vital galleon
#

The Microsoft internal Stack Overflow kinda OP

high mantle
#

Can i type process of my tool / explanation of what i'm trying to do?

#

if you permit

#

I dont think it's "python related" i think it's more "logical pipeline" related question

#

if make sens

#

give me 65 secs, ill type recap of my tool usage

zenith radish
vital galleon
#

Brave

#

😮

#

#Spartan Gang

high mantle
#

Prequel:
I'm playing a popular game who include a market for players to sell things to each others... GameDev never made any tools for players to access market data outside the actual board in game.....

So, some indie dev, made a custom launcher for that game to include what they feel that are lacking from vanilla game... One of the module is: When a player check ItemID XXXXX at market ingame it sends the data to a API REST automaticly....
That API REST is behind a website that players can use to show market price but every price update is community sourced... Hours to update....

So I've switched the line in that custom launcher made in C# to input a custom api adress that i've made and instead of shooting to the public API website when I check an item, it's sends it to my persosnal arch server.... AND that way i can build database and price analysis of market.....

Gonna git clone the website hgandling the api rest, modify it at my taste....
After, haver to handle ALSO json received from official API showing price to players.....

#

That's part of it...

#

@zenith radish

#

there's is 25600 different items i think and API send different json file for each of them including specific "keys"

#

OH! I was just sharing and maybe you would have idea and say: Yes, use that or that 🙂

#

its open source yes 🙂

#

I'm doing all of this as hobby /interest in dev 🙂

#

love to learn new stuff

#

but eventually... would like to reach the stage where.... cellphone receive alerts when price of X items goes undersX threshold price so i can jump on the deal... you know

#

yes

#

yes exact

#

I've brainstormed about the pipeline, now hard part is to make python understand it lul

#

Also, I appreciate your time to "look" at my project, highly appreciated and i respect that a lot 7307blobcookie

#

I think time is most precious ressource on earth... so thanks for giving me a bit of yours ❤️‍🔥

#

Also, do you think.... thats the kind of project i could find an also beginner partner to learn/dev that project together ? Maybe it's too basicv stuff...

#

Another brain would be very useful when problem solving/brain storming

#

hehe

#

@whole bear hi !

#

Sorry ?

#

Oh

#

i took a long time to answer at his "hi"

#

i dont think he even seen my "hi"

#

Are you saying it was a bad idea to say hi ? just wanna be sure to understand heheh

#

Ok ok no worries heheh

#

It's a "bit" annoying to cant voice chat... lul

#

Oh i understand the why im not complaing ... its just, i stop typing on main monitor to type on monitor 2 (discord) when typing discord done -> type monitor 1 .... lul

#

it's like: My handdddds haha

whole bear
high mantle
#

Hey! Sorry for delay, ive said hi right when you left hehe

#

@whole bear

#

@robust lichen careful with that mic, i have very high quality headphones here... you gonna make me have a heart-attack lul

#

My reaction was very close to that:

#

and yes i enjoy gifs a lot as you can see

#

Link ?

#

I have small small background in web, can take a chance to help you 🙂

robust lichen
high mantle
#

goal ?

#

OH

#

URL ?

#

@vernal bridge

robust lichen
high mantle
#

I cant talk i'm a new, but hi @vernal bridge

#

I'm trying to have conversation even if i have itense delay since i can only type here lul

#

@vernal bridge

#

I feel like what you looking for is behind a ... encrypted thingy...." exactly for people to not find source aka put them in jail...

#

@robust lichen

#

there is 2 side to these kind of message
1- If you see this: Come work for us!
2- if you see this: Stay far buddy
lul

#

It's always a .... you are trying to 4rd party an already x party tool to access "not supposed to acces stuff" ... so... lul

#

(I've just did that 2 days ago lul

#

whats the goal ? simple interest ?

#

that's not end goal

#

what is end goal ?

#

Personal, redistribution, monetize, ... many possibilities

#

playing on bright side or dark side ? lul

#

Okay good!

#

I've steepped in a dark side project once.... i still remember it lul

#

not again haha

#

remember @vital galleon who was here earlier speaking with us ?

#

he mentioned your soltuion without knowing

#

to your current problem

#

let me visually show you 🙂

#

Can you copy paaste the entire javascript here ?

#

or DM it to me 🙂

#

or make me access it

stone wing
#

ky

#

gm

#

haha

warped raft
#

hello @valid forum

valid forum
#

Hi

warped raft
#

do you work with java

valid forum
#

@warped raft can you help me

#

Why im not able to speak in the vc

warped raft
#

with what

#

are you voice verified

#

!voice

wise cargoBOT
#

Voice verification

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

valid forum
#

No

warped raft
#

go to this dm and follow the instructions

valid forum
#

Ok thanks

warped raft
#

your welcome

plain needle
#

First laptop: AMD Ryzen 6000 Series 9 + NVIDIA GeForce RTX
Second laptop: Intel Core i9 & NVIDIA Geforce RTX

#
from itertools import permutations
import sys
import time

start_time = time.time()
t = 0
pot_ins = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
stuff = (permutations(pot_ins, 9))
for s in stuff:
    t += 1
    if t % 100000000 == 0:
        if s[0] != 'a':
            print(t)
            stop_time = time.time() - start_time 
            print(stop_time)
           # sys.exit()
     #  

#34,162,713,440,000 / 36
#948,964,262,000```
somber heath
#

PyOpenCL

plain needle
#
nonce = hex(random.randint(0 , 2 ** 32 - 1))[2 :].zfill(8)```
somber heath
#

!e py import random HEXDIGITS = "0123456789ABCDEF" result = "".join(random.choices(HEXDIGITS, k=8)) print(result)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

9A573709
somber heath
#

!e py result = format(5067, "x") print(result)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

13cb
somber heath
#

!e py v = 5067 print(f"{v:x}")

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

13cb
somber heath
#

!d f-string

wise cargoBOT
somber heath
#

!e print(format(5067, "b"))

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

1001111001011
warm vapor
#

what topic is going onn?

plain needle
#

Trying to find a better way to do the above function

stuck sky
#

Heya!

#

ohh

warm vapor
#

cant we split stuff = (permutations(pot_ins, 9)) into multiple threads?

plain needle
#

bogosort

junior solar
#

how do I get access to speak in a voicechat?

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

fierce heron
#

hi man, sorry i cannot speak rn

#

due to voice verification

junior solar
#

Mane there is more criteria though

#

Apparently you have to send 50 messages, be on the server for 3 days and be active in 3 10-minute blocks

fierce heron
#

thats suck, we need 50 message

plain needle
#

There's a quota, told you lol

#

😛

junior solar
#

So we gotta send 50 messages before we can talk in vc?

plain needle
#

Also 3 days in python

junior solar
#

yeye exactly

plain needle
#

channel

#

And at least 3 10-minute blocks of activity

fierce heron
#

lol ive been this server a long time ago but havent send any message lmao

fierce heron
plain needle
#

I think we're not allowed to spam

junior solar
#

Idk I just got to this server lmao

plain needle
#

But you can try holding several conversations lol

junior solar
#

mane this is such a shame since I need help with a code for tmrw lmao

junior solar
#

that's what I'm abt to do

plain needle
#

You could still use hlep channels

junior solar
#

but not tn

plain needle
#

You just can't use voice chat

junior solar
#

Nah I can't be bothered

plain needle
#

Python-help is more effective

junior solar
#

not that dedicated

plain needle
#

Up to you

warm vapor
#

found a solution?

#

whats that?

somber heath
#

@cedar glacier 👋

cedar glacier
#

@somber heath how long you’ve been programming?

warm vapor
#

Beginners' All-purpose Symbolic Instruction Code

#

high level?

stray niche
#

@somber heath 👋

warm vapor
#

heard about carbon language?

#

what is he coding?

somber heath
#

When two bells ring at the same time.

#

Or when two cars collide with each other.

warm vapor
#

what does that mean?

somber heath
#

Perhaps when you hurl a fish at someone.

stray niche
#

Or when the fish hurls at you?

warm vapor
#

like a detector?

pallid hazel
#

why discord shows someome sharing screen when there is not

vernal bridge
#

reload

hearty knot
#

What is that... I open the chat on voice 0 and im not authorise to send message in there ?

vital galleon
#

Anybody here experienced with getStaticProps and api calls with React/Next.js?

#

I've been trying to pull data. I'm new to getStaticProps

#

If anyone see's this then the layout I have is as below:

My Map.tsx file and component

export const getStaticProps: GetStaticProps = async() => {
  const shops = await Test0()
  console.log(shops)
  return {props: {shops}}
}

export default function Map({shops}:InferGetServerSidePropsType<typeof getStaticProps>){
  const { isLoaded } = useLoadScript({
    id: 'google-map-script',
    googleMapsApiKey: process.env.NEXT_PUBLIC_GOOGLE_KEY!,
  });
.... More code

  if (!isLoaded) return <div> Map Loading ...</div>

  console.log("the content: ",shops)
... More code (return component details of map)

My Api Call file

import { useSupabaseClient } from '@supabase/auth-helpers-react'
import {createClient} from '@supabase/supabase-js'


async function Test0() {
const supabase = createClient(process.env.NEXT_PUBLIC_SUPABASE_URL!, process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!)

const {data, error} = await supabase.rpc('get_shops_with_location')
return {data}
}
 
export default Test0;
#

@civic zephyr It is really nice

#

gets the job done

robust lichen
#

a if condition1 else b if condition2 else c

#

if age < 18: print('Go home.')

steel sluice
#

The programming language C is named "C" because it was originally developed as an updated and improved version of the programming language B, which was developed at Bell Labs in the 1970s. "C" was chosen as the name for the new language because it was the next letter in the alphabet after "B".

There are a few different theories as to why the original developers chose to name the language "B" in the first place, but one popular theory is that it was named after the programming language BCPL (Basic Combined Programming Language), which was developed by Martin Richards in the 1960s. BCPL was itself named after the programming language CPL (Combined Programming Language), which was developed by Richards and David Turner in the 1960s.

Overall, the naming of the C programming language reflects its evolution and development over time, with each successive version building on the previous one and taking its name from the alphabetical sequence.

robust lichen
#

01101000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100

tall cloak
#
print(int(chr("H")))
#

!e

print(chr("H"))
#

!e

print(ord("H"))
#

!e

print(ord("h"))
peak jay
somber heath
#

!e py my_list = [1, 2, 3] print(repr(my_list))

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

[1, 2, 3]
peak jay
#

'[1, 2, 3]'

somber heath
#

!e py print(object() == object())

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

False
somber heath
#

!e py class MyClass: pass print(MyClass.mro())

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

[<class '__main__.MyClass'>, <class 'object'>]
somber heath
#

!e print(dir(object))

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
somber heath
#

!e ```py
class A:
def method(self):
print("A")

class B(A):
pass

a = A()
b = B()
a.method()
b.method()```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | A
002 | A
somber heath
#

!e ```py
class A:
def first(self):
print("A first")

def second(self):
    print("A second")

class B(A):
def second(self):
print("B second.")

a = A()
a.first()
a.second()

b = B()
b.first()
b.second()```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | A first
002 | A second
003 | A first
004 | B second.
somber heath
#
class MyClass:
    pass

class MyClass(object):
    pass```
rugged root
#

On soonish. Going to be doing holiday deliveries for the next few days, so a lot of Carlock in your futures

#

Sennheiser

whole bear
rugged root
#

Ooo, or a panini press

hardy cloud
dense ibex
whole bear
#

LACRYY

mortal burrow
#

docker ce or docker io

#

what do you guys use?

rugged root
#

No idea

mortal burrow
#

docker-ce is officially supported by the project.

rugged root
#

Yay, on hold waiting for a vendor. At least the music is catchy

rugged root
#

Weirdly, the music kind of reminds me of Undertale

#

The piano part, anyway

whole bear
#

Inchresting

rugged root
#

Is that when an inchworm gets tired?

whole bear
rugged root
#

I get that a lot from women

#

The worst is when you're on hold for so long that you forgot why you called in the first place

#

So to remind myself, I'm looking to see if there's a way to limit the number of backups that are made during Accounting CS's scheduled backups

#

They're like 13 gigs a pop

whole bear
rugged root
#

Each backup is around 13 GB

whole bear
#

ohhhhhhh

rugged root
#

A pop as in per one

#

I actually don't know where that phrase comes from

whole bear
#

brb googling

amber raptor
whole bear
rugged root
#

Makes sense

#

@amber raptor @stray niche 👋

stray niche
whole bear
stray niche
#

Hii @warm jackal

stray niche
whole bear
stray niche
whole bear
stray niche
whole bear
stray niche
#

Thank you!

#

👋

whole bear
#

I was playing God of War Ragnarok a week or two ago, 10/10

rugged root
#

It really is solid

#

Love that game

#

Gris is pretty great

#

Also, do you have a PS4 or PS5?

lucid blade
#

u lot play rust ?

rugged root
#

I don't, no.

lucid blade
#

dont ever

#

😄

rugged root
#

Too much multiplayer folks being dicks

lucid blade
#

yer but also sometimes hilarious 😄

whole bear
lucid blade
#

i never moved on from ps3

#

last console i bought? ps3 wii

whole bear
rugged root
#

I love it, personally. But I certainly see what you mean. There are some PS5 exclusives that are really good. Returnal is incredible

molten pewter
#

ps3 is the height of the playstation. Rock band greatest game of all time.

lucid blade
#

i have maybe 10x ps1s

whole bear
lucid blade
#

was buying them when people were selling them for £1

#

😄

rugged root
#

Huge library, tons of great games

lucid blade
#

^

rugged root
#

Cheap ass DVD player for the time

#

And the slims were super portable and great for trips and using at hotels

#

Yeeessssssssss

#

Sorry, still tickled at the Godville images that ggot approved

molten pewter
#

Play Station 2 exclusive games: 299
Play Station 3 Exclusive games: 328

mortal burrow
#

ubuntu

molten pewter
#

Play Station 4 Exclusive games: 123

#

Play Station 5 Exclusive games: 20

#

PS3 is peak Playstation.... fight me. @rugged root

lucid blade
#

@winged shard @rugged tundra @uncut meteor ^

amber raptor
mortal burrow
amber raptor
#

In any case, docker engine is free

#

However, Windows Docker Desktop is easiest way to get it running.

winged shard
rugged root
#

Neat

stone wing
#

a = input()
list = {'а' : '!', 'б' : '@', 'в' : '#', 'г' : '$', 'д' : '*', 'е' : '(', 'ё' : ')', 'ж' : '-', 'з' : '_', 'и' : '=', 'й' : '+', 'к' : '{', 'л' : '}', 'м' : ';', 'н' : ':',
'о' : '"', 'п' : '|', 'р' : '£', 'с' : '<', 'т' : '€', 'у' : '>', 'ф' : 'π', 'х' : '/', 'ц' : '₽', 'ч' : '%', 'ш' : '©', 'щ': '®', 'ъ' : '™', 'ы' : '✓', 'ь' : '[', 'э' : ']', 'ю' : '^',
'я' : '°', ' ' : '∆', ',' : '~', '"' : '•'}
str = ''
for i in a:
for k in list.keys():
if i == k:
str += list[k]
print(str)
str1 = ''
for i in str:
for k,v in list.items():
if i == v:
str1 += k
print(str1)

#

my shifrator

#

hashashashas

rugged root
#

There's a cool thing in Python.... let me snag it

#

This way you just make the translation key and just have it do the translation for you. @stone wing

lucid blade
#

the whole phone eco system is fk'd

#

needs to be an opensource linux based os that can be ran on any handset

rugged root
#

Apple will never agree

lucid blade
#

^

rugged root
#

Otherwise you get this huge soup of potential ones, but they don't have a single banner to work under

lucid blade
#

but that would also be pretty awesome

#

i heard the pinephone64 was terrible though

#

and there's also sail fish os

rugged root
#

There's already a handful. And bigger distro's have their own mobile.

#

There's too many cooks in the kitchen

lucid blade
#

i still have hope one day it'll be more open

#

ie. general end user devices

amber raptor
#

Normies don't want that.

#

I don't want that. I use iPhone because I turn it on, and it does shit

molten pewter
lucid blade
#

/r/specialaccess

molten pewter
lucid blade
lucid blade
#

qubes os

mild quartz
#

@lunar haven this method to populate the tree 🤣

#

yeah the nesting

thin relic
#

hey fellas i had some issue
IN my environment ig

thin relic
thin relic
#

jeez

#

ok

rugged root
#

I'm not going to go into conspiracy theories, but...

stray niche
#

How am I just seeing this now

rugged root
#

No idea

stray niche
#

🤯

#

You have to make the wig permanent. (I can't remember what it's called)

rugged root
#

Wig is the right term, pretty sure

stray niche
#

Ah mb

lucid blade
#

@glad sandal google adrian crenshaw darknets and cypherspaces

#

enjoy 🙂

rugged root
#

2012

#

So a decade

lucid blade
#

cool man

#

im the guy that was suggesting clubs for someone to go out in my local city that have been closed for 10 years

#

😄

rugged root
#

OH sure sure

#

I just didn't know

#

Thought it was longer

#

(that's what she said)

lucid blade
#

fair play 🙂

#

2012 is pretty recent and still a lot of hosting companies milk certs

rugged root
#

Tor, short for The Onion Router, is free and open-source software for enabling anonymous communication. It directs Internet traffic through a free, worldwide, volunteer overlay network, consisting of more than seven thousand relays, to conceal a user's location and usage from anyone performing network surveillance or traffic analysis. Using Tor ...

#

We know

#

I love MapQuest

glad sandal
limpid sparrow
#

2.7 IP logging: By default, we do not keep permanent IP logs in relation with your Account. However, IP logs may be kept temporarily to combat abuse and fraud, and your IP address may be retained permanently if you are engaged in activities that breach our terms and conditions (e.g. spamming, DDoS attacks against our infrastructure, brute force attacks). The legal basis of this processing is our legitimate interest to protect our service against nefarious activities.

#

If you enable authentication logging for your Account, the record of your login IP addresses is kept for as long as the feature is enabled. This feature is off by default, and all the records are deleted upon deactivation of the feature. The legal basis of this processing is consent, and you are free to opt in or opt out of that processing at any time in the security panel of your Account.

amber raptor
#

And if some government organization hands us FISA warrant, all the above is moot.

#

Because almost every TOS says "Government requirements superseed any of the above"

stone wing
#

@rugged root could you find me a good library documentation socket

#

?

whole bear
#

hello

#

so im having an issue

#

@lunar haven

#

can we go into a dm call so i can screenshare?

#

where do i ask at?

#

@lunar haven i want to remove the key from this .exe file how do i go about doing that?

robust lichen
#

npyscreen

whole bear
whole bear
civic zephyr
#
import pyperclip, string

# list of possible email domains
domains = ['gmail.com', 'yahoo.com', 'outlook.com', 'hotmail.com']

    # generate a random email address
username = ''.join(random.choices(string.ascii_lowercase + string.digits, k=8))
domain = random.choice(domains)
email = username + '@' + domain
user = ''.join(random.choices(string.ascii_lowercase, k=8))
password = 'mbooty'
items = -1

logs = [user,password, email]

    # initialize the previous clipboard contents to an empty string
prev_clipboard_contents = pyperclip.paste()
print(prev_clipboard_contents)

while items != 2:
    # get the current clipboard contents
    clipboard_contents = pyperclip.paste()
    #print(clipboard_contents)

        # check if the clipboard contents have changed
    if clipboard_contents != prev_clipboard_contents :
        print(clipboard_contents)
        print("The clipboard contents have changed!")
        items+= 1
        prev_clipboard_contents = pyperclip.copy(logs[items])
        #print(items, logs[items])
        

    else:
        continue
wary grail
#

@lunar haven what are you streaming?

#

analyzing mp4 data?

#

Oh damn interesting

#

@drifting sonnet it should replace

#

make sure your flushing

#

flush the buffer your writing, it should automatically do it

#

Oh cool, what format are you saving it as?

#

csv?

#

csv's not so bad

#

yeah, it supports row column. I'd look into pandas, it'll make things a lot easier to work with. Pandas also has dataframes that can perform the file saves for you

#

are you using relative paths?

#

no, absolute paths are always better. But it depends on how you're reading the data in

drifting sonnet
#

@sly jolt do you think I could have ss rights, just would be my vscode and maybe screen

wary grail
#

if you run your script, check your PYTHONPATH, it'll save it to that directory.

#

What are you using to scrape?

#

Oh ok, then it's prob a good choice. But if you ever need to do some advanced scrapping don't use selenium it's trash

#

yes, mostly focused on Fuzzers

#

use microsofts new product playwright. It's really good

#

Yeah fuzzers try to crash an application with semantically correct input. It's a bit closer to systems research than security. But yeah I'm in my senior year of my undergrad for CS

#

Computer Science

#

It's kind of annoying I can't talk still...

#

yeah

drifting sonnet
#

<@&267628507062992896> could I possibly have access to screenshare?

wary grail
#

No, what'd you say?

#

yeah you're prob looking for a fuzzy finder

#

look up needle in a haystack algo

#

you wanna scrape and save, then provide search right?

#

Ohhh I see

#

nvm then

#

Can you describe what you're trying to do again?

#

names where?

#

So you're building a search engine

#

don't

#

lol

#

yes, google's already done it. Unless you're just indexing a single or a few sites.

drifting sonnet
#

single website

wary grail
#

then why not first scrape all the data first, cache it, and then perform search on that? why do it procedurally?

#

lmao

#

sounds like a plan

#

sure

#

skip it, but I'm still not entirely sold on this idea. But maybe I'm not understanding it quite well

#

so this website you're scraping has a search functionality right?, So the website is doing the search for you, you're just scraping it?

#

So you're just building a search wrapper for this website

#

So your software is basically allowing people to save a search on your schools website? right, cause all your doing is letting them search through your wrapper, then scrape the data, then save it?

#

why?

#

damn, seems pretty ambitious

#

hackerman @drifting sonnet

#

are most of the people here cyber sec people?

#

what year are you @drifting sonnet

#

Oh ok, I had a feeling lol

#

Are all of you guys students?

#

yup

drifting sonnet
#

<@&831776746206265384> could I possibly have access to ss?

radiant surge
#

ss?

mortal burrow
#

screen share

pallid hazel
#

aperciate the thoughts, Ill give it ty morrow.. thx

mortal burrow
#
2
b'\x14\x00\x1e\x00(\x00'
20 30 40
grand grail
#

God I hate web scraping

#

honestly the one gig I usually decline immediately

#

haha

mortal burrow
#

@lunar haven int.from_bytes(b'\x8e(J', byteorder='big')

#

I'm reading additional methods on integer types

mortal burrow
#

Top 5 Reasons Dominos Won The Pizza Wars. Although there have been videos and articles about this subject before they have been almost exclusively from finance media. This video is from Jim Moran who was part of the Pizza Wars and his perspective and qualifications are unique. Jim has won all the major awards in Dominos (2X Driver of the Year...

▶ Play video
robust lichen
#
import npyscreen


class TestApp(npyscreen.NPSApp):
    def main(self):
        self.selected_filename = (
            ""  
        )

        Options = npyscreen.OptionList()

        options = Options.options

        options.append(
            npyscreen.OptionFilename(
                "",
            )
        )

        try:
            Options.reload_from_file("/tmp/test")
        except FileNotFoundError:
            pass

        F = npyscreen.Form(
            name="Welcome to Npyscreen",
        )

        ms = F.add(
            npyscreen.OptionListDisplay,
            name="Option List",
            values=options,
            scroll_exit=True,
            max_height=None,
        )

        F.edit()

    def get_selected_filename(self):
        return ms.value
        print(ms.value)

if __name__ == "__main__":
    App = TestApp()
    App.run()

    selected_filename = App.get_selected_filename()
    print(selected_filename)
mortal burrow
#

self.ms = ...

#

self.ms.value

robust lichen
#

curses

feral aurora
#
if not all(k in answer for k in ('answer','correct','order')):
somber heath
#
for k in ('answer', 'correct', 'order'):
    k in answer```
robust lichen
#

oh

somber heath
#

!e ```py
def func():
return "A"
print("B")

print(func())```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

A
somber heath
#

!e ```py
def func():
print("B")
return "A"

print(func())```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | B
002 | A
robust lichen
#

[<npyscreen.apOptions.OptionFilename object at 0x7fc45311c100>]
[<npyscreen.apOptions.OptionFilename object at 0x7fc45311c100>]

#
import npyscreen


class TestApp(npyscreen.NPSApp):
    def main(self):
        self.selected_filename = (
            ""  
        )

        Options = npyscreen.OptionList()

        options = Options.options

        options.append(
            npyscreen.OptionFilename(
                "",
            )
        )

        try:
            Options.reload_from_file("/tmp/test")
        except FileNotFoundError:
            pass

        F = npyscreen.Form(
            name="Welcome to Npyscreen",
        )

        self.ms = F.add(
            npyscreen.OptionListDisplay,
            name="Option List",
            values=options,
            scroll_exit=True,
            max_height=None,
        )

        F.edit()

    def get_selected_filename(self):
        print(self.ms.values)
        return self.ms.values


if __name__ == "__main__":
    App = TestApp()
    App.run()

    selected_filename = App.get_selected_filename()
    print(selected_filename)
somber heath
#

!e ```py
class MyClass:
pass

mc = MyClass()
print(mc)```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

<__main__.MyClass object at 0x7f310ea3fc90>
somber heath
#

!e ```py
class MyClass:
def str(self):
return "str"

def __repr__(self):
    return "repr"

mc = MyClass()
print(mc)
print([mc])```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | str
002 | [repr]
robust lichen
somber heath
#

@pseudo valley 👋

#

@sharp idol 👋

pseudo valley
#

i cant talk, i not have 50 chat in here Hehe

#

okk

somber heath
#

@steep blade 👋

#

!e ```py
class A:
def alpha(self):
print("A")

def beta(self):
    print("B")

class B(A):
def beta(self):
print("C")

a = A()
b = B()
a.alpha()
a.beta()
b.alpha()
b.beta()```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | A
002 | B
003 | A
004 | C
honest torrent
#

how long you been coding? @zenith radish

dense ibex
#

how long you been coding? @El Pee

somber heath
#

What's the ideal food for male runners?

#

Mango.

frosty star
#

if I could go back in time I'd work harder on my math

quasi condor
dense ibex
#

Ayy I live in VA

frosty star
quasi condor
zenith radish
#
rugged root
#

Should I go down the adapter chain to get this working

#

Because it'll be DIN 5-pin to 6-pin PS/2 then to USB

#

But they're buckling springs

#

So.....

somber heath
#

@zenith radish

rugged root
#

Web cap?

somber heath
#

wip phone pouch

rugged root
#

@lavish rover Hey buddy

#

Why the second account?

narrow salmon
#

Python discord is like a safe haven lowkey

quasi condor
zenith radish
rugged root
#

@zenith radish White Wine?

#

What is?

somber heath
#

How to be successful: Be backed by a nation state.

rugged root
#

Still weird to me that TikTok survived but Vine failed

#

@uneven flume If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about our voice gate

uneven flume
#

Thankyou @rugged root

#

I have struck in a python problem. Can someone help me out it?

#

@rugged root

rugged root
#

What's the question?

somber heath
uneven flume
#

Actually, I have been trying to develop webrtc server using aiortc + fastapi in python. I am struck in it for more than 3 days. I could not find any guidance or proper tutorials for its implementations. your help will be most welcome in this situation. I mean this as problem. could you help me out?

rugged root
#

@zenith radish is the best person to ask about WebRTC, but I don't know if he's available to answer

uneven flume
#

Thankyou

#

@zenith radish bro, I could not find any proper tutorials for webrtc implementation in fastapi in python. could you help me out?

rugged root
uneven flume
#

No bro.

#

Bro but Iam actually trying to implement using WebRTC.

rugged root
#

No idea then

quasi condor
amber plover
#

can someone help me with my code?

stray niche
#

@somber heath 👋

rugged root
#

AWPtics

stray niche
rugged root
#

❤️

glad sandal
#

@stray niche

stray niche
#

What

#

I'm lost

rugged root
#

US plugs

stray niche
#

Ahh

#

Sad face

glad sandal
rugged root
#

More shocked

stray niche
rugged root
stray niche
#

👋

rugged root
#

You going? yes you are

#

See you

stray niche
#

Need to do somethings

dusky obsidian
#

stop using F words bro

lunar mulch
#

Can we drop the economy chat and discuss about the holocaust, please?

#

you guys argue like old people f

rugged root
#

The Coke Brothers just sound like drug lords

#

@molten pewter I'm proud of you for admitting it

#

(jk luv u)

dusky obsidian
#

OMG

stray niche
#

Hey @warm jackal

warm jackal
#

@rugged root Can I share screen? Got a problem I want some smarties to try and help me with =)

stray niche
rugged root
#

!stream 156198616065769472 Let's hop down to VC1

wise cargoBOT
#
Bad argument

Could not convert "duration" into Duration or ISODateTime.
Let's is not a valid ISO-8601 datetime string

#
Command Help

!stream <member> [duration=None]
Can also use: streaming

Temporarily grant streaming permissions to a member for a given duration.

A unit of time should be appended to the duration. Units (∗case-sensitive):
y - years
m - months∗
w - weeks
d - days
h - hours
M - minutes∗
s - seconds

Alternatively, an ISO 8601 timestamp can be provided for the duration.

rugged root
#

Oh god damn it

#

!stream 156198616065769472

wise cargoBOT
#

✅ @warm jackal can now stream until <t:1671552971:f>.

peak ice
tidal shard
#
LOM

Want one? Sign-up for this mailing-list to stay informed about new batches. Elektrosluch 3+ is an open-source device for electromagnetic listening. It allows one to discover sonic worlds of electromagnetic fields, surrounding our every step. Just plug your headphones & explore. Elektrosluch 3+ is the most sensitive

tidal shard
rugged root
#

Sounds pretty chill there

stone wing
#

@rugged root

#

can you help me?

unkempt magnet
#

anyone here now java

#

know

gentle flint
kind wharf
honest torrent
kind wharf
#

Let me try again 🙂