Richard Nixon started the war on drugs.
- 1 Post
- 17 Comments
As someone with a twin with a completely different personality the idea of horoscopes has always been sily
holy crap
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
Rev@ihax0r.comOPtoPython@lemmy.ml•PEP 703 is going to be accepted, are you ready for noGIL?English1·2 years agoLike 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++
Rev@ihax0r.comtoPython@lemmy.ml•Resources for someone looking into moving from other languages to Python?5·2 years agoIMHO 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.
Rev@ihax0r.comto Technology@beehaw.org•Why is it so annoyingly hard to set up a Fediverse node?English2·2 years agoI didn’t use docker. I went from scratch. You need to be able to compile rust and run nginx or similar
Rev@ihax0r.comto World News@beehaw.org•Ohio Prison System Bans Java Computer Manual, But Allows Hitler’s Mein KampfEnglish2·2 years agoso they are c# fans
Rev@ihax0r.comto Linux@lemmy.ml•The Cloud Native Linux Desktop Model (e.g. Silverblue)English3·2 years agosaw cloud based and thought plan9
I already live where I want to live. I would probably buy up all the open land in my county. Get my friends to move out and live on one of my properties. Fix up this 120 year old farm house. Install a pond and more water features to hold onto rain water. Probably run some electric fencing get solar power go off grid. Pretend to be a cattle rancher. Try to turn this homestead into my very own paradise. But i’ll probably employ a-lot of people create some jobs do more charity work.
Rev@ihax0r.comto Green - An environmentalist community @lemmy.ml•Those southern conservatives sure won't be laughing anymore when the climate catastrophe forces them to leave their beloved red state echo chambers5·2 years agoI grew up in the south Louisiana to be specific. The confederate flag was not as ubiquitous as some seem to believe. Sure you would some times see a redneck driving a lifted truck with a confederate bumper sticker but it wasn’t the norm. Truck nuts and american flags were way more popular. But rednecks don’t make up a majority of the south.
Hell I saw a confederate flag sticker on the back window of a truck in California recently, sure its in the rural parts but its the first time I had seen one in real life in a long while. And we visit family in two Louisiana cities every year.
The south doesn’t own racism as a concept its a stereotype.
Rev@ihax0r.comto Linux@lemmy.ml•What was your first experience using Linux? How old were you? Stick around or did you go back to windows before eventually circling back to Linux?1·2 years agoSlackware 1998. I spent 6 months in a text only freebsd install in 1999. Because of a dram issue I wasn’t able to run windows without blue screens. Text based internet wasn’t that bad in 1999. I could load up xwindows if I wanted to see a picture but rarely did. Talking on irc somebody mentioned memtest and my memory had a very long warranty so I took it back to the store. Then I spent the next several years addicted to quake/quake2
Those toshiba laptops. I ran freebsd on one in 2002.
Rev@ihax0r.comto Memes@lemmy.ml•Me now that the new lemmy clients can replace my reddit addiction2·2 years agoIts not as polished as Apollo but years of development will do that for you.
I noticed at one point in the side swipe upvote the down vote and upvote waw pointing down just the color was changing
Yeah last several times I used the iso it was to img a thumb drive. I might have a cd burner around here somewhere
Feel like lemmy is more like usenet than a forum