#ot2-the-original-pubsta
652 messages Β· Page 82 of 1
I feel we need a topic lol
The knobs in my Jetta are really nice but they have a FATAL FLAW
car knobs are very nice
I love car knobs
Sounds like a Youtube video name
lol
the power button/volume knob has the power icon on it... And the ICON ROTATES WITH IT...
This wouldn't be an issue BUT
THERE ARE VOLUME BUTTONS ON THE STEERING WHEEL
SO WHEN YOU CHANGE THE VOLUME THE KNOB IS IN THE INCORRECT ORIENTATION
lol
it drives me insane to not have the dash on the power icon facing straight up.
It's a serious crime to touch the volume knob in my car. You can ask me to turn it up or down but touch the knob and you get hurt
Y'know I was gonna type something more, but nevermind lol
Probably a bad idea lol
I'm just now realizing that I might have some form of weird OCD with tons of things
Welcome to the club
like... thinking about it, I realize I'm finicky with so many random things
I definitely have some sort of ocd or ocpd
I will go out of my way to do all the prep at work in a very specific order
My favorite number is 2916
I feel like for me it's OCD without the O
And if I'm asked to do something out of order because we're out or something, it throws me off for the whole day
don't get me started with my powers of 2
Someone gets it
4097
OUCH
Why starting with 8?
no one likes negative numbers?
I dunno, it's just nice
8192 is like 8 GB RAM, no?
Mhm
Fuck negative numbers
I mean if you insist
well
that would be hard to do
8 Gibibytes, technically
He added the to do
adding the to do was on his to do list rofl
lol
._.
Oofer nanners
aha
nice one bro!!
thanks bro!!
I appreciate shit humor
I always think of banana wafers when people say that
I felt that pun in my 0o644
you must love my username
ugh what is 644 octal
Pfft
420
No
420 haha
Better number is 621
I don't actually use 621
speed up
Unless I'm looking for something very specific
Interesting.
wha
wha
You two wouldn't get it
If you know you know, otherwise don't look into it lol
oh yes. MSG
That's a joke too
Monosodium glutamate?
Oh yeah I remember that now

^Confused
Man I can finally breathe normally again
Hate that lingering stiffness after a night terror
Welcome to the conversation lol
enlighten me
You don't wanna know
no
no
no
No
haha funny testing
seen 4000 times
@simple snow No thanks
lol
lo
lo
Here come the mods
lo
Here come the mods
quick, stop talking about MSG
Think of the "Here comes the bride" tune
the what
Then you will see why I said it twice
Silence ensues
Come on, guys (and gals). I was having fun talking!
Bark
Murrawr
Ye
UK laws make me sad
How so?
I don't think I could reasonably live anywhere else in the world to be honest
Maybe Geneva
I'd rather got get into it, it'll get way too political if I start that Convo
Whole world is
I'll drink to that one if I could legally drink.
I got way too drunk on the 4th of July
Haven't drank since
Spent the whole day sick as a mother fucker the 5th
I had a single shot of vodka once.
Found out I'm reeeeeaaaaaaallllllyyyyyy lightweight.
Actually I'm wrong I had one drink when we had some people over a couple of weeks ago
Β―_(γ)_/Β―
I've just realized that my workstation is louder running than our 2U rack mount
That a good or bad thing?
Probably bad lol
But under load it has like 600w of heat to dissipate so
The server is only like a couple hundred
Listen. If we were a company, you'd probably be the person doing the physical computer stuff, and I'd be a fucking secretary. I don't know shit about how computers work physically, I just know some basic code.
No idea what that means lol
good stuff
I know RTX is good and the more RAM the better
Imho you should have a decent handle on what hardware is if you're a programmer
*amateur programmer
Everything is overclocked too
I don't much understand CPU specs, honestly
So more power draw
4.6ghz all core on the 5800x
Which is funny because it's actually a 0.2v UNDERVOLT
Wat about the omnipresent "Intel Inside"?
Stomks
I've got an RTX 2060 Mobile and Ryzen 4600H with 16 GB RAM
Intel is losing the CPU game pretty hard right now
the SSD is quite tiny, though... only 512 GB
they're entering the gpu market now
hope they do well there
My 400 dollar Ryzen has so far beat every single Intel CPU guy the generation it was released and the generation after
They're not going to be competitive for gaming ever
that's what everybody said about amd once...
you never know
Hell their first card can't even run a handful of games, like literally they will not even launch
It's like gt1030 performance, sightly worse, in the games it does launch
it's their first gpu cut them some slack
Intel has even stated they won't be going after the gaming market
Their market is office and business
tbh I can't exactly afford to care about specs too much
And probably ML later
And this is my cue to tune out, cause this shit's waaaaaaaaay outta my league.
The laptop I've got is probably one I'll have for years
Lol
I'm going back to bed anyway
I have to have good enough hardware to run new games at 1440p165hz
Max settings
The 3070 ti is actually just a temporary card for me
I'll be getting a 4080 ti likely
I need to bother my bf anyways.
And Goodnight to you. Don't have night terrors.
Catch y'all later
Its just impossible to get a card right now and I had the chance for it
not to flex or anything
And I was waiting but my 1070 started to die
Hi
12th gen π
their top alchemist will go head on with the 3070
and the lowest end will be near a 1650 super or soo but apparently with ray tracing support
they are...
isn't that the one with similar design to mobiles?
yes, big little design
I read design as "endian" and I don't know why
.topic
Randomπ
What exactly is a media genre
do you think flutter app is so bloated
i build a simple counter app, it takes about 10 seconds to start, takes more than 20mb ram, and a bit laggy
20 Mb is like nothing, though
i modified it a bit, it becomes a random face app, which calls to an API every time a button is pressed, i run it, it eats 100mb ram
i'm not sure i'll make a complex app using flutter
did u build it in release mode
yes
linux?
i use release build
hm
ive made a flutter app
and its pretty smooth on my computer
do u have the latest flutter
i have 2.5.0 i just downloaded it yesterday
well
desktop flutter is still in beta
but it should still be fast
maybe ur code slows it own
if ur fetching from a network are u using async to its full power?
This looks almost exactly like an application I've used but I can't put my finger on it
it looks like of like the system monitor on KDE but... GNOME
I use http to call the API, save the result to FutureBuilder and display it with Image.memory() when the request complete
hm
ive built a flutter app on linux too
and it ran pretty smoothly
this is weird
are u in the flutter server
u will probably get bettr help there
thanks
hello people and bots
Hello, am a bot
@hidden kernel what he says around 47m in, don't you find it really hard to throw away code π
even if it doesn't work or isn't the correct way to go about solving your problem
I don't anymore, but I remember the feeling of "it almost works I just need one change" and being super wrong about that
Sometimes you just need to nuke the code https://github.com/Preocts/eqcharinfo/commit/897f7b742d70bc4d3dfc9da5e6784d550bc7d5c0
what's funny is that there's a minority of noobies who will just wipe their whole file if they get like two errors in a row
nothing is wrong with my original thought process non
should start telling people to just start a new file
original.py
lol wth
I did some "work" today and eliminated an entire requirement of my project
you gotta disperse those in your other commits to make it look like you know what you're doing and not writing pages of useless code smh
347a1ac (HEAD -> main, origin/main) Enforce Python3.9 in pre-commit
b9f8249 Test for missing character
3cb9c4a Create test to load fixture
897f7b7 Destroy unused files
1f65aab Refactor characterclient into a controller
08865ec Implement len() dunder
1cddb62 Refactor LucyItemClient into controller
a05fd46 Impliment len() dunder
70c6dc0 Refactor character inventory loading to provider
1832bc4 Deleted code
2c9fbc4 Refactor fileutil
879746c Refactor Lucy item downloader/manager into provider
f37e411 Refactor file loading of Lucy items into a provider
From the bottom up you can tell the moment I realized I'd just refactored the entire database out of existence.
narrator voice And it was at that moment they realized; "Oh".
lol
But hey, the code is a lot cleaner now
git branches as epistolary storytelling
I am in awe that outlook is somehow not a correct IMAP/SMTP client
it just doesn't work
gradually forcing the support person to acnowledge that this is an outlook issue and not me failing to configure things
the funniest part is that port of the debugging process was adding it to some random mail app and that took me literally 5s
oh, there was a secret setting that needed switching to make it work
that's fun
I had similar weirdness with one vpn. Why even have a Linux client if the connection fails, while it works with exactly the same config on Windows?
I still haven't made it work. I just... Use my Windows VM for it
Previous vpn this client had didn't have Linux client anyway, so I'm used to using Windows for their vpn anyway
I want to tell the support person it worked, but IDK how to open support without the error msg
well, IG they will just live forever not knowing
lmao, maybe they'll try to improve
vpn is getting closer
wat
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
please no, i have spent all day on "one change'
wat kinda car do u have damn
VW Jetta
2020 VW Jetta... Lol
ah damn pretty nice.. didnt knew cars had that feature lol
atleast cars down here dont i think 
it's 2.0 turbo?
No that's the GLI
Or actually I think the GLI is a 1.8 on the mk7s
I have an S, 1.4T. 148hp/184lb-ft tq
6 speed manual
Quite peppy for what it is, I love the car
Best new car you can get under $20k imho
I drove basically every new car available in manual before I bought it
Buying an automatic wasn't an option for me
@somber belfry when are you going to conquer GoLang?
@mental idol hey, we had a discussion on .env files a while ago, so I figure I'd ask you.
Do you use ' or " for string literals in env files?
Single quote string literals feel like a crime
are you a cowgirl?
Soon \π
Help I think I accidentally selected all my mail and marked it as important
oh no.
how have you managed
.topic
when are you going to conquer joelang?
we need a git revert in mail π
wtf is going on with that video
lol
rip
double quotes. translates better. But in an .env I don't require quotes for my loader. Everything is assumed a string after the first = to the end of the line.
monday day to work a lot
Please leak gorilla tag mod
π¦ <- here
@reef kayak What kind of issues did you bump into?
Things like scroll speed being annoyingly slow, audio issues, and so on
Just niggling things that were annoying me
TBH I could probably deal with most of them but the scroll speed issue kills me
No way to change scroll wheel speed in regular settings
Scroll speed one is pretty painful at times. But there are a lot of tools to help fix that.
True. I tried imwheel but it didn't feel right
imwheel?
yeah, command line tool for it
I could crudely increase the scroll wheel speed but it felt off somehow
Usually you can force it with things like libinput Accel Speed
like it was accelerating far more that it should
Well, I found out that the option will appear in regular settings if I use KDE and Wayland together
And if its only one or two applications, like Firefox. There is actually spessific settings in the browser for it.
True but I would really want a global fix for it
Annoyingly, Firefox does not want to follow the standard mouse scroll and implements its own
https://wiki.archlinux.org/title/Mouse_acceleration Is a huge page for how to use xinput for it. I personally dont use wayland and dont know how to change it in that world
It should be in linux as well. But nobody has dared to touch it. Xorg is a real mess.
It kinda killed me to find that on Linux, an OS famed for its customisability, it was a pain to just change scroll wheel speed
Wayland might help it see it come trough.
Yes - Wayland + KDE apparently has it. Kubuntu has that in unsupported mode
What mouse is it by the way
The mouse driver itself might have the config setting you are looking for
Tahts the exact one i have xD
I have gotten used to PGUP and PGDN keys for fast scroll.
so I am on a warranty replacement
Mine currently has a horrible double-clicking issue
Why is this so common logitech
Yes but no.
Not warranty i can use because i moved lol
ahhh
that's a shame
Tbh I got mine replaced through Logitech themselves
so might be worth a try
I have 2 4TB drives that are dead in warranty. But they wont take it because i dont live in the same country anymore.
Tldr: Never fucking buy Toshiba.
I thought i was being smart. I didnt listen to smart people.
I once ordered an SSD
And now i have 2 of my drives dead
I got 10 in the post
in a 6 month window each
Oof horrible
fursiously silent
ono
But why.
Good Samaritan XD
Not really. Companies are pretty effing evil.
Them doing a slip up in my favor is a nice day in my book.
true but two wrongs and all that stuff
You didnt do a wrong. They messed up their ordering system.
Usually they dont even want them back because it costs too much money to check them. So its better to take the hit than to even try to sell them again.
This time they definitely wanted it back lol
Though the Amazon rep apologised for the "inconvenience" whilst trying not to laugh
Did you get anything for helping out a billion dollar company?
Yeah. Learned a lesson there
When 10 SSDs come to your door. Stay silent.
Theres rights for them not to be able to demand them back either.
They shipped it to you. So its yours.
Even if its not the "ordered" products.
People I talked to seemed disappointed I only got Β£10 back, but i didn't really do it to get a reward anyway
Companies are bad. They wont respect you or do any "good samatarin" back.
Everything they do is money and legal
So treat them the same level basically :P
Definitely could have made a nice profit by flipping them XD but eh, it's fine
Especially Amazon
You've essentially just helped out a corporation that runs LABOR CAMPS
Im just thinking about making a server with those sweet 10 SSDs
So, if anything, you've hurt a lot of people by helping them
True, but if I really cared about that, I wouldn't buy from them in the first place
Every purchase is a profit for them
Yeah you should never buy from Amazon
if it makes you feel any better, they were just regular SATA. I'll probably go NVME for my next SSD anyway
Ever
Nah i dont care about the speed. I just want that sweet "aw another harddrive crashed into itself"
And most SSD deaths just make the drives read only
lol fair enough. Yup, my SSD has been pretty solid
And not a "aw crap i dont have data anymore"
In other news. I am REALLY good at doing backups now.
ah yes
Having 2 drive failures have learned me to encapsulate my data. And not make it be relied upon for my computer.
I can literally unmount my drives right now and nothing will happen
For the moment I'm just using cloud storage
I do wonder - should I do a local backup? What's the advantage over just have a regular cloud backup
I have two copies of the data, including an offsite backup which is key if my home burns down. And I have ransomware protection through the cloud provider
Or well, i get a really angry home folder lol
But my pc still runs fine
I should write a blog post about how its set up
For what?
for my data
That is vauge, and also what would the local backup do?
Like, just document data. Let's say - data for uni studies.
and yeah, no idea why I need a local backup, but I read people say you need your data in three places, including a local backup
Like i use git for most my important repos for "backup" in the code sense. I can revert to any time if i lost anything.
I also have local borg backups to get versioned backups of the minecraft server im running. To stop greifing and corruption taking over.
And restic to get versioned push backups nightly.
I wanted to ask something
The most important thing is to know your backup system.
Flick out a laptop and try to recover without the pc.
Should I give my ip address to someone?
Make a file. Back it up. Delete it. And try to recover it.
Like there's a guy asking for it
it did mess up my folder structure once, but otherwise been flawless
Depends on why
Its a friend of mine
IP addresses are like saying "im at the cafe x in my hometown". They can send 1000 people to harass you. But you can just move to a different seat in that cafe, and theyd be none the wiser until you say that you moved to that seat.
How you move seats is usually restarting the router, or calling the ISP to ask them to do give you a new one.
Hmm
They get the general area you live in. Like city is usually the best they get for residential ips.
Best not to.
Alright thanks
Valid reasons to give out an ip is whitelisting by IP. But thats rare to do as IPs move around alot
And youd need to spessificly ask your ISP to give you a static one for that.
(Funnily enough some ask for extra payment for that)
Isnt that like a scam?
To ask for extra payment for something that does almost nothing? Pretty much.
But sometimes its just absolutely needed to have that.
What happens if a ransomware hits?
Does OneDrive have versioned writes. Or just a meme "We keep you safe" promise that can fall apart when a ransom does come around.
They have versioned history, and apparently it lasts for longer somehow if you are attacked by ransomware
I've not actually tested it though. Probably should do that
Yeah thats the kind of "uhhhh" feeling i dont enjoy about user facing backups.
When I was with Dropbox the equivalent functionality did work pretty well
In fact for more than one friend I helped get back file data using Dropbox history
But yes, will test for OneDrive
Im very annoyed that something like restic or borg style backups dont exist for user facing tools.
There are some. But not great integrated ones.
Okay so
I have triggers for backups to happen at 12am.
And i can watch my backup logs that my sleep schedule get trash this past week.
OK - just checked my OneDrive
It has version history for a month at least
so that's good
PyCharm autosaves my Python files and then OneDrive keeps a copy of that
only for a month, roughly speaking, but that's fine for ransomware attack
Move to linux. We dont really have ransomware attacks.
And then theres also a whole set of tools that can make that be pointless.
having copy on write partitions go brrr
When the scroll wheel thing is fixed, I'll reconsider XD
Authors note: Do not run a CoW system for backups. Its a sure way to nuke both your performance and corrupt your entire drive.
Authors note 2: Do not run btrfs. Its really bad for anything more than a basic filesystem.
Love the authors of btrfs. "WE HAVE THE MOST ADVANCED FILESYSTEM". but also "Please dont use any of our advanced features, it will corrupt your entire drive beyond recovery"
I expect this otn to be accurate

https://rclone.org/ Speaking of backups
Rclone syncs your files to cloud storage: Google Drive, S3, Swift, Dropbox, Google Cloud Storage, Azure, Box and many more.
@mental idol yo where are all of your roo emojis, I need an invite π₯Ί
(only if its a public server ofc)
https://www.twitch.tv/admiralbahroo Public server in the description. rooSip is the static url.
interesting
vanity invites are not case sensitive....
that means that this server also has Python pYthon, and every permutation...
Shouldn't be. I'm just used to typing 
and I forgot how to calculate that permutation
well
discord invites have been case sensitive for a while
should have expected that lmao
but er, https://discord.gg/FUc3rgTG is valid, change the case of any of those letters, and nope
I know they aren't natively agnostic. But, in my opinion, if you want case sensitivity in your URI or routes.... something's wrong. 
funky link

different member counts 
notice I didn't just link the home of the emotional pandas? 
Discord forgot how to Math
rather than making me open t-twitch
You expect me to remember how to open up a DM to someone? Bold.
i just attempted to open one π ur dms are closed
They aren't closed. Just friend requets because I'm angy egg and have no friends 
lol
The majority of pings I get in DMs are python questions so I just close them. 
lmao
Pandegg
Panda colored egg that sends panda emojis
fun fact panda3d uses a file format called .egg for 3d models
okay... OKAY... CTRL + Tab works to move through the server list on the left.....
e g g
my life is changed
π₯
and ctrl shift tab to go up
well, yeah
Do Ctrl + /
and alt left / alt right to switch political sides go back and forth (this is fairly recent)
egg
ctrl alt right to switch from dms to server
alt up / down to go up and down with channels
I do, it's just an awkward combo
I guess it's not that bad. Just not used to it
and it makes my left hand do this tiny little twist that doesn't feel right
wtf
Is that one of those ergonomic keyboards?
why is the spacebar so sma-
wait
why are ordinary spacebars so big??
Gonna mod it out this winter.
If I could buy a keyboard for myself I'd just like my keys light and snappy, like how I'm used to a laptop
So many options out there for that too @lofty loom
I never knew how useful my thumbs could be while typing before I had this keyboard.
HOWEVER.... learning to use my right thumb for space..... that took weeks
You made me notice how I don't use my right thumb for typing on physical keyboards
Only my left thumb for space
@mental idol where in the world is the spacebar?
i think i use my right thumb for the arrow keys sometimes
extreme right
right hand side, thumb
lmfao
Thumbs rest naturally on backspace (left) and space (right)
tbh those feel backwards
It's very common to remap them
Especially if you play games. Cause normally your left hand is on the keyboard and right on the mouse.
My right thumb doesn't rest on any key
It just rests on the bottom lip of my keyboard
But my keyboard has a builtin mapping tool. I can remap any key with a few presses of the functions. It's neat. The only keys I remapped though is to switch escape and capslock
That's how mine was on my standard keyboard.
Left hand did all the work. Right hand just twisted and contorted for hitting Home, End, Ctrl+Shift+Insert and all manner of unhealthy combos.
Left hand did all the work
Even typing?
well, except for typing
imagine having 2 hands
Yeah you have four hands
Fingers literally made out of fingers
If these kind of hands existed irl then I'd be pretty terrified
cya @mental idol
Night y'all 
can we use input statements in if-elif-else statement?
sure the heck can
Something about this reminds me of spiders
And I have arachnophobia :D
ohh k thanks
joy face :D
!otn a meat arms
:ok_hand: Added meat-arms to the names list.
i can try
it'll be my first code review
discord-modmail/modmail#69
that might be a little big lol
there's not much on that repo which is small right now
might want to hide the token
where?
entirely a fake token
I see
NjQzOTQ1MjY0ODY4MDk4MDQ5.342b.4inDLBILY69LOLfyi6jk420dpyjoEVsCoModM
first part is referring to the official discord system account
and well
4inDLBILY69LOLfyi6jk420dpyjoEVsCoModM memes galore
mostly a cosmetic (and very minor) thing but
would it be nice to change the first sentenc ein plugins.md
it feels weird to read
@echo flower
Modmail, in its most basic form, is simple: relay messages to and from users to staff members.
sorry i did not complete my sentence
it feels weird to read because it is in 2 files
which are linked to each other btw
docs for this pr: https://discord-modmail.readthedocs.io/en/feat-plugin-install/
A Modmail bot for Discord. Allowing safe moderator conversations with server members one server at a time.
rest of the docs are nice
hmm
after reading your plugin system i might implement a similar thing in my parser
lol which part
or like
the entire thing? π
idk ill just rip off the concept
pytest flake8, etc, all support plugins. They just do it a different way which is arguably better for your usecase
my way is built to be least user interaction, but comes at the expense of modifying the environment during runtime (very bad)
hmmmm okay
flake8 and pytest plugins are installed into the environment via a manager like pip or something
how does flake8 recognize plugins hmm
if PYTHON_INTERPRETER is None:
raise FileNotFoundError("Could not locate python interpreter.")
i wonder how this is even possible
surely you need a python executable to run the python file itself right
yes you should
worship poop
Hyper Shitty Poop
someone called
he codes in Julia so that makes sense
WHY DID THEY CHANGE THE THUMBNAIL https://www.youtube.com/watch?v=dQw4w9WgXcQ
The official video for βNever Gonna Give You Upβ by Rick Astley
βNever Gonna Give You Upβ was a global smash on its release in July 1987, topping the charts in 25 countries including Rickβs native UK and the US Billboard Hot 100. It also won the Brit Award for Best single in 1988. Stock Aitken and Waterman wrote and produced the track which w...
wait what
this is what I get
Hey
@vital crown hey I ordered meditations by Marcus aurelius it's going to be delivered today
So do u follow or believe in stoicism ?
I don't.
Oh okay
A financial technology company
Great
how do the helpers find things?
What do you mean?
The channel name - when a question is asked, how is a helper with knowledge summoned?
They're omniscient; they know when they're needed :p
(If it's a serious question, they don't get "summoned". It's just a case of browsing through the channels until they find something they can help with, so same as everyone else)
Sometimes we ask in one of our internal channels for assistance from a specific user we know is knowledgeable in the needed area of a help channel, but generally it's just a matter of perusing
@autumn hornet ^
That's interesting, but thanks.
they also have tap of knowledge water installed at their places. Usually lemon takes care of installing it at new helper's house.
The setting is very similar to Rashid Khalifa (professionally known as Shah of Blah).
The only difference is that Rashid has tap of stories installed at his place, while helpers have tap of knowledge water installed.
Hope this also helps @autumn hornet
Thanks, will drinking the Water of Knowledge turn me into the Kwisatz Helperach?
Unfortunately I am not yet fortunate to taste the water of knowledge, however some professional helper or lemon himself might answer that more accurately.
#python-discussion message
@wheat aurora ^
ya think?
Aboos made out of abonananas
aboo is a typo of abonana, which is a typo of abanana, which is a typo of banana,
conclusion, aboo is a typo of banana
looks bad
So when the server was much smaller we did 2 code jams a year. A summer one and a winter one. The issue is that in that form they didn't scale, like at all. Every single entry had a code review and the team forming process was manual. One of my big tasks stepping into the Event Lead role was to make the code jams scale-able and sustainble (i.e. don't burn out the people working on the code jam). So one of my recommendations was just to do 1 yearly one as it's quite a bit of effort both on the planning side and the participating side.
makes sense
Ah alright.
Thanks for the answer
How programming started
to punish some dickheads using security-through-obscurity
passwordless ssh login, but you need to port knock in a very spessific way to allow a connection from your ip 
That would actually be interesting
Now I wonder how I'd do that... I'd need to listen on all those ports, so it's kinda obvious that something's up with them
Then probably checking some logs or something
To finally add IP to some whitelist
The easiest thing I can think of will be just using a webserver on many ports and using one backend - I'll have the ips in one place to check the current chain of requests
passwordless ssh login but it requires port knocking, a private key, and an automated question/response audio drill akin to dialup
how's everyone tonight?
i had to pick up my dad from the train station, first time since the pandemic, and taking a different route from my usual A>B commute really messed me up and I missed an exit and made another exit too early π
feelin pretty good, hbu?
good good otherwise. work is slow and quiet bc people are ooo. it feels like the quiet before the storm
i spent most of today configuring powershell and vscode
do share
what is there to configure for powershell?
im also trying out vs code (coming from pycharm) and it feels very different
well for one thing windows put some alias over where.exe
im also relatively new to VSC, but its been pretty smooth so far
VS code is absolutely wonderful
only editor I can use nowdays, aside from emacs
but I'm rarely stuck in a terminal-only environment anymore, so emacs rarely gets touched
VS Code has enough features to be a lightweight IDE for all the languages I use...at once
i'm kinda lost in how the git stuff works in vs code
i don't think pycharm has a "staging" equivalent. or is that what they call "adding" π€
staging and adding are basically the same.
"on stage" means changes will be part of the next commit
^ VS code's git is actually pretty intuitive
i was struggling today. I hit esc :w SO many times in vscode today. My mind was just "you're in vim" mode
There are vim plugins for it, y'know
in bare git, add is a command that adds something to the staging area
okie. and if im opening projects in 2 editors as i experiment and stage/commit things in both IDEs throughout the day is that potential for disaster or should be fine?
should be fine as they go off the .git folder

Being on Discord is a relief simply to have my emoji again. Teams is so dull during work hours.
Nobody knows what rooHappy means
ive definitely not started using :emote_names: when messaging people outside discord
Teammate: We're going to need to rebuild that deploy
Me: :rooCry:
Teammate: What?
Me: That's so sad
so do roo emotes follow camelCase apparently
Twitch emotes do, in general.
whats a roo emote anyways

panda2d
@copper tartan https://www.youtube.com/watch?v=mRMmlo_Uqcs i found your alt youtube π
What I use to learn (the BEST IT training): https://ntck.co/itprotv (30% off FOREVER) *affiliate link
ππFREE Python Lab: https://ntck.co/pythonep1
Support the course: https://ntck.co/pythonrightnow
π₯π₯Join the NetworkChuck membership: https://ntck.co/Premium
**Sponsored by ITProTV
SUPPORT NETWORKCHUCK
-----------------------------------...
just have it be an unedited cut of getting a native executable of a large program using nuitka
no direct commentary, just whatever swearing you do in the process
and any monologue to yourself
"Why isn't this working? What thE FUCK. WHY DO I NEED PYTHON 3.4 DLLS?"
lol so im actually watching the video now and his justification for learning python is bc it's mentioned on various job listings, meanwhile every listing he shows also mentions perl, java and javascript oh my
he's very enthusiastic π
is integer data type abstract or concrete?
Okay but like imagine learning a language for fun lol
no wdym im learning python so i can become a millionaire in 2 years 
im learning python for world domination
i am learning python for 1 year im a half millionaire now
depends on what the term refers to in the particular prog lang tbh
int is a "concrete" type in python, numbers.Integral is abstract
Integer is abstract in julia, Int32, Int64 are concrete
I don't completely understand, what I get is primitive = concrete
in java, int is concrete and Integer is abstract?
an abstract type is mainly for defining the interface of the type, such as the names of the methods that are going to be available
how these methods are implemented is left to the concrete types
java.util.List would be an ADT, java.util.ArrayList, java.util.LinkedList etc would be concrete implementations of this ADT
I don't think that's quite correct
if you have an instance of the type java.util.List, it is guaranteed to have methods such as add, indexOf, get, etc
how these methods work under the hood depends on the concrete type you initialized your object with, an ArrayList would implement add in a different way from a LinkedList. point is, the interface remains the same
makes sense, so abstract data types are just another word for interface types (or abstract classes)?
yeah
thanks
What does abstract mean here 
Abstract in the context of computing generally refers to a thing that defines an interface but does not specify a particular implementation of that interface.
So, it's basically a black box that says it does a thing, and you can rely on it doing that thing without having to worry about how it does the thing.
It's a way to manage complexity. The thing can be super complicated on the inside, but abstraction allows you to ignore all of that and just treat it as a thing that takes inputs and spits out outputs.
It's basically an inheritance without implementation in the base class. Because base class knows nothing about how children would implement it.
Eg let's say we have a Shape class. We know every shape has area and perimeter. But each shape has a different formula for that.
Also, we don't want to have any object that's directly a Shape. Shapes know their own areas. So we want everyone to inherit from it.
You can see programming abstraction quite literally - abstraction as in existing as a concept and not physically.
Class that's not instantiable and is only to be inherited from is called an abstract class.
Method in that class that only defines an interface (ie show that this method exists) but has no implementation is called an abstract method.
In Python we have duck typing, so that we don't really have to have defined abstraction. But it helps in more complex projects.
Abstract classes are handled nicely using abc module (abc because abstract base classes, i love that acronym β€οΈ) and its abstractmethod decorators.
me who sends messages in fragments. also Nicky ^
i moved files from linux to windows, then moved them again from windows to linux, now all files become executable and folders can't be accessed from terminal, what to do now to get the files as before?
chmod -x file works, but not for folder
when I cd into the folder, it says permission denied
change owner
i had the same problem
sudo chown yourusername -R somedirectoryandfiles

-R is to recursively own people
Sudo apt windows
i kinda cheated because i had like 12 files only though
all i did was cat {file} > temp.txt && rm -f {file} && cat temp.txt > {file} && rm -f temp.txt
that also works but thats a lot of workaround.
well you are lucky to see the contents of the file
otherwise just chown it blyat
true i didnt know about chown π
still says permission denied
so i did it the only way i knew how
x permission for folder means that you can go through the folder
So all folders should preferably have x

nah i doubt. i might have messed the command
i do chmod -R 777 folder now i can cd into that folder, but folder and the contents still colored green
oh no the owner is lurkin. hide guys
lemon is now a raspberry
Because now you gave 777 to everything recursively inside the folder as well. While you wanted x only for the folders, not everything
change the contents using chmod 655
also https://chmod-calculator.com hmm
very handy
https://superuser.com/questions/91935 <- this says how to chmod only directories and only files. Use those two commands to fix files and directories separately
thanks.
weird thing is i didn't do anything, i got permission denied again π
Good ol' find
Find Good Ol
this otn is fake
@jovial island raycast
How many things called raycast are there
I count... raycast amount of raycasts named raycast
Hm
can som1 help me find the error here pls
so if I called you by your name you wouldnt answer
@vague hound If you were rude to me I wouldn't answer. Otherwise, chances are I would. My pronouns just reflect the fact that I have no strong attachment to one identification. I'm very much just me.
so you want to get called by your name or pronouns
or are pronouns names
the answer is a vague "yes". I get called by Preocts, he, him, they, and them. I even get called she or her online. Since I don't draw a hard definition, others are welcome to use what they are comfortable associating me with.
how do pronouns work
grmatically
like
Preocots likes dogs he enjoys petting them
or would it be he likes dogs he enjoys petting them
Yup. Or "Preocts likes dogs, they enjoy petting them."
Welcome.



π€£
Hello @clever barn! We saw that you have been opening and closing help channels with the message "test". Are you looking for something in particular?
hey man how did get the emoji thingy in your nickname
It is a new feature
If you look at the devops role, you'll see it has the icon itself
is the role custom made ?
That's a normal Discord role
That feature is slowly rolling out to tier two guilds I believe
Pretty sure I saw it popup as a new feature in my test server with only me and a few bots
So might be available now with the latest update
don't you need 5 boosts for it
ah, you baited me discord
lol

wow, we are down to 50 boosts
yep no use of those boosts XD
can't c in my server tho
You might need to update, pretty sure I got an update this morning and it only popped up after that
lol I got 12 updates today
Try to guess when epic gave away three months of nitro
6/11
That drop
wow
imagine going from 200 to 60 in 5 days
i'm guessing 9/14
what wsl distro should i choose
as u wish
Any
who joe
I just use Alpine
joe mama
3 months and 4 days to account for the cancellation period
sits there without cancelling their Epic nitro
imagine having money 
Imagine paying taxes 
@tribal tinsel remember the talk about generators being looped back and shit...
so guess i did some fooling around (took inspiration from tee implementation too) and here i guess i am satisfied with it ig
https://paste.pythondiscord.com/izekuluzoh.yaml if you wanna see the fuckery π
idk why i am telling this to u.. just feeling good to finally get done with this uwhieuhewih
uwhieuhewih
joe talk so deep
noted
true
hi
@echo fern regarding this, doens't python do augmenting for things like max and min?
Like, merge min/max calls into one loop?
no. possibly store them beforehand.
fairly sure not, esp. considering you can't even know beforehand if the objects in the list are comparable, or if their comparisons are deterministic, etc
python is too free to have good things π
oh i see.
i thought they may be using augmenting. for max and min too. because you know i think they do for length.
len is stored, yeah
but that's all that can be stored in general, since the objects are arbitrary
lmao
@jovial island I don't know what to think about your status message... π
π
π
6/10 actually
but people started actually claiming it more over the next couple days
Me: I shouldn't download that library/program/whatever. It's rather bulky.
Also me: Usage of /: 2.9% of 250.98GB

34.1 GB free of 931 GB I can probably put a few more games on there
nice, like keeping low cc utilization rates
hey can any1 here help me w my java homework,, level begginer really easy stuff
wait i just realized i misread you having 30gb used instead of 30gb remaining lol
lol i was just gonna let it ride
is there any truth to ssds "getting slow" if you utilize too much of the storage? if so how much is too much?
rich
bro how do u have that much storage space
i have 512 gb and i barely have any left
How can't you lift without that much space?
oh my god
my 4tb is on my server π
i did have a 1tb laptop before
but it hasnt been booted up in 2 years
and i dont know where the charger is
and it's a hdd
My manjaro on my laptop died and I have been too lazy to fix
I thought I had a 1.5tb but only seeing the 1tb and 4tb. The 1.5 was either moved to the server or I unplugged it 
Looks to me like a graded assignment 
i think they're looking for constant values of k and b
Whenever i type google in my address bar, it makes it google search which i think is very annoying. Any way to fix this?
Assuming that that is Firefox, I think you have a keyword set to the search engine
I think you can disable that in the settings by removing the keyword
β¦I think
I partly remember not being able to remove builtin search engine keywords
I didn't like that feature of google search so I switched to duckduckgo and never looked back. 
Thinking about it, I might be wrong about that being Firefox, but I think they can still disable it in the settings
That's fair
You can replace that entirely with DuckDuckGo's bangs feature
the bang search flags are amazing.
Yeah
Hello, I am new to coding and need help. I want to start with python as my first language.
As you all are experienced, can you pls tell how and from where should I learn. And what mistakes not to make
..
we live in the dark side
-Programmeers
!resources
This is a good place to start
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
ah freak i just shared same thing before 2 mins in #ot1-this-regex-is-impossible @hidden kernel
As for mistakes:
- Don't think you can't google things or ask questions, you don't need to memorize stuff
- The basic syntax is only the first step; writing code is primarily about designing algorithms
- Don't compare yourself to others too much, it's rarely productive
- Don't push yourself too hard, it's easy to burnout
- Personally I think video tutorials are a trap, I'm not convinced people learn much from them
Sorry I am new to discord also so I posted message in different groups
Thank you
it's alright π

lol
how
look at the ot name
.uwu willy wonka made a nice chocolate thingy on the chocolaty rivers
wiwwy wonka made a nice chocowate fingy on de chocowaty wivews
i ate wiwwy wonka and chawwie
evil
wtf
@Moderators sir lancebot is being evil now. keep your eyes open.
no one should eat willyπ
Hey @magic atlas
can you give me refs of how this thing works?
Like what exactly is valid and what is not?
#python-discussion message
i mean this works like this but with - it had different behaviour and with _ it gave error i think
!string-formatting
String Formatting Mini-Language
The String Formatting Language in Python is a powerful way to tailor the display of strings and other data structures. This string formatting mini language works for f-strings and .format().
Take a look at some of these examples!
>>> my_num = 2134234523
>>> print(f"{my_num:,}")
2,134,234,523
>>> my_smaller_num = -30.0532234
>>> print(f"{my_smaller_num:=09.2f}")
-00030.05
>>> my_str = "Center me!"
>>> print(f"{my_str:-^20}")
-----Center me!-----
>>> repr_str = "Spam \t Ham"
>>> print(f"{repr_str!r}")
'Spam \t Ham'
Full Specification & Resources
String Formatting Mini Language Specification
pyformat.info
We made a tag about it
oh i mean equal thing
Yes?
im used to fstring in simple use cases but i mean, this(typing)
!e
a=5
print(f'{a = }')
print(f'{a=}')
print(f'{a := }')
print(f'{a =: }')
# print(f'{a === }') invalid
@jovial island :white_check_mark: Your eval job has completed with return code 0.
001 | a = 5
002 | a=5
003 | 5
004 | a = 5
yes sir.
Oh, Bluenix has gotchu sorted.
Everything you want to know about f-strings is here: https://docs.python.org/3/reference/lexical_analysis.html#f-strings
oh i see, so format was optional and if we don't give it, we get the usual print
@jovial islandso, this is mildly odd, but placing = as the last element in an fstring gives you a = value of a. Then, you place a : after it to give it a format specifier, e.g.
a = 1.5245624352
f'{a = :.2f}' == 'a = 1.52'
```if you do `{a :=}`, then you are using `=` as the format specifier, which when given `:= ` adds a leading space. An empty format string is the default, which generally falls back to `__str__`. However `f'{a}'` does `format(a, '')`, not `str(a)`, so the output can differ
When the equal sign '=' is provided, the output will have the expression text, the '=' and the evaluated value. Spaces after the opening brace '{', within the expression and after the '=' are all retained in the output.
!e
print(format(5,''))
@jovial island :white_check_mark: Your eval job has completed with return code 0.
5
@round moss thanks a lot for help, Im kinda still confused about := case
@thorn dragon :white_check_mark: Your eval job has completed with return code 0.
001 | x = 5
002 | x/10 = 0.5
!e
@jovial island= is a format specifier as well, see
a = 10
print(format(a, '= '), format(a, '0=4'), format(a, '=3'), sep='\n')
@round moss :white_check_mark: Your eval job has completed with return code 0.
001 | 10
002 | 0010
003 | 10
honestly couldn't tell you why it works the way it does, but that's what it does
oh!!
so okay hence we gave :=
so py took = for formatter
and if we assume that = adds a space before(which can be sorted later about how)
we get 5
yup
ah i see i see makes sense. I didnt know f strings do stuff like this too!
>>> a = 10
>>> f'{a =:= 3}'
'a = 10'
```amazing
!e
a = 10
print(f'{a =:= 5}')
print(f'{a =:= 3}')
print(f'{a =:= 1}')
print(f'{a =:=}')
@jovial island :white_check_mark: Your eval job has completed with return code 0.
001 | a = 10
002 | a = 10
003 | a = 10
004 | a =10
what on Earth
wow i guess I'll need to read more on format now!
!e symmetric!
f'{8 =:= 8}'
@dusky cliff :warning: Your eval job has completed with return code 0.
[No output]
epic
just the output i wanted



