Arc Forumnew | comments | leaders | submit | jsgrahamus's commentslogin
3 points by jsgrahamus 124 days ago | link | parent | on: Nice work, malisper!

Makes sense. Thanks for the read.

How can we apply this to Arc, akkartik?

-----

2 points by akkartik 124 days ago | link

I don't think we can :) This forum seems slow enough that I figured we had time to discuss something off-topic.

-----

3 points by jsgrahamus 124 days ago | link

Well, that is certainly true; although I was surprised at the recent post where all those other folks showed up.

-----

3 points by jsgrahamus 124 days ago | link

http://arclanguage.org/item?id=20096

-----

2 points by jsgrahamus 124 days ago | link

Where does Arc get into a bind? No idea here.

-----

6 points by jsgrahamus 126 days ago | link | parent | on: How many people still lurk here?

Me, too.

-----

3 points by jsgrahamus 126 days ago | link | parent | on: At-sign in string

When I try this in Arc 3.1, I get no complaints.

-----

3 points by akkartik 126 days ago | link

Yes, the atstrings feature is turned off by default in Arc 3.1 (and also in Anarki's official/stable branches). I think I'll turn off the default in Anarki as well, and just let news.arc continue to make use of it.

Edit 1 hour later: This is now done. Turns out Anarki never meant to turn on atstrings by default. This was a side effect of loading news.arc by default (mea culpa). I've changed things so we load news.arc by default but only use atstrings in news.arc by default. Keep an eye out for subtle bugs introduced by atstrings being turned off when functions in news.arc are called. If we see any I'll probably take out the ability to turn it on and off and just decide to keep it everywhere or take it out entirely.

https://github.com/arclanguage/anarki/commit/d0eb0dcf17

-----


akkartik was kind enough to provide a spot for the paper on this project:

https://drive.google.com/file/d/0Bwqm_FatZFB3MGFDQVRlNXBNekU

Thanks, akkartik!

-----


I published a paper on my results of using Klong. Would like to share it with this group, but am not sure where to put it so that you all could access it.

-----

3 points by akkartik 208 days ago | link

Google Drive? You can share a document so anyone with the link can access it.

Another option is Gitlab or Bitbucket. Put the file in a repository (ideally with any of your code for the paper!) and push it.

I can do it for you if you like. Just email the paper to me. (My address is in my profile.)

-----


I work with MUMPS as my work programming language. Assuming you had an array of 10 numbers, to get the sum you would do something like this:

  F I=1:1:10 S ARR(I)=I   ; Stores 1-10 in array ARR
  S SUM=0
  F I=1:1:10 S SUM=SUM+ARR(I)
  W !,SUM                 ; Writes sum
In Klong you would do as follows: arr::1+!10 :" Initializes list arr with values of 1-10" .p(+/arr) :" .p() prints and +/arr sums all elements of the list"

I always thought that MUMPS was terse, but for certain things at least, it doesn't hold a candle to Klong. Of course, I thought Minnesota was green until I saw Wisconsin. And now I live in Washington state.

-----

3 points by jsgrahamus 210 days ago | link

Fixing the formatting.

I work with MUMPS as my work programming language. Assuming you had an array of 10 numbers, to get the sum you would do something like this:

  F I=1:1:10 S ARR(I)=I   ; Stores 1-10 in array ARR
  S SUM=0
  F I=1:1:10 S SUM=SUM+ARR(I)
  W !,SUM                 ; Writes sum
In Klong you would do as follows:

  arr::1+!10 :" Initializes list arr with values of 1-10"   
  .p(+/arr) :" .p() prints and +/arr sums all elements of the list"
I always thought that MUMPS was terse, but for certain things at least, it doesn't hold a candle to Klong. Of course, I thought Minnesota was green until I saw Wisconsin. And now I live in Washington state.

-----


Not sure how this applies to arc. They are both niche programming languages? They both strive for brevity?

-----

2 points by akkartik 214 days ago | link

Seems reasonable to me :)

-----

1 point by jsgrahamus 214 days ago | link | parent | on: Best Online Food Ordering Script

How does this apply to arc?

-----


I started using ansi-term in emacs to launch a shell file which wrapped rlwrap around the file I wished to execute. Turns out that M-x no longer works in that buffer.

-----

6 points by jsgrahamus 368 days ago | link | parent | on: Hosting Arc app on Heroku?

Heroku allows for custom buildpacks.

Also found this article, which may be helpful:

https://lexi-lambda.github.io/blog/2015/08/22/deploying-rack...

-----

More