faradayio / flight Goto Github PK
View Code? Open in Web Editor NEWA carbon model
License: GNU Affero General Public License v3.0
A carbon model
License: GNU Affero General Public License v3.0
Got this backtrace on cm1-rack pointing to https://github.com/brighterplanet/flight/blob/master/lib/flight/impact_model.rb#L215
/app/vendor/bundle/ruby/1.9.1/bundler/gems/flight-b0ee1bd0c497/lib/flight/impact_model.rb:215:in `block (3 levels) in included'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/quorum.rb:73:in `call'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/quorum.rb:73:in `block in acknowledge'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/whip.rb:75:in `quorum'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/quorum.rb:71:in `acknowledge'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/committee.rb:54:in `block in report'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/committee.rb:50:in `each'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/committee.rb:50:in `report'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/decision.rb:40:in `block (2 levels) in make'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/whip.rb:74:in `committee'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/decision.rb:39:in `block in make'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/decision.rb:38:in `each'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/decision.rb:38:in `inject'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/decision.rb:38:in `make'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/subject.rb:58:in `block (2 levels) in decide'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/whip.rb:73:in `decision'
/app/vendor/bundle/ruby/1.9.1/bundler/gems/leap-1fce6c269647/lib/leap/subject.rb:56:in `block in decide'
Replicated by requesting specific flight segment row hash http://impact.brighterplanet.com/flights?flight_segment_row_hash=a4eff737db652839afe671df61159d9f
Flight segment's data:
#<FlightSegment row_hash: "a4eff737db652839afe671df61159d9f", origin_airport_iata_code: "ATL", origin_airport_city: nil, origin_country_iso_3166_code: "US", destination_airport_iata_code: "SEA", destination_airport_city: nil, destination_country_iso_3166_code: "US", airline_bts_code: "CI", airline_icao_code: nil, airline_name: "China Airlines", aircraft_bts_code: "820", aircraft_description: "boeing 747-400f", flights: 3, passengers: 0, seats: 0, seats_per_flight: 0.0, load_factor: nil, freight_share: 1.0, distance: 3511.59, distance_units: "kilometres", payload_capacity: 354216.0, payload_capacity_units: "kilograms", freight: 195107.0, freight_units: "kilograms", mail: 0.0, mail_units: "kilograms", month: 1, year: 2011, source: "BTS T100">
Hi! This looks absolutely awesome! We are looking for something like this to integrate with travel sights sites, to help travellers make better decisions. But this looks like it isn't active, judging from the lack of commits. What's the status of this project? Is it dead? If so, what would it take to wake it up again? Or is there something else more active that fulfills the same need?
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.