Jerry Ling

Results 655 comments of Jerry Ling

for example, in `hyde`, I don't find a way to display all posts other than writing a script to generate a `index.md` for this purpose. Also, entries such as website_title...

Hi, Thanks for the swift and detailed reply. > Are you referring to chronological posting? where you would have a page with an ordered list of all the posts? yes...

I re-realized we should probably leverage this from template engine Mustache, at least for front page geneation. https://github.com/jverzani/Mustache.jl#iteration

slightly off-topic but I also think we can re-use Weave.jl for code evaluation if you render the code block with `render("path to some .jmd", doctype="github")` the following: ````` ```julia a...

what I like about Weave is that it doesn't create `.jl` files somewhere and has file-level separation in terms of evaluation (I think).

``` julia> using Statistics julia> a = [1 2; missing 3] 2×2 Array{Union{Missing, Int64},2}: 1 2 missing 3 julia> sum(skipmissing(a), dims=1) ERROR: MethodError: no method matching sum(::Base.SkipMissing{Array{Union{Missing, Int64},2}}; dims=1) Closest...

for a start, we can simply change it to `maxthreadid()` ```julia > julia --threads 2,1 -e "println(Threads.nthreads())" 2 > julia --threads 2,1 -e "println(Threads.maxthreadid())" 3 ```

after that, we can add a `init!()` function like https://github.com/JuliaConcurrent/MultiThreadedCaches.jl/blob/ad3f8ae91083faf830b10c517a241fbd2cbae9a6/src/MultiThreadedCaches.jl#L81-L86 and user can call this function whenever their threading situation changes (through adoption)

After the fix: ![image](https://github.com/Moelf/FHist.jl/assets/5306213/0141c808-3d02-4dcd-bd4d-3c78587875d9)