Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 16 20:08
    scala-steward closed #873
  • Sep 16 20:08
    scala-steward commented #873
  • Sep 16 20:08
    scala-steward opened #876
  • Sep 14 22:09
    scala-steward opened #875
  • Sep 10 22:13
    scala-steward closed #861
  • Sep 10 22:13
    scala-steward commented #861
  • Sep 10 22:13
    scala-steward opened #874
  • Sep 10 04:06
    scala-steward closed #872
  • Sep 10 04:06
    scala-steward commented #872
  • Sep 10 04:06
    scala-steward opened #873
  • Sep 09 22:05
    scala-steward closed #867
  • Sep 09 22:05
    scala-steward commented #867
  • Sep 09 22:05
    scala-steward opened #872
  • Sep 01 18:10
    scala-steward opened #871
  • Sep 01 14:23
    alexarchambault closed #835
  • Sep 01 14:23

    alexarchambault on master

    Fix #835: update installation c… (compare)

  • Sep 01 14:23
    alexarchambault closed #868
  • Sep 01 14:11
    scala-steward opened #870
  • Sep 01 10:10
    scala-steward closed #866
  • Sep 01 10:10
    scala-steward commented #866
André L. F. Pinto
@andrelfpinto
I see that the constructor is:
java.lang.reflect.Constructor[?0] = public ammonite.$sess.cmd0$Helper$Foo(ammonite.$sess.cmd0$Helper,long,java.lang.String)
Where can I get this Helper?
Pham Nguyen
@akizminet
Hello, I'm new to this kernel. I don't know how to hide progress bar of almond-spark.
Kien Dang
@kiendang
Hi may I know how to get contextual help working? I passed both --metabrowse to the launcher and --sources --default=trueto coursier but it doesn't work for me.
Kien Dang
@kiendang
ah I was using scala 2.13.4 whereas metabrowse only supports 2.13.1
RndMnkIII
@RndMnkIII
How could I use the Jupyter widgets (IntSlider, TextBox, ...) in JupyterLab with the Almond kernel?
RndMnkIII
@RndMnkIII
image.png
drawing on canvas using javascript from Almond DisplayData API
Quafadas
@Quafadas
Has anyone seen this before? Any hints on what I might have done wrong?
almond-sh/almond#784
Quafadas
@Quafadas

Excitingly, I've now managed to dance through the minefield of my corporate setup, and got almond working. Yeyz...
I can't figure out how to enable "metabrowse" or any form of code completion though.

RUN ./almond --install --log info --metabrowse --id scala2_13 --display-name "Scala 2.13" --global --jupyter-path /opt/conda/share/jupyter/kernels

Should that work? Is there anything else to configure in Juypter itself?
ah almond-sh/almond#441

2 replies
Quafadas
@Quafadas
Finally, the "variable inspector" is a fabulous tool, I have to say... however, if I add it to the kernel, then case class compilation appears to fail.
case class Something(i: Int)
​
cmd3.sc:20: not found: value res3_1
  .declareVariable("res3_1", res3_1); Iterator() }, 
                             ^Compilation Failed
Compilation Failed
It works wonderfully, for "fundamental" types though
Quafadas
@Quafadas
Man I'm too slow to read github, sorry for spam
ZanyRumata
@ZanyRumata
hey guys!
I really stucked on how to hide progress bars in spark tasks?
Sometimes the info is really annoying.
I already tried - progressBars(false), but it seems doesn't work
okey. i just asked a question and finally found an answer.
NotebookSparkSession - doesn't work with ProgressBars (no errors, but also no effect)
AmmoniteSparkSession - allow to hide ProgressBars without any trouble.
I think it's a bug, but i'm not sure)
Quafadas
@Quafadas

I've been trying to install the exciting 0.11.2 release ... but I get

 Cannot find default main class. Specify one with -M or --main-class.

Against the command

/tmp/cs bootstrap almond:0.11.2 --scala 2.13.4 -i user --default=true --sources -o almond

Can anyone see what might be wrong here?

Quafadas
@Quafadas
Should someone else bump into the same, coursier docs appear to lay out a solution by adding a main class directly.
 -M almond.ScalaKernel
Quafadas
@Quafadas
@alexarchambault To my understanding you are the protagonist behind coursier and almond. Thankyou for your work. They are wonderful.
Quafadas
@Quafadas
When working with large variables, is there a way to view the entire variable, currently it gets truncated after some number of lines?
4 replies
Quafadas
@Quafadas

Feedback on almond-sh/almond#813 welcome...

Anyone else tried this?

notmike
@notmike-5
Hi, I am trying to install almond for jupyter notebook running on archliunux. I get the error Cannot find default main class. Specify one with -M or --main-class. Using the suggestion of adding -M almond.ScalaKernel It appears to install and I see the scala kernel option in ipython notebook. However, when I select this kernel I get a 500 internal server error.
notmike
@notmike-5
plz to helping me :(
Quafadas
@Quafadas

A couple of questions: would macros work in almond?

object Report {
    implicit val pickler : ReadWriter[Report] = upickle.default.macroRW[Report]
}

Should that work? I get

cmd24.sc:2: trait CaseObjectContext is a trait; does not take constructor arguments
    implicit val pickler : ReadWriter[LossReport] = upickle.default.macroRW[LossReport]

Also, I can't get tab completion to work... has anyone got it working successfully, any tips?

Quafadas
@Quafadas
Have followed the docs here, https://jupyterlab-lsp.readthedocs.io/en/latest/Configuring.html... but can't find any diagnostics on why it isn't working :-(.
xuansontrinh
@xuansontrinh
Hello @alexarchambault , can I somehow interact with almond kernel to get some information like brief info about defined variables/classes?
21 replies
nasirkhanpak
@nasirkhanpak
I am running Jupiter notebook in visual studio code. HOW CAN I ADD ALMOND SCALA KERNEL TO JUPITER NOTEBOOK IN VISUAL STUDIO CODE. KINDLY GUIDE ME PLEASE...
4 replies
heksesang
@heksenlied:matrix.org
[m]
When I try to install almond with 2.13.4 as argument for scala version, I get Cannot find default main class. Specify one with -M or --main-class..
1 reply
heksesang
@heksenlied:matrix.org
[m]
But I can find sh.almond:scala-kernel_2.13.4 on Maven, so not sure why it should fail?
Matt Turner
@mt-digital
@heksenlied:matrix.org I got the same error on macOS Cannot find default main class. I then tried the install command example that includes version numbers and it succeeded: ./coursier launch --fork almond:0.10.0 --scala 2.12.11 -- --install
Enrique Mandujano
@EnriqueM_gitlab
Any workaround to install almond con ARM64 (Apple M1)?... I got following error exception in thread "main" java.lang.exception: unrecognized cpu architecture: x86.