#voice-chat-text-0
1 messages · Page 43 of 1
oh yeah I know that
she wants us to comment our every action
use lowercase varaibles
etc basic stuff
so its readable
also TODO comments are useful
!e py v = 123.123456 text = f'{v:.3f}' print(text)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
123.123
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
!e py name = "Peter" age = 17 text = f'Hello, {name}. You are {age} years old.' print(text)
brb like 15 sec
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello, Peter. You are 17 years old.
no im 18
ik im just joking
print(f"{stu_name:15}
is that what this is for?
im assuming thats what it does
!e py name = "apple" print(repr(f'{name:3}')) print(repr(f'{name:10}'))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 'apple'
002 | 'apple '
.rstreip
whats that
oh wait
is that the quotation marks?
that is being moved
ohhhhhh
OHH so thats how they formatted it I see
I did not know that
so im tryna see where I would put grade in then '
!d str.ljust
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)`.
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
!e py for letter in "abc": print(letter)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | a
002 | b
003 | c
isn't there some way to adjust to centre?
(I forgor)
!e py letter = "a" print(letter) letter = "b" print(letter) letter = "c" print(letter)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | a
002 | b
003 | c
!e
name = "apple"
print(repr(f'{name:^10}'))
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
' apple '
!e py fruits = ["apple", "orange", "pear"] for fruit in fruits: print(fruit)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | apple
002 | orange
003 | pear
I see Ive seen this bef4
!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)
@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']
!e py things = ["apple", "pear", "orange"] text = "*".join(things) print(text)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
apple*pear*orange
!e
a = ['apple']
b = a
c = a[:]
print(a, b, c)
a.append("orange")
print(a, b, c)
@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']
!e py print("Hello,\nworld.")
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Hello,
002 | world.
there exists a more important example of this (i.e. why one should be careful with lists)
(just trying to remind myself how this stuff is taught usually)
!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)
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
('apple',) ['apple', 'orange']
!e
code
!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!
someone know why when i create a table in sqlite3 its not have a different color?
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@rugged root This just made my day so far =D https://9gag.com/gag/a2KZ4gE
@safe pumice https://play.geforcenow.com/mall/#/layout/games
😂
Are ChatGPT and AlphaCode going to replace programmers?
no
they're mediocre
@zenith radish https://github.com/matrix-org/matrix-spec-proposals
maybe in upcoming days/years if it's get the updated libraries and stuff like that?
it just regurgitates code it doesn't make its own
Obsoleet. Old tech that's still better than the modern shit.
HA
@gentle osprey What's your question? I mean typically we don't help with Excel things, but if it's something quick and simple....
Excel?
They DM'd me a question about it
I happen to excel with that program
Or rather, asking for help about it
Oh my god I'm blind
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?"
checked_(add|sub)_signed() ftw! =D https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html#stabilized-apis
@fierce summit 👋
I'm okay. How about you?
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
I told my mother that I might have ADHD and she immediately started to treat me differently (and not in a good way). Like if I were suddenly dumber or like I was a little kid again. And I'm worried that my friends and other family would react the same
I'm very sorry to hear that, you don't deserve that. We don't know each other, but I hope it can be some small comfort hearing (reading) me say (write) that whoever does that are the ones in the wrong - not you.
I'm really sorry to hear that. I hate that there's still such a stigma
I would think friends would be more understanding
I'm gonna go and try to do that cpp program. Bye @rugged root
See ya. Let us know if you need help, be it with the program or about the mental health stuff
C PreProcessor?
So who is coming up with the benefits?
Benefits?
The individual credit card companies
Not like the big Master Card, Visa
Those that work through those networks
but like was said, it comes from the fee charged to the merchants
Capital One will have their own, etc
so there must be some negotiations with the network.
or someone in the network stack
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
there can be more than one site on one IP
“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...
You're goated in this community
That's all that matters
`
Ah, okay
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
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...
@tiny seal good, quite a few things happend so I had no time/energy for discord. How have y been?
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...."
@midnight agate start with so there are these grown men disagreeing about computers
Lots of real life stuff going on, but beyond that surviving
@lavish rover Hey buuuuuuuuuuuddddddddddddddyyyyyy
well, join a tate club and claim to be super sigma male
@rugged root surviving as in good or bad?
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
hey
yo
Hey Sammy
Hey hey
Hey can anyone tell..
Is cloud computing important for AI??
Can be yeah. Training models and what have you require a lot of processing power
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?
I suspect stats is more difficult to learn by yourself.
yh thanks
Good point. Plenty of resources out there for CC
@idle egret Sure, what's your question?
i can;t get to download pygame
What OS?
Gotcha. Continue
hey there
it starts and look what happens
What kind of help?
pls join vc 1
regarding
a module installation
name:- face recognition
Do you have a screenshot?
im getting it rn
Is it giving you an error or what's wrong with it
yeah its not properly installing
OS?
i think it has some several steps to install
windows 11
i am also getting somewhat same error
??\
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
the module on vs is not working
And did you read documentation?
https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022 You'll need to get that
When it asks you what modules you need to install, you'll get the C/C++ compiler one. You don't need the others
this ?
No, not Visual Studio itself, just the build tools. https://aka.ms/vs/17/release/vs_BuildTools.exe
This one
that's a windows moment
i install it then what ?
Close and reopen your terminal and then try to pip install again
aght
@idle egret Should solve your issue as well if you were getting something similar
im trying it rn
@charred sleet Should solve your issue as well
I can't at the moment, what's going on
this is getting on my nerves
can you un suppress me just to talk in vc ?
then put it back on
im in channel
@rugged root fixed my sleep. Sort of
Was going to say, you're here when it's like midnightish
Yea actually going to sleep now. Popped in to say hi, won't be on for the next two days.
been good no worries ma guy
hi everyone
can anyone help me with an iOS emulator for mac?
like bluestacks and noxplayer for android
👋
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?
I would have to see your code
im having so much trouble trying to install pygame on my mac smh
look dm
dayum was a fight.. but go my 1st self made script running in a local docker.. next step, rule the world
sort Method
spam = [2, 5, 3.14, 1, -7]
spam.sort()
!e spam = ['ants', 'cats', 'dogs', 'badgers', 'elephants']
spam.sort()
print(spam)
@tulip plover :white_check_mark: Your 3.11 eval job has completed with return code 0.
['ants', 'badgers', 'cats', 'dogs', 'elephants']
hi
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
:((
!e
print("hello world")
@whole bear :white_check_mark: Your 3.11 eval job has completed with return code 0.
hello world
which root terminal command to apply to upgrade Python from old to latest?
@slim crown 👋
https://pyttsx3.readthedocs.io/en/latest/engine.html#pyttsx3.engine.Engine.stop This method, maybe.
@whole bear your keyboard
Why are we so toxic today?
A lack of hotel rooms.
I see
!e py text = "That's a nice looking ass." new_text = text.replace("ass", "butt") print(new_text)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
That's a nice looking butt.
!e py text = "The king was assassinated." new_text = text.replace("ass", "butt") print(new_text)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
The king was buttbuttinated.
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
brb
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$
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
all gucc
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
I agree 100%
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 )
🙂
Anybody in here could help with API calling in React/Nextjs?
just overall structure with API calling
@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 
just trying to help as i can with limited knowledge 
Also, if someone has a chance to hit #unix and have a look at my question, would appreciate 🤓 But no rush 
Thank you so much for sending me this, However, Im curious on a way (if it exists) to not return a component, but rather just data and filter after?
@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
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)
parser you speaking of ?
A cluster of specifications closely related to XML have been developed, starting soon after the initial publication of XML 1.0.
/movie-watch/watch-in-broad-daylight-the-narvarte-case-full-91309
!
@robust lichen if you dont already know, there's ressource like this fore regex 🙂
https://regexr.com/
No worries, trying to help 🤓
!e py a = "/movie/watch-in-broad-daylight-the-narvarte-case-full-91309" a = a.replace("/movie/", "/movie-watch/") print(a)
@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
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.

Are you pulling this off of chat gpt 👀
Of what ?
Open AI's new chat bot that outputs responses to questions
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 
Ohh okay, its just really good and I am shook 
//*[@id="vidcloud-player"]/div[3]/div[12]/div[4]/div[2]/div[13]
maybe in counter part i can ask you a python question? 
Searching that thing atm you've mentioned, im curious
why broken ?
broken - term of expression for something that is insanely overpowered
my apology on the lack of clarification
@zenith radish Isn't Microsoft Pro-Open source now?
I interned there this last summer and I recall that 😄
Im french canadian, english isnt main language so hehe
They killed me with a project fully in powershell 😢
@vital galleon if you're motivated, head to #unix and maybe you can point me something for my question ? ❤️
only if motivaterd, not forcing
You are looking for a color visualizer?
@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 ?
I personally use VSCode
with extensions that help Identify
French canadian, english isnt perfect, my apologies if explanation are not good, let me reiterate :
🙂
@robust lichen Just opt for Chat GPT for now 🙂
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 
sorry ?
this may be useful in terms of output
printing
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
The Microsoft internal Stack Overflow kinda OP
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
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 
Also, I appreciate your time to "look" at my project, highly appreciated and i respect that a lot 
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... 
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 .... 
it's like: My handdddds haha

Hello!
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 
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 🙂
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 
@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

It's always a .... you are trying to 4rd party an already x party tool to access "not supposed to acces stuff" ... so... 
(I've just did that 2 days ago 
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 ? 
Okay good!
I've steepped in a dark side project once.... i still remember it 
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
hello @valid forum
Hi
do you work with java
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
No
go to this dm and follow the instructions
Ok thanks
your welcome
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```
PyOpenCL
nonce = hex(random.randint(0 , 2 ** 32 - 1))[2 :].zfill(8)```
!e py import random HEXDIGITS = "0123456789ABCDEF" result = "".join(random.choices(HEXDIGITS, k=8)) print(result)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
9A573709
!e py result = format(5067, "x") print(result)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
13cb
!e py v = 5067 print(f"{v:x}")
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
13cb
!d f-string
String literals prefixed with 'f' or 'F' are commonly called “f-strings” which is short for formatted string literals. See also PEP 498.
!e print(format(5067, "b"))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
1001111001011
what topic is going onn?
Trying to find a better way to do the above function
^
faster*
cant we split stuff = (permutations(pot_ins, 9)) into multiple threads?
bogosort
how do I get access to speak in a voicechat?
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
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
thats suck, we need 50 message
So we gotta send 50 messages before we can talk in vc?
Also 3 days in python
yeye exactly
lol ive been this server a long time ago but havent send any message lmao
.
bummer
can i spam message here?
I think we're not allowed to spam
Idk I just got to this server lmao
But you can try holding several conversations lol
mane this is such a shame since I need help with a code for tmrw lmao
yeye
that's what I'm abt to do
You could still use hlep channels
but not tn
right, cool
Nah I can't be bothered
Python-help is more effective
not that dedicated
thanks bro
😄
@cedar glacier 👋
@somber heath how long you’ve been programming?
@somber heath 👋
what does that mean?
Perhaps when you hurl a fish at someone.
Or when the fish hurls at you?
like a detector?
why discord shows someome sharing screen when there is not
reload
What is that... I open the chat on voice 0 and im not authorise to send message in there ?
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
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.
01101000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100
!e py my_list = [1, 2, 3] print(repr(my_list))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
[1, 2, 3]
'[1, 2, 3]'
!e py print(object() == object())
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
False
!e py class MyClass: pass print(MyClass.mro())
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
[<class '__main__.MyClass'>, <class 'object'>]
!e print(dir(object))
@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__']
!e ```py
class A:
def method(self):
print("A")
class B(A):
pass
a = A()
b = B()
a.method()
b.method()```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | A
002 | A
!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()```
@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.
class MyClass:
pass
class MyClass(object):
pass```
On soonish. Going to be doing holiday deliveries for the next few days, so a lot of Carlock in your futures
Sennheiser
Reminds me of a beehive for some reason
Ooo, or a panini press
No idea
docker-io is community supported and docker-ce is the upstream version.
docker-ce is officially supported by the project.
Yay, on hold waiting for a vendor. At least the music is catchy
das a win
Inchresting
Is that when an inchworm gets tired?
I am annoyed but impressed at the same time.
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
Pls translate..I dont speak American
Each backup is around 13 GB
ohhhhhhh
brb googling
On what OS?
"The OED’s definition 3c of pop is ‘A turn at doing something; an attempt; a go; a time’ and the earliest citation supporting this sense is dated 1839."
That's my line
Hiii
heyooo
And you ofc
website is almost done
table??
publication...I am procrastinating hehe
Niicee
Paint
Hehe, same boat with me and research
paint = too sleepy to sit and paint, I just opt for playing video games and hanging out on discord
good luck man!
Niiicee
Thanks I need it, haven't even started looking into it.
Youll get there. All it takes is a burst of motivation! Itll happen soon dw :D
Which game?
These days its Gris (kind of like journey but wayy prettier)
I was playing God of War Ragnarok a week or two ago, 10/10
It really is solid
Love that game
Gris is pretty great
Also, do you have a PS4 or PS5?
u lot play rust ?
I don't, no.
Too much multiplayer folks being dicks
yer but also sometimes hilarious 😄
PS4, didnt think getting a PS5 was worth it tbh
I see you @molten pewter , any updates on "INSIDE" ?
I love it, personally. But I certainly see what you mean. There are some PS5 exclusives that are really good. Returnal is incredible
ps3 is the height of the playstation. Rock band greatest game of all time.
PS2 or gtfo
i have maybe 10x ps1s
PS2 has a special place in my heart. Crash Bandicoot remains undefeated
Huge library, tons of great games
^
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
Play Station 2 exclusive games: 299
Play Station 3 Exclusive games: 328
Play Station 4 Exclusive games: 123
Play Station 5 Exclusive games: 20
PS3 is peak Playstation.... fight me. @rugged root
Steve Wozniak prints his own pads of $2 bills... and spends them. He'll sell you a sheet with 4 bills for $5. Joshua Topolsky investigates this interesting bit of commerce on The Engadget Show.
Watch/download the full episode here: http://www.engadget.com/2011/01/31/the-engadget-show-017-steve-wozniak-sony-ngp-playstation-ph/
@winged shard @rugged tundra @uncut meteor ^
Docker Desktop
it's not foss
Neither is Windows but here we are.
In any case, docker engine is free
However, Windows Docker Desktop is easiest way to get it running.
Neat
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
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
the whole phone eco system is fk'd
needs to be an opensource linux based os that can be ran on any handset
Apple will never agree
^
That would also imply that the Linux community would actually agree on a single distro for once in their history
Otherwise you get this huge soup of potential ones, but they don't have a single banner to work under
but that would also be pretty awesome
i heard the pinephone64 was terrible though
and there's also sail fish os
There's already a handful. And bigger distro's have their own mobile.
There's too many cooks in the kitchen
Normies don't want that.
I don't want that. I use iPhone because I turn it on, and it does shit
/r/specialaccess
Original CNN report by Science Editor Kevin Sanders.on 5- megawatt Nitinol Engine designed by .Mcdonnell Douglas
"Nitinol power plants for the conversion of low-grade thermal energy may have significant economic advantage over conventionally-fueled power plants. A plant of five Nitinol modules could produce 5 megawatts of power.""
McDonnel...
qubes os
hey fellas i had some issue
IN my environment ig
it's not selecting the right interpreter to run it
Can you help me a bit?
@lunar haven @ruby iron
jeez
ok
I'm not going to go into conspiracy theories, but...
How am I just seeing this now
No idea
Wig is the right term, pretty sure
Ah mb
@glad sandal google adrian crenshaw darknets and cypherspaces
These are the videos from AIDE (Appalachian Institute of Digital Evidence) Conference 2015:
http://www.irongeek.com/i.php?page=videos/aide2015/mainlist
Presentation available here: https://www.defcon.org/images/defcon-22/dc-22-presentations/Crenshaw/DEFCON-22-Adrian-Crenshaw-Dropping-Docs-on-Darknets-How-People-Got-Caught-UPDATED.pdf
Dropping Docs on Darknets: How People Got Caught
Adrian Crenshaw TRUSTEDSEC & IRONGEEK.COM
Most of you have probably used Tor before, but I2P may be unfamiliar....
Adrian Crenshaw "Irongeek" - Cipherspaces/Darknets: An Overview Of Attack Strategie
https://www.defcon.org/images/defcon-19/dc-19-presentations/Crenshaw/DEFCON-19-Crenshaw-Cipherspaces-Darknets.pdf
Darknets/Cipherspaces such as Tor and I2P have been covered before in great detail. Sometimes it can be hard to follow attack strategies that have b...
enjoy 🙂
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
😄
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
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.
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"
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?
npyscreen
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
@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
@sly jolt do you think I could have ss rights, just would be my vscode and maybe screen
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
<@&267628507062992896> could I possibly have access to screenshare?
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.
single website
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
<@&831776746206265384> could I possibly have access to ss?
ss?
screen share
aperciate the thoughts, Ill give it ty morrow.. thx
@lunar haven int.from_bytes(b'\x8e(J', byteorder='big')
@lunar haven https://docs.python.org/3/library/stdtypes.html
I'm reading additional methods on integer types
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...
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)
curses
if not all(k in answer for k in ('answer','correct','order')):
for k in ('answer', 'correct', 'order'):
k in answer```
oh
!e ```py
def func():
return "A"
print("B")
print(func())```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
A
!e ```py
def func():
print("B")
return "A"
print(func())```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | B
002 | A
[<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)
!e ```py
class MyClass:
pass
mc = MyClass()
print(mc)```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
<__main__.MyClass object at 0x7f310ea3fc90>
!e ```py
class MyClass:
def str(self):
return "str"
def __repr__(self):
return "repr"
mc = MyClass()
print(mc)
print([mc])```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | str
002 | [repr]
👋
i cant talk, i not have 50 chat in here 
okk
@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()```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | A
002 | B
003 | A
004 | C
how long you been coding? @zenith radish
how long you been coding? @El Pee
if I could go back in time I'd work harder on my math
Ayy I live in VA
oh opal
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.....
Web cap?
wip phone pouch
@lavish rover Hey buddy
Why the second account?
Trying to hide from people on other servers
Python discord is like a safe haven lowkey
woaaaah
How to be successful: Be backed by a nation state.
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
Thankyou @rugged root
I have struck in a python problem. Can someone help me out it?
@rugged root
What's the question?
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?
@zenith radish is the best person to ask about WebRTC, but I don't know if he's available to answer
Thankyou
@zenith radish bro, I could not find any proper tutorials for webrtc implementation in fastapi in python. could you help me out?
Actually hold on. https://stribny.name/blog/fastapi-video/ Have you seen this one?
No idea then
can someone help me with my code?
AWPtics
Aw
❤️
lol really old screen shot
More shocked
Thats Hemlock. Not Verboof
👋
stop using F words bro
Can we drop the economy chat and discuss about the holocaust, please?
you guys argue like old people f
The Coke Brothers just sound like drug lords
@molten pewter I'm proud of you for admitting it
(jk luv u)
OMG
Hey @stray niche =D
@rugged root Can I share screen? Got a problem I want some smarties to try and help me with =)
How's Pepsi
!stream 156198616065769472 Let's hop down to VC1
Could not convert "duration" into Duration or ISODateTime.
Let's is not a valid ISO-8601 datetime string
!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.
✅ @warm jackal can now stream until <t:1671552971:f>.
Watch Gunda Best Introduction Scene | Mera Naam Hai Bulla | बुल्ला रख्खा हूं खुला
Movie:- Gunda (1998)
Starcast:- Mithun Chakraborty, Mukesh Rishi, Shakti Kapoor, Mohan Joshi, Rami Reddy, Razak Khan
Enjoy and stay connected with us!!
Subscribe to Goldmines Hindi:-
https://go...
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
Contribute to LOM-instruments/Elektrosluch-DIY development by creating an account on GitHub.
Sounds pretty chill there
dude
I am 20
rethink your expectations of how I look
Can someone please help with this - https://stackoverflow.com/questions/74869773/how-do-i-get-all-1000-results-using-the-github-search-api
@kind wharf have you tried asking in #python-discussion maybe or #1035199133436354600
I asked a similar question before but no one answered
Let me try again 🙂