I've no idea how I would do that. It's been years since
I've done anything but run verbs that I developed on
my laptop and then copied over to the iPhone.
On Sat, 11 Jul 2015, bill lam wrote:
Can the new iPhone run pacman?
--
I don't do project euler, I've never really gotten into it. But my
impression is that the problems are chosen to make brute force
solutions impractical.
Here, I think I see a pattern in the relationship between >./@(_&q:)
and func (for your definition of func) and I expect that the mechanism
behin
Project Euler #484
https://projecteuler.net/problem=484
is particularly troublesome. My solution is:
f =: monad define
T =: 5 * 10^15
ctr=:1
sum =: 0
func=:+.(+/@:(1&(*/\.))@:q:)
while. ctr < T + 1 do.
sum =: sum + func ctr
ctr =: ctr+1
end.
sum
)
But on my Mac this causes a crash. (Do
Can the new iPhone run pacman?
On Jul 11, 2015 4:23 AM, "J. Patrick Harrington" wrote:
> I've just upgraded my old iPhone 4S to a new 6 Plus.
> It's still small enough to fit in my pocket, and the
> extra screen real estate makes running J nicer.
> Of course the new phone comes with the current
> So it looks like this is not meaningful for such a small matrix with
current machines.
Reminds me of the following story from Chinese history.
A king from a minor kingdom was visiting a rich man, reputed to be very
rich indeed. So the king wore a special coat made with the finest fabric
(the e
One last one: The JKT benchmark Roger pointed to gives:
6!:2 '%. ?50 50$1000'
0.013092
So it looks like this is not meaningful for such a small
matrix with current machines.
On Fri, 10 Jul 2015, J. Patrick Harrington wrote:
But
1000 ts '%. a"
0.00203444 239040
Hmmm...
On Fri,
But
1000 ts '%. a"
0.00203444 239040
Hmmm...
On Fri, 10 Jul 2015, J. Patrick Harrington wrote:
a=. 50 50$ rand 2500
10 ts '%. a'
0.0049867 239040
(ts=: 6!:2 , 7!:2@])
--
For information about J forums see
a=. 50 50$ rand 2500
10 ts '%. a'
0.0049867 239040
(ts=: 6!:2 , 7!:2@])
On Fri, 10 Jul 2015, Roger Hui wrote:
PS. Time on the iPhone 6 to invert a 500x500 matrix is only 0.55 sec!
If you can do one for a 50x50 matrix the result can be added to
http://www.jsoftware.com/jwiki/Essays/JKT_B
> PS. Time on the iPhone 6 to invert a 500x500 matrix is only 0.55 sec!
If you can do one for a 50x50 matrix the result can be added to
http://www.jsoftware.com/jwiki/Essays/JKT_Benchmark
On Fri, Jul 10, 2015 at 1:22 PM, J. Patrick Harrington
wrote:
> I've just upgraded my old iPhone 4S to a n
I've just upgraded my old iPhone 4S to a new 6 Plus.
It's still small enough to fit in my pocket, and the
extra screen real estate makes running J nicer.
Of course the new phone comes with the current version
of iOS: 8.4. Thinking it would be the easiest way to
move files in and out of J, I purc
Here's a way to look inside a 5x5x5 color cube. There are 125 colors. Any
ideas to do it more simply or in a better image?
load 'viewmat'
A=:#:i.8
N=:<.63.75*i.5
B=:((4#0),N),.N,4#255
BIGBOX=:<"2(|."2)1 0 2{"1(|:"2)8 3 9$,|:(,A){"1 B
'BLACK BLUE RED MAGENTA GREEN CYAN YELLOW WHITE'=:>BIGB
> wd 'sminputlog'
Thanks. This is not yet implemented for J8. We can add it to J804, but for
now you can read the log file, i.e.
freads '~config/inputlog.dat'
On 10 July 2015 at 05:57, June Kim (김창준) wrote:
> Hi
>
> There used to be
>
> wd 'sminputlog'
>
> to get the contents of the input
Hi
There used to be
wd 'sminputlog'
to get the contents of the input log. What needs to be done in J804?
--
For information about J forums see http://www.jsoftware.com/forums.htm
Thanks, Joe
Regards
On 09/07/2015 21:19, Joe Bogner wrote:
Roger - thanks for sharing. The 300KB statically linked windows binary
is impressive. I wish I knew this existed back in the 90s. It only
took me ~20 years to find out
On Thu, Jul 9, 2015 at 10:09 AM, Roger Stokes
wrote:
Let me try a
14 matches
Mail list logo