Feel like lemmy is more like usenet than a forum
Feel like lemmy is more like usenet than a forum
Richard Nixon started the war on drugs.
As someone with a twin with a completely different personality the idea of horoscopes has always been sily
ugh Jira. At my first job in 2006 I was the Jira administrator. Every project wanted their own custom fields. We had a Jira project for “infra” problems it had 3 fields yall Title/Description/priority and it worked so well. Moved to a company with a simple ticket system with not much more but the concept of “tags” it was heavily
I always told my kids the monsters were in the closet not under the bed. I also introduced them to hand puppets named chewy and Bytee. They were monster ostrich that lived in the closet, there favorite food is my kids which they nip at and the kids all have found it hilarious over the years. Also there was a monkey that slept in the closet when the zoo was closed. I told the kids I was renting out the closet space. Have three kids 13, 11, 4 none of them were ever afraid of the closet or under the bed. Any hint that they thought something was in the closet and I would go full conspiratorial and confirm there is “something” in the closet. That always seemed to work well apposed to denying their fears.
Didn’t know how much I needed this before now.
Like cython?
Its a whole lot of magic. I many times have to look at the generated c code because its doing something weird especially when generating c++
Any time you need different behavior between static type checking and runtime.
in 3.10 I’m using it to work around issue with NamedTuple generics. typing_extensions.NamedTuple allows Generics at runtime but typing.NamedTuple doesn’t. But the type checker we are using doesn’t support typing_extensions.NamedTuple like it does for the typing version so we lie at type checking time to get the typing to make sense but have different runtime type because otherwise its a TypeError
IMHO programs don’t belong on pypi only libraries. Its a waste of namespace.
Explicit is better than implicit, read the zen of python(its short). Don’t be too magical. Don’t reach for a class if you have no state. Watch some jackdied talks from old pycons. You don’t need custom exceptions the stdlib has plenty. Also if its not documented don’t use it. Don’t use star imports.
Black just use it don’t fight it, don’t waste brain space with formatting rules. “You can have any formatter you want as long as its black”. Use default black settings. People who don’t are heretics :P
sys.path or PYTHONPATH is how imports are resolved. Much like shells looking for binaries. IMHO you should never adjust either. The current directory is always added to sys.path. but beyond that directories are packages. Use __init__.py
when you want to provide a module for what happens when you import a package.
python3.11 -m venv .venv
This is how you should create your venv. After that activate it and use pip. You should setup a requirements.txt for your project, then you can use pip -r to configure your env. Global install of third-party libraries is always a bad idea in practice. Version constraints make that almost impossible these days.
python is like this also. I don’t remember a language that returned ints
I guess it may depend on the rights of scooter. He may only have rights to the recordings themselves and not the lyrics.
I got a promotion. There was no raise in salary just expectations of more responsibilities. I got a $100 visa gift card. I saw that as a big fuck you. I was out as soon as I could manage.
I didn’t use docker. I went from scratch. You need to be able to compile rust and run nginx or similar
saw cloud based and thought plan9
Most of the mess in the middle east was the British and the French taking random swaths of land after WW1 and say hey you guys that hate each other you are a country now figure it out.
Edit: Then we found oil
This is just sad.
Facebook was the same. A company would hand them a token for a visitor that went to their site like say Amazon. They then tell Facebook if you see that visitor token show them an ad for this vacuum cleaner. No information ever traded hands except some anonymous id and money.
But I have had places actually sell my information. Comcast Various Banks The State of California
I had a weird last name attached to Comcast never used it anywhere elae. Started getting mail from various companies for Rev WeirdLastname
I registered an LLC, all these compliance companies now send me mail. Thanks California
Tech companies not so much they just target ads and I can block those