Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    hokiegeek2
    @hokiegeek2
    @bradcray gotcha, cool, good info, thanks for the follow-up!
    Michael Merrill
    @mhmerrill
    has anyone build chapel on the new raspberry pi 4 with 8 GB of RAM???
    Elliot Ronaghan
    @ronawho
    Not on raspberry pi, but we have some nightly testing that builds on machines with 2 and 4 GB RAM
    I don't think arkouda will build with 8GB of RAM though, I think you need 11-12 currently
    Elliot Ronaghan
    @ronawho
    Brian G ran on the 1G boards a few years ago -- https://chapel-lang.org/CHIUW/2015/talks/CHIUW-Chapel_on_ARM_final.pdf
    Damon Kwok
    @damon-kwok
    Why not use zulip?
    Brad Chamberlain
    @bradcray
    Gitter’s worked well for us?
    Damon Kwok
    @damon-kwok
    @bradcray chapel-mode has been completed. Can you give me some feedback?
    Brad Chamberlain
    @bradcray
    I was stuck in meetings most of the day today and didn’t have much chance for experimentation, but will try to download and give it a try tomorrow, if not later tonight.
    Damon Kwok
    @damon-kwok
    NP
    Brad Chamberlain
    @bradcray
    @damon-kwok: Maybe here’s the motivation I needed to do so: This is another case that our current mode does badly with (unparenthesized conditionals):
    if loc == here {
                     writeln(“Hi”);
    }
    Does yours handle this case well?
    Damon Kwok
    @damon-kwok
    @bradcray Yes, the new chapel-mode handles it well.
    It will surprise you
    When you encounter any problem, please let me know and I will solve it quickly
    Brad Chamberlain
    @bradcray
    OK, cool. I’ll use this as motivation to give it a try now.
    Damon Kwok
    @damon-kwok
    @bradcray Fixed: (substitute-key-definition 'c-electric-brace nil chapel-mode-map)
    The same applies to chpl-mode
    Brad Chamberlain
    @bradcray
    @damon-kwok: Is there a way, within an emacs session, to validate that I’m using your emacs mode rather than ours? My emacs-fu is not strong enough to know.
    Damon Kwok
    @damon-kwok
    M-x chapel-mode
    Damon Kwok
    @damon-kwok
    @bradcray Sorry, the last commit introduced a bug, I fixed it, you need to pull the latest code
    Brad Chamberlain
    @bradcray
    Can I save the file as chpl-mode.el, replacing my typical file, in order to avoid having to change my .emacs file until I’m ready to make the switch? Or must the file be called chapel-mode.el in order to work?
    Damon Kwok
    @damon-kwok
    You can still use the file name chpl-mode.el, although this is not a good practice.
    Damon Kwok
    @damon-kwok
    The easier way:
    1. delete your chpl-mode.el.
    2. open chapel-mode.el
    3. M-x package-install-file
    Brad Chamberlain
    @bradcray
    If I do rename it to chpl-mode.el (because I’m lazy and already did that before asking :) ) then is there a way to browse the source within emacs to check that it’s using your file rather than mine?
    (or otherwise query something that would be unique to your version but not ours, like a version number or variable or ...?)
    Damon Kwok
    @damon-kwok
    The highlight of chapel-mode will be very obvious. You can also use C-h m to view the current major mode name
    image.png
    Brad Chamberlain
    @bradcray
    When you say “very obvious” what do you mean?
    Damon Kwok
    @damon-kwok
    image.png
    chpl-mode only has simple highlighting, and chapel-mode highlighting will not miss any characters
    Brad Chamberlain
    @bradcray
    But if I rename your file chpl-mode.el, then C-h m it will list the major mode as chpl-mode.el without making it clear whether it’s yours or mine, right? :)
    Damon Kwok
    @damon-kwok
    chapel-mode.el line 539:
    image.png
    line 539
    you can modify "Chapel" to "Chapel New"
    So you can distinguish between the two
    Brad Chamberlain
    @bradcray
    OK, thanks.
    Brad Chamberlain
    @bradcray
    I ended up giving up on saving it as chpl-mode.el and started hacking on my .emacs instead. I’m running into problems, though, probably reflecting that I’m a 1990’s emacs user and haven’t done much to modernize my usage since then:
    File mode specification error: (file-missing Cannot open load file No such file or directory hydra)
    Also, if I try using M-x package-install and then Install package: chapel-mode when I try hitting return it says [no match]
    Damon Kwok
    @damon-kwok
    open chapel-mode.el, then: M-x package-install-file (not package-install)
    package-install-file will be installed form locally
    Brad Chamberlain
    @bradcray
    OK (should the comment in the file be updated to reflect this? I see you said this above, but I was looking at the comment when trying it).
    Doing this, I get:
    Need packagehydra-0.15.0’, but only 0.13.4 is available
    I’m using homebrew emacs 26.3 if that matters
    Damon Kwok
    @damon-kwok
    You can ignore this warning
    Brad Chamberlain
    @bradcray
    It seems like more than a warning. If I go to one of my .chpl buffers and say M-x chapel-mode, I get:
    Cannot open load file: No such file or directory, hydra
    (and I seemingly stay in chpl-mode)
    Damon Kwok
    @damon-kwok
    See , chapel-mode line 7: ;; Package-Requires: ((emacs "25.1") (hydra "0.15.0"))
    modify "0.15.0" to "0.13.0"