Chadrick's Blog

  • Posts

November 2020

python

various properties of cairo `text_extent`

when using cairo with python, the text_extent function call is powerful because it returns coordinate information of the text the user wants to print. However, the information depends on the Context which will be used when calling this function and this context may have different properties. Effected by order of Read more…

By chadrick_author, 3 months ago
python

python operator precedence

https://docs.python.org/3/reference/expressions.html#operator-precedence

By chadrick_author, 4 months ago
error fix

allowing utf8 characters in python csv writer

reference: https://stackoverflow.com/questions/46551955/python-3-csv-utf-8-encoding do this at the start of csv writer to ad BOM

By chadrick_author, 4 months ago
Recent Posts
  • is it okay to calculate loss in cpu and backpropagate in torch?
  • paper review: “High-Performance Large-Scale Image Recognition Without Normalization”
  • gitignore ignore config files except sample config file
  • convert subquery columns into array of json objects
  • postgres database backup and restoring
Categories
  • algorithm
  • c/c++
  • cuda
  • data science
  • deep learning
  • error fix
  • kicad
  • kotlin
  • linux
  • postgres
  • python
  • pytorch
  • tensorflow
  • Uncategorized
  • web
Recent Comments
  • Anonymous on solving “‘grub-efi-amd64-signed’ package failed to install into /target/.” error while installing ubuntu 20.04
  • Anonymous on how to install cudnn(from tar file)
  • Vaishal on solving “‘grub-efi-amd64-signed’ package failed to install into /target/.” error while installing ubuntu 20.04
  • Anonymous on paper review: Intriguing properties of neural networks (getting adversarial samples using L-BGFS method)
  • Shraddha on cv2 resize interpolation methods
Archives
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
Meta
  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Posts
Hestia | Developed by ThemeIsle