Code Monkey home page Code Monkey logo

q.jl's People

Contributors

abalkin avatar sashkab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

q.jl's Issues

build error with "UndefVarError: T not defined"

julia> using Q
[ Info: Precompiling Q [e3415d5c-09e6-542b-bada-f9fe353e6f1e]
ERROR: LoadError: LoadError: UndefVarError: T not defined
Stacktrace:
[1] top-level scope at none:0
[2] include at .\boot.jl:317 [inlined]
[3] include_relative(::Module, ::String) at .\loading.jl:1038
[4] include at .\sysimg.jl:29 [inlined]
[5] include(::String) at C:\Users\310179123.julia\packages\DataArrays\XA0R7\src\DataArrays.jl:3
[6] top-level scope at none:0
[7] include at .\boot.jl:317 [inlined]
[8] include_relative(::Module, ::String) at .\loading.jl:1038
[9] include(::Module, ::String) at .\sysimg.jl:29
[10] top-level scope at none:2
[11] eval at .\boot.jl:319 [inlined]
[12] eval(::Expr) at .\client.jl:389
[13] top-level scope at .\none:3
in expression starting at C:\Users\310179123.julia\packages\DataArrays\XA0R7\src\natype.jl:64
in expression starting at C:\Users\310179123.julia\packages\DataArrays\XA0R7\src\DataArrays.jl:58
ERROR: LoadError: Failed to precompile DataArrays [0fe7c1db-08c2-54a3-a222-6d1d3b7a471a] to C:\Users\310179123.julia\compiled\v1.0\DataArrays\ZAWTY.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] macro expansion at .\logging.jl:313 [inlined]
[3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
[4] _require(::Base.PkgId) at .\logging.jl:311
[5] require(::Base.PkgId) at .\loading.jl:852
[6] macro expansion at .\logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at .\loading.jl:834
[8] include at .\boot.jl:317 [inlined]
[9] include_relative(::Module, ::String) at .\loading.jl:1038
[10] include(::Module, ::String) at .\sysimg.jl:29
[11] top-level scope at none:2
[12] eval at .\boot.jl:319 [inlined]
[13] eval(::Expr) at .\client.jl:389
[14] top-level scope at .\none:3
in expression starting at C:\Users\310179123.julia\packages\DataFrames\sIu4Q\src\DataFrames.jl:14
ERROR: LoadError: Failed to precompile DataFrames [a93c6f00-e57d-5684-b7b6-d8193f3e46c0] to C:\Users\310179123.julia\compiled\v1.0\DataFrames\AR9oZ.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] macro expansion at .\logging.jl:313 [inlined]
[3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
[4] _require(::Base.PkgId) at .\logging.jl:311
[5] require(::Base.PkgId) at .\loading.jl:852
[6] macro expansion at .\logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at .\loading.jl:834
[8] include at .\boot.jl:317 [inlined]
[9] include_relative(::Module, ::String) at .\loading.jl:1038
[10] include(::Module, ::String) at .\sysimg.jl:29
[11] top-level scope at none:2
[12] eval at .\boot.jl:319 [inlined]
[13] eval(::Expr) at .\client.jl:389
[14] top-level scope at .\none:3
in expression starting at C:\Users\310179123.julia\packages\Q\PGY8e\src\Q.jl:6
ERROR: Failed to precompile Q [e3415d5c-09e6-542b-bada-f9fe353e6f1e] to C:\Users\310179123.julia\compiled\v1.0\Q\69j54.ji.
Stacktrace:
[1] macro expansion at .\logging.jl:313 [inlined]
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
[3] macro expansion at .\logging.jl:311 [inlined]
[4] _require(::Base.PkgId) at .\loading.jl:941
[5] require(::Base.PkgId) at .\loading.jl:852
[6] macro expansion at .\logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at .\loading.jl:834

Update for Julia 1.x

This package looks awesome, but obviously has a bit of code rot. Has anyone gotten it to run lately?

I made an attempt and fixed a few dozen easy deprecation errors, but am unsure how to correct some of the finalizer related errors without reading up some more on low-level Julia.

q) prompt improvements

TODO

  1. Account for window size in q output.
  2. Detect incomplete input and allow entering multi-line commands.
    • Start with simply detecting unbalanced parentheses.
  3. Suppress output from commands ending in ;.
  4. Write tests.

Info about upcoming removal of packages in the General registry

As described in https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/ we are planning on removing packages that do not support 1.0 from the General registry. This package has been detected to not support 1.0 and is thus slated to be removed. The removal of packages from the registry will happen approximately a month after this issue is open.

To transition to the new Pkg system using Project.toml, see https://github.com/JuliaRegistries/Registrator.jl#transitioning-from-require-to-projecttoml.
To then tag a new version of the package, see https://github.com/JuliaRegistries/Registrator.jl#via-the-github-app.

If you believe this package has erroneously been detected as not supporting 1.0 or have any other questions, don't hesitate to discuss it here or in the thread linked at the top of this post.

Implement calling Julia from q

References

TODO

  1. Implement J) language for kdb+. #7.
  2. Install q components in Pkg.build("JuQ"). #8.
  3. Detect presence kdb+ symbols in executable and don't load c.so. #10.
  4. Rethrow exceptions and convert some returned scalar values. #29.

Locating libjulia:

julia> Libdl.dlpath("libjulia")
"/Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.0.6.0.dylib"

Also

julia> JULIA_HOME
"/Applications/Julia-0.6.app/Contents/Resources/julia/bin"

julia> LOAD_PATH
2-element Array{Any,1}:
 "/Applications/Julia-0.6.app/Contents/Resources/julia/local/share/julia/site/v0.6"
 "/Applications/Julia-0.6.app/Contents/Resources/julia/share/julia/site/v0.6"

Implement @q_cmd in the client mode

When running in a client, @q_cmd should turn the given string to K_Chars and leave it that way. The run(cmd) command and function call on K_Chars objects should be implemented to send commands to the default server.

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.