#ot1-perplexing-regexing
1 messages ยท Page 231 of 1
wait
and last year
- psychology
- practical chemistry
do you do theory for sports?
we had mandatory theory lessons
well, both
everyone gets too aggressive
i have to do both anyway
School?
school sucks
lol
i want it to end
Ever heard of moodle ?
mine is gonna end soon
i have half term holliday now tho
i want to get over and done with secondary
It requires you to click submit twice before your stuff actually sends
๐ฆ
My assignment was 12 days late bc of that
sad
uhh
2
lmao
today and yesterday.
from primary to secondary?
hey so i getting an error
it looks a bit like this
wait no
it's hard when your fingers are no longer enough...
12
that is insane
a student here goes 12 years to school before he gets the permission to enter university
8 years primary, i think, and then 4 in years in secondary crap
and then 5th year coming
im in my 12th year (well technically 10th because skipping and stuff) now
speaking of fingers byte
well im in year 10
our cs teacher recently counted up to 132 in binary for us
but all together i guess its 12
i don't miss me
wat
wat
one sec
๐
my teacher counting infront of us is enough proof for me
screenshots?
well, 128+4 is no rocket science
so import error
yes?
apparently your 10th grade is equalish to our 8-9th one
judging from what you learn in math
the higher classes learn alien language
Alien language?
in my school, year 10's and 11's are divided into 7 sets
the fuck
and i have 12 * 45 min of school on tuesdays
concern
my english teacher hates my handwriting
same goes for my maths teacher
my science teacher in year 7 said that my handwriting looks like something his child wrote
But you are a child
shots fired
:P
LMFAO
Bruh you're a child until you hit 18
(or 21 depending on who you ask)
I don't fight children
import error why are you starting fights again
:v
i am experienced tank destroyer in wot
silly children
you already lost
Good thing I have training, bub
both of you could download brawlhalla and fight each other
whats a range?
i have like 5 ranges
wat is a range eh
@robust sierra block-lettering in that handwriting class?
I won't be at my desk for 40 minutes and I have throat issues
i have to hear that
But sure why not
someone press record
I CAN
No recording. :P
damn
awwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
Oh, he's chickening out
excuses
i am not
Guess I win by default then
yeaj
๐
Ist ein Huhn mit er Eiablage fertig so ist es ganz normal, dass das Huhn danach erst einmal gackert. Lustig wird es, wenn mehrere Hรผhner gleichzeitig mit der...
ยฌwill
i will sing humpty dumpty sat on a wall better than you
me
i shall be
no
no
jos?
will byte join voice htough
yes
@worn kite do you want to be part of the jury for the dance fight between import and gdude
yes
either way, this will be good.
exactly
I can spy on you if you want
k
yes please
๐ต
detective byte
I think fortnite calls for an immediate disqualification tbh
no no
You better sing a real song by the way
du bi du bi du bat du bi du bi du bat A GENT B
it's not halloween yet, you can't shoot kids in fortnite costumes
Which?
Humpty Dumpty sat on a wall
diggy diggy hole!
That's not a real song
not real enough.
it is
Pick something that actually takes some effort
โช Out now on iTunes: http://apple.co/2uVgfmL โช Amazon UK: http://bit.ly/DiggyAmazonUK โช Amazon US: http://bit.ly/DiggyAmazonUS โฅ Diggy Diggy Hole T-shirt: ht...
totally
And something that isn't a meme
haha
if youre happy and you know it?
g needs a ๐บ so he can doot his way to victory
alright, higher or lower range?
what is a range
Oh, I can pick my own
But I'll have to because my range is super weird
yes
๐
but please

CHICKEN ERROR
could you sing me a lullaby?
๐ค
oof
I won't sing you a lullaby, lol
please
They're all too simple and the ranges are bad for me
gdude's voice is strong
what the fuck is a range????
He can't sing that
Your range encompasses the notes that you can hit comfortably
no it's an iterable
Nope
why delete my german lullaby
i will sing in voice now
give me a couple minutes.
EYYYYYYYYYY
oh no i lost connection
CHICKEN
I won't be there for 40 minutes
C H I C K E N
hey its not my fault i have bad internet
CHI CKEN
join chat i will sing humpty dumpty
fkin sing
he is playing music in vc now
Figures
This is not related but it's not in my workbook either but what's the role of (POST) in the boot sequence sorry if i sound cringe lol
determine if the computer keyboard, random access memory, disk drives, and other hardware are working correctly.
it check everything
components
Ohh okay thanks!!!
POST -> power-on self test. the computer is testing itself to make sure everything's working.
probably just hardware.
i believe so.
Thanks!!
@gentle moss hi. my parents got this email today.
A little strange. but just a case of from: spoofing i think?
@sand goblet headers?
@rain spindle headers!
Sorry my parents email is 2 decades old......
The email was sent from their email
letter for letter
@sand goblet can i get you to check the header info? idk what i can show you or not tho
k
what happened?
Parents got a ransom email
"from our own account"
Pretty sure they just spoofed are email
What does return path mean?
traceback for failure to deliver
how you get bouncebacks when an email fails to deliver iirc
how
if you look in the headers you can probably find the real address it was sent from
normally they just change the "From:" field
<817641258758988590290507@dsl.pipex.com>
it's not hard if you've not got SPF etc setup
???????
gdude said that if you're happy and you know it isnt a real song :(
@rain spindle We know you is doin dirty stuff in the shower
Our knowledge spans across the world

well the shower is where you go when you're dirty
so of course you're going to do dirt related stuff in the shower
smh
exactly
woah

h
@gentle moss r167-58-126-105.dialup.adsl.anteldata.net.uy
Thats him
Sneaky bitch tbh
dial-up?
https://who.is/whois-ip/ip-address/167.58.126.116 OrgAbusePhone: +598-2604-2222 what is this?
167.58.126.116 whois lookup information.
should be pretty obvious
tell them to suck it
xd
@robust sierra send the scammer a email back ;0
Send him the same email back
With his address there instead
LOL
"I am an experienced soldier in guerrilla warfare. I have spent 10 years in the battlefield trained by the USSR. If you fuck with my boy Sharp again, I will send a nuke made from acid rain of chernobyl and take your daughter. P.S - Gender Neutral Tank Destroyer"
@rain spindle is that good?
LMAOOOOOO
I still don't have a email to reply 2
Received: from r167-58-126-105.dialup.adsl.anteldata.net.uy ([167.58.126.105])
by cmsmtp with SMTP
id EzecgEmdvIAazEzedgAEuU; Tue, 23 Oct 2018 17:35:40 +0100
whats this?
owo
memes
UwU
yes
if you're looking for the specific IP of the guy it's probably in the X- headers
if there are any
:^)
pipex still exists?
wait what are we talking about again?
uragry?
there's only so much you'll get from headers
uruguay
for example if they used web mail rather than a client
@gentle moss it comes up with internet headers in outlook
Would the x-headers be there?
Also: where did you get the email
@rough sapphire pay us $800
Pretty much
:^)
pardon the pun
well if you've got the full email just look at the "original email" or w/e
if there's information in there it's in there
if it's not, it's not
Where?
fuck sake
@gentle moss it was more (did you do somthing clever or was i stupid)
My being stupid is fine
There email is 1000 to 1 spam ratio
They just haven't got one like that before
mhm
@gentle moss ty for the help, no x-headers for me ๐ญ
X-Mailer:
X-CMAE-Envelope
Unless they are relavent
just respond with the message i sent earlier
next time i get one @rough sapphire i'm just gonna send them a picture of my dick
ยฌ_ยฌ
@robust sierra can't
whyn't?
I don't have their email
fuck
They spoofed ours
how do you spoof an email?
@robust sierra very old emails
If you've ever written a mailer in python
what is x-mailer
you'll know how easy it is to spoof emails
it's the digital equivalent of writing the wrong return address on an envelope
rather than as the gmail address
huh?
G-Suite is perfectly suitable
everyone does that
^^^^^^^^^
We have it bound to domains
@sand goblet is x-mailer useful?
so we've got a <company>mail.co.uk for automated shit
yeah, of course we want to run and manage a fucking email server
that's a barrel of laughs
:P
But you're shitting on one of the largest providers of business email services in the world
We use Google Apps for all our business
just cause you bug
It'd either be that or Office 365
Top left
doesnt mean you cant be shat on
Gotta be that gmail
@rough sapphire that friend.... what password did they say he had?
Because ours was a little 2 accurate.
Ours was a place we go alot1
@rough sapphire 5 times
XD
It wasn;t where we lived
its where we went on holiday
HIBP is very nifty
Ok
I made a checker that checks every email address for our customers
email alerts and shit ๐
I'd be surprised to find emails that aren't in that Onliner Spambot breach btw
it's fucking huge
but not all accounts have passwords
700 million addresses
the real question here is why anyone uses ISP email services
^^^^^^^
that's not true
I've seen businesses use them
like having fucking "localplumber@btinternet.co.uk"
the chairman where I work uses an eircom.net email
have some god damn respect for yourself localplumber
xD
I don't give a shit about tor
if we end up blocked in china or something we'll get an onion address
The leaked data included usernames, email addresses and passwords stored as straight MD5 hashes. why lifeboat
WHY
WHY
because it's a community service setup by people who weren't expecting to be the target of an account?
that's why
*attack
no, but it's why
omg vivaldi can stack tabs and tile them
Yup it can
Im changing
xD
have not used vivaldi since the troublesome opera beginning
You can use this to test if you're blocked in China btw: https://www.comparitech.com/privacy-security-tools/blockedinchina/
you expected a site operating out of china to be fast enough all the time?
:P
you can make the tabs at the bottom/top a bit bigger and it'll display on image of what is on that website
like a thumbnail?
@sand goblet looks like it's working flawlessly :D
yes you are the second person to share that screenshot
congrats
complain to the author of the website that worked for me not 30 seconds before I posted it
what do you work as?
boops someone on the nose with a swan
wow don't use such profanity towards a staff member mr import 
singing something simple isn't gonna win you any awards
my nursery teacher disagrees
hey g you should sing 'i dreamed a dream' in the voice of susan boyle :^):^)
juan do you like my new pfp?
dunno, ask volcyy.
@ebon quarry do you like my new pfp?
oh, he asked volcyy.
@tulip palm just lemme know
oh i actually forgot lmao
is that nixvim?
Is that gnome I see?
looks like xfce with the windows borders i use
Anyone else been experiencing weirdness with Jinja integration for pycharm?
Since 2018.2 it doesn't seem to autocreate {% %} brackets
and on any closing } for a {% %} it generates an extra }
{{ }} stuff works fine though

im thinking about hiring artist to make me a cool python graphic for some tshirts and maybe hoodies
since its winter
then i can be the coolest nerdiest kid out there hehehe
and i know no one else will have one like it
and make the online shop with django/flask
ohh i dont know if i want to sell them
but that could be a cool project to work on
i think i would use django
and then maybe give out a bunch for free or something
I would have to find the right artist who maybe is a bit of a nerd too
whattt that is so sick!
@shell blade redbubble will have some python stuff
including hoodies and t-shirts for women
it's not super cheap but probably cheaper than "hiring an artist". of course, maybe you want some special design.
@tame terrace thanks!
no problem. I kinda wanna buy some myself.
I don't have any python t-shirts
would be nice
yeah, some of them are pretty great
this one is cute too
OMG what if the discord logo was the two sneks around the discord logo.. sorta like their slithering around it
it would be easy to do since their both square like
I want {} tho
yeah i like sets and dictionaries.
what about two sneks in {} around the discord logo lol
i wish i still had illustrator and photoshop
Same
What about we replace the python logo with the node one
the node one?
Ye
uhh link please
nope wont work

this shirt is driving me crazy you dont need an else just return
just return stomach == "empty"
Thatโs bad structure
Stomach should be a Boolean to just return stomach
And to further golf it should use a one letter variable name
import antigravity
I did
You could simplify this to
return False
Itโs ordering pizza though so it should always be true
its funny because i agree to both of your statements
Woah that new quadro
def order_pizza(stomach='yes'):
if stomach == stomach:
return f'{stomach} im hungry!'
you could also do if stomach is stomach or w/e
which might be funnier i guess
now that i think about it my parameter should have been hungry defaulted to yes ie hungry='yes
that would make more sense
im really bored right now..my lord
@shell blade Depends on what type of food it is ๐ค
well we can fix that
it can't just be pizza
probably like
def starters()
def mainCourse()
def dessert()
hmmm
so many choices
thats seems like a whole meal which might be better suited to a class
Why donโt we create a meal factory that can then generate an object for each possible meal type
And then stomach should obviously follow the Singleton principle
It's late... clearly I've lost my mind doing problem sets all evening. All good though
@steel fox ooooooo good one
i had to look up singleton principle but yes that does sound nice
so freshly baked sourdough bread then a steak and to finish cheesecake ๐ค
ill post my meal factory tomorrow i gotta head out for a bit
๐
['american','african','British','Caribbean','chineese',
'french','greek','indian','italian','japanese',
'mediterranean','moroccan','mexican','spanish','thai',
'turkish','vietnamese'] fml this is only the main food types
there is thousands of food types to input
under each main catergory
im not even sure where to start my classes on this
i guess its up to me to determine depth here but if you really want a real meal engine you have have a lot of depth
i guess i really have to map this out
I guess you could do something like top 10 types of food, instead of listing every time of food possible
whatcha makin?
How do i get better at problem solving?
specifically programming problems
i know syntax but if you give me a problem it might take me a while to solve
you just gotta get good, son
make sure to have probiotics every day
and lots of fruit and veggetables
Many recommend the book think like a programmer (which seems to have a yt series as well)
I believe ive made a mistake trying to cool my burn wound with an ice cold cloth
get cold running water and run it down your burn for 10 minutes
Import error is an expert as he has some experience from his toaster experiments
yes
he's also got experience from the amount of times we've roasted him. :^)
OOF
@robust sierra start working on a project that's not super module-based
Because then your learn problem solving,, where you have all the info you need and just need to apply it
Where as problems with modules usaully involves information you don't know already
thanks
how can i add chromedriver to PATH on a pi?
either add the directorywith the chromedriver to the $PATH environment variable or put it inside a directory which is already in the $PATH variable
@tired osprey thanks, mang. how would i do the former?
you can take a look at the variable by doing
echo $PATH
you will get something like
/usr/bin:/usr/sbin.....
and either put your thing there
or
edit your /home/.bashrc and add
export PATH=/home/quesamo/mydriver:$PATH
to it
after that you will have to restart bash so it takes effect
alright, thanks a bunch 
@tired osprey sorry to bother you again, but it didn't seem to work. my problem is persisting
what did you do
i put chromedriver in the path directory like you said, then i booted up my program which requires chromedriver
but how did you do it
there are two ways i showed
did you just copy it over
or edit the bashrc
when i set that folder as PATH, the location name got combined with the other
so now it's an unholy abomination
can you maybe just send your commands + output?
two things
a) why are you having an .exe on a linux system
b) what you did will not persist if you restart the Pi only the way i described with editing .bashrc will
a) i am very new to using linux, hell if i know. guess i'll have to get the linux version
b) alright, i guess i'll try to do it that way instead
@tired osprey is there any way i can reset the path without restarting the pi?
type bash
drops you into a new bash shell
so export PATH = whatever the hell the original directory was?
it also sets the path variable
no space
typed that wrong sry
and you are currently about to break your pi session
if you want to restore your path to original set the path to the original
if you do what you are doing path is gonna be your chromedriver directory
which is not a thing you want
but i honestly don't know where the original was
it is still there
just echo $PATH
its gonna be original + yours
and then just copy the origina and set path to that
but that gives me my old, wrong one
yes as i just said
its gonna give you the original
- yours
and then you just copy the original parts from it
oohhhhhhhh
and set path to those
i get it, thanks a bunch
i gtg now
hello @tired osprey
battle of the century
github
@tired osprey yeah, that didn't work
i only use gitlab to contribute to this server
and if i need a private repo i will use gitlab too
what your guys views on multiple inheritance do you try avoid them or say fuck it
its a great tool when the situation calls for it
yeah thats how i feel but some people are totatlly against it
they don't write good code
lol
I dont like inheritance in general
I prefer a combination of functional and procedural
hi rags
im doing this code problem on codesignal and i dont know how to approach this @proper dune
Break it up into two uneven pieces, focus only on the triangle on top for now
It's easy to figure out the pattern once you see it
In fact
I'll draw it
triangle?
Once you see the top pattern, you can extrapolate for the bottom
essentially, number of blocks = (n^2) from the top + (n^2 - 2n - 1) from the bottom
So total area = 2n^2 - 2n - 1
I think
Not sure if I'm overcomplicating it but that's basically how I did it in the 1 minute I had to read over it :p
how did you get the formula? i dont understand
See the figure on the left?
It's the pattern for n = 3
I highlighted the top "triangle" and greyed out the bottom smaller triangle
I noticed that the area of the triangle expands in a way related to the square of n because you can rearrange the triangle so that it forms a square of side n
then the bottom triangle is the same triangle without the bottom row
the bottom row is 2*n - 1
so subtract that from n^2 to get the area of the bottom part
add em up
voila boom bang, problem solving
wait
wat
I think i messed up, hang on
messed up order of operations lol, it's + 1 not - 1 there since it's -(2n - 1)
2n^2 - 2n + 1
could you like.. explain this in dumb language?
holy shit
your formula workeed
but i dont understand
and im a dumb boi who likes smart puzzles?
nah, i'm older and have had more time spent on puzzles
i quite like thinking about geometry
geometry has some of the most elegant proofs in maths
soz if its not clear but the bottom middle row is the main row for n = 3
what does this say
bottom triangle same area has top triangle minus (the area of) the main row
main row is this right?
yep
how did you see that pattern so quickly??
idk
it's experience and practice like all maths
especially in things geometry related, it's a skill you have to develop to be able to "see" from a different perspective
I quickly tried a bunch of random stuff. A recursive like situation, thinking only about what's added each time, thinking about it as a square that's tilted 45 degrees, breaking it up into 4 triangles
4 triangles seemed most useful so i went with that. it was uneven so I started confusing myself. I decided 2 trangles was enough. Went on from there
what is the 2n^2 for again?
n^2 is the area of the top bigger triangle. look at the reed and green parts of the top triangle i highlighted
you can fix them together to make a square of side n, so the area of the top triangle is n^2
the bottom triangle is the top - the base row
so i added area of top twice and subtracted the base row
why is the bottom triangle top - base row?
The shape is symmetrical. I decided to keep the base row as part of the top triangle so the top triangle was a bit bigger
whats the 2n+1 for?
the number of squares in the base row is (2n - 1)
once you subtract that, it becomes -2n+1
look at the image i sent if you're still confused. it's not a complicated process, just one with a few too many steps
i understand the first three steps
bottom triangle is just top minus base row
so top + bottom = top + (top - baserow)
top = n^2
base row = 2n - 1
therefore top + bottom = n^2 + (n^2 - (baserow)) = n^2 + (n^2 - 2n + 1) = 2n^2 - 2n + 1
it's more given as a """competitive programming""" problem
Competitive programming is pretty dumb tbh. It's usually small puzzles that arent at all testing programming in any way
In fact, very similar to the content of some IQ tests and we all know IQ tests are garbage
The hugest downfall of IQ tests is they don't judge creativity
For example. Let's say, someone has a low IQ of 90 and then there's someone with a normal IQ of 98(In the US). Naturally, you would assume the average Joe would be more successful but what if that lower IQ individual has a crazy amount of creativity and the other doesn't? The low IQ individual will have much more success likely
eh creativity is a crappy term and pretty much impossible to measure
humans create weird terms to describe certain qualities that dont map well to any way the brain operates
and then create tests assuming the brain has some single "measure" of anything instead of just being an input/output box that trains itself for pleasure
Thinking skills, and creativity means much more than an IQ score. For example, Albert Einstein has an IQ of 160 which is pretty high. Why is it that throughout history there has been many people near his IQ or arguably even way higher with unmatched coverage and success?
Because Albert was not only very intelligent but a well thought out and creative person
He thought outside the box well
Albert einstein never measured his IQ lmao
why do people keep making up numbers for people who never took IQ tests
nobody with any decency or qualification assigns an IQ to someone without any test. "widely accepted" means "too popular a myth"
The reason people can do well despite high or low IQ is because IQ means squat because there is no single measure of success and success is partially luck
My chemistry teacher had an IQ of 140. Why is he just a teacher and nothing more? He's very intelligent.
he took an arrow to the brain
It's not a bad thing, but there's much more beneficial goals for yourself that you can strive for yes?
had to become a teacher
and nah, teaching is pretty rewarding
i feel pretty good when i've managed to teach someone some shit
If someone likes to teach and they make a difference in people's lives in the way they want, they are indeed pretty successful
That's a good point
a teacher is how i found programming
I found programming because I was an EPIC gamer and got bored one day and started watching tutorials
Hey man, teachers are the reason I have any success I have. They have a hard, and as shown just then, very underappreciated job. Least we can do is respect them
The entire reasons humans arent in the mud with other animals is entirely because we teach our young what we learnt
iq tests will make you morestupid
who cares about what number you get
anyways
speaking of teachers
Bragging rights
i had this one science teacher who almost burnt this kid in my class in year 8
Bragging rights depending on what you score. If it's low than it's probably a curse
she turned the wrong gas tap on
Oh hey that's smart
I couldn't see myself teaching. My mental stability couldn't handle it
I would assume anyone who brags about their IQ isnt very smart
I have a high amount of respect for teachers. In my opinion though there's much more success to be had
"people who boast about their IQ are losers" - wheelchair science guy
lol
I've met some very knowledgeable people but their brains just aren't capable of holding conversations revolved around deep thought. This guy I knew was insanely good at Calculus, very very knowledgeable but he just couldn't really contribute to a conversation
I rate success in how little work I actually have to do
What's "deep thought"? And is holding a conversation truly a valid measure of someone's ability to think "deep thoughts"? Or is it influenced by "conversational skills" as well?