#ot1-perplexing-regexing
1 messages Β· Page 195 of 1
first time it is
its grown like weed, the trip is not at all the same
30min of being high on it felt like 50 light years for me
Good
never do it
shit sucks
yeah don't
Believe me, i wont. I wanna live thanks
i wanna try LSD but its easy to overdose on it
i dont think you can overdose on it
you can have a really really shit trip tho
i'd rather eat nattΕ
Besides, one, im still pretty young, and two, i dont exactly wanna get arrested
The bean thing?
don't get curious
fermented stringy soya beans that taste like absolute shit
Thought so
the smell could bring the tuffest people to tears
The only thing im curious about is whether my brain will allow m e to have a good idea within the next 8 minutes
What are you working on anyway?
Sokoban
our of curiosity, how old are you?
im also 16 and i wish i hadnt been drugged
Ah
yeah i didn't do it willingly, the withdrawal is just painful
Just incase you dont know what sokoban is. Blockpushing game :3
withdrawal suuuucks
ive been clean for 4 months now, no urges since it felt like shit anyway
yeah i had no idea π
Well, the more you know :3
tell em big bro
Ellie == do_sleep[at_time[now]]
Bye folks, i am beyond exhausted from having to think today. I need to energy. Baii
Byee
I love sokoban
Interesting
Nothing
Different skids write different scripts that fetch channels in different orders
Just depends on whos malware is working better on a given day
honestly we should purge the server
regardless of whether these skids are already in here or just join to get banned
But that would purge you too
oh
you only want to purge the ones you consider undesirable
I read purge as purge EVERYONE
This way lies madness.
Its not like there are that many examples of this
nicotine or no nicotine is the question
The answer is no
just wait till we get viruses which extend themselves to bypass av regularly
That's already here
nice xD
so in the end the better ai wins who is better the ai of the defender or the ai of the attacker
@carmine apex do u support islamic republic
i support a relatively innocent country being attacked without a valid reason.
so, in terms of the war, yes
"relatively innocent" π
i am iranian, and i don't support islamic republic because of this year's January protests where they did terrible terrible stuff and because generally they're violent towards their own citizens
IR is NOT innocent
but i am not gonna talk more about this
just letting u know they did pretty terrible stuff
the war is not about the protests
it's about removing IR and oil
the people attacking iran do not care about those killed during them
Is it the best place for these topics?
the Very controversial facts are still being heavily debated
it only reveals ideology to talk about this subject, since there isn't a coherent Universal sense of what going on
it's also a python server
not the local pub
this is a dry server
we are also SRP
single responsibility principle
this is a python server but we are in the off topic channel, but i agree that political debate can get heated
and boring
matter of perspective
python is fun
i mean politics would be interesting for u if it also was a matter of life or death for you or your family π
Do you really want to argue about your situation with a 13 years old across the world?
They know nothing about your situation, your life or your struggles
honestly the less people support IR the better
It will bring nothing to you other than frustration
Plus this is a python server where people could collaborate on making the world a better place
You won't change their mind nor will they change yours
so might as well focus on making the world a better place
dude what is making you so grumpy
xD
is age a requirement to know something about the world
what makes me grumpy?
it does correlate
The same way travel expands the mind
yeah but it's a logical distortion
like you cannot say because somebody is 13 somebody doesn't know a shit about the world
why not?
Knowedge requires experience. Experience needs time in which to happen. The more time, the more possibility for experience. Some people have a lot of experience in a short amount of time, some people ave an average ratio, some people have very little in a long span.
because it is not a requirement
they are 13. They don't know shit about the world
like you said it only correlates
man i wish i would be able to remember inductive and deductive reasoning definition
it's logical not correct
to assume that they know shit because they are 13
because knowledge can be acquired at any age
what is bro talming about
have you tried to have a 1 year old baby acquire knowledge about the struggles of the working class of Egypt?
And to compare it with the historical struggles of people of Syria?
On the balance of probabilities, it is reasonable, though not entirely safe, to assume that a younger person has less experience.
ok any age was wrong of me let's say from 5 away
why 5?
what about 4 years old and 11 months?
Mozart.
because the brain is developed and i dont wanna look up the age when children start to speak
5 was just a shortcut
are you saying that there is no brain development when you are a 2 months old baby?
why do you hate babies?
sure but man if you cannot speak it is almost impossible to keep theoretical information
but you do have non-verbal adults that can keep theoretical information
so why not?
you are right man xD
as someone said earlier:
:
it's logical not correct
you have to be somewhat arbitrary with humans
theoretical not but it's advantageous to stay objective as programmer a lot of times i guess
otherwise if conditions won't create pleasure xD
objective is not opposed to arbitrary

you are right arbitraty is the right word here
not objective
or i guess both works
idk xD
either way, a 13 years old will lack the experience and maturity to put many things into context
trying to compare them to adults is weird
creepy even
sure
depends on the schools
the schools r bad
the generality here is useful
not really
yo can someone tell me what the issue is π
should i try using f string properly
why is this not working then print(f"-, {skill1}, ({level1})")
bro what how is this a syntax error
π
Look at the line above.
Keep looking at line 13 until you, well, I was going to say until you see it.
Because it's thinking that line 13 isn't finished yet.
also how am i meant to interpret this?
So it's going along line 14 and going, hang on, this is wrong for what this stretch of code is doing.
i thought python checks line by line, wouldnt it stop as soon as its sees an error on 13?
It's just one of those little quirks you learn to look out for.
It makes sense to the interpreter logic.
I dont understand it
im trying to replicate this
maybe the spaces are the issue
and ,
When sending text, it's generally helpful to send it as text, not as images.
how can i do that?
or wait
just like this
hello
!code
With or without the py as appropriate.
While asking for help here is fine, you can also ask in the #python-discussion channel, or, often as is ideal, your own help post. #βο½how-to-get-help.
Correct.
Please provide the target text as text. Then provide your code as text.
target: Sample output
my name is Tim Tester, I am 20 years old
my skills are
- python (beginner)
- java (veteran)
- programming (semiprofessional)
I am looking for a job with a salary of 2000-3000 euros per month
mine: my name is Tim Tester, I am 20 years old
my skills are
- python (beginner)
- java (veteran)
- programming (semiprofessional)
I am looking for a job with a salary of 2000 - 3000 euros per month
Using the triple backtick formatting, please.
is that the code format?
hi
Yes. But the py can be omitted for non-code.
rightio
my name is Tim Tester, I am 20 years old
my skills are
- python (beginner)
- java (veteran)
- programming (semiprofessional)
I am looking for a job with a salary of 2000-3000 euros per month```
my name is Tim Tester, I am 20 years old
my skills are
- python (beginner)
- java (veteran)
- programming (semiprofessional)
I am looking for a job with a salary of 2000 - 3000 euros per month```
name = "Tim Tester"
age = 20
skill1 = "python"
level1 = "beginner"
skill2 = "java"
level2 = "veteran"
skill3 = "programming"
level3 = "semiprofessional"
lower = 2000
upper = 3000
print(f"my name is {name}, I am {age} years old")
print("")
print("my skills are")
print(f"- {skill1} ({level1})")
print(f"- {skill2} ({level2})")
print(f"- {skill3} ({level3})")
print("")
print(f"I am looking for a job with a salary of {lower} - {upper} euros per month")```
wait i think i fixed it
yup got it
thanks for the help though
The -
Missing spaces.
If it helps, you can use docstrings / multiline strings.
Saves you from using a bunch of print calls.
!e py print(f""" Hello, world. Goodbye. Hello, again. Goodbye, again. """)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 |
002 | Hello, world.
003 | Goodbye.
004 | Hello, again.
005 | Goodbye, again.
Oh, no. A space and a newline. Whatever shall I do?
!e py print(f""" Hello, world. Goodbye. Hello, again. Goodbye, again. """.strip())
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | Hello, world.
002 | Goodbye.
003 | Hello, again.
004 | Goodbye, again.
I feel that there must be a nicer way of doing that.
is this a good way of writing it? x = 27 y = 15 print(f"{x} + {y} = {x+y}") print(f"{x} - {y} = {x-y}") print(f"{x} * {y} = {x*y}") print(f"{x} / {y} = {x/y}")
how do you do that π
oh wait
Do what, specifically?
yeah just with """ sorry
Mm.
is using """ better than " and spliting lines each time
Do whatever looks the most readable and conventional and neat.
The overall aim is to write "Pythonic" code.
Sometimes what that means can be different things to different people, but we tend to converge toward a general direction of consensus.
It's not terrible.
better? x = 27 y = 15 print(f"""{x} - {y} = {x-y} {x} - {y} = {x-y} {x} * {y} = {x*y} {x} / {y} = {x/y}""")
A space on either side of an operator is typical.
!e x = 27 y = 15 print(f"""{x} - {y} = {x-y} {x} - {y} = {x-y} {x} * {y} = {x*y} {x} / {y} = {x/y}""")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 27 - 15 = 12
002 | 27 - 15 = 12
003 | 27 * 15 = 405
004 | 27 / 15 = 1.8
it does when i print
I meant in your code.
Yes.
what differnce does it makes if you dont mind me asking
It does not, but be consistent.
like if someone read my code
would having spaces
be better?
or is it a waste of time adding them
Generally speaking.
alright
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
- PEP 8 document
- Our PEP 8 song! :notes:
I expect there's an entry in here about it somewhere.
is wiring it like this better print(f""" {x} + {y} = {x+y} {x} - {y} = {x-y} {x} * {y} = {x*y} {x} / {y} = {x/y} """)
where u seperate the ''' from the string
or no difference
You know, looking at the PEP8, I don't see anything explicit about math operators just like this, but there is an example of slices which would seem to suggest that eliminating spaces before and after math operators may be okay in some situations. In an f-string wouldn't be the worst place for it.
I'm just suggesting it can potentially be cleaner looking. You'll have a leading empty line and a trailing newline in that string, though.
That's why I used str.strip, which is a little filthy.
Because ideally I should be writing the string in a way that is both clean and in a way that makes good code sense.
what is str.string?
str.strip is a functionality that is attached to strings.
!e py text = " abc def " print(text) print(text.strip())
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | abc def
002 | abc def
Or, if I use different characters instead to represent the spaces.
!e py text = "___abc___def___" print(text) print(text.strip("_"))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | ___abc___def___
002 | abc___def
does kt just remove spaces at the start
str.lstrip would
str.strip does both ends
It's removing whitespace by default.
So spaces, tabs, newlines, etc.
You can always just eat having it likepy """abc def ghi"""
But ew.
{x} + {y} = {x+y}
{x} - {y} = {x-y}
{x} * {y} = {x*y}
{x} / {y} = {x/y}.
strip(" ")")```
Specifics matter.
wdym spesifics
if i spesify " " wouldnt that remove the space at the start and end?
In programming, if we spell something incorrectly, or use the wrong syntax, things don't work.
Specifics.
Where does your string end?
ok i got it
but
it prints as 27 + 15 = 42 27 - 15 = 12 27 * 15 = 405 27 / 15 = 1.8. strip(" ")
Watch where you're putting your " marks.
prints but still with the space at the start
27 + 15 = 42
27 - 15 = 12
27 * 15 = 405
27 / 15 = 1.8
By default, str.strip removes whitespace. If you explicitly override that, it may not.
print(f"""
{x} + {y} = {x+y}
{x} - {y} = {x-y}
{x} * {y} = {x*y}
{x} / {y} = {x/y}""".
strip(" "))
so any way to fix
.
Newline is among the whitespace characters.
it isnt removing the newline tho
As is space.
Which can happen if you...what?
.strip() removes all whitespace chars in the ends iirc
oh shit that worked
i just had to remove the " "
cheers
perfect
Because that was telling it to remove only spaces from the beginning and the end of the string.
yeah
By removing the " " from inside the str.strip call, it defaulted back to whitespace characters instead of " ".
I'd put the strip on line 8.
ok
Or move down the second """
or what about print(f""" {x} + {y} = {x+y} {x} - {y} = {x-y} {x} * {y} = {x*y} {x} / {y} = {x/y} """.strip())
I don't know. It's how I often deal with the problem of vertical stretches of user-facing text written in my modules, which is a bit fraught to begin with.
yeah fair
print(f"""\
{x} + {y} = {x+y}
{x} - {y} = {x-y}
{x} * {y} = {x*y}
{x} / {y} = {x/y}\
""")
```is also possible
Ooh, I like that.
!e py x, y = 1, 2 print(f"""\ {x} + {y} = {x+y} {x} - {y} = {x-y} {x} * {y} = {x*y} {x} / {y} = {x/y}\ """)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 1 + 2 = 3
002 | 1 - 2 = -1
003 | 1 * 2 = 2
004 | 1 / 2 = 0.5
That's better.
So an escaped newline actual is basically null?
Is that what's happening?
!e py print(len("""\ """))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
0
Hm.
Backslash at the end of the line in python has a special meaning, it's not just inside strings.
I think so, it works like this in normal code, and I don't know about any "backslash+newline" escape - escape sequences are all just visible ascii
I suppose you'd have to lift up the hood on the tokeniser to get an idea of what's actually going on, but line cont makes sense.
I knew about it, of course, but I never really thought about it in the context of an open string.
Oh, no...
!e py print("abc\ def\ ghi")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
abcdefghi
Yep, it's line cont.
@timber otter
Soph has suggested an improvement.
!e py if 1 + 1 == 2: print("Hello, world.")Consider the above.
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Hello, world.
!e py if 1 + 1 == 2: print("Hello, world.")
:x: Your 3.14 eval job has completed with return code 1.
001 | File [35m"/home/main.py"[0m, line [35m1[0m
002 | if 1 +[1;31m[0m
003 | [1;31m^[0m
004 | [1;35mSyntaxError[0m: [35minvalid syntax[0m
!e py if 1 +\ 1 == 2: print("Hello, world.")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Hello, world.
\ like this is called a line continuation character in Python.
It tells Python to treat the following newline as not a newline and to just pretend as if the code were continuing on the same line.
Sort of.
You can't do something likepy i\ f
but you could do
if \
...```
I just never thought to use it within a string.
what does the slash do?
or mean
oh wait
sick
thanks
hello
i am in 12th and after 12th i will also decided to BCA
hii
everybody said it is the best but i think i should take advice from python professionalls that`s why i came here
my advice after researching a lot:
Don't rely on degree,If you just follow the syllabus, you'll end up with a degree but no real-world skills, build your skills from now.. i am learning java now.
i am telling because most of the companies Required Skills from their employees, NOT the degree, i am building my skills from now.
ya i know that skills matter more
quick rust question. which one of these is cleaner? ```rust
let (first, second, third) = inputs
.iter()
.fold((vec![], vec![], vec![]), |mut acc, e| {
match e.typ() {
whatever => acc.0.push(e),
whatever => acc.1.push(e),
// and so on
};
acc
});
for item in first {
blah = First::from(item);
firsts.push(blah);
}
// and so on
orrust
enum Item {
First(First),
Second(Second),
Third(Third),
}
let items: Vec<Item> = inputs.iter().map(|inp| match e.typ() {
blah => Item::First(First::from(inp)),
// and so on
}).collect();
for item in items {
match item {
Item::First(f) => firsts.push(f),
// and so on
}
}
im kind of partial to the latter but i can't decide
actually this doesn't make sense without more context, I'll provide that in a minute
what would you recommend here? the reason i can't just do rust for inp in inputs { match inp.typ() { blah => firsts.push(First::from(inp)), // and so on } } is because im doing the iteration in parallel with rayon's par_iter, so firsts and so would need to be something like Arc<Mutex<Vec<...>>>, and that kind of makes it just single threaded but with extra steps in this case, doesn't it?
my intuition is that it's better to just collect everything into a single vec at first, when doing the actual processing in parallel, and then partition that collection later (since the expensive part that i want parallel is now over)
the other alternative is to make a thread for each firsts, seconds, etc and have that thread do the filtering + processing + accumulation for Firsts, Seconds, etc respectively (which means in my example, i'd just have three threads), and then join those threads in the end to give me the final result
but i don't really like that, since i wouldn't really be making the processing itself meaningfully parallel anymore.
the processing is everything that goes on in First::from and the like, which is the most expensive part of all this
and i'd like to make it as fast as possible
i ended up settling on the second one, but suggestions are welcome
@mariosis @mariosis @mariosis 8rmiexj km
Jnm. Mm jn vn. N mm JJ DC dde jbb. Hh. Nn jh BB n mm jn MH. F JM. CV jnb BB nj gmn NU GG ma NNT gmn b no BNI HH hb. Jney KK e di CF jj bumbu ee BBM e BB GG GBR jj hhhh j tnn Ng z GG Nn tn GG ggb n gr GB Nn trd gn ih gn BB f BB j. J ni r e vh okk nggeh Iin u UK ko mm mw hb Nn ee. Ev mm ff free hbnn kmu ehh j mm mm bn. Mm dh bh mj GG jgn bt ehh hhhh e tng hmm NNT b jakarta k gn Nn nnhh Nn g GG m. GG GG evrffngf gn nng fftfmv hmm mm BB GB Nn mu hp Nn dfefn mu j. N eng di ini mom Nn fffh Nn mm gmn Bu tnn GBU iiht m no es dr n TB d mm h vfe s kmm d ff gn Nn JM Ng d GG b d
Ss Nn f Nn deb r dee km MMI e bj fbb nng
Krim;;; itu;;;; ; ga; itu;;!
is this some cryptography challenge or something
what
might be a spam bot or some kid slamming their keyboard. but why is mar there
says it's free, and you can never go wrong with free things
Whomst
Jarkata
This is a different language
Hii!
Agumon
For being my favourite
And greninja and charizard are disqualified
For being everyone'f favourite
Yea
If Infernape wasn't my favouruite it would be Mudkip
and not a starter but Haxxorus is straight up gas
Pretty much every pseudo-legendary is
And almost all dragon types
Water types are incredibly goated starters
Yea
Fire types better icl
overused but
Goated
Charizard
Cyndaquil
Blaxiken, Infernape
Everyone of them
Almost all are the best
But there's also Emboar for fire
Who brings it dwon for us
Mudkip/Treecko enjoyers unite
When are they gonna add onion-type PokΓ©mon
Probably already exists in some custom roms
straight up gas
how can you say that when it's not gastly or koffing line? π
WHAT'S wrong with emboar
π
He looks fire
Pun intended
A while ago @stiff robin nerd sniped me into writing a talk proposal on NaN. I am happy to report that said proposal was accepted and I shall be delivering that talk in Cleveland over the last weekend of July at PyOhio.
Didn't know so many people are interested in flatbread
Talking about floats that aren't numbers.
It's not a number, so maybe it's bread
But is it a hot dog? π€¨
No. It's not a taco.
There will be no canine references in my talk.
Cap, one of my molars (wisdom tooth) had a single root!
Oh, wait, it says "human teeth" , that may be it
if only teeth were always perfect
I won't be talking teeth in Cleveland either.
sudo eat
which nan?
this nan or this nan?
Have you ever wondered about float('NaN')? What it is? What you can do with it? What you shouldn't do with it? Let's take some time and explore this Not a Number and what it does (and doesn't do) in Python.
I was more alluding to nan identity crisis
I hope you include the classic nan in dict example
NaN = U - (int v float v complex)
That was the conversation that started this. I even coded up a subclass of dict that will only have a single NaN key.
!e
nan = float('nan')
other_nan = float('nan')
d = {}
d[nan] = 'yes'
print(d.get(nan, 'no'))
print(d.get(other_nan, 'no'))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | yes
002 | no
!e
nan = float('nan')
batman1 = [nan, nan, nan]
batman2 = [(nan, nan), (nan, nan)]
print(nan in batman1)
print((nan, nan) in batman2)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | True
002 | True
hm...
same identity
yeah, sounds like both list and tuple use is as first step in determining in
Same with dict and set
!e
from math import nan
d = {nan: 1}
s = {nan}
print(nan in d)
print(nan in s)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | True
002 | True
!e
from dataclasses import make_dataclass
from collections import namedtuple
nan = float("nan")
Point1 = namedtuple("Point1", ["x", "y"])
Point2 = make_dataclass("Point2", ["x", "y"], slots=True, frozen=True)
print(Point1(nan, nan) == Point1(nan, nan))
print(Point2(nan, nan) == Point2(nan, nan))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | True
002 | False
Is that because of slots or frozen?
nope
plain make_dataclass also works like this (because it doesn't do an is check in its __eq__)
but namedtuples are just tuples, so they use that same mechanism
now to fun questions, how many nans are there for a 32 bit float?
(why 32 bit?)
because I can't be arsed to count 64
1 - 2^<number of bits after the sign and exponents> is the calculation because if those bits are all 0 it's inf
And, yes, I inverted the subtraction.
sign would be included I think
You're right.
2^24 - 1 nans
:white_check_mark: Your 3.14 eval job has completed with return code 0.
True
!e
from math import nan
print(nan == type(nan)())
:white_check_mark: Your 3.14 eval job has completed with return code 0.
False
lol
type(nan) is float so 0.0 != nan π
!e
from math import nan; print(nan == nan)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
False
That's in the IEEE 754 spec.
oh i though it had a special type
still if __eq__ is not true, hash should be different, no?
It's a float. math.nan just happens to be a singleton
iirc thats in the specs somewhere
Hash is based on the ID for NaN.
oh ic
2 objects of the same type that are hashable should be equal if the hashes are the same.
wouldn't it make more sense to do hash by a random number then
oh i guess should != are
If they're different types then they won't be equal if the hashes are the same unless you write your classes such that they would be.
NaN is an exception for the hash rule because the spec requires that NaN is not equal to anything.
yeah
!e
for n in range(10):
print(float('nan') ** n)
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 1.0
002 | nan
003 | nan
004 | nan
005 | nan
006 | nan
007 | nan
008 | nan
009 | nan
010 | nan
i think you've got that backwards
Woah, float of NaN??
No, this is not true.
2 objects of the same type that are hashable should have the same hash if they are equal.
Yeah... I always invert that. As has been pointed out.
NaN is a float since it is part of the IEEE 754 spec on floating point.
it also describes both "undefined numbers" and "excessively large numbers" but an excessively large number may not describe another excessively large number..
Mufasa fell down a cliff
His brother (Scar) is shooting some of the rolls
Scar might've been able to save Mufasa (society sorta blamed him)
Simpsons is making fun of the scenario, and exagerating that Scar caused Mufasa's death
Whats the difference?
Equality implies the same hash. Same hash does not imply equality.
true because if hash collisions
But two objects of equivalent hashes should be equal
So if type(x) == type(y) and x == y then hash(x) == hash(y)
that is ideal
type(x) == type(y) is not part of the equation
1 == 1.0, so their hash must be the same
!e print(hash(1)); print(hash(1.0))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | 1
002 | 1
!e print(hash(True))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
1
!e
otherwise you wouldn't be able to do ```py
d = {42069.0: "value"}
print(d[42069])
:white_check_mark: Your 3.14 eval job has completed with return code 0.
value
omg gregor
hello new
we still doing that in the big 26 π
Fixing all horrendous hallitosis?
Flinging a holy handgrenade?
Following all handsome hotties?
Hello
Some of my classmate do, you should stay in ot0, is thet best ot channel in this server.
What
Just riffing. Acronyms are rather ambiguous, so I was just coming up with words that could fit as a way of entertaining myself.
FAAHHH
I am unfamiliar with what FAHH stands for.
While that may be so, judging from the context, I suspect that was not its intended meaning in this case.
Additionally, and purely because the notion of censorship irks me on general principle, the word is "fuck".
It was good enough for Graham Chapman.
John Cleese remembers a fellow Python
good, I'm not the only one
If y'all need to censor anything, why not just do IItext goes hereII but with || instead of II?
||it works pretty well, and i feel like its better than asterisks||
||or escape them||
\|\|or escape them\|\|
nah I only escaped the first of each
\||or escape them\|| π
Why are people going into *ot1 and *ot2 instead of ot0?
Bro
Does any special message get sent to compromised accounts by the bot?
Maybe something like "hey you got hacked, heres how not to get hacked"
Yeah, that's part of why we have a special ban command for it
do you happen to have pop-upgrade-daemon get stuck and have to kill it occasionally?
God, dieting is hard. I've been eating keto since Friday evening last week, and was doing pretty good until I decided to put my burger on a bun for lunch today.
Now my mind is racing with all the carb-y things I could eat. I feel like I'm losing my mind.
Large pizza, Ben and Jerry's ice cream, 300g lindt swiss classic chocolate bar, sour patch kids, chicken tenders, two-bite brownies, etc etc
(I thought maybe writing them down would help get them out of my head)
It can be difficult
think less carby thoughts
and less stratchy ideas
||starchy||
it happens
Thinking of buying a new laptop, any ideas? for like ~500$ish
Tuf series
those tuf gaming asus ones?
Yup
i dont see any for ~500, all are like 900 and up
there's also https://discord.com/invite/pes68JM
thank you!!!
Gaming laptops are a scam
yea, i heard bad battery life
Any laptop marketed as gaming should be given the mercy of being destroyed
or sum
it cant possibly be that BAD
is it?!?!
Theyre overpriced bricks that end up turned into desktops except they have much worse specs
Just buy a desktop
my gaming chair is falling apart π
I knew a guy in uni that went and bought a Β£3k razer laptop
It turned into the hottest piece of tech imaginable if you tried to play anything on it
Like glowing red hot
I spent Β£1000 in 2020, got a 1660super and it still gives great perf today
surprise surprise
i mean,you are probably uneducated if you think that a laptop can cool down the cpu + gpu with heavy tasks that games demands
lmao what
What does that even mean
The laptops are literally sold on being "gaming laptops"
You are being lied to
gaming laptops are trash compared to desktops, it's just physics
Thats what i said
I was just responding to the bottom part, where it seems like the label they sell em as matters
marketing 101, lie to the consumer
all that matters is the sale
it depends on what you value
it's a gaming chair because i'm gaming in it. I think it was doing just fine for 30 years or more before I started using it.
how he felt
and i am not trying to be toxic but your about me is wrong
no life is worthless
all life matters
and if you think otherwise then you arent better tahn them
what?
Fuck Nazis. lol
Look into the paradox of tolerance
Hate is a choice, so I choose to hate the haters
π
Love is free
but arent the haters just brainwashed
shouldnt our goal be to like end it altogether
One person's terrorist is another person's freedom fighter.
Not by labels like "terrorist". You look at the whole context.
Though I think attacking civilian populations is pretty hard to justify in most contexts.
It certainly fills me with it.
reasonable name
sleep with one eye open tonight
@nova timber not to sound rude or anything, but in your bio, is it trade or trait?
By trade means it's what they do for work, not what they studied
I see
Hate is indeed a choice, and I feel it's toxic to the self to continually harbor hate for any group of people, even if you deem that group to be evil, or are justified in that opinion by the masses.
It's a common expression in English
Most software developers are by trade
I heard something else was a choice
that makes sense, I've never seen trade being used that way before so it sparked my curiosity
No. I will end this line of thinking and refuse to elaborate further.
Yeah it's by trade. But I also studied computer science so maybe I should change my bio to clarify
change it say you studied Computer History.
hello unc
You greet me every time you see me type something in OT, and it's getting tedious to respond every time, so just for future reference, if I don't respond it's nothing personal, I'm just too lazy to greet you back every single time
There's this tiny fly that has existed in my office for days now, and it's currently making a habit of flying up my nose occasionally as I sit here typing. It did it again just now. It's maddening.
waddup
hello tinoy
@desert trout what options does it give u
@desert trout can you upload a picture of what you see?

do you see sensitive info there?
as long as there's no PII or plaintext passwords, it's safe to share
btw, which os are you running? do you have dual boot?
I have no clue
choose the windows one
Idk what that means either
NOT THE PXE!
Windows boot manager.
It means your PC is going to boot to Windows.
Why
pxe is for installing an OS over the network, you don't want that
My screens just gone black
I was using thonny my whole laptop was being laggy and I just restarted it the that happened
I thought I got hacked
My screens still black but letting me put my pin in
Iβm so nooby for this
@desert trout everything fine? it let's you log in?
good, breath :)
Why would it do that?
You just clicked the boot menu key while the laptop was turning on
Like come up with them options
idk, I don't use windows
What button is that?
A terrible shopping list trying to get use to while loops
Haha! Good luck
Thx
what
Haha
The reason is reasonably self-explanatory. It's to reduce floodspam, which is generally undesirable.
Yes
We are running a 128mb ram server and recieve $10 in funding annually
Source: im an admin
Please donate to the server and we will increase the limit to 9π
used lenovo thinkpad x series
Used Dell Latitude xx20 Models (2021) 9520: 15.6" (11th gen Intel Core i5/i7) 9420: 14" (11th gen Intel Core i5/i7) 7520: 15.6" 7420: 14"
Used Lenovo Thinkpad X1 Xtreme or T14s Gen2, T15 Gen2, T15p Gen2
are you educated
I only ask because you did not dispute his claim
No
show us your non educated degree then
there are 6, Win/Win, Win/Lose, Lose/Win, Lose/Lose, Win, Win/Win or No Deal
negative seven kelvin!
actually alrdy hv, just solve captcha to off alarm, say u want to make it diff like prevent snooze etc
how do you even quantify temperature
what exactly is a kelvin
ok so absolute 0 is like space?
its so weird
my point exactly, i break math and science
everything i do
my thoughts
so my USERNAME shd reflect that considering that is just a username
π
holy shit
thats cool
make your profile picture a black hole then
or the whole milky way
:hmmmmmmm:
Done! Check it out!
looks great
thx
Thanks moderators!
x = ("nice" if temp >= 5 else "not nice")
print(x)```
in llm it's a number between 0 and 1
float
How are you supposed to apply to GitHub student pack? I can't send screenshots, laptop has the documents (in pdf) and using phone seems to fail at getting the location for some reason... And I can't take picture from my phone screen with laptop. It recognizes the school email, laptop can get location but no SS/upload
I'm mostly wondering have I missed something
The application process is the problem part
Hmmm wait what "We're still processing your application. Once this is complete you will have access to the student developer pack offers."
That text appears from when clicking sign in, I never finished the process though 
have you set your school email as your primary email? it should Just Work
Nope, I just added the email to GitHub and attempted to fill the application afterwards
also, what browser were you using on phone? did you manually give github and the browser the right location permissions?
I accepted the location request popup on mobile, both Firefox and chrome got stuck. Firefox on desktop shared location just fine
Does it need to be primary one?
not sure, actually
might work if it's verified
my application process was weird, i have no uni email so idk about that part
It's verified and in the application process it finds the correct university, so I'd hope it's fine. Though I still can't send the applications
Did you need to send the picture thing about proof?
Huh... Did you use the allow only this time on the popup?
for the android permission dialog, I used the "allow while using the app"
Hmmm, I'll try
Now it can't access location...? π₯΄
I'm dumb, the phone location was off π€¦ it didn't notify me of it but I didn't think it would be off :/
I'll try taking a picture of my laptop screen and let them enjoy high res image tomorrow
@round pendant this is why nan is a float
i know that its a float, i said that its truthy, bool(float("nan")) is True
oh
but wait
0 is a falsy value
so is 0.000000000000...
Well... It wants me to use my full name on GitHub π₯΄
Also, it can't handle the image taken on laptop screen probably too low quality :/

too high is more likely
Wouldn't that mean that the picture is very clear?
What can't handle it?
A is B lol
also put something in input() like input('> ') at least
what are you trying to do?
hi
2 scammer in a row ._.
Sadly with a server this size it's a never ending stream of people that got hacked.
I'm thinking of making a decentralized network of discord bot where they will share info about hacked acc, bot acc and scammer acc
But that might violate some discord ToS
imagine servers with not so great bots.
I am worried sick on how I should be protecting my own server, since I am managing a cryptocurrency one
especially prone to scammers
use publicly available bots
add a honeypot bot perhaps
god i miss discord highlighting
months of a colorless mobile world (of codeblocks) really takes a toll on the soul
@worldly ice You inspired my most popular toot ever!
I have decided that from now on, intermittent bugs shall be called "cicadas".
No questions will be entertained at this time.
116
viral!
Wooly π
let me know when you will be sending over the royalties π
You didn't get the check for 10%?
did you send it by snailmail?
I DMed it to you.
ah see that's the problem, I only accept snailmail.
youβve gotta stop calling it that
That's OK. It was for $0.00 so you didn't miss much.
Stop calling it what?
_youβre not getting me to repeat your vulgarity _
Cicada?
||I think they are referring to "toot"||
Anybody watch For All Mankind?
||It feels like this season is based on Heinlein's The Moon is a Harsh Mistress||
β€οΈ this toot.
I think you can even do auto x instead of typeof(hi) x
since C23 changed the meaning of auto
now 3 more macros so that you can call for range(i,11) and it does 0..10
You can't do macro overloading in C.
guess what the linux source has
ssize_t sized_strscpy(char *, const char *, size_t);
/*
* The 2 argument style can only be used when dst is an array with a
* known size.
*/
#define __strscpy0(dst, src, ...) \
sized_strscpy(dst, src, sizeof(dst) + __must_be_array(dst) + \
__must_be_cstr(dst) + __must_be_cstr(src))
#define __strscpy1(dst, src, size) \
sized_strscpy(dst, src, size + __must_be_cstr(dst) + __must_be_cstr(src))
#define __strscpy_pad0(dst, src, ...) \
sized_strscpy_pad(dst, src, sizeof(dst) + __must_be_array(dst) + \
__must_be_cstr(dst) + __must_be_cstr(src))
#define __strscpy_pad1(dst, src, size) \
sized_strscpy_pad(dst, src, size + __must_be_cstr(dst) + __must_be_cstr(src))
/**
* strscpy - Copy a C-string into a sized buffer
* @dst: Where to copy the string to
* @src: Where to copy the string from
* @...: Size of destination buffer (optional)
*
* Copy the source string @src, or as much of it as fits, into the
* destination @dst buffer. The behavior is undefined if the string
* buffers overlap. The destination @dst buffer is always NUL terminated,
* unless it's zero-sized.
*
* The size argument @... is only required when @dst is not an array, or
* when the copy needs to be smaller than sizeof(@dst).
*
* Preferred to strncpy() since it always returns a valid string, and
* doesn't unnecessarily force the tail of the destination buffer to be
* zero padded. If padding is desired please use strscpy_pad().
*
* Returns the number of characters copied in @dst (not including the
* trailing %NUL) or -E2BIG if @size is 0 or the copy from @src was
* truncated.
*/
#define strscpy(dst, src, ...) \
CONCATENATE(__strscpy, COUNT_ARGS(__VA_ARGS__))(dst, src, __VA_ARGS__)
That's not overloading.
You could use that same idea though here.
hey guys, what time do adults go to sleep
cuz I haven't figured out that and I'm already 23
10pm?
for me at least 8 hours before the time I want to get up
8 hours before never, how does that work?
lol same
When they want to.
I think the best way of sleeping is how you body feels
yep
when I sleep
I think the 8 hours sleep is too old school
I can't sleep for that long unless, I am eating 2.6k Calories and walking for about 22k steps a day
this is HORRIBLE
advice
sleep on your back with pillow belo your knee and feet
why?
what I meant is that you don't need to sleep for 8 hours if your body can rest with 7 hours of sleep
and if you're fine with getting up at 6 am, why changing it?
internal pelvic rotation
spine turns inwards
weak back
hernia risk increases
legs have increased chances of developing knocked knees
destroys posture
causes hairloss
weak abs
oh
lol I sleep like that and find it comfortable
so maybe my advice is good only for me ahahaha
well talk in 10 years
when health is
well
what?
yep
honestly the best sleeping position
would be on a bed that like
rotates you on all axes
throughout the night
strap in it and go to sleep
@faint pike you sound like being proficient in posture
what do you think about a chair with a spine cutout
ok hear me out on this
just
no chairs
instead
have a this
now guys
i know what im saying is
different
but
you must have an open perspective
Hello sir @soft violet
Smh just mount a screen to the ceiling
You'd need at least two mirrors otherwise
did you forget that ceiling mounts cause oled leakage
i meant
screen leakage
also
lets see paul allens idea now
Then just use wall mount and tilt the screen 90Β° down smh
just don't live in an earthquake area
Okay, so instead of moving the screen to a mount, let's just move the bed - vertical bed. Sounds good
And strap yourself to the bed so you don't fall out, win win
Or get a projector
this is a bad outcome
for the
mechanical side of your spine
you know what
how about we just suspend ourselves in nutrient fluid
forever
wtf is this
Literally metaquest pro is hanging right there bro smh
Mr shitpost dissector
msd
anyone know how what vscode extention makdes the html {% %} ligfht up yellow:
mine deosnt do it:
Maybe something related to Jinja2?
thanks!!
I am probably overthinking this but which is better? a minus sign or a column?
-
feature - blah blah
-
feature: blah blah
I been thinking for 20 minutes straight about which one I should go with for my github readmes thinking~1
rip nitro
":-" is evil though
lmao
Thank you. I try.
for future decisions, I am just gonna roll a coin
minus = tails, column = heads
qtqyciqnoamovtradf
Gesundheit.
Coins generally have a third side
I've never seen a 3 sided coin.
ever seen a coin?
I've never seen one without an edge.
welp
I think you already know but English isn't my first language <3
True. But I was responding to the nonsense characters that looked like you hit the keyboard while sneezing.
π g'night!
I was speechless due to the realization of how I fumbled this conversation with my poor English skills. lol
No worries. I understood what you meant.
well there's the top and bottom sides, there's also the side side
aka the ridges