#ot1-perplexing-regexing

1 messages ยท Page 595 of 1

quick ledge
#

well, !shush is an actual command- but it does something else

thick osprey
#

Extreme. But I like your commitment

quick ledge
#

!hep hush

#

!help hush

royal lakeBOT
#
Command Help

!silence [duration_or_channel] [duration=10] [kick=False]
Can also use: hush

*Silence the current channel for duration minutes or forever.

Duration is capped at 15 minutes, passing forever makes the silence indefinite.
Indefinitely silenced channels get added to a notifier which posts notices every 15 minutes from the start.

Passing a voice channel will attempt to move members out of the channel and back to force sync permissions.
If kick is True, members will not be added back to the voice channel, and members will be unable to rejoin.*

quick ledge
#

it's hush...

dire siren
#

!shush @dire siren

#

:(

#

mod command

urban fog
#

Hi people, im looking for some help on how to initialise arrays as a local variable inside of mips
i know how to make them as global variables but a bit confused as to how to make them local variables

spare lance
#

mate just muted himself for demo.. very nice

uneven pine
#

Now I don't like Epic as a company, but why can't Steam be as nice as the EGC?

narrow zinc
#

My max. Downloading speed ever was 13MB/s๐Ÿ˜‘

uneven pine
last mantle
#

o

#

k

uneven pine
#

would be a bit higher download but my roommates and I are both streaming video atm

#

:p

spare lance
tribal aurora
inland wolf
#

murica

uneven pine
#

it's google fiber

inland wolf
#

yea

#

very nice

uneven pine
#

when google is your isp

#

you can do whatever you want

#

they actually offer 2Gbit now

#

but none of our hardware supports it

#

except the rackmount server lol

spare lance
#

that speed is like 100+ times of what speed i get here from my isp ๐Ÿ˜”

#

but idek what will i do of so much speed

stark oasis
#

I find that there is a very small number of things that my Internet speed can't do and I have no where close to that.

#

Maybe gaming with people on the other side of the world?

#

I think i would be more interested in... no downtime ever for any moment than more speed.

eager trout
twin charm
#

loll

ebon plinth
#

chose digitalocean.... this is what I get

#

not that I mind... just find that interesting

rain pebble
dire siren
#

still bsod-ing

#

:(

#

kinda sad that other application works except for games

frozen coral
#

What did I do this time

frozen coral
#

That was just yesterday

opaque bronze
#

holy shit thats 1 gbps

rough sapphire
#

hey, i need to make my chatbot in python to do basic math calculations. how can i ?

dire siren
#

!e print(eval("1+1"))

royal lakeBOT
#

@dire siren :white_check_mark: Your eval job has completed with return code 0.

2
dire siren
#

works

#

but don't make user input it you'll have troubles

frozen coral
#

Oh lol, I called @crisp shell a non-helper

rough sapphire
#

you dont understand

frozen coral
opaque bronze
#

!e ```py
eval("while True: import('os').fork()")

royal lakeBOT
#

@opaque bronze :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "<string>", line 1
004 |     while True: __import__('os').fork()
005 |     ^
006 | SyntaxError: invalid syntax
opaque bronze
#

bro

#

wtf

dire siren
opaque bronze
#

forgot to exec inside eval ๐Ÿ˜”

frozen coral
#

Eval can only evaluate a single expression

#

You'll need exec

#

Lol yea

last mantle
opaque bronze
#

ye

frozen coral
#

The command should really be !exec

crisp shell
opaque bronze
#

!e eval("exec('while True: __import__('os').fork()')")

royal lakeBOT
#

@opaque bronze :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "<string>", line 1
004 |     exec('while True: __import__('os').fork()')
005 |                                   ^
006 | SyntaxError: invalid syntax
dire siren
opaque bronze
#

DUUUUDE

#

forgot to escape the quotes

#

๐Ÿ˜”

dire siren
#

yep

opaque bronze
#

!e eval("exec('while True: __import__(\'os\').fork()')")

royal lakeBOT
#

@opaque bronze :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "<string>", line 1
004 |     exec('while True: __import__('os').fork()')
005 |                                   ^
006 | SyntaxError: invalid syntax
acoustic moss
#

rip

opaque bronze
#

rip

frozen coral
#

You're still using eval

#

Wait

acoustic moss
#

also like

frozen coral
#

What

dire siren
#

!e exec('while True: import("os").fork()')

acoustic moss
#

thats a fork bomb

opaque bronze
#

you can exec inside eval

royal lakeBOT
#

@dire siren :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | Traceback (most recent call last):
004 | Traceback (most recent call last):
005 |   File "<string>", line 1, in <module>
006 |   File "<string>", line 1, in <module>
007 |   File "<string>", line 1, in <module>
008 | BlockingIOError: [Errno 11] Resource temporarily unavailable
009 |   File "<string>", line 1, in <module>
010 |   File "<string>", line 1, in <module>
011 | BlockingIOError: [Errno 11] Resource temporarily unavailable
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/fixezaveqe.txt?noredirect

frozen coral
#

Eval and exec

#

Lol

opaque bronze
dire siren
opaque bronze
opaque bronze
dire siren
#

!e eval("""exec('while True: import("os").fork()')""")

royal lakeBOT
#

@dire siren :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "<string>", line 1, in <module>
004 |   File "<string>", line 1
005 |     while True: import("os").fork()
006 |                       ^
007 | SyntaxError: invalid syntax
dire siren
#

ok

acoustic moss
#

!e eval("[__import__('os').fork() for _ in iter(int, 1)]")

frozen coral
#

The error is because you're trying to Eval an error as python code

last mantle
#

lol

royal lakeBOT
#

@acoustic moss :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 | Traceback (most recent call last):
003 |   File "<string>", line 1, in <module>
004 |   File "<string>", line 1, in <module>
005 |   File "<string>", line 1, in <module>
006 |   File "<string>", line 1, in <module>
007 |   File "<string>", line 1, in <listcomp>
008 |   File "<string>", line 1, in <listcomp>
009 | BlockingIOError: [Errno 11] Resource temporarily unavailable
010 | BlockingIOError: [Errno 11] Resource temporarily unavailable
011 | Traceback (most recent call last):
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/epumekumob.txt?noredirect

acoustic moss
#

ez

dire siren
opaque bronze
#

hsp

#

you did

#

it

acoustic moss
#

elu

dire siren
#

because the exec returns none

dire siren
#

wat's the actual challenge

opaque bronze
#

!e eval('exec("r = \"Joe Mama\"; print(r)")')

royal lakeBOT
#

@opaque bronze :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "<string>", line 1
004 |     exec("r = "Joe Mama"; print(r)")
005 |                ^
006 | SyntaxError: invalid syntax
opaque bronze
#

i give up

#

how do you do quotes inside quotes again?

dire siren
opaque bronze
#

!e "string \"s\""

royal lakeBOT
#

@opaque bronze :warning: Your eval job has completed with return code 0.

[No output]
dire siren
#

backslash

opaque bronze
#

it works wtf

#

ok

#

i know know how to do ths

dire siren
#

!e print(exec("print('like exec is returning nothing anyways (or None) why are you trying to eval an exec')"))

royal lakeBOT
#

@opaque bronze :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | TypeError: eval() arg 1 must be a string, bytes or code object
opaque bronze
#

that doesn't matter, the fork bomb works

royal lakeBOT
#

@dire siren :white_check_mark: Your eval job has completed with return code 0.

001 | like exec is returning nothing anyways (or None) why are you trying to eval an exec
002 | None
opaque bronze
#

thats the matter

#

!e ```py
eval("exec('import os; while True: os.fork()')")

royal lakeBOT
#

@opaque bronze :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "<string>", line 1, in <module>
004 |   File "<string>", line 1
005 |     import os; while True: os.fork()
006 |                ^
007 | SyntaxError: invalid syntax
opaque bronze
#

wooooooooooooooooooooooooooooooot

#

what is the error bro

#

oh

#

i didn't know that

#

actually thats not true

dire siren
#

!e
eval("exec('import os;[os.fork() for _ in range(1,1000000000000000000000000000000000)]')")

royal lakeBOT
#

@dire siren :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | Traceback (most recent call last):
004 |   File "<string>", line 1, in <module>
005 |   File "<string>", line 1, in <module>
006 |   File "<string>", line 1, in <module>
007 |   File "<string>", line 1, in <listcomp>
008 | BlockingIOError: [Errno 11] Resource temporarily unavailable
009 |   File "<string>", line 1, in <module>
010 |   File "<string>", line 1, in <module>
011 |   File "<string>", line 1, in <listcomp>
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/simelozoto.txt?noredirect

dire siren
#

ez

opaque bronze
#

how does it work for u

#

huh

#

i tried

#

so many fricking times

#

all to end with

#

a sytntax error

#

why

#

!e ```py
eval("""exec('f = lambda: exec("try: f(); except: f()"); f()')""")

#

i will

royal lakeBOT
#

@opaque bronze :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "<string>", line 1, in <module>
004 |   File "<string>", line 1, in <module>
005 |   File "<string>", line 1, in <lambda>
006 |   File "<string>", line 1
007 |     try: f(); except: f()
008 |               ^
009 | SyntaxError: invalid syntax
opaque bronze
#

i give up

dire siren
#

lol

#

i like that

eager trout
#

You guys need to drink water

#

I'm suffering right now because I didn't do that lol

#

Giving birth

dire siren
#

when i drink water

stark oasis
#

nice

#

is it worth cloning?

dire siren
#

very funny

#

i guess you can do this on april fool days

stark oasis
#

I like to make ridiculous sites sometimes. Like the kind you wound find in the 90s.

#

So I'll remember that.

runic wigeon
#

chris the betrayer haha funny

woeful cipher
#

lmao chris the betrayer

violet roost
#

the cdn mentioned in that repo is down

#

so you'll need to grab it from github cdn or host it yourself

rough sapphire
#

hello

#

my pants are on fire and it's raining

inland wolf
#

damn

#

have u tried removing the pants

rough sapphire
#

I've been trying to stop the rain

#

or fire + rain = no fire

#

but no luck

#

RIP pants

#

lol fart noises as you scroll, genius

#

*several farting sounds

#

teacher, I need extra time on the test

#

I have a medical condition.. I fart whenever I scroll

rough sapphire
fringe fog
#

hi

lunar shore
#

Guys is Golang fine? Is it really worth learning it?

#

not for getting jobs, just saying

eager trout
#

yo this would actually work

lunar shore
#

lmao

#

except , mirror reflects light and since you aren't emitting light with your face , you won't see it lol

opaque bronze
#

say some alien is away 65 million light years away from earth

#

when they see the earth, they'll see dinosaurs not us

eager trout
#

damn

#

No wonder they haven't come here yet

opaque bronze
#

because light they see originated 65 million years ago

eager trout
#

I mean, if they do decide to quantum drive here, that would be nice

spare lance
opaque bronze
#

in fact the sun you're seeing now is delayed by 8 minutes

#

even if the sun was destroyed this very instant, it will take 8 minutes for it to affect you

eager trout
#

cool

opaque bronze
#

we just don't notice this "delay" on our scales

eager trout
#

so if a solar flare happened in space, we would be able to predict it 8 minutes before it hit?

spare lance
opaque bronze
opaque bronze
#

there's a delay due to limitation in the speed of light

#

there's nothing you can do about it

viscid hemlock
opaque bronze
spare lance
#

iirc quantum pairing or sumn was a thing right?

opaque bronze
spare lance
#

yeah but its pretty rough rn.. with better pairing its actually possible to reduce the delay of data transmission right?

twin charm
#

got me really thinking

opaque bronze
last mantle
#

unless

opaque bronze
last mantle
#

cuz the rest mass of photons is 0

spare lance
#

right

twin charm
#

oh

last mantle
#

the universe itself is expanding at a speed faster than light right?

kind flame
last mantle
#

wheez

spare lance
kind flame
#

fair enough

twin charm
lunar shore
lunar shore
twin charm
lunar shore
#

Hm I wonder, if someone is travelling with the speed of light, and I see it with a telescope, would he/she age as the distance between us reduces?

tardy rain
#

You cant see something travelling at the speed of light because of dilation

versed flint
lunar shore
#

ahhhhhh

kind flame
#

reddit makes me happy

opaque bronze
#

lmoa

inland wolf
#

lol

eager trout
#

lol

hollow forum
#

Lauginng my organs away

solid pollen
royal lakeBOT
#

:incoming_envelope: :ok_hand: applied warning to @kind flame.

hollow forum
#

its off topic....

solid pollen
#

It doesn't matter, please read the etiquette I just posted

#

Off-topic is not a meme dump

twin charm
#

In this video I test out the laws of physics to show what happens if you fire a bullet backwards and you are traveling at the same speed forward. Will the bullet just fall to the ground?

Checkout my experiment book: https://amzn.to/2Wf07x1
Follow me on Twitter: https://twitter.com/theactionlabman
Facebook: https://www.facebook.com/theactionlabo...

โ–ถ Play video
#

reminds me of this this

twin charm
#

I wonder if that goes for aircrafts too, when its travelling at Mach speed.

solid pollen
#

Huh, that sounds like an interesting video

#

I don't think it will work since one is an constant force while the other is a one time propulsion

#

But under the right circumstances it could just fall to the ground

hybrid pivot
#

no like actually prevent sending messages

#

ive made one

#

:D

tardy rain
#

It will just drop

#

Mythbusters did this already

lunar shore
hybrid pivot
#

oh damn

#

i made one that can mute anyone including the server owner LMAO

#

mute is a loose tern

#

it deletes messages tbh

lunar shore
#

lol . So the one you made just deletes the messages they send

#

yeah

hybrid pivot
#

still powerful โœŠ

#

until the bot is kicked

lunar shore
#

The only problem with that is, if the server that your bot is hosted on is weak, then boom

tardy rain
#

How can you mute the server owner

hybrid pivot
#

delete messages

#

it still shows up on snipe and dyno logs

#

anything that can detect a message delete

rough sapphire
#

Is there a good source for the math behind center align. So basically I want to do it with pixels and not strings!

hybrid pivot
#

best command

spare lance
rugged echo
#

woohoo

#

today is the first time i've ever used a classmethod in a metaclass

#

gotta use that sweet mcls

#

speaking of which, do y'all prefer mcls or mcs as the first pos param?

lunar shore
ebon plinth
#

for my django web app... well, website built with Django

#

won't have many visitors to start

#

is the pre selected one good?

lunar shore
#

What do you mean by "many visitors"

ebon plinth
#

good question,

in its early stage, it'll probably get like 0-500

#

to me, that is ehh

wraith hound
#

Since you can always scale up

ebon plinth
#

true

#

yeah, I went cheapest

vapid nymph
#

finally just set my docs up on rtfd

#

I mean they aren't on the default branch yet but they are on rtfd so

vapid nymph
uneven pine
#

First python install since windows 11 install ๐Ÿ˜‚

#

straight to the release candidate

#

because I require pattern matching for this to work well

remote citrus
#

oh pre-release, ok

uneven pine
#

mhm

#

hahaha this code is so hilarious

#

it's a prototype proof of concept I wrote a while ago and I'm just now getting to looking at it to see how I'd implement it...rationally

#
def spell(*commands: dict[str, str]) -> int:
    script = "".join(f"{_get_os_cmd(cmd)}\n" for cmd in commands)
    return _run_cmd(script)
#

well it sure is arcane

acoustic moss
#

๐Ÿค”

#

commands being a dict doesnt make a lot of sense here does it

inland wolf
#

probbly a tuple of dicts

acoustic moss
#

oh right

uneven pine
#

hold up

#

mind you this is the proof of concept prototype and by no means indicative of a final product or even a pre-alpha;

uneven pine
# acoustic moss `commands` being a dict doesnt make a lot of sense here does it

@inland wolf

## Import the features
from spells import *

## Define commands
echo = {
    "win32": [
        "rem Starting build",
        "rem awooing",
        "rem uwu"
    ],
    "linux": "# starting build",
    "darwin": "$linux"
}

venv = {
    "win32": "if not exist .venv ( python -m venv .venv )",
    "linux": 'if [ ! -d ".venv" ]; then python3 -m venv .venv; fi',
    "darwin": "$linux"
}

activate = {
    "win32": r".venv\scripts\activate",
    "linux": ". .venv/bin/activate",
    "darwin": "$linux"
}

install = {
    "$all": "python -m pip install cutesnowflakes"
}

## Run a single command
result = os_cmd(echo)

if result != 0:
    print(result)
## Make a spell from commands
result = spell(echo, venv, activate, install)

if result != 0:
    print(result)
#

there's a lot of hackery going on under the hood to get stuff to work, for the most part it's likely going to have to stay that way, the benefit is that it actually works

inland wolf
#

interesting

acoustic moss
#

hmm

hybrid pivot
#

vs code's being bad D:

inland wolf
#

no

spare lance
#

this OT is superior

#

why is ot0 used more

solemn leaf
#

First

#

Priority

spare lance
#

yes but no

solemn leaf
#

Or more precisely 0th priority

dire siren
#

second piority

#

oh.are the three red dudes owners

spare lance
#

is there some language in which indexing starts at 1

#

not 0

solemn leaf
#

Yes

acoustic moss
#

julia

solemn leaf
#
AWK, COBOL, Fortran, R, Julia, Lua, MATLAB, Smalltalk, Wolfram Language โ€” In all of these languages the default index of the first element in an array is one
spare lance
latent scaffold
#

um... I accidentally slept for 11 hours

inland wolf
#

nice

latent scaffold
#

I went to take a nap at 2PM cause I was tired like all morning

#

God I feel awful now

#

how on Earth did I manage

stark oasis
#

I did something like that today except I didn't sleep as long. But I slept all afternoon and for me its now 2am and its feels like noon already to me

edgy crest
#

sleeping for long in afternoon is the worst for me

#

because if i sleep too long in the afternoon (more than an hour), i cant bring myself to sleep in the night quickly

stark oasis
#

I end up just not sleeping, and then the next day Im a zombie.

dire siren
inland wolf
latent scaffold
#

yikes D:

dire siren
opaque bronze
#

imagine sleeping lmao cringe

latent scaffold
#

now idk what to do because I really don't want to go back to sleep

opaque bronze
#

real men stay awake forever

latent scaffold
#

and I definitely don't want to stay up

#

cause I have stuff to do tomorrow

inland wolf
dire siren
dire siren
stark oasis
#

unsleep is similar to undead. You sleep but you're not really asleep. Like drug induced sleep. Or amphetamine. Maybe.

languid marlin
#

wait there are algebra indicators in the emojis? roundtable_ongoing roundtable_next_week roundtable_last_week roundtable_future

#

oh

solemn leaf
#

That's why I don't sleep in the afternoons

#

Ez

dire siren
#

am i abusing functions. like i'm using it to store variables
code:

require.config({ paths: { 'vs': 'monaco-editor/dev/vs' }});
function monaco_editor(){
    function setup() {
        monaco_editor.editor = monaco.editor.create(document.getElementById('container'), {
            value: "",
            language: 'python',
            readOnly: false,
            theme: "vs",
            automaticLayout: true
        });
    };
    setup()

    function edit_value(val){
        monaco_editor.editor.setValue(val)
    }
    monaco_editor.edit_value = edit_value
}
window.onresize = function (){
    monaco_editor.editor.layout();
}
require(['vs/editor/editor.main'], monaco_editor);

#

expect shitcode. i barely know anything about javascript

latent scaffold
#

All JavaScript is shitcode \๐Ÿ˜ฉ

dire siren
#

should i shorten my code to make the program more light weight. or it gets compiled to the same shit so i need to go for another way

#

it's c# btw

mint torrent
#

Just a small message from my side.
Today, I was trying to write up a small program which when written in a pygame while loop, could generate random 2D terrain, much like the Super Mario games.

But this code ended up hanging my laptop, nothing was responding, the mouse, the keyboard.
So, I finally hard reset the laptop.

I am wondering what would happen if someone runs this code in a discord channel?

dire siren
rough sapphire
#

a book

#

structure and interpretation of computer programs

dire siren
#

never read it.

rough sapphire
#

its about functional programming, i thought of it cause you were saying about abusing functions to store values

dire siren
#

is it free? because i'm poor

rough sapphire
#

does anyone know about ciacdo 3301 - libra primus?

#

yep

#

the book is free and also the university lectures

#

it was the main book for comp sci 101 during the 80s in MIT

dire siren
#

nice i'll have a look.

rough sapphire
#

its eye opening if you come from a more java world

dire siren
rough sapphire
#

let me give you 1 point of advise

#

the first 2 chapters have very mathematical exercises which discourage most people

#

the exercises are that way cause most people who studied comp sci in those years were math people

#

but those two chapters are actually very basic in terms of programming concepts

#

i just say this cause some people get stuck when the exercise asks you to prove fibonnaci

barren rune
#

wait whats that with ciacdo?

dire siren
rough sapphire
#

whats the cicada thing?

dire siren
#

idk a hoax probably\

rough sapphire
#

oh

#

cicada is still a thing?

#

that was like 2012 stuff

barren rune
#

wait didnt knew that

timid frigate
#

you don't need to press them

royal lakeBOT
#

@wild oak Please don't try to ping @everyone or @here. Your message has been removed. If you believe this was a mistake, please let staff know!

wild oak
#

Is anyone here from or in Afghanistan rn?

boreal hare
#

why do i keep getting this
while it should be like this

wild oak
#

ig type only python

#

not python3

#

maybe?

boreal hare
#

okay wait

wild oak
#

or see to it that you have the latest python installed

#

did it work?

boreal hare
#

python3 is the latest

wild oak
boreal hare
#

ill try it now

wild oak
#

does it work?

gilded mulch
#

someone tell me why it feels more real when i dream than when i am awake?

rough sapphire
#

yeah i can, read descartes discourse on method

meager egret
#

@gilded mulch is muted lol

safe lagoon
#

๐Ÿ‘€

spare lance
#

thats what i meant ๐Ÿ‘€

#

sheesh did i mistype

#

my bad then

rugged echo
latent scaffold
rugged echo
#

Is that w3s

latent scaffold
#

or generally obstructive messages, anyways

dire siren
#

i don't go w3s for python tho

latent scaffold
#

yeah, they don't

#

they're disabled for us

dire siren
#

copying html css snippets in w3s is quite nice

rugged echo
#

If we don't have permissions on everyone

twin charm
latent scaffold
#

you can "ping" @everyone but it doesn't actually... ping

#

like it shows up as a ping but you don't get pinged

#

like it doesn't highlight yellow or anything

#

it just has that... @latent scaffold color

#

y'know?

twin charm
rugged echo
#

Huh

#

That is very interesting

quick ledge
#

what's with trying to ping everyone

#

you know we delete them

rugged echo
#

I guess discord doesn't have enough time to react

acoustic moss
#

it wouldn't ping even if the bot did nothing

rugged echo
acoustic moss
#

members don't have the perms

quick ledge
#

you don't have the permissions to mention @ everyone

twin charm
#

we're discussing the rationale behind deleting attempted everyone pings even though its disabled for the laymen.

quick ledge
#

it's actually quite useful to detect spam

rugged echo
quick ledge
#

because
Discord.

rugged echo
#

Lmao

#

Okay, got it, thanks vivek

latent scaffold
#

it's not actually a mention, though

acoustic moss
#

yeah it just looks like one

latent scaffold
#

I say that and get two mentions

rugged echo
#

Yeah

acoustic moss
rugged echo
#

LMFAO SO TRUE

last mantle
#

js?

near bolt
dire siren
#

wish someone looks

#

and see if they can decrypt it

#

dm me if you are stuck. ill be gone for an hour starting from now

#

if anyone is doing this challenge react the ๐Ÿ‘€ emoji on this message

tribal aurora
#

lol

twin charm
odd sluice
#

damn you

#

i did not read that message

#

until after i decrypted it

dire siren
#

what message

dire siren
odd sluice
dire siren
#

ok

twin charm
#

why is this even in the python downloads section?

tardy rain
#

john cleese was part of the monty python crew

#

graham chapman too

wraith hound
#

where's that from

#

and what does it have to do with python

twin charm
#

3.9.6 download section

wraith hound
#

ok

dire pine
#

my code is checkmating me
i love life

uneven pine
#

I love seeing people get confused at that stuff

uneven pine
wheat lynx
#

In theoretical physics, quantum chromodynamics (QCD) is the theory of the
strong interaction between quarks and gluons, the fundamental particles
that make up composite hadrons such as the proton, neutron, and pion. The
QCD analog of electric charge is a property called color. Gluons are the
force carrier of the theory, just as photons are for the electromagnetic
force in quantum electrodynamics. There are three kinds of charge in QCD
(as opposed to one in quantum electrodynamics or QED) that are usually
referred to as "color charge" by loose analogy to the three kinds of color
(red, green and blue) perceived by humans. Other than this nomenclature,
the quantum parameter "color" is completely unrelated to the everyday,
familiar phenomenon of color.

#

it's nice to see (apart from the misspelling of colour lemon_angrysad )

latent scaffold
#

I don't see any misspelling of color

uneven pine
#

Colour is just color with carbonation

latent scaffold
#

Col our \๐Ÿฅด

uneven pine
#

I read color as normal

#

But colour the same way as velour

latent scaffold
#

hahaha me too

olive hazel
#

there's 3 owners right?

wraith hound
#

Yes

rough sapphire
#

sublime text 4, zig, terminus ttf font.

tardy rain
#

Thats too much italics

uneven pine
#

all fair if you like that

#

but that is ugly as hell and a horrific font imho

rough sapphire
uneven pine
#

idk what zig is

#

looks like Rust if they were more inpsired by C

rough sapphire
#

its a programming lang inspired by c

uneven pine
#

actually there's like some java mixed in there too

#

union of C/Rust/Java

rough sapphire
#

tat opinion wasnt really humble

uneven pine
#

lol

rough sapphire
#

oh i guess that also means honest

uneven pine
#

in the end it's just what I think of it

rough sapphire
#

dont know why this syntax .{char} instead of just char in the print function

#

but i imagine it has some meaning just need to learn

uneven pine
#

it's definitely funky

rough sapphire
uneven pine
#

const std = @import("std"); is like a java-inspired version of using namespace std;
The function signatures scream rust, but even rust is based/inspired from C in that regard, just in a different order.
pub fn main() anyerror!void {} is a bit off the wall, but in the end it's just a void main() with some extra syntactic sugar

#

the rest of pretty spicy tho

gritty zinc
#

zig is supposed to be a bit more hardware-oriented

#

like, it's got fun stuff like explicitly compile-time-evaluated code and easy switching based on what platform you're currently compiling for

wraith hound
#

the syntax of const std = @import("std"); reminds me of const package = require("package");

#

I suppose it's the concept of assigning imports to variables

wheat lynx
acoustic moss
thick osprey
#

๐Ÿ‘€ I did a thing

acoustic moss
#

what is this thing that you have done

thick osprey
edgy crest
#

you softboiled yourself??

thick osprey
#

Yes, and dataclasses while I was at it.

acoustic moss
thick osprey
#

Still some things to tweak, but it's holding up on my initial trial runs. Makes creating my models super nice.

acoustic moss
#

an option for default values would be great

thick osprey
#

Yeah. That shouldn't be too hard to do either

#

dataclasses.fields() probably has the info needed. Just need to make a check for it before filling it in with None

acoustic moss
#

interesting

thick osprey
#

It's been fun. I started not using a decorator because I though "oh, a decorator sounds complex as heck". Turns out the entire decorator piece is about 10 lines of code rooDerp

acoustic moss
#

damn

thick osprey
#

Scrubbing the data, that was a little shuffle joy. And, as you saw, still work to do. Side-projects rock rooDevil

dire siren
#

i wonder who is eivl's twin

edgy crest
odd sluice
solemn leaf
#

eivil

eager trout
#

yo wtf

wise schooner
low chasm
#

Otn came true

tribal aurora
#

Lol yea it came true

#

Python communities are magician, they know what will happen in the future exactly..

edgy crest
#

interesting

#

discord borked

tribal aurora
#

Senjan doing python tests prolly lol

#

mine is fine too

#

lol

#

it's a glitch or something

solid pollen
spare lance
solid pollen
#

That's the goal, sir, that's the goal

spare lance
#

congratulations on doing a marvelous job of achieving your targets

#

@solid pollen this be some top class horse shit.. when i shut down.. and then start after some time the uptime doesnt get reset... but when i restart my computer.. voila it sets the uptime back to 0 lemon_fingerguns ๐Ÿ˜•

solid pollen
#

huh

spare lance
#

uh relating to the convo yday on joe's server

solid pollen
#

yeah, gotcha

spare lance
#

time hunt down why it is doing this with me

solid acorn
#

are there channels in the server where i can ask about other programming language ??

acoustic moss
#

do a 360 turn and you'll be there

solid acorn
#

pardon ??

acoustic moss
#

you can talk about other langs in these offtopic channels

dire siren
acoustic moss
#

np

spare lance
#

da fuk is this?

inland wolf
spare lance
fervent tree
#

I saw a bus whose door was opened

#

Amazing

acoustic moss
#

impossible

spare lance
fervent tree
#

It is racing towards me

#

Lol

#

A big truck blocked my sight wow

#

I think Python is the easiest way to learn programming

#

So similar with our language

solemn leaf
#

what a connection

#

\๐Ÿ‘

#

๐ŸšŒ ------ ๐Ÿ›‘ py_guido โŒš

#

guido waiting for bus

edgy crest
#

shouldnt that pole be vertical

dire siren
#

seems like cobol is the most lovedhated language. time to use it to code a discord bot

#

because i got nothing to do

#

nvm too hard bye

#

cobol's syntax is f-ed up

graceful basin
#

@spare lanceI believe you asked me about command timings in powershell some time back, randomly found something that can do it. this can be used to get the time the last command took
(Get-History -Count 1).Duration.TotalMilliseconds

spare lance
inland wolf
#

if i start a new powershell it wont show anything when i run gethistory

dire siren
#

how do i get this menu strip thingy on web

#

on html*

spare lance
#

a division? and a horizontal table with buttons?

dire siren
#

ignore

#

found out i have to code it myself

#

๐Ÿ˜”

#

wait vscode plugins uses typescript correct?

#

typescript = javascript (but not really)
that means i can just do that pyshit thing on vscode

spare lance
inland wolf
dire siren
#

and found out i got bunch of html templates ๐Ÿ˜ˆ

#

nop

#

no

#

making myself an ide is more challenging

#

depends on my laziness

#

i mean why not

#

i still have ~1/4 of my summer holiday

#

and most likely it'll continue online class

#

sad

spare lance
#

relate

edgy crest
#

sheesh tfw "gl" makes me think of opengl at first thought...

spare lance
#

sounds like weirdass christmas present

stark oasis
acoustic moss
#

yeah happened to me too

rough sapphire
#

can someone help me with visual studio

harsh tundra
# rough sapphire ???

Seems like this debug profile is not set properly. Use different profile, reinstall whatever made this profile, or just check where executable to debug is located and fix the settings manually

silent mantle
#

hello, i would like some help with something non-python related

harsh tundra
silent mantle
#

i am curious if there is like a site or an app to download a video from any site

acoustic moss
#

netflix and amazon wouldnt be too happy with such apps

rough sapphire
#

we call it telegram tho๐Ÿ˜”

#

but yeah not exactly from any site

oblique raven
#

There're many sites to do so and ways to make your own tool like that but... it's kinda illegal to download videos.

Youtube has a way to download videos in python, and that's not really considered illegal considering well, it's public to everyone and free to use

#

But for netflix and hulu stuff, highly recommend to avoid it / trying to

#

Plus all the programs you use for it are 99.9% likely to be malware or an ad-virus

silent mantle
#

so, the thing is

#

it's a video on a pirate site

#

so i am trying to pirate from the pirate

oblique raven
#

So you're trying to commit a crime while already committing a crime

#

very smart idea

silent mantle
#

well i just want the sound from the video tbh

oblique raven
#

why would you want the sound from the video..?

silent mantle
#

it has a lot of the quotes of a specific character

#

and i am trying to create an ai voice

#

but i want his voice

oblique raven
#

just search for quotes from him?

#

them*

silent mantle
#

well,this video has every quote almost

oblique raven
#

You're not pirating a youtube video

silent mantle
#

so the sample size will be big

oblique raven
#

you really can't pirate youtube

#

you can get copyright violations but

#

that's not piracy

#

which is why you should go down the path of using youtube ๐Ÿ™‚

silent mantle
#

it's a much much longer route and takes way more effort, and i have kind of already started on it

#

but it's hard

#

well, searching them and finding them is one thing, removing the background noise so that only the voice audio remains is another

oblique raven
#

While searching on youtube takes about 20 mins at most to find all the vids and you download it with a python module

#

then from there you just put the mp4 files into the ai

#

it may let you download them as mp3 files

silent mantle
#

can i dm you @oblique raven

#

and maybe even call you with some screensharing ?

oblique raven
#

No

#

I don't have time for calls or nothyin

#

nothin*

silent mantle
#

alright

rough sapphire
#

@rough sapphire

#

but, it can cause problems if u use and download softwares from internet

#

ya ,but i cant bear the dragging caused by windows lagging

#

i just shifted to linux 2 days ago

rough sapphire
#

i have tweaked my win

#

works like charm

#

this is sublime on 2gb ram

rough sapphire
#

this is chorme(with discord, google classroom, open- total 3 tabs ,2 extensions)

#

+idle

#

+groove music + explorer

#

@rough sapphire

#

oo this is preety nice

#

yes, i have total 5 gb ram

#

2gb- main, and 3 gb virtual (page file)

#

oo

#

do u want help?

#

ya

#

ur cpu?

#

u mean processor

#

yes

#

it's name

#

Intelยฉ Coreโ„ข2 Duo CPU E4700 @ 2.60GHz ร— 2

rough sapphire
#

but nm

#

do u have windows installed?

#

no linux but actually there are the chances of shifting since wifi my wifi card not working on linux

rough sapphire
#

try*

#

are u talking about debloating windows

#

with a script

rough sapphire
#

i still have cortana

#

what i did is some registry tricks
which would increase the MEMORY related stuff more often

#

may i show u the video?

#

i had used chris titus tech`s script to debloat windows

rough sapphire
#

may i dm?

#

sure

acoustic moss
#
In [38]: win32gui.GetWindowRect(win32gui.GetForegroundWindow())
Out[38]: (-8, -8, 1374, 736)

how the fuck is a screen coordinate in negatives???

acoustic moss
#

๐Ÿค”

#

that would be extremely inconsistent

#

nah im pretty sure this is from top left

#

eh i can work with this

#

adding a +8 is a small compromise for being able to work in windows terminal

harsh tundra
acoustic moss
#

its a maximised window

harsh tundra
#

Is it kind of full screen maximisation?

acoustic moss
#

yeah

harsh tundra
#

I'd say y would be for "missing" top bar but this looks just maximised, not "borderless window" pseudo-fullscreen

acoustic moss
#

hmmm

harsh tundra
#

I'm installing pywin32 in venv, will test it in a moment

harsh tundra
# acoustic moss hmmm

any fullscreen app gets +-8 on all sides. I have 1920x1080 monitor - I get (-8, -8, 1928, 1048*) for different fullscreen windows as well

*task bar starts at 1040, checked with desktop screenshot in paint, lol

acoustic moss
#

ohhh

#

i see, thanks

harsh tundra
#

I did time.sleep chained with this get rect and get foreground to get to another window in the meantime

spare lance
#

and the other -8 be for?

harsh tundra
#

all sides are -8/+8

#

min x and min y are -8, max y and max y get working area +8

#

btw, minimised screen is:

>>> win32gui.GetWindowRect(w)
(-32000, -32000, -31801, -31966)
uneven pine
#

wait wait wait wait

#

WAIT

#

You mean to tell me that when you minimize a window, it actually just teleports it to the void?

#

๐Ÿ˜‚

harsh tundra
#

it seems so, lol

#

at least according to win32gui

uneven pine
#

how have I been a windows developer for a decade and not known that

#

seems obvious in retrospect

harsh tundra
#

btw, half-screen snipping doesn't add/deduct 8
it's (0, 0, 960, 1040) and (960, 0, 1920, 1040) for me

uneven pine
#

this explains so much weirdness

latent scaffold
#

lmao what the heck

spare lance
spare lance
#

they literally saying shit just went down into your cpu from yo screen

rough sapphire
#

This program is kidding me 0,00% compress rate lol

harsh tundra
rough sapphire
#

Or because it's evaluation copy pithink

last mantle
rough sapphire
#

there is a pdf-mafia including shitty demos, general inaccessibly, 50MB upload limits and paid plans lemon_eyes

#

Adobe Pro version is sooo good but I don't need to handle Pdfs that often to buy a plan

uneven pine
#

What would happen if you have a monitor larger than those coordinates

#

Theoretically

#

Wonder if those are hard coded

#

And the window would just... Be there

harsh tundra
#

And 32k is large number

uneven pine
#

Oh yeah I'm dumb

#

Didn't even notice negative

harsh tundra
#

I wonder how it shows for multiple monitors

#

Is main screen considered 0,0? Then negatives are possible if primary screen is on the right and other stuff is on left

uneven pine
#

Hmm

#

Good question

acoustic moss
#

fascinating

#

id think that the left most gets the (0, 0) but idk

harsh tundra
#

I'll need to check it

floral remnant
#

noice

#

noice

#

noice

wheat lynx
#

๐ŸงŠ

solid pollen
#

Hmmmmmmmmm

#

Ice cube...

#

Scrolls up, scrolls down, look at channel name

#

OK why ice cube @wheat lynx?

tender smelt
#

no ice

thick osprey
#

rebel against noice

#

๐ŸงŠ

wheat lynx
thick osprey
#

... weird. That counted for 3 pings for me

wheat lynx
#

Huh thinkmon

#

Maybe it's because discord knows a ping from me must be extra important

thick osprey
#

rooGNOD That must be it

#

I'm seeing 3 reacts on python bot's trashbin react too. Resetting my client as I think this is a "me" thing darkoLUL

#

That or fate is telling me something about 3 rooScreamPeek

wheat lynx
#

3 pings, 3 reacts on the trashbin, 3 sides on a triangle...

solid pollen
#

Oh

#

no ice

#

Okay

#

Brian isn't large enough

quick ledge
#

It's the SIgn of the Three

#

I saw thatakarys_spin

solid pollen
#

No you didn't akarys_spin

quick ledge
solid pollen
#

Brian my brain

#

It is now officially his nickname because I do this typo way too often

thick osprey
#

So, from now on I should ask if Brian can come out and play too? Got it. roo5Head

quick ledge
solid pollen
#

I hope my brain won't come out and play

#

I have to wake up on 6h and still is a driving hour away from home

#

We stopped in a shop so my father can get freaking candies I swear

#

He is the true child

quick ledge
#

lol

#

alright
time to keep my eyes closed for 8 hours

solid pollen
#

So I will probably be sitting in ot for on hour so I don't feel asleep

#

Don't leave me vivek lemon_sentimental

#

Also don't lie you forgot a 1 before the 8

quick ledge
#

let me go....

quick ledge
solid pollen
#

I swear you say good morning and good night during the same hour

#

But good night either way :P

wheat lynx
#

Imma go to sleep too. Bye Akarys ๐Ÿ‘‹

quick ledge
#

timezones are weird

solid pollen
#

Bye ! lemon_sentimental

#

Plus I'm sure no Indian are awake at that time

#

Guess I'll have to find American fellows

wheat lynx
#

Here's something to do to keep you awake, count these sheep: ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

quick ledge
#

mmm, I guess I have the whole country to myself

wheat lynx
#

I haven't counted but sounds about right

quick ledge
#

yeah

frozen coral
#

!e print(len("๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘"))

#

yup, seems about right

#

thanks python

royal lakeBOT
#

@frozen coral โœ… Your eval job has completed with return code 0.

โ€‹โ€‹โ€‹ 69420 โ€‹โ€‹โ€‹

solid pollen
#

๐Ÿฆ‰ Bunhammer akarys_spin

viscid hemlock
solid pollen
#

lol

#

IDK

#

My parents are like "vacations? so we can use our car to go anywhere? let's do this!"

spice yew
#

guys i literally banned my alt from my own server

#

and i cant unban it

#

some1 help

#

there are 3 bans in the server and none of them are my alt

#

ive sent 3 different invites and reloaded the page and waited a while

#

but i cant invite my alt back

#

worlds biggest muppet?

oblique raven
#

if you ban your alt it's on the same IP as you, just use a VPN on your PC I assume your alt and your main is on your PC together, so yea

fickle dirge
#

what is smt you would buy thats 3d printed
i am tring to sell smt on etsy
but idk what to sell / print

dire siren
#

what

eager trout
#

holup

#

wtf

dire pine
#

war

acoustic moss
#

a wa

thick osprey
#

a wa

odd sluice
#

i find this very funny

odd sluice
inland wolf
#

does Vivek sleep

dire siren
#

i mean when you send a message like "dead chat" you already make chat alive for 1 nanosecond

inland wolf
#

lol

dire siren
#

any web apps example

spare lance
#

discord?

dire siren
#

ok

undone yarrow
#

@unique elm Nice ban lol.

dire siren
#

what

twin charm
#

what

sturdy zephyr
#

what

quick ledge
inland wolf
#

good to know

last mantle
#

do you

#

search for

#

vivek?

#

how tf did you even see that

#

ah its ot1

#

nvm

dire siren
#

what

#

that channel is dormant

#

and not yours

austere forum
#

@dire siren lol

dire siren
#

๐Ÿ‘€

mossy verge
quick ledge
harsh tundra
#

ot1-apertureโ€™s-fancy-new-system
You mean... GLaDOS? :D

inland wolf
#

lol

dire siren
#

dang node modules are really taking a lot of spaces

wraith hound
#

Node modules is pretty huge, yes

latent scaffold
tribal aurora
harsh tundra
#

Aperture Science
We do what we must
Because
We can

latent scaffold
#

never even played the portal games

#

I just watched other people play

harsh tundra
#

I player first game but know the lore of 2 and fan-made prequel

latent scaffold
#

I can hardly remember what happened

harsh tundra
wraith hound
#

At least target is compressed into a tiny binary.

tribal aurora
wraith hound
#

Err, they may end up being bigger, not sure because I haven't undertaken any really big projects yet

#

I'm working on one, but I haven't done much with it

#

Oh you're right that's pretty big, but node_modules can be way bigger because it's not compressed into a binary

rough sapphire
dire siren
#

node takes more

rough sapphire
#

60MB + for 1 mod

#

almost 70MB

wraith hound
rough sapphire
#

exactly

#

so i think it's meaningless to bash on it

wraith hound
#

And it can take many gigabytes

wraith hound
rough sapphire
#

if anyone complains about node_modules, they haven't had experience with C++ DLL hell

#

not to mention reproducability

#

personally I think node_modules and venc Lib is the way to go

wraith hound
#

I like the way that cargo does it

#

In Rust

rough sapphire
#

that one is good if you have access to internet on the device you're compiling on

#

the bad thing is, afaik the .toml for depencencies has to be adjusted manually

#

instead of a CLI command that'd automatically check for duplicates and such

rough sapphire
#

CLI is just a lot cleaner

wraith hound
#

But the toml solution works fine

rough sapphire
#

I think Gradle/Cargo way of editing dependencies isn't great

#

CLI is a lot more convenient and safer

#

i may be biased because i use VS Code

#

i guess VS would count too

#

since those tend to have terminal open

wraith hound
rough sapphire
#

so you dont have to even open the config file

#

.NET allows for both, XML edit manually or the CLI

#

best by all means

dire siren
rough sapphire
#

that simply means you need a lot of modules?

#

that's completely up to you, how many you need

#

pro tip: if you dont need any dependencies, node_modules will be 0 bytes

#

๐Ÿ˜ฎ

uneven pine
#

Bro we been open for 5 minutes and already have a delivery and a carryout

#

Rip getting prep done

dire siren
#

is typescript just javascript but with types

#

trying to know if it'll work if i paste javascript code on typescript

wraith hound
#

Gradual typing

dire siren
#

ah great

#

ill test if it works for web speech api on javascript tmr

#

on typescript

rough sapphire
#

Is Linux a better choice than Windows? For programming mainly

tender smelt
#

it doesn't really make a difference, if you're not developing platform specific things

graceful basin
#

if you want to work with ruby or perl, get linux, if you want c#, I would suggest windows just so that you can be compatible with non-.net core runtimes. Python will work great anywhere, as will most other modern languages.

#

Linux is a tad easier for C as you can use the system package manager for easily installing libraries

gritty zinc
#

there sadly are some C libraries that don't work / are hard to make work on windows

#

I had that problem with a multiprecision math library (Rust bindings for it, but I doubt it was the bindings' fault). Worked only in Cygwin and only on the -gnu toolchain.

graceful basin
#

Yeah, if you need the gnu system for whatever reason, windows isn't the way to go

wraith hound
#

What about WSL? Does that not work?

graceful basin
#

It does work

#

It is just quite unwieldy a lot of the time compared to the native system

timid frigate
#

(wsl is a menace)

#

And Linux is superior for most programming

graceful basin
#

It is still ime nicer than trying to run things with wine, proton or over conventional VMs, but if your primary use case is linux dev, it is better to just have linux

timid frigate
#

just because of the automation capacity

#

if you're developing at all just use linux to save time

graceful basin
#

Windows task management is really powerful

timid frigate
#

but unwieldy

graceful basin
#

Eh, I quite like GUI personally

#

Really not a fan of random text file with random format whose errors appear somewhere

timid frigate
#

I am a fan of that

graceful basin
#

But wsl does make dev on windows a lot easier in those few niche cases where you would normally have to do some insanity with msys2/cygwin

#

And wslg so far seems functional at least.

plucky grotto
#

Windows is good through console and linux also usually has a good gui

opal atlas
#

My dude, here is the thing Bill Gates named it and you have to pay for

#

I paid and don't have it, I'm on double invisible OS neither, right there

uneven pine
#

I think this is either an AI chatbot on a user account

#

Or someone having a stroke

timid frigate
#

looks like a skid

#

or gpt2

#

@opal atlas opinion?

wraith hound
#

I find Linux's to be much more complete

timid frigate
#

^

plucky grotto
#

should have most things you need?

#

also, powershell is even cooler

#

not to mention that you can get the coreutils on windows I think

thick osprey
#

Everyday I get a little closer to just dropping flake8 from my workflow

undone yarrow