Skip to content

Instantly share code, notes, and snippets.

View alexreg's full-sized avatar

Alexander Regueiro alexreg

View GitHub Profile
error[E0119]: conflicting implementations of trait `de::BorshDeserialize` for type `std::boxed::Box<_>`
--> crates/borsh/src/iter.rs:36:1
|
36 | / impl<T: FromCanonicalIterator<A>, A> BorshDeserialize for T
37 | | where
38 | | T: IntoCanonicalIterator<Item = A>,
39 | | A: BorshDeserialize,
... |
48 | | }
49 | | }
use std::{
io::{Result, Write},
iter::{ExactSizeIterator, FromIterator, IntoIterator},
};
use super::{de::BorshDeserialize, ser::BorshSerialize};
/// Conversion into an `Iterator` with a canonical ordering of items.
pub trait IntoCanonicalIterator: IntoIterator {
// Note: no default impl because we cannot assume that `into_iter` yields canonical ordering.
@alexreg
alexreg / # vcflib - 2021-12-26_22-54-06.txt
Created December 26, 2021 22:56
vcflib (brewsci/bio/vcflib) on macOS 12 - Homebrew build logs
Homebrew build logs for brewsci/bio/vcflib on macOS 12
Build date: 2021-12-26 22:54:06
\begin{filecontents*}{\jobname.bib}
@book{author00,
title = {{A Title}},
publisher = {Alpha},
year = {2008},
editor = {Author, A},
address = {London}
}
@book{buthor00,
title = {{B Title}},
2021-07-18 16:37:19 +0100
mvn
clean
install
-P
clone-test-resources
Picked up _JAVA_OPTIONS: -Duser.home=/Library/Caches/Homebrew/java_cache
[INFO] Scanning for projects...
class Pattern(Generic[AnyStr]):
flags: int
groupindex: Mapping[str, int]
groups: int
pattern: AnyStr
def search(self, string: AnyStr, pos: int = ..., endpos: int = ...) -> Optional[Match[AnyStr]]: ...
def match(self, string: AnyStr, pos: int = ..., endpos: int = ...) -> Optional[Match[AnyStr]]: ...
# New in Python 3.4
def fullmatch(self, string: AnyStr, pos: int = ..., endpos: int = ...) -> Optional[Match[AnyStr]]: ...
@alexreg
alexreg / a
Created February 4, 2021 20:58
% The code in this file is based on <https://tex.stackexchange.com/a/349521/303>.
% ----
\RequirePackage{etoolbox}
\RequirePackage{iftex}
% Check if we are generating a PDF using XeTeX.
\ifboolexpr{test {\ifnumgreater{\value{pdftype}}{0}} and bool {XeTeX}}{
\RequirePackage{atbegshi}
}{}
@alexreg
alexreg / a
Created January 22, 2021 19:20
Rc files read:
/Users/alex/.latexmkrc
Latexmk: This is Latexmk, John Collins, 29 September 2020, version: 4.70b.
Rule 'biber build/essay': File changes, etc:
Changed files, or newly in use since previous run(s):
'build/essay.bcf'
------------
Run number 1 of rule 'biber build/essay'
------------
------------
@alexreg
alexreg / a
Created January 22, 2021 19:18
Rc files read:
/Users/alex/.latexmkrc
Latexmk: This is Latexmk, John Collins, 29 September 2020, version: 4.70b.
Rule 'biber build/essay': File changes, etc:
Changed files, or newly in use since previous run(s):
'build/essay.bcf'
------------
Run number 1 of rule 'biber build/essay'
------------
------------
@alexreg
alexreg / a
Created January 22, 2021 17:01
<?xml version="1.0" encoding="utf-8"?>
<report>
<buildInformation>
<releaseDetails id="core" version="1.16.1" buildDate="2020-05-12T00:43:00+01:00"></releaseDetails>
<releaseDetails id="validation-model" version="1.16.1" buildDate="2020-05-12T00:46:00+01:00"></releaseDetails>
<releaseDetails id="gui" version="1.16.1" buildDate="2020-05-12T00:59:00+01:00"></releaseDetails>
</buildInformation>
<jobs>
<job>
<item size="193164">