I'm at the age of happily admitting I'm a casual when playing games
Introducing PEP 665: Specifying Installation Requirements for Python Projects (aka lock files)
Jim Allchin to Bill Gates: "I would buy a Mac today if I was not working at Microsoft"
January 7, 2004
One of way to filter #pandas DataFrame is to use .query("condition") method
Takeaway from the #PegasusProject spyware revelations:
If 10 Prime Ministers & 3 presidents can't be safe from mercenary spyware, what chance do the rest of us stand?
Since the hacking industry is incapable of self control, governments must step up.
json.loads() takes in a string and returns a json object
json.dumps() takes in a json object and returns a string
I have been experimenting with SQLite for the past few days to generate a test DB with one billion rows but under a minute, on my machine. Currently, I could do 100M rows in 33 seconds. Here is my post on it - https://avi.im/blag/2021/fast-sqlite-inserts/
Here are some of the key learnings: (1/6)
It's a chemistree
Stop what you're doing and read this. This leak is going to be the story of the year: (LINK: https://www.theguardian.com/world/2021/jul/18/revealed-leak-uncovers-global-abuse-of-cyber-surveillance-weapon-nso-group-pegasus)
Playing with some ideas...
@PyBites@twitter.com #Python Tip: Useful string module constants https://codechalleng.es/tips/useful-string-module-constants#.YPFI5j82lRQ.twitter
After a lot of work, we have finished the implementation of PEP 657 🚀🎉. In Python 3.11🐍, tracebacks will annotate where exactly the error is happening in your code 🤯. No more confusion having to guess what part of the expression is wrong. Learn more at https://www.python.org/dev/peps/pep-0657/
We have just released HPy 0.0.2, which is the very first public release! Check it out: http://hpyproject.org/blog/posts/2021/07/hpy-0.0.2-first-public-release/
Pine64's Open Source Smartwatch Goes on Sale for $27 #opensource https://www.omgubuntu.co.uk/2021/07/pine64s-open-source-smartwatch-goes-on-sale-for-27
Very interesting technique to implement custom joins in Django *using* the ORM.
The article demonstrate a common scenario of joining with a "slowly change dimension", but I guess it can be used for other types of joins such as composite keys etc.
Microsoft exec: "Summary of meeting with Steve Jobs"
April 23, 1998
Falsehoods Programmers Believe About Falsehoods Lists https://kevin.deldycke.com/2016/12/falsehoods-programmers-believe-about-falsehoods-lists/
Executable delicious delights. And stuff.
Le réseau social de l'avenir : Pas d'annonces, pas de surveillance institutionnelle, conception éthique et décentralisation ! Possédez vos données avec Mastodon !