Giter VIP home page Giter VIP logo

capandhomalg.jl's People

Contributors

dependabot[bot] avatar fingolfin avatar herearound avatar kamalsaleh avatar mohamed-barakat avatar zickgraf avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

capandhomalg.jl's Issues

Compiled version auf Gauss not available

for three different reasons:

  1. During installation, PackageManger only tries to compile packages if their availability is fail: https://github.com/gap-packages/PackageManager/blob/621b39c9e07f0ce7a91adfab66b48b6827ef1b6e/gap/PackageManager.gi#L859 One can call CompilePackage to manually trigger a compilation.
  2. PackageManager by default installs to the directory ~/.julia/gaproot/v4.xx/pkg. So even if Gauss would be compiled, it would not be loaded because the pkg directory of "CapAndHomalg" is ordered before the above directory.
  3. No recompilation takes place after UpdatePackageFromHomalgProject. So even when reordering the pkg directory of "CapAndHomalg" behind ~/.julia/gaproot/v4.xx/pkg, as soon as a version bump occurs the uncompiled version in the pkg directory of "CapAndHomalg" will be loaded again.

"?CapAndHomalg" does not work

When using CapAndHomalg, the output says

Type: ?CapAndHomalg for more information

However, I get

julia> ?CapAndHomalg
ERROR: syntax: invalid identifier name "?"
Stacktrace:
 [1] top-level scope at none:1
 [2] run_repl(::REPL.AbstractREPL, ::Any) at /build/julia/src/julia-1.5.2/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:288

Is this a misunderstanding on my part or a bug?

Tests failing on macOS

Last succeeding nightly run: https://github.com/homalg-project/CapAndHomalg.jl/actions/runs/2037461527/jobs/2940143455
First failing nightly run: https://github.com/homalg-project/CapAndHomalg.jl/actions/runs/2042961015/jobs/2950553263

Thus, if this was regressed by Julia the regressing commit should be one of the following: JuliaLang/julia@6ce817b...5dc6155

Of course the regression might also come from some package.

@mohamed-barakat If I remember correctly, you could reproduce this issue locally. Bisecting this to one of the four commits above might give further insights.

Automatically install convenience methods for Julia lists

Currently, many packages contain special code for installing convenience methods for GAP operations which accept GAP lists to also accept Julia lists. Instead of doing this in every package separately, I propose that CapAndHomalg.jl should redirect InstallMethod (and InstallOtherMethod etc.) to a custom function which automatically installs such convenience methods in addition to the original GAP methods.

The GAP command Process hangs on macOS after loading Singular

DotToSVG hangs on macOS after loading Singular:

On macOS

$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.1 (2023-06-07)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using CapAndHomalg
CapAndHomalg v1.5.1
Imported OSCAR's components GAP and Singular_jll
Type: ?CapAndHomalg for more information

julia> LoadPackage( "RingsForHomalg" )

julia> DotToSVG( g"//dot\ndigraph empty{\n}\n" )
GAP: "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<!-- Generated by graphviz version 2.50.0 (20211204.2007)\n -->\n<!-- Title: empty Pages: 1 -->\n<svg width=\"8pt\" height=\"8pt\"\n viewBox=\"0.00 0.00 8.00 8.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 4)\">\n<title>empty</title>\n<polygon fill=\"white\" stroke=\"transparent\" points=\"-4,4 -4,-4 4,-4 4,4 -4,4\"/>\n</g>\n</svg>\n"

julia> HomalgFieldOfRationals( )
GAP: Q

julia> DotToSVG( g"//dot\ndigraph empty{\n}\n" )
GAP: "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<!-- Generated by graphviz version 2.50.0 (20211204.2007)\n -->\n<!-- Title: empty Pages: 1 -->\n<svg width=\"8pt\" height=\"8pt\"\n viewBox=\"0.00 0.00 8.00 8.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 4)\">\n<title>empty</title>\n<polygon fill=\"white\" stroke=\"transparent\" points=\"-4,4 -4,-4 4,-4 4,4 -4,4\"/>\n</g>\n</svg>\n"

julia> HomalgFieldOfRationalsInSingular( )
GAP: Q

julia> DotToSVG( g"//dot\ndigraph empty{\n}\n" )
<hangs>

On Ubuntu

$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.1 (2023-06-07)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using CapAndHomalg
CapAndHomalg v1.5.1
Imported OSCAR's components GAP and Singular_jll
Type: ?CapAndHomalg for more information

julia> LoadPackage( "RingsForHomalg" )

julia> HomalgFieldOfRationals( )
GAP: Q

julia> DotToSVG( g"//dot\ndigraph empty{\n}\n" )
GAP: "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<!-- Generated by graphviz version 2.50.0 (20211204.2007)\n -->\n<!-- Title: empty Pages: 1 -->\n<svg width=\"8pt\" height=\"8pt\"\n viewBox=\"0.00 0.00 8.00 8.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 4)\">\n<title>empty</title>\n<polygon fill=\"white\" stroke=\"transparent\" points=\"-4,4 -4,-4 4,-4 4,4 -4,4\"/>\n</g>\n</svg>\n"

julia> HomalgFieldOfRationalsInSingular( )
GAP: Q

julia> DotToSVG( g"//dot\ndigraph empty{\n}\n" )
GAP: "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<!-- Generated by graphviz version 2.50.0 (20211204.2007)\n -->\n<!-- Title: empty Pages: 1 -->\n<svg width=\"8pt\" height=\"8pt\"\n viewBox=\"0.00 0.00 8.00 8.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 4)\">\n<title>empty</title>\n<polygon fill=\"white\" stroke=\"transparent\" points=\"-4,4 -4,-4 4,-4 4,4 -4,4\"/>\n</g>\n</svg>\n"

julia> 

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.