RStudio 1.2 Released with Support for SQL, Stan, Python and D3: https://blog.rstudio.com/2019/04/30/rstudio-1-2-release/
Rstudio
RStudio 1.2 Released
We're excited to announce the official release of RStudio 1.2!
What’s new in RStudio 1.2? Over a year in the making, this new release of RStudio includes dozens of new productivity enhancements and capabilities. You’ll now find RStudio a more comfortable…
What’s new in RStudio 1.2? Over a year in the making, this new release of RStudio includes dozens of new productivity enhancements and capabilities. You’ll now find RStudio a more comfortable…
Is double-checked locking safe in Python? When and when not?: https://stackoverflow.com/questions/55957708/is-double-checked-locking-safe-in-python-when-and-when-not
Stack Overflow
Is double-checked locking safe in Python? When and when not?
The double-checked locking idiom is not reliable in some languages, and I want to know whether Python is one of them. More concretely, is the following code...
# Objects shared by threads:
obj = N...
# Objects shared by threads:
obj = N...
TypeError: super(type, obj) when using exec(): https://stackoverflow.com/questions/55961786/typeerror-supertype-obj-when-using-exec
Stack Overflow
TypeError: super(type, obj) when using exec()
Below is the whole (test) app written with Kivy.
This is something like app preview application:
user enters a text of kv markup (see variable self.kv) and a text of classes (see variable self.text).
This is something like app preview application:
user enters a text of kv markup (see variable self.kv) and a text of classes (see variable self.text).
What would be considered an "entry level" python job?: https://www.reddit.com/r/Python/comments/bkig2j/what_would_be_considered_an_entry_level_python_job/
reddit
r/Python - What would be considered an "entry level" python job?
39 votes and 25 comments so far on Reddit
How to generate the header and footer for WhatsApp's .crypt12 format?: https://stackoverflow.com/questions/55948189/how-to-generate-the-header-and-footer-for-whatsapps-crypt12-format
Stack Overflow
How to generate the header and footer for WhatsApp's .crypt12 format?
WhatsApp stores all messages in an sqlite file which is first zlib compressed and then AES encrypted.
Decryption/decompression can be done quite easily like that:
def decrypt(db_file, key_file):...
Decryption/decompression can be done quite easily like that:
def decrypt(db_file, key_file):...
Cython: Assigning single element to multidimensional memory view slice: https://stackoverflow.com/questions/55959627/cython-assigning-single-element-to-multidimensional-memory-view-slice
Stack Overflow
Cython: Assigning single element to multidimensional memory view slice
Cython appears to use a wrong striding whenever I assign a single value to a slice of a multi-dimensional memory view, except when the slice is along the first dimension. I give a complete example ...
I trained a RNN on Donald Trumps tweets and the results were chaos: https://www.reddit.com/r/Python/comments/bks1ul/i_trained_a_rnn_on_donald_trumps_tweets_and_the/
reddit
r/Python - I trained a RNN on Donald Trumps tweets and the results were chaos
46 votes and 11 comments so far on Reddit
Complete guide to Python package creation, automated testing and deployment to PyPI: https://www.reddit.com/r/Python/comments/bkv1y1/complete_guide_to_python_package_creation/
reddit
r/Python - Complete guide to Python package creation, automated testing and deployment to PyPI
95 votes and 5 comments so far on Reddit
How to apply Guided BackProp in Tensorflow 2.0?: https://stackoverflow.com/questions/55924331/how-to-apply-guided-backprop-in-tensorflow-2-0
Stack Overflow
How to apply Guided BackProp in Tensorflow 2.0?
I am starting with Tensorflow 2.0 and trying to implement Guided BackProp to display Saliency Map. I started by computing the loss between y_pred and y_true of an image, then find gradients of all ...
I got control of my spending with a few no-code services and 100 lines of python: https://medium.com/@jcpeters/how-i-got-control-of-my-spending-with-a-couple-no-code-services-and-only-100-lines-of-python-code-36c8ac75f670
Medium
How I got control of my spending with a couple no-code services and only 100 lines of Python code
Lessons learned about moving fast and shipping products
The reason I am using Altair for most of my visualization in Python: https://www.reddit.com/r/Python/comments/bkyeyc/the_reason_i_am_using_altair_for_most_of_my/
reddit
The reason I am using Altair for most of my visualization in Python
Hi everybody. I used to visualize most of my work in matplotlib and Seaborn (after trying Bokeh, Plotly, plotnine, among others), but when I...
Tensorflow 1.13.1 tf.data map multiple images with a single row together: https://stackoverflow.com/questions/55964853/tensorflow-1-13-1-tf-data-map-multiple-images-with-a-single-row-together
Stack Overflow
Tensorflow 1.13.1 tf.data map multiple images with a single row together
I'm building my tf dataset where there are multiple inputs (images and numerical/categorical data). The problem I am having is that multiple images correspond to the same row in the pd.Dataframe I ...
Guido with a painting of himself that was auctioned yesterday night at the PyLadies Auction 2019!: https://www.reddit.com/r/Python/comments/bl2d33/guido_with_a_painting_of_himself_that_was/
reddit
Guido with a painting of himself that was auctioned yesterday...
Posted in r/Python by u/theoracleguy • 782 points and 61 comments
How to update and copy a row in SQL?: https://stackoverflow.com/questions/52052296/how-to-update-and-copy-a-row-in-sql
Stack Overflow
How to update and copy a row in SQL?
Let's say I have a row in a ProductTable. That row's ItemID column links to ItemTable's ID column. The ID columns of both tables are primary keys and identity columns.
Like this:
ProductTable:
...
Like this:
ProductTable:
...
Modifying a pandas dataframe with dynamic logic using exec: https://stackoverflow.com/questions/55974594/modifying-a-pandas-dataframe-with-dynamic-logic-using-exec
Stack Overflow
Modifying a pandas dataframe with dynamic logic using exec
Let's say I have a script that reads data into a dataframe from a database, runs some logic on that dataframe, and then exports the resulting dataframe into another database table like below. The i...
Guido blames social media for his decision to abandon the supervision of Python: https://www.revyuh.com/2019/05/guido-blames-social-media-in-part-for-his-decision-to-abandon-the-supervision-of-python/
Revyuh
Guido blames social media in part for his decision to abandon the supervision of Python
Guido van Rosuum, creator and former "Benevolent Dictator for Life" of Python, decided to abandon the supervision of the development of Python alleging that he was tired of hatred...