I hereby claim:
- I am conaclos on github.
- I am conaclos (https://keybase.io/conaclos) on keybase.
- I have a public key ASDe0GKehufRBL2P2fQAGfnYjvEOTRDAQVzjnsuTmqPaAAo
To claim this, I am signing this object:
def stable (value): | |
return lambda *args, **kwargs: value | |
def once_per_object (unstable): | |
"""Method decorator. Run only once 'unstable' per instance""" | |
def stabilize (*args, **kwargs): | |
self = args [0] | |
result = unstable (*args, **kwargs) | |
setattr (self, unstable.__name__, stable (result)) | |
return result |
I hereby claim:
To claim this, I am signing this object:
Would you like to change your public committer email? You are in the right place!
Warning: The next git command change the entire branch historic. Apply it only on unshared repositories.
git filter-branch -f --env-filter "GIT_AUTHOR_EMAIL='email@email'; GIT_COMMITTER_EMAIL='email@email';" HEAD
/* | |
Copyright (c) 2016 Victorien ELVINGER | |
This Source Code Form is subject to the terms of the Mozilla Public | |
License, v. 2.0. If a copy of the MPL was not distributed with this | |
file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
*/ | |
interface DeepJoinFunction { | |
<A, B> (a: A, b: B): A & B |
/* | |
Copyright (c) 2018 Victorien Elvinger | |
This Source Code Form is subject to the terms of the Mozilla Public | |
License, v. 2.0. If a copy of the MPL was not distributed with this | |
file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
*/ | |
export type uint4 = number | |
/** |
The following SQL statement enables to generate a base64 uuid encoded on 96bits (12 octects).
SELECT (substr(chars, (first & 63)+1, 1) ||
substr(chars, ((first >> 6) & 63)+1, 1) ||
substr(chars, ((first >> 12) & 63)+1, 1) ||
substr(chars, ((first >> 18) & 63)+1, 1) ||
substr(chars, ((first >> 24) & 63)+1, 1) ||
substr(chars, ((first >> 30) & 63)+1, 1) ||
substr(chars, ((first >> 36) & 63)+1, 1) ||
type TypeId uint | |
type BoolType void | |
type I8Type void | |
type I16Type void | |
type I32Type void | |
type I64Type void | |
type IntType void | |
type StrType void | |
type U8Type void |
Multiple rules from TypeScript ESLint requires type information. Moreover, several linter rules could be enhanced by using type information.
TypeScript ESLint uses the TypeScript Compiler API to get types. This architecture has the advantage of using the TypeScript Compiler. However, it has several drawbacks: