michaelfeathers / jop Goto Github PK
View Code? Open in Web Editor NEWa gem to add J language array commands to Ruby
a gem to add J language array commands to Ruby
You really should go over the readme. My first view and I saw at least two typos. You used 'the the' at your text line 22
The 12 12 12... is missing a single quote at least I think that is what it is but is it? Are you using tick marks?
So that's about as far as I've gotten. Thanks.
I saw the RubyCon video on YouTube and so I looked you up here by name rather than the posted url.
Just for fun I was playing around with something in Ruby while I was watching the video.
I'm no expert but this gave me insight for "grade up".
[2,5,1,0,6].each_with_index.sort
=> [[0, 3], [1, 2], [2, 0], [5, 1], [6, 4]]
Then I got it to figure out what was going on with...
[2,5,1,0,6].each_with_index.sort.map { |e| e[1] }
=> [3, 2, 0, 1, 4]
Those Ruby guys might have been able to understand this better if you used examples like that.
Just a thought. I might have gotten bored though if I didn't try to figure this out on my own.
๐
I'm 62 now and never had a profession as a programmer but about 2007 started to learn some Ruby.
I'm passionate about it now. But alas I think my brain was damaged by BASIC.
Hey! This isn't an issue exactly, but I just thought I'd let you know that I independently had a similar idea, though I haven't got very far with the implementation yet: http://github.com/marnen/apl-gem. (I may try to use jop for inspiration now that I know it exists...)
I'm very excited about this project! J has so many interesting ideas for array manipulation (and they are all incredibly terse). Wouldn't it be awesome if this syntax worked seamlessly with fast numeric arrays?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.