#ot2-the-original-pubsta
652 messages ยท Page 77 of 1
@jovial island :x: Your eval job has completed with return code 1.
001 | AttributeError: 'Fraction' object has no attribute 'sqrt'
002 |
003 | The above exception was the direct cause of the following exception:
004 |
005 | Traceback (most recent call last):
006 | File "<string>", line 8, in <module>
007 | File "<__array_function__ internals>", line 5, in norm
008 | File "/snekbox/user_base/lib/python3.9/site-packages/numpy/linalg/linalg.py", line 2530, in norm
009 | ret = sqrt(sqnorm)
010 | TypeError: loop of ufunc does not support argument 0 of type Fraction which has no callable sqrt method
then wtf is wrong with np
idk np
i don't use np
why use np
when you can say np to np
!e
import numpy as np
from fractions import Fraction
some_ = np.array([
0.33,
0.33,
0.33,
])
print(np.linalg.norm(some_-some_))
@jovial island :white_check_mark: Your eval job has completed with return code 0.
0.0
ok
uhm so its fraction and np alright
because its fast.
sqrt(1234)
k
for being steel butt
ok:(
how fast
ignore me as well then ๐ testing out my previews https://ankithabhayan.github.io
Greetings! I'm Ankith, a 15 year-old highly interested in programming and computer science. This serves the purpose of a portfolio website that says a little bit more about me and what I do. Built using brilliant technologies like HTML, CSS and JavaScript and hosted at github pages
image went, great
not sure, but they do it in cpp, and i have big computations.
so yeah. no np to np.
ICNOIMG
the..what?
I wanna put this image https://ankithabhayan.github.io/images/preview_image.png
but..
not shown in da embed
I'm changing stuff
What's your embed
this lil preview that I'm talking about
og:image in a meta tag makes the image be displayed in line with the text
and its scaled down too, which I don't want
what I want it to look like is similar to this https://github.com
inspect element time for github.com
yes
Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are live.
tea y
I'm missing something else yet again
halp
works!
it was just the cache I guess, I didn't change anything from when I previously sent it.
congrats
When that happens, I just add question marks to my links
nothing actually
oh
yeah, it does nothing because nothing is passed through
and btw
I really like the animation in the background, how did you pull that off?
particles.js
ic
your site crashed after 100 clicks
that website is horribly implemented, I've not even worked on it in ages
clicks?
100% your fault
lemme dewit
lol ikr
I think its just a browser thing since nothing is happening when I click on it.
Well actually, the screen freezes for a fraction of a second
oh yeaa
I use Microsoft Edge
use firefox
edge's cool
bruh, come on I don't have time to argue
I just want you to use firefox to see if that's a browser thing or not
:L
Okay, it's Firefox
wdym it's firefox
so edge is the cause of that
...
hate GNOME
blome
not openSUSE
why hmm
what is that
idk, I don't really hate it... it's just objectively worse than KDE
cause it uses more resources but offers less customization
lol
the only good thing about GNOME is GNOME Boxes
KDE uses more resources
i think GNOME uses more
GNOME uses the highest
does it
yes
I thought KDE uses the most
Of modern DEs, GNOME uses the most
i am currently using 5 GB RAM
by modern there's really only GNOME, KDE Plasma, and Xfce
and i have firefox, dis and vsc open
Xfce ofc uses the least
yea ik that
ssd?
According to Task Manager, I'm using about 6 or 7 GB with the same stuff open, pretty much
yes
the ubuntu GNOME?
and GNOME 40 just looks like macOS
idk man, I'm not a huge fan of the mobile UI outside of ... mobile
my main problem with gnome is the top bar in windows
I'm using 2.5 with firefox 10+ tabs, dis, emacs, some terminals, pavucontrol, how do you use that much of ram
and the exit button etc look weird
I hate how this looks
that being said, you can change it
gnome?
If you show that to someone, they'll think it's like ChromeOS UI
GNOME 40
pop dock however beats latte dock anyday
GNOME 40
ok
lol he literally said it
ok
idk
I love how great KDE can look with some simple themes
without using as much resources
oops i forgot i shouldnt reply with ok when @hazy laurel is here
ok sure
Ubuntu would be the same
yeah
Pop!_OS is literally just rebranded Ubuntu
the only reason to use Pop!_OS is because of ootb looks
with pre installed drivers ig
everything else is objectively worse
how so
Ubuntu does the same
oh ok
Pop!_OS GNOME is heavier than vanilla GNOME
mhm
@hazy laurel btw is it worth to setup btrfs on arch?
I'd say yes tbh
just use openSUSE at that point
because snapshots might save you
yea ive been thinking about this for a while now
but it's not stable
people had some issues with it
What version of Pop!_OS are you even using @median blade?
i chose non LTS
yes and it's the default
@gentle shore Hey
hey
So, you were asking?
yes soo i know django why should i rust or should i learn it?
Well, in terms of web dev, Django is fine, it'll work, Rust just provides you an alternative. An advantage that Rust has is that its concurrent, you can create fast and multi-threaded web apps, as opposed to python, which is single threaded due to the GIL
You can write the frontend of web apps in Rust as well, with frameworks such as Yew
and in last chat you said it can do system related something what was that?
Rust is a systems language, which means you can do lower level systems programming with it
So stuff like kernel design, or writing low level drivers
Its why you can write an operating system in Rust, and not in python, since Rust can directly interface with the systems hardware and resources
oh can we make our own terminal likee thing in rust?
oh ok
A terminal emulator is just a GUI app
Rust has a decent slew of GUI libraries as well
and i heard you are much into rust than into python lol
I love programming in both of them
Rust is also statically typed, as opposed to python being dynamically typed
can rust used for dsa and problem solving?
It can, yes
But I'd prefer python for DS
Python has a much larger array of tools and libraries for that
Rust doesn't have many libraries for data science
oh ok
Its still a relatively new language
i would learn it nice to meet you btw ๐
Haha, you too
sure
For Rust?
yes
oh ok thx ๐
thx again ๐
so uh i'm stuck because i can't read C code
static int
_nc_getmouse(SCREEN *sp, MEVENT * aevent)
{
T((T_CALLED("getmouse(%p)"), aevent));
if ((aevent != 0) && (sp != 0) && (sp->_mouse_type != M_NONE)) {
MEVENT *eventp = sp->_mouse_eventp;
/* compute the current-event pointer */
MEVENT *prev = PREV(eventp);
/* copy the event we find there */
*aevent = *prev;
TR(TRACE_IEVENT, ("getmouse: returning event %s from slot %ld",
_nc_tracemouse(sp, prev),
(long) IndexEV(sp, prev)));
prev->id = INVALID_EVENT; /* so the queue slot becomes free */
returnCode(OK);
}
returnCode(ERR);
}
/* grab a copy of the current mouse event */
NCURSES_EXPORT(int)
getmouse(MEVENT * aevent)
{
return _nc_getmouse(SP, aevent);
}
this is ncurses source on getting mouse location on terminal
and i can barely read it
i hope i found the correct one
gittup.org's ncurses. Contribute to gittup/ncurses development by creating an account on GitHub.
here's the web is anyone is interested
i'll try to find in another library probably.
@maiden steeple https://open.spotify.com/playlist/37i9dQZF1DWV7EzJMK2FUI this one
boo
welcome to my world
lol
yeah, but unfortunately many sites don't support rust yet ๐ฆ
Sadge
lmfao
Help channels for python vs other languages are so funny, in another server if I go to a cpp help channel, someone is like "how can I do X", and the response is "here's 20 lines of code with variadic templates blah blah"
On here it's like "how do I do X" and someone answers have you tried "somemodule.do_x()" and then OP is like "wait you can do that?!"
lmao
Ah yes, i call this the itertools phenomenon
first day of school is tomorrow ๐
also my first time taking a programming class because my other school didnt have electives
@lofty copper why not just start with python?
oh shoot, I can talk about that here?
and well idk some people say to start with html
yes haha. not in community-meta
but I just want to know that if I start with python I won't miss out or mess up anything
ohhh alright thanks
you won't miss out on anything per se. or on the flip side, you might miss out on everything, all depends what you're aiming for
there's no fixed order that you have to learn the languages
but nothing wrong with starting with python, especially if you're learning for fun/hobby
yup if you have the desire and inclination to start out with python, nothing wrong with that. and later you can branch out to other languages (or not, up to you)
ohh alright alright
thanks, and if I want to learn another langauge after python, which one would you recommend?
i don't know any other than python (i'm a beginner) just a little bit of html/css which aren't "programming" languages in the same sense that python is. i know rust is pretty popular, others may chime in
if you're absolutely just starting out try corey schafer's beginner playlist on youtube, or for written try automate the boring stuff (free online)
oh I see, alright thanks you so much
@lofty copper any ideas for first project? :)
well, I've been in crypto for a while, so I want to make a program that updates me on prices
I think a language like Rust is a good combination with Python, it's basically two polar opposites. They're very different from each other so you cover quite a lot if you learn both of them
oh I see, and sorry for the noob question, but what else can you do with rust. What is the difference between them
Rust is lower-level, compiled, statically typed etc. Basically, extremely performant in comparison to Python, and can be used for projects that require lower-level access to hardware
With the pair under your toolbelt you can more or less do anything
It covers a very very broad spectrum
oh I see
help.
i want my bro container to get in that webpage
align to left.
but doesn't work
html code
help
container: let me in bro please bro
well your tags have no indentation
that's not the issue but it would make it a hell of a lot more readable
and CSS is devil's magic
ok
alright i added bad indentation
- margins and padding to 0
alright thanks
and did you try absolute positioning
not saying it will work, just stuff I would try lol.
worked thanks
lol
i tried absolute positioning first. it worked but the monaco-editor trolled me
and set the width to something like 5px so i can't view
this time i used chrome devtools
I bet you tried this solution more than 10 times now lol
hmm? i've not really done any css in years
That was suspicious
but yeah first things first, set * margins/paddings explicitly to 0 and then add in to certain elements later.. is what i would always do
And sad
oh yes this is the only way i know how to live life in general
lmaoo
Trying to be happy and the opposite effect I'm from future
when learning something new. in other areas where i've learned all there is to learn (work) i know exactly what result i'll get in any given scenario
great
are you telling me you learn differently ๐ค
I don't think so ๐
the bot is leaking
the base
for parsing 1001 as binary, the radix would be 2
ye
this be same as
int("1001",2) right?
ye
ye
nois
wait what lmao
its the joe revolution
lmaoo
bruhh
bruh
hey it says that a usb is write protected.
How can I undo it?
I don't want it to be write protected and I want to format it
Some drives have physical switch on them to prevent writing to. Really popular in SD cards
Either this or your USB drive controller is messed up (old/cheap drives get used up quicker, having problems with segments and sometimes the controller)
this one is the oldest usb I've ever seen ๐
would it make any difference if I told you that this is the same usb that is a has a livebootable ubuntu iso in it?
I'll take that as a no.
btw, my vacation just started today!
The content doesn't make a difference, unless you set something weird while installing it
Yea, it may be the case
rightt
You can try to format it under Linux (obviously not the one booted from it, lol), as Linux has some better tools. You can eg dd the whole thing with zeros to wipe it (works with drives corrupted by disconnecting during saving, which windows cannot run at all), but dunno about controller issues
my brother runs linux I'll ask him to format from there.
but dunno about controller issues
hmm
thanks! bye
is vscode extension updated automatically?
i have a lot of questions about how this otn came to be
it is funny ngl
let me in bro please bro
i can feel the emotioon
Nope, ot2 will never be random meme drop, because ot rules :3
i mean i can just do a meme dump.. but mods and python bot will yeet it with an infraction ._.
That's why I said ot rules prevent it~
posting 1 meme is not prohibited tho... is it?
It's also rarely in context when someone posts a meme
Yep
well not really a true 1 rep max, i have never touched 295lbs but my app says my estimated max effort rep should be 335 ๐คจ
PR? doesn't seem like pull request, you didn't request anything, you just went for it! ๐
XD
Damn that looks heavy
definitely a challenging weight for me, i usually do lower intensity work
my bones hurt watching the video

Btw looking heavy, last year company integration we had strongman type tasks (with real strongmen hosting the whole thing)
Like, our people did stuff without additional weights and stuff. And what one strongman did to show the task? Invited a person to each "bucket" on the sides
yeah they are nuts
i know of 2 strongmen, eddie hall and the guy who played "The mountain" on game of thrones
They make it look so easy
It almost takes away from how strong they are when they make it look easy. Like if you've seen the atlas ball thingies where they lift massive boulders, looks like they're just big grey foam balls
Thank you! This is supposedly my 85% of my overall max, atleast according to the app I use lol
I think its kinda rare to come across people who do strongman, because of the insane amount of calories they need to get that strong
like they easily consume 10,000+ calories a day
Yeah on that level it's a whole lifestyle rather than just a hobby
true
3 months of youtube premium https://www.youtube.com/redeem
LUW42LWSHZTY
cc required
Share your videos with friends, family, and the world.
I heard it's only redeemable in the US, I'm not sure if that's true though
what is smt you would buy thats 3d printed
i am tring to sell smt on etsy
but idk what to sell / print
samsung is telling me their terms are updated. click to accept
and i just dont click
like who cares
@sturdy relic
I can talk about copywright law in off-topic if anyone wants, just ask me there
which is best country for hosting VPN with torrent traffic leak ๐
as far my research goes, probably Netherlands?
I saw mention that this country basically hosts all famous torrenting web sites, so if caught with leak, probably nothing will be againt the law?
sharing copyrighted material is agains the law even if you dont get caught
so piracy is by definition illegal even if you do it in parts of the world where its harder to get cougth
the law does not care about if people get caugth or not, it just defines whats legal or not
so, there is no country where it is allowed then
not allowed, correct
piracy is well not allowed anywhere
it does not prevent it from existing
I wonder though...
there are companies like ExpressVPN
ofc not, its just a legal definition
they allow VPN connections with torrenting
and yet, they don't have any legal problems
a vpn is not illegal
why would they have legal problems?
but their users accidentally share their torrenting traffic
when VPN is enabled
why they don't get trouble then?
thats like blaming the road for you your car driving to fast
or blaming your car for you the human, driving to fast
the human act is what can be illegal or not
not the macines or roads we use
but VPN makes ExpressVPN servers basically looking like they are sharing the torrenting traffic
how is it distinguished from them being torrenting sharers?
that does not matter
eivl so i had a random idea... could you like hint on if its breaking tos or how to check if its breaking tos.. cause i gave the spotify api tos a brief read and 1. its painful to read, 2. worse to understand
when you the human download copyrighted material, you are breaking the law
how you do it does not matter
ask away
why? because they have good advocates, which already explained don't blame the road situation to any necessary party?
no, because the law specifies that how does not matter, only that it happens
these laws was written before the internet existed
there are very few internet centric laws in the world
so uhm there is this listen together feature for premium users.. i think it is possible to make not a pretty exact but somewhat of a similar thing? which syncs your playback externally through python/spotify api
so would trying to make such a thing be violation of any tos.. idts but since its a premium only feature bit questionable
it is not allowed to broadcast music you do not own the rights to and (important that its and here) you have the lisense for the music to use
you need both broadcasting rights, and you need to have permission for every song you play
legaly speaking
hmm no well i mean i am using the spotify app to broadcast / play
i am merely changing the song through python interface?
you cant broadcast
uh not even broadcast
if you only play for yourself, on your own computer, and you controll the selection over the spotify api, that is fine
but it needs to be the right api, and not a third party hack
its like i am controlling the python playback through another python program
some third party hacks introduce controll not present in the spotify api
but as long as its within the api, its perfectly fine
from a ToS standpoint
that also well with a consent of the user.. and through the spotify api?
so would be fine i guess right?
what would be correct one to use with python? or just rely on requests and their web api?
@jovial island portal from SO, you should open a help channel
yes, requests and their web api
ah okay.. sounds like quite a work tho lol
yes, unless they have a recommended python package in their documentation, but working with apis over the web is a nice practise
Hello? Why was I pinged?
I'm guessing that fix responded to a Stack Overflow thread of yours and is suggesting you make a help channel here (#โ๏ฝhow-to-get-help)
Oh, ok.
Let me check if the fix works first.
opened pgadmin interface for direct control of the database
and feeling nostalgic about university years.
all the last time I usually needed only ORM handling, almost never needed direct SQL
pgadmin with postgresql comes quite easy to install
quite short and ready to use docker-compose to launch, and that's it.
cool
do you
search for
vivek?
how tf did you even see that
ah its ot2
nvm
by any luck anyone knows perl?
my ($user, $password) = split;
$status = "ERR";
$user =~ s/%(..)/pack("H*", $1)/ge;
$password =~ s/%(..)/pack("H*", $1)/ge;
how is inputed data here?
trying to make a sense of db_auth plugin in squid
the plugin has in a loop this thing
$|=1;
while (<>) {
my ($user, $password) = split;
$status = "ERR";
$user =~ s/%(..)/pack("H*", $1)/ge;
$password =~ s/%(..)/pack("H*", $1)/ge;
$status = "ERR database error";
my $sth = query_db($user) || next;
$status = "ERR unknown login";
my $row = $sth->fetchrow_arrayref() || next;
$status = "ERR login failure";
next if (!check_password($password, @$row[0]));
$status = "OK";
} continue {
close_db() if (!$persist);
print $status . "\n";
}
but not really getting how I am supposed to supply user and password here
Command line arguments?
how inputed?
the plugin has mode persist that keeps connection open to db
I thought it could be launched and being in a loop forever I guess
if it would be working from CLI every time, it would not be able to keep db connection i think
Oh that's a web thing
it is one of standard plugins for squid proxy servers
My guess would be the first and second path element?
nah, already tried
root@536f60a0d7fa:/usr/lib/squid# /usr/lib/squid/basic_db_auth --debug --user postgres --password you-did-not-see-my-password-right --plaintext --dsn "DBI:Pg:database=squid;host=65.21.247.39;port=5432" test pass
DEBUG1 warn at /usr/lib/squid/basic_db_auth line 137.
DEBUG1 printCan't open test: No such file or directory at /usr/lib/squid/basic_db_auth line 237.
Can't open pass: No such file or directory at /usr/lib/squid/basic_db_auth line 237.
I guess you should try to see what split does
I was able to understand how print works. better than nothing. I can debug it at least
aha. I was able to find out
after launching the program, it just asks for
data = input()
user, password = data.split(" ")
if we will translate it to python
aah
it gives me knowledge.... how to write my own plugin for squid now
for my custom auth
I can just write it in python now
with following the same contract
lol, what
Is this a test?
nope. just a copypasta
...okay
did you seriously just redact your timezone?
Lmao
inb4 someone scans all your messages with a selfbot and estimates your timezone from your activity times
or github commit times
bruh
that'll be hard.
my active time is wide
Accidentally found out it's not that hard and surprisingly accurate. Had a light metric capture bot on a friend's server for a bit. He was into DS more than me and it was... eye opening what assumptions he could make with seemingly useless data.
math question: suppose you have a normal distribution on a circle - for example, the login times of a user (they are from 0 to 24 hours always). How'd you estimate the mean and variance of that distribution?
I... umm... I can build ways to gather the data 
I'm a totally dunce when it comes to doing actual math though. 
But just because it's a circle, wouldn't really change mapping it, would it? Just cut the circle between hour 0 and 24, lay it out on a axis, and chart the data. Then you're just doing means and variance magics.... right?
Yeah, but how? Like, suppose the real mean is around midnight. That means half the points are going to be at the beginning of a day (0 hours or so) and half at the end (23-24 hours). So if you take the mean, you'll get a mean of 12 hours, which is the wrongest answer possible.
Hmm.. I see the point. I wonder if you have to expand the hours then. instead of 24, chart it 0-168 so you have the entire week. (or 120 for a work week). I dunno, bet there's some "Oh you just use this" data science answer.
No, expanding the hours wouldn't work.. 
The solution is googling, apparently
https://en.wikipedia.org/wiki/Wrapped_normal_distribution
In probability theory and directional statistics, a wrapped normal distribution is a wrapped probability distribution that results from the "wrapping" of the normal distribution around the unit circle. It finds application in the theory of Brownian motion and is a solution to the heat equation for periodic boundary conditions. It is closely appr...
though the Parameter Estimation section seems a bit concerning
haha, I was googling as well but didn't know the terms to search for
the answer is apparently something along the lines of
Arg(mean(exp(i*time/24*2*pi) for time in times))
except that it's a biased estimator
So, short answer: von Mises distribution. Deep answer: the application of this is still just probability theory and a very tough cookie to dunk.
Freaking math... this stuff is fantastically amazing
oh, found a nice more general answer: https://en.wikipedia.org/wiki/Circular_mean
wait are you really trying to get someone's messages and grab his timezone
anyone know how download zoom recordings ?
Dunno how legal that'd be lol
lmao okay fair
you need screen recording permissions for that
An admin can grant it to you
okay thanks
@languid osprey I tried PureScript, feels like I need a PhD to use Halogen
Hello
lmao
I've been learning it, its pretty nice so far
It looks very daunting though
the type system is nice, but the ecosystem has very little documentation, and the libraries/frameworks are complicated
damn
i like bodyweight stuff
Perhaps I'm just exaggerating, or perhaps this really is the toughest workout YET! There's only one way to find out, to sit on your comfortable couch, kick back, and enjoy the vid... No, I'm kidding. This is a sensational workout and if you're up for the challenge, then try it with me! And know that you can take a break at any time, good luck :)...
this stuff is killer
oh god, i have a love hate relationship with HIIT workouts
it's great for your body and heart, but on the other hand i wanna feel like i wanna die after a HIIT workout 
i like them i find them fun
Lmfao since your pfp is blank I thought that was aboo posting it
aboo doesnt have a blank pfp 
im mining ur discord >:D
Are you on Amoled or something?
or lightmode discord? D:
That's interesting - could you elaborate?
Given minimal data on # of messages per hour, # of words in each message, and a few other seeming harmless data points tied to a user_id my friend was able to map activity surprisingly accurately. Right down to likely meal times, work hours, and sleep hours. Data sciences... I tell you... evil geniuses of our day 
That's awesome
Certainly opened my eyes a little to what I thought was harmless logging
I don't believe in 7 billions persons existing
If I knew I'd probably be in a different field of work
I never really dug into how they modeled data.
Do you have their discord? I'm going to run this over my own messages.
The discord in question no longer exists. I wrote the logs, using discord.py. It was just grabbing user_id and parsing details of the message. Active hours, if I recall, was just a list with 24 ints. Increment the # depending on the hour in UTC.
uh huh. what was their methodology though?
What was the data structure for # of words in each message, and what were the other data points?
not terminal?
damn aboo is saying "Hello" but not "Hi :D"
lol
anyways I tried to reply to you but couldn't so
lol
life is finally catching up to him and he's no longer so happy
when aboo meets moderators he feels worse
that's why
Are you saying he's a rule breaker
perhaps
oofer nanners
the years are getting to him ๐
๐
@hollow heart Hi, I was talking about taking notes, the problem is that is an Udemy programming "class"
ah so it's online
And I want to have my notes with examples, code, etc...
which course?
i think actually writing the code will probably be more productive than writing traditional "notes," so whatever tool you choose, jupyter notebook, pycharm, might be fine. i'd go with jupyter
This one
ah nvm then so not super simple
the course will probably give some guidance or recommendations on what tools to install i would think (hope)
did you already register ?
Yes, but i'll work with Pycharm in this case
And for taking notes, i'll probably use Jupyter
But my question was if is a good use to work with Jupyter for taking notes?
Or what is its principal objective?
no i feel like that's probably not gonna be beneficial really
why?
the principal objective of jupyter isn't for note taking, it's for writing and running python code
maybe the name confused you bc it's called jupyter notebook?
I know, but my idea is taking important notes with examples (code)
yeah, ok then i think you can do that
could be
but if you're also writing code in pycharm that in and of itself should become a reference tool for you to look at later
But I was looking for tutorials and I saw that is like having a notebook and a IDE in the same app
yes, do you qualify for a free educational license ? requirements are here https://www.jetbrains.com/community/education/#students i know you said you were a student but do you have like a .edu email?
Yes, I have it
So should I take notes w jupyter?
then you can get pycharm professional for free and will be able to use jupyter notebook with pycharm
i really can't definitively say yes or no, but once you actually start the class it will become clear to you the best way to proceed. you may find you don't need separate note taking at all since you're learning by doing
is this a class with exams and stuff at the end?
if not, i wouldn't really take notes tbh. when does the course start ?
I'm not sure
uhh definitely find out, it should be in the course description, but i can only was english
I can take the course whenever I want
there's no exams
ok just start the course then- usually the instructors will give guidance on what tools you need
My problem is that I don't want to create a project only for:
x = lambda a : a + 10
print(x(5))
The idea of taking notes is mine
u know
correct you would not want a project for every single thing you learn
you create 1 project directory, with multiple files within
So what should I do?
even multiple directories within
how much python have you done so far? this isn't your first time is it?
Not really
I've done a tic-tac-toe game
But i want to learn from basics to advance
so you have python installed and pycharm installed? then there's nothing more to do, start the course
Yes
and if you find that it's too beyond your skill level (like impossibly hard, and too much of a challenge), find an easier course to try. or try some more independent beginner-level projects
And how can I save class notes and examples?
Or is it not necessary
i think it won't be necessary, but you won't know until.....:...,,,,,..... you start the course ๐
So I should work with one file and writing examples on it
no you can make multiple files if you want
you should do what makes sense according to the instruction you get
I don't have an instruction
.
Not yet
by "instructions" i mean what the course teacher will tell you once you start the actual course
To conclude, I think I should take notes with Jupyter if it's necessary
what do u think?
yes ๐ please start the course and let me know after your first 3 days
i'm curious what you end up doing
Someone said "No unless if its Data Structures/algorithms class"
start
the
class.
then
you
will
know.
i promise!
Idk what I'll do
But give examples plz
For example
@errant basin When it comes to getting set up, I think it's a case of "perfect is the enemy of perfectly adequate".
paper and pencil, jupyter, etc...
So I would just use whatever tools get the job done and not worry about it too much.
The simplest thing to do would be to write code in a text editor, and take separate notes with paper and pencil.
So, finally, should I use Jupyter? or it's better to take notes with other tools
mmmmm I'll think about the possibility of use it
By all means try out Jupyter if you want to, but don't get too distracted by trying to have the perfect set up.
But is it a correct way to use it?
You need three things:
- A program to edit code in.
- A way to run code.
- A means to take class-notes that aren't code.
I suppose one benefit of Jupyter is that it combines all three of these.
But you might find it overwhelming to try to learn to use Jupyter and learn to program at the same time.
@magic atlas this is the class btw
But I think I'll have to use Jupyter, and there's no better way to learn it that taking notes, don't u think?
why taking notes depends of the class?
in my opinion, no, note taking is not greatly beneficial for learning how to code, especially in a guided class like you're trying to take
I don't see any mention of Jupyter on that course.
And yeah, I agree with this actually.
I mean, in the future if I want to work with data science
i might be wrong, you can tell me after you complete 3 days of the course. i'm very curious to hear your thoughts on this after you actually start
Oh right. I say cross that bridge when you come to it.
why
Programming is a kind of learning-by-doing subject.
bc coding concepts are learned and understood by doing & repeating
So should I don't take notes?
Yeah, I'm totally agree with u
you're not learning computer science, theory, etc. if you were, more rigorous note-taking would probably be beneficial as well as lots of reading.
Do lots of programming exercises, and use the course material itself as your notes if you need to remind yourself of something.
And actually, on the editor front, a great option for beginners is Thonny: https://thonny.org
You can move on to a more advanced editor later.
When u say course material do you mean the class' videos?
notes are beneficial yes.. but quite a lot of times the programs you write.. with good code and commenting they act as good future reference....
as for theory.. yes for theoretical parts you might need to make separate notes
I'm actually working with Pycharm
Alright ๐
Yep, and any written notes they provide.
Okey, I'll do it
Thank u guys :3
i want an update after 3 days!!! ๐ i was serious
why? hahahaha
It is a simple course hahaha
bc now i'm invested in your journey
Journey of how should I take notes
hahahahaha
!remind @hollow heart "3 days" #ot2-the-original-pubsta message
Your reminder will arrive <t:1629603515:R> and will mention 1 other(s)!
Sorry should have done:
!remind @errant basin "3 days" #ot2-the-original-pubsta message
Your reminder will arrive <t:1629603582:R> and will mention 1 other(s)!
double reminders 
wait actually i remembered to ask this.. did they add functionality of deleting python messages which are replies to non staffers from channels except help and botcommands?
we better not forget
I really need to get better at using commands 
me too :((
or make a poll ๐
I don't know. I may have deleted them manually to hide my shame ๐
well perhaps.. but i noticed it quite a few times.. hopefully no mod is mad enough at me to find all python messages to me and delete em ๐
cu guysโ๏ธ
๐
althoughO(n^n) actually grows faster than O(n!) but ok
the one you used for arrangement of 0,1 ?
?
brute forcing this Q
hmm
b
gotta give a read on big O notation again i think
random guess
ok
brrr
wot
UCO is shitbox
computer olympiad questions
i mean, in most countries they are tough
im gonna make a O(n^n) program
hmm makes sense.. the only major olympiad i have heard of of cs in india is UCO.. why is not really a computer olympiad.. pretty bad
print numbers from 1 to n^n
boi
ez n^n question
:jawdrop:
i was thinking about dynamically constructing n loops each iterating from 1 to n
nested
why am i so dumb
TypeError ;)
?
no
print(*range(1,(lambda _:_**_)(int(input()),1))
yes hsp your are always right
+ 1*
lispython
i cursed zip some more zip = lambda* _: map(lambda* __:__ ,* _)
ah yes a lambda pointer
of course
my eyes
this is the eyebleach
its the opposite of eyebleach
thanks
more like eye acid
more like eye concentrated sulfuric acid with 10% hydrogen peroxide
interesting mix
has eivl slept and forgotten to turn of discord and pycharm?
perfect for washing away evidence
mayhaps
...... too much hollywood movies?
real life experience umm, yes officer
or maybe pulling an all nighter :sad:
:sad: indeed
fuck am scared oh okay np go ahead
ok
Really? This isn't bad at all
which is why its eyebleach
WHAT DOES THIS EVEN DO
eyebleach means its pleasant to see
yes
yes
i hate integration by parts
it sucks
it must be abolished
partial fractions suck too
in case you ever wanted a zip which works exactly like the builtin zip, look no further
lol
lol ok
why the fuck would you remember that shitty ass formula
problem is the fucking schools wont accept the di method
fuck the schools
they want the formula
ye
schools dont accept l'hopital rule in exams but i abuse the ever living fuck out of that rule in competitve exams
i will even differentiate 4 fucking times to get the answer
l'hopital is bae
true
and taylor expansions are bae
using notepad for coding be like 
except for the fact i can't rember them ๐
ewwww
no eww.. use manipulation
you could've atleast used idle
worse
notepad + winterm is bae
bruh lmao imagine using manipulation when you can l'hoptial that sucker in 1 step
use idle
you can set custom themes
you must be that guy who remembers formulae when you can l'hoptial every single question
well i use lhopital too.. but manipulation gives feeling of power
no dw i dont
by all means, if you want to suffer, use manipulation
that reminds me i hate integration
who loves integration tho
on integration purely
eh well i dont like to copy.. but if its graded test i might
damn bro
honest guy? thats super rare
if its not graded who tf cares
that makes sense too
well more like i dont like doing esy things.. i have supplied a lot of answers in offline schooling
but in online just doesnt feel the same
ln(sin x)
wit
no wait
isn't it ln(cos(x))
sec right
wait
sec integral is ln(|secx + tanx|)
bruh
it is
yeah
with a mod tho
my teachers do
@Moderators
bruh due to these fucking mods there are 2 or 3 cases to solve in an equation
gotta open with a plus, gotta open with a minus
fuck mods
i cant believe my cs teacher doin 30 line code for this
what...
send that abomination pls
we gotta see it
oh nvm
bruh
ultra bruh momento
dont ask me.. school be weird
ok bai ๐
bai
post it mate
mate i am halfway through it
lmao
yeah nah yeah that's not me.
idk
no
great
i did see that
i clion
he saw nothing
i might accidentally found your face
should i delete dat nessage
i anyways had my face as dp here before a while
yeah nah im fine. I'm not much worried 'bout that.
ok
ok
annie, are you ok
is anyone ok?
no
I hate this gun, it looks a water gun lol
it is. a water gun
it isn't supposed to be a water gun
wot
it is supposed to be a water gun
Pretty sure its a water gun m8.
the actual gun got banned because unicode doesn't liek it
look at the colour and the trigger
*perhaps parents don't and they force unicode to make it water gun
it isn't a water gun on linux
and it shouldn't imo
what difference does os make here?
it is 100% intended
Originally depicted as a classic handgun, as a revolver or other pistol. In 2016, Apple switched its design from weapon to toy; other major vendors followed suit by 2018. Deprecated emoji sets or smaller platforms still display the emoji as a handgun.
blame apple
yeah its a water gun by design
so what does it look like on linux?
can't take a pic now, not on linux
@languid osprey do it
it's a water gun on linux too
since that's a discord default emoji
\๐ซ
๐ซ
vivekanand ๐ @somber belfry
interesting
it depends on your font
how do i install an emoji font
yes??? 

