[v8][test] play game fail due to error of run scirpt

launching testnet, please wait..
first time test net bootstrap.. this may take several minutes, please be patient..
    Given I'm Alice                                                                                # features/step_definitions/basic_wallet_steps.rb:7
    And I received 5200000 XTS from angel                                                                                # features/step_definitions/basic_wallet_steps.rb:43
    And I wait for one block                                                                                # features/step_definitions/basic_wallet_steps.rb:68
    And I print XTS balance                                                                                # features/step_definitions/basic_wallet_steps.rb:76
      balance: 5200000.0 XTS
    And I created a game called dice                                                                                # features/step_definitions/game_steps.rb:7
    And I wait for one block                                                                                # features/step_definitions/basic_wallet_steps.rb:68
    And I created a game asset called DICE for dice with precision 0.01, initial supply 10000, and inital collateral 1000 # features/step_definitions/game_steps.rb:1
    And I wait for one block                                                                                # features/step_definitions/basic_wallet_steps.rb:68

  Scenario: Buy game chip in the game and then play with it                                                               # features/play_dice.feature:17
    Given I'm Bob                                                                                # features/step_definitions/basic_wallet_steps.rb:7
    And I received 500 XTS from angel                                                                                # features/step_definitions/basic_wallet_steps.rb:43
    And I wait for one block                                                                                # features/step_definitions/basic_wallet_steps.rb:68
    When I buy for 10 DICE chip                                                                                # features/step_definitions/game_steps.rb:13
    And I wait for one block                                                                                # features/step_definitions/basic_wallet_steps.rb:68
    And I print DICE balance                                                                                # features/step_definitions/basic_wallet_steps.rb:76
      balance: 10.0 DICE
    Then Bob should have 10 DICE                                                                                # features/step_definitions/basic_wallet_steps.rb:83
    And I should have 499 XTS minus 1*fee                                                                                # features/step_definitions/basic_wallet_steps.rb:83
    When I play game dice using 10 DICE providing with 2 odds and 1 guess                                                 # features/step_definitions/game_steps.rb:17
      {
        "message": "failed to run script (100012)\n\n\n\n",
        "detail": "100012 failed_run_script: failed to run script\n\n    {\"*run_error\":\"ReferenceError: scan_rtx is not defined\"}\n    th_a  v8_game.cpp:174 play\n\n    {\"prams\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}\n    th_a  wallet.cpp:3377 play_game\n\n    {}\n    th_a  common_api_client.cpp:7667 game_play",
        "code": 100012
      } (BitShares::API::Rpc::Error)
      game_play dice {"from_account_name"=>"bob", "amount"=>10.0, "odds"=>2, "guess"=>1}
      features/play_dice.feature:26:in `When I play game dice using 10 DICE providing with 2 odds and 1 guess'
    And I wait for one block                                                                                # features/step_definitions/basic_wallet_steps.rb:68
    Then Bob should have 0 DICE                                                                                # features/step_definitions/basic_wallet_steps.rb:83
    When I wait for 9 block                                                                                # features/step_definitions/basic_wallet_steps.rb:68
    Then I should have 20 or 0 DICE

New update after improving the exception report
https://github.com/bitsuperlab/bitshares_play/commit/501a28eaa01d4175cbe8e6c1e8e99bb062bf5ec8
When I play game dice using 10 DICE providing with 2 odds and 1 guess                                                 # features/step_definitions/game_steps.rb:17
      {
        "message": "failed to run script (100012)\n\n\n\n",
        "detail": "100012 failed_run_script: failed to run script\n\n    {\"v8_helper::ReportException(isolate, &try_catch)\":\"undefined:115: TypeError: undefined is not a function\\n    var asset_record = blockchain.get_asset_record(dice_game.asset);\\n                                  ^\\nTypeError: undefined is not a function\\n    at Object.PLAY.play (<anonymous>:115:35)\\n    at <anonymous>:1:6\\n\"}\n    th_a  v8_game.cpp:178 play\n\n    {\"prams\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}\n    th_a  wallet.cpp:3377 play_game\n\n    {}\n    th_a  common_api_client.cpp:7667 game_play",
        "code": 100012
      } (BitShares::API::Rpc::Error)
      game_play dice {"from_account_name"=>"bob", "amount"=>10.0, "odds"=>2, "guess"=>1}
      features/play_dice.feature:26:in `When I play game dice using 10 DICE providing with 2 odds and 1 guess'

New API absent after fixing the previous one:
When I play game dice using 10 DICE providing with 2 odds and 1 guess                                                 # features/step_definitions/game_steps.rb:17
      {
        "message": "failed to run script (100012)\n\n\n\n",
        "detail": "100012 failed_run_script: failed to run script\n\n    {\"v8_helper::ReportException(isolate, &try_catch)\":\"undefined:63: ReferenceError: asset is not defined\\n    var chips_to_play = asset(amount_to_play, asset_record.id);\\n                        ^\\nReferenceError: asset is not defined\\n    at Object.PLAY.play (<anonymous>:63:25)\\n    at <anonymous>:1:6\\n\"}\n    th_a  v8_game.cpp:178 play\n\n    {\"prams\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}\n    th_a  wallet.cpp:3377 play_game\n\n    {}\n    th_a  common_api_client.cpp:7667 game_play",
        "code": 100012
      } (BitShares::API::Rpc::Error)
      game_play dice {"from_account_name"=>"bob", "amount"=>10.0, "odds"=>2, "guess"=>1}
      features/play_dice.feature:26:in `When I play game dice using 10 DICE providing with 2 odds and 1 guess'

Now a global method "print(...)" is supported for printing logs in script:
The output will be located in the client's default log file, e.g. for the "bob" client, the log could look like
vim tmp/bob/logs/default/default.log

and the result
2015-05-14T09:55:50 th_a:http_server handle_connection                Print ] The 0th parameter is {"amount":50000,"asset_id":0}       v8_helper.cpp:72
185 2015-05-14T09:55:50 th_a:http_server handle_connection     Get_Asset_Record ] The result of asset_record is {"id":1,"symbol":"DICE","issuer":{"type":4,"issuer_id":1},"authority":{"required":1,"owners":["XTSMwXrDXQksmKfa    cwBoK6Fjr9XKeEw8ZCGf"]},"authority_flag_permissions":4294967295,"active_flags":0,"whitelist":[],"name":"DICE","description":"DICE","public_data":null,"precision":100,"max_supply":1000000000000000,"withdrawal_fee":0,"mar    ket_fee_rate":0,"collected_fees":0,"current_supply":1001000,"current_collateral":100100000,"registration_date":"2015-05-14T09:55:20","last_update":"2015-05-14T09:55:20"}        v8_api.cpp:311
186 2015-05-14T09:55:50 th_a:http_server handle_connection                Print ] The 0th parameter is {"id":1,"symbol":"DICE","issuer":{"type":4,"issuer_id":1},"authority":{"required":1,"owners":["XTSMwXrDXQksmKfacwBoK6Fjr    9XKeEw8ZCGf"]},"authority_flag_permissions":4294967295,"active_flags":0,"whitelist":[],"name":"DICE","description":"DICE","public_data":null,"precision":100,"max_supply":1000000000000000,"withdrawal_fee":0,"market_fee_r    ate":0,"collected_fees":0,"current_supply":1001000,"current_collateral":100100000,"registration_date":"2015-05-14T09:55:20","last_update":"2015-05-14T09:55:20"}        v8_helper.cpp:72

New script error when evaluate the transsaction/operation, the play API works now.
When I play game dice using 10 DICE providing with 2 odds and 1 guess                                                 # features/step_definitions/game_steps.rb:17
      {
        "message": "failed to run script (100012)\n\n\n\n\n\n\n\n\n\n",
        "detail": "100012 failed_run_script: failed to run script\n\n    {\"v8_helper::ReportException(my->GetIsolate(), &try_catch)\":\"undefined:1: ReferenceError: scan_rtx is not defined\\nPLAY.scan_result(scan_rtx, scan_result_block_num, scan_result_block_time, scan\\n                 ^\\nReferenceError: scan_rtx is not defined\\n    at <anonymous>:1:18\\n\"}\n    th_a  v8_game.cpp:129 evaluate\n\n    {\"*this\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}\n    th_a  game_operations.cpp:74 evaluate\n\n    {\"op\":{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}}\n    th_a  operation_factory.hpp:52 evaluate\n\n    {\"op\":{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}}\n    th_a  transaction_evaluation_state.cpp:170 evaluate_operation\n\n    {\"trx_arg\":{\"expiration\":\"2015-05-15T04:44:20\",\"reserved\":null,\"operations\":[{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSC8AkkzBHSndptZSY7WpoqoPr42ZhRgmRh\",\"amount\":1000,\"claim_input_data\":\"\"}},{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSDFbcdNMpYvKY5NkWttHAPjK4aMxfyGt3o\",\"amount\":50000,\"claim_input_data\":\"\"}},{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}],\"signatures\":[\"1f7e9c43230985b2098f8d97b2566c85f7ed8934cfcb390f0e9bce848c377048a60ef0cffec06c3a08c626965f5c3b56eef298cbfc12a60bc736e1a6ad04a872d0\",\"203f0e892bb5e2b3b2a3b0143788d46ea2b1bec443ca7b26f14e7aef50fa154678562436fbc2d36cb75f628000b691b064bbc51ab0f874fedaf6aafe8caef2f0f5\"]}}\n    th_a  transaction_evaluation_state.cpp:165 evaluate\n\n    {\"trx\":{\"expiration\":\"2015-05-15T04:44:20\",\"reserved\":null,\"operations\":[{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSC8AkkzBHSndptZSY7WpoqoPr42ZhRgmRh\",\"amount\":1000,\"claim_input_data\":\"\"}},{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSDFbcdNMpYvKY5NkWttHAPjK4aMxfyGt3o\",\"amount\":50000,\"claim_input_data\":\"\"}},{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}],\"signatures\":[\"1f7e9c43230985b2098f8d97b2566c85f7ed8934cfcb390f0e9bce848c377048a60ef0cffec06c3a08c626965f5c3b56eef298cbfc12a60bc736e1a6ad04a872d0\",\"203f0e892bb5e2b3b2a3b0143788d46ea2b1bec443ca7b26f14e7aef50fa154678562436fbc2d36cb75f628000b691b064bbc51ab0f874fedaf6aafe8caef2f0f5\"]}}\n    th_a  chain_database.cpp:1800 evaluate_transaction\n\n    {\"trx\":{\"expiration\":\"2015-05-15T04:44:20\",\"reserved\":null,\"operations\":[{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSC8AkkzBHSndptZSY7WpoqoPr42ZhRgmRh\",\"amount\":1000,\"claim_input_data\":\"\"}},{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSDFbcdNMpYvKY5NkWttHAPjK4aMxfyGt3o\",\"amount\":50000,\"claim_input_data\":\"\"}},{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}],\"signatures\":[\"1f7e9c43230985b2098f8d97b2566c85f7ed8934cfcb390f0e9bce848c377048a60ef0cffec06c3a08c626965f5c3b56eef298cbfc12a60bc736e1a6ad04a872d0\",\"203f0e892bb5e2b3b2a3b0143788d46ea2b1bec443ca7b26f14e7aef50fa154678562436fbc2d36cb75f628000b691b064bbc51ab0f874fedaf6aafe8caef2f0f5\"]},\"override_limits\":true}\n    th_a  chain_database.cpp:2216 store_pending_transaction\n\n    {\"transaction_record\":{\"index\":0,\"record_id\":\"0000000000000000000000000000000000000000\",\"block_num\":0,\"is_virtual\":false,\"is_confirmed\":false,\"is_market\":false,\"trx\":{\"expiration\":\"2015-05-15T04:44:20\",\"reserved\":null,\"operations\":[{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSC8AkkzBHSndptZSY7WpoqoPr42ZhRgmRh\",\"amount\":1000,\"claim_input_data\":\"\"}},{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSDFbcdNMpYvKY5NkWttHAPjK4aMxfyGt3o\",\"amount\":50000,\"claim_input_data\":\"\"}},{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}],\"signatures\":[\"1f7e9c43230985b2098f8d97b2566c85f7ed8934cfcb390f0e9bce848c377048a60ef0cffec06c3a08c626965f5c3b56eef298cbfc12a60bc736e1a6ad04a872d0\",\"203f0e892bb5e2b3b2a3b0143788d46ea2b1bec443ca7b26f14e7aef50fa154678562436fbc2d36cb75f628000b691b064bbc51ab0f874fedaf6aafe8caef2f0f5\"]},\"ledger_entries\":[{\"from_account\":\"XTS5vL8t44epLUvji5FB8bNeKfXPEhX9TKcEWu9vnFGaXKqs6yZEe\",\"to_account\":\"XTS5vL8t44epLUvji5FB8bNeKfXPEhX9TKcEWu9vnFGaXKqs6yZEe\",\"amount\":{\"amount\":1000,\"asset_id\":1},\"memo\":\"play dice\",\"memo_from_account\":null}],\"fee\":{\"amount\":50000,\"asset_id\":0},\"created_time\":\"1970-01-01T00:00:00\",\"received_time\":\"1970-01-01T00:00:00\"}}\n    th_a  transaction_ledger.cpp:1387 cache_transaction\n\n    {}\n    th_a  common_api_client.cpp:7667 game_play",
        "code": 100012
      } (BitShares::API::Rpc::Error)
      game_play dice {"from_account_name"=>"bob", "amount"=>10.0, "odds"=>2, "guess"=>1}
      features/play_dice.feature:26:in `When I play game dice using 10 DICE providing with 2 odds and 1 guess'

When I play game dice using 10 DICE providing with 2 odds and 1 guess                                                 # features/step_definitions/game_steps.rb:17
      {
        "message": "Assert Exception (10)\ngame_asset->is_game_issued(): \n\n\n\n\n\n\n\n\n",
        "detail": "10 assert_exception: Assert Exception\ngame_asset->is_game_issued(): \n    {}\n    th_a  v8_game.cpp:156 evaluate\n\n    {\"*this\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}\n    th_a  game_operations.cpp:74 evaluate\n\n    {\"op\":{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}}\n    th_a  operation_factory.hpp:52 evaluate\n\n    {\"op\":{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}}\n    th_a  transaction_evaluation_state.cpp:170 evaluate_operation\n\n    {\"trx_arg\":{\"expiration\":\"2015-05-19T14:38:10\",\"reserved\":null,\"operations\":[{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSCnspir93pbYaGHTqnZcGTHiKjDjdLUVpK\",\"amount\":1000,\"claim_input_data\":\"\"}},{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTS6FWZqhSWpnVj5fZwpYUhGzd6UgF3fXq1V\",\"amount\":50000,\"claim_input_data\":\"\"}},{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}],\"signatures\":[\"2070a8debb5f8ba927c676da3de2a199509e223b957fe788a3214367b0f6f9687353f91e3cd56b02f9aa39bfe381da91ae4bba136120a177da1e38635c3ced51b7\",\"1f18361b7e976a11576dc524c2cb4747c0a7306d762737776b2c6302ca686bbb8b7547c57175b8de35b240c18e39b13cb28b4893b27da7ff55d99bc35b29f57f2d\"]}}\n    th_a  transaction_evaluation_state.cpp:165 evaluate\n\n    {\"trx\":{\"expiration\":\"2015-05-19T14:38:10\",\"reserved\":null,\"operations\":[{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSCnspir93pbYaGHTqnZcGTHiKjDjdLUVpK\",\"amount\":1000,\"claim_input_data\":\"\"}},{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTS6FWZqhSWpnVj5fZwpYUhGzd6UgF3fXq1V\",\"amount\":50000,\"claim_input_data\":\"\"}},{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}],\"signatures\":[\"2070a8debb5f8ba927c676da3de2a199509e223b957fe788a3214367b0f6f9687353f91e3cd56b02f9aa39bfe381da91ae4bba136120a177da1e38635c3ced51b7\",\"1f18361b7e976a11576dc524c2cb4747c0a7306d762737776b2c6302ca686bbb8b7547c57175b8de35b240c18e39b13cb28b4893b27da7ff55d99bc35b29f57f2d\"]}}\n    th_a  chain_database.cpp:1800 evaluate_transaction\n\n    {\"trx\":{\"expiration\":\"2015-05-19T14:38:10\",\"reserved\":null,\"operations\":[{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSCnspir93pbYaGHTqnZcGTHiKjDjdLUVpK\",\"amount\":1000,\"claim_input_data\":\"\"}},{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTS6FWZqhSWpnVj5fZwpYUhGzd6UgF3fXq1V\",\"amount\":50000,\"claim_input_data\":\"\"}},{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}],\"signatures\":[\"2070a8debb5f8ba927c676da3de2a199509e223b957fe788a3214367b0f6f9687353f91e3cd56b02f9aa39bfe381da91ae4bba136120a177da1e38635c3ced51b7\",\"1f18361b7e976a11576dc524c2cb4747c0a7306d762737776b2c6302ca686bbb8b7547c57175b8de35b240c18e39b13cb28b4893b27da7ff55d99bc35b29f57f2d\"]},\"override_limits\":true}\n    th_a  chain_database.cpp:2216 store_pending_transaction\n\n    {\"transaction_record\":{\"index\":0,\"record_id\":\"0000000000000000000000000000000000000000\",\"block_num\":0,\"is_virtual\":false,\"is_confirmed\":false,\"is_market\":false,\"trx\":{\"expiration\":\"2015-05-19T14:38:10\",\"reserved\":null,\"operations\":[{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTSCnspir93pbYaGHTqnZcGTHiKjDjdLUVpK\",\"amount\":1000,\"claim_input_data\":\"\"}},{\"type\":\"withdraw_op_type\",\"data\":{\"balance_id\":\"XTS6FWZqhSWpnVj5fZwpYUhGzd6UgF3fXq1V\",\"amount\":50000,\"claim_input_data\":\"\"}},{\"type\":\"game_op_type\",\"data\":{\"input\":{\"game_id\":1,\"data\":{\"from_account_name\":\"bob\",\"amount\":10,\"odds\":2,\"guess\":1}}}}],\"signatures\":[\"2070a8debb5f8ba927c676da3de2a199509e223b957fe788a3214367b0f6f9687353f91e3cd56b02f9aa39bfe381da91ae4bba136120a177da1e38635c3ced51b7\",\"1f18361b7e976a11576dc524c2cb4747c0a7306d762737776b2c6302ca686bbb8b7547c57175b8de35b240c18e39b13cb28b4893b27da7ff55d99bc35b29f57f2d\"]},\"ledger_entries\":[{\"from_account\":\"XTS5g8pG7EK69dw1mrAizgP9a2mgAG975vP4c9XJmKUiGap6PhGfE\",\"to_account\":\"XTS5g8pG7EK69dw1mrAizgP9a2mgAG975vP4c9XJmKUiGap6PhGfE\",\"amount\":{\"amount\":1000,\"asset_id\":1},\"memo\":\"play dice\",\"memo_from_account\":null}],\"fee\":{\"amount\":50000,\"asset_id\":0},\"created_time\":\"1970-01-01T00:00:00\",\"received_time\":\"1970-01-01T00:00:00\"}}\n    th_a  transaction_ledger.cpp:1387 cache_transaction\n\n    {}\n    th_a  common_api_client.cpp:7667 game_play",
        "code": 10
      } (BitShares::API::Rpc::Error)
      game_play dice {"from_account_name"=>"bob", "amount"=>10.0, "odds"=>2, "guess"=>1}
      features/play_dice.feature:26:in `When I play game dice using 10 DICE providing with 2 odds and 1 guess'

And I wait for one block                                                                                # features/step_definitions/basic_wallet_steps.rb:68
      Connection reset by peer (Errno::ECONNRESET)
      ./bitshares_api.rb:78:in `block in request'
      ./bitshares_api.rb:76:in `request'
      ./client.rb:95:in `exec'
      ./client.rb:116:in `wait_new_block'
      ./features/step_definitions/basic_wallet_steps.rb:72:in `block (2 levels) in <top (required)>'
      ./features/step_definitions/basic_wallet_steps.rb:71:in `each'
      ./features/step_definitions/basic_wallet_steps.rb:71:in `/^(\w+) waits? for (one|\d+) blocks?$/'
      features/play_dice.feature:27:in `And I wait for one block'
    Then Bob should have 0 DICE                                                                                # features/step_definitions/basic_wallet_steps.rb:83
    When I wait for 9 block                                                                                # features/step_definitions/basic_wallet_steps.rb:68
    Then I should have 20 or 0 DICE                                                                                # features/step_definitions/game_steps.rb:39
shutting down testnet..
      Broken pipe (Errno::EPIPE)
      /Users/fisher/superlab/bitshares_play/tests/bdd_tests/client.rb:71:in `write'
      /Users/fisher/superlab/bitshares_play/tests/bdd_tests/client.rb:71:in `stop'
      /Users/fisher/superlab/bitshares_play/tests/bdd_tests/testnet.rb:185:in `shutdown'
      /Users/fisher/superlab/bitshares_play/tests/bdd_tests/features/support/env.rb:154:in `After'

2015-05-20T08:41:04    th_a:delegate_loop         extend_chain ] error applying block: 100012 failed_run_script: failed to run script
102
103     {"v8_helper::ReportException( my->GetIsolate(), &try_catch)":"undefined:163: TypeError: undefined is not a function\n\tvar block_of_dice = blockchain.getblock(block_num_of_dice);\n                                    ^\nTypeError: undefined is not a function\n    at Object.PLAY.execute (<anonymous>:163:33)\n    at <anonymous>:1:6\n"}
104     th_a  v8_game.cpp:444 execute
105
106     {"block_num":11}
107     th_a  client.cpp:208 execute       chain_database.cpp:1306
108 2015-05-20T08:41:04    th_a:delegate_loop           push_block ] fork permanently rejected as it has permanently invalid block: 100012 failed_run_script: failed to run script
109
110     {"v8_helper::ReportException( my->GetIsolate(), &try_catch)":"undefined:163: TypeError: undefined is not a function\n\tvar block_of_dice = blockchain.getblock(block_num_of_dice);\n                                    ^\nTypeError: undefined is not a function\n    at Object.PLAY.execute (<anonymous>:163:33)\n    at <anonymous>:1:6\n"}
111     th_a  v8_game.cpp:444 execute
112
113     {"block_num":11}
114     th_a  client.cpp:208 execute
115
116     {"block_data":{"previous":"8350f2c8e37168e9186c3fc04da8534574b1e474","block_num":11,"timestamp":"2015-05-20T08:37:50","transaction_digest":"c8cf12fe3180ed901a58a0697a522f1217de72d04529    bd255627a4ad6164f0f0","next_secret_hash":"adb90121ff36689ab7a92e02d1ad2dfe9ca76a62","previous_secret":"0000000000000000000000000000000000000000","delegate_signature":"1f07f24f1d7347db4fc53    f9a75928f9cb26db80001d340c31aa0e4a33d3cc7677b2d5c9570ffe7f52e6fba2f105789a7fcc7505b852cbb77d0d3714e7ff5af237a","user_transactions":[]}}

2015-05-21T07:04:20    th_a:delegate_loop                Print ] The 0th parameter is {"previous":"0000000000000000000000000000000000000000","block_num":1,"timestamp":"2015-05-21T07:01:10","transaction_dig    est":"c8cf12fe3180ed901a58a0697a522f1217de72d04529bd255627a4ad6164f0f0","next_secret_hash":"0333eabd16040802779426e702e487fdfd8a63b1","previous_secret":"0000000000000000000000000000000000000000","delegate_    signature":"2061ddd0a0e4cb364988153768778b5d195307e837a7c7508a2c32e86fe27a2a460764a64c38823ec9cc6e117e512bacc23264ee9eb55e6b026c82ef5aa16b89f3","user_transaction_ids":[],"id":"51c1e6e60f97e2129107f3c218299    4146cffbcbb"}        v8_helper.cpp:102
109 2015-05-21T07:04:20    th_a:delegate_loop         extend_chain ] error applying block: 100012 failed_run_script: failed to run script
110
111     {"v8_helper::ReportException( my->GetIsolate(), &try_catch)":"undefined:225: ReferenceError: game_result_transactions is not defined\n   pending_state.set_game_result_transactions( game_result_transact    ions );\n                                               ^\nReferenceError: game_result_transactions is not defined\n    at Object.PLAY.execute (<anonymous>:225:48)\n    at <anonymous>:1:6\n"}
112     th_a  v8_game.cpp:445 execute
113
114     {"block_num":11}
115     th_a  client.cpp:208 execute       chain_database.cpp:1306
116 2015-05-21T07:04:20    th_a:delegate_loop           push_block ] fork permanently rejected as it has permanently invalid block: 100012 failed_run_script: failed to run script
117
118     {"v8_helper::ReportException( my->GetIsolate(), &try_catch)":"undefined:225: ReferenceError: game_result_transactions is not defined\n   pending_state.set_game_result_transactions( game_result_transact    ions );\n                                               ^\nReferenceError: game_result_transactions is not defined\n    at Object.PLAY.execute (<anonymous>:225:48)\n    at <anonymous>:1:6\n"}
119     th_a  v8_game.cpp:445 execute
120
121     {"block_num":11}
122     th_a  client.cpp:208 execute

#
# Fatal error in HandleScope::HandleScope
# Entering the V8 API without proper locking in place
#

Process 34722 stopped
* thread #1: tid = 0x45ed25, 0x0000000100c71a12 play_testnet_client`v8::base::OS::Abort() + 18 at platform-posix.cc:218, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
    frame #0: 0x0000000100c71a12 play_testnet_client`v8::base::OS::Abort() + 18 at platform-posix.cc:218
   215      V8_IMMEDIATE_CRASH();
   216    }
   217    // Redirect to std abort to signal abnormal program termination.
-> 218    abort();
   219  }
   220
   221
(lldb) up
frame #1: 0x0000000100c40074 play_testnet_client`v8::HandleScope::Initialize(v8::Isolate*) [inlined] v8::Utils::ReportApiFailure(location=<unavailable>, message=<unavailable>) + 80 at api.cc:181
   178    if (callback == NULL) {
   179      base::OS::PrintError("\n#\n# Fatal error in %s\n# %s\n#\n\n", location,
   180                           message);
-> 181      base::OS::Abort();
   182    } else {
   183      callback(location, message);
   184    }
(lldb) up
frame #2: 0x0000000100c40024 play_testnet_client`v8::HandleScope::Initialize(v8::Isolate*) [inlined] v8::Utils::ApiCheck(bool, char const*, char const*) at api.h:181
   178    static inline bool ApiCheck(bool condition,
   179                                const char* location,
   180                                const char* message) {
-> 181      if (!condition) Utils::ReportApiFailure(location, message);
   182      return condition;
   183    }
   184
(lldb) up
frame #3: 0x0000000100c40024 play_testnet_client`v8::HandleScope::Initialize(this=0x000000010682f4b0, isolate=0x0000000104d46000) + 52 at api.cc:538
   535    // We do not want to check the correct usage of the Locker class all over the
   536    // place, so we do it only here: Without a HandleScope, an embedder can do
   537    // almost nothing, so it is enough to check in this central place.
-> 538    Utils::ApiCheck(!v8::Locker::IsActive() ||
   539                    internal_isolate->thread_manager()->IsLockedByCurrentThread(),
   540                    "HandleScope::HandleScope",
   541                    "Entering the V8 API without proper locking in place");
(lldb) up
frame #4: 0x00000001009b4f2c play_testnet_client`bts::game::v8_game_engine::scan(this=<unavailable>, trx_rec=<unavailable>, w=<unavailable>)3>&, std::__1::shared_ptr<bts::wallet::wallet>) + 28 at v8_game.cpp:365
   362     bool v8_game_engine::scan( wallet_transaction_record& trx_rec, bts::wallet::wallet_ptr w )
   363     {
   364
-> 365        HandleScope handle_scope(my->GetIsolate());
   366        // TODO
   367        return false;
   368     }

following error come back on execute
340 2015-06-04T11:35:09    th_a:delegate_loop         extend_chain ] error applying block: 100013 failed_run_script: failed to run script
341
342     {"v8_helper::ReportException( my->GetIsolate(), &try_catch)":"<string conversion failed>:0: <string conversion failed>\n<string conversion failed>\n\n"}
343     th_a  v8_game.cpp:511 execute
344
345     {"block_num":19}
346     th_a  client.cpp:210 execute       chain_database.cpp:1314
347 2015-06-04T11:35:09    th_a:delegate_loop           push_block ] fork permanently rejected as it has permanently invalid block: 100013 failed_run_script: failed to run script
348
349     {"v8_helper::ReportException( my->GetIsolate(), &try_catch)":"<string conversion failed>:0: <string conversion failed>\n<string conversion failed>\n\n"}
350     th_a  v8_game.cpp:511 execute
351
352     {"block_num":19}
353     th_a  client.cpp:210 execute
354
355     {"block_data":{"previous":"f979e02bc4c27776a886772fbcd9097cb5dee422","block_num":19,"timestamp":"2015-06-04T11:35:10","transaction_digest":"c8cf12fe3180ed901a58a0697a522f1217de72d04529bd255627a4ad6164f0f0","next_secret_h    ash":"0d0d9b46e6e585954cfe199ac4a1ae30c12f3b44","previous_secret":"0000000000000000000000000000000000000000","delegate_signature":"20194802d776fb27fcb592d17453a37fdcaedfd399e44dacb0ff823f5ebdc3fb0627024eb4575fa815f9ba560819f    441114a5717f225ccbd6fe09c0e2229b6e06a","user_transactions":[]}}
356     th_a  chain_database.cpp:1333 extend_chain
357
358     {"block_id":"6b2cd5f301962347b9e610f013243a0082992ebf"}
359     th_a  chain_database.cpp:693 switch_to_fork       chain_database.cpp:2028

Some strange new update:
The above unknow exception only appear in delegate node, but not appear in alice/bob node.

https://github.com/bitsuperlab/bitshares_play/blob/v8/libraries/game/v8_api.cpp#L255

https://github.com/dacsunlimited/dacplay-game-samples/blob/master/dice/dice.js#L180

For the above error, after upgrade v8 version, contract execute still fail from the 2th ... blocks, but it is running ok when being manually started ( not using testnet.rb )

this issue is related to transaction scanning, after i manually 'wallet_set_transaction_scanning true' for delegate node, it will be gone

this issue is caused by 'reschedule_delegate_loop' from 'wallet_delegate_set_block_production' in ruby script,  and it only happens for some rescheduled loops

Seems to be duplicate with https://github.com/bitsuperlab/cpp-play/issues/162


low R@1 performance

When using the train_msrvtt.sh code for reproduction, the performance shows a lower R@1 result compared to the paper. Is it common to observe significant performance variance in the original results?
[paper]
Text-to-Video
R@1: 49.4 - R@5: 72.1 MnR: 12.9
Video-to-Text
R@1: 47.1 - R@5: 74.3
[reproduce]
(1st run)
Text-to-Video:
R@1: 47.5 - R@5: 74.2 - R@10: 82.3 - Median R: 2.0 - Mean R: 13.0
Video-to-Text:
V2T$R@1: 46.1 - V2T$R@5: 72.8 - V2T$R@10: 82.1 - V2T$Median R: 2.0 - V2T$Mean R: 10.2
(2nd run)
Text-to-Video:
R@1: 47.3 - R@5: 73.5 - R@10: 82.0 - Median R: 2.0 - Mean R: 13.1
Video-to-Text:
V2T$R@1: 45.3 - V2T$R@5: 72.1 - V2T$R@10: 81.6 - V2T$Median R: 2.0 - V2T$Mean R: 10.3

Thank you for your attention to our work. Here are several possible reasons:

The Text-to-Video results in the paper are obtained with SK-norm, so you should run the codes in "2) Evaluate text-to-video retrieval with SK-norm on MSR-VTT dataset" of ""train and inference"" after running the train_msrvtt.sh.

The GPU type and Torch version could also affect the results, we are using 4 A5000 GPUs for training and PyTorch==1.12.1.

Hope it helps!

Thank you for the quick response.

The previous results were obtained using the eval_msrvtt.sh script within the eval_t2v folder. While there was a slight improvement in performance compared to train_msrvtt.sh, there was a significant difference in R@1 performance compared to the paper. Additionally, when evaluating the performance using eval_v2t, I obtained results that were similar to the R@1 performance reported in the paper for v2t.
Text-to-Video:
R@1: 45.6 - R@5: 72.7 - R@10: 81.7 - Median R: 2.0 - Mean R: 13.4
Video-to-Text:
V2T$R@1: 47.5 - V2T$R@5: 73.4 - V2T$R@10: 82.4 - V2T$Median R: 2.0 - V2T$Mean R: 12.5

I conducted the experiments using four 3090 GPUs and the following environment: Python version 3.8, Torch version 1.12.1, and CUDA version 11.3.

I'm currently rechecking the code, dataset, and environment before proceeding with further experiments. If there are any other insights or issues, please do let me know.
Thank you.

Thank you for letting me know more information about your experiments!  I only tested on A5000 and A6000 GPUs with CUDA 11.6, the results were similar. Here is the log information for my last run:
2023-03-07 22:37:38,070:WARNING: Using patch shift! 2023-03-07 22:50:47,426:INFO: sim matrix size: 1000, 1000 2023-03-07 22:50:47,514:INFO: 	 Length-T: 1000, Length-V:1000 2023-03-07 22:50:47,514:INFO: Text-to-Video: 2023-03-07 22:50:47,515:INFO: 	>>>  R@1: 49.4 - R@5: 72.1 - R@10: 83.5 - Median R: 2.0 - Mean R: 12.9
Meanwhile, I uploaded my MSR-VTT checkpoint in https://drive.google.com/file/d/1-zynuNEI1u0TwNxw2R163kX4kocWDsIu/view?usp=sharing, hope it helps!
Best,
Ziyang

Thank you so much for your assistance.
When I evaluated the your weight, I got the following results. I noticed a slight decrease in performance, but I cannot pinpoint the exact cause. Do you have any insight into why performance might change during evaluation?
Text-to-Video:
R@1: 48.6 - R@5: 73.4 - R@10: 82.7 - Median R: 2.0 - Mean R: 12.7
Video-to-Text:
V2T$R@1: 44.8 - V2T$R@5: 71.4 - V2T$R@10: 81.9 - V2T$Median R: 2.0 - V2T$Mean R: 9.1
Also, the epoch of the best model is 7, and the paper mentions that training was done with epoch=8 on the MSR-VTT dataset. So I reduced the epoch to 8 and 5 during training and got slightly better performance. Below are the results when training with epoch=5(best=4). I think that by adjusting the random seed a bit I could get similar performance.
Text-to-Video:
R@1: 48.2 - R@5: 72.4 - R@10: 82.7 - Median R: 2.0 - Mean R: 12.2
Video-to-Text:
V2T$R@1: 45.0 - V2T$R@5: 73.2 - V2T$R@10: 82.4 - V2T$Median R: 2.0 - V2T$Mean R: 8.7

Thanks for the update!

When I evaluated your weight, I got the following results. I noticed a slight decrease in performance, but I cannot pinpoint the exact cause. Do you have any insight into why performance might change during evaluation?

Well, I am trying to understand this difference from the package/ hardware that we have. I never tested on 3090 and did not have access to any, but I don't expect this factor to cause a 0.8% R@1 GAP.  CUDA version is another issue since the calculation might be a variant. Maybe try some new GPUs with higher CUDA versions if possible?

Also, the epoch of the best model is 7, and the paper mentions that training was done with epoch=8 on the MSR-VTT dataset. So I reduced the epoch to 8 and 5 during training and got a slightly better performance.

Well, it's expected that different GPU/CUDA versions/ package versions could lead to different optimization, I would recommend you try more hyper-parameter tunings here (e.g., try using epochs=15, or maybe try different lr ).
Hope it helps!

Thank you very much for your help. I got similar results when evaluating by using original videos (not compressed videos).
Below are the results I obtained using provided weights using 3090 and A6000. Although they are different servers, I set up the same environment for both (CUDA=11.6 and other libraries).
[train-compressed / test-compressed]
(3090)
Text-to-Video:
R@1: 48.6 - R@5: 73.4 - R@10: 82.7 - Median R: 2.0 - Mean R: 12.7
(A6000)
Text-to-Video:
R@1: 48.6 - R@5: 73.4 - R@10: 82.7 - Median R: 2.0 - Mean R: 12.7
The results are the same. Therefore, this is not a GPU issue. While looking for other issues, I rechecked the GitHub code and found that both train_msrvtt.sh and eval_msrvtt.sh had their default paths set to videos/all. So, when I tried evaluating with original videos during the evaluation, using the same weights as mentioned above, I obtained the following results:
[train-compressed / test-original]
(3090 & A6000)
Text-to-Video:
R@1: 49.6 - R@5: 73.5 - R@10: 82.8 - Median R: 2.0 - Mean R: 12.3
This also resulted in a slight difference compared to the provided log (49.4 <-> 49.6). Below is the model that I reproduced earlier. I trained it with compressed videos in train_msrvtt.sh and evaluated it with original videos (epoch=15 with 3090). Additionally, I also tried training with the original size, but it showed lower results compared to training with compressed videos.
[train-compressed / test-original]
Text-to-Video:
R@1: 48.9 - R@5: 74.2 - R@10: 82.3 - Median R: 2.0 - Mean R: 12.6
[train-original / test-original]
Text-to-Video:
R@1: 47.8 - R@5: 72.2 - R@10: 82.7 - Median R: 2.0 - Mean R: 11.9
Using original videos for evaluation doesn't always result in improved performance. In many cases, the performance can remain the same or even decrese. When conducting the experiments, did you use compressed videos for both training and testing, or did you use compressed videos for training and original videos for testing? Could you please clarify?
Thank you.

Thanks for your update and such comprehensive results on our project!
As mentioned in the README, we compress all the videos to 3224224, both training and testing phases. For the first issue,  it's pretty weird but I will rerun the code soon and try to find any clue for this.
Thank you.


Rename region to frequencyPlan in gateway status proto

This is a change request for the Backend.
https://github.com/TheThingsNetwork/ttn/blob/develop/api/gateway/gateway.proto#L82
Should be frequencyPlan

Note: This will be a breaking API change for the JSON API (status.region) and Go API (status.Region). Binary representations of the protos will remain unchanged.
Possibly affected (apart from this repo):

gateway-connector-bridge ( @htdvisser )
noc ( @rvolosatovs )
value-exchange ( @jankramer )
console ( @romeovs )

Not used by VX, so no issues there.

Console uses protos so it should be good.

Not used in NOC

It will break the ttn-gateway-connector when protos are regenerated, but that's a really minor change for users


Default grace period to 0 when --force is used to delete a pod, deployment, etc

What would you like to be added:
Default grace period to 0 when using --force to delete a pod, deployment, etc
Why is this needed:
If I run
kubectl delete pod test --force

I get a warning saying:
warning: --force is ignored because --grace-period is not 0.

And then it continues to delete the pod normally, without force.
Can kubectl just make the assumption that if you use --force and don't specify --grace-period, you are intending to immediately delete the pod and automatically set grace period to 0?
Warning the user after they already executed the command that they should have used --grace-period 0 and then proceeding to delete without force is not a great user experience.  Presumably a reason for using force was because the user did NOT want to wait.

/kind feature

/sig cli

/area kubectl

Merged
https://github.com/kubernetes/kubernetes/pull/87776


wal: error: unrecognized arguments: -g

when I enter this command wal -i ~ / Pictures / natalia-bielawska-by-natalia-bielawska-synth-retrowave-synth.jpg -g it returns wal: error: unrecognized arguments: -g

Yeah. -g isn't an argument.

but it worked on this site : https://linuxconfig.org/how-to-customize-your-gtk-desktop-with-oomox-and-pywal

@erdemgazeloglu That guide was for an older version of wal (See  #374).


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-24-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2315

Questions ?
Please refer to the Backport tool documentation


mpd on darwin

libjack2 and libpulseaudio doesn't build on darwin at this moment.
Also there happens something nasty with exceptions and boost headers (mpd builds with exceptions disabled by default but somehow boost headers ignore that). So I've enabled exceptions back, anyway if something will be thrown process will abort.

If they don't build temporarily, then set those pulseaudioSupport and jackSupport to false in your own system.

@lethalman pulseaudio and jack doesn't build not only on my system, but at hydra too. AFAIR pulseaudio doesn't work at darwin at all yet.
https://hydra.nixos.org/job/nixpkgs/trunk/libjack2.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/libpulseaudio.x86_64-darwin

And this doesn't break darwin experience, because mpd contains mature OS X sound system support.
Anyway, problems isn't in pulseaudio and jack, there is something wonky with boost and c++ exceptions. If only someone with darwin and c++ knowledge could look into it.

Perhaps it would be better to add the flags to all-packages.nix instead, eg
mpd = callPackage ../servers/mpd {
     aacSupport    = config.mpd.aacSupport or true;
     clientSupport = config.mpd.clientSupport or false;
     ffmpegSupport = config.mpd.ffmpegSupport or true;
     opusSupport   = config.mpd.opusSupport or true;
     jackSupport = !stdenv.isDarwin;
     pulseaudioSupport = !stdenv.isDarwin;
};

Also, according to https://github.com/jackaudio/jack2/issues/29, jack must be built with xcodebuild on osx, which we can't do at the moment. @copumpkin and @pikajude were looking into a replacement a long time ago but IIRC it turned out to be very difficult..

@mk0x9 can you move the flags in the function parameters instead ? Disabling jack and pulseaudio on OSX is fine.

It's better to have a working mpd than something perfect


Verify tx version on execute

Pull Request type
Please check the type of change your PR introduces:

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?
The current execute method doesn't check if the transaction version being passed is valid or not.
Transaction.version uses a U256 as the type.
Issue Number: #127
What is the new behavior?
This PR adds a transaction version validation similar to what happens in the blockifier.
It also replaces the usage of U256 for the version type in the Transaction struct to be an u8, as specified in the issue.
Existing tests were updated, and new ones were added.
Does this introduce a breaking change?

[ ] Yes
[X] No

Other information

Hey @abdelhamidbakhta 👋 This should be ready to be reviewed

hey @zediogoviana, could you add one test within starknet/lib.rs ? Just to make sure it fails correctly when given two non-consecutive nonces.

Hey @EvolveArt, I can do that, no problem. However, I'm not understanding how the nonce verification test impacts this PR. Just checking if you aren't referring to PR #129 instead.

Hey @EvolveArt, I can do that, no problem. However, I'm not understanding how the nonce verification test impacts this PR. Just checking if you aren't referring to PR #129 instead.

Sorry I meant tx version you're right, got confused between PRs


Add Migration Guide for Traefik v2.1

What does this PR do?
Adds a guide on how to migrate Traefik v2.x minor versions.
Motivation
Have our users do the right things ;-)
More

[ ] Added/updated tests
[x] Added/updated documentation

It's nice that you have provided a migration guide, but I don't understand it completely.
What are CRDs? The short form is used so often without ever explaining its meaning.
I am currently using traefik version 2.0.4. What do I actually have to change in my configuration?
My folder structure looks like:
/opt/traefik/
├── data
│   ├── acme.json
│   └── traefik.yml
└── docker-compose.yml


Add cmake build for Linux

Remove MSVC references, please.

Removed the references to MSVC so that the cmake build is for non-Windows only.
Added a magical "GLOB" construct to build using all *.cpp and *.h files it finds in the source directory. This way the Linux build won't break when a file is added in Visual Studio. I'm not sure what happens to the Visual Studio build when a file is added to the Linux source. Do you know if Visual Studio picks up all the .cpp and .h files, or just the ones added explicitly?

@robertpogue Are you gonna pull this bad boy? :)


Broken link in Spring IO Platform page

In the https://platform.spring.io/platform/ page, the link for "Overview" (under "More information") is broken: it links to https://spring.io/platform which shows a 404.

Thanks Brian, this is done.

Having spoken to Trevor, I'm wondering if this was the right place for this after all. Two people have reported 404s for https://spring.io/platform today. That's either a coincidence, it's been broken for a long time and no one has noticed, or something has changed to break them. Nothing's changed recently in the Platform, Trevor tells me that nothing's changed in CloudFlare.
Is there a chance that Sagan used to have a redirect for this and no longer does?

The platform page has been removed from spring.io a while ago (it as showing outdated information and we never got to create a new one - especially one that really was about the IO Platform). I'm happy to add a redirect rule to another page. Where should I redirect?

Can we redirect to https://platform.spring.io/platform/ please? https://github.com/spring-io/platform/issues/744 will remove the "Overview" link from https://platform.spring.io/platform so it won't end up linking to itself.


Add method for adding params to transaction meta

Explanation
We are working on improving Blockaid performance on mobile. We have introduces async blockaid validation and need to save validation result to transaction in controller also as validation completes. Thus we have introduced method to add params to transaction meta.
References

Related to #67890

Changelog
TransactionController: Adding method for adding params to transaction meta.
Checklist

[X] I've updated the test suite for new or updated code as appropriate
[X] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate

@matthewwalsh0 : thanks for the useful feedbacks. I updated the PR to address those.


Add width parameter and fix unit size

List of Changes

Fixed unit_size from range / length to length / range
Added a width parameter (defaults to None) to set the NumberLine to that width.

Motivation

Many users might find it comfortable to just pass the width of their NumberLine instead of trial and error-ing with the unit_size. The unit_size will be overridden only if the argument width which is not None is passed, so if the preference is to go with unit_size, it is always possible.

Example

class NumberLineTest(Scene):
    def construct(self):
        def num_line(unit_size=1, width=None):
            return NumberLine(
                        include_numbers=True, x_min=-50, x_max=50,
                        tick_frequency=10, unit_size=unit_size,
                        numbers_to_show=range(-50, 60,10),
                        width=width
                    )

        lines_width = VGroup(
            *[num_line(width=w) for w in range(8, 14, 2)]
            ).arrange(DOWN, buff=1).to_edge(DOWN)
        line_unit_size = num_line(unit_size=0.1).to_edge(UP)

        self.add(line_unit_size, lines_width)

Acknowledgement

[x] I have read the Contributing Guidelines

Thanks @Pragyaan-6988 for another contribution!
Will you please check the activity in #742? Something tells me that once that feature is merged, point number 2. in this PR would not be strictly necessary.
Point number 1. does look like a bug. Thanks for fixing that!

@leotrs If I understand it correctly, even after merging that feature, we can use NumberLine(width=unit.m(<width>), other_parameters). Or is there another way we can set the width after merging that feature, which wouldn't make the width parameter necessary? Thanks.

I guess I meant that you could use something like NumberLine(unit_size=unit.m(<num_units / width>), ...). Though you are right, for convenience we could just offer both parameters.

thanks for your contribution!


Cant download better discord with injector(Pls Answer)

When i activated the injector it says no connection to remote server

i get ERR_CONNECTION_REFUSED when i try to enter the link

hello?

@IcyFist If this remains an issue -- but not with VPN on; then something is likely blocking Github. That is not something that is in the control of this developer. That should help you isolate your problem. There are no other reports of this happening, so it is almost certainly an issue exclusive to your network. If this issue is no longer active please close.

Yes unfortunately I have to agree with Technetium1, this is something that you'll have to diagnose yourself. I apologize.


Add test utility for picking an unused port

Replace getUnusedPort, which didn't really do any checking, with checkPortAvailability, which actually does check that the port is available for a single protocol (IPv4 or IPv6) and a single stream type (Stream or Datagram).
Addresses the concern in issue #574, but by a different means (still may want to have port server support).

Regarding the feedback "I would suggest that it might be possible to simplify by forgetting about the checking existing port availability case - we won't need this when we switch to having all tests use allocated ports", the approach taken is intended to support a possible additional feature (i.e. one we use internally): Check whether a port is free for multiple addresses and/or protocols. It isn't clear to me that is essential though, and the "allocate a port" variant is probably the most common/useful.


ARM binaries

I don't have devices handy to test the ARM Debian packages on, but because they are cross-compiled the package dependencies can't be auto-generated, so they might not work as-is. Once we've had some feedback, we can figure out how we want to handle them going forward.


Card component no longer present within standards documentation

Is your feature request related to a problem? Please describe.
Card component no longer present within https://docs.royalnavy.io/components/. The Card component allowed me to provide information to users in a format that was (subjectively) a good match for my app.
Describe the solution you'd like
I wish the Card component to be re-included in the standards.
Describe alternatives you've considered
A 'rn-card' CSS element continues to exist within @royalnavy/css-framework so I could implement this within my app, however this might be nugatory work if it is not part of the new standard. Alternatively I could simply design my own method of displaying information from scratch, but would not wish to do so if a standard was going to be issued.  NB: If this component has been permanently deprecated, this would be useful to state explicitly within the standards.
Additional context
Screenshot of original feature below (data shown is illustrative only / mock):

There has been some updates made to the design. This needs to be finished so the CSS work can be done and a React component to match.
Design work is in progress and development on it will begin soon

Duplicate of #345
This will be started on soon.


FFC param key validation / FFC libctx cleanups

Checklist

[ ] documentation is added or updated
[x] tests are added or updated

Moving out of WIP now that dependent PR's have been merged.

The 1st commit is the validation changes for DSA and DH.
The 2nd commit removes the libctx being propagated thru the dh/dsa methods by storing the libctx internally in the objects. (It was done in this PR to fix the check methods, but then needed to be cleaned up elsewhere also where it was used in the generation and compute methods).

rebased..

ping

travis error is just a timeout..

ping

Updated to address code review comments.

Rebased

ping

Oh...wait....travis failure appears relevant.

Who put that no config build in :)

Added  OPENSSL_NO_DSA and OPENSSL_NO_DH sections to the new test

ping

This pull request is ready to merge

Merged to master.


fixed footer

closes #2365
Fixes Issue
Added margin bottom and scroll over flow
Screenshots

Note to reviewers

@Rajvardhan222
You shouldn't make a PR until the issue is approved. It might get closed, and it will be clearly visible on your profile.
If we approve the issue, then we will review this PR; otherwise, we will have to close this one.

@Rajvardhan222 we don't certainly need it. Appreciate your time and efforts.


Question about calling runcrons while a previous job is happening

If manage.py runcrons is called while a django-cron do function hasn't yet finished running, and that django-cron do function isn't scheduled to run again yet at that point in time, will there be a problem? I'm asking because I'm wondering whether some issues I'm experiencing might be due to having scheduled the (crontab -e) cron job to run too frequently.

django-cron uses your configured cache backend to store which jobs are currently in-flight. Unless you designate a job as being able to run in parallel, django-cron will not re-invoke it while an earlier version is still working.

@craiglabenz thanks for answering. @DanielStevenLewis as Craig mentioned its all configurable. If you allow parallel runs and crontab executes these quicker than necessary (say via bash file that goes in a loop) or every second and the cron python execution is slow because of whatever reason, then you could easily end up with a ton of processes which is a potential problem. Hence by default parallel runs for the same cron (code) don't work.


Strings are in base64 encoding after conversion.

What's the issue
In the parquet files generated from the conversion, strings are encoded in base64. It occurs to all the string fields, which may diverge from user's intentions.
Take RelationWriteSupport.java as an example.
memberRoleType = new PrimitiveType(REQUIRED, BINARY, "role");
In the above piece of code, we call this constructor of primitiveType,
we are actually setting its logicalTypeAnnotation to null. Therefore, parquet converter knows nothing about its actual type, then uses its default way to convert it as a binary - which is base64.

How to fix
To fix, we can set the logicalTypeAnnotation parameter to stringtype. We know the tags are actully in string format, it should be safe to do so, and parquet convert will be aware the field is string and convert it using UTF-8 instead of base64.

+1 on this. Currently after using osm-parquetizer we are getting key/values in the tag column like the following:


Adding six new windows machines

Signed-off-by: Adam Farley<EMAIL_ADDRESS>Checklist

[x] commit message has one of the standard prefixes
[ ] faq.md updated if appropriate
[ ] other documentation is changed or added (if applicable)
[ ] playbook changes run through VPC or QPC (if you have access)
[ ] for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

LGTM


sidebar is not active when click create button

Bug report
What I did:
What I expected to happen:
What happened:
What I've already tried to fix it:
Backpack, Laravel, PHP, DB version:
Backpack 4.0
Laravel 6.0
PHP 7.2
mySQL 5.8

Thank you @gumpon !
Moved the issue to Backpack\CRUD since the layout and scripts are included there starting with v4. Backpack\Base is no longer used in v4.
@pxpm I was able to confirm the issue on v4: the links did NOT turn active when using Create, Edit or Preview operations. I've fixed it in PR #2225 - will be merged later today as 4.0.15
Thanks again for bringing this up @gumpon - quite a big bug that we were unaware of.
Cheers!


Exclude .laminas-ci files from dist

Oh, yah. I've done that in #9 this morning. Just had no time to push that. Going to close this in favor of #9 if thats okay for you.


4.1.1 gets the following Error on the Install process

VBA-Web Installer.xlsm located in my Downloads directory.
ERROR 10025: No module found at C:\Users\toms\Downloads\src\WebHelpers.bas
4.1.0 works fine.

Nevermind. I had only downloaded the .xlsm file not the source files as well. It works.


ARROW-570: Determine Java tools JAR location from project metadata

Green build: https://travis-ci.org/xhochy/arrow/builds/203774500 will merge to unbreak master.


Adding Travis CI Integration (changes to .travis.yml needed)

Modified .travis.yml accordingly and had Rob enable it for the lookout/borderpatrol (already enabled for wkimeria/borderpatrol and tested with this .yml)
https://travis-ci.org/wkimeria/borderpatrol/builds/46254437

Awesome


move quorum driver from its own crate to sui-core

This PR simply moves quorum drive from its own crate to sui-core. The main reason for this change is we'd like to make integrate quorum drive with other components in sui-core (e.g. node sync) to proactively execute finalized txns locally.
Today quorum-driver depends on sui-core, the integration will make sui-core depend on quorum-driver forming a circular dependency.

I have no problem with moving this code, but can you explain what you mean by integrating with node sync? I don't think any integration with that component per se will be required. Instead, QD should only interface with AuthorityState - just call handle_node_sync_certificate once you have the effects cert.

just call handle_node_sync_certificate once you have the effects cert.

On second thought, you do probably want to use node sync, in case there are missing dependencies.


Add a Contributor License Agreement

@willfry @ssk2 @drexin as discussed in #715.

@ConnorDoyle what are the next steps here? Who has the lead here?

We need to get input from Nathan on this one.

On Jun 11, 2015, at 05:26, Matthias Veit<EMAIL_ADDRESS>wrote:
@ConnorDoyle what are the next steps here? Who has the lead here?
—
Reply to this email directly or view it on GitHub.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3877. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


windows + python3.5 not work

windows + python2.7 is ok
but windows + python3.5 has some problems mainly caused by Incompatibility bewteen protobuf2.6 and python3

We have tested it on windows with python 3.6(Anaconda), it is all OK.
The python proto files generated by protoc 2.6 work compatibly with the pb3+ installed from pip.
May be update your protobuf of python? (pip install --upgrade protobuf)

runing
on python35  the python kernel will crash， when save snapshots

when gen lmdb file in cifar10
the datum.SerializeToString() return bytes not str, which has no .encoded() method

Thanks, we have fixed it.
It is well known that python3 split 'str' into 'unicode' and 'bytes', which lead C APIs more confused.
In core/workspace.py, we tried to pass a 'str' to C++ backend, but parsed it still with PyBytes_AsString. As in python3, PyUnicode_AsUTF8 should be used instead.
An elegant way is to usepybind11, which provides a safe wrapper for C++11, and it has been used in recently commits of Caffe2.  We still use naive Python APIs because it required minimal dependencies. (Attention: pybind11 support VS2015 with update2+ only)


Old Product name used in video image.

This video

is still referring to the old product name in the slide still.  Check out 36 to 43 second of the video, the image still says Microsoft Defender Advanced Threat Protection.  It should be Microsoft Defender for Endpoint.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8690a332-f672-8db8-1552-5ee16e78746f
Version Independent ID: 3df5b553-4e29-da25-c0e4-10686c5fed20
Content: Microsoft Defender for Endpoint
Content Source: microsoft-365/security/defender-endpoint/microsoft-defender-endpoint.md
Product: m365-security
Technology: mde
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@mjcaparas Please help us in resolving this issue. Thanks

Will add in the radar for future updates.


Enable the OpenLab CI in containerd

The OpenLab CI configuration has been approved in https://github.com/containerd/containerd/pull/3242 [1], there is only one step to enable the OpenLab CI in containerd project.
Here is the link to install the OpenLab APP [2]:
https://github.com/apps/theopenlab-ci
Note that the OpenLab CI github APP only require basic permissions to update check status and commit test result log URL in PR comments, you can see permission details in APP installation web page [2].
After installation, the OpenLab CI will be triggered in every PR.
[1] https://github.com/containerd/containerd/pull/3242
[2] https://github.com/apps/theopenlab-ci

cc @estesp @crosbymichael

Looks like we have it enabled; first run was not so great because it looks like the setup timed out trying to get the golang tarball :) See #3278 for status output.
Of course, not an issue as it's non-voting, and we have our own issues with Travis CI and temporary failures due to network as well.

Ok, I think we are in good shape: "containerd-build-arm64 : SUCCESS in 7m 56s (non-voting)"
Closing this issue as setup is complete and operating on all new PRs.


feat: add safe versions of asin and acos

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 14 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 94.742%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Operators.jl
0
14
0.0%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.4%

Covered Lines:
3135

Relevant Lines:
3309

💛  - Coveralls

Need to put in Options as well


Fixed DDoc warnings

Found by adding -w to Ddoc command line.

nice, thx!

Auto-merge toggled on

@andralex I don't think the docs will build still, because there are now 2 default ctors for UnixAddress...
Making a new PR...

Thanks @schveiguy ! I didn't get a chance to do it, so thanks for having my back ;)


Installation issue: 'RNQuickActionManager.h' file not found

Hey, feel like this should be straightforward enough but I actually can't tell what I'm doing wrong.
Followed the installation instructions as per the RN page you linked but I keep getting the error 'RNQuickActionManager.h' file not found in my import of #import "RNQuickActionManager.h" in my AppDelegate.m file.
I did the manual install on iOS. Thanks in advance for any help or insight!

Hey @404sand808s,
My guess is you need to make sure you follow the instructions here which including a step to link your project to react-native-quick-actions. Hopefully that helps. If not give Stack Overflow a try and if you find a bug with our code or documentation open up a ticket here and we'll fix it.

Had the same issue. However I linked the library manually to avoid Cocoapods - then I needed to reference the header file by adding this to "Header Search Paths" (go to your project's file, select "Build Settings" and search for "Header Search Paths")
$(SRCROOT)/../node_modules/react-native-quick-actions/RNQuickAction/RNQuickAction

I seem to be running into the same issue ("RNQuickActionManager.h" file not found), although I'm using Cocoapods.
Unfortunately @leonid-shevtsov's solution did not work for me.   After adding the header search path Leonid specified, the "RNQuickActionManager.h file not found" error goes away, but I get a new error "Undefined symbol: OBJC_CLASS$_RNQuickActionManager".

Has anyone successfully installed this module using Cocoapods?  Sorry if I'm missing something obvious.  I don't see any mention of Cocoapods in the documentation.  Usually React Native module install guides have sections like "do this if cocoapods..  do this otherwise", so I'm unsure if following the install instructions is even relevant/supported in my case.  Can the installation instructions still work when modifying AppDelegate.m within the .xcworkspace project (not .xcodproject)?

I managed to fix this for Cocoapods by doing the following:

Unlink/undo any installation steps you've already tried besides npm install --save react-native-quick-actions.
Edit your podfile to include the following line:
  pod 'RNQuickAction', :podspec => '../node_modules/react-native-quick-actions/RNQuickAction.podspec'
Do cd ios, pod install


intra_domain_ranks is not defined in one of the execution paths.

intra_domain_ranks at https://github.com/NVIDIA/TransformerEngine/blob/main/transformer_engine/pytorch/module/base.py#L257C68-L257C86 is not defined when if num_domains > 1.

Thanks! This was internally reported earlier today as well and PR #1305 should fix it.


STENCIL-2629 - Remove option for "disable" on number of products per page

We have this weird option for "disabling" the number of products per page, which makes no sense and is causing confusion.
In the future we may evaluate some kind of best practice for infinite scrolling, but for now we should disable this.
Proof:

Also we should evaluate the delta between 2 numbers at-least for cornerstone. Right now between 6-8 it is 2, then between 8-9 it is 1 & the next one is 12 where it is 3.

hmm, what if a merchant does not want to display one of these sections?
I don't see why this is needed, I actually think is necessary.
Why does not make sense? and why is confusing?
Maybe we don't hide the title, and that's why is confusing?

Disregard my message, I thought we were talking about "feature products" and "new products" in the home page

The only weird thing is that if a user has this value already set, it will become set as a blank value when they upgrade. This doesn't appear to cause any problems (the storefront shows 20 items when blank, just as it did when it was "disabled"), but calling it out as weird.
💚


chore: forward-port leanprover-community/mathlib#19187

A sloppy version of this was added in #4891. This adds the better version that we wrote in mathlib3.

Thanks!
bors merge


Silent 500 errors when plating samples

maptest.ucsd.edu presently has read issues with the qiita.sample_10317 database table. This is not obvious to the user when plating samples as, in some cases the samples are flagged in red, in others, there is a blue stripe, and in others the samples appear valid (or no indication to suggest otherwise).
This particular issue is present due to a 500 error that appears to result from a permissions issue reading a table (though, oddly, it is possible to read other tables in the schema as evidenced by assigning a study)

AN ERROR HAS OCCURED!
Please copy the following into an issue in our github repository

Error
Error running SQL query: Query: SELECT sample_id FROM qiita.sample_10317 WHERE LOWER(sample_id) LIKE %s ORDER BY sample_id LIMIT %s Arguments: ['%10317.000004216%', 20] Error: permission denied for relation sample_10317

Traceback
Traceback (most recent call last):
File "/home/pmapper/labcontrol/labman/labman/db/sql_connection.py", line 586, in _execute cur.execute(sql, sql_args)
File "/home/pmapper/miniconda3/envs/labcontrol/lib/python3.5/site-packages/psycopg2/extras.py", line 141, in execute return super(DictCursor, self).execute(query, vars)
psycopg2.ProgrammingError: permission denied for relation sample_10317
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pmapper/miniconda3/envs/labcontrol/lib/python3.5/site-packages/tornado/web.py", line 1590, in _execute result = method(*self.path_args, **self.path_kwargs)
File "/home/pmapper/miniconda3/envs/labcontrol/lib/python3.5/site-packages/tornado/web.py", line 3006, in wrapper return method(self, *args, **kwargs)
File "/home/pmapper/labcontrol/labman/labman/gui/handlers/study.py", line 53, in get res = list(study.samples(term, limit=20))
File "/home/pmapper/labcontrol/labman/labman/db/study.py", line 214, in samples return TRN.execute_fetchflatten()
File "/home/pmapper/labcontrol/labman/labman/db/sql_connection.py", line 391, in wrapper return func(self, *args, **kwargs)
File "/home/pmapper/labcontrol/labman/labman/db/sql_connection.py", line 735, in execute_fetchflatten return list(chain.from_iterable(self.execute()[idx]))
File "/home/pmapper/labcontrol/labman/labman/db/sql_connection.py", line 391, in wrapper return func(self, *args, **kwargs)
File "/home/pmapper/labcontrol/labman/labman/db/sql_connection.py", line 643, in execute return self._execute()
File "/home/pmapper/labcontrol/labman/labman/db/sql_connection.py", line 590, in _execute self._raise_execution_error(sql, sql_args, e)
File "/home/pmapper/labcontrol/labman/labman/db/sql_connection.py", line 535, in _raise_execution_error % (sql, str(sql_args), str(error)))
ValueError: Error running SQL query: Query: SELECT sample_id FROM qiita.sample_10317 WHERE LOWER(sample_id) LIKE %s ORDER BY sample_id LIMIT %s Arguments: ['%10317.000004216%', 20] Error: permission denied for relation sample_10317

I've been trying to work through this issue. I think the jQuery calls for testing terms need to be modified to pay attention to the HTTP status codes spit back by the API, which I believe requires performing AJAX calls instead. The code for the queries is here.
However, I so far have not been successful on this over the last 2 hours of attempting to screw with the javascript... I've never used AJAX before, barely used javascript, and am rather confused by a host of what appear to be implicit variables in the code. This issue may make more sense for someone with jQuery/AJAX experience to take a poke at. Unassigning.

Note: whoever fixes this, see if the fix approach can also address the underlying issues in https://github.com/jdereus/labman/issues/385 which is technically closed but only because a kludge was implemented.


Add archive --skip-existing-method flag (#292)

This PR adds the --skip-existing-method flag to archive.
By default, when specifying --skip-existing and downloading an episode and the file to which the episode gets downloaded already exists, the download of this episode is skipped. But in some cases this is not the desired behavior, e.g. when an audio or subtitle language got added. To make this a bit more flexible, the --skip-existing-method is added. It can take audio and/or subtitle as argument. If given, it checks if the already downloaded file (is a video and) has different audio/subtitle languages than the one you want to download. If this is the case, the episode will be downloaded instead of being skipped and replaces the already existing file.

Wouldn't it only redownload the file if local has more audio/subs than requested/available?

can this only be used to download newer versions depending on available audio OR subtitle?
do I have to run this twice to get both updated?

You can do both / specify the flag twice in one command


Edit configuration window should be resizable (Trac #177)

The minimum height of the Edit configuration settings window is too big for some smaller displays. It should be made resizable (e.g., by adding a vertical scroll bar).

Migrated to https://github.com/wheeler-microfluidics/dmf_control_board_plugin/issues/4


About pretrained models

I follow the general guide and want to train and test COSOC on miniImageNet. But I am not certain about the pretrained model you provide in the chart. Is the pretrained model used for training a examplar or just the result of a trained examplar (means it can be used for running COS algorithm)?

Hi, the exemplar needs to be trained from scratch, so the file Exempler.ckpt is the result.

I see, thanks for your prompt reply ！


Support for allowing requests without Origin set

This PR adds support for allowing requests with no Origin headers set. One example when this happens is Dropbox OAuth2.

when this happens is Dropbox OAuth2

I'm curious how this is possible regardless of provider! As far as I understand, the OAuth provider is generally not responsible for setting the Origin header, the browser is. If a user initiates an OAuth flow from Dropbox, the browser should be setting the origin to be from Dropbox. I'm intrigued!


multicast-receiver crashes with ERR_PROTO

The behaviour of multicast-receiver is unstable i.e. it receives a file/folder and keeps waiting for any new packet (which is okay as per flow). But if I send again a file/folder it throws ‘ERR_PROTO’ and ‘nghq_session_recv()’ fails with code -1. I did enable the debug for both NGHQ and NGTCP2 during setup but somehow NGTCP2 library does not debug anything. See attached logs
multicast-sender_log.txt
multicast-receiver-error_log.txt
PS: Oracle VirtualBox VM (Ubuntu v18.04.2 LTS ) with libev v4.25

It looks like you might be simply re-running the sender application without restarting the receiver. This means that the sender will be re-using previously closed streams, which the receiver correctly flags as an error. The receiver is only intended to receive data from a single server, but there's currently no way for it to know that the server has finished and gone away. In our I-D, this is signalled using a "Connection: Close" HTTP header on the final resource that is being sent, but I don't think the examples currently support this.

Thanks for the explanation and you have rightly guessed, how I was using the sender and the receiver applications. Surely, this is not a bug but can be a future extension so closing it.


pipenv cache is skipped when it should not be

This will silently make the buildpack skip cache when a project relies on or uses anything that relies on package(s) having git in its name:
https://github.com/heroku/heroku-buildpack-python/blob/051987161254aa6b709a1706db79b12fce354295/bin/steps/pipenv#L13
A good example is:

streamlit which has gitpython as a dependency and seems to be widely used,
GitPython,
gitdb,
and other hundreds of packages.

While I understand why the buildpack is checking for git, this should be handled differently:

force skip install should be behind an environment flag, given most of the users will not depend on packages installed from git+://
this check should look for "ref":  or "git":  string(s)
or, given lock references a particular commit hash, this check should not exist at all.

But most importantly this buildpack should notify the user why install was enforced.

Hi! Thank you for filing an issue - I agree the current pipenv caching handling here is broken.
So thinking about this a bit, I'm leaning towards treating lockfiles as deterministic (since well, that's the whole point of them), and not having any forced-invalidation behaviour in the buildpack at all for this. It would then be up to Pipenv to ensure it puts deterministic things in the lockfile (and not eg a branch name without a corresponding SHA).
Pipenv might very well do that already - however, I don't use Pipenv, and I haven't had a chance to play around with this. And even if Pipenv doesn't lock to a SHA in the lockfile, well that kind of seems like a bug that's up to Pipenv to fix - and so something that we shouldn't work around in the buildpack here.
Thoughts?

Though it seems there were issues for editable mode, xref:
https://github.com/heroku/heroku-buildpack-python/pull/1130#issuecomment-815942296
As such, it's this would need further research before we can change this.

The fragile git check has been removed as of #1526. The pipenv install step is now run every time, however, this doesn't mean the cache isn't used. The site-packages directory is still cached - it will just now be up to Pipenv to determine whether the environment needs updating, or whether the install step can no-op.


custom element doesn't exist: mushroom-chip-card

Hello,
I updated to mushrooms last version today and all my mushroom cards (so, all my cards) disappeared.
All the cards are shown like that :

And I cannot add any new mushroom card.
I think that you should have mentioned that there were breaking changes in the update logs, I didn't expect everything to shatter to pieces... 😅
Please, could you explain how to fix that issue?
do I need to manually edit every single card or can I update them all at once? (I have more than 50, its impossible to do from my mobile device)
Regards

ok, my bad, apparently re-downloading and re-installing the extension fixed it 😅👍


Remove duplicate image

Files images/mechanical_integration/Differential_Pivot.png and
images/mechanical_integration/differential_pivot.png are identical.
Closes #278

I think duplicates is fine. doesn't seem to be worth it to go through and prune anyway


Ignore alpha-values of colors

I have one color which is rgba(0, 0, 0, 0.25) and one which is rgba(0,0,0, 0.75).
If it's used as foreground color, and the background is white, their visual appearance is totally different, but the plugin complains:

Unexpected indistinguishable colors "rgba(0, 0, 0, 0.25)" and "rgba(0, 0, 0, 0.75)".

The problem is, that the colorguard library you are using, does not considers alpha values.
(from their documentation):

Currently, alpha transparency is just stripped from the colors. So rgb(0, 0, 0) exactly matches rgba(0,0,0,0.5).

If they are stripped of, they should be ignored at all, and not being shown as different.

We are facing the same issue


Fix flaky test in migration timeout

This closes #1452

We have reproduced this flaky error: https://github.com/apache/incubator-kvrocks/actions/runs/5044005766/jobs/9046835096#step:12:57. It's caused by the slot conflict when running the migration, let's increase the start slot to avoid this.

@torwig I fixed the sync timeout test case as well in the last commit: https://github.com/apache/incubator-kvrocks/pull/1464/commits/bcc7b8509ab69f432f42c5cdeda43855ea066f4f, please take a look again. After changing the timeout to int, then use the float timeout would return an error.

Thanks all, merging...


Extension System: stable extension_id calculation

Currently, the extension_id is simply calculated on AST level which is not only stable. see: https://github.com/open-web3-stack/XCQ/blob/3c0d9b4c70ff6995c6c66270e2edb18a7b199427/xcq-extension/procedural/src/lib.rs#L171
Theoretically, we want two trait methods sets produce the same extension id, after the resolution of type aliases.
However, the type aliases can be defined out of the TokenStream that current proc-macro-attribute processed. So how we do with it?
https://github.com/open-web3-stack/XCQ/blob/3c0d9b4c70ff6995c6c66270e2edb18a7b199427/xcq-extension-fungibles/src/lib.rs#L4-L19
And we also need a helper function/macro for "client" to easily specify the extension_id which matches the "server" side.
However, these types are concrete types.
https://github.com/open-web3-stack/XCQ/blob/3c0d9b4c70ff6995c6c66270e2edb18a7b199427/xcq-extension/tests/extension_executor_works.rs#L113-L117

Currently, we calculate like this (only consider trait_ident and method_ident):
https://github.com/open-web3-stack/XCQ/blob/f1af976cd761d722c6aa7ca6b3d7e4f688b03401/xcq-extension/procedural/src/lib.rs#L169-L178


Updated 4. Querying lists

Updated the Query list Section to bring in consistency across other pages. Removed ModuleId to avoid errors. updated Selector, Component name. Added a sample data set at the end from completion point of view.

@mukesh51 LGTM! Thanks :)


Image assets

Includes illustrations from Richard, icons for chocolate boxes on landing pages (or smaller, isolated illustrations if we can get them)

When it's time to add this to the the content area I recommend putting them in the static/images directory.

@MaximumCrash would you kindly grant me push access so I can upload files directly?

@shea-fitz unfortunately that's out of my hands. @twblack88 is an admin afaik he can add you as a contributor.

Gotchu

Have been clumsily navigating git/PR's while simply trying to delete + re-upload so I'm going to just leave these here (all necessary illustrations for home + landing pages)
illustrations.zip

Uploaded today #288


Remove trailing slashes in package urls

"We can remove the trailing slashes. A few iterations ago I disabled request URL validation and static file handling and selectively re-enabled it on folders that actually have static files." -- @anurse

Obsolete


Backup command no longer exist

I used to use the command git backup to stage, commit and, push to my git repo.
Now, I can't find this command anymore.

It's now now called Commit–and–sync
Duplicate of #774

I assume based on THIS, the backup command is no longer available and the one to use is commit-and-sync.

Thanks @Vinzent03 , you are quicker ;)


Create a new pull request by comparing changes across two branches

Description

Motivation & Context

Type of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (non-breaking change)
[ ] Breaking change (fix or feature that would change existing functionality)

Checklist

[ ] I have read the contributing guidelines
[ ] My code follows the code style of the project (using npm run lint)
[ ] My change introduces changes to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Live previews

https://deploy-preview-{your_pr_number}--twbs-bootstrap.netlify.app/

Related issues

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 96.059%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
2019

Relevant Lines:
2069

💛  - Coveralls


Update go-cflcient to v3.0.0-alpha.2 to support CC API v3

This minimally updates cf-mgmt to use the new go-cfclient which only support v3 of the Cloud Foundry API.
All the unit tests pass however this is not ready to be merged as-is. Thorough integration testing is required. It's possible an API call was changed that has different semantics between v2 and v3. It's also very likely performance is worse as v3 calls tend to be slower and some additional calls were added to support the existing cf-mgmt code structure. There's lots of room for optimizations - I avoided making such drastic changes as part of this PR as it's already very large.

Integration testing is needed, so far I've done none.
The v3 API uses async job polling for some operations. Go-cfclient uses a default job timeout of 5m, is that enough and/or should that be configured by cf-mgmt?
I ripped out SupportsMetadataAPI calls and assuming a new enough version of CC API
Go-cfclient v3 has individual clients for each major resource or service so there are more than one client now
Go-cfclient v3 uses context for all remote calls, for now cf-mgmt just uses context.Background() therefore go-cfclient config timeouts may need to be adjusted as request timeout default to 30s.

Hi @sneal ,
Thanks for this PR.
My understanding is that's not yet finished so I'll be drafting this PR for the time being.
If that's not the case please do let me know and we can discuss the best course of action.

Closing this, it has received no attention for 4 months.


RedisTimeoutException: Redis server response timeout (3000 ms) occured for command: (LPOP) with params: [delayEventQueue-local]

I am getting below error while trying push a message to RDelayedQueue. Using Redission version 3.6.2. Any thoughts?
org.redisson.client.RedisTimeoutException: Redis server response timeout (3000 ms) occured for command: (LPOP) with params: [delayEventQueue-local] channel: [id: 0x1b6f637b, L:/<IP_ADDRESS>:50820 - R:/<IP_ADDRESS>:6379]
Also, below error pop up sometimes.
org.redisson.client.RedisTimeoutException: Unable to send command! Node source: NodeSource [slot=null, addr=null, redisClient=null, redirect=null, entry=org.redisson.connection.SingleEntry@52d9b542], connection: [id: 0xb7d5d47c, L:/<IP_ADDRESS>:54223 - R:/<IP_ADDRESS>:6379], command: (EVAL), command params: [local result = {}; local items = redis.call('lrange', KEYS[1], 0, -1); for i, v in ipairs(items) do ..., 1, redisson_delay_queue:{delayEventQueue-local}] after 3 retry attempts
Below are my settings.
{
"singleServerConfig":{
"idleConnectionTimeout":10000,
"pingTimeout":1000,
"connectTimeout":10000,
"timeout":3000,
"retryAttempts":3,
"retryInterval":1500,
"reconnectionTimeout":3000,
"failedAttempts":3,
"password":null,
"subscriptionsPerConnection":5,
"clientName":null,
"address": "redis://<IP_ADDRESS>:6379",
"subscriptionConnectionMinimumIdleSize":1,
"subscriptionConnectionPoolSize":50,
"connectionMinimumIdleSize":10,
"connectionPoolSize":64,
"database":0,
"dnsMonitoringInterval":5000
},
"threads":16,
"nettyThreads":32,
"codec":null,
"useLinuxNativeEpoll":false
}

set pingConnectionInterval instead of pingTimeout


[DO NOT MERGE] Open3d slam tf prior priors

Draft for open3d slam tf usage, very naive

any plans to incorporate this functionality more cleaned-up in the future oin master?

any plans to incorporate this functionality more cleaned-up in the future on master?

Yes, currently 2 users reported unexpected rate drops on the tf publishing. The odom -> map transformation was always delayed. I am currently investigating whether this is a structure issue or a limitation in computation.
Once the core structure is validated I will re-factor with the already existing API and extend the API without conflicts with the current structure.
TLDR; This is WIP, but not forgotten. A proper PR will follow

I also talked to Jonas about this. I think the delay he experienced is expected. Also I could remove the delay on my end.
But your changes look very different from that? I more thought about whether we want to docus on icorporating external priors or even IMU?

@nubertj
https://github.com/leggedrobotics/open3d_slam/blob/6767233d014709f7a497745213aa371500db7019/open3d_slam_ros/src/SlamWrapperRos.cpp#L259
This is the function that accepts  external prior odom->lidar


Override probot/stale defaults, if necessary

Per the discussion in https://github.com/exercism/discussions/issues/128 we
will be installing the probot/stale integration on the Exercism organization on
April 10th, 2017.
By default, probot will comment on issues that are older than 60 days, warning
that they are stale. If there is no movement in 7 days, the bot will close the issue.
By default, anything with the labels security or pinned will not be closed by
probot.
If you wish to override these settings, create a .github/stale.yml file as described
in https://github.com/probot/stale#usage, and make sure that it is merged
before April 10th.
If the defaults are fine for this repository, then there is nothing further to do.
You may close this issue.

Let's add "good first patch" for xjava.  I'd do it right now, but the work day is starting here.
I love this, @kytrinyx!

I made a mistake.
This was not explicitly documented in the README, but probot/stale requires the presence of a .github/stale.yml file.
If you want the default behavior, you need to add an empty .github/stale.yml file to this repo, otherwise the bot will not be active.


controller/operators: label ConfigMaps, don't assume they are

In the past, OLM moved to using a label selector to filter the informers that track ConfigMaps in the cluster. However, when this was done, previous ConfigMaps on the cluster that already existed were not labelled. Therefore, on old clusters there is a mix of data - ConfigMaps that OLM created and managed but has now forgotten since they are missing labels, and conformant objects with the label.
We use ConfigMaps to track whether or not Jobs should be labelled - if a Job has an OwnerReference to a ConfigMap and the ConfigMap has an OwnerReference to an OLM GVK, we know that the Job is created and managed by OLM.
During runtime, the two-hop lookup described above is done by using a ConfigMap informer, so we're light on client calls during the labelling phase of startup. However, before the recent labelling work went in, the ConfigMap informer was already filtered by label, so our lookups were dead-ends for the few old ConfigMaps that had never gotten labels in the past. However, on startup we use live clients to determine if there are unlabelled objects we need to handle, so we end up in a state where the live lookup can detect the errant Jobs but the informer-based labellers can't see them as needing labels.
This commit is technically a performance regression, as it reverts the unequivocal ConfigMap informer filtering - we see all ConfigMaps on the cluster during startup, but continue to filter as expected once everything has labels.
Ideally, we can come up with some policies for cleanup of things like these Jobs and ConfigMaps in the future; at a minimum all of the OLM objects should be labelled and visible to the OLM operators from here on out.

/approve

/lgtm

/lgtm

the flakes are so horrendous now, holy crap.
new one:
• [FAILED] [322.441 seconds]
Subscription [It] creation in case of transferring providedAPIs
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:2028

 Captured StdOut/StdErr Output >>
 waiting 102.764586ms for catalog pod subscription-e2e-kkl2v/catsrcdbz5n to be available (for sync) - NO_CONNECTION
 waiting 401.219237ms for catalog pod subscription-e2e-kkl2v/catsrcdbz5n to be available (for sync) - IDLE
 waiting 1.198903226s for catalog pod subscription-e2e-kkl2v/catsrcdbz5n to be available (for sync) - TRANSIENT_FAILURE
 waiting 9.692966566s for catalog pod subscription-e2e-kkl2v/catsrcdbz5n to be available (for sync) - READY
 probing catalog catsrcdbz5n pod with address catsrcdbz5n.subscription-e2e-kkl2v.svc:50051
 skipping health check
 waiting 198.473035ms for catalog pod subscription-e2e-kkl2v/catsrcdbz5n to be available (for sync) - READY
 probing catalog catsrcdbz5n pod with address catsrcdbz5n.subscription-e2e-kkl2v.svc:50051
 skipping health check
 waited 185.8506ms for catalog pod catsrcdbz5n to be available (after catalog update) - READY
 Using the kubectl kubectl binary
 Using the artifacts/subscription-e2e-kkl2v output directory
 Storing the test artifact output in the artifacts/subscription-e2e-kkl2v directory
 Collecting get catalogsources -o yaml output...
 Collecting get subscriptions -o yaml output...
 Collecting get operatorgroups -o yaml output...
 Collecting get clusterserviceversions -o yaml output...
 Collecting get installplans -o yaml output...
 Collecting get pods -o wide output...
 Collecting get events --sort-by .lastTimestamp output...
 << Captured StdOut/StdErr Output

 Timeline >>
 created the subscription-e2e-kkl2v testing namespace
 created the subscription-e2e-kkl2v/subscription-e2e-kkl2v-operatorgroup operator group
 Creating catalog source catsrcdbz5n in namespace subscription-e2e-kkl2v...
 Catalog source catsrcdbz5n created
 03:38:18.4768: subscription subscription-e2e-kkl2v/sub-s7vc6 state: UpgradePending (csv nginx-b): installPlanRef: &v1.ObjectReference{Kind:"InstallPlan", Namespace:"subscription-e2e-kkl2v", Name:"install-6znmr", UID:"05ddba6a-7ff2-46e5-a291-703d1fcaf2ac", APIVersion:"operators.coreos.com/v1alpha1", ResourceVersion:"5483", FieldPath:""}
 waiting 1.200432009s for subscription subscription-e2e-kkl2v/sub-s7vc6 to have state AtLatestKnown: has state UpgradePending
 03:38:24.2762: subscription subscription-e2e-kkl2v/sub-s7vc6 state: AtLatestKnown (csv nginx-b): installPlanRef: &v1.ObjectReference{Kind:"InstallPlan", Namespace:"subscription-e2e-kkl2v", Name:"install-6znmr", UID:"05ddba6a-7ff2-46e5-a291-703d1fcaf2ac", APIVersion:"operators.coreos.com/v1alpha1", ResourceVersion:"5483", FieldPath:""}
 waiting 5.799400416s for subscription subscription-e2e-kkl2v/sub-s7vc6 to have state AtLatestKnown: has state AtLatestKnown
 waiting 199.390965ms for installplan subscription-e2e-kkl2v/install-6znmr to be phases [Complete], in phase Complete
 waiting for CSV subscription-e2e-kkl2v/nginx-a to reach condition
 waited 199.673267ms for csv subscription-e2e-kkl2v/nginx-a - Succeeded (InstallSucceeded): install strategy completed with no errors
 waiting for CSV subscription-e2e-kkl2v/nginx-b to reach condition
 waited 201.395196ms for csv subscription-e2e-kkl2v/nginx-b - Succeeded (InstallSucceeded): install strategy completed with no errors
 Deleting config map catsrcdbz5n-configmap...
 Deleting catalog source catsrcdbz5n...
 waiting for the catalog source catsrcdbz5n-rv9bq pod to be deleted...
 [FAILED] in [It] - /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:3571 @ 11/30/23 03:43:26.89
 collecting the subscription-e2e-kkl2v namespace artifacts as the 'creation in case of transferring providedAPIs' test case failed
 collecting logs in the ./artifacts/ artifacts directory
 tearing down the subscription-e2e-kkl2v namespace
 resetting e2e kube client
 deleting subscription-e2e-kkl2v/subscription-e2e-kkl2v-operatorgroup
 deleting <global>/subscription-e2e-kkl2v
 garbage collecting CRDs
 deleting crd ins9v2jd.cluster.com
 deleting crd insv7swp.cluster.com
 << Timeline

 [FAILED]
 	Error Trace:	/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:3571
 	            				/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:2126
 	            				/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/github.com/onsi/ginkgo/v2/internal/node.go:463
 	            				/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/github.com/onsi/ginkgo/v2/internal/suite.go:865
 	            				/opt/hostedtoolcache/go/1.20.11/x64/src/runtime/asm_amd64.s:1598
 	Error:      	Received unexpected error:
 	            	failed to wati for catalog source to reach intended state: timed out waiting for the condition
 	Test:       	Subscription creation in case of transferring providedAPIs

 In [It] at: /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:3571 @ 11/30/23 03:43:26.89

 Full Stack Trace
   github.com/stretchr/testify/require.NoError({0x7f1b34946088, 0xc001221dd0}, {0x4298c60, 0xc002bdc2c0}, {0x0, 0x0, 0x0})
   	/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/github.com/stretchr/testify/require/require.go:1357 +0x96
   github.com/operator-framework/operator-lifecycle-manager/test/e2e.updateInternalCatalog({0x7f1b34945fd8?, 0xc001221dd0}, {0x42f9b40, 0xc0009765a0}, {0x42c7200, 0xc000976e70}, {0xc0013de400, 0xb}, {0xc001908870, 0x16}, ...)
   	/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:3571 +0x897
   github.com/operator-framework/operator-lifecycle-manager/test/e2e.glob..func25.18()
   	/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:2126 +0x1cd8

Wow! three!
 Summarizing 3 Failures:
  [FAIL] Install Plan with CRD schema change Test [It] existing version is present in new CRD (deprecated field)
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/subscription_e2e_test.go:3571
  [FAIL] Metrics are generated for OLM managed resources Given an OperatorGroup that supports all namespaces when a CSV spec does not include Install Mode [It] generates csv_abnormal metric for OLM pod
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:89
  [FAIL] Install Plan [It] creation with permissions
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/installplan_e2e_test.go:2905


Use per-message CodedInputStreams [phab:T131]

Created by zarko at 2016-05-05 19:59:22:
Some of our C++ code (like the verifier) constructs a single CodedInputStream and uses it to deserialize all protobufs in a delimited stream. Since proto uses 32-bit signed integers to keep track of various quantities (including stream position), longer streams that are produced during ordinary use cause spurious failures.

revision #1466
#1468