Setup:
# set CONTRIBUTORS file to mailmap to remove duplicate emails for the same name
# see: https://git-scm.com/docs/git-shortlog#_mapping_authors
$ git config mailmap.file CONTRIBUTORS
Top 10 contributors (all):
/* 1 */ | |
So I'm reading the documentation for database/sql for rows.Close(): | |
"Close closes the Rows, preventing further enumeration. If Next returns false, the Rows are closed automatically | |
and it will suffice to check the result of Err. Close is idempotent and does not affect the result of Err."" | |
I still don't get what closing a row does. I get closing in the context of closing for like DB.close() since its a DB | |
connection. But what does closing a row mean. "Close closes the Rows". Its using the same word to describe itself. | |
Answer: DB Connection Pooling | |
Open is essentially only there to store credentials & never makes a connection. | |
Queries / Insert / etc. each create separate connections in the DB Connection Pool as they are independent of |
Setup:
# set CONTRIBUTORS file to mailmap to remove duplicate emails for the same name
# see: https://git-scm.com/docs/git-shortlog#_mapping_authors
$ git config mailmap.file CONTRIBUTORS
Top 10 contributors (all):
#! /bin/bash | |
# | |
# Author: Pasquale Ceres (pasquale_c@hotmail.com) | |
# License: GPL ver. 3 | |
# | |
# Script originally developed for the | |
# "San Lorenzo Martire Caposele Church Records Digitalization Project" | |
# | |
# http://www.facebook.com/group.php?gid=188973755117&v=photos |
This project has moved to https://github.com/jonhoo/drwmutex so it can be imported into Go applications.
## TELL ME ABOUT YOURSELF | |
#### You can fill this form out on your own or we can do it together, conversation style. If you prefer to have a conversation then please let me know so we can extend our 1:1 | |
* What are your pronouns? | |
* What's your personality type? (example: I'm an ENPF [Take the quiz](https://www.16personalities.com/free-personality-test)) | |
* What motivates you? | |
* What keeps you up at night? | |
* What's your learning style? (example: I'm an Auditory-ISFP, but keep in mind that people can be between learning styles or identify with more than one. Don't let it define you. It's simply information [Take the quiz](https://learningstylequiz.com/)) | |
* Visual (spatial) | |
* Aural (auditory) |
individual = { | |
_id : ObjectId("4f2978dfaa999d9db02618ce"), | |
AFN : '1XYK-KQJ', | |
name: { | |
first: ['john', 'johannes'], | |
middle: 'peter', | |
last: ['smith', 'sandvik'] | |
}, | |
events : [ |
blueprint: | |
name: Frigate Notifications by SgtB have moved | |
description: | | |
## ANNOUNCEMENT | |
I have moved from this gist to a github repositry. | |
Please checkout https://github.com/SgtBatten/HA_blueprints for the latest versions | |
domain: automation |
These instructions have moved to https://github.com/emporia-vue-local/esphome