#ot0-no-stealth-portals-please
3246 messages ยท Page 14 of 4
doesn't work
for your reading pleasure https://www.healthline.com/health/can-you-get-pink-eye-from-a-fart
wow
i once got itchy and red eyes
i ignored it for like a month and then went to the doctor
they applied fluorescein on my eyebrows for whatever reason
that sure did feel like pinkeye but pretty sure it isnt
eyebrows?

what language does windows 10 command prop run
anyone got some quick tutorials/articles briefly explaining how compute shaders work and their syntax
i think it was called DOS batch or smth
damn
ok so uh what's "userprofile"
"The filename, directory name, or volume label syntax is incorrect."
getting this
what os do u use @dusky inlet (just asking)
was using linux for a year but im on a different laptop rn and forced to use windows
Lol, this example from Rust docs:
fn divide_by_three(x: u32) -> u32 { // one of the poorest implementations of x/3
for i in 0.. {
if 3*i < i { panic!("u32 overflow"); }
if x < 3*i { return i-1; }
}
unreachable!();
}
bruh
Also, I've successfully applied my arcane knowledge. Behold.
left is A*, right is dijkstra
some of you might have seen me showcase it ~6months ago
my arcane knowledge? how to record a video from raw frames using ffmpeg, say.
lmao
Good morning
good morning
Python top
discord doesnt want to show me videos apparently
unless your video is just a grey rectangle
the preview looks like that for me too, but the video shows fine for me
@solid prawn is this better?
nevermind, that doesn't even embed
.mkvs don't embed, yeah
sheesh
??
to convert to mp4
what do you think I was using
oh lol
lmao
video works for me btw
same
hm it works if i open it in KMPlayer
how big is the grid
im starting to think this might be borked
Shouldn't we be able to use tags like !f-strings in #python-discussion
Wdym can't select zip file?
i've been at this for 2 hrs. could i dm u?
Sure
that's not right indeed
I wonder what's wrong with your system in particular, hmm
Hmmmm
very hmm
HSP go to bed
how about u
?
no one does
you want to do something with me in bed?? ๐ณ
hsp wait for another 5 years
now go to bed
im supposed to go to bed for 5 years??
im talking in another language that only a 5 years from now you could understand
why not may 11
Why would it be the 11th?
my bday
But my bday is cooler
Which distro?
Hmm
Have you used VIM.
I just discovered it today.
Yes
yeah i used neovim
I'm just running it out of the terminal.
"Used"?
its supposed to be run in the terminal
cant be bothered to install on windows
IDK ```py
sudo apt install vim
Wsl
cant be bothered to install that either
Lol why
and i mostly do graphic related projects, wsl is kind of useless for me
Hmm
unless its wslgui which i dont think is available rn
hmm?
cute but \๐ฉ not my thing
system32?
It's a partition I made that I named because I thought it would be funny. I still think it's kind of funny.
what is an infraction
system32 and System32 are technically different.
rally i d think so
really*
Relax it's just a wal-mart sys32 folder it's not like going to package it up and sell it for crypto.
o.o
man @oak hemlock why is Hu Tao the best coffin-selling waifu in the fucking universe
but i dont want to play
sadsuuu
C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages
!bm python site packages directory
.bm python site packages directory
Does anyone know what language most anti viruses are made in?
lower level langs perhaps (i don't mean like asm, but like C's level)
i mean, just read what category is it in and the channel topic
The channel names are mostly jokes that the staff have made and memorialized
Mmhm
Nice
Why?
Ooh nice!
Sure.
Just please don't DM me
Hey @sick olive!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
Ooh nice
Have you heard of F strings? They basically clean up your code so you don't have to use + in the print statement
Is it good to garbage collect every second
!f-strings for a general look
Creating a Python string with your variables using the + operator can be difficult to write and read. F-strings (format-strings) make it easy to insert values into a string. If you put an f in front of the first quote, you can then put Python expressions between curly braces in the string.
>>> snake = "pythons"
>>> number = 21
>>> f"There are {number * 2} {snake} on the plane."
"There are 42 pythons on the plane."
Note that even when you include an expression that isn't a string, like number * 2, Python will convert it to a string for you.
But yeah, I meant f string like this
You should, they're great.
ok
least used discord server option
wrong
:sed:
<t:139500135>
man muted like 99% of the on-topic channels lmao
Oh nice, that works.
Only the ones between bot commands
If I need to use them, I will just expand... but no need having them expanded when I don't use them
yea those are the only channels directly related to python
except pygen
i got NINGGUANG
same
well yes
bestcomboforme
I got me a Hu Tao :D
yeah 4+ stars are automatically locked
are there very lesspyro ๐ฉ
You unlock to sacrifice it
dam
the one at the bottom left ,is she good?
Yanfei?
wait bottom right
Aloy?
She's... not terrible
but like... she could be better
she's definitely viable though
also quick
rosaria or xiangling?
Depends on the team
for this
oh
lol
One moment
whom you talkin mate
I think Rosaria tbh
ok
oreo
welp. I have C6 Diona now
yesh
also what is build?
wdym
ig its the complete setup of a character equipments
weapon/artifacts
right
and different stats or artifact sets
oh wow, I can actually get a 5-star on the standard banner soon
I'm at exactly 70 wishes... so 5 more is a likely 5-star
wow
That is Genshin Impact


\๐
post a trollface, comedy achieved
- Download the (tarballed) software and unzip into a directory.
- cd to that directory.
- run "./configure"
- run "make"
- run "sudo make install" (or "sudo checkinstall", to register the software with the Debian package tool).
you probably want to use make -j4 too
single core notebook
brb, lemme install some cpu cores
single core notebook. fuck dont remind me
i really want to joke about "use" when someone says it in a sentence
@sick olive are you a swede?
yes
aha
well no, but i live in sweden
for how long
then you are a swede
no
wdym
/spawn-ed there
legally
as a citizen yes, but ethnics no
minecraft style
if someone ask in real life then would you not say swede
yup
but nationality? u swede?
oh u already answerd that nvm
he said the truth
i'm a swedish citizen yes, I have a passport. But when it comes to ethnics no, and lets not even talk about how the society looks at this
im not bothered by it
Ur norwegian why would u care? ๐
where are u from?
lol cant relate. im asian
LOL
@cursive agate i have stalked ur profile, what is chimera?
just a metaphor to describe my gender
so ur telling me that if a middle eastern/black man goes to an asian country, nobody is going to look weird at him?
well i dont. not sure about other people. i know there are racists here though.
yes
yeah. the proof that there are here is the culture and skin care products
very true especially nordic
wdym?
how does that determine racism? ๐
most skincare products are related to whitening the skin. so dumb to be honest
idek
oh shit
Are you japanese?
Filipino
Ahhh
oh, i saw alot of those billboards in Thailand
that doesnt have much to do with racism
yes
white skin is/was historically seen as a sign of royalty, commoners that worked out in the streets were tan
Racism in asia is more like xenophobia
thats where the royal blue blood thing comes from
the truth will be exposed soon
so ur saying it's ok to do that but whenever an immigrant follows their own culture and religions it's bad?
bro what
oh damn
that made 0 sense, i never said anyone should do anything
I'm speaking in general that's how people look at it
White people can do whatever they want, follow their cultures etc..
huh?
and others cant?
im so confused
But when an arab or a african does that, tables turn
Most cant, look here in sweden

If a girl walks with an hijab here, all swedes stares and cuss towards them
lmao arab countries very much follow their own traditions even if theyre sexist and backwards
i dont belive that
Man I got cussed at in the middle of hte city because i was a muslim
do you think a blond swede woman can walk around in saudi arabia?
why are you so hung up on this
I don't like arabs either but all arent like that, don't mix in the culture with religion i'm talking about hijabis
same here. I am in Mindanao after all where there is a mix between Muslims and Christians
religion is part of culture whether you like it or not
every white tourist pays double of locals in asian countries
yes? but not everywhere
no, not anywhere
nah i hate religion altogether but that is another sensitive topic i would not like to discuss
damn
I don't agree here
i dont understand, youre complaining that hijabis cant walk around freely in sweden?
because it is a valid concern.
Are you sure?
its true, everyone in nordic countries kind of despise hijabs
Then you haven't seen reality my friend
tone it back a bit
how is it a concern, i dont think i've ever seen/heard of reports of hijabis complaining about this
ever seen one getting mistreated for wearing one? i have seen muslims wearing hijabs got kicked out of a mall here you know
no basis my ass.
here where
What? Hijabis complain about it everyday?
They get treated bad
there is nothing to agree, some afro american friend that i used to play games with openly admitted he's racist against white people
because where i am, the mayor is muslim
your point being? youre not getting the full picture lol
except when someone is racist against white people, it's tolerated
what is the picture then lmao
no one bats an eye
He might not like them but I don't see it as racism since white people never has been hold as slaves and been through the same history
white people never been slaves lmaooooo
try saying that to someone irish
or greek
were you personlly a slave?
!shh
โ silenced current channel for 4 minute(s).
I'm not sure why you all think this is an acceptable topic for a python server.
Let's keep things within our #code-of-conduct.
If you want to have these types of conversations, there are plenty of other servers where it is acceptable.
!unshh
โ unsilenced current channel.
unless its not a shit post
lol 1gb ddr3 memory??? what is this laptop
an old one
same
It has 2gb ram and 120gb SSD.
@wintry copper is going to delete us
I'm asking about the ram ๐
I don't dislike religion as a concept, I dislike individuals who manipulate it to push their own agenda(s).
Believing in what you want to believe is okay, and tradition is fine, too. But I just don't like how exploited religion used to be.
And, in some places, still is.
it had an upgrade. probably could use another one. 
Ah what's the new ram?
2gb
still ddr3?
yeah
Then still a bad ram
I don't think it supports higher than ddr3
Notebook, it max is 2gb DDR3 It's very old
Ah and what do you use your notebook for? Only programming?
Pretty much.
I started learning bash and I learned to use vim. Now I'm building Python 3.10 from source.
I have a zephyrus
Oh then nvm
R9, 3060
super idol
Better than mine xD
thonkpads best
You should get one with the new intel cpu
What kind of things are you thinking of doing?
I had some other assignment to do that I forgot about
I'm not sure if it's the sunken cost fallacy talking but Emacs is a very comfortable programming environment for me
Being able to pretty much customize everything is both an advantage and a disadvantage though
which one?
@sick olive how long have you known Python?
But for how long have you been coding python
Good morning ot0
Good morning
Good morning Brad
I log on, and the dawn greets me; 'tis morning indeed
Is this going to be an issue?
Are you building from source?
looks like that
Yeah
it shouldn't be an issue
I don't have experience there, I always do the installer / apt way
I use pyenv personally
It installs but then it says python3.10 is not recognized.
How are you running it in the terminal?
add to path
Ok, looks like it works to me?
Yeah, so far it's good ๐
ew stats
If Number of Green balls in Bag C is equal to number of Yellow balls in Bag D and if 1 ball is drawn from each bag for a total of 4 balls, the probability that all of them are Red is 5/(7*594). The probability that 2 balls selected from Bag C are Green and Yellow is e/351 and probability that 2 balls selected from Bag D are Green & Yellow is f/77. What is the value of e - f ?
and not the interesting kind
Ahh this does suck
Please help guys..
is combinatorics even considered part of stats, hold up
Start by filling out the table with the probabilities they give you, then work backwards from there to determine the amounts
It is an annoying puzzle, and I haven't done this kind of probability question in close to a decade
hey what do you guys think about 2fa
Lost Ark Beta Gameplay https://www.twitch.tv/koziet
relatable
Its great
i just feel like it might be a great and easy way to lose all your accs tbh
I mean, strong password + password manager, 2fa through Google Authenticator seems like its pretty good
im confused
Guys , anybody??
well ive just heard a lot of anecdotes about people losing their accs cause they lost their phone, or because there was some bug
i just wanna know if that's reasonable or if im being paranoid
I would say you are being overly cautious
lots of equation came up but no solutions coming out of them.
It is an annoying puzzle
what would you say is the best 2fa thing to use ?
I'm a fan of (don't laugh at me) Google authenticator
uh what does it mean by c++ is a powerful programming language
Google Authenticator is nice
powerful is relative
i can say python is powerful
Python is powa! Fool
lmao
the google authenticator app on mobile?
my google authenticator UI was bugging out and showed 2 of everything. guess who accidentally but intentionally deleted one and lost access to something 
Not you \s
no not i
YubiKey for life
Just tattoo all of your passwords
lmao new tattoo every 6 weeks
Am I too zoomer to understand it?
exactly what im worried about
same
i havent even seen memento and got the reference
memento is an awesome movie
I've never heard of that movie
don't be dumb like me and don't delete your 2FA codes. also don't be dumb like me and do save your backup codes in something like lastpass or bitwarden
im more worried about my stupidity than any hackers
Did you ever see the recut someone did of it?
They had it go chronologically and it was terrible
hmmm is that me? oooooof
hm what?
I need to elevate my monitor mount, it's too low and my neck hurts
lmao no i haven't but it sounds like it would be terrible lol

i also did some very very brief research and with Microsoft Authenticator I think you can more easily setup your 2FA again as they're tied with your Msft account. I think that's not the case for Google Authenticator
yeah I think i will set it up but im gonna have to be really careful to make sure i don't accidentally put all of my accs at risk
Correct
Google's is device locked, although you can export them
But they're not synced
why is technology so awful man. why can't things just work ๐
It's better than it's ever been
For those of us who lived through the older OS times, it's much better
i mean you don't have to use 2fa
Highly recommended, though
Hi :D
just set it up on 1 account for now and get used to it
Hm
I still hate Intel. Not because I'm an AMD fan, or anything
Why the beef with intel?
Have you seen Skylake?
intel is what it is today because of the competition by amd
yeah that's not a terrible idea, use it for something i don't mind losing until i get used to it.
They milked the absolute crap out of it. And subsequently messed up their own CPUID feature.
else we would be having next gen cores in like YEARS
True on both counts
Although in fairness, one gets ahead then the other catches up, etc. Just happens that Intel is currently the one playing catchup
competition is good
I just wish they literally didn't use similar CPUID data for 3 of their successors
nvidia being ignored
Kaby Lake, Coffee Lake & Comet Lake go brrr
for the one enjoying it
Aren't the new 12th gen processers somewhat better than amd?
Intel's 12th gen seems promising based on the vids I saw come out this week
I'll still be keeping my AMD installed though
speaking of pogressors
The new i5 seems nice
yes its been a bit ahead of amd in gaming performance
i3 seems nice
i mean sort of. the issue is they're not competing to make the better product, they're competing to make the more profitable one which isn't always a good thing
10th gen i3 pogers
i think engineers and business people do enjoy it. most people like getting ahead over another. anti competitive practices are ew tho lol
Heavily multithreaded stuff is still better on amd though
But that is how businesses work
*i386
like the bedripper โข๏ธ
yeah that's my point. it's not necessarily good for consumers
Lmao
bruh
The alternative is monopoly, which is even worse
i mean isnt that the point? giving customers the most optimal satisfaction while being profitable?
it can run genshin
i mean... there's other alternatives, but like idk if those are good either
it can run people
ok nvm maybe it cant
Also, people tend to like Intel because they can use it for hackintoshing with more ease.
Without having to buy real Apple hardware^
I3 sixth gen can run genshin
i mean heard of Asahi Linux?
No
opens the minimum requirement page
Lmao
isn't it? if consumers didnt like it they wouldnt consume it, which cant be profitable
hmmm except a lot of companies try to compete by first strangling the competition. like the issue is every company is incentivised to either avoid or eliminate their competition
If you crank settings down, you'll be fine
asahi linux is a way to use the linux kernel on an m1 chip
there isnt an AMD option in the requirements page
Ah, I think I've heard of it ye
thats just bad business
They're RE-ing the M1 chip
amd supremacy
i386?
Not sure
Killing competition means easier profits, of course it makes sense to do that
I can double check later
Gotta love the classics
take streaming services for example. you might hate netflix's practices but you can't really not use netflix. sure there's billions of streaming services but they all have different shows and they're not competing with each other in the sense you can just use one.
like competition for money will inevitably lead to a lack of competition
not really.
ayo tech discussion
Maybe seventh gen?
would have loved if they would have added loop at the end of this sentence 
hmm i like ibm processors better
Time to get some Voodoo cards
Lmao
fair enough
damn tech discussion ended
there is a lot of economic reasons why monopoly is bad but i have to sleep so goodnight
lol
goodnight macro, sleep well
Gn :D
Telling someone theyre wrong and then immediately exiting the convo is a cop out but w/e i guess, goodnight
use those to mine bitcoins
sounds like speed
Instructions not clear, blazed some hash in a minute and bit into a coin
yolo, I guess
8086
lol github copilot assist while making voice assistant
is there really no way to sort the launchpad on a mac?
๐คทโโ๏ธ idk, I have never used a mac
or 'what can you do', nice
AFAIK no
well actually there might be. have you tried moving the icons around?
you can sort them by holding them
yes
and they jiggle like iphone apps
but any time you update your computer they rearrange to install date order lmao
rip
AND they always move back to 3 half pages instead of 2 full pages lol
its fucking whack
and me sitting on the pc ๐
yesterday was a bit more aggressive lol
hm
Part of me really wants to try coding stuff on one of those
Something simpler that I might be able to wrap my head around
Have fun using assembly
I do like assembly
It's like playing with legos
Very tiny building blocks that you can turn into a house or a star destroyer
ykw, ill do it
Ah yes, the classic mov eax brick
@oak hemlock you use clion, yes?
I've been using it, but for some reason, error highlighting, and linting and the like don't seem to be working
autocomplete works fine though
Use hex byte injection instead /s
amateurs, I use punch cards
Amateur, I hard code into the processor
I am the definition of logic
Or just use a normal compiler for now
For now just use gcc or clang
haha ur bots
I'm very much alive
or are you
UnExPeCtEd ReSpOnSe, ReSeTtInG
lmao
How many study breaks do you all have
We only get to use our phones during lunch
Wait what
:P
I just missed school today due to a religious excuse but we still had it
oop
Actually not 'missed', just we were out late last night for Diwali so I ended up oversleeping and now I'm going to school after lunch
our phone permissions depend on the teachers
Most teachers let you use your phone as long as they aren't instructing
Ah damn, only one of my teacher lets us use our phones when done
my middle school was a lot stricter
if they saw a phone out anywhere it was taken away
Yikes
hm, C is fun
yes, yes it is
I've been reading effective C
ono
bonk
I have a dilemma
So in 10 mins I will study ICT (1 hour)
Should I study HTML (in my curriculum but Iโm quite good at it so far)
Or the queue module (will have a 1 on 1 session on it that my teacher asked me to do but Iโm not that experienced)
pffft; I code with a magnetic disk, a needle, and a steady hand
I put my hard drive in a blender and wait until the correct program is eventually written
I have no idea why my nickname is โNicki Minajโ but Iโm keeping it like that
I let a butterfly fly around which causes vibrations in the air. The subtle vibrations eventually collide with the atoms in my hard disk allowing me to create my program.
All my programs have already been written since the beginning of time
scour the infinite universe to find a hard drive which already contains the correct program
you were my program though
lmao
๐ณ
I restart the big bang as many times as I want until chaos gets me the program I want
The one where you make a black hole do a 360 no scope with a gamma ray burst and hit earth?
In what channel do I post looking for a tutor?
I know "paid work" isn't allowed, but I'd think there would be special dispensation for tutoring
@long bay just to be clear: if you do the simple thing I just described, hackers will discover your web service, and use it 1,000,000 times per second, and then twitter will lock your account.
That's why I recommend that you somehow authenticate your users, so that only the few people you trust can use your service.
"Its best to assume that your coworkers are psychopaths who are trying to get you at every opportunity"
โ an anonymous programmer
That's infinitely more true for users
yeah cuz the users are literally the hackers
just rate limit your users
or require a password, so only ur friends can use it
maybe setup some kind of timeout system like only allow the client to send certain amount of request per hour or something? or is there better way for authernticating users, i think in browser the captcha thing could work, but iam not in the browser so not sure how
@long bay if you can manage to set up TLS, then doing "HTTP basic auth" is dead easy; just have them send a username/pasword combo, and check to see if they're legit"
it's not worth doing without TLS, though, since then that stuff would go "on the wire" unencrypted, and (in theory anyway) be exposed to anyone who can watch the data flowing.
otoh I don't know how common that attack is
bit more of a distro hopping
gotcha, aight iam gonna look into that and set that up to, thanks alot
I recommend letsencrypt with https://github.com/go-acme/lego -- that's the only thing I could figure out
works fine with python
that feeling when no virtual machines
@thorn idol @sick olive Kepp this as a souvenir
Hehe
the day we passed the red rope
@opaque finch someone just burnt the red rope, heh
I think things are back in order now, though
The day random python dysicord members definetly hacked discord and viewed admin channels
Yeah we can't see it anymore
bruh
Am I gone?
you're not supposed to be here shhhh
pfft
for all you know you aren't here
Suggest more topics here!
buy a raspberry pi
whatever is left belongs to the basket
i'll rule the world !
i wonder why do some people want to rule the world
like in movies its always the villains who want to rule the world
i could agree
because then i can overthrow capitalism and force everyone to be catgirl commies which is kinda based
unbased take -100 social credits
clearly dictatorships fail because i wasnt the dictator
thats like the one thing they all have in common ๐
lol
import numpy as np
import matplotlib.pyplot as plt
def draw_plot(*,x=None,y=None ):
if x is None and y is not None:
plt.plot(np.arange(len(y)),y)
elif x is not None and y is None:
plt.plot(x,np.arange(len(x)))
elif x is None:
plt.plot(np.arange(4),np.arange(4))
plt.show()
draw_plot(y=[1,2,3])```  good code or no
certified bing chilling moment
well this way you're being explicit which is good
Hey guys ! I'm looking to buy a new keyboard that's good for coding and gaming so sort of a hybrid, any suggestions ?
Budget is about 200GBP
no they had em in a cage
Yes
no theyre not cats
nop i got kicked in the face
I also took a picture with the baby kangaroo
and home address
NULL again
lol
Just a little while ago that was me
1234 5678 nun ya biz
And my phone number is 867 5309
imagine having a government issued ID instead of waiting for literally half a year to get an appointment for one because covid, couldnt be me
My phone number is 808-000-000 ๐
01110100 01101000 01101001 01110011 00100000 01101001 01110011 00100000 01101100 01101111 01110111 00100000 01100101 01100110 01100110 01101111 01110010 01110100 00100000 01100001 01101110 01100100 00100000 01101110 01101111 01110100 00100000 01110111 01101111 01110010 01110100 01101000 00100000 01101101 01111001 00100000 01110100 01101001 01101101 01100101
k
Nah that's my brother
lets play find the american
!e
inp = """01110100 01101000 01101001 01110011 00100000 01101001 01110011 00100000 01101100 01101111 01110111 00100000 01100101 01100110 01100110 01101111 01110010 01110100 00100000 01100001 01101110 01100100 00100000 01101110 01101111 01110100 00100000 01110111 01101111 01110010 01110100 01101000 00100000 01101101 01111001 00100000 01110100 01101001 01101101 01100101"""
print(''.join(map(lambda x: chr(int(x, 2)), inp.split())))
@hollow holly :white_check_mark: Your eval job has completed with return code 0.
this is low effort and not worth my time
lol, thanks for the re-translation Front
The best brother, โthis is low effort and not worth my timeโ
anyone who dislike java but actually enjoy writing in kotlin?
Hi mates, is there anyone who knows Emacs?
Probably a lot of people here
This server likes it a lot afaik
good to know. but no language can beat the popularity of rust in this server xd
True
i just noticed how nice the new logo is
I would not be surprised if more people in here like rust than the rust server itself
lmao true true
Yeah itโs really nice
sheesh
Hi
Hi :D
but its 3 pm
There were fireworks here, not legal ones though o_o
I did see pics of fireworks In NYC tho
nope back to sleep you
lies

oh thanks for the feedback
Yes
ono
when they use map lambda instead of list comp ๐
list comp moment
||/j||
map is pretty nice imo
list comp readability >>>>>>>>>>>>>>>>>>>>>> map lambda readability
sure, here it's convenient since map is already an iterable, but my point still holds
map(int, iterable) over [int(j) for j in iterable] imo
That looks cleaner imo, yeah
when you need an iterable, yes
but when it starts to become complex like your example above
list comp > map
how much more complex
I'll use map()s only for simpler things
nested list comps read like shit
nested maps?
^ I'd just go with a regular for loop and whatever
why would you nest maps
just
def complex_f():
...
map(complex_f, iterable)
youre all speechless i see
#esoteric-python has poisoned your minds
Which one:
from functools import partial
map(partial(str.strip, "\n"), iterable)
# or
[j.strip("\n") for j in iterable]
!e
from functools import partial
iterable = ["hello\n", "world\n"]
print(list(map(partial(str.strip, "\n"), iterable)))
@hollow holly :white_check_mark: Your eval job has completed with return code 0.
['', '']
That's better for a list-comp imo
oop
thats only better cause python is too dumb to understand map(str.strip("\n"), iterable) and so you have to use partial
not a knock on map imho
I think just do whatever's clearer for that specific thing
True
oops, I clicked enter too early
Im developing a firefox extension but when i set the path for an image it does not display anything and cannot fetch the image (display it in browser)
https://media.discordapp.net/attachments/399813072232906762/906269691704672266/unknown.png
Does anyone know how i can specify the path so it understands it right?
I was not able to find any solutions during my reserch
Any help would be apprechiated :)
guys what does 1024-bit prime mean ?
it is
looks like it yes
256 hexadecimal digits, each 4 bits in length
Iโm tired lol now realizing.Work.study,assignments etc But i have to keep studying nonetheless. ๐ฆ
Its hard both school and company
you mean 4 bytes ?
4 bits
ye, each hexadimal digit holds 4 bits of information
thus every byte can be described as 2 hexadecimal digits
I mean would b59dd795 be equal to 4 bytes in total ? so 32 bits
yes
where'd you get 32x32 O.o
cause 32 bits per each hex number (32 hex numbers in total)......
yeah, they are grouped into 4byte chunks
each of the digits is 4 bits, each of the 4byte chunks of 8digits is 32bits
we are in agreement I think
yeah , I thought you meant the whole hex number is 4 bits , thats why I said 4 bytes
Does anyone know how I can get an accurate speed test for my connection?
Different sites give me different results and some seem to slow down my upload (e.g. speedtest.net)
This is what I get on speedtest.net
while fast.com gives me a much slower speed in general
Different servers on speedtest also give different speeds that vary especially for the uplaod.
In theory the connection is 1gbps up and down but it is shared with some other people
Is there perhaps a tool that pulls files from multiple speed testing servers at the same time to prevent any slowdown owing to server/connection specific limits?
"Accurate" ends up being subjective
Those tests are accurate for the server you choose
Surely they are. What I would like is the true maximum throughput my connection supports
that's generally what speedtest.net gives you
it picks a server very close to your location, sometimes even your ISP, and measures that
which is generally going to max out your connection
Insightful
The Pinkprint Available now! http://smarturl.it/NickiPinkprntDlxExiT
Nicki Minaj - Anaconda (Lyric Video)
Buy now!
iTunes http://smarturl.it/NickiAnacondaiT
Amazon http://geni.us/NickiMinajAnacondaAZ
Google http://smarturl.it/NickiMinajAnacondaGP
Subscribe here: https://goo.gl/HKJZwr
wat
thank you
any good videos explaining basics of algebra?
You mean like... 7th grade algebra?
ig
khan academy
ok
khan academy is indeed nice
i have been challenged to implement linked lists in x64 asm
i am going to go a step further and implement linked lists that provide a method-style interface to C
I have implemented a linked list in C
wdym
like you can add/remove/etc using c?
#include <stdio.h>
#include <inttypes.h>
#include "ll.h"
int main(void) {
ll my_list = ll_new();
my_list.push(17);
printf("%"PRIu64"\n", my_list.pop());
return 0;
}
this is what i mean
lmao
trolled!
??
Using laptop for data science tasks be like...
oh my.
Where did you find such a discount lol
And what were you even buying in the first place
this is from when Unity was on the GitHub student developers pack
Ahh
so supposedly there are all these assets and you get them for free
Imagine paying for unity assets lol
all I get from this is "time to make an asian school"
oh well, can't complain about free stuff \๐ฉ
Maybe it's worth asking in #tools-and-devops
I think that's the channel that does that
Hey sorry to bother you but i have a little probleme on Sony Vegas can someone help me pls?
wait unity left the pack?
what a shame
yeah, they use sheer id or something now I think
but I have the pack from when I claimed it 6 months ago
I tried claiming both the jettbrains and the GitHub student pack, and both times I just didn't get an email
But half the time my school's shitty email system is down so maybe I just got unfortunate timing
You can use your personal email
a good majority of schools block incoming emails from outer networks
for students... not so much teachers
Ooh ok, thanks
i need really help Hey sorry to bother you but i have a little probleme on Sony Vegas can someone help me pls?
It's telling me I need to use my schools specific email for registering.
for GitHub?
\๐ค
that's not GitHub, is it?
Yep
what the
That is GitHub
Have a verifiable school-issued email address or upload documents that prove your current student status
You can do the latter, surely
I wonder if my student ID will work for that
has to be dated
Anyways I need to get going, I have a flight to catch. I'll be back in like two hours
Mine had a sticker on it showing the school year it was valid through
you can use transcripts or report cards
Alright
sounds fun lol



