!WTvnrBXAWIqKuxyqrR:matrix.org

Julia (lang)

303 Members
General help and discussion about the Julia language35 Servers

Load older messages


SenderMessageTime
6 Jul 2023
@qwjyh:matrix.orgqwjyhMaybe this option https://csv.juliadata.org/stable/reading.html#strict19:38:15
7 Jul 2023
@headphonejack:matrix.orgheadphonejackOh yeah! That's looks like it will work - I will check that in a moment! Thanks a lot...sometimes it is important to use the correct keywords (I had no luck...no native speaker here, sorry...)15:47:12
8 Jul 2023
@headphonejack:matrix.orgheadphonejackAfter some try'n'error it works like a charm! Thanks!03:18:19
@headphonejack:matrix.orgheadphonejackIs it possible to create a simple window with Julia with a given background color to which I can plot colored pixels something like plot(x,y,truecolor)? I only found examples for highly advanced things like graphs, 3D function plots, bars, statistics etc....15:16:08
@hasnep:matrix.org@hasnep:matrix.orgYou could use Images.jl (https://juliaimages.org/stable/) to create an image and then ImageView.jl (https://www.juliapackages.com/p/imageview) to display the image in a window?15:26:56
@headphonejack:matrix.orgheadphonejack...is it possible to do "life plotting" somehow instead of creating the complete image and display it then?15:28:05
@hasnep:matrix.org@hasnep:matrix.org I believe you should be able to use the gui = imshow_gui(...) function to create a window, then use canvas = gui["canvas"] to get the canvas object, then imshow(canvas, my_image) to add or replace the image in the window 15:34:01
@hasnep:matrix.org@hasnep:matrix.orgI'm not able to check that at the moment, but that's what I'm guessing from looking at the README for ImageView.jl15:34:34
@headphonejack:matrix.orgheadphonejackthanks! 😀 will try that!15:45:50
9 Jul 2023
@headphonejack:matrix.orgheadphonejack

When 'adding' a package I got this message regarding another related package:

Info Packages marked with → are not downloaded, use `instantiate` to download
13:52:24
@headphonejack:matrix.orgheadphonejack

When trying to 'help instantiate' I got this answer:

help?> ? instantiate
search:

Couldn't find instantiate
Perhaps you meant instances
  No documentation found.

  Binding instantiate does not exist.

What is it all about?

13:53:29
@hasnep:matrix.org@hasnep:matrix.orgIt's talking about the Pkg.jl command called `Pkg.instantiate`13:56:10
@hasnep:matrix.org@hasnep:matrix.orgProbably the easiest way to do it is to type ] in the repl to enter Pkg mode, then type instantiate13:57:08
@hasnep:matrix.org@hasnep:matrix.orgOr you can do `import Pkg; Pjg.instantiate()` from the Julia REPL13:57:36
@headphonejack:matrix.orgheadphonejackExactly that is what I tried - with the results shown above...13:57:52
@headphonejack:matrix.orgheadphonejack
(@v1.9) pkg> instantiate CUDA_Driver_jll
ERROR: Wrong number of arguments
13:58:35
@hasnep:matrix.org@hasnep:matrix.orgIn that case i have no idea, I've never used cuda stuff in Julia before, cuda is a real pain to set up14:00:17
@headphonejack:matrix.orgheadphonejackI see....😉14:00:41
@hasnep:matrix.org@hasnep:matrix.orgAre you trying to install packages for a project or just install the globally for all Julia environments?14:01:23
@hasnep:matrix.org@hasnep:matrix.org* Are you trying to install packages for a project or just install them globally for all Julia environments?14:01:33
@hasnep:matrix.org@hasnep:matrix.orgBecause if you want to install them for a project you probably want to run `activate .` in the Pkg repl to activate the environment in your current directory 14:02:13
@hasnep:matrix.org@hasnep:matrix.orgThat might simplify your package situation14:03:47
@headphonejack:matrix.orgheadphonejackI had found some interesting video tutorials, which use GLMakie. I 'add'ed GLMakie, so that it is available for all other tutorials. While all the dependencies were 'add'ed, two packages fail with the message above and I got stuck...14:06:43
@qwjyh:matrix.orgqwjyh
In reply to @headphonejack:matrix.org
(@v1.9) pkg> instantiate CUDA_Driver_jll
ERROR: Wrong number of arguments
Pkg.instantiate doesn't take any arguments
https://pkgdocs.julialang.org/v1/repl/#repl-instantiate
19:42:54
@qwjyh:matrix.orgqwjyhAnd you can see pkg repl help by `]?instantiate` . Maybe doing just `]instantiate` is enough19:50:03
10 Jul 2023
@qwjyh:matrix.orgqwjyh *

And you can see pkg repl help by \]?instantiate .

Maybe doing just \]instantiate is enough

06:52:49
@qwjyh:matrix.orgqwjyh *

And you can see pkg repl help by ]?instantiate .

Maybe doing just ]instantiate is enough

06:53:01
@headphonejack:matrix.orgheadphonejackI got it working now! Thanks a lot for all the valuable help! 😀😀😀17:12:14
13 Jul 2023
@fvd:matrix.orgfvd removed their profile picture.00:26:46
17 Jul 2023
@apon:matrix.orgapon joined the room.22:38:04

Show newer messages


Back to Room ListRoom Version: