profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/MichaelHatherly/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Michael Hatherly MichaelHatherly PumasAI Scotland

JuliaDocs/Documenter.jl 382

A documentation generator for Julia.

MichaelHatherly/CommonMark.jl 45

A CommonMark-compliant parser for Julia.

MichaelHatherly/Docile.jl 39

Julia package documentation system.

MichaelHatherly/Publish.jl 38

A universal document authoring package for Julia.

MichaelHatherly/Lexicon.jl 16

Julia package documentation generator.

MichaelHatherly/Tectonic.jl 6

Tectonic typesetting for Julia.

MichaelHatherly/TreeSitter.jl 4

Julia bindings for tree-sitter.

MichaelHatherly/PrivateModules.jl 3

Make unexported symbols private.

MichaelHatherly/AnonymousTypes.jl 1

Anonymous mutable and immutable types.

MichaelHatherly/Documenter.jl 1

A documentation generator for Julia.

issue openedJuliaLang/julia

Specialization for keyword arguments of the form Type{T}

I observed some unexpected specialization behavior with keyword arguments.

julia> function f(x; as::Type{T} = Int) where {T}
         return T(x)
       end

Then

julia> @code_warntype f(1, as = Float64)

seems to indicate that it is not really specializing, but juggling around with DataType. I would have expected this with just as::Type = Int because of some specialization heuristic I know from positional arguments.

Is this intended? Or maybe @code_warntype is lying to me? Reproduced on julia 1.5 and 6 days old master.

created time in 17 minutes

issue commentjulia-vscode/julia-vscode

More incorrect indentation

We can't really do anything about this, afaict. Or at least not easily. By indenting the second line manually you basically tell VSCode that that's the new indentation level, and a closing paren shouldn't change that.

yha

comment created time in an hour

issue commentjulia-vscode/julia-vscode

Julia table displays sorted data in wrong order for negative values

Just for future reference -- looks like the column isn't marked as numeric, so it's just sorting strings instead.

azev77

comment created time in an hour

issue openedJuliaLang/julia

libopenblas: illegal instruction on master

On my computer, the LinearAlgebra tests fail on master due to illegal instructions in openblas:

Test         (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
LinearAlgebra/lq  (1) |        started at 2021-03-01T12:34:19.198
Invalid instruction at 0x7f5b03e90e9d: 0x66, 0xc5, 0xf0, 0x57, 0xc9, 0xc5, 0xe8, 0x57, 0xd2, 0xc5, 0xe0, 0x57, 0xdb, 0xc5, 0xd8

signal (4): Illegal instruction
in expression starting at /home/sebastian/Development/julia/usr/share/julia/stdlib/v1.7/LinearAlgebra/test/lq.jl:20
zgemm_kernel_n_SANDYBRIDGE at /home/sebastian/Development/julia/usr/bin/../lib/libopenblas64_.so (unknown line)
Allocations: 122985676 (Pool: 122813719; Big: 171957); GC: 204
Julia Version 1.7.0-DEV.627
Commit e784dd010a (2021-02-28 18:59 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, ivybridge)

created time in an hour

issue commentJuliaLang/julia

Indexing an Array with a single AbstractUnitRange might use contiguity of elements to run faster

I would just relax the signature of the getindex(A::Array, I::UnitRange{Int}) method, changing the second argument to AbstractUnitRange{Int} or even AbstractUnitRange{<:Integer}. That should be enough (it might lead to new method ambiguities which would have to be fixed, but otherwise I don’t see how it could go wrong).

jishnub

comment created time in 2 hours

issue commentJuliaLang/julia

Slow inplace sorting of a view

Good, I'll try to find the breaking point then and report it.

Arkoniak

comment created time in 2 hours

issue commentJuliaLang/julia

Slow inplace sorting of a view

I tried on 1.6-RC1 and the result was:

  11.584 μs (0 allocations: 0 bytes)

for the view while on 1.7 it is

 18.640 μs (0 allocations: 0 bytes)

so it seems the regression is quite new.

Arkoniak

comment created time in 3 hours

PR opened julia-vscode/julia-vscode

hide prompt for activate command

Fixes https://github.com/julia-vscode/julia-vscode/issues/1977.

For every PR, please check the following:

  • [x] End-user documentation check. If this PR requires end-user documentation, please add that at https://github.com/julia-vscode/docs.
  • [x] Changelog mention. If this PR should be mentioned in the CHANGELOG, please edit the CHANGELOG.md file in this PR.
+1 -1

0 comment

1 changed file

pr created time in 3 hours

create barnchjulia-vscode/julia-vscode

branch : sp/activate-hide-prompt

created branch time in 3 hours

issue commentJuliaLang/julia

`view` emits a boundscheck that can't be turned off.

Tangentially, please provide input arguments for issues like this.

vchuravy

comment created time in 3 hours

issue commentjulia-vscode/julia-vscode

Execute code command fails after REPL restart

I can't repro this, even when trying to start a new session very quickly after killing the active one. #1980 might fix the symptoms but not the cause of the issue.

yha

comment created time in 3 hours

PR opened julia-vscode/julia-vscode

unique pipe names

Might fix https://github.com/julia-vscode/julia-vscode/issues/1978. I don't think this will break anything, so might make sense to get in regardless.

For every PR, please check the following:

  • [x] End-user documentation check. If this PR requires end-user documentation, please add that at https://github.com/julia-vscode/docs.
  • [x] Changelog mention. If this PR should be mentioned in the CHANGELOG, please edit the CHANGELOG.md file in this PR.
+3 -2

0 comment

1 changed file

pr created time in 3 hours

create barnchjulia-vscode/julia-vscode

branch : sp/unique-pipe-names

created branch time in 3 hours

issue openedJuliaLang/julia

Slow inplace sorting of a view

Related to this discourse thread: https://discourse.julialang.org/t/in-place-sorting-for-views/56194

using BenchmarkTools

v = rand(1000);
v2 = rand(2000);

v2[500:1499] .= v;

In Julia 1.7.0-DEV

julia> @btime sort!(vv) setup = (vv = deepcopy($v)) evals = 1;
  12.733 μs (0 allocations: 0 bytes)

julia> @btime sort!(vv) setup = (vv1 = deepcopy($v2); vv = @view vv1[500:1499]) evals = 1;
  15.665 μs (0 allocations: 0 bytes)

julia> versioninfo()
Julia Version 1.7.0-DEV.538
Commit 85354cf8ef (2021-02-15 11:47 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 4

In julia 1.5.0-rc1 (sorry I do not have newer 1.5 version, hope it's not really important).

julia> @btime sort!(vv) setup = (vv = deepcopy($v)) evals = 1;
  17.655 μs (0 allocations: 0 bytes)

julia> @btime sort!(vv) setup = (vv1 = deepcopy($v2); vv = @view vv1[500:1499]) evals = 1;
  11.901 μs (0 allocations: 0 bytes)

julia> versioninfo()
Julia Version 1.5.0-rc1.0
Commit 24f033c951 (2020-06-26 20:13 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 4

created time in 4 hours

CommitCommentEvent

issue commentJuliaIO/JLD2.jl

Unable to install v0.4.2 in Julia v1.0.5

Hm, that is rather odd. I can't think of anything other than your local registry being out of date or something like that but I'm no expert when it comes to that. Can you dev JLD2 for now?

navidcy

comment created time in 4 hours

issue closedplotly/Dash.jl

Make dash_bootstrap_components.themes available in Dash.jl

Hi all,

First, let me tell you how fantastic the work you've done so far is. I've been playing with Dash.jl for a few days now and it's incredible how seamless the experience is. Also, I think it's great you've added the components from the dbc library.

However, those components only work properly if you include a Bootstrap v4 stylesheet from BootstrapCDN. For this reason, the Python library provides the dash_bootstrap_components.themes module, with a number of free stylesheets from Bootstrap and from the Bootswatch gallery (see https://dash-bootstrap-components.opensource.faculty.ai/docs/themes/ for more info). It's a simple list of URL constants, but it's very practical as you don't have to hunt for the URLs yourself for at least that selection of stylesheets.

So I think it'd be great if Dash.jl could provide the same facility, maybe as a dbc_themes struct or NamedTuple, or whatever you feel fits best with how Dash.jl is supposed to work (I'm unfortunately not yet knowledgeable enough about Julia and the specific implementation of this library to be able to implement this myself).

What do you think?

closed time in 4 hours

tsela

issue commentplotly/Dash.jl

Make dash_bootstrap_components.themes available in Dash.jl

Wow great! Happy to see this resolved. This brings Dash.jl ever closer to being on par with Python Dash!

tsela

comment created time in 4 hours

issue closedjulia-vscode/julia-vscode

Allow setting of environment variables for Julia

I found myself in need to set LD_LIBRARY_PATH before starting Julia and it would be nice if I could set environment variables in general.

closed time in 5 hours

vchuravy

issue commentjulia-vscode/julia-vscode

VS code insists on opening the plot pane

We're just using Julia's normal display machinery here -- if you try to display an object that has a show method for e.g. image/png then we'll try to display that in the plot pane. It's not clear to me what we could be doing different here.

PetrKryslUCSD

comment created time in 5 hours

issue commentplotly/Dash.jl

Make dash_bootstrap_components.themes available in Dash.jl

Hey all,

This has now been done so this issue can be closed. See facultyai/dash-bootstrap-components#519.

It's also documented in the Quickstart in our docs.

tsela

comment created time in 5 hours

issue commentfacultyai/dash-bootstrap-components

FR: Styling for Dash DataTable

Hi @Peter-Pasta

This is something I would like to do, but it's kind of complicated and haven't had time to dedicate to it yet. If I do work on it, it will likely appear at my dash-bootstrap-css repo

Peter-Pasta

comment created time in 5 hours

PR opened commonmark/commonmark-spec

Update README.md

plural

+1 -1

0 comment

1 changed file

pr created time in 5 hours

push eventJuliaDocs/Documenter.jl

Documenter.jl

commit sha a659de1b4d74cea2cfab55de0f869c35bf01faa7

build based on 59a7fae

view details

push time in 6 hours

pull request commentJuliaDocs/Documenter.jl

Illusrtate submodules in `@autodocs` example

Could we also explicitly mention that it is not recursive in the text?

goretkin

comment created time in 6 hours

push eventJuliaDocs/Documenter.jl

Morten Piibeleht

commit sha 5bb090c2117bada681ccd87b3ae3941d47b46768

Update CHANGELOG.md

view details

push time in 6 hours

Pull request review commentJuliaDocs/Documenter.jl

use valid identifiers for sandbox module names

 function doctest(ctx::DocTestContext, block_immutable::Markdown2.CodeBlock)     if startswith(lang, "jldoctest")         # Define new module or reuse an old one from this page if we have a named doctest.         name = match(r"jldoctest[ ]?(.*)$", split(lang, ';', limit = 2)[1])[1]-        sym = isempty(name) ? gensym("doctest-") : Symbol("doctest-", name)+        if isempty(name)+            sym = Symbol("__doctest__", filter(!=('#'), string(gensym())))+        else+            sym = Symbol("__doctest__", name)

There is a theoretical possibility of the generated symbol conflicting with a named doctest (e.g. if someone uses 260 or something like that as their doctest name). This should get around that:

            sym = Symbol("__doctest__named__", name)
JeffBezanson

comment created time in 6 hours

Pull request review commentJuliaDocs/Documenter.jl

use valid identifiers for sandbox module names

 function doctest(ctx::DocTestContext, block_immutable::Markdown2.CodeBlock)     if startswith(lang, "jldoctest")         # Define new module or reuse an old one from this page if we have a named doctest.         name = match(r"jldoctest[ ]?(.*)$", split(lang, ';', limit = 2)[1])[1]-        sym = isempty(name) ? gensym("doctest-") : Symbol("doctest-", name)+        if isempty(name)+            sym = Symbol("__doctest__", filter(!=('#'), string(gensym())))

It looks like !=('#') doesn't work on 1.0, but this should be fine (and, arguably, a bit more readable):

            sym = Symbol("__doctest__", lstrip(string(gensym()), '#'))
JeffBezanson

comment created time in 6 hours

issue closedJuliaGizmos/WebIO.jl

WebIO not detected

Hi there,

I was trying to run Julia on Google Colab but was getting the error WebIO not detected.

I've tried the troubleshooting instructions in WebIO and also tried restarting the notebook several times. However, I still get the same error. I'm using Julia 1.5 and MacOS.

Here is the link to the Colab notebook: https://colab.research.google.com/drive/1-PoTD44o6gLonnC3Uf93aHVgPBQ7Vngu?usp=sharing

Below are my installations:

Pkg.add(["WebIO", "InteractBase", "ORCA", "PlotlyJS", "Interact", "IJulia", "Eirene", "DelimitedFiles"]); using WebIO; WebIO.install_jupyter_nbextension(); using PlotlyJS, IJulia, WebIO, Interact, WebIO, Eirene, DelimitedFiles; pc = readdlm(download("https://raw.githubusercontent.com/luli2949/TDA_Analysis/master/points1.csv"), ','); D = eirene(pc, model="pc") plotbarcode_pjs(D, dim=1)

Thank you so much for your help!

closed time in 7 hours

luli2949

issue commentJuliaGizmos/WebIO.jl

WebIO not detected

Got it. Thanks!

luli2949

comment created time in 7 hours