In regard to bug-tracking & fixing, is there any reason not to use github
as the source repo?
There are a lot of advantages to using github or bitbucket as the open
source repo.
- git-based version control
- easy branch management
- cloning repos is simple
- forking repos is simple
You might already have what you want. That is,
sp'' NB. equivalent to ctrl+,
This takes advantage of how sp utilities track recent files and how
the project file SPFILE is carried over sessions. If you have set a
project file with spinit;...; then in that session and in future
sessions running
div=: /:~ @: , @: > @: (*/&.>/) @: ((^ i.@>:)&.>/) @: (__&q:)
p:1
p1 =. >:^:(360> +/@:div"0)^:(_) 10
p:2
>:^:(3600 > 11 * +/@:(] (] #~ 50 >: <.@%) div@]))^:_ p1
an interesting part about timing part 2, is that typically I would not use ^:_
when writting the function out of fear th
My solution was similar:
NB. Part 1
NB. The sum-of-divisors problem
290 >:@]^:(> >:@#.~/.~&.q:)^:_ (1)
NB. Part 2.
sumoflargedivisors =: ([: +/ <.@%&50@<: ((< # ]) >) [: ,@:(*/)&.>/ [:
<.@(^ i.@>:)&.>/ __&q:)
2900 >:@]^:(> 11 * sumoflargedivisors)^:_ (2)
Henry Rich
On 12/20/20