#ot2-the-original-pubsta
652 messages ยท Page 99 of 1
/media is the new standard AFAIK (for removable media)
ah the /media/ dir is very lengthy
I see. It's absolutely perfect for me on VSC, but I know you said you dislike that.
/mnt is usually for manual mounts and not-removable media
If I learned but Iโm not gonna because itโs illegal.
idk, and I'd rather not set $HOME to /mnt/c/Users/whatever/
hm
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
That's a weird complaint - a WSL terminal starts in around 1 to 2 seconds for me.
but do you constantly shut it down?
nah, I start it once per reboot - once a week or two.
yeah, so you have the benefit of being able to keep it open
sure. but it takes about 2 seconds to start when I start it.
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
you could just add a symlink to it - ln -s /mnt/c/Users/whatever/ $HOME/profile and then you can cd ~/profile/ instead.
I'd not actually thought of doing that, but I guess it would work
you should be able to do cd "$USERPROFILE" right out of the box
idk, WSL just doesn't feel as integral as I'd like, and I find it a bit confusing trying to develop with it
Hmm, seems like I've been lucky. WSL has always worked wonderfully for me with the tools I've used.
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
I do everything in WSL except a browser. For which I've been using Edge, actually.
I like keeping my dev stuff within Linux, but everything else stays out in the Windows world where I know it's well supported.
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
what exactly does prettier do
reformats markdown files
I thought they were talking about the VSCode extension for code formatting ๐
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
huh. I've only used it for markdown, I didn't know it could do other types.
I'm pretty sure it was originally made as a JS formatter
TIL ๐
But expanded to other frontend tools later
Well this is a happy accident. I was just going to look for a markdown formatter. Is Prettier ... pretty good?
o
I hate it
So, yes?
I mean, it does what it says on the tin. I just don't like formatting markdown.
oh lol
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.
Oh.. that's gross and I do not want that.
ugh i hate that
For me, I wrap my markdown, but I do it by hand and I like it that way.
it shrinks table columns to fit their content - which sounds lovely, until you need to add wider text in that column again...
hmm, maybe I'll just add a pre-commit hook and see what breaks instead of an extension. LOL. https://github.com/jackdewinter/pymarkdown the tin looks good.
that'd be why I didn't know that - I don't touch frontend stuff, at all, but use markdown for docs
Why is Windi CSS on there but not Tailwind...
CSS in JS frameworks (idk what Windi CSS is)
Oh, I see
look at how much it has grown in 2 years
does webpack not enable hot reload of the html/css?
I forget, I haven't use webpack in a while
oh what do you use
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
oh
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.
Agreed.
lmfao
@small coral
Yes
He gone
ouu
nah bye gtg i hv those dpp's to solve ๐
man needs to cover backlogs
no
same lol
ohh
Aakash
none polular
kota kills u from inside
private tutors
T___T man why is this indian edu system so hard
Idk
i m ok with preparing for school exams coz they are easy but these entrance exams are tough as fuck
especially when 11th and 12th went in lockdown ๐ข
neither i m rich to prepare and go into some US college through SAT
Yeah sad
i m struggling with coaching maths
maths in RD sharma is easy , i like physics too , im good in chem too
Like why ask chemistry for getting cs it doesn't even relate
the main issue is coaching maths is hard as fuck
lol JEE
Yeah
๐ฆ
i m in 11th\
i m ok with my studies , in phy nd chem almost just need to improve maths which i cannot anyways
T__T
maybe "new education policy's" proposed changes, will allow more mix & match customisation while choosing subjects
but we'll be gone untill it comes
yup but new edu policy will come when our kids will go to school lol
yea lol
shinero u live in PG in delhi?
With parents
?
There are far too many acronyms being thrown around that I don't understand
wait how do u get so much of time for all this ? @small coral
What?
lol
Just skip study
do you live in kota or somethin ?
he's not getting what we r talking about
nope lol
No
i would die in kota or not even open laptop
Yeah cuz he's not indian
T__T
T__T
Ok I gtg now cya mate :)
Who knows
๐ฑ
Lol
Bye

DPP = daily practice papers
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
What's 'coaching'?
coaching is like tuition but more organised and targets competitive exams in India
and foreign
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
Geez ๐
I'm pretty sure I've secured myself a place in the engineering course I want
hell yeah, congratulations ๐
are your results out yet? i thiiink i remember you were waiting for it
Nice man
You see the symbol above the 2? That's what you want
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?,
how do u use a password manager for the password lock of an ipad
another device lol
Does the iPad encrypt its storage? Can you create an image of the drive if it's mounted as a drive?
i dont think so. cops can break into password protected ios devices easily
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...
Cellebriteโs Digital Intelligence Platform empowers law enforcement, governments, and enterprises to collect, review, analyze and manage digital data.
this companies device can break into any apple devices last time i heard
and freely access its storage/other info
hmmm, yeah, with enough resources most security is a bit "ekkk."
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?
i have no clue but by the way its worded... it most likely exists lol..
Ha! Probably only in theory. I was guessing it was RSA 4096 but that apparently only takes an hour...
(and this wass 4 yeaars ago..)
ah. also that sounds familiar think I heard about that in my networking class.
... 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.
print "e"
Can some one help me with flutter?
if those are stored in sdcard take it out
Seen it : )
bruh ipads dont have sdcard store
but there must be a disk, i wonder you can ever get the disk inside though ยฏ\_(ใ)_/ยฏ
breaking it might hurt the disk
idk whats a secure way to get it
meow
elgato
nya
Omg this name
dvorak 9 anyone? ๐ ๐ต
What idiot would confuse a keyboard layout with music
i can't tell if you're being sarcastic
i don't fully remember the context but 'twas from our girls-night-vc-night
was i there for that
me >:(
๐
hallo
@unreal sigil Were you the one that was super into... typing? \๐ค
oh hey. convenient channel name
I was into typing for a little yeah ๐
mating dance
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?
bread ๐
@stiff ridge we can talk about it here
fortran?
separating people is dangerous
yes
what we arguing about boys
I see that, but it was never in my intention to do that
i hope u understand that too
OK, that's good to hear. Maybe there's a language issue?
im not a native speaker, that might be it lol
there are probably some books on it. definitely actually. that thing is ancient.
oh ok. i saw this channel mentioned here in #python-discussion and seemed like ppl were arguing lol
time for me to learn some kind of assembly for fun
bread
๐ฅ
why do you want torture yourself like that?
Something something arguing about gatekeeping and the word's uses
i learned some x64 masm 2 months ago... forgot everything
i thought we were going to be accused of being SJW's for a minute there.
oh lol. gatekeeping what though?
No idea tbh
any normal take nowadays = sjw lol
its 2021 thats a compliment 
now if there is a word that is overused, it is SJW.
No-one who uses the term means it as a compliment ๐
somebody wants you to not be rude? what A Fucking SJWโข๏ธ.
how dare you request basic human decency?
Socialist JavaScript Writer
Socialist JavaScript Writer
Soggy Juice Wrapper
make that an OT name.
OT name in the making
ah yes Vladimir "Javascript" Lenin
Gatekeeping being a programmer. User wanted to classify who's "real programmer" and who's not
Why SJWs? I'm a Mage
oh that's big yikes
warriors the starting class
got me thinking, why would someone gatekeep "programming" lol
u must ponder the orb a lot ๐
well i guess every activity has gatekeepers
then u get to advanced gatekeeping when ppl try to argue that you dont exist
: 
There's a lot of gatekeeping for Python developers. "Python developers aren't real programmers", "it's just a scripting language",
"just a scripting language" that is a classic
do people actually say that
sure
I know people who do "just" scripting. My just scripting is writing hundreds lines long scripts dealing with big systems related to network management
I've seen people do "just scripting" in C
calling popen("date") and trying to parse the output, or things like that
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?...
I think it's building your own stuff versus gluing together stuff others built
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!
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.
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
why is it called printing a string when there is no ink and no yarn?
isn't print just a wrapper for stdout.write with other useful features
It only uses stdout if no other stream is passed
I even linked specific c code for printing after that, as addition to basic talk that was going on
Python/bltinmodule.c line 1966
builtin_print_impl(PyObject *module, PyObject *args, PyObject *sep,```
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()
You all missed the fuckin space launch
what launch?
lolol do tell
ah so some spacex thing
why? do tell
I already feel rich like Elon musk
Wat it is
i present to you:
A man has gone viral on social media for his uncanny resemblance to Tesla and SpaceX CEO Elon Musk. Is this for real: A video of the man, dubbed "Yi Long Musk" by some netizens, was first shared on Douyin, the Chinese TikTok app, before making its way to several other social media platforms, according to Indy100.
People who say the just a scriping language thing are just ignorant.
Sexy
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
Bro am I smoking crack or are you in the wrong channel
Because I think Iโm smoking meth not crack
no it's related to the previous conversation
Probably cut back on all the hard drug references.
i do remember that era
is there any non-web use of javascript?
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.
it seems getting good is mostly about getting good at engineering good solutions
yeah
how does one learn that?
the stuff for me is objex
i wanna master the dunders so i can do cursed stuff
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.
sure, that's fine, i'm no advanced programmer lol
you probably see lots of bad solutions from other people though, so how do you handle that?
I am not smart with this shit
it's the reverse for me
i can build stuff from ground up, but im very bad at contributing to existing code bases
Gah dayum
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.
as for this question... where you can, you choose to not deal with it, and where you cant, you suffer. lol
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.
lol are you an old time member? i joined just about a year ago
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
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
you mean originally there were more older people?
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
lol i suspect your assessment may be accurate, though i've not been around for the before to compare
it happens
It could be a lot worse.
For the size of this community there is no other way for it to be.
we're likely going to hit 300k soon
but i hope you stick around, even though things have changed a lot
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
can i ask why your nick is div selector? do you do webdev
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.
yeah
@fluid plank Volcyy is a staff member
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!
oops... I read this and forgot to ask my question... I was thinking about finally learning how to properly type and I remember you gave me some suggestions in the past and I've already forgotten them
i was pointing to akarys' infractions lol
also sleep
or i won't review on modmial
:)
@dim root #python-discussion message
lol
He only has a couple infractions
Yeah, just a couple
this one's good
I also broke my record today
actually not today
i deleted that shit
u forgor ๐
omg was this the one that jumpscared me
I'm scared to navigate now
@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
oh sorry i got what you mean
: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).
what laptops yall reccomend?
what do you expect out of the laptop?
:D
@mild rivet what's this
Basically nothing

The first two lines are pretty easy, just use Avogadro's Number
The third row depends on the molecular weight
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
@jovial island when someone sends a message, you can click the pfp to see the user profile, which will show the tag
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>
ok, thanks
are you super new to discord?
it can be overwhelming at first, and this particular server is also quite large
me?
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
hmm yeah discord isn't perfect, but i think it's general pretty good
If I may ask, what do you find lacking about it?
I agree that there are some things that suck about it, I'm just curious as to what you think as well.
the left sidebar for example
let's say I want to contribute to a help channel while exploring other channels
I wish you could "pin" certain channels at the top or smth.
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
like '@clever salmon'
What's wrong with those?
there are multiple versions
yeah, but that's what discriminators (the numbers after the hashtag) are for
yeah
there's no way for two users to have the same username and discriminator afaik
I think so too
otherwise there'd be half a million wumpus#0001s
but the 'descriminator' is not shown when messaging
You can always click on the profile, but yeah, ig
I also want to say that I don't know of a better community
I'm sure there are some better platforms too, but I don't think I'll find another community like this elsewhere.
as for the community I agree. as for the better platforms ... not seeing it :)
is this the largest python community?
probably
largest Discord Python community
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
is there a bigger one?
on Discord? No
I imagine maybe things like Reddit or some forums are bigger, though
Oh, you're definitely right
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?
um, no. they are not
sorry
I've made assumtions, because there is a link on the homepage to /r/python : https://www.pythondiscord.com/
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
We're partnered
well then
r/python also links to us
my point stands :D
does it?
err, what is your point?
ignore
not at the same time, but two users can have the same username plus discrim at different moments in time
Good point
all of the staff has a say in the rules, though the admins are the ones who officially own them I suppose
who's the staff here? any[owners, admins, domain leads, project leads, moderators]?
where do you make decisions? internal chat?
there are multiple internal channels and github repositories, yes
๐
We do have #community-meta and https://git.pydis.com/meta for public suggestions and issues though
yeah we are partnered to the subreddit much more closely than i originally thought lol
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?
seems pretty tasteless to me
Having duplicate element ids in HTML is supposed to be incorrect, right? Why don't I get an error for it?
I don't think there's such a thing as an HTML/CSS error
๐ฉ
my browser telling me the html is weird, for one
like what it does for serious syntax errors, like unclosed tags
nah your browser will be like oop what's that? extra ID? i wouldn't have known if you didn't tell me!
will probably result in unexpected behavior when called in js/css
hmm
no idea
๐ 
pie will appear every 3/14 or 22/7
you will see them in those dates
@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
who said that you need to?
then whats the point of linear search lol
to determine if the value is there, not where it is
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))
yeah I know. I just thought it'd be easier to explain to him that way
But also, aren't they really the same
you can but then you get [] instead of False for the base case.
just depends on how you choose to define things.
what is this, #esoteric-python?
but also, I think understanding base cases is critical to understanding recursion
whereas edge cases are about robustness.
Thank you very much
Glad to hear
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
took me a while to realize the reason you censored it was because of "fuck"
oh
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.
is this a monologue
They're sentences. You can read them or you can not read them.
are they directed at someone?
Yes, but not you
yeah the general public reading this channel
okay, just wondering cause it looks like a convo but i cant see the other side
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
Hello and Welcome to this Tutorial.
Today I will be showing you how to use the internet, for those of you who have no clue how to use it. Most likely you know how to use it if you are watching this video, but this is a basics for those who just have no clue.
Things Covered:
- How to Type in Websites
- How to Use the Search Engine
- How to Fin...
i think i already know how to use the internet lmao
boots up edge
internet explorer
like the Tom?
I was too, honesty not crazy long ago about 2 years I quickly grew out of it but 12 yr old me thought I was the sht
Yeah, Iโve read the rules however I still rarely see foul language so it feels weird to not warn abt it
meh. apparently I don't say "fuck" as much as I thought
Lol
Iโve only like 10 times but havenโt in over like 9 months and donโt plan on it
don't plan on it
I, on the other hand, schedule my usage of swear words months in advance
you're right. I should say fuck more
Interesting, what apps do you use to keep track of youโre next redemption of a curse word?
A notion page ๐
Alright Iโll be looking into it! This is life changing
@crude boughplease, remain respectful of all community members. i'll be deleting that whole exchange since it's off topic for the channel
Yeah I'm not staying quiet when someone is condescending
if you have an issue with someone being condescending, we definitely want to know
the proper way to report that is via @vapid maple
True, will do
thank you!
Sorry for my behaviour, but I hate when people do that
Especially in a learning server
And then take a victim role
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.
Nice, the control do be flowing
Just wondering, but is there any way to compile gentoo linux in vs code? because Id feel a lot more comfortable doing so...
I agree
it's lemonade ๐น
i'll take my lemonade snow cones when I can
why don't they have a lemonade emoji 
v true
Didnโt you name this otn ๐น
no way lol
lmfao i did
impressive memory apple
unless you checked
impressively bad memory mina
ew
@raw cosmos yes, me indian 
copar
coper
umm.....
no this gif
i meant
๐
cope-r
like the word caper
nvm
lol
bru
dee's nuts
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
wht even is this?
wtf is this
an essay
wow
i got u homie, how much words
uhhh
google khol lijiye
there was no limit
?
nvm
huh
i got u homie, make ur sentence much more stupider because i can convert it into something more weirder
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)
Help hundreds of people, no one bats an eye, eat yellow snow once and you get an otn.
what
literally me
!otn a zee eats yellow snow too
:ok_hand: Added zee-eats-yellow-snow-too to the names list.
can one see the log time of a phone ? like every time it went out of battery nd turn on etc
what seems to be the problem
@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?
o_O as in, an error at runtime?
well first things first, strcat accepts a char* which is terminated by a NULL byte.
ooooh
also this
no telling what happened there.. probably nothing good
one second lemme change this
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(()),
}
}
}
}
}
thanks so much @rare moat i literally spent an hour ramming my head against a wall
no problem
C U L T U R A L O S M O S I S
i am undergoing mitosis right now
๐ณ
i am a Cell
an UnsafeCell?
damn fucking right haha
so are you goo#1 or goo#2?
yes
!code
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.
i finally found out who's in ur pfp after quite some time
Aradia or Niko?
dont forget to buy them on the counter. just to be safe
Do you guys know a good android game emulator for macos with apple silicon that wont fry my laptop?
@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
Yeah definitely
I was a bit confused at first with the OT's too haha, you'll get used to it eventually tho
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
๐
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
that's ok, you only have to abide by our #rules and #code-of-conduct
sorry i don't have the time to educate you on this, i suggest researching on your own if you wish to understand
Can some 1 help me:/
the messages disappeared from me, sorry
@frail cobalt but can you help me?
I do understand everything about it 10000%
so PyCereal_Type and PyCerealObject are not the same person?
nope
that's weird
is it? D:
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?
wtf
that's what I'm wondering about too
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
surebuddy
why do you need the & there?
or the ;
oh you're not writing in python
shame on you
this is modifying python itself
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
lmfao ur username
lol
I like this one though ๐
js is honestly not that bad
sure, it has some weird stuff, but you can write good code in it
Eye of the storm
@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
lol
@ionic locust Thanks for that, I have __len__ defined, so that's why
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
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
Oh I see
plus a lot of the "merit" that Pop!_OS supposedly had is all lies
Lies?
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
and their super special GNOME tiling extension, which is available on all distributions that have GNOME
Now I realised a lot of stuff
yes and so does like every distribution now
Hmm, so like should I switch then?
but Pop!_OS markets like they're the only one who does
Because I really don't want to
meh, that's up to you. I personally wouldn't trust Pop!_OS, though
especially with that tragic Steam thing
I give the article the read
and their weird push of non-LTS
idk if you've ever seen LTT, but they happened to do their series or whatever during that
Linus tech tips
Linus tried to install Steam and it uninstalled like all of GNOME
I know them
What the
How does that happen
I never read into it, honestly
supposedly it went on for like a whole week
people just tragically ruining their installs
I wonder if it would've been a problem on an LTS release ยฏ_(ใ)_/ยฏ
I still dunno why the heck anyone would favor non-LTS
Hmm could be
Lazy people
People still use ubuntu 16 or 14
Lazy people usually won't notice the difference ยฏ_(ใ)_/ยฏ
Well, this tempts me to change but pop!_os never gave me issues really
I've just been chilling on KDE Neon
Also pop!_os did make an article over GNOME
That they want to switch and gnome gives issues
if/when I get a new computer, I'm probably switching over to openSUSE again
They now have their own fork of GNOME called Cosmic or something
which IMO is just another horrible idea
If I ever wanted to switch, I would definitely go on garuda
the more they branch off, the less stuff will work
Or an arch based distro
Tbh, that's the only distro that has been reliable for years
I must admit I reacted with a gag, I'm sorry
Arch? No
Ah okay
Arch derived distributions? Yes
Oh so what should use then
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
What the fuc
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
Oh well
I thought garuda was good
I watched distrotube and he said a lot of good things about garuda and pop
Those are:
Ubuntu (& flavors or KDE Neon)
openSUSE Leap/Tumbleweed
Fedora (if you like GNOME, I guess)
Ah I see
oh gosh. that guy
that's another thing, too
all of the YouTubers are usually weirdos
who have like no idea what they're doing
I don't think distrotube is one them though
you might often see a lot of people joke about how awful the Linux scene is on YouTube
Yeah true
Old crappy tutorials with no proper explanation yes
hmm... nope, I think he was the guy who complained about people not accounting for fish not being a POSIX compliant shell
someone here I think tried to say that it was just a shitpost meme
but... I think he was being serious
Well here's the thing, pop!_os has never gave me issues and I have been using well over an year
for the record, /bin/sh is meant to be a POSIX compliant shell
Oh
some distros use dash, some use bash in POSIX-compliance mode
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
Lmao that's not gonna work
and he had this whole rant about it
I should be careful who I watch now then
Ah man, I just want a distro that does things and is super chill
YouTube sucks
the Ubuntu flavors are great IMO
I actually used ubuntu before
You can never go wrong with an Ubuntu flavor
But it caused me a lot of issues though
In which regard?
Yeah I did frick up stuff but I had to deal with annoying bugs
Usually you're fine if it's an LTS ยฏ_(ใ)_/ยฏ
Well, sometimes my drivers would vanish
and if your hardware isn't stupidly new
if it worked on Pop!_OS, it'd have worked on Ubuntu
Pop!_OS doesn't do anything other than plug their own stuff
About hardware, setting up nvidia was bit complicated
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
Yeah I did that
ubuntu-drivers list and then install the one you want
mhm yeah but sometimes the updates caused issues with nvidia drivers or corrupted dpkg
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
perhaps you were on non-LTS
So I decided to switch
I don't think so, but I don't remember anymore
idk how you'd have needed to update anything ยฏ_(ใ)_/ยฏ
Anyways thanks for the insight though
glad I could be insightful, I guess lol
Anyone seen matrix4 yet?
nah, but I heard it was bad
also stinky shebang
yeah the newspaper roasted it af
should be #!/usr/bin/env python3 
but i got it home thinking of watching it tho
how can u ? dont wanna ruin the nostalgia with the first epic one?
never even saw it lol
other movie i wait for is new batman it seems cool
what the actual fuzz


