Extension for Visual Studio Code to preview Graphviz (DOT) files.
My solutions to exercises from the book Essentials of Programming Languages.
EFanZh/Introduction-to-Algorithms 17
Implementations of algorithms and solutions to exercises and problems from the book Introduction to Algorithms, Third Edition.
EFanZh’s programs.
Challenges from Category Theory for Programmers (https://bartoszmilewski.com/2014/10/28/category-theory-for-programmers-the-preface/)
Approximate floating point equality comparisons and assertions
push eventEFanZh/LeetCode
commit sha d25c38f70cbafd86a945765c5ee3de54150a636b
Refactor
push time in 2 hours
push eventEFanZh/LeetCode
commit sha 9f3a131e11e4112917c5961d482285a46708255d
Add a new solution to problem 1622: Fancy Sequence
push time in 3 hours
push eventEFanZh/LeetCode
commit sha e3c83f43963bcf6cf93c6661352d8e2292ced586
Cover more codes
commit sha 9d5e1df68f0ff1cca98e37824595d9c82576d242
Add problem 1622: Fancy Sequence
push time in 15 hours
push eventEFanZh/LeetCode
commit sha ce30974892ddd37e58f8cd8c211eb641324631a8
Add problem 1775: Equal Sum Arrays With Minimum Number of Operations
push time in a day
push eventEFanZh/LeetCode
commit sha 72deb05de11b9820bea660e22f5a67df0dff577a
Add problem 1869: Substrings of Size Three with Distinct Characters
push time in 2 days
issue closedgetzola/zola
Jekyll’s titles-from-headings supports setting page.title
from Markdown headings as a fallback if user does not specify page.title
in the front matter. I am wondering if zola could support something similar.
closed time in 2 days
EFanZhpush eventEFanZh/LeetCode
commit sha d1e99c34a81f1dc3ebebe9c8dcc2ec30823e5adf
Add problem 1760: Minimum Limit of Balls in a Bag
push time in 3 days
issue commentgetzola/zola
If someone else submits a PR to implement this feature (possibly with an option to enable or disable this behavior), will it be accepted?
comment created time in 4 days
push eventEFanZh/LeetCode
commit sha c02c5e515ceb005a304de37927738f3ff8d5255b
Add problem 1860: Incremental Memory Leak
push time in 4 days
issue openedtrailofbits/dylint
Incorrect output when two different lint libs being executed consectively
Suppose I have two lint library in a workspace:
[workspace.metadata.dylint]
libraries = [{ path = "crates/my-lint-0" }, { path = "crates/my-lint-1" }]
If I run cargo dylint
with these two different libraries consecutively, the second run will output the same result as the first one:
$ cargo dylint --lib my-lint-0
(some output)
$ cargo dylint --lib my-lint-1
(the same output from previous run)
I expect the second run should generate a different output, but the output is the same as the first one.
created time in 4 days
push eventEFanZh/LeetCode
commit sha 53b298c311fbc7bd9a60b4d608d93e29b7ed5513
Update GitHub actions
commit sha 96c2b1a83db887822914ac3285165605125c905d
Add problem 1621: Number of Sets of K Non-Overlapping Line Segments
push time in 5 days
issue openedgetzola/zola
Jekyll’s titles-from-headings supports setting page.title
from Markdown headings as a fallback if user does not specify page.title
in front matter. I am wondering if zola could support something similar.
created time in 6 days
push eventEFanZh/efanzh.github.io
commit sha 55a653973b8571e61213def0ccbffa94acdb7bde
Add Google Domains
commit sha 1eaa4ed85263a7778d286c26915851e7d6477902
Add MPC-HC fork by clsid2
commit sha 15ed9d559771d461c5bf3c40be91aecdf7db1925
Add check workflow
push time in 6 days
push eventEFanZh/efanzh.github.io
commit sha da5626b2f04851c8f84f1bfac181d419067656e4
Remove CNAME file
push time in 6 days
push eventEFanZh/efanzh.github.io
commit sha 565b81855658615e35a0059dbf704b7f467c6f32
Switch to zola
push time in 6 days
push eventEFanZh/LeetCode
commit sha ce9232303da19c1d199e5a41b3be2316ba0d61af
Add problem 1620: Coordinate With Maximum Network Quality
push time in 6 days
push eventEFanZh/CTfP-Challenges
commit sha 21d997d90daee5ebb7ffaf09007603fb0f0c6829
Add challenge 5.8 - 8
commit sha aafcbf850de80f75626f58fd5b858828a3fd7911
Move each concept into its own source file
push time in 7 days
push eventEFanZh/ast-demangle
commit sha e562f2c8603fbd556602aa20200bdccfc768bffa
Refactor tuple macros
push time in 7 days
push eventEFanZh/LeetCode
commit sha 305c4eaadba23f4cb4df8ba468a5a8aff89bb511
Add problem 1859: Sorting the Sentence
push time in 7 days
push eventEFanZh/LeetCode
commit sha aea8fe325c94ab89eb247402ff5f6c0669422f56
Add problem 1855: Maximum Distance Between a Pair of Values
push time in 8 days
push eventEFanZh/LeetCode
commit sha 69f7de92b8759df34cb952fda8c0079aba4308c6
Add problem 1854: Maximum Population Year
push time in 9 days
issue openedtokio-rs/prost
Stack overflow when decoding a recursive message with `proto2` syntax
Suppose I have a proto file with a recursive message:
syntax = "proto2";
package foo;
message Foo { required Foo x = 1; }
prost-build
will generate this struct:
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Foo {
#[prost(message, required, boxed, tag = "1")]
pub x: ::prost::alloc::boxed::Box<Foo>,
}
If I use the Foo
type to decode an empty byte slice, I get an stack overflow error:
use prost::Message;
include!(concat!(env!("OUT_DIR"), "/foo.rs"));
fn main() {
let _ = Foo::decode(b"".as_slice());
}
I guess the behavior is caused by prost
attempting to construct a Foo
object, which is not possible, since constructing it recursively depends on itself.
created time in 9 days
push eventEFanZh/LeetCode
commit sha e48be3f47a02d9f5211c8dc936ac049209352606
Add problem 1848: Minimum Distance to the Target Element
push time in 10 days
startedxetdata/nfsserve
started time in 11 days
push eventEFanZh/LeetCode
commit sha d3214214cf915a70c789348e8577228a6ed1852d
Add problem 1846: Maximum Element After Decreasing and Rearranging
push time in 11 days
startedmermaid-js/mermaid
started time in 12 days
push eventEFanZh/LeetCode
commit sha 6207ffe0df93d78f76bed7b6b2ec3ffb7f1a5727
Add problem 1845: Seat Reservation Manager
push time in 12 days
startedVeykril/tlborm
started time in 13 days