#ot1-perplexing-regexing
1 messages · Page 603 of 1
They keep me alway of people like me with hyperfixations, now I o sedes

:D
what the hell this man is talking about
i dont think so
i thought about it
asked my friend the answer was no
but let me know if you try it out
it is a terrible idea to mix languages like that, because now the maintainer needs to understand all the languages and technologies, instead of just one
there is a minecraft mod which doesn't get any contribution despite peoples interest in contributing because the core is written in extremely complex scala
that feels like someone would contribute in prolog, get the PR accepted, get a job and now no one knows how to fix it or replace it since it's written prolog
one language which everyone understands is a saner system for maintainance
now, there are examples of this, such as the ouboros quine
but that isn't a heaven for maintainers either
I get lost
.topic
Suggest more topics here!
.topic
no favorite
aph color
grey
drey
drei
dre
dray
Any good free alternative to heroku
Good and free are rarely going to go together
nice pfp
sudo runas doas
i will
destroy your family
because I am the raiden shogun. you are but a shadow. lightning is eternal
k
shush
u should respect I, the raiden shogun. also i will confiscate your vision under the Vision Hunt Decree
hey isn't that in reverse?
regardless. I am eternal. Pursuing perfection like the Heavenly Principles
Then you are a masochist :p
Eternally pursuing perfection
Jokes aside perfectionism will drive anyone nuts
thanks for pointing that out. xD
You're welcome, is that why you're uncomfy xp
ask repl.it
I have sudo on my windows. Not as good as Linux sudo but I don't have to restart cmd/powershell as admin
scoop install sudo
sudo scoop install sudo
I don't even remember how I installed mine, it was years ago. I still have instruction somewhere on mastodon
function sudo()
{
Start-Process powershell -Verb runas -ArgumentList "-WindowStyle Maximized -NoExit -NoProfile -NoLogo -Command cd '$pwd';Import-Module SUDO;$arg"
}
I just made this function 
didn't know that existed-
scoop install gsudo
scoop install scoop
scoop scoop scoop
bless you
Scoop of ice cream
is freenom broken XD
ice cream 😳
Well I'm sold on fastapi.
A few lines of code and not only does it work but it documents itself? 
Yeah both. I've been working on this side project for about three weeks now. Always aiming for hooking an API and view model to the backend. Just got the time to play around with it tonight in my last 25 minute block.
Didn't think I'd have a working endpoint but love being wrong.
Now to consider all the html rendering I need for the view 
I'll toss it on the list. My fallback is usually a jinja2 template. Open to explore with this project.
jinja ❤️
although I'm with flask for apis. when I started, fastapi didn't exist or wasn't popular enough. so I'm just using my existing code to rework the project
But I'm happy with the 1.5 hours of work for the day (post work work hours). Loads 135k items from file and, given all the tests pass, will serve that info up as I need it. And no database anymore. That's a joy.
I use flask at work for a few spot projects running on EC2s. I almost just did that here but thought "Those folks at pydis talk about FastAPI... I should check it out."
I'd check it out if not for the fact that I have no motivation whatsoever and we're redoing our proof of concept into a real code and it was flask 😛
so we're just keeping most of the code
I imagine I'm losing a bit in the trade-off with fastapi. It's abstracting a lot.
and I hear you loud and clear on redoing work. Hard pass
Refactor? Okay. Rework for the sake of X? "X" better be darn good.
But it's clean. https://github.com/Preocts/eqcharinfo/blob/main/eqcharinfo/api/api.py
I'm already seeing where I pull everything out into a primary controller, the routes will call the specific methods there, and this file will be nothing but docstrings and one-line returns. 
LOL, it's literally just the badges
I'm more of a "document that later" type of dev
Python >= 3.9
😭 won't anyone ever think about the python 2.7 kids 😭
That self documenting part is part of the OpenAPI spec. apparently
having had to write swagger specs... I like this
It has optional support for GraphQL too (via Graphene)
Because it's EoL
And most people don't care to support EoL versions
Or even deprecated versions
I will think of them fondly as I live in the world of dataclasses and lack of from typing import ... 
Using Py 2.7 is like using Windows 7
that's a very good analogy
It's out of date, no one supports it, is a massive security hole, greatly limits what you can actually do, and there should be nothing in this day and age stopping you from upgrading
Save for legacy systems which are their own can of worms and can be easily argued they need to be upgraded anyway
At the point of being stuck on Win7 due to hardware restrictions...your best bet is sidegrading to a linux distribution instead
yes
you should be running win 10 by now or have gone to a linux distro; and if you're on an older system probably something reasonably light with LTS
So what you're saying is that I'm behind the times with my laptop that runs XP?

If you're on XP I think you're somehow at risk of transmitting COVID over the internet
lmao
So how about the 386 I have that runs ms-dos 6.22? (actually, not sure that disk is still healthy... been a few years)
Got that drvspace bb. Double your room
siiigh @solid pollen what would you use for a blog? you suggested I do it and I have a lot more stuff I kinda wanna write about so
Django+Wagtail?
samba!
what would a full toolchain be like?
I dont personally use django, I prefer microframeworks like flask
but I've heard of it many times on Python Bytes/Talk Python To Me/Real Python
I'd say XP. Long gone but some people want it because some sentiment and stuff.
And even companies were like "but it works, we want to still use it!" - which is exactly what happened with py2.7
7 is in the spot XP was now
lol, build your own!
Use a markdown renderer and do the rest yourself
That's a cool thing to put on your portfolio
@spring scarab What exactly are you trying to do?
i am on role cooldown
general channel is too occupied
check my rles buddy
I was referring to you trying to ping everyone
They are muted
Ahh alright.
new discord feature, role icons
oh really?
yes
oh that's cool
turns out ms paint is pretty good for roughly blocking out ui before coding it
Fugg
k8s logo
!e print(str(None))
@tardy rain :white_check_mark: Your eval job has completed with return code 0.
None
SOMEONE EXPLAIN THIS SHIT PLEASE
?
what do you want explained?
the string representation of None is "None"
doing str(None) literally gives you "None"
yes?
Instead of an empty string
Yes
yes
Why
that's an extremely broad question which i could give an extremely broad answer to
At least it's not like JS
Please do, anything is good
In [3]: None.__str__()
Out[3]: 'None'
In [4]: None.__repr__()
Out[4]: 'None'
\😳
because it just is. when outputting to the console, seeing "None" instead of "" is a lot more informative
When would I ever need to str None
when do you need to str variables?
the way to stringify None varies enough that it makes more sense to just leave it as a repr equivalent
and well, repr(None) should be 'None'
sometimes, you want '', sometimes you want 'None', sometimes you want 'null', sometimes you want an exception
Ye if im repr(None) i would expect None or NoneType
If i str(None) i would expect an empty string
Why wouldnt i
Or a goddamn error so i know
if you wanted "", it'd be easier to just val or ""
well, str(None) isn't implemented and just does the same thing as on list and dict, in that it calls repr
since showing None to the user is a very usecase dependent situation
and yes, '' would be nice in quite a few contexts, but it would also suck for debugging
Its not that i want "", i just wanted to str a variable that is optional and i assumed (rightfully) that 🅱️ython would be reasonable and give me an empty string if its None
I guess not
Also if it defaults to repr why is it just showing me "None" and not some weird class id
<NoneType whatever> or some shit
I don't think I would've ever thought of None to print as a blank string
it just doesn't make much sense to me for it to
because repr is meant to work such that eval(repr(a)) == a
Well then throw an error
which holds for None and does not hold for the default repr
Why?
So i dont waste my time
ye, I would argue that str(None) should be an error, but well, too late
raku does do that
Use of uninitialized value of type Any:U in string context.
Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful.
I've been doing str(optional_var).lower() == ... for like half an hour now
on a slight tangent how come we typehint shit as : None and not : NoneType or Literal[None]
int(None) throws error, why not str
uh
because str is kind of a weird function
"why is a type castable to one type but not one, totally different type"
@acoustic mossspecial syntax to make life easy
How easy would it be to suggest this change for cpython
class, technically :(
@tardy rainliterally impossible to ever pass this, breaks so much
Goddamnit
raku does do this correctly
We're literally trynna move away from perl lmao
oh, of course
types.NoneType```
The type of [`None`](https://docs.python.org/3.10/library/constants.html#None "None").
New in version 3.10.
wdym
... is type Ellipsis
In [1]: x: ...
In [2]: __annotations__
Out[2]: {'x': Ellipsis}
But idk if anything else extends Ellipsis or NoneType, so why not
if by extends you're referring to inheritance, thats not possible
Then "implements"? Not caught up on my oop terminology
wait... there's an "EllipsisType"
no
oh boy.
Idfk, something
the type of .../Ellipsis is ellipsis
words hard
.
🤔
I'm just confused as to what the "EllipsisType" is
Why is Ellipsis not the type of an Ellipsis type? ;-;
because Ellipsis is an instance
not a type
yeah, singletons are very rarely, if ever, useful in python
I would love modules which aren't separate files though
would make so many things easier
at the same time, python imports are enough of an abomination as is
yeah
like rust
and a few other languages
but it's named as a class!? D:
introducing None, True and False
@solid pollen :white_check_mark: Your eval job has completed with return code 0.
True
type is type when it is of type type
type(type)(type(type)(type)) is type
lol
lol
Oh God.
In [3]: type(type(type)(type))(type)(type(type(type)(type)))
Out[3]: type
type is a weird word
type
Hm... What is the type of object if type inherits from object? 
!e
print(type(object))
print(isinstance(object, type))
@harsh tundra :white_check_mark: Your eval job has completed with return code 0.
001 | <class 'type'>
002 | True
lol
@low chasm I beg to differ, we live in a multiverse
type(object) would be type
Wait, I messed up
The type-object paradox
so a type is a type
@harsh tundra :white_check_mark: Your eval job has completed with return code 0.
True
hello guys
Object is instance of type, type is instance of object
yep
ye
A loop
yeah
they are also instances of themselves
!e print(isinstance(object, type))
@rough sapphire :white_check_mark: Your eval job has completed with return code 0.
True
yes
if someone can make this a diagram
type is a type and object is an object meanwhile type is an object and object is a type
that would be epic!!
Everything in python is an object
It's all objects
does this mean that everything is a type
Inheritance being theoretically an order would mean type==object
Always has been.
Types are types
here you go💍
!print(isinstance(name, object)
lol
Rip
but if everything is an object
I'm dumb
and object is a type
Types are objects
But those classes and inheritances are defined in C, so it's not an ordered relation like normal inheritance
yes but object is type
What came first, the object or the type
object is an instance of type, not a subclass
therefore instances of object are not necessarily instances of type
Wait, right
Cool, never thought of them that way
I said a different thing from what i was really thinking
Not inheritance but being an instance
classes are instances of type/a custom metaclass and they can have instances just fine
everything is an object which is an instance of type
type is the root of everything \😩
Everything is an object, so classes are also objects aka instances
Yes.
Classes are blueprints for creating objects
I mean, those don't even have a type
It is just to avoid corner cases
They are C-defined, their superclass is hard-coded to return that exact value
Wait... why is the type of type, type?
if you're looking at a tree where the children are instances of their parents, then object would be the root of everything
if you're looking at a tree where the children are subclasses of their parents, then type would be the root of everything
is type another hidden class
you could think of it like: if something is a blueprint for other things, it's an instance of type
since type is a blueprint of other classes, its an instance of type
Basically, type is just a C routine
i think it would be funny if u did type(object) and it errored with SyntaxError: You have reached the end of the universe
yes
To have something to return, the developers just hard-coded an if branch saying it will be itself
and the type of all classes is type
yes
Okay, no, type is not a class
!?
yes
But at the end of the day it is a C function that doesn't have any class metadata
what it actually is implemented as in C doesnt really matter imo
whats important is how the API exposes it
which is as a class
Well, it is an important detail to understand it doesn't follow the same rules as regular objects

type follows all rules that other classes do, doesnt it
If Python is this confusing... I worry about languages like JavaScript
mainly that isinstance(x, type) is True
It behaves like a class
yeah
well, very few (none?) of the builtins are python classes
!e print(dir(builtins))
@solid pollen :white_check_mark: Your eval job has completed with return code 0.
['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException', 'BlockingIOError', 'BrokenPipeError', 'BufferError', 'BytesWarning', 'ChildProcessError', 'ConnectionAbortedError', 'ConnectionError', 'ConnectionRefusedError', 'ConnectionResetError', 'DeprecationWarning', 'EOFError', 'Ellipsis', 'EnvironmentError', 'Exception', 'False', 'FileExistsError', 'FileNotFoundError', 'FloatingPointError', 'FutureWarning', 'GeneratorExit', 'IOError', 'ImportError', 'ImportWarning', 'IndentationError', 'IndexError', 'InterruptedError', 'IsADirectoryError', 'KeyError', 'KeyboardInterrupt', 'LookupError', 'MemoryError', 'ModuleNotFoundError', 'NameError', 'None', 'NotADirectoryError', 'NotImplemented', 'NotImplementedError', 'OSError', 'OverflowError', 'PendingDeprecationWarning', 'PermissionError', 'ProcessLookupError', 'RecursionError', 'ReferenceError', 'ResourceWarning', 'RuntimeError', 'RuntimeWarning', 'StopAsyncIteration', 'StopIteration', 'SyntaxError', 'SyntaxWarning', 'SystemError
... (truncated - too long)
Full output: https://paste.pythondiscord.com/ovovesiwix.txt?noredirect
Sometimes I feel like some of Python was made specifically for #esoteric-python lol
The exceptions are probably python classes
hmm
is there anyway to tell if something is in C or in python 🤔
is inspect.getsource failing a valid test lol
lol
well played
@solid pollen :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | File "/usr/local/lib/python3.9/inspect.py", line 1024, in getsource
004 | lines, lnum = getsourcelines(object)
005 | File "/usr/local/lib/python3.9/inspect.py", line 1006, in getsourcelines
006 | lines, lnum = findsource(object)
007 | File "/usr/local/lib/python3.9/inspect.py", line 817, in findsource
008 | file = getsourcefile(object)
009 | File "/usr/local/lib/python3.9/inspect.py", line 697, in getsourcefile
010 | filename = getfile(object)
011 | File "/usr/local/lib/python3.9/inspect.py", line 666, in getfile
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/desoxikiku.txt?noredirect
Okay, probably C
does getsource work on itself
judging by the traceback it seems to be in python
!e
from inspect import getsource
print(getsource(getsource))
@acoustic moss :white_check_mark: Your eval job has completed with return code 0.
001 | def getsource(object):
002 | """Return the text of the source code for an object.
003 |
004 | The argument may be a module, class, method, function, traceback, frame,
005 | or code object. The source code is returned as a single string. An
006 | OSError is raised if the source code cannot be retrieved."""
007 | lines, lnum = getsourcelines(object)
008 | return ''.join(lines)
smh overwriting object
lmao
Wow I am setting lofty goals for my first 'real' videogame...
Voxel terrain, no issue. Real orbital mechanics, probably gonna get difficult. Realistic atmospherics + volumetric liquids? Oh you bet your bottom dollar that's going to be rough...
Sounds like KSP
I wonder who could be a KSP player here.. 
Hopefully a cross between Space Engineers, Stationeers, and KSP
and I've only ever played one of them 😂
can som1 help me find the error here pls
@low chasm Hows your Python macro thing going
looks like syntax errors
hold your mouse over the parts with red squiggles under them
Good so far
No new features today, I was busy
But it's on pypi now, and I've started implementing more stuff
it fucks with me every time that in literally every oop languages besides python you can refer to a class instance var without having to refer to the instance in the class functions, and then in python you gotta put self everywhere, so my java code ends up looking like hell
Hey everyone, I was told I could possibly direct some C++ questions here?
I've seen some people use s instead of self. It's not strictly conventional, but it does take up fewer characters.
I guess I'm just used to self.
Few transition to python since most start there, and those that didn’t probably have enough experience to understand how important it is to use self, as that’s the standard
I highly doubt it
it affects very little, if anything
what language
they mean using this in Python instead of self
why would you call it this in python
ikr
that's my question
you dont even get syntax highlighting for it
Helper status revoked 

i assume they meant that since self is this, if people come from other languages and use this it will be easy to understand faster.
so like in class methods
def add(this,x):
this.num+=x
seems like a valid question to me. but nevertheless it kinda breaks usual coding standards.
no I don't use this
Why is the project logo funny
amogus
You get in PyCharm. It will just highlight first argument in a method
oh, cool
yea, but it also shows a weak warning if you don't name it self
Weak warning? What's that?
PyCharm shows pep8 problems for sure, but 1) i never heard about the weak warning thing... But 2)I never actually run non-self methods to know whether there is something
weak warning are like typos and stuff
it won't cause any error
strong warnings are what may cause an error, like an undefined attribute
errors are what will cause an error like misusing a keyword
the red underline in print(x) is an error
the return in an __init__ is a strong warning
the access of a 'private' variable is a weak warning
pep 8 violations also cause a weak warning

also i made an unintentional pun with that emoji
forgive the pun
What's a good management tool for virtual environments with multiple python versions?
I realised I need python3.9 for one lib i need to test. virtualenvwrapper theoretically has version discovery and stuff but it doesn't seem to work properly (it's said to be tested up to 3.6, so that's probably why).
So at this point I just want to look at nice tools that provide similar experience but are updated and tested and for sure work for newer versions
Ah, no, it works. I just didn't install 3.9-venv 🤦
Realised when I went for manual venv and it didn't work as well
name = input('What is your name? ')
time.sleep(1)
print ("Hello " + name)
time.sleep(2)
print ("Welcome to the my simple calculator")
time.sleep(2)
print ("First you have to enter two numbers. ")
time.sleep(2)
print("Then the calculator will find the following things of those numbers:")
time.sleep(2)
print("addition, substraction, multiplication and division")
time.sleep(2)
yes_no = input("Are you ready? (yes/no) ")
yes = ("yes")
no = ("no")
if str(yes_no) == str(yes):
import calculator
else:
print("Okay. Have a good day " + name) ```
calculator.py
```import time
time.sleep(1.5)
a = input("Enter first number: ")
time.sleep(1.5)
b = input("Enter second number: ")
time.sleep(1.5)
print("Finding calculation...")
time.sleep(1.5)
addition = int(a) + int(b)
substraction = int(a) - int(b)
multiplication = int(a) * int(b)
division = int(a) / int(b)
print ("Addition : ")
print (int(addition))
print ("Substraction : ")
print (substraction)
print ("Multiplication : ")
print (multiplication)
print ("Division : ")
print (division)```
how do i add space between the lines of the output
@sonic badger These are off-topic channels, if you have Python questions you should head to a help channel
backslash n
But yeah, you can just use \n as the newline character
Enter 0 as second number. I dare you :P
This explains the error well https://www.yawintutor.com/zerodivisionerror-division-by-zero/
Just mind that they use python2 print - you have to use parentheses to make it valid python3 :) (so use print(c) instead of their print c)
@pure yarrow () => queue[0] is a function which takes no arguments and returns queue[0]
yeah
I'll assume you're not using pyenv... In that case, I'd really recommend it
Generally, it's recommended that you don't need with the system interpreters
I use virtualenvwrapper which is a wrapper around virtualenv.
It's defined mostly as bunch of shell scripts and stuff. It works fine, as I said the only problem was that lack of venv in my python install XD
pyenv isn't really related to venvs all too much
it's for Python version management
Ah, but I asked about venv management :P
Yes, but also across multiple versions, no?
regardless, it's a great tool on *NIX
I just figured you weren't using it because of the 3.9-venv package thing, so I thought I'd recommend it
I don't really deal with switching system interpreters. I prefer to keep the whole names and stuff so I don't get confused :P so the only time I actually use "python" and "pip" literally is in venvs
what extras does it add to virtualenv? 
It's not really about switching the system interpreter as just having a convenient way to mange multiple versions and trying to avoid potential conflicts
It also makes installing impls like pypy, anaconda, and etc very easy
I just freshly installed 3.9 and did just apt install python3.9, not even python3.9-dev which bit me in my ass because of that lack of venv module
as well as Python 3.10 pre-releases
I'll probably look into it
pyenv's like the first thing I install when I install a new distro lol
ah damn
You get venvs in one place. workon to list and switch venvs. Some other shell commands to manage them, including linking a project so that you are automatically cd'ed into a correct dir on activation and stuff.
ah that seems nice 
virtualenv just creates a virtualenv at the place right? and you gotta cd to it manually and activate (or am i doing it wrong the whole time)
➜ virtualenvwrapper
virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv
tool. The extensions include wrappers for creating and deleting
virtual environments and otherwise managing your development workflow,
making it easier to work on more than one project at a time without
introducing conflicts in their dependencies.
For more information please refer to the documentation:
http://virtualenvwrapper.readthedocs.org/en/latest/command_ref.html
Commands available:
add2virtualenv: add directory to the import path
allvirtualenv: run a command in all virtualenvs
cdproject: change directory to the active project
cdsitepackages: change to the site-packages directory
cdvirtualenv: change to the $VIRTUAL_ENV directory
cpvirtualenv: duplicate the named virtualenv to make a new one
lssitepackages: list contents of the site-packages directory
lsvirtualenv: list virtualenvs
mkproject: create a new project directory and its associated virtualenv
mktmpenv: create a temporary virtualenv
mkvirtualenv: Create a new virtualenv in $WORKON_HOME
rmvirtualenv: Remove a virtualenv
setvirtualenvproject: associate a project directory with a virtualenv
showvirtualenv: show details of a single virtualenv
toggleglobalsitepackages: turn access to global site-packages on/off
virtualenvwrapper: show this help message
wipeenv: remove all packages installed in the current virtualenv
workon: list or change working virtualenvs
Those are the commands from there (that's literally what shows up if I do virtualenvwrapper in terminal - it's a general help)
I don't really use all features in here. I mostly just create and workon. I often have multiple projects tied to one venv and i use PyCharm to link them to each other. I also use PyCharm for my git. I'm not a terminal poweruser, I'm too lazy and have too short memory to actually learn how to be better with my terminal...
I feel like you just barely escaped a mute lol
somewhat of a virtual environment manager with some good stuff yeah 
managing multiple projects would be easier with this i assume..
I was wondering if I'll hit it or not XD I was considering deleting the spacing newlines but eventually went for it XD having an infraction because I shared a cool tool would be funny XD
It's not that long, it's around 50 lines, I think. So I just went for it
... Exactly 50 for the snippet itself for me. When copying to the message I deleted a leading newline. So it's 49 for the content itself, 51 with ```s on both sides, and then 3 lines more for non-block stuff
ah, looks like the limit is somewhere around 100
@rough sapphire https://www.youtube.com/watch?v=w6gV6OSaahg read the subs 😄
We who were but youths, at some point, start to change into young adults.
Please remember to support Kanzaki on the official uploads / 本家様: https://www.youtube.com/watch?v=0HYm60Mjm0k &
http://www.nicovideo.jp/watch/sm31700140 !!
(Kanzaki is also known as “Kurogaki” but they credited themselves as Kanzaki Iori in the video, so I matched that)
...
hol' on.
duh why this much 😂😂
idk man i have been feeling unwell for this past months
happens, me too! tho on that time listen to songs like Imagine.
by lennon y'know.
idk. i always heard his songs when i was a kid so it holds no meaning now
wow, lucky me, I heard them now.
funny how if we hear them in childhood they kinda loose meaning
i always hear it everyday during those times because my mom
she into rock?
nah. people at our place in her generation listen to those kind of songs
i am just lonely and depressed during covid. a lot happened so much. i even thought having good grades will make me happy. i did get it but what is there after? nothing. i feel nothing. my relationship went crashin three months ago as well. i have episodes starting march where i suddenly get anxious and i feel like i cant breathe
it always happen late at night
now i play genshin impact but, even if i have the urge to play, i feel not liking to play. i feel no fun anymore.
i may smile with the achievements i did but it is just a fleeting feeling, it just go poof so suddenly and then back to sadness again
sounds like some side effects of drugs
You should probably see a therapist dawg
no, not really.
wtf are u talking about?
bruh
i mean people do have that, I am so happy I'm leaving home, i cannot even study here, thats no effects of drugs.
short duration of happiness > sad again
we call it being moody at certain times, and drugs don't need to be there really to have that. jesus christ.
i just made a bad joke 
very bad
i feel no fun anymore.
i may smile with the achievements i did but it is just a fleeting feeling, it just go poof so suddenly and then back to sadness again
yikes, that is pretty much what depression is usually defined as, indeed
why don't you try to change schedule a bit? It helped me a bit before a while.
yeah i should. but even my fam does not recognize that it is real. i just need a break from everything lol. it happens from time to time. i just didnt know it happens to me. now i can finally understand what my other friend felt when she also have this kind of episodes.
kinda happens with me too. I'm getting so irritated by everyone from ones in awhile i feel like just shut the fuck up everyone.
even hobbies don't help
ah good luck getting rid of it
but yeah therapy should help.
yeah. it is very hard to get rid of. i just didnt expect it to happen to me. i really hate these two years in covid. i even lash out to my ex and now i feel like an asshole. i also get easily irritated to things that are usually so simple. and my usual escape now is reading comics and doing hobbies. it might help a lil but it feels too temporary
what sux is at the end of the day even after spending time on all these hobbies you're on page 1.
how do u change scheds. it is sudden for me. i wake up at dawn and then i feel like i cant breathe
its very very tough.
you basically want to try to sleep earlier than usual. which you won't be able to for first 2-3 days(depends on people)
and you wake up bit earlier and do not try to sleep no matter what.
so in a way your body gets used to it.
support from parents help a lot in this one, you can just say i want to wake up early from tomorrow and you guys wake me up no matter what.
if your body can migrate easily, you can kinda have better schedule in 1-2 weeks, but yeah, its not exactly easy.
but it helped me, waking early, giving water to plants.
also insteada using cellphone, you can read actual books, phones are worst. and toughest part.
i will try. i will get some counseling starting the following day. and also reading again the programming books i bought which unluckily went unused because it happened at around that time. and also write new projects. i have lots of ideas and projects but they were never realized because of what i am in right now. but maybe just maybe it will go away. maybe my feeling of discontent, and loneliness, will go away, i really need to learn how to love myself again because i have forgotten how to. idk. i think i know but idk.
counseling would be pretty better i think, we internet people will just share our experiences, which may even have bad effects on you.
alright hm :) thanks for listening.
i think imma go wash some dishes now. thanks again
its alright! thanks for sharing great songs!!
sure np! night!
how can I stop procrastinating? My mind works in a weird way, lets say its 8:43pm or smth, I can only start doing homework at 8:50 and when its smth like 8:52, I'm like, fuck it, 9:00 is the beginning of the hour, I'll start then. This extends... a lott. I sleep at 3:00AM or beyond and idek I'm just terrible at time management. What can I do?
I've been getting very little sleep lately
I don't even feel sleepy until its 2:30
relatable
zigs animal is a reptilian
hmmm
and python is python
animals
i thought go is a weird cross between a beaver and a rat
Pocket gophers, commonly referred to simply as gophers, are burrowing rodents of the family Geomyidae. The roughly 35 species are all endemic to North and Central America. They are commonly known for their extensive tunneling activities and their ability to destroy farms and gardens.
The name "pocket gopher" on its own may refer to any of a nu...
its an actual animal

pocket gophers are annoying
they destroy the ground and make it dangerous for livestock
Stop focusing on time so much, set yourself small goals that are part of the bigger goal
Like for example say, instead of "I need to start my homework at 9"
"I will now do a few things on my math homework", and if you stop after a couple, that's fine. Let yourself get distracted but keep coming back, maybe you watch a YouTube video? Turn off autoplay, get yourself to do a little more before clicking to the next video
Then say you've finished the math, don't see it as "I have everything else to do" look at "I have completed this entire subset"
it's like go
do some exercises to feel sleepy
I mean it is go lol
oh lol
oh look its mario kart but square enix
easy, don't wait for time point. hide all the clocks if necessary
also, the strategy that worked for me: i used to be bad at getting myself to do something, but it's easy to prevent yourself from doing something. so simply self restrict yourself to either study / do productive work OR lay in bed idle
eventually you will be bored of being idle in bed, at which point you'll likely be motivated to do productive stuff
yo can any1 help me w my java homework,, beginner level
really easy stuff just not for me
Hello, I am new to coding and need help. I want to start with python as my first language.
As you all are experienced, can you pls tell how and from where should I learn. And what mistakes not to make
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@forest mesa you can checkout this link! also it's alright to make mistakes. just keep practicing. and try to do things by yourself. that's all!
Thank you
it's a consesus that the world is worst almost after covid
There's an after Covid at this point?
I mean, sure, is it possible? Yes.
But then we have the meth-for-brains.
meth for brains is generous tbh
"See this gate? See this timer? All you have to do is wait ten minutes for the gate to open. Each time you try to open it early, you have to wait ten minutes from that point, okay? After you wait, you can go anywhere and do anything you like, okay?"
that is an excellent analogy
how wude
tf
.uwu how rude
how wude
The closed ecosystem of Apple sucks. That's my take
p sure it is
it's hard to gain reputation on stackoverflow :(
fr no one upvotes
anyway they are just imaginary internet points, so not a big deal
it is a chemical
an ester to be a bit more accurate
used in making plastic
Answer stuff and don't care about rep. Then you'll earn it
At this point I sometimes help in comments and don't write answers. So no rep for me. But I prefer this discussion and coming to a good answer together than writing my first idea and getting it wrong
I have 3.9k rep at this point. I don't know why, I don't know when
It just happened
I literally have over 50 points for some recursive function question that's more like school question... I literally started it with explanation how to write the formula in a recursive-friendly way and gave a hint, then marked the full answer as "don't look if you want to try it yourself". And some person complaining in the comments that it's not "a total function" when no answer posted by anyone there contained a total function. XD
lots of rep 👀
people on stackoverflow are like wolves, they will jump at any attempt to drag you down
only have 135 rep rn, i dont visit that site very much
while i do agree some people help for the sake of helping
the majority will jump at getting more rep
That feeling of knowing how to write code but not knowing how to code 😭
We're trying to get the OUYA Forum back online, Sign & Share if you can!
https://www.ipetitions.com/petition/request-to-revive-ouyaforum-com
A request to revive OUYAforum.com
lmfao
and it's in the main loop I got no clue what it's doing
log file is at over 16000 lines
19000 when I killed it...
wtf have I done...
ah very cool indeed
this ot name sounds salt die
it is truly the best motherfucking website
||prove that 7<5||
@clear acorn :white_check_mark: Your eval job has completed with return code 0.
False
snekbox is lying
!e
import ctypes
def deref(addr, typ):
return ctypes.cast(addr, ctypes.POINTER(typ))
deref(id(7), ctypes.c_int)[6] = 4
print(7 < 5)
@gilded prawn :white_check_mark: Your eval job has completed with return code 0.
True
Wooah
bloody hell
idk about ctypes

But it seems really powerful
@rough sapphire :white_check_mark: Your eval job has completed with return code 0.
True
@rough sapphire :white_check_mark: Your eval job has completed with return code 0.
False
!d ctypes
why not setattr
well if you know C, this makes a lot of sense
7<5....................... my head's in a merry go round
pretty sure the 6th element contains integer value
print it and se
!e
import ctypes,inspect
def deref(addr, typ):
return ctypes.cast(addr, ctypes.POINTER(typ))
print(inspect.getsource(deref(id(7), ctypes.c_int)))
damn
@solemn leaf :white_check_mark: Your eval job has completed with return code 0.
['__bool__', '__class__', '__ctypes_from_outparam__', '__delattr__', '__delitem__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_b_base_', '_b_needsfree_', '_objects', '_type_', 'contents']
!e
print(7 < 5)
@rough sapphire :white_check_mark: Your eval job has completed with return code 0.
False
no way
!e
print(bool('This is a python server'))
@slow juniper :white_check_mark: Your eval job has completed with return code 0.
True
Oh so I can use C libraries with Python
yes
that's why some libs are called c wrapper mayhaps
I wonder how easy it is to use C/C++ libraries in Python
or make, rather
I know there's like opencv which is C++
Cython makes these things quite a bit easier
But can you use Cython libraries in CPython?
That’s kind of the point. Cython is optimised for CPython
I didn't know that
Cython “cythonizes” Cython code into pure C/C++, which is then compiled by distutils into a shared object file which counts as a valid Python module
basically C FFI?
You can use it like that, but you can also use it to bring the speed of C to semi-regular Python
Haha it is fine
Lol
BTW may I know how u came to know about that?
In your profile
Ummm. ok
Ah, I never knew people read my profile
Oh
I thought I was the one who stalked other people
Eh, just some personal things happened that day 🤷♂️
Indeed
Yups
BTW Thanks for your kind message in #discord-bots (if it was about me haha)
Appericiate it
@slow juniper :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | NameError: name 'sad' is not defined
Haha
Opps
No probs
Sry
I don't mind pings
So sorry for the pings
Its fine, as I said
Kk
Was a simple mistake. You don't have to be sorry.
!e
def sad():
retrun True
if sad() == True:
sad().stop()
beAwsome()
@slow juniper :x: Your eval job has completed with return code 1.
001 | File "<string>", line 2
002 | retrun True
003 | ^
004 | SyntaxError: invalid syntax
@slow juniper :white_check_mark: Your eval job has completed with return code 0.
True
Bad
Lol
Retrun
i had a ques
how does bool() return something as we instantiate an object with it
since we are not calling the object and we can't return anything except None from the init dunder \🤔
it uses __new__
#bot-commands print(7 < 5)
@ python docs please document list methods in a way consistent with all the other builtins i am begging you
I actually do use Ubuntu as my main OS ^^
what's wrong with the docs?
afaik the built-in list class doesn't have a dedicated page in the docs, which makes finding its methods for reference slightly annoying/finicky
i'm not actually that annoyed it's just a slight inconvenience and i'm not sure why it's done this way?
You could always propose a change on a forum like https://discuss.python.org
Suggest more topics here!
Suggest more topics here!
2011 one
welsh
python
I literally gave myself a headache explaining this to someone
topics > greetings
Suggest more topics here!
Suggest more topics here!
^
hmm
US
or
Amearca
some wrong typing
.uwu Sir Lancebot
Siw Wancebot
wuw
Suggest more topics here!
What is your favorite color?
anybody
Umm
joking, of course
lmfao
@slow juniper :white_check_mark: Your eval job has completed with return code 0.
True
Yea
got to go~
?
awdfadfs
?!?!??!
What the hell
Try this out!
hazsdf
lol
Wth
lol
Suggest more topics here!
Suggest more topics here!
Suggest more topics here!
Suggest more topics here!
fruit
Suggest more topics here!
Suggest more topics here!
Suggest more topics here!
Suggest more topics here!
Suggest more topics here!
thefatrat
Suggest more topics here!
Suggest more topics here!
Suggest more topics here!
Suggest more topics here!
raising single right eyebrow
Suggest more topics here!
make gazillion dollar company, morally
then make 24K omega high resolution 1Tib RGBAD color depth no interruption smooth streaming with precaching
and what will u watch
Ztx 9999^e ti
Suggest more topics here!
Suggest more topics here!
Suggest more topics here!
Suggest more topics here!
its boring
anyone here know how can iwrite to json in react native?
no
okay
sure
and slavery
Lol
not exactly but yes there is some sussy employment issues
Sussy employment issues lmfao
its one way to say it
Best way
aboo came without saying Hi :D, meaning aboo was not happy?
or this is impostor
sus
I hope you both have horrible days
why 😭
Among us crap
Aboo Minister#3764 is real aboo
i agree with that
that is real aboo
hwat
at the end of the day , if a game makes you happy , i'd surely play that game whenever i can
BUT
i agree that among us is crap
and the memes related to it isnt really that funny
lmao
it really doesn't have much of a fandom
what's bad is everything about Among Us other than the game
I actually really enjoy the game, I hate the meme
I hate that I can't do anything in any place online without seeing "hahahaha sus lollllll sussy baka lmao hahahahahahahaha AMOGUD looool"
And I hope you have a bad day too danger noodle >:(
The game looks decent enough
But the memes are so fucking tired that I just don't want to be anywhere near it
It's like the doge meme
It was funny for a few weeks
And then it dragged on for years
i dont see any more among us memes that arent drowning in irony
i've only enjoyed the game when i had some friends to play with tbh , but i started spending more time away from them and more time on myself , and most of them didnt like it which just sucked expect one person
he did the same and most times we help each other improve ourself
this new era of memes are not funny tbh
like you just see a video of someone screaming and most people laugh at it
never tried it 
any masters on robots.txt,
does this mean i can crawl everything or i can't touch it at all
User-agent: *
Disallow:
I've seen like the OTV people play it, that's what got me to try it
yeah
I think everything
thanks
time to crawl everything 
also that site made me to download the robots.txt and not showing them in webpage 
ikr
There are some zoomer memes I appreciate, like he or a, but they're always pretty abstract
fair enough , most people have their own taste in memes , just like music and other things
Like this is a classic zoomer meme https://youtu.be/wCVVb08Ds10
It literally means nothing
a
I see Amber
The thing for me is a lot of older memes tried to tell a story or had some back story
And zoomer memes are just like
juan.
Second Channel: https://www.youtube.com/channel/UCsTjZ3jlXpTo1Dw2GRkFJFA
Discord: https://discord.gg/7DhMsvQ
Twitter: https://twitter.com/Peternity69
Instagram: https://www.instagram.com/peternityyy/
#juanhorse #kanyewestwolves #memes
They just exist and there's nothing else
And I kinda respect that lmao
it means a
a
Oh hey gdude 👋
wtf is this lmao
What's wrong with Zoomer memes?!
juan.

