#voice-chat-text-0

1 messages Β· Page 128 of 1

sharp urchin
#

and u?

vocal basin
#

homing pigeons do over 100
but doubt this one is a homing pigeon

pliant wedge
#

@sharp urchin Hello 😺

#

@nova prawn Bypass?

gentle flint
sharp urchin
#

nahh i read a thing @nova prawn

gentle flint
sharp urchin
#

there is a command

#

you write

#

and then it gives you the access to restricted content

#

i forgot what it was

vocal basin
#

!rule 5 sharing bypasses of chat models is probably not appropriate here

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

sharp urchin
#

when i find it imma dm him

#

anyways whatsgood AF

whole bear
#

hey

sharp urchin
#

i see the name changing from abbreviations to full forms now

#

glad

whole bear
#

cruiser

#

decode this

pliant wedge
#

@raw hazel

#

hello

raw hazel
#

hi

pliant wedge
#

Hru?

raw hazel
#

nice sir

pliant wedge
#

@somber heath who are you talking to?

#

ara ara

pliant wedge
raw hazel
#

my connection is weak , my vc is still showing 'connecting'

somber heath
#

@eager owl πŸ‘‹

somber heath
vocal basin
raw hazel
#

its on web πŸ€” let me refresh it

eager owl
#

lol I have no permissions to chat but hello world πŸ™‚

somber heath
#

!voice

wise cargoBOT
#
Voice verification

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

whole bear
#

hey guys

#

i'm locked out of my bitcoin wallet

vocal basin
whole bear
#

I need someone to help me decode this:

#

pspffdopspddsopspsdapoodsopspffdxopsphasapopspsdapoodsss

pliant wedge
#

@somber heathyou should be a admin of this server

vocal basin
whole bear
pliant wedge
whole bear
#

if you get the seed I will give you 5%

vocal basin
vocal basin
wise cargoBOT
#

9. Do not offer or ask for paid work of any kind.

whole bear
#

god people on the internet are such hardasses for no reason

vocal basin
#

rules are rules.

vocal basin
pliant wedge
whole bear
#

no

pliant wedge
#

like sadhashasbdhas

whole bear
#

but apparently there's like 500k if you decypher the meaning:

pspffdopspddsopspsdapoodsopspffdxopsphasapopspsdapoodsss

vocal basin
#

if it's potentially not your wallet, then what business do you have trying to get access to it?

whole bear
#

i tried googling it but i dont think that will work

whole bear
pliant wedge
#

@somber heath pardon?

#

what did u say?

whole bear
#

i bet you get really offended easily Alisa

pliant wedge
#

oh yeah yeah LMAO

pliant wedge
vocal basin
whole bear
#

ur guess as good as mine at this point

pliant wedge
whole bear
#

these are my only three clues:

VPNET

qwerty

pspffdopspddsopspsdapoodsopspffdxopsphasapopspsdapoodsss

pliant wedge
#

ok my bad

whole bear
#

500k to the person that decyphers the last string

#

oops

#

not VPNET

#

ohh

#

i figured it out

pliant wedge
#

βš›οΈ

whole bear
#

it's a rick astley joke

vocal basin
whole bear
#

i knew it was a rick astley joke the whole time

#

i wanted to see if someone would spend a lot of time

#

only to discover it

#

but I realized

#

it's too hard of a puzzle

#

i didn't give the right clues

vocal basin
#

it's too unreasonable of a premise to disguise the joke as

whole bear
#

i disagree

#

someone used a cryptic naming thing to remind them of a seed

#

and this naming thing was made public

#

i think it makes sense

#

people do all kinds of weird shit to keep their wallet seeds

#

me and a rich guy I know hammered holes in a piece of metal that corresponded to the first letter of each word of our seeds

#

someone with the faintest curiosity and desperation would give it a shot imo

#

i love the idea of making someone think they're about to get rich but they actually just get rick rolled

vocal basin
pliant wedge
#

"me and a rich guy " money 🍞

whole bear
#

no i got sad when i realized i did a bad job giving clues

whole bear
#

parzi i like you more than alisa

pliant wedge
#

He said it

#

Noooo

#

Bro plz plz

whole bear
#

how are you parzi

#

wyd this sunday

pliant wedge
whole bear
#

I MEAN IT

whole bear
pliant wedge
#

i aint allowed

whole bear
#

wink if yes

pliant wedge
whole bear
#

PARZI

#

fuck man alright

#

ur weird

pliant wedge
vocal basin
pliant wedge
#

b8f60dd5f28a99f796fa0b7d8b334feb7f788c405f889c31959f100b0b0d27c4eefb69bcaf6bac44fbfb32fd601b0796eb0a66d0486411decb8566d2a7cb0d76

#

if you're so keen on solving puzzles * 2

somber heath
#

@quiet nova πŸ‘‹

vocal basin
pliant wedge
#

@quiet nova

#

@jade salmon Yup yup

#

oh he's back

#

@somber heathCan i ask u something?

#

ok alr

#

so

#

do u have a github profile?

pliant wedge
#

@somber heath Thanks for the answer

vocal basin
#

I should start moving stuff I have to GitHub at some point

vocal basin
#

though I'd need to clean up everything before uploading

pliant wedge
#

if u dont wanna share you codes u can turn on "private repo"

#

"everything " really?

vocal basin
jade salmon
vocal basin
#

PyCharm projects directory has 201 entries
it's going to take some time to figure out which of those make sense getting published

pliant wedge
#

Do u use PyCharm to code?

#

ew

vocal basin
#

used to use it

#

now I mostly use VS Code

pliant wedge
#

oh

#

same

#

but im really into use Neo-vim

vocal basin
jade salmon
#

i use emacs

vocal basin
#

I'm such a noob that I even failed to scroll the help menu in emacs

#

idk if it's a good idea to use it over ssh

pliant wedge
#

check it out

vocal basin
pliant wedge
#

Okok, btw i gotta go sya y'all

jade salmon
#

bye

jade salmon
#

its sort of hard to use and i don't use it

#

but i should be using it

vocal basin
jade salmon
#

yes

#

wait

#

no you have it backwards

#

its like

vocal basin
jade salmon
#

no its only the transport protocol for tramp

vocal basin
jade salmon
#

you have the local computer running emacs and sshing into the remote host and your local emacs presents a filesystem like interface to the remote machine

vocal basin
jade salmon
vocal basin
#

does TRAMP allow per-remote/per-container use of plugins/extensions/packages/config?

jade salmon
#

/ssh:r2q2@100.94.109.72:/home/r2q2/Projects/ thats all i had to do

#

TRAMP is for transparently accessing remote files from within Emacs. TRAMP enables an easy, convenient, and consistent interface to remote files as if they are local files. TRAMP’s transparency extends to editing, version control, and dired.

TRAMP can access remote hosts using any number of access methods, such as ssh, scp, telnet, and related programs. If these programs can successfully pass ASCII characters, TRAMP can use them. TRAMP does not require or mandate 8-bit clean connections.

TRAMP’s most common access method is through ssh, a more secure alternative to ftp and other older access methods.

#

thats all i had to do in the first picture every other feature of emacs is available

vocal basin
jade salmon
#

TRAMP is just designed to be like: hey remote access protocol ill be your shim for emacs and it says to emacs hey well look at this thing its exactly like your local system

vocal basin
jade salmon
#

i don't know if you can disable and enable parts of emacs based on the tramp connectioni

#

"workspaces" is not really a thing in emacs but like you could add it

jade salmon
#

emacs is 47 years old and someone crazy enough to do it probably did it

#

i haven't used that

vocal basin
jade salmon
#

yea

#

i was just mentioning it

#

it is just interesting

vocal basin
#

most of Rust development I do is containerised, because (re)installing rust on the host machine is somewhat of mess

jade salmon
#

i think i have run emacs inside of vscode or something stupid

vocal basin
#

I think it's via snap

#

but I'm not sure

#

trying to uninstall it

somber heath
#

@hollow cosmosπŸ‘‹

#

@robust relic πŸ‘‹

robust relic
#

hi

somber heath
#

@whole bear πŸ‘‹

robust relic
#

what's going on

#

i see

vocal basin
hollow cosmos
#

guys i need help im a noobie and im trying to build a small program that shows the name of a typed number

vocal basin
vocal basin
somber heath
#

@modest tide πŸ‘‹

modest tide
#

hello

#

i ma beginner

vocal basin
#

it TeX it's \mapsto

#

seems like there are two different maplets
"↦" -- maplet arrow
"A ↦ B" -- maplet expression

pliant wedge
#

Hello

#

Wassup

slate light
#

hello

vocal basin
#

the original code was in Python

#

now I'm translating it into Rust

#

I've only moved the core part of the code for now
no data structures/algorithms yet

#

it will fail a lot

#
  • the code I have is extremely experimental and new
    so ChatGPT is just unfamiliar with what it does
#

rarely

#

depends on the language

#

it might work if the translation is between something like JS and Python

vocal basin
vocal basin
calm mist
#

in general, for programming

vocal basin
#

depends on a specific day
idk what the average/median is
(I don't track it)

#

the only metric I have is 503 contributions in the last 9 months, on Gitea (GitHub analogue)

#

which isn't a lot

#

last time I properly dedicated time to working on a project, it was 500 commits in two months

somber heath
#

@hoary scarabπŸ‘‹

#

@pseudo dragon πŸ‘‹

kindred granite
#

@kindred granite

slate light
somber heath
#

@timber oriole πŸ‘‹

timber oriole
#

hello @somber heath

kindred granite
somber heath
#

@upper adder πŸ‘‹

limpid umbra
#

zubba zubba

#

mmm is pycharm still a GIGANTIC install

somber heath
#

@quartz heath @tranquil magnet πŸ‘‹

quartz heath
#

hi

limpid umbra
#

i only use wired , keyboard / mouse , because RF devices have a sleep delay that chops off first few letters of what i type

somber heath
limpid umbra
#

it was $12 dollars - so it may be

somber heath
#

Wired mouse, yes, because the drain on wireless mice is constant when on.

#

@whole bear @grim axle πŸ‘‹

#

@cedar glacier πŸ‘‹

whole bear
#

yo

cedar glacier
#

Hi, do you think you should start learning Rust and if so why?

somber heath
#

@vale smelt πŸ‘‹

vocal basin
cedar glacier
vocal basin
#

depends on how large the existing code base is

#

if you're starting from scratch, probably go for Rust

#

if you want to use C/C++ libraries a lot, then it becomes somewhat more compilacted

cedar glacier
vocal basin
stuck furnace
#

Did sound like that πŸ˜„

#

🦭

#

Yo πŸ‘‹

#

I've actually gtg lol cya

zenith radish
#

And you can assure safety pretty well

pliant wedge
limpid umbra
#

@somber heath openCV as a gesture monitor ?

somber heath
timber oriole
#

Copilot is great

somber heath
#

But yeah, maybe, for some things, prop.

timber oriole
#

It's trained on code people put into GitHub. Which is pretty good for the most part when multiple instances of similar things are aggregated.

limpid umbra
#

there was a tv show , f/x : the series , they had a giant transparent screen , with hand capture interaction

#

is was just eye candy for the show - but the idea is great - now very old

#

1996

#

@somber heath you want to use a giant , 4k screen yes

#

@somber heath hmm last time i looked they made a 27 inch touchscreen , no idea now

timber oriole
#

Like Jarvis for Ironman lol

somber heath
#

@frigid dove @viral granite πŸ‘‹

viral granite
#

πŸ‘‹

frigid dove
#

πŸ‘‹πŸΌ

limpid umbra
#

if you loop , chat GPT to chat GPT - does it go bonkers?

somber heath
timber oriole
#

If they don't watch out they'll end up with Ultron

limpid umbra
#

just lovely....

frigid dove
#

Very Interesting

limpid umbra
#

i have a furby from a garage sale --- on standby to be BORGized

timber oriole
#

Do it, that would be awesome

limpid umbra
#

mmmmm , Z80 inside ??

#

chat GPT --> talking like star trek borg ---> via furby , with a laser eye and and ...

somber heath
#

Stable diffusion.

onyx lagoon
#

hello guys

#

I'm getting an error, is anyone available?

somber heath
#

Post it and we'll see what can be said.

onyx lagoon
#

name "bilgi" is not defined

somber heath
#

!e py a = 'apple' print(a) print(b)

wise cargoBOT
#

@somber heath :x: Your 3.11 eval job has completed with return code 1.

001 | apple
002 | Traceback (most recent call last):
003 |   File "/home/main.py", line 3, in <module>
004 |     print(b)
005 |           ^
006 | NameError: name 'b' is not defined
onyx lagoon
#

I defined it in the 2nd part of the code and I imported the 2nd page on the 1st page, I trigger something with the signal, but it does not recognize the information variable that I defined on the 2nd page.

limpid umbra
#

i found a ,Fitbit , it needs a iphone to change settings ---- it may become a box of parts for , GPS , inertia , ...

somber heath
#

Have you saved your project? Sometimes you can run an older version of your code than what you see on screen.

onyx lagoon
#

yes

#

I don't think it has anything to do with it.

lavish rover
#

Oppo find n2

onyx lagoon
#

mustafa where are you from

#

@lavish rover

#

where are you from

somber heath
#

You know what I mean by LEGB? @onyx lagoon

onyx lagoon
#

Δ±Δ±Δ± what is LEGB ?

somber heath
#

Scope?

#

Local, Enclosing, Global, Builtin.

onyx lagoon
#

Are you talking about local variable?

somber heath
#

Yes.

limpid umbra
#

@somber heath touch screen for digital scope interface , synths , x y z

terse needle
kindred granite
#
a = 0
# can access a
def f():
  b = 1
  # can access a, b 
  def f2():
    c = 2
    # can access a, b, c
  # cannot access c
# cannot access b, c
onyx lagoon
#

how to convert to global

limpid umbra
#

fall overboard sensor - or wireless mic

somber heath
onyx lagoon
#

yes, it's almost like I've just started

somber heath
#

Stuff you specify within an instance should be of that instance. You can ask that instance for that data if you need it.

onyx lagoon
#

i understand what you're saying, but I've already imported the second page, can't I use everything on the first page because I've already imported it

#

okay guys i find it @somber heath

clever bluff
#

So umm, I'm new to coding and I really don't understand what parameters are. Can someone please explain

thorn wharf
#

do you understand functions @clever bluff ?

thorn wharf
#

here is a simple explanation

thorn wharf
#

functions are blocks of code that you can easily use to run a specific block of code, maybe something that you have to repeat multiple times

somber heath
kindred granite
#

imagine print without any parameters

#

how would you make it do different things?

#

it would always do the same thing

thorn wharf
#

parameters are the data you pass into a function to get something done

#

/get some result

#

@clever bluff look at this real world example

somber heath
#

Parameters are the inbox. Arguments are given to the parameters.

clever bluff
somber heath
#

In this way, the parameters point to the same objects as the arguments do.

kindred granite
#

!e

def bottle(liquid):
  print("I am drinking", liquid)
bottle("water")
bottle("apple juice")
bottle("propane")
wise cargoBOT
#

@kindred granite :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | I am drinking water
002 | I am drinking apple juice
003 | I am drinking propane
thorn wharf
#

@clever bluff functions are used to avoid repeating code and keeping a clean code base

clever bluff
#

parameters are just confusing

thorn wharf
#

here is a trivial example

def add(number1, number2):
  return number1 + number2
kindred granite
#

parameters specify things that are different between those repeated sections

thorn wharf
#

of a function add, where it takes two parameters number1 and number2

kindred granite
#

because not every section will be exactly the same

thorn wharf
#

its hard to help people when 3 people answer at once too

kindred granite
#

then stop answering

thorn wharf
#

i started answering first. just helping him

thorn wharf
kindred granite
#

and what do you think we are trying to do besides help

thorn wharf
#

flooding this channel with messages when im already answering him @kindred granite

kindred granite
thorn wharf
#

look at my example

#

trival example of an add function that takes 2 parameters

#

and you would use it like this

result = add(1,2)

result would be 3 in this case

clever bluff
#

Do you know any small projects that I might need a function with parameters for

thorn wharf
#

quite honestly @clever bluff anything

clever bluff
gentle flint
terse needle
zenith radish
gentle flint
alpine jay
#

Have to go

#

later all

terse needle
gentle flint
#

bussluis

#

A bus trap (car trap in the UK) is a metal grate placed over a ditch or pit in the road with tines (sides) spaced far enough apart that small (shorter axle) vehicles fall between the tines but close enough that larger-diameter-wheeled vehicles, such as buses, may pass. Cycles may cross broader sided examples.
Different versions exist for restri...

radiant iron
#

from england and i have no clue what a bus trap is

slate light
gentle flint
#

John Oliver and JoJo Fletcher as Lola in the fantasy fantasy of love and the passion of love, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art, concept art,

#

a nightmare, cloudy, dark, darkness, dark, evil, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark, dark,

#

jellyfish, giger, kawaii, aka, giger, character, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy, happy

#

@slate light it needs some work I think

#

A high-tech robot called a "genesis" of the human race, designed by the king of the demons, intricate details, colorful, surreal, intricate, fantasy, octane render, cinematic, unreal engine, unreal engine 5, 8k, 4k, ultra realistic, volumetric lighting, dramatic lighting, cinematic, cinematic, cinematic, dramatic lighting, octane render, volumetric lighting, dramatic lighting, cinematic, cinematic, cinematic, dramatic lighting, cinematic, dramatic lighting, 8k, octane render, volumetric lighting, dramatic lighting, dramatic lighting, cinematic, cinematic, cinematic, cinematic, dramatic lighting, cinematic, cinematic, dramatic lighting, 8k, 8k, ultra-realistic, volumetric lighting, dramatic lighting, dramatic lighting, dramatic lighting, cinematic, cinematic, dramatic lighting, 8k, 8k, ultra-realistic, volumetric lighting, dramatic lighting, dramatic lighting, dramatic lighting, cinematic, cinematic, cinematic, cinematic, cinematic, cinematic, cinematic, cinematic, cinematic

slate light
#

Traceback (most recent call last):
File "/home/laszlo/Desktop/cyber sycurite/python/compiti/file.py", line 15, in <module>
i=open(a,'r')
FileNotFoundError: [Errno 2] No such file or directory: '12'

vocal basin
wise cargoBOT
#
PEP 8

PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.

More information:
β€’ PEP 8 document
β€’ Our PEP 8 song! :notes:

gentle flint
slate light
turbid sandal
gentle flint
#

@mint pier

lucid blade
verbal zenith
mint pier
slate light
mint pier
lucid blade
mint pier
vocal basin
#

there appear to be certain violations happening

wind raptor
#

They've been dealt with

slate light
#

yeee

lucid blade
#

πŸ˜„

#

^ is also hilarious

#

im on their discord πŸ˜„

#

πŸ˜„ πŸ˜„ πŸ˜„

slate light
#

my kitty

lucid blade
#

Netcat (often abbreviated to nc) is a computer networking utility for reading from and writing to network connections using TCP or UDP. Netcat is designed to be a dependable back-end that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and investigation tool, since it ...

terse needle
#

"Write your next Ethereum Contract in Pyramid Scheme"

zenith radish
vocal basin
#

if I was to fly to Estonia and back, that'd cost me around $400~$1'000, excluding bribes required to leave the country in the first place

zenith radish
wind raptor
#

Not sure. Sorry.

vocal basin
#

did you try restarting discord?

wind raptor
#

It could be the server that the VC is connected to vs your server

gentle flint
#

try restarting your client

#

discord often bugs

wind raptor
#

The region is set to whoever connects to the VC first

vocal basin
#

that would also involve some time passing for the VC to switch servers

flat sentinel
gentle flint
wind raptor
#

I cannot make everyone move to another channel bro

acoustic fractal
#

sup

#

whats this code do

#

what's

#

lol

#

why cant i talk

#

it says supressed

#

!voice

wise cargoBOT
#
Voice verification

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

acoustic fractal
#

dang 50 mags?

#

msgs

#

whats that import function?

#

you have to pay for co pilot right

#

?

#

wait where?

#

i am a student

#

on github?

#

found it

#

telling me i gotta give more info

somber heath
#

@viscid tundraπŸ‘‹

#

@quaint joltπŸ‘‹

somber heath
#

@whole bear πŸ‘‹

graceful grail
#

!voiceverify

#

!voice

wise cargoBOT
#
Voice verification

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

somber heath
#

@spiral flume πŸ‘‹

spiral flume
graceful grail
#

wat!erm!elo!n

#
import random
import string
base_string = input("Input text:")
jump = input("Input jump size:")

cipher_string = ""
count = 0
for i in base_string:
    cipher_string += str(i)
    count += 1
    if count % int(jump) == 0:
        cipher_string += random.choice(string.ascii_letters)
print(cipher_string)
#

watermelon
3

#
base_string = user_input("Input text: ")
jump = to_int(user_input("Input jump size: "))

letters = ""
for i in range(code("a"), code("z"))
    letters = letters + char(i)
end for
for i in range(code("A"), code("Z"))
    letters = letters + char(i)
end for

cipher_string = ""
count = 0
for i in base_string
    cipher_string = cipher_string + i
    count = count + 1
    if count % jump == 0 then
        cipher_string = cipher_string + letters[floor((rnd * letters.len))]
    end if
end for

print(cipher_string)
#

!e ```python
import random
import string
base_string = input("Input text:")
jump = input("Input jump size:")

cipher_string = ""
count = 0
for i in base_string:
cipher_string += str(i)
count += 1
if count % int(jump) == 0:
cipher_string += random.choice(string.ascii_letters)
print(cipher_string)

#

!e

wise cargoBOT
#
Missing required argument

code

graceful grail
#

!e -i ```
import random
import string
base_string = input("Input text:")
jump = input("Input jump size:")

cipher_string = ""
count = 0
for i in base_string:
cipher_string += str(i)
count += 1
if count % int(jump) == 0:
cipher_string += random.choice(string.ascii_letters)
print(cipher_string)

hard minnow
#

!voice

wise cargoBOT
#
Voice verification

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

dense meadow
#

lolol

#

ughguhguhguhguhg

#

noice

#

anyone

somber heath
#

Corey Schafer's YouTube playlist for Python beginners.

#

Downloadable Python documentation available from python.org. Specifically, the zip of pdfs, and within that, library.pdf.

whole bear
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

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

Run Python code and get the results.

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

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

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

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

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

dense meadow
#

/home

somber heath
#

!code

wise cargoBOT
#
Formatting code on discord

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.

For long code samples, you can use our pastebin.

dense meadow
#
print('hell')
whole bear
#
import random
import string
base_string = input("Input text:")
jump = input("Input jump size:")

cipher_string = ""
count = 0
for i in base_string:
    cipher_string += str(i)
    count += 1
    if count % int(jump) == 0:
        cipher_string += random.choice(string.ascii_letters)
print(cipher_string)
somber heath
#

!e py a, b = 1, 2 print(a) print(b)

wise cargoBOT
#

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

001 | 1
002 | 2
whole bear
#

!e def make_word():
word = ""
for ch in "spam"
word +=ch
yield word

print(list(make_word()))

wise cargoBOT
#

@whole bear :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 3
002 |     for ch in "spam"
003 |                     ^
004 | SyntaxError: expected ':'
whole bear
#

def make_word():
word = ""
for ch in "spam":
word +=ch
yield word

print(list(make_word()))

#

!e def make_word():
word = ""
for ch in "spam":
word +=ch
yield word

print(list(make_word()))

dense meadow
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

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

Run Python code and get the results.

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

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

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

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

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

dense meadow
#

!e

print('oof')
somber heath
#

!e py for iv in enumerate('abc'): print(iv)

wise cargoBOT
#

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

001 | (0, 'a')
002 | (1, 'b')
003 | (2, 'c')
somber heath
#

!e py for i, v in enumerate('abc'): print(i, v)

wise cargoBOT
#

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

001 | 0 a
002 | 1 b
003 | 2 c
whole bear
#

!e for i, v in enumerate('abc'):
print(i, v)

somber heath
#

!e py i = -1 for v in 'abc': i += 1 print(i, v)

wise cargoBOT
#

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

001 | 0 a
002 | 1 b
003 | 2 c
somber heath
#

@whole ledge πŸ‘‹

whole ledge
#

hi

teal flower
#

Hello

whole ledge
#

dose any on know data science programing in python

#

did ask but no response / no interaction

#

what is that?

#

got it

#

ok

somber heath
#

!e py my_dict = {'apples': 1, 'pears': 2, 'oranges': 3} print(my_dict['pears']) print(my_dict['apples']) print(my_dict['oranges'])

wise cargoBOT
#

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

001 | 2
002 | 1
003 | 3
somber heath
#

This is an example of the instantiation and population of a dictionary and subsequent retrieval of data from that dictionary.

#

A dictionary is made up of entries called items. Each item is made up of a key:value pairing.

#

The value is referenced by specifying the key.

#

In this way, a dictionary is like a collection of variables pointing to objects.

#

!e py my_dict = {} my_dict['key'] = 'value' print(my_dict)

wise cargoBOT
#

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

{'key': 'value'}
somber heath
#

This is an example of subscription by key.

#

I am creating the empty dictionary, subscripting it with the key 'key', and assigning that key's associated value as 'value'

#

Keys of a dictionary may only appear once as keys of that dictionary. No duplicate keys.

#
a = 1
a = 2```For the same reason a can't point to both 1 and 2 at the same time.
#
a = [1, 2]```You might do this if you needed to.
#

The values of a dict are arbitrary. They can be any object.

#

The keys must be "hashable".

#

Typically, this means immutable objects, but more strictly, things which implement __hash__, ideally correctly.

wind raptor
#

!voice

wise cargoBOT
#
Voice verification

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

rugged root
#

Enjoying it?

mystic rover
#

um

#

you can't really be using discord

#

if you're 12 years old

#

but you're not 13 now

#

meaning you should't be using discord

#

That's like saying I'm 17, but nearly 18 so I can drink

rugged root
#

At the very least, I wouldn't advertise your age

#

But yeah, you should hold off on using Discord until your birthday

#

See you then!

molten pewter
dense meadow
#

Hi guys, can you guys please tell me what is an 'f string'?

rugged root
#

It's a way of adding values to a string.

#

!f-string

wise cargoBOT
#
Format-strings

Creating a Python string with your variables using the + operator can be difficult to write and read. F-strings (format-strings) make it easy to insert values into a string. If you put an f in front of the first quote, you can then put Python expressions between curly braces in the string.

>>> snake = "pythons"
>>> number = 21
>>> f"There are {number * 2} {snake} on the plane."
"There are 42 pythons on the plane."

Note that even when you include an expression that isn't a string, like number * 2, Python will convert it to a string for you.

dense meadow
#

So we can basically do:

age=13
print(f"SonicGamer is {age} years old.")
#

?

rugged root
#

Yep!

dense meadow
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

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

Run Python code and get the results.

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

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

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

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

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

rugged root
#

And you don't even have to do str(age)

#

It'll do it for it

dense meadow
#

age=13
print(f"SonicGamer is {age} years old.")

#

!e
age=13
print(f"SonicGamer is {age} years old.")

wise cargoBOT
#

@dense meadow :white_check_mark: Your 3.11 eval job has completed with return code 0.

SonicGamer is 13 years old.
dense meadow
#

nice

rugged root
#

It's super handy

dense meadow
#

is it a new feature in 3.11?

rugged root
#

Nah, that's been a thing since 3.6

dense meadow
#

oh

#

i though we only used to : str(age) or something

rugged root
#

Prior to f-strings, there were 3 other ways to format strings

#

!e

spam = "ham"
print("I love %s" % spam)
print("I love " + spam)
print("I love {}".format(spam))
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | I love ham
002 | I love ham
003 | I love ham
rugged root
#

The first one is a carry over from how C does string formatting

dense meadow
#

looks super confusing

#

lol

rugged root
#

Yeah it's not ideal

dense meadow
#

ok @rugged root thx

#

see ya around

rugged root
#

Any time!

#

πŸ‘‹

stuck furnace
#

Hello there

dusk raven
#

Der Volkswagen Polo VI ist die sechste Generation des Polo von Volkswagen. Er wurde am 16. Juni 2017 vorgestellt. Am 17. Juli 2017 lief im Werk Pamplona der Volkswagen Navarra S.A. die Serienproduktion an. Produktionsorte sind das Werk in Pamplona (Spanien) sowie das VW-Werk in Uitenhage (SΓΌdafrika). Seit dem 29. September 2017 prΓ€sentieren ihn...

stuck furnace
#

Congrats

rugged root
#

Miss going by D.J.

#

Honestly

peak copper
rugged root
#

"Oh god what have I done..."

limpid umbra
#

ooooyyyy

stuck furnace
wind raptor
limpid umbra
#

hey , you gotta looooicines for dat

rugged root
#

How did anyone keep a straight face

rugged root
wind raptor
#

indeed

rugged root
#

@rustic yew Yo

limpid umbra
#

charlie thinks everybody in the world is a peasant

stuck furnace
rugged root
#

@rich wolf Yo

#

@vocal basin Additional yo

#

Oh huh

#

It's teacher appreciation week

limpid umbra
#

no pot but you can pop pills from your dokteer

rugged root
#

TIL

limpid umbra
#

clinton lost his law liscence

vocal basin
limpid umbra
#

practicing deviant

rugged root
#

I would yeah

peak copper
vocal basin
rugged root
#

True. But yeah, would rather us be able to nip toxic attitudes like that in the bud

vocal basin
rugged root
limpid umbra
#

speechifying

#

will farrels movies are very dated

rugged tundra
#

edited in to start at 0:12

#

Codec for texts

limpid umbra
#

@rugged root remember , Information Society , the singer makes music for video games - last i heard

rugged root
#

Name doesn't ring a bell

willow light
#

Only pack the essentials on vacation

limpid umbra
#

cats get into everything

willow light
#

Btw if you are ever in Brunswick ME in the morning, go to flip. Their menu is insane.

rugged root
#

Those are so pricey

limpid umbra
#

$4 USD , 1 pancake ?

willow light
#

That’s cheap for Maine

#

This is wicked cheap for the quality and the location.

rugged root
#

Fair

willow light
#

And $4 US dollars for a single US sized pancake

#

Remember, american portion sizes

limpid umbra
#

hubcap sized?

#

or Uncle Buck sized pancakes

willow light
#

Hubcap of a tractor trailer

limpid umbra
#

@rugged root did you see Uncle Buck - John Candy

willow light
#

Also if you ride your bike there you get a massive discount

rugged root
#

Mm.... security trainings...

rugged root
#

Ugh, back in a sec, gotta do a KnowBe4 security training thing

willow light
#

Maine in general is very expensive because it is full of really old people who never travel and therefore think these prices are normal, and very few young people who know better are around to make a difference.

#

And by never travel I mean they think if they ever leave Maine they will become communists.

Or see a dark skinned person. Ever.

molten pewter
#

@peak copper Do they allow this during test taking? https://www.youtube.com/watch?v=s-y_lnzWQjk

This video explains the function of the mechanical integrator, a mechanism crucial to the development of mechanical analog computers throughout the twentieth century.
This video is part of a project I have been working on in collaboration with Professor Michael Littman of Princeton University. One of the goals for developing this specific machi...

β–Ά Play video
maiden skiff
#

wassup~

rugged root
#

I'm very glad that this lets me view these videos at 2x speed.

#

Yoooooo, how goes it Chamchi?

maiden skiff
#

I'm currently working part-time and studying in between shifts. How about you?

terse needle
limpid umbra
#

737 ? problems ???

rugged root
#

Specifically the 737 MAX

limpid umbra
#

what specifically ???

amber raptor
limpid umbra
#

fox guarding the hen house

rugged root
#

@molten pewter Do you have the article?

#

Genuinely curious

molten pewter
#

one sec

rugged root
#

Kobolds

#

Dragonkin that the dragons despise

rugged root
#

Nifty, thanks

stuck furnace
#

UC Berkeley pithink

#

I'd say they're up there with Stanford, MIT, etc. for computer science.

honest pier
#

ye

molten pewter
#

"Enable a strong and secure systems platform for taxpayer-facing applications
Expand the digital conversion of paper case files and documentation"

#

"Reinvest savings to keep technology current and expand digital services consistent with similar trends in the private sector"

#

AKA. A free file system.

#

"More web tools, online applications"

rugged root
#

@whole bear Message in here next time. Do no rush in without listening to hear if there's an ongoing conversation

#

It's incredibly rude

stuck furnace
#

I think school careers advisor are pretty much universally terrible πŸ˜„

rugged root
#

Unfortunately

#

And yet that's encouraging that it's not just the US

honest pier
#

oof

#

lisp

rugged root
#

lithp

honest pier
#

o

lime vale
#

lisp is hot

#

dont shit on lisp

honest pier
#

where are the messages going πŸ˜”

#

😳

lime vale
#

()lisp

honest pier
#

are you ringringring

lime vale
#

(((((

somber heath
rugged root
#

I love that

#

That's amazing

stuck furnace
#

Oh like the cpython source

lime vale
#
struct Node {
  NodeKind kind; // Node kind
  Node *next;    // Next node
  Type *ty;      // Type, e.g. int or pointer to int
  Token *tok;    // Representative token

  Node *lhs;     // Left-hand side
  Node *rhs;     // Right-hand side

  // "if" or "for" statement
  Node *cond;
  Node *then;
  Node *els;
  Node *init;
  Node *inc;

  // "break" and "continue" labels
  char *brk_label;
  char *cont_label;

  // Block or statement expression
  Node *body;

  // Struct member access
  Member *member;

  // Function call
  Type *func_ty;
  Node *args;
  bool pass_by_stack;
  Obj *ret_buffer;

  // Goto or labeled statement, or labels-as-values
  char *label;
  char *unique_label;
  Node *goto_next;

  // Switch
  Node *case_next;
  Node *default_case;

  // Case
  long begin;
  long end;

  // "asm" string literal
  char *asm_str;

  // Atomic compare-and-swap
  Node *cas_addr;
  Node *cas_old;
  Node *cas_new;

  // Atomic op= operators
  Obj *atomic_addr;
  Node *atomic_expr;

  // Variable
  Obj *var;

  // Numeric literal
  int64_t val;
  long double fval;
};```
stuck furnace
#

Β―_(ツ)_/Β―

#

!stream 373160837151719424

wise cargoBOT
#

βœ… @lime vale can now stream until <t:1683560455:f>.

stuck furnace
#

It's like I don't exist ;-;

honest pier
#

your messages certainly don't 😭

stuck furnace
#

Fair enough

#

We do? πŸ˜„

#

I don't think I've ever felt refreshed after a nap.

#

Yeah that's a bit of a tautology

#

There's one where you're just really heavy

stuck furnace
#
# Oh merciful lord, please forgive me for what follows
lime vale
stuck furnace
#

A imports B. B imports A

dense meadow
#

Yo Opal, who was that YouTuber you reccomended for Python Tutorials?

#

Opal?

rugged root
#

Have patience

stuck furnace
#

Cory?

dense meadow
#

Oh ok @rugged root

stuck furnace
#

Erm, you're probably right

somber heath
#

Corey Schafer, YouTuber, playlist for Python beginners

dense meadow
#

Ok thanks

rugged root
#

Damn it I have to make SOMETHING

#

Irritated at myself

stuck furnace
#

That "Jay Z" song is pretty good πŸ˜„

barren crown
#

It's the land of the living, not the land of the dead.

twin scaffold
stuck furnace
#

Daniel something, but I've forgotten now lol

#

Well that's kind of always been the case.

#

We just have to treat video/audio the same way we treat textual information with regards to provenance.

rugged root
#

LX, halp. I don't know what to make and it's making me insane

stuck furnace
rugged root
#

Yeah

stuck furnace
#

Β―_(ツ)_/Β―

#

I'm not really an ideas guy πŸ˜„

rugged root
#

Fair

#

Yuusssssssss

#

Boss just gave me another project to script

#

Thank god

stuck furnace
#

Ah nice

#

Depends where you're buried I guess

rugged root
#

True

#

Well

#

Shit, this is going to be complicated

rugged root
#

Neat

gentle flint
#

!pypi zest.releaser

wise cargoBOT
amber raptor
gentle flint
amber raptor
#

Containers are much better solution in 99% of the cases

#

We can just fight in Text πŸ˜›

vocal basin
#

git allows to do things distributed-ly
things like svn seem to do the opposite way (at least, from what I've heard/read)

rugged root
#

Sounds likely

vocal basin
#

why is it a single repository?

#

as in does it have to be?

swift valley
#

Emacs+Magit makes interactive rebase very bearable

vocal basin
#

all the time I rebased was:
I unintentionally initialised a remote repository with readme/stuff
now I need to somehow put local commits on top of it

amber raptor
vocal basin
#

yes

#

voluntary opportunity to suffer

#

hopefully voluntary

rugged root
#

@quasi condor Yo

amber raptor
#

In software development, technical debt (also known as design debt or code debt) is the implied cost of future reworking required when choosing an easy but limited solution instead of a better approach that could take more time.Analogous with monetary debt, if technical debt is not repaid, it can accumulate "interest", making it harder to implem...

vocal basin
#

at least it's an internship not an "interview"

stuck furnace
#

You do have a kind of deep voice πŸ˜„

vocal basin
#

Flask is not front-end

#

like,
Flask has nothing to do with GUI

#

well
templates might be somewhat
but not really

vocal basin
swift valley
#

web sucks, go native

stuck furnace
#

Scrolling the server list on the left is always super laggy for me.

swift valley
#

I have enough folders to not have that problem

vocal basin
#

discord app (desktop electron) in a problematic state lags the whole system sometimes

#

> pretty much every action [requires waiting for the server]
that "pretty much every" qualifier is incorrect.

gentle flint
#

@willow light join vc

quasi condor
#

right clicking on a message does, switch servers does, switching channels does, sending a message obviously does

gentle flint
#

tell us about your lunch place

#

the one which offers discounts to cyclists

willow light
#

it was breakfast haha. haven't had lunch yet.

quasi condor
vocal basin
quasi condor
#

not sure exactly what that is

#

but it's at the server level at least

somber heath
gentle flint
#

@quasi condor httpx is still in unstable btw

#

aiohttp is already stable

gentle flint
# somber heath https://youtu.be/ZUNJd06iyWU

Neem een rode bal, een brug, een boot, een brugwachter en een hond. Het speelse hondje veroorzaakt een traditionele 'Even Apeldoorn bellen'-scène in een oer-Hollandse setting. De fraaie driemaster die de bijtijds opgedraaide brug wil passeren, groet de brugwachter met een fluitsignaal. Voor de hond is dit echter het sein dat zijn buurmeisjes met...

β–Ά Play video
vocal basin
verbal zenith
quasi condor
#

is it magic?

quasi condor
#

as I said

vocal basin
lavish rover
quasi condor
#

you're the one that brought waiting into it

#

I have no idea where it came from - all I said is that pretty much every action sends a request

#

then clarified to include ws messages

vocal basin
quasi condor
#

and even then - when I send the message, the message will render as grey until I get some sort of ack from the server

#

so it still waits for the server to render it as properly received*

#

otherwise it will stay grey

quasi condor
vocal basin
quasi condor
#

two separate accounts.

A) I didn't mention waiting
B) It does wait anyway

rugged root
gentle flint
#

MilitΓ€ra underrΓ€ttelse- och sΓ€kerhetstjΓ€nsten (MUST) Γ€r en verksamhet inom FΓΆrsvarsmakten som dels utgΓΆr Sveriges militΓ€ra underrΓ€ttelsetjΓ€nst, och dΓ€rmed har huvudansvar fΓΆr att ta fram militΓ€rt relevant information om frΓ€mmande makter, dels ansvar fΓΆr militΓ€r sΓ€kerhetstjΓ€nst. MUST ingΓ₯r i HΓΆgkvarteret och sorterar direkt under Γ–B. Verksamheten...

swift valley
#

I hate how there's no good cp -r in Node

#

I just gave up and ran a shell command

swift valley
#

Zig is to C as Rust is to C++

stuck furnace
#

Why would it not? pithink

vocal basin
#

there is no_std Rust

#

@woeful wyvern usually, the same way as you'd compile C to it

swift valley
vocal basin
#

but anyway
Rust has no fundamental barriers against it

#

what you often won't get with C,
is using and composing packages for embedded

#

"if there's a garbage collector, why don't just remove the garbage producer"

vocal basin
#

@rugged root you can make one for it

#

like
Rc but actually GCd not only reference-counted

#

that would require each GC-able type to list all of its references

#

"just think"
and create a proper type architecture for the project

#

I had an equivalent of Any in some code I had
"I spent time thinking"
and now I don't have an equivalent of Any there

#

generics are useful

#

@woeful wyvern Rust uses constructs on top of a pointer

#

and one of the only few reasonable ways to use these raw pointers is to build such wrapper constructs

#

Box, Rc, etc.

swift valley
#

Smart pointers

vocal basin
#

like
minimise the amount of raw pointer access

#

abstract it away

swift valley
#

Ref counting, heap allocation etc...

vocal basin
#

Box allows mutability

#

Rc doesn't (by default)

#

@woeful wyvern Box and Rc are generic

#

Reference-counted

whole bear
#

Reference-counted

#

Reference-counted

#

Reference-counted

rugged root
#

You alright there, asi?

swift valley
#

Box does heap allocation for you

vocal basin
#
let mut bool_box = Box::new(true);
*bool_box = false;
swift valley
#

You can just enum it

vocal basin
#

Any

vocal basin
#

for 'static

#

you can't use Any with references

swift valley
faint raven
#

i need the motivation to code now

#

😭

vocal basin
faint raven
#

Yeah i need a python project

vocal basin
#

you can add custom functions

#

to SQLite

vocal basin
wise cargoBOT
vocal basin
#

just use a priority queue

#

if stuff fails, send it to be used way way later

#

not log

#

set

gentle flint
rugged root
#

I can't tell if it's built in or not

vocal basin
#

SQLite isn't for speed

swift valley
#

SQLite is for when you just want a local database then and there

vocal basin
#

if you want something embedded and fast, probably something custom like just manually handling B-trees
it won't be reliable
but it will be fast

rugged root
#

Wait is the one I linked built in?

vocal basin
#

no

rugged root
#

Lame

swift valley
#

Rust is kinda stingy with builtins

amber raptor
swift valley
#

It has cool stuff like b-tree maps/sets though

vocal basin
vocal basin
rugged root
#

Neat

vocal basin
vocal basin
#

some checks are disabled by default

#

iirc, that includes foreign keys

#

"sure the developers aren't going to make mistakes"

#

foreign

#

Assuming the library is compiled with foreign key constraints enabled, it must still be enabled by the application at runtime

#

with this

PRAGMA foreign_keys = ON;
#

Foreign key constraints are disabled by default (for backwards compatibility), so must be enabled separately for each database connection.

#

did they not support FKs at all at some point?

#

Careful developers will not make any assumptions about whether or not foreign keys are enabled by default but will instead enable or disable them as necessary
"Careful developers"

#

don't forget, SQLite can run in-memory

rugged root
#

Why are we still helping him with this?

vocal basin
vocal basin
#

I used Sphinx but didn't look into theming much

#

5.3.0 -> 6.0 changed stuff

vocal basin
#

what Spinx version?

#

there was version

#

so, yes, 5->6 change happened

#

(it's not backwards-compatible)

#

"rst-versions" is the class for it

gentle flint
gentle flint
#

!pypi sphinx

wise cargoBOT
vocal basin
maiden skiff
#

I came back again.

vocal basin
#

for some reason I though py3.12 docs were Sphinx 5.3.0
but, not, it's 4.5.0 too

#

(though they have a new theme for py3.12 docs)

#

"rare sight: dark theme, authors of which didn't forget to properly handle the search bar"

gentle flint
vocal basin
#

is API reference on the home page supposed to list everything without a depth limit?

#

idk if there's a way to separately set it for "User Docs" and "API reference"

gentle flint
#
.. FlightplanDB-python documentation master file, created by
   sphinx-quickstart on Wed Mar 10 18:01:47 2021.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Welcome to FlightplanDB-py's documentation!
===============================================

Welcome
------------------
If you're new, check out the :doc:`user/introduction` or :doc:`user/quickstart` sections.

.. toctree::
   :maxdepth: 4
   :caption: Docs

   user/userdocs

   api/main



Indices and tables
------------------

* :ref:`genindex`
wind raptor
#

!stream 500168097852948482

wise cargoBOT
#

βœ… @desert wolf can now stream until <t:1683577480:f>.

wind raptor
wind raptor
willow light
#

Well now I know how I will be debugging this week

willow light
#

How is that related?

kindred granite
#

circle with lines

sharp urchin
#

wasgud

somber heath
#

@bleak copper πŸ‘‹

bleak copper
#

Hello

dense meadow
#

@somber heath Yo man

#

How are you guys doing today?

#

Hope it's good

#

I have learnt all types of variables

dense meadow
#

Yes, I know how your days is. It is chilly

somber heath
dense meadow
#

Okay!

#

I know, Ints, floats, strings, booleans(i still don't understand)

somber heath
#

variables are signposts/proxies to objects

dense meadow
#

Like True False shit i still don't understand

somber heath
#

Mhm. Well, True and False are objects, keywords and singletons. Objects, as in they're a Python object of a given type. That given type/class being bool.

dense meadow
#

Oh ok

#

How do u use it in prgrams?

somber heath
#

They are keywords, as in Python treats them in a special way. You can't make a variable out of them, for example.

#

!e py True = 'abc'

wise cargoBOT
#

@somber heath :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     True = 'abc'
003 |     ^^^^
004 | SyntaxError: cannot assign to True
dense meadow
#

I have elo 1120

#

in lichess

somber heath
#

They're singletons, as in there's only ever one instance of them in existence.

dense meadow
#

OHHH

#

Ok

#

You can do: !e

abc=True
#

!e
abc=True

wise cargoBOT
#

@dense meadow :warning: Your 3.11 eval job has completed with return code 0.

[No output]
dense meadow
#

See?

#

No error

#

See, no warning

#

ez

somber heath
#

Yes, but that's assigning the variable, abc, to the boolean singleton object, True.

#

I was demonstrating how you can't use True as a variable.

#

A variable isn't the object, itself.

#

It's a reference to one. It's a proxy.

#

The variable is the name.

#

Not the object.

#

!e py a = [] b = [] c = a print(a == b) #True. a points to an empty list. b points to an empty list. They are equal. print(a is b) #False. a points to a list. b points to a different list. They're not the same list. print(a is c) #True. a points to the one, same list that c points to.

wise cargoBOT
#

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

001 | True
002 | False
003 | True
somber heath
#

!e py if 1 + 1 == 2: print('Hello, world.')

wise cargoBOT
#

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

Hello, world.
somber heath
#

In this example, I'm asking Python a question. What is one plus one? The answer is 2. Does 2 equal 2? True.

#
1 + 1 == 2
2 == 2
True```
#
if True:
    print('Hello, world.')```
#

The expression I used evalutates / boils down to True.

#

True is truthy. False is falsy.

#

All objects have a truthiness/falsiness.

#

0 is falsy. Nonzeros are truthy.

#

Empty lists are falsy. Lists with things in them are truthy.

#

Empty strings are falsy. Strings with characters are truthy.

#

!e py if '': print('A') if 'abc': print('B')

wise cargoBOT
#

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

B
whole bear
#
LeetCode

Can you solve this real interview question? N-Queens - The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other.

Given an integer n, return all distinct solutions to the n-queens puzzle. You may return the answer in any order.

Each solution contains a distinct board configuration o...

#

@lunar haven

somber heath
#

@lime quiverπŸ‘‹

lime quiver
somber heath
#

@sinful phoenixπŸ‘‹

whole bear
#

sophisticated

somber heath
#

@muted flint πŸ‘‹

whole bear
sharp urchin
#

hello

#

nah

#

kek....i was the part of the discussion that day

#

the contradictory one

#

nvm

#

go ahead ...m here to listen to yall talking

#

:}

#

see m in the vc for these

#

go ahead

#

sounds tasty