Skip to content

Instantly share code, notes, and snippets.

View giorgiosironi's full-sized avatar

Giorgio Sironi giorgiosironi

View GitHub Profile
{"log":"2020-06-02T09:27:47.515Z app:api:fetch-abstract-from-crossref Found abstract for 10.1101/339747: \r\n Abstract\r\n \r\n Induction of a non-culturable state has been demonstrated for many bacteria. In a clinical perspective, the lack of growth due to these non-culturable bacteria can have major consequences for the diagnosis and treatment of patients. Here we show how anoxic conditioning (restriction of molecular oxygen, O\r\n 2\r\n ) generates difficult-to-culture (DTC) bacteria during biofilm growth. A significant subpopulation of\r\n Pseudomonas aeruginosa\r\n entered a DTC state after anoxic conditioning, ranging from five to 90 % of the total culturable population, in both planktonic and biofilm models. Anoxic conditioning also generated DTC subpopulations of\r\n Staphylococcus aureus\r\n and\r\n Staphylococcus epidermidis\r\n . Growth of the DTC populations were achieved by substit
Proposal for scientific publishers 0507
- Highlight on Page 2 | Added on Thursday, May 28, 2020, 03:16 PM
The proposed process envisions that authors post articles and data on repositories and journals peer review and curate those articles and data in exchange for service fees
==========
Proposal for scientific publishers 0507
- Highlight on Page 3 | Added on Thursday, May 28, 2020, 03:21 PM
Publishers could also incentivize peer review service by offering vouchers to peer reviewers. Such vouchers would entitle the recipient to a discounted peer review for one of their own articles (note that the voucher won’t promise a favorable outcome of the peer review)
==========
## 1. Lego
What is this? A set of Lego bricks ok. Trademarked name.
It's also one of the most overused metaphors in software development. You can replicate software an infinite number of times. So if you have reusable components that you or someone else have built, you put them together to get a complete application like GMail or Microsoft Word.
## 2. Cables
Reality is more similar to this. Software components and libraries follow different standards, are built for different audiences and incorporate different assumptions. So they need to be put together with duct tape, screws, adapters; completely custom parts need to be fitted in to get a polished product.
The end result can be scary but it's not necessarily of low quality; what can be scary is if you were given the Lego bricks and asked to put together this. This could happen because you have purchased the product (a set of bricks) or even across different teams in a single company if there is a separation of development (build it) and operations (run
@giorgiosironi
giorgiosironi / blocking-test.js
Last active November 14, 2019 10:23 — forked from diversemix/blocking-test.js
Test for understanding how blocking works
const fs = require('fs');
const log = (text) => {
console.log(new Date() + ' ' + text);
}
const util = require('util');
const sleep = async ms => {
return new Promise(resolve => setTimeout(resolve, ms));
};
version: '3'
services:
b:
build:
context: .
dockerfile: Dockerfile.b
args:
image_tag: ${IMAGE_TAG}
image: b:${IMAGE_TAG}
Martin Fowler foreword
- real data and analysis
- 1 hour from commit to production as the benchmark
- speed with stability, not a trade-off
- caveats: subjective perceptions, sampling bias, confirmation bias
- scope: from commit to production, not entire development process
Courtney Kissler (Nike) foreword
- advocates for the book by personal experience
- optimizing for speed, not cost
- senior leadership commitment to a learning organization
# https://github.com/hibri/pair-programming-interview-resources/wiki/The-Checkout-Kata
The Checkout Kata
BlueReZZ edited this page on 27 Jun 2012 · 5 revisions
We’re going to see how far we can get in implementing a supermarket checkout that calculates the total price of a number of items. In a normal supermarket, things are identified using Stock Keeping Units, or SKUs. In our store, we’ll use individual letters of the alphabet (A, B, C, and so on). Our goods are priced individually. In addition, some items are multipriced: buy n of them, and they’ll cost you y pounds. For example, item ‘A’ might cost 50 pounds individually, but this week we have a special offer: buy three ‘A’s and they’ll cost you 130. The price and offer table:
Item Price Offer
--------------------------
A 50 3 for 130
{
"subjects": [
{
"id": "biochemistry-and-chemical-biology",
"name": "Biochemistry and chemical biology"
}
]
}
<subjects>
{
"journal": {
"id": "eLife",
"title": "eLife",
"issn": "2050-084X"
},
"snippet": {
"-meta": {
"location": "/home/giorgio/code/bot-lax-adaptor/elife-00666-v1.xml"
},
E {'event-message': 'Lax has not ingested article '
E '7121087146396100666 result from '
E 'lax:invalid; message from lax: '
E '(error 1 of 1)\n'
E '\n'