Paul Loyd

Results 89 issues of Paul Loyd

In `tid.rs` `LEN` is defined as: https://github.com/hawkw/sharded-slab/blob/8ebe120fd28b3a463932bbf0728e2baf5a558840/src/tid.rs#L47 that gives for the default config (`MAX_THREADS = 4096`) 13 bit space instead of 12: ```rust assert_eq!(Tid::::LEN, 13); ``` Meanwhile, we have two...

It's very useful for some sites to handle this case: ``` html Some long text... Link ... ``` Competitors do: https://github.com/mozilla/readability/blob/master/Readability.js#L677-L688 https://github.com/luin/readability/blob/master/src/helpers.js#L108-L119 I think it must be optional. Something like...

Example: ```rust let f = 1652185258.8058286; let a: Decimal = f.to_string().parse().unwrap(); let b = Decimal::try_from(f).unwrap(); let c = Decimal::from_f64_retain(f).unwrap(); println!("try_from(f64 -> str): {}", a); println!("try_from(f64): {}", b); println!("from_f64_retain(f64): {}", c);...

It's impossible to depend on `quick-xml/serialize` without depending on `serde/derive` Details: #472

* generate certificates as fixtures for [localhost](https://letsencrypt.org/docs/certificates-for-localhost/) * build a custom ClickHouse image with [certs](https://clickhouse.com/docs/en/guides/sre/configuring-ssl) * introduce a dedicated env variable that uses HTTPs in tests * run some tests...

CI
tech-debt

``` Code: 62. DB::Exception: Syntax error: failed at position 81 ('TIMEOUT'): TIMEOUT AS SELECT num FROM test ORDER BY num. Expected one of: REFRESH, PERIODIC REFRESH. (SYNTAX_ERROR) (version 22.10.2.11 (official...

bug

Closes #93 Also, minor changes to satisfy clippy

Now `Entry: !Send`; thus, it cannot cross the `.await` point in multithreaded runtimes like tokio. I don't see anything in the code that relies on these restrictions, so the main...

Wakers from already-finished futures can be used to wake newer futures. The problem is that `PinSlab` doesn't prevent ABA. The full code (maybe not the minimal one): ```rust use std::future::{poll_fn,...

enhancement

Hello, thanks for the great crate. It would be nice to have a cheap way to remove futures/streams from the collection. `futures::stream::Abortable` can be used here, but it adds extra...

enhancement