#ot2-the-original-pubsta

652 messages · Page 28 of 1

lucid osprey
#

windows has bugs right

rare moat
#

i could not find a nice Gruvbox background, though..

languid osprey
#

It does

pulsar knot
#

are we not going to talk about the fact that you are listening to imagine dragons

tranquil ridge
#

i have some gruvbox wallpapers if you need them

rare moat
#

yes please

tranquil ridge
#

ill dm you

languid osprey
#

I suck at ricing linux lmao

rare moat
#

@pulsar knot Imagine Dragons is awesome.

fading pumice
#

Chromium is weird

lucid osprey
#

wait you can change the neovim window background image?

pulsar knot
#

ok

rare moat
#

no, that is the wallpaper of my rice.

languid osprey
#

Cool rice :D

lucid osprey
#

oh so, transparent window?

rare moat
#

thank you!!

lucid osprey
#

translucent

rare moat
#

yup. @lucid osprey

lucid osprey
#

ah

pulsar knot
#

it is k

#

what os is it

languid osprey
#

That a WM right?

hearty pier
#

are you using discord.Client()???? 🤮

languid osprey
pulsar knot
#

no dip

#

but what distro

languid osprey
rare moat
#

Arch Linux.

fading pumice
#

I make Lego guns

pulsar knot
#

oi

lucid osprey
#

omg arch

languid osprey
#

What WM?

rare moat
#

Qtile.

languid osprey
#

Cool

rare moat
#

configurable with Python. absolute beast.

languid osprey
#

I run manjaro with kde atm lol

#

I'm horrible at ricing

rare moat
#

KDE is very beautiful but very resource heavy.

fading pumice
#

I am bad at coding

lucid osprey
#

is linux mint good for beginners? I've seen a lot of videod of people giving good remarks on it and how its perfect for noobs in linux

languid osprey
rare moat
#

Linux Mint is quite nice, yeah.

lucid osprey
#

I'm downloading the iso atm

languid osprey
lucid osprey
#

I still need to find a usb

languid osprey
#

Setting up linux is pretty satisfying

lucid osprey
#

hmm

fading pumice
rare moat
pulsar knot
#

what pc specs do u all have

rare moat
#

watch this for context on how i got my name. @fading pumice

languid osprey
lucid osprey
#

is says that the changes you make wont be saved if you are live booting. and that you need to make a persistent usb. how tf do I do that? I wanna save files

languid osprey
#

and prebuilt

pulsar knot
#

nice

rare moat
#

Haskell land.

languid osprey
#

Got it for 200 dollars off, best deal i've ever seen

pulsar knot
#

I have ryzen 3500u laptop with integrated graphics

#

16gb ram

languid osprey
#

Cool

fading pumice
#

i5, 8gb DDR4, 512 gb, Intel UHD 630

pulsar knot
#

idk why my dad got it

lucid osprey
#

anyone uses something called a persistent usb?

languid osprey
#

Hm

#

No, not really

lucid osprey
#

k

pulsar knot
#

he could have gotten a much better laptop for same price

#

but oh well

lucid osprey
#

do you live boot into ur os?

sinful sun
#

Laptops are scams

fading pumice
#

Ryzen is good

languid osprey
#

Ryzen is nice

pulsar knot
languid osprey
fading pumice
#

When i build a pc RYZEN is cool

languid osprey
#

You can get some great value laptops

rare moat
#

laptops are pretty nice, but i do not leave my house.

pulsar knot
#

no but it’s a thinkpad so it’s marked up for no reason

median blade
#

TECH STUFF , im in boss

#

whats happening

rare moat
#

mid-range laptops are awesome.

sinful sun
#

Ryzen 3600, 1660 6gb super, 16 gb ram

languid osprey
#

Yes

pulsar knot
#

my dad loves thinkpad for no reason

languid osprey
rare moat
#

especially if you install a light-weight Linux distribution onto them.

pulsar knot
#

it’s like a family thing

languid osprey
#

Laptops are great for portable work

median blade
#

just to interject, intel alder lake lookin gooood

rare moat
#

like Arch (represent)

pulsar knot
languid osprey
#

Laptops?

pulsar knot
#

yeah

languid osprey
#

Linux runs much smoother than windows

pulsar knot
#

yeah

#

but heavier tasks

#

on my laptop it didn’t boost up

languid osprey
#

Linux can handle high loads

pulsar knot
#

I tried it and for my laptop it wouldn’t go past 2ghz

rare moat
#

i view stepping outside of the terminal as a sign of weakness.

fading pumice
#

My ideal set up
Ryzen 5 3600
16 gb DDR4
RTX 3060
2TB HDD
240 GB SSD

rare moat
#

also it has barely anything to do with the operating system.

#

it is almost entirely your resources.

languid osprey
#

Linux is really stable, probably one of the reasons why its used on high end servers

fading pumice
#

ok

pulsar knot
#

ok

languid osprey
#

An ideal setup would be a decent pc, and a mid range laptop for portable work

pulsar knot
#

nah

median blade
pulsar knot
#

a laptop docked

#

Is OP

#

op

#

OP

languid osprey
#

PC's are upgradable

fading pumice
#

yes

median blade
#

laptops too to some extent

languid osprey
fading pumice
#

There is something wrong with ok.py

languid osprey
#

And if it has thunderbolt, you can attach a gpu to it

lucid osprey
#

omg you realise that I'm gonna ||try|| to sleep after 10 mins right

rare moat
#

yeah not sure what is going on with that guy.

languid osprey
#

Uh

pulsar knot
#

actually

lucid osprey
pulsar knot
#

it’s me

#

that is me

rare moat
fading pumice
#

🪵

pulsar knot
#

also me

lucid osprey
#

I am not smart but I aint dumb

languid osprey
#

Lol

pulsar knot
#

I ain’t dumb but I ain’t smart

median blade
#

its usually PCIE

fading pumice
#

ah

pulsar knot
#

it’s ok

languid osprey
pulsar knot
#

speed right now is ok but you are connecting it to a laptop

median blade
#

some pcie extensions etc

#

ig

languid osprey
#

Well, there are some laptops that can attach them

lucid osprey
fading pumice
#

bottle neck

pulsar knot
languid osprey
#

Lol

pulsar knot
median blade
#

PCIE has way more speed than thunderbolt

languid osprey
#

Yeah it does

median blade
#

thunderbolt will mostly be a bottleneck imo

pulsar knot
pulsar knot
median blade
#

indeed

languid osprey
median blade
#

some do

#

yes

#

the new asus one

#

has an extension

pulsar knot
#

oh yeah

languid osprey
#

Yeah i saw the ltt video on that lol

median blade
#

to an equally priced gpu

pulsar knot
#

but I don’t think that is pcie right

languid osprey
#

I think

#

What else would it be?

pulsar knot
#

oh really

#

I thought it was 2 usb thunderbolts

#

I’ll check one sec

median blade
#

hm

tranquil ridge
#

does anyone know some good minimalistic light colorschemes

pulsar knot
#

Oh wait you are right

median blade
pulsar knot
#

It looks like,pcie

tranquil ridge
#

oo

#

ill check that one out

median blade
#

gruvbox light

pulsar knot
tranquil ridge
#

something other than gruvbox light and solarized light

#

the bg doesnt go well with my pfp

#

eh i didnt like one light much

lucid osprey
#

I know another one wait a min

#

'sixteen'

tranquil ridge
#

i am checking it rn

lucid osprey
#

aight

#

its one of the defaults on sublime text btw

tranquil ridge
#

eh both of the are really hard on the eyes

#

by light i just mean something of light contrast

rare moat
#

Marina looks nice

tranquil ridge
#

and smooth

rare moat
#

would not call it minimalistic, though.

median blade
#

like dull and sepia

#

like one dark basically

rare moat
#

this is "miramere"

#

Hybrid Material

#

Forest-Night

#

they are quite nice, but the last one has kind of low contrast.

median blade
#

how does it look in pycharm is the question

#

nvim has transparency and stuff

rare moat
#

oh i have no clue. i doubt they exist in PyCharm.

median blade
#

sad

rare moat
#

nvim is a terminal application.

languid osprey
#

yeah

rare moat
#

it has no transparency, my terminal emulator does.

#

but i do not use it for transparency.

#

for transparency i use my composition manager, picom.

median blade
#

indeed

rare moat
#

this looks very nice.

languid osprey
#

ooh

rare moat
languid osprey
#

Oh that looks great, I might switch to that

rare moat
#

i have like a million colorschemes.

#

i really need to make something that will allow me to basically mass-switch themes.

languid osprey
#

Lol

rare moat
#

i have made my init.vim file more modular by sourcing the colorscheme from another file. i could probably store different colorscheme files and switch them out.

languid osprey
#

Hm, cool

#

I should start using a WM

#

Seems cool

rare moat
#

i suggest you start with something like i3. Qtile is nice, too, though.

languid osprey
#

Alright, thanks :D

rare moat
#

no problem!

pulsar knot
#

discoaeard

languid osprey
#

Lol

wide totem
#

@native cobalt tell me how to do that again but here smh

#

👀

native cobalt
viral hare
#

congraulations you banned yourself

fast wyvern
#

facepalm

dim root
#

Does anyone use ohmybash here?

#

need a nice theme

#

i don’t like any of the themese they have

wide totem
#

@sturdy relic you were helping me with installing python3.9.2 eariler, do you know how to fix the _ctypes module not installing?

#

ok, this is the error i'm getting

wide totem
#

ffs

#

i figured it out

#

i needed to install alllll of those dependencies

#

in short

#

this is what I did

#
sudo apt -y install build-essential
sudo apt -y install uuid-dev libssl-dev  libreadline-dev zlib1g-dev libsqlite3-dev  liblzma-dev libncurses5-dev libbz2-dev libgdbm-dev
sudo apt install wget build-essential
sudo apt -y install libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev
sudo apt -y install libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev libffi-dev uuid-dev
sudo apt -y install tk-dev # if you need tkinter
git clone https://github.com/python/cpython.git
git checkout v3.9.2
cd cpython
./configure --enable-optimizations --prefix=/opt/python-3.9.2
make -j 8
sudo make install
export PATH=/opt/python-3.9.2/bin:$PATH
#

ignore any library redundancy i just did not care

worn sluice
#

p-pi-pip install

languid osprey
#

Lol

tranquil ridge
#

thats not how you install python

languid osprey
#

Lol

tranquil ridge
#

well you can

#

but thats cursed

languid osprey
#

He's building it from source

tranquil ridge
#

ik

languid osprey
#

Lol

tranquil ridge
#

building from source is really troublesome

languid osprey
#

Oh oof typo

tranquil ridge
#

:/

languid osprey
#

Lol

tranquil ridge
#

thought you were saying bye

languid osprey
#

My hand was on the keyboard and I accidentally pressed enter

#

Nah, it's only 10:30, I'm not going to sleep yet

wide totem
#

istg if there's a way that i should've used

#

i will

#

uh

#

take a deep breath and realize I now know how to install python from source

median blade
#

Hi

languid osprey
#

Hey

tranquil ridge
#

thats the best thing ever existing on linux for python

wide totem
#

👀

#

.…

#

thanks for showing up like 2 days ago

#

is this why lxml is failing?

languid osprey
#

Hm, maybe install cython

tranquil ridge
languid osprey
wide totem
languid osprey
#

Lol

tranquil ridge
#

so how does pyenv fail in that..

wide totem
#

i didn't use it

#

i built from source on all of them.

tranquil ridge
#

bruh

languid osprey
#

Lol

#

Isn't 3.9.2 already out? Isn't it 3.10 on the github

dusky cliff
#

ye

languid osprey
#

Oh

wide totem
#

i mean

tawdry prism
#

@maiden cedar

#

yo

maiden cedar
#

heyy

tawdry prism
#

dms ?

wide totem
#

@tranquil ridge any ideas, lxml is still not installing

tranquil ridge
#

i dont even know what that is

#

install lib deps ig

wide totem
#

!pypi lxml

clever salmonBOT
#
Author

lxml dev team

Requires Python

=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*

Summary

Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.

License

BSD

wide totem
#

that

junior moat
#

I guess, I'm not really sure what a good way to do it without threads is tbh

#

await sleep(0) does seem to be the way to yield execution back in asyncio though

#

so it looks correct to me

#

yeah i just mean, syntactically

#

you can always write your own way to do it

wide totem
#

so i

#

somehow

#

installed

#

lxml

#

and have no idea HOW

dusky cliff
#

good job...I think?

wide totem
#

sure

#

yeah

severe trout
#

building python from source? 👀

wide totem
#

yep!

severe trout
#

where is the source code of pypy hosted?

#

github?

dusky cliff
severe trout
#

ah

#

Building PyPy is not the recommended way to obtain the PyPy alternative python interpreter. It is time-consuming and requires significant computing resources. More information can be found here:

dusky cliff
#

lol

severe trout
#

frick
when you are building cpython without disabling your antivirus

wide totem
#

oh~~

#

if you need help building cpython uh

#

ask me

#

I built it about 6 times today on 3 different linux distros so I have a bit of experience

severe trout
#

👀

#

really?

rocky salmon
#

bruh winget

#

sucks lol

wide totem
#

yes I did

#

and I apparently am supposed to regret every minute of it

rocky salmon
#

electric is good XD

#

it's so fast too :D

wide totem
#

@severe trout

sudo apt -y install build-essential
sudo apt -y install uuid-dev libssl-dev  libreadline-dev zlib1g-dev libsqlite3-dev  liblzma-dev libncurses5-dev libbz2-dev libgdbm-dev
sudo apt install wget build-essential
sudo apt -y install libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev
sudo apt -y install libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev libffi-dev uuid-dev
sudo apt -y install libxml2-dev libxslt-dev
sudo apt -y install tk-dev  # if you need tkinter
git clone https://github.com/python/cpython.git
git checkout v3.9.2
cd cpython
./configure --enable-optimizations --prefix=/opt/python-3.9.2
make -j 8
sudo make install
/opt/python-3.9.2/bin/python3
#

so there's a bit of redundancy there but that's what I used

severe trout
#

i did exactly that

#

but...

wide totem
#

windows?

severe trout
#
make[3]: *** [Makefile:837: Python/initconfig.o] Error 1
make[3]: Leaving directory '/e/python/cpython-master'
make[2]: *** [Makefile:527: build_all_generate_profile] Error 2
make[2]: Leaving directory '/e/python/cpython-master'
make[1]: *** [Makefile:503: profile-gen-stamp] Error 2
make[1]: Leaving directory '/e/python/cpython-master'
make: *** [Makefile:515: profile-run-stamp] Error 2
#

rip

wide totem
#

these two

#

git clone https://github.com/python/cpython.git git checkout v3.9.2

severe trout
#

AH

wide totem
#

are key

#

note: if you do not git checkout v3.9.2 you will install 3.10a6

severe trout
#

i want 3.10a6 lol

wide totem
#

oh okay

#

then check it out to 3.10a6

#

lemme just

#
sudo apt -y install build-essential
sudo apt -y install uuid-dev libssl-dev  libreadline-dev zlib1g-dev libsqlite3-dev  liblzma-dev libncurses5-dev libbz2-dev libgdbm-dev
sudo apt install wget build-essential
sudo apt -y install libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev
sudo apt -y install libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev libffi-dev uuid-dev
sudo apt -y install libxml2-dev libxslt-dev
sudo apt -y install tk-dev  # if you need tkinter
git clone https://github.com/python/cpython.git
git checkout v3.10a6
cd cpython
./configure --enable-optimizations --prefix=/opt/python-3.10a6
make -j 8
sudo make install
/opt/python-3.10a6/bin/python3
#

there we go

#

edited it to 3.10a6 for you

severe trout
#

poggers

#

ty

wide totem
#

what distro, @severe trout

severe trout
#

windows but on msys2

wide totem
#

oh so wsl2?

severe trout
#

no, i want an exe lol

wide totem
#

👀

severe trout
#

msys2 should work with that...

#

lemme atleast try lol

wide totem
#
sudo apt install build-essential libbz2-dev libdb5.3-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev libxml2-dev libxslt-dev tk-dev uuid-dev zlib1g-dev```
tranquil ridge
#

might as well just make a script which fetches every package name containing lib from the internet there is and install every single one of them

wide totem
tranquil ridge
#

alr i am out

wide totem
#

lmao

#

these are all of the needed packages

#

thankfully half of these are dependencies

severe trout
#

i can't get it to work on msys2

dim root
#

Added starship bash lemon_hyperpleased

radiant socket
dim root
#

just using the configuration from their docs

#

too lazy to write one

#

and I wanna stick to bash

#

so this is the best i got

radiant socket
#

bash is ok

dim root
#

I had zsh before, but not a big fan of it

#

shifted to this symbol

tranquil ridge
#

lol this is literally my whole starship prompt

lucid osprey
#

cool

digital flame
#

My starting notes for C++:

slow valve
#

noice

#

what is that software

#

nvm I c

lucid osprey
#

QOwnNotes hmmmm

slow valve
#

yes

fluid timber
#

What should I learn next after class and obj, generators

#

I want to know more things like vector and matrices

slow valve
#

use numpy

fluid timber
tidal willow
pulsar condor
jovial island
#

How is uppercase R???

somber belfry
#

!charinfo 𝖱ick-pond

clever salmonBOT
pastel nest
#

sorry, replied wrong person

wide totem
#

@daring jay @full haven

daring jay
#

Go on

wide totem
#

re: cloud hosting

#

there's several things which would be a red flag

#

how many users are there, what is in your /.ssh/authorized_keys file, etc

#

without knowing too much, you should be mostly safe, just keep a backup and don't put any keys on it

wide totem
daring jay
#

Don't give them access to anything that has your token.

wide totem
#

you're in?

jovial island
wide totem
#

depends

#

btw, is it linux?

#

yeah okay

#

he probably can

#

but i mean

#

just don't put anything valuable on it ¯_(ツ)_/¯

#

i mean

#

aside from that

echo fern
#

!charinfo 👁

clever salmonBOT
echo fern
#

I love how my old system makes the world a mysterious place

rocky salmon
#

lol

jovial island
#

!charinfo ∅

clever salmonBOT
#

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

wide totem
#

have you 👁️d yet today

jovial island
#

I haven't yet

#

I'll 👁️ now

slow valve
#

how does this look?

#

would it be a good website background

lucid osprey
#

wow

slow valve
#

It's small

#

RIP

#

need to make another one

jovial island
#

Pretty good background

#

I would say

#

What program did you use?

jovial island
#

I don't think resizing it a little bit bigger will hurt the quality that much

slow valve
slow valve
jovial island
#

Ah

slow valve
#

let me try resizing it

keen burrow
#

I wouldn't put an "and" here to keep the flow of the header

slow valve
#

does it look good now?

slow valve
hollow heart
#

@still spade do i know you?

jovial island
#

Invalid user

hollow heart
#

nvm they kept friend requesting me

#

i guess they left or got banned

round moss
#

I love/hate the situation here with schooling. Our final exams have been postponed and simplified, all grades for final years must be closed in a week, no one knows if more changes will happen and people are confused.

neat light
#

For me exams have been cancelled, and the exam boards haven't decided how grading will work, other than that it will involve some sort of teacher assessment

#

so we're just... doing stuff

#

but we don't know what we need to do

full marlin
#

uhh school is going normally in the US

worn sluice
#

Normally is a way to put it (for Texas)

#

In Texas stuff weird bc of governors order and weather related stuff

full marlin
#

oh I'm talking about NY

worn sluice
#

Yeah

#

Different in each state

final sable
#

Teacher assessment is a really bad idea

#

Most of the time, it's unjust and unfair to many students

#

Because exam boards award marks, usually, on the lower bounds of a grade

#

I did come across this on several occasions, and it really hurts when you look at your grade and find yourself almost one or two marks away from going down a grade

#

There are also other extreme occasions where grades drop significantly, like falling from A to E for an example.

full marlin
#

or tests?

final sable
#

When the teachers review student work and give a grade based on that work

#

You'll notice this in Examination boards, where your work is presumably reviewed

#

Actually, at the end of a school year, we were meant to fasten our work together in a large PDF and send it to our examination syndicate

#

We all received grades way below our average grades

#

The example I mentioned above did , in fact, happen to my friend

#

We then contacted the board, informing us, in the end, that they didn't even look at the work and gave biased grading

shadow elk
#

Texas be like...

full marlin
shadow elk
#

well, it was an exaggeration to how they recently lifted all restrictions

full marlin
#

yep

#

idk what that gov is thinking

jovial island
#

what does all restrictions encompass

shadow elk
#

IIRC, everything

jovial island
#

covid restrictions?

shadow elk
#

yeah

jovial island
#

yeah that's not gonna end well..

sinful sun
#

We'll see

jovial island
#

here in brazil we're kinda fucked

shadow elk
#

well, I had already gotten covid, so at least I'll stay alive for a couple of months. but I'm not in texas.

jovial island
#

people vaccinated with coronavac have been reporting to get sick again

jovial island
#

i'm 100% fine

shadow elk
#

on the upside, I could eat everything, even buckwheat

jovial island
#

overpowered but

#

some people haven't got their senses back after it passed

#

sad stuff.

shadow elk
#

well, I still haven't fully recovered it to the pre-covid level

#

Anyway, does anyone know of some software for mass-generating labels/price tags/stickers?

#

I don't want to do it in Pillow

#

Maybe it's more realistically done with SVG or with running chromium in screenshot mode...

full marlin
#

@shadow elk oof do you have taste and smell back?

#

there are people who got covid months ago and they still don’t have taste or smell

#

and apparently it’s causing brain fog too

shadow elk
full marlin
#

@shadow elk that’s great dude I’m glad you’re getting better

shadow elk
#

well, I've been recovered for more than a month

full marlin
#

what’s worse is that my uncle is randomly making plans to go to Hawaii

#

During a pandemic 😐

shadow elk
#

@zinc vale To syntax: all lisp dialects aren't related to C (because lisp came before), and have totally different syntax. Smalltalk and all of its dialects have syntax totally different from C. There's another family of syntax used in ML, Ocaml, Haskell, F# and such. Lua doesn't have C-like syntax. Also Nim, Perl, Julia, Ruby, Erlang/Elixir. Rust has similar basic syntax, but has quite some deviations. So it's not as universal

#

Another question is what to consider C-like syntax? If you replace Python's indentation by braces and do a few cosmetic changes, it's pretty much the same C syntax.

#

But e.g. lisps or ML are totally different

zinc vale
#

oh

#

Thanks @shadow elk

proper python
#

what's the best way to grind out improving art skills?

full marlin
#

well

#

When I felt like drawing I drew a lot

#

I would fill up my sketchbooks in a week

#

same way you grind out improving your coding skills tbh

#

You just do a lot of it

dusk citrus
wide totem
#

Well

#

Ok

gaunt wave
#

whats the diff btwn repo and dir??

jovial island
#

leleeellllelllllllelelllel

lucid osprey
#

.bm 819831134577754115

rustic harborBOT
#
I can't believe you've done this

Your input was invalid: Message "819831134577754115" not found.

Usage:
.bookmark <target_message> [title=Bookmark]

pulsar condor
#

.bm test

rustic harborBOT
#
I can't believe you've done this

Your input was invalid: Message "test" not found.

Usage:
.bookmark <target_message> [title=Bookmark]

pulsar condor
rustic harborBOT
#
In the future, don't do that.

Your input was invalid: Message "google.com" not found.

Usage:
.bookmark <target_message> [title=Bookmark]

pulsar condor
#

.bm 819855073739014205

sand drum
#

isn't that advertising

#

plz dont click on the link

jovial island
#

<@&267629731250176001> aids ^

#

ads

sand drum
#

yes ads

sand drum
jovial island
#

Uhhhh

#

lol

sand drum
#

all clear

keen burrow
#

Hello @harsh prism, unapproved advertisement isn’t allowed here

#

!rule 6

clever salmonBOT
#

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

sand drum
jovial island
#

@keen burrow check message history there is another ad

harsh prism
#

Sorry folks, that won't happen again. The rules skipped my notice!

rare moat
lucid osprey
#

neat!

rare moat
#

it is a command-line text editor, essentially.

#

really fast, efficient, and entirely keyboard-oriented.

lucid osprey
#

you talkin about vim?

rare moat
#

(not posting this to show a rice, just showing because i am showing a person Vim.)

rare moat
#

albeit Vim actually looks like this when you download it.

dusky cliff
#

lol

twilit citrus
#

well, thank you, I'm gonna try it 😄

lucid osprey
#

nice background

rare moat
#

it is entirely keyboard oriented just so you know. because of this, it has quite a steep learning curve.

dusky cliff
rare moat
#

but the pain is without a doubt worth it.

lucid osprey
#

also where are the minimise,maximize buttons?

rare moat
#

i have never looked back once.

twilit citrus
lucid osprey
#

this is my setup!

rare moat
#

@twilit citrus a big plus of Vim is how configurable it is.

#

it also has a massive plugin/extension community.

twilit citrus
#

why tf no one talks about it on the Internet haahaha

rare moat
#

oh people do.

twilit citrus
#

I wish I knew it earlier :c

dusky cliff
#

oh god do they do

#

smh

rare moat
#

how long have you been using Linux?

dusky cliff
#

it's like a cult

rare moat
#

can confirm. been apart of the cult for a good while now.

dusky cliff
#
  • it is a cult
rare moat
dusky cliff
#

lol

twilit citrus
rare moat
#

oh okay then. it is quite a common editor by Linux users. if you just recently installed it and got involved with it, you were bound to hear about it sooner or later.

twilit citrus
#

lemon_hyperpleased thanks again

rare moat
#

no problem!

#

always happy to get someone new into our cult.

twilit citrus
#

I installed vim 😄

rare moat
#

you are on your way. hrmk

twilit citrus
#

is there a cool guide out there on the www? 🙂

rare moat
#

hmm, yeah i could probably pull one up for you.

#

Vim has some of the best documentation out of any editor, ever. it is built-in, too.

#

hit Escape, and then type a :, then type Tutor

#

then hit Enter

twilit citrus
#

oh no, don't worry, I'll search it ahaha
I tought that you already knew one

rare moat
#

that will put you into VimTutor, which will teach you to use Vim.

twilit citrus
#

okk

tough ermine
#

I just ordered mcdonalds

shrewd ore
tough ermine
#

Indeed

median blade
rare moat
#

congratulations

median blade
rare moat
#

i have not.

median blade
#

sad

pulsar condor
dusky cliff
#

neovim is vim, but neo

#

no need to thank me

pulsar condor
wide totem
dusky cliff
#

idk i haven't touched either

wide totem
#

because I remember that neo motors are a fuckton better than standard motors

dusky cliff
#

i love my guis ok

rare moat
#

NeoVim is Vim but Neo galaxybrain

#

@wide totem Vim and NeoVim are kind of on (semi?) equal playing field.

#

during recent times, the main difference between the two is whether or not you want the Benevolent Dictator For Life or not.

languid osprey
#

Lol

#

My linux vm broke

rare moat
#

have all your dotfiles saved!!

languid osprey
#

I didn't have any, I was trying to install openbox to start ricing lol

rare moat
#

Openbox user, huh?

languid osprey
#

Well, not yet, it wont let me start using it

rare moat
#

i rock Qtile myself.

#

huh?

languid osprey
#

The resolutions stuck at 700x600

#

Its a tiny unusable box on my screen

#

I've done everything, wont fix

#

Same thing happened to my manjaro vm, but i installed something and it fixed itself

rare moat
#

pretty sure you need to install Virtual Box Guest Tools.

languid osprey
#

I did

rare moat
languid osprey
#

Wait nvm

#

I installed it on my old vm

#

lol

rare moat
#

nice job.

languid osprey
#

Yeah, my sheer brilliance at work

rare moat
#

simple mistake.

languid osprey
#

Lol

buoyant sage
#

can someone link me the Python Docs on decarators?

languid osprey
#

!d decorator

clever salmonBOT
#
decorator```
A function returning another function, usually applied as a function transformation using the `@wrapper` syntax. Common examples for decorators are [`classmethod()`](library/functions.html#classmethod "classmethod") and [`staticmethod()`](library/functions.html#staticmethod "staticmethod").

The decorator syntax is merely syntactic sugar, the following two function definitions are semantically equivalent:

```py
def f(...):
    ...
f = staticmethod(f)

@staticmethod
def f(...):
    ...
```  The same concept exists for classes, but is less commonly used there. See the documentation for [function definitions](reference/compound_stmts.html#function) and [class definitions](reference/compound_stmts.html#class) for more about decorators.
buoyant sage
#

oh lol

languid osprey
#

I'll get the link for it, holdon

dusky cliff
#

um

rare moat
#

could you not have just googled? 🤨

languid osprey
#

Nvm

buoyant sage
languid osprey
#

!d decorators

clever salmonBOT
#

This appears to be a generic page not tied to a specific symbol.

languid osprey
#

huh

rare moat
languid osprey
#

!decorators

clever salmonBOT
#

Decorators

A decorator is a function that modifies another function.

Consider the following example of a timer decorator:

>>> import time
>>> def timer(f):
...     def inner(*args, **kwargs):
...         start = time.time()
...         result = f(*args, **kwargs)
...         print('Time elapsed:', time.time() - start)
...         return result
...     return inner
...
>>> @timer
... def slow(delay=1):
...     time.sleep(delay)
...     return 'Finished!'
...
>>> print(slow())
Time elapsed: 1.0011568069458008
Finished!
>>> print(slow(3))
Time elapsed: 3.000307321548462
Finished!

More information:
Corey Schafer's video on decorators
Real python article

languid osprey
#

yay

pulsar condor
#

anyone has a decorator for memory usage measurement?

rare moat
#

Task Manager.

#

i know, absolute genius.

languid osprey
#

Lol

rare moat
#

or, if you wanna be a nerd, htop.

pulsar condor
#

so how do i access task manager with python?

languid osprey
#

You'd just have to get the system info yourself

rare moat
#

i meant you boot up Task Manager and then look at your script's memory usage.

languid osprey
#

Yeah

rare moat
#

but you can probably find memory usage with a module called pustil.

pulsar condor
#

he is creepy

languid osprey
#

Hm

pulsar condor
#

i was joking

wide totem
#

ffs i read pitbull

rare moat
#

fine, we will do this the hard way.

buoyant sage
#

its in the standard library?

languid osprey
rare moat
pulsar condor
#

ive been playing with psutil, but it shows mem usage of whole file, i cant use that for decorator

rare moat
#

!pypi psutil

clever salmonBOT
#
Author

Giampaolo Rodola

Requires Python

=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*

Summary

Cross-platform lib for process and system monitoring in Python.

License

BSD

languid osprey
#

Great

rare moat
#

you want it for a specific function?

pulsar condor
#

yep

odd sphinx
rare moat
#
@profile
def my_func():
    a = [1] * (10 ** 6)
    b = [2] * (2 * 10 ** 7)
    del b
    return a

if __name__ == '__main__':
    my_func()
#

that is a lot of 1's in a single list.

languid osprey
#

Lol

pulsar condor
#

oh, yea, i have that in my notes, but i couldbt use that with bot that runs code

rare moat
#

!e 10 ** 6

clever salmonBOT
#

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

rare moat
languid osprey
#

Lol

pulsar condor
#

.bm 819942348355534899

rare moat
#

🤨

odd sphinx
#

vibe

languid osprey
#

whoah

rare moat
#

?

pulsar condor
#

im on phone, this bookmark thingy comes in handy...

pulsar condor
# rare moat ?

it says its based on psutil, you kmow how to measure mem consumption of 1 func only?

rare moat
#
@profile
def my_func():
    a = [1] * (10 ** 6)
    b = [2] * (2 * 10 ** 7)
    del b
    return a

if __name__ == '__main__':
    my_func()
#

it allows you to.

#

presumably, at least.

#

this might still monitor the whole file in the background.

pulsar condor
rare moat
wide totem
#

hello oog

languid osprey
#

Lol

wide totem
#

ffs @rare moat is ignoring me

rare moat
#

hello!

pulsar condor
#

btw what is that char from your pfp?

rare moat
#

her name is Niko.

#

she is from the game OneShot.

wide totem
rare moat
wide totem
#

also hello akarys

keen burrow
#

Hey!

wide totem
#

sad-stickers

#

IS A SAD STICKER

#

👀

pulsar condor
#

just use sort()

rare moat
#

today i learned if you have a list of file paths in NeoVim's terminal emulator, you can highlight it using v$ and then hit gf to open the file.

wide totem
#

i would never have realized that since I don't have a gf

rare moat
#

now that. that is cool.

wide totem
#

oh wait

#

oh ffs

rare moat
pulsar condor
#

why dont you just double click folder icon?

wide totem
#

i entirely understood you, goo

rare moat
#

@pulsar condor what do you mean?

wide totem
pulsar condor
#

folder/file

#

i know, it was a bad joke

keen burrow
pulsar condor
#

¯\_(ツ)_/¯

rare moat
wide totem
keen burrow
#

👀

wide totem
#

@keen burrow meanie

keen burrow
#

What did I do

wide totem
#

now i have to open another thread

#

dw i censored name this time

keen burrow
#

Ah well, the close is scheduled for like 15m

wide totem
#

ah

#

ofc it is

#

somehow mine always get left open lel

#

👀

#

brb counting how many i've opened

#

uh

#

like 11 threads now lmao

#

if not more

keen burrow
#

3*4-1

wide totem
#

👀

wide totem
keen burrow
#

There

#

Nobody can guess

wide totem
#

👀

wide totem
#

oh okay

somber belfry
#

no

wide totem
#

stickers are colored by the background

#

i went to blind theme for that message

wide totem
#

get back to your pi smh

dim hearth
#

is there a rule for joining VCs? is it okay drop by and listen in as long as you're on mute?

dusky cliff
#

it's fine, i do the same

dim hearth
dim hearth
dim root
#

@lucid girder streaming?

lucid girder
#

no

dim root
#

lemon_pensive Okie

lucid girder
#

It's 7am

dim root
#

Good morning

#

hope you had a nice sleep

#

xd

lucid girder
#

I woke up 3-4 hours ago

dim root
#

Ok betteer

languid osprey
#

Oh

dim root
#

i thought u didn’t sleep

#

till now

keen burrow
#

Nah, he doesn’t

lucid girder
#

there's is no schedule

#

it's just sleep

dim root
#

i wish safari had plugins

#

Like chrome

tranquil ridge
#

use chrome..?

#

lol

#

pretty sure mac shud have suppport for chrome

#

or just use firefox it has plugins too

dim root
#

It has

jovial island
jovial island
#

what does this mean?

wild compass
#

u are trying to use another thread, but it's not available im guessing

jovial island
#

I am trying to browse a website

wild compass
#

why does that website need another thread ??

jovial island
#

I don't know

#

btw, have you guys tried microsoft authenticator + password manager for android ?

wild compass
#

sorry, no

jovial island
#

have your tried browser?

#

or do you only use firefox?

wild compass
#

i dont have an android device

jovial island
#

these browsers work everywhere

wild compass
#

idk what ur saying, but i use chrome as my browser

tribal tinsel
vague flume
#

Please give 2 min of time for this survey 😁
It's for a public opinion for a project, to pitch for investors
https://forms.gle/z2TGcdMtRCz4nhT89

wide totem
#

HEY I KNOW THIS OT NAME

languid osprey
#

Cool

wide totem
#

man they cycle through fast

languid osprey
#

I don't :D

languid osprey
wide totem
#

.status cat 302

rustic harborBOT
#
**Status: 302**
languid osprey
#

hm

#

ooh

#

cat

wide totem
#

.status cat 307

rustic harborBOT
#
**Status: 307**
wide totem
#

Both are redirects

languid osprey
#

Whoah

#

Cat

wide totem
#

But 307 doesn't fuck with the method

languid osprey
#

Ah yes

wide totem
#

So if you made a post request you make a post request

languid osprey
#

Cool

wide totem
#

Whereas 302 you made a post request you made a get request ffs.

languid osprey
#

Lol

languid osprey
#

im hr

wide totem
#

👋

languid osprey
#

gd

wide totem
#

wyd

languid osprey
#

valrnt

#

lk at stts

#

mlty tsking

#

ys

#

ll

#

cya

jovial island
#

Bye

#

Wait is there no slowmode?

#

Wow

#

i have decided to install Arch.

#

wish me luck boys

wide totem
jovial island
#

Huh

wide totem
#

ye

jovial island
#

what is 307?

#

.status cat 307

rustic harborBOT
#
**Status: 307**
jovial island
#

.status cat 302

rustic harborBOT
#
**Status: 302**
wide totem
#

302 may change the method

#

so if you make a post request and get a 302 response

#

you might be making a get request to the new link

#

whereas 307 does not do that

full marlin
#

.status cat 999

rustic harborBOT
#
**Status: 999**
full marlin
#

😦

wide totem
#

.status cat }

rustic harborBOT
#
I can't believe you've done this

Your input was invalid: Converting to "int" failed for parameter "code".

Usage:
.http_status cat <code>

wide totem
#

shh

languid osprey
#

Can someone dm me

#

People want to know if I have friends

#

Lmao

jovial island
languid osprey
#

Lol

#

.status cat 401

rustic harborBOT
#
**Status: 401**
languid osprey
#

Yesss cat

full marlin
#

.status cat 401

rustic harborBOT
#
**Status: 401**
full marlin
#

.status cat 404

rustic harborBOT
#
**Status: 404**
jovial island
#

I fucked up

unreal sigil
#

oh boy

digital flame
median blade
#

idk

viral hare
#

i mean if u do the manual partition u kinda need to know what ur doing

wide totem
#

👀

#

tfw you manage to throw a 413

dusky cliff
#

.cat 413

#

that's not it is it

#

sad

wide totem
#

.status cat 413

rustic harborBOT
#
**Status: 413**
dusky cliff
#

lol

odd sphinx
#

.help status

rustic harborBOT
#
Command Help

.http_status
Can also use: status, httpstatus

Group containing dog and cat http status code commands.

Subcommands:
cat <code>
Sends an embed with an image of a cat, portraying the status code.
dog <code>
Sends an embed with an image of a dog, portraying the status code.

odd sphinx
#

lol

#

.status dog 418

rustic harborBOT
#
**Status: 418**
odd sphinx
#

bruh

proper python
#

.status cat 307

rustic harborBOT
#
**Status: 307**
proper python
#

.status cat 302

rustic harborBOT
#
**Status: 302**
wild compass
#

.status cat 505

rustic harborBOT
#
**Status: 505**
jovial island
#

is alright though, I had no important files

#

Right now I'm coming back to reinstalling windows as I will be dual booting it

wild compass
#

ah that sucks

pulsar condor
#

.status cat 400

rustic harborBOT
#
**Status: 400**
dusky cliff
#

.status dog 400

rustic harborBOT
#
**Status: 400**
dusky cliff
#

lol

lucid osprey
#

!pypi requests

clever salmonBOT
odd sphinx
#

holy fuck 14m downloads per week??

lucid osprey
#

per week wtf

#

all time init?

#

wait a second!!

dim root
#

which should be piston cli logo?

#

I like 2 and 4 the most

lucid osprey
#

same

lucid osprey
#

what is it?

dim root
#

Yes

lucid osprey
#

gimme link!

dim root
#

me and supermazingcoder are doing it

lucid osprey
#

cool

dim root
#

We have two basic issues, you can make if you want

#

mainly based on rich module

lucid osprey
#

hmm

dim root
lucid osprey
#

dayum

limber pollen
odd sphinx
#

an

limber pollen
#

Doesn't seem to be the case

dim root
#

Thought so

lucid osprey
dim root
#

@real forum you got a help channel on your name 😄

jovial island
#

Ooooo all the names changed to food!

tranquil ridge
#

damnn

tribal tinsel
#

now I'm hungry. I see "pancakes" in available channels, I want pancakes!

tranquil ridge
#

I want to try cheesecakes

#

its not available here though

rocky salmon
#

lol

#

why do i know this is not true

#

i wish it was tho

#

0-o

#

don't use this lol it's unstable

#

i'm working on something much bigger

lucid osprey
#

why are all the names food

lament kestrel
#

Ig it makes the names more

memorable

lucid osprey
#

icic

#

haha someone reacted with apple logo

#

in that message

lament kestrel
lucid osprey
#

hohoho

#

anyone else finds it weird? a small "rules" just above the big "RULES"

lament kestrel
#

Somebody fat fingered the markdown

lucid osprey
vague shadow
#

I think that's going to be the breadcrumb for the current page

lucid osprey
#

ye I got it cleared 😄

vague shadow
#

Ah cool

lucid osprey
#

is someone really good with grammar? I got a question

Examples of behavior that contributes to creating a positive environment include:

-Be kind and courteous to others
-Using welcoming and inclusive language
-Being respectful of differing viewpoints and experiences

if the 2nd and 3rd point is in present continuous (ing) shouldnt the first one be
"being kind and courteous to others"

vague shadow