hi my name is cowboy
during the day i write enterprise software
during the evening i make music
pro tip: if you feel you have to add a comment that says /* Valid JavaScript */
it's enterprise ready
Elite: Dangerous Rare Trade Route Generator
License: MIT License
hi my name is cowboy
during the day i write enterprise software
during the evening i make music
pro tip: if you feel you have to add a comment that says /* Valid JavaScript */
it's enterprise ready
Could it be possible to parameter the search with :
Thanks for your contribution the ED!
Here's the output when I run the script on my Mac OS X 10.10.3 (Yosemite) box, right after cloning the project:
$ ./generate-routes.rb
Downloading spreadsheet to "ED_RareGoods_SystemsDistance - CURRENT.csv"...done
Parsing CSV data..../generate-routes.rb:106:in `block in <main>': undefined method `match' for nil:NilClass (NoMethodError)
from ./generate-routes.rb:104:in `each'
from ./generate-routes.rb:104:in `<main>'
And here the ruby version:
$ which ruby
/usr/bin/ruby
$ ruby -v
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
I don't know if that makes a difference, but I also have Homebrew installed on the machine.
I could probably figure this out myself if I took the time to learn a bit of ruby, but I haven't started my ED trading career in earnest yet, so my motivation is rather low at the moment. Let me do a bit of exploring first (I just got me a nicely outfitted Asp), and if there's no fix in a couple of weeks I'll try to provide one myself :-)
[draeath@host ed-rare-trade-route-generator]$ ./generate-routes.rb
./generate-routes.rb:333: odd number list for Hash
warnings << {weight: 2, message: "Possible cargo o...
^
./generate-routes.rb:333: syntax error, unexpected ':', expecting '}'
warnings << {weight: 2, message: "Possible cargo o...
^
./generate-routes.rb:333: syntax error, unexpected '}', expecting kEND
./generate-routes.rb:338: odd number list for Hash
warnings << {weight: 1, message: "Suboptimal sell ...
^
./generate-routes.rb:338: syntax error, unexpected ':', expecting '}'
warnings << {weight: 1, message: "Suboptimal sell ...
^
./generate-routes.rb:338: syntax error, unexpected '}', expecting kEND
./generate-routes.rb:395: odd number list for Hash
route: route,
^
./generate-routes.rb:395: syntax error, unexpected ':', expecting '}'
route: route,
^
./generate-routes.rb:396: syntax error, unexpected ':', expecting '='
warning_weight: warning_weight,
^
./generate-routes.rb:397: syntax error, unexpected ':', expecting '='
distance: route_distance,
^
./generate-routes.rb:398: syntax error, unexpected ':', expecting '='
output: $p_output,
^
./generate-routes.rb:436: syntax error, unexpected $end, expecting kEND
[draeath@host ed-rare-trade-route-generator]$ ruby --version
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
I'm getting this error and I have no idea why:
Ignore spotted solution in closed issues
I like that your program explicitly notes which systems require a permit to enter, but would it be possible to add a configuration option to exclude systems that have this requirement, or even have a list of permit systems which are able to be added to routes?
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.