#ot2-the-original-pubsta

652 messages · Page 18 of 1

steel eagle
#

though my modular build script system is coming along nicely.

serene oar
#

Ahh thanks

steel eagle
#

also learn the important bits of standard library

serene oar
#

Assert, yield are the onlu one idk know

serene oar
steel eagle
#

pathlib, contextlib, dataclasses, sys, asyncio

serene oar
#

And os

steel eagle
#

those kinda things

#

functools as well

#

hm, just off the top fo my head

serene oar
dry minnow
#

does one really need to learn all that at once

steel eagle
#

never all at once

#

one thing at a time

timber mango
#

and, if you want to become a python master, you have to do the impossible, master every inbuilt modules

dry minnow
#

I guess I usually learn the concepts while searching things up slowly
haven't needed the as keyword yet

serene oar
#
def study(python):
   for lesson in python:
       ...```
steel eagle
#

it's quite useful in some cases

dusky cliff
#

has anyone mentioned itertools yet

dry minnow
#

oh wait

steel eagle
#

such as import ujson as json for using a faster json parser in place of the standard library

dry minnow
#

import something as something?

dry minnow
#

yeah I used as before then

dry minnow
#

I confused it with C# as, wew.

timber mango
steel eagle
#

No, it's not.

dusky cliff
#

he's kidding.... I hope?

steel eagle
#

No python developer knows the ENTIRE standard library.

serene oar
#

I just realized we are in an OT channel

dusky cliff
#

mhm

dry minnow
#

oh, guess they're automatically kidding then /s

steel eagle
#

There's loads of things in the stdlib, and most of it is irrelevant to any given project

timber mango
dusky cliff
#

wot

serene oar
#

I guess i won't need data structure and algo for now

dry minnow
#

I mean you're not wrong

steel eagle
#

No offense, but so far every other thing you've said has been bad advice, especially for someone trying to learn

dry minnow
timber mango
#

I learned that way, my way

steel eagle
#

perhaps it's time to step back and evaluate what actually matters to yourself, let alone any given developer, so you can understand things better before trying to give advice

dusky cliff
#

oh so you are a python developer? name every module then.

timber mango
dry minnow
#

oh ok

serene oar
dry minnow
#

it better be

dusky cliff
#

yes

serene oar
#

I'm gonna take a break then study again later

#

Anyone here a master of P.O.O.P?

dusky cliff
#

I love POOP

timber mango
#

does py_guido know every built in modules?

dry minnow
serene oar
#

What is a python developer

A developer who develops python or a developer that uses python

#

Web developer thinkmon

timber mango
dry minnow
#

is there something specific about OOP in Python that's special enough to give it that acronym?

edgy nebula
#

it becomes POOP

steel eagle
serene oar
#

Bye guys lemon_tongue

#

Code review please

#

🤓

timber mango
steel eagle
#

man windows command line file management is annoying

#

this command works through powershell but not through cmd

#

so not through the standard build system

#

copy env\Lib\site-packages\Python.Runetime.dll main.dist\

tranquil ridge
#

why doesnt that work on cmd though

steel eagle
#

dunno, says it can't find the file

#

I'm guessing there's some minor difference in the copy command between cmd and pwsh

tranquil ridge
#

oh

steel eagle
#

ignore the runetime typo there btw

#

the typo doesn't exist in the actual file :p

jovial island
#

heyo!

timber mango
steel eagle
#

no it doesn't...

tranquil ridge
#

huh

steel eagle
#

powershell (on windows) doesn't even use CLOSE to posix syntax

timber mango
tranquil ridge
#

also linux terminal syntax is not a valid term as there is not a single shell 🤔

#

oh posix

steel eagle
#

you can run standard posix bash syntax through powershell on another os, assuming you're running the proper backing shell

#

but not on windows

timber mango
#

you can use ls in only powershell and not in cmd

steel eagle
#

that's a program

#

not syntax

timber mango
#

wdym, have you ever used linux systems?

steel eagle
#

...Yes, daily, for around 12 years

timber mango
tranquil ridge
#

because its a command

steel eagle
#

ls...is a program

timber mango
#

ls is a command

steel eagle
#

which is a program

tranquil ridge
#

a command is a program

#

ya

dusky cliff
#

lol

steel eagle
#

it is not part of the syntax of the shell's scripting language.

timber mango
#

okay then find the ls file and tell me

steel eagle
#

in most posix systems it will be /usr/bin/ls

#

which will be a symlink to the system install location

dry minnow
#

darn, how do I know where it's symlink'd to
I never looked that much into it

steel eagle
#

check the symlink

tranquil ridge
#

and it would probably a symlink to the binary or would it be the shell script file, i have never checked actually

steel eagle
#

ls is a built-in module of powershell

dry minnow
#

wait no I think in my case it's an actual program nvm

#

/usr/bin/ls: ELF 64-bit LSB shared object

timber mango
#

yeah, i mean by, powershell uses linux terminal syntax

tranquil ridge
#

hm ls is not even a symlink for me

#

¯_(ツ)_/¯

steel eagle
#

but it doesn't use linux terminal syntax

#

It uses Powershell Script syntax

#
'ActiveDirectory', 'SQLServer' |
   ForEach-Object {Get-Command -Module $_} |
     Group-Object -Property ModuleName -NoElement |
         Sort-Object -Property Count -Descending
#

this is not standard bash scripting :)

#

That is the syntax of powershell

dry minnow
#

yeah, powershell has some commands that are the same, but other than that, it gets very different

#

like the time I realized rm -rf became rm -recurse -Force >:C

steel eagle
#

or the fact that both cls and clear are just aliases set by default to Clear-Host

dry minnow
#

well, at least that's somewhat consistent
I guess that means rm is also an alias?

steel eagle
#

likely

#

yep, rmdir is an alias to Remove-Item

tranquil ridge
#

powershell has an equivalent of curl too right? something like Invoke-Request

#

i dont like its pascal case oof

odd sphinx
#

Pascal-Kebab-Case

tranquil ridge
#

cursed

#

at least for commands

dry minnow
#

relatively cursed

dusky cliff
#

NOTaScURSEDaStHISiSiT

odd sphinx
#

no its not

steel eagle
#

I really can't figure this out hm

dusky cliff
#

figure what out

odd sphinx
#

n🧊

jovial island
#

lol

jovial island
#

finally got it!

odd sphinx
#

lol

#

n🧊 bro

jovial island
#

lmao

#

i like it

#

i got stickers too

odd sphinx
#

damn

#

those are some smooth stickers

serene oar
#

What's the difference between multiprocessing and threading

timber mango
steel eagle
#

Wrong again

#

Multiprocessing uses multiple processes threading uses multiple threads within the same process

timber mango
steel eagle
#

that's literally the opposite

timber mango
#

no

#

my answer is same

steel eagle
#

No... You cannot have multipe processes in the same thread, processes are a different thing than threads.

timber mango
#

func1 is a process and func2 is a another process

steel eagle
#

I really don't have time to explain basic low level processing and threading principals to you

timber mango
serene oar
#

I guess I'll just search lemon_eyes

steel eagle
#

multiple threads work by allowing execution of code while a blocking function is happening

serene oar
#

multiple processes?

steel eagle
#

a process is an executable running, in the case of python, it's the python.exe interpreter

#

Say you have something that waits for a disk read or network response, you can use a thread to run that code while your program executes other things in the mean time
This all happens within the same process

serene oar
#

Could you give me a usecase? Of both

In running a pygame game you need to save data to the json file or your database what would you use

steel eagle
#

however, say you have something like a complex algorithm that's CPU-itensive, threads will not work for this since it;s within the same process, and it would be blocking

steel eagle
#

so you would use multiprocessing to create a whole new process, and continue your execution while you wait for that process to finish

serene oar
steel eagle
# serene oar Ohh like discord bots?

yes exactly, asyncio is thread-based, the coroutines all happen within one thread, but they're used to wait on things such as network responses

serene oar
#

That's called threading

#

Multiprocessing hm...

#

Example usecase?

odd sphinx
#

can u use asyncio to run things concurrently?

#

or is that not what its meant to be used for?

steel eagle
#

asyncio, threading, multiprocessing, etc

#

that's all for concurrency

#

it's just different types of concurrency

odd sphinx
#

so threading uses multiple threads

#

multiprocessing multiple processes

steel eagle
#

yes

odd sphinx
#

and asyncio one thread?

steel eagle
#

asyncio uses coroutines

odd sphinx
#

i see

steel eagle
#

which are very similar to threads

serene oar
#

Bruh how did you get all that

steel eagle
#

Years of learning and practice

dry minnow
#

with async I don't think u need to worry bout how many threads are actually being used

steel eagle
#

Coroutines basically pass execution off to one another

dry minnow
#

cuz isn't it supposed to abstract over that

steel eagle
#

whereas multiple threads can execute at the same time

#

yes asyncio is a very high level module

#

it does its magic all internally

serene oar
#

Threading executes at the same time?

dry minnow
#

it can

#

wellll depends on whether you have more than one core in ur CPU

steel eagle
#

nobody has less than 2 cores these days

serene oar
#

Multiprocessing = uses multiple cpu or smth

steel eagle
#

multiprocessing uses multiple processes

serene oar
#

Wait define processes

steel eagle
#

A process is an executable that is running on your system

#

as I said before

#

in this case it's the python.exe interpreter on windows

#

or the python binary on other systems

#

its all down to your operating system whether it schedules that process to another cpu thread/core or not.

serene oar
#

I think i get it atleast a bit

steel eagle
#

you can get down to really low level specifics, such as the difference between physical/logical processes

dry minnow
#

darn, idk the diff betw those

steel eagle
#

but in general, so long as you understand the basic principal that's not important

#

Many modern processors are hyperthreaded, that is they have a certain number of actual physical cores

#

but for every core they have two execution threads

#

(hyperthreading is the intel branding for this, but it's sort of become a colloquial term)

#

AMD CPUs do a similar thing on a bit more of a hardware level, their execution units share data so for each group of 2-4 cores

odd sphinx
#

so its two logical cores per physical core?

steel eagle
#

which is why until recently AMD CPUs have struggles very badly with single-core performance

odd sphinx
#

does single core mean physical or logical?

steel eagle
#

It can main either

odd sphinx
#

i see

steel eagle
#

generally these days it means logical, as there haven't been single physical-core CPUs for quite a long time

#

except in embedded platforms

odd sphinx
#

interesting

dry minnow
#

hm, I'd have to look more into why hyperthreading is a thing

#

not familiar with hardware much ig

serene oar
#

@steel eagle multiprocess = uses different memory
Threading = 1 memory

#

Suppose I'm coding a pygame game that saves data (in a json file) while you are playing i would use threading

steel eagle
#

yes that is technicaly true

serene oar
steel eagle
#

yeah saving data would just be threading

serene oar
#

Nice

#

I get threading now

steel eagle
#

I've spent two hours tweaking a build script

fallow violet
#

heyhey sebastiaan changed his pfp again

merry rose
#

@viral mirage I know that was largely a language barrier thing, but still: wat

dusky cliff
#

I still have no clue what he originally wanted

viral mirage
#

it was a bit..., yea. But those things happen. wouldn't know what I would've done if simply importing wouldn't do it there (e.g. if that other file had some blocking call)

merry rose
#

I imagine it was a case of multiple people misunderstanding their question

#

So when they originally said compare, they were given the answer of: difflib

viral mirage
#

yep

hidden lintel
#

How do I read a .png file?

#

Or a PDF for that matter?

#

like how does PIL etc convert it into an array of pixels?

#

because I just see some random stuff when I try to open a .png file or a similar file

#

like unreadable characters

#

by open I mean read the literal content

round moss
#

png is a specific format

hidden lintel
#

Aha thank you!

tranquil ridge
#

its gives you a 3x3 matrix

#

with each pixel as an array of rgb

hidden lintel
#

That's not what I mean, I meant how does PIL read the image? how does it get, or rather understand the image data?

round moss
#

it parses what I just linked

#

(well, it probably just uses libpng)

tranquil ridge
#

(then what does libpng do)

dusky cliff
#

parse what he just linked

#

:P

tranquil ridge
#

oops didnt notice srry

#

ugh it has too much stuff

proven gorge
# hidden lintel That's not what I mean, I meant how does PIL read the image? how does it get, or...

If you wanna get into the nitty gritty details of image encoding the wikipedia article for the jpeg format has a pretty good explanation of how raster-type images are represented and stored in the computer:
https://en.wikipedia.org/wiki/JPEG#JPEG_codec_example

JPEG ( JAY-peg) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable trade-off between storage size and image quality. JPEG typically achieves 10:1 compression with little perceptible loss in image quality...

#

Fun fact: JPEG is almost entirely lossless up until the quantization step in the encoding. That is what really destroy the lossless property

dusky cliff
#

with little perceptible loss in image quality
questionable assertion

proven gorge
#

Read the article mate, the loss is dependent on the quantization matrix and that one varies a lot depending on what quality settings you chose

echo fern
#

isn't there some new non-popular but pretty amazing JPEG subtype that uses wavelet transforms and manages a much better quality for the same size

proven gorge
#

How new?
Back when I learned all this about 5 years ago I heard nothing about any new standard

urban sun
echo fern
#

That might be it, but it's not new

#

there's a wiki page about jpeg-2000

urban sun
#
2.2.  JPEG 2000 Features

...
   -  state of the art lossless and lossy compression, based on wavelet
      technology, within a single codestream
...
#

this was in 2004 though

proven gorge
#

Afaik jpeg2000 never really caught on

#

as with a lot of formats that had really good tech but never got adopted broadly

urban sun
#

they don't even take freedom units in exchange for knowledge

#

Why the pdfs aren't public though, can I really not encode with the standard unless I pay their fee?

frigid pollen
#

I'm still a little grumpy that aPNG didn't take off.

#

PNGs? Awesome. Animated PNGs? Hell, yeah. Yes, please.

#

Internet: You get GIFs and you'll like them.

proven gorge
urban sun
proven gorge
# urban sun the jpeg format?

afaik jpeg is not proprietary so the standard should be freely available (I mean the encoding and decoding steps are listen on wikipedia). But for proprietary formats you usually have to pay to get access to the standards

proper python
#

no officer, i would never commit a crime, because committing crime is illegal

crude trail
fluid plank
#

i like this otn

#

makes me unpure

#

impure

#

nonpure

#

dirty

jovial island
#

fart

celest field
#

🌬️

odd sphinx
#

hm

rigid echo
#

I am installing pure

#

pip3 install forall pure. pure -> pure

#

lol

echo fern
#

pip install --upgrade --force-reinstall pure

rigid echo
#

!e pip3 install forall pure. pure -> pure

clever salmonBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

rigid echo
#

ah lemme try in that

serene oar
#

If it works it works

merry garnet
#

.

tight beacon
#

Here's an obscure not-really-python-related question. I want to put together a json or something of discord emojis, specifically pairing each emoji (as unicode, html entity etc) with the shortcodes used by that emoji. seems from my investigation that discord has unique shortcodes (or at least, I can't find any other platform with identical shortcodes). Any ways I should look at tackling this besides... well, manually doing it?

mental wadi
#

if anyone wants repl.it codes or balsamiq codes pls dm me i won quite a few in a hackathon and i have no use of it

merry garnet
#

Uh

proven widget
#

I got gifted a Jetbrains IDE product license by my instructor today! WoohOo!

#

Finally I get to use PyCharm and IntelliJ! This be a wetdream :X

lament kestrel
#

:+1:

proven widget
#

Also the first gift I've ever received from a professor, feels good ^^

lament kestrel
#

Sounds great
What's different between this and the community version of PyCharm?

proven widget
#

I have no idea, I've never used it.

#

I stuck with Spyder and then with VsCode for Python up until now. Eclipse for Java

#

I know Ves uses PyCharm a lot, probably he'll be able to answer that better

foggy flicker
#

pip install friends

slate gulch
#

school be like:

odd sphinx
#

interesting

dim root
exotic harbor
#

what happens when you replace the system 32 from windows 10 with the system 32 from windows xp

jovial island
#

possibly not that much, kernel hasn't changed a lot

exotic harbor
#

im going out of my way and try it

jovial island
#

don't try tho

exotic harbor
#

in a vm

jovial island
#

do it in a VM

keen burrow
#

You cannot delete system32 at runtime

dusky cliff
#

seeing the words delete and system in the same sentence gives me anxiety

tranquil ridge
#

OwO

jovial island
keen burrow
#

Not at runtime

#

You have to do it with another OS

exotic harbor
#

you can do it at the automated recovery thing

odd sphinx
#

no

exotic harbor
#

i expect a bluescreen

jovial island
exotic harbor
#

XD probably

jovial island
#

Oh my god, I just realized

#

Actually, that idea seems very questionable

#

*zips mouth*

exotic harbor
#

i hate installing windows

fast wyvern
#

the windows installer has a blue screen

exotic harbor
#

ok

radiant socket
#

@jovial island because they are distracting

jovial island
#

Damn

exotic harbor
#

XD truth

frigid pollen
#

Linux comes in many shapes and sizes.

#

Not all would be necessarily faster than whatever Windows you previously had.

#

That being said...

#

Linux is awesome and everyone should use it.

exotic harbor
#

sure

jovial island
#

Which browser do you guys use

lament kestrel
#

I'd use chrome

quartz sundial
quartz sundial
jovial island
#

But maybe deleting the files not being used would prevent restarting

#

I don't know though

#

Can we get someone here to try and do that 😄

odd sphinx
#

looks nice

alpine lark
#

hey thats not nice

storm birch
#

@distant raven That sort of language/behavior is not tolerated here. Please do not do something like this again.

jovial island
distant raven
dusky cliff
distant raven
#

@alpine lark

alpine lark
odd sphinx
#

lol

#

cmon root what did i do to deserve this? 😭😭

celest field
#

What did he do?

fluid plank
#

he rude

alpine lark
#

im sorry

dusky cliff
#

you should be

#

lol

hidden lintel
dusky cliff
#

V, thechamp

rocky fossil
#

Anyone else on the doge train?

alpine lark
#

i am not joking you

#

i was gonna buy 2000 shares but i procrastinated and then the reddit thing happened

#

the next day

#

not shares

#

2000 dogecoin

rocky fossil
#

I placed a bet against it but then it started rising so I placed a long bet. Either way ima make my money lama.

rocky fossil
#

Either way ima make money.

alpine lark
#

people are predicting that dogecoin will be a dollar by the ned of the year

unreal sigil
#

how far up is dogecoin going

dusky cliff
#

lol

alpine lark
#

300 percent

#

i think

rocky fossil
unreal sigil
#

I think I saw one of the staff members mention they had 100k of them lol

rocky fossil
#

All time up?

#

Or like past week/day

unreal sigil
#

not to sure

rocky fossil
#

1 hour: up 8 percent
1 day:51 percent
1 week: 366 percent.
1 month: 486
1 year: 1558
All time:1852

#

AnchorUSD

#

Ngl it’s was a quick 180 gain.

#

I started at 700.

#

@thorn dragon the good thing about AnchorUSD is you can set up rules. So say you want to pull out of a crypto currency or stock after it doubles, you can have the app track that for you and automatically sell everything or a portion.

#

Yep. My short bet is set to 0.045 per doge and it’ll pull out for me. Helpful if something like yesterday happens. I was sleep when it spiked. Kinda wish I was up to pull out then but I still made a profit. Still have like 1k to go after the government screwed me over.

storm birch
#

You read through this, then you can type in an available help channel to claim it

merry rose
#

@lone folio recvfrom returns a tuple btw

#

Receive data from the socket. The return value is a pair (bytes, address)

exotic harbor
#

this is what happens when you replace windows 10 system 32 with windows xp system 32

#

its in dutch, and its for automated repair

#

but what about the other way around?

jovial island
#

if i were to replace system32, then it would malfunction 100% of the time

exotic harbor
#

yeah

#

its weird, replacing system 32 with system 32

jovial island
exotic harbor
#

yes

serene oar
#

Do you guys code like how would you draw?
From
Sketch -> other -> other -> final product -> clean things up
Bad code -> good code -> best code -> final product -> debug

odd sphinx
#

im usually:
bad code -> bad code -> bad code -> final product

serene oar
exotic harbor
#

oofness

topaz delta
#

How do we know that ‘To Autumn’ is an ode?

rotund swallow
#

Can you please not post your question in every channel

urban sun
#

Sounds like an English assignment too, violation of rule 5

round moss
#

!warn @topaz delta do not spam your question, be it across multiple channels or in the same channel.

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied warning to @topaz delta.

gray cradle
#

Hey guys I need help to have one display at 144hz and another one to 60hz

jovial island
#

@tame shell what you think of my drawing? close enough?

steel eagle
#

It should just work fine out of the box

#

Display settings -> advanced -> refresh rate on the 144 to make sure it's actually at the right setting

gray cradle
#

It doesnt let me put my 144hz more than 60

steel eagle
#

What OS?

#

And are you using a cable that supports 144hz?

#

I know only dual link DVI, display port, and a certain version of hdmi support it

#

But I do my best to avoid hdmi

#

So I'm not sure which version it is

gray cradle
#

Im sorry

#

I express myself poorly

#

I got 2 monitors 1 is 144hz and the other one is 60 hz

steel eagle
#

Yes I understand that

#

.

gray cradle
#

yes the cable supports

steel eagle
#

.

gray cradle
#

No i didnt select

#

the wrong monitor

steel eagle
#

Wrong reply

#

Siri

unique fossil
#

why pink now

steel eagle
gray cradle
#

What is os?

steel eagle
#

Operating system

gray cradle
#

Im sorry I dont have that good english

#

Oh, windows 10

steel eagle
#

Is your graphics driver updated?

gray cradle
#

yes I just did that

steel eagle
#

Then you're likely using a bad cable

gray cradle
#

Im using the one that came with the monitor

steel eagle
#

Tru unplugging the other monitor and only having the 144 monitor plugged in

#

If it lets you do 144hz then, something is really messed up on your system

gray cradle
#

k ill try that

steel eagle
#

Otherwise it's likely a cable issue

#

And I have heard of manufactures putting cables that don't support 144hz in the box with monitors like that

#

So it can happen

gray cradle
#

Yes it functions at 144hz

#

Thank you for the help

#

I manage to solve it

#

I put the 60 hz by dp and the 144hz by hdmi

round moss
#

!mute @fresh carbon 12h do not spam copypastas

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied mute to @fresh carbon until 2021-02-02 05:55 (11 hours and 59 minutes).

odd sphinx
#

nice

gray spoke
#

better than i'll ever be able to

jovial island
#

lelellelelee

rocky fossil
#

Anyone use bootstrap templates?

steel eagle
#

lots of people do

viral hare
#

at a certain point css templates are just copy and paste it in

steel eagle
#

I gave up trying to use css frameworks, could never get them to work right

#

now I just write my own CSS, and never get that to work right

rocky fossil
#

Well i downloaded the template package. Pretty easy to use but i feel like im cheating lmao

rocky fossil
#

Is there an easy way to mix html and markup?

urban sun
#

html is markup? how do you mean

rocky fossil
#

Markdown my bad.

urban sun
rocky fossil
#

Meh. I’ll have to find another way then. I want to make a blog site so the post use markdown. But the rest of the site use html. That way it’s easier client side to update.

jovial island
#

hello

charred raptor
#

hi

simple shale
hoary fjord
#

nikes on feet

#

im dead

#

💀

vital bramble
#

@upper torrent
#4642 so just follow the steps

#

if that doesnt work you might need to reinstall your Windows 10

upper torrent
dim root
#

so kept it

jovial island
#

.halloweenify

rustic harborBOT
#
Not spooky enough?

Nachygurkandude wasn't spooky enough for you? That's understandable, Nachygurkandude isn't scary at all! Let me think of something better. Hmm... I got it!

Your new nickname will be:
:ghost: Chatterer :jack_o_lantern:

jovial island
#

mmmm no

#

WHATTT

#

YOU CHANGED MY NAME

#

.halloweenify

dusky cliff
#

lol ok Chatterer

jovial island
#

lol

#

ah

#

good to be back

fresh pecan
#

.halloweenify

rustic harborBOT
#
Not spooky enough?

Gurka skalbagge (G̶u̶r̶k̶a̶n̶) wasn't spooky enough for you? That's understandable, Gurka skalbagge (G̶u̶r̶k̶a̶n̶) isn't scary at all! Let me think of something better. Hmm... I got it!

Your new nickname will be:
:ghost: The Creeper :jack_o_lantern:

jovial island
#

.halloweenify

rustic harborBOT
#
Not spooky enough?

Saiko wasn't spooky enough for you? That's understandable, Saiko isn't scary at all! Let me think of something better. Hmm... I got it!

Your new nickname will be:
:ghost: Bruce :jack_o_lantern:

limber pollen
jovial island
#

what does it mean Bruce Wayne

#

Lol

fallow violet
#

forall pure. pure -> pure . this server bot could prevent bot commands from being run by users in other text channels right

rotund swallow
#

yes, but the commands are allowed in ot

fallow violet
#

because the python bot shows that "you cant use this command here" why not use this in

#

sir lancebot

fallow violet
fresh carbon
#

is there a channel where i am allowed to spam the tragedy of darth plagueis the wise

#

?

wheat aurora
#

We have no channels for spam on this server

fresh carbon
#

:(

#

sad

#

is it ok if i dm you the tragedy of darth plagueis the wise?

wheat aurora
#

No

dusky cliff
#

lol

fresh carbon
#

is there anyone here who will let me dm them the tragedy of darth plagueis the wise

keen burrow
#

Please do not send copy pastas here, or to someone’s DMs without their approval

fresh carbon
#

yes that is why i am asking

#

i will not send unless they say i can

dusky cliff
#

@fresh carbon Can I dm you the tragedy of Darth Plagueis the Wise?

fresh carbon
#

yes

tranquil ridge
#

bruh

odd sphinx
#

moment

fluid plank
#

desuka

jovial island
#

.halloweenify

rustic harborBOT
#
Not spooky enough?

pip install MrKomodoDragon wasn't spooky enough for you? That's understandable, pip install MrKomodoDragon isn't scary at all! Let me think of something better. Hmm... I got it!

Your new nickname will be:
:ghost: Ghostface :jack_o_lantern:

viral hare
#

.halloweenify

rustic harborBOT
#
Not spooky enough?

OUI OUI BAGUETTE wasn't spooky enough for you? That's understandable, OUI OUI BAGUETTE isn't scary at all! Let me think of something better. Hmm... I got it!

Your new nickname will be:
:ghost: Gage Creed :jack_o_lantern:

copper kernel
#

I have invented the world's first fuel-less rocket

#

can I post link here

odd sphinx
#

no

jovial island
#

.halloweenify

rustic harborBOT
#
Not spooky enough?

curiousGurkan wasn't spooky enough for you? That's understandable, curiousGurkan isn't scary at all! Let me think of something better. Hmm... I got it!

Your new nickname will be:
:ghost: Pale Man :jack_o_lantern:

jovial island
#

my god

odd sphinx
#

damn

jovial island
#

Pale man sounds like somethn from tokyo ghoul or some sh

serene oar
#

I am studying 3 langs and i have a script repo should i make a folder in that repo separate python from rust and cpp or create a new repo?

dusky cliff
#

If they are different components of the same project then they should be in the same repo

#

if they are unrelated they should be in separate repos ig

serene oar
#

@dusky cliff

dusky cliff
#

guess you could make a repo for each lang

#

up to you tbh

serene oar
dusky cliff
#

whatever you'll find easier to manage

serene oar
#

hmmm thonk

#

i cant decide lol

#

i guess ill just create a folder within it

#

thanks your advice was helpful

hidden lintel
#

Is TeX really 7GB?

#

on UBuntu?

round moss
#

seems believable, 1 image per character per font

hidden lintel
#

Oh no

#

that's a lot

#

I think

round moss
#

it's not that much

hidden lintel
#

¯_(ツ)_/¯

steel eagle
#

7gb is negligible space these days

somber mantle
#

|--------------------|
| L |
| B |

S
fallow violet
#

?

keen burrow
#

7Gb is a lot in some cases

rapid orchid
#

ye

fallow violet
rapid orchid
#

tru

fallow violet
#

cause its the 3rd ot channel, its meant to be left dead

#

lol 377kbps

#

I got similar

#

like 400-600 kbps at most (kilo bytes, not kilo bits)

fallow violet
#

hmm

rapid orchid
#

ok so has it reached 239% of 239 mb?

fallow violet
#

downloadedd?

dusky cliff
fallow violet
#

hahaha

lucid osprey
#

watch scam 1992 tv series

fallow violet
#

leoo!!

jovial island
lucid osprey
#

yes

jovial island
#

well by scam 1992 that atleast know what shorting is

lucid osprey
#

shorting?

jovial island
fallow violet
#

joe your history class is over?

jovial island
lucid osprey
#

ohh

dusky cliff
# lucid osprey shorting?

borrow stock, sell stock at high price, wait for price to go down, buy stock back, return stock to who you borrowed it from ez profit

lucid osprey
#

yea I didnt understand anything

jovial island
#

Sell in High and Buy back in Less

#

Sold item is borrowed many times

fallow violet
#

ok guys ima go now, lots of homework

dusky cliff
#

b a n a n a

median blade
#

Maybe more

#

Hmm

lament kestrel
#

...how do you gain 5?

#

You're down 15 and get 10...

jovial island
#

borrow bro

#

0 cost

#

have to return it later

#

Borrow $0

#

Sell +$10

#

Buy back -$5

#

Profit +$5

#

yeah

#

u made profit out of thing that's not even yours from the start

viral hare
#

when u say u like the stocks

#

but ur just a gme ape

jovial island
#

I became interested long be4 all this GME thing

#

I watched this series called SCAM 1992 which is really good

rare moat
#

do any of you eat the brown parts on the banana

rare moat
#

disgusting

wheat aurora
#

banana bread is where it's at when it starts to turn brown

placid patrol
#

🙏

jovial island
#

Who’s Joe?

gusty harness
#

Not sure

dusky cliff
#

lol

wheat aurora
#

@grim seal Iiiiit's graph time!

rapid orchid
vague steeple
#

so if @grim seal is made of graphs, what's the shortest path to his heart?

#

nah jk, you dont have to answer that

viral hare
#

run djkstra's

#

easy

vague steeple
#

is the graph disjointed?

next token
#

@karmic dagger What can I say, I'm the sheep of the server

karmic dagger
#

Yea. I'll have to follow you haha. Are all the helpers on the discord working as devs?

next token
#

Not necessarily. I don't at least

#

I do personal objects, but I don't work in the cs field yet

karmic dagger
#

Oh. But then even with personal projects I can see that you're still good in python. I'm a beginner and would like to improve. What would you say is the way forward and how can I get ideas for projects (😅 ) Can't seem to do haha.

next token
#

Uhhhh I'm not good at making suggestions

#

If you want to go into cs tho I'd suggest to first try things out and see what area interest you most

#

Like, actually doing something in that field

#

Interested in AI? Read/do some prediction algorithms. Interested in security? Do some CTF. Interested in web? Maybe start planning your own website?

#

These projects can be big, and I think it's a good idea to start slow

#

Of course, different people learn differently. I'm the kind of sheep that learns well by doing things

#

Maybe you like reading books/videos? Maybe you prefer examples over documentation? It's also good to know about yourself so that you have an idea what resource you want to look for and which direction you want to go

#

(Sorry these probably aren't specific answers to your question, because I don't know what fits you well :P)

karmic dagger
#

Thanks. This was great. Especially the part about learning by doing things. That's me

somber belfry
#

you could do codewars to get more comfortable with using the language

karmic dagger
#

That's why I asked about projects. Luckily I know what method of using to learn. Unlikely I don't know which field I want to go into.

next token
#

We also have !resources and !projects if you want to check them out in #bot-commands

karmic dagger
#

Awesome guys. I guess my main problem is still finding my interest in python. So I'll work on that and also check out all the resources given.

simple shale
#

@thin terrace this one 😅

thin terrace
#

Ohh k😅

grim seal
#

you've made my day

dusky cliff
#

Ah so the shortest path to your heart was asking what's the shortest path to your heart

#

interesting

dim root
#

lmao

somber belfry
#

...except, he drives away everyone he knows and loves with his constant rick rolls

keen burrow
#

The path is probably full of rickrolls

open sentinel
#

Hey

#

guys is making a self bot that deletes nsfw images in non-nsfw channels still against discord tos

dusky cliff
#

yes

#

why do you want it to be a self bot

#

why not just make an actual bot

open sentinel
#

o

#

ok

keen burrow
#

If they are admins on the server, they can just invite a bot

odd sphinx
hallow imp
#

man if discord api gave us more abilities it would be insane

#

not / commands, but something like open a custom discord window when using a command, or making an in-discord panel for bots. Making the bot icon able to be a button that directs you to the control panel of the server you clicked the icon in

tranquil ridge
#

i think its already giving us a lot

primal comet
#

so i think i’ve talked about this before but bagels are so good

dusky cliff
#

yes

primal comet
#

like dense bread. so good.

#

nothing touches it’s versatily

tranquil ridge
#

never had one so dunno

edgy nebula
#

and also, buttons in embeds

#

or something along those lines

jovial island
#

Heyo

vague steeple
zinc hatch
#

joe had a difficult day today

#

A very difficult day

#

It's kinda amazing he survived

grim seal
#

hahahaah

proper python
#

honestly don't know what would be worse: if my parents found porn on my computer

echo fern
#

Plot of error vs number of points, when approximating pi by measuring a circle's circumference. This is what happens when floating point errors start being involved.

viral hare
#

never trust floats to be exact

echo fern
tranquil ridge
ionic iron
#

the welcome video was a vibe

dusky cliff
#

c o m p l e t e l y a n n i h i l a t e d

ionic iron
#

poor dave getting bullied

dusky cliff
cinder coral
#

🌰

#

c h e s n u t

nova ember
lucid osprey
zinc hatch
#

He had to go almost a day without proper internet

lucid osprey
#

sad

jovial island
dim root
#

@neat light congratsss 🎉

neat light
#

Thanks! lemon_pleased

dim root
#

for two new roles

#

you are missing the Leads role

neat light
#

Not any more 😛

dim root
#

ok someone added it

neat light
#

I did haha

dusky cliff
#

he himself did it ig

dim root
#

nice

dusky cliff
#

unlimited power

dim root
#

when were u promoted?

#

i didn't see it in the morning

neat light
#

It was yesterday, but I've only just woken up today so you might not have seen it when I wasn't online

tranquil ridge
#

but why are you still wearing a christmas hat

dusky cliff
#

still more like already 😎

tranquil ridge
shrewd lance
#

"Christmas is in 364 days yet I already have the tree up like a fool"

dense solstice
#

nice u got admin!

neat light
#

the hat is gone

#

feels weird without a hat now

dense solstice
#

add a chinese new year hat ducky_dave

dim root
rotund swallow
#

what about it?

lucid osprey
#

leads!!

frigid pollen
#

Lead (82Pb) has four stable isotopes: 204Pb, 206Pb, 207Pb, 208Pb. Lead-204 is entirely a primordial nuclide and is not a radiogenic nuclide. The three isotopes lead-206, lead-207, and lead-208 represent the ends of three decay chains: the uranium series (or radium series), the actinium series, and the thorium series, respectively; a fourth decay...

lucid osprey
#

aahahhaa

nova ember
neat light
nova ember
#

¯_(ツ)_/¯

lucid osprey
#

vester~

#

you got diagnosed with the tree!

nova ember
#

Hmmm

keen burrow
#

👀

nova ember
#

It seems like wookie must’ve thrown the tree over at me

keen burrow
#

You took a tree in the face

neat light
#

How come the tree lights up when it's with you but it didn't when it was with me, does it not like me or something lemon_grumpy

odd sphinx
#

ouch

dusky cliff
#

shocking

unreal sigil
#

So negative

odd sphinx
#

electrifying

pastel nest
#

off topic word of the day: frypurism, noun
def: the ideology that fries should be eaten without any condiments, and that if everyone in the world ate fries this way the world's problems will be miraculously solved and society would become perfect

upbeat sandal
#

@pastel nest why did you post that in more than one channel?

pastel nest
upbeat sandal
jovial island
#

Lmao

fluid plank
dusky cliff
lucid osprey
#

bruh doxxing!

dusky cliff
#

sorry for the doxx, akarys 😔

keen burrow
#

Oh no

lucid osprey
#

akarys bruh your identity

odd sphinx
#

oof

#

this is a violation

jovial island
#

Secret tip no one wants you to know

# main.py
with open("main.py") as file:
    while True:
        try:
            eval(file.readline())
        except:
            pass
    
dusky cliff
#

bruhhh

#

I was thinking of trying this exact same thing

#

just today

#

like fr

tranquil ridge
#

whot

dusky cliff
#

I'm not kidding

tranquil ridge
#

that just seems like trying to run a python file through a python file

dusky cliff
#

the same file

tranquil ridge
#

wait what

dusky cliff
tranquil ridge
#

thats already recursive and that too in a while True

#

fuck

#

my brain

dusky cliff
#

I didn't think of the while True

#

But I was thinking about making a file that reads and evals itself

tranquil ridge
#

its like my brain is getting recursion depth error

spark bear
#

when your help request gets ignored so you just start helping other people

ebon pelican
#

what is a great bot for leveling system

odd sphinx
dusky cliff
#

wdym

odd sphinx
#

bruh

#

no error?

#

hm

#

ok

jovial island
#

I don't recommend trying that btw

#

It was a funny train of thought

jovial island
rotund granite
#

hey guys i am getting a file write error while downloading a file should i keep downloading it ??
will the file work when i download it ??

keen burrow
#

@short cliff where is the enormous roasting?

rotund granite
#

its a big file

short cliff
#

Still preparing. These things take time

keen burrow
#

Please don't ask in many off-topic channels though

rotund granite
#

my bad sorry

keen burrow
keen burrow
rotund granite
#

can i fix it

keen burrow
#

Hmm

#

I don't think so

#

Have you ran out of space on your disk?

rotund granite
#

no

#

the download speed is also reduced due to this i guess

keen burrow
#

If your downloader is extra smart, it may be trying to fix it, but it is pretty unlikely

rotund granite
#

its free download manager

keen burrow
#

If it is a specialized manager, it could fix it

rotund granite
#

can fdm do that

#

well its has reduced the download speed significantly

keen burrow
#

I am not sure

rotund granite
#

well i hope the file works

nova ember
keen burrow
#

I dunno

#

Just an enormous roast

nova ember
#

I'm thrilled to see the roast

#

Ping everyone when it's time for the big event

median blade
#

👀

vocal shore
#

How life going guys

lament kestrel
#

Same as always

vocal shore
#

Which is?

lament kestrel
#

The usual

fluid plank
nova ember
#

Roasted food?

round moss
#

Huh, poetry seems to do weird stuff if the VIRTUAL_ENV env var is set outside a venv

odd sphinx
rapid orchid
#

.topic

rustic harborBOT
#
**Tell us 5 things you do well.**

Suggest more topics here!

rapid orchid
#

hmm

#

I can solve a rubicks cube in 20 secs... Is it good?

#

nah i don think lol

dusky cliff
rapid orchid
#

oo nais man!

dusky cliff
#

epic

rapid orchid
#

this is my single rn

#

no wait not this

dusky cliff
#

damn

#

I'm still too lazy to learn oll properly

rapid orchid
#

lol same!!!

#

i like only know 26 oll's til now

dusky cliff
#

lmao I think I know around 15 or so

#

I guess

rapid orchid
#

hmm

#

nice

#

but i dont think im that speed anymore now cus like i have cubed for a LOONG TIME

#

yea thats a long with 2 o's

dusky cliff
#

I learnt beginner's like 2 years back

#

then I forgot all about it

#

then covid happened

#

so I picked it up again

tranquil ridge
#

it takes me a minute to solve the rubix cube ;-;

dusky cliff
#

🙃

tranquil ridge
#

i just learned the beginner method for fun and i dont have the energy to learn the advanced one

rapid orchid
#

advanced metheod made me do cubing more lol

#

now days i just got to some random online comps in discord and sometimes they give good prize

#

but im not tha good to beat everyone lol

odd sphinx
#

my friend tried to teach me how to cube

#

i forgot everything

rapid orchid
#

lol

dusky cliff
#

this was the scramble for my pb
B U2 F' L2 B' L2 F L2 D2 R2 F D' F' D2 L' B' U2 L' R2

#

give it a shot

odd sphinx
#

there were some patterns and stuff

#

i dont remember now

#

oof

rapid orchid
#

btw what's ur main?

dusky cliff
#

YuXin little magic

rapid orchid
#

oo that was old amin

odd sphinx
#

there are mains for rubics cubes?

#

damn

rapid orchid
#

got my first sub 20 on it!

dusky cliff
#

v cool

odd sphinx
#

20 seconds?

#

damn

rapid orchid
dusky cliff
#

good cubes really help lol

odd sphinx
#

yea

#

there are oiled ones ri?

#

that are smoother

dusky cliff
#

magnets

rapid orchid
#

enter: m a g n e t i c c u b e s

dusky cliff
#

most are oiled

odd sphinx
#

oh yea magnetic

#

i forget

dusky cliff
#

*lubed

rapid orchid
#

yup

odd sphinx
#

magnetic just snaps in

#

very satisfying

dusky cliff
#

yes

rapid orchid
#

then lubes alos cost like 50$

#

My main is the val elite

#

valk*

dusky cliff
#

I don't use lube

#

😏

rapid orchid
#

ok?

dusky cliff
#

$$?

rapid orchid
#

wait lemme try ur scrmble and come

dusky cliff
#

sure

rapid orchid
dusky cliff
#

sad

#

th is a GC perm

#

idk pll

#

ik some of them

rapid orchid
#

but my cross was fast ngl and there were a ton of free pairs!

rapid orchid
dusky cliff
#

O

rapid orchid
#

which you need to do left handed

#

so

#

...

#

but i also did a lotta rotations

#

thas why it was slow

dusky cliff
#

i can't even find my cube dammit

rapid orchid
#

lol

dusky cliff
#

found it

#

sad

rapid orchid
#

but ur still faster lol

dusky cliff
#

oh no this was a different scramble

rapid orchid
#

oh lo

#

l

dusky cliff
rapid orchid
#

wow nice

celest field
#

oh 3x3 cube lol

#

I prefer playing cards because I hate memorizing algorithms

dusky cliff
#

3 mins on 4x4 😎

celest field
#

noice

dusky cliff
#

it's not noice lol its horrible

celest field
#

It'd be infinity for me if I didn't look up algorithms lmao

dusky cliff
#

4x4 surprisingly doesn't have too many more algs than 3x3

#

two or three more at best

#

beginner's method anyway

celest field
#

CFOP?

#

for 3x3

dusky cliff
#

yes

tranquil ridge
#

i can solve a 1x1 in 0 seconds

dusky cliff
#

is it possible to learn this power?

tranquil ridge
#

finger_wave, its only possible by me

celest field
#

I can solve 0x0 in no time!

slow shale
#

But can you solve a -1x-1

lucid osprey
#

-1 X -1 ??

#

what sorcery

echo fern
#

look at the big brains here solving 2d cubes

lucid osprey
#

3d* innit

echo fern
#

I've only ever solved a 3d 3x3x3 one.

lucid osprey
#

bruv dont call it 3x3x3

#

3X3*

echo fern
#
>>> cube.shape
(3, 3, 3)

no idea what you're talking about

lucid osprey
#

tf

tranquil ridge
lucid osprey
# dusky cliff

hey bro I have a fun tip for getting avg5 pb. delete all the slow times and keep the best

#

pydis_dye <- this emoji is new?

dim root
#

it is an old one

lucid osprey
keen burrow
#

It is reaaaallly old

lucid osprey
#

hm

keen burrow
#

it is from the DYEP and PyDis merge

dim root
slow shale
#

What was dyep

dusky cliff
#

do you even python

#

another large python community

lucid osprey
#

"do you even python" he said

zinc hatch
#

It was, yeah

#

It's the community that made me create a Discord account

#

It technically still exists, but all the channels are set to "read only"

#

And that's how I ended up here

odd sphinx
dim root
zinc hatch
#

It's still available, yes

#

but you can't do anything there anymore

keen burrow
#

I wonder if you can still find the invite