#ot2-the-original-pubsta

652 messages ยท Page 99 of 1

median blade
#

native linux?

hazy laurel
#

/media is the new standard AFAIK (for removable media)

median blade
#

ah the /media/ dir is very lengthy

daring jay
#

I see. It's absolutely perfect for me on VSC, but I know you said you dislike that.

median blade
#

i would rather type out /mnt/d/...

#

than run/media/username/d/...

hazy laurel
#

/mnt is usually for manual mounts and not-removable media

serene gull
#

If I learned but Iโ€™m not gonna because itโ€™s illegal.

hazy laurel
#

idk, and I'd rather not set $HOME to /mnt/c/Users/whatever/

median blade
#

hm

hazy laurel
#

I just prefer WSL as a default "shell" a lot more than PowerShell/cmd

#

but... having used it a fair bit, it's just not the same as native Linux

wicked hollow
#

That's a weird complaint - a WSL terminal starts in around 1 to 2 seconds for me.

hazy laurel
wicked hollow
#

nah, I start it once per reboot - once a week or two.

hazy laurel
#

yeah, so you have the benefit of being able to keep it open

wicked hollow
#

sure. but it takes about 2 seconds to start when I start it.

hazy laurel
#

I have Razer Cortex turn shut it down every time I start a game

#

idk, I do have to wait for it quite often

#

I just start typing while it loads

wicked hollow
hazy laurel
#

I'd not actually thought of doing that, but I guess it would work

wicked hollow
#

you should be able to do cd "$USERPROFILE" right out of the box

hazy laurel
#

idk, WSL just doesn't feel as integral as I'd like, and I find it a bit confusing trying to develop with it

daring jay
#

Hmm, seems like I've been lucky. WSL has always worked wonderfully for me with the tools I've used.

hazy laurel
#

it's this weird preference that like "man, I wish I could just have my entire workflow inside of WSL", but that's when I realize that's literally just like installing Linux

wicked hollow
#

I do everything in WSL except a browser. For which I've been using Edge, actually.

daring jay
#

I like keeping my dev stuff within Linux, but everything else stays out in the Windows world where I know it's well supported.

hazy laurel
#

idk, I've already confused myself to heck with trying to figure out what's meant to be the ideal setup

#

everything just feels too new and hacked together, that I'm just very weary about it

#

granted, that's probably just because I'm not very familiar with it at all

#

but at the same time, I really don't want to be

median blade
#

what exactly does prettier do

wicked hollow
#

reformats markdown files

hazy laurel
#

I thought they were talking about the VSCode extension for code formatting ๐Ÿ‘€

daring jay
#

Prettier can also do that afaik

#

Prettier is an opinionated code formatter with support for:
JavaScript (including experimental features)
JSX
Angular
Vue
Flow
TypeScript
CSS, Less, and SCSS
HTML
JSON
GraphQL
Markdown, including GFM and MDX
YAML

wicked hollow
#

huh. I've only used it for markdown, I didn't know it could do other types.

daring jay
#

I'm pretty sure it was originally made as a JS formatter

wicked hollow
#

TIL ๐Ÿ˜„

daring jay
#

But expanded to other frontend tools later

mental idol
#

Well this is a happy accident. I was just going to look for a markdown formatter. Is Prettier ... pretty good?

wicked hollow
#

I hate it

median blade
#

nice

#

o

mental idol
wicked hollow
#

I mean, it does what it says on the tin. I just don't like formatting markdown.

median blade
#

oh lol

wicked hollow
#

rewrapping all the lines all the time and constantly changing the amount of whitespace in table columns makes git blame useless, which annoys the heck out of me.

hazy laurel
#

I don't really like any of the "general" VSCode extensions

#

code runner, namely

mental idol
median blade
daring jay
#

For me, I wrap my markdown, but I do it by hand and I like it that way.

wicked hollow
#

it shrinks table columns to fit their content - which sounds lovely, until you need to add wider text in that column again...

mental idol
wicked hollow
daring jay
#

Why is Windi CSS on there but not Tailwind...

median blade
daring jay
#

Oh, I see

median blade
#

look at how much it has grown in 2 years

daring jay
#

I thought Windi CSS was similar to Tailwind

#

sure looks like it

median blade
#

does webpack not enable hot reload of the html/css?

daring jay
#

you need to set that in config I think

#

are you using webpack-dev-server?

median blade
#

yeah ig

#

yeah i am

daring jay
#

I forget, I haven't use webpack in a while

median blade
#

oh what do you use

daring jay
#

The only projects I ever need a bundler for are those that use SvelteKit and (occasionally) Next.js, and those already come with bundlers so

#

But I have messed with Vite a bit

median blade
#

oh

daring jay
#

Honestly documenting code is a lot of fun.

#

I've spent the last 20 minutes just documenting stuff inside a project of mine, and it's quite nice to have to explain exactly what's happening.

jovial island
small cloak
echo flower
#

lmfao

jovial island
#

@small coral

small coral
#

Yes

jovial island
#

@pastel arch

#

hm

#

wait u r in kota?

small coral
#

He gone

jovial island
#

ouu

small coral
#

Delhi

pastel arch
#

nah bye gtg i hv those dpp's to solve ๐Ÿ˜‰

jovial island
#

man needs to cover backlogs

pastel arch
jovial island
#

same lol

jovial island
pastel arch
#

others also give dpp

#

s

#

nvm bye gtg

jovial island
#

hmm in what coaching are u ?

#

๐Ÿ˜ฆ

#

same

small coral
pastel arch
#

none polular

jovial island
#

kota kills u from inside

pastel arch
#

private tutors

jovial island
#

T___T man why is this indian edu system so hard

jovial island
#

i m ok with preparing for school exams coz they are easy but these entrance exams are tough as fuck

formal laurel
jovial island
#

neither i m rich to prepare and go into some US college through SAT

small coral
#

Yeah

#

I like maths but don't like chem a little bit, physics is ok

jovial island
#

it costs atleast 50-60 lacs for a cs bachelors degree in US

#

T__T

jovial island
small coral
#

Like why ask chemistry for getting cs it doesn't even relate

jovial island
#

the main issue is coaching maths is hard as fuck

jovial island
#

๐Ÿ˜ฆ

jovial island
#

i m ok with my studies , in phy nd chem almost just need to improve maths which i cannot anyways

#

T__T

formal laurel
#

but we'll be gone untill it comes

jovial island
#

yup but new edu policy will come when our kids will go to school lol

formal laurel
#

yea lol

jovial island
#

shinero u live in PG in delhi?

small coral
jovial island
#

ah

#

๐Ÿ˜ฎ

#

T__T

small coral
#

?

jovial island
#

time to do DPPs

#

and cover backlogs

small coral
#

Ok I gtg too

#

Cya :)

unreal sigil
#

There are far too many acronyms being thrown around that I don't understand

jovial island
#

wait how do u get so much of time for all this ? @small coral

formal laurel
#

do you live in kota or somethin ?

jovial island
jovial island
small coral
jovial island
#

i would die in kota or not even open laptop

small coral
jovial island
#

T__T

jovial island
small coral
#

Ok I gtg now cya mate :)

jovial island
#

yems

#

shinero u girl ๐Ÿ˜ถโ€๐ŸŒซ๏ธ

#

?

small coral
#

Who knows

jovial island
#

๐Ÿฑ

small coral
#

Lol

jovial island
#

oh i'd better not ask it

#

bye

small coral
#

Bye

jovial island
pastel arch
#

of 15 question

#

of all 3 subjects

#

PG = paid guest

#

kota is just Kota is located along the banks of the Chambal River in the southern part of Rajasthan. which is the coaching hub of india

#

RD Sharma is a proffessor whose book on maths is good and widelyy used

#

SAT = is an exam to get admission in American colleges/universities

#

hope u get an idea

#

@unreal sigil

unreal sigil
#

What's 'coaching'?

pastel arch
#

coaching is like tuition but more organised and targets competitive exams in India

#

and foreign

edgy nebula
# unreal sigil What's 'coaching'?

college entrance tests in india are SUPER competitive (close to a million kids write the engineering undergrad entrance test every year), so it's quite common that kids go to these "coaching" centres to prepare

unreal sigil
#

Geez ๐Ÿ‘€

#

I'm pretty sure I've secured myself a place in the engineering course I want

edgy nebula
#

hell yeah, congratulations ๐ŸŽ‰

#

are your results out yet? i thiiink i remember you were waiting for it

unreal sigil
#

Yep

#

Got them this morning

#

Very happy with them

small coral
#

Nice man

untold bane
hazy laurel
untold bane
#

OHHH

#

its working

#

it worked

hazy laurel
#

nice

#

that took me a while to find lol

wise skiff
#

guys i lost my ipads password and i cannot open it but i have 45 gb photo in it is there any way to open that without reset it?,

fluid plank
#

nope

#

lesson learned, use a password manager ๐Ÿฅด

echo flower
#

how do u use a password manager for the password lock of an ipad

fluid plank
snow reef
#

Does the iPad encrypt its storage? Can you create an image of the drive if it's mounted as a drive?

civic plank
#

i dont think so. cops can break into password protected ios devices easily

snow reef
#

Apple is super weird, such isolated devices. But guess that's what all these "new" devices do. Used to just take whatever drive/card and chuck it in a computer and the data was all there...

civic plank
#

this companies device can break into any apple devices last time i heard

#

and freely access its storage/other info

snow reef
civic plank
#

yup

#

money and a large number of resources, and you'll break into anything you want

snow reef
#

Wasn't there some encryption standard that required the current average computing power times every grain of sand on earth and still take the age of the universe or something?

civic plank
snow reef
#

(and this wass 4 yeaars ago..)

civic plank
snow reef
#

... I kinda like that humans are like "ok, let's make this thing that is impossible to beat. ... done, there is no way this can fail", and then some other people are like "let's beat this thing using some really weird vector... well, that was actually easy".

#

I don't think we actually need capitalism anymore. It was good to get out from under the boot of feudalism, but to say that it is the only reason for growth is a bit silly.

analog basalt
#
print "e"
jovial island
wind sphinx
#

Can some one help me with flutter?

jade bolt
hollow heart
#

who watched this movie ^ ?

#

it's the cat from luca

hasty wolf
#

Seen it : )

wise skiff
hasty wolf
#

Are you sure.

#

๐Ÿ˜‰

jade bolt
#

breaking it might hurt the disk

#

idk whats a secure way to get it

elfin vine
#

:3

hazy laurel
#

meow

wheat rock
#

elgato

carmine herald
#

nya

real forum
#

Omg this name

radiant socket
#

dvorak 9 anyone? ๐Ÿ‘€ ๐ŸŽต

real forum
#

What idiot would confuse a keyboard layout with music

radiant socket
#

i can't tell if you're being sarcastic

real forum
#

Yes I am

#

I am the reason this name exists

hollow heart
#

i don't fully remember the context but 'twas from our girls-night-vc-night

radiant socket
#

was i there for that

woven stag
#

๐Ÿ‘‹

echo flower
#

hallo

hazy laurel
#

@unreal sigil Were you the one that was super into... typing? \๐Ÿค”

#

oh hey. convenient channel name

unreal sigil
small cloak
#

Unexpected emergent patterns ๐Ÿ˜ณ

echo flower
#

mating dance

solemn thistle
#

the rust people ignored me so I've come here

            let transitions: Multimap<Symbol, Multimap<LR0Item<'grammar>, L>> = items
                .vec
                .iter()
                .filter_map(Item::shifted_item)
                .map(
                    |(
                        symbol,
                        Item {
                            production,
                            index,
                            lookahead,
                        },
                    )| { (symbol, (Item::lr0(production, index), lookahead)) },
                )
                .collect();

            for (symbol, shifted_items) in transitions.into_iter() {
                let shifted_items: Vec<Item<'grammar, L>> = shifted_items
                    .into_iter()
                    .map(|(lr0_item, lookahead)| lr0_item.with_lookahead(lookahead))
                    .collect();

is shifted_items guaranteed to have a single element?

manic shale
#

bread

shrewd lance
#

bread ๐Ÿ‘

carmine herald
light void
#

@stiff ridge we can talk about it here

jovial island
#

does anyone have resources for forttran

#

lol this convo wildin tho

rare moat
#

fortran?

light void
jovial island
#

yes

civic plank
#

what we arguing about boys

jovial island
#

i hope u understand that too

light void
jovial island
#

im not a native speaker, that might be it lol

rare moat
#

there are probably some books on it. definitely actually. that thing is ancient.

jovial island
#

i know python well

civic plank
#

oh ok. i saw this channel mentioned here in #python-discussion and seemed like ppl were arguing lol

jovial island
#

time for me to learn some kind of assembly for fun

carmine herald
civic plank
#

๐Ÿฅ–

civic plank
sinful sun
#

Something something arguing about gatekeeping and the word's uses

civic plank
#

i learned some x64 masm 2 months ago... forgot everything

light void
#

i thought we were going to be accused of being SJW's for a minute there.

civic plank
sinful sun
#

No idea tbh

civic plank
carmine herald
rare moat
#

now if there is a word that is overused, it is SJW.

light void
#

No-one who uses the term means it as a compliment ๐Ÿ™‚

rare moat
#

somebody wants you to not be rude? what A Fucking SJWโ„ข๏ธ.

#

how dare you request basic human decency?

shadow elk
#

Socialist JavaScript Writer

rare moat
#

Socialist JavaScript Writer

light void
#

Soggy Juice Wrapper

rare moat
#

make that an OT name.

shadow elk
#

๐Ÿ‘€

#

no u make

civic plank
#

OT name in the making

rare moat
#

!otn add Socialist JavaScript Writer

#

sad days

echo flower
#

ah yes Vladimir "Javascript" Lenin

tribal tinsel
tribal tinsel
carmine herald
civic plank
#

got me thinking, why would someone gatekeep "programming" lol

carmine herald
#

u must ponder the orb a lot ๐Ÿ‘€

civic plank
#

well i guess every activity has gatekeepers

carmine herald
#

then u get to advanced gatekeeping when ppl try to argue that you dont exist

wicked hollow
#

There's a lot of gatekeeping for Python developers. "Python developers aren't real programmers", "it's just a scripting language",

light void
echo flower
#

do people actually say that

light void
#

sure

tribal tinsel
#

I know people who do "just" scripting. My just scripting is writing hundreds lines long scripts dealing with big systems related to network management

wicked hollow
#

I've seen people do "just scripting" in C

#

calling popen("date") and trying to parse the output, or things like that

tribal tinsel
#

Where does "just scripting" end and "programming" start? Is it only about being interpreted vs compiled? If yes, it's shallow af. If not, then where's the cutout? Number of lines? How big systems you deal with?...

wicked hollow
#

I think it's building your own stuff versus gluing together stuff others built

tribal tinsel
#

Lol

#

This reminds me

#

I called my Operating Systems (aka Unix programming) programs "Frankenstein's code" because it was glued. But that's the thing. Current class coordinator (at my time had one lab group) says that's the point of the tutorials we got for that class - to use that stuff shown there!

wicked hollow
#

I've also seen people get confused about the difference between "a system call" in C and "a system() call", and trying to explain that system("ls -l") was one of the most efficient things they could do, because it's one system call.

tribal tinsel
#

That's kinda language barrier. Today someone asked how comes print() returns None instead of newline, then after some explanation asked how it comes something else handled printing in print, since print is called print

#

Syntactic sugar, nicely named functions... It may all collide with other concepts

light void
#

why is it called printing a string when there is no ink and no yarn?

echo flower
#

isn't print just a wrapper for stdout.write with other useful features

tribal tinsel
#

I even linked specific c code for printing after that, as addition to basic talk that was going on

clever salmonBOT
#

Python/bltinmodule.c line 1966

builtin_print_impl(PyObject *module, PyObject *args, PyObject *sep,```
wicked hollow
#

but basically yes. It takes a file to print to, defaults to stdout, and just calls that file's .write() method in the end

#

and the whole value add of print() is the formatting it does before calling .write()

open bone
#

You all missed the fuckin space launch

hollow heart
open bone
#

THE GAH DAMN SPACE LAUNCH

#

30 fuckin minutes ago

hollow heart
#

lolol do tell

open bone
#

Bro that was the first space launch I ever watched

#

And prob the last

hollow heart
#

ah so some spacex thing

open bone
#

Mf

#

โ€˜Some spacex thingโ€

#

Mf

#

No

#

Shush

#

Itโ€™s amazing

hollow heart
#

why? do tell

open bone
#

I already feel rich like Elon musk

hollow heart
#

lmao

#

oh i have to share something

open bone
#

Wat it is

hollow heart
#

i present to you:

quaint summit
#

People who say the just a scriping language thing are just ignorant.

open bone
#

Sexy

quaint summit
#

JavaScript was once just a goofy, ridiculous browser language that children played with for the dragon ball z fan sites.

#

Look at it now.

#

Same is true with python, its come very far.

#

I know im preaching to the choir but

open bone
#

Bro am I smoking crack or are you in the wrong channel

#

Because I think Iโ€™m smoking meth not crack

hollow heart
#

no it's related to the previous conversation

quaint summit
#

Probably cut back on all the hard drug references.

hollow heart
#

is there any non-web use of javascript?

quaint summit
#

Sure there is... That is what node is. Although I dont really like using node for server stuff.

#

But the point is, people always do this, "python can't large applications."

#

But it can, and in my opinion, a programmer who makes it work in python is very well organized.

#

Python is easy to pick up and do easy things, and tons of people are like that. But its difficult to master. And people do master it.

#

idk. its an annoying thing that other programmers in other languages do.

hollow heart
#

it seems getting good is mostly about getting good at engineering good solutions

quaint summit
#

yeah

hollow heart
#

how does one learn that?

echo flower
#

the stuff for me is objex
i wanna master the dunders so i can do cursed stuff

quaint summit
#

TBH, in my opinion, I'm still not good at it. I can work on existing code bases, but mostly when I try to build something from the ground up, its a failure.

#

Just being honest.

hollow heart
#

sure, that's fine, i'm no advanced programmer lol

open bone
#

Kk

#

Time to smoke crack ig

hollow heart
open bone
#

I am not smart with this shit

echo flower
open bone
#

Gah dayum

quaint summit
#

Its worth it to take time to just read code of a good project and not write code. Its a skill that is part of the whole thing.

#

By good project I mean something actively being worked on.

quaint summit
#

I dont have the answers to these questions lol

#

I think as you use more things you get better at identifying things that work and don't work.

#

This community has an absurd amount of people in it as compared to a few years ago when it was big even then.

hollow heart
#

lol are you an old time member? i joined just about a year ago

quaint summit
#

um, I used to be active on another account, definitely before many people, but not before everyone. At some point I felt like I was wasting too much time on Discord and deleted the account to make myself be productive again.

#

But after I broke the habit I decided to make another account haha

hollow heart
#

how'd that go?

#

lol

#

div selector

quaint summit
#

I think it was healthy to take a break when I needed to for sure.

#

But yeah when i came back here things changed a lot

#

A lot of older people were not as active because the community became much, much, much bigger

hollow heart
#

you mean originally there were more older people?

quaint summit
#

not older as in older aged, but originally it was more like you saw the same names all the time. I don't see most of those names anymore. That's really just the way a large community is. And there was no way the python discord was not going to get huge

#

Another huge difference is people being stupid was not tolerated at all.

#

Now I think its just too much work to control and some stupidity is just left if it does its thing and goes away

hollow heart
#

lol i suspect your assessment may be accurate, though i've not been around for the before to compare

quaint summit
#

it happens

#

It could be a lot worse.

#

For the size of this community there is no other way for it to be.

hollow heart
#

we're likely going to hit 300k soon

#

but i hope you stick around, even though things have changed a lot

quaint summit
#

tbh, when I was most active in here, I didnt have a job.

#

So it will not be like that again, but I'll be around on occasion

hollow heart
#

can i ask why your nick is div selector? do you do webdev

quaint summit
#

I do. Originally I was "lil div selector" which was a joke that was supposed to be like I'm rapper who is a programmer.

#

its a CSS joke.

hollow heart
#

lmaooo

#

that's kinda cute ngl

quaint summit
#

yeah

hollow heart
#

bring it back!

fluid plank
#

hmm this otn

#

sounds like an objectification of something

upbeat sandal
#

@fluid plank Volcyy is a staff member

frigid pollen
#

I like tools.

#

They're useful.

#

Nevermore do we need stir boiling pasta with our bare hands.

#

Or take apart computers with our own faces.

#

The dawn of humanity's rise is upon us!

#

Additionally: Opposable thumbs!

#

Possibilities abound!

hazy laurel
wide totem
#

i mean

#

per policy, yes

dim root
#

i was pointing to akarys' infractions lol

#

also sleep

#

or i won't review on modmial

#

:)

wide totem
dim root
#

lol

jovial island
#

He only has a couple infractions

keen burrow
#

Yeah, just a couple

pliant trench
#

I also broke my record today

#

actually not today

#

i deleted that shit

hazy laurel
#

I'm scared to navigate now

hollow heart
#

@true gust hi. i've deleted 2 of your messages from your posts. please keep conversation appropriate here as per our #code-of-conduct and please do not reference actions of self-harm

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied mute to @woven summit until <t:1639941251:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

jovial island
#

what laptops yall reccomend?

round moss
#

what do you expect out of the laptop?

cloud blade
#

:D

ashen veldt
#

@mild rivet what's this

mild rivet
#

nothing

cloud blade
#

it is

#

confusing

mild rivet
#

Basically nothing

mild rivet
cursive willow
#

How to calculate this

slate leaf
#

The first two lines are pretty easy, just use Avogadro's Number

#

The third row depends on the molecular weight

cursive willow
#

Yea

#

Avagadro number : 6.022*10ยฒยณ

jovial island
# cursive willow

Divide the no of particles by avogadros number to get no of moles

Apply unitary method to find no of particles when moles are given

And find out the mass of the given moles by multiplying them with their gram molecular mass

#

Wow I guess I remember chemistry a little bit ๐Ÿ™‚

#

anyone get the error python cant access network location when you download it

barren marsh
#

@jovial island when someone sends a message, you can click the pfp to see the user profile, which will show the tag

jovial island
#

I see that now

#

thanks

barren marsh
#

And if you've got developer mode enabled you can right-click the pfp and select "copy id" to get the user id

#

Which you can use to ping someone by doing <@userid>

jovial island
#

ok, thanks

hollow heart
#

are you super new to discord?

#

it can be overwhelming at first, and this particular server is also quite large

jovial island
#

I visit it time from time

#

but I always find it confusing :)

#

I haven't found a community that's been more willing to help than this one on this discord server

#

I've always found discord lacking, and wondering if there's something better

hollow heart
#

hmm yeah discord isn't perfect, but i think it's general pretty good

jovial island
#

it is

#

just wondering if there's something more

daring jay
#

I agree that there are some things that suck about it, I'm just curious as to what you think as well.

jovial island
#

the left sidebar for example

#

let's say I want to contribute to a help channel while exploring other channels

daring jay
#

I wish you could "pin" certain channels at the top or smth.

jovial island
#

for example

#

yeah

#

also

#

I'm helping a person in a specific channel that hasn't closed it, but the user is looking for a solution

#

after half an hour, I won't remember the name of the channel

jovial island
#

:)

daring jay
#

wdym tags?

#

Like #python ?

#

Or like discriminators?

jovial island
#

like '@clever salmon'

daring jay
#

What's wrong with those?

jovial island
#

there are multiple versions

daring jay
#

yeah, but that's what discriminators (the numbers after the hashtag) are for

jovial island
#

yeah

daring jay
#

there's no way for two users to have the same username and discriminator afaik

jovial island
#

I think so too

daring jay
#

otherwise there'd be half a million wumpus#0001s

jovial island
#

but the 'descriminator' is not shown when messaging

daring jay
#

You can always click on the profile, but yeah, ig

jovial island
#

yep

#

I didn't know this until today :)

jovial island
daring jay
#

I'm sure there are some better platforms too, but I don't think I'll find another community like this elsewhere.

jovial island
#

as for the community I agree. as for the better platforms ... not seeing it :)

#

is this the largest python community?

daring jay
#

probably

hazy laurel
#

largest Discord Python community

daring jay
#

It's probably the largest non-official one anywhere

#

I wonder if it's even bigger than the amount of people who've interacted (beyond just viewing) python/cpython

jovial island
hazy laurel
#

I imagine maybe things like Reddit or some forums are bigger, though

daring jay
#

Oh, you're definitely right

jovial island
#

reddit /r/ python is this though

#

?

daring jay
#

(r/python)

#

I didn't even think of that

jovial island
#

sorry, not following

#

the biggest subreddit for python on reddit is /r/python ?

#

but as far as I can see

#

discord and /r/python are the same community?

hazy laurel
jovial island
#

sorry

#

I've made assumtions, because there is a link on the homepage to /r/python : https://www.pythondiscord.com/

daring jay
#

We're partnered

jovial island
#

well then

daring jay
#

r/python also links to us

jovial island
#

my point stands :D

hazy laurel
#

does it?

daring jay
#

err, what is your point?

jovial island
#

ignore

wicked hollow
daring jay
#

Good point

jovial island
#

who makes the rules for this project/server?

#

moderators here?

wicked hollow
#

all of the staff has a say in the rules, though the admins are the ones who officially own them I suppose

jovial island
#

who's the staff here? any[owners, admins, domain leads, project leads, moderators]?

daring jay
#

anyone with the Helpers role is staff

#

it's our base staff role

jovial island
#

where do you make decisions? internal chat?

daring jay
#

there are multiple internal channels and github repositories, yes

jovial island
#

๐Ÿ‘

daring jay
hollow heart
jovial island
#

thanks for the answers

#

I don't have suggestions atm

#

just curiousity :)

#

curiosity

#

is there anyone among you that believes discord does not offer the best ui/ux?

wicked hollow
#

seems pretty tasteless to me

hazy laurel
#

took me ages to get

#

not even funny

echo fern
#

Having duplicate element ids in HTML is supposed to be incorrect, right? Why don't I get an error for it?

hollow heart
#

what kind of error are you expecting?

#

almost anything goes in html/css

hazy laurel
#

I don't think there's such a thing as an HTML/CSS error

echo fern
#

๐Ÿ˜ฉ

echo fern
#

like what it does for serious syntax errors, like unclosed tags

hollow heart
#

nah your browser will be like oop what's that? extra ID? i wouldn't have known if you didn't tell me!

median blade
#

will probably result in unexpected behavior when called in js/css

small cloak
fluid plank
#

hmm

vague coral
#

no idea

ionic locust
#

Fisher

fluid plank
#

apple and pie

#

where is pie?

#

hmm apple penned the pie

ionic locust
#

๐Ÿ py_pie

jade bolt
#

you will see them in those dates

upbeat sandal
#

@jovial island what you have called an edge case is really a base case.

#
def recursive_linear_search(lst, target):
    if not lst:
       return False
    return (lst[0] == target) or recursive_linear_search(lst[1:], target)

@haughty nova the count argument isn't necessary

haughty nova
#

wdym

#

then how will you find the index

upbeat sandal
#

who said that you need to?

haughty nova
#

then whats the point of linear search lol

upbeat sandal
#

to determine if the value is there, not where it is

haughty nova
#

oh

#

ok

upbeat sandal
#

you can see from the asker's code that their function was returning True or False

#

you can actually do it with one expression

def recursive_linear_search(lst, target):
    return bool(lst) and ((lst[0] == target) or recursive_linear_search(lst[1:], target))
jovial island
#

But also, aren't they really the same

upbeat sandal
#

you can but then you get [] instead of False for the base case.

upbeat sandal
upbeat sandal
#

whereas edge cases are about robustness.

cursive willow
tawdry fog
#

My new pastime is going on tiktok and searching "ddosing" then joining script kiddies discord servers and calling them script kiddies, it's very fun.

#

Lmaoo someone posted this in one of the channels of the hacker discord server warning it has some foul language

hazy laurel
#

took me a while to realize the reason you censored it was because of "fuck"

quaint summit
#

eh, I used to be a script kid a long, long time ago. It was different back then though. Like the 90s-2000s. The Internet wasn't really a place of commerce yet. I consider a lot of what we did fairly innocent but childish. We didn't cause damage or monetary loss, but we booted people off the Internet and obnoxious stuff like that.

#

I grew up and learned to be pretty smart.

#

They might, too, if they don't do anything horribly stupid.

#

These days a script kid can cause a lot of damage.

#

TBH, the term script kid is kind of antiquated. Professional pentesters are using the same tools as those kids.

sinful sun
#

is this a monologue

quaint summit
#

They're sentences. You can read them or you can not read them.

sinful sun
#

are they directed at someone?

quaint summit
#

Yes, but not you

hollow heart
#

yeah the general public reading this channel

sinful sun
#

okay, just wondering cause it looks like a convo but i cant see the other side

quaint summit
#

I was replying to the earlier conversation. It was a few hours ago I see now. You can scroll up.

#

Here you might find this helpful

odd sphinx
#

damn

#

they weren't kidding

sinful sun
#

i think i already know how to use the internet lmao
boots up edge

jovial island
#

netherlands best country

#

no cap

hazy laurel
#

like the Tom?

jovial island
#

Depends

#

how tall is tom

tawdry fog
tawdry fog
hazy laurel
tawdry fog
#

Lol

tawdry fog
dusky cliff
#

don't plan on it
I, on the other hand, schedule my usage of swear words months in advance

hazy laurel
#

you're right. I should say fuck more

tawdry fog
dusky cliff
#

A notion page ๐Ÿ‘

tawdry fog
#

Alright Iโ€™ll be looking into it! This is life changing

hollow heart
#

@crude boughplease, remain respectful of all community members. i'll be deleting that whole exchange since it's off topic for the channel

crude bough
hollow heart
#

if you have an issue with someone being condescending, we definitely want to know

#

the proper way to report that is via @vapid maple

crude bough
#

True, will do

hollow heart
#

thank you!

crude bough
#

Sorry for my behaviour, but I hate when people do that

#

Especially in a learning server

#

And then take a victim role

hollow heart
#

well, i'd advise taking this as a learning opportunity for yourself. but i think you're cognizant of what you did and everyone is human (all parties involved), it's alright.

long stratus
visual slate
#

Nice, the control do be flowing

ember oar
#

What's that app?

#

Looks quite nice

jovial kestrel
#

Just wondering, but is there any way to compile gentoo linux in vs code? because Id feel a lot more comfortable doing so...

hollow heart
#

@ember oar ew

#

y u eat yellow snow

hazy laurel
ember oar
#

i'll take my lemonade snow cones when I can

ember oar
hollow heart
#

yeah i just looked for one

#

a yellow snowflake

hazy laurel
#

gross

#

someone needs to drink more water

hollow heart
#

v true

ionic locust
hollow heart
#

no way lol

#

lmfao i did

#

impressive memory apple

#

unless you checked

#

impressively bad memory mina

fluid plank
#

wait what? oh yeah

carmine herald
#

ew

ashen veldt
#

@raw cosmos yes, me indian pithink

ashen veldt
raw cosmos
#

i meant

#

๐Ÿ’€

#

cope-r

#

like the word caper

raw cosmos
#

nvm

ashen veldt
#

lol

raw cosmos
#

dee's nuts

fresh yarrow
#

I have a problem

#
Animal testing is also much more expensive than in vitro testing. More than **$16 billion of taxpayer money** is spent on Animal Testing, compared to the tiny $11,000 of in vitro testing.```
I dont know what to write next
#

@raw cosmos help

#

@ashen veldt helpp

ashen veldt
fresh yarrow
#

urrr

#

well

#

it's

raw cosmos
#

wtf is this

fresh yarrow
#

an essay

ashen veldt
#

wow

fresh yarrow
#

please help me

#

i have no idea what to write next

raw cosmos
#

i got u homie, how much words

fresh yarrow
#

uhhh

fresh yarrow
#

there was no limit

fresh yarrow
ashen veldt
#

nvm

fresh yarrow
#

huh

raw cosmos
#

i got u homie, make ur sentence much more stupider because i can convert it into something more weirder

fresh yarrow
#

uhh

#

I'll just put that in one of my paragraphs

#

thanks for the help anyways

raw cosmos
#

Animal testing is withal much more sumptuous than in vitro testing. More than $16 billion of taxpayer mazuma is spent on Animal Testing, compared to the minuscule $11,000 of in vitro testing.

#

how complex this looking @fresh yarrow

#

more complexity

#

now your teacher will think you're smart B)

fresh yarrow
#

thanks

#

it looks cool

raw cosmos
#

i see why you added a space there

#

thanks tho

fluid haven
#

Help hundreds of people, no one bats an eye, eat yellow snow once and you get an otn.

raw cosmos
#

what

dusky cliff
#

!otn a zee eats yellow snow too

clever salmonBOT
#

:ok_hand: Added zee-eats-yellow-snow-too to the names list.

gilded plank
#

can one see the log time of a phone ? like every time it went out of battery nd turn on etc

rare moat
#

what seems to be the problem

haughty lion
#

@rare moat Could you help with some string concatenation?

#include <stdio.h>
#include <string.h>
int main{
    char str[6] = "ABCD";
    char ch = 'E';
    printf("Original String: %s\n", str);
    printf("Character to be appended: %c\n", ch);
    strcat(str, &ch);
    printf("Appended String: %s\n", str);
    return 0;
}

This code keeps giving me a "illegal hardware instruction" error.... how do i solve it?

rare moat
#

o_O as in, an error at runtime?

haughty lion
#

yeah

#

it just says, "zsh: illegal hardware instruction"

rare moat
#

well first things first, strcat accepts a char* which is terminated by a NULL byte.

haughty lion
#

ooooh

rare moat
#

also this

civic wharf
#

no telling what happened there.. probably nothing good

haughty lion
#

one second lemme change this

rare moat
#

yeah, strcat is going to keep going at the address &ch until it finds a NUL byte haha

echo fern
#

TFW RUST HAS MACROS
@rare moat
How did you spend so much time absorbing Rust via cultural osmosis and didn't see these wonderful things?

macro_rules! back_to_enum {
    ($(#[$meta:meta])* $vis:vis enum $name:ident {
        $($(#[$vmeta:meta])* $vname:ident $(= $val:expr)?,)*
    }) => {
        $(#[$meta])*
        $vis enum $name {
            $($(#[$vmeta])* $vname $(= $val)?,)*
        }

        impl std::convert::TryFrom<u8> for $name {
            type Error = ();
            #[inline]
            fn try_from(v: u8) -> Result<Self, Self::Error> {
                match v {
                    $(x if x == $name::$vname as u8 => Ok($name::$vname),)*
                    _ => Err(()),
                }
            }
        }
    }
}
haughty lion
#

thanks so much @rare moat i literally spent an hour ramming my head against a wall

rare moat
#

no problem

rare moat
#

i am undergoing mitosis right now

echo fern
#

๐Ÿ˜ณ

rare moat
#

i am a Cell

echo fern
#

an UnsafeCell?

rare moat
#

damn fucking right haha

echo flower
rare moat
#

yes

jovial island
#

!code

clever salmonBOT
#

Here's how to format Python code on Discord:

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

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

echo flower
rare moat
#

Aradia or Niko?

fluid plank
jovial island
#

Do you guys know a good android game emulator for macos with apple silicon that wont fry my laptop?

pallid wagon
#

@frail cobalt what kind of book are you writing?

#

Ah ok

#

And what are you doing in statmech

#

๐Ÿ‘€

#

We're in off topic

#

Sounds interesting, how are you modelling/predicting?

#

Yes it's ot

#

Any you can link?

#

I wasn't aware they open sourced that stuff

#

How did you get it then ๐Ÿ˜…

#

At Google?

#

Sounds kinda sus

#

A few years

#

Suspicious

#

Like dodging questions

ember oar
#

Yeah definitely

#

I was a bit confused at first with the OT's too haha, you'll get used to it eventually tho

pallid wagon
#

So is it your stuff or Google's

#

Lol

#

I mean sure yeah

#

But I'm about to go soon

#

ะ’ ะ ะพััะธะธ?

#

Nice

#

Yeah it's insane

#

I think about it sometimes

#

We have so much information available that we don't do anything with it

#

๐Ÿ™ˆ

hidden kernel
#

please don't use ableist language

#

I was referring to "retarded"

hollow heart
#

that's exactly what we object to

#

sure, it's incredibly insensitive and dismissive to those that have intellectual disabilities. i suggest you do outside research on your own on this topic

#

my message was directed at you

#

sorry i don't have the time to educate you on this, i suggest researching on your own if you wish to understand

sinful bloom
#

Can some 1 help me:/

#

the messages disappeared from me, sorry

#

@frail cobalt but can you help me?

frail cobalt
#

I do understand everything about it 10000%

pastel nest
#

erm

#

@ember oar herpaps some explanation?

hazy laurel
#

whoa

#

they must be short on otns

molten hazel
#

so PyCereal_Type and PyCerealObject are not the same person?

hazy laurel
#

nope

molten hazel
#

that's weird

hazy laurel
#

is it? D:

molten hazel
#

yes because so far I was just "oh this dude is PyCereal" and now you tell me that sometimes it's not you

#

your internal structure?

#

so he's like your large intestine?

echo flower
#

wtf

molten hazel
#

I have no idea what this means

#

my approach is much easier

#

you're a person, they're a person, you say they're your internal things, so they're your large intestine

#

I'll need some time to figure out how someone's large intestine is a person though, that bit isn't clear yet

echo flower
#

surebuddy

molten hazel
#

why do you need the & there?

#

or the ;

#

oh you're not writing in python

#

shame on you

echo flower
molten hazel
#

okay I'm lost, but I'm too tired to find myself, so let's just say everyone is right and everyone knows everything, including me because why not

echo flower
#

lmfao ur username

jovial island
#

lol

daring jay
#

we indeed are

wicked hollow
#

I like this one though ๐Ÿ˜„

daring jay
#

js is honestly not that bad

#

sure, it has some weird stuff, but you can write good code in it

hazy laurel
#

We call this the "JS Stockholm Syndrome"

#

don't worry, you're one of many

daring jay
#

I don't write much JS though

#

Just occasionally

small cloak
ionic locust
#

@vocal jewel re your bool question, it might be helpful for you to know that if neither __bool__ nor __len__ are defined, the object will evaluate to True

median blade
vocal jewel
#

@ionic locust Thanks for that, I have __len__ defined, so that's why

wide totem
#

@hazy laurel

#

what bout system 76

hazy laurel
#

ehhh let me find that one blog post by the GNOME dev

#

there are more cases out there, but this is the only one I can consistently find

rare kernel
#

Oh I see

#

how not to collaborate

#

Thats doesn't sound good

hazy laurel
#

the TL; DR is that System76 likes to do some annoying stuff to get more users on Pop!_OS

#

one such thing is fixing issues on their end and never contributing upstream

#

which has landed them on the bad side of plenty of people

#

one such people being the GNOME developers

#

AFAIK Canonical is also a bit unhappy with them

#

and the whole "Installing Steam broke my entire system" thing was really weird

rare kernel
#

Oh I see

hazy laurel
#

plus a lot of the "merit" that Pop!_OS supposedly had is all lies

rare kernel
#

Lies?

hazy laurel
#

people like to say "omg but Pop!_OS has EZ NVIDIA drivers" when in reality it's just an installer option on any Ubuntu flavor that you just tick a little box

rare kernel
#

I was one of them

#

pop!_os has ez nvidia drivers

hazy laurel
#

and their super special GNOME tiling extension, which is available on all distributions that have GNOME

rare kernel
#

Now I realised a lot of stuff

hazy laurel
rare kernel
#

Hmm, so like should I switch then?

hazy laurel
#

but Pop!_OS markets like they're the only one who does

rare kernel
#

Because I really don't want to

hazy laurel
#

especially with that tragic Steam thing

rare kernel
#

I give the article the read

hazy laurel
#

and their weird push of non-LTS

rare kernel
#

Yeah I didn't update pop!_os yet

#

20.10

#

Steams work for me currently

hazy laurel
#

idk if you've ever seen LTT, but they happened to do their series or whatever during that

rare kernel
#

Linus tech tips

hazy laurel
#

Linus tried to install Steam and it uninstalled like all of GNOME

rare kernel
#

I know them

rare kernel
#

How does that happen

hazy laurel
#

I never read into it, honestly

#

supposedly it went on for like a whole week

#

people just tragically ruining their installs

rare kernel
#

Gosh

#

Thank goodness I didn't update my system

#

Now I am scared

hazy laurel
#

I wonder if it would've been a problem on an LTS release ยฏ_(ใƒ„)_/ยฏ

#

I still dunno why the heck anyone would favor non-LTS

rare kernel
#

Hmm could be

rare kernel
#

People still use ubuntu 16 or 14

hazy laurel
#

Lazy people usually won't notice the difference ยฏ_(ใƒ„)_/ยฏ

rare kernel
#

Well, this tempts me to change but pop!_os never gave me issues really

hazy laurel
#

I've just been chilling on KDE Neon

rare kernel
#

Also pop!_os did make an article over GNOME

#

That they want to switch and gnome gives issues

hazy laurel
#

if/when I get a new computer, I'm probably switching over to openSUSE again

hazy laurel
#

which IMO is just another horrible idea

rare kernel
#

If I ever wanted to switch, I would definitely go on garuda

hazy laurel
#

the more they branch off, the less stuff will work

rare kernel
#

Or an arch based distro

#

Tbh, that's the only distro that has been reliable for years

hazy laurel
rare kernel
#

Why lmao

#

Is arch bad too?

hazy laurel
#

Arch? No

rare kernel
#

Ah okay

hazy laurel
#

Arch derived distributions? Yes

rare kernel
#

Oh so what should use then

hazy laurel
#

So you know how Pop!_OS only rid people of the DE

#

Garuda rid people of their entire home directories

#

when you enabled some setting

#

meaning people lost like 99% of their stuff, not just a DE

#

all of ~ gone poof

rare kernel
#

What the fuc

hazy laurel
#

as a general rule of thumb

#

Arch derivatives suck, and Ubuntu derivatives suck

#

There's a handful or distros that I myself think are actually worth using

rare kernel
#

Oh well

#

I thought garuda was good

#

I watched distrotube and he said a lot of good things about garuda and pop

hazy laurel
#

Those are:
Ubuntu (& flavors or KDE Neon)
openSUSE Leap/Tumbleweed
Fedora (if you like GNOME, I guess)

rare kernel
#

Ah I see

hazy laurel
#

that's another thing, too

#

all of the YouTubers are usually weirdos

#

who have like no idea what they're doing

rare kernel
#

I don't think distrotube is one them though

hazy laurel
#

you might often see a lot of people joke about how awful the Linux scene is on YouTube

rare kernel
#

Old crappy tutorials with no proper explanation yes

hazy laurel
#

someone here I think tried to say that it was just a shitpost meme

#

but... I think he was being serious

rare kernel
#

Fish being posix complaint shell hmm

#

I see

hazy laurel
#

it's not one

#

and he symlinked /bin/sh -> /bin/fish

rare kernel
#

Well here's the thing, pop!_os has never gave me issues and I have been using well over an year

hazy laurel
#

for the record, /bin/sh is meant to be a POSIX compliant shell

rare kernel
#

Oh

hazy laurel
#

some distros use dash, some use bash in POSIX-compliance mode

rare kernel
#

So he tried to link two different shell systems

#

That could cause issues

hazy laurel
#

kinda yeah

#

he set sh (which should be a POSIX-compliant shell e.g. dash/bash) to fish (which is not POSIX-compliant)

#

which causes problems for scripts that try to use /bin/sh, expecting it to be POSIX-compliant

rare kernel
#

Lmao that's not gonna work

hazy laurel
#

and he had this whole rant about it

rare kernel
#

I should be careful who I watch now then

hazy laurel
#

the dislikes andf comments speak for themselves

#

oh wait

rare kernel
#

Ah man, I just want a distro that does things and is super chill

hazy laurel
#

YouTube removed dislikes

#

perfect

rare kernel
#

YouTube sucks

hazy laurel
rare kernel
#

I actually used ubuntu before

hazy laurel
#

You can never go wrong with an Ubuntu flavor

rare kernel
#

But it caused me a lot of issues though

hazy laurel
#

In which regard?

rare kernel
#

Yeah I did frick up stuff but I had to deal with annoying bugs

hazy laurel
#

Usually you're fine if it's an LTS ยฏ_(ใƒ„)_/ยฏ

rare kernel
hazy laurel
#

and if your hardware isn't stupidly new

rare kernel
#

Like wifi drives especially

#

I may had done something stupid

hazy laurel
#

if it worked on Pop!_OS, it'd have worked on Ubuntu

#

Pop!_OS doesn't do anything other than plug their own stuff

rare kernel
#

About hardware, setting up nvidia was bit complicated

hazy laurel
#

on Ubuntu? Nah

#

if you didn't tick the option during the install, all you do is install via apt

#

ubuntu-drivers will help you find a driver to install

rare kernel
#

Yeah I did that

hazy laurel
#

ubuntu-drivers list and then install the one you want

rare kernel
#

mhm yeah but sometimes the updates caused issues with nvidia drivers or corrupted dpkg

hazy laurel
#

um

#

the updates are like every 2 years

rare kernel
#

Well it would just be me probably doing some stupid stuff that caused it but I was naive and I didn't believe that

#

I like how pop!_os worked and looked

hazy laurel
#

perhaps you were on non-LTS

rare kernel
#

So I decided to switch

rare kernel
hazy laurel
#

idk how you'd have needed to update anything ยฏ_(ใƒ„)_/ยฏ

rare kernel
#

Anyways thanks for the insight though

hazy laurel
#

considering updates are literally like once every 2 years

#

The next one is in April

rare kernel
#

I will be more careful and skeptical now

#

Thank you again

hazy laurel
#

glad I could be insightful, I guess lol

rare kernel
#

Yeah you were

#

I didnt know about all that

merry cobalt
#

Anyone seen matrix4 yet?

hazy laurel
#

also stinky shebang

merry cobalt
#

yeah the newspaper roasted it af

hazy laurel
#

should be #!/usr/bin/env python3 lemon_angrysad

merry cobalt
#

but i got it home thinking of watching it tho

hazy laurel
#

meh, I'm probably gonna pass

#

I don't care much for matrix anyways

merry cobalt
#

how can u ? dont wanna ruin the nostalgia with the first epic one?

hazy laurel
#

never even saw it lol

merry cobalt
#

other movie i wait for is new batman it seems cool

merry cobalt