text:
Plugin check_vmware_datastore_performance incorrectly indicates UNKNOWN state

Partial output from a service check I setup earlier this AM (and let run throughout the day):
UNKNOWN: Datastore HUSVM-DC1-vol6 (6 VMs) exceeds specified performance thresholds: [WriteLatency]

**ERRORS**

* datastore latency metric sets are all value zero

**THRESHOLDS**

* CRITICAL: { Percentile: 90, ReadLatency: 30, WriteLatency: 30, VMLatency: 30 }
* WARNING: { Percentile: 90, ReadLatency: 15, WriteLatency: 15, VMLatency: 15 }

**DETAILED INFO**

Metrics for datastore "HUSVM-DC1-vol6" which exceed thresholds:

Result 1 (active):
* { Percentile: 90, RLatency: 4.49, WLatency: 21.13, VMLatency: 0.23, RIops: 7.00, WIops: 0.00, Interval: 83540 }

Full Collection of Performance Metrics for datastore "HUSVM-DC1-vol6" (6 VMs):

Result 1 (active):
* { Percentile: 50, RLatency: 0.10, WLatency: 0.47, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 83540 }
* { Percentile: 60, RLatency: 0.19, WLatency: 0.91, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 83540 }
* { Percentile: 70, RLatency: 0.40, WLatency: 1.86, VMLatency: 0.05, RIops: 1.00, WIops: 0.00, Interval: 83540 }
* { Percentile: 80, RLatency: 0.05, WLatency: 4.74, VMLatency: 0.11, RIops: 3.00, WIops: 0.00, Interval: 83540 }
* { Percentile: 90, RLatency: 4.49, WLatency: 21.13, VMLatency: 0.23, RIops: 7.00, WIops: 0.00, Interval: 83540 }

Result 2 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }

Result 3 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85180 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85180 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85180 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85180 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85180 }

Result 4 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85340 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85340 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85340 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85340 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85340 }

Result 5 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }

Result 6 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85240 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85240 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85240 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85240 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85240 }

Result 7 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85300 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85300 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85300 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85300 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85300 }

Result 8 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85400 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85400 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85400 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85400 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85400 }

Of note:

UNKNOWN state triggered instead of WARNING or CRITICAL due to crossing write latency threshold
historical values are all zero
active values are not all zero

After a bit, the state remained UNKNOWN, but the one-line summary changed:
UNKNOWN: Datastore HUSVM-DC1-vol6 (6 VMs) performance metrics (for all intervals) are unavailable

**ERRORS**

* datastore latency metric sets are all value zero

**THRESHOLDS**

* CRITICAL: { Percentile: 90, ReadLatency: 30, WriteLatency: 30, VMLatency: 30 }
* WARNING: { Percentile: 90, ReadLatency: 15, WriteLatency: 15, VMLatency: 15 }

**DETAILED INFO**

Full Collection of Performance Metrics for datastore "HUSVM-DC1-vol6" (6 VMs):

Result 1 (active):
* { Percentile: 50, RLatency: 0.10, WLatency: 0.46, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 84440 }
* { Percentile: 60, RLatency: 0.01, WLatency: 0.03, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 84440 }
* { Percentile: 70, RLatency: 0.40, WLatency: 1.82, VMLatency: 0.06, RIops: 1.00, WIops: 0.00, Interval: 84440 }
* { Percentile: 80, RLatency: 1.02, WLatency: 4.64, VMLatency: 0.13, RIops: 3.00, WIops: 0.00, Interval: 84440 }
* { Percentile: 90, RLatency: 4.40, WLatency: 0.07, VMLatency: 0.25, RIops: 7.00, WIops: 0.00, Interval: 84440 }

Result 2 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }

Result 3 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85180 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85180 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85180 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85180 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85180 }

Result 4 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85340 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85340 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85340 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85340 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85340 }

Result 5 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85320 }

Result 6 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85240 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85240 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85240 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85240 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85240 }

Result 7 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85300 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85300 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85300 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85300 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85300 }

Result 8 (historical):
* { Percentile: 50, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85400 }
* { Percentile: 60, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85400 }
* { Percentile: 70, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85400 }
* { Percentile: 80, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85400 }
* { Percentile: 90, RLatency: 0.00, WLatency: 0.00, VMLatency: 0.00, RIops: 0.00, WIops: 0.00, Interval: 85400 }

The UNKNOWN state is invalid here. Based on these details, the plugin should be declaring an OK state as the thresholds are not being crossed.

I've identified what I believe is a fix for both issues.
I plan to apply the fix tomorrow AM and then release v0.27.0-rc2 with the changes.


text:
Module 'httpMock' is not available

I'm experiencing a problem testing with this cool library. I'm simply trying to test my login screen. Can anybody help? By the way, running the test environment of this lib does work flawlessly, I'm just experiencing problems with my own tests.
my test:
/* http://docs.angularjs.org/guide/dev_guide.e2e-testing */
var mock = require('../../node_modules/protractor-http-mock');
describe('login screen test', function() {
    beforeEach(function() {
        mock([{
            request: {
                path: /token/,
                method: 'POST',
            },
            response: {
                data: {
                    'hallo': 'dude'
                },
                status: 200
            }
        }]);
        browser.driver.get('http://localhost:8580');
        browser.driver.findElement(by.id('email')).sendKeys('willi@goedle.io');
        browser.driver.findElement(by.id('password')).sendKeys('pushit');
        browser.driver.findElement(by.id('submit')).click();
    });
    it('expects push model to be filled', function() {
        expect(mock.requestsMade()).toEqual([{
            url: /token/,
            method: 'POST'
        }]);
    });
    afterEach(function() {
        mock.teardown();
    });
});

config:
exports.config = {
    allScriptsTimeout: 11000,
    specs: ['e2e/*.js'],
    capabilities: {
        'browserName': 'chrome'
    },
    chromeOnly: true,
    //baseUrl: 'http://localhost:8580/',
    framework: 'jasmine',
    jasmineNodeOpts: {
        defaultTimeoutInterval: 30000
    },
    mocks: {
        dir: 'mocks', // path to directory with mocks
        default: []
    },
    onPrepare: function() {
        require('../node_modules/protractor-http-mock/index').config = {
            rootDirectory: __dirname,
            protractorConfig: "protractor-conf.js", // name of the config here
        };
    }
};

error:
   UnknownError: javascript error: [$injector:nomod] Module 'httpMock' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.3.18/$injector/nomod?p0=httpMock
JavaScript stack:
Error: [$injector:nomod] Module 'httpMock' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.3.18/$injector/nomod?p0=httpMock
    at http://localhost:8580/bower_components/angular/angular.js:63:12
    at http://localhost:8580/bower_components/angular/angular.js:1778:17
    at ensure (http://localhost:8580/bower_components/angular/angular.js:1702:38)
    at Object.module (http://localhost:8580/bower_components/angular/angular.js:1776:14)
    at eval (eval at executeAsyncScript (unknown source), <anonymous>:2:26)
    at eval (eval at executeAsyncScript (unknown source), <anonymous>:5:5)
    at eval (eval at executeAsyncScript (unknown source), <anonymous>:5:31)
    at executeAsyncScript (<anonymous>:321:26)
    at <anonymous>:337:29
    at callFunction (<anonymous>:229:33)
  (Session info: chrome=43.0.2357.134)
  (Driver info: chromedriver=2.15.322455 (ae8db840dac8d0c453355d3d922c91adfb61df8f),platform=Mac OS X 10.10.5 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 66 milliseconds
Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
System info: host: 'NeilMcCauley.local', ip: '192.168.0.12', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.5', java.version: '1.8.0_45'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={userDataDir=/var/folders/n7/rh782dqj3zx_3fk60qj0rk400000gn/T/.org.chromium.Chromium.Ouy9Xv}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, version=43.0.2357.134, platform=MAC, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: 0b656ce7fcca8c0da3438508e25028f5
    at Array.forEach (native)
From: Task: Asynchronous test function: it()
Error
    at [object Object].<anonymous> (/Users/NeilMcCauley/Documents/goedle/code/ui/test/e2e/scenarios_login.js:22:5)
    at Object.<anonymous> (/Users/NeilMcCauley/Documents/goedle/code/ui/test/e2e/scenarios_login.js:3:1)

Finished in 3.931 seconds
1 test, 1 assertion, 1 failure

Shutting down selenium standalone server.
[launcher] 0 instance(s) of WebDriver still running
[launcher] chrome #1 failed 1 test(s)
[launcher] overall: 1 failed spec(s)
[launcher] Process exited with error code 1
>>
Warning: Tests failed, protractor exited with code: 1 Use --force to continue.

my node modules:
{
  "version": "0.0.0",
  "private": true,
  "license": "MIT",
  "devDependencies": {
    "bower": "^1.3.1",
    "grunt": "^0.4.5",
    "grunt-cli": "^0.1.13",
    "grunt-contrib-clean": "^0.6.0",
    "grunt-contrib-concat": "^0.5.1",
    "grunt-contrib-copy": "^0.8.0",
    "grunt-contrib-cssmin": "^0.13.0",
    "grunt-contrib-jshint": "^0.11.2",
    "grunt-contrib-testem": "^0.5.16",
    "grunt-contrib-uglify": "^0.9.1",
    "grunt-githooks": "^0.3.1",
    "grunt-htmlhint": "^0.4.1",
    "grunt-ng-constant": "^1.1.0",
    "grunt-protractor-runner": "^2.1.0",
    "grunt-shell": "^1.1.2",
    "grunt-usemin": "^3.0.0",
    "http-server": "^0.6.1",
    "protractor": "^2.1.0",
    "protractor-http-mock": "^0.1.17",
    "shelljs": "^0.2.6",
    "sinon": "^1.15.4",
    "tmp": "0.0.23"
  },
  "scripts": {
    "postinstall": [
      "bower install",
      "grunt hookmeup"
    ],
    "preupdate-webdriver": "npm install",
    "update-webdriver": "webdriver-manager update",
    "preprotractor": "npm run update-webdriver",
    "protractor": "protractor test/protractor-conf.js",
    "update-index-async": "node -e \"require('shelljs/global'); sed('-i', /\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/, '//@@NG_LOADER_START@@\\n' + cat('bower_components/angular-loader/angular-loader.min.js') + '\\n//@@NG_LOADER_END@@', 'app/index-async.html');\""
  }
}

Apparantly the reason for this is the browser.driver function. When I use
browser.findElement(by.id('email')).sendKeys('willi@goedle.io');
browser.findElement(by.id('password')).sendKeys('pushit');
browser.findElement(by.id('submit')).click(); ```

it works.

source: gharchive/issue

repo: atecarlos/protractor-http-mock

license: mit

license_type: permissive

license_source: bigquery


text:
user settings timezone does not correspond to message history timezone

Our server is running in GMT so the message history is correct (apparently using the server timezone) but the "message received" time (which apparently uses the timezone set in user settings) was wrong visually.
(screenshot uses very wrong timezone to highlight incorrectness)

Fixed in https://github.com/atech/postal/commit/6f29bc8d3f6f197d142724a7baee7376ff5fe8aa

repo: atech/postal


text:
Fix badge

Fix problem with badge creation by setting status to active

Used wrong branch

source: gharchive/pull-request

repo: atlanhq/atlan-python

license_source: github-api


text:
Prepare for new release of Confluence

Workflow links: https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/2106651152, https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/2106652344.

Integration tests passed, so current version of the plugin was marked as compatible with Confluence 7.17.1.


text:
Move text renderer util classes to internal package

They are not API, so they should be in an internal package.
@JinneeJ small post-merge cleanup, please review :).

All looks good!

authors: JinneeJ robinst

repo: atlassian/commonmark-java


text:
[bitbucket]: fix templating of PLUGIN_SSH_BASEURL with custom port

What this PR does:
Fix templating the environment variable PLUGIN_SSH_BASEURL with a custom port other than 22.
Current behaviour
If you use following values, the value of the environment variable PLUGIN_SSH_BASEURL is still ssh://testhost-ssh/ without the custom port number.
values.yml
ingress:
  host: test
bitbucket:
  sshService:
    enabled: true
    port: 7999
    host: testhost-ssh

Exepted behaviour
With the updated function, the result is the expected string ssh://testhost-ssh:7999/.
I removed the "default" templating section, because a default is already defined in the values file (https://github.com/atlassian/data-center-helm-charts/blob/main/src/main/charts/bitbucket/values.yaml#L462)

Thanks for the PR, @janfuhrer !
Do you mind adding a unit test for this scenario as well?

Hi @yzha645
No problem, it's done.

Thank you @janfuhrer for the contribution.

authors: janfuhrer nghazali yzha645

repo: atlassian/data-center-helm-charts


text:
Better backend and cloud provider

No side effects
init() of unused backends/provider are not executed (including during tests)
No mutexes
Easier to understand
No ugly empty imports
JSON logging for all messages

Coverage remained the same at 60.207% when pulling b94585da3ada06d6322071b11e52e38b8f066435 on better-backend into a1db70b6d379f6e08460f35b9d63428c55616e80 on master.

repo: atlassian/gostatsd


text:
catch empty segments in create circles

Makes an exception when no sondes are found in a segment, because otherwise the pipeline fails when there are no sondes in a segment.

Something is really weird, this does not complain for all empty circles, just for some.
Anyways, do something like this (it's what you are doing just not catching more errors than necessary)
`
def create_and_populate_circle_object(
gridded: Gridded, config: configparser.ConfigParser
) -> dict[Circle]:
"""
create circle objects for further analysis
"""
circles = {}

for segment in gridded.segments:
    try:
        circle_ds = gridded.l3_ds.where(
            (gridded.l3_ds["launch_time"] > np.datetime64(segment["start"])) & (gridded.l3_ds["launch_time"] < np.datetime64(segment["end"])),
            drop=True,
        )
    except ValueError:
        print(f"No data for segment {segment["segment_id"]}")
    else:
        circle = Circle(
            circle_ds=circle_ds,
            clon=segment.get("clon"),
            clat=segment.get("clat"),
            crad=segment.get("radius"),
            flight_id=segment["flight_id"],
            platform_id=segment["platform_id"],
            segment_id=segment["segment_id"],
            alt_dim=gridded.alt_dim,
        )
        circles[segment["segment_id"]] = circle

return circles

`

authors: hgloeckner ninarobbins

repo: atmdrops/pydropsonde

license: MIT


text:
Unexpected token <

I get this response from hubby when I try deploy:  Unexpected token <
Here is the apps.json:
{
		"hubot": {
				"provider": "capistrano",
				"repository": "USER/APP-REPO-BOT",
				"environments": [
						"production"
				]
		},
		"MY-APP-NAME": {
				"provider": "capistrano",
				"repository": "USER/APP-REPO",
				"environments": [
						"production",
						"staging"
				]
		}
}

Are you sure your tokens are right? My guess is a malformed response we should be handling.

I destroyed and created a new token, but no joy. You mean personal access tokens created through /settings/applications, right? And given to hubot through the deploy-key:set command?

@OKNoah This error is usually because you've gotten some HTML back. Is there a way for you to inspect the response?

@parkr With instructions maybe. I am new to hubot.

@OKNoah Do you have a stacktrace or anything that would help me identify where it's blowing up on you?

authors: OKNoah atmos parkr

repo: atmos/hubot-deploy


text:
Uncaught Error: spawn /Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.Bi...

[Enter steps to reproduce below:]

...
...

Atom Version: 1.4.0
System: Mac OS X 10.11.2
Thrown From: Atom Core
Stack Trace
Uncaught Error: spawn /Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper ENOENT
At events.js:141

Error: spawn /Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper ENOENT
    at exports._errnoException (util.js:837:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at doNTCallback2 (node.js:441:9)
    at process._tickCallback (node.js:355:17)
    at EventEmitter.ipc.sendSync (/Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/ipc.js:21:31)
    at BrowserWindow.Object.defineProperty.get [as loadSettings] (/Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:160:27)
    at Object.windowState (/Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/app.asar/src/window-load-settings-helpers.js:17:39)
    at Object.stringify (native)
    at exports.setWindowLoadSettings (/Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/app.asar/src/window-load-settings-helpers.js:27:52)
    at ApplicationDelegate.module.exports.ApplicationDelegate.setRepresentedDirectoryPaths (/Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/app.asar/src/application-delegate.js:172:14)
    at /Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:844:44
    at Function.module.exports.Emitter.simpleDispatch (/Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Project.module.exports.Project.addPath (/Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/app.asar/src/project.js:255:29)
    at AtomEnvironment.module.exports.AtomEnvironment.openLocations (/Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1029:26)
    at EventEmitter.outerCallback (/Users/skrumcd/Library/Application Support/com.github.atom.ShipIt/update.BiBvN7u/Atom.app/Contents/Resources/app.asar/src/application-delegate.js:244:18)
    at emitTwo (events.js:92:20)
    at EventEmitter.emit (events.js:172:7)

Commands

Config
{
  "core": {},
  "editor": {
    "invisibles": {},
    "showIndentGuide": true,
    "zoomFontWhenCtrlScrolling": true
  }
}

Installed Packages
# User
No installed packages

# Dev
No dev packages

Hi @skrumcd, thanks for reporting!  This looks like a duplicate of #9559 though, so please subscribe there for updates.

repo: atom/atom


text:
Stopped working on my Macbook Pro

I'm not sure what's going on but when I restarted my Macbook Pro Atom windows wouldn't open.  An error box popped up saying: The editor has crashed Please report this issue to https://github.com/atom/atom. I know it is up to date because I am very diligent about that sort of thing. I even went as far as downloading Atom again from the Atom website, deleted my current version and tried replacing it with the newly downloaded version. I got the same message. Any help would be GREATLY appreciated as I use ATOM daily! (I really like Atom and I don't want to have to switch to another text editor.)

@fman29 Sorry to hear you're having trouble!  Can you try out the following things for me and see if they work?

atom --safe
atom --clear-window-state (note: this will irreversibly clear Atom's window state.  If you have any unsaved changes, those will be wiped out.  If you think that's not worth trying, then feel free not to.)

In addition, what is the output of atom --version?
Finally, in the future, it would be greatly appreciated if you could follow the default issue template that is provided to you when creating an issue.  It helps us provide faster and more directed feedback :).

Unfortunately, I can't get it to open ANY window. I've got the Atom menu bar and nothing else. Every attempt to open any window or search preferences or config files fails.
  From: Wliu <notifications@github.com>

To: atom/atom atom@noreply.github.com
Cc: Kevin kevin.porter529@yahoo.com; Mention mention@noreply.github.com
Sent: Friday, November 18, 2016 6:20 AM
Subject: Re: [atom/atom] Stopped working on my Macbook Pro (#13259)
@fman29 Sorry to hear you're having trouble! Can you try out the following things for me and see if they work?

atom --safe
atom --clear-window-state (note: this will irreversibly clear Atom's window state. If you have any unsaved changes, those will be wiped out. If you think that's not worth trying, then feel free not to.)In addition, what is the output of atom --version?Finally, in the future, it would be greatly appreciated if you could follow the default issue template that is provided to you when creating an issue. It helps us provide faster and more directed feedback :).—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@fman29 Please follow the steps laid out by @50Wliu, and answer his questions.
Right now, we do not have enough information to help resolve your problem. Unless the requested information is not provided in a reasonable timeframe, this issue will be closed.

I had the same issue.

atom --safe does work once I've closed all windows. I can then open any project. My react package was not parsing jsx files as it usually does.

$ atom --version
Atom    : 1.12.3
Electron: 1.3.6
Chrome  : 52.0.2743.82
Node    : 6.3.0

Now that I've opened atom in safe mode once, I cannot reproduce the issue, even when opening without safe mode, everything is fine. Issue is solved for me at least!

I have the same problem but atom works only if I use atom --safe with atom themes.
Atom    : 1.12.4
Electron: 1.3.9
Chrome  : 52.0.2743.82
Node    : 6.5.0

Thanks everyone! Your instructions seem to have worked like a charm! I appreciate your very quick responses and all of your help!!

If Atom works in safe mode, try disabling community packages until it works in non-safe mode.

Hi All,
I am unable to open Atom editor on my Mac.
Below are the details
Shailenders-MacBook-Pro:Root shailenderkumar$ atom --version
Atom    : 1.19.5
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0
Shailenders-MacBook-Pro:Root shailenderkumar$ atom --clear-window-state
2017-09-02 20:39:57.749 atom[78436:9788664] *** Assertion failure in +[SQRLDirectoryManager currentApplicationManager], /Users/joshaber/Documents/Development/GitHub/Squirrel.Mac/Squirrel/SQRLDirectoryManager.m:30
Illegal instruction: 4
Can someone please guide me how to work on Atom in Mac as I am using Atom editor for the very first time.
Regards,
Shailender

Hi All,
I am now able to open Atom perfectly on my Mac, seems like the download got corrupted during the download.
Thanks,
Shailender

authors: 50Wliu aymericbouzy fman29 iMasterAle shailenderacc thomasjo


text:
"Merge All Windows"

MacOS Window menu item "Merge All Windows" would be awsm.

+1

This would be super convenient, for instance when you restart your computer and that previously all grouped windows reopen as independent windows ;) this is quite annoying.

Depends on underlying support in Electron, which is being added here:
https://github.com/electron/electron/pull/10271
and a forthcoming PR for the JS API.

I did not end up sending another PR for the API because it was pointed out by @bpasero that

Electron 1.8 is out 👍

Very frustrating trying to open multiple projects in one window.

Current Atom v1.33.0 is using Electron v2.0.11. I still don't see Merge All Windows option..

BUMP!
I'm wondering if there is any traction on this. It would be awesome since I use Project Manager and it will open a new window any time I open a project.
Here's what I'm running at the moment:
Atom: 1.34.0 x64
Electron: 2.0.16
Chrome: 61.0.3163.100
Node: v8.9.3

+1

Thanks for the feedback.
Upon review with the team, this isn't something that we want to add. It would require significant architectural changes or workarounds and we don't feel that it would be of enough benefit to warrant the work that it would require. Because of this, we won't be accepting pull requests for this feature either.
Thanks again for the suggestions and interest in Atom.

VS Code it is.

authors: TG-KK baelter barraq guidezpl jtbairdsr kaylanm lee-dohm mallchin masscreation thebestbradley whimshot


text:
I think that atom should have templates for LICENSE.md and README.md.

I think whenever a user adds an README.md or LICENSE.md file in his/her folder then there should be an option to auto populate LICENSE.md for common licences and README.md can be made with a common template.

Sounds like a good thing to use snippets for.

Thanks @awilkins - that sounds like a perfect use for snippets.

authors: 50Wliu RatanShreshtha awilkins


text:
Resizing Atom on Fedora 26 freezes computer - restart required

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
When attempting to resize the Atom window, my computer locks up, and I must restart my computer.
Steps to Reproduce

Start Atom normally or in safe mode
Resize Atom window

Expected behavior: Resize Atom without computer locking up.
Actual behavior: Resize Atom and computer locks up, requiring a restart.
Reproduces how often: It usually occurs during the first resize attempt, if not, it will happen within 2 or 3 attempts.
Versions
Atom    : 1.23.2
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0
Fedora: 26
Linux version 4.14.8-200
Additional Information
Journal output
Jan 04 09:20:16 localhost.localdomain atom.desktop[3408]: bash: cannot set terminal process group (-1): Inappropriate ioctl for device
Jan 04 09:20:16 localhost.localdomain atom.desktop[3408]: bash: no job control in this shell
Jan 04 09:20:16 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:20:16 localhost.localdomain org.gnome.Shell.desktop[2146]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3000001 (Atom)
Jan 04 09:20:16 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:20:19 localhost.localdomain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 04 09:20:20 localhost.localdomain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 04 09:20:23 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:20:27 localhost.localdomain gnome-terminal-[2713]: Allocating size to GtkScrollbar 0x55bf2af0e4f0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Jan 04 09:20:27 localhost.localdomain gnome-terminal-[2713]: Allocating size to GtkScrollbar 0x55bf2af0e4f0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Jan 04 09:20:27 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:20:27 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:20:36 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:20:40 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:20:40 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:20:40 localhost.localdomain gnome-terminal-[2713]: Allocating size to GtkScrollbar 0x55bf2af0e4f0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Jan 04 09:20:40 localhost.localdomain gnome-terminal-[2713]: Allocating size to GtkScrollbar 0x55bf2af0e4f0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Jan 04 09:20:40 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:20:41 localhost.localdomain realmd[1475]: quitting realmd service after timeout
Jan 04 09:20:41 localhost.localdomain realmd[1475]: stopping service
Jan 04 09:20:41 localhost.localdomain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=realmd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 04 09:21:20 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:21 localhost.localdomain atom.desktop[3408]: Attempting to call a function in a renderer window that has been closed or released.
Jan 04 09:21:21 localhost.localdomain atom.desktop[3408]: Function provided here: worker.js:71:22
Jan 04 09:21:21 localhost.localdomain atom.desktop[3408]: Remote event names: destroyed, crashed
Jan 04 09:21:28 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:28 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:28 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:29 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:29 localhost.localdomain org.gnome.Shell.desktop[2146]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3000001 (Atom)
Jan 04 09:21:29 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:29 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:31 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:33 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:34 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:34 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:34 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:34 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:34 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:34 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:34 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:34 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:34 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
Jan 04 09:21:34 localhost.localdomain kernel: nouveau 0000:01:00.0: imem: PRAMIN exhausted
-- Reboot --

Finally had a chance to try on a vm running Fedora 26 with Atom 1.23.2 but was unable to reproduce.  I tried with the 3 different login option as well Gnome, Gnome Classic, and Gnome on Xorg.

We were never able to reproduce, can anyone still reproduce this with the latest versions of Atom?  There's been some Electron updates since 1.23.2.

authors: gabefahl rsese


text:
Uncaught Error: tunneling socket could not be established, cause=connect ETIMEDOUT 192.102.224.14...

[Enter steps to reproduce:]

...
...

Atom: 1.24.0 x64
Electron: 1.6.16
OS: Debian GNU/Linux
Thrown From: Atom Core
Stack Trace
Uncaught Error: tunneling socket could not be established, cause=connect ETIMEDOUT 192.102.224.14:3128
At stream.js:74

Error: tunneling socket could not be established, cause=connect ETIMEDOUT 192.102.224.14:3128
    at ClientRequest.onError (/app.asar/node_modules/tunnel-agent/index.js:177:17)
    at Object.onceWrapper (events.js:290:19)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at Socket.socketErrorListener (_http_client.js:309:9)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at emitErrorNT (net.js:1281:8)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands
     -5:08.8.0 tabs:close-tab (div.title)
     -5:05.5.0 pane:close (ol.tree-view-root.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -4:53.2.0 command-palette:toggle (div.tool-panel.tree-view)
     -4:50 application:about (div.tool-panel.tree-view)
     -4:45.9.0 core:select-all (input.hidden-input)
     -4:24.2.0 package-generator:generate-package (input.hidden-input)
     -4:21.9.0 core:confirm (input.hidden-input)
     -4:20.8.0 editor:newline (input.hidden-input)
     -4:14.5.0 core:undo (input.hidden-input)
     -4:08.4.0 editor:select-line (input.hidden-input)
     -3:52.3.0 window:run-package-specs (input.hidden-input)
     -3:32.6.0 line-ending-selector:show (atom-text-editor.editor.is-focused)
     -2:36.2.0 core:backspace (input.hidden-input)
  2x -2:36 core:confirm (input.hidden-input)
     -1:56.8.0 core:backspace (input.hidden-input)
     -0:56.8.0 core:confirm (input.hidden-input)

Non-Core Packages
console-panel 0.3.0
french-menu 0.2.2
my-package 0.0.0

Thanks for the report - based on the error, this is likely a temporary issue with your internet connection. Please try again later and see if it works.

authors: IBRAHIMDANS rsese


text:
new install, and it's unresponsive

First off, I barely know what I am doing. So my windows crashed and i am reinstalling everything. I am trying to use atom to modify marlin for my 3d printer, and it's unresponsive upon installing. I have tried reinstalling and such, with now luck. anyone have any ideas?

windows 10 64 bit if that help at all

Thanks for reaching out!
Because we treat our issues list as the Atom team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Atom there are a lot of options, check out:

User Documentation — The Atom Flight Manual
Developer Documentation — Atom API Documentation
FAQ — The Atom FAQ on Discuss
Message Board — Discuss, the official Atom and Electron message board
Chat — Join the Atom Slack team

On Discuss and in the Atom Slack team, there are a bunch of helpful community members that should be willing to point you in the right direction.

sorry, not sure what you mean? mind lending a hand so i can get this answered please?

I know redirection is annoying, but if you could to The Atom FAQ on Discuss it's built to have conversations about those kinds of challenges.
GitHub is used for reporting bugs with the editor itself

K, will try later when I get the chance
Sent from my iPhone

On Aug 19, 2020, at 10:57 AM, Jeff Hykin notifications@github.com wrote:

I know redirection is annoying, but if you could to The Atom FAQ on Discuss it's built to have conversations about those kinds of challenges.
GitHub is used for reporting bugs with the editor itself
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


text:
Uncaught TypeError: Array.prototype.indexOf called on null or undefined

Uncaught TypeError: Array.prototype.indexOf called on null or undefined
Atom Version: 0.155.0
System: Mac OS X 10.9.5
Thrown From: Atom Core
Steps To Reproduce

...
...

Stack Trace
At /Users/Lara_Sweeney/.atom/packages/function-name-in-status-bar/lib/function-name-status-bar.coffee:10

TypeError: Array.prototype.indexOf called on null or undefined
  at indexOf (native)
  at atom-text-editor.<anonymous> (/Users/Lara_Sweeney/.atom/packages/function-name-in-status-bar/lib/function-name-status-bar.coffee:10:18)
  at atom-text-editor.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:112:34)
  at atom-text-editor.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
  at atom-text-editor.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)

Is this still an issue?

Hi, apologies ive just seen this now - no everything is fine now - thanks!

authors: Laragh benogle


text:
Atom API reference - Include class name in title

Would be nice if the title for the API reference pages gave some context to the class it's referencing. The following is a screenshot of the tabs I see in Firefox (Safari gives even less context because the icon is missing). All of them just say "Atom".

The left tab has the API reference for Color, the middle for CommandRegistry, and the right for TextBuffer, but it's unclear without selecting them which one's which.
Propose something along the lines of "Atom - TextBuffer API" or even just "Atom - TextBuffer" for clarity.
/cc @thedaniel :memo:

Thanks for the suggestion! This is a duplicate of https://github.com/atom/atom/issues/6624 – please subscribe there for updates.


text:
Fuzzy file finder not finding all files?

Fuzzy file finder not finding all files?  At least not as I’d expect.  In this screencast example, I'm looking for Model.php deep within /vendor.  You'll see it exists in sidebar, but fuzzy finder doesn't show Model.php within the result set unless I explicitly type 'Model.php' with file extension.  (Note: I have 'Exclude VCS Ignored Paths' unchecked, so Atom is indexing within /vendor.)
Example Screencast

Can you please move this to atom/fuzzy-finder?

@50Wliu No problem, thanks for link.


text:
Artifact removal.

Ghost borders removed from the macOS icon.
Identify the Bug
https://github.com/atom/atom/issues/23659
Description of the Change
Removes the thin border around the icon.

Alternate Designs
No new designs were considered, just a small correction to the file.
Possible Drawbacks
There probably shouldn't be any as this is just an edit of an icon file.
Verification Process
Examined the icon with Preview, GraphicConverter and QuickLook.
Release Notes
Fixed 1px border around the macOS file icon.

Is PowerShell trying to run an icon?

Is PowerShell trying to run an icon?

PowerShell does not run icons!


text:
Make autoflow sensitive to language scope

https://github.com/atom/wrap-guide pays attention to scope, but autoflow doesn't, which is a bit confusing.

Thanks for bringing this up, nice to get more consistency around this.

Thanks for fixing it so fast! :racehorse:
On 6 February 2015 at 13:03, Kevin Sawicki notifications@github.com wrote:

Thanks for bringing this up, nice to get more consistency around this.
—
Reply to this email directly or view it on GitHub
https://github.com/atom/autoflow/issues/21#issuecomment-73311929.

authors: dmnd kevinsawicki

repo: atom/autoflow


text:
feat: add 'properties' support

add support for 'properties' source.
I use java-properties but it's possible to use git-config for a better support.
What do you think ?
GitHub use git-config as support for the properties marker:
[user]
    name = John Doe
    email = example@examplecom

Any news?

Hi @ldez!  Thanks a lot for the PR.  If you think using git-config will lead to a better result, please give it a try.  Could you also add a test to ensure that the language gets parsed correctly?

Thanks a lot for making those changes!  The tests are green, think this is ready to go?

Do you want me to add more tests?

Only if there's something else you feel is worth testing.  Looks like you've added similar tests as the ones for other embedded languages, so I think it should be sufficient.

Ok seems good to me.
FYI:

java-properties

git-config

Thanks a lot for the comparison!  Definitely better to go with git-config, it seems.  I'll merge this now and ship an update to be included with 1.29.0-beta0 🎉

authors: daviwil ldez

repo: atom/language-gfm


text:
How to publish/set Commands on to StateMachine when server side

We've got a jax-rs based front-end to our program that serves to take in data. What we want to do is take data sent over http and send that to the copycat server running in the same program so that its replicated to other similar nodes. The very high-level idea goes something like:

Take in data to be replicated over http.
Send data to CopycatServer to be replicated on other nodes.
Data can now be queried on node X.

However, after looking through the examples and code I can't see an easy way to accomplish this. Looks like I need to start/init a Session somehow to work with the StateMachine but I can't see a clean cut way to do so. Any suggestions? I'm using the "Map State Machine" example if that provides more context.

So, this is actually exactly what's being built in Copycat/Atomix 2.0. But the current way to do it is do what Atomix does (or use Atomix):
Start a local CopycatServer. Then create a CopycatClient with a LocalTransport that connects to the local server. Then proxy HTTP requests through the client to the server, which will send them to the leader and replicate them and eventually apply them to the state machine. Use queries to read the state of the system. Code can be found in AtomixReplica to do this.
There are some deficiencies in this approach though. The biggest issue is that the HTTP requests won't be linearizable. They're only linearizable between the CopycatClient and CopycatServer. To guarantee linearizability, clients have to exchange indexes with the cluster over HTTP. This is why Atomix is building HTTP into the protocol. The way it will work is Atomix will support an HttpProtocol which is essentially a Raft client protocol that supports arbitrary HTTP requests. Then, state machines can be annotated with JAX-RS annotations. Requests received on the HttpProtocol are converted into Raft commands (PUT, POST, DELETE) and queries (GET) and are replicated before being applied to the state machine. This effectively results in the greatest level of guarantees as the HTTP API essentially is a replicated state machine where REST API requests themselves are logged and replicated. And I think the model fits well with REST concepts.
But with the current architecture of the system, that's not easy to do. The Copycat 2.0 branch will have the required abstractions, but it won't be stable for a while.

authors: cdancy kuujo

repo: atomix/copycat


text:
Add minimal support for ssl module using Mbed TLS and sockets

Details of changes:

Add support for ssl client in binary and passive modes, with no certificate verification
Add APIs to otp_socket so it can be called from ssl bio callbacks
Fix a bug in lwIP otp_socket's recv revealed by ssl tests
Fix a bug in BSD otp_socket's recvfrom revealed by refactoring
Fix a bug in esp32 tests where main context and its resources were not properly destroyed
Update documentation and workflows to reflect the requirement on Mbed TLS
Fix exported types of inet module

This code was tested on:

Pico-W
ESP32 using ESP-IDF 5.1 release branch
Unix (macOS)

using atomvm_netbench associated test.
The test takes 0.5s with Erlang/OTP or AtomVM on macOS.
It takes 7.3s then 1.0s on ESP32
It takes 12.0s then from 2.2s to 2.6s on Pico-W
These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Mbed TLS from armv5 CI build is too old. I need to either detect the version and disable SSL or handle the older API

Looks all good. Maybe this might be the first component implementing this structure: https://github.com/atomvm/AtomVM/issues/930
Otherwise we can just merge it, do this on a second step.

Is it your feeling that this is not mature enough to have a place in the Programmer's Guide?  Do we want to implement PXIX certificate chain validation first?  (As it is, I believe the current implementation would be vulnerable to MitM attacks, without authentication).

Looks all good. Maybe this might be the first component implementing this structure: #930 Otherwise we can just merge it, and do this on a second step.

There are still a lot of open points in #930 proposal, so let's just focus in merging this PR, and let's take care of reorganizing code as soon all open points are closed.

Is it your feeling that this is not mature enough to have a place in the Programmer's Guide? Do we want to implement PXIX certificate chain validation first? (As it is, I believe the current implementation would be vulnerable to MitM attacks, without authentication).

Proper documentation for an ssl module would both require a stable API and a reasonable amount of work, in order to explain caveats and how it differs from OTP one. This kind of work deserves a standalone PR, so let's merge this PR and document ssl module properly as soon as we are ready.

authors: bettio fadushin pguyot

repo: atomvm/AtomVM


text:
Re-evaluate behavior of shift() on multilevel hierarchies

In atoti 0.6.5 shift is behaving like this :
df = pd.DataFrame(
    columns=["Year", "Month", "Day", "Price"],
    data=[
        (2019, 7, 1, 15.0),
        (2019, 7, 2, 20.0),
        (2019, 6, 1, 25.0),
        (2019, 6, 2, 15.0),
        (2018, 7, 1, 5.0),
        (2018, 7, 2, 10.0),
        (2018, 6, 1, 15.0),
        (2018, 6, 2, 5.0),
    ],
)

table = session.read_pandas(
    df,
    table_name="Shift",
)

cube = session.create_cube(table)
h, l, m = cube.hierarchies, cube.levels, cube.measures
h["Date"] = [table["Year"], table["Month"], table["Day"]]
m["Shift(Price.SUM Month)"] = tt.shift(m["Price.SUM"], l["Month"], offset=1)
m["Shift(Price.SUM Day)"] = tt.shift(m["Price.SUM"], l["Day"], offset=1)
cube.query(
    m["Price.SUM"],
    m["Shift(Price.SUM Month)"],
    m["Shift(Price.SUM Day)"],
    levels=[l["Day"]],
    include_totals=True,
)
                 Price.SUM Shift(Price.SUM Month) Shift(Price.SUM Day)
Year  Month Day
Total               110.00
2018                3 5.00                  75.00                75.00
      6              20.00                  15.00                15.00
            1        15.00                   5.00                 5.00
            2         5.00                   5.00                 5.00
      7              15.00                  40.00                40.00
            1         5.00                  10.00                10.00
            2        10.00                  25.00                25.00
2019                 75.00
      6              40.00                  35.00                35.00
            1        25.00                  15.00                15.00
            2        15.00                  15.00                15.00
      7              35.00
            1        15.00                  20.00                20.00
            2        20.00

It is shifting all levels of the multilevel hierarchy of 1, the level parameter could as well be a hierarchy.

We can look at the javadoc of Copper.lead(CopperMeasure measure, int offset, Mode mode) for inspiration.

In the next release, shift() will accept a Hierarchy.

authors: Acriss bloussou tibdex

repo: atoti/atoti


text:
Move parameters from SDK to CLI

From a conversation with @gkc:

Move --legacy-daemon, --ssh-client from noports_core to sshnoports package
Extends the noports_core parser in sshnoports with the additional parsing

@XavierChanth Shall I pick this one up?

@XavierChanth Shall I pick this one up?

If you can, that would be great!

@XavierChanth I'll do this one tomorrow morning. I'm still thinking about https://github.com/atsign-foundation/sshnoports/issues/572#issuecomment-1824407496

@XavierChanth I've been twisting myself into knots trying to do this; dealing with the ArgParser and the args list and extending the arg parser in sshnoports package is straightforward enough, but removing those two args from SshnpParams has a large ripple effect. I'm not sure this is worth the effort ...

I'll see if I can take a stab at this

authors: XavierChanth gkc

repo: atsign-foundation/sshnoports


text:
Add test to ensure readamplification calculation makes sense

Now that I think about this more, I believe we need to tweak the way in which tableReader decides whether it's read too much "wasted" data. I think it might be better to express this in terms of the ratio of desired bytes to undesired bytes. The first reason is that, currently, passing 0 or 1 (which are accepted by the API) for the read amplification factor makes the code (I believe) accept any amount of read amplification. That's very counter intuitive. If the code instead was trying to enforce a ratio between desired/undesired bytes, then 0 and 1 could have a sensical meaning.
The second is that both times I've encountered this check
if fRec.offset+uint64(fLength)-readStart < tr.readAmpThresh*(readAmp+fReadAmp) {
	break // including the next block will read too many unneeded bytes
}

I've had to spend 20 minutes convincing myself that it's doing the right thing :-)
Whether this gets changed or not, there should definitely be tests ensuring that it behaves as desired.

I removed the readAmpThreshold. We now only have a blockSize, below which we are willing to just read any "space" between chunks

authors: cmasone-attic rafael-atticlabs

repo: attic-labs/noms


text:
Audi e-tron 55 Integration Issue

Integration Version: v1.10.4
Home Assistant Version: v2024.12.3
Issue:
The Audi e-tron 55 integration successfully initializes after an integration restart, but no data is retrieved from the API.
Observations:
•	Audi’s official app is functioning correctly and retrieves data without issues.
•	The problem persists despite multiple restarts of Home Assistant.
Steps Taken:
1.	Verified credentials used in the integration.
2.	Confirmed that the Audi app continues to receive data, ruling out account-related issues.
Expected Behavior:
The integration should fetch and display data from the Audi API after initialization.
Ask:
Assistance in diagnosing and resolving this issue to ensure the integration works as expected.

Integration Version: v1.10.4
Home Assistant Version: v2024.12.3
Issue: same issue and observations as described above. Waiting for a solution. Integration was working before update
ing HA.

authors: RolfWehrli tomasenskede


text:
pypi token vs password - template is very confusing

Date you used Cookiecutter PyPackage: 08-05-2020
Cookiecutter version used, if any: master branch
Python version, if any: 3.6
Operating System: Windows 10

Description
There are two options to deploy: login/password and token. The recommended option is to use pypi api token, however this template puts a login in the travis.yml. It encourages to use the non recommended option, and the readme file does not explain any of this. I spent the whole afternoon to figure out, why I get pypi authorization errors over and over.
TL;DR I suggest to make this clear by putting few additional lines into the readme.
What I Did
It was my first package to upload to pypi, and I had no idea about how to do it. I used this template, because I wanted things to be done fast. I followed the guide in the README file of this repositroy. At this line in the guide:

Register your project with PyPI.

I follow the provided link and read about creating a token, so I have created it. Next step was

Run the Travis CLI command travis encrypt --add deploy.password to encrypt your PyPI password

This line I misunderstood. Unfortunately, I thought that I should provide a token not a password. There is no token mentioned in the readme, and no password mentioned in the pypi documentation. So I assumed it is the same thing, just different name (and indeed you can put both in the password field of the travis.yml config).
The next bad luck, is that I am using Windows. travis encrypt works strange on Windows, because to terminate input one has to press Enter, then Ctrl+Z, then Enter again. However the console prompt says "press Ctrl+D". My first thought was that windows inserts some additional '\n' or '\r' in the encrypted string. I tried few times and it did not work. Then I rebooted to linux live usb, and it still did not work.
Finally, after few hours of wasted time, I realized that maybe I should look into travis documentation.
deploy:
  provider: pypi
  user: "__token__"
  password: "Your PyPI API token, including the pypi- prefix"

And I realized that for token authorization, one has to modify user field. This was completely surprising for me, because there is no comment about that in the cookiecutter template.

THANK YOU SO MUCH! I've been struggling with this exact same issue for the exact same reason. I may submit a PR to improve the documentation/workflow around this because it's confusing

repo: audreyr/cookiecutter-pypackage


text:
Problem with --checkout reclone

The message should ask me about recloning /Users/audreyr/.cookiecutters/cookiecutter-pypackage, not /Users/audreyr/.cookiecutters.
$ cookiecutter https://github.com/eliasdorneles/cookiecutter-pypackage/ -c adding-travis-setup-for-pypi-deployment
You've cloned /Users/audreyr/.cookiecutters before. Is it okay to delete and re-clone it? [yes]:

It works just fine if the url to the template is as follows (without the / at the very end) :no_mouth:
https://github.com/eliasdorneles/cookiecutter-pypackage

(cookiecutter)[raphael@hackebook cookiecutter (fix-re-clone-prompt)]$ cookiecutter https://github.com/eliasdorneles/cookiecutter-pypackage -c adding-travis-setup-for-pypi-deployment
You've cloned /Users/raphael/.cookiecutters/cookiecutter-pypackage before. Is it okay to delete and re-clone it? [yes]:
Cloning into 'cookiecutter-pypackage'...
remote: Counting objects: 609, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 609 (delta 10), reused 0 (delta 0), pack-reused 585
Receiving objects: 100% (609/609), 95.98 KiB | 95.00 KiB/s, done.
Resolving deltas: 100% (319/319), done.
Checking connectivity... done.
Branch adding-travis-setup-for-pypi-deployment set up to track remote branch adding-travis-setup-for-pypi-deployment from origin.
Switched to a new branch 'adding-travis-setup-for-pypi-deployment'
full_name [Raphael Pierzina]:
email [raphael@hackebrot.de]:
github_username [hackebrot]:
project_name [Python Boilerplate]:
repo_name [boilerplate]:
project_short_description [Python Boilerplate contains all the boilerplate you need to create a Python package.]:
release_date [2015-01-11]:
pypi_username [hackebrot]:
year [2015]:
version [0.1.0]:
use_pypi_deployment_with_travis [y]:
Error: "boilerplate" directory already exists

Hey @audreyr! :wave:
What's your opinion on this guy? Shall we change anything?

Thanks for figuring this out @hackebrot. Okay, this is a bug, but I'll take off the 1.1.1 milestone since it's known behavior and not absolutely urgent.

Closed thanks to @ramiroluz and #573

authors: audreyr hackebrot pydanny

repo: audreyr/cookiecutter


text:
cookiecutter-golang in pantry

added a new project to the pantry in the readme file

Current coverage is 100% (diff: 100%)

Merging #873 into master will not change coverage

@@           master   #873   diff @@
====================================
  Files          17     17
  Lines         685    685
  Methods         0      0
  Messages        0      0
  Branches        0      0
====================================
  Hits          685    685
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update b6137c0...0398bd5

@lacion I already merged in #872, but your description is nicer.
Thanks :)

authors: codecov-io lacion michaeljoseph


text:
Added rustfmt file for workspace

Rustfmt (https://rust-lang.github.io/rustfmt/) can help keep some formatting consistency across contributors. There are a bunch of settings that can be added, though many are unstable (only work nightly I believe).
If using clion, you can tell the IDE to use these settings by going to Preferences -> Language & Frameworks -> Rust -> Rustfmt, and checking the 2 checkboxes.

@cla-bot recheck

authors: future-highway kris-nova

repo: aurae-runtime/environment


text:
Events on elements inside dialog are prevented (RC1)

I'm submitting a bug report

Library Version:
1.0.0-rc.1

Please tell us about your environment:

Operating System:
Linux (Ubuntu 16.04)

Node Version:
6.10.2

NPM Version:
3.10.10

JSPM OR Webpack AND Version
JSPM 0.16.48

Browser:
Chrome 58

Language:
TypeScript 2.2.1

Current behavior:
Most interactive elements inside a dialog stopped working when I upgraded to RC1. I can't follow links, I can't check checkboxes or radios — neither by clicking or by keyboard navigation. Looking at the source code, I suspect the culprits to be the keyboard and click event listeners.
Expected/desired behavior:
Events should not be prevented from executing if they were triggered on interactive elements inside the dialog body.
Reproduction

Create new project
Add aurelia-dialog plugin
Create dialog VM and view with links, checkboxes, radios
Open dialog in browser and try to interact with these elements

I'll look into it when I get back from work. I do remember fixing something like this 😞

It's only the click handler, now I'm trying to find/remember why I did it like that.

Not just the clickhandler: keyboard also doesn't work. It should be possible to tab to a checkbox and hit space to check it but that also doesn't work.

Tried exactly that, the click handler gets invoked. It's not hard to fix, I'm just trying to reason with the beta version of the handler.

I just updated and #284 is still a problem.  I looked at the code and see the changes in dialog-renderer.js, so the update got the latest.  When I open my dialog and press the type=file nothing happens.

+1
I am experiencing the same problem described in #284; has broken several critical aspects of our application.

Am I correct in thinking that the linked fix is not yet in a release? I have a form within a dialog which will not submit. Am I right to assume the behaviour is related to this bug?

@EisenbergEffect it appears you perform the releases yourself. Is it possible to get this into a release ASAP, it's quite a critical bug.

New to this, how can I be informed when this path is live?

Best bet is to keep an eye on the commits/releases, there's no automated method to get notified ...someone might be kind enough to ping a message on here to say when it's released!

Released :)

Just wanted to confirm that the fix worked for my use case :-) Thanks for the release.

Still not working with the latest version(^1.0.0-rc.1.0.3).
Submit event is triggered when the input element is only one inside a form element, but with two input, submit event is not trigger.
Here's my template
<template>
  <ux-dialog style="width: 700px">
    <ux-dialog-header>

Edit Employee Information

    </ux-dialog-header>
    <ux-dialog-body>
      <form role="form" ref="form" submit.delegate="saveEmployee(employee)">
        <input type="text">
        <input type="text">
      </form>
    </ux-dialog-body>
    <ux-dialog-footer>

            <button class="btn btn-warning" click.trigger="controller.cancel()">Cancel</button>
            <button class="btn btn-primary" submit-form.bind="form">Save</button>

    </ux-dialog-footer>
  </ux-dialog>
</template>

Any idea?

authors: AdamWillden CD-UNCC EisenbergEffect RomkeVdMeulen StrahilKazlachev don-bluelinegrid jmvtrinidad jrigsby

repo: aurelia/dialog


text:
karma start fails with 404 (app-bundle.js)

I just did a fresh install, and ran through the readme for the skeleton-navigation repo. When running karma start I get the following input:
INFO [karma]: Karma v0.12.37 server started at http://localhost:9876/
INFO [launcher]: Starting browser Chrome
INFO [Chrome 44.0.2403 (Mac OS X 10.10.4)]: Connected on socket AIJrGYQf3F7XmjPlJYfO with id 40407391
WARN [web-server]: 404: /base/app-bundle.js
Chrome 44.0.2403 (Mac OS X 10.10.4) ERROR: 'Potentially unhandled rejection [19] Error: XHR error (404 Not Found) loading http://localhost:9876/base/app-bundle.js
at error (http://localhost:9876/base/jspm_packages/system.src.js?deda5de3b4d843472833379dc10cf66e0aadf1d1:1028:16)
at XMLHttpRequest.xhr.onreadystatechange (http://localhost:9876/base/jspm_packages/system.src.js?deda5de3b4d843472833379dc10cf66e0aadf1d1:1036:13)'
WARN [Chrome 44.0.2403 (Mac OS X 10.10.4)]: Disconnected (1 times), because no message in 10000 ms.

FWIW this still seems to break with the current skeleton.

it seems you're running the karma tests against the bundled version right? Not sure whether this makes sense to support since testing generally is done in unbundled state. @EisenbergEffect what do you say?

I haven't personally tried running the tests against the bundle. I imagine some additional work would be needed, or additional configuration, to get that up and running.

authors: EisenbergEffect sparkbuzz wichert zewa666

repo: aurelia/skeleton-navigation


text:
All four tests fail and nothing in Readme says to do anything prior to npm test

I'm submitting a bug report
If you are going to include a new Jest testing with the updated skeleton, then provide some notes on what needs to be done to get it working for the first run

Aurelia Skeleton Version
skeleton-esnext-webpack

Framework Version:
major.minor.patch-pre

Please tell us about your environment:

Operating System:
Ubuntu VM 16.04

Node Version:
7.8.8

NPM Version:
4.2.0

Webpack
version in this skeleton!

Language:
ESNext

Current behavior:
All tests fail, i'm asuming I need to go read about Jest to figure out how to configure it to work
just asking if maybe your readme file should give me a heads-up on needing to do this before trying to run the tests.
Expected/desired behavior:
readme file says that I need to take some steps before trying to run the tests

@niieani
Need to update line 10 in babelrc.js
please add that to the readme file
      "node": ["7.8.0"]

Thank you


text:
compose and activate issue

I'm submitting a bug report

Library Version:
1.5.1

Please tell us about your environment:

Operating System:
Windows 10

Node Version:
6.9.2

NPM Version:
5.4.2

Browser:
Chrome, Firefox, probably all

Language:
all

Current behavior:
Mixing repeat.for and passing the item to the compose (ie: model.bind) is producing unwanted activate calls. You can find the sample code to reproduce the issue here: https://github.com/tdamir/aurelia-compose-issue
Expected/desired behavior:
Count of activate() and bind() calls should be the same.

@tdamir if you could put a small repro in a gist we can take a look.

@jdanyow I'll have a look. I think this surfaced because I did a fix for a race condition.
From the repro:
<li repeat.for="$item of items">
      <compose containerless view-model="item" model.bind="{text: $item}"></compose>
</li>

Also I think you did mention a previous issue that this model.bind="{text: $item}" results in 2 values(changes) because how it's evaluated.

I've been playing with this a little bit and compose.modelChanged is called twice but only for some items. I've updated the sample app so now on first navigation, 100 items will be generated and modelChanged will be called only for 3 items. If we regenerate items by clicking on button, then count of activate calls will be as expected. If you try to re-generate 101 items, then activate will be called 102 times. But if we do the first navigation by generating 10 elements, then count of activate calls will be 10. It's strange.

@tdamir Your above observation is with model.bind="{text: $item.text} or model.bind="$item?
You can also check this comment.

The observation is with model.bind="{text: $item.text} and it looks like model.one-time solves the problem. Thanks!

Earlier I did play around with the sample but did not see anything strange from <compose> point of view.

I agree that <compose> looks fine. It activates the view model because model changed (when used like: model.bind="{text: $item.text}). I'll be more careful from now when binding object literal.
Sorry for all the trouble. It's just that we haven't had this issue with 1.4.x version. It suddenly appeared when we upgraded to the 1.5.1. Thanks again!

@tdamir You haven't seen it before because there was an issue where fast consecutive changes were skipped some times.

@StrahilKazlachev I understand. Do you have maybe idea, in case of model.bind="{text: $item.text}, why is modelChanged called only for some items? Is that expected behavior?

I suspect this is the same issue, with easy repro case.  The result is that the content is rendered twice for each array item.
<div repeat.for='item of myArray'>
    Item ${ $index + 1 }
</div>

I suspect this is the same issue, with easy repro case.  The result is that the content is rendered twice for each array item that is added using myArray.push(newItem).
What is really weird is that when I do a production build, the bug goes away.
<div repeat.for='item of myArray'>
    Item
</div>

I am also facing similar issues. I am composing a view with compose like below:
<compose show.bind="conditionToShow" view-model="controls/MyVwModel"
         model.bind="{modelProp1:value1, modelProp2:value2, andSo:on}">
</compose>

And then MyVwModel looks like:
@autoinject
export class MyVwModel extends BaseI18N {
    private activated: boolean = false;

    constructor(i18n: I18N, element: Element, ea: EventAggregator,...) {
        super(i18n, element, ea);
    }

    public activate(model: any) {
        if (!this.activated) {
           // do stuffs
            this.fetchStuffsFromServer1();
            this.fetchStuffsFromServer2();
            this.activated = true;
        }
    }
    ...........
}

The activate in MyVwModel is being called twice. That's why, I have used activated to avoid executing the code twice, which can be expensive for obvious reasons. But this is a workaround, I don't particularly like.
Thus, my question, is there a solution/cleaner workaround?

@jdanyow here's your repro: https://gist.run/?id=9889f67a8bb51e345c4c304525b62f7d :)
@bigopon I've updated my dependencies in a local repro, and same behavior. Thoughts?

It starts here, where model.bind is a to-view binding, which calls enqueueBindingConnect(this);
The magic happens when there are more bindings being processed than the minimumImmediate threshold. This causes connect to get queued on raf here.
For most to-view bindings, I believe that a non-change will not trigger an update. Compose doesn't seem to have this logic on the model property, which causes duplicate activates.

Bumping this up.
I run into the same issue, but without making use of repeat.for or show.bind.

repo: aurelia/templating-resources


text:
The route-href attribute should work for href attributes on custom elements

I'm submitting a feature request
Expected/desired behavior:

What is the expected behavior?

The route-href attribute should work not just for href attributes on native HTML elements, such as <a>, but also for href attributes on any custom element.
In the example below, the href attribute of the <a> element will get the value undefined, but ideally, it should get the URL generated by route-href.
app-nav.html
<app-nav-item route-href="route: home" title="home">

app-nav-item.html
<template>
    <a href.bind="href">${title}</a>
</template>

app-nav-item.ts
export class AppNavItem
{
    @bindable
    public title: string;

    @bindable
    public href: string;
}

What is the motivation / use case for changing the behavior?

This would make scenarios like the above cleaner, as we would not need to first generate the URL in the view model, and then bind the href attribute of our custom element to that value. This would make setting a href attribute on a custom element more consistent with how it's done for <a> elements, and it would cover a use case that people might expect to work.

Sounds like a great opportunity to PR the route-href with this enhancement :)

Fixed :)

this should be documented somewhere

authors: EisenbergEffect obedm503 thomas-darling

repo: aurelia/templating-router


text:
custom bindings on custom element template tag should get hoisted to the custom element tag

I have the following line in my custom element template file.
<template element.ref="element" interact-drop.delegate="add($event)" interact-droppable=".tool">

When Aurelia composes the custom element, the interact-droppable=".tool" does not get hoisted onto the custom element itself. I would expect that all attributes, including custom bindings, would get hoisted onto the custom element.

Investigating now. This should work.

Cannot reproduce. I tested multiple attribute combinations very similar to what you have above but it all seems to work.

Sorry, you're correct. Gist example here:
https://gist.run/?id=99d17daddb3ac649939fec2c6d821844

authors: EisenbergEffect davismj

repo: aurelia/templating


text:
🛑 meme-bingo-web is down

In fe87034, meme-bingo-web (https://bingo.annaaurora.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: meme-bingo-web is back up in 5dbff99 after 7 minutes.

repo: auroraanna/upptime


text:
new: tag also sirtfi_v2 and REFEDS CoCo V2

As per:

https://refeds.org/sirtfi2
https://refeds.org/category/code-of-conduct/v2

Suppress ModuleLength limit for set_saml_type_from_xml.rb (though this may need a refactor later).

Ah, I see tests failed because of insufficient coverage - I'll add tests.

Btw, motivation for this is that we use derived tags based on the DP CoCo tag - and I now see some services asserting the new version of CoCo, so I'd like to include that in our derived tag as well.  (And including a new tag for SIRTFIv2 for completeness).

repo: ausaccessfed/saml-service


text:
🛑 doprax is down

In fe27961, doprax (https://dop.nile.vip/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: doprax is back up in 5c9ecf7.

repo: auteen/autoreplit


text:
🛑 repl.co is down

In ccff378, repl.co (https://hello-repl.auteen.repl.co) was down:

HTTP code: 404
Response time: 512 ms

Resolved: repl.co is back up in 5259c57.


text:
🛑 repl.co is down

In 2b24024, repl.co (https://hello-repl.auteen.repl.co) was down:

HTTP code: 404
Response time: 499 ms

Resolved: repl.co is back up in ad6756d.


text:
DXCDT-335: Store access token in OS keyring

🔧 Changes
Up until now, the Auth0 access token was stored in a local JSON config file. While the token is short-lived, it does possess a wide range of scopes and could be problematic if exposed. A theoretical attack vector could be a malicious package/process traversing a filesystem in hopes of finding an Auth0 CLI configuration file with a valid access token.
Similarly to other secrets in the Auth0 CLI, it is propsed to store the access token in the OS keyring. However, there are OS-specific size limits that we need to be aware of. In order to integrate nicely across all platforms, we are sharding the access token across a number of separate secrets in the keyring.
Not all OSs have a keyring installed by default, notably bare linux distros. In these cases, we continue to write the access token to the local configuration file directly. Presumably, these cases would most likely occur in CI or automated jobs where the process is short-lived and token discarded shortly after use.
Notably, the Github CLI stores their Oauth tokens in a local JSON configuration file much like the current implementation. However, the community has an outstanding request to store in the keyring, much like this PR is attempting to accomplish.
📚 References

Keyring size limits PR
Related Github CLI Issue

🔬 Testing

Several sets of unit tests added to cover numerous situations
E2E tests passing in CI (no keyring enabled)
E2E tests pass locally (keyring enabled)
General manual testing with first-class command and api invocations

📝 Checklist

[x] All new/changed/fixed functionality is covered by tests (or N/A)
[x] I have added documentation for all new/changed functionality (or N/A)

🎉


text:
Typing for onRedirectCallback in Auth0Provider component is incorrect

Describe the problem

I believe that the type for onRedirectCallback prop for the Auth0Provider component is incorrect. It is currently typed as (appState: AppState) => void.

What was the expected behavior?

The type should be (appState?: AppState) => void as the parameter may be undefined if it is not supplied to the call of login. This is both based on practical testing of the functionality as well as the default definition in the Auth0Provider which is defined as

const defaultOnRedirectCallback = (appState?: AppState): void => {
  window.history.replaceState(
    {},
    document.title,
    appState?.returnTo || window.location.pathname
  );
};

Reproduction
Invoke loginWithRedirect without supplying an appState property in an Auth0 application. Provide an onRedirectedCallback = (appState?: AppState) => { ... } function to the Auth0Provider. Set a breakpoint and observe that appState is undefined.

Good point @jbean96 - raised #341 to fix


text:
🛑 Andreas Iten is down

In bb78613, Andreas Iten (https://www.andreasiten.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Andreas Iten is back up in 21106ac.

repo: authentiqdigital/upptime


text:
🛑 Andreas Iten is down

In cd03339, Andreas Iten (https://www.andreasiten.ch) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Andreas Iten is back up in aa33e3b.


text:
Request for Compatibility with Other Programming Languages or CLI Version

Hi community , i found zerocode really interesting and useful . But the obstacle is its in java ( i don't have java background ) or I dont fount way to use it as cli tool or integrating it with   other programming language .  I believe that expanding compatibility with other programming languages or introducing a command-line interface (CLI) version would greatly enhance its usability and adoption in diverse environments.
Can anyone help in the case ?

Hi community , i found zerocode really interesting and useful . But the obstacle is its in java ( i don't have java background ) or I dont fount way to use it as cli tool or integrating it with other programming language . I believe that expanding compatibility with other programming languages or introducing a command-line interface (CLI) version would greatly enhance its usability and adoption in diverse environments.
Can anyone help in the case ?

Hello @Tineshnehete , agree with you on the CLI usage.
Actually one can use Maven(mvn CLI) for time being via a shell wrapper, but not sure about non-java folks, whether they are used to maven(mvn).
If you get chance, please explore any possible options. 🍏
Some Ideas Below Here:

Create a FAT Jar and wrap it with Shell options
Use maven for Shell wrapping
Or implement CLI options(e.g. Java Command line pasrsers)

Happy to get input/feedback from all.

authors: Tineshnehete authorjapps

repo: authorjapps/zerocode


text:
🛑 Mapa Městem na Kole § mapa.prahounakole.cz is down

In 08664f1, Mapa Městem na Kole § mapa.prahounakole.cz (https://mapa.prahounakole.cz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mapa Městem na Kole § mapa.prahounakole.cz is back up in 5eef493 after 9 minutes.

repo: auto-mat/automat-statuspage


text:
add dotenv dep for easier .env loading

Add the dotenv dependency to facilitate loading the values in the .env file directly into the config.js file. I followed the exact same pattern used in the aps-iot-extensions-demo application.

Thank you @matteo-pupa. We introduced dotenv as part of a separate cleanup task (https://github.com/autodesk-platform-services/aps-simple-viewer-nodejs/commit/22f18f06e4f0560a5500b98fc96b19109aea961a). So I think this PR can be closed.

authors: matteo-pupa petrbroz


text:
[Docs] Add info on GPU requirement to tutorials

Describe the issue linked to the documentation
Documentation doesn't notify user if a tutorial requires a GPU or is recommended to have a GPU. ML novices might not understand that vision and text models are very slow on CPU, so we should make it clear in tutorials.
Suggest a potential alternative/fix
At start of GPU tutorials, have a Notice box that mentions tutorial should be run with GPU install of AG and how the user can check if they have a valid GPU and a valid GPU install.

@gidler We can address this in the new website, starting with the quick-start tutorials.

repo: autogluon/autogluon


text:
Example on querying Date field

Could you provide an example of how to perform a query on an established date field? This is what I have so far, but it errors out with the exception A value provided cannot be converted into a number stack: ValidationException: A value provided cannot be converted into a number.
Originally I tried passing just the Date object which didn't work, and as reading the docs go, it mentions that you convert Date to a Number, so i checked the lib folder and saw you were using .getTime() to do the conversion, but in essence .valueOf() is the same thing.
const date = Date.now;
return Test.query({
    date: {
      ge: date.valueOf()
    }
  }, (err, outages) => {
    if (err) {
      console.log(err);
      return;
    }
    console.log('success');
  });

Also, how would I be able to perform multi-condition query on the same field. For example, I would like to have a ge and le on the date field, would it merely just be extending the object accordingly?

Date.now is a function.  You need to use Date.now().
You can use the between query.   Or you can use .filter to limit the results.

Sorry, i tried to dumb it down a bit by abstracting the fact I was using moment.js. With the below though, it just hangs. exec callback never gets fired.
One thing to also note is that I have not yet put anything in the table. Do you think that could also be a problem?
  const date = moment().subtract(14, 'days');
  return Test
    .query('date')
    .between(date.valueOf(), date.clone().add(14, 'days').valueOf())
    .exec((err, result) => {
      console.log('exec callback');
      if (err) {
        console.log('errored');
        console.log(err);
        return;
      }
      console.log('success');
      console.log(result);
    });

That looks correct.  Can you share your Schema?

const model = dynamoose.model('Test', {
  date: {
    type: Date,
    hashKey: true
  },
  record: {
    type: Number,
    default: 0
  }
}, { throughput: { read: 15, write: 5 } });

The issue is the query requires you to use the .eq for the hash key.  For you example, you should use .scan.    Sorry - I should have noticed this quicker.
Also, the you don't need to call .valueOf.  You can just pass the moment objects.

I think better error handling might be more appropriate for those scenarios, instead of it just hanging? Thanks for the assistance though.

Sorry, missed your earlier reply.
Completely agree about the error handling.  That's what took me so long to notice.  I would have expected a QueryError to be thrown.
   if(comp !== 'EQ') {
      throw new errors.QueryError('Invalid query state; eq must follow query()');
    }

authors: brandongoode davidhouweling

repo: automategreen/dynamoose


text:
CALCITE-4264 Take CPU cost into account in VolcanoCost

2181

 Quality gate: Failed
17 Issues

 17 Code issues

Details


text:
Update Issue - 3755792

default description
URL tested: http://ci.bsstag.com/welcome
Open URL on Browserstack

Property
Value

Browser
Chrome 38.0

Operating System
Windows XP

Resolution
1024x612

Screenshot Attached
Screenshot URL

Click here to reproduce the issue on Browserstack

Updated Screenshot Attached

repo: automationbs/testbugreporting


text:
Support for concurrency tracking

Now that we have support for async functions, it could be good to investigate adding support for concurrency tracking.
For inspiration, see @stephlow's PR on autometrics-ts: https://github.com/autometrics-dev/autometrics-ts/pull/44/files

completed in #55

repo: autometrics-dev/autometrics-py


text:
Bounds not respected by solver

Hello all,
I just started using RoBO and am having the following problem:
I define my own Task which has bounds,
Lower bounds:  [-0.02 -0.2   0.2  -0.02 -0.2   0.2   0.   -0.8   0.    0.   -0.8   0.  ]
Upper bounds:  [ 0.06  0.2   0.6   0.06  0.2   0.6   0.5   0.5   0.8   0.5   0.5   0.8 ]

passed to the task as follows...
class RoboTask(BaseTask):
    def __init__(self, lower_bounds, upper_bounds):
        self.X_lower = np.array(lower_bounds)
        self.X_upper = np.array(upper_bounds)

When I execute, X_new = solver.choose_next(X, Y) I get:
X_new:  [[ 0.96802298  0.86282555  0.01819273  0.0245703   0.60223526  0.96315702  0.36959895  0.9631969   0.12335341  0.04733891  0.19511767  0.54726685]]

As seen by the first and second entries (among others) the suggested X_new does not respect the task bounds.
I am trying to implement the BO loop directly:
max_iter = 2
X = robo_task.X_init
Y = robo_task.Y_init
for i in range(max_iter):
    X_new = solver.choose_next(X, Y)
    print(X_new)
    Y_new = robo_task.objective_function(X_new)
    print(Y_new)
    X = np.vstack((X, X_new))
    Y = np.vstack((Y, Y_new))

with,
X_init:  [[ 0.024 -0.06   0.5    0.025 -0.061  0.501  0.24  -0.27   0.64   0.3   -0.1   0.54 ]]
Y_init:  [[-30.98875021]]

Any idea what's going wrong here?
Thanks in advance,
Ryan
Edit:
FYI the solver is created with the following function:
def initializeRoboSolver(solver_task):
    # kernel = GPy.kern.Matern52(input_dim=solver_task.n_dims)
    kernel = GPy.kern.RBF(input_dim=solver_task.n_dims)
    model = GPyModel(kernel)

    acquisition_func = LCB(model,
                         X_upper=solver_task.X_upper,
                         X_lower=solver_task.X_lower,
                         par=0.1)

    # maximizer = CMAES(acquisition_func, solver_task.X_lower, solver_task.X_upper)
    # maximizer = SciPyOptimizer(acquisition_func, solver_task.X_lower, solver_task.X_upper)
    maximizer = GradientAscent(acquisition_func, solver_task.X_lower, solver_task.X_upper)

    solver = BayesianOptimization(acquisition_func=acquisition_func,
                              model=model,
                              maximize_func=maximizer,
                              task=solver_task)

    return solver

Hi Ryan
the problem is that the BayesianOptimization solver automatically maps the original space to the [0, 1] space in order to make the hyperparameter search for the Gaussian Process easier (by specifying better Hyperpriors for the GP lengthscales). In a future version this will be replaced such that any normalization of inputs will be done in the model directly.
In the meantime you can easily retransform to your original space by
X_new = robo_task.retransform(solver.choose_next(X, Y))
best
Aaron

@aaronkl
Great, thank you for the fix!

authors: aaronkl rlober

repo: automl/RoBO


text:
Missing point cloud in dataset

Hi, I used the script provided to download the dataset and run the training code. There seems to be one point cloud missing in the data though, it's pretty hard for me to pinpoint which one:
$ torchrun --nnodes=1 --nproc_per_node=2 --max_restarts=1 --rdzv_id=42353467 --rdzv_backend=c10d train.py --id train_id_000 --batch_size 8 --setting 02_05_withheld --root_dir /media/ssd/users/yasasa/data2/ --logdir ./ --use_tp 1 --continue_epoch 1 --cpu_cores 4 --num_repetitions 3 --backbone aim --use_semantic 0 --use_depth 0 --use_semantic 0 --use_bev_semantic 0 --detect_boxes 0
WARNING:torch.distributed.run:
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
*****************************************
Start method of multiprocessing: fork
Start method of multiprocessing: fork
RANK, LOCAL_RANK and WORLD_SIZE in environ: 0/0/2
RANK, LOCAL_RANK and WORLD_SIZE in environ: 1/1/2
Rank: 1 Device: cuda:1 Num GPUs on node: 3 Num CPUs on node: 4 Num workers: 1
Setting:  02_05_withheld
Rank: 0 Device: cuda:0 Num GPUs on node: 3 Num CPUs on node: 4 Num workers: 1
Setting:  02_05_withheld
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 159/159 [00:11<00:00, 14.00it/s]
Loading 541944 lidars from 159 folders
Total amount of routes: 6919
Crashed routes: 1
Perfect routes: 6538
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 51/51 [00:04<00:00, 12.68it/s]
0it [00:00, ?it/s]
Loading 0 lidars from 0 folders
Total amount of routes: 0
Crashed routes: 0
Perfect routes: 0
Loading 208536 lidars from 51 folders
Total amount of routes: 2202
Crashed routes: 0
Perfect routes: 2142
Target speed weights:  [0.866605263873406, 7.4527377240841775, 1.2281629310898465, 0.5269622904065803]
Angle weights:  [204.25901201602136, 7.554315623148331, 0.21388916461734406, 5.476446162657503, 207.86684782608697]
0it [00:00, ?it/s]
Loading 0 lidars from 0 folders
Total amount of routes: 0
Crashed routes: 0
Perfect routes: 0
Total trainable parameters:  27949776
Adjusting learning rate of group 0 to 3.0000e-04.
Adjusting learning rate of group 0 to 3.0000e-04.
 86%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏                       | 29105/33871 [2:37:26<25:46,  3.08it/s]
Traceback (most recent call last):
  File "train.py", line 1019, in <module>
    main()
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 345, in wrapper
    return f(*args, **kwargs)
  File "train.py", line 624, in main
    trainer.train()
  File "train.py", line 883, in train
    for i, data in enumerate(tqdm(self.dataloader_train, disable=self.rank != 0)):
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/tqdm/std.py", line 1195, in __iter__
    for obj in iterable:
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 681, in __next__
    data = self._next_data()
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1376, in _next_data
    return self._process_data(data)
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1402, in _process_data
    data.reraise()
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/torch/_utils.py", line 461, in reraise
    raise exception
laspy.errors.LaspyException: Caught LaspyException in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 302, in _worker_loop
    data = fetcher.fetch(index)
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 49, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home/yasasa/carla_garage/team_code/data.py", line 365, in __getitem__
    las_object = laspy.read(str(lidars[i], encoding='utf-8'))
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/laspy/lib.py", line 186, in read_las
    with open_las(source, closefd=closefd, laz_backend=laz_backend) as reader:
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/laspy/lib.py", line 117, in open_las
    return LasReader(stream, closefd=closefd, laz_backend=laz_backend)
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/laspy/lasreader.py", line 49, in __init__
    self.header = LasHeader.read_from(source)
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/laspy/header.py", line 525, in read_from
    stream = io.BytesIO(cls._prefetch_header_data(stream))
  File "/home/yasasa/miniconda3/envs/garage/lib/python3.7/site-packages/laspy/header.py", line 820, in _prefetch_header_data
    raise LaspyException(f"Source is empty")
laspy.errors.LaspyException: Source is empty

Can you wrap the LiDAR loading into a try block and tell me the file name that is broken?
"/home/yasasa/carla_garage/team_code/data.py", line 365"

      try:
        las_object = laspy.read(str(lidars[i], encoding='utf-8'))
      except Exception:
        print(str(lidars[i], encoding='utf-8'))

s4_dataset_2023_05_10/Routes_Town04_Scenario4_Repetition2/Town04_Scenario4_route85_05_11_23_07_17/lidar/0099.laz

Seems like that file got corrupted when I downloaded it from my compute cluster.
I uploaded the folder again with the file.
Try re-downloading the s4 folder.
https://s3.eu-central-1.amazonaws.com/avg-projects-2/jaeger2023arxiv/dataset/s4_dataset_2023_05_10.zip