#voice-chat-text-1

1 messages · Page 101 of 1

charred creek
#

!e

from datetime import datetime

ts = datetime.strptime("2017-08-14T16:31:00.000Z", "%Y-%m-%dT%H:%M:%S.%fZ")

print(ts)
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

2017-08-14 16:31:00
lucid heart
#

@mild flume I am able to use opencv by importing it but my vscode says Module not found

#

any idea?

#

anyone?

wintry sinew
#

!pypi dateh

coarse hearthBOT
wintry sinew
misty sinew
#

I love it when my bluetooth stop working

wintry sinew
#

HHhhHh:HHhhhh:HHhhHh:HHhhhH:HhHHhH:HHhhhh:HHhHHh:HhHHhH:HHhhhh:HHhhHh:HhHhHhh:HHhhhH:HHHhhh:HHHhHh:HHhhhH:HHhhHH:HHHhHh:HHhHhh:HHhhhh:HhHHHh:HHhhhh:HHhhhH:HHHhhH:HHhHhH:HHhHHh:HHhhHh

misty sinew
#

there we go

hearty heath
#

Dewit Jake. Get ahead of the curve 😄

misty sinew
#

my bluetooth is working

hearty heath
#

@wintry sinew On the h server, do all messages get automatically translated to h, or are people just very consistent at playing along 😄 I'm too afraid to try it and get cast out from the community.

#

Ahh

charred creek
#

h

hearty heath
#

Not ascii

#

Ascii has only 128 characters.

misty sinew
#

Æ

hearty heath
#

Ascii has a load of useful blank characters that no one actually uses 😄

misty sinew
#

¾

hearty heath
#

Like it has special characters for separating rows and columns in files of data, but everyone just uses CSV instead.

misty sinew
#

 

mild flume
misty sinew
#

wintry sinew
#
>>> a = 1
>>> def b():
...     hh a
...     a += 1
... 
>>> b()
>>> a
2
thorny veldt
#

gtg have a good day y'all

misty sinew
peak frigate
#

oh are we "post-COVID" now? i did not get the memo lol

true valley
mild flume
#

@ripe cedar What are you needing to be unmuted early for

ripe cedar
#

I just got into the server and thought I could get some tips I've started learning python and then i thought Oh maybe there's a discord So I'm checking it out.

raven orbit
#

@digital cradle here

digital cradle
#

Oki

#

Thanks

mild flume
#

Back later, sorry. Work needs me

digital cradle
#

No problem

#

i need help making a change

#

should i go over to a game engine or like a library

#

cause currently i know python, some C# and i am learning Java

coarse hare
#

hi guys, im kinda new here and i would like help, which of these chat i need to go?

digital cradle
#

@mild flume Can you help @coarse hare

digital cradle
#

Thanks

mild flume
digital cradle
#

Oh sorry i forgot

coarse hare
#

sunglasses buddy 😎

digital cradle
coarse hare
raven orbit
#
Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 870 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C3D3F064-062C-4DDE-B79D-F7284C20AE2B

Device       Start       End   Sectors   Size Type
/dev/sdb1     2048   1050623   1048576   512M EFI System
/dev/sdb2  1050624   2050047    999424   488M Linux filesystem
/dev/sdb3  2050048 488396799 486346752 231.9G Linux LVM
#

the /dev/sdb bit is what's important

true valley
#

after fdisk -l

#

/dev/loop0

raven orbit
#

what does it show for your disk you're trying to work with

#

oh

#

that's... interesting

true valley
#

/dev/nvms0n1

raven orbit
#

oh, it's an nvm of course

true valley
#

/dev/sda

raven orbit
#

yeah, so which code does it show for the disk you're backing up

true valley
#

it seems to list all my hard drives

raven orbit
#
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5001ABYS-1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C2C95896-4252-49DE-8BFD-91DF8EC8CA51

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    206847    204800   100M EFI System
/dev/sda2     206848    239615     32768    16M Microsoft reserved
/dev/sda3     239616 975735436 975495821 465.2G Microsoft basic data
/dev/sda4  975736832 976771071   1034240   505M Windows recovery environment
true valley
#

/dev/sbd1 is the linux install

raven orbit
#

so the partition is /dev/sdb1 and the ssd is /dev/sdb

#

does it not show any more partitions under /dev/sdb?

true valley
#

so I should: cryptsetup luksOpen /dev/sdb1

raven orbit
#

is there no /dev/sdb2 or smth

true valley
#

correct

#

only sdb1

raven orbit
#

uh

#

interesting

#

hang on

#

how does that work

#

right, so you need to do it slightly differently

#

I thought you had a separate unencrypted boot partition

#

hang on

true valley
#

it says; Disk /dev/sdb: 931.5 GB

raven orbit
#

perfect

true valley
#

and under that it says device: /dev/sdb1

raven orbit
#

try this
cryptsetup luksOpen /dev/sdb1 linux

#

then it'll ask for the encryption passphrase

#

vgscan

true valley
#

after vgscan it gives me: Reading volume groups from cache.

#

then rood@mint:~#

raven orbit
#

pvscan

#

brb, asking my dad if he knows

#

df

true valley
#

df: can't find in /etc/fstab

#

encryptfs-mount-private

raven orbit
#

mount /dev/sdb1 /your/folder/path

true valley
#

ecryptfs-mount-private

cunning pivot
#

udisksctl

raven orbit
cunning pivot
#
        background-color: rgb(26, 28, 29);
        background-color: rgb(24, 26, 27);
true valley
#

ok so I typed: udisksctl mount -p /dev/sdb1 what am I doing wrong?

cunning pivot
#

-b

#

not -p

true valley
#

tried that also

#

error mounting

#

already mounted

#

Error mounting. GDBus.Error

#

72c282db-dcc8-4d99-a576-a4c94aa48d22

#

is the file name under /media/root

cunning pivot
#

sdb1

#

sdb

true valley
#

sdb1

cunning pivot
true valley
raven orbit
warped wind
#

unless manjaro

raven orbit
#

then it be like

#

why error

#

hi lx

#

I submitted my EMA

#

at 1 a.m.

warped wind
#

o/ lx

hearty heath
hearty heath
warped wind
raven orbit
#

of course

raven orbit
warped wind
#

ah okay

hearty heath
#

Or 11:59am after staying up all night.

#

As I once did.

raven orbit
#

but I work better in the evenings

warped wind
#

I submitted my phy assignement today, 10min before deadline, lol

raven orbit
#

now I only need to pass my exam on Tuesday and I'm all set 'til February

warped wind
raven orbit
hearty heath
warped wind
warped wind
#

would you be awake all night or sleep and wake up super early?

raven orbit
#

the EMA was for T312 electronics signal processing stuff

#

the exam is for T356 nano engineering

raven orbit
warped wind
#

fair

raven orbit
#

sleeping from 5 to 7

warped wind
#

damn

hearty heath
warped wind
#

there is an open source torrent client @cunning pivot

#

lemme get its name

raven orbit
#

sensors at nanoscale and stuff

#

also molecular motors and working with them

#

there was a lot of biology, which I detest

warped wind
#

open source torrent client

raven orbit
#

cipher

elder wraith
#

Is it CLI?

cunning pivot
#
``` @true valley
hearty heath
#

Bye oof 👋

warped wind
#

gn o/

hearty heath
#

Hello Laundmo 👋

hearty heath
#

Ah, working in different bases is surprisingly hard 😄

#

I remember having to do that in maths.

charred creek
mild flume
#

@misty sinew

golden marsh
charred creek
golden marsh
hearty heath
#

What's the issue?

mild flume
#

!stream 191683640118214656

coarse hearthBOT
#

@arctic iris

✅ @arctic iris can now stream.

hearty heath
#

Just wondering, why are you using gdb rather than pdb?

mild flume
#

A dik-dik is the name for any of four species of small antelope in the genus Madoqua that live in the bushlands of eastern and southern Africa.
Dik-diks stand about 30–40 centimetres (12–15.5 in) at the shoulder, are 50–70 cm (19.5–27.5 in) long, weigh 3–6 kilograms (6.6–13.2 lb) and can live for up to 10 years. Dik-diks are named for the alarm ...

unique raptor
#

deer

#

yes

steep fiber
#

You can thank me later

golden marsh
#

also why are embeds gone here

dry grove
steep fiber
golden marsh
#

right but all my links dont have embed

charred creek
#

!stream @arctic iris 30M

coarse hearthBOT
#

@arctic iris

✅ @arctic iris can now stream.

steep fiber
#

Discord is bugging out right now, so maybe it has to do with that?

golden marsh
#

ah maybe

steep fiber
#

This is definitely a rickroll 👀 https://youtu.be/dQw4w9WgXcQ

Rick Astley's official music video for “Never Gonna Give You Up”
Listen to Rick Astley: https://RickAstley.lnk.to/_listenYD

Subscribe to the official Rick Astley YouTube channel: https://RickAstley.lnk.to/subscribeYD

Follow Rick Astley:
Facebook: https://RickAstley.lnk.to/followFI
Twitter: https://RickAstley.lnk.to/followTI
Instagram: https:/...

▶ Play video
mild flume
#

No just got to my boss' place where I'm house sitting

#

@raw wren

raw wren
#

Oh alright 👍

raven orbit
#

@arctic iris

arctic iris
#

i3status-rs

timid mesa
#

py-list; up

mild flume
elder cradle
#

@arctic iris what is the problem you are dealing with? just out of curiosity.

arctic iris
#

I have a running Python process, I'm trying to extract the size of a queue from it

#

Without restarting the process

mild flume
#

!voice

coarse hearthBOT
#

Voice verification

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

elder cradle
#

oh that sounds annoying haha

#

yeah I got a notification when I joined the call about the voice thing

raw wren
elder cradle
#

hahaha yeah well where wasnt a message to me when I checked but I got a notification in the voiceverication chat

#

is there many ML people in here I've not seen much but I havent been around that much??

twilit ruin
#

Gonna spam in here till i get a voice chat open

#

Uhg

#

Lol

raw wren
#

We look at chat so don't feel like you're not included in the conversation.

twilit ruin
#

Okay

raw wren
#

You already have 50 messages though...

twilit ruin
#

...lmao

#

Heah

mild flume
elder cradle
mild flume
elder cradle
#

oh

mild flume
#

They'd be the folks who would do all that stoof

raw wren
#

brb gonna update Discord for the 3rd time today

elder cradle
#

im blind lol

#

ty

#

yeah hahaha

mild flume
#

!server

coarse hearthBOT
#
Server Information

Created: 4 years, 4 months and 25 days ago
Voice region: europe
Roles: 79
Member status: status_online 39851 status_offline 168437

Members: 208289

Helpers: 114
Moderators: 27
Admins: 15
Owners: 3
Contributors: 39

Channels: 223

Category: 28
News: 11
Staff: 65
Text: 111
Voice: 8

twilit ruin
#

Oh naw i forgot that I'm in "the park", now if i speak I'm going to sound like bxjwowbxkwlwb;@[×&$bwkwodn^×>#&:bdkwp92u

raw wren
#

Alright I might be back later if anyone is one

#

👋

raven orbit
#

alright I'm off

#

g'night

elder cradle
#

@willow kernel same here this is the same for me

elder cradle
#

thats the one problem with running linux :,(

mild flume
#

Right?

elder cradle
#

otherwise I'd just uninstall that 40gb piece of malware xD

mild flume
#

It's fiiiiiiiiiine

#

!voice @white pendant

coarse hearthBOT
#

Voice verification

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

mild flume
#

That'll tell you what you need to know

elder cradle
#

wrong reply lol

mild flume
#

To each their own

#

I know so much about Windows and how to manage it and what not

elder cradle
#

final straw was 4gb of ram usage making a perfectly working laptop unusable

#

e-waste generator 🥴

#

wdym?

#

oh yeah

#

depends on your work I think

#

100%

#

yes

#

lol

#

everyone should just use latex for test editing change my mind

#

hahaha

#

thats fair honestly

#

i've heard markdown is actually v good

#

yeah I've never used it

#

I mostly write research stuff tho

#

lol

#

how bad do sleep schedules for people here ahaha?

#

getting up at like 8pm is the worse thing in the worls

mild flume
#

Yeah. God I don't miss being graveyard shift

elder cradle
#

hahahaha

#

right I'm going off nice chatting to people!

#

cya

soft frost
#

i have to send at least 50 messages :(

#

hello

#

can you guys help me so i can choose a place to write python?

#

@charred creek

#

im have just started learning

#

sorry for bad english

elder cradle
#

vim in a terminal

soft frost
#

im using a video series

#

but its in spanish

#

is sublime text 3 ok?

elder cradle
#

yeah I like it anyway

#

that is good imo unironically

soft frost
#

thx

#

i will try

#

thanks guys

elder cradle
#

but you will need something to run the code not sure if it can do that by defauly

soft frost
#

i installed python 3.9

elder cradle
#

so might need to run it in terminal?

#

yeah cool

soft frost
#

is that ok?

elder cradle
#

yeah

soft frost
#

the one that comes with python?

misty sinew
#

Why has the logo changed?

#

i think the first one looked smarter as a bisnis server

steep fiber
#

We merged the logos for the two events into a single server icon

misty sinew
#

aaaaa okey thanks

dry grove
#

How do people make logos like that? I'm trying to do that with my servers

formal crag
#

You get 2 boosts when paying for Nitro, guess you can boost your own server, giving you Level 1

#

whoa, lots of help-* channels active

mild flume
#

Yeah it's a really busy day today

sleek parrot
#

#voice-chat-text-0 in other news the StackOverflow got acquired but will continue to operate independently. 1.8 bil
https://techcrunch.com/2021/06/02/stack-overflow-acquired-by-prosus-for-a-reported-1-8-billion/

The legendary Q&A website for programmers (and probably one of the most copy-and-pasted sites on the internet) Stack Overflow is being acquired. The Wall Street Journal is reporting that Prosus (the primary shareholder of Chinese gaming mega co/WeChat developer, Tencent) will acquire Stack Over…

mild flume
#

Makes sense. Wait, does SO actually turn a profit?

prime spade
#

Never heard of Prosus

mild flume
#

I think they're a Chinese holdings firm

#

Not sure

arctic iris
dusty harbor
#

Hello...

shut moon
#

I don't even know 50 words, but I'm fine with creepin'

shut moon
#

@mild flume It does makes sense btw, we already have the habits in place from years of schooling

#

Passive income

mild flume
#

True enough

ruby crag
serene widget
#

Anyone can bypass icloud iphone XR?

dusty harbor
#

@mild flume Hello sir do you guys also facing problem with google meet

dry raft
#

hello

#

hello

verbal fjord
#

helo

digital cradle
#

Sorry

#

wrong chat

#

now im in the right one

#

should i talk

#

@verbal fjord Hej

verbal fjord
digital cradle
#

you swedish

#

lol

verbal fjord
digital cradle
#

should i talk

#

@strong nymph Malware, gpu issues, ram, cpu

verbal fjord
#

halo

digital cradle
#

hi

#

should i talk

verbal fjord
#

how you doing

digital cradle
#

great hbu

verbal fjord
digital cradle
#

...

verbal fjord
digital cradle
#

fine ill talk

verbal fjord
charred creek
#

!docs json.dumps

coarse hearthBOT
#

json.dumps(obj, *, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=None, indent=None, separators=None, default=None, sort_keys=False, **kw)```
Serialize *obj* to a JSON formatted [`str`](https://docs.python.org/3/library/stdtypes.html#str "str") using this [conversion table](https://docs.python.org/3/library/json.html#py-to-json-table). The arguments have the same meaning as in [`dump()`](https://docs.python.org/3/library/json.html#json.dump "json.dump").

Note

Keys in key/value pairs of JSON are always of the type [`str`](https://docs.python.org/3/library/stdtypes.html#str "str"). When a dictionary is converted into JSON, all the keys of the dictionary are coerced to strings. As a result of this, if a dictionary is converted into JSON and then back into a dictionary, the dictionary may not equal the original one. That is, `loads(dumps(x)) != x` if x has non-string keys.
late forge
#

Hi

#

I am new to python so if I ask dumb questions sorry so is ubuntu good to code or should I go for kali linux?

olive sable
#
{
    "predictions": [
        {
            "x": 327.0,
            "y": 113.5,
            "width": 122,
            "height": 83,
            "class": "a",
            "confidence": 0.686
        },
        {
            "x": 333.0,
            "y": 240.5,
            "width": 110,
            "height": 97,
            "class": "k",
            "confidence": 0.719
        },
}
charred creek
#

!e

from dataclasses import dataclass

@dataclass 
class Prediction:
  x: float
  y: float
  width: int
  height: int
  _class: str
  confidence: float
  
  @property
  def center(self) -> tuple[int, int]:
    return (self.x + (self.width//2), self.y + (self.height//2))

json_data = {
    "predictions": [
        {
            "x": 327.0,
            "y": 113.5,
            "width": 122,
            "height": 83,
            "_class": "a",
            "confidence": 0.686
        },
        {
            "x": 333.0,
            "y": 240.5,
            "width": 110,
            "height": 97,
            "_class": "k",
            "confidence": 0.719
        }
    ]
}

predictions = [Prediction(**prediction) for prediction in json_data["predictions"]]

for predicition in predictions:
  print(predicition)
  print(f"Center is {predicition.center}")

coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

001 | Prediction(x=327.0, y=113.5, width=122, height=83, _class='a', confidence=0.686)
002 | Center is (388.0, 154.5)
003 | Prediction(x=333.0, y=240.5, width=110, height=97, _class='k', confidence=0.719)
004 | Center is (388.0, 288.5)
charred creek
#

@spare blaze

#

!voice

coarse hearthBOT
#

Voice verification

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

charred creek
#

this explains how to get voice verified ^

olive sable
sleek parrot
#

response = request.post("url")
response structure
response - headers
- content
so you do response.content.json() to get access to the json part of the response.

coarse hearthBOT
#

@charred creek :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 13, in <module>
003 |   File "<string>", line 11, in __init__
004 | TypeError: object.__init__() takes exactly one argument (the instance to initialize)
charred creek
#
class Prediction:    
    def __init__(self, data: dict) -> None:
        self.x = float(data["x"])
        self.y = float(data["y"])
        self.width = int(data["width"])
        self.height = int(data["height"])
        self._class = data["class"]
        self.confidence = float(data["confidence"])
    
    @property
    def center(self) -> tuple[float, float]:
        return self.x + (self.width // 2), self.y + (self.height // 2)
royal saffron
#

@olive sable you may need to hide your logins, I see your AWS DB password

late forge
#

Is typing fast good to code? Or maybe it doesnt matter?

#

oh ok

sleek parrot
#
for prediction in response.get("predictions"):
    pred = Predictions(prediction)
    # do something with pred
charred creek
#

!e

import time

def timeit(func):
    def timed(*args, **kwargs):
        ts = time.time()
        result = func(*args, **kwargs)  # Actual function call
        te = time.time() 
        print(f"{func.__name__} took {te-ts:2.4f} seconds")
        return result
    return timed

@timeit
def do_stuff():
  time.sleep(1)

do_stuff()
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

do_stuff took 1.0033 seconds
sleek parrot
#
import os
load_dotenv(".env")
token = os.getenv("token")
digital cradle
charred creek
#

!e

from __future__ import annotations

class Prediction:
  def __init__(self, data: dict) -> None:
    self.x = float(data["x"])
    self.y = float(data["y"])
    self.width = int(data["width"])
    self.height = int(data["height"])
    self._class = data["class"]
    self.confidence = float(data["confidence"])
  
  @property
  def center_x(self) -> int:
    return self.x + (self.width//2)

  @property
  def center_y(self) -> int:
    return self.y + (self.height//2)

  @property
  def center(self) -> tuple[int, int]:
    return self.center_x, self.center_y

  def in_range(self, other: Prediction) -> bool:
    return abs(self.center_x - other.center_x) <= 0.10 or abs(self.center_y - other.center_y) <= 0.10


json_data = {
    "predictions": [
        {
            "x": 327.0,
            "y": 113.5,
            "width": 122,
            "height": 83,
            "class": "a",
            "confidence": 0.686
        },
        {
            "x": 333.0,
            "y": 240.5,
            "width": 110,
            "height": 97,
            "class": "k",
            "confidence": 0.719
        }
    ]
}

predictions = [Prediction(data) for data in json_data["predictions"]]
first_pred = predictions[0]
second_pred = predictions[1]
print(first_pred.in_range(second_pred))
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

True
olive sable
#

Production line is the new car factory management/simulation/tycoon game that pushes your organisational and entrepreneurship skills to the limit. Can you build the ultimate optimised, free-flowing car production line whilst beating the competition and still turn a profit?A modern car factory is a near perfect example of efficiency, process-mana...

Price

$24.99

Recommendations

2532

▶ Play video
charred creek
#

!stream @olive sable 30M

coarse hearthBOT
#

@olive sable

✅ @olive sable can now stream.

sleek parrot
#

Wanted Raccoon is a story about a raccoon that lived a peaceful life in the forest until one day people invaded it. They cut down the trees and built their own houses instead. Animals families were taken away from them and all those who couldnt hide were placed in animal shelters. Our Raccoon met the same fate. Help the raccoon get free, find ...

Price

$19.99

Recommendations

145

▶ Play video
#

🙂

#
olive sable
#

"forward" "a"

sleek parrot
#
res = []
for p in predictions:
# searching for "a"
  if p._class == "a":
     res.append(p)
  elif p._class == "z":
     res.append(p)
  elif len(res) >= 2:
     break     
drifting widget
#

wassp

#

guys

#

i wanted to say that i love u

random minnow
charred creek
#

!stream @olive sable 5M

coarse hearthBOT
#

@olive sable

✅ @olive sable can now stream.

south arch
#

robot wars!!!!

charred creek
#

!stream @olive sable 5M

coarse hearthBOT
#

❌ @olive sable can already stream.

charred creek
#

!stream @olive sable 5M

coarse hearthBOT
#

@olive sable

✅ @olive sable can now stream.

olive sable
#

@charred creek The perms ran out

charred creek
#

!stream @olive sable 5M

coarse hearthBOT
#

@olive sable

✅ @olive sable can now stream.

olive sable
#

It is working, thanks for the help

raw wren
#

!voice @wise grail

coarse hearthBOT
#

Voice verification

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

charred creek
#

!e

for i in reversed(range(10)):
  print(i)
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

001 | 9
002 | 8
003 | 7
004 | 6
005 | 5
006 | 4
007 | 3
008 | 2
009 | 1
010 | 0
hidden cliff
#

!e

for i in range(10, 0, -1):
  print(i)
coarse hearthBOT
#

@hidden cliff :white_check_mark: Your eval job has completed with return code 0.

001 | 10
002 | 9
003 | 8
004 | 7
005 | 6
006 | 5
007 | 4
008 | 3
009 | 2
010 | 1
charred creek
#

!code

coarse hearthBOT
#

Here's how to format Python code on Discord:

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

These are backticks, not quotes. Check this out if you can't find the backtick key.

random minnow
#

!e print(''.join([str(i) for i in range(10, 0, -1)]))

haughty gulch
#
string = python
for char in reverse(string):
  print char
coarse hearthBOT
#

@random minnow :white_check_mark: Your eval job has completed with return code 0.

10987654321
haughty gulch
#

!code

coarse hearthBOT
#

Here's how to format Python code on Discord:

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

These are backticks, not quotes. Check this out if you can't find the backtick key.

charred creek
#

!e

string = "python"
print(''.join(reversed(string)))
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

nohtyp
royal saffron
#

I am asking not sure

charred creek
#

!e

string = "python"
print(str(reversed(string)))
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

<reversed object at 0x7feb17a7ec10>
charred creek
#

!e

fruits = ["Apple", "Banana", "Cherry"]
print(', '.join(fruits))
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

Apple, Banana, Cherry
royal saffron
random minnow
#

!e print("hello world"[::-1])

charred creek
#
def Apple() -> bool:
  print("Cool")
coarse hearthBOT
#

@random minnow :white_check_mark: Your eval job has completed with return code 0.

dlrow olleh
haughty gulch
winter crag
#

you can just s[::-1] instead of reversed

random minnow
#

its a negative step

winter crag
#

Yep

random minnow
#

!e print('Hello'[::])

coarse hearthBOT
#

@random minnow :white_check_mark: Your eval job has completed with return code 0.

Hello
winter crag
#

@charred creek, what's the game?

sleek parrot
hearty heath
#

Heyy 👋

#

No MacOS version unfortunately sad_cat

#

I have a PC that I use as a footrest 😄

#

But god knows if it's powerful enough to run anything.

#

Yeah, true that lemon_pensive

proud torrent
#

its an allienware

#

?

hearty heath
proud torrent
#

what did you mean it can run anything

#

the hardware itself or the control he can exercise over powerful machines

hearty heath
#

It has a relatively recent graphics card, as it was going spare.

proud torrent
#

get it, like crysis

#

i mean ten years ago if your computer ran crisys it meant it was a good pc

hearty heath
#

Mina 👋

peak frigate
#

erm, LX bongowave

hearty heath
#

I never remember if its or ()[] 😄

proud torrent
#

a code source is constantly changing? like, can be insanely different if acessed by some know id

random minnow
willow kernel
hearty heath
#

If you can't focus for 2 hours 😄

#

(like me)

#

I had this weekly 2 hour economics lecture at university. It was torture 😄

#

But the econ students had a 4-hour lecture lemon_pensive

#

2 hours directly after the 2-hour elective lecture.

#

Yep.

#

Cya KJ 👋

#

All the games.

#

Yeah I kind of agree actually.

#

Saying that it's a controversial opinion is kind of back-handed though... 😄

elder wraith
#

pro bot

elder wraith
#

The Company reserves the right to modify or discontinue, temporarily or permanently, the Service (or any part thereof) with or without notice. The Company reserves the right to refuse any user access to the Services without notice for any reason, including but not limited to a violation of the Terms. If you violate these Terms, the Company reserves the right to issue you a warning regarding the violation or immediately terminate or suspend any or all Accounts you have created using the Service. You agree that the Company need not provide you notice before terminating or suspending your Account(s), but it may do so.

misty sinew
#

im good at python

hearty heath
#

Hi Batch 👋

misty sinew
#

hi

hearty heath
#

How goes?

misty sinew
#

what?

peak frigate
#

how goes it?

misty sinew
#

goes what

peak frigate
#

or in other words, how are you doing? is what we're asking lol

misty sinew
#

yes

#

im doing well

#

i have made a batch obfuscater

#

IN PYTYON

peak frigate
#

lol

misty sinew
#

!paste

coarse hearthBOT
#

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.

raw wren
#

@peak frigate joinnnn

misty sinew
#

i join instead

peak frigate
misty sinew
#

just make it not hotttt

hidden cliff
#

GPS:iron:-266437.04:-2464275.2:382297.29:#FF75C9F1: @elder wraith @charred creek @raw wren

raw wren
autumn raft
misty sinew
#

i wish str objects supported item alignment

peak frigate
#

I need a minacave in a basement or cellar

raw wren
#

Ooo

#

We should help you design it

peak frigate
#

lol gofundme for minacave

#

I will need some land

raw wren
#

You can live in my shed outside if you want

misty sinew
#

i can be the programer

raw wren
#

It's hot as shit in there so idk if it will help your situation.

misty sinew
autumn raft
peak frigate
#

I'll take the basement ty

autumn raft
#

hellll nah, basement is the best part.

autumn raft
peak frigate
#

☹️

misty sinew
#

type hinting is the fucking best

autumn raft
hearty heath
worldly coyote
#

What game are you guys playing?

hidden cliff
#

GPS:iron silicon magnesium:-267326.21:-2463669.7:383617.67:#FF75C9F1: @charred creek @autumn raft @elder wraith

autumn raft
peak frigate
#

@hidden cliff I constantly have to have you at <20% bc of your screaming

pls

#

no your range of decibels in volume is too loud lol

#

bc when you talk normally it's fine

hidden cliff
#

GPS:nickel cobalt:-266600.76:-2462632.07:384892.31:#FF75C9F1: @elder wraith @autumn raft

hearty heath
#

Yeah, imagine 👀

autumn raft
#

lots of lebaur

peak frigate
#

otn Jake's child leighbor

#

actually

#

it was pinned twice

autumn raft
#

!otn a jake's child leighbor

coarse hearthBOT
#

:ok_hand: Added jake’s-child-leighbor to the names list.

autumn raft
#

!otn s jake

coarse hearthBOT
#
Query results

• honored-to-witness-jake
• jake’s-child-leighbor
• jake’s-hd-eyeballs
• jake’s-little-mustache

fluid edge
#

lol @ honored to witness

autumn raft
#

@ jake has too many heccin otns

hearty heath
peak frigate
#

vote for permanent ella cam

#

no it's not

#

it's 10pm how is that late

#

also your apartment is a ghost building

#

he has his own

haughty gulch
#

@autumn raft ur doggo is very cute

autumn raft
#

tyty

peak frigate
raw wren
#

I just found a pic when we first got scout

peak frigate
#

omigoddd

fluid edge
#

awwwwwwwwww

proud torrent
#

the voice channel is for asking questions or is something private

autumn raft
#

!voice

coarse hearthBOT
#

Voice verification

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

autumn raft
proud torrent
#

because this server its too obscure for me

autumn raft
#

This is a general, casual chat. You are free to ask questions here, but many people here are not here to answer

#

sometimes we talk python, but not always

proud torrent
#

i just like to hear people talking with that intuition of programming logic

autumn raft
#

right now we are playing video games, haha. Weekdays are more "programming talk" time

proud torrent
#

its similar things i guess

#

im trying to connect my headphone

tired hare
#

Hi guys 👋 do you know of a interesting python project that you can do on a phone?

haughty gulch
tired hare
#

Thank you 👍 @haughty gulch

haughty gulch
#

everybody needs a wombat sometimes

tired hare
#

Yes I agree.

#

We all need a bit of wombat energy sometimes

proud torrent
#

What that means?

tired hare
#

If you know you know

boreal sinew
#

@raw wren Sorry for the question, how old are you?

blazing plank
#

15 iirc

karmic dove
#

hello

raven orbit
#

I'll be in in half a mo

#

welp, no response from jake

#

k whatever then

winter crag
#

@raw wren, have you slept tonight?

warped wind
#

o/ jake

winter crag
#

that's a bad symbol, hehe

raven orbit
#

earth to @raw wren

#

you alive

#

he is not alive

winter crag
#

dead inside 1000-7

raven orbit
#

y'all just sitting there muted with a nontalking jake

#

that voice chat must be real interesting

hidden cliff
#

@raven orbit im pretty sure jake fell asleep at his pc or smth

raven orbit
#

quite possible

#

considering the times he's up

cursive turret
#

Can anyone help me solving this problem guys?
Find substrings containing an e-mail address
Task:

You are given a set of strings separated with line feed characters. Find the longest substrings that can be considered e-mail addresses.

An e-mail address consists of three parts: the name of the local part, an "@" character, the domain name of the server.

The local part name can contain latin letters, digits and underscore characters "_".

The server domain name consists of the name itself (digits, latin letters and dash symbols "-") and names of all other domain it belongs to, each separated with a period. The fully qualified domain name should not exceed 66 symbols.

In this task, we'll take the top-level domain as a string of latin letters from 2 to 4 (inclusively) characters long.

The local part name should be separated from the domain name with an "@" character.

Input:

A set of strings separated with line feed characters.

Output:

All the longest correct substrings in the order in which they appear in the text, separating each with a line feed character.
Example:

Input
a@b.cde

Va$ya123@shmail.ru
Output
a@b.cde

ya123@shmail.ru

winter crag
#

just use that regular expression

#

And then choose the longest string

misty sinew
#

@cursive turretis this a graded asignment

raven orbit
#

@misty sinew hai

#

how you doin'

#

hurrah

#

lol

#

wish I could do that

#

ah

#

I stopped the meds 7 years ago

#

'cuz of bad side effects

#

currently cramming for exam

#

well, the main side effect for me was to almost die of malnutrition

#

not really an option

#

ah yes

#

ice cream al italia

#

mmm yes

#

O_O

#

gonna be the new c++ huh

#

I kinda like oop tbh

#

as you may have seen from my code

#

yeah true

#

true

#

and what are you writing it in

#

ah

#

so another c wrapper basically

#

oh ok

#

wait
you're writing your own compiler?

#

that might get interesting

#

is the repo public

#

I'd be interested

#

sure

#

is typing dynamic

#

so you overwrite your types or smth?

#

I see

#

ah
J know rather little about generics

#

I see

#

it's a bit difficult for me to get a grasp on this coming from python

#

types were never a big consideration

#

lol

#

perhaps I should learn c++

#

or whatever that Java derivative is called which they write android apps in

#

kotlin yeah

warped wind
#

jake still afk?

raven orbit
#

yep

warped wind
#

alright

random minnow
sleek parrot
#
typedef enum
{
    false = 0,
    true = !false
} bool;
#

typename is other of the constructs that is used with templates to define new data types. 🙂
And typedef is C and a bit outdated.

narrow needle
#

@tardy ice you can screen share now

cursive turret
#

sss

#

s

#

s

#

s

coarse hearthBOT
#

:incoming_envelope: :ok_hand: applied mute to @cursive turret until 2021-06-06 19:01 (9 minutes and 58 seconds) (reason: duplicates rule: sent 6 duplicated messages in 10s).

raven orbit
#

AL lib: (EE) alc_cleanup: 1 device not closed

#
UTF-8
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.lwjgl.LWJGLUtil$3 to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.lwjgl.LWJGLUtil$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
tidal heath
raven orbit
#
        self.suivant = pygame.image.load("./Menu/suivant.png")
        self.suivant = pygame.transform.scale(self.suivant, (50, 50))
tidal heath
#

translate all in English

raven orbit
#

get rid of all the self-overwriting attributes

tidal heath
raven orbit
#

insert some spaces
return coordinates[y%len(list_coo_x)][x%list_coo_x[y%len(list_coo_x)]]

#

try pycodestyle

#

or flake8

#

or black if you cba to fix it

sleek parrot
#

@raven orbit @true valley

raven orbit
#

@sleek parrot where'd you go

#

An electret microphone is a type of electrostatic capacitor-based microphone, which eliminates the need for a polarizing power supply by using a permanently charged material.
An electret is a stable dielectric material with a permanently embedded static electric dipole moment (which, due to the high resistance and chemical stability of the mater...

winter crag
#

What have you done, @raven orbit ?

raven orbit
#

deleted random files from a game I have installed

#

which were meant to make the game runnable on windows

#

I'm on linux

#

now the game runs faster for some reason

#

goodness knows why

winter crag
#

You start it with wine or analog?

raven orbit
#

it's java

winter crag
#

Oh

#

Cool

raven orbit
#

just running it locally

#

lol

winter crag
#

another minecraft clone? hehe

raven orbit
#

nope

#

OpenTTD is a business simulation game in which players try to earn money by transporting passengers and freight via road, rail, water and air. It is an open-source remake and expansion of the 1994 Chris Sawyer video game Transport Tycoon Deluxe.
OpenTTD duplicates most features of Transport Tycoon Deluxe and has many additions, including a range...

#

0 A.D. is a real-time strategy video game under development by Wildfire Games. It is a historical war and economy game focusing on the years between 500 BCE and 1 BCE, with the years between 1 CE and 500 CE planned to be developed in the future. The game is cross-platform; playable on Windows, macOS, Linux, FreeBSD, and OpenBSD. It is composed e...

winter crag
#

it's looks cool

raven orbit
#

you Dutch?

#

lol

winter crag
#

russian....

raven orbit
#

huh

winter crag
#

it's looks

#

hahah

#

it looks*

raven orbit
#

so why have you got the settings in Dutch

winter crag
#

ph

#

oh

raven orbit
winter crag
#

it's just screenshot from wiki

#

I have problems only with unknown people, maybe that's the reason why I haven't get an internship

raven orbit
#

lol

#

maybe it's because they have issues with you

warped wind
winter crag
#

para param

raven orbit
#

this

winter crag
#

yep

#

right

#

hahaha

#

one night before the exam

#

hello, @slim swift

#

yeah, I need some messages to verify 🙂

#

Have somebody cocked a pistol?

#

there was a sound like "clck"

raven orbit
#

@winter crag it was a lighter

winter crag
#

good smoking then

tired hare
#

@misty sinew hello

misty sinew
#

hi

tired hare
#

@sage cloud hello

#

working on a nextcloud serveur

#

for myself

#

can you repeat

#

nope

#

haha

#

sry

#

can you explain

#

wat it is

#

dot?

#

wat is the name of this algo

sage cloud
#

insertion sort

tired hare
#

ok thx

true valley
#

ILOVEYOU, sometimes referred to as Love Bug or Love Letter for you, is a computer worm that infected over ten million Windows personal computers on and after 5 May 2000 when it started spreading as an email message with the subject line "ILOVEYOU" and the attachment "LOVE-LETTER-FOR-YOU.txt.vbs". The latter file extension ('vbs', a type of inter...

coarse hearthBOT
#

Hey @icy dirge!

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

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

#

Hey @icy dirge!

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

golden marsh
#

@upper dragon ssh root@127.0.0.1

tawny cave
#

@misty sinew Up?

misty sinew
#

hlo

tawny cave
#

Could you read regex?

misty sinew
#

ya but not much complex

#

i have just started regex

tawny cave
#

what is + sign for

#

If you can use the mic easier for u

misty sinew
#

ok

#

just wait

tawny cave
#

so if i write it without it what would happen

#

This code will hust get out the @ as this
if the user enter 192.168.1.1 it will get it out like 192.168.1

#

Can I call privately? I cannot use the mic here

misty sinew
#

no prob

icy dirge
#

Why do I prompt my continue outside the loop?

#

Did I type something illegal?

misty sinew
#

please share the code

icy dirge
#
import time
import os
import sys
import json


class GetFileNames():
    def __init__(self, PlayerDatabasePath='PlayerDatabase'):
        self.files = os.listdir(PlayerDatabasePath)
        self.filenames = []

    def getFileNames(self):
        for file_name in self.files:
            pureFileName = file_name.split(".", 1)
            # 排除子目录、非word类型文件及隐藏文件("~"for MacOS,"." for Windows)。
            if (len(pureFileName) == 1) or (pureFileName[1] != 'json'
                                            or pureFileName[0][0] == "~" or pureFileName[0][0] == "."):
                continue
            self.filenames.append(pureFileName[0])
            return self.filenames

class BankingFile:
    def __init__(self, steam64ID_file, steam64ID):
        self.steam64ID_file = './' + steam64ID + '.json'
        self.steam64id = input("user:")
        if self.steam64id in self.filenames:
            continue
        else:
            return```
#

ok

misty sinew
#

continue is inside the loop

#

what u wanna do with files

icy dirge
#

Check to see if there is a relative file in the folder. If so, proceed. If not, return

misty sinew
#

for which sort of files u wanna make a check

icy dirge
#

json

#

self.steam64id = input("user:")

#

and this i don‘ know the line is right or wrong

misty sinew
#

so basically this line pureFileName = file_name.split(".", 1) gives list of file name and extension

icy dirge
#

yes

misty sinew
#

so u can pureFileName = file_name.split(".", 1)[0] will give u file name only not a list of file name and extension json

#

u are cared about extension in if statement so whynot u just take only filename only

icy dirge
#

Because I'm afraid of getting mixed up with other files

misty sinew
#
class GetFileNames():
    def __init__(self, PlayerDatabasePath='PlayerDatabase'):
        self.files = os.listdir(PlayerDatabasePath)
        self.filenames = []

    def getFileNames(self):
        for file_name in self.files:
            pureFileName = file_name.split(".", 1)[0]
            # 排除子目录、非word类型文件及隐藏文件("~"for MacOS,"." for Windows)。
            if (len(pureFileName) == 1) or pureFileName[0][0] == "~" or pureFileName[0][0] == ".":
                continue
            self.filenames.append(pureFileName)
            return self.filenames

class BankingFile:
    def __init__(self, steam64ID_file, steam64ID):
        self.steam64ID_file = './' + steam64ID + '.json'
        self.steam64id = input("user:")
        if self.steam64id in self.filenames:
            continue
        else:
            return

#

i mean this

icy dirge
#
self.files = os.listdir(PlayerDatabasePath)[0]```
misty sinew
#

oo i think i got u

icy dirge
#

add,this it will be check this folder at the beginning?

misty sinew
#

u can also use ```py
if os.path.splitext(filename)[1] == 'json:
continue

icy dirge
#

THE ONE IS INSTEAD OF IT?

cursive turret
#

hello world

#

hhello

#

guys

#

when l am gonna open my vo'ce

true valley
#

!voice

coarse hearthBOT
#

Voice verification

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

peak frigate
# cursive turret when l am gonna open my vo'ce

hi i saw you ask this several times, but you've not hit the minimum message count of 50. to see what requirements you have or haven't met, go to the voice-verification channel linked above and type !voiceverify

also participating in normal conversation in channels throughout the server will help you get to the required message count, instead of spamming

mild flume
#

@cursive turret You may also want to check any messages you've received from @coarse hearth in your DMs

true valley
raw wren
#

@true valley wanna hop into a help channel so I can help you setup the project?

sleek parrot
misty sinew
#

do u write linux drivers @misty sinew

misty sinew
#

Oo

#

I was thinking of learning linux device drivers dev

#

That's why@sleek parrot recommended me this

sleek parrot
misty sinew
#

Hmm

sleek parrot
#

lol

sleek parrot
#

channel switching channelflicking

abstract hornet
#

yes

haughty plover
mild flume
#

Nope, not on this server anyway. They typically violate YouTube's terms of service, so we steer clear of them

misty sinew
#

I'm srry

#

Thank ü

mild flume
#

No reason to be sorry!

random minnow
#
class py_parser : public mathparser{
public:

  void _appendvariable(std::string name, double value){
    double* heap_var = new double(value);
    appendvariable(name, *heap_var);
  }
};
#
 void appendVariable(std::string name, double &value){
    externalVariablesMap[name] = &value;

    if (!inVector(name, externalVariables)) externalVariables.push_back(name);
  }
#

[array, array, int]

charred creek
#

type vector3d = [float float float]

#

[array [float float float] ]

#

type matrix2D = [array<array<int>> float];

random minnow
#
define struct vector3d{
    float x;
    float y;
    float z;
}
charred creek
#
age: int = 18
elder wraith
#

!e python age: int = "Hemlock"

coarse hearthBOT
#

@elder wraith :warning: Your eval job has completed with return code 0.

[No output]
elder wraith
#

but it's not enforced

mild flume
#

Well no

#

But that's just how they do

charred creek
#
from typing import Callable

def long_str(s: str) -> bool:
  return len(s) > 5

my_func: Callable[[str], bool] = long_str
#

do this

#

its good idea

raw wren
#

do what?

#

oh

mild flume
#

combo

raw wren
#

I still think it's a better idea to not have the on/off commands

mild flume
#

Cracker or pretzel tube that's typically filled with cheese

#

I've never actually had that kind

#

@sleek parrot Preferred ways to store data

charred creek
#

@raw wren

#

len() not count

raw wren
#

👍

safe sleet
#

Alright

#

You don't need to do that when you use the choice funcion

charred creek
#

!e

class Jake:
  def __len__(self):
    return -9999

print(len(Jake()))
coarse hearthBOT
#

@charred creek :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | ValueError: __len__() should return >= 0
charred creek
raw wren
#

👏

safe sleet
#

You should generate random usernames by adding strings to each other

digital cradle
#
import random

Usernames = {
    1:"ImInMyMumsCarBromBrom12",
    2:"Potatoeater5126",
    3:"Meowie54",
    4:"Yourcat_exe12",
}

num1 = random.randint(1,4)

print(Usernames[num1])
safe sleet
#

list

#

Exactly, you want a list of usernames. There is no need for a dict

warped wind
#

!set

coarse hearthBOT
#
Did you mean ...

self
seek

warped wind
#

!e

import random

usernames = {"ImInMyMumsCarBromBrom12", "Potatoeater5126", "Meowie54", "Yourcat_exe12"}

print(random.choice(usernames))```
coarse hearthBOT
#

@warped wind :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 |   File "/usr/local/lib/python3.9/random.py", line 347, in choice
004 |     return seq[self._randbelow(len(seq))]
005 | TypeError: 'set' object is not subscriptable
safe sleet
#

Use a list or tuple

warped wind
#

!e

import random

usernames = ("ImInMyMumsCarBromBrom12", "Potatoeater5126", "Meowie54", "Yourcat_exe12")

print(random.choice(usernames))
coarse hearthBOT
#

@warped wind :white_check_mark: Your eval job has completed with return code 0.

Meowie54
warped wind
#

!stream 689087720018280478 15min

coarse hearthBOT
#
Bad argument

Could not convert "duration" into Duration or ISODateTime.
15min is not a valid ISO-8601 datetime string

#
Command Help

!stream <member> [duration]
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.*

warped wind
#

!stream 689087720018280478 15M

coarse hearthBOT
#

@digital cradle

✅ @digital cradle can now stream.

safe sleet
#

Question, which uses the least amount of memory, a tuple or a list?

#

Oh really?

#

And uppercase for classes

#

You're using []

#

You have to use ()

#

It's a function

#

You need to use ()

#

Not []

#

No need to pass a list in a list

#

Run code locally?

warped wind
safe sleet
#

Oh yeah I'll take a look real quick

warped wind
#

!e

import sys

print(sys.getsizeof((1, 2)))
print(sys.getsizeof([1, 2]))```\
safe sleet
#

You were right

coarse hearthBOT
#

@warped wind :white_check_mark: Your eval job has completed with return code 0.

001 | 56
002 | 72
safe sleet
#

But, which one is faster to use...

warped wind
#

depends on your usage

#

use tuple if the data will not be changed

#

and list otherwise

#

then there won't be confusion on which one to use

safe sleet
#

Hm yeah, good idea

#

Up till now, I have never used tuples

#

Always used lists

warped wind
#

so you should never run into a problem of selecting between a tuple or list, it has to either one, not both

#

ah

#

you could start using tuples in place a lists where you know the data will not change in those collections

safe sleet
#

I'll think about it next time I create a list

warped wind
#

👍

#

you can also checkout namedTuples

#

!namedtuples

#

!namedtuple

safe sleet
#

Why does that look like a class to me

warped wind
#

it does work like one

#

if we take the example from the docs

#
>>> # Basic example
>>> Point = namedtuple('Point', ['x', 'y'])
>>> p = Point(11, y=22)     # instantiate with positional or keyword arguments
>>> p[0] + p[1]             # indexable like the plain tuple (11, 22)
33
>>> x, y = p                # unpack like a regular tuple
>>> x, y
(11, 22)
>>> p.x + p.y               # fields also accessible by name
33
>>> p                       # readable __repr__ with a name=value style
Point(x=11, y=22)```
#

its same as

class Point:
    def __init__(self, x, y):
        self.x = x
        self.y = y
safe sleet
#

Damn, this is cool! I wish I'd learned this ages ago

warped wind
#

the collections module is gold

safe sleet
#

There are so many modules

warped wind
#

defaultDict is another useful one

#

Counter too

safe sleet
#

Tip, use TAB

digital cradle
#
import random


usernames = [
    "H3lloworld_",
    "Meowie12",
    "YourCat_exe",
    "yourdog12",
    "Meowieeeee12",
    "BananaLov3r12",
    "_PythonCoder_",
    "CatLover12",
    "_Cats52",
    "Oops123_",
    "Password1234",
    "print(\"Hi\")",
    "ProPlayer12",
    "Hey1222",
    "_CatsAREcute_",
    "__init__(self)",
    "Meow123",
    "Doggo12",
    "pingu12",
    "Capitaine Iceman", # Iceman#6508 on discord
    "Mr.Hemlock", # Mr. Hemlock#2740 on discord
    "JakeyMonkey", # _jake#6143 on discord
    "CatFood_12"
]

print(random.choice(usernames))
#Credit - Faty Caty#0717 on discord

mild flume
elder wraith
warped wind
#

I just noticed griff has a spinning pikachu on a chair

charred creek
boreal sinew
#

saves on computer

warped wind
#

I'm gonna head to bed, cya tmw o/

pearl torrent
#

noooooo

#

bye!

peak frigate
#

parasocial

#

SELECT * from JAKIETABLE

random minnow
#

DROP TABLE JAKIETABLE

charred creek
#
UPDATE 
  config

SET
  chan_1 = $1,
  chan_2 = $2

WHERE 
  guild_id = $3
queen bloom
#

i cant talk because i have less than 50 messages

#

So please someone talk to me so that i can to those 50

raw wren
#

Well we look at chat so feel free to join in on the conversation.

queen bloom
#

why is no one talking anymore

#

i see

#

Jake is a tiran

#

he is oppressing the system

#

We demand democracy

#

So magnets

#

How do they work?

charred creek
#

they don't

#

i think

queen bloom
#

you sound 14

#

lmao

sleek parrot
#

that is annoying picture @night lake dude.

barren bear
#

!e ```py
print(1)

coarse hearthBOT
#

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

1
normal bane
#

They control sensors, robots parts?

#

I mean you can make a fake one with a bunch of buttons

#

probably not very good though

night lake
#

@barren bear @shell brook Look at your life and see how you can use electronics to solve a problem

normal bane
#

Eh maybe just build a robot car or something

night lake
#

@barren bear WTF

normal bane
#

yeah can use servos and distance sensor

barren bear
#

me when

#

head

#

head too large

#

cancer

#

terminal
i have terminal cancer

#

big head
huge head help help extreme pain

#

death
death aproaches oof ouch owie my head

night lake
#

@barren bear Go through a day of living and see how you can implement certain tech projects. The brain storm

#

@shell brook It something done in stages

normal bane
#

have never used bluetooth, but I think some of them you can register the boards on a cloud platform and control it there?

#

I don't know whether your arduino has wifi capabilities though

#

Oh I didn't hear the first bit lol, yeah esp has wifi

night lake
#

If you make just to make it will slowly use its excitement but if you make something that solves a problem in your life it will mean so much more

#

@shell brook

#

lose

#

yes

#

Biggie

#

Yes

#

@shell brook Once I can talk in VC

#

I will talk with you if you want to

shell brook
#

when can u lolol

#

oh yay

normal bane
#

Anything that involves a sensor, or can be built on eletronic bits

night lake
#

50 messages

normal bane
#

Yeah I can't talk in VC either, need to be here 3 days lol, only been for 2

night lake
#

@shell brook Yes you are on the right track.

#

Now is it practical?

#

You see the mindset you had @shell brook its like your a kid in a candy shop

#

possibilities are endless

normal bane
#

It's just called Ring I think

night lake
#

@normal bane dont be a party pooper

shell brook
#

lololol

barren bear
night lake
#

yes personalize it to you customers needs

normal bane
#

Nah just me spamming buttons lol

#

Ehh different people learn in different ways

#

self control app?

#

Also if you use chrome, maybe set up multiple accounts. Use one desktop only for work, and one only for leisure.

#

256KB.. that's a lot of RAM!

#

Yeah, mostly before computers and the internet the growth was much slower

#

Is this related to the Social Dillema?

cold nova
shell brook
#

@night lake Did u find the youtuber

#

LOL

night lake
#

im looking

shell brook
#

Add me as a friend lolol

#

Bro you sound like someone ive met before

#

Maybe u r him LOL

#

is ur name Nasir

night lake
#

Me

shell brook
#

yes u

#

lol

night lake
#
lime dawn
#

@misty sinew tbh, uni for CS isn't really good... In my experience it's way more theoretical than acc practical

shell brook
#

^

#

lol

#

100%

#

i ageee

#

agree

lime dawn
#

Yea

shell brook
#

its not what people think

#

I think Software engineering is A MUCH BETTER OPTION

#

MUCHHHHHHHHHH better

#

lol

lime dawn
#

Kinda agree

#

BUT

#

I really think that in programming you can learn more at your own

shell brook
#

oh yea 100%

#

if u wanna learn proggramming

lime dawn
#

@misty sinew College doesn't take money away???

shell brook
#

ey

#

😎

lime dawn
#

Yea but

#

like...

#

You can sit and learn not in college

#

@misty sinew But you can do that without college as well....